@planu/cli 5.7.20 → 5.7.21
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 +14 -0
- package/dist/.planu-build.json +1 -1
- package/dist/cli/commands/doctor.d.ts +1 -6
- package/dist/cli/commands/doctor.js +1 -1
- package/dist/config/version-defaults.d.ts +0 -8
- package/dist/config/version-defaults.js +0 -28
- package/dist/core/index.d.ts +1 -15
- package/dist/core/index.js +3 -12
- package/dist/core/spec-validator.d.ts +1 -1
- package/dist/engine/audit-trail/index.d.ts +0 -6
- package/dist/engine/audit-trail/index.js +0 -5
- package/dist/engine/audit-trail/logger.d.ts +0 -1
- package/dist/engine/audit-trail/logger.js +0 -1
- package/dist/engine/auto-updater/config-patcher.d.ts +0 -1
- package/dist/engine/auto-updater/config-patcher.js +1 -1
- package/dist/engine/auto-updater/upgrade-lock.d.ts +0 -4
- package/dist/engine/auto-updater/upgrade-lock.js +1 -1
- package/dist/engine/best-practices-library.d.ts +0 -6
- package/dist/engine/best-practices-library.js +2 -3
- package/dist/engine/build-freshness.d.ts +0 -2
- package/dist/engine/build-freshness.js +2 -2
- package/dist/engine/bump-carrier-binding.d.ts +0 -1
- package/dist/engine/bump-carrier-binding.js +1 -1
- package/dist/engine/code-scanner/gap-scorer.d.ts +2 -2
- package/dist/engine/code-scanner/index.d.ts +1 -5
- package/dist/engine/code-scanner/index.js +0 -4
- package/dist/engine/compact/metrics.d.ts +0 -3
- package/dist/engine/compact/metrics.js +0 -8
- package/dist/engine/compact/registry-loader.d.ts +0 -1
- package/dist/engine/compact/registry-loader.js +0 -3
- package/dist/engine/compact/state-store.d.ts +2 -1
- package/dist/engine/compact/state-store.js +1 -1
- package/dist/engine/complexity-budget/index.d.ts +0 -3
- package/dist/engine/complexity-budget/index.js +0 -3
- package/dist/engine/constitution/sdd-rules-registry.d.ts +1 -2
- package/dist/engine/constitution/sdd-rules-registry.js +1 -1
- package/dist/engine/context-intelligence/compression-guards.d.ts +0 -1
- package/dist/engine/context-intelligence/compression-guards.js +1 -1
- package/dist/engine/core-bridge-project-graph.d.ts +0 -4
- package/dist/engine/core-bridge-project-graph.js +1 -1
- package/dist/engine/core-bridge.d.ts +2 -14
- package/dist/engine/core-bridge.js +0 -9
- package/dist/engine/crash-shield/file-collector.d.ts +0 -5
- package/dist/engine/crash-shield/file-collector.js +1 -10
- package/dist/engine/crash-shield/index.d.ts +0 -1
- package/dist/engine/crash-shield/index.js +0 -1
- package/dist/engine/dependency-evaluator.d.ts +4 -3
- package/dist/engine/detectors/library-detector-node.d.ts +0 -1
- package/dist/engine/detectors/library-detector-node.js +1 -1
- package/dist/engine/detectors/library-detector-python.d.ts +0 -1
- package/dist/engine/detectors/library-detector-python.js +1 -1
- package/dist/engine/detectors/library-detector.d.ts +0 -6
- package/dist/engine/detectors/library-detector.js +0 -6
- package/dist/engine/detectors/llm-detector/index.d.ts +0 -6
- package/dist/engine/detectors/llm-detector/index.js +0 -6
- package/dist/engine/detectors/otel-ecosystem-detectors.d.ts +0 -8
- package/dist/engine/detectors/otel-ecosystem-detectors.js +4 -8
- package/dist/engine/doc-generator/portal/index.d.ts +1 -21
- package/dist/engine/doc-generator/portal/index.js +1 -19
- package/dist/engine/doctor/npm-cache-check.d.ts +0 -3
- package/dist/engine/doctor/npm-cache-check.js +3 -3
- package/dist/engine/dora-metrics/calculations.d.ts +1 -4
- package/dist/engine/dora-metrics/calculations.js +2 -2
- package/dist/engine/ears-gate.d.ts +2 -2
- package/dist/engine/ears-gate.js +1 -1
- package/dist/engine/errors/registry-loader.d.ts +0 -1
- package/dist/engine/errors/registry-loader.js +1 -1
- package/dist/engine/estimator/calculations.d.ts +1 -4
- package/dist/engine/estimator/calculations.js +2 -17
- package/dist/engine/estimator/constants.d.ts +1 -3
- package/dist/engine/estimator/constants.js +0 -8
- package/dist/engine/evidence-gates/evidence-autofill.d.ts +0 -8
- package/dist/engine/evidence-gates/evidence-autofill.js +4 -4
- package/dist/engine/evidence-gates/lifecycle-gate.d.ts +0 -2
- package/dist/engine/evidence-gates/lifecycle-gate.js +2 -2
- package/dist/engine/execution/deadline-io.d.ts +0 -1
- package/dist/engine/execution/deadline-io.js +1 -16
- package/dist/engine/execution/operation-journal.d.ts +3 -2
- package/dist/engine/execution-plan/plan-utils.d.ts +1 -2
- package/dist/engine/execution-plan/plan-utils.js +0 -15
- package/dist/engine/frontmatter-sha/frozen-fields.d.ts +0 -1
- package/dist/engine/frontmatter-sha/index.d.ts +0 -6
- package/dist/engine/frontmatter-sha/index.js +0 -3
- package/dist/engine/frontmatter-sha/verify-terminal.d.ts +4 -3
- package/dist/engine/git/exec-git.d.ts +0 -2
- package/dist/engine/git/exec-git.js +2 -2
- package/dist/engine/git/planu-autocommit.d.ts +0 -1
- package/dist/engine/git/planu-autocommit.js +1 -1
- package/dist/engine/handoff-artifacts/io.d.ts +2 -1
- package/dist/engine/handoff-artifacts/schemas.d.ts +0 -232
- package/dist/engine/handoff-artifacts/schemas.js +5 -5
- package/dist/engine/handoff-artifacts/version-policy.d.ts +3 -2
- package/dist/engine/handoff-packager.d.ts +2 -1
- package/dist/engine/handoff-packager.js +1 -1
- package/dist/engine/host-rules-templates/index.d.ts +0 -1
- package/dist/engine/host-tool-filter.d.ts +2 -2
- package/dist/engine/housekeeping/find-stale-branches.d.ts +2 -1
- package/dist/engine/housekeeping/index.d.ts +0 -6
- package/dist/engine/housekeeping/index.js +0 -6
- package/dist/engine/keyword-matcher/index.d.ts +0 -1
- package/dist/engine/keyword-matcher/index.js +1 -0
- package/dist/engine/llm-runtime/index.d.ts +1 -2
- package/dist/engine/llm-runtime/index.js +1 -1
- package/dist/engine/llm-runtime/pricing-resolver.d.ts +1 -6
- package/dist/engine/llm-runtime/pricing-resolver.js +1 -1
- package/dist/engine/minimality/index.d.ts +0 -1
- package/dist/engine/minimality/index.js +0 -1
- package/dist/engine/mobile-detector-android.d.ts +0 -1
- package/dist/engine/mobile-detector-android.js +1 -1
- package/dist/engine/model-tier-resolver.d.ts +0 -1
- package/dist/engine/model-tier-resolver.js +0 -1
- package/dist/engine/multi-app-detector/app-type.d.ts +0 -3
- package/dist/engine/multi-app-detector/app-type.js +3 -3
- package/dist/engine/multi-app-detector/core.d.ts +1 -4
- package/dist/engine/multi-app-detector/core.js +1 -6
- package/dist/engine/network-policy.d.ts +0 -17
- package/dist/engine/network-policy.js +3 -19
- package/dist/engine/next-spec-resolver/orchestration-planner.d.ts +1 -1
- package/dist/engine/next-spec-resolver/session-writer.d.ts +0 -9
- package/dist/engine/next-spec-resolver/session-writer.js +3 -3
- package/dist/engine/onboarding/new-project-resolver.d.ts +1 -2
- package/dist/engine/onboarding/new-project-resolver.js +1 -1
- package/dist/engine/permissions-merger/stack-detectors.d.ts +0 -3
- package/dist/engine/permissions-merger/stack-detectors.js +0 -8
- package/dist/engine/plugin-installer/index.d.ts +2 -5
- package/dist/engine/plugin-installer/index.js +2 -5
- package/dist/engine/plugin-installer/stack-matcher.d.ts +0 -2
- package/dist/engine/plugin-installer/stack-matcher.js +0 -3
- package/dist/engine/plugins/index.d.ts +6 -9
- package/dist/engine/plugins/index.js +6 -9
- package/dist/engine/prior-decisions/index.d.ts +0 -1
- package/dist/engine/prior-decisions/index.js +0 -1
- package/dist/engine/project-graph/index.d.ts +0 -5
- package/dist/engine/project-graph/index.js +0 -5
- package/dist/engine/project-health-checker.d.ts +2 -2
- package/dist/engine/project-scanner/index.d.ts +1 -4
- package/dist/engine/project-scanner/index.js +0 -3
- package/dist/engine/reconcile/apply-changes.d.ts +1 -1
- package/dist/engine/reviewer-tokens/index.d.ts +2 -3
- package/dist/engine/reviewer-tokens/index.js +2 -3
- package/dist/engine/reviewer-tokens/types.d.ts +1 -1
- package/dist/engine/reviewer-tokens/verifier.d.ts +0 -4
- package/dist/engine/reviewer-tokens/verifier.js +0 -19
- package/dist/engine/safety/cross-process-lock.d.ts +0 -2
- package/dist/engine/safety/cross-process-lock.js +0 -1
- package/dist/engine/safety/lock-lease-store.d.ts +4 -3
- package/dist/engine/sdd-model-routing.d.ts +0 -1
- package/dist/engine/sdd-model-routing.js +1 -1
- package/dist/engine/security-analyzer.d.ts +0 -1
- package/dist/engine/security-analyzer.js +0 -1
- package/dist/engine/session/session-tracker.d.ts +2 -2
- package/dist/engine/session/session-tracker.js +2 -2
- package/dist/engine/skill-adapter/index.d.ts +1 -4
- package/dist/engine/skill-adapter/index.js +0 -44
- package/dist/engine/skill-discovery/index.d.ts +1 -5
- package/dist/engine/skill-discovery/index.js +0 -20
- package/dist/engine/skill-discovery/source-adapter.d.ts +1 -7
- package/dist/engine/skill-discovery/source-adapter.js +0 -28
- package/dist/engine/skill-generator/sections.d.ts +1 -1
- package/dist/engine/skill-generator/sections.js +1 -1
- package/dist/engine/skill-generator/skill-definitions.d.ts +0 -1
- package/dist/engine/skill-generator/skill-definitions.js +1 -0
- package/dist/engine/skill-generator/skills.d.ts +0 -1
- package/dist/engine/skill-generator/skills.js +0 -1
- package/dist/engine/skill-generator.d.ts +0 -1
- package/dist/engine/skill-generator.js +0 -1
- package/dist/engine/skill-registry/index.d.ts +1 -9
- package/dist/engine/skill-registry/index.js +1 -9
- package/dist/engine/skill-registry/skill-security-scanner.d.ts +0 -3
- package/dist/engine/skill-registry/skill-security-scanner.js +1 -1
- package/dist/engine/spec-format/bdd-parser.d.ts +2 -9
- package/dist/engine/spec-format/bdd-parser.js +1 -1
- package/dist/engine/spec-format/copula-blacklist.d.ts +2 -5
- package/dist/engine/spec-format/copula-blacklist.js +2 -2
- package/dist/engine/spec-format/criteria-drift.d.ts +0 -1
- package/dist/engine/spec-format/criteria-drift.js +1 -1
- package/dist/engine/spec-format/lean-spec-generator.d.ts +1 -1
- package/dist/engine/spec-format/spec-id.d.ts +0 -2
- package/dist/engine/spec-format/spec-id.js +2 -2
- package/dist/engine/spec-generator/index.d.ts +0 -3
- package/dist/engine/spec-generator/index.js +0 -3
- package/dist/engine/spec-grounding/contract.d.ts +0 -2
- package/dist/engine/spec-grounding/contract.js +1 -2
- package/dist/engine/spec-migrator/folder-operations.d.ts +0 -2
- package/dist/engine/spec-migrator/folder-operations.js +1 -2
- package/dist/engine/spec-migrator/index.d.ts +2 -9
- package/dist/engine/spec-migrator/index.js +2 -9
- package/dist/engine/spec-migrator/strict-planu-cleanup.d.ts +1 -2
- package/dist/engine/spec-migrator/strict-planu-cleanup.js +2 -2
- package/dist/engine/spec-state-machine/transition-spec.d.ts +3 -2
- package/dist/engine/spec-versioning/bump-version.d.ts +0 -2
- package/dist/engine/spec-versioning/bump-version.js +1 -2
- package/dist/engine/stack-auditor/manifest-reader.d.ts +0 -2
- package/dist/engine/stack-auditor/manifest-reader.js +0 -1
- package/dist/engine/supply-chain/index.d.ts +0 -5
- package/dist/engine/supply-chain/index.js +0 -4
- package/dist/engine/team-planner/index.d.ts +0 -2
- package/dist/engine/team-planner/index.js +0 -2
- package/dist/engine/test-selection/policy.d.ts +0 -1
- package/dist/engine/test-selection/policy.js +1 -1
- package/dist/engine/test-spec-generator/index.d.ts +0 -3
- package/dist/engine/test-spec-generator/index.js +0 -3
- package/dist/engine/test-spec-generator/labels.d.ts +0 -1
- package/dist/engine/test-spec-generator/labels.js +1 -1
- package/dist/engine/timing/budget.d.ts +2 -2
- package/dist/engine/timing/structured-log.d.ts +0 -8
- package/dist/engine/timing/structured-log.js +1 -14
- package/dist/engine/token-optimizer/autopilot.d.ts +0 -2
- package/dist/engine/token-optimizer/autopilot.js +1 -27
- package/dist/engine/token-optimizer/index.d.ts +1 -13
- package/dist/engine/token-optimizer/index.js +1 -12
- package/dist/engine/universal-rules/user-edit-detector.d.ts +0 -1
- package/dist/engine/universal-rules/user-edit-detector.js +0 -18
- package/dist/engine/usage-tracker/index.d.ts +1 -2
- package/dist/engine/usage-tracker/index.js +1 -2
- package/dist/engine/validation/durable-validation.d.ts +1 -1
- package/dist/engine/validation/durable-validation.js +1 -1
- package/dist/engine/validation/validation-submission.d.ts +0 -2
- package/dist/engine/validation/validation-submission.js +1 -1
- package/dist/engine/validation-evidence-ledger.d.ts +0 -1
- package/dist/engine/validation-evidence-ledger.js +1 -1
- package/dist/engine/validator/analyzer.d.ts +0 -1
- package/dist/engine/validator/analyzer.js +0 -3
- package/dist/engine/validator/checklist.d.ts +1 -5
- package/dist/engine/validator/checklist.js +1 -1
- package/dist/engine/validator/deep-code-checker.d.ts +0 -2
- package/dist/engine/validator/deep-code-checker.js +1 -1
- package/dist/engine/validator/extractors.d.ts +0 -1
- package/dist/engine/validator/extractors.js +0 -1
- package/dist/engine/validator/gates/index.d.ts +0 -1
- package/dist/engine/validator/gates/index.js +1 -0
- package/dist/engine/validator/holistic-report.d.ts +1 -3
- package/dist/engine/validator/holistic-report.js +2 -0
- package/dist/engine/validator/negative-predicate.d.ts +0 -1
- package/dist/engine/validator/negative-predicate.js +1 -1
- package/dist/engine/validator/reliability-gate.d.ts +2 -2
- package/dist/engine/validator/scope-resolver.d.ts +3 -2
- package/dist/engine/validator/spec-compliance-runner.d.ts +0 -5
- package/dist/engine/validator/spec-compliance-runner.js +1 -1
- package/dist/engine/validator.d.ts +0 -4
- package/dist/engine/validator.js +1 -2
- package/dist/engine/verifier/criterion-matcher.d.ts +0 -17
- package/dist/engine/verifier/criterion-matcher.js +2 -9
- package/dist/engine/web-fetcher/registry-loader.d.ts +0 -1
- package/dist/engine/web-fetcher/registry-loader.js +0 -3
- package/dist/engine/workers/index.d.ts +1 -11
- package/dist/engine/workers/index.js +1 -10
- package/dist/engine/workers/schema.d.ts +0 -28
- package/dist/engine/workers/schema.js +2 -2
- package/dist/errors/error-taxonomy.d.ts +0 -1
- package/dist/errors/error-taxonomy.js +0 -3
- package/dist/hosts/claude-code/coach.d.ts +0 -2
- package/dist/hosts/claude-code/coach.js +0 -18
- package/dist/hosts/claude-code/ux/skills-writer.d.ts +1 -2
- package/dist/hosts/claude-code/ux/skills-writer.js +1 -0
- package/dist/hosts/claude-code/ux/subagent-publisher.d.ts +0 -4
- package/dist/hosts/claude-code/ux/subagent-publisher.js +1 -1
- package/dist/hosts/gemini/index.d.ts +1 -3
- package/dist/hosts/gemini/index.js +1 -3
- package/dist/server/router.d.ts +2 -2
- package/dist/storage/approval-operation-lock.d.ts +0 -3
- package/dist/storage/approval-operation-lock.js +1 -1
- package/dist/storage/compliance-gate-config-store.d.ts +0 -1
- package/dist/storage/compliance-gate-config-store.js +2 -7
- package/dist/storage/force-analytics-store.d.ts +0 -2
- package/dist/storage/force-analytics-store.js +2 -2
- package/dist/storage/global-projects-store.d.ts +2 -1
- package/dist/storage/project-identity.d.ts +5 -4
- package/dist/storage/retention.d.ts +0 -1
- package/dist/storage/retention.js +1 -1
- package/dist/storage/runtime-db.d.ts +8 -8
- package/dist/storage/runtime-db.js +1 -1
- package/dist/storage/skill-bootstrap-store.d.ts +1 -3
- package/dist/storage/skill-bootstrap-store.js +1 -14
- package/dist/storage/spec-index.d.ts +0 -1
- package/dist/storage/spec-index.js +1 -4
- package/dist/storage/spec-store.d.ts +2 -1
- package/dist/storage/status-store/file-lock.d.ts +0 -2
- package/dist/storage/status-store/file-lock.js +2 -2
- package/dist/storage/storage-bundle.d.ts +3 -2
- package/dist/storage/storage-catalog.d.ts +1 -1
- package/dist/storage/storage-layout.d.ts +4 -3
- package/dist/tools/challenge-spec/challenge-report.d.ts +0 -1
- package/dist/tools/challenge-spec/challenge-report.js +1 -1
- package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.d.ts +0 -5
- package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.js +5 -5
- package/dist/tools/challenge-spec/resilience-challenge-scenarios.d.ts +1 -2
- package/dist/tools/challenge-spec/resilience-challenge-scenarios.js +1 -2
- package/dist/tools/challenge-spec/scenarios-utils.d.ts +1 -1
- package/dist/tools/challenge-spec/scenarios-utils.js +1 -1
- package/dist/tools/challenge-spec-helpers.d.ts +2 -1
- package/dist/tools/configure-permissions.d.ts +2 -1
- package/dist/tools/create-spec/adapters/velocity-estimation.d.ts +2 -1
- package/dist/tools/create-spec-tech.d.ts +1 -1
- package/dist/tools/create-spec-tech.js +1 -1
- package/dist/tools/domain-criteria-handler.d.ts +4 -4
- package/dist/tools/domain-criteria-handler.js +3 -0
- package/dist/tools/generate-teammate-prompt.d.ts +0 -4
- package/dist/tools/generate-teammate-prompt.js +0 -26
- package/dist/tools/git/auto-complete-ops.d.ts +2 -1
- package/dist/tools/git/branch-ops.d.ts +0 -1
- package/dist/tools/git/branch-ops.js +1 -48
- package/dist/tools/git/git-helpers.d.ts +2 -4
- package/dist/tools/git/git-helpers.js +1 -12
- package/dist/tools/init-constitution/principle-detector.d.ts +0 -1
- package/dist/tools/init-constitution/principle-detector.js +1 -1
- package/dist/tools/init-project/agents-md-writer.d.ts +2 -1
- package/dist/tools/init-project/config-builder.d.ts +2 -1
- package/dist/tools/init-project/helpers.d.ts +0 -1
- package/dist/tools/init-project/helpers.js +1 -1
- package/dist/tools/init-project/host-assets-writer.d.ts +3 -9
- package/dist/tools/init-project/host-assets-writer.js +2 -2
- package/dist/tools/init-project/legacy-root-migration.d.ts +2 -1
- package/dist/tools/init-project/lifecycle-helpers.d.ts +2 -6
- package/dist/tools/init-project/lifecycle-helpers.js +1 -1
- package/dist/tools/init-project/migration-runner.d.ts +2 -2
- package/dist/tools/init-project/per-client-files-writer.d.ts +2 -1
- package/dist/tools/init-project/portable-index-reconciler.d.ts +1 -5
- package/dist/tools/init-project/portable-index-reconciler.js +2 -2
- package/dist/tools/init-project/rules-writer.d.ts +2 -1
- package/dist/tools/init-project/scaffold-verifier.d.ts +0 -1
- package/dist/tools/init-project/scaffold-verifier.js +1 -1
- package/dist/tools/init-project/scaffold-writer.d.ts +2 -1
- package/dist/tools/init-project/stack-detector.d.ts +2 -1
- package/dist/tools/jobs/handlers.d.ts +2 -1
- package/dist/tools/output-compressor.d.ts +2 -1
- package/dist/tools/output-integrity-guard.d.ts +0 -8
- package/dist/tools/output-integrity-guard.js +1 -1
- package/dist/tools/package-handoff.d.ts +0 -1
- package/dist/tools/package-handoff.js +0 -1
- package/dist/tools/reconcile-interactive-question-hooks.d.ts +2 -1
- package/dist/tools/reconcile-session-safeguard-hook.d.ts +1 -1
- package/dist/tools/resolve-project-id.d.ts +2 -1
- package/dist/tools/response-helpers.d.ts +0 -23
- package/dist/tools/response-helpers.js +0 -37
- package/dist/tools/schemas/index.d.ts +3 -19
- package/dist/tools/schemas/index.js +3 -19
- package/dist/tools/schemas/infra.d.ts +0 -8
- package/dist/tools/schemas/infra.js +0 -3
- package/dist/tools/schemas/output-schemas.d.ts +1 -92
- package/dist/tools/schemas/output-schemas.js +0 -2
- package/dist/tools/schemas/spec-id.d.ts +1 -1
- package/dist/tools/schemas/spec-id.js +1 -1
- package/dist/tools/storage-paths-handler.d.ts +2 -1
- package/dist/tools/suggest-tooling/skills-fetcher.d.ts +1 -1
- package/dist/tools/suggest-tooling/skills-fetcher.js +1 -1
- package/dist/tools/tool-entry.d.ts +2 -1
- package/dist/tools/update-status/dod-gates.d.ts +2 -2
- package/dist/tools/update-status/done-receipt-verifier.d.ts +1 -1
- package/dist/tools/update-status/gate-harness.d.ts +2 -1
- package/dist/tools/update-status/transition-guard.d.ts +1 -2
- package/dist/tools/validate.d.ts +1 -4
- package/dist/tools/validate.js +0 -2
- package/dist/types/actionable-spec-metrics.d.ts +2 -1
- package/dist/types/actuals-tracking.d.ts +0 -44
- package/dist/types/actuals-tracking.js +5 -0
- package/dist/types/actuals.d.ts +0 -5
- package/dist/types/actuals.js +1 -0
- package/dist/types/advanced-framework.d.ts +0 -31
- package/dist/types/advanced-framework.js +1 -0
- package/dist/types/agent-orchestration.d.ts +0 -60
- package/dist/types/agent-team.d.ts +2 -19
- package/dist/types/ai-assurance.d.ts +2 -1
- package/dist/types/ai-native.d.ts +5 -4
- package/dist/types/ai-tool-rules.d.ts +3 -2
- package/dist/types/analysis-detection.d.ts +0 -54
- package/dist/types/analysis-detection.js +1 -0
- package/dist/types/analysis-frontend.d.ts +0 -17
- package/dist/types/analysis-frontend.js +3 -0
- package/dist/types/analysis.d.ts +8 -250
- package/dist/types/analysis.js +1 -0
- package/dist/types/analytics.d.ts +0 -146
- package/dist/types/approval.d.ts +0 -1
- package/dist/types/architecture.d.ts +3 -49
- package/dist/types/audit-trail.d.ts +0 -5
- package/dist/types/audit.d.ts +0 -26
- package/dist/types/audit.js +1 -0
- package/dist/types/auto-checkpoint.d.ts +0 -5
- package/dist/types/auto-checkpoint.js +1 -0
- package/dist/types/auto-update.d.ts +0 -28
- package/dist/types/autopilot-summary.d.ts +0 -3
- package/dist/types/autopilot.d.ts +3 -19
- package/dist/types/build-freshness.d.ts +2 -1
- package/dist/types/cascade-hooks.d.ts +2 -1
- package/dist/types/clarification.d.ts +0 -10
- package/dist/types/common/index.d.ts +0 -1
- package/dist/types/common/index.js +0 -1
- package/dist/types/common/learning.d.ts +1 -37
- package/dist/types/common/tech-enums.d.ts +0 -11
- package/dist/types/context-manager.d.ts +2 -1
- package/dist/types/context.d.ts +3 -17
- package/dist/types/conventions.d.ts +4 -88
- package/dist/types/core-bridge.d.ts +2 -8
- package/dist/types/cost-guardrails.d.ts +0 -17
- package/dist/types/cost-ledger.d.ts +0 -5
- package/dist/types/crash-shield-framework-rules.d.ts +4 -3
- package/dist/types/cross-repo-search.d.ts +0 -54
- package/dist/types/cross-repo-search.js +7 -0
- package/dist/types/dashboard.d.ts +0 -11
- package/dist/types/data-gc.d.ts +2 -1
- package/dist/types/decisions.d.ts +3 -42
- package/dist/types/decisions.js +1 -0
- package/dist/types/docs.d.ts +2 -385
- package/dist/types/docs.js +1 -0
- package/dist/types/domain-criteria.d.ts +2 -1
- package/dist/types/drift-monitor-types.d.ts +0 -65
- package/dist/types/durable-job.d.ts +2 -1
- package/dist/types/durable-validation.d.ts +2 -2
- package/dist/types/edge-db.d.ts +3 -37
- package/dist/types/edge-db.js +6 -0
- package/dist/types/elicitation.d.ts +2 -121
- package/dist/types/elicitation.js +10 -0
- package/dist/types/env.d.ts +6 -88
- package/dist/types/env.js +1 -0
- package/dist/types/errors/structured-error.d.ts +0 -2
- package/dist/types/escalator.d.ts +3 -2
- package/dist/types/estimation.d.ts +2 -81
- package/dist/types/estimation.js +2 -0
- package/dist/types/events.d.ts +2 -187
- package/dist/types/evidence-autofill.d.ts +0 -2
- package/dist/types/evidence-autofill.js +1 -0
- package/dist/types/evidence-gates.d.ts +2 -1
- package/dist/types/evidence-index.d.ts +3 -2
- package/dist/types/execution.d.ts +4 -43
- package/dist/types/facilitator.d.ts +2 -1
- package/dist/types/file-hooks.d.ts +7 -168
- package/dist/types/file-hooks.js +17 -0
- package/dist/types/git.d.ts +9 -204
- package/dist/types/github.d.ts +2 -89
- package/dist/types/github.js +12 -0
- package/dist/types/handoff-artifacts.d.ts +11 -10
- package/dist/types/health.d.ts +0 -11
- package/dist/types/hooks.d.ts +11 -79
- package/dist/types/hooks.js +17 -0
- package/dist/types/housekeeping.d.ts +3 -2
- package/dist/types/ide.d.ts +0 -56
- package/dist/types/ide.js +10 -0
- package/dist/types/index.d.ts +2 -128
- package/dist/types/index.js +0 -125
- package/dist/types/infrastructure.d.ts +4 -70
- package/dist/types/installation.d.ts +2 -1
- package/dist/types/keyword-matcher.d.ts +0 -8
- package/dist/types/legacy-guidance.d.ts +2 -1
- package/dist/types/legal.d.ts +2 -20
- package/dist/types/legal.js +2 -0
- package/dist/types/lessons.d.ts +3 -30
- package/dist/types/lifecycle.d.ts +0 -111
- package/dist/types/lifecycle.js +12 -0
- package/dist/types/living-spec/annotations.d.ts +3 -85
- package/dist/types/living-spec/annotations.js +6 -0
- package/dist/types/living-spec/dashboard-and-sync.d.ts +5 -159
- package/dist/types/living-spec/dashboard-and-sync.js +1 -0
- package/dist/types/living-spec.d.ts +0 -1
- package/dist/types/living-spec.js +0 -1
- package/dist/types/llm-security.d.ts +0 -39
- package/dist/types/local-first.d.ts +0 -41
- package/dist/types/local-first.js +7 -0
- package/dist/types/mcp-config.d.ts +3 -2
- package/dist/types/mcp.d.ts +0 -159
- package/dist/types/mcp.js +1 -0
- package/dist/types/migration/canonical-storage.d.ts +3 -2
- package/dist/types/minimal-implementation-gate.d.ts +6 -5
- package/dist/types/model-routing.d.ts +2 -48
- package/dist/types/model-routing.js +2 -0
- package/dist/types/multi-agent.d.ts +0 -158
- package/dist/types/multi-agent.js +15 -0
- package/dist/types/oauth.d.ts +0 -42
- package/dist/types/oauth.js +1 -0
- package/dist/types/observability.d.ts +0 -92
- package/dist/types/observability.js +14 -0
- package/dist/types/opencode.d.ts +0 -23
- package/dist/types/orchestration/index.d.ts +1 -4
- package/dist/types/orchestration/nli.d.ts +3 -74
- package/dist/types/outbox-worker.d.ts +2 -1
- package/dist/types/paradigm.d.ts +5 -17
- package/dist/types/paradigm.js +3 -0
- package/dist/types/parallel-safety-types.d.ts +0 -17
- package/dist/types/parallel-safety-types.js +4 -0
- package/dist/types/permissions-config.d.ts +2 -1
- package/dist/types/plugin-configs.d.ts +2 -59
- package/dist/types/plugin-configs.js +6 -0
- package/dist/types/plugin-install.d.ts +0 -1
- package/dist/types/plugins.d.ts +5 -22
- package/dist/types/portal.d.ts +2 -60
- package/dist/types/portal.js +1 -0
- package/dist/types/privacy.d.ts +3 -33
- package/dist/types/privacy.js +6 -0
- package/dist/types/product-public.d.ts +5 -4
- package/dist/types/project/inputs.d.ts +0 -29
- package/dist/types/project/inputs.js +3 -0
- package/dist/types/project/library-groups.d.ts +0 -6
- package/dist/types/project/mfe-detection.d.ts +5 -4
- package/dist/types/project/planu-config.d.ts +2 -1
- package/dist/types/project/platform-mobile.d.ts +0 -1
- package/dist/types/project/platform-specialty.d.ts +3 -12
- package/dist/types/project-knowledge-graph.d.ts +7 -6
- package/dist/types/proposal.d.ts +0 -65
- package/dist/types/proposal.js +1 -0
- package/dist/types/rbac.d.ts +0 -33
- package/dist/types/rbac.js +6 -0
- package/dist/types/readiness.d.ts +0 -2
- package/dist/types/readiness.js +4 -0
- package/dist/types/reconcile.d.ts +0 -11
- package/dist/types/registry.d.ts +3 -64
- package/dist/types/registry.js +8 -0
- package/dist/types/release-pipeline.d.ts +0 -5
- package/dist/types/reviewer-tokens.d.ts +0 -7
- package/dist/types/safety-scanner.d.ts +2 -18
- package/dist/types/safety.d.ts +0 -50
- package/dist/types/scan-project.d.ts +0 -95
- package/dist/types/schema-parity.d.ts +0 -66
- package/dist/types/schema-parity.js +7 -0
- package/dist/types/scope-boundaries.d.ts +2 -1
- package/dist/types/scope.d.ts +2 -67
- package/dist/types/sdd-flow.d.ts +7 -84
- package/dist/types/security.d.ts +3 -67
- package/dist/types/self-healing.d.ts +3 -2
- package/dist/types/session-checkpoint.d.ts +0 -26
- package/dist/types/skill-adapter.d.ts +0 -6
- package/dist/types/skill-adapter.js +1 -0
- package/dist/types/skill-bootstrap.d.ts +3 -38
- package/dist/types/skill-generation.d.ts +0 -94
- package/dist/types/skill-generation.js +3 -0
- package/dist/types/skill-registry.d.ts +4 -11
- package/dist/types/slack.d.ts +2 -17
- package/dist/types/slack.js +3 -0
- package/dist/types/spec/canonical-repair.d.ts +2 -1
- package/dist/types/spec/clarification.d.ts +2 -23
- package/dist/types/spec/core.d.ts +10 -18
- package/dist/types/spec/health-score.d.ts +2 -1
- package/dist/types/spec/index.d.ts +0 -2
- package/dist/types/spec/index.js +0 -2
- package/dist/types/spec/inputs.d.ts +1 -56
- package/dist/types/spec/inputs.js +1 -0
- package/dist/types/spec/versioning.d.ts +2 -1
- package/dist/types/spec-format.d.ts +2 -9
- package/dist/types/spec-generator.d.ts +0 -5
- package/dist/types/spec-language-translation.d.ts +2 -1
- package/dist/types/spec-lint.d.ts +2 -1
- package/dist/types/spec-lock.d.ts +0 -28
- package/dist/types/spec-lock.js +5 -0
- package/dist/types/spec-observability.d.ts +0 -54
- package/dist/types/spec-observability.js +8 -0
- package/dist/types/spec-quality.d.ts +0 -26
- package/dist/types/spec-quality.js +3 -0
- package/dist/types/stack/audit.d.ts +2 -86
- package/dist/types/stack/build-tool.d.ts +4 -15
- package/dist/types/stack/build-tool.js +2 -0
- package/dist/types/stack/index.d.ts +3 -5
- package/dist/types/stack/recommend.d.ts +6 -132
- package/dist/types/status.d.ts +2 -1
- package/dist/types/storage-catalog.d.ts +5 -4
- package/dist/types/supply-chain.d.ts +3 -17
- package/dist/types/tdd-enforcement.d.ts +0 -6
- package/dist/types/team-planner.d.ts +3 -70
- package/dist/types/team-planner.js +2 -0
- package/dist/types/technology-registry.d.ts +4 -3
- package/dist/types/technology-selection.d.ts +4 -3
- package/dist/types/telemetry.d.ts +2 -27
- package/dist/types/testing.d.ts +0 -108
- package/dist/types/timing.d.ts +3 -2
- package/dist/types/token-ledger.d.ts +0 -70
- package/dist/types/token-ledger.js +8 -0
- package/dist/types/token-optimization.d.ts +0 -6
- package/dist/types/token-waste-autopilot.d.ts +4 -3
- package/dist/types/tooling/audit.d.ts +2 -67
- package/dist/types/tooling/audit.js +3 -0
- package/dist/types/tooling/database.d.ts +0 -62
- package/dist/types/tooling/database.js +1 -0
- package/dist/types/tooling/index.d.ts +2 -7
- package/dist/types/transition-log.d.ts +2 -1
- package/dist/types/transport.d.ts +2 -1
- package/dist/types/ui.d.ts +0 -49
- package/dist/types/ui.js +1 -1
- package/dist/types/universal-rules/index.d.ts +0 -27
- package/dist/types/universal-rules/index.js +1 -0
- package/dist/types/usage.d.ts +0 -20
- package/dist/types/usage.js +3 -0
- package/dist/types/validation-evidence.d.ts +6 -5
- package/dist/types/validation-loop.d.ts +2 -1
- package/dist/types/validation-receipt.d.ts +3 -15
- package/dist/types/vector-store.d.ts +2 -62
- package/dist/types/vector-store.js +7 -0
- package/dist/types/velocity.d.ts +0 -12
- package/dist/types/verifiable-criteria.d.ts +2 -21
- package/dist/types/verifiable-criteria.js +7 -0
- package/dist/types/workers.d.ts +5 -44
- package/dist/types/workflow.d.ts +0 -68
- package/dist/types/workflow.js +3 -0
- package/dist/types/workspace-dashboard-types.d.ts +0 -6
- package/dist/types/workspace-overview.d.ts +0 -93
- package/dist/types/workspace-overview.js +9 -0
- package/package.json +2 -2
- package/planu-plugin.json +1 -1
- package/dist/engine/coach/types.d.ts +0 -2
- package/dist/engine/coach/types.js +0 -2
- package/dist/engine/frontmatter-sha/reseal.d.ts +0 -25
- package/dist/engine/frontmatter-sha/reseal.js +0 -29
- package/dist/engine/handoff-artifacts/index.d.ts +0 -6
- package/dist/engine/handoff-artifacts/index.js +0 -4
- package/dist/tools/schemas/delete.d.ts +0 -19
- package/dist/tools/schemas/delete.js +0 -12
- package/dist/tools/schemas/ecosystem-schemas.d.ts +0 -6
- package/dist/tools/schemas/ecosystem-schemas.js +0 -10
- package/dist/tools/schemas/github.d.ts +0 -56
- package/dist/tools/schemas/github.js +0 -78
- package/dist/tools/schemas/ide-config.d.ts +0 -38
- package/dist/tools/schemas/ide-config.js +0 -28
- package/dist/tools/schemas/llm-provider-schemas.d.ts +0 -26
- package/dist/tools/schemas/llm-provider-schemas.js +0 -16
- package/dist/tools/schemas/plugins-schemas.d.ts +0 -46
- package/dist/tools/schemas/plugins-schemas.js +0 -52
- package/dist/tools/schemas/project-graph.d.ts +0 -18
- package/dist/tools/schemas/project-graph.js +0 -8
- package/dist/tools/schemas/reconcile-skills-schemas.d.ts +0 -8
- package/dist/tools/schemas/reconcile-skills-schemas.js +0 -23
- package/dist/tools/schemas/registry.d.ts +0 -41
- package/dist/tools/schemas/registry.js +0 -79
- package/dist/tools/schemas/runtime-security.d.ts +0 -12
- package/dist/tools/schemas/runtime-security.js +0 -9
- package/dist/tools/schemas/session.d.ts +0 -34
- package/dist/tools/schemas/session.js +0 -52
- package/dist/tools/schemas/skill-registry-schemas.d.ts +0 -15
- package/dist/tools/schemas/skill-registry-schemas.js +0 -45
- package/dist/tools/schemas/spec-registry-schemas.d.ts +0 -39
- package/dist/tools/schemas/spec-registry-schemas.js +0 -75
- package/dist/tools/schemas/token-intelligence.d.ts +0 -23
- package/dist/tools/schemas/token-intelligence.js +0 -20
- package/dist/tools/schemas/token-optimization.d.ts +0 -12
- package/dist/tools/schemas/token-optimization.js +0 -9
- package/dist/tools/schemas/workers-schema.d.ts +0 -21
- package/dist/tools/schemas/workers-schema.js +0 -42
- package/dist/types/ac-gap.d.ts +0 -57
- package/dist/types/ac-gap.js +0 -3
- package/dist/types/agent-frameworks.d.ts +0 -62
- package/dist/types/agent-frameworks.js +0 -3
- package/dist/types/agent-memory.d.ts +0 -20
- package/dist/types/agent-memory.js +0 -3
- package/dist/types/agent-ready.d.ts +0 -58
- package/dist/types/agent-ready.js +0 -3
- package/dist/types/agent-role-mapper.d.ts +0 -32
- package/dist/types/agent-role-mapper.js +0 -2
- package/dist/types/agent-roles.d.ts +0 -21
- package/dist/types/agent-roles.js +0 -2
- package/dist/types/agent-spawner.d.ts +0 -30
- package/dist/types/agent-spawner.js +0 -3
- package/dist/types/agent-squad.d.ts +0 -57
- package/dist/types/agent-squad.js +0 -3
- package/dist/types/agent-telemetry.d.ts +0 -27
- package/dist/types/agent-telemetry.js +0 -3
- package/dist/types/agents-md.d.ts +0 -20
- package/dist/types/agents-md.js +0 -3
- package/dist/types/ai-cost.d.ts +0 -98
- package/dist/types/ai-cost.js +0 -4
- package/dist/types/ai-integration.d.ts +0 -65
- package/dist/types/ai-integration.js +0 -3
- package/dist/types/api-contract.d.ts +0 -219
- package/dist/types/api-contract.js +0 -3
- package/dist/types/architecture-lint.d.ts +0 -71
- package/dist/types/architecture-lint.js +0 -3
- package/dist/types/auth.d.ts +0 -82
- package/dist/types/auth.js +0 -3
- package/dist/types/auto-promoter.d.ts +0 -26
- package/dist/types/auto-promoter.js +0 -3
- package/dist/types/autopilot-config.d.ts +0 -22
- package/dist/types/autopilot-config.js +0 -14
- package/dist/types/batch-script.d.ts +0 -36
- package/dist/types/batch-script.js +0 -3
- package/dist/types/browser-validator.d.ts +0 -42
- package/dist/types/browser-validator.js +0 -3
- package/dist/types/ci.d.ts +0 -164
- package/dist/types/ci.js +0 -3
- package/dist/types/cline-integration.d.ts +0 -30
- package/dist/types/cline-integration.js +0 -3
- package/dist/types/coach.d.ts +0 -13
- package/dist/types/coach.js +0 -3
- package/dist/types/code-graph-integration.d.ts +0 -22
- package/dist/types/code-graph-integration.js +0 -3
- package/dist/types/code-impact.d.ts +0 -57
- package/dist/types/code-impact.js +0 -3
- package/dist/types/code-transforms.d.ts +0 -114
- package/dist/types/code-transforms.js +0 -11
- package/dist/types/codex-integration.d.ts +0 -55
- package/dist/types/codex-integration.js +0 -3
- package/dist/types/comments.d.ts +0 -68
- package/dist/types/comments.js +0 -3
- package/dist/types/common/context.d.ts +0 -29
- package/dist/types/common/context.js +0 -3
- package/dist/types/compliance-audit.d.ts +0 -55
- package/dist/types/compliance-audit.js +0 -3
- package/dist/types/compliance-tests.d.ts +0 -41
- package/dist/types/compliance-tests.js +0 -3
- package/dist/types/compliance.d.ts +0 -44
- package/dist/types/compliance.js +0 -3
- package/dist/types/concurrency.d.ts +0 -198
- package/dist/types/concurrency.js +0 -3
- package/dist/types/context-budget.d.ts +0 -90
- package/dist/types/context-budget.js +0 -3
- package/dist/types/context-profile.d.ts +0 -22
- package/dist/types/context-profile.js +0 -2
- package/dist/types/coverage.d.ts +0 -95
- package/dist/types/coverage.js +0 -4
- package/dist/types/css-framework.d.ts +0 -110
- package/dist/types/css-framework.js +0 -3
- package/dist/types/delete-first.d.ts +0 -118
- package/dist/types/delete-first.js +0 -3
- package/dist/types/delete.d.ts +0 -68
- package/dist/types/delete.js +0 -3
- package/dist/types/dependency-impact.d.ts +0 -45
- package/dist/types/dependency-impact.js +0 -3
- package/dist/types/deploy.d.ts +0 -73
- package/dist/types/deploy.js +0 -3
- package/dist/types/design-to-spec.d.ts +0 -100
- package/dist/types/design-to-spec.js +0 -3
- package/dist/types/diagram.d.ts +0 -73
- package/dist/types/diagram.js +0 -2
- package/dist/types/diff-spec-types.d.ts +0 -39
- package/dist/types/diff-spec-types.js +0 -3
- package/dist/types/discovery.d.ts +0 -22
- package/dist/types/discovery.js +0 -3
- package/dist/types/dogfooding.d.ts +0 -34
- package/dist/types/dogfooding.js +0 -2
- package/dist/types/drift-watcher.d.ts +0 -35
- package/dist/types/drift-watcher.js +0 -3
- package/dist/types/dynamic-knowledge.d.ts +0 -47
- package/dist/types/dynamic-knowledge.js +0 -11
- package/dist/types/dynamic-migration.d.ts +0 -68
- package/dist/types/dynamic-migration.js +0 -3
- package/dist/types/e2e-test-generator.d.ts +0 -27
- package/dist/types/e2e-test-generator.js +0 -3
- package/dist/types/ecosystem.d.ts +0 -45
- package/dist/types/ecosystem.js +0 -3
- package/dist/types/elicit-schema.d.ts +0 -20
- package/dist/types/elicit-schema.js +0 -3
- package/dist/types/export.d.ts +0 -28
- package/dist/types/export.js +0 -3
- package/dist/types/feedback.d.ts +0 -113
- package/dist/types/feedback.js +0 -3
- package/dist/types/figma.d.ts +0 -257
- package/dist/types/figma.js +0 -3
- package/dist/types/filesystem-hooks.d.ts +0 -30
- package/dist/types/filesystem-hooks.js +0 -3
- package/dist/types/gherkin.d.ts +0 -19
- package/dist/types/gherkin.js +0 -3
- package/dist/types/github-copilot-integration.d.ts +0 -30
- package/dist/types/github-copilot-integration.js +0 -3
- package/dist/types/global-rules-types.d.ts +0 -31
- package/dist/types/global-rules-types.js +0 -3
- package/dist/types/hook-generator.d.ts +0 -49
- package/dist/types/hook-generator.js +0 -3
- package/dist/types/ideas.d.ts +0 -37
- package/dist/types/ideas.js +0 -3
- package/dist/types/impact-detection.d.ts +0 -28
- package/dist/types/impact-detection.js +0 -3
- package/dist/types/import-spec.d.ts +0 -123
- package/dist/types/import-spec.js +0 -3
- package/dist/types/incoming-webhook.d.ts +0 -40
- package/dist/types/incoming-webhook.js +0 -3
- package/dist/types/living-spec/auto-update-and-merge.d.ts +0 -101
- package/dist/types/living-spec/auto-update-and-merge.js +0 -3
- package/dist/types/living-specs.d.ts +0 -35
- package/dist/types/living-specs.js +0 -3
- package/dist/types/llm-providers.d.ts +0 -140
- package/dist/types/llm-providers.js +0 -3
- package/dist/types/marketplace-fetcher.d.ts +0 -42
- package/dist/types/marketplace-fetcher.js +0 -3
- package/dist/types/mcp-recommendation.d.ts +0 -47
- package/dist/types/mcp-recommendation.js +0 -3
- package/dist/types/migration/analysis.d.ts +0 -79
- package/dist/types/migration/analysis.js +0 -3
- package/dist/types/migration/database.d.ts +0 -70
- package/dist/types/migration/database.js +0 -3
- package/dist/types/migration/index.d.ts +0 -6
- package/dist/types/migration/index.js +0 -3
- package/dist/types/migration/io.d.ts +0 -29
- package/dist/types/migration/io.js +0 -3
- package/dist/types/migration/planning.d.ts +0 -104
- package/dist/types/migration/planning.js +0 -3
- package/dist/types/migration-advanced.d.ts +0 -235
- package/dist/types/migration-advanced.js +0 -4
- package/dist/types/multi-agent-review.d.ts +0 -54
- package/dist/types/multi-agent-review.js +0 -3
- package/dist/types/observatory.d.ts +0 -26
- package/dist/types/observatory.js +0 -2
- package/dist/types/onboarding-types.d.ts +0 -69
- package/dist/types/onboarding-types.js +0 -3
- package/dist/types/orchestration/mcp-hub.d.ts +0 -29
- package/dist/types/orchestration/mcp-hub.js +0 -3
- package/dist/types/orchestration/pm.d.ts +0 -71
- package/dist/types/orchestration/pm.js +0 -3
- package/dist/types/orchestration/session.d.ts +0 -152
- package/dist/types/orchestration/session.js +0 -2
- package/dist/types/orchestration-runtime.d.ts +0 -198
- package/dist/types/orchestration-runtime.js +0 -4
- package/dist/types/orphan-spec-refs.d.ts +0 -37
- package/dist/types/orphan-spec-refs.js +0 -3
- package/dist/types/outbound-webhook.d.ts +0 -55
- package/dist/types/outbound-webhook.js +0 -3
- package/dist/types/performance-analysis.d.ts +0 -33
- package/dist/types/performance-analysis.js +0 -3
- package/dist/types/plan-mode.d.ts +0 -27
- package/dist/types/plan-mode.js +0 -3
- package/dist/types/platform-engineering.d.ts +0 -21
- package/dist/types/platform-engineering.js +0 -3
- package/dist/types/plugin-manifest.d.ts +0 -58
- package/dist/types/plugin-manifest.js +0 -4
- package/dist/types/project-dna.d.ts +0 -46
- package/dist/types/project-dna.js +0 -4
- package/dist/types/project-drift.d.ts +0 -29
- package/dist/types/project-drift.js +0 -3
- package/dist/types/property-testing.d.ts +0 -50
- package/dist/types/property-testing.js +0 -3
- package/dist/types/provider-adapter.d.ts +0 -61
- package/dist/types/provider-adapter.js +0 -9
- package/dist/types/red-team.d.ts +0 -29
- package/dist/types/red-team.js +0 -3
- package/dist/types/registry-publishers.d.ts +0 -63
- package/dist/types/registry-publishers.js +0 -4
- package/dist/types/release/stuck-spec.d.ts +0 -10
- package/dist/types/release/stuck-spec.js +0 -3
- package/dist/types/resources.d.ts +0 -20
- package/dist/types/resources.js +0 -3
- package/dist/types/reverse-engineer.d.ts +0 -90
- package/dist/types/reverse-engineer.js +0 -3
- package/dist/types/risk.d.ts +0 -90
- package/dist/types/risk.js +0 -2
- package/dist/types/runtime-security.d.ts +0 -110
- package/dist/types/runtime-security.js +0 -4
- package/dist/types/schema-generator.d.ts +0 -61
- package/dist/types/schema-generator.js +0 -3
- package/dist/types/schema.d.ts +0 -125
- package/dist/types/schema.js +0 -2
- package/dist/types/security/cve-refresh-log.d.ts +0 -11
- package/dist/types/security/cve-refresh-log.js +0 -2
- package/dist/types/security/index.d.ts +0 -2
- package/dist/types/security/index.js +0 -2
- package/dist/types/sentry.d.ts +0 -50
- package/dist/types/sentry.js +0 -3
- package/dist/types/skill-eval.d.ts +0 -41
- package/dist/types/skill-eval.js +0 -3
- package/dist/types/solid-check.d.ts +0 -78
- package/dist/types/solid-check.js +0 -3
- package/dist/types/source-resolution.d.ts +0 -49
- package/dist/types/source-resolution.js +0 -10
- package/dist/types/spec/agent.d.ts +0 -111
- package/dist/types/spec/agent.js +0 -3
- package/dist/types/spec/repair.d.ts +0 -33
- package/dist/types/spec/repair.js +0 -3
- package/dist/types/spec-cookbook-types.d.ts +0 -45
- package/dist/types/spec-cookbook-types.js +0 -3
- package/dist/types/spec-decomposer.d.ts +0 -125
- package/dist/types/spec-decomposer.js +0 -4
- package/dist/types/spec-dependency-graph.d.ts +0 -21
- package/dist/types/spec-dependency-graph.js +0 -2
- package/dist/types/spec-diff-visual-types.d.ts +0 -75
- package/dist/types/spec-diff-visual-types.js +0 -3
- package/dist/types/spec-effectiveness.d.ts +0 -63
- package/dist/types/spec-effectiveness.js +0 -3
- package/dist/types/spec-elicitation.d.ts +0 -26
- package/dist/types/spec-elicitation.js +0 -3
- package/dist/types/spec-export.d.ts +0 -18
- package/dist/types/spec-export.js +0 -3
- package/dist/types/spec-from-issue.d.ts +0 -37
- package/dist/types/spec-from-issue.js +0 -3
- package/dist/types/spec-hooks.d.ts +0 -62
- package/dist/types/spec-hooks.js +0 -3
- package/dist/types/spec-marketplace.d.ts +0 -31
- package/dist/types/spec-marketplace.js +0 -3
- package/dist/types/spec-obesity-healer.d.ts +0 -32
- package/dist/types/spec-obesity-healer.js +0 -3
- package/dist/types/spec-registry.d.ts +0 -194
- package/dist/types/spec-registry.js +0 -3
- package/dist/types/spec-scheduler.d.ts +0 -58
- package/dist/types/spec-scheduler.js +0 -3
- package/dist/types/spec-source-types.d.ts +0 -37
- package/dist/types/spec-source-types.js +0 -3
- package/dist/types/spec-templates.d.ts +0 -135
- package/dist/types/spec-templates.js +0 -3
- package/dist/types/spec-versioning.d.ts +0 -152
- package/dist/types/spec-versioning.js +0 -3
- package/dist/types/stack/deprecation.d.ts +0 -38
- package/dist/types/stack/deprecation.js +0 -3
- package/dist/types/stack/react.d.ts +0 -11
- package/dist/types/stack/react.js +0 -3
- package/dist/types/steering.d.ts +0 -40
- package/dist/types/steering.js +0 -3
- package/dist/types/storage.d.ts +0 -16
- package/dist/types/storage.js +0 -3
- package/dist/types/storybook.d.ts +0 -27
- package/dist/types/storybook.js +0 -3
- package/dist/types/structural-memory.d.ts +0 -138
- package/dist/types/structural-memory.js +0 -2
- package/dist/types/supabase.d.ts +0 -108
- package/dist/types/supabase.js +0 -3
- package/dist/types/tdd-strict.d.ts +0 -54
- package/dist/types/tdd-strict.js +0 -3
- package/dist/types/team-analytics.d.ts +0 -52
- package/dist/types/team-analytics.js +0 -3
- package/dist/types/tech-debt.d.ts +0 -66
- package/dist/types/tech-debt.js +0 -3
- package/dist/types/test-reverse-engineer.d.ts +0 -32
- package/dist/types/test-reverse-engineer.js +0 -3
- package/dist/types/tool-tier.d.ts +0 -16
- package/dist/types/tool-tier.js +0 -3
- package/dist/types/tooling/assessment.d.ts +0 -87
- package/dist/types/tooling/assessment.js +0 -2
- package/dist/types/tooling/bundles.d.ts +0 -34
- package/dist/types/tooling/bundles.js +0 -3
- package/dist/types/tooling/catalog.d.ts +0 -134
- package/dist/types/tooling/catalog.js +0 -3
- package/dist/types/tooling/memory-config.d.ts +0 -25
- package/dist/types/tooling/memory-config.js +0 -3
- package/dist/types/tooling/token-optimizer.d.ts +0 -42
- package/dist/types/tooling/token-optimizer.js +0 -3
- package/dist/types/type-safety-gate.d.ts +0 -21
- package/dist/types/type-safety-gate.js +0 -3
- package/dist/types/verify-integrations.d.ts +0 -80
- package/dist/types/verify-integrations.js +0 -3
- package/dist/types/version-resolution.d.ts +0 -23
- package/dist/types/version-resolution.js +0 -3
- package/dist/types/well-known.d.ts +0 -70
- package/dist/types/well-known.js +0 -3
- package/dist/types/workflow-checkpoint.d.ts +0 -66
- package/dist/types/workflow-checkpoint.js +0 -4
|
@@ -1,113 +1,23 @@
|
|
|
1
1
|
import type { InteractiveQuestion } from './clarification.js';
|
|
2
2
|
import type { InteractiveOption } from './interactive-question.js';
|
|
3
3
|
/** Primitive field types supported by the MCP elicitation protocol. */
|
|
4
|
-
export type ElicitationFieldType = 'text' | 'number' | 'boolean' | 'enum' | 'multi-select';
|
|
5
4
|
/** Shared base for all elicitation field definitions. */
|
|
6
|
-
export interface ElicitationFieldBase {
|
|
7
|
-
/** Machine-readable key used as the response object property name. */
|
|
8
|
-
key: string;
|
|
9
|
-
/** Human-readable label shown in the UI. */
|
|
10
|
-
label: string;
|
|
11
|
-
/** Whether the field must be filled before submitting the form. */
|
|
12
|
-
required?: boolean;
|
|
13
|
-
/** Optional default value pre-populated in the field. */
|
|
14
|
-
defaultValue?: string | number | boolean | string[];
|
|
15
|
-
}
|
|
16
5
|
/** A free-text input field. */
|
|
17
|
-
export interface ElicitationTextField extends ElicitationFieldBase {
|
|
18
|
-
type: 'text';
|
|
19
|
-
/** Maximum allowed character length. */
|
|
20
|
-
maxLength?: number;
|
|
21
|
-
/** Placeholder hint shown inside the input. */
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
}
|
|
24
6
|
/** A numeric input field. */
|
|
25
|
-
export interface ElicitationNumberField extends ElicitationFieldBase {
|
|
26
|
-
type: 'number';
|
|
27
|
-
min?: number;
|
|
28
|
-
max?: number;
|
|
29
|
-
}
|
|
30
7
|
/** A boolean toggle / checkbox field. */
|
|
31
|
-
export interface ElicitationBooleanField extends ElicitationFieldBase {
|
|
32
|
-
type: 'boolean';
|
|
33
|
-
}
|
|
34
8
|
/** A single-select dropdown field constrained to a list of options. */
|
|
35
|
-
export interface ElicitationEnumField extends ElicitationFieldBase {
|
|
36
|
-
type: 'enum';
|
|
37
|
-
/** Ordered list of allowed values. */
|
|
38
|
-
options: string[];
|
|
39
|
-
}
|
|
40
9
|
/** A multi-select field allowing zero or more items from a list. */
|
|
41
|
-
export interface ElicitationMultiSelectField extends ElicitationFieldBase {
|
|
42
|
-
type: 'multi-select';
|
|
43
|
-
/** Ordered list of selectable items. */
|
|
44
|
-
options: string[];
|
|
45
|
-
}
|
|
46
10
|
/** Union of all supported field types. */
|
|
47
|
-
export type ElicitationField = ElicitationTextField | ElicitationNumberField | ElicitationBooleanField | ElicitationEnumField | ElicitationMultiSelectField;
|
|
48
11
|
/** A fully-built elicitation request ready to be sent to the MCP client. */
|
|
49
|
-
export interface ElicitationRequest {
|
|
50
|
-
/** Short title displayed as the form heading. */
|
|
51
|
-
title: string;
|
|
52
|
-
/** Optional longer description shown below the title. */
|
|
53
|
-
description?: string;
|
|
54
|
-
/** Ordered list of fields to render. */
|
|
55
|
-
fields: ElicitationField[];
|
|
56
|
-
}
|
|
57
12
|
/** Raw values returned by the client after the user fills the form. */
|
|
58
|
-
export type ElicitationResponseValues = Record<string, string | number | boolean | string[]>;
|
|
59
13
|
/** Parsed and validated elicitation response. */
|
|
60
|
-
export interface ElicitationResponse {
|
|
61
|
-
/** Whether the user completed and submitted the form (vs. cancelling). */
|
|
62
|
-
submitted: boolean;
|
|
63
|
-
/** Validated field values keyed by field.key. Present only when submitted=true. */
|
|
64
|
-
values?: ElicitationResponseValues;
|
|
65
|
-
/** Validation errors per field key. Present when submitted=true but some fields are invalid. */
|
|
66
|
-
errors?: Record<string, string>;
|
|
67
|
-
}
|
|
68
14
|
/** Result of parsing a raw client elicitation response. */
|
|
69
|
-
export interface ElicitationParseResult {
|
|
70
|
-
/** True when all required fields are present and valid. */
|
|
71
|
-
valid: boolean;
|
|
72
|
-
/** Validated values, only present when valid=true. */
|
|
73
|
-
values?: ElicitationResponseValues;
|
|
74
|
-
/** Map of field key to error message for invalid fields. */
|
|
75
|
-
errors: Record<string, string>;
|
|
76
|
-
}
|
|
77
15
|
/** Capability flag indicating whether the MCP server/client supports elicitation. */
|
|
78
|
-
export interface ElicitationCapability {
|
|
79
|
-
/** True when the connected client declares elicitation support. */
|
|
80
|
-
supported: boolean;
|
|
81
|
-
}
|
|
82
16
|
/** Options for building a text elicitation field. */
|
|
83
|
-
export interface TextFieldOptions {
|
|
84
|
-
required?: boolean;
|
|
85
|
-
maxLength?: number;
|
|
86
|
-
placeholder?: string;
|
|
87
|
-
defaultValue?: string;
|
|
88
|
-
}
|
|
89
17
|
/** Options for building a number elicitation field. */
|
|
90
|
-
export interface NumberFieldOptions {
|
|
91
|
-
required?: boolean;
|
|
92
|
-
min?: number;
|
|
93
|
-
max?: number;
|
|
94
|
-
defaultValue?: number;
|
|
95
|
-
}
|
|
96
18
|
/** Options for building a boolean elicitation field. */
|
|
97
|
-
export interface BooleanFieldOptions {
|
|
98
|
-
required?: boolean;
|
|
99
|
-
defaultValue?: boolean;
|
|
100
|
-
}
|
|
101
19
|
/** Options for building an enum elicitation field. */
|
|
102
|
-
export interface EnumFieldOptions {
|
|
103
|
-
required?: boolean;
|
|
104
|
-
defaultValue?: string;
|
|
105
|
-
}
|
|
106
20
|
/** Options for building a multi-select elicitation field. */
|
|
107
|
-
export interface MultiSelectOptions {
|
|
108
|
-
required?: boolean;
|
|
109
|
-
defaultValue?: string[];
|
|
110
|
-
}
|
|
111
21
|
/** Action returned by a client elicitation (MCP spec 2025-06-18). */
|
|
112
22
|
export type ElicitationAction = 'accept' | 'cancel' | 'decline';
|
|
113
23
|
/** Result of a client-capability probe for elicitation support. */
|
|
@@ -130,9 +40,6 @@ export interface ElicitationCapableServer {
|
|
|
130
40
|
* dynamic dispatch — nothing else from McpServer is required.
|
|
131
41
|
* Kept as Record<string, unknown> to avoid SDK import in engine layer.
|
|
132
42
|
*/
|
|
133
|
-
export interface McpServerShell {
|
|
134
|
-
server: Record<string, unknown>;
|
|
135
|
-
}
|
|
136
43
|
/** Single property inside an elicitation JSON Schema. */
|
|
137
44
|
export interface ElicitationSchemaProperty {
|
|
138
45
|
type: 'string' | 'number' | 'boolean';
|
|
@@ -174,8 +81,7 @@ export type ElicitOrFallbackOutcome = {
|
|
|
174
81
|
* - 'policy' / 'business': requires user input (routed to elicitOrFallback)
|
|
175
82
|
* - 'technical': inferred from codebase signals; elicitation is skipped
|
|
176
83
|
*/
|
|
177
|
-
|
|
178
|
-
export type DecisionGapKind = 'behavior' | 'permission' | 'provider' | 'billing-model' | 'data' | 'failure' | 'scope';
|
|
84
|
+
type DecisionGapKind = 'behavior' | 'permission' | 'provider' | 'billing-model' | 'data' | 'failure' | 'scope';
|
|
179
85
|
export interface DecisionGap {
|
|
180
86
|
id: string;
|
|
181
87
|
kind: DecisionGapKind;
|
|
@@ -195,40 +101,15 @@ export interface QuestionGroundingResult {
|
|
|
195
101
|
passed: boolean;
|
|
196
102
|
reason?: string;
|
|
197
103
|
}
|
|
104
|
+
export {};
|
|
198
105
|
/**
|
|
199
106
|
* Outcome when the decision was already cached in conventions.json.
|
|
200
107
|
* The caller can return this value immediately without prompting the user.
|
|
201
108
|
*/
|
|
202
|
-
export interface CachedDecisionOutcome {
|
|
203
|
-
mode: 'cached';
|
|
204
|
-
value: string;
|
|
205
|
-
}
|
|
206
109
|
/** Full outcome union for elicitFromUser. */
|
|
207
|
-
export type ElicitFromUserResult = ElicitOrFallbackOutcome | CachedDecisionOutcome;
|
|
208
110
|
/**
|
|
209
111
|
* Full options bag for `elicitFromUser()`.
|
|
210
112
|
* Callers provide a schema for native elicitation AND a fallback question set
|
|
211
113
|
* for clients that do not support the MCP elicitation protocol.
|
|
212
114
|
*/
|
|
213
|
-
export interface ElicitFromUserOptions {
|
|
214
|
-
/** Unique slug for this decision — used as the cache key. E.g. 'spec-target'. */
|
|
215
|
-
decisionKey: string;
|
|
216
|
-
/** Policy/business decisions prompt the user; technical decisions are inferred. */
|
|
217
|
-
decisionType: DecisionType;
|
|
218
|
-
/** Human-readable message shown as form heading (native) or question text (fallback). */
|
|
219
|
-
message: string;
|
|
220
|
-
/** JSON Schema for the native elicitation form. */
|
|
221
|
-
schema: ElicitationSchema;
|
|
222
|
-
/** Fallback question(s) for non-elicitation clients. */
|
|
223
|
-
fallback: InteractiveQuestion | InteractiveQuestion[];
|
|
224
|
-
/** MCP server instance for capability detection. Pass null to force fallback. */
|
|
225
|
-
server: unknown;
|
|
226
|
-
/** Project path for reading/writing conventions.json decisions cache. */
|
|
227
|
-
projectPath: string;
|
|
228
|
-
/**
|
|
229
|
-
* For technical decisions: the value inferred from codebase signals.
|
|
230
|
-
* When decisionType === 'technical', this is returned immediately without IO.
|
|
231
|
-
*/
|
|
232
|
-
inferredValue?: string;
|
|
233
|
-
}
|
|
234
115
|
//# sourceMappingURL=elicitation.d.ts.map
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
// Planu — Elicitation types (MCP 2025-06 elicitation protocol)
|
|
2
2
|
export {};
|
|
3
|
+
/**
|
|
4
|
+
* Outcome when the decision was already cached in conventions.json.
|
|
5
|
+
* The caller can return this value immediately without prompting the user.
|
|
6
|
+
*/
|
|
7
|
+
/** Full outcome union for elicitFromUser. */
|
|
8
|
+
/**
|
|
9
|
+
* Full options bag for `elicitFromUser()`.
|
|
10
|
+
* Callers provide a schema for native elicitation AND a fallback question set
|
|
11
|
+
* for clients that do not support the MCP elicitation protocol.
|
|
12
|
+
*/
|
|
3
13
|
//# sourceMappingURL=elicitation.js.map
|
package/dist/types/env.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface EnvSecurityIssue {
|
|
|
34
34
|
issue: string;
|
|
35
35
|
fix: string;
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
interface EnvSetupStep {
|
|
38
38
|
order: number;
|
|
39
39
|
service: string;
|
|
40
40
|
title: string;
|
|
@@ -61,7 +61,7 @@ export interface LintingAnalysis {
|
|
|
61
61
|
customRulesFromProject: LintCustomRule[];
|
|
62
62
|
maturityScore: number;
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
interface LintingRecommendation {
|
|
65
65
|
tool: LinterTool;
|
|
66
66
|
reason: string;
|
|
67
67
|
priority: 'critical' | 'recommended' | 'nice-to-have';
|
|
@@ -76,14 +76,14 @@ export interface LintRuleConflict {
|
|
|
76
76
|
conflict: string;
|
|
77
77
|
resolution: string;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
interface LintCustomRule {
|
|
80
80
|
source: string;
|
|
81
81
|
rule: string;
|
|
82
82
|
enforceable: boolean;
|
|
83
83
|
linterRule?: string;
|
|
84
84
|
linterConfig?: string;
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
interface LinterRegistryEntry {
|
|
87
87
|
configFiles: string[];
|
|
88
88
|
npmPkg?: string;
|
|
89
89
|
purpose: string;
|
|
@@ -96,7 +96,7 @@ export interface LinterLanguageEntry {
|
|
|
96
96
|
transversal: string[];
|
|
97
97
|
linters: Record<string, LinterRegistryEntry>;
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
interface LinterRegistryConflict {
|
|
100
100
|
linters: [string, string];
|
|
101
101
|
conflictType: 'formatting-overlap' | 'rule-contradiction' | 'performance';
|
|
102
102
|
description: string;
|
|
@@ -106,53 +106,6 @@ export interface LinterRegistryFile {
|
|
|
106
106
|
conflicts: LinterRegistryConflict[];
|
|
107
107
|
[lang: string]: unknown;
|
|
108
108
|
}
|
|
109
|
-
export interface EnvPatternService {
|
|
110
|
-
prefix: string[];
|
|
111
|
-
description: string;
|
|
112
|
-
dashboardUrl: string | null;
|
|
113
|
-
vars: Record<string, EnvPatternVarEntry>;
|
|
114
|
-
}
|
|
115
|
-
export interface EnvPatternVarEntry {
|
|
116
|
-
description: string;
|
|
117
|
-
format: string;
|
|
118
|
-
howToObtain: string;
|
|
119
|
-
estimatedTime: string;
|
|
120
|
-
isSecret?: boolean;
|
|
121
|
-
}
|
|
122
|
-
export interface EnvPatternsFile {
|
|
123
|
-
detectionPatterns: Record<string, string[]>;
|
|
124
|
-
secretPatterns: string[];
|
|
125
|
-
services: Record<string, EnvPatternService>;
|
|
126
|
-
}
|
|
127
|
-
export interface ScannedVar {
|
|
128
|
-
name: string;
|
|
129
|
-
file: string;
|
|
130
|
-
line: number;
|
|
131
|
-
}
|
|
132
|
-
export interface EnvVarScan {
|
|
133
|
-
name: string;
|
|
134
|
-
source: 'code' | 'env-example' | 'both';
|
|
135
|
-
description: string;
|
|
136
|
-
howToObtain: string;
|
|
137
|
-
dashboardUrl: string | null;
|
|
138
|
-
expectedFormat: string;
|
|
139
|
-
estimatedTime: string;
|
|
140
|
-
isSecret: boolean;
|
|
141
|
-
}
|
|
142
|
-
export interface EnvScanResult {
|
|
143
|
-
variables: EnvVarScan[];
|
|
144
|
-
missingInExample: string[];
|
|
145
|
-
hardcodedSecrets: SecretDetection[];
|
|
146
|
-
gitignoreCoversEnv: boolean;
|
|
147
|
-
envExampleExists: boolean;
|
|
148
|
-
}
|
|
149
|
-
export interface SecretDetection {
|
|
150
|
-
file: string;
|
|
151
|
-
line: number;
|
|
152
|
-
variableName: string;
|
|
153
|
-
severity: 'critical' | 'warning';
|
|
154
|
-
instruction: string;
|
|
155
|
-
}
|
|
156
109
|
export interface BeginnerEnvStep {
|
|
157
110
|
step: number;
|
|
158
111
|
variable: string;
|
|
@@ -165,19 +118,6 @@ export interface CacheEntry {
|
|
|
165
118
|
fetchedAt: number;
|
|
166
119
|
ttlMs: number;
|
|
167
120
|
}
|
|
168
|
-
export interface SemverParts {
|
|
169
|
-
major: number;
|
|
170
|
-
minor: number;
|
|
171
|
-
patch: number;
|
|
172
|
-
}
|
|
173
|
-
export interface WebFetchResult {
|
|
174
|
-
url: string;
|
|
175
|
-
content: string;
|
|
176
|
-
fetchedAt: string;
|
|
177
|
-
stale: boolean;
|
|
178
|
-
ttlSeconds: number;
|
|
179
|
-
source: 'web' | 'cache' | 'local-fallback';
|
|
180
|
-
}
|
|
181
121
|
export interface WebFetcherConfig {
|
|
182
122
|
defaultTtlSeconds: number;
|
|
183
123
|
maxRetries: number;
|
|
@@ -192,27 +132,5 @@ export interface RegistryHealth {
|
|
|
192
132
|
entriesStale: number;
|
|
193
133
|
lastUpdated: string;
|
|
194
134
|
}
|
|
195
|
-
export
|
|
196
|
-
export type InfraResourceType = 'compute' | 'database' | 'cache' | 'cdn' | 'storage' | 'monitoring';
|
|
197
|
-
export interface ResourceCostEntry {
|
|
198
|
-
resource: InfraResourceType;
|
|
199
|
-
provider: CloudProvider;
|
|
200
|
-
tier: string;
|
|
201
|
-
monthlyUsd: number;
|
|
202
|
-
notes: string;
|
|
203
|
-
}
|
|
204
|
-
export interface DistributionCostEstimate {
|
|
205
|
-
provider: CloudProvider;
|
|
206
|
-
resources: ResourceCostEntry[];
|
|
207
|
-
totalMonthlyUsd: number;
|
|
208
|
-
totalYearlyUsd: number;
|
|
209
|
-
breakdown: string;
|
|
210
|
-
}
|
|
211
|
-
export interface DistributionReadiness {
|
|
212
|
-
score: number;
|
|
213
|
-
level: 'not-ready' | 'partial' | 'ready';
|
|
214
|
-
present: string[];
|
|
215
|
-
missing: string[];
|
|
216
|
-
recommendations: string[];
|
|
217
|
-
}
|
|
135
|
+
export {};
|
|
218
136
|
//# sourceMappingURL=env.d.ts.map
|
package/dist/types/env.js
CHANGED
|
@@ -18,14 +18,14 @@ export interface WithEscalationOptions {
|
|
|
18
18
|
reasonHint?: string;
|
|
19
19
|
}
|
|
20
20
|
/** Return type for withEscalation when the wrapped function succeeds. */
|
|
21
|
-
|
|
21
|
+
interface EscalateSuccess<T> {
|
|
22
22
|
ok: true;
|
|
23
23
|
result: T;
|
|
24
24
|
/** Number of attempts taken (1 = first attempt succeeded). */
|
|
25
25
|
attempts: number;
|
|
26
26
|
}
|
|
27
27
|
/** Return type for withEscalation when budget is exhausted and escalated. */
|
|
28
|
-
|
|
28
|
+
interface EscalateFailure {
|
|
29
29
|
ok: false;
|
|
30
30
|
escalated: true;
|
|
31
31
|
/** The decision to surface to the caller for forwarding as interactiveQuestions. */
|
|
@@ -43,4 +43,5 @@ export type FlowResult<T> = {
|
|
|
43
43
|
ok: false;
|
|
44
44
|
reason: string;
|
|
45
45
|
};
|
|
46
|
+
export {};
|
|
46
47
|
//# sourceMappingURL=escalator.d.ts.map
|
|
@@ -39,7 +39,7 @@ export interface ImpactAnalysis {
|
|
|
39
39
|
testingStrategy: TestStrategy;
|
|
40
40
|
environments: string[];
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
interface TestStrategy {
|
|
43
43
|
unitTests: string[];
|
|
44
44
|
integrationTests: string[];
|
|
45
45
|
e2eTests: string[];
|
|
@@ -50,11 +50,6 @@ export interface EstimateInput {
|
|
|
50
50
|
projectId?: string;
|
|
51
51
|
projectPath?: string;
|
|
52
52
|
}
|
|
53
|
-
export interface ReverseEngineerInput {
|
|
54
|
-
path: string;
|
|
55
|
-
projectId: string;
|
|
56
|
-
depth?: 'shallow' | 'deep' | 'deep-v2';
|
|
57
|
-
}
|
|
58
53
|
export interface ValidateInput {
|
|
59
54
|
specId: string;
|
|
60
55
|
projectId?: string;
|
|
@@ -77,80 +72,6 @@ export interface EstimateResult {
|
|
|
77
72
|
/** SPEC-570: Human-readable description of the calibration data used */
|
|
78
73
|
calibrationBasis?: string;
|
|
79
74
|
}
|
|
80
|
-
export
|
|
81
|
-
specId: string;
|
|
82
|
-
specPath: string;
|
|
83
|
-
technicalPath: string;
|
|
84
|
-
analysis: {
|
|
85
|
-
filesAnalyzed: number;
|
|
86
|
-
interfacesDetected: string[];
|
|
87
|
-
dependenciesFound: string[];
|
|
88
|
-
layersIdentified: string[];
|
|
89
|
-
};
|
|
90
|
-
message: string;
|
|
91
|
-
}
|
|
92
|
-
export interface TimeRecord {
|
|
93
|
-
specId: string;
|
|
94
|
-
implementingStartedAt?: string;
|
|
95
|
-
doneAt?: string;
|
|
96
|
-
actualHours?: number;
|
|
97
|
-
debugHours?: number;
|
|
98
|
-
scopeCreepCriteria?: number;
|
|
99
|
-
validateFailures?: number;
|
|
100
|
-
}
|
|
101
|
-
export interface VibeTaxResult {
|
|
102
|
-
specId: string;
|
|
103
|
-
estimatedHours: number;
|
|
104
|
-
actualHours: number;
|
|
105
|
-
varianceHours: number;
|
|
106
|
-
variancePct: number;
|
|
107
|
-
debugHours: number;
|
|
108
|
-
scopeCreepCriteria: number;
|
|
109
|
-
validateFailures: number;
|
|
110
|
-
vibeTaxScore: number;
|
|
111
|
-
assessment: 'excellent' | 'good' | 'fair' | 'poor';
|
|
112
|
-
}
|
|
113
|
-
export interface ProjectProductivityReport {
|
|
114
|
-
specCount: number;
|
|
115
|
-
averageVariancePct: number;
|
|
116
|
-
totalDebugHours: number;
|
|
117
|
-
totalVibeTaxHours: number;
|
|
118
|
-
overallAssessment: string;
|
|
119
|
-
calibrationFactor: number;
|
|
120
|
-
trendDirection: 'improving' | 'stable' | 'worsening';
|
|
121
|
-
}
|
|
75
|
+
export {};
|
|
122
76
|
/** Shape of the estimation-tables JSON config file (SPEC-205). */
|
|
123
|
-
export interface EstimationTablesConfig {
|
|
124
|
-
defaultConfig: {
|
|
125
|
-
defaultLocale: string;
|
|
126
|
-
defaultExperienceLevel: string;
|
|
127
|
-
hourlyRate: number;
|
|
128
|
-
pricingOpusPerMToken: number;
|
|
129
|
-
pricingSonnetPerMToken: number;
|
|
130
|
-
};
|
|
131
|
-
baseHoursByType: {
|
|
132
|
-
id: string;
|
|
133
|
-
hours: number;
|
|
134
|
-
}[];
|
|
135
|
-
scopeMultiplier: {
|
|
136
|
-
id: string;
|
|
137
|
-
multiplier: number;
|
|
138
|
-
}[];
|
|
139
|
-
difficultyMultiplier: {
|
|
140
|
-
id: string;
|
|
141
|
-
multiplier: number;
|
|
142
|
-
}[];
|
|
143
|
-
reviewRatio: {
|
|
144
|
-
id: string;
|
|
145
|
-
ratio: number;
|
|
146
|
-
}[];
|
|
147
|
-
tokensPerDevHour: {
|
|
148
|
-
opus: number;
|
|
149
|
-
sonnet: number;
|
|
150
|
-
};
|
|
151
|
-
modeReduction: {
|
|
152
|
-
id: string;
|
|
153
|
-
factor: number;
|
|
154
|
-
}[];
|
|
155
|
-
}
|
|
156
77
|
//# sourceMappingURL=estimation.d.ts.map
|
package/dist/types/estimation.js
CHANGED
package/dist/types/events.d.ts
CHANGED
|
@@ -1,128 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export type SchemaChangeKind = 'additive' | 'breaking' | 'deprecation';
|
|
3
|
-
export type SagaCoordinationStyle = 'choreography' | 'orchestration';
|
|
1
|
+
type DeliveryGuarantee = 'at-most-once' | 'at-least-once' | 'exactly-once';
|
|
4
2
|
export type BrokerKind = 'kafka' | 'rabbitmq' | 'sqs-sns' | 'nats' | 'eventbridge' | 'pubsub' | 'unknown';
|
|
5
|
-
export interface EventSchema {
|
|
6
|
-
/** JSON Schema draft-07 compatible object describing the event payload */
|
|
7
|
-
jsonSchema: Record<string, unknown>;
|
|
8
|
-
/** Semver string: major.minor.patch */
|
|
9
|
-
version: string;
|
|
10
|
-
/** ISO date when this schema version was introduced */
|
|
11
|
-
introducedAt: string;
|
|
12
|
-
/** ISO date when this schema version is scheduled for removal, if deprecated */
|
|
13
|
-
sunsetAt?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface EventContract {
|
|
16
|
-
/** Unique event name, e.g. "order.created" */
|
|
17
|
-
name: string;
|
|
18
|
-
/** Current semver version of the contract */
|
|
19
|
-
currentVersion: string;
|
|
20
|
-
/** All schema versions indexed by semver string */
|
|
21
|
-
versions: Record<string, EventSchema>;
|
|
22
|
-
/** Service or component that emits this event */
|
|
23
|
-
producer: string;
|
|
24
|
-
/** Known services or components that consume this event */
|
|
25
|
-
consumers: string[];
|
|
26
|
-
/** Delivery guarantee provided by the broker for this event */
|
|
27
|
-
deliveryGuarantee: DeliveryGuarantee;
|
|
28
|
-
/** Broker used to transport this event */
|
|
29
|
-
broker: BrokerKind;
|
|
30
|
-
/** DLQ configuration for consumers of this event, if applicable */
|
|
31
|
-
dlq?: DLQConfig;
|
|
32
|
-
/** ISO date of last contract update */
|
|
33
|
-
updatedAt: string;
|
|
34
|
-
/** SPEC-XXX IDs that reference this contract */
|
|
35
|
-
referencedBySpecs: string[];
|
|
36
|
-
}
|
|
37
|
-
export interface EventVersion {
|
|
38
|
-
/** Semver string of this version */
|
|
39
|
-
version: string;
|
|
40
|
-
/** Classification of the change relative to the previous version */
|
|
41
|
-
changeKind: SchemaChangeKind;
|
|
42
|
-
/** Human-readable description of what changed */
|
|
43
|
-
changeDescription: string;
|
|
44
|
-
/** Fields added in this version (for additive changes) */
|
|
45
|
-
addedFields?: string[];
|
|
46
|
-
/** Fields removed in this version (for breaking changes) */
|
|
47
|
-
removedFields?: string[];
|
|
48
|
-
/** Fields whose type changed in this version (for breaking changes) */
|
|
49
|
-
changedFields?: {
|
|
50
|
-
field: string;
|
|
51
|
-
from: string;
|
|
52
|
-
to: string;
|
|
53
|
-
}[];
|
|
54
|
-
/** Fields marked deprecated in this version */
|
|
55
|
-
deprecatedFields?: {
|
|
56
|
-
field: string;
|
|
57
|
-
reason: string;
|
|
58
|
-
sunsetVersion: string;
|
|
59
|
-
}[];
|
|
60
|
-
/** ISO date when dual-version emission period ends, for breaking changes */
|
|
61
|
-
dualEmissionEndAt?: string;
|
|
62
|
-
}
|
|
63
|
-
export interface DLQConfig {
|
|
64
|
-
/** Name of the dead letter queue */
|
|
65
|
-
queueName: string;
|
|
66
|
-
/** Retention period in seconds */
|
|
67
|
-
retentionSeconds: number;
|
|
68
|
-
/** Maximum number of delivery retries before routing to DLQ */
|
|
69
|
-
maxRetries: number;
|
|
70
|
-
/** Initial retry backoff in milliseconds */
|
|
71
|
-
initialBackoffMs: number;
|
|
72
|
-
/** Backoff multiplier for exponential strategy */
|
|
73
|
-
backoffMultiplier: number;
|
|
74
|
-
/** Team or service responsible for monitoring the DLQ */
|
|
75
|
-
owner: string;
|
|
76
|
-
/** Alert threshold: raise alert when DLQ depth exceeds this count */
|
|
77
|
-
alertThreshold: number;
|
|
78
|
-
}
|
|
79
|
-
export interface SagaStep {
|
|
80
|
-
/** Unique step identifier within the Saga */
|
|
81
|
-
id: string;
|
|
82
|
-
/** Human-readable name of the step */
|
|
83
|
-
name: string;
|
|
84
|
-
/** Service responsible for executing this step */
|
|
85
|
-
service: string;
|
|
86
|
-
/** Event emitted when this step succeeds */
|
|
87
|
-
successEvent: string;
|
|
88
|
-
/** Event emitted when this step fails */
|
|
89
|
-
failureEvent: string;
|
|
90
|
-
/** Event that compensates (undoes) the effect of this step */
|
|
91
|
-
compensationEvent: string;
|
|
92
|
-
/** Conditions under which this step is considered failed */
|
|
93
|
-
failureConditions: string[];
|
|
94
|
-
/** Steps that must complete before this one can execute */
|
|
95
|
-
dependsOn: string[];
|
|
96
|
-
}
|
|
97
|
-
export interface SagaContract {
|
|
98
|
-
/** Unique Saga identifier, e.g. "checkout-saga" */
|
|
99
|
-
id: string;
|
|
100
|
-
/** Human-readable description of what the Saga achieves */
|
|
101
|
-
description: string;
|
|
102
|
-
/** Coordination style: choreography (events only) or orchestration (central orchestrator) */
|
|
103
|
-
coordinationStyle: SagaCoordinationStyle;
|
|
104
|
-
/** Ordered list of Saga steps */
|
|
105
|
-
steps: SagaStep[];
|
|
106
|
-
/** Name of the orchestrator service, if style is "orchestration" */
|
|
107
|
-
orchestratorService?: string;
|
|
108
|
-
/** SPEC-XXX IDs that implement parts of this Saga */
|
|
109
|
-
referencedBySpecs: string[];
|
|
110
|
-
}
|
|
111
|
-
export interface EventSchemaDrift {
|
|
112
|
-
/** Event contract name where drift was detected */
|
|
113
|
-
contractName: string;
|
|
114
|
-
/** Contract version the implementation should conform to */
|
|
115
|
-
expectedVersion: string;
|
|
116
|
-
/** Detected differences between implemented schema and contract */
|
|
117
|
-
mismatches: {
|
|
118
|
-
field: string;
|
|
119
|
-
expectedType: string;
|
|
120
|
-
actualType: string;
|
|
121
|
-
required: boolean;
|
|
122
|
-
}[];
|
|
123
|
-
/** Whether the drift is backward-compatible or breaking */
|
|
124
|
-
severity: 'additive' | 'breaking';
|
|
125
|
-
}
|
|
126
3
|
export interface BrokerConfig {
|
|
127
4
|
id: BrokerKind;
|
|
128
5
|
displayName: string;
|
|
@@ -137,67 +14,5 @@ export interface BrokerConfig {
|
|
|
137
14
|
export interface EventBrokersConfig {
|
|
138
15
|
brokers: BrokerConfig[];
|
|
139
16
|
}
|
|
140
|
-
export
|
|
141
|
-
field: string;
|
|
142
|
-
issue: string;
|
|
143
|
-
expectedType?: string;
|
|
144
|
-
actualType?: string;
|
|
145
|
-
}
|
|
146
|
-
export interface PayloadValidationResult {
|
|
147
|
-
valid: boolean;
|
|
148
|
-
violations: PayloadValidationViolation[];
|
|
149
|
-
}
|
|
150
|
-
export interface GenerateContractInput {
|
|
151
|
-
projectId: string;
|
|
152
|
-
eventName: string;
|
|
153
|
-
producer: string;
|
|
154
|
-
consumers: string[];
|
|
155
|
-
payloadFields: {
|
|
156
|
-
name: string;
|
|
157
|
-
type: string;
|
|
158
|
-
required: boolean;
|
|
159
|
-
description?: string;
|
|
160
|
-
}[];
|
|
161
|
-
broker?: BrokerKind;
|
|
162
|
-
specId?: string;
|
|
163
|
-
}
|
|
164
|
-
export interface ValidateContractInput {
|
|
165
|
-
projectId: string;
|
|
166
|
-
eventName: string;
|
|
167
|
-
payload: Record<string, unknown>;
|
|
168
|
-
}
|
|
169
|
-
export interface EvolveContractInput {
|
|
170
|
-
projectId: string;
|
|
171
|
-
eventName: string;
|
|
172
|
-
changeDescription: string;
|
|
173
|
-
addedFields?: string[];
|
|
174
|
-
removedFields?: string[];
|
|
175
|
-
changedFields?: {
|
|
176
|
-
field: string;
|
|
177
|
-
from: string;
|
|
178
|
-
to: string;
|
|
179
|
-
}[];
|
|
180
|
-
deprecatedFields?: {
|
|
181
|
-
field: string;
|
|
182
|
-
reason: string;
|
|
183
|
-
sunsetVersion: string;
|
|
184
|
-
}[];
|
|
185
|
-
}
|
|
186
|
-
export interface SagaSpecInput {
|
|
187
|
-
projectId: string;
|
|
188
|
-
sagaId: string;
|
|
189
|
-
description: string;
|
|
190
|
-
coordinationStyle: SagaCoordinationStyle;
|
|
191
|
-
steps: SagaStep[];
|
|
192
|
-
orchestratorService?: string;
|
|
193
|
-
specId?: string;
|
|
194
|
-
}
|
|
195
|
-
export interface EventContractsInput {
|
|
196
|
-
subcommand: 'generate-contract' | 'validate-contract' | 'evolve-contract' | 'saga-spec';
|
|
197
|
-
projectId: string;
|
|
198
|
-
generateContract?: GenerateContractInput;
|
|
199
|
-
validateContract?: ValidateContractInput;
|
|
200
|
-
evolveContract?: EvolveContractInput;
|
|
201
|
-
sagaSpec?: SagaSpecInput;
|
|
202
|
-
}
|
|
17
|
+
export {};
|
|
203
18
|
//# sourceMappingURL=events.d.ts.map
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type { Actuals } from './estimation.js';
|
|
2
1
|
/**
|
|
3
2
|
* Caller-supplied actuals on a `done` transition. Every field is optional:
|
|
4
3
|
* missing numeric fields are treated as "not measured" and defaulted to 0 by
|
|
5
4
|
* the done gate; `completedAt`/`notes` default when the whole object is
|
|
6
5
|
* absent. Any field the caller does supply is always stored verbatim.
|
|
7
6
|
*/
|
|
8
|
-
export type ActualsInput = Partial<Actuals>;
|
|
9
7
|
/** Injectable process runner so tests never shell out to real git. */
|
|
10
8
|
export type EvidenceAutofillExec = (command: string, args: string[], options: {
|
|
11
9
|
cwd: string;
|