Commit Graph

96 Commits

Author SHA1 Message Date
wuyang6 4a268902bf Persist completed run elapsed time 2026-06-12 19:48:45 +08:00
wuyang6 aac6383fe6 Fix runtime guidance transcript replay 2026-06-12 19:41:26 +08:00
wuyang6 9237d6782a Widen sidebar session titles 2026-06-12 19:27:43 +08:00
wuyang6 780f3447b1 Avoid overlapping session title ellipsis 2026-06-12 19:23:47 +08:00
wuyang6 82b41ce89d Reduce session title action spacing 2026-06-12 19:20:47 +08:00
wuyang6 de6849588e Use ellipsis for session titles 2026-06-12 19:17:33 +08:00
wuyang6 c4f9cca2d7 Tighten session list status slot 2026-06-12 18:42:20 +08:00
wuyang6 cdf27e5bd2 Show runtime guidance in transcript 2026-06-12 18:37:04 +08:00
wuyang6 5bcc22622e Show session run badges 2026-06-12 18:28:00 +08:00
wuyang6 4ba8761db2 Add runtime guidance input queue 2026-06-12 18:15:52 +08:00
wuyang6 00a83ba4c3 Cache session replay on client 2026-06-12 17:28:15 +08:00
wuyang6 a2f39e7312 Fix session cancel and new task routing 2026-06-12 16:35:38 +08:00
wuyang6 953126e1d3 Refactor session runtime persistence 2026-06-12 16:17:58 +08:00
wuyang6 40d7c92a1d fix session routing and subagent visibility 2026-06-12 11:06:04 +08:00
王森浩 1cefbf30c7 Merge branch 'wsh_dev' into 'main'
feat: backend gate fallback + metric_diff docs + submit_sft fix

See merge request wuyang6/zk-data-agent!5
2026-05-27 17:03:27 +08:00
wangsenhao 85ce8c0e69 fix: session resume, config_set schema, metrics chart, subagent logging
- Fix session resume: remove messages.length>1 guard so sessionStorage
  ID is used as resumeSessionId on first message (prevents new session
  creation when user sends "继续")
- Fix config_set tool schema: add missing `items: {}` to array type in
  oneOf (Azure OpenAI strict validation rejects it otherwise)
- Metrics chart: use actual target set filename from trigger text
  instead of generic "target_subset" key
- Add sub-agent skill call logging to agent_runtime.py (full
  prompt/response, no truncation)
- Various metric enrichment and dedup fixes in server.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-27 17:02:24 +08:00
wangsenhao b48032e15c feat: backend gate fallback + metric_diff docs + submit_sft fix
- Auto-inject human-review gate when agent asks question but forgets gate entry
- Add complex_dev/complex_base field docs to program.md metric_diff table
- Fix submit_sft.sh minor issues
- jupyter_runtime improvements

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 15:42:02 +08:00
wuyang6 20c1946a3c fix: stabilize live activity updates 2026-05-26 11:58:13 +08:00
hupenglong1 5b708d2996 fix: use custom event for training panel toggle, no more poll inference
SkillInsertDialog dispatches SKILL_TOGGLED_EVENT on user click.
AssistantWorkspace listens for that event to set applied state.
Completely eliminates poll-based state inference that caused flash.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 17:46:51 +08:00
hupenglong1 a3ab74b506 refactor: split submit_sft_via_cml.sh into submit_sft.sh + submit_cml_eval.sh
- submit_sft.sh: pure SFT submission, prints JobID and exits (no embedded watcher)
- submit_cml_eval.sh: pure CML eval, reads workflow_id/version from config.yaml
- jupyter_runtime write_text: rewrite to use Contents API instead of terminal websocket
- SKILL.md: restrict trigger to explicit UI click only
- program.md: update §5.2 docs to reflect two-script workflow

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 17:21:42 +08:00
hupenglong1 f068311cac backend/frontend/runtime: 训练面板 / session 隔离 / agent runtime 调整
- backend/api/server.py:训练 step-detail / pipeline 卡片排序逻辑
- frontend:thread-list / thread / training-pipeline-panel / step-detail-sheet 配套调整,新增 metrics-chart-panel
- src/agent_*:tool spec / runtime / prompting 配套
- .gitignore 加 .logs/

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 11:43:10 +08:00
hupenglong1 362321c460 修改 2026-05-22 20:56:57 +08:00
hupenglong1 5311e6d97c 修改 2026-05-22 19:48:47 +08:00
hupenglong1 20690cdef3 修改 2026-05-20 15:46:36 +08:00
hupenglong1 1a94cec822 修改 2026-05-20 15:04:19 +08:00
wuyang6 951fbb2cb2 Scope active session to browser tab 2026-05-14 22:02:36 +08:00
wuyang6 182e72680d Prevent stale session during active runs 2026-05-14 21:04:42 +08:00
wuyang6 d427086aa7 Stabilize live run activity updates 2026-05-14 20:55:30 +08:00
wuyang6 2895425869 Stream assistant content to chat output 2026-05-14 20:06:55 +08:00
wuyang6 2eeabdeccf Show live content deltas in activity 2026-05-14 19:43:41 +08:00
wuyang6 119e329dfb Fix live activity timer 2026-05-14 18:12:11 +08:00
wuyang6 e10cb6909b Show cancel button for backend active runs 2026-05-14 16:43:06 +08:00
wuyang6 e48c0ff981 Sync session URL when opening chats 2026-05-14 16:02:27 +08:00
wuyang6 e815056348 Restore workspace status display 2026-05-14 15:44:44 +08:00
wuyang6 076dc61b7f Fix workspace switch session binding 2026-05-14 15:21:45 +08:00
wuyang6 1d37511762 Show pending prompt for interrupted runs 2026-05-14 15:02:11 +08:00
wuyang6 ed935b633f Clear stale frontend run state 2026-05-14 14:41:58 +08:00
wuyang6 52cb3cad06 Refresh current thread when run settles 2026-05-14 14:25:45 +08:00
wuyang6 54d85609d1 Keep selected activity history stable 2026-05-14 14:13:48 +08:00
wuyang6 2203ba6f70 Show elapsed time for live run summaries 2026-05-14 12:32:12 +08:00
wuyang6 22960c5e02 Fix run cancellation and live activity stability 2026-05-14 12:23:53 +08:00
wuyang6 105d287ebd Persist active run state for replay 2026-05-14 11:47:37 +08:00
wuyang6 e3569b6901 Fix active run cancel and elapsed restore 2026-05-14 11:24:26 +08:00
wuyang6 d7c62a4929 Fix live activity streaming and replay summary 2026-05-13 20:58:35 +08:00
wuyang6 f2989cd48b Stream Jupyter workspace file downloads 2026-05-13 18:15:53 +08:00
wuyang6 ef703ff49b Persist Jupyter workspace bindings 2026-05-13 17:59:50 +08:00
wuyang6 b7dba5f5b8 Keep pending workspace status before first message 2026-05-13 17:47:28 +08:00
wuyang6 cdbc7d9fb7 Fix pending Jupyter workspace handoff 2026-05-13 17:22:58 +08:00
wuyang6 9a42b00bfe Fix Jupyter workspace session scoping 2026-05-13 16:56:14 +08:00
wuyang6 a9f229d222 Fix Jupyter status hook typing 2026-05-13 16:21:55 +08:00