silvermoon 0.3.0-rc.2 → 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 @@
|
|
|
1
|
+
{"version":3,"file":"with-observation-language.js","sourceRoot":"","sources":["../../../../src/business/shared/with-observation-language.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAG5F,MAAM,UAAU,uBAAuB,CACrC,QAA0B,EAC1B,YAAgC;IAEhC,IAAI,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,YAAY;QAAE,OAAO,QAAQ,CAAC;IACvD,MAAM,eAAe,GAAG,eAAe,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC,GAAG,CAAC;IACpE,MAAM,cAAc,GAAG,qBAAqB,CAAC;QAC3C,OAAO,EAAE,eAAe;QACxB,GAAG,CAAC,QAAQ,CAAC,sBAAsB,KAAK,SAAS;YAC/C,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,sBAAsB,EAAE,CAAC;KACnD,CAAC,CAAC,GAAG,CAAC;IACP,MAAM,WAAW,GAAG;QAClB,GAAG,QAAQ,CAAC,WAAW;QACvB,aAAa,EAAE,qBAAqB,CAAC,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;QACtE,cAAc;KACf,CAAC;IACF,OAAO,EAAE,GAAG,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AACvE,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { createCommandRun } from "../foundation/command-message/index.ts";
|
|
2
|
+
import { inspectPhaseGuidance } from "../foundation/guidance/index.ts";
|
|
3
|
+
import { readIdeaInventoryItem } from "./shared/index.ts";
|
|
4
|
+
import { observeSnapshot } from "./shared/index.ts";
|
|
5
|
+
import { assessRepositoryReadiness } from "./shared/index.ts";
|
|
6
|
+
import type { IdeaNotFoundObservation, IdeaSelectedObservation, NavigationReadyObservation, ProjectReadyObservation } from "../foundation/report/types.ts";
|
|
7
|
+
export { CHANGE_SAMPLE_BYTE_LIMIT, CHANGE_SAMPLE_ITEM_LIMIT, phaseGuidanceInstructions, projectInstructions, summarizeWorktreeChanges } from "../foundation/report/index.ts";
|
|
8
|
+
export { assessIdeaCreationReadiness, assessRepositoryReadiness } from "./shared/index.ts";
|
|
9
|
+
declare const WHATSNEXT_PORTS: Readonly<{
|
|
10
|
+
createCommandRun: typeof createCommandRun;
|
|
11
|
+
observeSnapshot: typeof observeSnapshot;
|
|
12
|
+
assessRepositoryReadiness: typeof assessRepositoryReadiness;
|
|
13
|
+
readIdeaInventoryItem: typeof readIdeaInventoryItem;
|
|
14
|
+
}>;
|
|
15
|
+
interface WhatsNextOptions {
|
|
16
|
+
guidanceReader?: typeof inspectPhaseGuidance;
|
|
17
|
+
idea?: string;
|
|
18
|
+
language?: string;
|
|
19
|
+
root?: string;
|
|
20
|
+
userHome?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function whatsNextUseCase({ guidanceReader, idea: selector, language, root, userHome, }?: WhatsNextOptions, ports?: typeof WHATSNEXT_PORTS): Promise<{
|
|
23
|
+
intention: import("../foundation/report/types.ts").CommandIntention;
|
|
24
|
+
observation: import("../foundation/report/types.ts").ProjectSetupObservation | import("../foundation/report/types.ts").CheckUnavailableObservation | ProjectReadyObservation | import("../foundation/report/types.ts").RepositoryBlockedObservation | NavigationReadyObservation | IdeaNotFoundObservation | IdeaSelectedObservation | import("../foundation/report/types.ts").IdeaCreatedObservation | import("../foundation/report/types.ts").IdeasListedObservation | import("../foundation/report/types.ts").EventResultObservation | {
|
|
25
|
+
guidance: {
|
|
26
|
+
phase: string;
|
|
27
|
+
path: string;
|
|
28
|
+
contentRevision: string;
|
|
29
|
+
};
|
|
30
|
+
state: "idea-selected";
|
|
31
|
+
configuration: import("../foundation/report/types.ts").ProjectConfiguration;
|
|
32
|
+
version: import("../foundation/report/types.ts").ProjectVersion;
|
|
33
|
+
selectedIdea: import("../foundation/report/types.ts").IdeaReference;
|
|
34
|
+
root: string;
|
|
35
|
+
outputLanguage: string;
|
|
36
|
+
problems: import("./shared/index.ts").Problem[];
|
|
37
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
38
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
39
|
+
} | {
|
|
40
|
+
guidance: {
|
|
41
|
+
phase: string;
|
|
42
|
+
path: string;
|
|
43
|
+
contentRevision: string;
|
|
44
|
+
};
|
|
45
|
+
state: "idea-created";
|
|
46
|
+
configuration: import("../foundation/report/types.ts").ProjectConfiguration;
|
|
47
|
+
version: import("../foundation/report/types.ts").ProjectVersion;
|
|
48
|
+
createdIdea: import("../foundation/report/types.ts").CreatedIdea;
|
|
49
|
+
root: string;
|
|
50
|
+
outputLanguage: string;
|
|
51
|
+
problems: import("./shared/index.ts").Problem[];
|
|
52
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
53
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
54
|
+
};
|
|
55
|
+
actions: import("../foundation/command-message/observation.ts").ProjectedAction[];
|
|
56
|
+
response: import("../foundation/report/types.ts").ReportResponse;
|
|
57
|
+
}>;
|
|
58
|
+
export declare function whatsNext(options?: WhatsNextOptions): Promise<{
|
|
59
|
+
intention: import("../foundation/report/types.ts").CommandIntention;
|
|
60
|
+
observation: import("../foundation/report/types.ts").ProjectSetupObservation | import("../foundation/report/types.ts").CheckUnavailableObservation | ProjectReadyObservation | import("../foundation/report/types.ts").RepositoryBlockedObservation | NavigationReadyObservation | IdeaNotFoundObservation | IdeaSelectedObservation | import("../foundation/report/types.ts").IdeaCreatedObservation | import("../foundation/report/types.ts").IdeasListedObservation | import("../foundation/report/types.ts").EventResultObservation | {
|
|
61
|
+
guidance: {
|
|
62
|
+
phase: string;
|
|
63
|
+
path: string;
|
|
64
|
+
contentRevision: string;
|
|
65
|
+
};
|
|
66
|
+
state: "idea-selected";
|
|
67
|
+
configuration: import("../foundation/report/types.ts").ProjectConfiguration;
|
|
68
|
+
version: import("../foundation/report/types.ts").ProjectVersion;
|
|
69
|
+
selectedIdea: import("../foundation/report/types.ts").IdeaReference;
|
|
70
|
+
root: string;
|
|
71
|
+
outputLanguage: string;
|
|
72
|
+
problems: import("./shared/index.ts").Problem[];
|
|
73
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
74
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
75
|
+
} | {
|
|
76
|
+
guidance: {
|
|
77
|
+
phase: string;
|
|
78
|
+
path: string;
|
|
79
|
+
contentRevision: string;
|
|
80
|
+
};
|
|
81
|
+
state: "idea-created";
|
|
82
|
+
configuration: import("../foundation/report/types.ts").ProjectConfiguration;
|
|
83
|
+
version: import("../foundation/report/types.ts").ProjectVersion;
|
|
84
|
+
createdIdea: import("../foundation/report/types.ts").CreatedIdea;
|
|
85
|
+
root: string;
|
|
86
|
+
outputLanguage: string;
|
|
87
|
+
problems: import("./shared/index.ts").Problem[];
|
|
88
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
89
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
90
|
+
};
|
|
91
|
+
actions: import("../foundation/command-message/observation.ts").ProjectedAction[];
|
|
92
|
+
response: import("../foundation/report/types.ts").ReportResponse;
|
|
93
|
+
}>;
|
|
94
|
+
//# sourceMappingURL=whats-next.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whats-next.d.ts","sourceRoot":"","sources":["../../../src/business/whats-next.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAEL,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,eAAe,EAA2B,MAAM,mBAAmB,CAAC;AAG7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,KAAK,EAEV,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7K,OAAO,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE3F,QAAA,MAAM,eAAe;;;;;EAAyG,CAAC;AA0B/H,UAAU,gBAAgB;IACxB,cAAc,CAAC,EAAE,OAAO,oBAAoB,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,gBAAgB,CAAC,EACrC,cAAqC,EACrC,IAAI,EAAE,QAAQ,EACd,QAAQ,EACR,IAAoB,EACpB,QAAQ,GACT,GAAE,gBAAqB,EAAE,KAAK,GAAE,OAAO,eAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsOxE;AAED,wBAAsB,SAAS,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAE7D"}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { resolve } from "node:path";
|
|
2
|
+
import { createCommandRun } from "../foundation/command-message/index.js";
|
|
3
|
+
import { ACTIVE_STATES, diagnosticProblem, dialogueReadyObservation } from "../foundation/report/index.js";
|
|
4
|
+
import { inspectPhaseGuidance } from "../foundation/guidance/index.js";
|
|
5
|
+
import { metadataFailureObservation, readIdeaInventoryItem, } from "./shared/index.js";
|
|
6
|
+
import { canonicalizeOutputLanguage } from "../foundation/language/index.js";
|
|
7
|
+
import { observeSnapshot, withObservationLanguage } from "./shared/index.js";
|
|
8
|
+
import { joinInstructions, lifecycleInstruction, lifecycleReview, navigationInstruction, phaseGuidanceInstructions, projectInstructions, renderIdeaNotFound, selectIdea } from "../foundation/report/index.js";
|
|
9
|
+
import { assessRepositoryReadiness } from "./shared/index.js";
|
|
10
|
+
import { traceBusinessAsync } from "./shared/business-types.js";
|
|
11
|
+
export { CHANGE_SAMPLE_BYTE_LIMIT, CHANGE_SAMPLE_ITEM_LIMIT, phaseGuidanceInstructions, projectInstructions, summarizeWorktreeChanges } from "../foundation/report/index.js";
|
|
12
|
+
export { assessIdeaCreationReadiness, assessRepositoryReadiness } from "./shared/index.js";
|
|
13
|
+
const WHATSNEXT_PORTS = Object.freeze({ createCommandRun, observeSnapshot, assessRepositoryReadiness, readIdeaInventoryItem });
|
|
14
|
+
function navigationSource(observation) {
|
|
15
|
+
if (observation.ideas === undefined) {
|
|
16
|
+
throw new TypeError("Ready project observation omitted its idea summary.");
|
|
17
|
+
}
|
|
18
|
+
return { ...observation, ideas: observation.ideas };
|
|
19
|
+
}
|
|
20
|
+
function navigationItem(item) {
|
|
21
|
+
if (typeof item.createdAt !== "string") {
|
|
22
|
+
throw new TypeError(`Idea ${item.id} is missing required navigation metadata.`);
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
id: item.id,
|
|
26
|
+
state: item.state,
|
|
27
|
+
createdAt: item.createdAt,
|
|
28
|
+
...(item.alias === undefined ? {} : { alias: item.alias }),
|
|
29
|
+
...(item.title === undefined ? {} : { title: item.title }),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export async function whatsNextUseCase({ guidanceReader = inspectPhaseGuidance, idea: selector, language, root = process.cwd(), userHome, } = {}, ports = WHATSNEXT_PORTS) {
|
|
33
|
+
const { createCommandRun, observeSnapshot, assessRepositoryReadiness, readIdeaInventoryItem } = ports;
|
|
34
|
+
const canonicalLanguage = language === undefined
|
|
35
|
+
? undefined
|
|
36
|
+
: canonicalizeOutputLanguage(language);
|
|
37
|
+
const requestedRoot = resolve(root);
|
|
38
|
+
const intention = {
|
|
39
|
+
command: "whats-next",
|
|
40
|
+
args: {
|
|
41
|
+
idea: selector ?? null,
|
|
42
|
+
language: canonicalLanguage ?? null,
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
const runtime = createCommandRun(intention);
|
|
46
|
+
const baseRecheckCommand = selector === undefined
|
|
47
|
+
? "silvermoon whats-next"
|
|
48
|
+
: `silvermoon whats-next ${JSON.stringify(selector)}`;
|
|
49
|
+
const recheckCommand = canonicalLanguage === undefined
|
|
50
|
+
? baseRecheckCommand
|
|
51
|
+
: `${baseRecheckCommand} --language ${canonicalLanguage}`;
|
|
52
|
+
let observed = await observeSnapshot({
|
|
53
|
+
outputLanguage: canonicalLanguage,
|
|
54
|
+
root: requestedRoot,
|
|
55
|
+
userHome,
|
|
56
|
+
version: { type: "worktree" },
|
|
57
|
+
});
|
|
58
|
+
runtime.observe(observed.observation, { factType: "project.snapshot" });
|
|
59
|
+
if (!observed.projectReady) {
|
|
60
|
+
return runtime.complete(observed.observation, {
|
|
61
|
+
nextSteps: projectInstructions(observed, observed.observation.root, observed.outputLanguage, recheckCommand),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
const selected = selectIdea(observed.layout.ideas, selector);
|
|
65
|
+
if (selected?.status.language) {
|
|
66
|
+
observed = withObservationLanguage(observed, selected.status.language);
|
|
67
|
+
}
|
|
68
|
+
const readiness = await assessRepositoryReadiness({
|
|
69
|
+
observed,
|
|
70
|
+
runtime,
|
|
71
|
+
recheckCommand,
|
|
72
|
+
root: observed.observation.root,
|
|
73
|
+
});
|
|
74
|
+
if (!readiness.ready) {
|
|
75
|
+
return runtime.complete(readiness.observation, { nextSteps: readiness.instructions });
|
|
76
|
+
}
|
|
77
|
+
const readyObservation = navigationSource(readiness.observation);
|
|
78
|
+
let navigationObservation = {
|
|
79
|
+
state: "navigation-ready",
|
|
80
|
+
root: readyObservation.root,
|
|
81
|
+
version: readyObservation.version,
|
|
82
|
+
configuration: readyObservation.configuration,
|
|
83
|
+
...(readyObservation.device === undefined
|
|
84
|
+
? {}
|
|
85
|
+
: { device: readyObservation.device }),
|
|
86
|
+
...(readyObservation.schemas === undefined
|
|
87
|
+
? {}
|
|
88
|
+
: { schemas: readyObservation.schemas }),
|
|
89
|
+
outputLanguage: readyObservation.outputLanguage,
|
|
90
|
+
problems: readyObservation.problems,
|
|
91
|
+
ideas: {
|
|
92
|
+
counts: readyObservation.ideas.counts,
|
|
93
|
+
activeIdeas: [],
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
if (selector === undefined || !selected) {
|
|
97
|
+
let activeItems;
|
|
98
|
+
try {
|
|
99
|
+
const activeIds = new Set(readyObservation.ideas.activeIdeas.map(({ id }) => id));
|
|
100
|
+
activeItems = await traceBusinessAsync("ideas.navigation-metadata", { ideaCount: activeIds.size }, () => Promise.all(observed.layout.ideas
|
|
101
|
+
.filter(({ id }) => activeIds.has(id))
|
|
102
|
+
.map((idea) => readIdeaInventoryItem(observed.observation.root, idea))));
|
|
103
|
+
}
|
|
104
|
+
catch (caught) {
|
|
105
|
+
const failure = metadataFailureObservation(observed, caught, recheckCommand);
|
|
106
|
+
return runtime.complete(failure.observation, failure.responseContext);
|
|
107
|
+
}
|
|
108
|
+
const itemsById = new Map(activeItems.map((item) => [item.id, item]));
|
|
109
|
+
navigationObservation = {
|
|
110
|
+
...navigationObservation,
|
|
111
|
+
ideas: {
|
|
112
|
+
counts: readyObservation.ideas.counts,
|
|
113
|
+
activeIdeas: readyObservation.ideas.activeIdeas.map(({ id }) => {
|
|
114
|
+
const item = itemsById.get(id);
|
|
115
|
+
if (item === undefined) {
|
|
116
|
+
throw new Error(`Missing observed navigation metadata for ${id}`);
|
|
117
|
+
}
|
|
118
|
+
return navigationItem(item);
|
|
119
|
+
}),
|
|
120
|
+
},
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
if (selector === undefined) {
|
|
124
|
+
return runtime.complete(navigationObservation, {
|
|
125
|
+
nextSteps: navigationInstruction(observed.layout.ideas, observed.outputLanguage),
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
if (!selected) {
|
|
129
|
+
const notFoundObservation = {
|
|
130
|
+
state: "idea-not-found",
|
|
131
|
+
root: navigationObservation.root,
|
|
132
|
+
version: navigationObservation.version,
|
|
133
|
+
configuration: navigationObservation.configuration,
|
|
134
|
+
...(navigationObservation.device === undefined
|
|
135
|
+
? {}
|
|
136
|
+
: { device: navigationObservation.device }),
|
|
137
|
+
...(navigationObservation.schemas === undefined
|
|
138
|
+
? {}
|
|
139
|
+
: { schemas: navigationObservation.schemas }),
|
|
140
|
+
outputLanguage: navigationObservation.outputLanguage,
|
|
141
|
+
problems: navigationObservation.problems,
|
|
142
|
+
candidates: navigationObservation.ideas.activeIdeas,
|
|
143
|
+
};
|
|
144
|
+
return runtime.complete(notFoundObservation, {
|
|
145
|
+
nextSteps: joinInstructions([
|
|
146
|
+
renderIdeaNotFound(observed.outputLanguage, {
|
|
147
|
+
selector,
|
|
148
|
+
}),
|
|
149
|
+
navigationInstruction(observed.layout.ideas, observed.outputLanguage),
|
|
150
|
+
]),
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
const selectedIdea = {
|
|
154
|
+
id: selected.id,
|
|
155
|
+
...(selected.alias === undefined ? {} : { alias: selected.alias }),
|
|
156
|
+
state: selected.state,
|
|
157
|
+
...(selected.control === undefined ? {} : { control: selected.control }),
|
|
158
|
+
...(selected.submissions === undefined
|
|
159
|
+
? {}
|
|
160
|
+
: { submissions: selected.submissions }),
|
|
161
|
+
};
|
|
162
|
+
const primary = readiness.primary
|
|
163
|
+
?? (() => {
|
|
164
|
+
throw new TypeError("Repository readiness omitted the primary revision.");
|
|
165
|
+
})();
|
|
166
|
+
const review = lifecycleReview(selected, primary, observed.contentLanguage);
|
|
167
|
+
let guidance;
|
|
168
|
+
if (ACTIVE_STATES.has(selected.state)) {
|
|
169
|
+
const inspected = await guidanceReader({
|
|
170
|
+
gitRoot: readiness.observation.root,
|
|
171
|
+
phase: selected.state,
|
|
172
|
+
snapshotTree: primary,
|
|
173
|
+
});
|
|
174
|
+
if (inspected.state === "invalid") {
|
|
175
|
+
return runtime.complete(dialogueReadyObservation(readiness.observation, "phase-guidance-invalid", {
|
|
176
|
+
selectedIdea,
|
|
177
|
+
problems: inspected.diagnostics.map((diagnostic) => diagnosticProblem(diagnostic, observed.outputLanguage)),
|
|
178
|
+
}), {
|
|
179
|
+
nextSteps: phaseGuidanceInstructions(inspected.diagnostics, readiness.observation.root, observed.outputLanguage, recheckCommand),
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
guidance = inspected.state === "valid" ? inspected.guidance : undefined;
|
|
183
|
+
}
|
|
184
|
+
const selectedObservation = {
|
|
185
|
+
state: "idea-selected",
|
|
186
|
+
root: readyObservation.root,
|
|
187
|
+
version: readyObservation.version,
|
|
188
|
+
configuration: readyObservation.configuration,
|
|
189
|
+
...(readyObservation.device === undefined
|
|
190
|
+
? {}
|
|
191
|
+
: { device: readyObservation.device }),
|
|
192
|
+
...(readyObservation.schemas === undefined
|
|
193
|
+
? {}
|
|
194
|
+
: { schemas: readyObservation.schemas }),
|
|
195
|
+
outputLanguage: readyObservation.outputLanguage,
|
|
196
|
+
problems: readyObservation.problems,
|
|
197
|
+
selectedIdea,
|
|
198
|
+
...(guidance === undefined ? {} : { guidance }),
|
|
199
|
+
};
|
|
200
|
+
return runtime.complete(selectedObservation, {
|
|
201
|
+
nextSteps: lifecycleInstruction(selected, observed.outputLanguage, observed.contentLanguage),
|
|
202
|
+
...(review === undefined ? {} : { review }),
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
export async function whatsNext(options = {}) {
|
|
206
|
+
return whatsNextUseCase(options);
|
|
207
|
+
}
|
|
208
|
+
//# sourceMappingURL=whats-next.js.map
|
|
@@ -0,0 +1 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MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC;KAC5C,CACF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,SAAS,CAAC,UAA4B,EAAE;IAC5D,OAAO,gBAAgB,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { DOMAIN_MESSAGE_SCHEMA_VERSION, DomainInvariantError, buildReport, clone, completionFactType, deepFreeze, initialInternalObservation, projectActions, projectIntention, projectPublicObservation, projectReport, reduceObservation, replayObservation, responseMetadata, } from "./observation.ts";
|
|
2
|
+
export { CommandRun, createCommandRun, driveCommand, } from "./runtime.ts";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/foundation/command-message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACpB,WAAW,EACX,KAAK,EACL,kBAAkB,EAClB,UAAU,EACV,0BAA0B,EAC1B,cAAc,EACd,gBAAgB,EAChB,wBAAwB,EACxB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,YAAY,GACb,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { DOMAIN_MESSAGE_SCHEMA_VERSION, DomainInvariantError, buildReport, clone, completionFactType, deepFreeze, initialInternalObservation, projectActions, projectIntention, projectPublicObservation, projectReport, reduceObservation, replayObservation, responseMetadata, } from "./observation.js";
|
|
2
|
+
export { CommandRun, createCommandRun, driveCommand, } from "./runtime.js";
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/foundation/command-message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACpB,WAAW,EACX,KAAK,EACL,kBAAkB,EAClB,UAAU,EACV,0BAA0B,EAC1B,cAAc,EACd,gBAAgB,EAChB,wBAAwB,EACxB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,YAAY,GACb,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import type { CommandIntention, Observation, Problem, ReportResponse, ResponseContext } from "../report/types.ts";
|
|
2
|
+
export declare const DOMAIN_MESSAGE_SCHEMA_VERSION = 1;
|
|
3
|
+
export type CommandProgress = "initial" | "accepted" | "observing" | "ready" | "blocked";
|
|
4
|
+
export interface ObservationFact {
|
|
5
|
+
type: string;
|
|
6
|
+
observation: Observation;
|
|
7
|
+
progress: CommandProgress;
|
|
8
|
+
responseContext: ResponseContext;
|
|
9
|
+
}
|
|
10
|
+
export interface ActionRequest {
|
|
11
|
+
type: string;
|
|
12
|
+
repository?: string;
|
|
13
|
+
branch?: string;
|
|
14
|
+
credential?: string;
|
|
15
|
+
paths?: string[];
|
|
16
|
+
contentLanguage?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ResponseMetadata {
|
|
19
|
+
hash: string;
|
|
20
|
+
nextStepCount: number;
|
|
21
|
+
itemCount: number;
|
|
22
|
+
}
|
|
23
|
+
interface DomainMessageBase {
|
|
24
|
+
schemaVersion: number;
|
|
25
|
+
sequence: number;
|
|
26
|
+
}
|
|
27
|
+
export interface IntentionAcceptedMessage extends DomainMessageBase {
|
|
28
|
+
type: "intention.accepted";
|
|
29
|
+
intention: CommandIntention;
|
|
30
|
+
}
|
|
31
|
+
export interface ObservationFactMessage extends DomainMessageBase {
|
|
32
|
+
type: "observation.fact";
|
|
33
|
+
fact: ObservationFact;
|
|
34
|
+
}
|
|
35
|
+
export interface ActionRequestedMessage extends DomainMessageBase {
|
|
36
|
+
type: "action.requested";
|
|
37
|
+
actionId: string;
|
|
38
|
+
action: ActionRequest;
|
|
39
|
+
}
|
|
40
|
+
export interface ActionSucceededMessage extends DomainMessageBase {
|
|
41
|
+
type: "action.finished";
|
|
42
|
+
actionId: string;
|
|
43
|
+
actionType: string;
|
|
44
|
+
status: "success";
|
|
45
|
+
facts: ObservationFact[];
|
|
46
|
+
result: object;
|
|
47
|
+
}
|
|
48
|
+
export interface ActionFailedMessage extends DomainMessageBase {
|
|
49
|
+
type: "action.finished";
|
|
50
|
+
actionId: string;
|
|
51
|
+
actionType: string;
|
|
52
|
+
status: "failure";
|
|
53
|
+
facts: ObservationFact[];
|
|
54
|
+
problem: Problem;
|
|
55
|
+
}
|
|
56
|
+
export interface ResponseCreatedMessage extends DomainMessageBase {
|
|
57
|
+
type: "response.created";
|
|
58
|
+
kind: ReportResponse["kind"];
|
|
59
|
+
metadata: ResponseMetadata;
|
|
60
|
+
}
|
|
61
|
+
export type DomainMessage = IntentionAcceptedMessage | ObservationFactMessage | ActionRequestedMessage | ActionSucceededMessage | ActionFailedMessage | ResponseCreatedMessage;
|
|
62
|
+
interface InternalAction {
|
|
63
|
+
status: "requested" | "success" | "failure";
|
|
64
|
+
type: string;
|
|
65
|
+
}
|
|
66
|
+
export interface InternalObservation {
|
|
67
|
+
actions: Record<string, InternalAction>;
|
|
68
|
+
intention: CommandIntention | null;
|
|
69
|
+
nextSequence: number;
|
|
70
|
+
observation: Observation | null;
|
|
71
|
+
progress: CommandProgress;
|
|
72
|
+
responseContext: ResponseContext | null;
|
|
73
|
+
responseKind: ReportResponse["kind"] | null;
|
|
74
|
+
responseMetadata: ResponseMetadata | null;
|
|
75
|
+
}
|
|
76
|
+
export type ProjectedAction = {
|
|
77
|
+
id: string;
|
|
78
|
+
type: string;
|
|
79
|
+
status: "requested";
|
|
80
|
+
} | {
|
|
81
|
+
id: string;
|
|
82
|
+
type: string;
|
|
83
|
+
status: "success";
|
|
84
|
+
result: object;
|
|
85
|
+
} | {
|
|
86
|
+
id: string;
|
|
87
|
+
type: string;
|
|
88
|
+
status: "failure";
|
|
89
|
+
problem: Problem;
|
|
90
|
+
};
|
|
91
|
+
/** @pure */
|
|
92
|
+
export declare function clone<T>(value: T): T;
|
|
93
|
+
/** @pure */
|
|
94
|
+
export declare function deepFreeze<T>(value: T): T;
|
|
95
|
+
export declare class DomainInvariantError extends Error {
|
|
96
|
+
constructor(message: string);
|
|
97
|
+
}
|
|
98
|
+
/** @pure */
|
|
99
|
+
export declare function initialInternalObservation(): InternalObservation;
|
|
100
|
+
/** @pure */
|
|
101
|
+
export declare function reduceObservation(state: InternalObservation, message: DomainMessage): InternalObservation;
|
|
102
|
+
/** @pure */
|
|
103
|
+
export declare function replayObservation(messages: DomainMessage[]): InternalObservation;
|
|
104
|
+
/** @pure */
|
|
105
|
+
export declare function projectIntention(messages: DomainMessage[]): CommandIntention;
|
|
106
|
+
/** @pure */
|
|
107
|
+
export declare function projectActions(messages: DomainMessage[], { allowPending }?: {
|
|
108
|
+
allowPending?: boolean;
|
|
109
|
+
}): ProjectedAction[];
|
|
110
|
+
/** @pure */
|
|
111
|
+
export declare function projectPublicObservation(internalObservation: Observation): import("../report/types.ts").ProjectSetupObservation | import("../report/types.ts").CheckUnavailableObservation | import("../report/types.ts").ProjectReadyObservation | import("../report/types.ts").RepositoryBlockedObservation | import("../report/types.ts").NavigationReadyObservation | import("../report/types.ts").IdeaNotFoundObservation | import("../report/types.ts").IdeaSelectedObservation | import("../report/types.ts").IdeaCreatedObservation | import("../report/types.ts").IdeasListedObservation | import("../report/types.ts").EventResultObservation | {
|
|
112
|
+
guidance: {
|
|
113
|
+
phase: string;
|
|
114
|
+
path: string;
|
|
115
|
+
contentRevision: string;
|
|
116
|
+
};
|
|
117
|
+
state: "idea-selected";
|
|
118
|
+
configuration: import("../report/types.ts").ProjectConfiguration;
|
|
119
|
+
version: import("../report/types.ts").ProjectVersion;
|
|
120
|
+
selectedIdea: import("../report/types.ts").IdeaReference;
|
|
121
|
+
root: string;
|
|
122
|
+
outputLanguage: string;
|
|
123
|
+
problems: Problem[];
|
|
124
|
+
device?: import("../report/types.ts").DeviceAdvisory;
|
|
125
|
+
schemas?: import("../schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
126
|
+
} | {
|
|
127
|
+
guidance: {
|
|
128
|
+
phase: string;
|
|
129
|
+
path: string;
|
|
130
|
+
contentRevision: string;
|
|
131
|
+
};
|
|
132
|
+
state: "idea-created";
|
|
133
|
+
configuration: import("../report/types.ts").ProjectConfiguration;
|
|
134
|
+
version: import("../report/types.ts").ProjectVersion;
|
|
135
|
+
createdIdea: import("../report/types.ts").CreatedIdea;
|
|
136
|
+
root: string;
|
|
137
|
+
outputLanguage: string;
|
|
138
|
+
problems: Problem[];
|
|
139
|
+
device?: import("../report/types.ts").DeviceAdvisory;
|
|
140
|
+
schemas?: import("../schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
141
|
+
};
|
|
142
|
+
/** @pure */
|
|
143
|
+
export declare function responseMetadata(response: ReportResponse): ResponseMetadata;
|
|
144
|
+
/** @pure */
|
|
145
|
+
export declare function completionFactType(intention: CommandIntention, observation: Observation): string;
|
|
146
|
+
/** @pure */
|
|
147
|
+
export declare function buildReport(messages: DomainMessage[], { requireResponse }?: {
|
|
148
|
+
requireResponse?: boolean;
|
|
149
|
+
}): {
|
|
150
|
+
intention: CommandIntention;
|
|
151
|
+
observation: import("../report/types.ts").ProjectSetupObservation | import("../report/types.ts").CheckUnavailableObservation | import("../report/types.ts").ProjectReadyObservation | import("../report/types.ts").RepositoryBlockedObservation | import("../report/types.ts").NavigationReadyObservation | import("../report/types.ts").IdeaNotFoundObservation | import("../report/types.ts").IdeaSelectedObservation | import("../report/types.ts").IdeaCreatedObservation | import("../report/types.ts").IdeasListedObservation | import("../report/types.ts").EventResultObservation | {
|
|
152
|
+
guidance: {
|
|
153
|
+
phase: string;
|
|
154
|
+
path: string;
|
|
155
|
+
contentRevision: string;
|
|
156
|
+
};
|
|
157
|
+
state: "idea-selected";
|
|
158
|
+
configuration: import("../report/types.ts").ProjectConfiguration;
|
|
159
|
+
version: import("../report/types.ts").ProjectVersion;
|
|
160
|
+
selectedIdea: import("../report/types.ts").IdeaReference;
|
|
161
|
+
root: string;
|
|
162
|
+
outputLanguage: string;
|
|
163
|
+
problems: Problem[];
|
|
164
|
+
device?: import("../report/types.ts").DeviceAdvisory;
|
|
165
|
+
schemas?: import("../schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
166
|
+
} | {
|
|
167
|
+
guidance: {
|
|
168
|
+
phase: string;
|
|
169
|
+
path: string;
|
|
170
|
+
contentRevision: string;
|
|
171
|
+
};
|
|
172
|
+
state: "idea-created";
|
|
173
|
+
configuration: import("../report/types.ts").ProjectConfiguration;
|
|
174
|
+
version: import("../report/types.ts").ProjectVersion;
|
|
175
|
+
createdIdea: import("../report/types.ts").CreatedIdea;
|
|
176
|
+
root: string;
|
|
177
|
+
outputLanguage: string;
|
|
178
|
+
problems: Problem[];
|
|
179
|
+
device?: import("../report/types.ts").DeviceAdvisory;
|
|
180
|
+
schemas?: import("../schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
181
|
+
};
|
|
182
|
+
actions: ProjectedAction[];
|
|
183
|
+
response: ReportResponse;
|
|
184
|
+
};
|
|
185
|
+
/** @pure */
|
|
186
|
+
export declare function projectReport(messages: DomainMessage[]): {
|
|
187
|
+
intention: CommandIntention;
|
|
188
|
+
observation: import("../report/types.ts").ProjectSetupObservation | import("../report/types.ts").CheckUnavailableObservation | import("../report/types.ts").ProjectReadyObservation | import("../report/types.ts").RepositoryBlockedObservation | import("../report/types.ts").NavigationReadyObservation | import("../report/types.ts").IdeaNotFoundObservation | import("../report/types.ts").IdeaSelectedObservation | import("../report/types.ts").IdeaCreatedObservation | import("../report/types.ts").IdeasListedObservation | import("../report/types.ts").EventResultObservation | {
|
|
189
|
+
guidance: {
|
|
190
|
+
phase: string;
|
|
191
|
+
path: string;
|
|
192
|
+
contentRevision: string;
|
|
193
|
+
};
|
|
194
|
+
state: "idea-selected";
|
|
195
|
+
configuration: import("../report/types.ts").ProjectConfiguration;
|
|
196
|
+
version: import("../report/types.ts").ProjectVersion;
|
|
197
|
+
selectedIdea: import("../report/types.ts").IdeaReference;
|
|
198
|
+
root: string;
|
|
199
|
+
outputLanguage: string;
|
|
200
|
+
problems: Problem[];
|
|
201
|
+
device?: import("../report/types.ts").DeviceAdvisory;
|
|
202
|
+
schemas?: import("../schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
203
|
+
} | {
|
|
204
|
+
guidance: {
|
|
205
|
+
phase: string;
|
|
206
|
+
path: string;
|
|
207
|
+
contentRevision: string;
|
|
208
|
+
};
|
|
209
|
+
state: "idea-created";
|
|
210
|
+
configuration: import("../report/types.ts").ProjectConfiguration;
|
|
211
|
+
version: import("../report/types.ts").ProjectVersion;
|
|
212
|
+
createdIdea: import("../report/types.ts").CreatedIdea;
|
|
213
|
+
root: string;
|
|
214
|
+
outputLanguage: string;
|
|
215
|
+
problems: Problem[];
|
|
216
|
+
device?: import("../report/types.ts").DeviceAdvisory;
|
|
217
|
+
schemas?: import("../schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
218
|
+
};
|
|
219
|
+
actions: ProjectedAction[];
|
|
220
|
+
response: ReportResponse;
|
|
221
|
+
};
|
|
222
|
+
export {};
|
|
223
|
+
//# sourceMappingURL=observation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observation.d.ts","sourceRoot":"","sources":["../../../../src/foundation/command-message/observation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,OAAO,EACP,cAAc,EACd,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAK/C,MAAM,MAAM,eAAe,G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