@iowarp/clio-coder 0.3.6 → 0.3.8
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/CHANGELOG.md +59 -0
- package/README.md +22 -6
- package/dist/{acp-2BEHC4DL.js → acp-U67UHUK2.js} +14 -14
- package/dist/{agents-LNNFTM53.js → agents-YU6SGALZ.js} +42 -35
- package/dist/assets/codewiki.json +1 -1
- package/dist/{auth-KXXFI2VS.js → auth-5ZPJOIVG.js} +32 -24
- package/dist/builtins-C6JMZVV6.js +17 -0
- package/dist/{chunk-E25LMLRW.js → chunk-26LEYJZH.js} +2 -2
- package/dist/{chunk-TSHXZTOQ.js → chunk-2HEJ2F35.js} +5 -5
- package/dist/{chunk-PBTHKCPN.js → chunk-2HFZQUHL.js} +7 -7
- package/dist/{chunk-FO5ZOVUY.js → chunk-3BINW3FP.js} +5 -5
- package/dist/{chunk-4OC57DA6.js → chunk-4DGYLA73.js} +53 -2
- package/dist/{chunk-CKXWIANG.js → chunk-4SPRNWDE.js} +18 -16
- package/dist/{chunk-E2ER4LJF.js → chunk-5C3AQNDW.js} +25 -1
- package/dist/{chunk-XF5N4U5A.js → chunk-5DHKRSMQ.js} +9 -8
- package/dist/{chunk-43AOLP7E.js → chunk-5FR74PWO.js} +2 -1
- package/dist/{chunk-EKY57CSP.js → chunk-5H3GB5BO.js} +68 -772
- package/dist/{chunk-6XXKFVSN.js → chunk-5Q2VVUKB.js} +4 -4
- package/dist/{chunk-DJVECN66.js → chunk-7RFXX52T.js} +295 -3705
- package/dist/{chunk-ZXF4XRKW.js → chunk-7RGZWPB6.js} +158 -8
- package/dist/{chunk-FYYLNIL5.js → chunk-A2NJGIB3.js} +2 -2
- package/dist/{chunk-XXQNGV4M.js → chunk-A3WNZD3P.js} +548 -72
- package/dist/{chunk-VEZEGCGW.js → chunk-B5CSFE7B.js} +23 -21
- package/dist/{chunk-2SFS6XQE.js → chunk-DGSYXYMX.js} +3 -2
- package/dist/chunk-DR52UMZW.js +21 -0
- package/dist/{chunk-ZWLZP4ZT.js → chunk-DYIM5TJT.js} +98 -12
- package/dist/{chunk-QKMUKYO7.js → chunk-E77JEWSD.js} +270 -125
- package/dist/{chunk-LYF7OHWH.js → chunk-EMYUUSFG.js} +12 -467
- package/dist/{chunk-4VP4KH3K.js → chunk-EQ63NRB7.js} +8 -8
- package/dist/chunk-FBVTI2TJ.js +518 -0
- package/dist/{chunk-R46L2BIR.js → chunk-FHJEP5SW.js} +19 -25
- package/dist/{chunk-WR67VIZY.js → chunk-GN57SG4G.js} +66 -8
- package/dist/{chunk-RD5U66HV.js → chunk-GPIEI3LY.js} +9 -9
- package/dist/{chunk-PCZJO5TI.js → chunk-GU2UIAFZ.js} +13 -178
- package/dist/chunk-GWS3VEIW.js +195 -0
- package/dist/chunk-H7IXIC72.js +103 -0
- package/dist/{chunk-3BPUFZDL.js → chunk-HLE42MG7.js} +3 -3
- package/dist/{chunk-24I7BN55.js → chunk-IFBNV6H6.js} +3 -3
- package/dist/{chunk-QNQHSOLF.js → chunk-IGWKHNIQ.js} +114 -55
- package/dist/chunk-IIZWH4XA.js +172 -0
- package/dist/{chunk-AD2SYQYC.js → chunk-IJ7RPIYJ.js} +124 -6
- package/dist/chunk-J3YUBZWY.js +382 -0
- package/dist/{chunk-5JGRAMKL.js → chunk-JOZYP4GM.js} +8 -6
- package/dist/{chunk-OH3TOQTB.js → chunk-K4XHGFR5.js} +751 -15
- package/dist/{chunk-EYPA3EGJ.js → chunk-KTYTFRMB.js} +178 -14
- package/dist/chunk-LU7P4LHA.js +33 -0
- package/dist/chunk-ME6CCNFO.js +108 -0
- package/dist/chunk-MXKJU4JB.js +1100 -0
- package/dist/{chunk-RY3LY4J5.js → chunk-N22QMJKY.js} +21 -18
- package/dist/chunk-NMPKI6XL.js +3006 -0
- package/dist/chunk-NUGM5KR6.js +165 -0
- package/dist/{chunk-22NAGB7X.js → chunk-P43ETTHK.js} +5 -94
- package/dist/{chunk-NILBFAPG.js → chunk-PMDBGQSJ.js} +2 -2
- package/dist/chunk-PT7HYKEM.js +165 -0
- package/dist/chunk-RVG5JXAL.js +41 -0
- package/dist/{chunk-GEYXPTRF.js → chunk-RWSI4YD7.js} +2 -2
- package/dist/{chunk-4BPJXDWC.js → chunk-TANS5ZJS.js} +35 -19
- package/dist/{verifiers-NCBTHHN2.js → chunk-TB5666IT.js} +67 -324
- package/dist/{chunk-QM3F2GKX.js → chunk-TLQJPP24.js} +7927 -8088
- package/dist/{chunk-G7MUEIGA.js → chunk-TT36MB5S.js} +2 -1
- package/dist/chunk-TTHACPOM.js +961 -0
- package/dist/{chunk-6US73PDB.js → chunk-TYPGUK6W.js} +7 -7
- package/dist/{chunk-MFFY33HR.js → chunk-U6MBIEMB.js} +554 -209
- package/dist/chunk-VAWNZU7Z.js +242 -0
- package/dist/{chunk-IR4CFBFN.js → chunk-VCBR6CU7.js} +12 -12
- package/dist/{chunk-WHJYKASB.js → chunk-VHN4MY6O.js} +2 -2
- package/dist/{chunk-XYDYPRZI.js → chunk-VWZOAB7K.js} +10 -10
- package/dist/{chunk-ZRGEBJ4T.js → chunk-WLFILSD5.js} +48 -48
- package/dist/{chunk-K7T3E2SR.js → chunk-WNIJTQQK.js} +12 -11
- package/dist/{chunk-CYQKWTG3.js → chunk-WSB3FPX7.js} +68 -20
- package/dist/{chunk-KHSFENX2.js → chunk-WWCZ5F23.js} +116 -14
- package/dist/{chunk-XE2VEJHX.js → chunk-WXY7KU3G.js} +2 -2
- package/dist/{chunk-PPAMZ32Z.js → chunk-XK56QHLX.js} +6 -1
- package/dist/{chunk-KOHPCX4K.js → chunk-XWSF374K.js} +5 -5
- package/dist/{chunk-CJUB2JJ2.js → chunk-YS5VLNH5.js} +10 -10
- package/dist/{chunk-ZZMN5OM4.js → chunk-ZNLWCMVZ.js} +2 -2
- package/dist/{chunk-WHGPSPT5.js → chunk-ZVJ5BLO2.js} +2 -2
- package/dist/cli/index.js +33 -31
- package/dist/{clio-M2KGYUFZ.js → clio-QVTYJ57A.js} +10 -10
- package/dist/{code-nav-GQNL7XA6.js → code-nav-FGGFIE7L.js} +5 -5
- package/dist/codewiki/build-worker.js +4 -4
- package/dist/{components-5TTYYX6G.js → components-ZFA3SAER.js} +9 -9
- package/dist/{config-XUUYQIWO.js → config-LW5IJFQN.js} +65 -55
- package/dist/{configure-IHJ7YOMV.js → configure-7XIZCOU4.js} +29 -24
- package/dist/{context-75MIWW3U.js → context-L3WL3X7K.js} +54 -43
- package/dist/{context-ZQ7SIFJV.js → context-N52ZA626.js} +30 -14
- package/dist/{context-74JLXAWD.js → context-Y6Y7QPR6.js} +12 -12
- package/dist/{context-clear-GYKWNUML.js → context-clear-MBQRLSDQ.js} +54 -43
- package/dist/{context-index-SSR5ECNE.js → context-index-HVMFQHK3.js} +5 -5
- package/dist/{context-working-set-UX5KEP4J.js → context-working-set-GS6DSO7F.js} +18 -18
- package/dist/{dispatch-runner-GIJBHNFL.js → dispatch-runner-22ZCNOM3.js} +367 -79
- package/dist/{docs-6FZSCG5B.js → docs-7LQ23DLM.js} +9 -9
- package/dist/{doctor-SVJ5BZCW.js → doctor-M7YEDGAE.js} +27 -23
- package/dist/{eval-CG6LLBLD.js → eval-BEC2WHDA.js} +73 -20
- package/dist/{evidence-ZYFIEN42.js → evidence-REJUMSKM.js} +70 -59
- package/dist/{evolve-QGEXEMDW.js → evolve-PY5ZBA5K.js} +50 -39
- package/dist/{extensions-ADGNCJJD.js → extensions-HVKU65YU.js} +7 -7
- package/dist/{fleet-S5R4ZOQY.js → fleet-7WZEWRFA.js} +236 -377
- package/dist/fleet-commands-UVHWM76J.js +70 -0
- package/dist/fleet-graph-6ULH7PES.js +125 -0
- package/dist/fleet-new-RDVJLHHH.js +48 -0
- package/dist/{fleet-preflight-BHSNPBMH.js → fleet-preflight-J53T6CCE.js} +5 -5
- package/dist/fleet-validate-72PC4SLA.js +79 -0
- package/dist/{init-5DRU55YR.js → init-OG3TPGQG.js} +69 -57
- package/dist/library-CNTMPLRF.js +217 -0
- package/dist/{memory-7YKKR6UC.js → memory-6IS7F275.js} +52 -41
- package/dist/{models-ZPOLRU2C.js → models-ENRJDA5W.js} +37 -31
- package/dist/{monitor-US5F5YGZ.js → monitor-XLDVO7TN.js} +79 -42
- package/dist/{orchestrator-E2AL4T5N.js → orchestrator-6KSPYRHA.js} +4126 -762
- package/dist/{paths-E7KYAQWE.js → paths-DBXMZMDU.js} +6 -6
- package/dist/registry-LG64LTF4.js +11 -0
- package/dist/{reset-KZ652EK6.js → reset-RZ4ER727.js} +12 -12
- package/dist/{run-SRNBKDWD.js → run-Y2CNK5RU.js} +89 -76
- package/dist/{share-CGZE33UP.js → share-A55GYP6Z.js} +37 -13
- package/dist/{skills-S2X4DLY5.js → skills-ALC5J6AT.js} +29 -13
- package/dist/{skills-eval-W2GGIC4R.js → skills-eval-JPBEBYQU.js} +60 -48
- package/dist/support-MIETYA5E.js +38 -0
- package/dist/{targets-54SWINWB.js → targets-VGNXIR3S.js} +46 -36
- package/dist/{terminal-lease-SAIF2OGY.js → terminal-lease-WOBR64YA.js} +4 -4
- package/dist/{uninstall-BVLWXKBT.js → uninstall-ZJF5H5ZN.js} +9 -9
- package/dist/{upgrade-JKAR27XC.js → upgrade-FUSUAGHR.js} +31 -28
- package/dist/{usage-MSAWCLX4.js → usage-N4MKVHKD.js} +140 -68
- package/dist/verifiers-YAWOJ3H2.js +336 -0
- package/dist/{verify-X5HDROLA.js → verify-LTDHYBGY.js} +10 -9
- package/dist/{wiki-generate-GUSOQ6ZP.js → wiki-generate-6M7GHTBJ.js} +75 -62
- package/dist/worker/entry.js +67 -57
- package/docs/README.md +3 -2
- package/docs/acp.md +1 -1
- package/docs/alcf-provider.md +1 -1
- package/docs/architecture.md +2 -2
- package/docs/artifact-versions.md +11 -6
- package/docs/built-in-agents.md +26 -2
- package/docs/capacity-and-scheduling.md +1 -1
- package/docs/commands-and-modes.md +83 -3
- package/docs/configuration-and-targets.md +86 -4
- package/docs/context-engine.md +1 -1
- package/docs/development-pipeline.md +1 -1
- package/docs/dispatch-architecture-rationale.md +1 -1
- package/docs/documentation-coverage.md +3 -3
- package/docs/documentation-guide.md +3 -3
- package/docs/eval-runner.md +1 -1
- package/docs/evals-internal.md +1 -1
- package/docs/evidence-and-memory.md +74 -10
- package/docs/evolution.md +1 -1
- package/docs/exit-codes-and-output.md +4 -1
- package/docs/extensions-and-sharing.md +6 -2
- package/docs/fleet-demo-runbook.md +2 -2
- package/docs/fleet-dispatch.md +228 -16
- package/docs/git-commit-provenance.md +2 -2
- package/docs/glossary.md +22 -2
- package/docs/installation-and-lifecycle.md +2 -2
- package/docs/middleware-and-components.md +2 -1
- package/docs/model-catalog.md +1 -1
- package/docs/observability.md +56 -9
- package/docs/proactive-memory.md +1 -1
- package/docs/prompt-envelope-and-tools.md +4 -2
- package/docs/provider-adapter-cookbook.md +1 -1
- package/docs/release-cut-checklist.md +83 -65
- package/docs/resource-library.md +59 -0
- package/docs/safety-model.md +2 -2
- package/docs/scientific-validation.md +3 -3
- package/docs/session-lifecycle.md +37 -1
- package/docs/skills-marketplace.md +16 -3
- package/docs/tool-usage.md +14 -7
- package/docs/trace-store.md +1 -1
- package/docs/troubleshooting.md +1 -1
- package/docs/tui-design.md +1 -1
- package/docs/worker-dispatch-mechanics.md +3 -3
- package/package.json +1 -2
- package/src/cli/argv.ts +5 -0
- package/src/cli/configure.ts +107 -23
- package/src/cli/doctor.ts +5 -1
- package/src/cli/evidence.ts +30 -25
- package/src/cli/fleet-commands.ts +37 -0
- package/src/cli/fleet-graph.ts +102 -0
- package/src/cli/fleet-new.ts +36 -0
- package/src/cli/fleet-preflight.ts +111 -0
- package/src/cli/fleet-validate.ts +30 -0
- package/src/cli/fleet.ts +173 -335
- package/src/cli/index.ts +3 -1
- package/src/cli/library.ts +190 -0
- package/src/cli/share.ts +13 -1
- package/src/cli/shared.ts +1 -0
- package/src/cli/targets.ts +4 -1
- package/src/cli/usage.ts +111 -19
- package/src/cli/validate-model.ts +60 -5
- package/src/core/bus-events.ts +29 -0
- package/src/core/commit-attribution.ts +4 -4
- package/src/core/config.ts +130 -0
- package/src/core/defaults.ts +81 -0
- package/src/core/path-boundary.ts +100 -0
- package/src/domains/agents/builtins/architect.md +1 -0
- package/src/domains/agents/builtins/oracle.md +33 -0
- package/src/domains/agents/catalog.ts +13 -1
- package/src/domains/agents/extension.ts +2 -11
- package/src/domains/agents/fleet-contract.ts +304 -24
- package/src/domains/agents/index.ts +14 -0
- package/src/domains/agents/recipe.ts +7 -1
- package/src/domains/agents/registry.ts +73 -5
- package/src/domains/agents/result-contract.ts +360 -15
- package/src/domains/agents/write-boundary.ts +15 -50
- package/src/domains/config/classify.ts +4 -0
- package/src/domains/context/project-rules.ts +51 -1
- package/src/domains/dispatch/active-route-planner.ts +14 -0
- package/src/domains/dispatch/assignment-reconcile.ts +22 -5
- package/src/domains/dispatch/assignment-store.ts +151 -14
- package/src/domains/dispatch/backoff.ts +2 -1
- package/src/domains/dispatch/capability-match.ts +1 -0
- package/src/domains/dispatch/checkout-writer-lease.ts +175 -0
- package/src/domains/dispatch/contract.ts +48 -0
- package/src/domains/dispatch/delegation-plan.ts +164 -0
- package/src/domains/dispatch/execution-plan.ts +76 -5
- package/src/domains/dispatch/execution-role.ts +12 -2
- package/src/domains/dispatch/execution-scheduler.ts +183 -67
- package/src/domains/dispatch/extension.ts +412 -74
- package/src/domains/dispatch/fleet-gate.ts +14 -0
- package/src/domains/dispatch/fleet-plan.ts +63 -3
- package/src/domains/dispatch/fleet-run.ts +791 -0
- package/src/domains/dispatch/gate-role-prompts.ts +47 -0
- package/src/domains/dispatch/host-verification.ts +178 -0
- package/src/domains/dispatch/index.ts +41 -1
- package/src/domains/dispatch/intent-requirements.ts +40 -0
- package/src/domains/dispatch/intent.ts +235 -0
- package/src/domains/dispatch/path-scope.ts +370 -0
- package/src/domains/dispatch/receipt-integrity.ts +9 -4
- package/src/domains/dispatch/state.ts +36 -3
- package/src/domains/dispatch/types.ts +64 -12
- package/src/domains/dispatch/validation.ts +69 -6
- package/src/domains/dispatch/write-boundary-enforcer.ts +45 -0
- package/src/domains/dispatch/write-boundary.ts +201 -22
- package/src/domains/eval/metrics/evidence.ts +79 -2
- package/src/domains/eval/runners/clio-run.ts +12 -2
- package/src/domains/evidence/build.ts +69 -11
- package/src/domains/evidence/index.ts +21 -0
- package/src/domains/evidence/provenance.ts +46 -11
- package/src/domains/evidence/trust-projection.ts +274 -0
- package/src/domains/evidence/trust-status.ts +155 -18
- package/src/domains/evidence/types.ts +4 -0
- package/src/domains/extensions/discovery.ts +88 -1
- package/src/domains/extensions/resources.ts +20 -8
- package/src/domains/extensions/state.ts +6 -2
- package/src/domains/extensions/types.ts +4 -1
- package/src/domains/lifecycle/doctor.ts +140 -1
- package/src/domains/middleware/index.ts +15 -0
- package/src/domains/middleware/watchdog.ts +281 -0
- package/src/domains/observability/contract.ts +3 -1
- package/src/domains/observability/cost.ts +12 -1
- package/src/domains/observability/extension.ts +2 -2
- package/src/domains/observability/index.ts +10 -0
- package/src/domains/observability/out-of-turn-usage.ts +223 -0
- package/src/domains/prompts/contract.ts +3 -5
- package/src/domains/providers/extension.ts +30 -2
- package/src/domains/resources/common-loader.ts +3 -0
- package/src/domains/resources/index.ts +20 -0
- package/src/domains/resources/library.ts +326 -0
- package/src/domains/resources/prompts/loader.ts +119 -14
- package/src/domains/resources/skills/marketplace.ts +37 -12
- package/src/domains/safety/policy-engine.ts +5 -5
- package/src/domains/safety/run-effects.ts +64 -1
- package/src/domains/safety/scope.ts +7 -12
- package/src/domains/session/handoff.ts +629 -0
- package/src/domains/share/archive.ts +67 -2
- package/src/engine/acp/server.ts +4 -1
- package/src/engine/prompt-templates.ts +18 -1
- package/src/engine/worker-runtime.ts +6 -3
- package/src/entry/orchestrator.ts +37 -0
- package/src/interactive/bus-notices.ts +26 -0
- package/src/interactive/chat-loop.ts +235 -1
- package/src/interactive/chat-renderer.ts +22 -0
- package/src/interactive/cost-overlay.ts +31 -3
- package/src/interactive/council-dispatch.ts +30 -0
- package/src/interactive/council-grid.ts +213 -0
- package/src/interactive/council.ts +99 -0
- package/src/interactive/dispatch-board.ts +311 -17
- package/src/interactive/fleet-run-preview.ts +307 -0
- package/src/interactive/footer/notifications.ts +219 -0
- package/src/interactive/handoff-round.ts +56 -0
- package/src/interactive/interactive-application.ts +43 -1
- package/src/interactive/interactive-event-projection.ts +23 -1
- package/src/interactive/interactive-slash-runtime.ts +52 -2
- package/src/interactive/interactive-subscriptions.ts +14 -2
- package/src/interactive/oracle.ts +179 -0
- package/src/interactive/overlay-ask-user-lifecycle.ts +6 -0
- package/src/interactive/overlay-general-openers.ts +190 -1
- package/src/interactive/overlay-key-routing.ts +17 -1
- package/src/interactive/overlay-lifecycle.ts +41 -1
- package/src/interactive/overlay-permission-lifecycle.ts +10 -0
- package/src/interactive/overlay-resource-openers.ts +11 -3
- package/src/interactive/overlay-session-lifecycle.ts +234 -2
- package/src/interactive/overlays/fleet-run-approval.ts +208 -0
- package/src/interactive/overlays/handoff-review.ts +185 -0
- package/src/interactive/overlays/library-install-confirm.ts +151 -0
- package/src/interactive/overlays/list-overlay.ts +168 -2
- package/src/interactive/overlays/settings.ts +221 -30
- package/src/interactive/overlays/side-question.ts +139 -0
- package/src/interactive/overlays/skills-hub.ts +401 -15
- package/src/interactive/side-question.ts +171 -0
- package/src/interactive/slash-commands.ts +439 -7
- package/src/interactive/slash-spec.ts +19 -6
- package/src/interactive/theme/tokens.ts +30 -0
- package/src/interactive/turn-middleware.ts +15 -1
- package/src/interactive/view/artifacts.ts +42 -9
- package/src/interactive/view/view-overlay.ts +15 -3
- package/src/interactive/watchdog-run.ts +75 -0
- package/src/interactive/worker-receipts.ts +14 -2
- package/src/interactive/worker-share.ts +56 -1
- package/src/interactive/worker-stream.ts +15 -0
- package/src/tools/bootstrap.ts +3 -0
- package/src/tools/compete-worktrees.ts +13 -79
- package/src/tools/dispatch-admission.ts +251 -18
- package/src/tools/dispatch-arguments.ts +84 -1
- package/src/tools/dispatch-plan.ts +165 -6
- package/src/tools/dispatch-runner.ts +364 -23
- package/src/tools/dispatch-types.ts +20 -1
- package/src/tools/dispatch.ts +72 -2
- package/src/tools/monitor.ts +29 -0
- package/src/tools/profiles.ts +18 -4
- package/src/tools/task-worktree.ts +238 -0
- package/src/tools/verify/authoring.ts +61 -1
- package/src/tools/verify/scripts.ts +62 -0
- package/src/tools/worker-evidence.ts +21 -14
- package/src/worker/spec-contract.ts +3 -1
- package/dist/chunk-HC4CLZ2Y.js +0 -68
|
@@ -8,10 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-5WIGXA4T.js";
|
|
9
9
|
import {
|
|
10
10
|
loadMemoryRecordsSync
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
sha256
|
|
14
|
-
} from "./chunk-QM3F2GKX.js";
|
|
11
|
+
} from "./chunk-TYPGUK6W.js";
|
|
15
12
|
import {
|
|
16
13
|
WIKI_INDEX,
|
|
17
14
|
WIKI_PLAN_FILE,
|
|
@@ -47,13 +44,16 @@ import {
|
|
|
47
44
|
statePath,
|
|
48
45
|
writeClioState
|
|
49
46
|
} from "./chunk-MVVUPGPW.js";
|
|
47
|
+
import {
|
|
48
|
+
sha256
|
|
49
|
+
} from "./chunk-TLQJPP24.js";
|
|
50
|
+
import {
|
|
51
|
+
classifyProjectPreload
|
|
52
|
+
} from "./chunk-JVCV3ICN.js";
|
|
50
53
|
import {
|
|
51
54
|
compileGlobRegex,
|
|
52
55
|
normalizeGlobInput
|
|
53
56
|
} from "./chunk-VG7TBQIY.js";
|
|
54
|
-
import {
|
|
55
|
-
detectProjectType
|
|
56
|
-
} from "./chunk-XAKHZX5N.js";
|
|
57
57
|
import {
|
|
58
58
|
computeFingerprintCached,
|
|
59
59
|
isStale
|
|
@@ -62,15 +62,24 @@ import {
|
|
|
62
62
|
codewikiPath,
|
|
63
63
|
readCodewiki
|
|
64
64
|
} from "./chunk-LBMZMYH2.js";
|
|
65
|
+
import {
|
|
66
|
+
detectProjectType
|
|
67
|
+
} from "./chunk-XAKHZX5N.js";
|
|
65
68
|
import {
|
|
66
69
|
enumerateWorkspaceFiles
|
|
67
70
|
} from "./chunk-33YXPOE3.js";
|
|
71
|
+
import {
|
|
72
|
+
ceilChars
|
|
73
|
+
} from "./chunk-RWSI4YD7.js";
|
|
68
74
|
import {
|
|
69
75
|
INTEROP_AGENT_KINDS
|
|
70
76
|
} from "./chunk-IHXBNWMM.js";
|
|
71
77
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
78
|
+
BusChannels
|
|
79
|
+
} from "./chunk-TT36MB5S.js";
|
|
80
|
+
import {
|
|
81
|
+
resolvePackageRoot
|
|
82
|
+
} from "./chunk-IWHMRKLL.js";
|
|
74
83
|
import {
|
|
75
84
|
require_dist
|
|
76
85
|
} from "./chunk-APJ265NV.js";
|
|
@@ -78,15 +87,6 @@ import {
|
|
|
78
87
|
clioDataDir,
|
|
79
88
|
resolveClioDirs
|
|
80
89
|
} from "./chunk-BNAZZHFG.js";
|
|
81
|
-
import {
|
|
82
|
-
BusChannels
|
|
83
|
-
} from "./chunk-G7MUEIGA.js";
|
|
84
|
-
import {
|
|
85
|
-
classifyProjectPreload
|
|
86
|
-
} from "./chunk-JVCV3ICN.js";
|
|
87
|
-
import {
|
|
88
|
-
resolvePackageRoot
|
|
89
|
-
} from "./chunk-IWHMRKLL.js";
|
|
90
90
|
import {
|
|
91
91
|
__toESM,
|
|
92
92
|
init_esm_shims
|
|
@@ -2730,11 +2730,59 @@ function ruleMatchesAnyPath(rule, workingPaths) {
|
|
|
2730
2730
|
continue;
|
|
2731
2731
|
}
|
|
2732
2732
|
for (const path2 of workingPaths) {
|
|
2733
|
-
|
|
2733
|
+
const normalized = normalizeGlobInput(path2);
|
|
2734
|
+
if (regex.test(normalized)) return true;
|
|
2735
|
+
if (normalized.endsWith("/") && globMatchesInsideDirectory(regex, pattern, normalized)) return true;
|
|
2734
2736
|
}
|
|
2735
2737
|
}
|
|
2736
2738
|
return false;
|
|
2737
2739
|
}
|
|
2740
|
+
function materializedGlobVariants(pattern) {
|
|
2741
|
+
let variants = [""];
|
|
2742
|
+
const normalized = normalizeGlobInput(pattern);
|
|
2743
|
+
for (let index = 0; index < normalized.length; index += 1) {
|
|
2744
|
+
const character = normalized[index];
|
|
2745
|
+
if (character === void 0) break;
|
|
2746
|
+
if (character === "*" && normalized[index + 1] === "*" && normalized[index + 2] === "/") {
|
|
2747
|
+
variants = variants.flatMap((prefix) => [prefix, `${prefix}x/`]).slice(0, 64);
|
|
2748
|
+
index += 2;
|
|
2749
|
+
continue;
|
|
2750
|
+
}
|
|
2751
|
+
if (character === "*" && normalized[index + 1] === "*") {
|
|
2752
|
+
variants = variants.map((prefix) => `${prefix}x`);
|
|
2753
|
+
index += 1;
|
|
2754
|
+
continue;
|
|
2755
|
+
}
|
|
2756
|
+
if (character === "*" || character === "?") {
|
|
2757
|
+
variants = variants.map((prefix) => `${prefix}x`);
|
|
2758
|
+
continue;
|
|
2759
|
+
}
|
|
2760
|
+
if (character === "[") {
|
|
2761
|
+
const end = normalized.indexOf("]", index + 1);
|
|
2762
|
+
const selected = end === -1 ? "x" : normalized[index + 1] ?? "x";
|
|
2763
|
+
variants = variants.map((prefix) => `${prefix}${selected}`);
|
|
2764
|
+
index = end === -1 ? index : end;
|
|
2765
|
+
continue;
|
|
2766
|
+
}
|
|
2767
|
+
variants = variants.map((prefix) => `${prefix}${character}`);
|
|
2768
|
+
}
|
|
2769
|
+
return variants;
|
|
2770
|
+
}
|
|
2771
|
+
function globMatchesInsideDirectory(regex, pattern, directory) {
|
|
2772
|
+
const candidates = /* @__PURE__ */ new Set([`${directory}x`, `${directory}x/x`]);
|
|
2773
|
+
for (const materialized of materializedGlobVariants(pattern)) {
|
|
2774
|
+
if (materialized.startsWith(directory)) candidates.add(materialized);
|
|
2775
|
+
const segments = materialized.split("/");
|
|
2776
|
+
for (let index = 0; index < segments.length; index += 1) {
|
|
2777
|
+
const suffix = segments.slice(index).join("/");
|
|
2778
|
+
if (suffix.length > 0) candidates.add(`${directory}${suffix}`);
|
|
2779
|
+
}
|
|
2780
|
+
for (let index = 0; index < materialized.length; index += 1) {
|
|
2781
|
+
candidates.add(`${directory}${materialized.slice(index)}`);
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
return [...candidates].some((candidate) => regex.test(candidate));
|
|
2785
|
+
}
|
|
2738
2786
|
function selectActiveRules(rules, workingContextPaths) {
|
|
2739
2787
|
return rules.filter((rule) => {
|
|
2740
2788
|
if (!rule.enabled) return false;
|
|
@@ -4157,4 +4205,4 @@ export {
|
|
|
4157
4205
|
buildWikiPlanPrompt,
|
|
4158
4206
|
buildWikiPagePrompt
|
|
4159
4207
|
};
|
|
4160
|
-
//# sourceMappingURL=chunk-
|
|
4208
|
+
//# sourceMappingURL=chunk-WSB3FPX7.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __clioCreateRequire } from "node:module"; const require = __clioCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
loadSkills
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TANS5ZJS.js";
|
|
5
5
|
import {
|
|
6
6
|
getVersionInfo
|
|
7
7
|
} from "./chunk-XPLRXC72.js";
|
|
@@ -9,24 +9,29 @@ import {
|
|
|
9
9
|
detectInteropAgents,
|
|
10
10
|
fingerprintNativeRuntime,
|
|
11
11
|
resolveOnPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GPIEI3LY.js";
|
|
13
13
|
import {
|
|
14
14
|
initializeClioHome
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XWSF374K.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
validateSettingsFile
|
|
20
|
-
} from "./chunk-AD2SYQYC.js";
|
|
21
|
-
import {
|
|
22
|
-
openAuthStorage
|
|
23
|
-
} from "./chunk-4VP4KH3K.js";
|
|
17
|
+
credentialsPresent
|
|
18
|
+
} from "./chunk-LU7P4LHA.js";
|
|
24
19
|
import {
|
|
25
20
|
interopAgentKind
|
|
26
21
|
} from "./chunk-IHXBNWMM.js";
|
|
22
|
+
import {
|
|
23
|
+
formatSettingsIssues,
|
|
24
|
+
readSettings,
|
|
25
|
+
validateSettingsFile
|
|
26
|
+
} from "./chunk-IJ7RPIYJ.js";
|
|
27
27
|
import {
|
|
28
28
|
readSessionFileEntries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3BINW3FP.js";
|
|
30
|
+
import {
|
|
31
|
+
openAuthStorage,
|
|
32
|
+
resolveAuthTarget,
|
|
33
|
+
targetRequiresAuth
|
|
34
|
+
} from "./chunk-EQ63NRB7.js";
|
|
30
35
|
import {
|
|
31
36
|
clioStatePath,
|
|
32
37
|
resolveClioDirs
|
|
@@ -337,7 +342,7 @@ async function runDoctorFleetChecks(projectRoot = process.cwd()) {
|
|
|
337
342
|
}
|
|
338
343
|
const nodes = settings.fleet?.nodes ?? [];
|
|
339
344
|
if (nodes.length === 0) return [];
|
|
340
|
-
const { recordFleetPreflight, runFleetNodePreflight } = await import("./fleet-preflight-
|
|
345
|
+
const { recordFleetPreflight, runFleetNodePreflight } = await import("./fleet-preflight-J53T6CCE.js");
|
|
341
346
|
const targets = (settings.targets ?? []).map((target) => ({
|
|
342
347
|
id: target.id,
|
|
343
348
|
runtimeId: target.runtime,
|
|
@@ -425,6 +430,102 @@ async function runDoctorRuntimeChecks() {
|
|
|
425
430
|
);
|
|
426
431
|
return results.filter((finding) => finding !== null);
|
|
427
432
|
}
|
|
433
|
+
function configuredModelRoles(settings, target) {
|
|
434
|
+
const roles = [];
|
|
435
|
+
if (target.defaultModel) roles.push({ role: "defaultModel", model: target.defaultModel });
|
|
436
|
+
if (settings.orchestrator.target === target.id && settings.orchestrator.model) {
|
|
437
|
+
roles.push({ role: "orchestrator.model", model: settings.orchestrator.model });
|
|
438
|
+
}
|
|
439
|
+
if (settings.background.target === target.id && settings.background.model) {
|
|
440
|
+
roles.push({ role: "background.model", model: settings.background.model });
|
|
441
|
+
}
|
|
442
|
+
if (settings.workers.default.target === target.id && settings.workers.default.model) {
|
|
443
|
+
roles.push({ role: "workers.default.model", model: settings.workers.default.model });
|
|
444
|
+
}
|
|
445
|
+
return roles;
|
|
446
|
+
}
|
|
447
|
+
var DOCTOR_MODEL_PROBE_TIMEOUT_MS = 2500;
|
|
448
|
+
async function doctorProbeContext(target, runtime) {
|
|
449
|
+
const ctx = { credentialsPresent: credentialsPresent(), httpTimeoutMs: DOCTOR_MODEL_PROBE_TIMEOUT_MS };
|
|
450
|
+
if (!targetRequiresAuth(target, runtime)) return ctx;
|
|
451
|
+
try {
|
|
452
|
+
const resolution = await openAuthStorage().resolveForTarget(resolveAuthTarget(target, runtime), {
|
|
453
|
+
includeFallback: false
|
|
454
|
+
});
|
|
455
|
+
if (resolution.apiKey) ctx.authToken = resolution.apiKey;
|
|
456
|
+
} catch {
|
|
457
|
+
}
|
|
458
|
+
return ctx;
|
|
459
|
+
}
|
|
460
|
+
async function probeAdvertisedModels(target, runtime) {
|
|
461
|
+
if (runtime.kind !== "http" || typeof runtime.probe !== "function" || !target.url) return null;
|
|
462
|
+
let probe;
|
|
463
|
+
try {
|
|
464
|
+
probe = await runtime.probe(target, await doctorProbeContext(target, runtime));
|
|
465
|
+
} catch {
|
|
466
|
+
return null;
|
|
467
|
+
}
|
|
468
|
+
if (!probe.ok || !probe.models || probe.models.length === 0) return null;
|
|
469
|
+
const advertised = [...probe.models];
|
|
470
|
+
const resident = [];
|
|
471
|
+
for (const [id, status] of Object.entries(probe.modelStates ?? {})) {
|
|
472
|
+
if (!advertised.includes(id)) advertised.push(id);
|
|
473
|
+
if (status.state === "loaded" || status.state === "loading") resident.push(id);
|
|
474
|
+
}
|
|
475
|
+
return { advertised, resident };
|
|
476
|
+
}
|
|
477
|
+
async function runDoctorModelChecks() {
|
|
478
|
+
let settings;
|
|
479
|
+
try {
|
|
480
|
+
settings = readSettings();
|
|
481
|
+
} catch {
|
|
482
|
+
return [];
|
|
483
|
+
}
|
|
484
|
+
if (settings.targets.length === 0) return [];
|
|
485
|
+
const [{ getRuntimeRegistry }, { registerBuiltinRuntimes }, { listKnownModelsForRuntime }] = await Promise.all([
|
|
486
|
+
import("./registry-LG64LTF4.js"),
|
|
487
|
+
import("./builtins-C6JMZVV6.js"),
|
|
488
|
+
import("./support-MIETYA5E.js")
|
|
489
|
+
]);
|
|
490
|
+
const registry = getRuntimeRegistry();
|
|
491
|
+
if (registry.list().length === 0) registerBuiltinRuntimes(registry);
|
|
492
|
+
const results = await Promise.all(
|
|
493
|
+
settings.targets.map(async (target) => {
|
|
494
|
+
const runtime = registry.get(target.runtime);
|
|
495
|
+
if (!runtime) return null;
|
|
496
|
+
if (listKnownModelsForRuntime(runtime.id).length > 0) return null;
|
|
497
|
+
const roles = configuredModelRoles(settings, target);
|
|
498
|
+
if (roles.length === 0) return null;
|
|
499
|
+
const live = await probeAdvertisedModels(target, runtime);
|
|
500
|
+
const recorded = target.wireModels ?? [];
|
|
501
|
+
if (live === null && recorded.length === 0) {
|
|
502
|
+
return {
|
|
503
|
+
ok: true,
|
|
504
|
+
level: "warn",
|
|
505
|
+
name: `model ${target.id}`,
|
|
506
|
+
detail: `${roles.map((entry) => `${entry.role} '${entry.model}'`).join(", ")} could not be verified: the target did not answer and configure recorded no model list; run \`clio-coder targets --probe\` once it is up`
|
|
507
|
+
};
|
|
508
|
+
}
|
|
509
|
+
const advertised = live ? live.advertised : recorded;
|
|
510
|
+
const source = live ? `advertised by ${target.url ?? target.id} now` : "recorded by configure at last save";
|
|
511
|
+
const missing = roles.filter((entry) => !advertised.includes(entry.model));
|
|
512
|
+
if (missing.length === 0) {
|
|
513
|
+
return {
|
|
514
|
+
ok: true,
|
|
515
|
+
name: `model ${target.id}`,
|
|
516
|
+
detail: `${roles.map((entry) => `${entry.role} '${entry.model}'`).join(", ")} ${source}`
|
|
517
|
+
};
|
|
518
|
+
}
|
|
519
|
+
const resident = live && live.resident.length > 0 ? live.resident.join(", ") : live ? "none" : "unknown";
|
|
520
|
+
return {
|
|
521
|
+
ok: false,
|
|
522
|
+
name: `model ${target.id}`,
|
|
523
|
+
detail: `${missing.map((entry) => `${entry.role} '${entry.model}'`).join(", ")} not ${source} (${advertised.length} ids). Resident instances: ${resident}. Re-run \`clio-coder configure --id ${target.id} --model <advertised id>\`; \`clio-coder targets --probe\` lists them`
|
|
524
|
+
};
|
|
525
|
+
})
|
|
526
|
+
);
|
|
527
|
+
return results.filter((finding) => finding !== null);
|
|
528
|
+
}
|
|
428
529
|
|
|
429
530
|
export {
|
|
430
531
|
readStateInfo,
|
|
@@ -435,6 +536,7 @@ export {
|
|
|
435
536
|
formatDoctorReport,
|
|
436
537
|
runDoctorFleetChecks,
|
|
437
538
|
runDoctorInteropChecks,
|
|
438
|
-
runDoctorRuntimeChecks
|
|
539
|
+
runDoctorRuntimeChecks,
|
|
540
|
+
runDoctorModelChecks
|
|
439
541
|
};
|
|
440
|
-
//# sourceMappingURL=chunk-
|
|
542
|
+
//# sourceMappingURL=chunk-WWCZ5F23.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZGVHUX3M.js";
|
|
5
5
|
import {
|
|
6
6
|
BusChannels
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TT36MB5S.js";
|
|
8
8
|
import {
|
|
9
9
|
init_esm_shims
|
|
10
10
|
} from "./chunk-3R73A4XB.js";
|
|
@@ -226,4 +226,4 @@ export {
|
|
|
226
226
|
runWithBudget,
|
|
227
227
|
getTerminationCoordinator
|
|
228
228
|
};
|
|
229
|
-
//# sourceMappingURL=chunk-
|
|
229
|
+
//# sourceMappingURL=chunk-WXY7KU3G.js.map
|
|
@@ -15,6 +15,10 @@ function printError(message, detail) {
|
|
|
15
15
|
if (detail) process.stderr.write(` ${detail}
|
|
16
16
|
`);
|
|
17
17
|
}
|
|
18
|
+
function printNote(message) {
|
|
19
|
+
process.stderr.write(`${source_default.yellow("note:")} ${message}
|
|
20
|
+
`);
|
|
21
|
+
}
|
|
18
22
|
function printOk(message) {
|
|
19
23
|
process.stdout.write(`${source_default.green("ok:")} ${message}
|
|
20
24
|
`);
|
|
@@ -138,6 +142,7 @@ function extractGlobalFlags(argv, isSubcommand = () => false) {
|
|
|
138
142
|
|
|
139
143
|
export {
|
|
140
144
|
printError,
|
|
145
|
+
printNote,
|
|
141
146
|
printOk,
|
|
142
147
|
printHeader,
|
|
143
148
|
columnWidths,
|
|
@@ -147,4 +152,4 @@ export {
|
|
|
147
152
|
globalFlagPositionHint,
|
|
148
153
|
extractGlobalFlags
|
|
149
154
|
};
|
|
150
|
-
//# sourceMappingURL=chunk-
|
|
155
|
+
//# sourceMappingURL=chunk-XK56QHLX.js.map
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { createRequire as __clioCreateRequire } from "node:module"; const require = __clioCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
readClioVersion
|
|
4
|
+
} from "./chunk-IWHMRKLL.js";
|
|
2
5
|
import {
|
|
3
6
|
DEFAULT_SETTINGS_YAML
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4DGYLA73.js";
|
|
5
8
|
import {
|
|
6
9
|
clioCacheDir,
|
|
7
10
|
clioConfigDir,
|
|
@@ -9,9 +12,6 @@ import {
|
|
|
9
12
|
clioStateDir,
|
|
10
13
|
resolveClioDirs
|
|
11
14
|
} from "./chunk-BNAZZHFG.js";
|
|
12
|
-
import {
|
|
13
|
-
readClioVersion
|
|
14
|
-
} from "./chunk-IWHMRKLL.js";
|
|
15
15
|
import {
|
|
16
16
|
init_esm_shims
|
|
17
17
|
} from "./chunk-3R73A4XB.js";
|
|
@@ -143,4 +143,4 @@ function enforceHomePrefixGuard() {
|
|
|
143
143
|
export {
|
|
144
144
|
initializeClioHome
|
|
145
145
|
};
|
|
146
|
-
//# sourceMappingURL=chunk-
|
|
146
|
+
//# sourceMappingURL=chunk-XWSF374K.js.map
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { createRequire as __clioCreateRequire } from "node:module"; const require = __clioCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
probeWorkspace
|
|
4
|
-
} from "./chunk-HVDIIIQW.js";
|
|
5
2
|
import {
|
|
6
3
|
entryBelongsToPath
|
|
7
4
|
} from "./chunk-W6GROXXM.js";
|
|
8
5
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
6
|
+
probeWorkspace
|
|
7
|
+
} from "./chunk-HVDIIIQW.js";
|
|
11
8
|
import {
|
|
12
9
|
isSessionEntry,
|
|
13
10
|
isSessionHeader
|
|
14
11
|
} from "./chunk-GOXNB3AO.js";
|
|
12
|
+
import {
|
|
13
|
+
protectArtifact
|
|
14
|
+
} from "./chunk-MV3K5QF2.js";
|
|
15
15
|
import {
|
|
16
16
|
stripTokenizerSentinels
|
|
17
17
|
} from "./chunk-CFGTUFWB.js";
|
|
18
|
+
import {
|
|
19
|
+
BusChannels
|
|
20
|
+
} from "./chunk-TT36MB5S.js";
|
|
18
21
|
import {
|
|
19
22
|
CURRENT_SESSION_FORMAT_VERSION,
|
|
20
23
|
appendSessionFileEntry,
|
|
@@ -26,14 +29,11 @@ import {
|
|
|
26
29
|
readSessionMeta,
|
|
27
30
|
resumeSession,
|
|
28
31
|
sessionPaths
|
|
29
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3BINW3FP.js";
|
|
30
33
|
import {
|
|
31
34
|
clioStateDir,
|
|
32
35
|
stateRootRemoved
|
|
33
36
|
} from "./chunk-BNAZZHFG.js";
|
|
34
|
-
import {
|
|
35
|
-
BusChannels
|
|
36
|
-
} from "./chunk-G7MUEIGA.js";
|
|
37
37
|
import {
|
|
38
38
|
init_esm_shims
|
|
39
39
|
} from "./chunk-3R73A4XB.js";
|
|
@@ -1475,4 +1475,4 @@ export {
|
|
|
1475
1475
|
ledgerUsageCalls,
|
|
1476
1476
|
SessionDomainModule
|
|
1477
1477
|
};
|
|
1478
|
-
//# sourceMappingURL=chunk-
|
|
1478
|
+
//# sourceMappingURL=chunk-YS5VLNH5.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-W6GROXXM.js";
|
|
15
15
|
import {
|
|
16
16
|
ceilChars
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RWSI4YD7.js";
|
|
18
18
|
import {
|
|
19
19
|
init_esm_shims
|
|
20
20
|
} from "./chunk-3R73A4XB.js";
|
|
@@ -119,4 +119,4 @@ export {
|
|
|
119
119
|
recallableRefListing,
|
|
120
120
|
recallErrorMessage
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=chunk-
|
|
122
|
+
//# sourceMappingURL=chunk-ZNLWCMVZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __clioCreateRequire } from "node:module"; const require = __clioCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
ceilChars
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RWSI4YD7.js";
|
|
5
5
|
import {
|
|
6
6
|
clioStateDir
|
|
7
7
|
} from "./chunk-BNAZZHFG.js";
|
|
@@ -616,4 +616,4 @@ export {
|
|
|
616
616
|
createTaskMemoryTelemetrySink,
|
|
617
617
|
taskMemoryBankDelta
|
|
618
618
|
};
|
|
619
|
-
//# sourceMappingURL=chunk-
|
|
619
|
+
//# sourceMappingURL=chunk-ZVJ5BLO2.js.map
|
package/dist/cli/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
extractGlobalFlags,
|
|
11
11
|
parseFlags,
|
|
12
12
|
printError
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-XK56QHLX.js";
|
|
14
14
|
import "../chunk-5TSRNF4G.js";
|
|
15
15
|
import {
|
|
16
16
|
AI_AGENT_NAME
|
|
@@ -59,7 +59,7 @@ Usage:
|
|
|
59
59
|
clio-coder uninstall remove all Clio Coder state; --remove-binary also unlinks the launcher
|
|
60
60
|
clio-coder upgrade upgrade Clio Coder and run pending migrations
|
|
61
61
|
clio-coder agents list discovered agent recipes
|
|
62
|
-
clio-coder fleet
|
|
62
|
+
clio-coder fleet new|validate|graph|commands|run|status|drain|resume fleet authoring, execution, status, and admission control
|
|
63
63
|
clio-coder evidence build, list, or inspect evidence artifacts
|
|
64
64
|
clio-coder eval run, report, or compare local eval task files
|
|
65
65
|
clio-coder memory list, propose, promote, approve, reject, or prune memory
|
|
@@ -67,6 +67,7 @@ Usage:
|
|
|
67
67
|
clio-coder trace query or view the durable dispatch trace mirror
|
|
68
68
|
clio-coder extensions install, list, enable, disable, or remove extension packages
|
|
69
69
|
clio-coder skills list, inspect, validate, or install skills
|
|
70
|
+
clio-coder library list, search, add, or sync agents, prompts, fleets, and skills from catalogs
|
|
70
71
|
clio-coder verifiers discover, author, validate, edit, or dry-run project checks
|
|
71
72
|
clio-coder docs [topic] serve the HTML docs of a source checkout on 127.0.0.1 (--no-open to skip browser)
|
|
72
73
|
clio-coder dev <command> harness instruments; run 'clio-coder dev' for the list
|
|
@@ -144,7 +145,7 @@ async function main(argv) {
|
|
|
144
145
|
};
|
|
145
146
|
if (!subcommand) {
|
|
146
147
|
await enableBootCompileCache();
|
|
147
|
-
const { runClioCommand } = await import("../clio-
|
|
148
|
+
const { runClioCommand } = await import("../clio-QVTYJ57A.js");
|
|
148
149
|
return runClioCommand(bootOptions);
|
|
149
150
|
}
|
|
150
151
|
return dispatch(subcommand, subArgs, bootOptions);
|
|
@@ -154,28 +155,28 @@ async function enableBootCompileCache(subArgs = []) {
|
|
|
154
155
|
const { enableClioCompileCache } = await import("../compile-cache-CVJMMODC.js");
|
|
155
156
|
enableClioCompileCache();
|
|
156
157
|
}
|
|
157
|
-
var extensionsCommand = async (subArgs) => (await import("../extensions-
|
|
158
|
+
var extensionsCommand = async (subArgs) => (await import("../extensions-HVKU65YU.js")).runExtensionsCommand(subArgs);
|
|
158
159
|
var COMMAND_HANDLERS = /* @__PURE__ */ new Map([
|
|
159
160
|
[
|
|
160
161
|
"acp",
|
|
161
162
|
async (subArgs, bootOptions) => {
|
|
162
163
|
await enableBootCompileCache(subArgs);
|
|
163
|
-
return (await import("../acp-
|
|
164
|
+
return (await import("../acp-U67UHUK2.js")).runAcpCommand(subArgs, bootOptions);
|
|
164
165
|
}
|
|
165
166
|
],
|
|
166
|
-
["auth", async (subArgs) => (await import("../auth-
|
|
167
|
-
["config", async (subArgs) => (await import("../config-
|
|
168
|
-
["configure", async (subArgs) => (await import("../configure-
|
|
169
|
-
["targets", async (subArgs) => (await import("../targets-
|
|
170
|
-
["models", async (subArgs) => (await import("../models-
|
|
171
|
-
["agents", async (subArgs) => (await import("../agents-
|
|
172
|
-
["components", async (subArgs) => (await import("../components-
|
|
173
|
-
["evidence", async (subArgs) => (await import("../evidence-
|
|
174
|
-
["eval", async (subArgs) => (await import("../eval-
|
|
175
|
-
["memory", async (subArgs) => (await import("../memory-
|
|
176
|
-
["usage", async (subArgs) => (await import("../usage-
|
|
167
|
+
["auth", async (subArgs) => (await import("../auth-5ZPJOIVG.js")).runAuthCommand(subArgs)],
|
|
168
|
+
["config", async (subArgs) => (await import("../config-LW5IJFQN.js")).runConfigCommand(subArgs)],
|
|
169
|
+
["configure", async (subArgs) => (await import("../configure-7XIZCOU4.js")).runConfigureCommand(subArgs)],
|
|
170
|
+
["targets", async (subArgs) => (await import("../targets-VGNXIR3S.js")).runTargetsCommand(subArgs)],
|
|
171
|
+
["models", async (subArgs) => (await import("../models-ENRJDA5W.js")).runModelsCommand(subArgs)],
|
|
172
|
+
["agents", async (subArgs) => (await import("../agents-YU6SGALZ.js")).runAgentsCommand(subArgs)],
|
|
173
|
+
["components", async (subArgs) => (await import("../components-ZFA3SAER.js")).runComponentsCommand(subArgs)],
|
|
174
|
+
["evidence", async (subArgs) => (await import("../evidence-REJUMSKM.js")).runEvidenceCommand(subArgs)],
|
|
175
|
+
["eval", async (subArgs) => (await import("../eval-BEC2WHDA.js")).runEvalCommand(subArgs)],
|
|
176
|
+
["memory", async (subArgs) => (await import("../memory-6IS7F275.js")).runMemoryCommand(subArgs)],
|
|
177
|
+
["usage", async (subArgs) => (await import("../usage-N4MKVHKD.js")).runUsageCommand(subArgs)],
|
|
177
178
|
["trace", async (subArgs) => (await import("../trace-PNCASAXC.js")).runTraceCommand(subArgs)],
|
|
178
|
-
["evolve", async (subArgs) => (await import("../evolve-
|
|
179
|
+
["evolve", async (subArgs) => (await import("../evolve-PY5ZBA5K.js")).runEvolveCommand(subArgs)],
|
|
179
180
|
[
|
|
180
181
|
"dev",
|
|
181
182
|
async (subArgs, bootOptions) => {
|
|
@@ -194,26 +195,27 @@ var COMMAND_HANDLERS = /* @__PURE__ */ new Map([
|
|
|
194
195
|
],
|
|
195
196
|
["extensions", extensionsCommand],
|
|
196
197
|
["ext", extensionsCommand],
|
|
197
|
-
["fleet", async (subArgs) => (await import("../fleet-
|
|
198
|
-
["skills", async (subArgs) => (await import("../skills-
|
|
199
|
-
["
|
|
200
|
-
["
|
|
201
|
-
["
|
|
202
|
-
["
|
|
203
|
-
["
|
|
204
|
-
["
|
|
198
|
+
["fleet", async (subArgs) => (await import("../fleet-7WZEWRFA.js")).runFleetCommand(subArgs)],
|
|
199
|
+
["skills", async (subArgs) => (await import("../skills-ALC5J6AT.js")).runSkillsCommand(subArgs)],
|
|
200
|
+
["library", async (subArgs) => (await import("../library-CNTMPLRF.js")).runLibraryCommand(subArgs)],
|
|
201
|
+
["verifiers", async (subArgs) => (await import("../verifiers-YAWOJ3H2.js")).runVerifiersCommand(subArgs)],
|
|
202
|
+
["docs", async (subArgs) => (await import("../docs-7LQ23DLM.js")).runDocsCommand(subArgs)],
|
|
203
|
+
["share", async (subArgs) => (await import("../share-A55GYP6Z.js")).runShareCommand(subArgs)],
|
|
204
|
+
["export", async (subArgs) => (await import("../share-A55GYP6Z.js")).runExportCommand(subArgs)],
|
|
205
|
+
["import", async (subArgs) => (await import("../share-A55GYP6Z.js")).runImportCommand(subArgs)],
|
|
206
|
+
["context", async (subArgs) => (await import("../context-Y6Y7QPR6.js")).runContextCommand(subArgs)],
|
|
205
207
|
[
|
|
206
208
|
"run",
|
|
207
209
|
async (subArgs, bootOptions) => {
|
|
208
210
|
await enableBootCompileCache(subArgs);
|
|
209
|
-
return (await import("../run-
|
|
211
|
+
return (await import("../run-Y2CNK5RU.js")).runClioRun(subArgs, bootOptions);
|
|
210
212
|
}
|
|
211
213
|
],
|
|
212
|
-
["doctor", async (subArgs) => (await import("../doctor-
|
|
213
|
-
["paths", async (subArgs) => (await import("../paths-
|
|
214
|
-
["reset", async (subArgs) => (await import("../reset-
|
|
215
|
-
["uninstall", async (subArgs) => (await import("../uninstall-
|
|
216
|
-
["upgrade", async (subArgs) => (await import("../upgrade-
|
|
214
|
+
["doctor", async (subArgs) => (await import("../doctor-M7YEDGAE.js")).runDoctorCommand(subArgs)],
|
|
215
|
+
["paths", async (subArgs) => (await import("../paths-DBXMZMDU.js")).runPathsCommand(subArgs)],
|
|
216
|
+
["reset", async (subArgs) => (await import("../reset-RZ4ER727.js")).runResetCommand(subArgs)],
|
|
217
|
+
["uninstall", async (subArgs) => (await import("../uninstall-ZJF5H5ZN.js")).runUninstallCommand(subArgs)],
|
|
218
|
+
["upgrade", async (subArgs) => (await import("../upgrade-FUSUAGHR.js")).runUpgradeCommand(subArgs)],
|
|
217
219
|
["version", async () => (await import("../version-KGEG7EPO.js")).runVersionCommand()],
|
|
218
220
|
[
|
|
219
221
|
"worker",
|
|
@@ -2,25 +2,25 @@ import { createRequire as __clioCreateRequire } from "node:module"; const requir
|
|
|
2
2
|
import {
|
|
3
3
|
runClioCommand,
|
|
4
4
|
terminalLeaseEligible
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VWZOAB7K.js";
|
|
6
|
+
import "./chunk-26LEYJZH.js";
|
|
7
7
|
import "./chunk-HKIYEGME.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-4OC57DA6.js";
|
|
11
|
-
import "./chunk-LL4KHSZI.js";
|
|
8
|
+
import "./chunk-XWSF374K.js";
|
|
9
|
+
import "./chunk-IJ7RPIYJ.js";
|
|
12
10
|
import "./chunk-FQ4SKYE4.js";
|
|
11
|
+
import "./chunk-IWHMRKLL.js";
|
|
12
|
+
import "./chunk-4DGYLA73.js";
|
|
13
|
+
import "./chunk-LL4KHSZI.js";
|
|
14
|
+
import "./chunk-4ZG3XFUR.js";
|
|
13
15
|
import "./chunk-IKCO5N3L.js";
|
|
14
16
|
import "./chunk-3I7MS7N2.js";
|
|
15
|
-
import "./chunk-4ZG3XFUR.js";
|
|
16
17
|
import "./chunk-APJ265NV.js";
|
|
17
|
-
import "./chunk-YXLYO42X.js";
|
|
18
18
|
import "./chunk-BNAZZHFG.js";
|
|
19
19
|
import "./chunk-WEPFGWHJ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-YXLYO42X.js";
|
|
21
21
|
import "./chunk-3R73A4XB.js";
|
|
22
22
|
export {
|
|
23
23
|
runClioCommand,
|
|
24
24
|
terminalLeaseEligible
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=clio-
|
|
26
|
+
//# sourceMappingURL=clio-QVTYJ57A.js.map
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
compileGlobRegex
|
|
21
21
|
} from "./chunk-VG7TBQIY.js";
|
|
22
22
|
import "./chunk-OQE5J4C6.js";
|
|
23
|
-
import "./chunk-ECH6PKUQ.js";
|
|
24
23
|
import {
|
|
25
24
|
OBSERVE_SELF_CAPS,
|
|
26
25
|
finalizeObservation,
|
|
@@ -29,6 +28,7 @@ import {
|
|
|
29
28
|
} from "./chunk-ODFEOB4F.js";
|
|
30
29
|
import "./chunk-OZNBF4L3.js";
|
|
31
30
|
import "./chunk-4BJ5BYCE.js";
|
|
31
|
+
import "./chunk-ECH6PKUQ.js";
|
|
32
32
|
import "./chunk-6XLNIQDB.js";
|
|
33
33
|
import "./chunk-5B2AEOW5.js";
|
|
34
34
|
import {
|
|
@@ -40,14 +40,14 @@ import {
|
|
|
40
40
|
readCodewiki
|
|
41
41
|
} from "./chunk-LBMZMYH2.js";
|
|
42
42
|
import "./chunk-33YXPOE3.js";
|
|
43
|
+
import "./chunk-4ZG3XFUR.js";
|
|
43
44
|
import "./chunk-IKCO5N3L.js";
|
|
44
45
|
import "./chunk-3I7MS7N2.js";
|
|
45
|
-
import "./chunk-4ZG3XFUR.js";
|
|
46
|
-
import "./chunk-FCSXB6T2.js";
|
|
47
46
|
import "./chunk-APJ265NV.js";
|
|
48
|
-
import "./chunk-YXLYO42X.js";
|
|
49
47
|
import "./chunk-BNAZZHFG.js";
|
|
50
48
|
import "./chunk-WEPFGWHJ.js";
|
|
49
|
+
import "./chunk-FCSXB6T2.js";
|
|
50
|
+
import "./chunk-YXLYO42X.js";
|
|
51
51
|
import {
|
|
52
52
|
init_esm_shims
|
|
53
53
|
} from "./chunk-3R73A4XB.js";
|
|
@@ -599,4 +599,4 @@ var codeNavTool = {
|
|
|
599
599
|
export {
|
|
600
600
|
codeNavTool
|
|
601
601
|
};
|
|
602
|
-
//# sourceMappingURL=code-nav-
|
|
602
|
+
//# sourceMappingURL=code-nav-FGGFIE7L.js.map
|