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,109 @@
|
|
|
1
|
+
import { createCommandRun } from "../foundation/command-message/index.ts";
|
|
2
|
+
import { loadConfigSnapshot } from "../foundation/project-config/index.ts";
|
|
3
|
+
import { fetchPrimary, indexSnapshot, resolveSnapshot, runGit, worktreeSnapshot } from "../foundation/git/index.ts";
|
|
4
|
+
import { observeSnapshot } from "./shared/index.ts";
|
|
5
|
+
import type { Problem, SnapshotObservation } from "./shared/business-types.ts";
|
|
6
|
+
import type { ProjectVersion } from "../foundation/report/types.ts";
|
|
7
|
+
import type { CheckUnavailableObservation, ProjectConfiguration } from "../foundation/report/types.ts";
|
|
8
|
+
interface CheckRepositoryOptions {
|
|
9
|
+
commit?: string;
|
|
10
|
+
language?: string;
|
|
11
|
+
remote?: boolean;
|
|
12
|
+
root?: string;
|
|
13
|
+
staged?: boolean;
|
|
14
|
+
userHome?: string;
|
|
15
|
+
worktree?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare function inspectTree({ gitRoot, outputLanguage, root, tree, userHome, version, }: {
|
|
18
|
+
gitRoot: string;
|
|
19
|
+
outputLanguage?: string | undefined;
|
|
20
|
+
root: string;
|
|
21
|
+
tree: string;
|
|
22
|
+
userHome?: string | undefined;
|
|
23
|
+
version: ProjectVersion;
|
|
24
|
+
}): Promise<SnapshotObservation>;
|
|
25
|
+
declare const CHECKREPOSITORY_PORTS: Readonly<{
|
|
26
|
+
createCommandRun: typeof createCommandRun;
|
|
27
|
+
runGit: typeof runGit;
|
|
28
|
+
observeSnapshot: typeof observeSnapshot;
|
|
29
|
+
loadConfigSnapshot: typeof loadConfigSnapshot;
|
|
30
|
+
resolveSnapshot: typeof resolveSnapshot;
|
|
31
|
+
indexSnapshot: typeof indexSnapshot;
|
|
32
|
+
worktreeSnapshot: typeof worktreeSnapshot;
|
|
33
|
+
fetchPrimary: typeof fetchPrimary;
|
|
34
|
+
inspectTree: typeof inspectTree;
|
|
35
|
+
}>;
|
|
36
|
+
export declare function checkRepositoryUseCase({ commit, language, remote, root, staged, userHome, worktree, }?: CheckRepositoryOptions, ports?: typeof CHECKREPOSITORY_PORTS): Promise<{
|
|
37
|
+
intention: import("../foundation/report/types.ts").CommandIntention;
|
|
38
|
+
observation: import("../foundation/report/types.ts").ProjectSetupObservation | CheckUnavailableObservation | import("../foundation/report/types.ts").ProjectReadyObservation | import("../foundation/report/types.ts").RepositoryBlockedObservation | import("../foundation/report/types.ts").NavigationReadyObservation | import("../foundation/report/types.ts").IdeaNotFoundObservation | import("../foundation/report/types.ts").IdeaSelectedObservation | import("../foundation/report/types.ts").IdeaCreatedObservation | import("../foundation/report/types.ts").IdeasListedObservation | import("../foundation/report/types.ts").EventResultObservation | {
|
|
39
|
+
guidance: {
|
|
40
|
+
phase: string;
|
|
41
|
+
path: string;
|
|
42
|
+
contentRevision: string;
|
|
43
|
+
};
|
|
44
|
+
state: "idea-selected";
|
|
45
|
+
configuration: ProjectConfiguration;
|
|
46
|
+
version: ProjectVersion;
|
|
47
|
+
selectedIdea: import("../foundation/report/types.ts").IdeaReference;
|
|
48
|
+
root: string;
|
|
49
|
+
outputLanguage: string;
|
|
50
|
+
problems: Problem[];
|
|
51
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
52
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
53
|
+
} | {
|
|
54
|
+
guidance: {
|
|
55
|
+
phase: string;
|
|
56
|
+
path: string;
|
|
57
|
+
contentRevision: string;
|
|
58
|
+
};
|
|
59
|
+
state: "idea-created";
|
|
60
|
+
configuration: ProjectConfiguration;
|
|
61
|
+
version: ProjectVersion;
|
|
62
|
+
createdIdea: import("../foundation/report/types.ts").CreatedIdea;
|
|
63
|
+
root: string;
|
|
64
|
+
outputLanguage: string;
|
|
65
|
+
problems: Problem[];
|
|
66
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
67
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
68
|
+
};
|
|
69
|
+
actions: import("../foundation/command-message/observation.ts").ProjectedAction[];
|
|
70
|
+
response: import("../foundation/report/types.ts").ReportResponse;
|
|
71
|
+
}>;
|
|
72
|
+
export declare function checkRepository(options?: CheckRepositoryOptions): Promise<{
|
|
73
|
+
intention: import("../foundation/report/types.ts").CommandIntention;
|
|
74
|
+
observation: import("../foundation/report/types.ts").ProjectSetupObservation | CheckUnavailableObservation | import("../foundation/report/types.ts").ProjectReadyObservation | import("../foundation/report/types.ts").RepositoryBlockedObservation | import("../foundation/report/types.ts").NavigationReadyObservation | import("../foundation/report/types.ts").IdeaNotFoundObservation | import("../foundation/report/types.ts").IdeaSelectedObservation | import("../foundation/report/types.ts").IdeaCreatedObservation | import("../foundation/report/types.ts").IdeasListedObservation | import("../foundation/report/types.ts").EventResultObservation | {
|
|
75
|
+
guidance: {
|
|
76
|
+
phase: string;
|
|
77
|
+
path: string;
|
|
78
|
+
contentRevision: string;
|
|
79
|
+
};
|
|
80
|
+
state: "idea-selected";
|
|
81
|
+
configuration: ProjectConfiguration;
|
|
82
|
+
version: ProjectVersion;
|
|
83
|
+
selectedIdea: import("../foundation/report/types.ts").IdeaReference;
|
|
84
|
+
root: string;
|
|
85
|
+
outputLanguage: string;
|
|
86
|
+
problems: Problem[];
|
|
87
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
88
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
89
|
+
} | {
|
|
90
|
+
guidance: {
|
|
91
|
+
phase: string;
|
|
92
|
+
path: string;
|
|
93
|
+
contentRevision: string;
|
|
94
|
+
};
|
|
95
|
+
state: "idea-created";
|
|
96
|
+
configuration: ProjectConfiguration;
|
|
97
|
+
version: ProjectVersion;
|
|
98
|
+
createdIdea: import("../foundation/report/types.ts").CreatedIdea;
|
|
99
|
+
root: string;
|
|
100
|
+
outputLanguage: string;
|
|
101
|
+
problems: Problem[];
|
|
102
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
103
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
104
|
+
};
|
|
105
|
+
actions: import("../foundation/command-message/observation.ts").ProjectedAction[];
|
|
106
|
+
response: import("../foundation/report/types.ts").ReportResponse;
|
|
107
|
+
}>;
|
|
108
|
+
export {};
|
|
109
|
+
//# sourceMappingURL=check-repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-repository.d.ts","sourceRoot":"","sources":["../../../src/business/check-repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAI3E,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,EAAsB,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGxI,OAAO,EACL,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAEV,OAAO,EACP,mBAAmB,EACpB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EACV,2BAA2B,EAI3B,oBAAoB,EACrB,MAAM,+BAA+B,CAAC;AAsCvC,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAwDD,iBAAe,WAAW,CAAC,EACzB,OAAO,EACP,cAAc,EACd,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,OAAO,GACR,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,EAAE,cAAc,CAAC;CACzB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAmF/B;AAUD,QAAA,MAAM,qBAAqB;;;;;;;;;;EAAgK,CAAC;AAE5L,wBAAsB,sBAAsB,CAAC,EAC3C,MAAM,EACN,QAAQ,EACR,MAAc,EACd,IAAoB,EACpB,MAAc,EACd,QAAQ,EACR,QAAgB,GACjB,GAAE,sBAA2B,EAAE,KAAK,GAAE,OAAO,qBAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0O1F;AAED,wBAAsB,eAAe,CAAC,OAAO,GAAE,sBAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEzE"}
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
import { resolve } from "node:path";
|
|
2
|
+
import { createCommandRun } from "../foundation/command-message/index.js";
|
|
3
|
+
import { loadConfigSnapshot } from "../foundation/project-config/index.js";
|
|
4
|
+
import { diagnosticProblem } from "../foundation/report/index.js";
|
|
5
|
+
import { inspectEventHistory } from "../foundation/event-history/index.js";
|
|
6
|
+
import { createGitSnapshotFileSystem } from "../foundation/snapshot/index.js";
|
|
7
|
+
import { fetchPrimary, indexSnapshot, resolveSnapshot, runGit, sanitizeGitMessage, worktreeSnapshot } from "../foundation/git/index.js";
|
|
8
|
+
import { canonicalizeOutputLanguage, DEFAULT_LANGUAGE } from "../foundation/language/index.js";
|
|
9
|
+
import { CONFIG_PATH, GUIDANCE_ROOT, IDEAS_ROOT } from "../foundation/coordinates/index.js";
|
|
10
|
+
import { observeSnapshot, } from "./shared/index.js";
|
|
11
|
+
import { unavailableObservation } from "../foundation/report/index.js";
|
|
12
|
+
import { errorMessage } from "./shared/business-types.js";
|
|
13
|
+
import { asBusinessFileSystem } from "./shared/business-types.js";
|
|
14
|
+
function checkFailureObservation(observed, eventHistory, problems = observed.observation.problems) {
|
|
15
|
+
return {
|
|
16
|
+
state: "check-unavailable",
|
|
17
|
+
root: observed.observation.root,
|
|
18
|
+
outputLanguage: observed.observation.outputLanguage,
|
|
19
|
+
problems,
|
|
20
|
+
eventHistory,
|
|
21
|
+
...("version" in observed.observation && observed.observation.version !== undefined
|
|
22
|
+
? { version: observed.observation.version }
|
|
23
|
+
: {}),
|
|
24
|
+
...("configuration" in observed.observation
|
|
25
|
+
&& observed.observation.configuration !== undefined
|
|
26
|
+
? { configuration: observed.observation.configuration }
|
|
27
|
+
: {}),
|
|
28
|
+
...("ideas" in observed.observation && observed.observation.ideas !== undefined
|
|
29
|
+
? { ideas: observed.observation.ideas }
|
|
30
|
+
: {}),
|
|
31
|
+
...(observed.observation.schemas === undefined
|
|
32
|
+
? {}
|
|
33
|
+
: { schemas: observed.observation.schemas }),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function preloadCheckBlob({ name }) {
|
|
37
|
+
return (name === CONFIG_PATH
|
|
38
|
+
|| name.startsWith(`${GUIDANCE_ROOT}/`)
|
|
39
|
+
|| (name.startsWith(`${IDEAS_ROOT}/`)
|
|
40
|
+
&& (name.endsWith("/status.yaml") || name.endsWith("/events.jsonl"))));
|
|
41
|
+
}
|
|
42
|
+
function targetArgument({ commit, remote, staged, worktree, }) {
|
|
43
|
+
if (remote)
|
|
44
|
+
return { type: "remote" };
|
|
45
|
+
if (commit !== undefined)
|
|
46
|
+
return { type: "commit", revision: commit };
|
|
47
|
+
if (staged)
|
|
48
|
+
return { type: "staged" };
|
|
49
|
+
if (worktree)
|
|
50
|
+
return { type: "worktree" };
|
|
51
|
+
return { type: "head" };
|
|
52
|
+
}
|
|
53
|
+
function failureReport({ runtime, outputLanguage, problem, root, version, }) {
|
|
54
|
+
return runtime.complete(unavailableObservation({
|
|
55
|
+
outputLanguage,
|
|
56
|
+
problem,
|
|
57
|
+
root,
|
|
58
|
+
version,
|
|
59
|
+
}), {}, { factType: "validation.failed" });
|
|
60
|
+
}
|
|
61
|
+
async function inspectTree({ gitRoot, outputLanguage, root, tree, userHome, version, }) {
|
|
62
|
+
const filesystem = createGitSnapshotFileSystem({
|
|
63
|
+
gitRoot,
|
|
64
|
+
preload: preloadCheckBlob,
|
|
65
|
+
root,
|
|
66
|
+
tree,
|
|
67
|
+
});
|
|
68
|
+
const observed = await observeSnapshot({
|
|
69
|
+
contentRoot: root,
|
|
70
|
+
filesystem: asBusinessFileSystem(filesystem),
|
|
71
|
+
gitRoot,
|
|
72
|
+
...(outputLanguage === undefined ? {} : { outputLanguage }),
|
|
73
|
+
root,
|
|
74
|
+
projectOnly: true,
|
|
75
|
+
snapshotTree: tree,
|
|
76
|
+
...(userHome === undefined ? {} : { userHome }),
|
|
77
|
+
version,
|
|
78
|
+
});
|
|
79
|
+
const eventHistoryConfig = observed.config?.version === 2 ? observed.config : null;
|
|
80
|
+
if (observed.config?.version === 1) {
|
|
81
|
+
const currentCommit = typeof version.commit === "string"
|
|
82
|
+
? version.commit
|
|
83
|
+
: "HEAD";
|
|
84
|
+
const current = runGit(gitRoot, ["cat-file", "-p", currentCommit]);
|
|
85
|
+
if (!current.ok)
|
|
86
|
+
throw new Error("Cannot inspect the candidate's first parent.");
|
|
87
|
+
const header = current.stdout.split("\n\n")[0] ?? "";
|
|
88
|
+
const parent = /^parent ([0-9a-f]+)$/m.exec(header)?.[1];
|
|
89
|
+
const base = version.type === "worktree" || version.type === "staged"
|
|
90
|
+
? currentCommit : parent;
|
|
91
|
+
if (base) {
|
|
92
|
+
const previousConfig = await loadConfigSnapshot({ gitRoot, tree: base });
|
|
93
|
+
if (previousConfig.config?.version === 2) {
|
|
94
|
+
observed.observation.problems.push({
|
|
95
|
+
type: "idea.events.downgrade", summary: "A v2 event project cannot be downgraded to mutable v1 status.",
|
|
96
|
+
});
|
|
97
|
+
observed.observation.state = "check-unavailable";
|
|
98
|
+
return observed;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if (eventHistoryConfig) {
|
|
103
|
+
try {
|
|
104
|
+
const eventHistory = await inspectEventHistory({
|
|
105
|
+
root: gitRoot,
|
|
106
|
+
tree,
|
|
107
|
+
config: eventHistoryConfig,
|
|
108
|
+
...(typeof version.commit === "string" ? { commit: version.commit } : {}),
|
|
109
|
+
...(version.type === "remote" && typeof version.commit === "string"
|
|
110
|
+
? { primary: version.commit }
|
|
111
|
+
: {}),
|
|
112
|
+
});
|
|
113
|
+
if (!observed.projectReady) {
|
|
114
|
+
return {
|
|
115
|
+
...observed,
|
|
116
|
+
observation: checkFailureObservation(observed, eventHistory),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
return {
|
|
120
|
+
...observed,
|
|
121
|
+
observation: { ...observed.observation, eventHistory },
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
catch (caught) {
|
|
125
|
+
const eventHistory = {
|
|
126
|
+
valid: false, error: errorMessage(caught), candidateSnapshotValid: observed.projectReady,
|
|
127
|
+
...(caught instanceof Error && "eventBaseline" in caught ? { baseline: caught.eventBaseline } : {}),
|
|
128
|
+
...(caught instanceof Error && "eventStage" in caught ? { unavailableStage: caught.eventStage } : {}),
|
|
129
|
+
...(caught instanceof Error && "eventCheck" in caught ? { result: caught.eventCheck } : {}),
|
|
130
|
+
};
|
|
131
|
+
return {
|
|
132
|
+
...observed,
|
|
133
|
+
projectReady: false,
|
|
134
|
+
observation: checkFailureObservation(observed, eventHistory, [...observed.observation.problems, {
|
|
135
|
+
type: "idea.events.history-invalid",
|
|
136
|
+
summary: errorMessage(caught),
|
|
137
|
+
}]),
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return observed;
|
|
142
|
+
}
|
|
143
|
+
function finishCheck(runtime, observed) {
|
|
144
|
+
return runtime.complete(observed.observation, {}, { factType: "validation.completed" });
|
|
145
|
+
}
|
|
146
|
+
const CHECKREPOSITORY_PORTS = Object.freeze({ createCommandRun, runGit, observeSnapshot, loadConfigSnapshot, resolveSnapshot, indexSnapshot, worktreeSnapshot, fetchPrimary, inspectTree });
|
|
147
|
+
export async function checkRepositoryUseCase({ commit, language, remote = false, root = process.cwd(), staged = false, userHome, worktree = false, } = {}, ports = CHECKREPOSITORY_PORTS) {
|
|
148
|
+
const { createCommandRun, runGit, observeSnapshot, loadConfigSnapshot, resolveSnapshot, indexSnapshot, worktreeSnapshot, fetchPrimary, inspectTree } = ports;
|
|
149
|
+
const canonicalLanguage = language === undefined
|
|
150
|
+
? undefined
|
|
151
|
+
: canonicalizeOutputLanguage(language);
|
|
152
|
+
const fallbackOutputLanguage = canonicalLanguage ?? DEFAULT_LANGUAGE;
|
|
153
|
+
const requestedRoot = resolve(root);
|
|
154
|
+
const targetCount = [remote, commit !== undefined, staged, worktree]
|
|
155
|
+
.filter(Boolean).length;
|
|
156
|
+
if (targetCount > 1) {
|
|
157
|
+
const error = new Error("Check targets are mutually exclusive; choose one of remote, commit, staged, or worktree.");
|
|
158
|
+
Object.defineProperty(error, "exitCode", { value: 2, enumerable: true });
|
|
159
|
+
throw error;
|
|
160
|
+
}
|
|
161
|
+
const target = targetArgument({ commit, remote, staged, worktree });
|
|
162
|
+
const intention = {
|
|
163
|
+
command: "check",
|
|
164
|
+
args: {
|
|
165
|
+
target,
|
|
166
|
+
language: canonicalLanguage ?? null,
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
const runtime = createCommandRun(intention);
|
|
170
|
+
const repository = runGit(requestedRoot, ["rev-parse", "--show-toplevel"]);
|
|
171
|
+
if (!repository.ok) {
|
|
172
|
+
const observed = await observeSnapshot({
|
|
173
|
+
outputLanguage: canonicalLanguage,
|
|
174
|
+
projectOnly: true,
|
|
175
|
+
root: requestedRoot,
|
|
176
|
+
userHome,
|
|
177
|
+
version: target.type === "commit" || target.type === "head"
|
|
178
|
+
? { type: "commit", commit: null }
|
|
179
|
+
: target.type === "remote"
|
|
180
|
+
? { type: "remote", commit: null }
|
|
181
|
+
: { type: target.type },
|
|
182
|
+
});
|
|
183
|
+
return finishCheck(runtime, observed);
|
|
184
|
+
}
|
|
185
|
+
const repositoryRoot = resolve(repository.stdout);
|
|
186
|
+
if (remote) {
|
|
187
|
+
let head;
|
|
188
|
+
try {
|
|
189
|
+
head = resolveSnapshot(repositoryRoot, "HEAD");
|
|
190
|
+
}
|
|
191
|
+
catch (caught) {
|
|
192
|
+
return failureReport({
|
|
193
|
+
runtime,
|
|
194
|
+
outputLanguage: fallbackOutputLanguage,
|
|
195
|
+
problem: {
|
|
196
|
+
type: "head-unavailable",
|
|
197
|
+
summary: sanitizeGitMessage(errorMessage(caught)),
|
|
198
|
+
},
|
|
199
|
+
root: repositoryRoot,
|
|
200
|
+
version: { type: "remote", commit: null },
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
let bootstrap;
|
|
204
|
+
try {
|
|
205
|
+
bootstrap = await loadConfigSnapshot({
|
|
206
|
+
gitRoot: repositoryRoot,
|
|
207
|
+
tree: head.tree,
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
catch (caught) {
|
|
211
|
+
return failureReport({
|
|
212
|
+
runtime,
|
|
213
|
+
outputLanguage: fallbackOutputLanguage,
|
|
214
|
+
problem: {
|
|
215
|
+
type: "snapshot-inspection-failed",
|
|
216
|
+
summary: sanitizeGitMessage(errorMessage(caught)),
|
|
217
|
+
},
|
|
218
|
+
root: repositoryRoot,
|
|
219
|
+
version: { type: "remote", commit: null },
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
if (!bootstrap.config) {
|
|
223
|
+
return runtime.complete({
|
|
224
|
+
state: "project-setup-required",
|
|
225
|
+
observedThrough: "version",
|
|
226
|
+
root: repositoryRoot,
|
|
227
|
+
version: { type: "remote", commit: null },
|
|
228
|
+
outputLanguage: fallbackOutputLanguage,
|
|
229
|
+
problems: bootstrap.diagnostics.map((diagnostic) => diagnosticProblem({
|
|
230
|
+
...diagnostic,
|
|
231
|
+
code: diagnostic.code ?? "configuration.invalid",
|
|
232
|
+
}, fallbackOutputLanguage)),
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
const bootstrapConfig = bootstrap.config;
|
|
236
|
+
const fetched = await runtime.performAction({
|
|
237
|
+
type: "fetch-primary",
|
|
238
|
+
repository: bootstrapConfig.primaryRepository,
|
|
239
|
+
branch: bootstrapConfig.primaryBranch,
|
|
240
|
+
}, () => ({
|
|
241
|
+
commit: fetchPrimary(repositoryRoot, bootstrapConfig),
|
|
242
|
+
}), (caught) => ({
|
|
243
|
+
problem: {
|
|
244
|
+
type: "primary-fetch-failed",
|
|
245
|
+
summary: sanitizeGitMessage(errorMessage(caught)),
|
|
246
|
+
},
|
|
247
|
+
}));
|
|
248
|
+
if (fetched.status === "failure") {
|
|
249
|
+
return failureReport({
|
|
250
|
+
runtime,
|
|
251
|
+
outputLanguage: fallbackOutputLanguage,
|
|
252
|
+
root: repositoryRoot,
|
|
253
|
+
version: { type: "remote", commit: null },
|
|
254
|
+
problem: fetched.problem,
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
const primary = fetched.result.commit;
|
|
258
|
+
try {
|
|
259
|
+
const snapshot = resolveSnapshot(repositoryRoot, primary);
|
|
260
|
+
const observed = await inspectTree({
|
|
261
|
+
gitRoot: repositoryRoot,
|
|
262
|
+
outputLanguage: canonicalLanguage,
|
|
263
|
+
root: repositoryRoot,
|
|
264
|
+
tree: snapshot.tree,
|
|
265
|
+
userHome,
|
|
266
|
+
version: { type: "remote", commit: primary },
|
|
267
|
+
});
|
|
268
|
+
return finishCheck(runtime, observed);
|
|
269
|
+
}
|
|
270
|
+
catch (caught) {
|
|
271
|
+
return failureReport({
|
|
272
|
+
runtime,
|
|
273
|
+
outputLanguage: fallbackOutputLanguage,
|
|
274
|
+
problem: {
|
|
275
|
+
type: "snapshot-inspection-failed",
|
|
276
|
+
summary: sanitizeGitMessage(errorMessage(caught)),
|
|
277
|
+
},
|
|
278
|
+
root: repositoryRoot,
|
|
279
|
+
version: { type: "remote", commit: primary },
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
if (commit !== undefined || (!staged && !worktree)) {
|
|
284
|
+
const revision = commit ?? "HEAD";
|
|
285
|
+
let snapshot;
|
|
286
|
+
try {
|
|
287
|
+
snapshot = resolveSnapshot(repositoryRoot, revision);
|
|
288
|
+
}
|
|
289
|
+
catch (caught) {
|
|
290
|
+
return failureReport({
|
|
291
|
+
runtime,
|
|
292
|
+
outputLanguage: fallbackOutputLanguage,
|
|
293
|
+
problem: {
|
|
294
|
+
type: "commit-unavailable",
|
|
295
|
+
summary: sanitizeGitMessage(errorMessage(caught)),
|
|
296
|
+
},
|
|
297
|
+
root: repositoryRoot,
|
|
298
|
+
version: { type: "commit", commit: null },
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
try {
|
|
302
|
+
const observed = await inspectTree({
|
|
303
|
+
gitRoot: repositoryRoot,
|
|
304
|
+
outputLanguage: canonicalLanguage,
|
|
305
|
+
root: repositoryRoot,
|
|
306
|
+
tree: snapshot.tree,
|
|
307
|
+
userHome,
|
|
308
|
+
version: { type: "commit", commit: snapshot.commit },
|
|
309
|
+
});
|
|
310
|
+
return finishCheck(runtime, observed);
|
|
311
|
+
}
|
|
312
|
+
catch (caught) {
|
|
313
|
+
return failureReport({
|
|
314
|
+
runtime,
|
|
315
|
+
outputLanguage: fallbackOutputLanguage,
|
|
316
|
+
problem: {
|
|
317
|
+
type: "snapshot-inspection-failed",
|
|
318
|
+
summary: sanitizeGitMessage(errorMessage(caught)),
|
|
319
|
+
},
|
|
320
|
+
root: repositoryRoot,
|
|
321
|
+
version: { type: "commit", commit: snapshot.commit },
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
if (staged) {
|
|
326
|
+
try {
|
|
327
|
+
const snapshot = indexSnapshot(repositoryRoot);
|
|
328
|
+
const observed = await inspectTree({
|
|
329
|
+
gitRoot: repositoryRoot,
|
|
330
|
+
outputLanguage: canonicalLanguage,
|
|
331
|
+
root: repositoryRoot,
|
|
332
|
+
tree: snapshot.tree,
|
|
333
|
+
userHome,
|
|
334
|
+
version: { type: "staged" },
|
|
335
|
+
});
|
|
336
|
+
return finishCheck(runtime, observed);
|
|
337
|
+
}
|
|
338
|
+
catch (caught) {
|
|
339
|
+
return failureReport({
|
|
340
|
+
runtime,
|
|
341
|
+
outputLanguage: fallbackOutputLanguage,
|
|
342
|
+
problem: {
|
|
343
|
+
type: "snapshot-inspection-failed",
|
|
344
|
+
summary: sanitizeGitMessage(errorMessage(caught)),
|
|
345
|
+
},
|
|
346
|
+
root: repositoryRoot,
|
|
347
|
+
version: { type: "staged" },
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
try {
|
|
352
|
+
const snapshot = worktreeSnapshot(repositoryRoot);
|
|
353
|
+
const observed = await inspectTree({
|
|
354
|
+
gitRoot: repositoryRoot,
|
|
355
|
+
outputLanguage: canonicalLanguage,
|
|
356
|
+
root: repositoryRoot,
|
|
357
|
+
tree: snapshot.tree,
|
|
358
|
+
userHome,
|
|
359
|
+
version: { type: "worktree" },
|
|
360
|
+
});
|
|
361
|
+
return finishCheck(runtime, observed);
|
|
362
|
+
}
|
|
363
|
+
catch (caught) {
|
|
364
|
+
return failureReport({
|
|
365
|
+
runtime,
|
|
366
|
+
outputLanguage: fallbackOutputLanguage,
|
|
367
|
+
problem: {
|
|
368
|
+
type: "snapshot-inspection-failed",
|
|
369
|
+
summary: sanitizeGitMessage(errorMessage(caught)),
|
|
370
|
+
},
|
|
371
|
+
root: repositoryRoot,
|
|
372
|
+
version: { type: "worktree" },
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
export async function checkRepository(options = {}) {
|
|
377
|
+
return checkRepositoryUseCase(options);
|
|
378
|
+
}
|
|
379
|
+
//# sourceMapp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C,OAAO,EAAE,kBAAkB,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;aAClD;YACD,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;SAC9B,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,UAAkC,EAAE;IACxE,OAAO,sBAAsB,CAAC,OAAO,CAAC,CAAC;AACzC,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { cleanupScaffold, createScaffold } from "../foundation/owned-write/index.ts";
|
|
2
|
+
import { createCommandRun } from "../foundation/command-message/index.ts";
|
|
3
|
+
import { inspectPhaseGuidance } from "../foundation/guidance/index.ts";
|
|
4
|
+
import { observeSnapshot } from "./shared/index.ts";
|
|
5
|
+
import { assessIdeaCreationReadiness } from "./shared/index.ts";
|
|
6
|
+
import type { Problem } from "./shared/business-types.ts";
|
|
7
|
+
import type { IdeaCreatedObservation, ProjectReadyObservation, RepositoryBlockedObservation } from "../foundation/report/types.ts";
|
|
8
|
+
interface CreateIdeaOptions {
|
|
9
|
+
generateId?: typeof generateUlid;
|
|
10
|
+
guidanceReader?: typeof inspectPhaseGuidance;
|
|
11
|
+
language?: string;
|
|
12
|
+
operations?: NonNullable<Parameters<typeof createScaffold>[0]["operations"]>;
|
|
13
|
+
root?: string;
|
|
14
|
+
userHome?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function generateUlid({ now, random, }?: {
|
|
17
|
+
now?: number;
|
|
18
|
+
random?: Buffer;
|
|
19
|
+
}): string;
|
|
20
|
+
declare const CREATEIDEA_PORTS: Readonly<{
|
|
21
|
+
createCommandRun: typeof createCommandRun;
|
|
22
|
+
observeSnapshot: typeof observeSnapshot;
|
|
23
|
+
assessIdeaCreationReadiness: typeof assessIdeaCreationReadiness;
|
|
24
|
+
createScaffold: typeof createScaffold;
|
|
25
|
+
cleanupScaffold: typeof cleanupScaffold;
|
|
26
|
+
}>;
|
|
27
|
+
export declare function createIdeaUseCase({ generateId, guidanceReader, language, operations, root, userHome, }?: CreateIdeaOptions, ports?: typeof CREATEIDEA_PORTS): Promise<{
|
|
28
|
+
intention: import("../foundation/report/types.ts").CommandIntention;
|
|
29
|
+
observation: import("../foundation/report/types.ts").ProjectSetupObservation | import("../foundation/report/types.ts").CheckUnavailableObservation | ProjectReadyObservation | RepositoryBlockedObservation | import("../foundation/report/types.ts").NavigationReadyObservation | import("../foundation/report/types.ts").IdeaNotFoundObservation | import("../foundation/report/types.ts").IdeaSelectedObservation | IdeaCreatedObservation | import("../foundation/report/types.ts").IdeasListedObservation | import("../foundation/report/types.ts").EventResultObservation | {
|
|
30
|
+
guidance: {
|
|
31
|
+
phase: string;
|
|
32
|
+
path: string;
|
|
33
|
+
contentRevision: string;
|
|
34
|
+
};
|
|
35
|
+
state: "idea-selected";
|
|
36
|
+
configuration: import("../foundation/report/types.ts").ProjectConfiguration;
|
|
37
|
+
version: import("../foundation/report/types.ts").ProjectVersion;
|
|
38
|
+
selectedIdea: import("../foundation/report/types.ts").IdeaReference;
|
|
39
|
+
root: string;
|
|
40
|
+
outputLanguage: string;
|
|
41
|
+
problems: Problem[];
|
|
42
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
43
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
44
|
+
} | {
|
|
45
|
+
guidance: {
|
|
46
|
+
phase: string;
|
|
47
|
+
path: string;
|
|
48
|
+
contentRevision: string;
|
|
49
|
+
};
|
|
50
|
+
state: "idea-created";
|
|
51
|
+
configuration: import("../foundation/report/types.ts").ProjectConfiguration;
|
|
52
|
+
version: import("../foundation/report/types.ts").ProjectVersion;
|
|
53
|
+
createdIdea: import("../foundation/report/types.ts").CreatedIdea;
|
|
54
|
+
root: string;
|
|
55
|
+
outputLanguage: string;
|
|
56
|
+
problems: Problem[];
|
|
57
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
58
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
59
|
+
};
|
|
60
|
+
actions: import("../foundation/command-message/observation.ts").ProjectedAction[];
|
|
61
|
+
response: import("../foundation/report/types.ts").ReportResponse;
|
|
62
|
+
}>;
|
|
63
|
+
export declare function createIdea(options?: CreateIdeaOptions): Promise<{
|
|
64
|
+
intention: import("../foundation/report/types.ts").CommandIntention;
|
|
65
|
+
observation: import("../foundation/report/types.ts").ProjectSetupObservation | import("../foundation/report/types.ts").CheckUnavailableObservation | ProjectReadyObservation | RepositoryBlockedObservation | import("../foundation/report/types.ts").NavigationReadyObservation | import("../foundation/report/types.ts").IdeaNotFoundObservation | import("../foundation/report/types.ts").IdeaSelectedObservation | IdeaCreatedObservation | import("../foundation/report/types.ts").IdeasListedObservation | import("../foundation/report/types.ts").EventResultObservation | {
|
|
66
|
+
guidance: {
|
|
67
|
+
phase: string;
|
|
68
|
+
path: string;
|
|
69
|
+
contentRevision: string;
|
|
70
|
+
};
|
|
71
|
+
state: "idea-selected";
|
|
72
|
+
configuration: import("../foundation/report/types.ts").ProjectConfiguration;
|
|
73
|
+
version: import("../foundation/report/types.ts").ProjectVersion;
|
|
74
|
+
selectedIdea: import("../foundation/report/types.ts").IdeaReference;
|
|
75
|
+
root: string;
|
|
76
|
+
outputLanguage: string;
|
|
77
|
+
problems: Problem[];
|
|
78
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
79
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
80
|
+
} | {
|
|
81
|
+
guidance: {
|
|
82
|
+
phase: string;
|
|
83
|
+
path: string;
|
|
84
|
+
contentRevision: string;
|
|
85
|
+
};
|
|
86
|
+
state: "idea-created";
|
|
87
|
+
configuration: import("../foundation/report/types.ts").ProjectConfiguration;
|
|
88
|
+
version: import("../foundation/report/types.ts").ProjectVersion;
|
|
89
|
+
createdIdea: import("../foundation/report/types.ts").CreatedIdea;
|
|
90
|
+
root: string;
|
|
91
|
+
outputLanguage: string;
|
|
92
|
+
problems: Problem[];
|
|
93
|
+
device?: import("../foundation/report/types.ts").DeviceAdvisory;
|
|
94
|
+
schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness;
|
|
95
|
+
};
|
|
96
|
+
actions: import("../foundation/command-message/observation.ts").ProjectedAction[];
|
|
97
|
+
response: import("../foundation/report/types.ts").ReportResponse;
|
|
98
|
+
}>;
|
|
99
|
+
export {};
|
|
100
|
+
//# sourceMappingURL=create-idea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-idea.d.ts","sourceRoot":"","sources":["../../../src/business/create-idea.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAkB,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAG1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAIvE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAGV,OAAO,EAER,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EACV,sBAAsB,EAEtB,uBAAuB,EACvB,4BAA4B,EAC7B,MAAM,+BAA+B,CAAC;AAEvC,UAAU,iBAAiB;IACzB,UAAU,CAAC,EAAE,OAAO,YAAY,CAAC;IACjC,cAAc,CAAC,EAAE,OAAO,oBAAoB,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;IAC7E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,YAAY,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