Commit Graph

28 Commits

Author SHA1 Message Date
Codex 32318ea881 fix: resolve gitbundle source from repo ref 2026-06-08 15:04:08 +08:00
Codex 52376fb71e 支持 gitbundle 资源装配 2026-06-08 11:21:34 +08:00
Codex 509c2aa6fd fix: 支持动态 provider profile slug 2026-06-08 04:19:58 +08:00
Codex 41886aef80 feat: 将 ofcx-go backend 收敛为 dsflash-go 2026-06-08 01:38:50 +08:00
Codex 3afb2bf8ec feat: add ofcx-go provider profile for OpenCode Zen Go DeepSeek V4 Flash
- Add ofcx-go to BackendProfile type union
- Add ofcx-go backend profile spec (Codex app-server stdio)
- Add defaultConfig for ofcx-go (deepseek-v4-flash via Moon Bridge)
- Add Secret mount in deploy.json for runner projection
- Add RBAC access for ofcx-go provider secret
- Update self-test to cover 4 profiles
2026-06-07 20:14:52 +08:00
Codex 0ff445e182 feat: remove workspace file count limit, raise total size to 4MB
- maxWorkspaceFiles: 16 → Number.MAX_SAFE_INTEGER (unlimited)
- maxWorkspaceFilesTotalBytes: 512KB → 4MB
- Enables large skill directories (e.g. arm2d-skill with references)
2026-06-07 14:44:15 +08:00
Codex 7b3c0ea584 fix: 支持 ResourceBundleRef workspaceFiles 2026-06-06 17:59:05 +08:00
Codex e8cfa4c692 feat(v0.1): add mgr session PVC lifecycle for true session state persistence
PR B for #770: mgr/session-pvc.ts + server endpoints + selftest.

- 新模块 src/mgr/session-pvc.ts: createSessionPvc / getSessionPvcSummary / deleteSessionPvc / refreshSessionPvcSummary / runSessionStorageGc / startSessionStorageGcLoop
- Server 增量 4 个 endpoint:
  * POST /api/v1/sessions: 创建 session 同步创建 PVC
  * GET /api/v1/sessions/:id/storage: 查询 PVC 摘要
  * DELETE /api/v1/sessions/:id/storage: 删 PVC + storage_kind=evicted
  * POST /api/v1/sessions/:id/storage/refresh: runner 上报 PVC 摘要
  * POST /api/v1/sessions/storage/gc: 手动触发 GC
- mgr SA RBAC 已在 PR A 增加;manager server 不直连 Kubernetes API(kubectl 由 mgr 容器内执行)
- SessionRecord 增量 storageKind / storagePvcName / storageNamespace / storageSizeBytes / storageFilesCount / storageSha256 / storageUpdatedAt / storagePvcPhase / storageEvictedAt / codexRolloutSubdir
- kubernetes-runner-job 短路:run 引用 evicted session 时直接返回 session-store-evicted,不创建 runner Job
- KubectlHandler 可注入,selftest 覆盖 create / summary / refresh / eviction / gc / REST 路径
- GC loop 默认 5min(AGENTRUN_SESSION_GC_INTERVAL_MS 可调)

runner / backend / HWLAB adapter 在 PR C / PR D 落地。
2026-06-03 19:19:09 +08:00
Codex 87beb00bdb feat(v0.1): add per-session RWO PVC foundation for true session state persistence
PR A for #770: docs + migration 007 + RBAC + types foundation.

- 新增 failureKind session-store-evicted,用于区分 PVC 缺失与真协议错误
- 新增 migration 007_v01_session_state_storage:sessions 表增加 storage_* 列 + 索引
- mgr SA RBAC 增量:persistentvolumeclaims: [create, get, list, watch, delete]
- 6 份 SPEC 升级(runtime-assembly / hwlab-manual-dispatch / backend-codex T7b / agentrun-runner / agentrun-mgr / services)
- 显式禁止:fake app-server mock、replacement threadId、runner 启动后 copy/restore、idleTimeoutMs 拉永驻
- selftest 断言更新到 007_v01_session_state_storage

后续 PR B/C 在此基础上接入 mgr 端 PVC 生命周期 + runner 端 mount + backend 端 observability。
2026-06-03 18:45:13 +08:00
Codex b761ef6713 feat: add session subagent cli control 2026-06-03 11:27:55 +08:00
Codex 3018b8a937 feat: assemble resource prompts and skills 2026-06-02 20:40:14 +08:00
Codex 458d814fa2 feat: 装配 UniDesk SSH 工具凭证 2026-06-02 15:40:48 +08:00
Codex 40a274d52b fix: 收敛 stale thread 和 tool-call 错误归因 2026-06-02 12:08:38 +08:00
Lyon ebc5bdb8b1 fix: 收敛 commandExecution toolcall 摘要 (#70)
Co-authored-by: Codex <codex@pikas.tech>
2026-06-02 10:28:35 +08:00
Codex d90e01a91c feat: 支持运行中 steer command 2026-06-02 10:04:36 +08:00
Codex 9700d0600f feat: assemble resource bundle tool aliases 2026-06-02 08:50:21 +08:00
Codex 4b9dc79b67 fix: isolate minimax m3 backend migration 2026-06-02 08:11:15 +08:00
Codex c3915a3f19 feat: add minimax m3 backend profile 2026-06-02 07:57:09 +08:00
Codex 159b99e763 feat: 支持 runner tool credential 装配 2026-06-02 00:22:38 +08:00
Codex b19143ad85 feat: 实现 Queue Q2 受控 dispatch 2026-06-01 22:45:51 +08:00
Codex 6fb8f7483a feat: 支持同 run runner 多轮 command 2026-06-01 22:34:58 +08:00
Codex 237b10c4da feat: 实现 Queue Q1 API 和 CLI 骨架 2026-06-01 22:20:09 +08:00
Codex f4ee644233 feat: 补齐 HWLAB 基线 AgentRun 执行元语 2026-06-01 13:44:57 +08:00
Codex 62846f6369 feat: 补齐 HWLAB 手动调度能力 2026-06-01 11:40:08 +08:00
Codex 5cc8146800 feat: 支持 v0.1 deepseek backend profile 2026-05-29 18:44:24 +08:00
Codex 7534b87153 fix: 归类 v0.1 provider 可用性失败 2026-05-29 14:05:15 +08:00
Codex 843112ebff 硬化 Codex stdio backend 错误观测 2026-05-29 11:48:27 +08:00
Codex 5deb9fa7fd feat: add v0.1 runtime skeleton 2026-05-29 10:52:41 +08:00