raga-cli 0.0.0-stage → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +103 -0
- package/LICENSE +21 -0
- package/README.md +139 -2
- package/bundled-skills/AGENTS.md +5 -0
- package/bundled-skills/README.md +25 -0
- package/bundled-skills/agents/comment-sicko.json +9 -0
- package/bundled-skills/agents/comment-sicko.md +28 -0
- package/bundled-skills/agents/model-roles.json +41 -0
- package/bundled-skills/agents/poteto-agent.json +9 -0
- package/bundled-skills/agents/poteto-agent.md +4 -0
- package/bundled-skills/agents/worker.json +8 -0
- package/bundled-skills/agents/worker.md +1 -0
- package/bundled-skills/bundle.json +1448 -0
- package/bundled-skills/dependencies.json +40 -0
- package/bundled-skills/docs/guide/01-setup.md +3 -0
- package/bundled-skills/docs/guide/02-peak.md +135 -0
- package/bundled-skills/docs/guide/03-understand.md +79 -0
- package/bundled-skills/docs/guide/04-design.md +133 -0
- package/bundled-skills/docs/guide/05-build-and-clean.md +83 -0
- package/bundled-skills/docs/guide/06-verify-and-ship.md +166 -0
- package/bundled-skills/docs/guide/07-overnight.md +118 -0
- package/bundled-skills/docs/guide/08-principles.md +72 -0
- package/bundled-skills/docs/guide/09-make-it-yours.md +96 -0
- package/bundled-skills/docs/guide/10-recipes-and-pitfalls.md +180 -0
- package/bundled-skills/docs/guide/README.md +38 -0
- package/bundled-skills/docs/guide/images/design.jpg +0 -0
- package/bundled-skills/docs/guide/images/overnight.jpg +0 -0
- package/bundled-skills/docs/guide/images/recipes.jpg +0 -0
- package/bundled-skills/docs/guide/images/router.jpg +0 -0
- package/bundled-skills/docs/guide/images/understanding.jpg +0 -0
- package/bundled-skills/docs/guide/images/verification.jpg +0 -0
- package/bundled-skills/licenses/commander +22 -0
- package/bundled-skills/licenses/cursor-team-kit +21 -0
- package/bundled-skills/licenses/no-mistakes +21 -0
- package/bundled-skills/licenses/pstack +21 -0
- package/bundled-skills/skills/peak/SKILL.md +184 -0
- package/bundled-skills/skills/peak/playbooks/authoring-a-skill.md +12 -0
- package/bundled-skills/skills/peak/playbooks/autonomous-run.md +13 -0
- package/bundled-skills/skills/peak/playbooks/autopilot-full.md +25 -0
- package/bundled-skills/skills/peak/playbooks/autopilot-stack.md +12 -0
- package/bundled-skills/skills/peak/playbooks/babysit.md +18 -0
- package/bundled-skills/skills/peak/playbooks/bug-fix.md +15 -0
- package/bundled-skills/skills/peak/playbooks/eval.md +25 -0
- package/bundled-skills/skills/peak/playbooks/feature.md +21 -0
- package/bundled-skills/skills/peak/playbooks/hillclimb.md +21 -0
- package/bundled-skills/skills/peak/playbooks/investigation.md +14 -0
- package/bundled-skills/skills/peak/playbooks/multi-phase-plan.md +155 -0
- package/bundled-skills/skills/peak/playbooks/opening-a-pr.md +34 -0
- package/bundled-skills/skills/peak/playbooks/orchestrate.md +112 -0
- package/bundled-skills/skills/peak/playbooks/pause-safely.md +10 -0
- package/bundled-skills/skills/peak/playbooks/perf-issue.md +25 -0
- package/bundled-skills/skills/peak/playbooks/prototype.md +14 -0
- package/bundled-skills/skills/peak/playbooks/refactoring.md +16 -0
- package/bundled-skills/skills/peak/playbooks/runtime-forensics.md +11 -0
- package/bundled-skills/skills/peak/playbooks/session-pickup.md +11 -0
- package/bundled-skills/skills/peak/playbooks/shipping.md +12 -0
- package/bundled-skills/skills/peak/playbooks/trace-forensics.md +14 -0
- package/bundled-skills/skills/peak/playbooks/visual-parity.md +11 -0
- package/bundled-skills/skills/peak/playbooks/worktree-cleanup.md +6 -0
- package/bundled-skills/skills/peak/references/architect/SKILL.md +81 -0
- package/bundled-skills/skills/peak/references/architect/references/design-red-flags.md +57 -0
- package/bundled-skills/skills/peak/references/architect/references/rationale-template.md +35 -0
- package/bundled-skills/skills/peak/references/architect/references/runner-prompt.md +20 -0
- package/bundled-skills/skills/peak/references/arena/SKILL.md +50 -0
- package/bundled-skills/skills/peak/references/automate-me/SKILL.md +106 -0
- package/bundled-skills/skills/peak/references/benchmark-checklist/SKILL.md +41 -0
- package/bundled-skills/skills/peak/references/blast-radius/SKILL.md +52 -0
- package/bundled-skills/skills/peak/references/bro/SKILL.md +9 -0
- package/bundled-skills/skills/peak/references/control-cli/SKILL.md +111 -0
- package/bundled-skills/skills/peak/references/control-ui/SKILL.md +111 -0
- package/bundled-skills/skills/peak/references/correct/SKILL.md +34 -0
- package/bundled-skills/skills/peak/references/create-formal-verification-skill/SKILL.md +43 -0
- package/bundled-skills/skills/peak/references/create-skill/SKILL.md +14 -0
- package/bundled-skills/skills/peak/references/create-verification-skill/SKILL.md +46 -0
- package/bundled-skills/skills/peak/references/create-verification-skill/references/feature-map-example/README.md +47 -0
- package/bundled-skills/skills/peak/references/create-verification-skill/references/feature-map-example/create-note.md +39 -0
- package/bundled-skills/skills/peak/references/create-verification-skill/references/feature-map-example/search.md +45 -0
- package/bundled-skills/skills/peak/references/deslop/SKILL.md +24 -0
- package/bundled-skills/skills/peak/references/figure-it-out/SKILL.md +54 -0
- package/bundled-skills/skills/peak/references/how/SKILL.md +38 -0
- package/bundled-skills/skills/peak/references/how/references/explainer-prompt.md +55 -0
- package/bundled-skills/skills/peak/references/how/references/explorer-prompt.md +35 -0
- package/bundled-skills/skills/peak/references/in-your-own-words/SKILL.md +9 -0
- package/bundled-skills/skills/peak/references/interrogate/SKILL.md +76 -0
- package/bundled-skills/skills/peak/references/interrogate/references/code-quality-review.md +47 -0
- package/bundled-skills/skills/peak/references/interrogate/references/lead-judgment.md +39 -0
- package/bundled-skills/skills/peak/references/interrogate/references/reviewer-prompt.md +62 -0
- package/bundled-skills/skills/peak/references/interrogate/references/rubric.md +77 -0
- package/bundled-skills/skills/peak/references/ketchup/SKILL.md +45 -0
- package/bundled-skills/skills/peak/references/maintain-formal-verification-skill/SKILL.md +60 -0
- package/bundled-skills/skills/peak/references/maintain-verification-skill/SKILL.md +41 -0
- package/bundled-skills/skills/peak/references/no-comments/SKILL.md +26 -0
- package/bundled-skills/skills/peak/references/no-mistakes/SKILL.md +20 -0
- package/bundled-skills/skills/peak/references/no-mistakes/upstream/SKILL.md +394 -0
- package/bundled-skills/skills/peak/references/peak-setup/SKILL.md +18 -0
- package/bundled-skills/skills/peak/references/poteto-help/SKILL.md +16 -0
- package/bundled-skills/skills/peak/references/poteto-help/references/prompting.md +51 -0
- package/bundled-skills/skills/peak/references/poteto-help/references/recipes.md +51 -0
- package/bundled-skills/skills/peak/references/principle-attack-the-premise/SKILL.md +23 -0
- package/bundled-skills/skills/peak/references/principle-boundary-discipline/SKILL.md +36 -0
- package/bundled-skills/skills/peak/references/principle-build-the-lever/SKILL.md +25 -0
- package/bundled-skills/skills/peak/references/principle-encode-lessons-in-structure/SKILL.md +13 -0
- package/bundled-skills/skills/peak/references/principle-exhaust-the-design-space/SKILL.md +11 -0
- package/bundled-skills/skills/peak/references/principle-experience-first/SKILL.md +21 -0
- package/bundled-skills/skills/peak/references/principle-explain-the-number/SKILL.md +19 -0
- package/bundled-skills/skills/peak/references/principle-fix-root-causes/SKILL.md +23 -0
- package/bundled-skills/skills/peak/references/principle-foundational-thinking/SKILL.md +23 -0
- package/bundled-skills/skills/peak/references/principle-guard-the-context-window/SKILL.md +14 -0
- package/bundled-skills/skills/peak/references/principle-laziness-protocol/SKILL.md +12 -0
- package/bundled-skills/skills/peak/references/principle-make-operations-idempotent/SKILL.md +24 -0
- package/bundled-skills/skills/peak/references/principle-migrate-callers-then-delete-legacy-apis/SKILL.md +16 -0
- package/bundled-skills/skills/peak/references/principle-minimize-reader-load/SKILL.md +20 -0
- package/bundled-skills/skills/peak/references/principle-model-the-domain/SKILL.md +26 -0
- package/bundled-skills/skills/peak/references/principle-never-block-on-the-human/SKILL.md +17 -0
- package/bundled-skills/skills/peak/references/principle-outcome-oriented-execution/SKILL.md +23 -0
- package/bundled-skills/skills/peak/references/principle-prove-it-works/SKILL.md +24 -0
- package/bundled-skills/skills/peak/references/principle-redesign-from-first-principles/SKILL.md +18 -0
- package/bundled-skills/skills/peak/references/principle-separate-before-serializing-shared-state/SKILL.md +18 -0
- package/bundled-skills/skills/peak/references/principle-sequence-verifiable-units/SKILL.md +19 -0
- package/bundled-skills/skills/peak/references/principle-subtract-before-you-add/SKILL.md +20 -0
- package/bundled-skills/skills/peak/references/principle-test-behavior-not-implementation/SKILL.md +22 -0
- package/bundled-skills/skills/peak/references/principle-type-system-discipline/SKILL.md +15 -0
- package/bundled-skills/skills/peak/references/raga-runtime/SKILL.md +37 -0
- package/bundled-skills/skills/peak/references/raga-runtime/managed-tools.mjs +34 -0
- package/bundled-skills/skills/peak/references/raga-runtime/raga_runtime.py +44 -0
- package/bundled-skills/skills/peak/references/recall/SKILL.md +37 -0
- package/bundled-skills/skills/peak/references/reflect/SKILL.md +63 -0
- package/bundled-skills/skills/peak/references/reflect/references/divergent-reviewer.md +38 -0
- package/bundled-skills/skills/peak/references/reflect/references/judgment-reviewer.md +37 -0
- package/bundled-skills/skills/peak/references/reflect/references/synthesizer.md +56 -0
- package/bundled-skills/skills/peak/references/reflect/references/tooling-reviewer.md +48 -0
- package/bundled-skills/skills/peak/references/reviewer-triage.md +142 -0
- package/bundled-skills/skills/peak/references/sharpen/SKILL.md +18 -0
- package/bundled-skills/skills/peak/references/show-me-your-work/SKILL.md +84 -0
- package/bundled-skills/skills/peak/references/show-me-your-work/references/decision-log-template.tsv +1 -0
- package/bundled-skills/skills/peak/references/show-me-your-work/scripts/log.sh +42 -0
- package/bundled-skills/skills/peak/references/statechart/SKILL.md +38 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/chart-to-tla.mjs +236 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/compare-charts.mjs +104 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/lib.mjs +725 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/model/OutputFolder.cfg +6 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/model/OutputFolder.map.mjs +106 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/model/OutputFolder.tla +176 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/statechart.mjs +749 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/test/statechart.test.mjs +2790 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/test/sync.mmd +19 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/test/upload.mmd +16 -0
- package/bundled-skills/skills/peak/references/statechart/scripts/tlc-to-chart.mjs +1347 -0
- package/bundled-skills/skills/peak/references/swarm/SKILL.md +43 -0
- package/bundled-skills/skills/peak/references/tdd/SKILL.md +44 -0
- package/bundled-skills/skills/peak/references/teach/SKILL.md +23 -0
- package/bundled-skills/skills/peak/references/technical-writing/SKILL.md +108 -0
- package/bundled-skills/skills/peak/references/typescript-best-practices/SKILL.md +33 -0
- package/bundled-skills/skills/peak/references/typescript-best-practices/references/patterns.md +328 -0
- package/bundled-skills/skills/peak/references/unslop/SKILL.md +64 -0
- package/bundled-skills/skills/peak/references/verify-this/SKILL.md +76 -0
- package/bundled-skills/skills/peak/references/why/SKILL.md +100 -0
- package/bundled-skills/skills/peak/references/why/references/epistemics.md +71 -0
- package/bundled-skills/skills/peak/references/why/references/investigator-prompt.md +84 -0
- package/bundled-skills/skills/peak/references/why/references/source-playbook.md +17 -0
- package/bundled-skills/skills/peak/references/why/references/sources/code-archaeology.md +51 -0
- package/bundled-skills/skills/peak/references/why/references/sources/databricks.md +70 -0
- package/bundled-skills/skills/peak/references/why/references/sources/datadog.md +97 -0
- package/bundled-skills/skills/peak/references/why/references/sources/incident-postmortem.md +5 -0
- package/bundled-skills/skills/peak/references/why/references/sources/linear.md +48 -0
- package/bundled-skills/skills/peak/references/why/references/sources/notion.md +55 -0
- package/bundled-skills/skills/peak/references/why/references/sources/sentry.md +66 -0
- package/bundled-skills/skills/peak/references/why/references/sources/slack.md +17 -0
- package/bundled-skills/skills/peak/references/why/references/synthesizer-prompt.md +129 -0
- package/bundled-skills/skills/peak/scripts/check-plan.mjs +205 -0
- package/bundled-skills/skills/peak/scripts/check-plan.test.ts +96 -0
- package/bundled-skills/skills/peak/scripts/orch/orch.test.ts +761 -0
- package/bundled-skills/skills/peak/scripts/orch/orch.ts +588 -0
- package/bundled-skills/skills/peak/scripts/orch/store.ts +1676 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/LICENSE +22 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/esm.mjs +16 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/index.js +24 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/lib/argument.js +149 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/lib/command.js +2778 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/lib/error.js +39 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/lib/help.js +747 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/lib/option.js +379 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/lib/suggestSimilar.js +101 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/package.json +1 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/typings/esm.d.mts +3 -0
- package/bundled-skills/skills/peak/scripts/vendor/commander/typings/index.d.ts +1113 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/cli.test.ts +224 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/cli.ts +223 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/fakes.test-helper.ts +129 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/github.test.ts +436 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/github.ts +718 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/policy.test.ts +420 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/policy.ts +836 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/render.ts +169 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/tsconfig.json +13 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/types.compile.ts +93 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/types.ts +413 -0
- package/bundled-skills/skills/peak/scripts/watch-pr/watch-pr +4 -0
- package/bundled-skills/skills/peak/scripts/worktree-audit.sh +4 -0
- package/dist/bundle/chunks/anthropic-messages-BMDYDGHW.js +6 -0
- package/dist/bundle/chunks/anthropic.js +75 -0
- package/dist/bundle/chunks/azure-openai-responses-Q7EZTEHK.js +2 -0
- package/dist/bundle/chunks/bedrock-converse-stream.js +86 -0
- package/dist/bundle/chunks/chunk-3EGDWOKT.js +2 -0
- package/dist/bundle/chunks/chunk-3V45WARH.js +7 -0
- package/dist/bundle/chunks/chunk-5AGIVGSV.js +6 -0
- package/dist/bundle/chunks/chunk-6QGV3IWD.js +6 -0
- package/dist/bundle/chunks/chunk-7CBJINYJ.js +20 -0
- package/dist/bundle/chunks/chunk-7DDKXS2Q.js +2 -0
- package/dist/bundle/chunks/chunk-7ZC4UXSL.js +2 -0
- package/dist/bundle/chunks/chunk-AI2NMHE7.js +1567 -0
- package/dist/bundle/chunks/chunk-C4IJNE7U.js +2 -0
- package/dist/bundle/chunks/chunk-CF5GWZHW.js +31 -0
- package/dist/bundle/chunks/chunk-G54UBZTF.js +44 -0
- package/dist/bundle/chunks/chunk-H76KZMOI.js +2 -0
- package/dist/bundle/chunks/chunk-IOPE2TJ4.js +131 -0
- package/dist/bundle/chunks/chunk-IXDQLPKS.js +11 -0
- package/dist/bundle/chunks/chunk-J22MF7YW.js +64 -0
- package/dist/bundle/chunks/chunk-JLV25LHE.js +2 -0
- package/dist/bundle/chunks/chunk-JXWJOIH4.js +2 -0
- package/dist/bundle/chunks/chunk-KNY3PXQI.js +2 -0
- package/dist/bundle/chunks/chunk-L2ZPNLYD.js +2 -0
- package/dist/bundle/chunks/chunk-LPXNMA2W.js +2 -0
- package/dist/bundle/chunks/chunk-LVVZS2NO.js +12 -0
- package/dist/bundle/chunks/chunk-LX24DVQ5.js +2 -0
- package/dist/bundle/chunks/chunk-P2QCWBFM.js +9 -0
- package/dist/bundle/chunks/chunk-P7FPUEYA.js +2 -0
- package/dist/bundle/chunks/chunk-PGXDEOVV.js +2 -0
- package/dist/bundle/chunks/chunk-PJACZCIR.js +2 -0
- package/dist/bundle/chunks/chunk-PMRZO46Y.js +2 -0
- package/dist/bundle/chunks/chunk-PRRNXB7S.js +2 -0
- package/dist/bundle/chunks/chunk-Q4U25BSY.js +2 -0
- package/dist/bundle/chunks/chunk-RDZVAGPR.js +2 -0
- package/dist/bundle/chunks/chunk-RFPFZTK2.js +7 -0
- package/dist/bundle/chunks/chunk-RP2WKNT7.js +4 -0
- package/dist/bundle/chunks/chunk-TEPMHNKQ.js +2 -0
- package/dist/bundle/chunks/chunk-TMTOQ7H7.js +2 -0
- package/dist/bundle/chunks/chunk-UDT647VB.js +82 -0
- package/dist/bundle/chunks/chunk-UKVNB6C4.js +2 -0
- package/dist/bundle/chunks/chunk-USJZMAIR.js +2 -0
- package/dist/bundle/chunks/chunk-UTB4DTYQ.js +2 -0
- package/dist/bundle/chunks/chunk-WJGLPWUE.js +16 -0
- package/dist/bundle/chunks/chunk-YMZUNB25.js +2 -0
- package/dist/bundle/chunks/cli-4P6FVVLT.js +51 -0
- package/dist/bundle/chunks/cloudflare-workers-ai-system-one-S6CT2FXS.js +2 -0
- package/dist/bundle/chunks/codemode-worker.js +478 -0
- package/dist/bundle/chunks/easter-egg-3d-65VIC4G2.js +2 -0
- package/dist/bundle/chunks/execute-3H5WKMA3.js +505 -0
- package/dist/bundle/chunks/github-copilot.js +2 -0
- package/dist/bundle/chunks/google-generative-ai-35NZKG6S.js +2 -0
- package/dist/bundle/chunks/google-vertex-P33AHYYX.js +2 -0
- package/dist/bundle/chunks/https-proxy-agent-LVOO5TPL.js +13 -0
- package/dist/bundle/chunks/image-resize-worker.js +2 -0
- package/dist/bundle/chunks/jiti-loader-GL4HJFAD.js +21 -0
- package/dist/bundle/chunks/jiti-static-loader-2RCDI6B4.js +2 -0
- package/dist/bundle/chunks/kimi-coding.js +2 -0
- package/dist/bundle/chunks/lib-4AVRLBHM.js +9 -0
- package/dist/bundle/chunks/llama-cpp-classify-U4EH6TAM.js +22 -0
- package/dist/bundle/chunks/meta.js +2 -0
- package/dist/bundle/chunks/mistral-conversations-J62DPS2P.js +5 -0
- package/dist/bundle/chunks/multipart-parser-FMGQ7342.js +3 -0
- package/dist/bundle/chunks/node-AUOGOBCN.js +2 -0
- package/dist/bundle/chunks/node-KCMANYC2.js +16 -0
- package/dist/bundle/chunks/openai-chatgpt.js +75 -0
- package/dist/bundle/chunks/openai-codex-responses-4HXATL2M.js +10 -0
- package/dist/bundle/chunks/openai-codex.js +75 -0
- package/dist/bundle/chunks/openai-completions-75YYY35N.js +7 -0
- package/dist/bundle/chunks/openai-decisions-HEBEVGA2.js +5 -0
- package/dist/bundle/chunks/openai-responses-UWNAKTBV.js +4 -0
- package/dist/bundle/chunks/openrouter-images-HVOPXKHS.js +2 -0
- package/dist/bundle/chunks/openrouter.js +75 -0
- package/dist/bundle/chunks/pi-messages-DG7CALOV.js +8 -0
- package/dist/bundle/chunks/radius.js +75 -0
- package/dist/bundle/chunks/runtime-435R6IKY.js +2 -0
- package/dist/bundle/chunks/src-QKGKDFSU.js +4 -0
- package/dist/bundle/chunks/typesafe-system-one-24HEGHNN.js +2 -0
- package/dist/bundle/chunks/virtual-modules-U3JBUDP7.js +2 -0
- package/dist/bundle/chunks/xai.js +2 -0
- package/dist/bundle/cli-runtime.js +3 -0
- package/dist/bundle/cli.js +5 -0
- package/dist/bundle/index.js +2 -0
- package/dist/bundle/raga-runtime.js +3 -0
- package/dist/bundle/raga.js +5 -0
- package/dist/bundle/rpc-entry.js +3 -0
- package/dist/core/export-html/template.css +1085 -0
- package/dist/core/export-html/template.html +56 -0
- package/dist/core/export-html/template.js +2044 -0
- package/dist/core/export-html/vendor/highlight.min.js +1213 -0
- package/dist/core/export-html/vendor/marked-cjk-friendly.min.js +6 -0
- package/dist/core/export-html/vendor/marked.min.js +79 -0
- package/dist/modes/interactive/assets/clankolas.png +0 -0
- package/dist/modes/interactive/theme/dark.json +78 -0
- package/dist/modes/interactive/theme/light.json +78 -0
- package/docs/cli-integration.md +106 -0
- package/docs/cli.md +337 -0
- package/docs/codemode.md +230 -0
- package/docs/compaction.md +463 -0
- package/docs/configuration.md +62 -0
- package/docs/containerization.md +183 -0
- package/docs/custom-provider.md +227 -0
- package/docs/docs.json +220 -0
- package/docs/environment-variables.md +101 -0
- package/docs/extensions.md +400 -0
- package/docs/how-pi-works.md +49 -0
- package/docs/images/doom-extension.png +0 -0
- package/docs/images/exy.png +0 -0
- package/docs/images/interactive-mode.png +0 -0
- package/docs/images/tree-view.png +0 -0
- package/docs/index.md +39 -0
- package/docs/json.md +226 -0
- package/docs/keybindings.md +195 -0
- package/docs/llama-cpp.md +121 -0
- package/docs/mcp.md +272 -0
- package/docs/message-types.md +279 -0
- package/docs/models-configuration.md +196 -0
- package/docs/models.md +225 -0
- package/docs/nvidia-rtx-llama-cpp.md +96 -0
- package/docs/packages.md +129 -0
- package/docs/prompt-templates.md +59 -0
- package/docs/providers.md +247 -0
- package/docs/quickstart.md +136 -0
- package/docs/rpc-commands.md +860 -0
- package/docs/rpc-extension-ui.md +200 -0
- package/docs/rpc.md +193 -0
- package/docs/sdk.md +148 -0
- package/docs/security.md +99 -0
- package/docs/session-format.md +293 -0
- package/docs/sessions.md +66 -0
- package/docs/settings.md +184 -0
- package/docs/shell-aliases.md +93 -0
- package/docs/skills.md +93 -0
- package/docs/slash-commands.md +61 -0
- package/docs/terminal-setup.md +233 -0
- package/docs/termux.md +117 -0
- package/docs/themes.md +138 -0
- package/docs/tmux.md +55 -0
- package/docs/tui.md +195 -0
- package/docs/usage.md +94 -0
- package/docs/virtual-models.md +114 -0
- package/docs/windows.md +81 -0
- package/examples/README.md +36 -0
- package/examples/extensions/README.md +214 -0
- package/examples/extensions/auto-commit-on-exit.ts +49 -0
- package/examples/extensions/bash-spawn-hook.ts +30 -0
- package/examples/extensions/bookmark.ts +50 -0
- package/examples/extensions/border-status-editor.ts +150 -0
- package/examples/extensions/built-in-tool-renderer.ts +225 -0
- package/examples/extensions/claude-rules.ts +86 -0
- package/examples/extensions/commands.ts +72 -0
- package/examples/extensions/confirm-destructive.ts +59 -0
- package/examples/extensions/custom-compaction.ts +117 -0
- package/examples/extensions/custom-footer.ts +64 -0
- package/examples/extensions/custom-header.ts +73 -0
- package/examples/extensions/custom-provider-anthropic/index.ts +617 -0
- package/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
- package/examples/extensions/custom-provider-anthropic/package.json +19 -0
- package/examples/extensions/custom-provider-gitlab-duo/index.ts +405 -0
- package/examples/extensions/custom-provider-gitlab-duo/package.json +16 -0
- package/examples/extensions/custom-provider-gitlab-duo/test.ts +82 -0
- package/examples/extensions/debug-provider.ts +90 -0
- package/examples/extensions/dirty-repo-guard.ts +56 -0
- package/examples/extensions/doom-overlay/README.md +46 -0
- package/examples/extensions/doom-overlay/doom/build/doom.js +21 -0
- package/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
- package/examples/extensions/doom-overlay/doom/build.sh +152 -0
- package/examples/extensions/doom-overlay/doom/doomgeneric_pi.c +72 -0
- package/examples/extensions/doom-overlay/doom-component.ts +132 -0
- package/examples/extensions/doom-overlay/doom-engine.ts +173 -0
- package/examples/extensions/doom-overlay/doom-keys.ts +104 -0
- package/examples/extensions/doom-overlay/index.ts +74 -0
- package/examples/extensions/doom-overlay/wad-finder.ts +55 -0
- package/examples/extensions/dynamic-resources/SKILL.md +8 -0
- package/examples/extensions/dynamic-resources/dynamic.json +81 -0
- package/examples/extensions/dynamic-resources/dynamic.md +5 -0
- package/examples/extensions/dynamic-resources/index.ts +15 -0
- package/examples/extensions/dynamic-tools.ts +74 -0
- package/examples/extensions/entry-renderer.ts +41 -0
- package/examples/extensions/event-bus.ts +43 -0
- package/examples/extensions/file-trigger.ts +41 -0
- package/examples/extensions/git-checkpoint.ts +53 -0
- package/examples/extensions/git-merge-and-resolve.ts +115 -0
- package/examples/extensions/github-issue-autocomplete.ts +185 -0
- package/examples/extensions/gondolin/index.ts +531 -0
- package/examples/extensions/gondolin/package-lock.json +175 -0
- package/examples/extensions/gondolin/package.json +19 -0
- package/examples/extensions/handoff.ts +190 -0
- package/examples/extensions/hello.ts +26 -0
- package/examples/extensions/hidden-thinking-label.ts +53 -0
- package/examples/extensions/inline-bash.ts +94 -0
- package/examples/extensions/input-transform-streaming.ts +39 -0
- package/examples/extensions/input-transform.ts +43 -0
- package/examples/extensions/interactive-shell.ts +196 -0
- package/examples/extensions/jev-router.ts +113 -0
- package/examples/extensions/mac-system-theme.ts +47 -0
- package/examples/extensions/message-renderer.ts +59 -0
- package/examples/extensions/minimal-mode.ts +353 -0
- package/examples/extensions/modal-editor.ts +85 -0
- package/examples/extensions/model-status.ts +31 -0
- package/examples/extensions/notify.ts +57 -0
- package/examples/extensions/overlay-qa-tests.ts +1450 -0
- package/examples/extensions/overlay-test.ts +153 -0
- package/examples/extensions/permission-gate.ts +34 -0
- package/examples/extensions/pirate.ts +47 -0
- package/examples/extensions/plan-mode/README.md +66 -0
- package/examples/extensions/plan-mode/index.ts +394 -0
- package/examples/extensions/plan-mode/utils.ts +168 -0
- package/examples/extensions/preset.ts +436 -0
- package/examples/extensions/project-trust.ts +64 -0
- package/examples/extensions/prompt-customizer.ts +49 -0
- package/examples/extensions/protected-paths.ts +30 -0
- package/examples/extensions/provider-payload.ts +18 -0
- package/examples/extensions/qna.ts +118 -0
- package/examples/extensions/question.ts +286 -0
- package/examples/extensions/questionnaire.ts +448 -0
- package/examples/extensions/rainbow-editor.ts +88 -0
- package/examples/extensions/reload-runtime.ts +37 -0
- package/examples/extensions/rpc-demo.ts +118 -0
- package/examples/extensions/sandbox/index.ts +326 -0
- package/examples/extensions/sandbox/package-lock.json +92 -0
- package/examples/extensions/sandbox/package.json +19 -0
- package/examples/extensions/send-user-message.ts +97 -0
- package/examples/extensions/session-name.ts +27 -0
- package/examples/extensions/shutdown-command.ts +63 -0
- package/examples/extensions/snake.ts +343 -0
- package/examples/extensions/space-invaders.ts +560 -0
- package/examples/extensions/ssh.ts +220 -0
- package/examples/extensions/status-line.ts +32 -0
- package/examples/extensions/structured-output.ts +65 -0
- package/examples/extensions/subagent/README.md +177 -0
- package/examples/extensions/subagent/agents/planner.md +37 -0
- package/examples/extensions/subagent/agents/reviewer.md +35 -0
- package/examples/extensions/subagent/agents/scout.md +50 -0
- package/examples/extensions/subagent/agents/worker.md +24 -0
- package/examples/extensions/subagent/agents.ts +157 -0
- package/examples/extensions/subagent/index.ts +1038 -0
- package/examples/extensions/subagent/prompts/implement-and-review.md +10 -0
- package/examples/extensions/subagent/prompts/implement.md +10 -0
- package/examples/extensions/subagent/prompts/scout-and-plan.md +9 -0
- package/examples/extensions/summarize.ts +199 -0
- package/examples/extensions/system-prompt-header.ts +17 -0
- package/examples/extensions/tic-tac-toe.ts +1008 -0
- package/examples/extensions/timed-confirm.ts +70 -0
- package/examples/extensions/titlebar-spinner.ts +58 -0
- package/examples/extensions/todo.ts +297 -0
- package/examples/extensions/tool-override.ts +144 -0
- package/examples/extensions/tools.ts +146 -0
- package/examples/extensions/trigger-compact.ts +50 -0
- package/examples/extensions/truncated-tool.ts +195 -0
- package/examples/extensions/widget-placement.ts +9 -0
- package/examples/extensions/with-deps/index.ts +32 -0
- package/examples/extensions/with-deps/package-lock.json +31 -0
- package/examples/extensions/with-deps/package.json +22 -0
- package/examples/extensions/working-indicator.ts +123 -0
- package/examples/extensions/working-message-test.ts +25 -0
- package/examples/rpc-client.ts +35 -0
- package/examples/rpc-extension-ui.ts +661 -0
- package/examples/sdk/01-minimal.ts +26 -0
- package/examples/sdk/02-custom-model.ts +49 -0
- package/examples/sdk/03-custom-prompt.ts +75 -0
- package/examples/sdk/04-skills.ts +55 -0
- package/examples/sdk/05-tools.ts +48 -0
- package/examples/sdk/06-extensions.ts +99 -0
- package/examples/sdk/07-context-files.ts +47 -0
- package/examples/sdk/08-prompt-templates.ts +51 -0
- package/examples/sdk/09-api-keys-and-oauth.ts +34 -0
- package/examples/sdk/10-settings.ts +53 -0
- package/examples/sdk/11-sessions.ts +52 -0
- package/examples/sdk/12-full-control.ts +74 -0
- package/examples/sdk/13-session-runtime.ts +67 -0
- package/examples/sdk/14-codemode-mcp.ts +61 -0
- package/examples/sdk/README.md +141 -0
- package/package.json +21 -5
- package/python/raga_rlm/__init__.py +336 -0
- package/python/raga_rlm/repl.py +920 -0
- package/schemas/keybindings.schema.json +393 -0
- package/schemas/models.schema.json +1211 -0
- package/schemas/settings.schema.json +815 -0
- package/schemas/theme.schema.json +365 -0
|
@@ -0,0 +1,815 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://pi.dev/schemas/settings.schema.json",
|
|
4
|
+
"$comment": "This file is generated from TypeScript source. Do not edit it manually; run npm run generate:schemas.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"$schema": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "JSON Schema reference."
|
|
10
|
+
},
|
|
11
|
+
"lastChangelogVersion": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"defaultProvider": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"defaultModel": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"defaultThinkingLevel": {
|
|
21
|
+
"$ref": "#/$defs/ModelThinkingLevel"
|
|
22
|
+
},
|
|
23
|
+
"modelThinkingLevels": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"patternProperties": {
|
|
26
|
+
"^.*$": {
|
|
27
|
+
"$ref": "#/$defs/ModelThinkingLevel"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"description": "Per-model default thinking level overrides keyed by \"provider/modelId\"."
|
|
31
|
+
},
|
|
32
|
+
"transport": {
|
|
33
|
+
"anyOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "string",
|
|
36
|
+
"const": "auto"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "string",
|
|
40
|
+
"const": "sse"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "string",
|
|
44
|
+
"const": "websocket"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "string",
|
|
48
|
+
"const": "websocket-cached"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"default": "auto"
|
|
52
|
+
},
|
|
53
|
+
"sessionShareDestination": {
|
|
54
|
+
"anyOf": [
|
|
55
|
+
{
|
|
56
|
+
"type": "string",
|
|
57
|
+
"const": "auto"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "string",
|
|
61
|
+
"const": "gist"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "string",
|
|
65
|
+
"const": "radius"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"description": "Destination used by /share. \"auto\" uses Radius when authenticated and otherwise creates a GitHub gist.",
|
|
69
|
+
"default": "auto"
|
|
70
|
+
},
|
|
71
|
+
"steeringMode": {
|
|
72
|
+
"anyOf": [
|
|
73
|
+
{
|
|
74
|
+
"type": "string",
|
|
75
|
+
"const": "all"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "string",
|
|
79
|
+
"const": "one-at-a-time"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"default": "one-at-a-time"
|
|
83
|
+
},
|
|
84
|
+
"followUpMode": {
|
|
85
|
+
"anyOf": [
|
|
86
|
+
{
|
|
87
|
+
"type": "string",
|
|
88
|
+
"const": "all"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "string",
|
|
92
|
+
"const": "one-at-a-time"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"default": "one-at-a-time"
|
|
96
|
+
},
|
|
97
|
+
"theme": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"compaction": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"enabled": {
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"default": true
|
|
106
|
+
},
|
|
107
|
+
"reserveTokens": {
|
|
108
|
+
"type": "integer",
|
|
109
|
+
"minimum": 0,
|
|
110
|
+
"maximum": 9007199254740991,
|
|
111
|
+
"default": 16384
|
|
112
|
+
},
|
|
113
|
+
"keepRecentTokens": {
|
|
114
|
+
"type": "integer",
|
|
115
|
+
"minimum": 0,
|
|
116
|
+
"maximum": 9007199254740991,
|
|
117
|
+
"default": 20000
|
|
118
|
+
},
|
|
119
|
+
"modelOverrides": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"patternProperties": {
|
|
122
|
+
"^.*$": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"reserveTokens": {
|
|
126
|
+
"type": "integer",
|
|
127
|
+
"minimum": 0,
|
|
128
|
+
"maximum": 9007199254740991
|
|
129
|
+
},
|
|
130
|
+
"keepRecentTokens": {
|
|
131
|
+
"type": "integer",
|
|
132
|
+
"minimum": 0,
|
|
133
|
+
"maximum": 9007199254740991
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"description": "Per-model overrides keyed by exact \"provider/modelId\" strings."
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"branchSummary": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"reserveTokens": {
|
|
146
|
+
"type": "number",
|
|
147
|
+
"description": "Tokens reserved for the prompt and LLM response.",
|
|
148
|
+
"default": 16384
|
|
149
|
+
},
|
|
150
|
+
"skipPrompt": {
|
|
151
|
+
"type": "boolean",
|
|
152
|
+
"description": "When true, skips the \"Summarize branch?\" prompt and defaults to no summary.",
|
|
153
|
+
"default": false
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"retry": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"properties": {
|
|
160
|
+
"enabled": {
|
|
161
|
+
"type": "boolean",
|
|
162
|
+
"default": true
|
|
163
|
+
},
|
|
164
|
+
"maxRetries": {
|
|
165
|
+
"type": "number",
|
|
166
|
+
"default": 3
|
|
167
|
+
},
|
|
168
|
+
"baseDelayMs": {
|
|
169
|
+
"type": "number",
|
|
170
|
+
"description": "Exponential backoff base delay in milliseconds: 2s, 4s, 8s.",
|
|
171
|
+
"default": 2000
|
|
172
|
+
},
|
|
173
|
+
"maxAgentDelayMs": {
|
|
174
|
+
"type": "number",
|
|
175
|
+
"default": 60000
|
|
176
|
+
},
|
|
177
|
+
"provider": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"timeoutMs": {
|
|
181
|
+
"type": "number",
|
|
182
|
+
"description": "SDK or provider request timeout in milliseconds."
|
|
183
|
+
},
|
|
184
|
+
"maxRetries": {
|
|
185
|
+
"type": "number",
|
|
186
|
+
"description": "SDK or provider retry attempts."
|
|
187
|
+
},
|
|
188
|
+
"maxRetryDelayMs": {
|
|
189
|
+
"type": "number",
|
|
190
|
+
"description": "Maximum server-requested delay before failing.",
|
|
191
|
+
"default": 60000
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"maxDelayMs": {
|
|
196
|
+
"type": "number",
|
|
197
|
+
"description": "Legacy retry delay setting. Use provider.maxRetryDelayMs instead.",
|
|
198
|
+
"deprecated": true
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"hideThinkingBlock": {
|
|
203
|
+
"type": "boolean",
|
|
204
|
+
"default": false
|
|
205
|
+
},
|
|
206
|
+
"showCacheMissNotices": {
|
|
207
|
+
"type": "boolean",
|
|
208
|
+
"description": "Show cache cost and provider recovery notices.",
|
|
209
|
+
"default": false
|
|
210
|
+
},
|
|
211
|
+
"externalEditor": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"description": "Command for Ctrl+G external editor; takes precedence over VISUAL and EDITOR."
|
|
214
|
+
},
|
|
215
|
+
"shellPath": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"description": "Custom shell path, for example for Cygwin on Windows, with support for leading ~ expansion."
|
|
218
|
+
},
|
|
219
|
+
"quietStartup": {
|
|
220
|
+
"anyOf": [
|
|
221
|
+
{
|
|
222
|
+
"type": "boolean"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "string",
|
|
226
|
+
"const": "header"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"description": "When true, hide all startup output. When \"header\", keep only the startup header.",
|
|
230
|
+
"default": false
|
|
231
|
+
},
|
|
232
|
+
"defaultProjectTrust": {
|
|
233
|
+
"anyOf": [
|
|
234
|
+
{
|
|
235
|
+
"type": "string",
|
|
236
|
+
"const": "ask"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"type": "string",
|
|
240
|
+
"const": "always"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "string",
|
|
244
|
+
"const": "never"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"description": "Global setting only.",
|
|
248
|
+
"default": "ask"
|
|
249
|
+
},
|
|
250
|
+
"shellCommandPrefix": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"description": "Prefix prepended to every bash command, for example to enable shell aliases."
|
|
253
|
+
},
|
|
254
|
+
"npmCommand": {
|
|
255
|
+
"type": "array",
|
|
256
|
+
"items": {
|
|
257
|
+
"type": "string"
|
|
258
|
+
},
|
|
259
|
+
"description": "Command used for npm package lookup and installation, in argv form such as [\"mise\", \"exec\", \"node@20\", \"--\", \"npm\"]."
|
|
260
|
+
},
|
|
261
|
+
"collapseChangelog": {
|
|
262
|
+
"type": "boolean",
|
|
263
|
+
"description": "Show the condensed changelog after update; use /changelog for the full changelog.",
|
|
264
|
+
"default": false
|
|
265
|
+
},
|
|
266
|
+
"enableInstallTelemetry": {
|
|
267
|
+
"type": "boolean",
|
|
268
|
+
"description": "Send an anonymous version and update ping after changelog-detected updates.",
|
|
269
|
+
"default": true
|
|
270
|
+
},
|
|
271
|
+
"enableAnalytics": {
|
|
272
|
+
"type": "boolean",
|
|
273
|
+
"description": "Opt in to analytics data sharing.",
|
|
274
|
+
"default": false
|
|
275
|
+
},
|
|
276
|
+
"trackingId": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"description": "Analytics tracking identifier, generated when analytics is enabled."
|
|
279
|
+
},
|
|
280
|
+
"packages": {
|
|
281
|
+
"type": "array",
|
|
282
|
+
"items": {
|
|
283
|
+
"anyOf": [
|
|
284
|
+
{
|
|
285
|
+
"type": "string",
|
|
286
|
+
"description": "Load all resources from the package."
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"type": "object",
|
|
290
|
+
"required": [
|
|
291
|
+
"source"
|
|
292
|
+
],
|
|
293
|
+
"properties": {
|
|
294
|
+
"source": {
|
|
295
|
+
"type": "string"
|
|
296
|
+
},
|
|
297
|
+
"autoload": {
|
|
298
|
+
"type": "boolean",
|
|
299
|
+
"description": "When false, start empty and only apply explicit resource patterns."
|
|
300
|
+
},
|
|
301
|
+
"extensions": {
|
|
302
|
+
"type": "array",
|
|
303
|
+
"items": {
|
|
304
|
+
"type": "string"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"skills": {
|
|
308
|
+
"type": "array",
|
|
309
|
+
"items": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"prompts": {
|
|
314
|
+
"type": "array",
|
|
315
|
+
"items": {
|
|
316
|
+
"type": "string"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"themes": {
|
|
320
|
+
"type": "array",
|
|
321
|
+
"items": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"description": "Package source for npm or git packages. Use the string form to load all resources or the object form to filter resources."
|
|
329
|
+
},
|
|
330
|
+
"description": "npm or git package sources, as strings or objects with resource filtering."
|
|
331
|
+
},
|
|
332
|
+
"extensions": {
|
|
333
|
+
"type": "array",
|
|
334
|
+
"items": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
},
|
|
337
|
+
"description": "Local extension file paths or directories."
|
|
338
|
+
},
|
|
339
|
+
"deviceId": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"description": "Stable installation UUID, generated when authentication first needs it. Global only."
|
|
342
|
+
},
|
|
343
|
+
"skills": {
|
|
344
|
+
"anyOf": [
|
|
345
|
+
{
|
|
346
|
+
"type": "array",
|
|
347
|
+
"items": {
|
|
348
|
+
"type": "string"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"type": "object",
|
|
353
|
+
"properties": {
|
|
354
|
+
"enableSkillCommands": {
|
|
355
|
+
"type": "boolean"
|
|
356
|
+
},
|
|
357
|
+
"customDirectories": {
|
|
358
|
+
"type": "array",
|
|
359
|
+
"items": {
|
|
360
|
+
"type": "string"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"deprecated": true
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
"description": "Local skill file paths or directories."
|
|
368
|
+
},
|
|
369
|
+
"prompts": {
|
|
370
|
+
"type": "array",
|
|
371
|
+
"items": {
|
|
372
|
+
"type": "string"
|
|
373
|
+
},
|
|
374
|
+
"description": "Local prompt template file paths or directories."
|
|
375
|
+
},
|
|
376
|
+
"themes": {
|
|
377
|
+
"type": "array",
|
|
378
|
+
"items": {
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"description": "Local theme file paths or directories."
|
|
382
|
+
},
|
|
383
|
+
"enableSkillCommands": {
|
|
384
|
+
"type": "boolean",
|
|
385
|
+
"description": "Register skills as /skill:name commands.",
|
|
386
|
+
"default": true
|
|
387
|
+
},
|
|
388
|
+
"terminal": {
|
|
389
|
+
"type": "object",
|
|
390
|
+
"properties": {
|
|
391
|
+
"showImages": {
|
|
392
|
+
"type": "boolean",
|
|
393
|
+
"description": "Show images when the terminal supports them.",
|
|
394
|
+
"default": true
|
|
395
|
+
},
|
|
396
|
+
"imageWidthCells": {
|
|
397
|
+
"type": "number",
|
|
398
|
+
"description": "Preferred inline image width in terminal cells.",
|
|
399
|
+
"default": 60
|
|
400
|
+
},
|
|
401
|
+
"clearOnShrink": {
|
|
402
|
+
"type": "boolean",
|
|
403
|
+
"description": "Clear empty rows when content shrinks.",
|
|
404
|
+
"default": false
|
|
405
|
+
},
|
|
406
|
+
"showTerminalProgress": {
|
|
407
|
+
"type": "boolean",
|
|
408
|
+
"description": "Show OSC 9;4 terminal progress indicators.",
|
|
409
|
+
"default": false
|
|
410
|
+
},
|
|
411
|
+
"hyperlinks": {
|
|
412
|
+
"anyOf": [
|
|
413
|
+
{
|
|
414
|
+
"type": "boolean"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"type": "string",
|
|
418
|
+
"const": "auto"
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
"images": {
|
|
423
|
+
"anyOf": [
|
|
424
|
+
{
|
|
425
|
+
"type": "string",
|
|
426
|
+
"const": "kitty"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"type": "string",
|
|
430
|
+
"const": "iterm2"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"type": "string",
|
|
434
|
+
"const": "auto"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": "boolean",
|
|
438
|
+
"const": false
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
"trueColor": {
|
|
443
|
+
"anyOf": [
|
|
444
|
+
{
|
|
445
|
+
"type": "boolean"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"type": "string",
|
|
449
|
+
"const": "auto"
|
|
450
|
+
}
|
|
451
|
+
]
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"images": {
|
|
456
|
+
"type": "object",
|
|
457
|
+
"properties": {
|
|
458
|
+
"autoResize": {
|
|
459
|
+
"type": "boolean",
|
|
460
|
+
"description": "Resize images to 2000x2000 maximum for better model compatibility.",
|
|
461
|
+
"default": true
|
|
462
|
+
},
|
|
463
|
+
"blockImages": {
|
|
464
|
+
"type": "boolean",
|
|
465
|
+
"description": "When true, prevents all images from being sent to LLM providers.",
|
|
466
|
+
"default": false
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"enabledModels": {
|
|
471
|
+
"type": "array",
|
|
472
|
+
"items": {
|
|
473
|
+
"type": "string"
|
|
474
|
+
},
|
|
475
|
+
"description": "Model patterns for cycling, in the same format as the --models CLI flag."
|
|
476
|
+
},
|
|
477
|
+
"defaultTools": {
|
|
478
|
+
"type": "array",
|
|
479
|
+
"items": {
|
|
480
|
+
"type": "string"
|
|
481
|
+
},
|
|
482
|
+
"description": "Initial tool selection. Plain names replace the inherited selection; +name and -name entries add or remove tools."
|
|
483
|
+
},
|
|
484
|
+
"doubleEscapeAction": {
|
|
485
|
+
"anyOf": [
|
|
486
|
+
{
|
|
487
|
+
"type": "string",
|
|
488
|
+
"const": "fork"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"type": "string",
|
|
492
|
+
"const": "tree"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"type": "string",
|
|
496
|
+
"const": "none"
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"description": "Action for double-escape with an empty editor.",
|
|
500
|
+
"default": "tree"
|
|
501
|
+
},
|
|
502
|
+
"treeFilterMode": {
|
|
503
|
+
"anyOf": [
|
|
504
|
+
{
|
|
505
|
+
"type": "string",
|
|
506
|
+
"const": "default"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"type": "string",
|
|
510
|
+
"const": "no-tools"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"type": "string",
|
|
514
|
+
"const": "user-only"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"type": "string",
|
|
518
|
+
"const": "labeled-only"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"type": "string",
|
|
522
|
+
"const": "all"
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
"description": "Default filter when opening /tree.",
|
|
526
|
+
"default": "default"
|
|
527
|
+
},
|
|
528
|
+
"thinkingBudgets": {
|
|
529
|
+
"type": "object",
|
|
530
|
+
"properties": {
|
|
531
|
+
"minimal": {
|
|
532
|
+
"type": "number"
|
|
533
|
+
},
|
|
534
|
+
"low": {
|
|
535
|
+
"type": "number"
|
|
536
|
+
},
|
|
537
|
+
"medium": {
|
|
538
|
+
"type": "number"
|
|
539
|
+
},
|
|
540
|
+
"high": {
|
|
541
|
+
"type": "number"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"description": "Custom token budgets for thinking levels."
|
|
545
|
+
},
|
|
546
|
+
"editorPaddingX": {
|
|
547
|
+
"type": "number",
|
|
548
|
+
"description": "Horizontal padding for the input editor.",
|
|
549
|
+
"default": 0
|
|
550
|
+
},
|
|
551
|
+
"outputPad": {
|
|
552
|
+
"anyOf": [
|
|
553
|
+
{
|
|
554
|
+
"type": "number",
|
|
555
|
+
"const": 0
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"type": "number",
|
|
559
|
+
"const": 1
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
"description": "Horizontal padding for transcript content.",
|
|
563
|
+
"default": 1
|
|
564
|
+
},
|
|
565
|
+
"autocompleteMaxVisible": {
|
|
566
|
+
"type": "number",
|
|
567
|
+
"description": "Maximum visible items in the autocomplete dropdown.",
|
|
568
|
+
"default": 5
|
|
569
|
+
},
|
|
570
|
+
"showHardwareCursor": {
|
|
571
|
+
"type": "boolean",
|
|
572
|
+
"description": "Show the terminal cursor while still positioning it for IME."
|
|
573
|
+
},
|
|
574
|
+
"markdown": {
|
|
575
|
+
"type": "object",
|
|
576
|
+
"properties": {
|
|
577
|
+
"codeBlockIndent": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"default": " "
|
|
580
|
+
},
|
|
581
|
+
"mermaid": {
|
|
582
|
+
"anyOf": [
|
|
583
|
+
{
|
|
584
|
+
"type": "string",
|
|
585
|
+
"const": "off"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"type": "string",
|
|
589
|
+
"const": "final"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"type": "string",
|
|
593
|
+
"const": "streaming"
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"default": "streaming"
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"warnings": {
|
|
601
|
+
"type": "object",
|
|
602
|
+
"properties": {
|
|
603
|
+
"anthropicExtraUsage": {
|
|
604
|
+
"type": "boolean",
|
|
605
|
+
"default": true
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"codemode": {
|
|
610
|
+
"type": "object",
|
|
611
|
+
"properties": {
|
|
612
|
+
"mode": {
|
|
613
|
+
"anyOf": [
|
|
614
|
+
{
|
|
615
|
+
"type": "string",
|
|
616
|
+
"const": "on"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"type": "string",
|
|
620
|
+
"const": "only"
|
|
621
|
+
}
|
|
622
|
+
],
|
|
623
|
+
"description": "How codemode presents tools. \"on\" keeps direct tools declared and annotates tools callable from scripts; codemode lists only tools without direct exposure. \"only\" lists every script-callable tool in codemode and does not declare active direct tools.",
|
|
624
|
+
"default": "on"
|
|
625
|
+
},
|
|
626
|
+
"inlineBudget": {
|
|
627
|
+
"type": "number",
|
|
628
|
+
"minimum": 0,
|
|
629
|
+
"description": "Estimated tokens available for inline codemode tool declarations.",
|
|
630
|
+
"default": 3000
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
"rlm": {
|
|
635
|
+
"type": "object",
|
|
636
|
+
"properties": {
|
|
637
|
+
"enabled": {
|
|
638
|
+
"type": "boolean",
|
|
639
|
+
"description": "RLM mode: the model gets one tool, python, which runs code in a persistent kernel that reaches read, bash, edit, write, and sub-LLM calls. The --rlm flag sets it for one run.",
|
|
640
|
+
"default": false
|
|
641
|
+
},
|
|
642
|
+
"subModel": {
|
|
643
|
+
"type": "string",
|
|
644
|
+
"description": "Model for llm_query and llm_batch in the kernel, as \"provider/id\". Default: the session model."
|
|
645
|
+
},
|
|
646
|
+
"outputLimit": {
|
|
647
|
+
"type": "integer",
|
|
648
|
+
"minimum": 1,
|
|
649
|
+
"description": "Characters of cell output the model sees per python call. The full output stays in cells.",
|
|
650
|
+
"default": 16000
|
|
651
|
+
},
|
|
652
|
+
"maxDepth": {
|
|
653
|
+
"type": "integer",
|
|
654
|
+
"minimum": 0,
|
|
655
|
+
"description": "How many levels of rlm_query child sessions may nest.",
|
|
656
|
+
"default": 2
|
|
657
|
+
},
|
|
658
|
+
"memoryLimitMb": {
|
|
659
|
+
"type": "integer",
|
|
660
|
+
"minimum": 0,
|
|
661
|
+
"description": "Memory limit of each RLM Python kernel in MiB. Applied as RLIMIT_DATA on Linux only; ignored on other platforms. 0 disables it.",
|
|
662
|
+
"default": 2048
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"sessionDir": {
|
|
667
|
+
"type": "string",
|
|
668
|
+
"description": "Custom session storage directory, in the same format as the --session-dir CLI flag."
|
|
669
|
+
},
|
|
670
|
+
"httpProxy": {
|
|
671
|
+
"type": "string",
|
|
672
|
+
"description": "Proxy URL applied as HTTP_PROXY and HTTPS_PROXY for Pi-managed HTTP clients."
|
|
673
|
+
},
|
|
674
|
+
"httpIdleTimeoutMs": {
|
|
675
|
+
"anyOf": [
|
|
676
|
+
{
|
|
677
|
+
"type": "number",
|
|
678
|
+
"minimum": 0
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"type": "string",
|
|
682
|
+
"const": "disabled"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"description": "HTTP header or body idle timeout in milliseconds; 0 or \"disabled\" disables it."
|
|
686
|
+
},
|
|
687
|
+
"cacheWarming": {
|
|
688
|
+
"anyOf": [
|
|
689
|
+
{
|
|
690
|
+
"type": "string",
|
|
691
|
+
"const": "off"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"type": "string",
|
|
695
|
+
"const": "streaming"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"type": "string",
|
|
699
|
+
"const": "idle"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"description": "Cache-warming profile. \"idle\" also warms between agent runs. Global only because each refresh costs money.",
|
|
703
|
+
"default": "streaming"
|
|
704
|
+
},
|
|
705
|
+
"websocketConnectTimeoutMs": {
|
|
706
|
+
"anyOf": [
|
|
707
|
+
{
|
|
708
|
+
"type": "number",
|
|
709
|
+
"minimum": 0
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"type": "string",
|
|
713
|
+
"const": "disabled"
|
|
714
|
+
}
|
|
715
|
+
],
|
|
716
|
+
"description": "WebSocket connect or open handshake timeout in milliseconds; 0 or \"disabled\" disables it."
|
|
717
|
+
},
|
|
718
|
+
"tuiMode": {
|
|
719
|
+
"anyOf": [
|
|
720
|
+
{
|
|
721
|
+
"type": "string",
|
|
722
|
+
"const": "regular"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"type": "string",
|
|
726
|
+
"const": "fullscreen"
|
|
727
|
+
}
|
|
728
|
+
],
|
|
729
|
+
"default": "fullscreen"
|
|
730
|
+
},
|
|
731
|
+
"fullscreenExitOutput": {
|
|
732
|
+
"anyOf": [
|
|
733
|
+
{
|
|
734
|
+
"type": "string",
|
|
735
|
+
"const": "transcript"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"type": "string",
|
|
739
|
+
"const": "resume-hint"
|
|
740
|
+
}
|
|
741
|
+
],
|
|
742
|
+
"description": "No effect in regular TUI mode.",
|
|
743
|
+
"default": "transcript"
|
|
744
|
+
},
|
|
745
|
+
"fullscreenScrollbar": {
|
|
746
|
+
"anyOf": [
|
|
747
|
+
{
|
|
748
|
+
"type": "string",
|
|
749
|
+
"const": "auto"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"type": "string",
|
|
753
|
+
"const": "always"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"type": "string",
|
|
757
|
+
"const": "hidden"
|
|
758
|
+
}
|
|
759
|
+
],
|
|
760
|
+
"description": "No effect in regular TUI mode.",
|
|
761
|
+
"default": "auto"
|
|
762
|
+
},
|
|
763
|
+
"fullscreenCopyOnSelect": {
|
|
764
|
+
"type": "boolean",
|
|
765
|
+
"description": "No effect in regular TUI mode.",
|
|
766
|
+
"default": true
|
|
767
|
+
},
|
|
768
|
+
"fullscreenWheelScrollLines": {
|
|
769
|
+
"anyOf": [
|
|
770
|
+
{
|
|
771
|
+
"type": "number"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"type": "string",
|
|
775
|
+
"const": "auto"
|
|
776
|
+
}
|
|
777
|
+
],
|
|
778
|
+
"description": "Lines scrolled per wheel event in fullscreen mode; numeric values are clamped from 1 to 100.",
|
|
779
|
+
"default": "auto"
|
|
780
|
+
},
|
|
781
|
+
"queueMode": {
|
|
782
|
+
"anyOf": [
|
|
783
|
+
{
|
|
784
|
+
"type": "string",
|
|
785
|
+
"const": "all"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"type": "string",
|
|
789
|
+
"const": "one-at-a-time"
|
|
790
|
+
}
|
|
791
|
+
],
|
|
792
|
+
"description": "Legacy setting migrated to steeringMode.",
|
|
793
|
+
"deprecated": true
|
|
794
|
+
},
|
|
795
|
+
"websockets": {
|
|
796
|
+
"type": "boolean",
|
|
797
|
+
"description": "Legacy setting migrated to transport.",
|
|
798
|
+
"deprecated": true
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"additionalProperties": true,
|
|
802
|
+
"$defs": {
|
|
803
|
+
"ModelThinkingLevel": {
|
|
804
|
+
"enum": [
|
|
805
|
+
"off",
|
|
806
|
+
"minimal",
|
|
807
|
+
"low",
|
|
808
|
+
"medium",
|
|
809
|
+
"high",
|
|
810
|
+
"xhigh",
|
|
811
|
+
"max"
|
|
812
|
+
]
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
}
|