lyon
e765f23af9
fix: skip completed AgentRun turn refresh
2026-06-18 13:03:21 +08:00
lyon
177e5373d6
fix: avoid duplicate AgentRun turn status refresh
2026-06-18 12:28:17 +08:00
lyon
6a0f6eb5c4
fix: standardize agentrun trace backend labels
2026-06-17 19:02:22 +08:00
lyon
74f5f1773d
feat: track agentrun event visible latency
2026-06-17 18:45:19 +08:00
lyon
41d6407ab2
feat: add backend performance metrics
2026-06-17 18:22:30 +08:00
lyon
e265c863c5
fix(v03): stabilize workbench trace loading
2026-06-17 09:13:03 +08:00
lyon
1527a992c3
fix: align AgentRun reuse assertions with spec
2026-06-17 00:56:21 +08:00
lyon
a67f29ace4
fix: surface agentrun terminal errors in final response
2026-06-17 00:17:10 +08:00
lyon
2679b1f14e
fix: load Code Agent traces through REST resource
2026-06-16 21:57:51 +08:00
lyon
6173b5e5c6
fix: mark evicted agent sessions non-reusable
2026-06-16 03:45:33 +08:00
lyon
43b79b6c7e
fix: allow failed code agent sessions to resume
2026-06-16 03:24:33 +08:00
lyon
7fcc83e692
fix: avoid protocol-only tool trace summaries
2026-06-16 01:00:54 +08:00
lyon
5d2ebee000
fix: preserve agentrun mcp tool trace commands
2026-06-16 00:15:57 +08:00
Lyon
ce7c2658cf
fix: unify workbench conversation message persistence ( #1281 )
2026-06-15 21:28:31 +08:00
lyon
06df7d17b0
fix: expose code agent prompt metadata
2026-06-15 16:14:01 +08:00
lyon
1b895a5b56
fix: defer AgentRun code agent billing until terminal result
2026-06-14 13:22:35 +08:00
lyon
d70390bf07
fix: authenticate agentrun provider delegation
2026-06-14 04:25:14 +08:00
lyon
a10a62f518
fix: accept lane agentrun manager dns
2026-06-14 03:54:19 +08:00
Codex Agent
187fb80a5d
refactor: make v0.3 runtime node-scoped
2026-06-08 22:19:30 +08:00
Codex Agent
225269b5ad
fix: resolve hwpod by id for caserun agents
2026-06-08 12:51:42 +08:00
Codex Agent
916838bde4
feat: update caserun aggregation and v02 deploy config
2026-06-08 12:21:09 +08:00
Codex Agent
9d76230bc3
切换 AgentRun 资源装配到 gitbundle
2026-06-08 11:25:54 +08:00
Codex Agent
6d1b1fd7ea
code-agent: inherit child profile via env
2026-06-08 08:18:13 +08:00
Codex Agent
34788702dc
Allow dynamic AgentRun provider profiles
2026-06-08 03:22:26 +08:00
Codex Agent
d3a9f592c2
feat: add ofcx-go model and provider mappings to agentrun adapter
...
ofcx-go uses deepseek-v4-flash model (not deepseek-chat) and identifies
as provider ofcx-go (not deepseek). Without these mappings, the adapter
falls back to deepseek defaults, causing ofcx-go sessions to route through
the wrong model.
Refs pikasTech/HWLAB#1034
2026-06-07 22:28:13 +08:00
Codex Agent
28d363f8c9
fix: add missing commas in toolAliases and skillRefs arrays
2026-06-07 18:25:15 +08:00
Codex Agent
4c3a8951f6
feat: hwlab-code-agent tool and skill for agent scheduling
...
- tools/hwlab-code-agent-cli.ts: thin wrapper importing from skills/
- skills/hwlab-code-agent/: SKILL.md, config.json, scripts/src/client.ts
- toolAliases: hwlab-code-agent (spawn/poll/result/trace)
- skillRefs: hwlab-code-agent SKILL.md
- hwpod spec auto-inheritance: --spec-path, CWD .hwlab/, HWPOD_SPEC_CONTENT
- Leader agent can spawn Coder/Reviewer with inherited hwpod spec
2026-06-07 18:11:43 +08:00
Codex Agent
e1c35509e1
fix: seed caserun hwpod workspace files
2026-06-06 18:38:26 +08:00
Codex Agent
689c471e4d
fix: reduce Code Agent trace refresh latency
2026-06-06 16:51:40 +08:00
Codex Agent
1830df467e
fix: unify AgentRun trace result authority
2026-06-06 13:08:23 +08:00
Codex Agent
f4b33b5cbb
fix: repair ambiguous top-level trace snapshots
2026-06-06 12:15:06 +08:00
Codex Agent
c80493f240
fix: validate trace result provenance
2026-06-06 12:03:29 +08:00
Codex Agent
aa06af6a91
fix: preserve latest trace during historical repair
2026-06-06 11:40:21 +08:00
Codex Agent
7c6df8d9b4
fix: index historical AgentRun traces
2026-06-06 11:21:00 +08:00
Codex
dd0121c93c
fix: stabilize AgentRun trace replay and final rows
2026-06-06 10:33:26 +08:00
Codex Agent
73d541fd58
fix: require explicit agentrun bundle source commit
2026-06-05 22:18:23 +08:00
Codex Agent
3e7131f6ab
refactor: converge hwpod node-ops channel
2026-06-05 17:23:56 +08:00
Codex Agent
d6769bf1d3
fix: remove v02 authorization residue
2026-06-05 14:00:13 +08:00
Codex Agent
cf722efd06
feat: add v02 OpenFGA access management
2026-06-05 09:39:49 +08:00
Codex Agent
1162c0e5bd
fix(v02): report AgentRun result contract
2026-06-05 02:26:51 +08:00
Codex Agent
aeefb7660b
fix(v02): report AgentRun code agent health
2026-06-05 02:06:09 +08:00
Lyon
eca9dbaa9c
fix: persist expired code agent trace summaries ( #851 )
...
Co-authored-by: Codex Agent <codex@hwlab.local >
2026-06-04 20:40:36 +08:00
Codex
6a8e9b3d79
feat(agentrun): inject owner HWLAB_API_KEY into runner transient env
...
- submitAgentRunChatTurn resolves owner user API key via accessController.store.findActiveDefaultApiKeyForUser
- buildAgentRunRunnerJobInput accepts ownerApiKey; when present, removes HWLAB_DEVICE_POD_API_KEY and adds HWLAB_API_KEY as sensitive
- buildAgentRunTransientEnv no longer emits HWLAB_DEVICE_POD_API_KEY
- codex-stdio child env now reads HWLAB_API_KEY (not HWLAB_DEVICE_POD_API_KEY)
- server-code-agent-http codeAgentAuthEnv looks up user default API key; URL env vars still set unconditionally
- tests: code-agent-session-registry Codex child env carries only device-pod API key now checks HWLAB_API_KEY
- tests: server-agent-chat delegates v0.2 turns removes HWLAB_DEVICE_POD_API_KEY assertion
- 58 pass / 4 pre-existing fail
2026-06-04 15:01:30 +08:00
Codex Agent
3a55a4b99e
fix(cloud): expose persistent thread resume metadata
2026-06-04 13:05:03 +08:00
Codex
32b29bc1dc
fix: reensure AgentRun runner for reused sessions
2026-06-03 23:21:05 +08:00
Codex
8f0a2cd213
fix: align v0.2 explicit agent session dispatch
...
Fixes HWLAB #782 .
2026-06-03 22:50:58 +08:00
Codex
6341015d3b
feat(v0.2): Code Agent 默认 sessionStorage=persistent + eviction reset UX
...
PR D for #770:HWLAB Cloud Web Workbench 透传 session state 真正持久化
- code-agent-agentrun-adapter.ts:
* 新 ensureAgentRunSessionPersistent:默认 sessionStorage=persistent,
调 POST /api/v1/sessions 同步建 session + PVC
* submitAgentRunChatTurn 改两步尝试:ensureSession 或 runner-jobs POST
收到 session-store-evicted 时用新 sessionId(<base>-reset-<trace8>)
+ threadId=null 重试,trace 追加 agentrun:session-reset 事件
* 新 shouldResetSessionAfterEviction / newSessionIdAfterEviction 辅助函数
- code-agent-response-contract.mjs: session-store-evicted 归
session-blocked category
- code-agent-chat.ts: 新 userMessage
「Code Agent session 存储已失效(PVC 被回收或 TTL 到期),
HWLAB 已为你开新 sessionId,可继续发送下一条消息。」
- spec-v02-hwlab-cloud-web.md: 新增 'Session state 持久化与 eviction reset'
章节,含禁止路径与实现情况表
env 控制:HWLAB_CODE_AGENT_AGENTRUN_SESSION_STORAGE=ephemeral
可退回 metadata-only 模式(PR 前默认行为)。
2026-06-03 21:47:14 +08:00
Codex
94b9df822c
feat: 手动化 Code Agent session 管理
2026-06-03 10:40:50 +08:00
Codex
0d4f5ef098
fix: preserve code agent sessions after turn failures
2026-06-03 00:28:40 +08:00
Codex
93b53e7d56
fix: expose AgentRun prompt assembly trace details
2026-06-02 21:11:27 +08:00