silvermoon 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/README.zh-CN.md +26 -24
- package/dist/bin/build-npm-tarball.d.ts +28 -0
- package/dist/bin/build-npm-tarball.d.ts.map +1 -0
- package/dist/bin/build-npm-tarball.js +200 -0
- package/dist/bin/build-npm-tarball.js.map +1 -0
- package/dist/bin/check-pack.d.ts +2 -0
- package/dist/bin/check-pack.d.ts.map +1 -0
- package/dist/bin/check-pack.js +421 -0
- package/dist/bin/check-pack.js.map +1 -0
- package/dist/bin/ci-package-risk.d.ts +19 -0
- package/dist/bin/ci-package-risk.d.ts.map +1 -0
- package/dist/bin/ci-package-risk.js +78 -0
- package/dist/bin/ci-package-risk.js.map +1 -0
- package/dist/bin/generate-npm-readme.d.ts +7 -0
- package/dist/bin/generate-npm-readme.d.ts.map +1 -0
- package/dist/bin/generate-npm-readme.js +232 -0
- package/dist/bin/generate-npm-readme.js.map +1 -0
- package/dist/bin/migrate-v1-to-v2.d.ts +3 -0
- package/dist/bin/migrate-v1-to-v2.d.ts.map +1 -0
- package/dist/bin/migrate-v1-to-v2.js +25 -0
- package/dist/bin/migrate-v1-to-v2.js.map +1 -0
- package/dist/bin/prepare-npm-release.d.ts +46 -0
- package/dist/bin/prepare-npm-release.d.ts.map +1 -0
- package/dist/bin/prepare-npm-release.js +210 -0
- package/dist/bin/prepare-npm-release.js.map +1 -0
- package/dist/bin/pure-check.d.ts +15 -0
- package/dist/bin/pure-check.d.ts.map +1 -0
- package/dist/bin/pure-check.js +448 -0
- package/dist/bin/pure-check.js.map +1 -0
- package/dist/bin/run-checks.d.ts +34 -0
- package/dist/bin/run-checks.d.ts.map +1 -0
- package/dist/bin/run-checks.js +149 -0
- package/dist/bin/run-checks.js.map +1 -0
- package/dist/bin/silvermoon.d.ts +76 -0
- package/dist/bin/silvermoon.d.ts.map +1 -0
- package/dist/bin/silvermoon.js +401 -0
- package/dist/bin/silvermoon.js.map +1 -0
- package/dist/bin/sync-skills.d.ts +2 -0
- package/dist/bin/sync-skills.d.ts.map +1 -0
- package/dist/bin/sync-skills.js +78 -0
- package/dist/bin/sync-skills.js.map +1 -0
- package/dist/bin/verify-npm-release.d.ts +55 -0
- package/dist/bin/verify-npm-release.d.ts.map +1 -0
- package/dist/bin/verify-npm-release.js +418 -0
- package/dist/bin/verify-npm-release.js.map +1 -0
- package/dist/src/business/agent-copilot.d.ts +82 -0
- package/dist/src/business/agent-copilot.d.ts.map +1 -0
- package/dist/src/business/agent-copilot.js +330 -0
- package/dist/src/business/agent-copilot.js.map +1 -0
- package/dist/src/business/agent-project-registry.d.ts +22 -0
- package/dist/src/business/agent-project-registry.d.ts.map +1 -0
- package/dist/src/business/agent-project-registry.js +239 -0
- package/dist/src/business/agent-project-registry.js.map +1 -0
- package/dist/src/business/agent-project-runtime.d.ts +37 -0
- package/dist/src/business/agent-project-runtime.d.ts.map +1 -0
- package/dist/src/business/agent-project-runtime.js +198 -0
- package/dist/src/business/agent-project-runtime.js.map +1 -0
- package/dist/src/business/append-event-history.d.ts +21 -0
- package/dist/src/business/append-event-history.d.ts.map +1 -0
- package/dist/src/business/append-event-history.js +138 -0
- package/dist/src/business/append-event-history.js.map +1 -0
- package/dist/src/business/append-event.d.ts +140 -0
- package/dist/src/business/append-event.d.ts.map +1 -0
- package/dist/src/business/append-event.js +292 -0
- package/dist/src/business/append-event.js.map +1 -0
- package/dist/src/business/check-repository.d.ts +109 -0
- package/dist/src/business/check-repository.d.ts.map +1 -0
- package/dist/src/business/check-repository.js +379 -0
- package/dist/src/business/check-repository.js.map +1 -0
- package/dist/src/business/create-idea.d.ts +100 -0
- package/dist/src/business/create-idea.d.ts.map +1 -0
- package/dist/src/business/create-idea.js +224 -0
- package/dist/src/business/create-idea.js.map +1 -0
- package/dist/src/business/event-command.d.ts +111 -0
- package/dist/src/business/event-command.d.ts.map +1 -0
- package/dist/src/business/event-command.js +239 -0
- package/dist/src/business/event-command.js.map +1 -0
- package/dist/src/business/index.d.ts +7 -0
- package/dist/src/business/index.d.ts.map +1 -0
- package/dist/src/business/index.js +7 -0
- package/dist/src/business/index.js.map +1 -0
- package/dist/src/business/list-ideas.d.ts +97 -0
- package/dist/src/business/list-ideas.d.ts.map +1 -0
- package/dist/src/business/list-ideas.js +177 -0
- package/dist/src/business/list-ideas.js.map +1 -0
- package/dist/src/business/migrate-v1-to-v2.d.ts +23 -0
- package/dist/src/business/migrate-v1-to-v2.d.ts.map +1 -0
- package/dist/src/business/migrate-v1-to-v2.js +152 -0
- package/dist/src/business/migrate-v1-to-v2.js.map +1 -0
- package/dist/src/business/replay-events.d.ts +20 -0
- package/dist/src/business/replay-events.d.ts.map +1 -0
- package/dist/src/business/replay-events.js +27 -0
- package/dist/src/business/replay-events.js.map +1 -0
- package/dist/src/business/schema-migration.d.ts +19 -0
- package/dist/src/business/schema-migration.d.ts.map +1 -0
- package/dist/src/business/schema-migration.js +23 -0
- package/dist/src/business/schema-migration.js.map +1 -0
- package/dist/src/business/shared/assess-idea-creation-readiness.d.ts +3 -0
- package/dist/src/business/shared/assess-idea-creation-readiness.d.ts.map +1 -0
- package/dist/src/business/shared/assess-idea-creation-readiness.js +9 -0
- package/dist/src/business/shared/assess-idea-creation-readiness.js.map +1 -0
- package/dist/src/business/shared/assess-repository-readiness-with.d.ts +18 -0
- package/dist/src/business/shared/assess-repository-readiness-with.d.ts.map +1 -0
- package/dist/src/business/shared/assess-repository-readiness-with.js +125 -0
- package/dist/src/business/shared/assess-repository-readiness-with.js.map +1 -0
- package/dist/src/business/shared/assess-repository-readiness.d.ts +3 -0
- package/dist/src/business/shared/assess-repository-readiness.d.ts.map +1 -0
- package/dist/src/business/shared/assess-repository-readiness.js +6 -0
- package/dist/src/business/shared/assess-repository-readiness.js.map +1 -0
- package/dist/src/business/shared/business-types.d.ts +151 -0
- package/dist/src/business/shared/business-types.d.ts.map +1 -0
- package/dist/src/business/shared/business-types.js +83 -0
- package/dist/src/business/shared/business-types.js.map +1 -0
- package/dist/src/business/shared/evaluate-local-readiness.d.ts +9 -0
- package/dist/src/business/shared/evaluate-local-readiness.d.ts.map +1 -0
- package/dist/src/business/shared/evaluate-local-readiness.js +97 -0
- package/dist/src/business/shared/evaluate-local-readiness.js.map +1 -0
- package/dist/src/business/shared/evaluate-primary-relation.d.ts +12 -0
- package/dist/src/business/shared/evaluate-primary-relation.d.ts.map +1 -0
- package/dist/src/business/shared/evaluate-primary-relation.js +40 -0
- package/dist/src/business/shared/evaluate-primary-relation.js.map +1 -0
- package/dist/src/business/shared/idea-layout.d.ts +55 -0
- package/dist/src/business/shared/idea-layout.d.ts.map +1 -0
- package/dist/src/business/shared/idea-layout.js +434 -0
- package/dist/src/business/shared/idea-layout.js.map +1 -0
- package/dist/src/business/shared/index.d.ts +18 -0
- package/dist/src/business/shared/index.d.ts.map +1 -0
- package/dist/src/business/shared/index.js +17 -0
- package/dist/src/business/shared/index.js.map +1 -0
- package/dist/src/business/shared/inspect-candidate.d.ts +5 -0
- package/dist/src/business/shared/inspect-candidate.d.ts.map +1 -0
- package/dist/src/business/shared/inspect-candidate.js +57 -0
- package/dist/src/business/shared/inspect-candidate.js.map +1 -0
- package/dist/src/business/shared/metadata-failure-observation.d.ts +21 -0
- package/dist/src/business/shared/metadata-failure-observation.d.ts.map +1 -0
- package/dist/src/business/shared/metadata-failure-observation.js +30 -0
- package/dist/src/business/shared/metadata-failure-observation.js.map +1 -0
- package/dist/src/business/shared/observe-device.d.ts +150 -0
- package/dist/src/business/shared/observe-device.d.ts.map +1 -0
- package/dist/src/business/shared/observe-device.js +71 -0
- package/dist/src/business/shared/observe-device.js.map +1 -0
- package/dist/src/business/shared/observe-idea.d.ts +14 -0
- package/dist/src/business/shared/observe-idea.d.ts.map +1 -0
- package/dist/src/business/shared/observe-idea.js +14 -0
- package/dist/src/business/shared/observe-idea.js.map +1 -0
- package/dist/src/business/shared/observe-project.d.ts +39 -0
- package/dist/src/business/shared/observe-project.d.ts.map +1 -0
- package/dist/src/business/shared/observe-project.js +11 -0
- package/dist/src/business/shared/observe-project.js.map +1 -0
- package/dist/src/business/shared/observe-snapshot.d.ts +35 -0
- package/dist/src/business/shared/observe-snapshot.d.ts.map +1 -0
- package/dist/src/business/shared/observe-snapshot.js +518 -0
- package/dist/src/business/shared/observe-snapshot.js.map +1 -0
- package/dist/src/business/shared/read-idea-inventory-item.d.ts +13 -0
- package/dist/src/business/shared/read-idea-inventory-item.d.ts.map +1 -0
- package/dist/src/business/shared/read-idea-inventory-item.js +18 -0
- package/dist/src/business/shared/read-idea-inventory-item.js.map +1 -0
- package/dist/src/business/shared/resolve-idea.d.ts +7 -0
- package/dist/src/business/shared/resolve-idea.d.ts.map +1 -0
- package/dist/src/business/shared/resolve-idea.js +14 -0
- package/dist/src/business/shared/resolve-idea.js.map +1 -0
- package/dist/src/business/shared/with-observation-language.d.ts +3 -0
- package/dist/src/business/shared/with-observation-language.d.ts.map +1 -0
- package/dist/src/business/shared/with-observation-language.js +20 -0
- package/dist/src/business/shared/with-observation-language.js.map +1 -0
- package/dist/src/business/whats-next.d.ts +94 -0
- package/dist/src/business/whats-next.d.ts.map +1 -0
- package/dist/src/business/whats-next.js +208 -0
- package/dist/src/business/whats-next.js.map +1 -0
- package/dist/src/foundation/command-message/index.d.ts +3 -0
- package/dist/src/foundation/command-message/index.d.ts.map +1 -0
- package/dist/src/foundation/command-message/index.js +3 -0
- package/dist/src/foundation/command-message/index.js.map +1 -0
- package/dist/src/foundation/command-message/observation.d.ts +223 -0
- package/dist/src/foundation/command-message/observation.d.ts.map +1 -0
- package/dist/src/foundation/command-message/observation.js +364 -0
- package/dist/src/foundation/command-message/observation.js.map +1 -0
- package/dist/src/foundation/command-message/runtime.d.ts +214 -0
- package/dist/src/foundation/command-message/runtime.d.ts.map +1 -0
- package/dist/src/foundation/command-message/runtime.js +215 -0
- package/dist/src/foundation/command-message/runtime.js.map +1 -0
- package/dist/src/foundation/coordinates/index.d.ts +3 -0
- package/dist/src/foundation/coordinates/index.d.ts.map +1 -0
- package/dist/src/foundation/coordinates/index.js +3 -0
- package/dist/src/foundation/coordinates/index.js.map +1 -0
- package/dist/src/foundation/coordinates/layout.d.ts +27 -0
- package/dist/src/foundation/coordinates/layout.d.ts.map +1 -0
- package/dist/src/foundation/coordinates/layout.js +41 -0
- package/dist/src/foundation/coordinates/layout.js.map +1 -0
- package/dist/src/foundation/coordinates/repository.d.ts +16 -0
- package/dist/src/foundation/coordinates/repository.d.ts.map +1 -0
- package/dist/src/foundation/coordinates/repository.js +75 -0
- package/dist/src/foundation/coordinates/repository.js.map +1 -0
- package/dist/src/foundation/device-config/index.d.ts +2 -0
- package/dist/src/foundation/device-config/index.d.ts.map +1 -0
- package/dist/src/foundation/device-config/index.js +2 -0
- package/dist/src/foundation/device-config/index.js.map +1 -0
- package/dist/src/foundation/device-config/user-config.d.ts +19 -0
- package/dist/src/foundation/device-config/user-config.d.ts.map +1 -0
- package/dist/src/foundation/device-config/user-config.js +94 -0
- package/dist/src/foundation/device-config/user-config.js.map +1 -0
- package/dist/src/foundation/event-codec/grammar.d.ts +172 -0
- package/dist/src/foundation/event-codec/grammar.d.ts.map +1 -0
- package/dist/src/foundation/event-codec/grammar.js +383 -0
- package/dist/src/foundation/event-codec/grammar.js.map +1 -0
- package/dist/src/foundation/event-codec/index.d.ts +3 -0
- package/dist/src/foundation/event-codec/index.d.ts.map +1 -0
- package/dist/src/foundation/event-codec/index.js +2 -0
- package/dist/src/foundation/event-codec/index.js.map +1 -0
- package/dist/src/foundation/event-cursor/cursor.d.ts +40 -0
- package/dist/src/foundation/event-cursor/cursor.d.ts.map +1 -0
- package/dist/src/foundation/event-cursor/cursor.js +42 -0
- package/dist/src/foundation/event-cursor/cursor.js.map +1 -0
- package/dist/src/foundation/event-cursor/index.d.ts +2 -0
- package/dist/src/foundation/event-cursor/index.d.ts.map +1 -0
- package/dist/src/foundation/event-cursor/index.js +2 -0
- package/dist/src/foundation/event-cursor/index.js.map +1 -0
- package/dist/src/foundation/event-history/digest.d.ts +2 -0
- package/dist/src/foundation/event-history/digest.d.ts.map +1 -0
- package/dist/src/foundation/event-history/digest.js +2 -0
- package/dist/src/foundation/event-history/digest.js.map +1 -0
- package/dist/src/foundation/event-history/history.d.ts +86 -0
- package/dist/src/foundation/event-history/history.d.ts.map +1 -0
- package/dist/src/foundation/event-history/history.js +481 -0
- package/dist/src/foundation/event-history/history.js.map +1 -0
- package/dist/src/foundation/event-history/index.d.ts +3 -0
- package/dist/src/foundation/event-history/index.d.ts.map +1 -0
- package/dist/src/foundation/event-history/index.js +3 -0
- package/dist/src/foundation/event-history/index.js.map +1 -0
- package/dist/src/foundation/event-reducer/index.d.ts +2 -0
- package/dist/src/foundation/event-reducer/index.d.ts.map +1 -0
- package/dist/src/foundation/event-reducer/index.js +2 -0
- package/dist/src/foundation/event-reducer/index.js.map +1 -0
- package/dist/src/foundation/event-reducer/policy.d.ts +69 -0
- package/dist/src/foundation/event-reducer/policy.d.ts.map +1 -0
- package/dist/src/foundation/event-reducer/policy.js +138 -0
- package/dist/src/foundation/event-reducer/policy.js.map +1 -0
- package/dist/src/foundation/event-store/digest.d.ts +11 -0
- package/dist/src/foundation/event-store/digest.d.ts.map +1 -0
- package/dist/src/foundation/event-store/digest.js +38 -0
- package/dist/src/foundation/event-store/digest.js.map +1 -0
- package/dist/src/foundation/event-store/index.d.ts +3 -0
- package/dist/src/foundation/event-store/index.d.ts.map +1 -0
- package/dist/src/foundation/event-store/index.js +3 -0
- package/dist/src/foundation/event-store/index.js.map +1 -0
- package/dist/src/foundation/event-store/storage.d.ts +50 -0
- package/dist/src/foundation/event-store/storage.d.ts.map +1 -0
- package/dist/src/foundation/event-store/storage.js +109 -0
- package/dist/src/foundation/event-store/storage.js.map +1 -0
- package/dist/src/foundation/git/derived-cache.d.ts +5 -0
- package/dist/src/foundation/git/derived-cache.d.ts.map +1 -0
- package/dist/src/foundation/git/derived-cache.js +117 -0
- package/dist/src/foundation/git/derived-cache.js.map +1 -0
- package/dist/src/foundation/git/git.d.ts +100 -0
- package/dist/src/foundation/git/git.d.ts.map +1 -0
- package/dist/src/foundation/git/git.js +677 -0
- package/dist/src/foundation/git/git.js.map +1 -0
- package/dist/src/foundation/git/index.d.ts +3 -0
- package/dist/src/foundation/git/index.d.ts.map +1 -0
- package/dist/src/foundation/git/index.js +3 -0
- package/dist/src/foundation/git/index.js.map +1 -0
- package/dist/src/foundation/guidance/guidance.d.ts +36 -0
- package/dist/src/foundation/guidance/guidance.d.ts.map +1 -0
- package/dist/src/foundation/guidance/guidance.js +198 -0
- package/dist/src/foundation/guidance/guidance.js.map +1 -0
- package/dist/src/foundation/guidance/index.d.ts +3 -0
- package/dist/src/foundation/guidance/index.d.ts.map +1 -0
- package/dist/src/foundation/guidance/index.js +3 -0
- package/dist/src/foundation/guidance/index.js.map +1 -0
- package/dist/src/foundation/guidance/rules.d.ts +36 -0
- package/dist/src/foundation/guidance/rules.d.ts.map +1 -0
- package/dist/src/foundation/guidance/rules.js +65 -0
- package/dist/src/foundation/guidance/rules.js.map +1 -0
- package/dist/src/foundation/idea-model/index.d.ts +3 -0
- package/dist/src/foundation/idea-model/index.d.ts.map +1 -0
- package/dist/src/foundation/idea-model/index.js +3 -0
- package/dist/src/foundation/idea-model/index.js.map +1 -0
- package/dist/src/foundation/idea-model/status.d.ts +28 -0
- package/dist/src/foundation/idea-model/status.d.ts.map +1 -0
- package/dist/src/foundation/idea-model/status.js +192 -0
- package/dist/src/foundation/idea-model/status.js.map +1 -0
- package/dist/src/foundation/idea-model/ulid.d.ts +6 -0
- package/dist/src/foundation/idea-model/ulid.d.ts.map +1 -0
- package/dist/src/foundation/idea-model/ulid.js +16 -0
- package/dist/src/foundation/idea-model/ulid.js.map +1 -0
- package/dist/src/foundation/idea-query/index.d.ts +3 -0
- package/dist/src/foundation/idea-query/index.d.ts.map +1 -0
- package/dist/src/foundation/idea-query/index.js +3 -0
- package/dist/src/foundation/idea-query/index.js.map +1 -0
- package/dist/src/foundation/idea-query/query.d.ts +13 -0
- package/dist/src/foundation/idea-query/query.d.ts.map +1 -0
- package/dist/src/foundation/idea-query/query.js +17 -0
- package/dist/src/foundation/idea-query/query.js.map +1 -0
- package/dist/src/foundation/idea-query/rules.d.ts +55 -0
- package/dist/src/foundation/idea-query/rules.d.ts.map +1 -0
- package/dist/src/foundation/idea-query/rules.js +223 -0
- package/dist/src/foundation/idea-query/rules.js.map +1 -0
- package/dist/src/foundation/idea-template/index.d.ts +2 -0
- package/dist/src/foundation/idea-template/index.d.ts.map +1 -0
- package/dist/src/foundation/idea-template/index.js +2 -0
- package/dist/src/foundation/idea-template/index.js.map +1 -0
- package/dist/src/foundation/idea-template/templates.d.ts +21 -0
- package/dist/src/foundation/idea-template/templates.d.ts.map +1 -0
- package/dist/src/foundation/idea-template/templates.js +265 -0
- package/dist/src/foundation/idea-template/templates.js.map +1 -0
- package/dist/src/foundation/installation/device-readiness.d.ts +94 -0
- package/dist/src/foundation/installation/device-readiness.d.ts.map +1 -0
- package/dist/src/foundation/installation/device-readiness.js +274 -0
- package/dist/src/foundation/installation/device-readiness.js.map +1 -0
- package/dist/src/foundation/installation/index.d.ts +4 -0
- package/dist/src/foundation/installation/index.d.ts.map +1 -0
- package/dist/src/foundation/installation/index.js +4 -0
- package/dist/src/foundation/installation/index.js.map +1 -0
- package/dist/src/foundation/installation/installation.d.ts +25 -0
- package/dist/src/foundation/installation/installation.d.ts.map +1 -0
- package/dist/src/foundation/installation/installation.js +125 -0
- package/dist/src/foundation/installation/installation.js.map +1 -0
- package/dist/src/foundation/installation/rules.d.ts +12 -0
- package/dist/src/foundation/installation/rules.d.ts.map +1 -0
- package/dist/src/foundation/installation/rules.js +63 -0
- package/dist/src/foundation/installation/rules.js.map +1 -0
- package/dist/src/foundation/language/index.d.ts +3 -0
- package/dist/src/foundation/language/index.d.ts.map +1 -0
- package/dist/src/foundation/language/index.js +2 -0
- package/dist/src/foundation/language/index.js.map +1 -0
- package/dist/src/foundation/language/language.d.ts +36 -0
- package/dist/src/foundation/language/language.d.ts.map +1 -0
- package/dist/src/foundation/language/language.js +94 -0
- package/dist/src/foundation/language/language.js.map +1 -0
- package/dist/src/foundation/owned-write/index.d.ts +2 -0
- package/dist/src/foundation/owned-write/index.d.ts.map +1 -0
- package/dist/src/foundation/owned-write/index.js +2 -0
- package/dist/src/foundation/owned-write/index.js.map +1 -0
- package/dist/src/foundation/owned-write/writer.d.ts +86 -0
- package/dist/src/foundation/owned-write/writer.d.ts.map +1 -0
- package/dist/src/foundation/owned-write/writer.js +244 -0
- package/dist/src/foundation/owned-write/writer.js.map +1 -0
- package/dist/src/foundation/package-resource/index.d.ts +2 -0
- package/dist/src/foundation/package-resource/index.d.ts.map +1 -0
- package/dist/src/foundation/package-resource/index.js +2 -0
- package/dist/src/foundation/package-resource/index.js.map +1 -0
- package/dist/src/foundation/package-resource/npm-tarball.d.ts +15 -0
- package/dist/src/foundation/package-resource/npm-tarball.d.ts.map +1 -0
- package/dist/src/foundation/package-resource/npm-tarball.js +124 -0
- package/dist/src/foundation/package-resource/npm-tarball.js.map +1 -0
- package/dist/src/foundation/process/index.d.ts +3 -0
- package/dist/src/foundation/process/index.d.ts.map +1 -0
- package/dist/src/foundation/process/index.js +3 -0
- package/dist/src/foundation/process/index.js.map +1 -0
- package/dist/src/foundation/process/npm-command.d.ts +9 -0
- package/dist/src/foundation/process/npm-command.d.ts.map +1 -0
- package/dist/src/foundation/process/npm-command.js +11 -0
- package/dist/src/foundation/process/npm-command.js.map +1 -0
- package/dist/src/foundation/process/subprocess.d.ts +8 -0
- package/dist/src/foundation/process/subprocess.d.ts.map +1 -0
- package/dist/src/foundation/process/subprocess.js +12 -0
- package/dist/src/foundation/process/subprocess.js.map +1 -0
- package/dist/src/foundation/project-config/config.d.ts +30 -0
- package/dist/src/foundation/project-config/config.d.ts.map +1 -0
- package/dist/src/foundation/project-config/config.js +112 -0
- package/dist/src/foundation/project-config/config.js.map +1 -0
- package/dist/src/foundation/project-config/index.d.ts +3 -0
- package/dist/src/foundation/project-config/index.d.ts.map +1 -0
- package/dist/src/foundation/project-config/index.js +3 -0
- package/dist/src/foundation/project-config/index.js.map +1 -0
- package/dist/src/foundation/project-config/rules.d.ts +32 -0
- package/dist/src/foundation/project-config/rules.d.ts.map +1 -0
- package/dist/src/foundation/project-config/rules.js +119 -0
- package/dist/src/foundation/project-config/rules.js.map +1 -0
- package/dist/src/foundation/projection-cache/index.d.ts +2 -0
- package/dist/src/foundation/projection-cache/index.d.ts.map +1 -0
- package/dist/src/foundation/projection-cache/index.js +2 -0
- package/dist/src/foundation/projection-cache/index.js.map +1 -0
- package/dist/src/foundation/projection-cache/projection.d.ts +36 -0
- package/dist/src/foundation/projection-cache/projection.d.ts.map +1 -0
- package/dist/src/foundation/projection-cache/projection.js +105 -0
- package/dist/src/foundation/projection-cache/projection.js.map +1 -0
- package/dist/src/foundation/renderer/index.d.ts +3 -0
- package/dist/src/foundation/renderer/index.d.ts.map +1 -0
- package/dist/src/foundation/renderer/index.js +3 -0
- package/dist/src/foundation/renderer/index.js.map +1 -0
- package/dist/src/foundation/renderer/markdown.d.ts +7 -0
- package/dist/src/foundation/renderer/markdown.d.ts.map +1 -0
- package/dist/src/foundation/renderer/markdown.js +355 -0
- package/dist/src/foundation/renderer/markdown.js.map +1 -0
- package/dist/src/foundation/renderer/render.d.ts +6 -0
- package/dist/src/foundation/renderer/render.d.ts.map +1 -0
- package/dist/src/foundation/renderer/render.js +23 -0
- package/dist/src/foundation/renderer/render.js.map +1 -0
- package/dist/src/foundation/report/dialogue.d.ts +37 -0
- package/dist/src/foundation/report/dialogue.d.ts.map +1 -0
- package/dist/src/foundation/report/dialogue.js +59 -0
- package/dist/src/foundation/report/dialogue.js.map +1 -0
- package/dist/src/foundation/report/index.d.ts +6 -0
- package/dist/src/foundation/report/index.d.ts.map +1 -0
- package/dist/src/foundation/report/index.js +6 -0
- package/dist/src/foundation/report/index.js.map +1 -0
- package/dist/src/foundation/report/instructions.d.ts +77 -0
- package/dist/src/foundation/report/instructions.d.ts.map +1 -0
- package/dist/src/foundation/report/instructions.js +374 -0
- package/dist/src/foundation/report/instructions.js.map +1 -0
- package/dist/src/foundation/report/observation.d.ts +31 -0
- package/dist/src/foundation/report/observation.d.ts.map +1 -0
- package/dist/src/foundation/report/observation.js +83 -0
- package/dist/src/foundation/report/observation.js.map +1 -0
- package/dist/src/foundation/report/projection.d.ts +7 -0
- package/dist/src/foundation/report/projection.d.ts.map +1 -0
- package/dist/src/foundation/report/projection.js +199 -0
- package/dist/src/foundation/report/projection.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/contract.d.ts +148 -0
- package/dist/src/foundation/report/templates/whats-next/contract.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/contract.js +34 -0
- package/dist/src/foundation/report/templates/whats-next/contract.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/content-language.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/content-language.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/content-language.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/content-language.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/detached-head.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/detached-head.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/detached-head.js +10 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/detached-head.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/event-history-invalid.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/event-history-invalid.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/event-history-invalid.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/event-history-invalid.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/head-missing.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/head-missing.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/head-missing.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/head-missing.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/idea-metadata-unavailable.d.ts +12 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/idea-metadata-unavailable.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/idea-metadata-unavailable.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/idea-metadata-unavailable.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/idea-not-found.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/idea-not-found.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/idea-not-found.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/idea-not-found.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/index.d.ts +63 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/index.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/index.js +63 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/index.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-deploying.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-deploying.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-deploying.js +13 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-deploying.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-implementing.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-implementing.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-implementing.js +13 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-implementing.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-inactive.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-inactive.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-inactive.js +11 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-inactive.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-preparing.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-preparing.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-preparing.js +13 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/lifecycle-preparing.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/navigation-ready.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/navigation-ready.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/navigation-ready.js +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/navigation-ready.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/phase-guidance-invalid.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/phase-guidance-invalid.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/phase-guidance-invalid.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/phase-guidance-invalid.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/preparation-seed.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/preparation-seed.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/preparation-seed.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/preparation-seed.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-ahead.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-ahead.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-ahead.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-ahead.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-ancestry-inspection-failed.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-ancestry-inspection-failed.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-ancestry-inspection-failed.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-ancestry-inspection-failed.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-behind.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-behind.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-behind.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-behind.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-diverged.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-diverged.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-diverged.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-diverged.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-fetch-failed.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-fetch-failed.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-fetch-failed.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-fetch-failed.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-history-incomplete.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-history-incomplete.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-history-incomplete.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-history-incomplete.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-upstream-mismatch.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-upstream-mismatch.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-upstream-mismatch.js +11 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/primary-upstream-mismatch.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/project-recheck.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/project-recheck.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/project-recheck.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/project-recheck.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/repository-recheck.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/repository-recheck.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/repository-recheck.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/repository-recheck.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/review-presentation-instruction.d.ts +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/review-presentation-instruction.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/review-presentation-instruction.js +10 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/review-presentation-instruction.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/review-presentation.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/review-presentation.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/review-presentation.js +39 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/review-presentation.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-changes-step.d.ts +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-changes-step.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-changes-step.js +10 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-changes-step.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-conflict-step.d.ts +8 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-conflict-step.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-conflict-step.js +10 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-conflict-step.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-conflicts.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-conflicts.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-conflicts.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-conflicts.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-inspection-failed.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-inspection-failed.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-inspection-failed.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-inspection-failed.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-summary.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-summary.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-summary.js +12 -0
- package/dist/src/foundation/report/templates/whats-next/en-US/worktree-summary.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/index.d.ts +5 -0
- package/dist/src/foundation/report/templates/whats-next/index.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/index.js +4 -0
- package/dist/src/foundation/report/templates/whats-next/index.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/registry.d.ts +4 -0
- package/dist/src/foundation/report/templates/whats-next/registry.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/registry.js +14 -0
- package/dist/src/foundation/report/templates/whats-next/registry.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/renderers.d.ts +63 -0
- package/dist/src/foundation/report/templates/whats-next/renderers.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/renderers.js +176 -0
- package/dist/src/foundation/report/templates/whats-next/renderers.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/content-language.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/content-language.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/content-language.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/content-language.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/detached-head.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/detached-head.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/detached-head.js +10 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/detached-head.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/event-history-invalid.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/event-history-invalid.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/event-history-invalid.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/event-history-invalid.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/head-missing.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/head-missing.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/head-missing.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/head-missing.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/idea-metadata-unavailable.d.ts +12 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/idea-metadata-unavailable.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/idea-metadata-unavailable.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/idea-metadata-unavailable.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/idea-not-found.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/idea-not-found.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/idea-not-found.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/idea-not-found.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/index.d.ts +63 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/index.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/index.js +63 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/index.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-deploying.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-deploying.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-deploying.js +13 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-deploying.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-implementing.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-implementing.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-implementing.js +13 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-implementing.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-inactive.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-inactive.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-inactive.js +11 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-inactive.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-preparing.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-preparing.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-preparing.js +13 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/lifecycle-preparing.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/navigation-ready.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/navigation-ready.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/navigation-ready.js +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/navigation-ready.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/phase-guidance-invalid.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/phase-guidance-invalid.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/phase-guidance-invalid.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/phase-guidance-invalid.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/preparation-seed.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/preparation-seed.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/preparation-seed.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/preparation-seed.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-ahead.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-ahead.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-ahead.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-ahead.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-ancestry-inspection-failed.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-ancestry-inspection-failed.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-ancestry-inspection-failed.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-ancestry-inspection-failed.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-behind.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-behind.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-behind.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-behind.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-diverged.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-diverged.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-diverged.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-diverged.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-fetch-failed.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-fetch-failed.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-fetch-failed.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-fetch-failed.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-history-incomplete.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-history-incomplete.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-history-incomplete.js +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-history-incomplete.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-upstream-mismatch.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-upstream-mismatch.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-upstream-mismatch.js +11 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/primary-upstream-mismatch.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/project-recheck.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/project-recheck.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/project-recheck.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/project-recheck.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/repository-recheck.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/repository-recheck.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/repository-recheck.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/repository-recheck.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/review-presentation-instruction.d.ts +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/review-presentation-instruction.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/review-presentation-instruction.js +10 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/review-presentation-instruction.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/review-presentation.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/review-presentation.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/review-presentation.js +39 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/review-presentation.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-changes-step.d.ts +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-changes-step.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-changes-step.js +10 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-changes-step.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-conflict-step.d.ts +8 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-conflict-step.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-conflict-step.js +10 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-conflict-step.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-conflicts.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-conflicts.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-conflicts.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-conflicts.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-inspection-failed.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-inspection-failed.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-inspection-failed.js +5 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-inspection-failed.js.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-summary.d.ts +9 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-summary.d.ts.map +1 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-summary.js +12 -0
- package/dist/src/foundation/report/templates/whats-next/zh-CN/worktree-summary.js.map +1 -0
- package/dist/src/foundation/report/types.d.ts +321 -0
- package/dist/src/foundation/report/types.d.ts.map +1 -0
- package/dist/src/foundation/report/types.js +2 -0
- package/dist/src/foundation/report/types.js.map +1 -0
- package/dist/src/foundation/scaffold-plan/index.d.ts +2 -0
- package/dist/src/foundation/scaffold-plan/index.d.ts.map +1 -0
- package/dist/src/foundation/scaffold-plan/index.js +2 -0
- package/dist/src/foundation/scaffold-plan/index.js.map +1 -0
- package/dist/src/foundation/scaffold-plan/scaffold-plan.d.ts +11 -0
- package/dist/src/foundation/scaffold-plan/scaffold-plan.d.ts.map +1 -0
- package/dist/src/foundation/scaffold-plan/scaffold-plan.js +36 -0
- package/dist/src/foundation/scaffold-plan/scaffold-plan.js.map +1 -0
- package/dist/src/foundation/schema/index.d.ts +3 -0
- package/dist/src/foundation/schema/index.d.ts.map +1 -0
- package/dist/src/foundation/schema/index.js +3 -0
- package/dist/src/foundation/schema/index.js.map +1 -0
- package/dist/src/foundation/schema/schema.d.ts +3 -0
- package/dist/src/foundation/schema/schema.d.ts.map +1 -0
- package/dist/src/foundation/schema/schema.js +10 -0
- package/dist/src/foundation/schema/schema.js.map +1 -0
- package/dist/src/foundation/schema/yaml.d.ts +10 -0
- package/dist/src/foundation/schema/yaml.d.ts.map +1 -0
- package/dist/src/foundation/schema/yaml.js +60 -0
- package/dist/src/foundation/schema/yaml.js.map +1 -0
- package/dist/src/foundation/schema-capability/index.d.ts +6 -0
- package/dist/src/foundation/schema-capability/index.d.ts.map +1 -0
- package/dist/src/foundation/schema-capability/index.js +4 -0
- package/dist/src/foundation/schema-capability/index.js.map +1 -0
- package/dist/src/foundation/schema-capability/inspection.d.ts +38 -0
- package/dist/src/foundation/schema-capability/inspection.d.ts.map +1 -0
- package/dist/src/foundation/schema-capability/inspection.js +249 -0
- package/dist/src/foundation/schema-capability/inspection.js.map +1 -0
- package/dist/src/foundation/schema-capability/manifest.d.ts +6 -0
- package/dist/src/foundation/schema-capability/manifest.d.ts.map +1 -0
- package/dist/src/foundation/schema-capability/manifest.js +17 -0
- package/dist/src/foundation/schema-capability/manifest.js.map +1 -0
- package/dist/src/foundation/schema-capability/rules.d.ts +38 -0
- package/dist/src/foundation/schema-capability/rules.d.ts.map +1 -0
- package/dist/src/foundation/schema-capability/rules.js +297 -0
- package/dist/src/foundation/schema-capability/rules.js.map +1 -0
- package/dist/src/foundation/skill-registration/adoption.d.ts +40 -0
- package/dist/src/foundation/skill-registration/adoption.d.ts.map +1 -0
- package/dist/src/foundation/skill-registration/adoption.js +63 -0
- package/dist/src/foundation/skill-registration/adoption.js.map +1 -0
- package/dist/src/foundation/skill-registration/index.d.ts +2 -0
- package/dist/src/foundation/skill-registration/index.d.ts.map +1 -0
- package/dist/src/foundation/skill-registration/index.js +2 -0
- package/dist/src/foundation/skill-registration/index.js.map +1 -0
- package/dist/src/foundation/skill-registration/rules.d.ts +2 -0
- package/dist/src/foundation/skill-registration/rules.d.ts.map +1 -0
- package/dist/src/foundation/skill-registration/rules.js +2 -0
- package/dist/src/foundation/skill-registration/rules.js.map +1 -0
- package/dist/src/foundation/snapshot/git-snapshot.d.ts +40 -0
- package/dist/src/foundation/snapshot/git-snapshot.d.ts.map +1 -0
- package/dist/src/foundation/snapshot/git-snapshot.js +168 -0
- package/dist/src/foundation/snapshot/git-snapshot.js.map +1 -0
- package/dist/src/foundation/snapshot/index.d.ts +2 -0
- package/dist/src/foundation/snapshot/index.d.ts.map +1 -0
- package/dist/src/foundation/snapshot/index.js +2 -0
- package/dist/src/foundation/snapshot/index.js.map +1 -0
- package/dist/src/foundation/state-transaction/index.d.ts +2 -0
- package/dist/src/foundation/state-transaction/index.d.ts.map +1 -0
- package/dist/src/foundation/state-transaction/index.js +2 -0
- package/dist/src/foundation/state-transaction/index.js.map +1 -0
- package/dist/src/foundation/state-transaction/state-transaction.d.ts +48 -0
- package/dist/src/foundation/state-transaction/state-transaction.d.ts.map +1 -0
- package/dist/src/foundation/state-transaction/state-transaction.js +364 -0
- package/dist/src/foundation/state-transaction/state-transaction.js.map +1 -0
- package/dist/src/foundation/terminal/index.d.ts +2 -0
- package/dist/src/foundation/terminal/index.d.ts.map +1 -0
- package/dist/src/foundation/terminal/index.js +2 -0
- package/dist/src/foundation/terminal/index.js.map +1 -0
- package/dist/src/foundation/terminal/terminal.d.ts +17 -0
- package/dist/src/foundation/terminal/terminal.d.ts.map +1 -0
- package/dist/src/foundation/terminal/terminal.js +12 -0
- package/dist/src/foundation/terminal/terminal.js.map +1 -0
- package/dist/src/foundation/trace/index.d.ts +2 -0
- package/dist/src/foundation/trace/index.d.ts.map +1 -0
- package/dist/src/foundation/trace/index.js +2 -0
- package/dist/src/foundation/trace/index.js.map +1 -0
- package/dist/src/foundation/trace/trace.d.ts +12 -0
- package/dist/src/foundation/trace/trace.d.ts.map +1 -0
- package/dist/src/foundation/trace/trace.js +299 -0
- package/dist/src/foundation/trace/trace.js.map +1 -0
- package/dist/src/foundation/tui/index.d.ts +3 -0
- package/dist/src/foundation/tui/index.d.ts.map +1 -0
- package/dist/src/foundation/tui/index.js +3 -0
- package/dist/src/foundation/tui/index.js.map +1 -0
- package/dist/src/foundation/tui/table.d.ts +10 -0
- package/dist/src/foundation/tui/table.d.ts.map +1 -0
- package/dist/src/foundation/tui/table.js +91 -0
- package/dist/src/foundation/tui/table.js.map +1 -0
- package/dist/src/foundation/tui/tui.d.ts +33 -0
- package/dist/src/foundation/tui/tui.d.ts.map +1 -0
- package/dist/src/foundation/tui/tui.js +157 -0
- package/dist/src/foundation/tui/tui.js.map +1 -0
- package/dist/src/index.d.ts +17 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +16 -0
- package/dist/src/index.js.map +1 -0
- package/docs/core-concepts.md +48 -7
- package/docs/getting-started.md +60 -45
- package/docs/maintaining.md +132 -9
- package/docs/npm-package-releases.md +38 -9
- package/docs/operations.md +109 -35
- package/docs/reference.md +304 -35
- package/docs/repository-tasks.md +61 -20
- package/package.json +53 -27
- package/schema/capabilities.json +95 -0
- package/schema/capability-manifest.schema.json +139 -0
- package/schema/v1/command-report.schema.json +4 -2
- package/schema/v1/domain-message.schema.json +2 -1
- package/schema/v2/config.schema.json +14 -0
- package/schema/v2/idea-event.schema.json +121 -0
- package/skills/silvermoon/SKILL.md +204 -112
- package/skills/silvermoon/references/adoption.md +55 -24
- package/skills/silvermoon/references/events.md +296 -0
- package/bin/silvermoon.js +0 -10
- package/src/adoption.js +0 -559
- package/src/cli.js +0 -377
- package/src/config.js +0 -253
- package/src/create-idea.js +0 -497
- package/src/dialogue.js +0 -69
- package/src/domain.js +0 -592
- package/src/git-snapshot.js +0 -212
- package/src/git.js +0 -624
- package/src/guidance.js +0 -281
- package/src/idea-layout.js +0 -411
- package/src/idea-metadata.js +0 -48
- package/src/idea-query.js +0 -230
- package/src/idea-templates.js +0 -242
- package/src/ideas.js +0 -142
- package/src/index.js +0 -386
- package/src/language.js +0 -78
- package/src/layout.js +0 -38
- package/src/list-ideas.js +0 -196
- package/src/observation.js +0 -370
- package/src/repository.js +0 -82
- package/src/response.js +0 -492
- package/src/subprocess.js +0 -27
- package/src/trace.js +0 -292
- package/src/tui-table.js +0 -71
- package/src/tui.js +0 -205
- package/src/user-config.js +0 -135
- package/src/whatsnext.js +0 -726
- package/src/yaml.js +0 -66
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { DEFAULT_LANGUAGE, localize, resolveOutputLanguage } from "../language/index.js";
|
|
2
|
+
const BLOCKED_STATES = new Set([
|
|
3
|
+
"check-unavailable",
|
|
4
|
+
"idea-create-failed",
|
|
5
|
+
"phase-guidance-invalid",
|
|
6
|
+
"project-setup-required",
|
|
7
|
+
"repository-preparation-required",
|
|
8
|
+
"repository-sync-required",
|
|
9
|
+
]);
|
|
10
|
+
/** @pure */
|
|
11
|
+
function clone(value) {
|
|
12
|
+
return structuredClone(value);
|
|
13
|
+
}
|
|
14
|
+
/** @pure */
|
|
15
|
+
function responseLanguage(intention, observation) {
|
|
16
|
+
return observation.outputLanguage
|
|
17
|
+
?? resolveOutputLanguage({
|
|
18
|
+
...(observation.configuration?.preferredLanguage === undefined
|
|
19
|
+
? {}
|
|
20
|
+
: { content: observation.configuration.preferredLanguage }),
|
|
21
|
+
...(intention.args.language === undefined || intention.args.language === null
|
|
22
|
+
? {}
|
|
23
|
+
: { override: intention.args.language }),
|
|
24
|
+
}).tag
|
|
25
|
+
?? DEFAULT_LANGUAGE;
|
|
26
|
+
}
|
|
27
|
+
/** @pure */
|
|
28
|
+
function normalizeNextSteps(nextSteps) {
|
|
29
|
+
if (nextSteps === undefined || nextSteps === null || nextSteps === "") {
|
|
30
|
+
return [];
|
|
31
|
+
}
|
|
32
|
+
const values = Array.isArray(nextSteps) ? nextSteps : [nextSteps];
|
|
33
|
+
return values.map((step) => ({ type: "instruction", text: step }));
|
|
34
|
+
}
|
|
35
|
+
/** @pure */
|
|
36
|
+
function observationDetails(observation) {
|
|
37
|
+
const details = {};
|
|
38
|
+
if (observation.root !== undefined)
|
|
39
|
+
details.root = observation.root;
|
|
40
|
+
if (observation.version !== undefined)
|
|
41
|
+
details.version = clone(observation.version);
|
|
42
|
+
if (observation.configuration !== undefined) {
|
|
43
|
+
details.primary = {
|
|
44
|
+
repository: observation.configuration.primaryRepository,
|
|
45
|
+
branch: observation.configuration.primaryBranch,
|
|
46
|
+
};
|
|
47
|
+
if (observation.configuration.preferredLanguage !== undefined) {
|
|
48
|
+
details.contentLanguage = observation.configuration.preferredLanguage;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return details;
|
|
52
|
+
}
|
|
53
|
+
/** @pure */
|
|
54
|
+
function blockedSummary(command, observation, language) {
|
|
55
|
+
const summaries = {
|
|
56
|
+
"check-unavailable": localize(language, "The requested repository snapshot could not be validated.", "无法验证请求的 repository snapshot。"),
|
|
57
|
+
"idea-create-failed": localize(language, "The repository was ready, but creating the idea failed.", "repository 已就绪,但创建 idea 失败。"),
|
|
58
|
+
"phase-guidance-invalid": localize(language, "The current phase guidance is invalid.", "当前阶段 guidance 无效。"),
|
|
59
|
+
"project-setup-required": localize(language, "The project requires Silvermoon setup.", "项目需要完成 Silvermoon 整备。"),
|
|
60
|
+
"repository-preparation-required": localize(language, "The local repository must be prepared before creating an idea.", "创建 idea 前必须先整备本地 repository。"),
|
|
61
|
+
"repository-sync-required": localize(language, "The repository must be synchronized before this command can continue.", "继续此命令前必须先同步 repository。"),
|
|
62
|
+
};
|
|
63
|
+
return summaries[observation.state] ?? localize(language, `Command ${command} is blocked.`, `命令 ${command} 当前受阻。`);
|
|
64
|
+
}
|
|
65
|
+
/** @pure */
|
|
66
|
+
function validationResponse(intention, observation, language) {
|
|
67
|
+
const valid = observation.state === "project-ready";
|
|
68
|
+
return {
|
|
69
|
+
kind: "validation-result",
|
|
70
|
+
language,
|
|
71
|
+
summary: valid
|
|
72
|
+
? localize(language, "The requested Silvermoon snapshot is valid.", "请求的 Silvermoon snapshot 验证通过。")
|
|
73
|
+
: blockedSummary(intention.command, observation, language),
|
|
74
|
+
validation: {
|
|
75
|
+
target: clone(intention.args.target ?? { type: "worktree" }),
|
|
76
|
+
valid,
|
|
77
|
+
...(!("eventHistory" in observation) || observation.eventHistory === undefined
|
|
78
|
+
? {}
|
|
79
|
+
: { eventHistory: clone(observation.eventHistory) }),
|
|
80
|
+
...(observation.version === undefined
|
|
81
|
+
? {}
|
|
82
|
+
: { version: clone(observation.version) }),
|
|
83
|
+
},
|
|
84
|
+
problems: clone(observation.problems ?? []),
|
|
85
|
+
...(observation.schemas === undefined
|
|
86
|
+
? {}
|
|
87
|
+
: { schemas: clone(observation.schemas) }),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/** @pure */
|
|
91
|
+
function dialogueResponse(intention, internalObservation, language) {
|
|
92
|
+
const observation = internalObservation.observation;
|
|
93
|
+
const context = internalObservation.responseContext ?? {};
|
|
94
|
+
const base = {
|
|
95
|
+
language,
|
|
96
|
+
details: observationDetails(observation),
|
|
97
|
+
...(observation.device === undefined
|
|
98
|
+
? {}
|
|
99
|
+
: { device: clone(observation.device) }),
|
|
100
|
+
...(observation.schemas === undefined
|
|
101
|
+
? {}
|
|
102
|
+
: { schemas: clone(observation.schemas) }),
|
|
103
|
+
};
|
|
104
|
+
const nextSteps = normalizeNextSteps(context.nextSteps);
|
|
105
|
+
if (intention.command === "event" && observation.state === "event-result") {
|
|
106
|
+
return {
|
|
107
|
+
...base, kind: "event-result",
|
|
108
|
+
summary: localize(language, `Event result: ${observation.receipt.outcome}. Local writes are not primary integration.`, `事件结果:${observation.receipt.outcome}。本地写入不代表已集成 primary。`),
|
|
109
|
+
receipt: clone(observation.receipt), nextSteps,
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
if (BLOCKED_STATES.has(observation.state)) {
|
|
113
|
+
return {
|
|
114
|
+
...base,
|
|
115
|
+
kind: "blocked",
|
|
116
|
+
summary: blockedSummary(intention.command, observation, language),
|
|
117
|
+
problems: clone(observation.problems ?? []),
|
|
118
|
+
nextSteps,
|
|
119
|
+
...(!("selectedIdea" in observation) || observation.selectedIdea === undefined
|
|
120
|
+
? {}
|
|
121
|
+
: { idea: clone(observation.selectedIdea) }),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
if (intention.command === "create-idea" && observation.state === "idea-created") {
|
|
125
|
+
return {
|
|
126
|
+
...base,
|
|
127
|
+
kind: "idea-created",
|
|
128
|
+
summary: localize(language, `Created idea ${observation.createdIdea.id}.`, `已创建 idea ${observation.createdIdea.id}。`),
|
|
129
|
+
createdIdea: clone(observation.createdIdea),
|
|
130
|
+
nextSteps,
|
|
131
|
+
...(observation.guidance === undefined
|
|
132
|
+
? {}
|
|
133
|
+
: { guidance: clone(observation.guidance) }),
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
if (intention.command === "whats-next") {
|
|
137
|
+
if (observation.state === "navigation-ready") {
|
|
138
|
+
const choices = clone(observation.ideas.activeIdeas);
|
|
139
|
+
return {
|
|
140
|
+
...base,
|
|
141
|
+
kind: "choice-required",
|
|
142
|
+
summary: choices.length === 0
|
|
143
|
+
? localize(language, "Current state: navigation-ready. No active ideas are available.", "当前状态:navigation-ready。当前没有 active idea。")
|
|
144
|
+
: localize(language, `Current state: navigation-ready. ${choices.length} active idea(s) are available.`, `当前状态:navigation-ready。当前有 ${choices.length} 个 active idea。`),
|
|
145
|
+
choices,
|
|
146
|
+
nextSteps,
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
if (observation.state === "idea-not-found") {
|
|
150
|
+
return {
|
|
151
|
+
...base,
|
|
152
|
+
kind: "choice-required",
|
|
153
|
+
summary: localize(language, `Idea ${intention.args.idea} was not found.`, `未找到 idea ${intention.args.idea}。`),
|
|
154
|
+
choices: clone(observation.candidates),
|
|
155
|
+
problems: clone(observation.problems),
|
|
156
|
+
nextSteps,
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
if (observation.state === "idea-selected") {
|
|
160
|
+
const idea = clone(observation.selectedIdea);
|
|
161
|
+
return {
|
|
162
|
+
...base,
|
|
163
|
+
kind: "next-steps",
|
|
164
|
+
summary: localize(language, `Continue idea ${idea.alias ?? idea.id}; its state is ${idea.state}.`, `继续推进 idea ${idea.alias ?? idea.id};当前状态为 ${idea.state}。`),
|
|
165
|
+
idea,
|
|
166
|
+
nextSteps,
|
|
167
|
+
...(context.review === undefined
|
|
168
|
+
? {}
|
|
169
|
+
: { review: clone(context.review) }),
|
|
170
|
+
...(observation.guidance === undefined
|
|
171
|
+
? {}
|
|
172
|
+
: { guidance: clone(observation.guidance) }),
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
if (intention.command === "list-ideas" && observation.state === "ideas-listed") {
|
|
177
|
+
return {
|
|
178
|
+
...base,
|
|
179
|
+
kind: "idea-list",
|
|
180
|
+
summary: localize(language, `Matched ${observation.summary.matched} idea(s) and returned ${observation.summary.returned}.`, `匹配 ${observation.summary.matched} 个 idea,返回 ${observation.summary.returned} 个。`),
|
|
181
|
+
query: clone(intention.args),
|
|
182
|
+
inventory: clone(observation.summary),
|
|
183
|
+
items: clone(observation.ideas),
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
throw new Error(`Cannot produce a response for ${intention.command}:${observation.state}`);
|
|
187
|
+
}
|
|
188
|
+
/** @pure */
|
|
189
|
+
export function respond(intention, internalObservation) {
|
|
190
|
+
if (!intention || !internalObservation?.observation) {
|
|
191
|
+
throw new Error("Response requires an intention and a final observation");
|
|
192
|
+
}
|
|
193
|
+
const language = responseLanguage(intention, internalObservation.observation);
|
|
194
|
+
if (intention.command === "check") {
|
|
195
|
+
return validationResponse(intention, internalObservation.observation, language);
|
|
196
|
+
}
|
|
197
|
+
return dialogueResponse(intention, internalObservation, language);
|
|
198
|
+
}
|
|
199
|
+
//# sourceMappingURL=projection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projection.js","sourceRoot":"","sources":["../../../../src/foundation/report/projection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAUzF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC;IAC7B,mBAAmB;IACnB,oBAAoB;IACpB,wBAAwB;IACxB,wBAAwB;IACxB,iCA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
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import type { ReviewContext, ReviewPresentation } from "../../types.ts";
|
|
2
|
+
export declare const WHATS_NEXT_TEMPLATE_IDS: readonly ["project-recheck", "phase-guidance-invalid", "worktree-summary", "worktree-conflict-step", "worktree-changes-step", "repository-recheck", "content-language", "review-presentation", "review-presentation-instruction", "preparation-seed", "lifecycle-preparing", "lifecycle-implementing", "lifecycle-deploying", "lifecycle-inactive", "navigation-ready", "idea-not-found", "worktree-conflicts", "head-missing", "detached-head", "primary-upstream-mismatch", "worktree-inspection-failed", "primary-fetch-failed", "primary-ancestry-inspection-failed", "event-history-invalid", "primary-history-incomplete", "primary-behind", "primary-ahead", "primary-diverged", "idea-metadata-unavailable"];
|
|
3
|
+
export interface RecheckParameters {
|
|
4
|
+
recheckCommand: string;
|
|
5
|
+
}
|
|
6
|
+
export interface WorktreeSummaryParameters {
|
|
7
|
+
counts: {
|
|
8
|
+
conflicted: number;
|
|
9
|
+
staged: number;
|
|
10
|
+
unstaged: number;
|
|
11
|
+
untracked: number;
|
|
12
|
+
};
|
|
13
|
+
omitted: number;
|
|
14
|
+
samples: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface ContentLanguageParameters {
|
|
17
|
+
contentLanguage: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ReviewPresentationParameters {
|
|
20
|
+
phase: ReviewContext["phase"];
|
|
21
|
+
reference: string;
|
|
22
|
+
}
|
|
23
|
+
export type ReviewPresentationText = Omit<ReviewPresentation, "contentLanguage" | "templateLanguage" | "requiresLocalization">;
|
|
24
|
+
export interface PreparationSeedParameters {
|
|
25
|
+
implementationDocumentPath: string;
|
|
26
|
+
deploymentDocumentPath: string;
|
|
27
|
+
ledgerPath: string;
|
|
28
|
+
}
|
|
29
|
+
interface LifecycleParameters {
|
|
30
|
+
action: string;
|
|
31
|
+
controlOwner: "upstream" | "downstream" | "none" | null;
|
|
32
|
+
documentPath: string;
|
|
33
|
+
eventBacked: boolean;
|
|
34
|
+
ideaId: string;
|
|
35
|
+
ledgerPath: string;
|
|
36
|
+
name: string;
|
|
37
|
+
revisionReference: string;
|
|
38
|
+
statusPath: string;
|
|
39
|
+
submissionState: "unsubmitted" | "submitted" | "accepted" | "stale" | null;
|
|
40
|
+
submitAction: string;
|
|
41
|
+
}
|
|
42
|
+
export interface LifecyclePreparingParameters extends LifecycleParameters {
|
|
43
|
+
}
|
|
44
|
+
export interface LifecycleImplementingParameters extends LifecycleParameters {
|
|
45
|
+
idealPath: string;
|
|
46
|
+
worldPath: string;
|
|
47
|
+
}
|
|
48
|
+
export interface LifecycleDeployingParameters extends LifecycleParameters {
|
|
49
|
+
worldPath: string;
|
|
50
|
+
}
|
|
51
|
+
export interface LifecycleInactiveParameters {
|
|
52
|
+
eventBacked: boolean;
|
|
53
|
+
name: string;
|
|
54
|
+
relativePath: string;
|
|
55
|
+
state: string;
|
|
56
|
+
statusPath: string;
|
|
57
|
+
}
|
|
58
|
+
export interface NavigationParameters {
|
|
59
|
+
hasActiveIdea: boolean;
|
|
60
|
+
}
|
|
61
|
+
export interface IdeaNotFoundParameters {
|
|
62
|
+
selector: string;
|
|
63
|
+
}
|
|
64
|
+
export interface WorktreeConflictsParameters {
|
|
65
|
+
count: number;
|
|
66
|
+
summary: string;
|
|
67
|
+
}
|
|
68
|
+
export interface SummaryAndStep {
|
|
69
|
+
summary: string;
|
|
70
|
+
step: string;
|
|
71
|
+
}
|
|
72
|
+
export interface DetachedHeadParameters {
|
|
73
|
+
expectedBranch: string;
|
|
74
|
+
expectedRepository: string;
|
|
75
|
+
head: string | null;
|
|
76
|
+
}
|
|
77
|
+
export interface PrimaryUpstreamMismatchParameters {
|
|
78
|
+
branch: string;
|
|
79
|
+
expectedBranch: string;
|
|
80
|
+
expectedRepository: string;
|
|
81
|
+
remote: string | null;
|
|
82
|
+
repository: string | null;
|
|
83
|
+
upstreamBranch: string | null;
|
|
84
|
+
verifyCommand: string;
|
|
85
|
+
}
|
|
86
|
+
export interface PrimaryFetchFailedParameters extends RecheckParameters {
|
|
87
|
+
primaryBranch: string;
|
|
88
|
+
primaryRepository: string;
|
|
89
|
+
}
|
|
90
|
+
export interface PrimaryAncestryFailedParameters extends RecheckParameters {
|
|
91
|
+
head: string;
|
|
92
|
+
primary: string;
|
|
93
|
+
}
|
|
94
|
+
export interface EventHistoryInvalidParameters {
|
|
95
|
+
recheckCommand: string;
|
|
96
|
+
}
|
|
97
|
+
export interface PrimaryRelationParameters extends RecheckParameters {
|
|
98
|
+
branch: string | null;
|
|
99
|
+
head: string;
|
|
100
|
+
mergeCommand: string;
|
|
101
|
+
primary: string;
|
|
102
|
+
remote: string | null;
|
|
103
|
+
primaryBranch: string;
|
|
104
|
+
}
|
|
105
|
+
export interface SummaryAndInstructions {
|
|
106
|
+
instructions: string;
|
|
107
|
+
summary: string;
|
|
108
|
+
}
|
|
109
|
+
export interface MetadataUnavailableParameters {
|
|
110
|
+
command: string;
|
|
111
|
+
message: string;
|
|
112
|
+
}
|
|
113
|
+
export interface WhatsNextTemplates {
|
|
114
|
+
"project-recheck": (parameters: RecheckParameters) => string;
|
|
115
|
+
"phase-guidance-invalid": (parameters: RecheckParameters) => string;
|
|
116
|
+
"worktree-summary": (parameters: WorktreeSummaryParameters) => string;
|
|
117
|
+
"worktree-conflict-step": () => string;
|
|
118
|
+
"worktree-changes-step": () => string;
|
|
119
|
+
"repository-recheck": (parameters: RecheckParameters) => string;
|
|
120
|
+
"content-language": (parameters: ContentLanguageParameters) => string;
|
|
121
|
+
"review-presentation": (parameters: ReviewPresentationParameters) => ReviewPresentationText;
|
|
122
|
+
"review-presentation-instruction": () => string;
|
|
123
|
+
"preparation-seed": (parameters: PreparationSeedParameters) => string;
|
|
124
|
+
"lifecycle-preparing": (parameters: LifecyclePreparingParameters) => string;
|
|
125
|
+
"lifecycle-implementing": (parameters: LifecycleImplementingParameters) => string;
|
|
126
|
+
"lifecycle-deploying": (parameters: LifecycleDeployingParameters) => string;
|
|
127
|
+
"lifecycle-inactive": (parameters: LifecycleInactiveParameters) => string;
|
|
128
|
+
"navigation-ready": (parameters: NavigationParameters) => string;
|
|
129
|
+
"idea-not-found": (parameters: IdeaNotFoundParameters) => string;
|
|
130
|
+
"worktree-conflicts": (parameters: WorktreeConflictsParameters) => string;
|
|
131
|
+
"head-missing": () => SummaryAndStep;
|
|
132
|
+
"detached-head": (parameters: DetachedHeadParameters) => SummaryAndStep;
|
|
133
|
+
"primary-upstream-mismatch": (parameters: PrimaryUpstreamMismatchParameters) => SummaryAndStep;
|
|
134
|
+
"worktree-inspection-failed": (parameters: RecheckParameters) => string;
|
|
135
|
+
"primary-fetch-failed": (parameters: PrimaryFetchFailedParameters) => string;
|
|
136
|
+
"primary-ancestry-inspection-failed": (parameters: PrimaryAncestryFailedParameters) => string;
|
|
137
|
+
"event-history-invalid": (parameters: EventHistoryInvalidParameters) => string;
|
|
138
|
+
"primary-history-incomplete": (parameters: PrimaryRelationParameters) => SummaryAndInstructions;
|
|
139
|
+
"primary-behind": (parameters: PrimaryRelationParameters) => SummaryAndInstructions;
|
|
140
|
+
"primary-ahead": (parameters: PrimaryRelationParameters) => SummaryAndInstructions;
|
|
141
|
+
"primary-diverged": (parameters: PrimaryRelationParameters) => SummaryAndInstructions;
|
|
142
|
+
"idea-metadata-unavailable": (parameters: MetadataUnavailableParameters) => {
|
|
143
|
+
nextSteps: string;
|
|
144
|
+
summary: string;
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
export {};
|
|
148
|
+
//# sourceMappingURL=contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../../../src/foundation/report/templates/whats-next/contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EACnB,MAAM,gBAAgB,CAAC;AAExB,eAAO,MAAM,uBAAuB,srBA8BzB,CAAC;AAEZ,MAAM,WAAW,iBAAiB;IAChC,cAAc,EAAE,MAA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
|
|
2
|
+
"project-recheck",
|
|
3
|
+
"phase-guidance-invalid",
|
|
4
|
+
"worktree-summary",
|
|
5
|
+
"worktree-conflict-step",
|
|
6
|
+
"worktree-changes-step",
|
|
7
|
+
"repository-recheck",
|
|
8
|
+
"content-language",
|
|
9
|
+
"review-presentation",
|
|
10
|
+
"review-presentation-instruction",
|
|
11
|
+
"preparation-seed",
|
|
12
|
+
"lifecycle-preparing",
|
|
13
|
+
"lifecycle-implementing",
|
|
14
|
+
"lifecycle-deploying",
|
|
15
|
+
"lifecycle-inactive",
|
|
16
|
+
"navigation-ready",
|
|
17
|
+
"idea-not-found",
|
|
18
|
+
"worktree-conflicts",
|
|
19
|
+
"head-missing",
|
|
20
|
+
"detached-head",
|
|
21
|
+
"primary-upstream-mismatch",
|
|
22
|
+
"worktree-inspection-failed",
|
|
23
|
+
"primary-fetch-failed",
|
|
24
|
+
"primary-ancestry-inspection-failed",
|
|
25
|
+
"event-history-invalid",
|
|
26
|
+
"primary-history-incomplete",
|
|
27
|
+
"primary-behind",
|
|
28
|
+
"primary-ahead",
|
|
29
|
+
"primary-diverged",
|
|
30
|
+
"idea-metadata-unavailable",
|
|
31
|
+
]);
|
|
32
|
+
const templateIdsCoverContract = true;
|
|
33
|
+
void templateIdsCoverContract;
|
|
34
|
+
//# sourceMappingURL=contract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../../../../../src/foundation/report/templates/whats-next/contract.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,CAAC;IACnD,iBAAiB;IACjB,wBAAwB;IACxB,kBAAkB;IAClB,wBAAwB;IACxB,uBAAuB;IACvB,oBAAoB;IACpB,kBAAkB;IAClB,qBAAqB;IACrB,iCAAiC;IACjC,kBAAkB;IAClB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;IACpB,kBAAkB;IAClB,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;IACd,eAAe;IACf,2BAA2B;IAC3B,4BAA4B;IAC5B,sBAAsB;IACtB,oCAAoC;IACpC,uBAAuB;IACvB,4BAA4B;IAC5B,gBAAgB;IAChB,eAAe;IACf,kBAAkB;IAClB,2BAA2B;CACnB,CAAC,CAAC;AAwNZ,MAAM,wBAAwB,GAGhB,IAAI,CAAC;AACnB,KAAK,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @template content-language
|
|
3
|
+
* @when idea.selected=true
|
|
4
|
+
* Used for every selected idea to preserve its effective content language.
|
|
5
|
+
*/
|
|
6
|
+
import type { ContentLanguageParameters } from "../contract.ts";
|
|
7
|
+
/** @pure */
|
|
8
|
+
export default function contentLanguage({ contentLanguage: language, }: ContentLanguageParameters): string;
|
|
9
|
+
//# sourceMappingURL=content-language.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-language.d.ts","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/content-language.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,eAAe,EAAE,QAAQ,GAC1B,EAAE,yBAAyB,UAE3B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @pure */
|
|
2
|
+
export default function contentLanguage({ contentLanguage: language, }) {
|
|
3
|
+
return `Use ${language} for natural-language content in the current world, its supporting files, and the ledger. Preserve canonical headings, stable IDs, paths, and machine fields.`;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=content-language.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-language.js","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/content-language.ts"],"names":[],"mappings":"AAOA,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,eAAe,EAAE,QAAQ,GACC;IAC1B,OAAO,OAAO,QAAQ,+JAA+J,CAAC;AACxL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @template detached-head
|
|
3
|
+
* @when repository.branch=null
|
|
4
|
+
* Used when repository work is not attached to a local branch.
|
|
5
|
+
*/
|
|
6
|
+
import type { DetachedHeadParameters, SummaryAndStep } from "../contract.ts";
|
|
7
|
+
/** @pure */
|
|
8
|
+
export default function detachedHead({ expectedBranch, expectedRepository, head, }: DetachedHeadParameters): SummaryAndStep;
|
|
9
|
+
//# sourceMappingURL=detached-head.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detached-head.d.ts","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/detached-head.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACf,MAAM,gBAAgB,CAAC;AAExB,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,cAAc,EACd,kBAAkB,EAClB,IAAI,GACL,EAAE,sBAAsB,GAAG,cAAc,CAOzC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** @pure */
|
|
2
|
+
export default function detachedHead({ expectedBranch, expectedRepository, head, }) {
|
|
3
|
+
return {
|
|
4
|
+
summary: head === null
|
|
5
|
+
? "The repository has no current local branch."
|
|
6
|
+
: `HEAD ${head} is detached and has no current branch.`,
|
|
7
|
+
step: `Preserve current work, then switch to or create the intended local branch whose upstream is ${expectedRepository}#${expectedBranch}.`,
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=detached-head.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detached-head.js","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/detached-head.ts"],"names":[],"mappings":"AAUA,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,cAAc,EACd,kBAAkB,EAClB,IAAI,GACmB;IACvB,OAAO;QACL,OAAO,EAAE,IAAI,KAAK,IAAI;YACpB,CAAC,CAAC,6CAA6C;YAC/C,CAAC,CAAC,QAAQ,IAAI,yCAAyC;QACzD,IAAI,EAAE,+FAA+F,kBAAkB,IAAI,cAAc,GAAG;KAC7I,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @template event-history-invalid
|
|
3
|
+
* @when project.version=2 repository.eventHistory=invalid
|
|
4
|
+
* Used when the aligned primary event boundary fails validation.
|
|
5
|
+
*/
|
|
6
|
+
import type { EventHistoryInvalidParameters } from "../contract.ts";
|
|
7
|
+
/** @pure */
|
|
8
|
+
export default function eventHistoryInvalid({ recheckCommand, }: EventHistoryInvalidParameters): string;
|
|
9
|
+
//# sourceMappingURL=event-history-invalid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-history-invalid.d.ts","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/event-history-invalid.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAEpE,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,cAAc,GACf,EAAE,6BAA6B,UAE/B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @pure */
|
|
2
|
+
export default function eventHistoryInvalid({ recheckCommand, }) {
|
|
3
|
+
return `Preserve both histories. Review the selected commit's event boundary and repair only an authorized failure, then retry ${recheckCommand} --audience agent.`;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=event-history-invalid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-history-invalid.js","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/event-history-invalid.ts"],"names":[],"mappings":"AAOA,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,cAAc,GACgB;IAC9B,OAAO,0HAA0H,cAAc,oBAAoB,CAAC;AACtK,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @template head-missing
|
|
3
|
+
* @when repository.head=null
|
|
4
|
+
* Used when the repository has no initial commit.
|
|
5
|
+
*/
|
|
6
|
+
import type { SummaryAndStep } from "../contract.ts";
|
|
7
|
+
/** @pure */
|
|
8
|
+
export default function headMissing(): SummaryAndStep;
|
|
9
|
+
//# sourceMappingURL=head-missing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"head-missing.d.ts","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/head-missing.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,WAAW,IAAI,cAAc,CAKpD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @pure */
|
|
2
|
+
export default function headMissing() {
|
|
3
|
+
return {
|
|
4
|
+
summary: "The repository has no commit at HEAD.",
|
|
5
|
+
step: "After resolving conflicts and deciding which local changes belong, create the initial commit on the intended branch.",
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=head-missing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"head-missing.js","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/head-missing.ts"],"names":[],"mappings":"AAOA,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,WAAW;IACjC,OAAO;QACL,OAAO,EAAE,uCAAuC;QAChD,IAAI,EAAE,sHAAsH;KAC7H,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @template idea-metadata-unavailable
|
|
3
|
+
* @when idea.navigationMetadata=unavailable
|
|
4
|
+
* Used when navigation metadata cannot be read for observed active ideas.
|
|
5
|
+
*/
|
|
6
|
+
import type { MetadataUnavailableParameters } from "../contract.ts";
|
|
7
|
+
/** @pure */
|
|
8
|
+
export default function ideaMetadataUnavailable({ command, message, }: MetadataUnavailableParameters): {
|
|
9
|
+
summary: string;
|
|
10
|
+
nextSteps: string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=idea-metadata-unavailable.d.ts.map
|
package/dist/src/foundation/report/templates/whats-next/en-US/idea-metadata-unavailable.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idea-metadata-unavailable.d.ts","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/idea-metadata-unavailable.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAEpE,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,OAAO,EACP,OAAO,GACR,EAAE,6BAA6B;;;EAK/B"}
|
package/dist/src/foundation/report/templates/whats-next/en-US/idea-metadata-unavailable.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idea-metadata-unavailable.js","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/idea-metadata-unavailable.ts"],"names":[],"mappings":"AAOA,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,OAAO,EACP,OAAO,GACuB;IAC9B,OAAO;QACL,OAAO,EAAE,OAAO;QAChB,SAAS,EAAE,iDAAiD,OAAO,KAAK;KACzE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @template idea-not-found
|
|
3
|
+
* @when selector.match=none
|
|
4
|
+
* Used before navigation guidance when no ULID or unique alias matches.
|
|
5
|
+
*/
|
|
6
|
+
import type { IdeaNotFoundParameters } from "../contract.ts";
|
|
7
|
+
/** @pure */
|
|
8
|
+
export default function ideaNotFound({ selector, }: IdeaNotFoundParameters): string;
|
|
9
|
+
//# sourceMappingURL=idea-not-found.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idea-not-found.d.ts","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/idea-not-found.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,GACT,EAAE,sBAAsB,UAExB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idea-not-found.js","sourceRoot":"","sources":["../../../../../../../src/foundation/report/templates/whats-next/en-US/idea-not-found.ts"],"names":[],"mappings":"AAOA,YAAY;AACZ,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,GACe;IACvB,OAAO,QAAQ,QAAQ,mDAAmD,CAAC;AAC7E,CAAC"}
|