agentworkshop 0.10.0 → 0.11.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.
- package/.AgentWorkShop/prompts/host-tools.json +47 -6
- package/.output/.AgentWorkShop/prompts/host-tools.json +47 -6
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/2v5GdspM2.js +1 -0
- package/.output/public/_nuxt/79qPRzcC2.js +3 -0
- package/.output/public/_nuxt/{DXcrmAEB.js → B1h4ZjKu.js} +6 -6
- package/.output/public/_nuxt/{CtHO6S5H2.js → CMDDJOia2.js} +1 -1
- package/.output/public/_nuxt/{BntjKfNX2.js → CUdJHUOd2.js} +1 -1
- package/.output/public/_nuxt/CjCc77Ql.js +1 -0
- package/.output/public/_nuxt/D2EC-BTb2.js +1 -0
- package/.output/public/_nuxt/D4ZePemJ.js +1 -0
- package/.output/public/_nuxt/{Bn4GxfTn.js → DDVBwkyn.js} +1 -1
- package/.output/public/_nuxt/DkfR8ywD.js +1 -0
- package/.output/public/_nuxt/Dv_vyxzC.js +1 -0
- package/.output/public/_nuxt/LiHaSoeY.js +2 -0
- package/.output/public/_nuxt/PWLUz4KM2.js +1 -0
- package/.output/public/_nuxt/ZMaEnWy-.js +1 -0
- package/.output/public/_nuxt/_id_.CHcnHuNN.css +1 -0
- package/.output/public/_nuxt/{_wsId_.DDEHesFu.css → _wsId_.2GiFh9as.css} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/cf638aaa-655e-454c-9786-ffa73903190a.json +1 -0
- package/.output/public/_nuxt/{default.DfmSp-wb.css → default.CwrtJt16.css} +1 -1
- package/.output/public/_nuxt/{entry.cd1EADeI.css → entry.DttkgxyK.css} +1 -1
- package/.output/public/_nuxt/kHiXWyIi.js +1 -0
- package/.output/public/_nuxt/projects.B0DecJy4.css +1 -0
- package/.output/public/_nuxt/workshop.Csi6_Wwg.css +1 -0
- package/.output/server/chunks/_/{TownView-uicih2T8.mjs → TownView-Cpb_4CFs.mjs} +4 -4
- package/.output/server/chunks/_/TownView-Cpb_4CFs.mjs.map +1 -0
- package/.output/server/chunks/_/{_id_-DMxiYYGr.mjs → _id_-7j1H6aZV.mjs} +8 -8
- package/.output/server/chunks/_/_id_-7j1H6aZV.mjs.map +1 -0
- package/.output/server/chunks/_/{_id_-BX8hihhe.mjs → _id_-Ca3d9Npk.mjs} +13 -13
- package/.output/server/chunks/_/_id_-Ca3d9Npk.mjs.map +1 -0
- package/.output/server/chunks/_/_id_-Dl378h-P.mjs +995 -0
- package/.output/server/chunks/_/_id_-Dl378h-P.mjs.map +1 -0
- package/.output/server/chunks/_/{_wsId_-DzfJ2fFZ.mjs → _wsId_-e7Fm33hR.mjs} +16 -10
- package/.output/server/chunks/_/{_wsId_-DzfJ2fFZ.mjs.map → _wsId_-e7Fm33hR.mjs.map} +1 -1
- package/.output/server/chunks/_/access.mjs +1 -1
- package/.output/server/chunks/_/{analysis-DVLO0bCy.mjs → analysis-DvtU3Ots.mjs} +3 -3
- package/.output/server/chunks/_/analysis-DvtU3Ots.mjs.map +1 -0
- package/.output/server/chunks/_/catalog-view.mjs +1 -1
- package/.output/server/chunks/_/{daq-CWiRcs2W.mjs → daq-WT075QK5.mjs} +8 -8
- package/.output/server/chunks/_/daq-WT075QK5.mjs.map +1 -0
- package/.output/server/chunks/_/data-export.mjs +6 -6
- package/.output/server/chunks/_/data-query.mjs +3 -3
- package/.output/server/chunks/_/{dcw-BrEWEFnj.mjs → dcw-BhY0QjNL.mjs} +8 -8
- package/.output/server/chunks/_/dcw-BhY0QjNL.mjs.map +1 -0
- package/.output/server/chunks/_/{default-CAvZHtuk.mjs → default-C3L2_Bnq.mjs} +18 -8
- package/.output/server/chunks/_/{default-CAvZHtuk.mjs.map → default-C3L2_Bnq.mjs.map} +1 -1
- package/.output/server/chunks/_/eda-run.repo.mjs +2 -2
- package/.output/server/chunks/_/features.mjs +4 -4
- package/.output/server/chunks/_/golden.mjs +2 -2
- package/.output/server/chunks/_/host-bindings.mjs +1 -1
- package/.output/server/chunks/_/index.mjs +1 -1
- package/.output/server/chunks/_/{logs-Lx7w3LYH.mjs → logs-ClfR5sWn.mjs} +3 -3
- package/.output/server/chunks/_/logs-ClfR5sWn.mjs.map +1 -0
- package/.output/server/chunks/_/mes-console.mjs +1 -1
- package/.output/server/chunks/_/mes-templates.mjs +1 -1
- package/.output/server/chunks/_/nitro.mjs +4434 -2470
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/_/{operations--xLPUg-f.mjs → operations-4t5GxQcD.mjs} +3 -3
- package/.output/server/chunks/_/operations-4t5GxQcD.mjs.map +1 -0
- package/.output/server/chunks/_/{pages-CzF3fZqL.mjs → pages-BwA6EqWo.mjs} +4 -4
- package/.output/server/chunks/_/pages-BwA6EqWo.mjs.map +1 -0
- package/.output/server/chunks/_/projects-k6arYbBh.mjs +345 -0
- package/.output/server/chunks/_/projects-k6arYbBh.mjs.map +1 -0
- package/.output/server/chunks/_/promote.mjs +186 -0
- package/.output/server/chunks/_/promote.mjs.map +1 -0
- package/.output/server/chunks/_/rest-auth.mjs +1 -1
- package/.output/server/chunks/_/spc.mjs +1 -1
- package/.output/server/chunks/_/{town-HjaOuPYS.mjs → town-CCkZYizH.mjs} +4 -4
- package/.output/server/chunks/_/town-CCkZYizH.mjs.map +1 -0
- package/.output/server/chunks/_/types-D6J7slEa.mjs +1 -1
- package/.output/server/chunks/_/{useDaqAddNode-CkGitJOy.mjs → useDaqAddNode-qUTVIBD0.mjs} +3 -3
- package/.output/server/chunks/_/useDaqAddNode-qUTVIBD0.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqDetailBinding-BKi46wvJ.mjs → useDaqDetailBinding-D0JkQZhl.mjs} +2 -2
- package/.output/server/chunks/_/useDaqDetailBinding-D0JkQZhl.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqDetailFrames-B6cqF1w1.mjs → useDaqDetailFrames-Du_raRy1.mjs} +2 -2
- package/.output/server/chunks/_/useDaqDetailFrames-Du_raRy1.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqDetailHistory-D0sdKiWx.mjs → useDaqDetailHistory-BQx0cKA6.mjs} +2 -2
- package/.output/server/chunks/_/useDaqDetailHistory-BQx0cKA6.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqDetailNode-DgxYQZBG.mjs → useDaqDetailNode-UCnodI1A.mjs} +4 -4
- package/.output/server/chunks/_/useDaqDetailNode-UCnodI1A.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqDetailParams-D-ZJw2GJ.mjs → useDaqDetailParams-D4ZVxVla.mjs} +3 -3
- package/.output/server/chunks/_/useDaqDetailParams-D4ZVxVla.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqFilters-Bi8Ybyhl.mjs → useDaqFilters-CugTQrIt.mjs} +4 -4
- package/.output/server/chunks/_/useDaqFilters-CugTQrIt.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqOptimizations-XodbRzgb.mjs → useDaqOptimizations-_P1sco7P.mjs} +2 -2
- package/.output/server/chunks/_/useDaqOptimizations-_P1sco7P.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqStream-CGbftQdw.mjs → useDaqStream-BVFNKAP9.mjs} +2 -2
- package/.output/server/chunks/_/useDaqStream-BVFNKAP9.mjs.map +1 -0
- package/.output/server/chunks/_/{useDaqTemplates-Bo_sE1xp.mjs → useDaqTemplates-DmcUC_Aw.mjs} +3 -3
- package/.output/server/chunks/_/useDaqTemplates-DmcUC_Aw.mjs.map +1 -0
- package/.output/server/chunks/_/{useDashboardData-BJ30kVLq.mjs → useDashboardData-Dv1SJs3v.mjs} +3 -3
- package/.output/server/chunks/_/useDashboardData-Dv1SJs3v.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwAddNode-BLqwQe59.mjs → useDcwAddNode-CZtXylAe.mjs} +3 -3
- package/.output/server/chunks/_/useDcwAddNode-CZtXylAe.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwCards-CofBoHat.mjs → useDcwCards-CItS2A_F.mjs} +2 -2
- package/.output/server/chunks/_/useDcwCards-CItS2A_F.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwDetailScope-DhkBcKaS.mjs → useDcwDetailScope-Dyu0bYy9.mjs} +3 -3
- package/.output/server/chunks/_/useDcwDetailScope-Dyu0bYy9.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwDetailTemplates-BSmmOkFn.mjs → useDcwDetailTemplates-CwK1rb2i.mjs} +2 -2
- package/.output/server/chunks/_/useDcwDetailTemplates-CwK1rb2i.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwFilter-Bh8dJ1of.mjs → useDcwFilter-CvuCOvU2.mjs} +2 -2
- package/.output/server/chunks/_/useDcwFilter-CvuCOvU2.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwLedger-UEB2x63E.mjs → useDcwLedger-CI-AK4j3.mjs} +2 -2
- package/.output/server/chunks/_/useDcwLedger-CI-AK4j3.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwLineMutations-9PElT2Fz.mjs → useDcwLineMutations-CsS2rDUh.mjs} +2 -2
- package/.output/server/chunks/_/useDcwLineMutations-CsS2rDUh.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwLineRun-BPm0ZPs1.mjs → useDcwLineRun-B1uLN_MJ.mjs} +2 -2
- package/.output/server/chunks/_/useDcwLineRun-B1uLN_MJ.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwParamApprovals-Ctczj8Lm.mjs → useDcwParamApprovals-CVab6q8T.mjs} +2 -2
- package/.output/server/chunks/_/useDcwParamApprovals-CVab6q8T.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwProducts-hgfkZhht.mjs → useDcwProducts-OAvQBk5O.mjs} +2 -2
- package/.output/server/chunks/_/useDcwProducts-OAvQBk5O.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwQuery-Dd411JAJ.mjs → useDcwQuery-dgEkZDAy.mjs} +2 -2
- package/.output/server/chunks/_/useDcwQuery-dgEkZDAy.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwQuickActions-C7cIVK0F.mjs → useDcwQuickActions-C3ItztwI.mjs} +2 -2
- package/.output/server/chunks/_/useDcwQuickActions-C3ItztwI.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwRecipes-DaQAxk7t.mjs → useDcwRecipes-BD4PjvzG.mjs} +2 -2
- package/.output/server/chunks/_/useDcwRecipes-BD4PjvzG.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwStream-2-KfS0lN.mjs → useDcwStream-BTcOZh5H.mjs} +2 -2
- package/.output/server/chunks/_/useDcwStream-BTcOZh5H.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwTemplates-BXtYJspX.mjs → useDcwTemplates-CsR6b3ws.mjs} +2 -2
- package/.output/server/chunks/_/useDcwTemplates-CsR6b3ws.mjs.map +1 -0
- package/.output/server/chunks/_/{useDcwWrites-IOVVc-Sz.mjs → useDcwWrites-C55DL7Fe.mjs} +2 -2
- package/.output/server/chunks/_/useDcwWrites-C55DL7Fe.mjs.map +1 -0
- package/.output/server/chunks/_/{useLogsScope-BFU7kLl9.mjs → useLogsScope-CUxlAoQN.mjs} +2 -2
- package/.output/server/chunks/_/useLogsScope-CUxlAoQN.mjs.map +1 -0
- package/.output/server/chunks/_/{workshop-CeaToa_8.mjs → workshop-D2ucb128.mjs} +4 -4
- package/.output/server/chunks/_/workshop-D2ucb128.mjs.map +1 -0
- package/.output/server/chunks/routes/api/mcp/workshop.mjs +1 -1
- package/.output/server/chunks/routes/api/system/backup/run.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +8 -9
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +15 -5
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +10 -5
- package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs +62 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +7 -5
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +24 -22
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +9 -13
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +22 -72
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +14 -27
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +72 -7
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +28 -22
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs +7 -66
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +20 -38
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs +99 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +34 -4
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs +9 -8
- package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs +46 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs +6 -6
- package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs +9 -7
- package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs +34 -16
- package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +7 -13
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +14 -8
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +9 -20
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +17 -14
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +15 -12
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +11 -5
- package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +7 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +8 -5
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +8 -6
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +17 -10
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index.put.mjs +16 -11
- package/.output/server/chunks/routes/api/workshop/index.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs +7 -8
- package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/index.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/index.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +1 -1
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/virtual/entry.mjs +50 -46
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/README-zh.md +53 -8
- package/README.md +53 -8
- package/app/components/AppSidebar.vue +2 -0
- package/app/components/workshop/CommandPalette.vue +1 -0
- package/app/components/workshop/workbench/WorkbenchHead.vue +35 -7
- package/app/composables/useRouteMeta.ts +1 -0
- package/app/pages/projects/[id].vue +2882 -1603
- package/app/pages/projects/index.vue +982 -176
- package/config.yml +1 -1
- package/docs/cli.en.md +3 -3
- package/docs/cli.md +2 -2
- package/docs/plugins.en.md +1 -1
- package/docs/plugins.md +1 -1
- package/docs/sdk.en.md +1 -1
- package/docs/sdk.md +1 -1
- package/i18n/locales/en.ts +2 -0
- package/i18n/locales/zh-CN.ts +2 -0
- package/package.json +2 -2
- package/scripts/_audit/_readme-canvas-shot.mjs +48 -48
- package/scripts/_audit/cal3-staged-live.mjs +3 -0
- package/scripts/_audit/desktop-demo-shot.mjs +31 -31
- package/scripts/_audit/frontend-interaction-demo.mjs +99 -99
- package/scripts/_audit/multi-harness-isolation-live.mjs +132 -132
- package/scripts/_audit/omp-channel-project-session-live.mjs +481 -0
- package/scripts/_audit/omp-project-single-live.mjs +167 -0
- package/scripts/_audit/project-blueprint-live.mjs +63 -42
- package/scripts/_audit/project-landing-live.mjs +659 -0
- package/scripts/acceptance-rsi-evolution.ts +188 -0
- package/scripts/acceptance-rsi-live-e2e.mjs +611 -0
- package/scripts/acceptance-rsi-stage1.ts +208 -0
- package/scripts/check-rsi-redline.mjs +73 -0
- package/scripts/demo/accept-harness-fix.mjs +178 -0
- package/scripts/e2e-final-assertions.mjs +51 -51
- package/scripts/e2e-landing-scenario.mjs +409 -409
- package/scripts/e2e-landing-shot.mjs +24 -24
- package/scripts/e2e-page-shot.mjs +71 -71
- package/scripts/e2e-session-shot.mjs +82 -82
- package/scripts/e2e-ui-capture.mjs +125 -125
- package/scripts/e2e-us7-close.mjs +88 -88
- package/scripts/e2e-us7-final.mjs +132 -132
- package/scripts/e2e-us7-retry.mjs +136 -136
- package/scripts/session-memory-runtime-acceptance.mjs +245 -245
- package/server/api/workshop/agent-tools/invoke.post.ts +15 -7
- package/server/api/workshop/aml/datasets/index.get.ts +20 -4
- package/server/api/workshop/aml/jobs/index.get.ts +15 -4
- package/server/api/workshop/aml/models/[id]/index.get.ts +24 -0
- package/server/api/workshop/aml/training-plans/[id]/index.get.ts +19 -0
- package/server/api/workshop/channels/[id]/harness-profiles/index.get.ts +27 -0
- package/server/api/workshop/channels/[id]/harness-profiles/index.post.ts +46 -0
- package/server/api/workshop/channels/[id]/harness-profiles/promote.post.ts +48 -0
- package/server/api/workshop/channels/[id]/improvement-stats.get.ts +20 -0
- package/server/api/workshop/channels/[id]/memories/[memoryId]/promote.post.ts +33 -0
- package/server/api/workshop/channels/[id]/memories/experience-stats.get.ts +19 -0
- package/server/api/workshop/channels/[id]/verifications/index.get.ts +23 -0
- package/server/api/workshop/daq/[id]/index.get.ts +25 -0
- package/server/api/workshop/daq/query.get.ts +42 -14
- package/server/api/workshop/dcw/[id]/index.get.ts +24 -0
- package/server/api/workshop/dcw/lines/[id]/index.get.ts +27 -0
- package/server/api/workshop/dcw/params/[id]/write.post.ts +12 -3
- package/server/api/workshop/device-twins/[id]/control.post.ts +12 -4
- package/server/api/workshop/hitl/respond.post.ts +19 -21
- package/server/api/workshop/mes/secrets/index.put.ts +11 -6
- package/server/api/workshop/permissions/index.put.ts +20 -9
- package/server/api/workshop/projects/[id]/deliverables/[did]/index.get.ts +19 -0
- package/server/api/workshop/projects/[id]/work-items/[wid]/index.get.ts +20 -0
- package/server/plugins/workshop.ts +3 -0
- package/server/services/workshop/agents/agent-interface.ts +63 -2
- package/server/services/workshop/agents/base-agent.ts +7 -1
- package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +3 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/improvement.ts +33 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/memory.ts +68 -12
- package/server/services/workshop/agents/industrial/analysis-tools.ts +3 -0
- package/server/services/workshop/agents/industrial/line-tools.ts +11 -1
- package/server/services/workshop/agents/industrial/ops-tools.ts +22 -0
- package/server/services/workshop/agents/industrial/recipe-propose-tools.ts +8 -2
- package/server/services/workshop/agents/omp-agent/client.ts +18 -1
- package/server/services/workshop/agents/omp-agent/context-governance.ts +13 -1
- package/server/services/workshop/agents/omp-agent/core.ts +6 -0
- package/server/services/workshop/agents/task-channel-profile.ts +55 -0
- package/server/services/workshop/agents/task-channel.ts +3 -0
- package/server/services/workshop/aml/intervention-ledger.ts +14 -0
- package/server/services/workshop/analysis/analysis.repo.ts +6 -4
- package/server/services/workshop/db/database/index.ts +1 -1
- package/server/services/workshop/db/database/migrations-blind-verification.ts +33 -0
- package/server/services/workshop/db/database/migrations-experience.ts +38 -0
- package/server/services/workshop/db/database/migrations-harness-profile.ts +28 -0
- package/server/services/workshop/db/database/migrations-improvement-actions.ts +30 -0
- package/server/services/workshop/db/database/migrations-improvement.ts +36 -0
- package/server/services/workshop/db/database/migrations-project.ts +179 -179
- package/server/services/workshop/db/database/open.ts +134 -117
- package/server/services/workshop/db/database/rows.ts +22 -2
- package/server/services/workshop/db/database/schema.ts +1675 -1667
- package/server/services/workshop/db/improvement-action.repo.ts +82 -0
- package/server/services/workshop/db/improvement.repo.ts +139 -0
- package/server/services/workshop/db/memory.repo.ts +238 -22
- package/server/services/workshop/dcw/dcw-controller/lines.ts +3 -3
- package/server/services/workshop/dcw/recipe-evidence.ts +181 -0
- package/server/services/workshop/experience/advisory.ts +135 -0
- package/server/services/workshop/experience/gates.ts +150 -0
- package/server/services/workshop/experience/harness-profile.ts +159 -0
- package/server/services/workshop/experience/overlay.ts +55 -0
- package/server/services/workshop/experience/promote.ts +123 -0
- package/server/services/workshop/optimization/python/__pycache__/problems.cpython-312.pyc +0 -0
- package/server/services/workshop/plugins/host/reload-swap.mjs +68 -0
- package/server/services/workshop/plugins/host/reload.mjs +42 -12
- package/server/services/workshop/projects/criteria-metrics.ts +54 -0
- package/server/services/workshop/projects/service.ts +158 -3
- package/server/services/workshop/runtime/manager/a2a.ts +61 -0
- package/server/services/workshop/runtime/manager/admin-agents.ts +68 -2
- package/server/services/workshop/runtime/manager/contracts.ts +23 -0
- package/server/services/workshop/runtime/manager/state.ts +132 -0
- package/server/services/workshop/runtime/manager/types.ts +3 -0
- package/server/services/workshop/runtime/manager/workspace.ts +18 -2
- package/server/services/workshop/runtime/memory/helpers.ts +4 -0
- package/server/services/workshop/runtime/memory/recall.ts +41 -10
- package/server/services/workshop/runtime/memory/reflect-collector.ts +213 -0
- package/server/services/workshop/runtime/memory/reflector.ts +321 -0
- package/server/services/workshop/runtime/memory/state.ts +2 -0
- package/server/services/workshop/runtime/memory/types.ts +16 -0
- package/server/services/workshop/runtime/memory/write.ts +68 -1
- package/server/services/workshop/verify/blind-verifier.ts +291 -0
- package/.output/public/_nuxt/-XI3FWdE2.js +0 -1
- package/.output/public/_nuxt/B2azkP06.js +0 -1
- package/.output/public/_nuxt/B7Xvcvc72.js +0 -1
- package/.output/public/_nuxt/BjERGiA_.js +0 -1
- package/.output/public/_nuxt/BuNUABSV.js +0 -1
- package/.output/public/_nuxt/BxCzghnC.js +0 -1
- package/.output/public/_nuxt/ChaPv2ma2.js +0 -1
- package/.output/public/_nuxt/CtR6fOPv.js +0 -1
- package/.output/public/_nuxt/D3ucelqH.js +0 -1
- package/.output/public/_nuxt/DYj0LL7W2.js +0 -2
- package/.output/public/_nuxt/DxCWsK3w2.js +0 -2
- package/.output/public/_nuxt/_id_.CHfy_h7D.css +0 -1
- package/.output/public/_nuxt/builds/meta/41ef012e-5907-4063-b58c-16c4d02de1b7.json +0 -1
- package/.output/public/_nuxt/projects.BYLuJvrX.css +0 -1
- package/.output/public/_nuxt/workshop.Dr7XdziI.css +0 -1
- package/.output/server/chunks/_/TownView-uicih2T8.mjs.map +0 -1
- package/.output/server/chunks/_/_id_-BX8hihhe.mjs.map +0 -1
- package/.output/server/chunks/_/_id_-CEoXvYq6.mjs +0 -619
- package/.output/server/chunks/_/_id_-CEoXvYq6.mjs.map +0 -1
- package/.output/server/chunks/_/_id_-DMxiYYGr.mjs.map +0 -1
- package/.output/server/chunks/_/analysis-DVLO0bCy.mjs.map +0 -1
- package/.output/server/chunks/_/daq-CWiRcs2W.mjs.map +0 -1
- package/.output/server/chunks/_/dcw-BrEWEFnj.mjs.map +0 -1
- package/.output/server/chunks/_/logs-Lx7w3LYH.mjs.map +0 -1
- package/.output/server/chunks/_/operations--xLPUg-f.mjs.map +0 -1
- package/.output/server/chunks/_/pages-CzF3fZqL.mjs.map +0 -1
- package/.output/server/chunks/_/projects-BYn-GiAJ.mjs +0 -85
- package/.output/server/chunks/_/projects-BYn-GiAJ.mjs.map +0 -1
- package/.output/server/chunks/_/town-HjaOuPYS.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqAddNode-CkGitJOy.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailBinding-BKi46wvJ.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailFrames-B6cqF1w1.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailHistory-D0sdKiWx.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailNode-DgxYQZBG.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqDetailParams-D-ZJw2GJ.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqFilters-Bi8Ybyhl.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqOptimizations-XodbRzgb.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqStream-CGbftQdw.mjs.map +0 -1
- package/.output/server/chunks/_/useDaqTemplates-Bo_sE1xp.mjs.map +0 -1
- package/.output/server/chunks/_/useDashboardData-BJ30kVLq.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwAddNode-BLqwQe59.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwCards-CofBoHat.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwDetailScope-DhkBcKaS.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwDetailTemplates-BSmmOkFn.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwFilter-Bh8dJ1of.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwLedger-UEB2x63E.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwLineMutations-9PElT2Fz.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwLineRun-BPm0ZPs1.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwParamApprovals-Ctczj8Lm.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwProducts-hgfkZhht.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwQuery-Dd411JAJ.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwQuickActions-C7cIVK0F.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwRecipes-DaQAxk7t.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwStream-2-KfS0lN.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwTemplates-BXtYJspX.mjs.map +0 -1
- package/.output/server/chunks/_/useDcwWrites-IOVVc-Sz.mjs.map +0 -1
- package/.output/server/chunks/_/useLogsScope-BFU7kLl9.mjs.map +0 -1
- package/.output/server/chunks/_/workshop-CeaToa_8.mjs.map +0 -1
- package/scripts/_audit/_fix-report.mjs +0 -32
- /package/.output/public/_nuxt/{B5D1k6CB2.js → B5D1k6CB.js} +0 -0
- /package/.output/public/_nuxt/{B6Olw0Op2.js → B6Olw0Op.js} +0 -0
- /package/.output/public/_nuxt/{BclHgAY6.js → BclHgAY62.js} +0 -0
- /package/.output/public/_nuxt/{D9saExk9.js → D9saExk92.js} +0 -0
- /package/.output/public/_nuxt/{DFI6asjj.js → DFI6asjj2.js} +0 -0
- /package/.output/public/_nuxt/{DkJVtqfc.js → DkJVtqfc2.js} +0 -0
- /package/.output/public/_nuxt/{OVP8I5uy2.js → OVP8I5uy.js} +0 -0
|
@@ -1,21 +1,41 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
/**
|
|
3
|
-
* /projects —— Project
|
|
4
|
-
* 复用 $http(Bearer cookie + envelope 解包);未登录时提示回 /workshop。
|
|
3
|
+
* /projects —— 项目中心(Project 层前端入口)。
|
|
5
4
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* 信息架构:目标 → 计划 → 派发 → 交付 → 验收。列表一屏回答"每个项目走到哪了":
|
|
6
|
+
* - 顶部统计带:全部 / 进行中 / 待审批 / 已完成(全量口径,不受筛选影响)
|
|
7
|
+
* - 工具行:搜索(名称/目标/描述)+ 状态分段筛选 + 刷新
|
|
8
|
+
* - 项目卡:状态、目标、工作项进度、频道/交付物/审批摘要、最近活动
|
|
9
|
+
* 数据来自 GET /workshop/projects(2026-11-09 起服务端附带 summary,前端零 N+1)。
|
|
10
|
+
*
|
|
11
|
+
* 创建有两条真实通道:
|
|
12
|
+
* 1) 空白项目:POST /workshop/projects(必须显式选择 Leader 引擎)
|
|
13
|
+
* 2) 蓝图实例化:POST /workshop/projects/instantiate(建频道→绑定→建计划→(免批则)激活)
|
|
14
|
+
* 两条通道都落到详情页,由同一个 Project Leader 续写计划。
|
|
8
15
|
*/
|
|
9
|
-
import { onMounted, reactive, ref } from 'vue'
|
|
10
16
|
import { useUserStore } from '~/stores/workshop/user'
|
|
11
17
|
|
|
12
|
-
definePageMeta({ layout: '
|
|
18
|
+
definePageMeta({ layout: 'default' })
|
|
19
|
+
|
|
20
|
+
const { t } = useI18n()
|
|
21
|
+
useHead({ title: () => `${t('menu.projects')} · AgentWorkShop` })
|
|
13
22
|
|
|
14
|
-
|
|
23
|
+
const http = useHttp()
|
|
15
24
|
const userStore = useUserStore()
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
|
|
26
|
+
interface ProjectSummary {
|
|
27
|
+
workItems: number
|
|
28
|
+
completedWorkItems: number
|
|
29
|
+
progress: number
|
|
30
|
+
deliverables: number
|
|
31
|
+
requiredDeliverables: number
|
|
32
|
+
approvedDeliverables: number
|
|
33
|
+
acceptanceProgress: number
|
|
34
|
+
channels: number
|
|
35
|
+
members: number
|
|
36
|
+
pendingApprovals: number
|
|
37
|
+
lastActivityAt: string
|
|
38
|
+
}
|
|
19
39
|
|
|
20
40
|
interface ProjectDto {
|
|
21
41
|
id: string
|
|
@@ -24,19 +44,61 @@ interface ProjectDto {
|
|
|
24
44
|
objective: string
|
|
25
45
|
status: string
|
|
26
46
|
mode: string
|
|
47
|
+
routingPolicy: string
|
|
27
48
|
ownerUserId: string
|
|
28
49
|
officeChannelId: string | null
|
|
29
50
|
leadAgentId: string | null
|
|
30
51
|
planVersion: number
|
|
31
52
|
createdAt: string
|
|
32
53
|
updatedAt: string
|
|
54
|
+
summary: ProjectSummary
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
interface HarnessMeta {
|
|
58
|
+
id: string
|
|
59
|
+
label: string
|
|
60
|
+
description: string
|
|
61
|
+
available: boolean
|
|
62
|
+
inprocess: boolean
|
|
63
|
+
error?: string | null
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
interface BlueprintDto {
|
|
67
|
+
id: string
|
|
68
|
+
name: string
|
|
69
|
+
objective: string
|
|
70
|
+
channels: string[]
|
|
71
|
+
routingPolicy: string
|
|
72
|
+
planApprovalRequired: boolean
|
|
33
73
|
}
|
|
34
74
|
|
|
35
|
-
const http = useHttp()
|
|
36
75
|
const projects = ref<ProjectDto[]>([])
|
|
76
|
+
const blueprints = ref<BlueprintDto[]>([])
|
|
77
|
+
const harnesses = ref<HarnessMeta[]>([])
|
|
37
78
|
const loading = ref(false)
|
|
38
79
|
const error = ref('')
|
|
39
|
-
const
|
|
80
|
+
const keyword = ref('')
|
|
81
|
+
const statusFilter = ref<'all' | 'active' | 'draft' | 'completed' | 'archived'>('all')
|
|
82
|
+
|
|
83
|
+
const createOpen = ref(false)
|
|
84
|
+
const creating = ref(false)
|
|
85
|
+
const createError = ref('')
|
|
86
|
+
const form = reactive({
|
|
87
|
+
name: '',
|
|
88
|
+
objective: '',
|
|
89
|
+
description: '',
|
|
90
|
+
leaderHarness: '',
|
|
91
|
+
routingPolicy: 'technical' as 'technical' | 'legacy',
|
|
92
|
+
autoDispatch: false,
|
|
93
|
+
})
|
|
94
|
+
const blueprintPick = ref('')
|
|
95
|
+
const instantiating = ref(false)
|
|
96
|
+
|
|
97
|
+
const errMsg = (e: unknown): string =>
|
|
98
|
+
(e as { response?: { data?: { message?: string } } })?.response?.data?.message
|
|
99
|
+
?? (e instanceof Error ? e.message : '请求失败')
|
|
100
|
+
|
|
101
|
+
/* ── 数据 ─────────────────────────────────────────────────────────────── */
|
|
40
102
|
|
|
41
103
|
async function load(): Promise<void> {
|
|
42
104
|
loading.value = true
|
|
@@ -46,247 +108,991 @@ async function load(): Promise<void> {
|
|
|
46
108
|
projects.value = res.data ?? []
|
|
47
109
|
}
|
|
48
110
|
catch (e) {
|
|
49
|
-
error.value = e
|
|
111
|
+
error.value = errMsg(e)
|
|
50
112
|
}
|
|
51
113
|
finally {
|
|
52
114
|
loading.value = false
|
|
53
115
|
}
|
|
54
116
|
}
|
|
55
117
|
|
|
118
|
+
/** 引擎清单(可用性探测)+ 蓝图清单(可失败:不阻塞列表)。 */
|
|
119
|
+
async function loadCreateSources(): Promise<void> {
|
|
120
|
+
const [h, b] = await Promise.allSettled([
|
|
121
|
+
http.get<{ data: { harnesses: HarnessMeta[] } }>('/workshop/harnesses'),
|
|
122
|
+
http.get<{ data: BlueprintDto[] }>('/workshop/project-blueprints'),
|
|
123
|
+
])
|
|
124
|
+
if (h.status === 'fulfilled') {
|
|
125
|
+
harnesses.value = h.value.data?.harnesses ?? []
|
|
126
|
+
if (!form.leaderHarness) {
|
|
127
|
+
const firstReal = harnesses.value.find(x => x.available && x.id !== 'mock')
|
|
128
|
+
form.leaderHarness = firstReal?.id ?? harnesses.value.find(x => x.available)?.id ?? 'mock'
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (b.status === 'fulfilled') blueprints.value = b.value.data ?? []
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* ── 派生 ─────────────────────────────────────────────────────────────── */
|
|
135
|
+
|
|
136
|
+
const statusLabel = (s: string): string => ({
|
|
137
|
+
draft: '草稿',
|
|
138
|
+
active: '进行中',
|
|
139
|
+
paused: '已暂停',
|
|
140
|
+
completed: '已完成',
|
|
141
|
+
archived: '已归档',
|
|
142
|
+
}[s] ?? s)
|
|
143
|
+
|
|
144
|
+
const stats = computed(() => {
|
|
145
|
+
const total = projects.value.length
|
|
146
|
+
return {
|
|
147
|
+
total,
|
|
148
|
+
active: projects.value.filter(p => p.status === 'active').length,
|
|
149
|
+
pending: projects.value.reduce((n, p) => n + (p.summary?.pendingApprovals ?? 0), 0),
|
|
150
|
+
completed: projects.value.filter(p => p.status === 'completed').length,
|
|
151
|
+
workItems: projects.value.reduce((n, p) => n + (p.summary?.workItems ?? 0), 0),
|
|
152
|
+
}
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
const filters = computed(() => ([
|
|
156
|
+
{ key: 'all', label: '全部', n: projects.value.length },
|
|
157
|
+
{ key: 'active', label: '进行中', n: projects.value.filter(p => p.status === 'active').length },
|
|
158
|
+
{ key: 'draft', label: '草稿', n: projects.value.filter(p => p.status === 'draft').length },
|
|
159
|
+
{ key: 'completed', label: '已完成', n: projects.value.filter(p => p.status === 'completed').length },
|
|
160
|
+
] as const))
|
|
161
|
+
|
|
162
|
+
const filtered = computed(() => {
|
|
163
|
+
const q = keyword.value.trim().toLowerCase()
|
|
164
|
+
return projects.value.filter((p) => {
|
|
165
|
+
if (statusFilter.value !== 'all' && p.status !== statusFilter.value) return false
|
|
166
|
+
if (!q) return true
|
|
167
|
+
return `${p.name} ${p.objective} ${p.description}`.toLowerCase().includes(q)
|
|
168
|
+
})
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
const pct = (v: number | undefined): number => Math.round(Number(v ?? 0) * 100)
|
|
172
|
+
|
|
173
|
+
function relTime(iso: string | null | undefined): string {
|
|
174
|
+
if (!iso) return '—'
|
|
175
|
+
const ms = Date.now() - Date.parse(iso)
|
|
176
|
+
if (!Number.isFinite(ms)) return '—'
|
|
177
|
+
const min = Math.floor(ms / 60000)
|
|
178
|
+
if (min < 1) return '刚刚'
|
|
179
|
+
if (min < 60) return `${min} 分钟前`
|
|
180
|
+
const h = Math.floor(min / 60)
|
|
181
|
+
if (h < 24) return `${h} 小时前`
|
|
182
|
+
const d = Math.floor(h / 24)
|
|
183
|
+
if (d < 30) return `${d} 天前`
|
|
184
|
+
return new Date(iso).toLocaleDateString()
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
const availableHarnesses = computed(() => harnesses.value.filter(h => h.available))
|
|
188
|
+
|
|
189
|
+
/* ── 动作 ─────────────────────────────────────────────────────────────── */
|
|
190
|
+
|
|
191
|
+
onMounted(() => {
|
|
192
|
+
if (!userStore.isLoggedIn) {
|
|
193
|
+
navigateTo('/workshop')
|
|
194
|
+
return
|
|
195
|
+
}
|
|
196
|
+
void load()
|
|
197
|
+
void loadCreateSources()
|
|
198
|
+
})
|
|
199
|
+
|
|
200
|
+
function openCreate(): void {
|
|
201
|
+
createError.value = ''
|
|
202
|
+
createOpen.value = true
|
|
203
|
+
if (!harnesses.value.length) void loadCreateSources()
|
|
204
|
+
}
|
|
205
|
+
|
|
56
206
|
async function create(): Promise<void> {
|
|
57
|
-
if (!form.name.trim() || !form.objective.trim()) return
|
|
58
|
-
|
|
59
|
-
|
|
207
|
+
if (!form.name.trim() || !form.objective.trim() || !form.leaderHarness) return
|
|
208
|
+
creating.value = true
|
|
209
|
+
createError.value = ''
|
|
60
210
|
try {
|
|
61
211
|
const res = await http.post<{ data: ProjectDto }>('/workshop/projects', {
|
|
62
212
|
name: form.name.trim(),
|
|
63
213
|
objective: form.objective.trim(),
|
|
64
214
|
description: form.description.trim() || undefined,
|
|
65
215
|
leaderHarness: form.leaderHarness,
|
|
216
|
+
routingPolicy: form.routingPolicy,
|
|
217
|
+
autoDispatch: form.autoDispatch,
|
|
66
218
|
})
|
|
67
|
-
|
|
68
|
-
form.objective = ''
|
|
69
|
-
form.description = ''
|
|
70
|
-
form.leaderHarness = 'mock'
|
|
219
|
+
createOpen.value = false
|
|
71
220
|
await navigateTo(`/projects/${res.data.id}`)
|
|
72
221
|
}
|
|
73
222
|
catch (e) {
|
|
74
|
-
|
|
223
|
+
createError.value = errMsg(e)
|
|
75
224
|
}
|
|
76
225
|
finally {
|
|
77
|
-
|
|
226
|
+
creating.value = false
|
|
78
227
|
}
|
|
79
228
|
}
|
|
80
229
|
|
|
81
|
-
|
|
230
|
+
async function instantiate(): Promise<void> {
|
|
231
|
+
if (!blueprintPick.value) return
|
|
232
|
+
instantiating.value = true
|
|
233
|
+
createError.value = ''
|
|
234
|
+
try {
|
|
235
|
+
const res = await http.post<{ data: { projectId: string, status: string } }>('/workshop/projects/instantiate', {
|
|
236
|
+
template: blueprintPick.value,
|
|
237
|
+
})
|
|
238
|
+
createOpen.value = false
|
|
239
|
+
await navigateTo(`/projects/${res.data.projectId}`)
|
|
240
|
+
}
|
|
241
|
+
catch (e) {
|
|
242
|
+
createError.value = errMsg(e)
|
|
243
|
+
}
|
|
244
|
+
finally {
|
|
245
|
+
instantiating.value = false
|
|
246
|
+
}
|
|
247
|
+
}
|
|
82
248
|
</script>
|
|
83
249
|
|
|
84
250
|
<template>
|
|
85
251
|
<div class="projects-page">
|
|
86
|
-
<
|
|
252
|
+
<div class="aw-page-head">
|
|
87
253
|
<div>
|
|
88
|
-
<
|
|
254
|
+
<p class="aw-kicker">
|
|
255
|
+
workshop / projects
|
|
256
|
+
</p>
|
|
257
|
+
<h1>{{ t('menu.projects') }}</h1>
|
|
89
258
|
<p class="sub">
|
|
90
|
-
|
|
259
|
+
目标 → 计划 → 派发 → 交付 → 验收:Project Leader 编排,Channel 执行,成果逐级签核。
|
|
91
260
|
</p>
|
|
92
261
|
</div>
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
262
|
+
<div class="head-acts">
|
|
263
|
+
<button
|
|
264
|
+
class="btn ghost"
|
|
265
|
+
:disabled="loading"
|
|
266
|
+
data-testid="projects-refresh"
|
|
267
|
+
@click="load"
|
|
268
|
+
>
|
|
269
|
+
<span
|
|
270
|
+
class="i-tabler-refresh"
|
|
271
|
+
:class="{ spin: loading }"
|
|
272
|
+
/>
|
|
273
|
+
刷新
|
|
274
|
+
</button>
|
|
275
|
+
<button
|
|
276
|
+
class="aw-pill im"
|
|
277
|
+
data-testid="projects-create"
|
|
278
|
+
@click="openCreate"
|
|
279
|
+
>
|
|
280
|
+
<span class="i-tabler-plus im-pop" />
|
|
281
|
+
新建项目
|
|
282
|
+
</button>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
|
|
286
|
+
<!-- 统计带:全量口径(筛选不影响) -->
|
|
287
|
+
<section class="stat-band">
|
|
288
|
+
<div class="stat">
|
|
289
|
+
<b>{{ stats.total }}</b><span>全部项目</span>
|
|
290
|
+
</div>
|
|
291
|
+
<div class="stat">
|
|
292
|
+
<b class="tone-live">{{ stats.active }}</b><span>进行中</span>
|
|
293
|
+
</div>
|
|
294
|
+
<div class="stat">
|
|
295
|
+
<b :class="stats.pending > 0 ? 'tone-warn' : ''">{{ stats.pending }}</b><span>待审批</span>
|
|
296
|
+
</div>
|
|
297
|
+
<div class="stat">
|
|
298
|
+
<b class="tone-ok">{{ stats.completed }}</b><span>已完成</span>
|
|
299
|
+
</div>
|
|
300
|
+
<div class="stat">
|
|
301
|
+
<b>{{ stats.workItems }}</b><span>工作项总量</span>
|
|
302
|
+
</div>
|
|
303
|
+
</section>
|
|
304
|
+
|
|
305
|
+
<!-- 工具行 -->
|
|
306
|
+
<div class="toolbar">
|
|
307
|
+
<label class="search">
|
|
308
|
+
<span
|
|
309
|
+
class="i-tabler-search"
|
|
310
|
+
aria-hidden="true"
|
|
311
|
+
/>
|
|
312
|
+
<input
|
|
313
|
+
v-model="keyword"
|
|
314
|
+
type="search"
|
|
315
|
+
placeholder="搜索项目名称 / 目标 / 描述"
|
|
316
|
+
aria-label="搜索项目"
|
|
317
|
+
>
|
|
318
|
+
</label>
|
|
319
|
+
<div
|
|
320
|
+
class="seg"
|
|
321
|
+
role="tablist"
|
|
322
|
+
aria-label="按状态筛选"
|
|
97
323
|
>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
324
|
+
<button
|
|
325
|
+
v-for="f in filters"
|
|
326
|
+
:key="f.key"
|
|
327
|
+
type="button"
|
|
328
|
+
role="tab"
|
|
329
|
+
:aria-selected="statusFilter === f.key ? 'true' : 'false'"
|
|
330
|
+
class="seg-item"
|
|
331
|
+
:class="{ active: statusFilter === f.key }"
|
|
332
|
+
@click="statusFilter = f.key"
|
|
333
|
+
>
|
|
334
|
+
{{ f.label }}<span class="seg-n">{{ f.n }}</span>
|
|
335
|
+
</button>
|
|
336
|
+
</div>
|
|
337
|
+
<span class="toolbar-count">显示 {{ filtered.length }} / {{ projects.length }}</span>
|
|
338
|
+
</div>
|
|
101
339
|
|
|
102
|
-
<
|
|
340
|
+
<div
|
|
103
341
|
v-if="error"
|
|
104
|
-
class="error"
|
|
342
|
+
class="error-bar"
|
|
343
|
+
role="alert"
|
|
105
344
|
>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
<section class="create card">
|
|
110
|
-
<h2>新建项目</h2>
|
|
111
|
-
<div class="grid">
|
|
112
|
-
<label>名称<input
|
|
113
|
-
v-model="form.name"
|
|
114
|
-
placeholder="例如:A 线良率提升"
|
|
115
|
-
></label>
|
|
116
|
-
<label>目标<input
|
|
117
|
-
v-model="form.objective"
|
|
118
|
-
placeholder="例如:良率提升到 98%"
|
|
119
|
-
></label>
|
|
120
|
-
<label>Leader 引擎<select
|
|
121
|
-
v-model="form.leaderHarness"
|
|
122
|
-
>
|
|
123
|
-
<option value="mock">
|
|
124
|
-
mock(验证用)
|
|
125
|
-
</option>
|
|
126
|
-
<option value="omp">
|
|
127
|
-
omp(真实 LLM)
|
|
128
|
-
</option>
|
|
129
|
-
<option value="opencode">
|
|
130
|
-
opencode(真实 LLM)
|
|
131
|
-
</option>
|
|
132
|
-
<option value="claude">
|
|
133
|
-
claude(真实 LLM)
|
|
134
|
-
</option>
|
|
135
|
-
</select></label>
|
|
136
|
-
<label class="wide">描述<input
|
|
137
|
-
v-model="form.description"
|
|
138
|
-
placeholder="可选:范围、约束、验收口径"
|
|
139
|
-
></label>
|
|
140
|
-
</div>
|
|
345
|
+
<span class="i-tabler-alert-triangle" />
|
|
346
|
+
<span class="err-text">{{ error }}</span>
|
|
141
347
|
<button
|
|
142
|
-
class="btn"
|
|
143
|
-
|
|
144
|
-
@click="create"
|
|
348
|
+
class="btn ghost small"
|
|
349
|
+
@click="load"
|
|
145
350
|
>
|
|
146
|
-
|
|
351
|
+
重试
|
|
147
352
|
</button>
|
|
148
|
-
</
|
|
353
|
+
</div>
|
|
149
354
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
355
|
+
<!-- 骨架屏:首载才有,刷新时保留旧卡片避免闪白 -->
|
|
356
|
+
<div
|
|
357
|
+
v-if="loading && !projects.length"
|
|
358
|
+
class="grid"
|
|
359
|
+
aria-busy="true"
|
|
360
|
+
>
|
|
361
|
+
<div
|
|
362
|
+
v-for="i in 6"
|
|
363
|
+
:key="i"
|
|
364
|
+
class="skeleton-card"
|
|
365
|
+
>
|
|
366
|
+
<div class="sk-line w40" />
|
|
367
|
+
<div class="sk-line w80" />
|
|
368
|
+
<div class="sk-line w60" />
|
|
369
|
+
<div class="sk-bar" />
|
|
370
|
+
</div>
|
|
371
|
+
</div>
|
|
372
|
+
|
|
373
|
+
<!-- 项目卡 -->
|
|
374
|
+
<div
|
|
375
|
+
v-else-if="filtered.length"
|
|
376
|
+
class="grid aw-stagger"
|
|
377
|
+
data-testid="projects-grid"
|
|
153
378
|
>
|
|
154
|
-
<
|
|
155
|
-
v-for="p in
|
|
379
|
+
<NuxtLink
|
|
380
|
+
v-for="p in filtered"
|
|
156
381
|
:key="p.id"
|
|
157
|
-
|
|
158
|
-
|
|
382
|
+
:to="`/projects/${p.id}`"
|
|
383
|
+
class="pcard"
|
|
384
|
+
:data-testid="`project-card-${p.id}`"
|
|
159
385
|
>
|
|
160
|
-
<
|
|
161
|
-
<strong>{{ p.name }}</strong>
|
|
386
|
+
<header class="pc-head">
|
|
162
387
|
<span
|
|
163
|
-
class="
|
|
388
|
+
class="pc-icon i-tabler-target-arrow"
|
|
389
|
+
aria-hidden="true"
|
|
390
|
+
/>
|
|
391
|
+
<div class="pc-title">
|
|
392
|
+
<strong>{{ p.name }}</strong>
|
|
393
|
+
<span class="pc-id mono">{{ p.id.slice(0, 8) }}</span>
|
|
394
|
+
</div>
|
|
395
|
+
<span
|
|
396
|
+
class="pill"
|
|
164
397
|
:class="p.status"
|
|
165
|
-
>{{ p.status }}</span>
|
|
166
|
-
</
|
|
167
|
-
|
|
398
|
+
>{{ statusLabel(p.status) }}</span>
|
|
399
|
+
</header>
|
|
400
|
+
|
|
401
|
+
<p class="pc-objective">
|
|
168
402
|
{{ p.objective }}
|
|
169
403
|
</p>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
<
|
|
173
|
-
|
|
404
|
+
|
|
405
|
+
<div class="pc-progress">
|
|
406
|
+
<div class="pc-progress-row">
|
|
407
|
+
<span>工作项 {{ p.summary?.completedWorkItems ?? 0 }}/{{ p.summary?.workItems ?? 0 }}</span>
|
|
408
|
+
<b>{{ pct(p.summary?.progress) }}%</b>
|
|
409
|
+
</div>
|
|
410
|
+
<div class="bar">
|
|
411
|
+
<i :style="{ width: `${pct(p.summary?.progress)}%` }" />
|
|
412
|
+
</div>
|
|
413
|
+
</div>
|
|
414
|
+
|
|
415
|
+
<div class="pc-chips">
|
|
416
|
+
<span
|
|
417
|
+
class="chip"
|
|
418
|
+
:class="{ warn: !p.summary?.channels }"
|
|
419
|
+
>
|
|
420
|
+
<span class="i-tabler-antenna" />
|
|
421
|
+
{{ p.summary?.channels ?? 0 }} 频道
|
|
422
|
+
</span>
|
|
423
|
+
<span class="chip">
|
|
424
|
+
<span class="i-tabler-package" />
|
|
425
|
+
{{ p.summary?.approvedDeliverables ?? 0 }}/{{ p.summary?.deliverables ?? 0 }} 交付物
|
|
426
|
+
</span>
|
|
427
|
+
<span
|
|
428
|
+
v-if="p.summary?.pendingApprovals"
|
|
429
|
+
class="chip warn"
|
|
430
|
+
>
|
|
431
|
+
<span class="i-tabler-gavel" />
|
|
432
|
+
{{ p.summary.pendingApprovals }} 待审批
|
|
433
|
+
</span>
|
|
174
434
|
</div>
|
|
175
|
-
|
|
435
|
+
|
|
436
|
+
<footer class="pc-foot">
|
|
437
|
+
<span class="mono">plan v{{ p.planVersion }} · {{ p.routingPolicy }}</span>
|
|
438
|
+
<span class="pc-time">{{ relTime(p.summary?.lastActivityAt) }}</span>
|
|
439
|
+
</footer>
|
|
440
|
+
</NuxtLink>
|
|
441
|
+
</div>
|
|
442
|
+
|
|
443
|
+
<!-- 空态:区分"还没项目"与"筛不出来" -->
|
|
444
|
+
<section
|
|
445
|
+
v-else-if="!loading && projects.length"
|
|
446
|
+
class="empty"
|
|
447
|
+
>
|
|
448
|
+
<span class="empty-icon i-tabler-filter-off" />
|
|
449
|
+
<h2>没有符合条件的项目</h2>
|
|
450
|
+
<p>换个关键词,或把状态筛选切回「全部」。</p>
|
|
451
|
+
<button
|
|
452
|
+
class="btn ghost"
|
|
453
|
+
@click="keyword = ''; statusFilter = 'all'"
|
|
454
|
+
>
|
|
455
|
+
清除筛选
|
|
456
|
+
</button>
|
|
176
457
|
</section>
|
|
177
|
-
|
|
458
|
+
|
|
459
|
+
<section
|
|
178
460
|
v-else-if="!loading"
|
|
179
461
|
class="empty"
|
|
462
|
+
data-testid="projects-empty"
|
|
463
|
+
>
|
|
464
|
+
<span class="empty-icon i-tabler-briefcase" />
|
|
465
|
+
<h2>还没有项目</h2>
|
|
466
|
+
<p>一个项目 = 一个目标 + 一组交付物 + 一个 Project Leader。先建一个,再绑定执行 Channel。</p>
|
|
467
|
+
<button
|
|
468
|
+
class="aw-pill"
|
|
469
|
+
@click="openCreate"
|
|
470
|
+
>
|
|
471
|
+
<span class="i-tabler-plus" />
|
|
472
|
+
新建第一个项目
|
|
473
|
+
</button>
|
|
474
|
+
</section>
|
|
475
|
+
|
|
476
|
+
<!-- 方法论条:空态/首屏都值得看的一屏四步 -->
|
|
477
|
+
<section class="guide">
|
|
478
|
+
<div class="guide-step">
|
|
479
|
+
<span class="guide-n">01</span>
|
|
480
|
+
<div><b>建项目</b><p>写清目标与验收口径,选择 Leader 引擎。</p></div>
|
|
481
|
+
</div>
|
|
482
|
+
<div class="guide-step">
|
|
483
|
+
<span class="guide-n">02</span>
|
|
484
|
+
<div><b>绑频道</b><p>把已有执行 Channel 绑定进来(受保护绑定不可强解)。</p></div>
|
|
485
|
+
</div>
|
|
486
|
+
<div class="guide-step">
|
|
487
|
+
<span class="guide-n">03</span>
|
|
488
|
+
<div><b>下发工作项</b><p>Leader 出计划,owner 批准后按依赖派发。</p></div>
|
|
489
|
+
</div>
|
|
490
|
+
<div class="guide-step">
|
|
491
|
+
<span class="guide-n">04</span>
|
|
492
|
+
<div><b>验收闭环</b><p>成果经 L1 复核与交付物签核后项目完成。</p></div>
|
|
493
|
+
</div>
|
|
494
|
+
</section>
|
|
495
|
+
|
|
496
|
+
<!-- 创建对话框 -->
|
|
497
|
+
<a-modal
|
|
498
|
+
v-model:open="createOpen"
|
|
499
|
+
:footer="null"
|
|
500
|
+
:width="640"
|
|
501
|
+
:destroy-on-close="false"
|
|
502
|
+
title="新建项目"
|
|
503
|
+
wrap-class-name="project-create-modal"
|
|
180
504
|
>
|
|
181
|
-
|
|
182
|
-
|
|
505
|
+
<div class="modal-body">
|
|
506
|
+
<div class="form-grid">
|
|
507
|
+
<label class="span2">
|
|
508
|
+
<span>项目名称</span>
|
|
509
|
+
<input
|
|
510
|
+
v-model="form.name"
|
|
511
|
+
placeholder="例如:A 线良率提升"
|
|
512
|
+
maxlength="80"
|
|
513
|
+
>
|
|
514
|
+
</label>
|
|
515
|
+
<label class="span2">
|
|
516
|
+
<span>项目目标</span>
|
|
517
|
+
<input
|
|
518
|
+
v-model="form.objective"
|
|
519
|
+
placeholder="例如:良率提升到 98%"
|
|
520
|
+
maxlength="200"
|
|
521
|
+
>
|
|
522
|
+
</label>
|
|
523
|
+
<label class="span2">
|
|
524
|
+
<span>描述 / 范围 / 约束(可选)</span>
|
|
525
|
+
<textarea
|
|
526
|
+
v-model="form.description"
|
|
527
|
+
rows="3"
|
|
528
|
+
maxlength="600"
|
|
529
|
+
placeholder="验收口径、不在范围内的事项、依赖…"
|
|
530
|
+
/>
|
|
531
|
+
</label>
|
|
532
|
+
<label>
|
|
533
|
+
<span>Leader 引擎</span>
|
|
534
|
+
<select v-model="form.leaderHarness">
|
|
535
|
+
<option
|
|
536
|
+
v-if="!availableHarnesses.length"
|
|
537
|
+
value="mock"
|
|
538
|
+
>
|
|
539
|
+
mock(联调用)
|
|
540
|
+
</option>
|
|
541
|
+
<option
|
|
542
|
+
v-for="h in harnesses"
|
|
543
|
+
:key="h.id"
|
|
544
|
+
:value="h.id"
|
|
545
|
+
:disabled="!h.available"
|
|
546
|
+
>
|
|
547
|
+
{{ h.label }}{{ h.available ? '' : ' · 未安装' }}
|
|
548
|
+
</option>
|
|
549
|
+
</select>
|
|
550
|
+
</label>
|
|
551
|
+
<label>
|
|
552
|
+
<span>放行口径</span>
|
|
553
|
+
<select v-model="form.routingPolicy">
|
|
554
|
+
<option value="technical">
|
|
555
|
+
technical(上游成果技术验收后放行)
|
|
556
|
+
</option>
|
|
557
|
+
<option value="legacy">
|
|
558
|
+
legacy(上游工作项终态即放行)
|
|
559
|
+
</option>
|
|
560
|
+
</select>
|
|
561
|
+
</label>
|
|
562
|
+
<label class="check-row span2">
|
|
563
|
+
<input
|
|
564
|
+
v-model="form.autoDispatch"
|
|
565
|
+
type="checkbox"
|
|
566
|
+
>
|
|
567
|
+
<span>计划批准后自动派发就绪工作项(autoDispatch)</span>
|
|
568
|
+
</label>
|
|
569
|
+
</div>
|
|
570
|
+
|
|
571
|
+
<p class="modal-hint">
|
|
572
|
+
Leader 负责读现状、出计划、评审交付;执行由绑定的 Channel 完成。
|
|
573
|
+
<template v-if="form.leaderHarness === 'mock'">
|
|
574
|
+
mock 不调用 LLM,只用于联调与验收演示。
|
|
575
|
+
</template>
|
|
576
|
+
</p>
|
|
577
|
+
|
|
578
|
+
<p
|
|
579
|
+
v-if="createError"
|
|
580
|
+
class="form-error"
|
|
581
|
+
>
|
|
582
|
+
{{ createError }}
|
|
583
|
+
</p>
|
|
584
|
+
|
|
585
|
+
<div class="modal-actions">
|
|
586
|
+
<button
|
|
587
|
+
class="btn ghost"
|
|
588
|
+
@click="createOpen = false"
|
|
589
|
+
>
|
|
590
|
+
取消
|
|
591
|
+
</button>
|
|
592
|
+
<button
|
|
593
|
+
class="btn"
|
|
594
|
+
:disabled="creating || !form.name.trim() || !form.objective.trim() || !form.leaderHarness"
|
|
595
|
+
data-testid="create-project-submit"
|
|
596
|
+
@click="create"
|
|
597
|
+
>
|
|
598
|
+
{{ creating ? '创建中…' : '创建项目' }}
|
|
599
|
+
</button>
|
|
600
|
+
</div>
|
|
601
|
+
|
|
602
|
+
<!-- 蓝图实例化:建频道 → 绑定 → 建计划 →(免批则)激活 -->
|
|
603
|
+
<div
|
|
604
|
+
v-if="blueprints.length"
|
|
605
|
+
class="blueprint-box"
|
|
606
|
+
>
|
|
607
|
+
<header>
|
|
608
|
+
<span class="i-tabler-stack-2" />
|
|
609
|
+
<b>或从蓝图实例化</b>
|
|
610
|
+
</header>
|
|
611
|
+
<p>蓝图会一次性创建执行频道、绑定到新项目并生成计划(含交付物/工作项)。</p>
|
|
612
|
+
<div class="blueprint-row">
|
|
613
|
+
<select v-model="blueprintPick">
|
|
614
|
+
<option value="">
|
|
615
|
+
选择蓝图模板
|
|
616
|
+
</option>
|
|
617
|
+
<option
|
|
618
|
+
v-for="b in blueprints"
|
|
619
|
+
:key="b.id"
|
|
620
|
+
:value="b.name"
|
|
621
|
+
>
|
|
622
|
+
{{ b.name }} · {{ b.channels.length }} 频道 · {{ b.routingPolicy }}
|
|
623
|
+
</option>
|
|
624
|
+
</select>
|
|
625
|
+
<button
|
|
626
|
+
class="btn ghost"
|
|
627
|
+
:disabled="instantiating || !blueprintPick"
|
|
628
|
+
@click="instantiate"
|
|
629
|
+
>
|
|
630
|
+
{{ instantiating ? '实例化中…' : '实例化' }}
|
|
631
|
+
</button>
|
|
632
|
+
</div>
|
|
633
|
+
</div>
|
|
634
|
+
</div>
|
|
635
|
+
</a-modal>
|
|
183
636
|
</div>
|
|
184
637
|
</template>
|
|
185
638
|
|
|
186
639
|
<style scoped>
|
|
187
|
-
/* ChatGPT 声部(2026-11-07):白画布居中列 + 发丝线卡片 + 黑主钮;令牌 = --chat-* */
|
|
188
640
|
.projects-page {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
max-width: 1080px;
|
|
192
|
-
padding: 30px 28px 52px;
|
|
641
|
+
max-width: 1180px;
|
|
642
|
+
padding: 4px 4px 40px;
|
|
193
643
|
margin: 0 auto;
|
|
194
|
-
overflow-y: auto;
|
|
195
|
-
color: var(--chat-ink);
|
|
196
|
-
background: var(--chat-canvas);
|
|
197
644
|
}
|
|
198
|
-
|
|
645
|
+
|
|
646
|
+
.head-acts {
|
|
199
647
|
display: flex;
|
|
200
|
-
|
|
201
|
-
align-items:
|
|
202
|
-
gap: 16px;
|
|
203
|
-
padding-bottom: 16px;
|
|
204
|
-
margin-bottom: 20px;
|
|
205
|
-
border-bottom: 1px solid var(--chat-line);
|
|
206
|
-
}
|
|
207
|
-
h1 { margin: 0 0 6px; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
|
|
208
|
-
.sub { margin: 0; color: var(--chat-ink-faint); font-size: 13px; }
|
|
209
|
-
.card {
|
|
210
|
-
padding: 18px 20px;
|
|
211
|
-
background: var(--chat-surface);
|
|
212
|
-
border: 1px solid var(--chat-line);
|
|
213
|
-
border-radius: 16px;
|
|
648
|
+
gap: 10px;
|
|
649
|
+
align-items: center;
|
|
214
650
|
}
|
|
215
|
-
|
|
216
|
-
.
|
|
217
|
-
|
|
218
|
-
|
|
651
|
+
|
|
652
|
+
.btn {
|
|
653
|
+
display: inline-flex;
|
|
654
|
+
gap: 7px;
|
|
655
|
+
align-items: center;
|
|
656
|
+
justify-content: center;
|
|
657
|
+
min-height: 36px;
|
|
658
|
+
padding: 8px 14px;
|
|
659
|
+
font-family: var(--font-body);
|
|
660
|
+
font-size: 13px;
|
|
661
|
+
font-weight: 600;
|
|
662
|
+
color: var(--paper-raised);
|
|
663
|
+
cursor: pointer;
|
|
664
|
+
background: var(--ink);
|
|
665
|
+
border: 1px solid transparent;
|
|
666
|
+
border-radius: 10px;
|
|
667
|
+
transition: opacity var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.btn:hover { opacity: 0.9; }
|
|
671
|
+
.btn:disabled { cursor: not-allowed; opacity: 0.45; }
|
|
672
|
+
.btn.ghost {
|
|
673
|
+
color: var(--ink);
|
|
674
|
+
background: transparent;
|
|
675
|
+
border-color: var(--line-strong, var(--line));
|
|
676
|
+
}
|
|
677
|
+
.btn.ghost:hover { background: var(--paper-deep); opacity: 1; }
|
|
678
|
+
.btn.small { min-height: 32px; padding: 6px 10px; font-size: 12px; }
|
|
679
|
+
|
|
680
|
+
/* ── 统计带 ── */
|
|
681
|
+
.stat-band {
|
|
682
|
+
display: grid;
|
|
683
|
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
684
|
+
margin: 4px 0 18px;
|
|
685
|
+
overflow: hidden;
|
|
686
|
+
background: var(--paper-raised);
|
|
687
|
+
border: 1px solid var(--line);
|
|
688
|
+
border-radius: 14px;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.stat {
|
|
219
692
|
display: flex;
|
|
220
693
|
flex-direction: column;
|
|
221
|
-
gap:
|
|
222
|
-
|
|
223
|
-
color: var(--chat-ink-faint);
|
|
694
|
+
gap: 2px;
|
|
695
|
+
padding: 14px 18px;
|
|
224
696
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
font-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
697
|
+
|
|
698
|
+
.stat + .stat { border-left: 1px solid var(--line); }
|
|
699
|
+
.stat b {
|
|
700
|
+
font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
701
|
+
font-size: 24px;
|
|
702
|
+
font-weight: 600;
|
|
703
|
+
line-height: 1.1;
|
|
704
|
+
color: var(--ink);
|
|
705
|
+
letter-spacing: -0.02em;
|
|
706
|
+
}
|
|
707
|
+
.stat span { font-size: 11.5px; color: var(--ink-faint); }
|
|
708
|
+
.tone-live { color: var(--tone-info-dot) !important; }
|
|
709
|
+
.tone-warn { color: var(--tone-warning-dot) !important; }
|
|
710
|
+
.tone-ok { color: var(--tone-success-dot) !important; }
|
|
711
|
+
|
|
712
|
+
/* ── 工具行 ── */
|
|
713
|
+
.toolbar {
|
|
714
|
+
display: flex;
|
|
715
|
+
flex-wrap: wrap;
|
|
716
|
+
gap: 10px;
|
|
717
|
+
align-items: center;
|
|
718
|
+
margin-bottom: 14px;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.search {
|
|
722
|
+
display: flex;
|
|
723
|
+
flex: 1 1 260px;
|
|
724
|
+
gap: 8px;
|
|
725
|
+
align-items: center;
|
|
726
|
+
max-width: 380px;
|
|
727
|
+
padding: 0 12px;
|
|
728
|
+
background: var(--paper-raised);
|
|
729
|
+
border: 1px solid var(--line);
|
|
232
730
|
border-radius: 10px;
|
|
233
731
|
transition: border-color var(--transition-fast);
|
|
234
732
|
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
.
|
|
238
|
-
|
|
733
|
+
|
|
734
|
+
.search:focus-within { border-color: var(--line-strong, var(--ink-fainter)); }
|
|
735
|
+
.search span { font-size: 15px; color: var(--ink-faint); }
|
|
736
|
+
.search input {
|
|
737
|
+
width: 100%;
|
|
738
|
+
height: 36px;
|
|
739
|
+
font-family: var(--font-body);
|
|
239
740
|
font-size: 13px;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
color: var(--chat-canvas);
|
|
243
|
-
cursor: pointer;
|
|
244
|
-
background: var(--chat-ink);
|
|
741
|
+
color: var(--ink);
|
|
742
|
+
background: transparent;
|
|
245
743
|
border: 0;
|
|
744
|
+
outline: none;
|
|
745
|
+
}
|
|
746
|
+
.search input::placeholder { color: var(--ink-fainter); }
|
|
747
|
+
|
|
748
|
+
.seg {
|
|
749
|
+
display: inline-flex;
|
|
750
|
+
gap: 2px;
|
|
751
|
+
padding: 3px;
|
|
752
|
+
background: var(--paper-deep);
|
|
246
753
|
border-radius: 10px;
|
|
247
|
-
transition: opacity var(--transition-fast);
|
|
248
754
|
}
|
|
249
|
-
|
|
250
|
-
.
|
|
251
|
-
|
|
252
|
-
|
|
755
|
+
|
|
756
|
+
.seg-item {
|
|
757
|
+
display: inline-flex;
|
|
758
|
+
gap: 6px;
|
|
759
|
+
align-items: center;
|
|
760
|
+
padding: 6px 11px;
|
|
761
|
+
font-family: var(--font-body);
|
|
762
|
+
font-size: 12.5px;
|
|
763
|
+
color: var(--ink-soft);
|
|
764
|
+
cursor: pointer;
|
|
253
765
|
background: transparent;
|
|
254
|
-
border:
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
.
|
|
260
|
-
|
|
261
|
-
|
|
766
|
+
border: 0;
|
|
767
|
+
border-radius: 8px;
|
|
768
|
+
transition: background var(--transition-fast), color var(--transition-fast);
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.seg-item:hover { color: var(--ink); }
|
|
772
|
+
.seg-item.active {
|
|
773
|
+
color: var(--ink);
|
|
774
|
+
background: var(--paper-raised);
|
|
775
|
+
box-shadow: 0 1px 3px rgb(12 10 9 / 8%);
|
|
776
|
+
}
|
|
777
|
+
.seg-n {
|
|
778
|
+
font-family: var(--font-mono, ui-monospace, monospace);
|
|
779
|
+
font-size: 10.5px;
|
|
780
|
+
color: var(--ink-faint);
|
|
781
|
+
}
|
|
782
|
+
.toolbar-count {
|
|
783
|
+
margin-left: auto;
|
|
784
|
+
font-size: 11.5px;
|
|
785
|
+
color: var(--ink-faint);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.error-bar {
|
|
789
|
+
display: flex;
|
|
790
|
+
gap: 10px;
|
|
791
|
+
align-items: center;
|
|
792
|
+
padding: 10px 14px;
|
|
793
|
+
margin-bottom: 14px;
|
|
794
|
+
font-size: 12.5px;
|
|
795
|
+
color: var(--tone-danger-dot);
|
|
796
|
+
background: var(--tone-danger-bg);
|
|
797
|
+
border-radius: 10px;
|
|
798
|
+
}
|
|
799
|
+
.err-text { flex: 1 1 auto; }
|
|
800
|
+
|
|
801
|
+
/* ── 卡片栅格 ── */
|
|
802
|
+
.grid {
|
|
803
|
+
display: grid;
|
|
804
|
+
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
|
805
|
+
gap: 14px;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.pcard {
|
|
809
|
+
display: flex;
|
|
810
|
+
flex-direction: column;
|
|
811
|
+
gap: 12px;
|
|
812
|
+
padding: 16px 18px 14px;
|
|
813
|
+
color: inherit;
|
|
814
|
+
text-decoration: none;
|
|
815
|
+
cursor: pointer;
|
|
816
|
+
background: var(--paper-raised);
|
|
817
|
+
border: 1px solid var(--line);
|
|
818
|
+
border-radius: 14px;
|
|
819
|
+
transition: border-color var(--transition-fast), box-shadow var(--transition-base), transform var(--transition-base);
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.pcard:hover {
|
|
823
|
+
border-color: var(--line-strong, var(--ink-fainter));
|
|
824
|
+
box-shadow: 0 12px 30px rgb(12 10 9 / 7%);
|
|
262
825
|
transform: translateY(-1px);
|
|
263
826
|
}
|
|
264
|
-
.
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
827
|
+
.pcard:focus-visible {
|
|
828
|
+
outline: 2px solid var(--accent);
|
|
829
|
+
outline-offset: 2px;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.pc-head {
|
|
833
|
+
display: flex;
|
|
834
|
+
gap: 10px;
|
|
835
|
+
align-items: center;
|
|
836
|
+
}
|
|
837
|
+
.pc-icon {
|
|
838
|
+
display: inline-flex;
|
|
839
|
+
flex: 0 0 auto;
|
|
840
|
+
align-items: center;
|
|
841
|
+
justify-content: center;
|
|
842
|
+
width: 30px;
|
|
843
|
+
height: 30px;
|
|
844
|
+
font-size: 16px;
|
|
845
|
+
color: var(--ink-soft);
|
|
846
|
+
background: var(--paper-deep);
|
|
847
|
+
border-radius: 9px;
|
|
848
|
+
}
|
|
849
|
+
.pc-title {
|
|
850
|
+
display: flex;
|
|
851
|
+
flex: 1 1 auto;
|
|
852
|
+
flex-direction: column;
|
|
853
|
+
gap: 1px;
|
|
854
|
+
min-width: 0;
|
|
855
|
+
}
|
|
856
|
+
.pc-title strong {
|
|
857
|
+
overflow: hidden;
|
|
858
|
+
font-size: 14px;
|
|
859
|
+
font-weight: 650;
|
|
860
|
+
color: var(--ink);
|
|
861
|
+
text-overflow: ellipsis;
|
|
862
|
+
white-space: nowrap;
|
|
863
|
+
}
|
|
864
|
+
.pc-id { font-size: 10.5px; color: var(--ink-faint); }
|
|
865
|
+
|
|
866
|
+
.pill {
|
|
867
|
+
flex: 0 0 auto;
|
|
868
|
+
padding: 3px 9px;
|
|
269
869
|
font-size: 11px;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
870
|
+
font-weight: 600;
|
|
871
|
+
line-height: 15px;
|
|
872
|
+
color: var(--tone-neutral-dot);
|
|
873
|
+
background: var(--tone-neutral-bg);
|
|
273
874
|
border-radius: 999px;
|
|
274
875
|
}
|
|
275
|
-
.
|
|
276
|
-
.
|
|
277
|
-
.
|
|
278
|
-
.
|
|
279
|
-
.
|
|
280
|
-
|
|
281
|
-
.
|
|
876
|
+
.pill.active { color: var(--tone-info-dot); background: var(--tone-info-bg); }
|
|
877
|
+
.pill.draft { color: var(--tone-warning-dot); background: var(--tone-warning-bg); }
|
|
878
|
+
.pill.paused { color: var(--tone-warning-dot); background: var(--tone-warning-bg); }
|
|
879
|
+
.pill.completed { color: var(--tone-success-dot); background: var(--tone-success-bg); }
|
|
880
|
+
.pill.archived { color: var(--tone-neutral-dot); background: var(--tone-neutral-bg); }
|
|
881
|
+
|
|
882
|
+
.pc-objective {
|
|
883
|
+
display: -webkit-box;
|
|
884
|
+
min-height: 36px;
|
|
885
|
+
margin: 0;
|
|
886
|
+
overflow: hidden;
|
|
887
|
+
font-size: 12.5px;
|
|
888
|
+
line-height: 1.45;
|
|
889
|
+
color: var(--ink-soft);
|
|
890
|
+
-webkit-box-orient: vertical;
|
|
891
|
+
-webkit-line-clamp: 2;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
.pc-progress { display: flex; flex-direction: column; gap: 6px; }
|
|
895
|
+
.pc-progress-row {
|
|
282
896
|
display: flex;
|
|
897
|
+
justify-content: space-between;
|
|
898
|
+
font-size: 11.5px;
|
|
899
|
+
color: var(--ink-faint);
|
|
900
|
+
}
|
|
901
|
+
.pc-progress-row b { font-family: var(--font-mono, monospace); color: var(--ink-soft); }
|
|
902
|
+
.bar {
|
|
903
|
+
height: 4px;
|
|
904
|
+
overflow: hidden;
|
|
905
|
+
background: var(--paper-tint);
|
|
906
|
+
border-radius: 999px;
|
|
907
|
+
}
|
|
908
|
+
.bar i {
|
|
909
|
+
display: block;
|
|
910
|
+
height: 100%;
|
|
911
|
+
background: var(--accent);
|
|
912
|
+
border-radius: inherit;
|
|
913
|
+
transition: width var(--transition-base);
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
917
|
+
.chip {
|
|
918
|
+
display: inline-flex;
|
|
919
|
+
gap: 5px;
|
|
920
|
+
align-items: center;
|
|
921
|
+
padding: 3px 8px;
|
|
922
|
+
font-size: 11px;
|
|
923
|
+
color: var(--ink-soft);
|
|
924
|
+
background: var(--paper-deep);
|
|
925
|
+
border-radius: 7px;
|
|
926
|
+
}
|
|
927
|
+
.chip span[class^='i-tabler'] { font-size: 12px; color: var(--ink-faint); }
|
|
928
|
+
.chip.warn { color: var(--tone-warning-dot); background: var(--tone-warning-bg); }
|
|
929
|
+
.chip.warn span[class^='i-tabler'] { color: var(--tone-warning-dot); }
|
|
930
|
+
|
|
931
|
+
.pc-foot {
|
|
932
|
+
display: flex;
|
|
933
|
+
justify-content: space-between;
|
|
934
|
+
padding-top: 10px;
|
|
935
|
+
margin-top: auto;
|
|
936
|
+
font-size: 10.5px;
|
|
937
|
+
color: var(--ink-faint);
|
|
938
|
+
border-top: 1px solid var(--line);
|
|
939
|
+
}
|
|
940
|
+
.mono { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); }
|
|
941
|
+
|
|
942
|
+
/* ── 骨架屏 ── */
|
|
943
|
+
.skeleton-card {
|
|
944
|
+
display: flex;
|
|
945
|
+
flex-direction: column;
|
|
946
|
+
gap: 10px;
|
|
947
|
+
padding: 18px;
|
|
948
|
+
background: var(--paper-raised);
|
|
949
|
+
border: 1px solid var(--line);
|
|
950
|
+
border-radius: 14px;
|
|
951
|
+
}
|
|
952
|
+
.sk-line, .sk-bar {
|
|
953
|
+
height: 10px;
|
|
954
|
+
background: linear-gradient(90deg, var(--paper-deep) 25%, var(--paper-tint) 50%, var(--paper-deep) 75%);
|
|
955
|
+
background-size: 200% 100%;
|
|
956
|
+
border-radius: 6px;
|
|
957
|
+
animation: shimmer 1.4s ease-in-out infinite;
|
|
958
|
+
}
|
|
959
|
+
.sk-line.w40 { width: 40%; height: 14px; }
|
|
960
|
+
.sk-line.w80 { width: 80%; }
|
|
961
|
+
.sk-line.w60 { width: 60%; }
|
|
962
|
+
.sk-bar { height: 4px; margin-top: 8px; }
|
|
963
|
+
@keyframes shimmer {
|
|
964
|
+
0% { background-position: 200% 0; }
|
|
965
|
+
100% { background-position: -200% 0; }
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/* ── 空态 / 方法论 ── */
|
|
969
|
+
.empty {
|
|
970
|
+
display: flex;
|
|
971
|
+
flex-direction: column;
|
|
972
|
+
gap: 10px;
|
|
973
|
+
align-items: center;
|
|
974
|
+
padding: 44px 20px 38px;
|
|
975
|
+
text-align: center;
|
|
976
|
+
background: var(--paper-raised);
|
|
977
|
+
border: 1px dashed var(--line-strong, var(--line));
|
|
978
|
+
border-radius: 16px;
|
|
979
|
+
}
|
|
980
|
+
.empty-icon { font-size: 30px; color: var(--ink-fainter); }
|
|
981
|
+
.empty h2 { margin: 0; font-size: 16px; font-weight: 650; color: var(--ink); }
|
|
982
|
+
.empty p { max-width: 460px; margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-faint); }
|
|
983
|
+
|
|
984
|
+
.guide {
|
|
985
|
+
display: grid;
|
|
986
|
+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
283
987
|
gap: 12px;
|
|
284
|
-
|
|
988
|
+
padding-top: 18px;
|
|
989
|
+
margin-top: 22px;
|
|
990
|
+
border-top: 1px solid var(--line);
|
|
991
|
+
}
|
|
992
|
+
.guide-step { display: flex; gap: 10px; align-items: flex-start; }
|
|
993
|
+
.guide-n {
|
|
994
|
+
flex: 0 0 auto;
|
|
995
|
+
font-family: var(--font-mono, monospace);
|
|
285
996
|
font-size: 11px;
|
|
286
|
-
color: var(--
|
|
997
|
+
color: var(--ink-fainter);
|
|
998
|
+
letter-spacing: 0.06em;
|
|
999
|
+
}
|
|
1000
|
+
.guide-step b { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--ink); }
|
|
1001
|
+
.guide-step p { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-faint); }
|
|
1002
|
+
|
|
1003
|
+
/* ── 创建对话框 ── */
|
|
1004
|
+
.modal-body { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
|
|
1005
|
+
.form-grid {
|
|
1006
|
+
display: grid;
|
|
1007
|
+
grid-template-columns: 1fr 1fr;
|
|
1008
|
+
gap: 12px;
|
|
1009
|
+
}
|
|
1010
|
+
.form-grid label {
|
|
1011
|
+
display: flex;
|
|
1012
|
+
flex-direction: column;
|
|
1013
|
+
gap: 6px;
|
|
1014
|
+
font-size: 11.5px;
|
|
1015
|
+
color: var(--ink-faint);
|
|
1016
|
+
}
|
|
1017
|
+
.form-grid .span2 { grid-column: 1 / -1; }
|
|
1018
|
+
.form-grid input, .form-grid select, .form-grid textarea {
|
|
1019
|
+
width: 100%;
|
|
1020
|
+
padding: 9px 11px;
|
|
1021
|
+
font-family: var(--font-body);
|
|
1022
|
+
font-size: 13px;
|
|
1023
|
+
color: var(--ink);
|
|
1024
|
+
background: var(--paper-raised);
|
|
1025
|
+
border: 1px solid var(--line);
|
|
1026
|
+
border-radius: 10px;
|
|
1027
|
+
outline: none;
|
|
1028
|
+
transition: border-color var(--transition-fast);
|
|
1029
|
+
}
|
|
1030
|
+
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
|
|
1031
|
+
border-color: var(--line-strong, var(--ink-fainter));
|
|
1032
|
+
}
|
|
1033
|
+
.form-grid textarea { resize: vertical; }
|
|
1034
|
+
.check-row {
|
|
1035
|
+
flex-direction: row !important;
|
|
1036
|
+
gap: 8px !important;
|
|
1037
|
+
align-items: center;
|
|
1038
|
+
font-size: 12.5px !important;
|
|
1039
|
+
color: var(--ink-soft) !important;
|
|
1040
|
+
}
|
|
1041
|
+
.check-row input { width: auto; }
|
|
1042
|
+
.modal-hint { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-faint); }
|
|
1043
|
+
.form-error {
|
|
1044
|
+
padding: 8px 12px;
|
|
1045
|
+
margin: 0;
|
|
1046
|
+
font-size: 12px;
|
|
1047
|
+
color: var(--tone-danger-dot);
|
|
1048
|
+
background: var(--tone-danger-bg);
|
|
1049
|
+
border-radius: 8px;
|
|
1050
|
+
}
|
|
1051
|
+
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
|
|
1052
|
+
|
|
1053
|
+
.blueprint-box {
|
|
1054
|
+
display: flex;
|
|
1055
|
+
flex-direction: column;
|
|
1056
|
+
gap: 8px;
|
|
1057
|
+
padding: 12px 14px;
|
|
1058
|
+
background: var(--paper-deep);
|
|
1059
|
+
border-radius: 12px;
|
|
1060
|
+
}
|
|
1061
|
+
.blueprint-box header {
|
|
1062
|
+
display: flex;
|
|
1063
|
+
gap: 7px;
|
|
1064
|
+
align-items: center;
|
|
1065
|
+
font-size: 12.5px;
|
|
1066
|
+
color: var(--ink);
|
|
1067
|
+
}
|
|
1068
|
+
.blueprint-box p { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-faint); }
|
|
1069
|
+
.blueprint-row { display: flex; gap: 8px; }
|
|
1070
|
+
.blueprint-row select {
|
|
1071
|
+
flex: 1 1 auto;
|
|
1072
|
+
padding: 8px 10px;
|
|
1073
|
+
font-family: var(--font-body);
|
|
1074
|
+
font-size: 12.5px;
|
|
1075
|
+
color: var(--ink);
|
|
1076
|
+
background: var(--paper-raised);
|
|
1077
|
+
border: 1px solid var(--line);
|
|
1078
|
+
border-radius: 9px;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
.spin { animation: spin 0.9s linear infinite; }
|
|
1082
|
+
@keyframes spin { to { transform: rotate(360deg); } }
|
|
1083
|
+
|
|
1084
|
+
@media (max-width: 900px) {
|
|
1085
|
+
.stat-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
1086
|
+
.stat:nth-child(4), .stat:nth-child(5) { border-top: 1px solid var(--line); }
|
|
1087
|
+
.stat:nth-child(4) { border-left: 0; }
|
|
1088
|
+
.grid { grid-template-columns: 1fr; }
|
|
1089
|
+
.toolbar-count { display: none; }
|
|
1090
|
+
.form-grid { grid-template-columns: 1fr; }
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1094
|
+
.sk-line, .sk-bar { animation: none; }
|
|
1095
|
+
.spin { animation: none; }
|
|
1096
|
+
.pcard:hover { transform: none; }
|
|
287
1097
|
}
|
|
288
|
-
.empty { color: var(--chat-ink-faint); }
|
|
289
|
-
.error { color: var(--tone-danger-dot); }
|
|
290
|
-
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
|
|
291
|
-
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }
|
|
292
1098
|
</style>
|