@entelligentsia/forgecli 0.15.0 → 0.19.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 +66 -0
- package/dist/CHANGELOG-pi.md +55 -0
- package/dist/bin/argv.d.ts +2 -0
- package/dist/bin/argv.js +3 -1
- package/dist/bin/argv.js.map +1 -1
- package/dist/bin/config.d.ts +5 -0
- package/dist/bin/config.js +25 -4
- package/dist/bin/config.js.map +1 -1
- package/dist/bin/forge.js +12 -56
- package/dist/bin/forge.js.map +1 -1
- package/dist/bin/shared-parser.d.ts +23 -0
- package/dist/bin/shared-parser.js +12 -0
- package/dist/bin/shared-parser.js.map +1 -0
- package/dist/bin/update-cli.js +5 -0
- package/dist/bin/update-cli.js.map +1 -1
- package/dist/extensions/forgecli/approve.d.ts +4 -6
- package/dist/extensions/forgecli/approve.js +8 -73
- package/dist/extensions/forgecli/approve.js.map +1 -1
- package/dist/extensions/forgecli/audience-gate.d.ts +1 -1
- package/dist/extensions/forgecli/calibrate.d.ts +4 -1
- package/dist/extensions/forgecli/calibrate.js +4 -12
- package/dist/extensions/forgecli/calibrate.js.map +1 -1
- package/dist/extensions/forgecli/collate.d.ts +4 -6
- package/dist/extensions/forgecli/collate.js +8 -73
- package/dist/extensions/forgecli/collate.js.map +1 -1
- package/dist/extensions/forgecli/commit.d.ts +4 -6
- package/dist/extensions/forgecli/commit.js +8 -73
- package/dist/extensions/forgecli/commit.js.map +1 -1
- package/dist/extensions/forgecli/config-tui/handler.js +1 -0
- package/dist/extensions/forgecli/config-tui/handler.js.map +1 -1
- package/dist/extensions/forgecli/config-tui/screens/tier-menu.js +8 -1
- package/dist/extensions/forgecli/config-tui/screens/tier-menu.js.map +1 -1
- package/dist/extensions/forgecli/config-tui/state/init.js +1 -0
- package/dist/extensions/forgecli/config-tui/state/init.js.map +1 -1
- package/dist/extensions/forgecli/config-tui/state/model.d.ts +4 -0
- package/dist/extensions/forgecli/enhance.d.ts +4 -6
- package/dist/extensions/forgecli/enhance.js +8 -73
- package/dist/extensions/forgecli/enhance.js.map +1 -1
- package/dist/extensions/forgecli/fix-bug.d.ts +3 -0
- package/dist/extensions/forgecli/fix-bug.js +58 -46
- package/dist/extensions/forgecli/fix-bug.js.map +1 -1
- package/dist/extensions/forgecli/forge-artifact-tool.d.ts +2 -0
- package/dist/extensions/forgecli/forge-artifact-tool.js +185 -0
- package/dist/extensions/forgecli/forge-artifact-tool.js.map +1 -0
- package/dist/extensions/forgecli/forge-init/phase-descriptors.d.ts +72 -0
- package/dist/extensions/forgecli/forge-init/phase-descriptors.js +350 -0
- package/dist/extensions/forgecli/forge-init/phase-descriptors.js.map +1 -0
- package/dist/extensions/forgecli/forge-init/phase4-register.d.ts +20 -0
- package/dist/extensions/forgecli/forge-init/phase4-register.js +353 -0
- package/dist/extensions/forgecli/forge-init/phase4-register.js.map +1 -0
- package/dist/extensions/forgecli/forge-init/prompts.d.ts +10 -0
- package/dist/extensions/forgecli/forge-init/prompts.js +91 -0
- package/dist/extensions/forgecli/forge-init/prompts.js.map +1 -0
- package/dist/extensions/forgecli/forge-init/verifiers.d.ts +20 -0
- package/dist/extensions/forgecli/forge-init/verifiers.js +81 -0
- package/dist/extensions/forgecli/forge-init/verifiers.js.map +1 -0
- package/dist/extensions/forgecli/forge-init.js +106 -748
- package/dist/extensions/forgecli/forge-init.js.map +1 -1
- package/dist/extensions/forgecli/forge-root.d.ts +0 -1
- package/dist/extensions/forgecli/forge-root.js +1 -11
- package/dist/extensions/forgecli/forge-root.js.map +1 -1
- package/dist/extensions/forgecli/forge-subagent.d.ts +11 -1
- package/dist/extensions/forgecli/forge-subagent.js +6 -1
- package/dist/extensions/forgecli/forge-subagent.js.map +1 -1
- package/dist/extensions/forgecli/forge-tools.d.ts +27 -7
- package/dist/extensions/forgecli/forge-tools.js +109 -70
- package/dist/extensions/forgecli/forge-tools.js.map +1 -1
- package/dist/extensions/forgecli/forge-update-command.js +5 -0
- package/dist/extensions/forgecli/forge-update-command.js.map +1 -1
- package/dist/extensions/forgecli/friction-emit.d.ts +4 -2
- package/dist/extensions/forgecli/friction-emit.js +13 -12
- package/dist/extensions/forgecli/friction-emit.js.map +1 -1
- package/dist/extensions/forgecli/health-check.js +1 -1
- package/dist/extensions/forgecli/health-check.js.map +1 -1
- package/dist/extensions/forgecli/hook-dispatcher.d.ts +1 -0
- package/dist/extensions/forgecli/hook-dispatcher.js +5 -0
- package/dist/extensions/forgecli/hook-dispatcher.js.map +1 -1
- package/dist/extensions/forgecli/hooks/post-init-hook.js +1 -1
- package/dist/extensions/forgecli/hooks/post-sprint-hook.js +1 -1
- package/dist/extensions/forgecli/hooks/write-guard.js +1 -1
- package/dist/extensions/forgecli/hooks/write-guard.js.map +1 -1
- package/dist/extensions/forgecli/implement.d.ts +4 -6
- package/dist/extensions/forgecli/implement.js +8 -73
- package/dist/extensions/forgecli/implement.js.map +1 -1
- package/dist/extensions/forgecli/index.js +15 -38
- package/dist/extensions/forgecli/index.js.map +1 -1
- package/dist/extensions/forgecli/lib/catalog-helpers.d.ts +13 -0
- package/dist/extensions/forgecli/lib/catalog-helpers.js +51 -0
- package/dist/extensions/forgecli/lib/catalog-helpers.js.map +1 -0
- package/dist/extensions/forgecli/lib/catalog-loader.d.ts +46 -0
- package/dist/extensions/forgecli/lib/catalog-loader.js +176 -0
- package/dist/extensions/forgecli/lib/catalog-loader.js.map +1 -0
- package/dist/extensions/forgecli/lib/catalog-types.d.ts +16 -0
- package/dist/extensions/forgecli/lib/catalog-types.js +161 -0
- package/dist/extensions/forgecli/lib/catalog-types.js.map +1 -0
- package/dist/extensions/forgecli/lib/exec-helpers.d.ts +25 -0
- package/dist/extensions/forgecli/lib/exec-helpers.js +52 -0
- package/dist/extensions/forgecli/lib/exec-helpers.js.map +1 -0
- package/dist/extensions/forgecli/lib/forge-config.d.ts +20 -0
- package/dist/extensions/forgecli/lib/forge-config.js +43 -0
- package/dist/extensions/forgecli/lib/forge-config.js.map +1 -0
- package/dist/extensions/forgecli/lib/frontmatter-parser.d.ts +13 -0
- package/dist/extensions/forgecli/lib/frontmatter-parser.js +56 -0
- package/dist/extensions/forgecli/lib/frontmatter-parser.js.map +1 -0
- package/dist/extensions/forgecli/lib/manifest-checker.d.ts +22 -0
- package/dist/extensions/forgecli/lib/manifest-checker.js +64 -0
- package/dist/extensions/forgecli/lib/manifest-checker.js.map +1 -0
- package/dist/extensions/forgecli/lib/orchestrator-preflight.d.ts +46 -0
- package/dist/extensions/forgecli/lib/orchestrator-preflight.js +64 -0
- package/dist/extensions/forgecli/lib/orchestrator-preflight.js.map +1 -0
- package/dist/extensions/forgecli/lib/orchestrator-types.d.ts +20 -0
- package/dist/extensions/forgecli/lib/orchestrator-types.js +14 -0
- package/dist/extensions/forgecli/lib/orchestrator-types.js.map +1 -0
- package/dist/extensions/forgecli/lib/parsers.d.ts +25 -0
- package/dist/extensions/forgecli/lib/parsers.js +164 -0
- package/dist/extensions/forgecli/lib/parsers.js.map +1 -0
- package/dist/extensions/forgecli/lib/shared-fs-utils.d.ts +12 -0
- package/dist/extensions/forgecli/lib/shared-fs-utils.js +37 -0
- package/dist/extensions/forgecli/lib/shared-fs-utils.js.map +1 -0
- package/dist/extensions/forgecli/lib/spawn-store-cli.d.ts +44 -0
- package/dist/extensions/forgecli/lib/spawn-store-cli.js +93 -0
- package/dist/extensions/forgecli/lib/spawn-store-cli.js.map +1 -0
- package/dist/extensions/forgecli/lib/state-helpers.d.ts +33 -0
- package/dist/extensions/forgecli/lib/state-helpers.js +69 -0
- package/dist/extensions/forgecli/lib/state-helpers.js.map +1 -0
- package/dist/extensions/forgecli/lib/store-cli-timeouts.d.ts +4 -0
- package/dist/extensions/forgecli/lib/store-cli-timeouts.js +10 -0
- package/dist/extensions/forgecli/lib/store-cli-timeouts.js.map +1 -0
- package/dist/extensions/forgecli/lib/versions.d.ts +56 -0
- package/dist/extensions/forgecli/lib/versions.js +116 -0
- package/dist/extensions/forgecli/lib/versions.js.map +1 -0
- package/dist/extensions/forgecli/loaders/persona-skill-loader.js +2 -2
- package/dist/extensions/forgecli/loaders/persona-skill-loader.js.map +1 -1
- package/dist/extensions/forgecli/migration-engine.d.ts +6 -0
- package/dist/extensions/forgecli/migration-engine.js +59 -39
- package/dist/extensions/forgecli/migration-engine.js.map +1 -1
- package/dist/extensions/forgecli/parsers/persona-skill-loader.d.ts +45 -0
- package/dist/extensions/forgecli/parsers/persona-skill-loader.js +201 -0
- package/dist/extensions/forgecli/parsers/persona-skill-loader.js.map +1 -0
- package/dist/extensions/forgecli/parsers/workflow-loader.d.ts +41 -0
- package/dist/extensions/forgecli/parsers/workflow-loader.js +87 -0
- package/dist/extensions/forgecli/parsers/workflow-loader.js.map +1 -0
- package/dist/extensions/forgecli/plan.d.ts +4 -6
- package/dist/extensions/forgecli/plan.js +9 -73
- package/dist/extensions/forgecli/plan.js.map +1 -1
- package/dist/extensions/forgecli/retrospective.d.ts +2 -1
- package/dist/extensions/forgecli/retrospective.js +6 -36
- package/dist/extensions/forgecli/retrospective.js.map +1 -1
- package/dist/extensions/forgecli/review-code.d.ts +4 -6
- package/dist/extensions/forgecli/review-code.js +8 -73
- package/dist/extensions/forgecli/review-code.js.map +1 -1
- package/dist/extensions/forgecli/review-plan.d.ts +4 -6
- package/dist/extensions/forgecli/review-plan.js +8 -73
- package/dist/extensions/forgecli/review-plan.js.map +1 -1
- package/dist/extensions/forgecli/run-sprint.d.ts +2 -0
- package/dist/extensions/forgecli/run-sprint.js +53 -52
- package/dist/extensions/forgecli/run-sprint.js.map +1 -1
- package/dist/extensions/forgecli/run-task.d.ts +3 -0
- package/dist/extensions/forgecli/run-task.js +39 -68
- package/dist/extensions/forgecli/run-task.js.map +1 -1
- package/dist/extensions/forgecli/skill-curation-flag.js +5 -5
- package/dist/extensions/forgecli/skill-curation-flag.js.map +1 -1
- package/dist/extensions/forgecli/skill-retriever.js +5 -5
- package/dist/extensions/forgecli/skill-retriever.js.map +1 -1
- package/dist/extensions/forgecli/skill-usage-tracker.js +5 -5
- package/dist/extensions/forgecli/skill-usage-tracker.js.map +1 -1
- package/dist/extensions/forgecli/store-error-remediation.d.ts +65 -0
- package/dist/extensions/forgecli/store-error-remediation.js +299 -0
- package/dist/extensions/forgecli/store-error-remediation.js.map +1 -0
- package/dist/extensions/forgecli/store-resolver.js +3 -12
- package/dist/extensions/forgecli/store-resolver.js.map +1 -1
- package/dist/extensions/forgecli/store-validator.js +6 -11
- package/dist/extensions/forgecli/store-validator.js.map +1 -1
- package/dist/extensions/forgecli/subagent/agents.d.ts +4 -0
- package/dist/extensions/forgecli/subagent/agents.js +5 -8
- package/dist/extensions/forgecli/subagent/agents.js.map +1 -1
- package/dist/extensions/forgecli/transition-guard.js +20 -61
- package/dist/extensions/forgecli/transition-guard.js.map +1 -1
- package/dist/extensions/forgecli/validate.d.ts +4 -6
- package/dist/extensions/forgecli/validate.js +8 -73
- package/dist/extensions/forgecli/validate.js.map +1 -1
- package/dist/extensions/forgecli/wf-engine/engine.js +2 -2
- package/dist/extensions/forgecli/wf-engine/engine.js.map +1 -1
- package/dist/extensions/forgecli/wf-engine/loader.d.ts +1 -1
- package/dist/extensions/forgecli/wf-engine/loader.js +1 -1
- package/dist/extensions/forgecli/wf-engine/loader.js.map +1 -1
- package/dist/forge-payload/.base-pack/skills/architect-skills.md +1 -0
- package/dist/forge-payload/.base-pack/skills/bug-fixer-skills.md +1 -0
- package/dist/forge-payload/.base-pack/skills/collator-skills.md +1 -0
- package/dist/forge-payload/.base-pack/skills/engineer-skills.md +1 -0
- package/dist/forge-payload/.base-pack/skills/generic-skills.md +1 -0
- package/dist/forge-payload/.base-pack/skills/qa-engineer-skills.md +1 -0
- package/dist/forge-payload/.base-pack/skills/supervisor-skills.md +1 -0
- package/dist/forge-payload/.base-pack/workflows/_fragments/generation-instructions.md +81 -0
- package/dist/forge-payload/.base-pack/workflows/_fragments/iron-laws.md +72 -0
- package/dist/forge-payload/.base-pack/workflows/_fragments/store-cli-verbs.md +11 -1
- package/dist/forge-payload/.base-pack/workflows/_fragments/store-write-verification.md +11 -0
- package/dist/forge-payload/.base-pack/workflows/architect_approve.md +11 -12
- package/dist/forge-payload/.base-pack/workflows/architect_review_sprint_completion.md +4 -1
- package/dist/forge-payload/.base-pack/workflows/architect_sprint_intake.md +10 -1
- package/dist/forge-payload/.base-pack/workflows/architect_sprint_plan.md +8 -1
- package/dist/forge-payload/.base-pack/workflows/collator_agent.md +18 -1
- package/dist/forge-payload/.base-pack/workflows/commit_task.md +5 -10
- package/dist/forge-payload/.base-pack/workflows/enhance.md +7 -0
- package/dist/forge-payload/.base-pack/workflows/fix_bug.md +9 -2
- package/dist/forge-payload/.base-pack/workflows/implement_plan.md +22 -35
- package/dist/forge-payload/.base-pack/workflows/migrate_structural.md +9 -0
- package/dist/forge-payload/.base-pack/workflows/orchestrate_task.md +4 -0
- package/dist/forge-payload/.base-pack/workflows/plan_task.md +17 -21
- package/dist/forge-payload/.base-pack/workflows/review_code.md +13 -20
- package/dist/forge-payload/.base-pack/workflows/review_plan.md +10 -21
- package/dist/forge-payload/.base-pack/workflows/sprint_retrospective.md +10 -1
- package/dist/forge-payload/.base-pack/workflows/update_implementation.md +5 -10
- package/dist/forge-payload/.base-pack/workflows/update_plan.md +5 -10
- package/dist/forge-payload/.base-pack/workflows/validate_task.md +11 -12
- package/dist/forge-payload/.claude-plugin/plugin.json +5 -5
- package/dist/forge-payload/.schemas/_defs/phaseSummary.schema.json +18 -0
- package/dist/forge-payload/.schemas/bug.schema.json +8 -24
- package/dist/forge-payload/.schemas/config.schema.json +165 -33
- package/dist/forge-payload/.schemas/enum-catalog.json +71 -0
- package/dist/forge-payload/.schemas/migrations.json +371 -149
- package/dist/forge-payload/.schemas/task.schema.json +6 -21
- package/dist/forge-payload/.schemas/transitions/bug.json +31 -0
- package/dist/forge-payload/.schemas/transitions/sprint.json +46 -0
- package/dist/forge-payload/.schemas/transitions/task.json +109 -0
- package/dist/forge-payload/commands/health.md +3 -3
- package/dist/forge-payload/hooks/check-update.cjs +255 -0
- package/dist/forge-payload/hooks/forge-permissions.cjs +171 -0
- package/dist/forge-payload/hooks/forge-permissions.js +6 -0
- package/dist/forge-payload/hooks/post-init.cjs +120 -0
- package/dist/forge-payload/hooks/post-sprint.cjs +108 -0
- package/dist/forge-payload/hooks/triage-error.cjs +104 -0
- package/dist/forge-payload/hooks/triage-error.js +6 -0
- package/dist/forge-payload/hooks/validate-write.cjs +250 -0
- package/dist/forge-payload/hooks/validate-write.js +25 -11
- package/dist/forge-payload/integrity.json +13 -7
- package/dist/forge-payload/meta/workflows/_fragments/generation-instructions.md +81 -0
- package/dist/forge-payload/meta/workflows/_fragments/iron-laws.md +72 -0
- package/dist/forge-payload/meta/workflows/_fragments/store-cli-verbs.md +11 -1
- package/dist/forge-payload/meta/workflows/_fragments/store-write-verification.md +11 -0
- package/dist/forge-payload/meta/workflows/meta-approve.md +9 -11
- package/dist/forge-payload/meta/workflows/meta-collate.md +16 -0
- package/dist/forge-payload/meta/workflows/meta-commit.md +3 -9
- package/dist/forge-payload/meta/workflows/meta-enhance.md +16 -1
- package/dist/forge-payload/meta/workflows/meta-fix-bug.md +8 -2
- package/dist/forge-payload/meta/workflows/meta-implement.md +20 -35
- package/dist/forge-payload/meta/workflows/meta-migrate.md +18 -0
- package/dist/forge-payload/meta/workflows/meta-orchestrate.md +2 -0
- package/dist/forge-payload/meta/workflows/meta-plan-task.md +15 -21
- package/dist/forge-payload/meta/workflows/meta-quiz-agent.md +4 -1
- package/dist/forge-payload/meta/workflows/meta-retrospective.md +8 -0
- package/dist/forge-payload/meta/workflows/meta-review-implementation.md +11 -19
- package/dist/forge-payload/meta/workflows/meta-review-plan.md +10 -16
- package/dist/forge-payload/meta/workflows/meta-review-sprint-completion.md +3 -0
- package/dist/forge-payload/meta/workflows/meta-sprint-intake.md +8 -0
- package/dist/forge-payload/meta/workflows/meta-sprint-plan.md +5 -0
- package/dist/forge-payload/meta/workflows/meta-update-implementation.md +3 -9
- package/dist/forge-payload/meta/workflows/meta-update-plan.md +3 -9
- package/dist/forge-payload/meta/workflows/meta-validate.md +9 -11
- package/dist/forge-payload/schemas/structure-manifest.json +8 -6
- package/dist/forge-payload/tools/build-context-pack.cjs +3 -2
- package/dist/forge-payload/tools/friction-emit.cjs +2 -1
- package/dist/forge-payload/tools/lib/frontmatter.cjs +62 -0
- package/dist/forge-payload/tools/lib/fsutil.cjs +61 -0
- package/dist/forge-payload/tools/lib/json-io.cjs +43 -0
- package/dist/forge-payload/tools/lib/schema-loader.cjs +139 -0
- package/dist/forge-payload/tools/lib/slug.cjs +39 -0
- package/dist/forge-payload/tools/lib/store-facade.cjs +6 -5
- package/dist/forge-payload/tools/preflight-gate.cjs +55 -7
- package/dist/forge-payload/tools/seed-store.cjs +1 -13
- package/dist/forge-payload/tools/store-cli.cjs +55 -108
- package/dist/forge-payload/tools/store.cjs +26 -37
- package/dist/forge-payload/tools/substitute-placeholders.cjs +74 -35
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +23 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts +2 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/agent.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts +2 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts +5 -5
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts +4 -4
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.d.ts +4 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.js +3 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts +2 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.d.ts +20 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.js +92 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.d.ts +18 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.js +42 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.d.ts +10 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.js +31 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.d.ts +2 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts +2 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.d.ts +30 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.js +170 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.d.ts +26 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.js +90 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts +10 -22
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js +17 -23
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts +19 -19
- package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/node.d.ts +2 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/node.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/node.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/package.json +9 -10
- package/node_modules/@earendil-works/pi-ai/dist/api-registry.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api-registry.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api-registry.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/bedrock-provider.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/bedrock-provider.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/bedrock-provider.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/cli.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/cli.js +14 -0
- package/node_modules/@earendil-works/pi-ai/dist/cli.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +10 -2
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/image-models.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/image-models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/image-models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/images.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/images.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/images.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.d.ts +29 -29
- package/node_modules/@earendil-works/pi-ai/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +317 -509
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +400 -620
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/oauth.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/oauth.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/oauth.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +5 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts +23 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +11 -23
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot-headers.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot-headers.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot-headers.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-shared.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-shared.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-shared.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +12 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.d.ts +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.js +10 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.d.ts +10 -10
- package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.js +13 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.d.ts +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +6 -11
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/transform-messages.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/transform-messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/transform-messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/stream.d.ts +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/stream.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/stream.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +13 -3
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.d.ts +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/device-code.d.ts +19 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/device-code.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/device-code.js +55 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/device-code.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.d.ts +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.js +45 -69
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.d.ts +6 -5
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.js +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.d.ts +9 -2
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +15 -16
- package/node_modules/@earendil-works/pi-coding-agent/CHANGELOG.md +55 -0
- package/node_modules/@earendil-works/pi-coding-agent/README.md +6 -4
- package/node_modules/@earendil-works/pi-coding-agent/dist/bun/cli.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bun/cli.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/initial-message.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/list-models.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/session-picker.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js +4 -10
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/config.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/config.js +13 -14
- package/node_modules/@earendil-works/pi-coding-agent/dist/config.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-runtime.d.ts +9 -9
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-runtime.js +6 -6
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-runtime.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts +7 -7
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.js +3 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-services.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts +23 -21
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +99 -137
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-guidance.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-guidance.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +3 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +3 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/index.d.ts +3 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/exec.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/exec.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.js +8 -6
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/template.js +6 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/index.d.ts +8 -8
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js +12 -29
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts +6 -6
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/runner.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts +19 -19
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/wrapper.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/footer-data-provider.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/footer-data-provider.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.d.ts +21 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.js +48 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.js.map +1 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/index.d.ts +8 -8
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/keybindings.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts +4 -4
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +7 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts +2 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js +48 -32
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.js +6 -20
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/resolve-config-value.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/resolve-config-value.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/resource-loader.d.ts +9 -9
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/resource-loader.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/resource-loader.js +38 -31
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/resource-loader.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts +13 -13
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +9 -4
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js +32 -24
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts +3 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js +26 -13
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.js +8 -22
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/slash-commands.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/slash-commands.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/slash-commands.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/source-info.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/source-info.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/source-info.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js +1 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/telemetry.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/telemetry.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/telemetry.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +9 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit-diff.d.ts +3 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit-diff.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit-diff.js +8 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit-diff.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts +5 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js +3 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/edit.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts +17 -17
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/output-accumulator.d.ts +3 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/output-accumulator.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/output-accumulator.js +9 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/output-accumulator.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/path-utils.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/path-utils.js +3 -22
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/path-utils.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/tool-definition-wrapper.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/truncate.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/truncate.js +12 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/truncate.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/index.d.ts +30 -29
- package/node_modules/@earendil-works/pi-coding-agent/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/index.js +2 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/main.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/main.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +7 -6
- package/node_modules/@earendil-works/pi-coding-agent/dist/main.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/migrations.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/migrations.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/index.d.ts +5 -5
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/armin.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/diff.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/diff.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/earendil-announcement.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +4 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +16 -7
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/index.d.ts +31 -31
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +10 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +31 -6
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +3 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +3 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +15 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +4 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +37 -14
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js +37 -28
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/print-mode.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +5 -5
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +4 -4
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +40 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/changelog.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/changelog.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/changelog.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard-image.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard-image.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/exif-orientation.d.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/exif-orientation.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/exif-orientation.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-convert.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-convert.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-resize.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.d.ts +16 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.js +49 -7
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/shell.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/shell.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/version-check.d.ts +2 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/version-check.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/version-check.js +9 -4
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/version-check.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/windows-self-update.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/windows-self-update.js.map +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/docs/custom-provider.md +44 -12
- package/node_modules/@earendil-works/pi-coding-agent/docs/index.md +6 -4
- package/node_modules/@earendil-works/pi-coding-agent/docs/models.md +8 -2
- package/node_modules/@earendil-works/pi-coding-agent/docs/packages.md +5 -4
- package/node_modules/@earendil-works/pi-coding-agent/docs/quickstart.md +3 -1
- package/node_modules/@earendil-works/pi-coding-agent/docs/sdk.md +2 -0
- package/node_modules/@earendil-works/pi-coding-agent/docs/termux.md +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/docs/usage.md +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/doom-overlay/index.ts +3 -3
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +97 -66
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/overlay-test.ts +7 -4
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/plan-mode/index.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package.json +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/subagent/index.ts +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package.json +3 -3
- package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +1425 -0
- package/node_modules/@earendil-works/pi-coding-agent/package.json +32 -31
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/box.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/box.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/box.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/cancellable-loader.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/cancellable-loader.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/cancellable-loader.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts +3 -3
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/image.d.ts +2 -2
- package/node_modules/@earendil-works/pi-tui/dist/components/image.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/image.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/input.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.d.ts +5 -5
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.js +4 -4
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/spacer.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/spacer.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/spacer.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/text.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/text.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/text.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/truncated-text.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/truncated-text.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/truncated-text.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/editor-component.d.ts +2 -2
- package/node_modules/@earendil-works/pi-tui/dist/editor-component.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/editor-component.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.d.ts +22 -22
- package/node_modules/@earendil-works/pi-tui/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.d.ts +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/terminal.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js +25 -15
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts +2 -2
- package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/tui.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-console-mode.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-console-mode.node +0 -0
- package/node_modules/@earendil-works/pi-tui/package.json +8 -11
- package/package.json +13 -8
- package/dist/bin/forgecli.d.ts +0 -2
- package/dist/bin/forgecli.js +0 -6
- package/dist/bin/forgecli.js.map +0 -1
- package/node_modules/koffi/CHANGELOG.md +0 -1093
- package/node_modules/koffi/LICENSE.txt +0 -22
- package/node_modules/koffi/README.md +0 -43
- package/node_modules/koffi/build/koffi/darwin_arm64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/darwin_x64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/freebsd_arm64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/freebsd_ia32/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/freebsd_x64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/linux_arm64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/linux_armhf/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/linux_ia32/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/linux_loong64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/linux_riscv64d/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/linux_x64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/musl_arm64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/musl_x64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/openbsd_ia32/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/openbsd_x64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/win32_arm64/koffi.exp +0 -0
- package/node_modules/koffi/build/koffi/win32_arm64/koffi.lib +0 -0
- package/node_modules/koffi/build/koffi/win32_arm64/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/win32_ia32/koffi.exp +0 -0
- package/node_modules/koffi/build/koffi/win32_ia32/koffi.lib +0 -0
- package/node_modules/koffi/build/koffi/win32_ia32/koffi.node +0 -0
- package/node_modules/koffi/build/koffi/win32_x64/koffi.exp +0 -0
- package/node_modules/koffi/build/koffi/win32_x64/koffi.lib +0 -0
- package/node_modules/koffi/build/koffi/win32_x64/koffi.node +0 -0
- package/node_modules/koffi/doc/benchmarks.md +0 -126
- package/node_modules/koffi/doc/callbacks.md +0 -210
- package/node_modules/koffi/doc/contribute.md +0 -148
- package/node_modules/koffi/doc/functions.md +0 -250
- package/node_modules/koffi/doc/index.md +0 -61
- package/node_modules/koffi/doc/input.md +0 -471
- package/node_modules/koffi/doc/migration.md +0 -159
- package/node_modules/koffi/doc/misc.md +0 -180
- package/node_modules/koffi/doc/output.md +0 -305
- package/node_modules/koffi/doc/packaging.md +0 -88
- package/node_modules/koffi/doc/platforms.md +0 -36
- package/node_modules/koffi/doc/pointers.md +0 -328
- package/node_modules/koffi/doc/start.md +0 -118
- package/node_modules/koffi/doc/unions.md +0 -186
- package/node_modules/koffi/doc/variables.md +0 -102
- package/node_modules/koffi/index.d.ts +0 -288
- package/node_modules/koffi/index.js +0 -634
- package/node_modules/koffi/indirect.js +0 -533
- package/node_modules/koffi/lib/native/base/base.cc +0 -11015
- package/node_modules/koffi/lib/native/base/base.hh +0 -6003
- package/node_modules/koffi/lib/native/base/crc.inc +0 -2214
- package/node_modules/koffi/lib/native/base/crc_gen.py +0 -72
- package/node_modules/koffi/lib/native/base/mimetypes.inc +0 -1248
- package/node_modules/koffi/lib/native/base/mimetypes_gen.py +0 -58
- package/node_modules/koffi/lib/native/base/tower.cc +0 -821
- package/node_modules/koffi/lib/native/base/tower.hh +0 -81
- package/node_modules/koffi/lib/native/base/unicode.inc +0 -408
- package/node_modules/koffi/lib/native/base/unicode_gen.py +0 -152
- package/node_modules/koffi/package.json +0 -38
- package/node_modules/koffi/src/cnoke/LICENSE.txt +0 -22
- package/node_modules/koffi/src/cnoke/README.md +0 -99
- package/node_modules/koffi/src/cnoke/assets/FindCNoke.cmake +0 -127
- package/node_modules/koffi/src/cnoke/assets/toolchains.json +0 -126
- package/node_modules/koffi/src/cnoke/assets/win_delay_hook.c +0 -36
- package/node_modules/koffi/src/cnoke/cnoke.js +0 -170
- package/node_modules/koffi/src/cnoke/package.json +0 -24
- package/node_modules/koffi/src/cnoke/src/builder.js +0 -511
- package/node_modules/koffi/src/cnoke/src/index.js +0 -10
- package/node_modules/koffi/src/cnoke/src/tools.js +0 -407
- package/node_modules/koffi/src/koffi/CMakeLists.txt +0 -182
- package/node_modules/koffi/src/koffi/src/abi_arm32.cc +0 -1018
- package/node_modules/koffi/src/koffi/src/abi_arm32_asm.S +0 -169
- package/node_modules/koffi/src/koffi/src/abi_arm64.cc +0 -1295
- package/node_modules/koffi/src/koffi/src/abi_arm64_asm.S +0 -195
- package/node_modules/koffi/src/koffi/src/abi_arm64_asm.asm +0 -174
- package/node_modules/koffi/src/koffi/src/abi_loong64.cc +0 -5
- package/node_modules/koffi/src/koffi/src/abi_loong64_asm.S +0 -204
- package/node_modules/koffi/src/koffi/src/abi_riscv64.cc +0 -915
- package/node_modules/koffi/src/koffi/src/abi_riscv64_asm.S +0 -203
- package/node_modules/koffi/src/koffi/src/abi_x64_sysv.cc +0 -939
- package/node_modules/koffi/src/koffi/src/abi_x64_sysv_asm.S +0 -231
- package/node_modules/koffi/src/koffi/src/abi_x64_win.cc +0 -715
- package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.S +0 -166
- package/node_modules/koffi/src/koffi/src/abi_x64_win_asm.asm +0 -192
- package/node_modules/koffi/src/koffi/src/abi_x86.cc +0 -860
- package/node_modules/koffi/src/koffi/src/abi_x86_asm.S +0 -193
- package/node_modules/koffi/src/koffi/src/abi_x86_asm.asm +0 -177
- package/node_modules/koffi/src/koffi/src/call.cc +0 -1326
- package/node_modules/koffi/src/koffi/src/call.hh +0 -179
- package/node_modules/koffi/src/koffi/src/errno.inc +0 -462
- package/node_modules/koffi/src/koffi/src/ffi.cc +0 -2702
- package/node_modules/koffi/src/koffi/src/ffi.hh +0 -354
- package/node_modules/koffi/src/koffi/src/init.js +0 -105
- package/node_modules/koffi/src/koffi/src/parser.cc +0 -220
- package/node_modules/koffi/src/koffi/src/parser.hh +0 -54
- package/node_modules/koffi/src/koffi/src/util.cc +0 -1807
- package/node_modules/koffi/src/koffi/src/util.hh +0 -221
- package/node_modules/koffi/src/koffi/src/uv.cc +0 -193
- package/node_modules/koffi/src/koffi/src/uv.def +0 -10
- package/node_modules/koffi/src/koffi/src/uv.hh +0 -40
- package/node_modules/koffi/src/koffi/src/win32.cc +0 -198
- package/node_modules/koffi/src/koffi/src/win32.hh +0 -119
- package/node_modules/koffi/src/koffi/tools/write_trampolines.js +0 -77
- package/node_modules/koffi/vendor/node-addon-api/LICENSE.md +0 -9
- package/node_modules/koffi/vendor/node-addon-api/README.md +0 -95
- package/node_modules/koffi/vendor/node-addon-api/napi-inl.deprecated.h +0 -186
- package/node_modules/koffi/vendor/node-addon-api/napi-inl.h +0 -7033
- package/node_modules/koffi/vendor/node-addon-api/napi.h +0 -3309
- package/node_modules/koffi/vendor/node-api-headers/LICENSE +0 -21
- package/node_modules/koffi/vendor/node-api-headers/README.md +0 -95
- package/node_modules/koffi/vendor/node-api-headers/def/js_native_api.def +0 -125
- package/node_modules/koffi/vendor/node-api-headers/def/node_api.def +0 -157
- package/node_modules/koffi/vendor/node-api-headers/include/js_native_api.h +0 -591
- package/node_modules/koffi/vendor/node-api-headers/include/js_native_api_types.h +0 -210
- package/node_modules/koffi/vendor/node-api-headers/include/node_api.h +0 -265
- package/node_modules/koffi/vendor/node-api-headers/include/node_api_types.h +0 -58
- package/node_modules/koffi/vendor/node-api-headers/include/uv/aix.h +0 -32
- package/node_modules/koffi/vendor/node-api-headers/include/uv/bsd.h +0 -34
- package/node_modules/koffi/vendor/node-api-headers/include/uv/darwin.h +0 -61
- package/node_modules/koffi/vendor/node-api-headers/include/uv/errno.h +0 -483
- package/node_modules/koffi/vendor/node-api-headers/include/uv/linux.h +0 -34
- package/node_modules/koffi/vendor/node-api-headers/include/uv/os390.h +0 -33
- package/node_modules/koffi/vendor/node-api-headers/include/uv/posix.h +0 -31
- package/node_modules/koffi/vendor/node-api-headers/include/uv/sunos.h +0 -44
- package/node_modules/koffi/vendor/node-api-headers/include/uv/threadpool.h +0 -37
- package/node_modules/koffi/vendor/node-api-headers/include/uv/tree.h +0 -521
- package/node_modules/koffi/vendor/node-api-headers/include/uv/unix.h +0 -512
- package/node_modules/koffi/vendor/node-api-headers/include/uv/version.h +0 -43
- package/node_modules/koffi/vendor/node-api-headers/include/uv/win.h +0 -698
- package/node_modules/koffi/vendor/node-api-headers/include/uv.h +0 -1990
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
// Store-error remediation — forge-cli#24
|
|
2
|
+
// Moved from lib/store-error-remediation.ts to root by FORGE-S25-T22 (S-7: single-file lib/ dir).
|
|
3
|
+
//
|
|
4
|
+
// Shared remediation-hint surface for store validation errors.
|
|
5
|
+
// Consumed by:
|
|
6
|
+
// - health-check.ts (per-error row in store-integrity output)
|
|
7
|
+
// - hooks/write-guard.ts (block-message body for schema violations)
|
|
8
|
+
// - hook-dispatcher.ts (store-cli intercept block messages)
|
|
9
|
+
// - store-validator.ts (structured result for hook callers)
|
|
10
|
+
//
|
|
11
|
+
// Error sources:
|
|
12
|
+
// 1. validate.js (in-process via write-guard) — produces error strings like:
|
|
13
|
+
// "status: value "verified" not in [reported, triaged, in-progress, fixed]"
|
|
14
|
+
// "taskId: missing required field"
|
|
15
|
+
// "xyz: undeclared field"
|
|
16
|
+
// 2. store-cli.cjs validate (subprocess via store-validator.ts) — same format,
|
|
17
|
+
// piped through stderr.
|
|
18
|
+
// 3. validate-store.cjs --dry-run (subprocess via health-check.ts) — lines like:
|
|
19
|
+
// "ERROR FORGE-S18-T02: status: value "verified" not in [reported, triaged, ...]"
|
|
20
|
+
// "WARN FORGE-S18-T02: ..."
|
|
21
|
+
//
|
|
22
|
+
// This module parses those formats and returns a one-line user-facing hint
|
|
23
|
+
// plus an optional copy-pasteable store-cli command.
|
|
24
|
+
// ── Entity-type inference from entity name / ID ────────────────────────────────
|
|
25
|
+
/** Map entity type to the corresponding schema's status enum values. */
|
|
26
|
+
const STATUS_ENUMS = {
|
|
27
|
+
task: [
|
|
28
|
+
"draft", "planned", "plan-approved", "implementing", "implemented",
|
|
29
|
+
"review-approved", "approved", "committed", "plan-revision-required",
|
|
30
|
+
"code-revision-required", "blocked", "escalated", "abandoned",
|
|
31
|
+
],
|
|
32
|
+
sprint: [
|
|
33
|
+
"planning", "active", "completed", "retrospective-done",
|
|
34
|
+
"partially-completed", "blocked", "abandoned",
|
|
35
|
+
],
|
|
36
|
+
bug: ["reported", "triaged", "in-progress", "fixed"],
|
|
37
|
+
feature: ["proposed", "accepted", "in-progress", "delivered", "declined"],
|
|
38
|
+
event: [], // no status field
|
|
39
|
+
};
|
|
40
|
+
/** Known entity types that support write via store-cli. */
|
|
41
|
+
const ENTITY_TYPES = new Set(["task", "sprint", "bug", "feature", "event"]);
|
|
42
|
+
/**
|
|
43
|
+
* Infer the entity type from an entity name/ID string.
|
|
44
|
+
* Returns "task" as default if no match.
|
|
45
|
+
*/
|
|
46
|
+
export function inferEntityType(entity) {
|
|
47
|
+
const lower = entity.toLowerCase();
|
|
48
|
+
// Bug patterns: BUG-015, FORGE-BUG-015, bug-031
|
|
49
|
+
if (/\bbug/i.test(entity))
|
|
50
|
+
return "bug";
|
|
51
|
+
// Sprint patterns: S18 (standalone), sprint-01 — but NOT inside task IDs like FORGE-S18-T02
|
|
52
|
+
if (/^[A-Z]+-S\d+$/i.test(entity) || /\bsprint/i.test(entity))
|
|
53
|
+
return "sprint";
|
|
54
|
+
// Feature patterns: FORGE-F01
|
|
55
|
+
if (/\bf\d+\b/i.test(entity) || lower.includes("feat"))
|
|
56
|
+
return "feature";
|
|
57
|
+
// Event patterns
|
|
58
|
+
if (lower.includes("event"))
|
|
59
|
+
return "event";
|
|
60
|
+
// Task IDs: FORGE-S18-T02, PROJECT-T01
|
|
61
|
+
if (/\bt\d+\b/i.test(entity))
|
|
62
|
+
return "task";
|
|
63
|
+
// Default
|
|
64
|
+
return "task";
|
|
65
|
+
}
|
|
66
|
+
const STATUS_REMEDIATION = {
|
|
67
|
+
hint: "Set status to one of the legal values for this entity type.",
|
|
68
|
+
command: (entityType, entityId) => `node "$FORGE_ROOT/tools/store-cli.cjs" update-status ${entityType} ${entityId} status <legal-value>`,
|
|
69
|
+
};
|
|
70
|
+
const REQUIRED_FIELD_REMEDIATION = {
|
|
71
|
+
hint: "Add the missing field with a valid value. Use the template command to see the canonical shape.",
|
|
72
|
+
command: (entityType, _entityId) => `node "$FORGE_ROOT/tools/store-cli.cjs" template ${entityType}`,
|
|
73
|
+
};
|
|
74
|
+
const UNDECLARED_FIELD_REMEDIATION = {
|
|
75
|
+
hint: "Remove the undeclared field, or check the schema for the correct property name.",
|
|
76
|
+
command: (entityType, _entityId) => `node "$FORGE_ROOT/tools/store-cli.cjs" describe ${entityType}`,
|
|
77
|
+
};
|
|
78
|
+
const TYPE_MISMATCH_REMEDIATION = {
|
|
79
|
+
hint: "Use the correct type for this field. Use the describe command to see the expected type.",
|
|
80
|
+
command: (entityType, _entityId) => `node "$FORGE_ROOT/tools/store-cli.cjs" describe ${entityType}`,
|
|
81
|
+
};
|
|
82
|
+
const PATTERN_REMEDIATION = {
|
|
83
|
+
hint: "The value must match the expected pattern (e.g. a date-time or ID format).",
|
|
84
|
+
command: (entityType, _entityId) => `node "$FORGE_ROOT/tools/store-cli.cjs" describe ${entityType}`,
|
|
85
|
+
};
|
|
86
|
+
const DATE_TIME_REMEDIATION = {
|
|
87
|
+
hint: "Use an ISO 8601 date-time string (e.g. 2026-05-21T12:00:00Z).",
|
|
88
|
+
command: (entityType, _entityId) => `node "$FORGE_ROOT/tools/store-cli.cjs" describe ${entityType}`,
|
|
89
|
+
};
|
|
90
|
+
const LENGTH_REMEDIATION = {
|
|
91
|
+
hint: "Adjust the value length to satisfy the schema constraint.",
|
|
92
|
+
command: (entityType, _entityId) => `node "$FORGE_ROOT/tools/store-cli.cjs" describe ${entityType}`,
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Parse a single validation error line from validate.js / store-cli.
|
|
96
|
+
*
|
|
97
|
+
* Examples:
|
|
98
|
+
* 'status: value "verified" not in [reported, triaged, in-progress, fixed]'
|
|
99
|
+
* 'taskId: missing required field'
|
|
100
|
+
* 'xyz: undeclared field'
|
|
101
|
+
* 'sprintId: expected string, got number'
|
|
102
|
+
* 'title: value length 0 is below minLength 1'
|
|
103
|
+
* 'createdAt: value "today" is not a valid date-time'
|
|
104
|
+
* 'prefix: value "AB" does not match pattern ^[A-Z]+-[A-Z]$'
|
|
105
|
+
*/
|
|
106
|
+
export function parseValidationError(line) {
|
|
107
|
+
// Enum violation: 'field: value "X" not in [a, b, c]'
|
|
108
|
+
const enumMatch = line.match(/^(\w+):\s+value\s+"([^"]+)"\s+not in \[([^\]]+)\]/);
|
|
109
|
+
if (enumMatch) {
|
|
110
|
+
return {
|
|
111
|
+
field: enumMatch[1],
|
|
112
|
+
errorKind: "enum",
|
|
113
|
+
observed: enumMatch[2],
|
|
114
|
+
enumValues: enumMatch[3].split(",").map((s) => s.trim()),
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
// Required field: 'field: missing required field'
|
|
118
|
+
if (/\bmissing required field\b/.test(line)) {
|
|
119
|
+
const fieldMatch = line.match(/^(\w+):/);
|
|
120
|
+
return { field: fieldMatch?.[1] ?? "unknown", errorKind: "required" };
|
|
121
|
+
}
|
|
122
|
+
// Undeclared field: 'xyz: undeclared field'
|
|
123
|
+
if (/\bundeclared field\b/.test(line)) {
|
|
124
|
+
const fieldMatch = line.match(/^(\w+):/);
|
|
125
|
+
return { field: fieldMatch?.[1] ?? "unknown", errorKind: "undeclared" };
|
|
126
|
+
}
|
|
127
|
+
// Type mismatch: 'field: expected string, got number'
|
|
128
|
+
const typeMatch = line.match(/^(\w+):\s+expected\s+\S+,?\s+got\s+\S+/);
|
|
129
|
+
if (typeMatch) {
|
|
130
|
+
return { field: typeMatch[1], errorKind: "type" };
|
|
131
|
+
}
|
|
132
|
+
// Date-time format: 'field: value "..." is not a valid date-time'
|
|
133
|
+
if (/\bis not a valid date-time\b/.test(line)) {
|
|
134
|
+
const fieldMatch = line.match(/^(\w+):/);
|
|
135
|
+
return { field: fieldMatch?.[1] ?? "unknown", errorKind: "datetime" };
|
|
136
|
+
}
|
|
137
|
+
// Pattern mismatch: 'field: value "..." does not match pattern ...'
|
|
138
|
+
if (/\bdoes not match pattern\b/.test(line)) {
|
|
139
|
+
const fieldMatch = line.match(/^(\w+):/);
|
|
140
|
+
return { field: fieldMatch?.[1] ?? "unknown", errorKind: "pattern" };
|
|
141
|
+
}
|
|
142
|
+
// Length violations
|
|
143
|
+
if (/\blength\b.*\b(exceeds|below)\b/.test(line) || /\b(exceeds|below)\b.*\blength\b/.test(line)) {
|
|
144
|
+
const fieldMatch = line.match(/^(\w+):/);
|
|
145
|
+
return { field: fieldMatch?.[1] ?? "unknown", errorKind: "length" };
|
|
146
|
+
}
|
|
147
|
+
// Generic: capture leading field name if present
|
|
148
|
+
const genericMatch = line.match(/^(\w+):/);
|
|
149
|
+
return { field: genericMatch?.[1] ?? "unknown", errorKind: "other" };
|
|
150
|
+
}
|
|
151
|
+
// ── Public API ──────────────────────────────────────────────────────────────────
|
|
152
|
+
/**
|
|
153
|
+
* Given a single validation error line (from validate.js or store-cli),
|
|
154
|
+
* return a user-facing remediation hint and optional copy-pasteable command.
|
|
155
|
+
*
|
|
156
|
+
* @param errorLine A single error line from validate.js / store-cli output.
|
|
157
|
+
* @param entityType The entity type (task, sprint, bug, feature, event).
|
|
158
|
+
* @param entityId The entity ID (e.g. "FORGE-S18-T02") — used for commands.
|
|
159
|
+
* @returns RemediationResult with hint and command.
|
|
160
|
+
*/
|
|
161
|
+
export function remediateError(errorLine, entityType, entityId) {
|
|
162
|
+
const parsed = parseValidationError(errorLine);
|
|
163
|
+
switch (parsed.errorKind) {
|
|
164
|
+
case "enum": {
|
|
165
|
+
const legalValues = STATUS_ENUMS[entityType] ?? parsed.enumValues ?? [];
|
|
166
|
+
const isStatusField = parsed.field === "status" || parsed.field.toLowerCase().includes("status");
|
|
167
|
+
if (isStatusField && legalValues.length > 0) {
|
|
168
|
+
return {
|
|
169
|
+
hint: `"${parsed.observed}" is not a legal ${entityType} status. Legal values: ${legalValues.join(", ")}.`,
|
|
170
|
+
command: `node "$FORGE_ROOT/tools/store-cli.cjs" update-status ${entityType} ${entityId} status <${legalValues.join("|")}>`,
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
if (legalValues.length > 0) {
|
|
174
|
+
return {
|
|
175
|
+
hint: `Invalid value for "${parsed.field}". Allowed: ${legalValues.join(", ")}.`,
|
|
176
|
+
command: `node "$FORGE_ROOT/tools/store-cli.cjs" template ${entityType}`,
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
return {
|
|
180
|
+
hint: STATUS_REMEDIATION.hint,
|
|
181
|
+
command: STATUS_REMEDIATION.command(entityType, entityId),
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
case "required":
|
|
185
|
+
return {
|
|
186
|
+
hint: REQUIRED_FIELD_REMEDIATION.hint,
|
|
187
|
+
command: REQUIRED_FIELD_REMEDIATION.command(entityType, entityId),
|
|
188
|
+
};
|
|
189
|
+
case "undeclared":
|
|
190
|
+
return {
|
|
191
|
+
hint: UNDECLARED_FIELD_REMEDIATION.hint,
|
|
192
|
+
command: UNDECLARED_FIELD_REMEDIATION.command(entityType, entityId),
|
|
193
|
+
};
|
|
194
|
+
case "type":
|
|
195
|
+
return {
|
|
196
|
+
hint: TYPE_MISMATCH_REMEDIATION.hint,
|
|
197
|
+
command: TYPE_MISMATCH_REMEDIATION.command(entityType, entityId),
|
|
198
|
+
};
|
|
199
|
+
case "datetime":
|
|
200
|
+
return {
|
|
201
|
+
hint: DATE_TIME_REMEDIATION.hint,
|
|
202
|
+
command: DATE_TIME_REMEDIATION.command(entityType, entityId),
|
|
203
|
+
};
|
|
204
|
+
case "pattern":
|
|
205
|
+
return {
|
|
206
|
+
hint: PATTERN_REMEDIATION.hint,
|
|
207
|
+
command: PATTERN_REMEDIATION.command(entityType, entityId),
|
|
208
|
+
};
|
|
209
|
+
case "length":
|
|
210
|
+
return {
|
|
211
|
+
hint: LENGTH_REMEDIATION.hint,
|
|
212
|
+
command: LENGTH_REMEDIATION.command(entityType, entityId),
|
|
213
|
+
};
|
|
214
|
+
case "other":
|
|
215
|
+
default:
|
|
216
|
+
return {
|
|
217
|
+
hint: "Check the schema for the expected shape.",
|
|
218
|
+
command: `node "$FORGE_ROOT/tools/store-cli.cjs" template ${entityType}`,
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Parse a multi-line validation output (e.g. from store-cli validate or
|
|
224
|
+
* validate-store --dry-run) into individual error lines and return
|
|
225
|
+
* remediation for each.
|
|
226
|
+
*
|
|
227
|
+
* @param output Raw multi-line output from validation tool.
|
|
228
|
+
* @param entityType Override entity type (inferred from output if not provided).
|
|
229
|
+
* @returns Array of { errorLine, remediation } objects.
|
|
230
|
+
*/
|
|
231
|
+
export function remediateValidationOutput(output, entityType) {
|
|
232
|
+
const lines = output
|
|
233
|
+
.split("\n")
|
|
234
|
+
.map((l) => l.trim())
|
|
235
|
+
.filter((l) => l.length > 0);
|
|
236
|
+
const results = [];
|
|
237
|
+
for (const line of lines) {
|
|
238
|
+
// Strip "ERROR" / "WARN" prefix from validate-store --dry-run output
|
|
239
|
+
const cleaned = line.replace(/^(ERROR|WARN)\s+/, "");
|
|
240
|
+
if (!cleaned)
|
|
241
|
+
continue;
|
|
242
|
+
// Extract entity ID from lines like "FORGE-S18-T02: status: ..."
|
|
243
|
+
const entityIdMatch = cleaned.match(/^([A-Z]+-S?\d+-T?\d+|[A-Z]+-BUG-\d+|[A-Z]+-F\d+):/);
|
|
244
|
+
const entityId = entityIdMatch?.[1] ?? "unknown";
|
|
245
|
+
// If entity type not overridden, try to infer
|
|
246
|
+
const inferredType = entityType ?? inferEntityType(entityId);
|
|
247
|
+
// Skip non-error lines (hint lines from validate.js, blank lines, etc.)
|
|
248
|
+
if (cleaned.startsWith("(") || cleaned.startsWith("hint:") || cleaned.startsWith("#")) {
|
|
249
|
+
continue;
|
|
250
|
+
}
|
|
251
|
+
// Skip lines that are just an entity name without an error field
|
|
252
|
+
// (the real error is on the same line after the entity prefix)
|
|
253
|
+
const errorPart = entityIdMatch ? cleaned.slice(entityIdMatch[0].length).trim() : cleaned;
|
|
254
|
+
if (!errorPart || errorPart.length < 3)
|
|
255
|
+
continue;
|
|
256
|
+
results.push({
|
|
257
|
+
errorLine: cleaned,
|
|
258
|
+
remediation: remediateError(errorPart, inferredType, entityId),
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
return results;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Format a block message for a write-guard violation, appending remediation hints.
|
|
265
|
+
* Used by hook-dispatcher.ts for store-cli intercept blocks.
|
|
266
|
+
*
|
|
267
|
+
* @param rawReason The raw reason string from validateStoreCLIPayload or checkWriteGuard.
|
|
268
|
+
* @param entityType The entity type if known.
|
|
269
|
+
* @param entityId The entity ID if known.
|
|
270
|
+
* @returns Enhanced reason string with remediation hints appended.
|
|
271
|
+
*/
|
|
272
|
+
export function enhanceBlockMessage(rawReason, entityType, entityId) {
|
|
273
|
+
// Parse the raw reason into lines and try to add remediation to each error line.
|
|
274
|
+
const lines = rawReason.split("\n");
|
|
275
|
+
const enhanced = [];
|
|
276
|
+
for (const line of lines) {
|
|
277
|
+
// Strip leading list markers and bullet points
|
|
278
|
+
const stripped = line.replace(/^\s*[-•]\s*/, "").trim();
|
|
279
|
+
// Check if this line contains a recognizable validation error pattern
|
|
280
|
+
const parsed = parseValidationError(stripped);
|
|
281
|
+
// Also match lines that contain validation error patterns not caught by parseValidationError
|
|
282
|
+
const hasKnownError = parsed.errorKind !== "other" || /\bmissing required\b|\bnot in \[|\bundeclared\b|\bexpected\b.*\bgot\b/.test(stripped);
|
|
283
|
+
if (hasKnownError) {
|
|
284
|
+
const type = entityType ?? "task";
|
|
285
|
+
const id = entityId ?? "unknown";
|
|
286
|
+
const remediation = remediateError(stripped, type, id);
|
|
287
|
+
enhanced.push(line);
|
|
288
|
+
enhanced.push(` 💡 ${remediation.hint}`);
|
|
289
|
+
if (remediation.command) {
|
|
290
|
+
enhanced.push(` → ${remediation.command}`);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
enhanced.push(line);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
return enhanced.join("\n");
|
|
298
|
+
}
|
|
299
|
+
//# sourceMappingURL=store-error-remediation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-error-remediation.js","sourceRoot":"","sources":["../../../src/extensions/forgecli/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the spawn helper, regex constants, and
|
|
5
5
|
// the multi-result picker so future ports do not drift from the canonical
|
|
6
6
|
// cascade.
|
|
7
|
-
import * as fsSync from "node:fs";
|
|
8
7
|
import * as path from "node:path";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
const execFileAsync = promisify(execFile);
|
|
8
|
+
import { execFileAsync } from "./lib/exec-helpers.js";
|
|
9
|
+
import { isDirectory } from "./lib/shared-fs-utils.js";
|
|
12
10
|
export const ENTITY_TYPES = new Set(["task", "sprint", "bug", "feature"]);
|
|
13
11
|
export const ID_PATTERNS = {
|
|
14
12
|
task: /^([A-Z0-9]+-)?S\d+-T\d+$/i,
|
|
@@ -23,14 +21,7 @@ export function isDebug() {
|
|
|
23
21
|
}
|
|
24
22
|
export function resolveToolDir(forgeRoot) {
|
|
25
23
|
const nested = path.join(forgeRoot, "tools");
|
|
26
|
-
|
|
27
|
-
if (fsSync.statSync(nested).isDirectory())
|
|
28
|
-
return nested;
|
|
29
|
-
}
|
|
30
|
-
catch {
|
|
31
|
-
// nested missing — fall through to flat
|
|
32
|
-
}
|
|
33
|
-
return forgeRoot;
|
|
24
|
+
return isDirectory(nested) ? nested : forgeRoot;
|
|
34
25
|
}
|
|
35
26
|
export async function runStoreCli(toolDir, argv, cwd) {
|
|
36
27
|
const toolPath = path.join(toolDir, "store-cli.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-resolver.js","sourceRoot":"","sources":["../../../src/extensions/forgecli/store-resolver.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,2EAA2E;AAC3E,mEAAmE;AACnE,4EAA4E;AAC5E,0EAA0E;AAC1E,WAAW;AAEX,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAGtC,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EAAE,OAAO,EAAE,GAAG,EAAE;QAC1D,WAAW;QACX,GAAG;QACH,WAAW,EAAE,GAAG,YAAY,aAAa;KACzC,CAAC,CAAC;IAEH,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,GAAG,EAAE,EAAE,CAAC,MAAM,CACb,KAAK,YAAY,yBAAyB,GAAG,KAAK;YAClD,eAAe,IAAI,UAAU;YAC7B,2EAA2E,EAC3E,OAAO,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IAED,IAAI,KAAK,IAAI,QAAQ,EAAE,CAAC;QACvB,uDAAuD;QACvD,GAAG,EAAE,EAAE,CAAC,MAAM,CACb,KAAK,YAAY,OAAO,GAAG,yCAAyC,IAAI,OAAO;YAC/E,uBAAuB,IAAI,cAAc,EACzC,OAAO,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IAED,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC;IACtC,IAAI,CAAC,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;QACrD,GAAG,EAAE,EAAE,CAAC,MAAM,CACb,KAAK,YAAY,gBAAgB,GAAG,mCAAmC,EACvE,OAAO,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IAED,iEAAiE;IACjE,IAAI,WAAW,KAAK,GAAG,EAAE,CAAC;QACzB,GAAG,EAAE,EAAE,CAAC,MAAM,CACb,KAAK,YAAY,gBAAgB,GAAG,OAAO,WAAW,EAAE,EACxD,MAAM,CACN,CAAC;IACH,CAAC;IAED,OAAO,WAAW,CAAC;AACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"store-resolver.js","sourceRoot":"","sources":["../../../src/extensions/forgecli/store-resolver.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,2EAA2E;AAC3E,mEAAmE;AACnE,4EAA4E;AAC5E,0EAA0E;AAC1E,WAAW;AAEX,OAAO,KAAK,IAAI,MAAM,WAAW,CAA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ACX,GAAG;QACH,WAAW,EAAE,GAAG,YAAY,aAAa;KACzC,CAAC,CAAC;IAEH,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,GAAG,EAAE,EAAE,CAAC,MAAM,CACb,KAAK,YAAY,yBAAyB,GAAG,KAAK;YAClD,eAAe,IAAI,UAAU;YAC7B,2EAA2E,EAC3E,OAAO,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IAED,IAAI,KAAK,IAAI,QAAQ,EAAE,CAAC;QACvB,uDAAuD;QACvD,GAAG,EAAE,EAAE,CAAC,MAAM,CACb,KAAK,YAAY,OAAO,GAAG,yCAAyC,IAAI,OAAO;YAC/E,uBAAuB,IAAI,cAAc,EACzC,OAAO,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IAED,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC;IACtC,IAAI,CAAC,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;QACrD,GAAG,EAAE,EAAE,CAAC,MAAM,CACb,KAAK,YAAY,gBAAgB,GAAG,mCAAmC,EACvE,OAAO,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IAED,iEAAiE;IACjE,IAAI,WAAW,KAAK,GAAG,EAAE,CAAC;QACzB,GAAG,EAAE,EAAE,CAAC,MAAM,CACb,KAAK,YAAY,gBAAgB,GAAG,OAAO,WAAW,EAAE,EACxD,MAAM,CACN,CAAC;IACH,CAAC;IAED,OAAO,WAAW,CAAC;AACpB,CAAC"}
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
// Why spawnSync?
|
|
8
8
|
// pi's tool_call handler is synchronous — the event system does not support
|
|
9
9
|
// async handlers. spawnSync completes before the block result is returned to pi.
|
|
10
|
-
|
|
10
|
+
//
|
|
11
|
+
// FORGE-S25-T17: spawnSync replaced with spawnStoreCliValidate from lib/spawn-store-cli.ts.
|
|
11
12
|
import * as path from "node:path";
|
|
12
|
-
import { enhanceBlockMessage } from "./
|
|
13
|
+
import { enhanceBlockMessage } from "./store-error-remediation.js";
|
|
14
|
+
import { spawnStoreCliValidate } from "./lib/spawn-store-cli.js";
|
|
13
15
|
/**
|
|
14
16
|
* Validate a store entity payload by spawning `store-cli.cjs validate`.
|
|
15
17
|
*
|
|
@@ -20,15 +22,8 @@ import { enhanceBlockMessage } from "./lib/store-error-remediation.js";
|
|
|
20
22
|
*/
|
|
21
23
|
export function validateStoreCLIPayload(entity, payload, forgeRoot) {
|
|
22
24
|
const storeCliPath = path.join(forgeRoot, "tools", "store-cli.cjs");
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
[storeCliPath, "validate", entity, payloadStr], { encoding: "utf8", timeout: 10_000 });
|
|
26
|
-
// Non-zero exit code or error signal → validation failed.
|
|
27
|
-
if (result.status !== 0 || result.error) {
|
|
28
|
-
const reason = result.stderr?.trim() ||
|
|
29
|
-
result.error?.message ||
|
|
30
|
-
`store-cli validate exited with code ${String(result.status)}` ||
|
|
31
|
-
"validation failed (no error message)";
|
|
25
|
+
const { ok, reason } = spawnStoreCliValidate(storeCliPath, entity, payload, forgeRoot);
|
|
26
|
+
if (!ok) {
|
|
32
27
|
const remediation = enhanceBlockMessage(reason, entity, "unknown");
|
|
33
28
|
return { ok: false, reason, remediation };
|
|
34
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-validator.js","sourceRoot":"","sources":["../../../src/extensions/forgecli/store-validator.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,uEAAuE;AACvE,EAAE;AACF,iBAAiB;AACjB,8EAA8E;AAC9E,mFAAmF;
|
|
1
|
+
{"version":3,"file":"store-validator.js","sourceRoot":"","sources":["../../../src/extensions/forgecli/store-validator.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,uEAAuE;AACvE,EAAE;AACF,iBAAiB;AACjB,8EAA8E;AAC9E,mFAAmF;AACnF,EAAE;AACF,4FAA4F;AAE5F,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAUjE;;;;;;;GAOG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAAc,EAAE,OAAgB,EAAE,SAAiB;IAC1F,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC;IAEpE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IACvF,IAAI,CAAC,EAAE,EAAE,CAAC;QACT,MAAM,WAAW,GAAG,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;QACnE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;IAC3C,CAAC;IAED,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC;AAClD,CAAC"}
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
* centralization refactor that keeps AC #1 honest (no `getAgentDir()`
|
|
17
17
|
* call sites in forge-cli outside the resolver).
|
|
18
18
|
* - See `forge-cli/vendor-pi/DIVERGENCE.md` (sync-pi-upstream picks it up).
|
|
19
|
+
*
|
|
20
|
+
* Forge-cli divergence (FORGE-S25-T18, must be re-applied on every pi-mono sync):
|
|
21
|
+
* - Local `isDirectory()` helper removed; import from `../lib/shared-fs-utils.js`
|
|
22
|
+
* instead. Behaviour is identical (returns false on any error). Finding S-3.
|
|
19
23
|
*/
|
|
20
24
|
export type AgentScope = "user" | "project" | "both";
|
|
21
25
|
export interface AgentConfig {
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
* centralization refactor that keeps AC #1 honest (no `getAgentDir()`
|
|
17
17
|
* call sites in forge-cli outside the resolver).
|
|
18
18
|
* - See `forge-cli/vendor-pi/DIVERGENCE.md` (sync-pi-upstream picks it up).
|
|
19
|
+
*
|
|
20
|
+
* Forge-cli divergence (FORGE-S25-T18, must be re-applied on every pi-mono sync):
|
|
21
|
+
* - Local `isDirectory()` helper removed; import from `../lib/shared-fs-utils.js`
|
|
22
|
+
* instead. Behaviour is identical (returns false on any error). Finding S-3.
|
|
19
23
|
*/
|
|
20
24
|
/**
|
|
21
25
|
* Agent discovery and configuration
|
|
@@ -24,6 +28,7 @@ import * as fs from "node:fs";
|
|
|
24
28
|
import * as path from "node:path";
|
|
25
29
|
import { parseFrontmatter } from "@earendil-works/pi-coding-agent";
|
|
26
30
|
import { getPiAgentAgentsDir } from "../paths/paths.js";
|
|
31
|
+
import { isDirectory } from "../lib/shared-fs-utils.js";
|
|
27
32
|
function loadAgentsFromDir(dir, source) {
|
|
28
33
|
const agents = [];
|
|
29
34
|
if (!fs.existsSync(dir)) {
|
|
@@ -69,14 +74,6 @@ function loadAgentsFromDir(dir, source) {
|
|
|
69
74
|
}
|
|
70
75
|
return agents;
|
|
71
76
|
}
|
|
72
|
-
function isDirectory(p) {
|
|
73
|
-
try {
|
|
74
|
-
return fs.statSync(p).isDirectory();
|
|
75
|
-
}
|
|
76
|
-
catch {
|
|
77
|
-
return false;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
77
|
function findNearestProjectAgentsDir(cwd) {
|
|
81
78
|
let currentDir = cwd;
|
|
82
79
|
while (true) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../../src/extensions/forgecli/subagent/agents.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../../src/extensions/forgecli/subagent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AAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;IACzC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IAChD,OAAO;QACN,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,MAAM,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAC/E,SAAS;KACT,CAAC;AACH,CAAC"}
|
|
@@ -1,57 +1,28 @@
|
|
|
1
1
|
// Status-transition guard — FORGE-S18-T03
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
// and checks whether a proposed transition is allowed.
|
|
3
|
+
// Checks whether a proposed status transition is legal for a given entity.
|
|
5
4
|
//
|
|
6
5
|
// The guard reads the current status from disk via `store-cli read` (spawnSync).
|
|
7
6
|
// Fail-open: if the current-status lookup fails for any reason, the guard returns
|
|
8
7
|
// { allowed: true } and sets reason="lookup-failed". The caller (hook-dispatcher)
|
|
9
8
|
// logs this as "lookup-failed" under FORGE_HOOK_AUDIT=1 but never blocks the
|
|
10
9
|
// operation — a lookup failure must not block a valid operation.
|
|
11
|
-
|
|
10
|
+
//
|
|
11
|
+
// FORGE-S25-T17: spawnSync replaced with spawnStoreCliRead from lib/spawn-store-cli.ts.
|
|
12
|
+
// FORGE-S25-T27: inline TASK/SPRINT/BUG_TRANSITIONS tables replaced with catalog-loader
|
|
13
|
+
// constants derived from T26 enum-catalog.json + transitions/*.json. Tables now match
|
|
14
|
+
// the T25 ADR-canonical FSM (doc/decisions/state-machine-reconciliation.md):
|
|
15
|
+
// - terminal states (committed, blocked, escalated, abandoned) are truly terminal (Set [])
|
|
16
|
+
// - plan-revision-required and code-revision-required reachable from more states
|
|
17
|
+
// Closes finding N-E-2 (forge-cli side), round-2-validation.md findings 36, 40.
|
|
12
18
|
import * as path from "node:path";
|
|
19
|
+
import { spawnStoreCliRead } from "./lib/spawn-store-cli.js";
|
|
20
|
+
import { TASK_TRANSITIONS, SPRINT_TRANSITIONS, BUG_TRANSITIONS } from "./lib/catalog-loader.js";
|
|
13
21
|
// ── Legal transition tables ───────────────────────────────────────────────────
|
|
14
22
|
//
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
|
|
18
|
-
draft: new Set(["planned", "blocked", "escalated", "abandoned"]),
|
|
19
|
-
planned: new Set(["plan-approved", "plan-revision-required", "blocked", "escalated", "abandoned"]),
|
|
20
|
-
"plan-approved": new Set(["implementing", "blocked", "escalated", "abandoned"]),
|
|
21
|
-
implementing: new Set(["implemented", "code-revision-required", "blocked", "escalated", "abandoned"]),
|
|
22
|
-
implemented: new Set(["review-approved", "blocked", "escalated", "abandoned"]),
|
|
23
|
-
"review-approved": new Set(["approved", "blocked", "escalated", "abandoned"]),
|
|
24
|
-
approved: new Set(["committed", "blocked", "escalated", "abandoned"]),
|
|
25
|
-
"plan-revision-required": new Set(["planned", "blocked", "escalated", "abandoned"]),
|
|
26
|
-
"code-revision-required": new Set(["implementing", "blocked", "escalated", "abandoned"]),
|
|
27
|
-
// Terminal / sink states — can only be re-opened by --force.
|
|
28
|
-
blocked: new Set(["blocked", "escalated", "abandoned"]),
|
|
29
|
-
escalated: new Set(["blocked", "escalated", "abandoned"]),
|
|
30
|
-
abandoned: new Set(["blocked", "escalated", "abandoned"]),
|
|
31
|
-
committed: new Set(["blocked", "escalated", "abandoned"]),
|
|
32
|
-
};
|
|
33
|
-
const SPRINT_TRANSITIONS = {
|
|
34
|
-
planning: new Set(["active", "abandoned"]),
|
|
35
|
-
active: new Set(["completed", "partially-completed", "blocked", "abandoned"]),
|
|
36
|
-
completed: new Set(["retrospective-done"]),
|
|
37
|
-
"partially-completed": new Set(["retrospective-done"]),
|
|
38
|
-
"retrospective-done": new Set([]),
|
|
39
|
-
blocked: new Set(["active", "abandoned"]),
|
|
40
|
-
abandoned: new Set([]),
|
|
41
|
-
};
|
|
42
|
-
// Mirror of store-cli.cjs BUG_TRANSITIONS (forge v0.44.0+).
|
|
43
|
-
// Terminal: `fixed`. `approved` and `verified` enum values were dropped
|
|
44
|
-
// in v0.44.0 — they were vestigial in the workflow and produced the
|
|
45
|
-
// FORGE-BUG-002 LLM-translation trap. The architect-approve verdict
|
|
46
|
-
// signal travels through `bug.summaries.approve.verdict` (read by
|
|
47
|
-
// read-verdict.cjs § BUG_PHASE_VERDICT_SOURCE), not `bug.status`.
|
|
48
|
-
const BUG_TRANSITIONS = {
|
|
49
|
-
reported: new Set(["triaged", "abandoned"]),
|
|
50
|
-
triaged: new Set(["in-progress", "abandoned"]),
|
|
51
|
-
"in-progress": new Set(["fixed", "abandoned"]),
|
|
52
|
-
fixed: new Set([]), // terminal
|
|
53
|
-
abandoned: new Set([]),
|
|
54
|
-
};
|
|
23
|
+
// Loaded from enum-catalog.json / transitions/*.json (T25 ADR-canonical).
|
|
24
|
+
// Source: build-enum-catalog.cjs (FORGE-S25-T26) → bundled by build-payload.cjs (FORGE-S25-T27).
|
|
25
|
+
// Do NOT inline transition tables here — edit forge/forge/tools/build-enum-catalog.cjs instead.
|
|
55
26
|
const ENTITY_TABLES = {
|
|
56
27
|
task: TASK_TRANSITIONS,
|
|
57
28
|
sprint: SPRINT_TRANSITIONS,
|
|
@@ -71,25 +42,13 @@ function legalNextStates(entity, fromStatus) {
|
|
|
71
42
|
*/
|
|
72
43
|
function readCurrentStatus(entity, entityId, forgeRoot) {
|
|
73
44
|
const storeCliPath = path.join(forgeRoot, "tools", "store-cli.cjs");
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
});
|
|
79
|
-
if (result.status !== 0 || result.error)
|
|
80
|
-
return null;
|
|
81
|
-
const stdout = result.stdout?.trim();
|
|
82
|
-
if (!stdout)
|
|
83
|
-
return null;
|
|
84
|
-
// store-cli read emits JSON; parse and extract the status field.
|
|
85
|
-
const record = JSON.parse(stdout);
|
|
86
|
-
const status = record.status;
|
|
87
|
-
return typeof status === "string" ? status : null;
|
|
88
|
-
}
|
|
89
|
-
catch {
|
|
90
|
-
// Any parse error or subprocess error → fail-open.
|
|
45
|
+
// Use the shared wrapper from lib/spawn-store-cli.ts (FORGE-S25-T17).
|
|
46
|
+
// Fail-open: spawnStoreCliRead returns null on any error — matches prior behaviour.
|
|
47
|
+
const record = spawnStoreCliRead(storeCliPath, entity, entityId, forgeRoot);
|
|
48
|
+
if (record === null)
|
|
91
49
|
return null;
|
|
92
|
-
|
|
50
|
+
const status = record["status"];
|
|
51
|
+
return typeof status === "string" ? status : null;
|
|
93
52
|
}
|
|
94
53
|
/**
|
|
95
54
|
* Check whether a status transition is legal.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transition-guard.js","sourceRoot":"","sources":["../../../src/extensions/forgecli/transition-guard.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"transition-guard.js","sourceRoot":"","sources":["../../../src/extensions/forgecli/transition-guard.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,EAAE;AACF,iFAAiF;AACjF,kFAAkF;AAClF,kFAAkF;AAClF,6EAA6E;AAC7E,iEAAiE;AACjE,EAAE;AACF,wFAAwF;AACxF,wFAAwF;AACxF,wFAAwF;AACxF,+EAA+E;AAC/E,+FAA+F;AAC/F,qFAAqF;AACrF,kFAAkF;AAElF,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAOhG,iFAAiF;AACjF,EAAE;AACF,0EAA0E;AAC1E,iGAAiG;AACjG,gGAAgG;AAEhG,MAAM,aAAa,GAAgD;IAClE,IAAI,EA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