@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
|
@@ -5,11 +5,12 @@ import type { FailureScenario, ConcurrencyAnalysis, RiskLevel, Spec, ProjectKnow
|
|
|
5
5
|
* dropped because the spec content contains no corroborating concurrency
|
|
6
6
|
* context (e.g. "concurrent", "simultaneously", "multiple users") — SPEC-1350.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
interface ConcurrencyAnalysisResult extends ConcurrencyAnalysis {
|
|
9
9
|
suppressedCount: number;
|
|
10
10
|
}
|
|
11
11
|
export declare function generateConcurrencyAnalysis(_spec: Spec, content: string, _knowledge: ProjectKnowledge): ConcurrencyAnalysisResult;
|
|
12
12
|
export declare function buildScalabilityAssessment(spec: Spec, knowledge: ProjectKnowledge, scenarios: FailureScenario[], hasRolloutEvidence?: boolean): string;
|
|
13
13
|
export declare function calculateOverallRisk(scenarios: FailureScenario[], concurrency: ConcurrencyAnalysis): RiskLevel;
|
|
14
14
|
export declare function readSpecContent(spec: Spec, projectPath?: string): Promise<string>;
|
|
15
|
+
export {};
|
|
15
16
|
//# sourceMappingURL=challenge-spec-helpers.d.ts.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { ToolResult } from '../types/index.js';
|
|
2
2
|
import type { PermissionsMode } from '../types/permissions-config.js';
|
|
3
|
-
|
|
3
|
+
interface ConfigurePermissionsInput {
|
|
4
4
|
projectPath: string;
|
|
5
5
|
mode: PermissionsMode;
|
|
6
6
|
dryRun?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare function handleConfigurePermissions(input: ConfigurePermissionsInput): Promise<ToolResult>;
|
|
9
|
+
export {};
|
|
9
10
|
//# sourceMappingURL=configure-permissions.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface VelocityEstimationEnrichment {
|
|
2
2
|
calendarDays: number | null;
|
|
3
3
|
velocityNote: string;
|
|
4
4
|
}
|
|
@@ -8,4 +8,5 @@ export interface VelocityEstimationEnrichment {
|
|
|
8
8
|
* SPEC-555
|
|
9
9
|
*/
|
|
10
10
|
export declare function enrichEstimationWithVelocity(projectPath: string, devHours: number): Promise<VelocityEstimationEnrichment>;
|
|
11
|
+
export {};
|
|
11
12
|
//# sourceMappingURL=velocity-estimation.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { checkConstitutionCompliance } from './create-spec-tech/constitution.js';
|
|
2
2
|
//# sourceMappingURL=create-spec-tech.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// tools/create-spec-tech.ts — SPEC-461: Only constitution compliance remains (lean format)
|
|
2
|
-
export {
|
|
2
|
+
export { checkConstitutionCompliance } from './create-spec-tech/constitution.js';
|
|
3
3
|
//# sourceMappingURL=create-spec-tech.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ToolResult
|
|
2
|
-
|
|
1
|
+
import type { ToolResult } from '../types/index.js';
|
|
2
|
+
interface SuggestCriteriaInput {
|
|
3
3
|
projectId: string;
|
|
4
4
|
specId: string;
|
|
5
5
|
projectHash?: string;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
interface InjectCriteriaInput {
|
|
8
8
|
projectId: string;
|
|
9
9
|
specId: string;
|
|
10
10
|
criteriaIds?: string[];
|
|
@@ -12,5 +12,5 @@ export interface InjectCriteriaInput {
|
|
|
12
12
|
}
|
|
13
13
|
export declare function handleSuggestCriteria(args: SuggestCriteriaInput): Promise<ToolResult>;
|
|
14
14
|
export declare function handleInjectCriteria(args: InjectCriteriaInput): Promise<ToolResult>;
|
|
15
|
-
export
|
|
15
|
+
export {};
|
|
16
16
|
//# sourceMappingURL=domain-criteria-handler.d.ts.map
|
|
@@ -234,4 +234,7 @@ export async function handleInjectCriteria(args) {
|
|
|
234
234
|
structuredContent: injResult,
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
|
+
// ---------------------------------------------------------------------------
|
|
238
|
+
// Re-export convenience for auto-suggest from create_spec (future integration)
|
|
239
|
+
// ---------------------------------------------------------------------------
|
|
237
240
|
//# sourceMappingURL=domain-criteria-handler.js.map
|
|
@@ -4,8 +4,4 @@ export declare function handleGenerateTeammatePrompt(params: GenerateTeammatePro
|
|
|
4
4
|
* Generate agent prompts based on detected architecture layers.
|
|
5
5
|
* When `layer` is omitted, generates prompts for all detected layers.
|
|
6
6
|
*/
|
|
7
|
-
export declare function handleGenerateLayerPrompts(params: {
|
|
8
|
-
projectId: string;
|
|
9
|
-
layer?: string;
|
|
10
|
-
}): Promise<ToolResult>;
|
|
11
7
|
//# sourceMappingURL=generate-teammate-prompt.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { specStore, knowledgeStore } from '../storage/index.js';
|
|
2
2
|
import { buildTeammatePrompt } from '../engine/team-planner/index.js';
|
|
3
|
-
import { generateAgentPrompts } from '../engine/agent-prompt-generator.js';
|
|
4
3
|
import { readFile } from 'node:fs/promises';
|
|
5
4
|
import { stripFrontmatter } from '../engine/frontmatter-parser.js';
|
|
6
5
|
import { compactJson } from './output-formatter.js';
|
|
@@ -84,29 +83,4 @@ export async function handleGenerateTeammatePrompt(params) {
|
|
|
84
83
|
* Generate agent prompts based on detected architecture layers.
|
|
85
84
|
* When `layer` is omitted, generates prompts for all detected layers.
|
|
86
85
|
*/
|
|
87
|
-
export async function handleGenerateLayerPrompts(params) {
|
|
88
|
-
const { projectId, layer } = params;
|
|
89
|
-
const knowledge = await knowledgeStore.getKnowledge(projectId);
|
|
90
|
-
if (!knowledge) {
|
|
91
|
-
return err(`No project knowledge found for '${projectId}'. Run init_project or scan_project first.`);
|
|
92
|
-
}
|
|
93
|
-
const prompts = generateAgentPrompts(knowledge, layer);
|
|
94
|
-
if (prompts.length === 0) {
|
|
95
|
-
const hint = layer
|
|
96
|
-
? `Layer '${layer}' was not detected in project '${projectId}'.`
|
|
97
|
-
: `No layers detected in project '${projectId}'.`;
|
|
98
|
-
return err(`${hint} Run scan_project to detect architecture layers first.`);
|
|
99
|
-
}
|
|
100
|
-
return text({
|
|
101
|
-
projectId,
|
|
102
|
-
generatedCount: prompts.length,
|
|
103
|
-
agents: prompts.map((p) => ({
|
|
104
|
-
name: p.name,
|
|
105
|
-
layer: p.layer,
|
|
106
|
-
recommendedModel: p.recommendedModel,
|
|
107
|
-
ownedPaths: p.ownedPaths,
|
|
108
|
-
prompt: p.prompt,
|
|
109
|
-
})),
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
86
|
//# sourceMappingURL=generate-teammate-prompt.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Result shape for autoCompleteSpecs (SPEC-720: breaking change from string[]). */
|
|
2
|
-
|
|
2
|
+
interface AutoCompleteResult {
|
|
3
3
|
completed: string[];
|
|
4
4
|
blocked: {
|
|
5
5
|
specId: string;
|
|
@@ -15,4 +15,5 @@ export interface AutoCompleteResult {
|
|
|
15
15
|
* Safe to call best-effort — caller should .catch(() => []).
|
|
16
16
|
*/
|
|
17
17
|
export declare function autoCompleteSpecs(projectId: string, projectPath: string): Promise<AutoCompleteResult>;
|
|
18
|
+
export {};
|
|
18
19
|
//# sourceMappingURL=auto-complete-ops.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ToolResult, GitConfig, GitAutoSetupOptions } from '../../types/index.js';
|
|
2
2
|
export declare function handleCreateBranch(projectId: string, specId: string | undefined, config?: GitConfig, resolvedProjectPath?: string, options?: GitAutoSetupOptions): Promise<ToolResult>;
|
|
3
|
-
export declare function handleCheckBranch(projectId: string, _specId: string | undefined, config?: GitConfig): Promise<ToolResult>;
|
|
4
3
|
/**
|
|
5
4
|
* Auto-setup: detect git workflow, sync base branch, create feature branch.
|
|
6
5
|
* Combines detectGitFlowType + resolveBaseBranch + fetch/pull + create-branch
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { specStore } from '../../storage/index.js';
|
|
2
2
|
import { ti } from '../../i18n/index.js';
|
|
3
|
-
import { git, resolveProjectPath, slugify, mergeConfig, detectGitFlowType, resolveBaseBranch, DEFAULT_BRANCH_PREFIXES,
|
|
3
|
+
import { git, resolveProjectPath, slugify, mergeConfig, detectGitFlowType, resolveBaseBranch, DEFAULT_BRANCH_PREFIXES, } from './git-helpers.js';
|
|
4
4
|
import { compactResult, compactError, formatKeyValue, formatTable, formatList, } from '../output-formatter.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
6
|
// Worktree helpers
|
|
@@ -82,53 +82,6 @@ export async function handleCreateBranch(projectId, specId, config, resolvedProj
|
|
|
82
82
|
structuredContent: result,
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
export async function handleCheckBranch(projectId, _specId, config) {
|
|
86
|
-
const projectPath = await resolveProjectPath(projectId);
|
|
87
|
-
const { stdout: currentBranch } = await git(projectPath, ['rev-parse', '--abbrev-ref', 'HEAD']);
|
|
88
|
-
const branch = currentBranch.trim();
|
|
89
|
-
const mergedConfig = mergeConfig(config);
|
|
90
|
-
/* v8 ignore start */
|
|
91
|
-
const protectedBranches = mergedConfig.protectedBranches ?? DEFAULT_PROTECTED_BRANCHES;
|
|
92
|
-
/* v8 ignore end */
|
|
93
|
-
const isProtected = protectedBranches.includes(branch);
|
|
94
|
-
const conventionPattern = /^(feat|fix|refactor|infra|docs|project)\/SPEC-\d{3}-/;
|
|
95
|
-
const followsConvention = conventionPattern.test(branch);
|
|
96
|
-
const specIdMatch = /SPEC-\d{3}/.exec(branch);
|
|
97
|
-
const branchSpecId = specIdMatch ? specIdMatch[0] : null;
|
|
98
|
-
let specExists = false;
|
|
99
|
-
if (branchSpecId) {
|
|
100
|
-
const spec = await specStore.getSpec(projectId, branchSpecId);
|
|
101
|
-
specExists = spec !== null;
|
|
102
|
-
}
|
|
103
|
-
const issues = [];
|
|
104
|
-
if (isProtected) {
|
|
105
|
-
issues.push(`Currently on protected branch '${branch}'. Create a feature branch for changes.`);
|
|
106
|
-
}
|
|
107
|
-
if (!followsConvention && !isProtected) {
|
|
108
|
-
issues.push(`Branch '${branch}' does not follow Planu naming convention: <type>/SPEC-XXX-<slug>`);
|
|
109
|
-
}
|
|
110
|
-
if (branchSpecId && !specExists) {
|
|
111
|
-
issues.push(`Spec '${branchSpecId}' referenced in branch name not found in project.`);
|
|
112
|
-
}
|
|
113
|
-
const summary = issues.length === 0
|
|
114
|
-
? `Branch '${branch}' is valid`
|
|
115
|
-
: `Branch '${branch}' has ${issues.length} issue(s)`;
|
|
116
|
-
const lines = [
|
|
117
|
-
formatKeyValue({
|
|
118
|
-
branch,
|
|
119
|
-
protected: isProtected,
|
|
120
|
-
followsConvention,
|
|
121
|
-
linkedSpec: branchSpecId ?? '-',
|
|
122
|
-
specExists,
|
|
123
|
-
}),
|
|
124
|
-
'',
|
|
125
|
-
summary,
|
|
126
|
-
];
|
|
127
|
-
if (issues.length > 0) {
|
|
128
|
-
lines.push('', formatList(issues, 'Issues'));
|
|
129
|
-
}
|
|
130
|
-
return compactResult(lines.join('\n'));
|
|
131
|
-
}
|
|
132
85
|
/** Check if the working tree has uncommitted changes. */
|
|
133
86
|
async function hasDirtyState(projectPath) {
|
|
134
87
|
const { stdout } = await git(projectPath, ['status', '--porcelain']);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GitConfig, GitFlowType } from '../../types/index.js';
|
|
2
|
-
|
|
2
|
+
interface GitExecutionOptions {
|
|
3
3
|
signal?: AbortSignal;
|
|
4
4
|
timeoutMs?: number;
|
|
5
5
|
}
|
|
@@ -7,8 +7,6 @@ export interface GitExecutionOptions {
|
|
|
7
7
|
export declare const DEFAULT_BRANCH_PREFIXES: Record<string, string>;
|
|
8
8
|
/** Default protected branches. */
|
|
9
9
|
export declare const DEFAULT_PROTECTED_BRANCHES: string[];
|
|
10
|
-
/** Default staleness threshold (commits behind). */
|
|
11
|
-
export declare const DEFAULT_STALENESS_THRESHOLD = 50;
|
|
12
10
|
/** Execute a git command in the project directory. */
|
|
13
11
|
export declare function git(projectPath: string, args: string[], options?: GitExecutionOptions): Promise<{
|
|
14
12
|
stdout: string;
|
|
@@ -23,7 +21,7 @@ export declare function mergeConfig(config?: GitConfig): GitConfig;
|
|
|
23
21
|
/** Resolve base branch (develop → main → master → ''). */
|
|
24
22
|
export declare function resolveBaseBranch(projectPath: string, preferred?: string): Promise<string>;
|
|
25
23
|
/** Count commits that current branch is behind a base branch. */
|
|
26
|
-
export declare function countCommitsBehind(projectPath: string, baseBranch: string): Promise<number>;
|
|
27
24
|
/** Detect git flow type by inspecting branches. */
|
|
28
25
|
export declare function detectGitFlowType(projectPath: string): Promise<GitFlowType>;
|
|
26
|
+
export {};
|
|
29
27
|
//# sourceMappingURL=git-helpers.d.ts.map
|
|
@@ -13,7 +13,7 @@ export const DEFAULT_BRANCH_PREFIXES = {
|
|
|
13
13
|
/** Default protected branches. */
|
|
14
14
|
export const DEFAULT_PROTECTED_BRANCHES = ['main', 'master', 'develop', 'production'];
|
|
15
15
|
/** Default staleness threshold (commits behind). */
|
|
16
|
-
|
|
16
|
+
const DEFAULT_STALENESS_THRESHOLD = 50;
|
|
17
17
|
/** Execute a git command in the project directory. */
|
|
18
18
|
export async function git(projectPath, args, options = {}) {
|
|
19
19
|
assertSafeGitInvocation(projectPath, args);
|
|
@@ -80,17 +80,6 @@ export async function resolveBaseBranch(projectPath, preferred) {
|
|
|
80
80
|
return '';
|
|
81
81
|
}
|
|
82
82
|
/** Count commits that current branch is behind a base branch. */
|
|
83
|
-
export async function countCommitsBehind(projectPath, baseBranch) {
|
|
84
|
-
try {
|
|
85
|
-
const { stdout } = await git(projectPath, ['rev-list', '--count', `HEAD..${baseBranch}`]);
|
|
86
|
-
return parseInt(stdout.trim(), 10) || 0;
|
|
87
|
-
}
|
|
88
|
-
catch {
|
|
89
|
-
/* v8 ignore start */
|
|
90
|
-
return 0;
|
|
91
|
-
/* v8 ignore end */
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
83
|
/** Detect git flow type by inspecting branches. */
|
|
95
84
|
export async function detectGitFlowType(projectPath) {
|
|
96
85
|
try {
|
|
@@ -8,6 +8,5 @@ export declare function deriveAutoDetectedPrinciples(knowledge: Awaited<ReturnTy
|
|
|
8
8
|
* Try to extract principles from CLAUDE.md or similar rule files.
|
|
9
9
|
*/
|
|
10
10
|
export declare function extractPrinciplesFromClaudeMd(projectPath: string): Promise<ConstitutionPrinciple[]>;
|
|
11
|
-
export declare function classifyPrinciple(text: string): ConstitutionPrinciple['category'];
|
|
12
11
|
export declare function detectConflicts(existing: ConstitutionPrinciple[], incoming: ConstitutionPrinciple[]): string[];
|
|
13
12
|
//# sourceMappingURL=principle-detector.d.ts.map
|
|
@@ -156,7 +156,7 @@ export async function extractPrinciplesFromClaudeMd(projectPath) {
|
|
|
156
156
|
}
|
|
157
157
|
return principles;
|
|
158
158
|
}
|
|
159
|
-
|
|
159
|
+
function classifyPrinciple(text) {
|
|
160
160
|
const lower = text.toLowerCase();
|
|
161
161
|
if (lower.includes('security') ||
|
|
162
162
|
lower.includes('auth') ||
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Build AGENTS.md content with an optional host-filtered tool list. */
|
|
2
2
|
export declare function buildAgentsMdContent(host?: string): Promise<string>;
|
|
3
|
-
|
|
3
|
+
interface AgentsMdResult {
|
|
4
4
|
agentsMdWritten: boolean;
|
|
5
5
|
cursorRulesWritten: boolean;
|
|
6
6
|
windsurfRulesWritten: boolean;
|
|
@@ -14,4 +14,5 @@ export interface AgentsMdResult {
|
|
|
14
14
|
* include a warning comment.
|
|
15
15
|
*/
|
|
16
16
|
export declare function generateAgentFilesIfMissing(projectPath: string, host?: string): Promise<AgentsMdResult>;
|
|
17
|
+
export {};
|
|
17
18
|
//# sourceMappingURL=agents-md-writer.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ProjectKnowledge, WorkMode } from '../../types/index.js';
|
|
2
|
-
|
|
2
|
+
interface ConfigBuildResult {
|
|
3
3
|
planuConfigPath: string;
|
|
4
4
|
planuConfigGenerated: boolean;
|
|
5
5
|
whatsNew: string | null;
|
|
@@ -10,4 +10,5 @@ export interface ConfigBuildResult {
|
|
|
10
10
|
* SPEC-313: Persists workMode in planu.json when provided.
|
|
11
11
|
*/
|
|
12
12
|
export declare function buildProjectConfig(projectPath: string, projectId: string, knowledge: ProjectKnowledge, workMode?: WorkMode): Promise<ConfigBuildResult>;
|
|
13
|
+
export {};
|
|
13
14
|
//# sourceMappingURL=config-builder.d.ts.map
|
|
@@ -28,7 +28,6 @@ export declare function detectOrchestratorInfo(projectPath: string): Promise<Orc
|
|
|
28
28
|
* Signal: composeApp/ directory exists AND build.gradle.kts contains "compose-multiplatform".
|
|
29
29
|
*/
|
|
30
30
|
export declare function detectComposeMultiplatform(projectPath: string): Promise<ComposeMultiplatformInfo>;
|
|
31
|
-
export declare const SDD_MARKER = "<!-- planu:sdd-workflow -->";
|
|
32
31
|
export declare const SDD_BLOCK: string;
|
|
33
32
|
/**
|
|
34
33
|
* Inject SDD workflow section into all detected agent rule files.
|
|
@@ -191,7 +191,7 @@ export async function detectComposeMultiplatform(projectPath) {
|
|
|
191
191
|
return { detected: false, crossPlatformEngine: null };
|
|
192
192
|
}
|
|
193
193
|
// SDD workflow injection into CLAUDE.md ----------------------------------------
|
|
194
|
-
|
|
194
|
+
const SDD_MARKER = '<!-- planu:sdd-workflow -->';
|
|
195
195
|
export const SDD_BLOCK = `
|
|
196
196
|
${SDD_MARKER}
|
|
197
197
|
## Spec-Driven Development (Planu)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ProjectKnowledge } from '../../types/index.js';
|
|
2
2
|
import type { HostId, InstalledRule } from '../../types/universal-rules/index.js';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type InitAssetHost = HostId | 'opencode';
|
|
4
|
+
interface InitHostAssetsResult {
|
|
5
5
|
detectedHosts: InitAssetHost[];
|
|
6
6
|
rulesInstalled: InstalledRule[];
|
|
7
7
|
skillsInstalled: {
|
|
@@ -17,13 +17,6 @@ export interface InitHostAssetsResult {
|
|
|
17
17
|
* host configs that should stay in sync too.
|
|
18
18
|
*/
|
|
19
19
|
export declare function detectInitAssetHosts(projectPath: string): Promise<InitAssetHost[]>;
|
|
20
|
-
/** Whether `host` already has an on-disk asset surface in `projectPath` (SPEC-1677). */
|
|
21
|
-
export declare function hasCoreSkillSurface(projectPath: string, host: HostId): Promise<boolean>;
|
|
22
|
-
export declare function installCoreSkillsForHost(projectPath: string, host: HostId): Promise<{
|
|
23
|
-
host: HostId;
|
|
24
|
-
name: string;
|
|
25
|
-
path: string;
|
|
26
|
-
}[]>;
|
|
27
20
|
export declare function installInitHostAssets(projectPath: string, _knowledge: ProjectKnowledge, installSkills?: boolean): Promise<InitHostAssetsResult>;
|
|
28
21
|
/**
|
|
29
22
|
* SPEC-1677: refresh Planu-owned core skills on the init_project safe-update path,
|
|
@@ -31,4 +24,5 @@ export declare function installInitHostAssets(projectPath: string, _knowledge: P
|
|
|
31
24
|
* project-relative paths of every file whose content actually changed.
|
|
32
25
|
*/
|
|
33
26
|
export declare function refreshCoreHostAssets(projectPath: string): Promise<string[]>;
|
|
27
|
+
export {};
|
|
34
28
|
//# sourceMappingURL=host-assets-writer.d.ts.map
|
|
@@ -121,7 +121,7 @@ async function canRefreshCoreSkill(projectPath, host, name) {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
/** Whether `host` already has an on-disk asset surface in `projectPath` (SPEC-1677). */
|
|
124
|
-
|
|
124
|
+
async function hasCoreSkillSurface(projectPath, host) {
|
|
125
125
|
if (host === 'codex') {
|
|
126
126
|
return fileExists(join(projectPath, 'AGENTS.md'));
|
|
127
127
|
}
|
|
@@ -138,7 +138,7 @@ async function readTargetContent(path) {
|
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
async function installCoreSkillsForHost(projectPath, host) {
|
|
142
142
|
const installed = [];
|
|
143
143
|
for (const fileName of CORE_SKILL_TEMPLATES) {
|
|
144
144
|
const template = await readCoreSkillTemplate(fileName);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface LegacyMigrationResult {
|
|
2
2
|
readonly migrated: readonly string[];
|
|
3
3
|
readonly warnings: readonly string[];
|
|
4
4
|
}
|
|
@@ -12,4 +12,5 @@ export interface LegacyMigrationResult {
|
|
|
12
12
|
export declare function migrateLegacyPlanuRoot(projectPath: string): Promise<LegacyMigrationResult>;
|
|
13
13
|
/** Runs `migrateLegacyPlanuRoot` only for an already-initialized project; a no-op otherwise. */
|
|
14
14
|
export declare function resolveLegacyMigration(isUpdate: boolean, projectPath: string): Promise<LegacyMigrationResult>;
|
|
15
|
+
export {};
|
|
15
16
|
//# sourceMappingURL=legacy-root-migration.d.ts.map
|
|
@@ -9,11 +9,6 @@ export declare function runHealthCheckWithBaseline(projectPath: string, projectI
|
|
|
9
9
|
* Default is true (opt-out): returns false only when explicitly set to false.
|
|
10
10
|
*/
|
|
11
11
|
export declare function readAutoInstallFlag(configPath: string): Promise<boolean>;
|
|
12
|
-
/** Install recommended skills or queue them for manual install (best-effort). */
|
|
13
|
-
export declare function resolveSkillInstalls(skills: RecommendedSkill[], projectPath: string, autoInstall: boolean): Promise<{
|
|
14
|
-
skillsAutoInstalled: string[];
|
|
15
|
-
skillsPendingInstall: string[];
|
|
16
|
-
}>;
|
|
17
12
|
/** Extract "What's New" highlights by comparing lastSeenVersion in planu.json (best-effort). */
|
|
18
13
|
export declare function checkWhatsNew(configPath: string): Promise<string | null>;
|
|
19
14
|
export declare function generateAndWriteRules(projectPath: string): {
|
|
@@ -22,7 +17,7 @@ export declare function generateAndWriteRules(projectPath: string): {
|
|
|
22
17
|
};
|
|
23
18
|
export declare function fireTelemetry(knowledge: ProjectKnowledge): Promise<boolean>;
|
|
24
19
|
export declare function runConventionScanSafe(projectPath: string): Promise<'ok' | 'failed' | 'skipped'>;
|
|
25
|
-
|
|
20
|
+
interface LifecycleSkillInstallResult {
|
|
26
21
|
skillsAutoInstalled: string[];
|
|
27
22
|
skillsPendingInstall: string[];
|
|
28
23
|
skillsSkipped: string[];
|
|
@@ -31,4 +26,5 @@ export interface LifecycleSkillInstallResult {
|
|
|
31
26
|
export declare function orchestrateSkillInstalls(recommendedSkills: RecommendedSkill[], projectPath: string, autoInstallFromConfig: boolean): Promise<LifecycleSkillInstallResult>;
|
|
32
27
|
export declare function guardScaffoldIfRefreshing(canRefresh: boolean, projectPath: string): Promise<ScaffoldVerification | null>;
|
|
33
28
|
export declare function guardScaffoldOnInit(projectPath: string, toolResult: ToolResult): Promise<void>;
|
|
29
|
+
export {};
|
|
34
30
|
//# sourceMappingURL=lifecycle-helpers.d.ts.map
|
|
@@ -51,7 +51,7 @@ export async function readAutoInstallFlag(configPath) {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
/** Install recommended skills or queue them for manual install (best-effort). */
|
|
54
|
-
|
|
54
|
+
async function resolveSkillInstalls(skills, projectPath, autoInstall) {
|
|
55
55
|
const skillsAutoInstalled = [];
|
|
56
56
|
const skillsPendingInstall = [];
|
|
57
57
|
for (const skill of skills) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { reconcilePortableSpecIndex } from './portable-index-reconciler.js';
|
|
2
2
|
import type { LegacyMigrationDirective, ProjectKnowledge, Spec } from '../../types/index.js';
|
|
3
|
-
|
|
3
|
+
interface MigrationRunIssue {
|
|
4
4
|
phase: string;
|
|
5
5
|
severity: 'critical' | 'nonCritical';
|
|
6
6
|
message: string;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
interface MigrationRunResult {
|
|
9
9
|
discoveryResult: {
|
|
10
10
|
flattenedCount: number;
|
|
11
11
|
convertedCount: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LLMClientKind } from '../../types/index.js';
|
|
2
2
|
/** SPEC-648: Result of per-client file generation. */
|
|
3
|
-
|
|
3
|
+
interface PerClientFilesResult {
|
|
4
4
|
detectedClient: LLMClientKind;
|
|
5
5
|
filesWritten: string[];
|
|
6
6
|
}
|
|
@@ -11,4 +11,5 @@ export interface PerClientFilesResult {
|
|
|
11
11
|
* Idempotent — never overwrites existing files.
|
|
12
12
|
*/
|
|
13
13
|
export declare function generatePerClientFiles(projectPath: string): Promise<PerClientFilesResult>;
|
|
14
|
+
export {};
|
|
14
15
|
//# sourceMappingURL=per-client-files-writer.d.ts.map
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import type { WorkflowSkillGenerationResult } from '../../types/skill-registry.js';
|
|
2
|
-
import type { FilesystemImportDeps, FilesystemImportFailure, LegacyGuidanceScanResult, PortableIndexReconciliationResult, ScaffoldVerification
|
|
2
|
+
import type { FilesystemImportDeps, FilesystemImportFailure, LegacyGuidanceScanResult, PortableIndexReconciliationResult, ScaffoldVerification } from '../../types/index.js';
|
|
3
3
|
import type { ToolResult } from '../../types/common/primitives.js';
|
|
4
4
|
import type { ManagedGuidanceRefresh } from './managed-guidance-refresher.js';
|
|
5
5
|
/** Autopilot-first summary of fatal reconciliation failures: what failed, why, and the next action. */
|
|
6
6
|
export declare function describeReconciliationFailures(failures: FilesystemImportFailure[]): string;
|
|
7
|
-
/** Autopilot-first summary of a successful reconciliation, including any legacy skips. */
|
|
8
|
-
export declare function describeReconciliationSuccess(repositoryFilesChanged: string[], skippedLegacy: SkippedLegacyContract[], strayRepoRemovals?: string[]): string;
|
|
9
|
-
/** Autopilot-first message for a reconciliation outcome, success or fatal-failure. */
|
|
10
|
-
export declare function describeReconciliationOutcome(reconciliation: PortableIndexReconciliationResult, repositoryFilesChanged: string[]): string;
|
|
11
7
|
/**
|
|
12
8
|
* SPEC-1716: Build the already-initialized `init_project` result, folding the
|
|
13
9
|
* legacy-guidance scan's healed paths into the reported repository file changes.
|
|
@@ -139,7 +139,7 @@ export function describeReconciliationFailures(failures) {
|
|
|
139
139
|
return `Portable spec index reconciliation failed for ${String(failures.length)} contract(s) (${codeSummary}). Affected: ${topPaths}${remainder}. Next: ${nextActions}.`;
|
|
140
140
|
}
|
|
141
141
|
/** Autopilot-first summary of a successful reconciliation, including any legacy skips. */
|
|
142
|
-
|
|
142
|
+
function describeReconciliationSuccess(repositoryFilesChanged, skippedLegacy, strayRepoRemovals = []) {
|
|
143
143
|
const base = repositoryFilesChanged.length === 0
|
|
144
144
|
? 'Project already initialized. Safe update reconciled the portable spec index without changing repository files.'
|
|
145
145
|
: `Project already initialized. Safe update reconciled the portable spec index and refreshed ${String(repositoryFilesChanged.length)} core host asset file(s).`;
|
|
@@ -152,7 +152,7 @@ export function describeReconciliationSuccess(repositoryFilesChanged, skippedLeg
|
|
|
152
152
|
return base + skippedSuffix + strayRepoSuffix;
|
|
153
153
|
}
|
|
154
154
|
/** Autopilot-first message for a reconciliation outcome, success or fatal-failure. */
|
|
155
|
-
|
|
155
|
+
function describeReconciliationOutcome(reconciliation, repositoryFilesChanged) {
|
|
156
156
|
return reconciliation.failures.length === 0
|
|
157
157
|
? describeReconciliationSuccess(repositoryFilesChanged, reconciliation.skippedLegacy, reconciliation.strayRepoRemovals)
|
|
158
158
|
: describeReconciliationFailures(reconciliation.failures);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ProjectKnowledge, RecommendedSkill, AgentPlatform } from '../../types/index.js';
|
|
2
2
|
import { generateRules } from '../../engine/skill-generator.js';
|
|
3
|
-
|
|
3
|
+
interface RulesWriteResult {
|
|
4
4
|
platform: AgentPlatform;
|
|
5
5
|
generatedRules: Awaited<ReturnType<typeof generateRules>>;
|
|
6
6
|
rulesWritten: boolean;
|
|
@@ -11,4 +11,5 @@ export interface RulesWriteResult {
|
|
|
11
11
|
* Only writes files that don't exist yet — never overwrites user custom rules.
|
|
12
12
|
*/
|
|
13
13
|
export declare function runRulesWriter(projectPath: string, projectId: string, knowledge: ProjectKnowledge, recommendedSkills: RecommendedSkill[]): Promise<RulesWriteResult>;
|
|
14
|
+
export {};
|
|
14
15
|
//# sourceMappingURL=rules-writer.d.ts.map
|
|
@@ -3,5 +3,4 @@ export declare function verifyScaffoldedArtifacts(projectPath: string, host: Hos
|
|
|
3
3
|
export declare function runScaffoldGuard(projectPath: string, host: HostHint, version: string): Promise<ScaffoldVerification>;
|
|
4
4
|
export declare function applyScaffoldGuardResult(toolResult: ToolResult, verification: ScaffoldVerification): void;
|
|
5
5
|
export declare function changedScaffoldArtifacts(verification: ScaffoldVerification): string[];
|
|
6
|
-
export declare function markScaffoldVerificationFailure(toolResult: ToolResult, verification: ScaffoldVerification): void;
|
|
7
6
|
//# sourceMappingURL=scaffold-verifier.d.ts.map
|
|
@@ -83,7 +83,7 @@ export function changedScaffoldArtifacts(verification) {
|
|
|
83
83
|
.filter((artifact) => artifact.status === 'written' || artifact.status === 'repaired')
|
|
84
84
|
.map((artifact) => artifact.path);
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
function markScaffoldVerificationFailure(toolResult, verification) {
|
|
87
87
|
const missing = verification.artifacts
|
|
88
88
|
.filter((artifact) => artifact.status === 'missing')
|
|
89
89
|
.map((artifact) => artifact.path);
|
|
@@ -2,7 +2,7 @@ import type { ProjectKnowledge, RecommendedSkill, AgentPlatform } from '../../ty
|
|
|
2
2
|
import type { PermissionsMode } from '../../types/permissions-config.js';
|
|
3
3
|
import { runRulesWriter } from './rules-writer.js';
|
|
4
4
|
import type { PluginInstallMode, PluginInstallResult } from '../../types/plugin-install.js';
|
|
5
|
-
|
|
5
|
+
interface ScaffoldWriteResult {
|
|
6
6
|
platform: AgentPlatform;
|
|
7
7
|
generatedRules: Awaited<ReturnType<typeof runRulesWriter>>['generatedRules'];
|
|
8
8
|
rulesWritten: boolean;
|
|
@@ -58,4 +58,5 @@ export interface ScaffoldWriteResult {
|
|
|
58
58
|
* - Architecture rules
|
|
59
59
|
*/
|
|
60
60
|
export declare function runScaffoldWriter(projectPath: string, projectId: string, knowledge: ProjectKnowledge, recommendedSkills: RecommendedSkill[], permissionsMode?: PermissionsMode, pluginsMode?: PluginInstallMode, installSkills?: boolean): Promise<ScaffoldWriteResult>;
|
|
61
|
+
export {};
|
|
61
62
|
//# sourceMappingURL=scaffold-writer.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { detectModernPatterns, detectDdd } from '../../engine/architecture-pattern-detector.js';
|
|
2
2
|
import { detectAgileProcess } from '../../engine/agile-config-builder.js';
|
|
3
3
|
import { detectOrchestratorInfo, detectComposeMultiplatform } from './helpers.js';
|
|
4
|
-
|
|
4
|
+
interface InitStackDetectionResult {
|
|
5
5
|
modernPatterns: Awaited<ReturnType<typeof detectModernPatterns>>;
|
|
6
6
|
dddConfig: Awaited<ReturnType<typeof detectDdd>>;
|
|
7
7
|
agileDetection: Awaited<ReturnType<typeof detectAgileProcess>>;
|
|
@@ -13,4 +13,5 @@ export interface InitStackDetectionResult {
|
|
|
13
13
|
* container orchestrator, and Compose Multiplatform — all in parallel.
|
|
14
14
|
*/
|
|
15
15
|
export declare function detectStackPatterns(projectPath: string): Promise<InitStackDetectionResult>;
|
|
16
|
+
export {};
|
|
16
17
|
//# sourceMappingURL=stack-detector.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ToolResult } from '../../types/index.js';
|
|
2
|
-
|
|
2
|
+
interface JobToolIdentityInput {
|
|
3
3
|
operationId: string;
|
|
4
4
|
projectId?: string;
|
|
5
5
|
projectPath?: string;
|
|
@@ -7,4 +7,5 @@ export interface JobToolIdentityInput {
|
|
|
7
7
|
}
|
|
8
8
|
export declare function handleGetJob(input: JobToolIdentityInput): Promise<ToolResult>;
|
|
9
9
|
export declare function handleRestartJob(input: JobToolIdentityInput): Promise<ToolResult>;
|
|
10
|
+
export {};
|
|
10
11
|
//# sourceMappingURL=handlers.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ToolResult } from '../types/index.js';
|
|
2
|
-
|
|
2
|
+
interface StructuredContentCompactionOptions {
|
|
3
3
|
maxArrayItems?: number;
|
|
4
4
|
maxStringChars?: number;
|
|
5
5
|
maxObjectKeys?: number;
|
|
@@ -18,4 +18,5 @@ export declare function compactStructuredContent(structuredContent: Record<strin
|
|
|
18
18
|
* payload instead of unbounded internal data.
|
|
19
19
|
*/
|
|
20
20
|
export declare function compressToolOutput(result: ToolResult, verbose?: boolean): ToolResult;
|
|
21
|
+
export {};
|
|
21
22
|
//# sourceMappingURL=output-compressor.d.ts.map
|
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
import type { ToolResult } from '../types/index.js';
|
|
2
|
-
type MalformedOutputCode = 'OBJECT_OBJECT' | 'OBJECT_PROMISE';
|
|
3
|
-
interface MalformedOutputIssue {
|
|
4
|
-
code: MalformedOutputCode;
|
|
5
|
-
pattern: string;
|
|
6
|
-
contentIndex: number;
|
|
7
|
-
}
|
|
8
|
-
export declare function findMalformedToolOutput(result: ToolResult): MalformedOutputIssue | null;
|
|
9
2
|
export declare function guardToolResultOutput(toolName: string | undefined, result: ToolResult): ToolResult;
|
|
10
|
-
export {};
|
|
11
3
|
//# sourceMappingURL=output-integrity-guard.d.ts.map
|
|
@@ -2,7 +2,7 @@ const MALFORMED_TEXT_PATTERNS = [
|
|
|
2
2
|
{ code: 'OBJECT_OBJECT', pattern: /\[object Object\]/, label: '[object Object]' },
|
|
3
3
|
{ code: 'OBJECT_PROMISE', pattern: /\[object Promise\]/, label: '[object Promise]' },
|
|
4
4
|
];
|
|
5
|
-
|
|
5
|
+
function findMalformedToolOutput(result) {
|
|
6
6
|
for (let index = 0; index < result.content.length; index++) {
|
|
7
7
|
const item = result.content[index];
|
|
8
8
|
const text = item?.text ?? '';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ToolResult, PackageHandoffInput } from '../types/index.js';
|
|
2
|
-
export { formatHandoff } from '../engine/handoff-format.js';
|
|
3
2
|
/** Public MCP boundary: submit the handoff job and acknowledge without packaging inline. */
|
|
4
3
|
export declare function handlePackageHandoff(args: PackageHandoffInput): Promise<ToolResult>;
|
|
5
4
|
//# sourceMappingURL=package-handoff.d.ts.map
|
|
@@ -59,7 +59,6 @@ import { DurableJobRuntime, DurableJobNotFoundError, publicJobCursor, } from '..
|
|
|
59
59
|
import { schedulePackageHandoffJobExecution } from '../engine/execution/package-handoff-job-executor.js';
|
|
60
60
|
import { acquireLock, releaseLock } from '../engine/safety/cross-process-lock.js';
|
|
61
61
|
import { resolveProjectId, missingProjectIdError } from './resolve-project-id.js';
|
|
62
|
-
export { formatHandoff } from '../engine/handoff-format.js';
|
|
63
62
|
const SUBMISSION_LOCK_WAIT_MS = 5_000;
|
|
64
63
|
const SUBMISSION_LOCK_POLL_MS = 100;
|
|
65
64
|
const TERMINAL_RECOVERABLE_STATES = new Set(['failed', 'cancelled', 'dead-letter']);
|