Commit Graph

46 Commits

Author SHA1 Message Date
Lyon abfd742bee fix: prevent workbench steer duplicate agent cards (#2075) 2026-06-25 02:56:36 +08:00
lyon 98d7b1c6f0 fix: remove workbench read-through projection repair 2026-06-19 00:08:01 +08:00
lyon 3724e82a63 fix(web): 收敛 Workbench sessionId 权威路径 2026-06-18 13:34:41 +08:00
lyon 3a50fec856 fix: make workbench session route authoritative 2026-06-18 12:14:57 +08:00
lyon 837d57dd5a feat(workbench): add realtime event stream 2026-06-17 13:30:40 +08:00
lyon 7938427407 fix: keep session tabs content-sized 2026-06-17 01:06:22 +08:00
lyon 2679b1f14e fix: load Code Agent traces through REST resource 2026-06-16 21:57:51 +08:00
lyon ce1f1031f5 fix: unify code agent turn status authority 2026-06-16 19:21:13 +08:00
lyon 96b4557b0a fix(web): show tool command preview in trace rows 2026-06-15 20:50:27 +08:00
lyon a3762d1763 fix: hide trace debug details behind message details 2026-06-15 20:19:53 +08:00
lyon 97835afe54 fix: polish workbench markdown and trace controls 2026-06-15 19:47:23 +08:00
lyon e984074de0 fix: align cloud web workbench bootstrap entry 2026-06-15 15:42:36 +08:00
lyon 53f8d94471 fix: tighten web trace reading 2026-06-15 14:44:47 +08:00
lyon 200cc5a370 fix: 收敛 v0.3 Vue common architecture parity 2026-06-14 05:40:11 +08:00
Codex Agent 36fc82f5dc feat: migrate cloud web to vue platform shell 2026-06-12 01:17:11 +08:00
Codex Agent e74acf333b fix: preserve workbench project refresh path 2026-06-05 22:57:42 +08:00
Codex Agent d2ee808133 fix: collapse trace after final response 2026-06-05 22:34:03 +08:00
Codex Agent 3e7131f6ab refactor: converge hwpod node-ops channel 2026-06-05 17:23:56 +08:00
Codex Agent e54b3672d9 fix: keep v02 workspace history out of first screen LCP 2026-06-05 17:00:35 +08:00
Codex Agent 946d550056 fix: stabilize v02 workspace first paint 2026-06-05 14:58:37 +08:00
Codex Agent ac2d3001fa fix: depollute v02 web performance telemetry 2026-06-05 13:03:09 +08:00
Codex Agent f5be1c0361 feat: add v02 web performance dashboard 2026-06-05 12:00:23 +08:00
Codex Agent ab7d79c69a feat: expose v02 webui performance metrics 2026-06-05 11:14:27 +08:00
Lyon 412f95f1a5 fix(v02): unify web trace markdown rendering (#858)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 21:33:01 +08:00
Lyon 2129cebfef fix(v02): improve trace and sidebar web ui (#854)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 20:56:43 +08:00
Codex d11c91d36e fix(web): avoid live 404 probes 2026-06-03 18:47:42 +08:00
Codex deb99ec1c9 fix(web): defer workbench fetches until auth ready 2026-06-03 18:33:50 +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 2fa23bd71d fix(web): restore v02 workbench layout 2026-06-03 15:49:52 +08:00
Lyon 2168ad2ad7 fix(web): HWLAB #744 WebUI v0.2 改进 (#746)
- 问题1: 修复重复 session - 按 threadId 去重 conversation
- 问题2: session sidebar 默认宽度改为150% (330px),移除上限
- 问题3: 删除重复的命令栏「新建 Session」按钮
- 问题4: session 报错(status=failed/error/canceled/timeout)后允许继续重试
- 问题5: session tabs 上方显示当前模型通道
- 问题6: 所有时间统一使用北京时间(UTC+8),移除「北京时间」字样
- 问题7: 注销按钮移入 activity-rail 设置标签

Closes #744

Co-authored-by: Codex <codex@local>
2026-06-03 13:13:23 +08:00
Codex 94b9df822c feat: 手动化 Code Agent session 管理 2026-06-03 10:40:50 +08:00
Codex da25cb4c02 feat: align session sidebar and cli management 2026-06-03 09:47:52 +08:00
Codex 5b1c9eb5dd feat: add session tabs to cloud web 2026-06-03 08:37:07 +08:00
Codex 90c5dad065 feat: show prompt assembly in skills panel 2026-06-03 08:03:04 +08:00
Codex 66282ba80f fix: unlock cloud web composer steer 2026-06-02 12:25:16 +08:00
Codex c1bf4f0a59 fix: 收紧 v0.2 Device Pod 右栏首屏布局 2026-05-31 16:53:56 +08:00
Codex 6af815bda1 fix: 修复 v0.2 Device Pod 右栏与助手消息 2026-05-31 16:24:44 +08:00
Codex c462122ad7 fix: refine v02 workbench layout 2026-05-31 13:58:51 +08:00
Codex 70ebd1689c feat: add uploaded skills management 2026-05-31 11:45:10 +08:00
Codex d269dd52bf fix: enforce v02 cloud web validation 2026-05-31 11:39:18 +08:00
Codex b99c663614 feat: enforce v02 runtime authority 2026-05-29 08:10:19 +08:00
Codex ba9daf7e03 fix: resolve bun command from ci path 2026-05-29 03:34:56 +08:00
Codex 03c09f5c94 refactor: migrate v0.2 runtime services to TypeScript 2026-05-29 02:09:35 +08:00
Codex e2c206aab4 Merge remote-tracking branch 'origin/v0.2' into codex/v02-cloud-api-ts-migration
# Conflicts:
#	package.json
#	scripts/src/artifact-runtime-readiness-guard.mjs
#	scripts/src/m3-io-control-e2e.mjs
#	web/hwlab-cloud-web/scripts/check.ts
2026-05-29 00:59:52 +08:00
Codex b7f7299056 feat: migrate v0.2 cloud web to TypeScript 2026-05-28 21:33:33 +08:00