@cleocode/cleo 2026.10.2 → 2026.10.4
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/bin/cleo.js +11 -1
- package/dist/cli/adapter-LVXHFBC4.js +158 -0
- package/dist/cli/add-WUAV7LDT.js +443 -0
- package/dist/cli/add-batch-U2DLKAQC.js +163 -0
- package/dist/cli/admin-I7BQYVZD.js +340 -0
- package/dist/cli/adr-K2THMQBS.js +171 -0
- package/dist/cli/agent-WQ6XY2DW.js +2366 -0
- package/dist/cli/agent-outputs-BJIYLVTU.js +84 -0
- package/dist/cli/analyze-PGQZWGOC.js +48 -0
- package/dist/cli/archive-5LZPF7C3.js +64 -0
- package/dist/cli/archive-stats-U6CYC6JM.js +100 -0
- package/dist/cli/attention-SOURWCNI.js +167 -0
- package/dist/cli/audit-FO2Y4LH2.js +122 -0
- package/dist/cli/auth-ED7TAIXI.js +491 -0
- package/dist/cli/backfill-32TRAYRD.js +156 -0
- package/dist/cli/backup-LEJMZJKL.js +587 -0
- package/dist/cli/backup-inspect-6HPLUEI2.js +26 -0
- package/dist/cli/backup-recover-2BTYBZU2.js +29 -0
- package/dist/cli/blockers-5JULUJTV.js +54 -0
- package/dist/cli/brain-273N3FW4.js +400 -0
- package/dist/cli/briefing-7H6OLECX.js +212 -0
- package/dist/cli/caamp-MFQVN6VU.js +181 -0
- package/dist/cli/cancel-SCMJTXZB.js +84 -0
- package/dist/cli/canon-NPF5RODM.js +142 -0
- package/dist/cli/canon-docs-2GTOLF7Y.js +26 -0
- package/dist/cli/cant-46XCUP4P.js +239 -0
- package/dist/cli/changeset-32NMBGG2.js +248 -0
- package/dist/cli/check-RWJLBCI2.js +907 -0
- package/dist/cli/checkpoint-37HMMKD7.js +128 -0
- package/dist/cli/chunk-2JIJD2I7.js +108 -0
- package/dist/cli/chunk-37NU2XDP.js +171 -0
- package/dist/cli/chunk-3IOQVUO7.js +17308 -0
- package/dist/cli/chunk-3PGH67MT.js +175 -0
- package/dist/cli/chunk-3ZO3M37V.js +1002 -0
- package/dist/cli/chunk-47JYZAMS.js +30 -0
- package/dist/cli/chunk-5J2VH3BC.js +66 -0
- package/dist/cli/chunk-5ZFFUFH7.js +92 -0
- package/dist/cli/chunk-6JSJNYH2.js +114 -0
- package/dist/cli/chunk-7INMKEAD.js +85 -0
- package/dist/cli/chunk-A2IUEIM5.js +278 -0
- package/dist/cli/chunk-AWCQH2W5.js +35 -0
- package/dist/cli/chunk-AYA6F4ZT.js +56 -0
- package/dist/cli/chunk-BCEXRFA2.js +76 -0
- package/dist/cli/chunk-BPEVD37G.js +124 -0
- package/dist/cli/chunk-C3B7C43W.js +16 -0
- package/dist/cli/chunk-DVTPIZJM.js +72 -0
- package/dist/cli/chunk-DYABOIHB.js +96 -0
- package/dist/cli/chunk-EBRZ76HS.js +51 -0
- package/dist/cli/chunk-EGOTK2HA.js +57 -0
- package/dist/cli/chunk-EOPQFCSR.js +148 -0
- package/dist/cli/chunk-FORFDPP5.js +288 -0
- package/dist/cli/chunk-GFGLLDXX.js +110 -0
- package/dist/cli/chunk-GH37QXW5.js +280 -0
- package/dist/cli/chunk-GZFVDR44.js +320 -0
- package/dist/cli/chunk-I3CRQQAD.js +225 -0
- package/dist/cli/chunk-J3ZFM3UQ.js +754 -0
- package/dist/cli/chunk-JNZJPIPJ.js +90 -0
- package/dist/cli/chunk-KHB52JNB.js +209 -0
- package/dist/cli/chunk-KJDWWQFY.js +46 -0
- package/dist/cli/chunk-LKNUA3SB.js +83 -0
- package/dist/cli/chunk-LVGIFMCV.js +163 -0
- package/dist/cli/chunk-LWQBJQSE.js +67 -0
- package/dist/cli/chunk-MNJRLSEQ.js +107 -0
- package/dist/cli/chunk-NRKWJLMS.js +91 -0
- package/dist/cli/chunk-NSHV2JNM.js +48 -0
- package/dist/cli/chunk-NWTATTEQ.js +210 -0
- package/dist/cli/chunk-OAPN46TC.js +89 -0
- package/dist/cli/chunk-OGV57L4J.js +59 -0
- package/dist/cli/chunk-OILHT47L.js +252 -0
- package/dist/cli/chunk-OPTEQKBB.js +258 -0
- package/dist/cli/chunk-PKKZPOOP.js +352 -0
- package/dist/cli/chunk-QA6T2LQ5.js +71 -0
- package/dist/cli/chunk-QFFQSKRC.js +4497 -0
- package/dist/cli/chunk-QPUY2HQZ.js +74 -0
- package/dist/cli/chunk-REUTEW3O.js +258 -0
- package/dist/cli/chunk-S24YI723.js +88 -0
- package/dist/cli/chunk-SXXOC6KZ.js +209 -0
- package/dist/cli/chunk-ULN4OKQQ.js +259 -0
- package/dist/cli/chunk-V5GBGOGM.js +46 -0
- package/dist/cli/chunk-VLEYOOPH.js +31 -0
- package/dist/cli/chunk-W33Q3FBH.js +66 -0
- package/dist/cli/chunk-W3JLYKKY.js +140 -0
- package/dist/cli/chunk-XRAX6XFP.js +48 -0
- package/dist/cli/chunk-YGKEECTI.js +78 -0
- package/dist/cli/chunk-YUZJI67I.js +108 -0
- package/dist/cli/chunk-YY66LFZF.js +29 -0
- package/dist/cli/chunk-ZBISIPCK.js +78 -0
- package/dist/cli/chunk-ZZTHTMQP.js +77 -0
- package/dist/cli/claim-KPENYHIQ.js +96 -0
- package/dist/cli/classify-DRVMCFQU.js +117 -0
- package/dist/cli/cli-T3CR7J57.js +48 -0
- package/dist/cli/cloud-PPQ4O5TX.js +565 -0
- package/dist/cli/cockpit-RZKLGYPN.js +790 -0
- package/dist/cli/code-Z5CTMVTD.js +178 -0
- package/dist/cli/complete-UBOCOBRB.js +34 -0
- package/dist/cli/complexity-BV2AGQRZ.js +56 -0
- package/dist/cli/compliance-32PD5Y47.js +276 -0
- package/dist/cli/conduit-VDKCH33F.js +307 -0
- package/dist/cli/config-I72JAXK4.js +516 -0
- package/dist/cli/consensus-LFILLSTK.js +121 -0
- package/dist/cli/context-XUUVFVTP.js +141 -0
- package/dist/cli/contribution-37NQ4N5R.js +111 -0
- package/dist/cli/curator-TFDXU2EX.js +139 -0
- package/dist/cli/current-C4SN5BWV.js +42 -0
- package/dist/cli/daemon-DV25JQ62.js +451 -0
- package/dist/cli/dash-TFU4RLQW.js +70 -0
- package/dist/cli/decide-5VPMNTSI.js +419 -0
- package/dist/cli/decompose-KOYEZNJL.js +77 -0
- package/dist/cli/decomposition-7OHUFIQN.js +121 -0
- package/dist/cli/delete-Q7YCAFY5.js +68 -0
- package/dist/cli/deps-6UZKLDGJ.js +463 -0
- package/dist/cli/detect-FERY35UL.js +45 -0
- package/dist/cli/detect-drift-UL2JTPUK.js +408 -0
- package/dist/cli/diagnostics-TI5QAZXR.js +132 -0
- package/dist/cli/docs-QI2PRN3T.js +3095 -0
- package/dist/cli/doctor-AX5TICQO.js +1253 -0
- package/dist/cli/doctor-ac-bindings-YPMYHU2G.js +26 -0
- package/dist/cli/doctor-acceptance-drift-PYNFGMKB.js +26 -0
- package/dist/cli/doctor-credentials-UZRIADKM.js +26 -0
- package/dist/cli/doctor-db-substrate-Q2TOYM2S.js +27 -0
- package/dist/cli/doctor-dep-cycles-GCVYZY6F.js +26 -0
- package/dist/cli/doctor-exodus-RO5SUTC2.js +26 -0
- package/dist/cli/doctor-exodus-residue-EM2AWQXP.js +26 -0
- package/dist/cli/doctor-fk-check-Q3FOLECE.js +26 -0
- package/dist/cli/doctor-global-delivery-TNOAQ3NP.js +26 -0
- package/dist/cli/doctor-heavy-command-hook-IO3QAQLG.js +26 -0
- package/dist/cli/doctor-legacy-backups-O2YH5VLS.js +26 -0
- package/dist/cli/doctor-legacy-reaper-VSEJEIFA.js +26 -0
- package/dist/cli/doctor-malformed-ids-LQ766V5K.js +26 -0
- package/dist/cli/doctor-manifest-rows-6FQDNHLH.js +26 -0
- package/dist/cli/doctor-memory-guard-J4PSEKB5.js +26 -0
- package/dist/cli/doctor-migrations-ONOH56YM.js +26 -0
- package/dist/cli/doctor-nexus-residency-FUQAX7PV.js +26 -0
- package/dist/cli/doctor-project-identity-GUDK3HYX.js +26 -0
- package/dist/cli/doctor-projects-7L3BNL4O.js +30 -0
- package/dist/cli/doctor-projects-registry-TEAVHFQU.js +26 -0
- package/dist/cli/doctor-release-readiness-IEGHX6SL.js +26 -0
- package/dist/cli/doctor-repair-NBONOSZU.js +26 -0
- package/dist/cli/doctor-skill-fixtures-7Y6L34A3.js +26 -0
- package/dist/cli/doctor-split-brain-TUKIGVHF.js +26 -0
- package/dist/cli/doctor-superseded-store-BHZY2B2L.js +26 -0
- package/dist/cli/doctor-tool-locks-REQMIVYK.js +26 -0
- package/dist/cli/doctor-twin-collapse-222GOSPE.js +26 -0
- package/dist/cli/doctor-worktree-stores-J7TCRVJ3.js +26 -0
- package/dist/cli/done-V3AOO65B.js +195 -0
- package/dist/cli/dynamic-RR4HB7BB.js +29 -0
- package/dist/cli/event-EGNPGE5A.js +372 -0
- package/dist/cli/exists-H4SDCBPL.js +65 -0
- package/dist/cli/exodus-KALO3B3X.js +401 -0
- package/dist/cli/export-ROFOCG4M.js +92 -0
- package/dist/cli/export-tasks-US3WBIEQ.js +96 -0
- package/dist/cli/federation-SUIB5QWT.js +145 -0
- package/dist/cli/find-YICG4BG6.js +177 -0
- package/dist/cli/focus-TKCZPKOM.js +55 -0
- package/dist/cli/gateway-H4HFDC3E.js +77 -0
- package/dist/cli/gateway-auto-start-EDK7XI6E.js +36 -0
- package/dist/cli/gc-5R2TUY5T.js +291 -0
- package/dist/cli/go-PRQFK5YG.js +206 -0
- package/dist/cli/goal-7CZRMLHC.js +212 -0
- package/dist/cli/grade-PY2YRPUS.js +56 -0
- package/dist/cli/graph-XIXMCFKG.js +878 -0
- package/dist/cli/history-EIXADPAD.js +137 -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-R73SO444.js +88 -0
- package/dist/cli/import-tasks-O22FZJ4U.js +108 -0
- package/dist/cli/index.js +419 -94607
- package/dist/cli/init-IHEJDQWU.js +40 -0
- package/dist/cli/inject-LSRVWNCP.js +82 -0
- package/dist/cli/install-global-4AZUCH6U.js +95 -0
- package/dist/cli/intelligence-2OSFOGD2.js +181 -0
- package/dist/cli/issue-IIWEDNFC.js +158 -0
- package/dist/cli/janitor-GPMC7VOR.js +111 -0
- package/dist/cli/labels-5NPOIQXN.js +87 -0
- package/dist/cli/lifecycle-4FFS2K2T.js +272 -0
- package/dist/cli/list-47KEUGPQ.js +108 -0
- package/dist/cli/llm-G5B3I6GD.js +703 -0
- package/dist/cli/llm-cost-S7RS6BVA.js +25 -0
- package/dist/cli/llm-stream-24A45NTS.js +27 -0
- package/dist/cli/log-XF6H2XSD.js +75 -0
- package/dist/cli/login-LBPLGHYG.js +43 -0
- package/dist/cli/logout-SX4JSJIV.js +74 -0
- package/dist/cli/manifest-NMCW4PIW.js +353 -0
- package/dist/cli/map-BU72KMGF.js +52 -0
- package/dist/cli/memory-UHYIVGVM.js +1956 -0
- package/dist/cli/migrate-agents-v2-OO7OILZK.js +33 -0
- package/dist/cli/migrate-claude-mem-EDNYUY3K.js +201 -0
- package/dist/cli/next-RZFRG5X7.js +56 -0
- package/dist/cli/nexus-4S4Z5EVU.js +2923 -0
- package/dist/cli/ops-KR7AWCG3.js +51 -0
- package/dist/cli/orchestrate-HOYZY3VX.js +948 -0
- package/dist/cli/otel-U7IIRBCT.js +188 -0
- package/dist/cli/phase-NYZFHUE5.js +220 -0
- package/dist/cli/pivot-FF2CVUZL.js +87 -0
- package/dist/cli/plan-3SL2NTRV.js +48 -0
- package/dist/cli/playbook-2FCBV7N3.js +229 -0
- package/dist/cli/project-WDX2TGMC.js +330 -0
- package/dist/cli/promote-YINYFBZY.js +52 -0
- package/dist/cli/provenance-C7AYD7WG.js +128 -0
- package/dist/cli/provider-QLJEDQBR.js +212 -0
- package/dist/cli/reason-JF5BHBM5.js +137 -0
- package/dist/cli/reconcile-NMISHDGX.js +127 -0
- package/dist/cli/refresh-memory-EY5YNICV.js +45 -0
- package/dist/cli/relates-R3ZPICAY.js +259 -0
- package/dist/cli/release-4ZJTMUUT.js +524 -0
- package/dist/cli/remote-QSONJDIK.js +279 -0
- package/dist/cli/renderers-64OR3IWX.js +37 -0
- package/dist/cli/reorder-J3DOE7ST.js +86 -0
- package/dist/cli/reparent-2OUMKEZX.js +58 -0
- package/dist/cli/req-TZB7OFKO.js +129 -0
- package/dist/cli/research-MTD7EX45.js +365 -0
- package/dist/cli/restore-VEUOX7NF.js +423 -0
- package/dist/cli/revert-3YF2IL5G.js +240 -0
- package/dist/cli/roadmap-7OOQLXKG.js +61 -0
- package/dist/cli/run-2U5NZV5Z.js +211 -0
- package/dist/cli/safestop-VR4VK56D.js +88 -0
- package/dist/cli/saga-SEWPIOX2.js +285 -0
- package/dist/cli/schema-C52WZ35V.js +195 -0
- package/dist/cli/self-update-GQIGUDPS.js +504 -0
- package/dist/cli/selfimprove-3Y5L4ECT.js +88 -0
- package/dist/cli/sentient-M4YMAVGV.js +1088 -0
- package/dist/cli/sequence-6UBMA4IF.js +93 -0
- package/dist/cli/service-5R7SILZ7.js +155 -0
- package/dist/cli/session-3C6AAC4Y.js +707 -0
- package/dist/cli/setup-BTUBW5PU.js +323 -0
- package/dist/cli/show-MXT2V7TF.js +122 -0
- package/dist/cli/skill-GFUZOU2C.js +84 -0
- package/dist/cli/skills-EDWLKAF3.js +928 -0
- package/dist/cli/smoke-provider-SKUFMZXU.js +218 -0
- package/dist/cli/snapshot-GUWMURCM.js +119 -0
- package/dist/cli/src-66GAKPXR.js +80 -0
- package/dist/cli/start-QFG56RGN.js +67 -0
- package/dist/cli/stats-GW55P7RR.js +95 -0
- package/dist/cli/status-46HTKNRR.js +157 -0
- package/dist/cli/sticky-2DUZOUGI.js +338 -0
- package/dist/cli/stop-J2QEUKHX.js +42 -0
- package/dist/cli/sync-GJP2QYT5.js +154 -0
- package/dist/cli/tasks-BNXTM7PB.js +174 -0
- package/dist/cli/telemetry-55Z2XJWL.js +120 -0
- package/dist/cli/templates-7O77TKPV.js +611 -0
- package/dist/cli/testing-37YTBNKP.js +146 -0
- package/dist/cli/token-UAVJMNUI.js +220 -0
- package/dist/cli/transcript-LORQTV5Z.js +440 -0
- package/dist/cli/tui-BPUFHYKK.js +51 -0
- package/dist/cli/update-NVCYV2FT.js +476 -0
- package/dist/cli/upgrade-OXJXOGEF.js +243 -0
- package/dist/cli/verify-LYLDHPT2.js +190 -0
- package/dist/cli/web-QP2RP266.js +275 -0
- package/dist/cli/workgraph-FXBSZDQE.js +232 -0
- package/dist/cli/worktree-6RXAJIST.js +370 -0
- package/package.json +13 -13
- package/studio-dist/client/_app/immutable/chunks/{Buaay_Q8.js → Btgeq_wq.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{BJp57kf2.js → CgBjxmu6.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{CLP4JZvZ.js → DgEKqO6r.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/t81h7afa.js +1 -0
- package/studio-dist/client/_app/immutable/entry/{app.CczVILch.js → app.a02HWaRB.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.BreMSngo.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.Zy2IsLEl.js → 0.nTXyRfc-.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.DJN1QI3l.js → 1.4zrWeHtl.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.B4rwqbHV.js → 15.D9mk4JyY.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.jn-5BG_L.js → 16._-wt-sQf.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.DnWGC4t9.js → 17.CUu6LQDj.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.0zddLZOY.js → 18.Dz4QRTkX.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.DEKHq9Tc.js → 20.CJ2_EB0U.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.CQB9KP-p.js → 24.Igj2FS7k.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{25.BaqToZD-.js → 25.BnATjVGN.js} +2 -2
- package/studio-dist/client/_app/immutable/nodes/{26.BiE1i4iE.js → 26.6iPyjT44.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.BObAOu_-.js → 3.AA5GwNgP.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-BmUoS2yd.js → 0-DGmsoBYm.js} +3 -3
- package/studio-dist/server/chunks/1-8PfxPvlK.js +9 -0
- package/studio-dist/server/chunks/{15-Dt4kqUxW.js → 15-Bg6YTndh.js} +3 -3
- package/studio-dist/server/chunks/{16-kgTLJvbO.js → 16-BObLwgyD.js} +3 -3
- package/studio-dist/server/chunks/{17-mRYB5141.js → 17-BNXGyAHX.js} +3 -3
- package/studio-dist/server/chunks/{18-BjZ325q5.js → 18-UqQFRIID.js} +3 -3
- package/studio-dist/server/chunks/{20-DQ2Vrujq.js → 20-CMn8a_yP.js} +3 -3
- package/studio-dist/server/chunks/{24-DAeuAfXN.js → 24-BuOTDzib.js} +3 -3
- package/studio-dist/server/chunks/{25-DGCNmzAS.js → 25-CIMSmjVx.js} +4 -4
- package/studio-dist/server/chunks/{26-CiN6bbmR.js → 26-DWGObn2T.js} +3 -3
- package/studio-dist/server/chunks/{3-BS2FXYjP.js → 3-CyiffdJZ.js} +3 -3
- package/studio-dist/server/chunks/{_layout.svelte-DJ_UWmGp.js → _layout.svelte-DYtClaIk.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-WR6jUiQE.js → _page.svelte-1h9E6s_f.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BUq8_eQH.js → _page.svelte-BNNF62Nm.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CRnYa4cW.js → _page.svelte-BT1EUadj.js} +5 -5
- package/studio-dist/server/chunks/{_page.svelte-Dk0znswQ.js → _page.svelte-Bip079LT.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CcP_KW3Y.js → _page.svelte-CEATWp_5.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Ca7x-ZvH.js → _page.svelte-CV3xiD1y.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-Cfv9tDBA.js → _page.svelte-Cv_KVJDV.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-J4HjPhfO.js → _page.svelte-DSSy6LuK.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-D8dLEr7O.js → _page.svelte-TF795TAS.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-Bih2-_5O.js → _server.ts-BlhRFLY3.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-Cr57EKWf.js → _server.ts-C4w6UdU0.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-P4wVVksg.js → _server.ts-CzrwbhkQ.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-2BazvYRP.js → _server.ts-DWt8Dziu.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-C0evMKCk.js → _server.ts-Db6mEile.js} +3 -3
- package/studio-dist/server/chunks/{client-Cl295FWH.js → client-D8f2k-H_.js} +2 -2
- package/studio-dist/server/chunks/{dist-CdoCt9zT.js → dist-B8xbIrdB.js} +3 -1
- package/studio-dist/server/chunks/{error.svelte-ajn1HNOb.js → error.svelte-DbbOwIme.js} +3 -3
- package/studio-dist/server/chunks/{http-BiQjEmVU.js → http-1ftNGTs5.js} +2 -2
- package/studio-dist/server/chunks/{internal-D9MtKHIF.js → internal-CTULuLPB.js} +2 -2
- package/studio-dist/server/chunks/{stores-BlknvZ80.js → stores-CS5XOReX.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/C3l-lTkq.js +0 -1
- package/studio-dist/client/_app/immutable/entry/start.D7gHmBNS.js +0 -1
- package/studio-dist/server/chunks/1-CTjj2MYz.js +0 -9
|
@@ -0,0 +1,128 @@
|
|
|
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
|
+
defineCommand,
|
|
18
|
+
showUsage
|
|
19
|
+
} from "./chunk-PKKZPOOP.js";
|
|
20
|
+
import {
|
|
21
|
+
dispatchFromCli
|
|
22
|
+
} from "./chunk-3IOQVUO7.js";
|
|
23
|
+
import "./chunk-AWCQH2W5.js";
|
|
24
|
+
import "./chunk-OGV57L4J.js";
|
|
25
|
+
import "./chunk-ZBISIPCK.js";
|
|
26
|
+
import "./chunk-3ZO3M37V.js";
|
|
27
|
+
import "./chunk-6JSJNYH2.js";
|
|
28
|
+
import "./chunk-QFFQSKRC.js";
|
|
29
|
+
|
|
30
|
+
// packages/cleo/src/cli/commands/provenance.ts
|
|
31
|
+
var backfillCommand = defineCommand({
|
|
32
|
+
meta: {
|
|
33
|
+
name: "backfill",
|
|
34
|
+
description: "Walk historical git tags from --since and populate the 11 provenance tables"
|
|
35
|
+
},
|
|
36
|
+
args: {
|
|
37
|
+
since: {
|
|
38
|
+
type: "string",
|
|
39
|
+
description: "Lower-bound version (exclusive). Tags newer than this are reconciled. Empty string = all tags.",
|
|
40
|
+
required: true
|
|
41
|
+
},
|
|
42
|
+
"force-overwrite": {
|
|
43
|
+
type: "boolean",
|
|
44
|
+
description: "UPDATE existing rows on conflict (audit-logged). Default: UPSERT-on-insert only."
|
|
45
|
+
},
|
|
46
|
+
"dry-run": {
|
|
47
|
+
type: "boolean",
|
|
48
|
+
description: "Enumerate the tag set + return the plan without writing to the DB"
|
|
49
|
+
},
|
|
50
|
+
"reset-checkpoint": {
|
|
51
|
+
type: "boolean",
|
|
52
|
+
description: "Clear the existing .cleo/release/backfill-state.json before starting (do NOT resume)"
|
|
53
|
+
},
|
|
54
|
+
json: { type: "boolean", description: "Emit LAFS envelope" }
|
|
55
|
+
},
|
|
56
|
+
async run({ args }) {
|
|
57
|
+
await dispatchFromCli(
|
|
58
|
+
"mutate",
|
|
59
|
+
"provenance",
|
|
60
|
+
"backfill",
|
|
61
|
+
{
|
|
62
|
+
since: args.since,
|
|
63
|
+
forceOverwrite: args["force-overwrite"] === true,
|
|
64
|
+
dryRun: args["dry-run"] === true,
|
|
65
|
+
resetCheckpoint: args["reset-checkpoint"] === true
|
|
66
|
+
},
|
|
67
|
+
{ command: "provenance" }
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
var verifyCommand = defineCommand({
|
|
72
|
+
meta: {
|
|
73
|
+
name: "verify",
|
|
74
|
+
description: "Audit the 11 provenance tables for a release (FK integrity, orphans, evidence staleness)"
|
|
75
|
+
},
|
|
76
|
+
args: {
|
|
77
|
+
version: {
|
|
78
|
+
type: "positional",
|
|
79
|
+
description: "Release version to verify (e.g. v2026.6.0). Optional when --all is set.",
|
|
80
|
+
required: false
|
|
81
|
+
},
|
|
82
|
+
all: {
|
|
83
|
+
type: "boolean",
|
|
84
|
+
description: "Verify the most-recent N releases instead of a single version"
|
|
85
|
+
},
|
|
86
|
+
limit: {
|
|
87
|
+
type: "string",
|
|
88
|
+
description: "How many releases to verify in --all mode (default 5)"
|
|
89
|
+
},
|
|
90
|
+
json: { type: "boolean", description: "Emit LAFS envelope" }
|
|
91
|
+
},
|
|
92
|
+
async run({ args }) {
|
|
93
|
+
const version = typeof args.version === "string" ? args.version : void 0;
|
|
94
|
+
const all = args.all === true;
|
|
95
|
+
const limitArg = typeof args.limit === "string" ? args.limit : void 0;
|
|
96
|
+
const limit = limitArg ? Number.parseInt(limitArg, 10) : void 0;
|
|
97
|
+
await dispatchFromCli(
|
|
98
|
+
"query",
|
|
99
|
+
"provenance",
|
|
100
|
+
"verify",
|
|
101
|
+
{
|
|
102
|
+
...version ? { version } : {},
|
|
103
|
+
all,
|
|
104
|
+
...limit && Number.isFinite(limit) ? { limit } : {}
|
|
105
|
+
},
|
|
106
|
+
{ command: "provenance" }
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
var provenanceCommand = defineCommand({
|
|
111
|
+
meta: {
|
|
112
|
+
name: "provenance",
|
|
113
|
+
description: "Provenance-graph maintenance: backfill, verify, repair"
|
|
114
|
+
},
|
|
115
|
+
subCommands: {
|
|
116
|
+
backfill: backfillCommand,
|
|
117
|
+
verify: verifyCommand
|
|
118
|
+
},
|
|
119
|
+
async run({ cmd, rawArgs }) {
|
|
120
|
+
const firstArg = rawArgs?.find((a) => !a.startsWith("-"));
|
|
121
|
+
if (firstArg && cmd.subCommands && firstArg in cmd.subCommands) return;
|
|
122
|
+
await showUsage(cmd);
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
export {
|
|
126
|
+
provenanceCommand
|
|
127
|
+
};
|
|
128
|
+
//# sourceMappingURL=provenance-C7AYD7WG.js.map
|
|
@@ -0,0 +1,212 @@
|
|
|
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
|
+
defineCommand
|
|
21
|
+
} from "./chunk-PKKZPOOP.js";
|
|
22
|
+
import {
|
|
23
|
+
dispatchFromCli
|
|
24
|
+
} from "./chunk-3IOQVUO7.js";
|
|
25
|
+
import "./chunk-AWCQH2W5.js";
|
|
26
|
+
import "./chunk-OGV57L4J.js";
|
|
27
|
+
import "./chunk-ZBISIPCK.js";
|
|
28
|
+
import "./chunk-3ZO3M37V.js";
|
|
29
|
+
import "./chunk-6JSJNYH2.js";
|
|
30
|
+
import "./chunk-QFFQSKRC.js";
|
|
31
|
+
|
|
32
|
+
// packages/cleo/src/cli/commands/provider.ts
|
|
33
|
+
var listCommand = defineCommand({
|
|
34
|
+
meta: { name: "list", description: "List all registered CAAMP providers" },
|
|
35
|
+
args: {
|
|
36
|
+
limit: {
|
|
37
|
+
type: "string",
|
|
38
|
+
description: "Maximum providers to return"
|
|
39
|
+
},
|
|
40
|
+
offset: {
|
|
41
|
+
type: "string",
|
|
42
|
+
description: "Offset for pagination"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
async run({ args }) {
|
|
46
|
+
await dispatchFromCli(
|
|
47
|
+
"query",
|
|
48
|
+
"tools",
|
|
49
|
+
"provider.list",
|
|
50
|
+
{
|
|
51
|
+
limit: args.limit ? Number.parseInt(args.limit, 10) : void 0,
|
|
52
|
+
offset: args.offset ? Number.parseInt(args.offset, 10) : void 0
|
|
53
|
+
},
|
|
54
|
+
{ command: "provider", operation: "tools.provider.list" }
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
var detectCommand = defineCommand({
|
|
59
|
+
meta: {
|
|
60
|
+
name: "detect",
|
|
61
|
+
description: "Detect which provider is active in the current environment"
|
|
62
|
+
},
|
|
63
|
+
async run() {
|
|
64
|
+
await dispatchFromCli(
|
|
65
|
+
"query",
|
|
66
|
+
"tools",
|
|
67
|
+
"provider.detect",
|
|
68
|
+
{},
|
|
69
|
+
{ command: "provider", operation: "tools.provider.detect" }
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
var injectStatusCommand = defineCommand({
|
|
74
|
+
meta: {
|
|
75
|
+
name: "inject-status",
|
|
76
|
+
description: "Show provider injection status for project or global scope"
|
|
77
|
+
},
|
|
78
|
+
args: {
|
|
79
|
+
scope: {
|
|
80
|
+
type: "string",
|
|
81
|
+
description: "Scope: project or global (default: project)",
|
|
82
|
+
default: "project"
|
|
83
|
+
},
|
|
84
|
+
content: {
|
|
85
|
+
type: "string",
|
|
86
|
+
description: "Content string to check against"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
async run({ args }) {
|
|
90
|
+
await dispatchFromCli(
|
|
91
|
+
"query",
|
|
92
|
+
"tools",
|
|
93
|
+
"provider.inject.status",
|
|
94
|
+
{
|
|
95
|
+
scope: args.scope,
|
|
96
|
+
content: args.content
|
|
97
|
+
},
|
|
98
|
+
{ command: "provider", operation: "tools.provider.inject.status" }
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
var supportsCommand = defineCommand({
|
|
103
|
+
meta: {
|
|
104
|
+
name: "supports",
|
|
105
|
+
description: "Check if a provider supports a capability (e.g., spawn.supportsSubagents)"
|
|
106
|
+
},
|
|
107
|
+
args: {
|
|
108
|
+
providerId: {
|
|
109
|
+
type: "positional",
|
|
110
|
+
description: "Provider ID to check",
|
|
111
|
+
required: true
|
|
112
|
+
},
|
|
113
|
+
capability: {
|
|
114
|
+
type: "positional",
|
|
115
|
+
description: "Capability to check (e.g., spawn.supportsSubagents)",
|
|
116
|
+
required: true
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
async run({ args }) {
|
|
120
|
+
await dispatchFromCli(
|
|
121
|
+
"query",
|
|
122
|
+
"tools",
|
|
123
|
+
"provider.supports",
|
|
124
|
+
{ providerId: args.providerId, capability: args.capability },
|
|
125
|
+
{ command: "provider", operation: "tools.provider.supports" }
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
var hooksCommand = defineCommand({
|
|
130
|
+
meta: {
|
|
131
|
+
name: "hooks",
|
|
132
|
+
description: "List providers that support a specific hook event (e.g., onSessionStart)"
|
|
133
|
+
},
|
|
134
|
+
args: {
|
|
135
|
+
event: {
|
|
136
|
+
type: "positional",
|
|
137
|
+
description: "Hook event name (e.g., onSessionStart)",
|
|
138
|
+
required: true
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
async run({ args }) {
|
|
142
|
+
await dispatchFromCli(
|
|
143
|
+
"query",
|
|
144
|
+
"tools",
|
|
145
|
+
"provider.hooks",
|
|
146
|
+
{ event: args.event },
|
|
147
|
+
{ command: "provider", operation: "tools.provider.hooks" }
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
var injectCommand = defineCommand({
|
|
152
|
+
meta: {
|
|
153
|
+
name: "inject",
|
|
154
|
+
description: "Inject provider references into AGENTS.md (project or global scope)"
|
|
155
|
+
},
|
|
156
|
+
args: {
|
|
157
|
+
scope: {
|
|
158
|
+
type: "string",
|
|
159
|
+
description: "Scope: project or global (default: project)",
|
|
160
|
+
default: "project"
|
|
161
|
+
},
|
|
162
|
+
references: {
|
|
163
|
+
type: "string",
|
|
164
|
+
description: "Provider reference IDs to inject (comma-separated)"
|
|
165
|
+
},
|
|
166
|
+
content: {
|
|
167
|
+
type: "string",
|
|
168
|
+
description: "Content string to inject directly"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
async run({ args }) {
|
|
172
|
+
await dispatchFromCli(
|
|
173
|
+
"mutate",
|
|
174
|
+
"tools",
|
|
175
|
+
"provider.inject",
|
|
176
|
+
{
|
|
177
|
+
scope: args.scope,
|
|
178
|
+
references: args.references,
|
|
179
|
+
content: args.content
|
|
180
|
+
},
|
|
181
|
+
{ command: "provider", operation: "tools.provider.inject" }
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
var providerCommand = defineCommand({
|
|
186
|
+
meta: {
|
|
187
|
+
name: "provider",
|
|
188
|
+
description: "CAAMP provider registry: list, detect, supports, hooks, inject"
|
|
189
|
+
},
|
|
190
|
+
subCommands: {
|
|
191
|
+
list: listCommand,
|
|
192
|
+
detect: detectCommand,
|
|
193
|
+
"inject-status": injectStatusCommand,
|
|
194
|
+
supports: supportsCommand,
|
|
195
|
+
hooks: hooksCommand,
|
|
196
|
+
inject: injectCommand
|
|
197
|
+
},
|
|
198
|
+
async run({ cmd, rawArgs }) {
|
|
199
|
+
if (isSubCommandDispatch(rawArgs, cmd.subCommands)) return;
|
|
200
|
+
await dispatchFromCli(
|
|
201
|
+
"query",
|
|
202
|
+
"tools",
|
|
203
|
+
"provider.list",
|
|
204
|
+
{},
|
|
205
|
+
{ command: "provider", operation: "tools.provider.list" }
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
export {
|
|
210
|
+
providerCommand
|
|
211
|
+
};
|
|
212
|
+
//# sourceMappingURL=provider-QLJEDQBR.js.map
|
|
@@ -0,0 +1,137 @@
|
|
|
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
|
+
defineCommand,
|
|
18
|
+
showUsage
|
|
19
|
+
} from "./chunk-PKKZPOOP.js";
|
|
20
|
+
import {
|
|
21
|
+
dispatchFromCli
|
|
22
|
+
} from "./chunk-3IOQVUO7.js";
|
|
23
|
+
import "./chunk-AWCQH2W5.js";
|
|
24
|
+
import "./chunk-OGV57L4J.js";
|
|
25
|
+
import "./chunk-ZBISIPCK.js";
|
|
26
|
+
import {
|
|
27
|
+
cliError
|
|
28
|
+
} from "./chunk-3ZO3M37V.js";
|
|
29
|
+
import "./chunk-6JSJNYH2.js";
|
|
30
|
+
import "./chunk-QFFQSKRC.js";
|
|
31
|
+
|
|
32
|
+
// packages/cleo/src/cli/commands/reason.ts
|
|
33
|
+
var impactCommand = defineCommand({
|
|
34
|
+
meta: {
|
|
35
|
+
name: "impact",
|
|
36
|
+
description: "Predict impact of a change. Use --change for free-text prediction, or pass a taskId for graph-based analysis."
|
|
37
|
+
},
|
|
38
|
+
args: {
|
|
39
|
+
taskId: {
|
|
40
|
+
type: "positional",
|
|
41
|
+
description: "Task ID for graph-based dependency impact analysis",
|
|
42
|
+
required: false
|
|
43
|
+
},
|
|
44
|
+
change: {
|
|
45
|
+
type: "string",
|
|
46
|
+
description: "Free-text description of the proposed change (T043)"
|
|
47
|
+
},
|
|
48
|
+
limit: {
|
|
49
|
+
type: "string",
|
|
50
|
+
description: "Maximum seed tasks to match when using --change (default: 5)",
|
|
51
|
+
default: "5"
|
|
52
|
+
},
|
|
53
|
+
depth: {
|
|
54
|
+
type: "string",
|
|
55
|
+
description: "Maximum traversal depth when using taskId (default: 10)",
|
|
56
|
+
default: "10"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
async run({ args }) {
|
|
60
|
+
const change = args.change;
|
|
61
|
+
const taskId = args.taskId;
|
|
62
|
+
if (change) {
|
|
63
|
+
await dispatchFromCli(
|
|
64
|
+
"query",
|
|
65
|
+
"tasks",
|
|
66
|
+
"impact",
|
|
67
|
+
{
|
|
68
|
+
change,
|
|
69
|
+
matchLimit: Number.parseInt(args.limit, 10)
|
|
70
|
+
},
|
|
71
|
+
{ command: "reason", operation: "tasks.impact" }
|
|
72
|
+
);
|
|
73
|
+
} else if (taskId) {
|
|
74
|
+
await dispatchFromCli(
|
|
75
|
+
"query",
|
|
76
|
+
"tasks",
|
|
77
|
+
"depends",
|
|
78
|
+
{
|
|
79
|
+
taskId,
|
|
80
|
+
action: "impact",
|
|
81
|
+
depth: Number.parseInt(args.depth, 10)
|
|
82
|
+
},
|
|
83
|
+
{ command: "reason", operation: "tasks.depends" }
|
|
84
|
+
);
|
|
85
|
+
} else {
|
|
86
|
+
cliError(
|
|
87
|
+
"reason impact requires either --change <description> or a <taskId>",
|
|
88
|
+
1,
|
|
89
|
+
{ name: "E_INVALID_INPUT" },
|
|
90
|
+
{ operation: "tasks.impact" }
|
|
91
|
+
);
|
|
92
|
+
process.exit(1);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
var timelineCommand = defineCommand({
|
|
97
|
+
meta: { name: "timeline", description: "Show history and audit trail for a task" },
|
|
98
|
+
args: {
|
|
99
|
+
taskId: {
|
|
100
|
+
type: "positional",
|
|
101
|
+
description: "Task ID to fetch history for",
|
|
102
|
+
required: true
|
|
103
|
+
},
|
|
104
|
+
limit: {
|
|
105
|
+
type: "string",
|
|
106
|
+
description: "Maximum number of history entries"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
async run({ args }) {
|
|
110
|
+
await dispatchFromCli(
|
|
111
|
+
"query",
|
|
112
|
+
"tasks",
|
|
113
|
+
"history",
|
|
114
|
+
{
|
|
115
|
+
taskId: args.taskId,
|
|
116
|
+
limit: args.limit ? Number.parseInt(args.limit, 10) : void 0
|
|
117
|
+
},
|
|
118
|
+
{ command: "reason", operation: "tasks.history" }
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
var reasonCommand = defineCommand({
|
|
123
|
+
meta: { name: "reason", description: "Reasoning and intelligence operations (impact, timeline)" },
|
|
124
|
+
subCommands: {
|
|
125
|
+
impact: impactCommand,
|
|
126
|
+
timeline: timelineCommand
|
|
127
|
+
},
|
|
128
|
+
async run({ cmd, rawArgs }) {
|
|
129
|
+
const firstArg = rawArgs?.find((a) => !a.startsWith("-"));
|
|
130
|
+
if (firstArg && cmd.subCommands && firstArg in cmd.subCommands) return;
|
|
131
|
+
await showUsage(cmd);
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
export {
|
|
135
|
+
reasonCommand
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=reason-JF5BHBM5.js.map
|
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
defineCommand,
|
|
18
|
+
showUsage
|
|
19
|
+
} from "./chunk-PKKZPOOP.js";
|
|
20
|
+
import {
|
|
21
|
+
dispatchRaw,
|
|
22
|
+
handleRawError
|
|
23
|
+
} from "./chunk-3IOQVUO7.js";
|
|
24
|
+
import "./chunk-AWCQH2W5.js";
|
|
25
|
+
import "./chunk-OGV57L4J.js";
|
|
26
|
+
import "./chunk-ZBISIPCK.js";
|
|
27
|
+
import {
|
|
28
|
+
cliOutput
|
|
29
|
+
} from "./chunk-3ZO3M37V.js";
|
|
30
|
+
import "./chunk-6JSJNYH2.js";
|
|
31
|
+
import "./chunk-QFFQSKRC.js";
|
|
32
|
+
|
|
33
|
+
// packages/cleo/src/cli/commands/reconcile.ts
|
|
34
|
+
import { release } from "@cleocode/core";
|
|
35
|
+
var scopeSubcommand = defineCommand({
|
|
36
|
+
meta: {
|
|
37
|
+
name: "scope",
|
|
38
|
+
description: "Find tasks with overlapping scope under a saga/epic and propose what to do"
|
|
39
|
+
},
|
|
40
|
+
args: {
|
|
41
|
+
rootId: {
|
|
42
|
+
type: "positional",
|
|
43
|
+
description: "Saga, epic or other container to sweep",
|
|
44
|
+
required: true
|
|
45
|
+
},
|
|
46
|
+
apply: {
|
|
47
|
+
type: "boolean",
|
|
48
|
+
description: "Write the proposed relates edges (read-only without it)"
|
|
49
|
+
},
|
|
50
|
+
threshold: {
|
|
51
|
+
type: "string",
|
|
52
|
+
description: "Report pairs at or above this similarity score, 0-1 (default 0.55)"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
async run({ args }) {
|
|
56
|
+
const raw = args.threshold;
|
|
57
|
+
const threshold = raw === void 0 ? void 0 : Number(raw);
|
|
58
|
+
const response = await dispatchRaw("mutate", "tasks", "reconcile-scope", {
|
|
59
|
+
rootId: args.rootId,
|
|
60
|
+
apply: args.apply,
|
|
61
|
+
threshold
|
|
62
|
+
});
|
|
63
|
+
if (!response.success) {
|
|
64
|
+
handleRawError(response, { command: "reconcile scope", operation: "tasks.reconcile-scope" });
|
|
65
|
+
}
|
|
66
|
+
cliOutput(response.data, {
|
|
67
|
+
command: "reconcile scope",
|
|
68
|
+
operation: "tasks.reconcile-scope"
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
var releaseSubcommand = defineCommand({
|
|
73
|
+
meta: {
|
|
74
|
+
name: "release",
|
|
75
|
+
description: "Run post-release invariants for a release tag"
|
|
76
|
+
},
|
|
77
|
+
args: {
|
|
78
|
+
tag: {
|
|
79
|
+
type: "string",
|
|
80
|
+
description: "Release tag to reconcile (e.g. v2026.4.145)",
|
|
81
|
+
required: true
|
|
82
|
+
},
|
|
83
|
+
"dry-run": {
|
|
84
|
+
type: "boolean",
|
|
85
|
+
description: "Preview mutations without writing to tasks.db or audit log",
|
|
86
|
+
default: false
|
|
87
|
+
},
|
|
88
|
+
json: {
|
|
89
|
+
type: "boolean",
|
|
90
|
+
description: "Emit raw JSON instead of human-readable summary",
|
|
91
|
+
default: false
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
async run({ args }) {
|
|
95
|
+
const dryRun = args["dry-run"] === true;
|
|
96
|
+
const report = await release.runInvariants(args.tag, {
|
|
97
|
+
dryRun,
|
|
98
|
+
cwd: process.cwd()
|
|
99
|
+
});
|
|
100
|
+
cliOutput(report, { command: "reconcile", operation: "reconcile.release" });
|
|
101
|
+
if (report.errors > 0) {
|
|
102
|
+
process.exit(1);
|
|
103
|
+
}
|
|
104
|
+
if (report.unreconciled > 0) {
|
|
105
|
+
process.exit(2);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
var reconcileCommand = defineCommand({
|
|
110
|
+
meta: {
|
|
111
|
+
name: "reconcile",
|
|
112
|
+
description: "Reconcile state against external sources (release tags, schema, etc.)"
|
|
113
|
+
},
|
|
114
|
+
subCommands: {
|
|
115
|
+
release: releaseSubcommand,
|
|
116
|
+
scope: scopeSubcommand
|
|
117
|
+
},
|
|
118
|
+
async run({ cmd, rawArgs }) {
|
|
119
|
+
const firstArg = rawArgs?.find((a) => !a.startsWith("-"));
|
|
120
|
+
if (firstArg && cmd.subCommands && firstArg in cmd.subCommands) return;
|
|
121
|
+
await showUsage(cmd);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
export {
|
|
125
|
+
reconcileCommand
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=reconcile-NMISHDGX.js.map
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
defineCommand
|
|
18
|
+
} from "./chunk-PKKZPOOP.js";
|
|
19
|
+
import {
|
|
20
|
+
humanLine
|
|
21
|
+
} from "./chunk-3ZO3M37V.js";
|
|
22
|
+
import "./chunk-6JSJNYH2.js";
|
|
23
|
+
|
|
24
|
+
// packages/cleo/src/cli/commands/refresh-memory.ts
|
|
25
|
+
import { getProjectRoot } from "@cleocode/core";
|
|
26
|
+
var refreshMemoryCommand = defineCommand({
|
|
27
|
+
meta: {
|
|
28
|
+
name: "refresh-memory",
|
|
29
|
+
description: "Regenerate .cleo/memory-bridge.md from brain.db"
|
|
30
|
+
},
|
|
31
|
+
async run() {
|
|
32
|
+
const projectDir = getProjectRoot();
|
|
33
|
+
const { writeMemoryBridge } = await import("@cleocode/core/internal");
|
|
34
|
+
const result = await writeMemoryBridge(projectDir);
|
|
35
|
+
if (result.written) {
|
|
36
|
+
humanLine(`Memory bridge refreshed at ${result.path}`);
|
|
37
|
+
} else {
|
|
38
|
+
humanLine(`Memory bridge unchanged at ${result.path}`);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
refreshMemoryCommand
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=refresh-memory-EY5YNICV.js.map
|