agentworkshop 0.17.4 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/6EjYqizd2.js +1 -0
  3. package/.output/public/_nuxt/{B6OzW5oQ.js → BWYSIX3z.js} +1 -1
  4. package/.output/public/_nuxt/{DXY8bTqS.js → BYVeifDW.js} +1 -1
  5. package/.output/public/_nuxt/{ClVN8KaH2.js → Bb8neYWw2.js} +1 -1
  6. package/.output/public/_nuxt/{D4fDMDMY.js → ByxXSCf9.js} +3 -3
  7. package/.output/public/_nuxt/{BM-sWDDD.js → C3bwSomj.js} +1 -1
  8. package/.output/public/_nuxt/CDwx6Qk-2.js +1 -0
  9. package/.output/public/_nuxt/{CC8gRGAU.js → CL1GexAK.js} +1 -1
  10. package/.output/public/_nuxt/{CjSLwcFL.js → CTkJWXt4.js} +1 -1
  11. package/.output/public/_nuxt/{BIyCQj6O.js → CXBXiOFX.js} +2 -2
  12. package/.output/public/_nuxt/CXFz9B_-2.js +1 -0
  13. package/.output/public/_nuxt/CgEhlg4v2.js +8 -0
  14. package/.output/public/_nuxt/Ch8LlQ0r.js +1 -0
  15. package/.output/public/_nuxt/D8Poe1wJ.js +1 -0
  16. package/.output/public/_nuxt/{Uuf6Jdzd.js → DVUJFOJO.js} +1 -1
  17. package/.output/public/_nuxt/{CUMTaH3Z2.js → DhmtX4iY2.js} +1 -1
  18. package/.output/public/_nuxt/{Cu6Hle_d.js → DmeuO59Y.js} +1 -1
  19. package/.output/public/_nuxt/RMWsCPgI2.js +2 -0
  20. package/.output/public/_nuxt/{_wsId_.CzdXTLVh.css → _wsId_.DaZ8g4FD.css} +1 -1
  21. package/.output/public/_nuxt/board.CqeENEsw.css +1 -0
  22. package/.output/public/_nuxt/builds/latest.json +1 -1
  23. package/.output/public/_nuxt/builds/meta/7becc7b9-c45c-4edb-81af-969c538d2fed.json +1 -0
  24. package/.output/public/_nuxt/channel-templates.BUNpRy6E.css +1 -0
  25. package/.output/public/_nuxt/{default.Diue5wr2.css → default.Cg1zKZla.css} +1 -1
  26. package/.output/public/_nuxt/{entry.D9gnKVzx.css → entry.DaOm6Z_i.css} +1 -1
  27. package/.output/public/_nuxt/ontology.NGw2WSc2.css +1 -0
  28. package/.output/public/_nuxt/optimizer.CkKx4qp3.css +1 -0
  29. package/.output/public/_nuxt/pipeline.BnaxJDtL.css +1 -0
  30. package/.output/public/_nuxt/projects.D7IsCl8K.css +1 -0
  31. package/.output/public/_nuxt/{settings.BRjXthG4.css → settings.B2GP7Esk.css} +1 -1
  32. package/.output/public/_nuxt/studio.CNtVgRxO.css +1 -0
  33. package/.output/public/_nuxt/{BpqmshmO.js → tjYEbvAS.js} +1 -1
  34. package/.output/server/chunks/_/nitro.mjs +1180 -1130
  35. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  36. package/.output/server/chunks/build/{TownView-BdwjWlnU.mjs → TownView-Czmlr5PS.mjs} +2 -2
  37. package/.output/server/chunks/build/{TownView-BdwjWlnU.mjs.map → TownView-Czmlr5PS.mjs.map} +1 -1
  38. package/.output/server/chunks/build/{_wsId_-CLBiQH5c.mjs → _wsId_-BW4pvga3.mjs} +17 -13
  39. package/.output/server/chunks/build/{_wsId_-CLBiQH5c.mjs.map → _wsId_-BW4pvga3.mjs.map} +1 -1
  40. package/.output/server/chunks/build/{agents-CBs5MnHX.mjs → agents-D01VNBtw.mjs} +6 -6
  41. package/.output/server/chunks/build/{agents-CBs5MnHX.mjs.map → agents-D01VNBtw.mjs.map} +1 -1
  42. package/.output/server/chunks/build/{board-2MX66I4I.mjs → board-DRTCHkkb.mjs} +15 -15
  43. package/.output/server/chunks/build/{board-2MX66I4I.mjs.map → board-DRTCHkkb.mjs.map} +1 -1
  44. package/.output/server/chunks/build/{channel-templates-HQdH7rSi.mjs → channel-templates-CLVbikUl.mjs} +25 -22
  45. package/.output/server/chunks/build/channel-templates-CLVbikUl.mjs.map +1 -0
  46. package/.output/server/chunks/build/{default-Bgt1lEEe.mjs → default-S1G03iOr.mjs} +195 -55
  47. package/.output/server/chunks/build/{default-Bgt1lEEe.mjs.map → default-S1G03iOr.mjs.map} +1 -1
  48. package/.output/server/chunks/build/{ontology-qi542_PU.mjs → ontology-ChvlO0hr.mjs} +69 -66
  49. package/.output/server/chunks/build/ontology-ChvlO0hr.mjs.map +1 -0
  50. package/.output/server/chunks/build/{optimizer-D1krDGJ8.mjs → optimizer-cAR_QJo3.mjs} +63 -63
  51. package/.output/server/chunks/build/{optimizer-D1krDGJ8.mjs.map → optimizer-cAR_QJo3.mjs.map} +1 -1
  52. package/.output/server/chunks/build/{pages-BglOdtvM.mjs → pages-BfBExPSN.mjs} +3 -3
  53. package/.output/server/chunks/build/{pages-BglOdtvM.mjs.map → pages-BfBExPSN.mjs.map} +1 -1
  54. package/.output/server/chunks/build/{pipeline-Bm4BvjJk.mjs → pipeline-Cown7Xpn.mjs} +38 -38
  55. package/.output/server/chunks/build/{pipeline-Bm4BvjJk.mjs.map → pipeline-Cown7Xpn.mjs.map} +1 -1
  56. package/.output/server/chunks/build/{projects-BxzJhim8.mjs → projects--pAY6UvD.mjs} +46 -29
  57. package/.output/server/chunks/build/projects--pAY6UvD.mjs.map +1 -0
  58. package/.output/server/chunks/build/{schedules-ByNLHzUb.mjs → schedules-CO8r0ATX.mjs} +2 -2
  59. package/.output/server/chunks/build/{schedules-ByNLHzUb.mjs.map → schedules-CO8r0ATX.mjs.map} +1 -1
  60. package/.output/server/chunks/build/{settings-Cmn3aD8S.mjs → settings-B2Y4Z_Dv.mjs} +102 -66
  61. package/.output/server/chunks/build/settings-B2Y4Z_Dv.mjs.map +1 -0
  62. package/.output/server/chunks/build/{studio-UA6uE2rX.mjs → studio-CrZ_athz.mjs} +49 -47
  63. package/.output/server/chunks/build/studio-CrZ_athz.mjs.map +1 -0
  64. package/.output/server/chunks/build/{teams-91fbSTKR.mjs → teams-CI3co-r4.mjs} +8 -8
  65. package/.output/server/chunks/build/{teams-91fbSTKR.mjs.map → teams-CI3co-r4.mjs.map} +1 -1
  66. package/.output/server/chunks/build/{tools-CymDQIxW.mjs → tools-6vjvrXEV.mjs} +2 -2
  67. package/.output/server/chunks/build/{tools-CymDQIxW.mjs.map → tools-6vjvrXEV.mjs.map} +1 -1
  68. package/.output/server/chunks/build/{town-Djy_zAJV.mjs → town-DmnFpDzr.mjs} +3 -3
  69. package/.output/server/chunks/build/{town-Djy_zAJV.mjs.map → town-DmnFpDzr.mjs.map} +1 -1
  70. package/.output/server/chunks/build/{useAgentHarnessOptions-_BNL2lCk.mjs → useAgentHarnessOptions-DA0sHG6Q.mjs} +2 -2
  71. package/.output/server/chunks/build/{useAgentHarnessOptions-_BNL2lCk.mjs.map → useAgentHarnessOptions-DA0sHG6Q.mjs.map} +1 -1
  72. package/.output/server/chunks/build/{useAgentTemplateActions-DwZgWchg.mjs → useAgentTemplateActions-NN7wJsn8.mjs} +2 -2
  73. package/.output/server/chunks/build/{useAgentTemplateActions-DwZgWchg.mjs.map → useAgentTemplateActions-NN7wJsn8.mjs.map} +1 -1
  74. package/.output/server/chunks/build/{useAgentTemplateForm-Coq1ZUFt.mjs → useAgentTemplateForm-Cnr5CF6p.mjs} +2 -2
  75. package/.output/server/chunks/build/{useAgentTemplateForm-Coq1ZUFt.mjs.map → useAgentTemplateForm-Cnr5CF6p.mjs.map} +1 -1
  76. package/.output/server/chunks/build/{useAgentTemplatesCatalog-D5_uOqc_.mjs → useAgentTemplatesCatalog-Cov5-icf.mjs} +2 -2
  77. package/.output/server/chunks/build/{useAgentTemplatesCatalog-D5_uOqc_.mjs.map → useAgentTemplatesCatalog-Cov5-icf.mjs.map} +1 -1
  78. package/.output/server/chunks/build/{useDashboardData-zegEZEVV.mjs → useDashboardData-mlV9XxSi.mjs} +2 -2
  79. package/.output/server/chunks/build/{useDashboardData-zegEZEVV.mjs.map → useDashboardData-mlV9XxSi.mjs.map} +1 -1
  80. package/.output/server/chunks/build/{useTeamActions-DoE_H7SI.mjs → useTeamActions-6whZe0-H.mjs} +2 -2
  81. package/.output/server/chunks/build/{useTeamActions-DoE_H7SI.mjs.map → useTeamActions-6whZe0-H.mjs.map} +1 -1
  82. package/.output/server/chunks/build/{useTeamAddMemberDialog-DPo909sp.mjs → useTeamAddMemberDialog-Dfjq6MqH.mjs} +2 -2
  83. package/.output/server/chunks/build/{useTeamAddMemberDialog-DPo909sp.mjs.map → useTeamAddMemberDialog-Dfjq6MqH.mjs.map} +1 -1
  84. package/.output/server/chunks/build/{useTeamCreateDialog-De5FKDar.mjs → useTeamCreateDialog-CCL53yq2.mjs} +2 -2
  85. package/.output/server/chunks/build/{useTeamCreateDialog-De5FKDar.mjs.map → useTeamCreateDialog-CCL53yq2.mjs.map} +1 -1
  86. package/.output/server/chunks/build/{useTeamDeployDialog-CgF-2sLw.mjs → useTeamDeployDialog-CEOtXJ-6.mjs} +2 -2
  87. package/.output/server/chunks/build/{useTeamDeployDialog-CgF-2sLw.mjs.map → useTeamDeployDialog-CEOtXJ-6.mjs.map} +1 -1
  88. package/.output/server/chunks/build/{useTeamPluginDialog-DyTbDorE.mjs → useTeamPluginDialog-DrwWX0Fg.mjs} +2 -2
  89. package/.output/server/chunks/build/{useTeamPluginDialog-DyTbDorE.mjs.map → useTeamPluginDialog-DrwWX0Fg.mjs.map} +1 -1
  90. package/.output/server/chunks/build/{useTeamsCatalog-D358hKGV.mjs → useTeamsCatalog-DpfL45qY.mjs} +2 -2
  91. package/.output/server/chunks/build/{useTeamsCatalog-D358hKGV.mjs.map → useTeamsCatalog-DpfL45qY.mjs.map} +1 -1
  92. package/.output/server/chunks/build/{useWorkbenchWorkspaces-CfIx3ApC.mjs → useWorkbenchWorkspaces-4_MVYDdE.mjs} +2 -2
  93. package/.output/server/chunks/build/{useWorkbenchWorkspaces-CfIx3ApC.mjs.map → useWorkbenchWorkspaces-4_MVYDdE.mjs.map} +1 -1
  94. package/.output/server/chunks/build/{useWorkshopApi-Bj1wtLkN.mjs → useWorkshopApi-8Hs5PB69.mjs} +2 -1
  95. package/.output/server/chunks/build/useWorkshopApi-8Hs5PB69.mjs.map +1 -0
  96. package/.output/server/chunks/build/{useWorkspaceAuth-BYuPfKMw.mjs → useWorkspaceAuth-_ZjFSIR4.mjs} +2 -2
  97. package/.output/server/chunks/build/{useWorkspaceAuth-BYuPfKMw.mjs.map → useWorkspaceAuth-_ZjFSIR4.mjs.map} +1 -1
  98. package/.output/server/chunks/build/{useWorkspaceChannels-DDDAh7iW.mjs → useWorkspaceChannels-QG6oBcmm.mjs} +2 -2
  99. package/.output/server/chunks/build/{useWorkspaceChannels-DDDAh7iW.mjs.map → useWorkspaceChannels-QG6oBcmm.mjs.map} +1 -1
  100. package/.output/server/chunks/build/{useWorkspacePanels-ht2LWq_7.mjs → useWorkspacePanels-B4hGMl1e.mjs} +2 -2
  101. package/.output/server/chunks/build/{useWorkspacePanels-ht2LWq_7.mjs.map → useWorkspacePanels-B4hGMl1e.mjs.map} +1 -1
  102. package/.output/server/chunks/build/{workshop-DXJ1pkhv.mjs → workshop-xJRphBs5.mjs} +3 -3
  103. package/.output/server/chunks/build/{workshop-DXJ1pkhv.mjs.map → workshop-xJRphBs5.mjs.map} +1 -1
  104. package/.output/server/chunks/build/{workspaces-DSrMIrqL.mjs → workspaces-CtXv4a9w.mjs} +1 -11
  105. package/.output/server/chunks/build/{workspaces-DSrMIrqL.mjs.map → workspaces-CtXv4a9w.mjs.map} +1 -1
  106. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +10 -8
  107. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs.map +1 -1
  108. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +3 -2
  109. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs.map +1 -1
  110. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +1 -1
  111. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs.map +1 -1
  112. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +1 -1
  113. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs.map +1 -1
  114. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +1 -1
  115. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs.map +1 -1
  116. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +20 -8
  117. package/.output/server/chunks/routes/api/workshop/channels.post.mjs.map +1 -1
  118. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +26 -28
  119. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs.map +1 -1
  120. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +10 -2
  121. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs.map +1 -1
  122. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +1 -1
  123. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs.map +1 -1
  124. package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs +1 -1
  125. package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs.map +1 -1
  126. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +1 -1
  127. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs.map +1 -1
  128. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs +1 -1
  129. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs.map +1 -1
  130. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +1 -1
  131. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -1
  132. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +1 -1
  133. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs.map +1 -1
  134. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +1 -1
  135. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs.map +1 -1
  136. package/.output/server/chunks/routes/renderer.mjs +1 -1
  137. package/.output/server/chunks/virtual/entry.mjs +32 -32
  138. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  139. package/.output/server/package.json +1 -1
  140. package/README-zh.md +23 -8
  141. package/README.md +23 -8
  142. package/app/components/AppSidebar.vue +72 -10
  143. package/app/components/app-header/HeaderTools.vue +33 -8
  144. package/app/components/app-header/HitlBell.vue +89 -4
  145. package/app/components/settings/AppearancePane.vue +34 -7
  146. package/app/components/workshop/session-list/MountChannelModal.vue +10 -1
  147. package/app/composables/workshop/useWorkshopApi.ts +3 -2
  148. package/app/pages/ontology/index.vue +30 -4
  149. package/app/pages/optimizer/index.vue +31 -28
  150. package/app/pages/projects/index.vue +258 -38
  151. package/app/pages/settings.vue +80 -49
  152. package/app/pages/studio/board.vue +9 -1
  153. package/app/pages/studio/index.vue +40 -16
  154. package/app/pages/studio/pipeline.vue +20 -1
  155. package/app/pages/workshop/channel-templates.vue +14 -7
  156. package/app/stores/workshop/workspaces.ts +0 -10
  157. package/config.yml +1 -1
  158. package/desktop/chrome/contract.mjs +59 -3
  159. package/desktop/chrome/preload-splash.cjs +29 -0
  160. package/desktop/chrome/preload.cjs +2 -0
  161. package/desktop/chrome/settings.mjs +24 -0
  162. package/desktop/chrome/splash.html +610 -0
  163. package/desktop/chrome/titlebar.html +8 -1
  164. package/desktop/chrome/tray-menu.mjs +56 -0
  165. package/desktop/main.mjs +694 -42
  166. package/desktop/sidecar.mjs +12 -2
  167. package/docs/cli.en.md +1 -1
  168. package/docs/cli.md +1 -1
  169. package/docs/desktop.md +21 -3
  170. package/docs/mcp.md +10 -4
  171. package/docs/plugins.en.md +1 -1
  172. package/docs/plugins.md +1 -1
  173. package/docs/sdk.en.md +1 -1
  174. package/docs/sdk.md +1 -1
  175. package/package.json +223 -219
  176. package/scripts/e2e-line-governance.mjs +9 -5
  177. package/scripts/experiments/gemma4-pipeline.mjs +811 -0
  178. package/scripts/experiments/gemma4-supplement-fix.mjs +119 -0
  179. package/scripts/experiments/gemma4-supplement.mjs +266 -0
  180. package/scripts/experiments/tsa-phase-c.mjs +154 -0
  181. package/scripts/experiments/tsa-phase-f.mjs +167 -0
  182. package/scripts/experiments/tsa-phase-i.mjs +151 -0
  183. package/scripts/experiments/tsa-phase-s.mjs +223 -0
  184. package/scripts/experiments/tsa2-phase-c.mjs +259 -0
  185. package/scripts/experiments/tsa2-phase-p.mjs +379 -0
  186. package/scripts/experiments/tsa2-phase-p1.mjs +386 -0
  187. package/scripts/experiments/tsa2-phase-s.mjs +224 -0
  188. package/scripts/ui/lib.mjs +7 -0
  189. package/scripts/ui/seed-demo.mjs +2 -0
  190. package/server/api/workshop/a2a/[agentId]/card/index.get.ts +15 -9
  191. package/server/api/workshop/a2a/[agentId]/rpc/index.post.ts +5 -2
  192. package/server/api/workshop/agents/[id].delete.ts +2 -1
  193. package/server/api/workshop/agents/[id].get.ts +2 -1
  194. package/server/api/workshop/channel-templates/[id].get.ts +2 -1
  195. package/server/api/workshop/channels.post.ts +22 -8
  196. package/server/api/workshop/daq/[id]/ingest.post.ts +23 -24
  197. package/server/api/workshop/dcw/line/query.get.ts +5 -2
  198. package/server/api/workshop/tasks/[id]/cancel/index.post.ts +4 -4
  199. package/server/api/workshop/tasks/[id]/reopen.post.ts +2 -1
  200. package/server/api/workshop/tasks/[id]/retry.post.ts +2 -1
  201. package/server/api/workshop/tasks/[id]/update.post.ts +2 -1
  202. package/server/api/workshop/tasks/[id].get.ts +2 -2
  203. package/server/api/workshop/teams/[id]/members/index.get.ts +2 -1
  204. package/server/api/workshop/teams/[id].get.ts +2 -1
  205. package/server/services/workshop/db/memory.repo.ts +16 -8
  206. package/server/services/workshop/dcw/line-query-window.ts +20 -0
  207. package/server/services/workshop/runtime/manager/admin-channel.ts +54 -3
  208. package/server/services/workshop/runtime/manager/workspace-defaults.ts +20 -0
  209. package/.output/public/_nuxt/4zHSAgHR2.js +0 -8
  210. package/.output/public/_nuxt/B7qnHEGS2.js +0 -1
  211. package/.output/public/_nuxt/Bn2mnZ8D2.js +0 -1
  212. package/.output/public/_nuxt/C7cwKZqJ2.js +0 -1
  213. package/.output/public/_nuxt/CuiM5V6m.js +0 -1
  214. package/.output/public/_nuxt/DIXtjY5n2.js +0 -2
  215. package/.output/public/_nuxt/DnKSca_n.js +0 -1
  216. package/.output/public/_nuxt/board.ByfnFvkG.css +0 -1
  217. package/.output/public/_nuxt/builds/meta/2547f38c-dfaf-48fa-9b29-334889a73f2c.json +0 -1
  218. package/.output/public/_nuxt/channel-templates.DnibuaPe.css +0 -1
  219. package/.output/public/_nuxt/ontology.Clux6c4G.css +0 -1
  220. package/.output/public/_nuxt/optimizer.BVfrqOYg.css +0 -1
  221. package/.output/public/_nuxt/pipeline.CYRrisV7.css +0 -1
  222. package/.output/public/_nuxt/projects.GM3P0C78.css +0 -1
  223. package/.output/public/_nuxt/studio.BiiONLaO.css +0 -1
  224. package/.output/server/chunks/build/channel-templates-HQdH7rSi.mjs.map +0 -1
  225. package/.output/server/chunks/build/ontology-qi542_PU.mjs.map +0 -1
  226. package/.output/server/chunks/build/projects-BxzJhim8.mjs.map +0 -1
  227. package/.output/server/chunks/build/settings-Cmn3aD8S.mjs.map +0 -1
  228. package/.output/server/chunks/build/studio-UA6uE2rX.mjs.map +0 -1
  229. package/.output/server/chunks/build/useWorkshopApi-Bj1wtLkN.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentworkshop-prod",
