Commit Graph

61 Commits

Author SHA1 Message Date
root ac412b557c fix(workbench): converge projection signal and detail read terminology 2026-07-09 06:05:42 +02:00
root 8d6409dc9d chore(workbench): remove legacy trace gap-fill remnants 2026-07-09 03:52:58 +02:00
root e22146f1c4 fix: preserve workbench colada freshness governance 2026-07-02 11:27:53 +00:00
UniDesk Codex b887594d04 feat: migrate workbench server state to pinia colada 2026-07-02 19:05:36 +08:00
UniDesk Codex 78ba7f37a3 fix: bound workbench realtime recovery reads 2026-07-01 15:44:50 +08:00
UniDesk Codex 7b158c246c fix: bound workbench performance resource timing 2026-07-01 01:47:07 +08:00
UniDesk Codex 2ef61ec8d9 refactor: move workbench message projection runtime out of store 2026-07-01 00:30:51 +08:00
UniDesk Codex da3c00bd07 test: document workbench timeline opencode parity 2026-07-01 00:02:58 +08:00
UniDesk Codex 6c09342f0c refactor: move workbench realtime planning out of store 2026-06-30 23:58:59 +08:00
UniDesk Codex 2fd1933914 refactor: complete workbench runtime module integration 2026-06-30 23:51:22 +08:00
UniDesk Codex c306fc39a6 feat: complete workbench opencode runtime migration 2026-06-30 22:45:17 +08:00
UniDesk Codex a3d25a8b1d fix: complete opencode workbench runtime migration 2026-06-30 21:02:24 +08:00
UniDesk Codex 65f5fbe08c feat: migrate workbench realtime runtime modules 2026-06-30 18:39:37 +08:00
UniDesk Codex e99fdc57aa fix: bound workbench session refresh recovery 2026-06-30 12:47:45 +08:00
root 75d43aa6ff workbench consume facts-only realtime snapshots 2026-06-25 09:49:05 +00:00
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