@cleocode/cleo 2026.10.3 → 2026.10.5-rc.ci.672
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/README.md +7 -0
- package/bin/cleo.js +11 -1
- package/dist/cli/adapter-OUQRSFZL.js +159 -0
- package/dist/cli/add-4SRRJL4U.js +443 -0
- package/dist/cli/add-batch-TSWICA5J.js +164 -0
- package/dist/cli/admin-L3F6CDYH.js +1428 -0
- package/dist/cli/admin-YMU55YCU.js +341 -0
- package/dist/cli/adr-XESRMFMP.js +172 -0
- package/dist/cli/agent-TAFPIYUU.js +2404 -0
- package/dist/cli/agent-outputs-HVJJIPS4.js +84 -0
- package/dist/cli/analyze-YQ22QVGW.js +49 -0
- package/dist/cli/archive-W5XX6AH7.js +65 -0
- package/dist/cli/archive-stats-HP2KPAJU.js +101 -0
- package/dist/cli/attention-7JBDCRZX.js +124 -0
- package/dist/cli/attention-ZXZANHKC.js +168 -0
- package/dist/cli/audit-ICA2SEFN.js +122 -0
- package/dist/cli/auth-DXIG5OG7.js +491 -0
- package/dist/cli/backfill-LBSYBWLR.js +156 -0
- package/dist/cli/backup-NUGBZ7NA.js +588 -0
- package/dist/cli/backup-inspect-PDRXI45A.js +26 -0
- package/dist/cli/backup-recover-TVKAPERB.js +29 -0
- package/dist/cli/blockers-ZOPCGHDW.js +55 -0
- package/dist/cli/brain-EJOBKL4A.js +397 -0
- package/dist/cli/briefing-RDQJ6WHS.js +213 -0
- package/dist/cli/caamp-Z3XPKEHB.js +181 -0
- package/dist/cli/cancel-S7EHLCJN.js +85 -0
- package/dist/cli/canon-NPF5RODM.js +142 -0
- package/dist/cli/canon-docs-2GTOLF7Y.js +26 -0
- package/dist/cli/cant-CHNN6O57.js +239 -0
- package/dist/cli/changeset-RYPHPN2B.js +246 -0
- package/dist/cli/check-C67YAU7W.js +759 -0
- package/dist/cli/check-DHMURGHC.js +924 -0
- package/dist/cli/checkpoint-UWDFOGYQ.js +128 -0
- package/dist/cli/chunk-22YPFZYB.js +91 -0
- package/dist/cli/chunk-2MGFDMDF.js +272 -0
- package/dist/cli/chunk-47JYZAMS.js +30 -0
- package/dist/cli/chunk-4JYHPP4C.js +76 -0
- package/dist/cli/chunk-4PEODTHY.js +278 -0
- package/dist/cli/chunk-4RGSNUUP.js +950 -0
- package/dist/cli/chunk-4VASFLUW.js +35 -0
- package/dist/cli/chunk-5PNI276X.js +124 -0
- package/dist/cli/chunk-6JSJNYH2.js +114 -0
- package/dist/cli/chunk-6N6WGLXE.js +63 -0
- package/dist/cli/chunk-75UH3BLS.js +210 -0
- package/dist/cli/chunk-7ACK4EIN.js +92 -0
- package/dist/cli/chunk-7NMKLVMI.js +107 -0
- package/dist/cli/chunk-7SINJXB6.js +110 -0
- package/dist/cli/chunk-7UARFJYS.js +46 -0
- package/dist/cli/chunk-7ZYPQV4N.js +90 -0
- package/dist/cli/chunk-AQCYT3L4.js +72 -0
- package/dist/cli/chunk-BQK6XTOH.js +57 -0
- package/dist/cli/chunk-C3B7C43W.js +16 -0
- package/dist/cli/chunk-CAPAGD5E.js +98 -0
- package/dist/cli/chunk-CHGEDCKG.js +77 -0
- package/dist/cli/chunk-COXFJ3PT.js +74 -0
- package/dist/cli/chunk-D7BAQNV2.js +55 -0
- package/dist/cli/chunk-EIUXVHNF.js +258 -0
- package/dist/cli/chunk-EUGB6P5V.js +173 -0
- package/dist/cli/chunk-EW2CKNNZ.js +304 -0
- package/dist/cli/chunk-FSKN4DWC.js +108 -0
- package/dist/cli/chunk-FVKLULL7.js +48 -0
- package/dist/cli/chunk-GAGUBU4Z.js +280 -0
- package/dist/cli/chunk-GKRFH2YG.js +171 -0
- package/dist/cli/chunk-GRU74UE4.js +270 -0
- package/dist/cli/chunk-GZFVDR44.js +320 -0
- package/dist/cli/chunk-HFLLZE6A.js +83 -0
- package/dist/cli/chunk-HXRXT3XU.js +78 -0
- package/dist/cli/chunk-IIOGUY3B.js +258 -0
- package/dist/cli/chunk-ILWWL462.js +60 -0
- package/dist/cli/chunk-J5USPJKZ.js +48 -0
- package/dist/cli/chunk-KEQS36GD.js +88 -0
- package/dist/cli/chunk-L7ONYSV6.js +2497 -0
- package/dist/cli/chunk-LVGIFMCV.js +163 -0
- package/dist/cli/chunk-NEFMQYLE.js +656 -0
- package/dist/cli/chunk-NU6CQQVB.js +4501 -0
- package/dist/cli/chunk-OILHT47L.js +252 -0
- package/dist/cli/chunk-PKKZPOOP.js +352 -0
- package/dist/cli/chunk-PN4WW5VX.js +66 -0
- package/dist/cli/chunk-PSJ33WVO.js +56 -0
- package/dist/cli/chunk-QA6T2LQ5.js +71 -0
- package/dist/cli/chunk-QJJWWCIC.js +288 -0
- package/dist/cli/chunk-QKMBWYAS.js +93 -0
- package/dist/cli/chunk-QWNKLLLG.js +84 -0
- package/dist/cli/chunk-QWUFFDL3.js +85 -0
- package/dist/cli/chunk-QY76BRUZ.js +35 -0
- package/dist/cli/chunk-R45KVF5Y.js +117 -0
- package/dist/cli/chunk-RRKP7HLU.js +66 -0
- package/dist/cli/chunk-SXXOC6KZ.js +209 -0
- package/dist/cli/chunk-T6GZJYL3.js +108 -0
- package/dist/cli/chunk-TLQ37HRE.js +67 -0
- package/dist/cli/chunk-TPTNEJZJ.js +52 -0
- package/dist/cli/chunk-TYC7G5LF.js +100 -0
- package/dist/cli/chunk-UWCZY52R.js +766 -0
- package/dist/cli/chunk-VB3LDPL5.js +46 -0
- package/dist/cli/chunk-VLEYOOPH.js +31 -0
- package/dist/cli/chunk-W3JLYKKY.js +140 -0
- package/dist/cli/chunk-WWCYZYSN.js +56 -0
- package/dist/cli/chunk-XA5WISNV.js +52 -0
- package/dist/cli/chunk-XHRZ7OYZ.js +132 -0
- package/dist/cli/chunk-XLPMIGJJ.js +148 -0
- package/dist/cli/chunk-YY66LFZF.js +29 -0
- package/dist/cli/chunk-ZMGDZMSJ.js +210 -0
- package/dist/cli/claim-IGOG2QOC.js +97 -0
- package/dist/cli/classify-MG4N7GMQ.js +117 -0
- package/dist/cli/cli-A23Q335V.js +51 -0
- package/dist/cli/cloud-SILYJVKO.js +731 -0
- package/dist/cli/cockpit-RZKLGYPN.js +790 -0
- package/dist/cli/code-H2FQCVMW.js +178 -0
- package/dist/cli/complete-JLX7NBI4.js +35 -0
- package/dist/cli/complexity-OKV7PVZH.js +57 -0
- package/dist/cli/compliance-QMGZHJNQ.js +277 -0
- package/dist/cli/conduit-4H32UYEA.js +308 -0
- package/dist/cli/conduit-EY54WTZA.js +535 -0
- package/dist/cli/config-TDYOC7XO.js +519 -0
- package/dist/cli/consensus-4XCOFPPT.js +122 -0
- package/dist/cli/context-FN4YTGHD.js +142 -0
- package/dist/cli/contribution-7RWFBJLC.js +112 -0
- package/dist/cli/curator-HKZJCVRL.js +139 -0
- package/dist/cli/current-B2NU7V3G.js +43 -0
- package/dist/cli/daemon-GBD4TVCD.js +452 -0
- package/dist/cli/dash-IGDANIE5.js +71 -0
- package/dist/cli/decide-26SXC2V6.js +416 -0
- package/dist/cli/decompose-LQ76TEZG.js +78 -0
- package/dist/cli/decomposition-WFRWNUSJ.js +122 -0
- package/dist/cli/delete-T5DUQHOX.js +69 -0
- package/dist/cli/deps-UTPZJBXL.js +462 -0
- package/dist/cli/detect-FFZSMVDT.js +46 -0
- package/dist/cli/detect-drift-TVCJOFYJ.js +408 -0
- package/dist/cli/diagnostics-GN5CVD3N.js +93 -0
- package/dist/cli/diagnostics-ZNBKH6GX.js +133 -0
- package/dist/cli/docs-CLQKEEUK.js +1710 -0
- package/dist/cli/docs-DPPDFTWR.js +3098 -0
- package/dist/cli/doctor-GPENOP4N.js +1270 -0
- package/dist/cli/doctor-ac-bindings-S3IOEFP4.js +26 -0
- package/dist/cli/doctor-acceptance-drift-VNFKPBSQ.js +26 -0
- package/dist/cli/doctor-credentials-A5H4JMTF.js +26 -0
- package/dist/cli/doctor-db-substrate-FGCISE4Z.js +27 -0
- package/dist/cli/doctor-dep-cycles-BKKKHHYG.js +26 -0
- package/dist/cli/doctor-exodus-ND2DH2KP.js +26 -0
- package/dist/cli/doctor-exodus-residue-4EMRYMEQ.js +26 -0
- package/dist/cli/doctor-fk-check-VY3RIQV3.js +26 -0
- package/dist/cli/doctor-global-delivery-JN6IGHUL.js +26 -0
- package/dist/cli/doctor-heavy-command-hook-XSN44WXU.js +26 -0
- package/dist/cli/doctor-legacy-backups-QAG5NHYP.js +26 -0
- package/dist/cli/doctor-legacy-reaper-CIRGFE6R.js +26 -0
- package/dist/cli/doctor-malformed-ids-WL7HT4TB.js +26 -0
- package/dist/cli/doctor-manifest-rows-SMQCKJ2T.js +26 -0
- package/dist/cli/doctor-memory-guard-LJDOJG76.js +26 -0
- package/dist/cli/doctor-migrations-ETQPFNUP.js +26 -0
- package/dist/cli/doctor-nexus-residency-A4JMKBEJ.js +26 -0
- package/dist/cli/doctor-project-identity-FFQJ5LNX.js +26 -0
- package/dist/cli/doctor-projects-MFUTKRHP.js +30 -0
- package/dist/cli/doctor-projects-registry-76X6VTGM.js +26 -0
- package/dist/cli/doctor-release-readiness-QJCOPFTK.js +26 -0
- package/dist/cli/doctor-repair-AU76FIKY.js +26 -0
- package/dist/cli/doctor-row-identity-KW6JYZQE.js +26 -0
- package/dist/cli/doctor-skill-fixtures-G3T7JUHS.js +26 -0
- package/dist/cli/doctor-split-brain-FUW6L7FS.js +26 -0
- package/dist/cli/doctor-superseded-store-DUHGSBLC.js +26 -0
- package/dist/cli/doctor-sync-journal-SXMUIKF7.js +26 -0
- package/dist/cli/doctor-sync-triggers-6WNJZFRM.js +26 -0
- package/dist/cli/doctor-tool-locks-66LSLUBN.js +26 -0
- package/dist/cli/doctor-twin-collapse-AYBYBFC4.js +26 -0
- package/dist/cli/doctor-worktree-stores-C5XEH5OG.js +26 -0
- package/dist/cli/done-R64XRZ32.js +196 -0
- package/dist/cli/dynamic-RR4HB7BB.js +29 -0
- package/dist/cli/entities-3JIHDIOK.js +361 -0
- package/dist/cli/event-45KEWV5H.js +372 -0
- package/dist/cli/exists-BEDZS5RI.js +65 -0
- package/dist/cli/exodus-DUX62344.js +401 -0
- package/dist/cli/export-C5PQIQ5O.js +93 -0
- package/dist/cli/export-tasks-CUXDZPJB.js +97 -0
- package/dist/cli/federation-ESM35EGG.js +145 -0
- package/dist/cli/find-5EUZHHQJ.js +178 -0
- package/dist/cli/focus-6AH4KLRO.js +368 -0
- package/dist/cli/focus-ANKAIRO5.js +56 -0
- package/dist/cli/gateway-2GW2KTK3.js +77 -0
- package/dist/cli/gateway-auto-start-EDK7XI6E.js +36 -0
- package/dist/cli/gc-CTOQLUSA.js +291 -0
- package/dist/cli/go-YJPNHHYT.js +206 -0
- package/dist/cli/goal-4GW4G77D.js +213 -0
- package/dist/cli/grade-25WSZH4X.js +57 -0
- package/dist/cli/graph-JUO3TMF3.js +879 -0
- package/dist/cli/history-NACNUQTC.js +138 -0
- package/dist/cli/hook-UF7J7R6D.js +57 -0
- package/dist/cli/hook-entry.js +244 -19
- package/dist/cli/hygiene-3QZ2NI7P.js +55 -0
- package/dist/cli/import-7ESGL5SS.js +89 -0
- package/dist/cli/import-tasks-FLE2RPBR.js +109 -0
- package/dist/cli/index.js +601 -94637
- package/dist/cli/init-AN4DZ2XO.js +40 -0
- package/dist/cli/inject-HQWA5GWY.js +83 -0
- package/dist/cli/install-global-YQV4W5OG.js +95 -0
- package/dist/cli/intelligence-OFFNQGHE.js +238 -0
- package/dist/cli/intelligence-QIC4SN4X.js +182 -0
- package/dist/cli/issue-P5RNMRDG.js +159 -0
- package/dist/cli/janitor-ZNCFQ7E3.js +111 -0
- package/dist/cli/labels-ORBM3T57.js +88 -0
- package/dist/cli/lifecycle-MHR22TVI.js +273 -0
- package/dist/cli/list-LB6GCYYU.js +109 -0
- package/dist/cli/llm-H7LZWQKX.js +130 -0
- package/dist/cli/llm-OTJWPMGI.js +704 -0
- package/dist/cli/llm-cost-MLMXEAR4.js +25 -0
- package/dist/cli/llm-stream-AAEUNKRP.js +27 -0
- package/dist/cli/log-W2A5M2NA.js +76 -0
- package/dist/cli/login-SIXFFZSP.js +45 -0
- package/dist/cli/logout-G3KVLQQM.js +74 -0
- package/dist/cli/manifest-G4T6EBSI.js +354 -0
- package/dist/cli/map-VU5M72TK.js +53 -0
- package/dist/cli/memory-2E27G2G5.js +1952 -0
- package/dist/cli/memory-IAEYKXG6.js +1895 -0
- package/dist/cli/migrate-agents-v2-A52QIYNJ.js +33 -0
- package/dist/cli/migrate-claude-mem-TPDW3R4Z.js +206 -0
- package/dist/cli/next-SVH4LIDY.js +57 -0
- package/dist/cli/nexus-FPQV2EAF.js +1059 -0
- package/dist/cli/nexus-XSFXN5E6.js +2924 -0
- package/dist/cli/ops-K6LHY5J6.js +52 -0
- package/dist/cli/orchestrate-CZ2J6W3L.js +1650 -0
- package/dist/cli/orchestrate-HURUCQFT.js +950 -0
- package/dist/cli/otel-JCNPVJLZ.js +188 -0
- package/dist/cli/phase-VDFRASSO.js +221 -0
- package/dist/cli/pipeline-TCZPOEDR.js +697 -0
- package/dist/cli/pivot-V5MSQZ7L.js +88 -0
- package/dist/cli/plan-SQUGCKSM.js +49 -0
- package/dist/cli/playbook-L47GLDQD.js +230 -0
- package/dist/cli/playbook-NJVO4R6P.js +33 -0
- package/dist/cli/project-YZEC7GYF.js +331 -0
- package/dist/cli/promote-FINF4HVK.js +53 -0
- package/dist/cli/provenance-3TUWVBFR.js +141 -0
- package/dist/cli/provenance-YZG33JGM.js +129 -0
- package/dist/cli/provider-23JVLLG3.js +213 -0
- package/dist/cli/reason-FHN54O7O.js +138 -0
- package/dist/cli/reconcile-MOM5T4AX.js +128 -0
- package/dist/cli/refresh-memory-3OSTRAVK.js +45 -0
- package/dist/cli/relates-6FWUFUS2.js +260 -0
- package/dist/cli/release-G2DPSG5M.js +347 -0
- package/dist/cli/release-URX6JHZ2.js +525 -0
- package/dist/cli/remote-VIULU2T5.js +279 -0
- package/dist/cli/renderers-TGSW77J4.js +37 -0
- package/dist/cli/reorder-UIPN6TQY.js +87 -0
- package/dist/cli/reparent-ALOWWUIU.js +59 -0
- package/dist/cli/req-RH2Y3H7A.js +130 -0
- package/dist/cli/research-G2Y72HRC.js +366 -0
- package/dist/cli/restore-VBR5XNML.js +470 -0
- package/dist/cli/revert-32LDNSGP.js +240 -0
- package/dist/cli/roadmap-LFU3AG7D.js +62 -0
- package/dist/cli/run-HXRILSR7.js +245 -0
- package/dist/cli/safestop-Z5UC7NGQ.js +89 -0
- package/dist/cli/saga-Y6FZS6AM.js +286 -0
- package/dist/cli/schema-OOOKLWUE.js +195 -0
- package/dist/cli/self-update-26SOTJMH.js +504 -0
- package/dist/cli/selfimprove-4SMOCLUV.js +89 -0
- package/dist/cli/selfimprove-EB4RQLP4.js +139 -0
- package/dist/cli/sentient-QPETVE53.js +254 -0
- package/dist/cli/sentient-RGMWR4XJ.js +1088 -0
- package/dist/cli/sequence-H7DSAJPF.js +94 -0
- package/dist/cli/service-EK5MGB2D.js +156 -0
- package/dist/cli/service-GLOMZWPQ.js +437 -0
- package/dist/cli/session-HYUXAQGC.js +708 -0
- package/dist/cli/session-N5ISU56W.js +568 -0
- package/dist/cli/setup-L3YYV53D.js +323 -0
- package/dist/cli/show-364V3KY2.js +123 -0
- package/dist/cli/skill-F2KR6HW5.js +84 -0
- package/dist/cli/skills-FS3DCP6E.js +929 -0
- package/dist/cli/smoke-provider-SKUFMZXU.js +218 -0
- package/dist/cli/snapshot-EGXEQ5PR.js +120 -0
- package/dist/cli/src-LYLXHXHH.js +80 -0
- package/dist/cli/start-6DXOCCKL.js +68 -0
- package/dist/cli/stats-UVUQEGYC.js +96 -0
- package/dist/cli/status-XLKYLN42.js +157 -0
- package/dist/cli/sticky-VSTQ2I2O.js +264 -0
- package/dist/cli/sticky-XZXZDCFW.js +339 -0
- package/dist/cli/stop-VNOAFWNB.js +43 -0
- package/dist/cli/sync-YYPARW3A.js +155 -0
- package/dist/cli/tasks-C24KHTFF.js +1118 -0
- package/dist/cli/tasks-LBJC7CZV.js +175 -0
- package/dist/cli/telemetry-CU7W5WAY.js +120 -0
- package/dist/cli/templates-G42JBUY4.js +609 -0
- package/dist/cli/testing-HSRITHEY.js +147 -0
- package/dist/cli/token-J74E7TSU.js +221 -0
- package/dist/cli/tools-BI74W7VE.js +652 -0
- package/dist/cli/transcript-RGK7RSGQ.js +440 -0
- package/dist/cli/tui-BPUFHYKK.js +51 -0
- package/dist/cli/update-2KQWA27S.js +478 -0
- package/dist/cli/update-check-entry.js +124 -0
- package/dist/cli/update-notice-6SQ6WPQG.js +68 -0
- package/dist/cli/upgrade-E2MJAPC7.js +136 -0
- package/dist/cli/upgrade-XRSQ4RWH.js +243 -0
- package/dist/cli/verify-WASRGDBA.js +191 -0
- package/dist/cli/web-NJ3P67EU.js +275 -0
- package/dist/cli/workgraph-OHJ2VKJD.js +232 -0
- package/dist/cli/worktree-FVQLORFY.js +371 -0
- package/dist/cli/worktree-ZJ6JTQNG.js +287 -0
- package/package.json +13 -13
- package/studio-dist/client/_app/immutable/chunks/{DMj27Pxj.js → AH7dIemv.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{Dc2owyvE.js → BDgH40i3.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/BXDCSJ7U.js +1 -0
- package/studio-dist/client/_app/immutable/chunks/{qq3pe1aT.js → Gg4iYl59.js} +1 -1
- package/studio-dist/client/_app/immutable/entry/{app.CHWXLeE9.js → app.DUDNK-37.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.DNmZ0pA4.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.DmKQGvFh.js → 0.DWqP3ail.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.DqJk_REO.js → 1.CZGVUP5B.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.GUy6kdW1.js → 15.DGaflZRS.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.CcnKZ8f9.js → 16.uYlarGXl.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.DAlQF3lQ.js → 17.CZMR0E47.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.vQFr-vFj.js → 18.CBC-AKH_.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.GVOj5j_r.js → 20.BGi43MvQ.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.2-wC6DOh.js → 24.Dv8ftCyR.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/25.DQPVlTDQ.js +39 -0
- package/studio-dist/client/_app/immutable/nodes/{26.C3rNqzZF.js → 26.Cl800304.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.b-7pzc3M.js → 3.D_fQKj9f.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-BaCce-O1.js → 0-BpOagOst.js} +3 -3
- package/studio-dist/server/chunks/1-D0oRGR-C.js +9 -0
- package/studio-dist/server/chunks/{15-DRMOSIC9.js → 15-BcjHz7Tv.js} +3 -3
- package/studio-dist/server/chunks/{16-BulXhoZZ.js → 16-CXm8TUk7.js} +3 -3
- package/studio-dist/server/chunks/{17-DUEOCM0H.js → 17-mSgUK-cp.js} +3 -3
- package/studio-dist/server/chunks/{18-DP7Q8zPs.js → 18-BtfnIw1d.js} +3 -3
- package/studio-dist/server/chunks/{20-9ta6MI7q.js → 20-By1e4QDS.js} +3 -3
- package/studio-dist/server/chunks/{24-DysdL1ab.js → 24-0i2YLVxG.js} +3 -3
- package/studio-dist/server/chunks/{dist-CdoCt9zT.js → 25-DPsrqbrh.js} +797 -10736
- package/studio-dist/server/chunks/{26-Df4YXgg0.js → 26-P0XkOibm.js} +3 -3
- package/studio-dist/server/chunks/{3-BEhOhYpL.js → 3-WudjUK7e.js} +3 -3
- package/studio-dist/server/chunks/{_layout.svelte-CnLcXYG-.js → _layout.svelte-D9m81Rle.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-DGhXqeRc.js → _page.svelte-2PDLOF83.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Dv8tmDEC.js → _page.svelte-BjE3jm2K.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-C0qgUvzA.js → _page.svelte-Clc0vmiZ.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-ui7LnWkL.js → _page.svelte-DABdRT3h.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-HUqTICJR.js → _page.svelte-DG3PjiHj.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DzcZljiy.js → _page.svelte-Edy9CaE8.js} +20 -7
- package/studio-dist/server/chunks/{_page.svelte-DOl0DGOO.js → _page.svelte-Hrf3-ZR8.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Da4q5l93.js → _page.svelte-VB4O4Nl5.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CbyEPj2j.js → _page.svelte-d3jEgjsI.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-P4wVVksg.js → _server.ts-BcRFsyo3.js} +4 -5
- package/studio-dist/server/chunks/{_server.ts-Cr57EKWf.js → _server.ts-CEWpIFrj.js} +6 -5
- package/studio-dist/server/chunks/{_server.ts-CnKVmf_s.js → _server.ts-CLVdVIF9.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-C0evMKCk.js → _server.ts-D_j7aSy5.js} +6 -5
- package/studio-dist/server/chunks/{_server.ts-2BazvYRP.js → _server.ts-QEZF8h2q.js} +4 -5
- package/studio-dist/server/chunks/{client-CPM4LrO2.js → client-Kp1dP1od.js} +2 -2
- package/studio-dist/server/chunks/{error.svelte-ShcZo43D.js → error.svelte-WOCioJVX.js} +3 -3
- package/studio-dist/server/chunks/{hooks.server-D2qbf3Zp.js → hooks.server-DH9zkIrJ.js} +3 -1
- package/studio-dist/server/chunks/{http-BiQjEmVU.js → http-DT5kxaWk.js} +5 -4
- package/studio-dist/server/chunks/{internal-Cgsrya1j.js → internal-z0vqd5_u.js} +3 -3
- package/studio-dist/server/chunks/operations-registry-DdzmYzqX.js +10584 -0
- package/studio-dist/server/chunks/{stores-BGrpEDMK.js → stores-s2kaL315.js} +2 -2
- package/studio-dist/server/index.js +1 -1
- package/studio-dist/server/manifest.js +17 -17
- package/studio-dist/client/_app/immutable/chunks/Bw6J8NDM.js +0 -1
- package/studio-dist/client/_app/immutable/entry/start.C9bwPpvc.js +0 -1
- package/studio-dist/client/_app/immutable/nodes/25.D1vYaH8g.js +0 -39
- package/studio-dist/server/chunks/1-CVo7Nk6d.js +0 -9
- package/studio-dist/server/chunks/25-CYsps38R.js +0 -366
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
|
|
3
|
+
if (globalThis[_installed]) return;
|
|
4
|
+
globalThis[_installed] = true;
|
|
5
|
+
const _origEmitWarning = process.emitWarning;
|
|
6
|
+
process.emitWarning = function(warning, type, code, ctor) {
|
|
7
|
+
if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return _origEmitWarning.call(process, warning, type, code, ctor);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
|
|
17
|
+
// packages/cleo/src/dispatch/domains/admin/smoke-provider.ts
|
|
18
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
19
|
+
import { join } from "node:path";
|
|
20
|
+
import {
|
|
21
|
+
BRAIN_DB_FILENAME,
|
|
22
|
+
CLEO_DIR_NAME,
|
|
23
|
+
engineError,
|
|
24
|
+
engineSuccess
|
|
25
|
+
} from "@cleocode/runtime/gateway";
|
|
26
|
+
var VALID_PROVIDER_IDS = [
|
|
27
|
+
"claude-code",
|
|
28
|
+
"claude-sdk",
|
|
29
|
+
"codex",
|
|
30
|
+
"cursor",
|
|
31
|
+
"gemini-cli",
|
|
32
|
+
"kimi",
|
|
33
|
+
"openai-sdk",
|
|
34
|
+
"opencode",
|
|
35
|
+
"pi"
|
|
36
|
+
];
|
|
37
|
+
function isLocal(dbPath, projectCleoDir, cleoHome) {
|
|
38
|
+
return dbPath.startsWith(projectCleoDir) || dbPath.startsWith(cleoHome);
|
|
39
|
+
}
|
|
40
|
+
function classifySpawn(spawnSrcPath) {
|
|
41
|
+
if (!existsSync(spawnSrcPath)) return "no";
|
|
42
|
+
let src;
|
|
43
|
+
try {
|
|
44
|
+
src = readFileSync(spawnSrcPath, "utf-8");
|
|
45
|
+
} catch {
|
|
46
|
+
return "no";
|
|
47
|
+
}
|
|
48
|
+
const hasImpl = /\bspawn\b|\bexec\b|\bfork\b|\bchild_process\b|\bspawnSync\b/.test(src);
|
|
49
|
+
if (!hasImpl && /\bthrow\b/.test(src)) return "stub";
|
|
50
|
+
return "yes";
|
|
51
|
+
}
|
|
52
|
+
function countHookEvents(hooksSrcPath, canonicalEvents) {
|
|
53
|
+
if (!existsSync(hooksSrcPath)) return 0;
|
|
54
|
+
let src;
|
|
55
|
+
try {
|
|
56
|
+
src = readFileSync(hooksSrcPath, "utf-8");
|
|
57
|
+
} catch {
|
|
58
|
+
return 0;
|
|
59
|
+
}
|
|
60
|
+
let count = 0;
|
|
61
|
+
for (const event of canonicalEvents) {
|
|
62
|
+
if (src.includes(event)) count++;
|
|
63
|
+
}
|
|
64
|
+
return count;
|
|
65
|
+
}
|
|
66
|
+
function buildReport(partial) {
|
|
67
|
+
const sep = "\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550";
|
|
68
|
+
const lines = [
|
|
69
|
+
`CLEO Smoke Probe \u2014 provider: ${partial.providerId}`,
|
|
70
|
+
sep,
|
|
71
|
+
` Adapter loaded: ${partial.adapterLoaded ? "yes" : "no"}`
|
|
72
|
+
];
|
|
73
|
+
for (const db of partial.dbChecks) {
|
|
74
|
+
const label = ` ${db.name} local:`.padEnd(24);
|
|
75
|
+
lines.push(`${label}${db.local ? "yes" : "NO"} (${db.path})`);
|
|
76
|
+
}
|
|
77
|
+
lines.push(` Hooks declared: ${partial.hooksDeclared}`);
|
|
78
|
+
lines.push(` Spawn implementation: ${partial.spawnStatus}`);
|
|
79
|
+
lines.push(` Agent folder: ${partial.agentFolder ?? "(none \u2014 unknown provider)"}`);
|
|
80
|
+
lines.push("");
|
|
81
|
+
lines.push(
|
|
82
|
+
partial.passed ? "Result: PASS" : `Result: FAIL (${partial.failureReason ?? "invariant violated"})`
|
|
83
|
+
);
|
|
84
|
+
return lines.join("\n");
|
|
85
|
+
}
|
|
86
|
+
async function smokeProvider(providerId) {
|
|
87
|
+
if (!VALID_PROVIDER_IDS.includes(providerId)) {
|
|
88
|
+
return engineError(
|
|
89
|
+
"E_INVALID_INPUT",
|
|
90
|
+
`Unknown provider ID: "${providerId}". Valid IDs: ${VALID_PROVIDER_IDS.join(", ")}`
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
const coreInternal = await import("@cleocode/core/internal");
|
|
94
|
+
const projectRoot = (() => {
|
|
95
|
+
try {
|
|
96
|
+
return coreInternal.getProjectRoot();
|
|
97
|
+
} catch {
|
|
98
|
+
return process.env["CLEO_ROOT"] ?? process.cwd();
|
|
99
|
+
}
|
|
100
|
+
})();
|
|
101
|
+
const monorepoRoot = projectRoot;
|
|
102
|
+
const adapterDistPath = join(
|
|
103
|
+
monorepoRoot,
|
|
104
|
+
"packages",
|
|
105
|
+
"adapters",
|
|
106
|
+
"dist",
|
|
107
|
+
"providers",
|
|
108
|
+
providerId,
|
|
109
|
+
"index.js"
|
|
110
|
+
);
|
|
111
|
+
let adapterLoaded = false;
|
|
112
|
+
if (existsSync(adapterDistPath)) {
|
|
113
|
+
try {
|
|
114
|
+
const mod = await import(adapterDistPath);
|
|
115
|
+
const defaultExport = mod["default"];
|
|
116
|
+
if (typeof defaultExport === "function") {
|
|
117
|
+
const ctor = defaultExport;
|
|
118
|
+
try {
|
|
119
|
+
const instance = new ctor();
|
|
120
|
+
adapterLoaded = typeof instance.id === "string" && typeof instance.name === "string" && typeof instance.version === "string";
|
|
121
|
+
} catch {
|
|
122
|
+
adapterLoaded = existsSync(adapterDistPath);
|
|
123
|
+
}
|
|
124
|
+
} else {
|
|
125
|
+
adapterLoaded = typeof mod["id"] === "string" && typeof mod["name"] === "string";
|
|
126
|
+
}
|
|
127
|
+
} catch {
|
|
128
|
+
adapterLoaded = false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
const cleoHome = coreInternal.getCleoHome();
|
|
132
|
+
const projectCleoDir = join(projectRoot, CLEO_DIR_NAME);
|
|
133
|
+
const taskDbPath = coreInternal.getTaskPath(projectRoot);
|
|
134
|
+
const brainPath = join(projectCleoDir, BRAIN_DB_FILENAME);
|
|
135
|
+
const conduitDbPath = coreInternal.getConduitDbPath(projectRoot);
|
|
136
|
+
const nexusDbPath = coreInternal.getNexusDbPath();
|
|
137
|
+
const dbChecks = [
|
|
138
|
+
{ name: "brain.db", local: isLocal(brainPath, projectCleoDir, cleoHome), path: brainPath },
|
|
139
|
+
{ name: "nexus.db", local: isLocal(nexusDbPath, projectCleoDir, cleoHome), path: nexusDbPath },
|
|
140
|
+
{
|
|
141
|
+
name: "conduit.db",
|
|
142
|
+
local: isLocal(conduitDbPath, projectCleoDir, cleoHome),
|
|
143
|
+
path: conduitDbPath
|
|
144
|
+
},
|
|
145
|
+
{ name: "tasks.db", local: isLocal(taskDbPath, projectCleoDir, cleoHome), path: taskDbPath }
|
|
146
|
+
];
|
|
147
|
+
let canonicalEvents = [];
|
|
148
|
+
try {
|
|
149
|
+
const caamp = await import("@cleocode/caamp");
|
|
150
|
+
canonicalEvents = caamp.CANONICAL_HOOK_EVENTS;
|
|
151
|
+
} catch {
|
|
152
|
+
canonicalEvents = [];
|
|
153
|
+
}
|
|
154
|
+
const hooksSrcPath = join(
|
|
155
|
+
monorepoRoot,
|
|
156
|
+
"packages",
|
|
157
|
+
"adapters",
|
|
158
|
+
"src",
|
|
159
|
+
"providers",
|
|
160
|
+
providerId,
|
|
161
|
+
"hooks.ts"
|
|
162
|
+
);
|
|
163
|
+
const hooksDeclared = countHookEvents(hooksSrcPath, canonicalEvents);
|
|
164
|
+
const spawnSrcPath = join(
|
|
165
|
+
monorepoRoot,
|
|
166
|
+
"packages",
|
|
167
|
+
"adapters",
|
|
168
|
+
"src",
|
|
169
|
+
"providers",
|
|
170
|
+
providerId,
|
|
171
|
+
"spawn.ts"
|
|
172
|
+
);
|
|
173
|
+
const spawnStatus = classifySpawn(spawnSrcPath);
|
|
174
|
+
let agentFolder = null;
|
|
175
|
+
try {
|
|
176
|
+
const { getProviderAgentFolder } = await import("@cleocode/caamp");
|
|
177
|
+
agentFolder = getProviderAgentFolder(providerId);
|
|
178
|
+
} catch {
|
|
179
|
+
agentFolder = null;
|
|
180
|
+
}
|
|
181
|
+
const dbsLocal = dbChecks.every((c) => c.local);
|
|
182
|
+
const failReasons = [];
|
|
183
|
+
if (!adapterLoaded) failReasons.push("adapter did not load or missing id/name/version");
|
|
184
|
+
if (!dbsLocal) {
|
|
185
|
+
const nonLocal = dbChecks.filter((c) => !c.local).map((c) => c.name).join(", ");
|
|
186
|
+
failReasons.push(`non-local DB paths: ${nonLocal}`);
|
|
187
|
+
}
|
|
188
|
+
if (agentFolder === null) failReasons.push("agent folder unresolvable (unknown provider)");
|
|
189
|
+
const passed = failReasons.length === 0;
|
|
190
|
+
const partial = {
|
|
191
|
+
providerId,
|
|
192
|
+
adapterLoaded,
|
|
193
|
+
dbChecks,
|
|
194
|
+
hooksDeclared,
|
|
195
|
+
spawnStatus,
|
|
196
|
+
agentFolder,
|
|
197
|
+
passed,
|
|
198
|
+
...passed ? {} : { failureReason: failReasons.join("; ") }
|
|
199
|
+
};
|
|
200
|
+
const report = buildReport(partial);
|
|
201
|
+
const result = { ...partial, report };
|
|
202
|
+
if (!passed) {
|
|
203
|
+
return {
|
|
204
|
+
success: false,
|
|
205
|
+
error: {
|
|
206
|
+
code: "E_SMOKE_PROVIDER_FAIL",
|
|
207
|
+
message: `ADR-049 probe FAILED for provider "${providerId}": ${partial.failureReason}`,
|
|
208
|
+
exitCode: 1,
|
|
209
|
+
details: { result }
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
return engineSuccess(result);
|
|
214
|
+
}
|
|
215
|
+
export {
|
|
216
|
+
smokeProvider
|
|
217
|
+
};
|
|
218
|
+
//# sourceMappingURL=smoke-provider-SKUFMZXU.js.map
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
|
|
3
|
+
if (globalThis[_installed]) return;
|
|
4
|
+
globalThis[_installed] = true;
|
|
5
|
+
const _origEmitWarning = process.emitWarning;
|
|
6
|
+
process.emitWarning = function(warning, type, code, ctor) {
|
|
7
|
+
if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return _origEmitWarning.call(process, warning, type, code, ctor);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import {
|
|
17
|
+
dispatchFromCli,
|
|
18
|
+
dispatchRaw,
|
|
19
|
+
handleRawError
|
|
20
|
+
} from "./chunk-L7ONYSV6.js";
|
|
21
|
+
import "./chunk-6N6WGLXE.js";
|
|
22
|
+
import "./chunk-4VASFLUW.js";
|
|
23
|
+
import {
|
|
24
|
+
defineCommand,
|
|
25
|
+
showUsage
|
|
26
|
+
} from "./chunk-PKKZPOOP.js";
|
|
27
|
+
import "./chunk-QKMBWYAS.js";
|
|
28
|
+
import "./chunk-4RGSNUUP.js";
|
|
29
|
+
import "./chunk-6JSJNYH2.js";
|
|
30
|
+
import "./chunk-D7BAQNV2.js";
|
|
31
|
+
import "./chunk-TYC7G5LF.js";
|
|
32
|
+
|
|
33
|
+
// packages/cleo/src/cli/commands/snapshot.ts
|
|
34
|
+
var exportCommand = defineCommand({
|
|
35
|
+
meta: { name: "export", description: "Export current task state to a portable JSON snapshot" },
|
|
36
|
+
args: {
|
|
37
|
+
output: {
|
|
38
|
+
type: "string",
|
|
39
|
+
description: "Output file path (default: .cleo/snapshots/snapshot-<timestamp>.json)",
|
|
40
|
+
alias: "o"
|
|
41
|
+
},
|
|
42
|
+
stdout: {
|
|
43
|
+
type: "boolean",
|
|
44
|
+
description: "Write snapshot to stdout instead of file"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
async run({ args }) {
|
|
48
|
+
if (args.stdout) {
|
|
49
|
+
const response = await dispatchRaw("query", "admin", "export", { scope: "snapshot" });
|
|
50
|
+
handleRawError(response, { command: "snapshot", operation: "admin.export" });
|
|
51
|
+
const data = response.data;
|
|
52
|
+
if (data?.outputPath) {
|
|
53
|
+
const { readFile } = await import("node:fs/promises");
|
|
54
|
+
const content = await readFile(data.outputPath, "utf-8");
|
|
55
|
+
process.stdout.write(content);
|
|
56
|
+
if (!content.endsWith("\n")) process.stdout.write("\n");
|
|
57
|
+
}
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
await dispatchFromCli(
|
|
61
|
+
"query",
|
|
62
|
+
"admin",
|
|
63
|
+
"export",
|
|
64
|
+
{
|
|
65
|
+
scope: "snapshot",
|
|
66
|
+
output: args.output
|
|
67
|
+
},
|
|
68
|
+
{ command: "snapshot" }
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
var importCommand = defineCommand({
|
|
73
|
+
meta: {
|
|
74
|
+
name: "import",
|
|
75
|
+
description: "Import a task state snapshot into the local database"
|
|
76
|
+
},
|
|
77
|
+
args: {
|
|
78
|
+
file: {
|
|
79
|
+
type: "positional",
|
|
80
|
+
description: "Snapshot file to import",
|
|
81
|
+
required: true
|
|
82
|
+
},
|
|
83
|
+
"dry-run": {
|
|
84
|
+
type: "boolean",
|
|
85
|
+
description: "Preview import without making changes"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
async run({ args }) {
|
|
89
|
+
await dispatchFromCli(
|
|
90
|
+
"mutate",
|
|
91
|
+
"admin",
|
|
92
|
+
"import",
|
|
93
|
+
{
|
|
94
|
+
scope: "snapshot",
|
|
95
|
+
file: args.file,
|
|
96
|
+
dryRun: args["dry-run"]
|
|
97
|
+
},
|
|
98
|
+
{ command: "snapshot" }
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
var snapshotCommand = defineCommand({
|
|
103
|
+
meta: {
|
|
104
|
+
name: "snapshot",
|
|
105
|
+
description: "Export/import task state snapshots for multi-contributor sharing"
|
|
106
|
+
},
|
|
107
|
+
subCommands: {
|
|
108
|
+
export: exportCommand,
|
|
109
|
+
import: importCommand
|
|
110
|
+
},
|
|
111
|
+
async run({ cmd, rawArgs }) {
|
|
112
|
+
const firstArg = rawArgs?.find((a) => !a.startsWith("-"));
|
|
113
|
+
if (firstArg && cmd.subCommands && firstArg in cmd.subCommands) return;
|
|
114
|
+
await showUsage(cmd);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
export {
|
|
118
|
+
snapshotCommand
|
|
119
|
+
};
|
|
120
|
+
//# sourceMappingURL=snapshot-EGXEQ5PR.js.map
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
|
|
3
|
+
if (globalThis[_installed]) return;
|
|
4
|
+
globalThis[_installed] = true;
|
|
5
|
+
const _origEmitWarning = process.emitWarning;
|
|
6
|
+
process.emitWarning = function(warning, type, code, ctor) {
|
|
7
|
+
if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return _origEmitWarning.call(process, warning, type, code, ctor);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import {
|
|
17
|
+
DEFAULT_POLICY_RULES,
|
|
18
|
+
E_APPROVAL_ALREADY_DECIDED,
|
|
19
|
+
E_APPROVAL_NOT_FOUND,
|
|
20
|
+
E_PLAYBOOK_RESUME_BLOCKED,
|
|
21
|
+
E_PLAYBOOK_RUNTIME_INVALID,
|
|
22
|
+
PLAYBOOKS_PACKAGE_VERSION,
|
|
23
|
+
PlaybookParseError,
|
|
24
|
+
approveGate,
|
|
25
|
+
createApprovalGate,
|
|
26
|
+
createPlaybookApproval,
|
|
27
|
+
createPlaybookRun,
|
|
28
|
+
deletePlaybookRun,
|
|
29
|
+
evaluatePolicy,
|
|
30
|
+
executePlaybook,
|
|
31
|
+
generateResumeToken,
|
|
32
|
+
getPendingApprovals,
|
|
33
|
+
getPlaybookApprovalByToken,
|
|
34
|
+
getPlaybookRun,
|
|
35
|
+
getPlaybookSecret,
|
|
36
|
+
listPlaybookApprovals,
|
|
37
|
+
listPlaybookRuns,
|
|
38
|
+
migratePlaybook,
|
|
39
|
+
migratePlaybookFile,
|
|
40
|
+
parsePlaybook,
|
|
41
|
+
rejectGate,
|
|
42
|
+
resolveStepBindings,
|
|
43
|
+
resumePlaybook,
|
|
44
|
+
updatePlaybookApproval,
|
|
45
|
+
updatePlaybookRun,
|
|
46
|
+
validatePlaybookCompliance
|
|
47
|
+
} from "./chunk-NU6CQQVB.js";
|
|
48
|
+
export {
|
|
49
|
+
DEFAULT_POLICY_RULES,
|
|
50
|
+
E_APPROVAL_ALREADY_DECIDED,
|
|
51
|
+
E_APPROVAL_NOT_FOUND,
|
|
52
|
+
E_PLAYBOOK_RESUME_BLOCKED,
|
|
53
|
+
E_PLAYBOOK_RUNTIME_INVALID,
|
|
54
|
+
PLAYBOOKS_PACKAGE_VERSION,
|
|
55
|
+
PlaybookParseError,
|
|
56
|
+
approveGate,
|
|
57
|
+
createApprovalGate,
|
|
58
|
+
createPlaybookApproval,
|
|
59
|
+
createPlaybookRun,
|
|
60
|
+
deletePlaybookRun,
|
|
61
|
+
evaluatePolicy,
|
|
62
|
+
executePlaybook,
|
|
63
|
+
generateResumeToken,
|
|
64
|
+
getPendingApprovals,
|
|
65
|
+
getPlaybookApprovalByToken,
|
|
66
|
+
getPlaybookRun,
|
|
67
|
+
getPlaybookSecret,
|
|
68
|
+
listPlaybookApprovals,
|
|
69
|
+
listPlaybookRuns,
|
|
70
|
+
migratePlaybook,
|
|
71
|
+
migratePlaybookFile,
|
|
72
|
+
parsePlaybook,
|
|
73
|
+
rejectGate,
|
|
74
|
+
resolveStepBindings,
|
|
75
|
+
resumePlaybook,
|
|
76
|
+
updatePlaybookApproval,
|
|
77
|
+
updatePlaybookRun,
|
|
78
|
+
validatePlaybookCompliance
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=src-LYLXHXHH.js.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
|
|
3
|
+
if (globalThis[_installed]) return;
|
|
4
|
+
globalThis[_installed] = true;
|
|
5
|
+
const _origEmitWarning = process.emitWarning;
|
|
6
|
+
process.emitWarning = function(warning, type, code, ctor) {
|
|
7
|
+
if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return _origEmitWarning.call(process, warning, type, code, ctor);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import {
|
|
17
|
+
dispatchFromCli
|
|
18
|
+
} from "./chunk-L7ONYSV6.js";
|
|
19
|
+
import "./chunk-6N6WGLXE.js";
|
|
20
|
+
import "./chunk-4VASFLUW.js";
|
|
21
|
+
import {
|
|
22
|
+
defineCommand
|
|
23
|
+
} from "./chunk-PKKZPOOP.js";
|
|
24
|
+
import "./chunk-QKMBWYAS.js";
|
|
25
|
+
import "./chunk-4RGSNUUP.js";
|
|
26
|
+
import "./chunk-6JSJNYH2.js";
|
|
27
|
+
import "./chunk-D7BAQNV2.js";
|
|
28
|
+
import "./chunk-TYC7G5LF.js";
|
|
29
|
+
|
|
30
|
+
// packages/cleo/src/cli/commands/start.ts
|
|
31
|
+
var startCommand = defineCommand({
|
|
32
|
+
meta: {
|
|
33
|
+
name: "start",
|
|
34
|
+
description: "Start working on a task (sets it as the current task and takes your session's claim lease)"
|
|
35
|
+
},
|
|
36
|
+
args: {
|
|
37
|
+
taskId: {
|
|
38
|
+
type: "positional",
|
|
39
|
+
description: "ID of the task to start",
|
|
40
|
+
required: true
|
|
41
|
+
},
|
|
42
|
+
"take-over": {
|
|
43
|
+
type: "boolean",
|
|
44
|
+
description: "Take over another session's EXPIRED claim lease on the task (audited)"
|
|
45
|
+
},
|
|
46
|
+
"force-claim": {
|
|
47
|
+
type: "boolean",
|
|
48
|
+
description: "Take over another session's LIVE claim lease on the task (audited)"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
async run({ args }) {
|
|
52
|
+
await dispatchFromCli(
|
|
53
|
+
"mutate",
|
|
54
|
+
"tasks",
|
|
55
|
+
"start",
|
|
56
|
+
{
|
|
57
|
+
taskId: args.taskId,
|
|
58
|
+
...args["take-over"] === true ? { takeOver: true } : {},
|
|
59
|
+
...args["force-claim"] === true ? { forceClaim: true } : {}
|
|
60
|
+
},
|
|
61
|
+
{ command: "start" }
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
export {
|
|
66
|
+
startCommand
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=start-6DXOCCKL.js.map
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
|
|
3
|
+
if (globalThis[_installed]) return;
|
|
4
|
+
globalThis[_installed] = true;
|
|
5
|
+
const _origEmitWarning = process.emitWarning;
|
|
6
|
+
process.emitWarning = function(warning, type, code, ctor) {
|
|
7
|
+
if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return _origEmitWarning.call(process, warning, type, code, ctor);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import {
|
|
17
|
+
isSubCommandDispatch
|
|
18
|
+
} from "./chunk-YY66LFZF.js";
|
|
19
|
+
import {
|
|
20
|
+
dispatchFromCli
|
|
21
|
+
} from "./chunk-L7ONYSV6.js";
|
|
22
|
+
import "./chunk-6N6WGLXE.js";
|
|
23
|
+
import "./chunk-4VASFLUW.js";
|
|
24
|
+
import {
|
|
25
|
+
defineCommand
|
|
26
|
+
} from "./chunk-PKKZPOOP.js";
|
|
27
|
+
import "./chunk-QKMBWYAS.js";
|
|
28
|
+
import "./chunk-4RGSNUUP.js";
|
|
29
|
+
import "./chunk-6JSJNYH2.js";
|
|
30
|
+
import "./chunk-D7BAQNV2.js";
|
|
31
|
+
import "./chunk-TYC7G5LF.js";
|
|
32
|
+
|
|
33
|
+
// packages/cleo/src/cli/commands/stats.ts
|
|
34
|
+
var complianceCommand = defineCommand({
|
|
35
|
+
meta: {
|
|
36
|
+
name: "compliance",
|
|
37
|
+
description: "Agent workflow compliance dashboard (WF-001 through WF-005)"
|
|
38
|
+
},
|
|
39
|
+
args: {
|
|
40
|
+
since: {
|
|
41
|
+
type: "string",
|
|
42
|
+
description: "Filter to tasks/events from this date (ISO 8601)"
|
|
43
|
+
},
|
|
44
|
+
json: {
|
|
45
|
+
type: "boolean",
|
|
46
|
+
description: "Output raw JSON instead of formatted dashboard"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
async run({ args }) {
|
|
50
|
+
await dispatchFromCli(
|
|
51
|
+
"query",
|
|
52
|
+
"check",
|
|
53
|
+
"workflow.compliance",
|
|
54
|
+
{
|
|
55
|
+
since: args.since,
|
|
56
|
+
json: args.json
|
|
57
|
+
},
|
|
58
|
+
{ command: "stats compliance", operation: "check.workflow.compliance" }
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
var statsCommand = defineCommand({
|
|
63
|
+
meta: { name: "stats", description: "Project statistics (counts, completion rates, velocity)" },
|
|
64
|
+
args: {
|
|
65
|
+
period: {
|
|
66
|
+
type: "string",
|
|
67
|
+
description: "Analysis period: today/week/month/quarter/year or days",
|
|
68
|
+
alias: "p",
|
|
69
|
+
default: "30"
|
|
70
|
+
},
|
|
71
|
+
verbose: {
|
|
72
|
+
type: "boolean",
|
|
73
|
+
description: "Show detailed breakdowns per category",
|
|
74
|
+
alias: "v"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
subCommands: {
|
|
78
|
+
compliance: complianceCommand
|
|
79
|
+
},
|
|
80
|
+
async run({ args, cmd, rawArgs }) {
|
|
81
|
+
if (isSubCommandDispatch(rawArgs, cmd.subCommands)) return;
|
|
82
|
+
await dispatchFromCli(
|
|
83
|
+
"query",
|
|
84
|
+
"admin",
|
|
85
|
+
"stats",
|
|
86
|
+
{
|
|
87
|
+
period: args.period ?? 30
|
|
88
|
+
},
|
|
89
|
+
{ command: "stats", operation: "admin.stats" }
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
export {
|
|
94
|
+
statsCommand
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=stats-UVUQEGYC.js.map
|