3
- "version": "0.17.4",
3
+ "version": "0.18.0",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
package/README-zh.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  [![npm version](https://img.shields.io/npm/v/agentworkshop?logo=npm&logoColor=white&label=npm&color=CB3837)](https://www.npmjs.com/package/agentworkshop)
12
12
  [![npm downloads](https://img.shields.io/npm/dm/agentworkshop?logo=npm&logoColor=white&label=downloads&color=CB3837)](https://www.npmjs.com/package/agentworkshop)
13
- [![GitHub release](https://img.shields.io/github/v/release/kingdol666/AgentWorkShop?logo=github&label=release&color=35e0a0)](https://github.com/kingdol666/AgentWorkShop/releases/tag/v0.17.4)
13
+ [![GitHub release](https://img.shields.io/github/v/release/kingdol666/AgentWorkShop?logo=github&label=release&color=35e0a0)](https://github.com/kingdol666/AgentWorkShop/releases/tag/v0.17.5)
14
14
  [![Stars](https://img.shields.io/github/stars/kingdol666/AgentWorkShop?logo=github&label=stars&color=35e0a0)](https://github.com/kingdol666/AgentWorkShop/stargazers)
15
15
  [![Last commit](https://img.shields.io/github/last-commit/kingdol666/AgentWorkShop?logo=git&logoColor=white&label=last%20commit)](https://github.com/kingdol666/AgentWorkShop/commits)
16
16
  [![Issues](https://img.shields.io/github/issues/kingdol666/AgentWorkShop?logo=github&label=issues)](https://github.com/kingdol666/AgentWorkShop/issues)
@@ -28,7 +28,7 @@
28
28
 
29
29
  **[English](./README.md)** · **[在线文档](https://kingdol666.github.io/AgentWorkShop)** · **[版本发布](https://github.com/kingdol666/AgentWorkShop/releases)** · **[更新日志](./changelog.md)** · **[插件 API](./docs/plugins.md)** · **[SDK](./docs/sdk.md)**
30
30
 
31
- <sub><b>源码 v0.17.4(2026-11-23 发布)</b> · 一体化桌面壳与应用内更新 · 桌面/Web 共用 <code>~/.AgentWorkShop</code> · 14 个执行引擎 · 6 种现场协议(5 内置 + 串口插件)+ MES REST(镜像与直连双路径)· **项目中心** · **RSI 经验演化** · **受治理产品经验** · **IDD/RAG 插件集成** · **AgentPrefab / Skill / MCP 能力供应链** · 双语文档(简体中文 / English)</sub>
31
+ <sub><b>源码 v0.18.0(2026-11-23 发布)</b> · 控制台按工作区建频道 · API 先验身份后查资源 · 产线查询有界时间窗 · 共享主题与无障碍刷新 · 桌面托盘与启动动画 · 一体化桌面壳与应用内更新 · 桌面/Web 共用 <code>~/.AgentWorkShop</code> · 14 个执行引擎 · 6 种现场协议(5 内置 + 串口插件)+ MES REST(镜像与直连双路径)· **项目中心** · **RSI 经验演化** · **受治理产品经验** · **IDD/RAG 插件集成** · **AgentPrefab / Skill / MCP 能力供应链** · 双语文档(简体中文 / English)</sub>
32
32
 
33
33
  <br />
34
34
 
@@ -36,7 +36,7 @@
36
36
 
37
37
  </div>
38
38
 
39
- [快速开始](#快速开始) · [当前源码](#当前源码-v0-17-4) · [0.17.4 发布说明](#whats-new-in-0174) · [Agent 团队模型](#agent-团队模型) · [核心能力](#核心能力) · [设计架构](#设计架构) · [验证与验收](#验证与验收) · [文档站](https://kingdol666.github.io/AgentWorkShop)
39
+ [快速开始](#快速开始) · [当前源码](#当前源码-v0-18-0) · [0.18.0 发布说明](#whats-new-in-0180) · [Agent 团队模型](#agent-团队模型) · [核心能力](#核心能力) · [设计架构](#设计架构) · [验证与验收](#验证与验收) · [文档站](https://kingdol666.github.io/AgentWorkShop)
40
40
 
41
41
  ---
42
42
 
@@ -49,12 +49,27 @@
49
49
  - **交付是一等概念**:**Project 模式**把蓝图变成计划、带依赖的 WBS、L1 技术复核、L2 Owner 验收与真实交付物——交付物不通过,项目不算完成;
50
50
  - **作业链按治理阶段实现**:读取 → 分析 → 提案 → 按有效策略审批(如适用)→ 下发 → 回读/审计;每份验收证据应注明实际覆盖范围及使用模拟器还是物理设备。
51
51
 
52
- ## 当前源码 v0.17.4
52
+ ## 当前源码 v0.18.0
53
53
 
54
- 当前源码版本为 **0.17.4**(npm + GitHub Release,2026-11-23)。本版为独立全屏页面补上返回入口:数字孪生(`/town`,town 布局)与裸控制台(`/workshop/w/:id`,console 布局)现在都会渲染本地化的 `AppBackToMain` 控件,链接到带侧栏导航的仪表盘 `/`——此前桌面端进入 `/town` 后没有返回路径。项目详情页保留自己的「返回项目中心」(`/projects`) 与「返回 Agent 工作台」(`/workshop`) 入口(两者都带导航栏)。一体化桌面壳、桌面/Web/CLI 共用 `~/.AgentWorkShop`、基于 GitHub Releases 的应用内更新与 0.17.3 的 WSH 静默安装助手保持不变。同时保留 0.16.x 全部内容——0.15.x 的「AgentPrefab 能力装配」计划(#252–#258)加上 **Leader 自主管理 Worker 的 AgentPrefab 能力**(合并 PR #262/#264/#265):Channel Leader 创建 Worker 时可携带已发布 revision 选择器并原子固定 `(prefabId, revision, slotValues, contentHash)`;名册带 `manageable`/`protected` 标记;可按 revision 切换/解绑绑定;且只能移除自己创建的 Worker。Worker 创建来源持久化(`created_by_kind`/`created_by_id`/`created_via`/`created_reason`);人类绑定 Worker、其他 Leader 的 Worker、Lead、Project Leader 与未关闭 Session 克隆均受删除保护,移除时回收任务、同事务取消待投递并清理实例节点绑定,不动全局模板与不可变 revision。native/REST/MCP/Project 各路径 dispatch 对损坏/哈希不匹配绑定、停用成员、角色/版本不匹配与模板可见性越界一律 fail-closed;Project 任务实例重试复用首次固定的快照并做 CAS/哈希校验。已发布 Prefab profile 按字段应用到受支持 harness(OMP thinking level 走 RPC);唯一 Skill 别名解析为 canonical revision id。数据库契约 **v10** 新增来源列(存量行保守迁移为 `system`/`protected`)。
54
+ 当前源码版本为 **0.18.0**(npm + GitHub Release,2026-11-23)。本版修复发版审查发现的 console 与 API 作用域缺陷,并刷新共享视觉层。REST 建的频道会挂到 owner 的默认工作区(或显式指定、且在建频道前校验归属的工作区),因此在按工作区作用域读取的 console 里可见;console 自身的「新建频道」弹窗把当前 workspace id 随创建请求提交,在一个工作区里建的频道不会再漏进另一个。详情与任务类 REST handler、DAQ 外部推送和 A2A JSON-RPC 方法都改为先解析调用者身份再查资源,未鉴权调用者不能再借 404/401 的差异枚举 ID;A2A AgentCard 的公开开关同时覆盖 JSON-RPC 的 `agent/getCard`。`GET /api/workshop/dcw/line/query` 省略时间窗时按最近 24h 查询,不再对时序历史做无界聚合。共享主题、设置页签、侧栏抽屉焦点、头部控件、HITL 浮层、页面族与桌面启动动画按键盘与读屏语义、令牌化颜色和减少动态效果重新整理。保留 0.17.5 桌面基线(关闭到托盘、托盘 5 项设置、分阶段启动动画、共享 home、应用内更新)与 0.16.x 的 AgentPrefab 能力基线。
55
55
 
56
56
  v0.16.0 验证:#262/#264/#265/#263/#266 PR quick-gate 全绿;focused 套件 **38/38**、合并后 **22/22** 与 **13/13**、Project/Prefab/Session 回归集 **235/235**;发布构建实机隔离验收——Leader/Prefab 全链 **30/30 ×2**(创建带 Prefab 的 Worker → SQLite 来源核验 → 名册标记 → 目录收窄 → dispatch 放行/拒绝 → 用户路径 Worker 保护 → lead 自改拒绝 → revision 切换即收窄 → 解绑 → 移除保留模板与 revision → REST 删 lead 409),官方 L10 全新实例 **21/21**,AgentTeam CRUD/部署/派发 **25/25**,前端 SSR 路由 200。Mimosa 深扫有封印(`sha256:a91957e0…`,54 findings,依赖风险 0)——findings 如实呈报,不作安全通过声明。边界:外部 MCP 正向实网联通、Prefab 指导下的真实 OMP 模型作业、浏览器 UI 点击验收为 NOT_RUN。见[全流程验收报告](docs/audit/evidence/2026-11-21-fullflow-round/REPORT.md)与[Prefab/Skills/MCP 实机报告](docs/audit/evidence/2026-11-21-agent-prefab-acceptance/REPORT.md)。
57
57
 
58
+ ## What's new in 0.18.0
59
+
60
+ - **Console 建频道按工作区归属**:`POST /api/workshop/channels` 把新频道挂到 owner 的默认工作区(按需创建,或使用显式 `workspaceId` 并在建频道前校验归属),REST 建的频道因此在按工作区作用域读取的 console 里可见。console 的「新建频道」弹窗改为把当前 workspace id 随创建请求提交,不再创建后补挂,因此在一个工作区里建的频道不会同时出现在另一个工作区。
61
+ - **API 先验身份后查资源**:Agent、Team、Channel 模板与任务的详情/动作路由,DAQ 外部推送与 A2A `message/send` 都先解析调用者,关闭了未鉴权调用者借 404/401 差异枚举 ID 的通道;`security.a2aCardPublic` 开关同时覆盖 JSON-RPC 的 `agent/getCard`。
62
+ - **产线查询有界**:`GET /api/workshop/dcw/line/query` 在省略 `from`/`to` 时按最近 24 小时查询;此前无窗口查询对共享 Timescale 聚合耗时 10–15 秒且随时长增长。
63
+ - **共享视觉层刷新**:刷新页面的颜色全部走令牌;设置页签键盘完整、侧栏抽屉焦点陷阱与焦点归还、头部控件可访问名称、HITL 浮层语义、窄视口 ≥44px 触摸目标,并重做启动动画(进度跟随真实阶段、支持减少动态效果)。
64
+ - **文档对齐**:MCP 指南补全 38 个工具(含 3 个配方工具)、9 个内置 skill 与 14 组 MCP 单测;README 项目页布局描述改为实际的 1180px 列表与两列详情。
65
+
66
+ ## What's new in 0.17.5
67
+
68
+ - **关闭到托盘**:标题栏关闭按钮改为隐藏窗口,不再杀掉后端;单击/双击托盘图标恢复窗口。需要「关闭即退出」时可在托盘设置里关闭「关闭时最小化到托盘」。关闭窗口默认最小化到托盘,后端与正在运行的任务继续工作。
69
+ - **托盘菜单**:实时显示本机服务状态与 `127.0.0.1:<port>`,提供重新加载界面、重启本地服务、检查更新、打开数据/日志目录、诊断信息,以及「设置」子菜单中的 5 项持久化开关:关闭到托盘、开机自动启动、启动后最小化到托盘、托盘通知、自动检查更新。设置保存在 `<home>/electron/settings.json`。
70
+ - **启动初始化动画**:启动立即显示无边框 660×440 初始化窗口,按真实阶段(环境 → 数据 → 服务 → 工作台)展示带时间戳的启动日志、耗时与进度;只有 `/api/health` 返回 `status=ok` / `workshop=ready` 且页面加载完成后才显示主窗口。失败时提供重试、打开日志与退出,而不是静默失败。
71
+ - **验收证据**:托盘在后端之前创建,`desktop-status.json` 记录 phase/port/trayCreated/windowVisible/settings。源码模式 E2E 覆盖:初始化动画 → 就绪、关闭 → 隐藏且后端健康、二次启动恢复窗口、启动即最小化、关闭即退出、自动退出后无残留后端。见 `docs/design/desktop-chrome/acceptance.md`。
72
+
58
73
  ## What's new in 0.17.4
59
74
 
60
75
  - **独立页面返回主界面**:`/town`(数字孪生,town 布局)与 `/workshop/w/:id`(裸 console 布局)新增本地化 `AppBackToMain` 控件,`NuxtLink` 指向仪表盘 `/`(default 布局,带侧栏导航);640px 以下只显示箭头,`aria-label`/`title` 保留。数字孪生与裸控制台新增「返回主界面」入口,桌面端不再被困在全屏页面。
@@ -205,8 +220,8 @@ Channel 控制台与 Project 详情按 ChatGPT 式 harness 布局重排——**8
205
220
  </p>
206
221
 
207
222
  - **Channel**:Agent 通栏阅读块、用户右侧浅泡、harness / 角色 / 时间元信息、中性 Composer、hover 显影的频道操作;
208
- - **Project**:面包屑头部、中列 880px、右栏 312px 项目快照、频道名替代 UUID 墙、Leader 输入框 2 行;
209
- - **入口页**:项目列表 1080px + 三列新建表单,Workspace 列表 1240px;
223
+ - **Project**:面包屑头部、工作区 + 快照栏两列布局、频道名替代 UUID 墙、Leader 输入框 2 行;
224
+ - **入口页**:项目列表 1180px + 三列新建表单,Workspace 列表 1240px;
210
225
  - **行为零删除**:全部 `data-testid`、快捷键、@ 提及、HITL 语义与 API 原样保留——由 12/12 UI 交互套件验证。
211
226
 
212
227
  → [Harness UI 指南](https://kingdol666.github.io/AgentWorkShop/guide/harness-ui) · [设计画布与前后对比](docs/design/2026-11-08-harness-ui/README.md)
@@ -503,7 +518,7 @@ curl -X POST http://localhost:3001/api/workshop/projects/instantiate \
503
518
 
504
519
  **如果这个项目对你有用,点一个 ⭐ 能让更多人找到它。**
505
520
 
506
- 当前源码版本:**v0.17.4(已发布 2026-11-23)** —— [最新版本 v0.17.4](https://github.com/kingdol666/AgentWorkShop/releases/tag/v0.17.4) · [更新日志](./changelog.md) · [在线文档](https://kingdol666.github.io/AgentWorkShop)
521
+ 当前源码版本:**v0.18.0(已发布 2026-11-23)** —— [最新版本 v0.18.0](https://github.com/kingdol666/AgentWorkShop/releases/tag/v0.18.0) · [更新日志](./changelog.md) · [在线文档](https://kingdol666.github.io/AgentWorkShop)
507
522
 
508
523
  <a href="https://star-history.com/#kingdol666/AgentWorkShop&Date">
509
524
  <img src="https://api.star-history.com/svg?repos=kingdol666/AgentWorkShop&type=Date" alt="Star history" width="70%" />
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  [![npm version](https://img.shields.io/npm/v/agentworkshop?logo=npm&logoColor=white&label=npm&color=CB3837)](https://www.npmjs.com/package/agentworkshop)
12
12
  [![npm downloads](https://img.shields.io/npm/dm/agentworkshop?logo=npm&logoColor=white&label=downloads&color=CB3837)](https://www.npmjs.com/package/agentworkshop)
13
- [![GitHub release](https://img.shields.io/github/v/release/kingdol666/AgentWorkShop?logo=github&label=release&color=35e0a0)](https://github.com/kingdol666/AgentWorkShop/releases/tag/v0.17.4)
13
+ [![GitHub release](https://img.shields.io/github/v/release/kingdol666/AgentWorkShop?logo=github&label=release&color=35e0a0)](https://github.com/kingdol666/AgentWorkShop/releases/tag/v0.17.5)
14
14
  [![Stars](https://img.shields.io/github/stars/kingdol666/AgentWorkShop?logo=github&label=stars&color=35e0a0)](https://github.com/kingdol666/AgentWorkShop/stargazers)
15
15
  [![Last commit](https://img.shields.io/github/last-commit/kingdol666/AgentWorkShop?logo=git&logoColor=white&label=last%20commit)](https://github.com/kingdol666/AgentWorkShop/commits)
16
16
  [![Issues](https://img.shields.io/github/issues/kingdol666/AgentWorkShop?logo=github&label=issues)](https://github.com/kingdol666/AgentWorkShop/issues)
@@ -28,7 +28,7 @@
28
28
 
29
29
  **[简体中文](./README-zh.md)** · **[Documentation](https://kingdol666.github.io/AgentWorkShop)** · **[Releases](https://github.com/kingdol666/AgentWorkShop/releases)** · **[Changelog](./changelog.md)** · **[Plugin API](./docs/plugins.md)** · **[SDK](./docs/sdk.md)**
30
30
 
31
- <sub><b>source v0.17.4 (released 2026-11-23)</b> · integrated desktop shell with in-app updates · shared <code>~/.AgentWorkShop</code> home · 14 engines · 6 field protocols (5 built-in + serial plugin) + MES REST (mirror & live) · **Project center** · **RSI experience evolution** · **governed product experience** · **IDD/RAG plugin integration** · **AgentPrefab / Skills / MCP capability supply chain** · bilingual docs (简体中文 / English)</sub>
31
+ <sub><b>source v0.18.0 (released 2026-11-23)</b> · console workspace-scoped channel creation · API identity-before-lookup hardening · bounded line queries · shared theme and accessibility refresh · desktop tray + boot splash · integrated desktop shell with in-app updates · shared <code>~/.AgentWorkShop</code> home · 14 engines · 6 field protocols (5 built-in + serial plugin) + MES REST (mirror & live) · **Project center** · **RSI experience evolution** · **governed product experience** · **IDD/RAG plugin integration** · **AgentPrefab / Skills / MCP capability supply chain** · bilingual docs (简体中文 / English)</sub>
32
32
 
33
33
  <br />
34
34
 
@@ -36,7 +36,7 @@
36
36
 
37
37
  </div>
38
38
 
39
- [Quick start](#quick-start) · [Current source](#current-source-v0-17-4) · [0.17.4 release notes](#whats-new-in-0174) · [Agent team model](#the-agent-team-model) · [Capabilities](#capabilities) · [Architecture](#architecture) · [Verification](#verification) · [Docs site](https://kingdol666.github.io/AgentWorkShop)
39
+ [Quick start](#quick-start) · [Current source](#current-source-v0-18-0) · [0.18.0 release notes](#whats-new-in-0180) · [Agent team model](#the-agent-team-model) · [Capabilities](#capabilities) · [Architecture](#architecture) · [Verification](#verification) · [Docs site](https://kingdol666.github.io/AgentWorkShop)
40
40
 
41
41
  ---
42
42
 
@@ -49,12 +49,27 @@ A configuration-driven platform where **AI agent teams** and industrial systems
49
49
  - **Delivery is a first-class concept**: **Project mode** turns a blueprint into a plan, a WBS with dependencies, L1 technical review, L2 owner acceptance and real deliverables — the project closes only when the deliverables pass;
50
50
  - **The loop is implemented in governed stages**: read → analyze → propose → policy-controlled approval where required → write → readback/audit; the scope of each test and whether it used a simulator or physical equipment are stated with its evidence.
51
51
 
52
- ## Current source: v0.17.4
52
+ ## Current source: v0.18.0
53
53
 
54
- The source version is **0.17.4** (npm + GitHub Release, 2026-11-23). It adds a “Back to main” entry to the standalone full-screen pages: the digital twin (`/town`, town layout) and the bare console (`/workshop/w/:id`, console layout) now always render a `AppBackToMain` control that links to the dashboard `/`, where the navigation sidebar is available — previously `/town` had no way back in the desktop window. The project detail page keeps its own “返回项目中心 / 返回 Agent 工作台” links (both nav pages). The desktop shell (40px title rail with the unchanged web content in a separate view), the shared `~/.AgentWorkShop` data home, and the in-app GitHub-release update channel with SHA-256 verification are unchanged; 0.17.3's WSH silent-install helper still performs the install and relaunch. It retains the 0.16.x baseline — everything in 0.15.x — the AgentPrefab capability-assembly plan (#252–#258) plus **Leader-managed worker Prefabs** (merged PRs #262/#264/#265): a Channel Leader can create workers with a published AgentPrefab selector atomically pinned to `(prefabId, revision, slotValues, contentHash)`, inspect the roster with `manageable`/`protected` flags, switch or detach bindings per revision, and remove only the workers it created. Worker creation provenance is durable (`created_by_kind`/`created_by_id`/`created_via`/`created_reason`); human-bound workers, other leaders' workers, leads, Project Leaders and open Session clones are protected from removal, and removal recycles tasks, cancels pending chat deliveries and clears instance node bindings without touching global templates or immutable revisions. Dispatch (native/REST/MCP/Project) fails closed on malformed or hash-mismatched bindings, disabled members, role/version mismatches and template visibility crossings; Project task-instance retries reuse the originally pinned snapshot with CAS/hash validation. Published Prefab profiles apply to supported harness fields (OMP thinking level via RPC); unique Skill aliases resolve to canonical revision ids. Database schema contract v10 adds the provenance columns (existing rows migrate conservatively as `system`/`protected`).
54
+ The source version is **0.18.0** (npm + GitHub Release, 2026-11-23). This release closes console and API scoping defects found by the release review and refreshes the shared visual layer. Channels created over REST are mounted to the owner's default workspace (or an explicitly requested one, validated before creation), so they are discoverable in the workspace-scoped console; the console's own “new channel” dialog passes its workspace id with the create request, so a channel created inside one workspace never leaks into another. Detail and task REST handlers, DAQ ingest and the A2A JSON-RPC methods now resolve the caller's identity before looking up the resource, so an unauthenticated caller can no longer use 404-versus-401 to enumerate ids; the A2A AgentCard visibility switch also covers the JSON-RPC <code>agent/getCard</code> path. <code>GET /api/workshop/dcw/line/query</code> defaults to a 24-hour window instead of scanning the whole time-series history. The shared theme, settings tabs, sidebar drawer focus handling, header controls, HITL popover, page families and the desktop boot splash were refreshed with keyboard and screen-reader semantics, token-only colours and reduced-motion support. It retains the 0.17.5 desktop baseline (close to tray, tray menu with five settings, staged boot splash, shared home, in-app updates) and the 0.16.x AgentPrefab capability baseline.
55
55
 
56
56
  v0.16.0 verification: PR quick-gates green on #262/#264/#265/#263/#266; focused suites **38/38**, post-merge **22/22** and **13/13**, Project/Prefab/Session regression set **235/235**; live isolated-instance acceptance on the release build — Leader/Prefab full chain **30/30 ×2** (create-with-prefab → provenance in SQLite → roster flags → catalog narrowing → dispatch allow/deny → user-worker protection → lead self-op denial → revision switch drops capability → unbind → remove preserves template+revisions → REST lead-delete 409), official L10 **21/21** on a fresh instance, AgentTeam CRUD/deploy/dispatch **25/25**, frontend SSR routes 200. Mimosa deep scan sealed (`sha256:a91957e0…`, 54 findings, dependency risk 0) — findings reported, not a security pass. Boundaries: external MCP positive live trace, real-OMP-model work under a prefab, and browser UI click-through remain NOT_RUN. See the [full-flow acceptance report](docs/audit/evidence/2026-11-21-fullflow-round/REPORT.md) and the [Prefab/Skills/MCP live report](docs/audit/evidence/2026-11-21-agent-prefab-acceptance/REPORT.md).
57
57
 
58
+ ## What's new in 0.18.0
59
+
60
+ - **Console channel scoping**: `POST /api/workshop/channels` mounts a new channel to the owner's default workspace (created on demand, or an explicit `workspaceId` validated before the channel exists), so REST-created channels are visible in the workspace-scoped console. The console's “new channel” dialog now sends its workspace id with the create request instead of mounting afterwards, so a channel created inside one workspace is never also attached to another. 界面与 REST 建频道统一按工作区归属,不再串区。
61
+ - **API identity before resource lookup**: agent, team, channel-template and task detail/action routes, DAQ external ingest and the A2A `message/send` method resolve the caller first, closing a 404-versus-401 id-enumeration oracle for anonymous callers. The `security.a2aCardPublic` switch now also covers JSON-RPC `agent/getCard`. 未鉴权调用者不再能借 404 探测 ID 是否存在。
62
+ - **Bounded line queries**: `GET /api/workshop/dcw/line/query` applies a 24-hour default window when `from`/`to` are omitted; an unbounded query against a shared Timescale aggregate took 10–15 s and grew with history. 省略时间窗时按最近 24h 查询。
63
+ - **Shared visual layer refresh**: token-only colours across the refreshed pages, keyboard-complete settings tabs, sidebar drawer focus trap and focus return, labelled header controls, HITL popover semantics, ≥44 px touch targets on narrow viewports, and a redesigned boot splash whose progress follows the real boot stages with `prefers-reduced-motion` support. 设置页签、导航抽屉、头部控件与启动动画的键盘与动效一致性修复。
64
+ - **Docs alignment**: the MCP guide now lists all 38 tools (including the three recipe tools), the nine bundled skills, 14 MCP test groups; README layout claims match the shipped 1180 px project grid and two-column project detail. MCP 工具与 skill 清单、项目页布局描述与实现对齐。
65
+
66
+ ## What's new in 0.17.5
67
+
68
+ - **Close to tray**: the titlebar close button now hides the window instead of killing the backend. The tray icon restores it on click/double-click, and `关闭时最小化到托盘` can be turned off when a user prefers close-to-exit. 关闭窗口默认最小化到托盘,后端与正在运行的任务继续工作。
69
+ - **Tray menu**: live service state and `127.0.0.1:<port>`, reload UI, restart local service, check updates, open data/log directories, diagnostics, and a 设置 submenu with five persisted toggles: close to tray, launch at login, start hidden, tray notifications, automatic update checks. Settings live in `<home>/electron/settings.json`. 托盘菜单提供服务状态、重启服务、更新检查、数据/日志入口、诊断与 5 项设置。
70
+ - **Boot splash**: a frameless 660×440 initialization window appears immediately, reports the real stages (environment → data → service → workshop), a timestamped trace, elapsed time and progress, and reveals the main window only after `/api/health` reports `status=ok` / `workshop=ready` and the page has loaded. Failures offer retry, open logs and quit instead of dying silently. 启动动画显示真实初始化阶段;后端就绪后才进入主界面,失败可重试。
71
+ - **Acceptance evidence**: the tray is created before the backend and `desktop-status.json` records phase/port/trayCreated/windowVisible/settings. Source-mode E2E covered splash → ready, close → hidden with a healthy backend, second-instance re-show, start-hidden, close-to-exit, and clean autoquit with no orphan backend. 本轮 E2E 证据见 `docs/design/desktop-chrome/acceptance.md`。
72
+
58
73
  ## What's new in 0.17.4
59
74
 
60
75
  - **Back to main on standalone pages**: `/town` (digital twin, `town` layout) and `/workshop/w/:id` (bare `console` layout) now render a localized `AppBackToMain` control — a NuxtLink to the dashboard `/`, which is the default layout with the navigation sidebar. The icon-only form is used below 640px, and the control keeps `aria-label`/`title`. 数字孪生与裸控制台新增「返回主界面」入口,回到带导航栏的仪表盘;桌面端不再被困在全屏页面。
@@ -203,8 +218,8 @@ The Channel console and Project detail were rebuilt around the ChatGPT harness p
203
218
  </p>
204
219
 
205
220
  - **Channel**: full-width agent blocks, user right bubble, harness / role / time metadata, neutral composer, hover-revealed channel ops;
206
- - **Project**: breadcrumb header, 880 px reading column, 312 px snapshot rail, channel names instead of UUID walls, 2-line leader composer;
207
- - **Entry pages**: 1080 px project grid with a 3-column create form, 1240 px workspace grid;
221
+ - **Project**: breadcrumb header, two-column body (work area + snapshot rail), channel names instead of UUID walls, 2-line leader composer;
222
+ - **Entry pages**: 1180 px project grid with a 3-column create form, 1240 px workspace grid;
208
223
  - **No behaviour removed**: every `data-testid`, keyboard shortcut, @-mention, HITL semantic and API is unchanged — verified by the 12/12 UI interaction suite.
209
224
 
210
225
  → [Harness UI guide](https://kingdol666.github.io/AgentWorkShop/guide/harness-ui) · [Design canvas & before/after](docs/design/2026-11-08-harness-ui/README.md)
@@ -499,7 +514,7 @@ Please **do not** open public issues for vulnerabilities — report privately vi
499
514
 
500
515
  **If this project is useful to you, a ⭐ helps others find it.**
501
516
 
502
- Current source version: **v0.17.4 (released 2026-11-23)** — [Latest release v0.17.4](https://github.com/kingdol666/AgentWorkShop/releases/tag/v0.17.4) · [Changelog](./changelog.md) · [Documentation](https://kingdol666.github.io/AgentWorkShop)
517
+ Current source version: **v0.18.0 (released 2026-11-23)** — [Latest release v0.18.0](https://github.com/kingdol666/AgentWorkShop/releases/tag/v0.18.0) · [Changelog](./changelog.md) · [Documentation](https://kingdol666.github.io/AgentWorkShop)
503
518
 
504
519
  <a href="https://star-history.com/#kingdol666/AgentWorkShop&Date">
505
520
  <img src="https://api.star-history.com/svg?repos=kingdol666/AgentWorkShop&type=Date" alt="Star history" width="70%" />
@@ -140,25 +140,86 @@ onBeforeUnmount(() => {
140
140
  document.body.classList.remove('nav-drawer', 'nav-drawer-open')
141
141
  })
142
142
 
143
- /** 抽屉展开时锁画布滚动(否则背景跟着手指跑,浮层失去"压在台面上"的物理感) */
144
- watch(drawerOpen, (open) => {
145
- if (typeof document === 'undefined') return
146
- document.body.style.overflow = open ? 'hidden' : ''
143
+ /** 抽屉关闭时只还原自己的滚动锁,保留原有的轴向值和优先级。 */
144
+ const nav = ref<HTMLElement | null>(null)
145
+ let releaseScrollLock: (() => void) | undefined
146
+ let returnFocus: HTMLElement | null = null
147
+ let navToggle: HTMLButtonElement | null = null
148
+ let addedControls = false
149
+
150
+ function lockBodyScroll() {
151
+ const { style } = document.body
152
+ const overflow = ['overflow-x', 'overflow-y'].map(name => ({
153
+ name,
154
+ value: style.getPropertyValue(name),
155
+ priority: style.getPropertyPriority(name),
156
+ }))
157
+ style.setProperty('overflow', 'hidden')
158
+ return () => {
159
+ for (const { name, value, priority } of overflow) {
160
+ if (style.getPropertyValue(name) !== 'hidden' || style.getPropertyPriority(name)) continue
161
+ if (value) style.setProperty(name, value, priority)
162
+ else style.removeProperty(name)
163
+ }
164
+ }
165
+ }
166
+
167
+ watch([navHydrated, drawerOpen], async ([hydrated, open]) => {
168
+ if (!hydrated) return
169
+ if (open) {
170
+ const active = document.activeElement
171
+ returnFocus = active instanceof HTMLElement && active !== document.body && !nav.value?.contains(active)
172
+ ? active
173
+ : navToggle
174
+ releaseScrollLock = lockBodyScroll()
175
+ await nextTick()
176
+ if (drawerOpen.value) nav.value?.querySelector<HTMLElement>('.menu-item')?.focus()
177
+ }
178
+ else {
179
+ releaseScrollLock?.()
180
+ releaseScrollLock = undefined
181
+ if (returnFocus?.isConnected) returnFocus.focus({ preventScroll: true })
182
+ returnFocus = null
183
+ }
147
184
  })
148
185
 
149
- /** Esc 关闭:仅抽屉形态接管,桌面侧栏不受影响 */
150
- const onKeydown = (e: KeyboardEvent) => {
151
- if (e.key === 'Escape' && drawerOpen.value) store.closeMobileNav()
186
+ function onKeydown(e: KeyboardEvent) {
187
+ if (!drawerOpen.value || e.defaultPrevented) return
188
+ if (e.key === 'Escape') {
189
+ e.preventDefault()
190
+ store.closeMobileNav()
191
+ }
192
+ else if (e.key === 'Tab') {
193
+ const buttons = nav.value?.querySelectorAll<HTMLElement>('.menu-item')
194
+ const first = buttons?.[0]
195
+ const last = buttons?.[buttons.length - 1]
196
+ const active = document.activeElement
197
+ if (!nav.value?.contains(active) || active === (e.shiftKey ? first : last)) {
198
+ e.preventDefault()
199
+ ;(e.shiftKey ? last : first)?.focus()
200
+ }
201
+ }
152
202
  }
153
- onMounted(() => window.addEventListener('keydown', onKeydown))
203
+
204
+ onMounted(() => {
205
+ // The existing header trigger lives outside this component.
206
+ navToggle = nav.value?.closest('.app-layout')?.querySelector<HTMLButtonElement>('.app-header .collapse-btn') ?? null
207
+ if (navToggle && !navToggle.hasAttribute('aria-controls')) {
208
+ navToggle.setAttribute('aria-controls', 'app-sidebar')
209
+ addedControls = true
210
+ }
211
+ window.addEventListener('keydown', onKeydown)
212
+ })
154
213
  onBeforeUnmount(() => {
155
214
  window.removeEventListener('keydown', onKeydown)
156
- if (typeof document !== 'undefined') document.body.style.overflow = ''
215
+ releaseScrollLock?.()
216
+ if (addedControls) navToggle?.removeAttribute('aria-controls')
157
217
  })
158
218
  </script>
159
219
 
160
220
  <template>
161
221
  <a-layout-sider
222
+ id="app-sidebar"
162
223
  :collapsed="effectiveCollapsed"
163
224
  :trigger="null"
164
225
  collapsible
@@ -166,7 +227,8 @@ onBeforeUnmount(() => {
166
227
  :collapsed-width="64"
167
228
  class="app-sider"
168
229
  :data-nav-mode="navMode"
169
- :aria-hidden="isDrawer && !drawerOpen ? 'true' : undefined"
230
+ :inert="navHydrated && isDrawer && !drawerOpen"
231
+ :aria-hidden="navHydrated && isDrawer && !drawerOpen ? 'true' : undefined"
170
232
  >
171
233
  <!-- 品牌区:AwLogo 六边形标志(绿→青渐变 + 孪生虚影 + 三节点互连,与 favicon 同源) -->
172
234
  <div class="logo">
@@ -52,16 +52,28 @@ const wsLabel = computed(() => {
52
52
 
53
53
  const isFullscreen = ref(false)
54
54
 
55
- function toggleFullscreen() {
56
- if (!document.fullscreenElement) {
57
- document.documentElement.requestFullscreen()
58
- isFullscreen.value = true
55
+ function syncFullscreen() {
56
+ isFullscreen.value = Boolean(document.fullscreenElement)
57
+ }
58
+
59
+ async function toggleFullscreen() {
60
+ try {
61
+ if (document.fullscreenElement) await document.exitFullscreen()
62
+ else await document.documentElement.requestFullscreen()
59
63
  }
60
- else {
61
- document.exitFullscreen()
62
- isFullscreen.value = false
64
+ catch {
65
+ // Some environments deny fullscreen; keep the control in sync with the browser.
66
+ syncFullscreen()
63
67
  }
64
68
  }
69
+
70
+ onMounted(() => {
71
+ syncFullscreen()
72
+ document.addEventListener('fullscreenchange', syncFullscreen)
73
+ })
74
+ onBeforeUnmount(() => document.removeEventListener('fullscreenchange', syncFullscreen))
75
+
76
+ const themeAction = computed(() => store.isDark ? t('common.light') : t('common.dark'))
65
77
  </script>
66
78
 
67
79
  <template>
@@ -74,20 +86,29 @@ function toggleFullscreen() {
74
86
  />
75
87
  <a-tooltip :title="t('header.fullscreen')">
76
88
  <button
89
+ type="button"
77
90
  class="icon-btn hdr-fullscreen"
91
+ :aria-label="t('header.fullscreen')"
92
+ :aria-pressed="isFullscreen"
78
93
  @click="toggleFullscreen"
79
94
  >
80
95
  <span
81
96
  class="i-tabler-arrows-maximize"
82
97
  :class="{ hidden: isFullscreen }"
98
+ aria-hidden="true"
83
99
  />
84
100
  <span
85
101
  class="i-tabler-arrows-minimize"
86
102
  :class="{ hidden: !isFullscreen }"
103
+ aria-hidden="true"
87
104
  />
88
105
  </button>
89
106
  </a-tooltip>
90
107
 
108
+ <label
109
+ class="sr-only"
110
+ for="hdr-locale"
111
+ >{{ t('header.language') }}</label>
91
112
  <a-select
92
113
  id="hdr-locale"
93
114
  :value="locale"
@@ -97,18 +118,22 @@ function toggleFullscreen() {
97
118
  @change="switchLocale"
98
119
  />
99
120
 
100
- <a-tooltip :title="store.isDark ? t('common.light') : t('common.dark')">
121
+ <a-tooltip :title="themeAction">
101
122
  <button
123
+ type="button"
102
124
  class="icon-btn"
125
+ :aria-label="themeAction"
103
126
  @click="store.toggleDark()"
104
127
  >
105
128
  <span
106
129
  class="i-tabler-sun-high"
107
130
  :class="{ hidden: store.isDark }"
131
+ aria-hidden="true"
108
132
  />
109
133
  <span
110
134
  class="i-tabler-moon-stars"
111
135
  :class="{ hidden: !store.isDark }"
136
+ aria-hidden="true"
112
137
  />
113
138
  </button>
114
139
  </a-tooltip>
@@ -4,6 +4,63 @@ import { useHitlAnswer } from '@/app/composables/workshop/useHitlAnswer'
4
4
 
5
5
  const { t } = useI18n()
6
6
  const hitl = useHitlStore()
7
+ const panelId = `hitl-panel-${useId()}`
8
+ const open = ref(false)
9
+ const bell = ref<HTMLButtonElement | null>(null)
10
+ const panel = ref<HTMLElement | null>(null)
11
+ let focusOnAlign = false
12
+
13
+ function focusPanel() {
14
+ const first = panel.value?.querySelector<HTMLButtonElement>('.hitl-item-head')
15
+ if (!first?.getClientRects().length) return false
16
+ first.focus()
17
+ return true
18
+ }
19
+
20
+ function onOpenChange(next: boolean) {
21
+ // Keep hover behavior, but don't dismiss a panel while a user is working in it.
22
+ if (next || (!focusOnAlign && !panel.value?.contains(document.activeElement))) open.value = next
23
+ }
24
+
25
+ function openFromBell(event: MouseEvent) {
26
+ open.value = true
27
+ if (event.detail === 0) focusOnAlign = !focusPanel()
28
+ }
29
+
30
+ function onPopupAlign() {
31
+ if (open.value && focusOnAlign && focusPanel()) focusOnAlign = false
32
+ }
33
+
34
+ function closePanel(restoreFocus = false) {
35
+ if (restoreFocus) bell.value?.focus({ preventScroll: true })
36
+ focusOnAlign = false
37
+ open.value = false
38
+ }
39
+
40
+ function onEscape(event: KeyboardEvent) {
41
+ if (!open.value) return
42
+ event.preventDefault()
43
+ event.stopPropagation()
44
+ closePanel(true)
45
+ }
46
+
47
+ function onPanelFocusOut(event: FocusEvent) {
48
+ const next = event.relatedTarget
49
+ if (next instanceof Node) {
50
+ if (!panel.value?.contains(next)) closePanel()
51
+ return
52
+ }
53
+ // relatedTarget 为空:焦点落到 body 或离开文档(例如点击不可聚焦区域)。
54
+ // 下一轮按 activeElement 复核,否则面板会卡在「焦点已离开但仍打开、Esc 也到不了」的状态。
55
+ setTimeout(() => {
56
+ const active = document.activeElement
57
+ if (!active || active === document.body || !panel.value?.contains(active)) closePanel()
58
+ }, 0)
59
+ }
60
+
61
+ watch(() => hitl.count, (count) => {
62
+ if (!count) closePanel()
63
+ })
7
64
  const {
8
65
  HITL_KINDS,
9
66
  hitlKindLabel,
@@ -29,18 +86,46 @@ const {
29
86
  <template>
30
87
  <a-dropdown
31
88
  v-if="hitl.count > 0"
89
+ :open="open"
32
90
  placement="bottomRight"
91
+ @open-change="onOpenChange"
92
+ @popup-align="onPopupAlign"
33
93
  >
34
94
  <button
95
+ ref="bell"
96
+ type="button"
35
97
  class="icon-btn hitl-bell"
36
98
  :title="t('appHeader.hitlBadge')"
99
+ :aria-label="`${t('appHeader.hitlBadge')} · ${hitl.count}`"
100
+ :aria-expanded="open"
101
+ :aria-controls="open ? panelId : undefined"
102
+ @click="openFromBell"
103
+ @keydown.esc="onEscape"
37
104
  >
38
- <span class="i-tabler-bell-ringing" />
39
- <span class="hitl-count">{{ hitl.count }}</span>
105
+ <span
106
+ class="i-tabler-bell-ringing"
107
+ aria-hidden="true"
108
+ />
109
+ <span
110
+ class="hitl-count"
111
+ aria-hidden="true"
112
+ >{{ hitl.count }}</span>
40
113
  </button>
41
114
  <template #overlay>
42
- <div class="hitl-menu">
43
- <div class="hitl-menu-title">
115
+ <div
116
+ :id="panelId"
117
+ ref="panel"
118
+ class="hitl-menu"
119
+ role="region"
120
+ :aria-labelledby="`${panelId}-title`"
121
+ :inert="!open"
122
+ @focusout="onPanelFocusOut"
123
+ @keydown.esc="onEscape"
124
+ >
125
+ <div
126
+ :id="`${panelId}-title`"
127
+ class="hitl-menu-title"
128
+ >
44
129
  {{ t('appHeader.hitlBadge') }} · {{ hitl.count }}
45
130
  </div>
46
131
  <div
@@ -69,29 +69,43 @@ const switchLocale = (value: unknown) => {
69
69
  </div>
70
70
  </div>
71
71
  </div>
72
- <div class="color-swatches">
72
+ <div
73
+ class="color-swatches"
74
+ role="group"
75
+ :aria-label="t('settings.primaryColor')"
76
+ >
73
77
  <button
74
78
  v-for="c in colorPresets"
75
79
  :key="c.value"
80
+ type="button"
76
81
  class="swatch"
77
82
  :class="{ on: currentAccent.toLowerCase() === c.value.toLowerCase() }"
83
+ :aria-pressed="currentAccent.toLowerCase() === c.value.toLowerCase()"
78
84
  :style="{ '--sw': c.value }"
79
85
  :title="c.label"
80
86
  @click="pickAccent(c.value)"
81
87
  >
82
- <span class="swatch-dot" />
88
+ <span
89
+ class="swatch-dot"
90
+ aria-hidden="true"
91
+ />
83
92
  <span class="swatch-label">{{ c.label }}</span>
84
93
  <span
85
94
  v-if="currentAccent.toLowerCase() === c.value.toLowerCase()"
86
95
  class="i-tabler-check swatch-check"
96
+ aria-hidden="true"
87
97
  />
88
98
  </button>
89
99
  </div>
90
100
  <button
101
+ type="button"
91
102
  class="aw-pill outline reset-btn"
92
103
  @click="resetAccent"
93
104
  >
94
- <span class="i-tabler-rotate" />
105
+ <span
106
+ class="i-tabler-rotate"
107
+ aria-hidden="true"
108
+ />
95
109
  {{ t('settings.accentResetAction') }}
96
110
  </button>
97
111
 
@@ -100,31 +114,44 @@ const switchLocale = (value: unknown) => {
100
114
  <div class="set-title">
101
115
  {{ store.isDark ? t('common.dark') : t('common.light') }}
102
116
  </div>
103
- <div class="set-sub">
117
+ <div
118
+ id="settings-dark-description"
119
+ class="set-sub"
120
+ >
104
121
  {{ t('settings.darkDesc') }}
105
122
  </div>
106
123
  </div>
107
124
  <button
125
+ type="button"
108
126
  class="switch"
109
127
  :class="{ on: store.isDark }"
110
128
  role="switch"
129
+ :aria-label="t('common.dark')"
111
130
  :aria-checked="store.isDark"
131
+ aria-describedby="settings-dark-description"
112
132
  @click="store.toggleDark()"
113
133
  >
114
- <span class="knob" />
134
+ <span
135
+ class="knob"
136
+ aria-hidden="true"
137
+ />
115
138
  </button>
116
139
  </div>
117
140
 
118
141
  <div class="toggle-row">
119
142
  <div class="set-text">
120
- <div class="set-title">
143
+ <label
144
+ class="set-title"
145
+ for="settings-locale"
146
+ >
121
147
  {{ t('header.language') }}
122
- </div>
148
+ </label>
123
149
  <div class="set-sub">
124
150
  {{ t('settings.languageDesc') }}
125
151
  </div>
126
152
  </div>
127
153
  <a-select
154
+ id="settings-locale"
128
155
  :value="locale"
129
156
  :options="localeOptions"
130
157
  style="width: 140px"
@@ -37,11 +37,20 @@ const createAndMount = async (): Promise<void> => {
37
37
  description: mountForm.description || undefined,
38
38
  scenarioPrompt: mountForm.scenarioPrompt.trim() || undefined,
39
39
  workspace: mountForm.workspace.trim() || undefined,
40
+ // 挂载目标随创建请求一起提交,由服务端原子校验并挂载。缺省时服务端会把频道
41
+ // 挂到 owner 的默认工作区,再补一次挂载就会让频道同时出现在两个工作区。
42
+ workspaceId: props.wsId,
40
43
  })
41
44
  const created = (res as unknown as { data?: { channelId?: string } })?.data
42
45
  const channelId = created?.channelId
43
46
  if (!channelId) throw new Error(t('channelSessionList.k1bg6shc027'))
44
- await wsStore.mountChannel(props.wsId, channelId)
47
+ try {
48
+ await wsStore.load()
49
+ }
50
+ catch {
51
+ // 频道已创建并挂载,只是清单刷新失败;下次加载即与服务端一致
52
+ }
53
+ if (!wsStore.workspaces.find(w => w.id === props.wsId)?.activeChannelId) wsStore.setActiveChannel(props.wsId, channelId)
45
54
  open.value = false
46
55
  mountForm.name = ''
47
56
  mountForm.description = ''