Commit Graph

1572 Commits

Author SHA1 Message Date
Codex Agent 9d76230bc3 切换 AgentRun 资源装配到 gitbundle 2026-06-08 11:25:54 +08:00
Codex Agent c52ba0dac2 feat: 支持 provider profile auth.json CLI 写入 2026-06-08 10:59:38 +08:00
Codex Agent c0b3939624 docs: document code agent profile inheritance 2026-06-08 10:37:56 +08:00
Codex Agent 6d1b1fd7ea code-agent: inherit child profile via env 2026-06-08 08:18:13 +08:00
Codex Agent 7408ba9da7 feat: add provider profile removal delegation 2026-06-08 05:29:11 +08:00
Codex Agent 466a5350de feat: remove static provider profile gating 2026-06-08 04:58:29 +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
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 a592bd9ad0 fix: keep v02 edge proxy probe local 2026-06-07 21:58:46 +08:00
Codex Agent 18bdaf313f fix: launch v02 bridge containers with env reuse 2026-06-07 21:49:54 +08:00
Codex Agent 1b76fb3760 fix: enable v02 env reuse for runtime services 2026-06-07 21:26:07 +08:00
Codex Agent 7a7dac50a8 feat: add ofcx-go provider profile to cloud-api
Add ofcx-go (DeepSeek V4 Flash via OpenCode Zen Go) to the public provider
profiles list and wire its bridge summary to the existing hwlab-deepseek-proxy
Moon Bridge service. This allows cloud-api to accept ofcx-go as a valid
provider profile for Code Agent sessions and delegate to AgentRun.

Changes:
- Add ofcx-go to publicProfiles Set in provider-profile-management.ts
- Add opencodeZenGoBridgeSummary() returning the shared Moon Bridge URL
- Wire ofcx-go profile to bridge summary in normalizeProfileData()

The Moon Bridge side (opencode provider + deepseek-v4-flash route) was
already deployed in commit c19b6ef5. This commit completes the cloud-api
routing for the ofcx-go profile.

Refs pikasTech/HWLAB#1034
2026-06-07 20:43:43 +08:00
Codex Agent c19b6ef529 feat: add ofcx-go code agent profile and Moon Bridge OpenCode route
- Add ofcx-go to backendProfiles allowlist in agentrun-dispatch.mjs
- Extend deepseek-proxy Moon Bridge config with opencode provider
- Add deepseek-v4-flash model and opencode route to Moon Bridge config
- Add OPENCODE_API_KEY env var injection from hwlab-v02-code-agent-provider Secret
- Support both deepseek and opencode providers in shared Moon Bridge instance
2026-06-07 20:15:05 +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 2577ecfaf9 refactor: remove skill files from seed, keep only tool files
Skills now delivered exclusively via AgentRun skillRefs channel.
Removed: hwpod-cli, hwpod-ctl, hwlab-agent-runtime SKILL.md entries.
Removed: arm2d-skill directory seed + collectDirectorySeedFiles helper.
Seed array now only contains hwpod tool files (*.ts).
2026-06-07 15:07:31 +08:00
Codex Agent 7b5dd408fc fix: align hwpod apply-patch with v2 engine 2026-06-07 15:00:26 +08:00
Codex Agent bfedec8f30 fix: add missing collectDirectorySeedFiles definition 2026-06-07 14:51:35 +08:00
Codex Agent 94571fb50c feat: restore directory seed for arm2d-skill after AgentRun limit removal
- Revert to single directory entry for arm2d-skill in AGENT_WORKSPACE_SEED_FILES
- Includes SKILL.md + references/ + python/ (14 files)
- Paired with AgentRun v0.1 removal of workspace file count limit
2026-06-07 14:46:41 +08:00
Codex Agent 712db9c597 feat: arm2d-skill directory seed for CaseRun agent workspace
Add B1 directory-type seed mechanism to AGENT_WORKSPACE_SEED_FILES:
- Extended agentWorkspaceFilesForRun with collectDirectorySeedFiles helper
- arm2d-skill (SKILL.md + references/ + python/) auto-injected to .agents/skills/arm2d-skill/
- Enables Code Agent to follow ARM-2D constraints and call asset scripts in case

