Commit Graph

133 Commits

Author SHA1 Message Date
Codex Agent fd1b8c0e5a fix(v02): remove legacy code agent control plane 2026-06-05 01:35:35 +08:00
Lyon 6b417cc620 fix: add repo-owned playwright probe guard (#850)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 20:35:58 +08:00
Lyon d23cc410be fix(v02): bound cloud web layout smoke (#846)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 18:50:35 +08:00
Codex Agent 52af835500 fix: unify v02 browser launcher 2026-06-04 14:51:54 +08:00
Codex 58b06fcd17 fix(web): enforce React TypeScript single path 2026-06-03 17:47:27 +08:00
Lyon 0d06a4c5fe fix(web): migrate Cloud Web from vanilla DOM to React + TypeScript + Vite (#756) (#764)
- Replace monolithic app.ts / app-conversation.ts / app-device-pod.ts /
  app-skills.ts / app-helpers.ts / app-session-tabs.ts / auth.ts and the
  364-line index.html with a Vite-built React + TypeScript SPA.
- New src/ module tree: main.tsx, App.tsx, components/{layout,auth,
  conversation,command-bar,device-pod,skills,settings,help},
  hooks/, services/api, services/auth, state, types, logic/ (pure
  helpers from the old tree), styles/.
- Pure-logic modules (composer-policy, code-agent-facts, code-agent-
  status, live-status, message-markdown, app-trace, app-session-tabs,
  runtime) move to src/logic/ with their tests preserved; tests still
  auto-discover.
- Build pipeline switches from Bun.build to Vite: vite.config.ts
  inlines everything into a single app.js + app-assets/ for the dist;
  scripts/dist-contract.ts now runs vite build and asserts the dist
  against a fresh build instead of comparing dist to source.
- scripts/check.ts now verifies the React entry, the mount-only
  index.html, Vite dist, the composer / session / device pod / skills
  / settings / help contracts, the React state shape, and the new
  test file locations. It also refuses to run if any legacy app-*.ts
  or auth.ts survives at the top level.
- New scripts/frontend-guard.ts enforces the 400-line migration target,
  refuses the legacy el map and document.getElementById markers,
  refuses to keep app-*.ts / auth.ts at the top level, and verifies
  the required module directory layout.
- Update scripts/src/dev-cloud-workbench-smoke-lib.mjs to read the new
  src/services/, src/logic/ paths and refresh cloudWebModuleSourceFiles.
- index.html is now a mount shell only (no login shell, no workbench
  shell, no device pod sidebar markup). React renders the full UI from
  src/main.tsx, satisfying the issue-756 migration goal of catching
  unclosed tags at the TypeScript/JSX compile step instead of relying
  on browser DOM healing.
- web:check (now: check + frontend-guard + tsc-check + bun test) is
  green: 51 pass / 0 fail, Vite build produces dist/app.js (379 kB)
  + dist/index.html + dist/app-assets/. Vite build is reproducible;
  dist freshness is verified against a fresh Vite build.
- Grandfathered pure-logic files (> 600 lines): src/logic/app-trace.ts
  (1367), src/logic/live-status.ts (1006), src/logic/code-agent-facts.ts
  (548), src/logic/code-agent-status.ts (572). Reason: each is a tested
  pure-logic classifier with a public contract consumed by both the
  CLI renderer and the Web renderer; splitting now would fork the
  public function shape across two PRs and the migration target is the
  React entry + module split, not a pure-logic refactor.

Refs #756. Closes #756 once merged + deployed to hwlab-v02.

Co-authored-by: Codex <codex@local>
2026-06-03 16:53:25 +08:00
Codex 29e9e23fb3 fix: use native codex stdio continuation 2026-06-02 16:22:27 +08:00
Codex 66282ba80f fix: unlock cloud web composer steer 2026-06-02 12:25:16 +08:00
Codex b103a880ca fix: add trace auto-follow bottom pinning 2026-05-31 21:34:14 +08:00
Codex c462122ad7 fix: refine v02 workbench layout 2026-05-31 13:58:51 +08:00
Codex 7cafb70d9a fix: absorb v02 web trace layout updates 2026-05-31 10:58:23 +08:00
Codex 395216122a fix: make hwlab cli a short web client 2026-05-30 12:31:07 +08:00
Codex 6edce687ca fix: stabilize cloud web proxy runtime 2026-05-30 11:09:56 +08:00
Codex aee03fab68 fix: delegate cloud web auth to cloud api 2026-05-30 10:23:59 +08:00
Codex b99c663614 feat: enforce v02 runtime authority 2026-05-29 08:10:19 +08:00
Codex 03c09f5c94 refactor: migrate v0.2 runtime services to TypeScript 2026-05-29 02:09:35 +08:00
Codex a0869c5afa refactor: migrate v02 cloud api to TypeScript 2026-05-29 00:33:22 +08:00
Codex 44851d8eb3 docs: consolidate v0.2 documentation governance 2026-05-28 21:18:52 +08:00
Codex 297206b695 feat: add fake device pod sidebar service 2026-05-28 01:39:03 +08:00
Codex d5c6ead870 fix: keep deploy manifest human-authored 2026-05-27 09:21:50 +08:00
Codex a56ea7e33e fix: extend code agent timeout recovery 2026-05-27 07:46:24 +08:00
Lyon 6a849596ed Merge pull request #488 from pikasTech/fix/code-agent-partial-result-tests
fix: harden Code Agent result lifecycle
2026-05-26 15:37:01 +08:00
Codex e6ac2898fe refactor: remove legacy dev cd scripts 2026-05-26 05:31:57 +08:00
Codex 0f6a8148c1 test: accept quick prompt strip below controls 2026-05-26 02:34:14 +08:00
Codex 83cf496fcd feat: add code agent provider profiles 2026-05-26 01:47:11 +08:00
lyon 094afdcefe fix: make legacy browser smoke non-blocking 2026-05-26 01:07:05 +08:00
lyon d42c77d53a fix: remove stale workbench source blockers 2026-05-26 00:50:51 +08:00
lyon c6adf34f27 fix: persist workbench code agent sessions 2026-05-26 00:37:29 +08:00
lyon 18a9a5de05 fix: relax workbench live status timeout 2026-05-25 23:40:52 +08:00
lyon 9e584be848 fix: remove obsolete code agent gates 2026-05-25 22:10:07 +08:00
lyon 8b2c569ec4 fix: remove code agent routing gates 2026-05-25 20:55:33 +08:00
lyon 303ff8fafd fix: route code agent chat through codex 2026-05-25 20:14:05 +08:00
lyon c3b00408d9 fix: show complete readable code agent traces 2026-05-25 17:40:07 +08:00
Codex da296e8aa8 test drop worklist copy from web contract 2026-05-25 04:47:12 +00:00
Codex 47a56f9dda test align live build smoke with workbench dialog 2026-05-25 04:39:37 +00:00
Codex b27161c78b test align runtime path smoke with compact dialog 2026-05-25 04:29:06 +00:00
Codex 1aff6bb414 fix code agent result polling resilience 2026-05-25 02:41:53 +00:00
Codex 78e66c4a01 update trace smoke contract 2026-05-25 01:29:58 +00:00
Codex 9b08caa1a2 fix: stabilize code agent trace and gateway flow 2026-05-24 17:06:22 +00:00
Code Queue Review 5d4d6d809b fix: preserve code agent session continuity 2026-05-24 11:16:29 +00:00
Code Queue Review 22ce6b9d08 fix: expose code agent runner provenance 2026-05-24 10:45:05 +00:00
Lyon de6e169340 Merge pull request #455 from pikasTech/fix/hwlab-450-trace-preview
修复 Code Agent trace 预览计数展示
2026-05-24 18:24:02 +08:00
unidesk-code-queue-runner 32721be357 fix: disclose code agent trace preview counts 2026-05-24 10:22:24 +00:00
Code Queue Review ee5ad7530a fix: stream cloud web trace SSE 2026-05-24 10:19:29 +00:00
Code Queue Review 8c5f25d0e5 fix: use activity timeout for code agent turns 2026-05-24 10:12:13 +00:00
Code Queue Review f65dc3f083 fix: 修复工作区状态构建明细浮层 2026-05-24 09:01:20 +00:00
Code Queue Review 37a6a8c410 fix: 改进 Code Agent 长请求等待体验 2026-05-24 08:56:15 +00:00
unidesk-code-queue-runner c0516aa7bc fix: 收口 M3 控制面板操作体验 2026-05-24 08:21:01 +00:00
Code Queue Review 842ea95a57 fix: 修复 Code Agent 外部网络请求体验 2026-05-24 04:32:35 +00:00
Lyon dbce7496ce Merge pull request #422 from pikasTech/fix/live-builds-no-reports
fix: 收束 live 构建时间 metadata 来源
2026-05-24 12:30:24 +08:00