Commit Graph

42 Commits

Author SHA1 Message Date
Lyon 3f8fc6b80c feat: connect cloud api code agent billing (#1139) 2026-06-13 20:19:07 +08:00
Codex Agent 34788702dc Allow dynamic AgentRun provider profiles 2026-06-08 03:22:26 +08:00
Codex Agent 97998ffec7 feat: add ofcx-go to code agent session provider profile allowlist
CODE_AGENT_PROVIDER_PROFILE_IDS was missing ofcx-go, causing session
creation to normalize ofcx-go back to the default deepseek profile.
Adding ofcx-go to the allowlist ensures sessions are created with the
correct providerProfile that propagates to AgentRun backend profile routing.

Refs pikasTech/HWLAB#1034
2026-06-07 23:01:14 +08:00
Lyon fc865dbc7c Merge pull request #1005 from pikasTech/fix/issue1000-trace-refresh-latency
fix: reduce Code Agent trace refresh latency
2026-06-06 16:56:05 +08:00
Codex Agent 263bbbb159 fix: keep steer short connection running 2026-06-06 16:52:32 +08:00
Codex Agent 689c471e4d fix: reduce Code Agent trace refresh latency 2026-06-06 16:51:40 +08:00
Codex Agent c58a7fff6c fix: 收敛公共 trace result 契约 2026-06-06 14:20:57 +08:00
Codex Agent 6cae643161 fix: remove legacy trace fallback paths 2026-06-06 13:55:03 +08:00
Codex Agent 1830df467e fix: unify AgentRun trace result authority 2026-06-06 13:08:23 +08:00
Codex Agent c80493f240 fix: validate trace result provenance 2026-06-06 12:03:29 +08:00
Codex dd0121c93c fix: stabilize AgentRun trace replay and final rows 2026-06-06 10:33:26 +08:00
Codex Agent 3e7131f6ab refactor: converge hwpod node-ops channel 2026-06-05 17:23:56 +08:00
Lyon df69e48115 fix(v02): persist chat owner messages (#875)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-05 00:21:47 +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
Lyon f7e4c372ce fix(cloud): restore running session active trace (#811)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 12:18:08 +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 9f287fa0d9 fix: allow code agent workspace concurrency 2026-06-02 21:54:28 +08:00
Codex 7f97b41404 fix: route hwpod through cloud-api 2026-06-02 18:48:56 +08:00
Codex bacfa24289 fix: replace device pod lease with api key 2026-06-02 18:11:32 +08:00
Codex 29e9e23fb3 fix: use native codex stdio continuation 2026-06-02 16:22:27 +08:00
Codex 12560c9e91 Merge remote-tracking branch 'origin/v0.2' into fix/v02-context-completed-693 2026-06-02 12:37:41 +08:00
Codex e88951dadc fix: preserve AgentRun completed turn context 2026-06-02 12:34:55 +08:00
Codex 36e4ba2068 Merge remote-tracking branch 'origin/v0.2' into fix/v02-workbench-orphan-active-trace
# Conflicts:
#	docs/reference/spec-v02-hwlab-cloud-api.md
#	internal/cloud/access-control.test.ts
#	internal/cloud/server-agent-chat.test.ts
2026-06-02 12:13:50 +08:00
Codex 3497a8993b feat: support agentrun steer and idle continuation 2026-06-02 10:29:46 +08:00
Codex 3c6edb73a1 fix: 统一 AgentRun threadId 上下文连续性 2026-06-02 10:19:34 +08:00
Codex 48492ba267 fix: 释放孤儿 active trace 2026-06-02 08:55:10 +08:00
Codex f52eadfbe7 feat: route minimax m3 through agentrun 2026-06-02 08:50:27 +08:00
Codex 666395f056 fix: ignore stale workbench active trace 2026-06-02 08:35:12 +08:00
Codex 399af47ee8 fix: assemble device pod runtime endpoint 2026-06-02 07:44:24 +08:00
Codex 90f030e8f7 fix: release completed agentrun workspace turns 2026-06-02 00:50:20 +08:00
Codex 3b504cdf13 fix: restore web trace context for CLI replay 2026-06-02 00:34:21 +08:00
Codex b7285b30b1 feat(workbench): share account workspace across web and cli 2026-06-01 21:31:26 +08:00
Codex 00905970b3 fix: 避免 AgentRun device-pod API 使用 bad port 2026-06-01 18:39:06 +08:00
Codex 10f4e00851 fix: 为 AgentRun 短连接注入 device-pod env 2026-06-01 18:20:56 +08:00
Codex 3d10fd275b feat: 接入 AgentRun v0.1 adapter 2026-06-01 17:06:11 +08:00
Codex 25a469762b fix: grant code agent device pod access 2026-05-31 17:01:23 +08:00
Codex 945c2ba3d0 fix: persist user code agent sessions 2026-05-31 16:00:05 +08:00
Codex b99c663614 feat: enforce v02 runtime authority 2026-05-29 08:10:19 +08:00
Codex 671303d2b9 feat: add v02 access device pod authority 2026-05-29 02:15:55 +08:00
Codex a0869c5afa refactor: migrate v02 cloud api to TypeScript 2026-05-29 00:33:22 +08:00