Commit Graph

1584 Commits

Author SHA1 Message Date
Codex Agent 225269b5ad fix: resolve hwpod by id for caserun agents 2026-06-08 12:51:42 +08:00
Codex Agent 5a92233bd9 refactor: keep deploy yaml parsing in config layer 2026-06-08 12:42:30 +08:00
Codex Agent e17d7f92b2 docs: use deploy config reader in smoke example 2026-06-08 12:40:05 +08:00
Codex Agent 8bbad10a01 fix: finish deploy yaml config cleanup 2026-06-08 12:35:31 +08:00
Codex Agent 7021c693be docs: align v02 deploy config references 2026-06-08 12:22:54 +08:00
Codex Agent 916838bde4 feat: update caserun aggregation and v02 deploy config 2026-06-08 12:21:09 +08:00
Lyon d07565c6f1 Merge pull request #1044 from pikasTech/issue1011-remove-direct-helper-workspacefiles
fix: remove direct helper workspaceFiles injection
2026-06-08 12:20:20 +08:00
Codex Agent 6b175ea28a fix: remove direct helper workspaceFiles injection 2026-06-08 12:19:31 +08:00
Lyon fb09510d63 Merge pull request #1042 from pikasTech/docs/gitbundle-skill-reference
docs: update code agent gitbundle skill reference
2026-06-08 12:01:49 +08:00
Codex Agent e86cf0b271 docs: update code agent gitbundle skill reference 2026-06-08 12:00:51 +08:00
Codex Agent 1160089d3b fix: make hwpod workspace search node-native 2026-06-08 11:29:37 +08:00
Lyon 1798e1845e Merge pull request #1040 from pikasTech/fix/issue1037-client-only-bundle
v0.2 切换 AgentRun 资源装配到 gitbundle
2026-06-08 11:27:58 +08:00
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