Skill source: https://github.com/notLabyet/HWLabOA
2026-06-07 14:40:48 +08:00
Lyon fd23405470 Merge pull request #1029 from pikasTech/issue1027-crlf-escape
fix: limit \r\n escape preprocessing to anchor/find params only (#1027)
2026-06-07 13:38:12 +08:00
Codex Agent c66bced0fa fix: limit \r\n escape preprocessing to anchor/find params only
normalizeContentLineEndings 在 8e637db7 引入的 \r\n escape 预处理对
所有调用路径生效,导致 workspaceWrite 写入 C 源码时破坏 \r\n 字符串常量。

修复:增加 unescapeEscapeSequences 参数(默认 false),仅在
workspaceReplace find、workspaceInsertAfter anchor、diagnosticDetails
三个 anchor 匹配路径启用 escape 预处理。

- workspaceWrite content: 不启用(保留原始 \r\n)
- workspaceReplace replace text: 不启用
- workspaceInsertAfter insertText: 不启用
- applyUpdateHunks output: 不启用(已是规范化内容)

Fixes #1027
2026-06-07 13:37:31 +08:00
Codex Agent 3dd7b2d1da docs: cross-ref hwlab-code-agent skill from long-term reference docs 2026-06-07 13:08:49 +08:00
Codex Agent fcc64c9b36 fix: increase hwpod-node UART maxBytes default from 4096 to 16384 2026-06-07 12:59:44 +08:00
Codex Agent 8e637db794 fix: handle literal \r\n escape sequences in hwpod-node insert-after/replace anchor matching 2026-06-07 12:54:17 +08:00
Codex Agent 892c9af366 fix: CaseRun blocker visibility in status + cloud-api hwpod_node_not_connected error 2026-06-07 12:45:32 +08:00
Codex Agent 760df7938c fix: record caserun source-root baseline 2026-06-07 01:52:51 +08:00
Codex Agent a3c5115267 fix: support hwpod fragment anchors 2026-06-07 01:16:12 +08:00
Codex Agent 5df18caffa fix: smooth caserun trace and uart hints 2026-06-07 01:05:52 +08:00
Codex Agent b22e4d25b8 fix: preserve keil sidecars for caserun downloads 2026-06-07 00:52:59 +08:00
Codex Agent 53aafde5bd fix: clarify caserun hwpod job polling 2026-06-06 23:50:53 +08:00
Codex Agent 6fdcac6ccf docs: document hwpod cli debug entrypoints 2026-06-06 23:26:15 +08:00
Codex Agent 1d5c3d422d fix: seed caserun hwpod tools 2026-06-06 23:08:19 +08:00
Codex Agent 841594437e fix: archive caserun agent trace rows 2026-06-06 22:49:12 +08:00
Codex Agent b73cf2d019 fix: smooth hwpod harness commands 2026-06-06 22:14:10 +08:00
Codex Agent fc7ed2c3ab fix: sync caserun registry artifacts 2026-06-06 21:35:21 +08:00
Codex Agent 64c13b5b0a fix: expose caserun trace lookup hints 2026-06-06 21:19:47 +08:00
Codex Agent 991beeded6 fix: support case-level caserun agent timeouts 2026-06-06 20:50:56 +08:00
Codex Agent 844d4a3683 docs: document caserun serverless debugging rule 2026-06-06 19:54:55 +08:00
Lyon 2a7fc17afb Merge pull request #1019 from pikasTech/fix/hwpod-node-route-1018
fix: bind hwpod node ops to target node
2026-06-06 19:43:00 +08:00
Codex Agent 5a7644dac9 fix: bind hwpod node ops to target node
Prevent direct hwpod-node URL dispatch from executing plans on the wrong node and expose spawn diagnostics for cmd.run failures.
2026-06-06 19:41:44 +08:00
Lyon 942748d5e5 Merge pull request #1017 from pikasTech/fix/caserun-agent-stage-summary-1010
fix: expose CaseRun agent HWPOD raw stages
2026-06-06 19:06:59 +08:00
Codex Agent c71347f072 fix: expose caserun agent hwpod stages 2026-06-06 19:06:26 +08:00
Lyon 3580bf7b4a Merge pull request #1014 from pikasTech/fix/caserun-workspace-seed-1011
fix: 预装 CaseRun HWPOD workspace spec
2026-06-06 18:41:34 +08:00
Codex Agent e1c35509e1 fix: seed caserun hwpod workspace files 2026-06-06 18:38:26 +08:00
Lyon a38fa1a907 Merge pull request #1013 from pikasTech/fix/issue1008-uart-binding
fix: bind hwpod uart read
2026-06-06 18:28:19 +08:00
Codex Agent 1ba9b70da1 fix: bind hwpod uart read 2026-06-06 18:27:27 +08:00
Lyon e5e89636a8 Merge pull request #1012 from pikasTech/fix/issue1008-hwpod-run-ops
fix: structure hwpod download ops
2026-06-06 18:11:24 +08:00
Codex Agent 917b910bd0 fix: structure hwpod download ops 2026-06-06 18:09:44 +08:00