@ginkoai/cli 1.0.0 → 1.4.1
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 +19 -0
- package/dist/analysis/project-analyzer.d.ts.map +1 -1
- package/dist/analysis/project-analyzer.js +68 -4
- package/dist/analysis/project-analyzer.js.map +1 -1
- package/dist/commands/architecture/architecture-pipeline-enhanced.d.ts.map +1 -1
- package/dist/commands/architecture/architecture-pipeline-enhanced.js +10 -6
- package/dist/commands/architecture/architecture-pipeline-enhanced.js.map +1 -1
- package/dist/commands/backlog/base.d.ts.map +1 -1
- package/dist/commands/backlog/base.js +3 -0
- package/dist/commands/backlog/base.js.map +1 -1
- package/dist/commands/backlog/create.js +20 -20
- package/dist/commands/backlog/create.js.map +1 -1
- package/dist/commands/backlog/index.d.ts.map +1 -1
- package/dist/commands/backlog/index.js +6 -1
- package/dist/commands/backlog/index.js.map +1 -1
- package/dist/commands/changelog/changelog-reflection.d.ts.map +1 -1
- package/dist/commands/changelog/changelog-reflection.js +7 -3
- package/dist/commands/changelog/changelog-reflection.js.map +1 -1
- package/dist/commands/charter.d.ts +28 -0
- package/dist/commands/charter.d.ts.map +1 -0
- package/dist/commands/charter.js +434 -0
- package/dist/commands/charter.js.map +1 -0
- package/dist/commands/documentation/documentation-pipeline.d.ts.map +1 -1
- package/dist/commands/documentation/documentation-pipeline.js +15 -7
- package/dist/commands/documentation/documentation-pipeline.js.map +1 -1
- package/dist/commands/git/git-pipeline.d.ts.map +1 -1
- package/dist/commands/git/git-pipeline.js +3 -2
- package/dist/commands/git/git-pipeline.js.map +1 -1
- package/dist/commands/graph/api-client.d.ts +212 -0
- package/dist/commands/graph/api-client.d.ts.map +1 -0
- package/dist/commands/graph/api-client.js +143 -0
- package/dist/commands/graph/api-client.js.map +1 -0
- package/dist/commands/graph/config.d.ts +82 -0
- package/dist/commands/graph/config.d.ts.map +1 -0
- package/dist/commands/graph/config.js +113 -0
- package/dist/commands/graph/config.js.map +1 -0
- package/dist/commands/graph/explore.d.ts +19 -0
- package/dist/commands/graph/explore.d.ts.map +1 -0
- package/dist/commands/graph/explore.js +117 -0
- package/dist/commands/graph/explore.js.map +1 -0
- package/dist/commands/graph/index.d.ts +17 -0
- package/dist/commands/graph/index.d.ts.map +1 -0
- package/dist/commands/graph/index.js +104 -0
- package/dist/commands/graph/index.js.map +1 -0
- package/dist/commands/graph/init.d.ts +21 -0
- package/dist/commands/graph/init.d.ts.map +1 -0
- package/dist/commands/graph/init.js +173 -0
- package/dist/commands/graph/init.js.map +1 -0
- package/dist/commands/graph/load.d.ts +21 -0
- package/dist/commands/graph/load.d.ts.map +1 -0
- package/dist/commands/graph/load.js +224 -0
- package/dist/commands/graph/load.js.map +1 -0
- package/dist/commands/graph/query.d.ts +23 -0
- package/dist/commands/graph/query.d.ts.map +1 -0
- package/dist/commands/graph/query.js +145 -0
- package/dist/commands/graph/query.js.map +1 -0
- package/dist/commands/graph/status.d.ts +15 -0
- package/dist/commands/graph/status.d.ts.map +1 -0
- package/dist/commands/graph/status.js +88 -0
- package/dist/commands/graph/status.js.map +1 -0
- package/dist/commands/handoff.d.ts +14 -5
- package/dist/commands/handoff.d.ts.map +1 -1
- package/dist/commands/handoff.js +84 -142
- package/dist/commands/handoff.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +88 -41
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/knowledge/create.d.ts +24 -0
- package/dist/commands/knowledge/create.d.ts.map +1 -0
- package/dist/commands/knowledge/create.js +180 -0
- package/dist/commands/knowledge/create.js.map +1 -0
- package/dist/commands/knowledge/graph.d.ts +21 -0
- package/dist/commands/knowledge/graph.d.ts.map +1 -0
- package/dist/commands/knowledge/graph.js +199 -0
- package/dist/commands/knowledge/graph.js.map +1 -0
- package/dist/commands/knowledge/index.d.ts +25 -0
- package/dist/commands/knowledge/index.d.ts.map +1 -0
- package/dist/commands/knowledge/index.js +121 -0
- package/dist/commands/knowledge/index.js.map +1 -0
- package/dist/commands/knowledge/search.d.ts +23 -0
- package/dist/commands/knowledge/search.d.ts.map +1 -0
- package/dist/commands/knowledge/search.js +157 -0
- package/dist/commands/knowledge/search.js.map +1 -0
- package/dist/commands/knowledge/sync.d.ts +28 -0
- package/dist/commands/knowledge/sync.d.ts.map +1 -0
- package/dist/commands/knowledge/sync.js +251 -0
- package/dist/commands/knowledge/sync.js.map +1 -0
- package/dist/commands/log.d.ts +32 -0
- package/dist/commands/log.d.ts.map +1 -0
- package/dist/commands/log.js +632 -0
- package/dist/commands/log.js.map +1 -0
- package/dist/commands/login.d.ts +27 -0
- package/dist/commands/login.d.ts.map +1 -0
- package/dist/commands/login.js +177 -0
- package/dist/commands/login.js.map +1 -0
- package/dist/commands/logout.d.ts +15 -0
- package/dist/commands/logout.d.ts.map +1 -0
- package/dist/commands/logout.js +31 -0
- package/dist/commands/logout.js.map +1 -0
- package/dist/commands/project/create.d.ts +22 -0
- package/dist/commands/project/create.d.ts.map +1 -0
- package/dist/commands/project/create.js +69 -0
- package/dist/commands/project/create.js.map +1 -0
- package/dist/commands/project/delete.d.ts +19 -0
- package/dist/commands/project/delete.d.ts.map +1 -0
- package/dist/commands/project/delete.js +73 -0
- package/dist/commands/project/delete.js.map +1 -0
- package/dist/commands/project/index.d.ts +22 -0
- package/dist/commands/project/index.d.ts.map +1 -0
- package/dist/commands/project/index.js +134 -0
- package/dist/commands/project/index.js.map +1 -0
- package/dist/commands/project/info.d.ts +15 -0
- package/dist/commands/project/info.d.ts.map +1 -0
- package/dist/commands/project/info.js +92 -0
- package/dist/commands/project/info.js.map +1 -0
- package/dist/commands/project/list.d.ts +20 -0
- package/dist/commands/project/list.d.ts.map +1 -0
- package/dist/commands/project/list.js +82 -0
- package/dist/commands/project/list.js.map +1 -0
- package/dist/commands/project/members.d.ts +27 -0
- package/dist/commands/project/members.d.ts.map +1 -0
- package/dist/commands/project/members.js +140 -0
- package/dist/commands/project/members.js.map +1 -0
- package/dist/commands/project/update.d.ts +24 -0
- package/dist/commands/project/update.d.ts.map +1 -0
- package/dist/commands/project/update.js +83 -0
- package/dist/commands/project/update.js.map +1 -0
- package/dist/commands/reflect.js +0 -3
- package/dist/commands/reflect.js.map +1 -1
- package/dist/commands/ship.d.ts +3 -1
- package/dist/commands/ship.d.ts.map +1 -1
- package/dist/commands/ship.js +100 -9
- package/dist/commands/ship.js.map +1 -1
- package/dist/commands/start/index.d.ts.map +1 -1
- package/dist/commands/start/index.js +5 -3
- package/dist/commands/start/index.js.map +1 -1
- package/dist/commands/start/start-reflection.d.ts +2 -1
- package/dist/commands/start/start-reflection.d.ts.map +1 -1
- package/dist/commands/start/start-reflection.js +265 -43
- package/dist/commands/start/start-reflection.js.map +1 -1
- package/dist/commands/status.d.ts +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +41 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/team/create.d.ts +15 -0
- package/dist/commands/team/create.d.ts.map +1 -0
- package/dist/commands/team/create.js +48 -0
- package/dist/commands/team/create.js.map +1 -0
- package/dist/commands/team/index.d.ts +22 -0
- package/dist/commands/team/index.d.ts.map +1 -0
- package/dist/commands/team/index.js +109 -0
- package/dist/commands/team/index.js.map +1 -0
- package/dist/commands/team/list.d.ts +15 -0
- package/dist/commands/team/list.d.ts.map +1 -0
- package/dist/commands/team/list.js +67 -0
- package/dist/commands/team/list.js.map +1 -0
- package/dist/commands/team/members.d.ts +27 -0
- package/dist/commands/team/members.d.ts.map +1 -0
- package/dist/commands/team/members.js +135 -0
- package/dist/commands/team/members.js.map +1 -0
- package/dist/commands/team/projects.d.ts +19 -0
- package/dist/commands/team/projects.d.ts.map +1 -0
- package/dist/commands/team/projects.js +107 -0
- package/dist/commands/team/projects.js.map +1 -0
- package/dist/commands/team.d.ts +22 -0
- package/dist/commands/team.d.ts.map +1 -0
- package/dist/commands/team.js +238 -0
- package/dist/commands/team.js.map +1 -0
- package/dist/commands/testing/testing-pipeline-enhanced.d.ts.map +1 -1
- package/dist/commands/testing/testing-pipeline-enhanced.js +5 -3
- package/dist/commands/testing/testing-pipeline-enhanced.js.map +1 -1
- package/dist/commands/testing/testing-pipeline.d.ts.map +1 -1
- package/dist/commands/testing/testing-pipeline.js +5 -3
- package/dist/commands/testing/testing-pipeline.js.map +1 -1
- package/dist/commands/whoami.d.ts +15 -0
- package/dist/commands/whoami.d.ts.map +1 -0
- package/dist/commands/whoami.js +38 -0
- package/dist/commands/whoami.js.map +1 -0
- package/dist/core/reflection-pattern.d.ts +1 -1
- package/dist/core/reflection-pattern.d.ts.map +1 -1
- package/dist/core/reflection-pattern.js +2 -12
- package/dist/core/reflection-pattern.js.map +1 -1
- package/dist/core/session-log-manager.d.ts +44 -4
- package/dist/core/session-log-manager.d.ts.map +1 -1
- package/dist/core/session-log-manager.js +132 -31
- package/dist/core/session-log-manager.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +116 -17
- package/dist/index.js.map +1 -1
- package/dist/lib/api/projects-client.d.ts +119 -0
- package/dist/lib/api/projects-client.d.ts.map +1 -0
- package/dist/lib/api/projects-client.js +125 -0
- package/dist/lib/api/projects-client.js.map +1 -0
- package/dist/lib/api/teams-client.d.ts +73 -0
- package/dist/lib/api/teams-client.d.ts.map +1 -0
- package/dist/lib/api/teams-client.js +68 -0
- package/dist/lib/api/teams-client.js.map +1 -0
- package/dist/lib/charter/charter-editor.d.ts +60 -0
- package/dist/lib/charter/charter-editor.d.ts.map +1 -0
- package/dist/lib/charter/charter-editor.js +559 -0
- package/dist/lib/charter/charter-editor.js.map +1 -0
- package/dist/lib/charter/charter-storage.d.ts +92 -0
- package/dist/lib/charter/charter-storage.d.ts.map +1 -0
- package/dist/lib/charter/charter-storage.js +501 -0
- package/dist/lib/charter/charter-storage.js.map +1 -0
- package/dist/lib/charter/charter-synthesizer.d.ts +94 -0
- package/dist/lib/charter/charter-synthesizer.d.ts.map +1 -0
- package/dist/lib/charter/charter-synthesizer.js +521 -0
- package/dist/lib/charter/charter-synthesizer.js.map +1 -0
- package/dist/lib/charter/charter-versioning.d.ts +57 -0
- package/dist/lib/charter/charter-versioning.d.ts.map +1 -0
- package/dist/lib/charter/charter-versioning.js +283 -0
- package/dist/lib/charter/charter-versioning.js.map +1 -0
- package/dist/lib/charter/confidence-scorer.d.ts +263 -0
- package/dist/lib/charter/confidence-scorer.d.ts.map +1 -0
- package/dist/lib/charter/confidence-scorer.js +737 -0
- package/dist/lib/charter/confidence-scorer.js.map +1 -0
- package/dist/lib/charter/conversation-context.d.ts +99 -0
- package/dist/lib/charter/conversation-context.d.ts.map +1 -0
- package/dist/lib/charter/conversation-context.js +297 -0
- package/dist/lib/charter/conversation-context.js.map +1 -0
- package/dist/lib/charter/conversation-facilitator.d.ts +117 -0
- package/dist/lib/charter/conversation-facilitator.d.ts.map +1 -0
- package/dist/lib/charter/conversation-facilitator.js +360 -0
- package/dist/lib/charter/conversation-facilitator.js.map +1 -0
- package/dist/lib/charter/question-templates.d.ts +82 -0
- package/dist/lib/charter/question-templates.d.ts.map +1 -0
- package/dist/lib/charter/question-templates.js +355 -0
- package/dist/lib/charter/question-templates.js.map +1 -0
- package/dist/lib/charter/signal-detection.d.ts +49 -0
- package/dist/lib/charter/signal-detection.d.ts.map +1 -0
- package/dist/lib/charter/signal-detection.js +338 -0
- package/dist/lib/charter/signal-detection.js.map +1 -0
- package/dist/lib/context-loader-events.d.ts +111 -0
- package/dist/lib/context-loader-events.d.ts.map +1 -0
- package/dist/lib/context-loader-events.js +475 -0
- package/dist/lib/context-loader-events.js.map +1 -0
- package/dist/lib/event-logger.d.ts +64 -0
- package/dist/lib/event-logger.d.ts.map +1 -0
- package/dist/lib/event-logger.js +197 -0
- package/dist/lib/event-logger.js.map +1 -0
- package/dist/lib/event-queue.d.ts +104 -0
- package/dist/lib/event-queue.d.ts.map +1 -0
- package/dist/lib/event-queue.js +274 -0
- package/dist/lib/event-queue.js.map +1 -0
- package/dist/lib/session-cursor.d.ts +80 -0
- package/dist/lib/session-cursor.d.ts.map +1 -0
- package/dist/lib/session-cursor.js +250 -0
- package/dist/lib/session-cursor.js.map +1 -0
- package/dist/lib/sync/conflict-detector.d.ts +41 -0
- package/dist/lib/sync/conflict-detector.d.ts.map +1 -0
- package/dist/lib/sync/conflict-detector.js +124 -0
- package/dist/lib/sync/conflict-detector.js.map +1 -0
- package/dist/lib/sync/logger.d.ts +89 -0
- package/dist/lib/sync/logger.d.ts.map +1 -0
- package/dist/lib/sync/logger.js +202 -0
- package/dist/lib/sync/logger.js.map +1 -0
- package/dist/lib/sync/parser.d.ts +32 -0
- package/dist/lib/sync/parser.d.ts.map +1 -0
- package/dist/lib/sync/parser.js +180 -0
- package/dist/lib/sync/parser.js.map +1 -0
- package/dist/lib/sync/scanner.d.ts +34 -0
- package/dist/lib/sync/scanner.d.ts.map +1 -0
- package/dist/lib/sync/scanner.js +97 -0
- package/dist/lib/sync/scanner.js.map +1 -0
- package/dist/lib/sync/uploader.d.ts +33 -0
- package/dist/lib/sync/uploader.d.ts.map +1 -0
- package/dist/lib/sync/uploader.js +188 -0
- package/dist/lib/sync/uploader.js.map +1 -0
- package/dist/lib/write-dispatcher/adapters/graph-adapter.d.ts +77 -0
- package/dist/lib/write-dispatcher/adapters/graph-adapter.d.ts.map +1 -0
- package/dist/lib/write-dispatcher/adapters/graph-adapter.js +178 -0
- package/dist/lib/write-dispatcher/adapters/graph-adapter.js.map +1 -0
- package/dist/lib/write-dispatcher/adapters/local-adapter.d.ts +133 -0
- package/dist/lib/write-dispatcher/adapters/local-adapter.d.ts.map +1 -0
- package/dist/lib/write-dispatcher/adapters/local-adapter.js +324 -0
- package/dist/lib/write-dispatcher/adapters/local-adapter.js.map +1 -0
- package/dist/lib/write-dispatcher/write-dispatcher.d.ts +151 -0
- package/dist/lib/write-dispatcher/write-dispatcher.d.ts.map +1 -0
- package/dist/lib/write-dispatcher/write-dispatcher.js +197 -0
- package/dist/lib/write-dispatcher/write-dispatcher.js.map +1 -0
- package/dist/types/charter.d.ts +330 -0
- package/dist/types/charter.d.ts.map +1 -0
- package/dist/types/charter.js +76 -0
- package/dist/types/charter.js.map +1 -0
- package/dist/types/config.d.ts +65 -17
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/config.js +50 -21
- package/dist/types/config.js.map +1 -1
- package/dist/utils/api-client.d.ts +36 -0
- package/dist/utils/api-client.d.ts.map +1 -0
- package/dist/utils/api-client.js +97 -0
- package/dist/utils/api-client.js.map +1 -0
- package/dist/utils/auth-storage.d.ts +56 -0
- package/dist/utils/auth-storage.d.ts.map +1 -0
- package/dist/utils/auth-storage.js +133 -0
- package/dist/utils/auth-storage.js.map +1 -0
- package/dist/utils/cleanup.d.ts +21 -0
- package/dist/utils/cleanup.d.ts.map +1 -0
- package/dist/utils/cleanup.js +122 -0
- package/dist/utils/cleanup.js.map +1 -0
- package/dist/utils/config-loader.d.ts +76 -0
- package/dist/utils/config-loader.d.ts.map +1 -0
- package/dist/utils/config-loader.js +269 -0
- package/dist/utils/config-loader.js.map +1 -0
- package/dist/utils/context-loader.d.ts +154 -0
- package/dist/utils/context-loader.d.ts.map +1 -0
- package/dist/utils/context-loader.js +411 -0
- package/dist/utils/context-loader.js.map +1 -0
- package/dist/utils/dispatcher-logger.d.ts +30 -0
- package/dist/utils/dispatcher-logger.d.ts.map +1 -0
- package/dist/utils/dispatcher-logger.js +128 -0
- package/dist/utils/dispatcher-logger.js.map +1 -0
- package/dist/utils/ginko-root.d.ts +3 -2
- package/dist/utils/ginko-root.d.ts.map +1 -1
- package/dist/utils/ginko-root.js +35 -2
- package/dist/utils/ginko-root.js.map +1 -1
- package/dist/utils/helpers.d.ts +1 -0
- package/dist/utils/helpers.d.ts.map +1 -1
- package/dist/utils/helpers.js +3 -0
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/log-quality.d.ts +55 -0
- package/dist/utils/log-quality.d.ts.map +1 -0
- package/dist/utils/log-quality.js +297 -0
- package/dist/utils/log-quality.js.map +1 -0
- package/dist/utils/reference-parser.d.ts +164 -0
- package/dist/utils/reference-parser.d.ts.map +1 -0
- package/dist/utils/reference-parser.js +363 -0
- package/dist/utils/reference-parser.js.map +1 -0
- package/dist/utils/synthesis.d.ts +180 -0
- package/dist/utils/synthesis.d.ts.map +1 -0
- package/dist/utils/synthesis.js +724 -0
- package/dist/utils/synthesis.js.map +1 -0
- package/dist/utils/team-awareness.d.ts +127 -0
- package/dist/utils/team-awareness.d.ts.map +1 -0
- package/dist/utils/team-awareness.js +385 -0
- package/dist/utils/team-awareness.js.map +1 -0
- package/package.json +6 -4
- package/dist/commands/handoff/handoff-reflection-pipeline.d.ts +0 -106
- package/dist/commands/handoff/handoff-reflection-pipeline.d.ts.map +0 -1
- package/dist/commands/handoff/handoff-reflection-pipeline.js +0 -534
- package/dist/commands/handoff/handoff-reflection-pipeline.js.map +0 -1
- package/dist/commands/handoff/handoff-save.d.ts +0 -16
- package/dist/commands/handoff/handoff-save.d.ts.map +0 -1
- package/dist/commands/handoff/handoff-save.js +0 -72
- package/dist/commands/handoff/handoff-save.js.map +0 -1
- package/dist/commands/handoff/index.d.ts +0 -19
- package/dist/commands/handoff/index.d.ts.map +0 -1
- package/dist/commands/handoff/index.js +0 -55
- package/dist/commands/handoff/index.js.map +0 -1
- package/dist/commands/handoff-ai-orig.d.ts +0 -27
- package/dist/commands/handoff-ai-orig.d.ts.map +0 -1
- package/dist/commands/handoff-ai-orig.js +0 -405
- package/dist/commands/handoff-ai-orig.js.map +0 -1
- package/dist/commands/handoff-ai.d.ts +0 -27
- package/dist/commands/handoff-ai.d.ts.map +0 -1
- package/dist/commands/handoff-ai.js +0 -405
- package/dist/commands/handoff-ai.js.map +0 -1
- package/dist/commands/handoff-enhanced-orig.d.ts +0 -25
- package/dist/commands/handoff-enhanced-orig.d.ts.map +0 -1
- package/dist/commands/handoff-enhanced-orig.js +0 -349
- package/dist/commands/handoff-enhanced-orig.js.map +0 -1
- package/dist/commands/handoff-enhanced.d.ts +0 -25
- package/dist/commands/handoff-enhanced.d.ts.map +0 -1
- package/dist/commands/handoff-enhanced.js +0 -349
- package/dist/commands/handoff-enhanced.js.map +0 -1
- package/dist/commands/handoff-orig.d.ts +0 -10
- package/dist/commands/handoff-orig.d.ts.map +0 -1
- package/dist/commands/handoff-orig.js +0 -167
- package/dist/commands/handoff-orig.js.map +0 -1
- package/dist/commands/init-enhanced.d.ts +0 -20
- package/dist/commands/init-enhanced.d.ts.map +0 -1
- package/dist/commands/init-enhanced.js +0 -430
- package/dist/commands/init-enhanced.js.map +0 -1
- package/dist/commands/prd/prd-reflection-enhanced.d.ts +0 -63
- package/dist/commands/prd/prd-reflection-enhanced.d.ts.map +0 -1
- package/dist/commands/prd/prd-reflection-enhanced.js +0 -310
- package/dist/commands/prd/prd-reflection-enhanced.js.map +0 -1
- package/dist/commands/start-enhanced.d.ts +0 -19
- package/dist/commands/start-enhanced.d.ts.map +0 -1
- package/dist/commands/start-enhanced.js +0 -434
- package/dist/commands/start-enhanced.js.map +0 -1
- package/dist/commands/start.d.ts +0 -10
- package/dist/commands/start.d.ts.map +0 -1
- package/dist/commands/start.js +0 -119
- package/dist/commands/start.js.map +0 -1
- package/dist/core/config/config-aware-reflection.d.ts +0 -37
- package/dist/core/config/config-aware-reflection.d.ts.map +0 -1
- package/dist/core/config/config-aware-reflection.js +0 -97
- package/dist/core/config/config-aware-reflection.js.map +0 -1
- package/dist/core/config/config-loader.d.ts +0 -154
- package/dist/core/config/config-loader.d.ts.map +0 -1
- package/dist/core/config/config-loader.js +0 -424
- package/dist/core/config/config-loader.js.map +0 -1
- package/dist/core/config/config-migrator.d.ts +0 -150
- package/dist/core/config/config-migrator.d.ts.map +0 -1
- package/dist/core/config/config-migrator.js +0 -423
- package/dist/core/config/config-migrator.js.map +0 -1
- package/dist/core/config/config-schema.d.ts +0 -276
- package/dist/core/config/config-schema.d.ts.map +0 -1
- package/dist/core/config/config-schema.js +0 -277
- package/dist/core/config/config-schema.js.map +0 -1
- package/dist/core/config/index.d.ts +0 -260
- package/dist/core/config/index.d.ts.map +0 -1
- package/dist/core/config/index.js +0 -283
- package/dist/core/config/index.js.map +0 -1
- package/dist/core/config/interactive-config.d.ts +0 -76
- package/dist/core/config/interactive-config.d.ts.map +0 -1
- package/dist/core/config/interactive-config.js +0 -315
- package/dist/core/config/interactive-config.js.map +0 -1
- package/dist/core/config/path-config.d.ts +0 -121
- package/dist/core/config/path-config.d.ts.map +0 -1
- package/dist/core/config/path-config.js +0 -210
- package/dist/core/config/path-config.js.map +0 -1
- package/dist/core/config/path-resolver.d.ts +0 -151
- package/dist/core/config/path-resolver.d.ts.map +0 -1
- package/dist/core/config/path-resolver.js +0 -343
- package/dist/core/config/path-resolver.js.map +0 -1
- package/dist/core/config/project-detector.d.ts +0 -58
- package/dist/core/config/project-detector.d.ts.map +0 -1
- package/dist/core/config/project-detector.js +0 -310
- package/dist/core/config/project-detector.js.map +0 -1
- package/dist/core/config-backup/config-aware-reflection.d.ts +0 -37
- package/dist/core/config-backup/config-aware-reflection.d.ts.map +0 -1
- package/dist/core/config-backup/config-aware-reflection.js +0 -97
- package/dist/core/config-backup/config-aware-reflection.js.map +0 -1
- package/dist/core/config-backup/config-loader.d.ts +0 -71
- package/dist/core/config-backup/config-loader.d.ts.map +0 -1
- package/dist/core/config-backup/config-loader.js +0 -288
- package/dist/core/config-backup/config-loader.js.map +0 -1
- package/dist/core/config-backup/interactive-config.d.ts +0 -76
- package/dist/core/config-backup/interactive-config.d.ts.map +0 -1
- package/dist/core/config-backup/interactive-config.js +0 -315
- package/dist/core/config-backup/interactive-config.js.map +0 -1
- package/dist/core/config-backup/path-config.d.ts +0 -121
- package/dist/core/config-backup/path-config.d.ts.map +0 -1
- package/dist/core/config-backup/path-config.js +0 -210
- package/dist/core/config-backup/path-config.js.map +0 -1
- package/dist/core/config-backup/project-detector.d.ts +0 -58
- package/dist/core/config-backup/project-detector.d.ts.map +0 -1
- package/dist/core/config-backup/project-detector.js +0 -310
- package/dist/core/config-backup/project-detector.js.map +0 -1
- package/dist/core/documents/document-manager.d.ts +0 -97
- package/dist/core/documents/document-manager.d.ts.map +0 -1
- package/dist/core/documents/document-manager.js +0 -441
- package/dist/core/documents/document-manager.js.map +0 -1
- package/dist/core/documents/document-migrator.d.ts +0 -138
- package/dist/core/documents/document-migrator.d.ts.map +0 -1
- package/dist/core/documents/document-migrator.js +0 -349
- package/dist/core/documents/document-migrator.js.map +0 -1
- package/dist/core/documents/document-namer.d.ts +0 -111
- package/dist/core/documents/document-namer.d.ts.map +0 -1
- package/dist/core/documents/document-namer.js +0 -225
- package/dist/core/documents/document-namer.js.map +0 -1
- package/dist/core/documents/examples.d.ts +0 -74
- package/dist/core/documents/examples.d.ts.map +0 -1
- package/dist/core/documents/examples.js +0 -273
- package/dist/core/documents/examples.js.map +0 -1
- package/dist/core/documents/file-system.d.ts +0 -93
- package/dist/core/documents/file-system.d.ts.map +0 -1
- package/dist/core/documents/file-system.js +0 -432
- package/dist/core/documents/file-system.js.map +0 -1
- package/dist/core/documents/index.d.ts +0 -97
- package/dist/core/documents/index.d.ts.map +0 -1
- package/dist/core/documents/index.js +0 -119
- package/dist/core/documents/index.js.map +0 -1
- package/dist/core/documents/markdown-processor.d.ts +0 -84
- package/dist/core/documents/markdown-processor.d.ts.map +0 -1
- package/dist/core/documents/markdown-processor.js +0 -302
- package/dist/core/documents/markdown-processor.js.map +0 -1
- package/dist/core/documents/sequence-manager.d.ts +0 -107
- package/dist/core/documents/sequence-manager.d.ts.map +0 -1
- package/dist/core/documents/sequence-manager.js +0 -246
- package/dist/core/documents/sequence-manager.js.map +0 -1
- package/dist/core/documents/template-engine.d.ts +0 -101
- package/dist/core/documents/template-engine.d.ts.map +0 -1
- package/dist/core/documents/template-engine.js +0 -440
- package/dist/core/documents/template-engine.js.map +0 -1
- package/dist/core/platform/hook-migration.d.ts +0 -73
- package/dist/core/platform/hook-migration.d.ts.map +0 -1
- package/dist/core/platform/hook-migration.js +0 -339
- package/dist/core/platform/hook-migration.js.map +0 -1
- package/dist/core/platform/hook-migrator.d.ts +0 -49
- package/dist/core/platform/hook-migrator.d.ts.map +0 -1
- package/dist/core/platform/hook-migrator.js +0 -305
- package/dist/core/platform/hook-migrator.js.map +0 -1
- package/dist/core/platform/path-resolver.d.ts +0 -120
- package/dist/core/platform/path-resolver.d.ts.map +0 -1
- package/dist/core/platform/path-resolver.js +0 -339
- package/dist/core/platform/path-resolver.js.map +0 -1
- package/dist/core/platform/platform-templates.d.ts +0 -62
- package/dist/core/platform/platform-templates.d.ts.map +0 -1
- package/dist/core/platform/platform-templates.js +0 -364
- package/dist/core/platform/platform-templates.js.map +0 -1
- package/dist/core/pressure-monitor.d.ts +0 -76
- package/dist/core/pressure-monitor.d.ts.map +0 -1
- package/dist/core/pressure-monitor.js +0 -156
- package/dist/core/pressure-monitor.js.map +0 -1
- package/dist/core/validators/git-validator.test.d.ts +0 -12
- package/dist/core/validators/git-validator.test.d.ts.map +0 -1
- package/dist/core/validators/git-validator.test.js +0 -40
- package/dist/core/validators/git-validator.test.js.map +0 -1
- package/dist/core/validators/temp_index.d.ts +0 -56
- package/dist/core/validators/temp_index.d.ts.map +0 -1
- package/dist/core/validators/temp_index.js +0 -94
- package/dist/core/validators/temp_index.js.map +0 -1
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileType: config
|
|
3
|
-
* @status: current
|
|
4
|
-
* @updated: 2025-09-19
|
|
5
|
-
* @tags: [config, schema, typescript, json-schema, validation]
|
|
6
|
-
* @related: [config-loader.ts, config-migrator.ts, path-resolver.ts]
|
|
7
|
-
* @priority: critical
|
|
8
|
-
* @complexity: medium
|
|
9
|
-
* @dependencies: []
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Configuration Schema for Ginko CLI
|
|
13
|
-
* Implements ADR-028 First-Use Experience Enhancement Architecture
|
|
14
|
-
*/
|
|
15
|
-
export interface PlatformConfig {
|
|
16
|
-
/** Operating system platform */
|
|
17
|
-
type: 'windows' | 'macos' | 'linux';
|
|
18
|
-
/** Shell type for script execution */
|
|
19
|
-
shell: 'bash' | 'zsh' | 'powershell' | 'cmd';
|
|
20
|
-
/** Path separator for this platform */
|
|
21
|
-
pathSeparator: '/' | '\\';
|
|
22
|
-
/** Home directory path */
|
|
23
|
-
homeDirectory: string;
|
|
24
|
-
/** Platform-specific configurations */
|
|
25
|
-
specific?: {
|
|
26
|
-
/** Windows-specific settings */
|
|
27
|
-
windows?: {
|
|
28
|
-
useWSL?: boolean;
|
|
29
|
-
wslDistro?: string;
|
|
30
|
-
};
|
|
31
|
-
/** macOS-specific settings */
|
|
32
|
-
macos?: {
|
|
33
|
-
brewPrefix?: string;
|
|
34
|
-
};
|
|
35
|
-
/** Linux-specific settings */
|
|
36
|
-
linux?: {
|
|
37
|
-
distribution?: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export interface PathConfiguration {
|
|
42
|
-
/** Document paths configuration */
|
|
43
|
-
docs: Record<string, string>;
|
|
44
|
-
/** Ginko-specific paths configuration */
|
|
45
|
-
ginko: Record<string, string>;
|
|
46
|
-
}
|
|
47
|
-
export interface FeatureFlags {
|
|
48
|
-
/** Enable/disable specific features */
|
|
49
|
-
[featureName: string]: boolean;
|
|
50
|
-
}
|
|
51
|
-
export interface GinkoConfig {
|
|
52
|
-
/** Configuration schema version */
|
|
53
|
-
version: string;
|
|
54
|
-
/** Path configurations with variable substitution support */
|
|
55
|
-
paths: PathConfiguration;
|
|
56
|
-
/** Feature flags for enabling/disabling functionality */
|
|
57
|
-
features: FeatureFlags;
|
|
58
|
-
/** Platform-specific configuration (optional) */
|
|
59
|
-
platform?: PlatformConfig;
|
|
60
|
-
/** Additional metadata */
|
|
61
|
-
metadata?: {
|
|
62
|
-
/** When this config was created */
|
|
63
|
-
createdAt?: string;
|
|
64
|
-
/** When this config was last updated */
|
|
65
|
-
updatedAt?: string;
|
|
66
|
-
/** User who created/updated this config */
|
|
67
|
-
updatedBy?: string;
|
|
68
|
-
/** Migration history */
|
|
69
|
-
migrationHistory?: string[];
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Default configuration values
|
|
74
|
-
*/
|
|
75
|
-
export declare const DEFAULT_CONFIG: GinkoConfig;
|
|
76
|
-
/**
|
|
77
|
-
* JSON Schema definition for ginko.json configuration file
|
|
78
|
-
* Used for validation and IDE support
|
|
79
|
-
*/
|
|
80
|
-
export declare const GINKO_CONFIG_SCHEMA: {
|
|
81
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
82
|
-
readonly type: "object";
|
|
83
|
-
readonly title: "Ginko Configuration";
|
|
84
|
-
readonly description: "Configuration schema for Ginko CLI";
|
|
85
|
-
readonly required: readonly ["version", "paths", "features"];
|
|
86
|
-
readonly properties: {
|
|
87
|
-
readonly version: {
|
|
88
|
-
readonly type: "string";
|
|
89
|
-
readonly description: "Configuration schema version";
|
|
90
|
-
readonly pattern: "^\\d+\\.\\d+\\.\\d+$";
|
|
91
|
-
readonly examples: readonly ["1.0.0", "1.1.0"];
|
|
92
|
-
};
|
|
93
|
-
readonly paths: {
|
|
94
|
-
readonly type: "object";
|
|
95
|
-
readonly description: "Path configurations with variable substitution support";
|
|
96
|
-
readonly required: readonly ["docs", "ginko"];
|
|
97
|
-
readonly properties: {
|
|
98
|
-
readonly docs: {
|
|
99
|
-
readonly type: "object";
|
|
100
|
-
readonly description: "Document paths configuration";
|
|
101
|
-
readonly patternProperties: {
|
|
102
|
-
readonly '^[a-zA-Z][a-zA-Z0-9_]*$': {
|
|
103
|
-
readonly type: "string";
|
|
104
|
-
readonly description: "Path value (supports ${variable} substitution)";
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
readonly additionalProperties: false;
|
|
108
|
-
};
|
|
109
|
-
readonly ginko: {
|
|
110
|
-
readonly type: "object";
|
|
111
|
-
readonly description: "Ginko-specific paths configuration";
|
|
112
|
-
readonly patternProperties: {
|
|
113
|
-
readonly '^[a-zA-Z][a-zA-Z0-9_]*$': {
|
|
114
|
-
readonly type: "string";
|
|
115
|
-
readonly description: "Path value (supports ${variable} substitution)";
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
readonly additionalProperties: false;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
readonly additionalProperties: false;
|
|
122
|
-
};
|
|
123
|
-
readonly features: {
|
|
124
|
-
readonly type: "object";
|
|
125
|
-
readonly description: "Feature flags for enabling/disabling functionality";
|
|
126
|
-
readonly patternProperties: {
|
|
127
|
-
readonly '^[a-zA-Z][a-zA-Z0-9_]*$': {
|
|
128
|
-
readonly type: "boolean";
|
|
129
|
-
readonly description: "Feature enabled/disabled";
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
readonly additionalProperties: false;
|
|
133
|
-
};
|
|
134
|
-
readonly platform: {
|
|
135
|
-
readonly type: "object";
|
|
136
|
-
readonly description: "Platform-specific configuration";
|
|
137
|
-
readonly properties: {
|
|
138
|
-
readonly type: {
|
|
139
|
-
readonly type: "string";
|
|
140
|
-
readonly enum: readonly ["windows", "macos", "linux"];
|
|
141
|
-
readonly description: "Operating system platform";
|
|
142
|
-
};
|
|
143
|
-
readonly shell: {
|
|
144
|
-
readonly type: "string";
|
|
145
|
-
readonly enum: readonly ["bash", "zsh", "powershell", "cmd"];
|
|
146
|
-
readonly description: "Shell type for script execution";
|
|
147
|
-
};
|
|
148
|
-
readonly pathSeparator: {
|
|
149
|
-
readonly type: "string";
|
|
150
|
-
readonly enum: readonly ["/", "\\"];
|
|
151
|
-
readonly description: "Path separator for this platform";
|
|
152
|
-
};
|
|
153
|
-
readonly homeDirectory: {
|
|
154
|
-
readonly type: "string";
|
|
155
|
-
readonly description: "Home directory path";
|
|
156
|
-
};
|
|
157
|
-
readonly specific: {
|
|
158
|
-
readonly type: "object";
|
|
159
|
-
readonly description: "Platform-specific configurations";
|
|
160
|
-
readonly properties: {
|
|
161
|
-
readonly windows: {
|
|
162
|
-
readonly type: "object";
|
|
163
|
-
readonly properties: {
|
|
164
|
-
readonly useWSL: {
|
|
165
|
-
readonly type: "boolean";
|
|
166
|
-
readonly description: "Use Windows Subsystem for Linux";
|
|
167
|
-
};
|
|
168
|
-
readonly wslDistro: {
|
|
169
|
-
readonly type: "string";
|
|
170
|
-
readonly description: "WSL distribution name";
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
readonly additionalProperties: false;
|
|
174
|
-
};
|
|
175
|
-
readonly macos: {
|
|
176
|
-
readonly type: "object";
|
|
177
|
-
readonly properties: {
|
|
178
|
-
readonly brewPrefix: {
|
|
179
|
-
readonly type: "string";
|
|
180
|
-
readonly description: "Homebrew installation prefix";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
readonly additionalProperties: false;
|
|
184
|
-
};
|
|
185
|
-
readonly linux: {
|
|
186
|
-
readonly type: "object";
|
|
187
|
-
readonly properties: {
|
|
188
|
-
readonly distribution: {
|
|
189
|
-
readonly type: "string";
|
|
190
|
-
readonly description: "Linux distribution name";
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
readonly additionalProperties: false;
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
readonly additionalProperties: false;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
readonly required: readonly ["type", "shell", "pathSeparator", "homeDirectory"];
|
|
200
|
-
readonly additionalProperties: false;
|
|
201
|
-
};
|
|
202
|
-
readonly metadata: {
|
|
203
|
-
readonly type: "object";
|
|
204
|
-
readonly description: "Additional metadata";
|
|
205
|
-
readonly properties: {
|
|
206
|
-
readonly createdAt: {
|
|
207
|
-
readonly type: "string";
|
|
208
|
-
readonly format: "date-time";
|
|
209
|
-
readonly description: "When this config was created";
|
|
210
|
-
};
|
|
211
|
-
readonly updatedAt: {
|
|
212
|
-
readonly type: "string";
|
|
213
|
-
readonly format: "date-time";
|
|
214
|
-
readonly description: "When this config was last updated";
|
|
215
|
-
};
|
|
216
|
-
readonly updatedBy: {
|
|
217
|
-
readonly type: "string";
|
|
218
|
-
readonly description: "User who created/updated this config";
|
|
219
|
-
};
|
|
220
|
-
readonly migrationHistory: {
|
|
221
|
-
readonly type: "array";
|
|
222
|
-
readonly items: {
|
|
223
|
-
readonly type: "string";
|
|
224
|
-
};
|
|
225
|
-
readonly description: "Migration history";
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
readonly additionalProperties: false;
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
readonly additionalProperties: false;
|
|
232
|
-
};
|
|
233
|
-
/**
|
|
234
|
-
* Type guards for configuration validation
|
|
235
|
-
*/
|
|
236
|
-
export declare function isValidGinkoConfig(obj: any): obj is GinkoConfig;
|
|
237
|
-
export declare function isPlatformConfig(obj: any): obj is PlatformConfig;
|
|
238
|
-
/**
|
|
239
|
-
* Configuration validation errors
|
|
240
|
-
*/
|
|
241
|
-
export declare class ConfigValidationError extends Error {
|
|
242
|
-
field?: string | undefined;
|
|
243
|
-
value?: any | undefined;
|
|
244
|
-
constructor(message: string, field?: string | undefined, value?: any | undefined);
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* Validate configuration against schema
|
|
248
|
-
*/
|
|
249
|
-
export declare function validateConfig(config: any): {
|
|
250
|
-
valid: boolean;
|
|
251
|
-
errors: string[];
|
|
252
|
-
};
|
|
253
|
-
/**
|
|
254
|
-
* Configuration migration interfaces
|
|
255
|
-
*/
|
|
256
|
-
export interface ConfigMigration {
|
|
257
|
-
/** From version */
|
|
258
|
-
from: string;
|
|
259
|
-
/** To version */
|
|
260
|
-
to: string;
|
|
261
|
-
/** Migration description */
|
|
262
|
-
description: string;
|
|
263
|
-
/** Migration function */
|
|
264
|
-
migrate: (oldConfig: any) => GinkoConfig;
|
|
265
|
-
}
|
|
266
|
-
/**
|
|
267
|
-
* Supported configuration versions and their features
|
|
268
|
-
*/
|
|
269
|
-
export declare const SUPPORTED_CONFIG_VERSIONS: {
|
|
270
|
-
readonly '1.0.0': {
|
|
271
|
-
readonly description: "Initial configuration schema";
|
|
272
|
-
readonly features: readonly ["basic-paths", "feature-flags", "platform-detection"];
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
export type SupportedVersion = keyof typeof SUPPORTED_CONFIG_VERSIONS;
|
|
276
|
-
//# sourceMappingURL=config-schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["../../../src/core/config/config-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;GAGG;AAEH,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IACpC,sCAAsC;IACtC,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG,YAAY,GAAG,KAAK,CAAC;IAC7C,uCAAuC;IACvC,aAAa,EAAE,GAAG,GAAG,IAAI,CAAC;IAC1B,0BAA0B;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,uCAAuC;IACvC,QAAQ,CAAC,EAAE;QACT,gCAAgC;QAChC,OAAO,CAAC,EAAE;YACR,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,SAAS,CAAC,EAAE,MAAM,CAAC;SACpB,CAAC;QACF,8BAA8B;QAC9B,KAAK,CAAC,EAAE;YACN,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;QACF,8BAA8B;QAC9B,KAAK,CAAC,EAAE;YACN,YAAY,CAAC,EAAE,MAAM,CAAC;SACvB,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,iBAAiB;IAChC,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,YAAY;IAC3B,uCAAuC;IACvC,CAAC,WAAW,EAAE,MA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AG,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAkBhF;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,4BAA4B;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,OAAO,EAAE,CAAC,SAAS,EAAE,GAAG,KAAK,WAAW,CAAC;CAC1C;AAED;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;CAK5B,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,yBAAyB,CAAC"}
|
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileType: config
|
|
3
|
-
* @status: current
|
|
4
|
-
* @updated: 2025-09-19
|
|
5
|
-
* @tags: [config, schema, typescript, json-schema, validation]
|
|
6
|
-
* @related: [config-loader.ts, config-migrator.ts, path-resolver.ts]
|
|
7
|
-
* @priority: critical
|
|
8
|
-
* @complexity: medium
|
|
9
|
-
* @dependencies: []
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Default configuration values
|
|
13
|
-
*/
|
|
14
|
-
export const DEFAULT_CONFIG = {
|
|
15
|
-
version: '1.0.0',
|
|
16
|
-
paths: {
|
|
17
|
-
docs: {
|
|
18
|
-
root: './docs',
|
|
19
|
-
adr: '${docs.root}/adr',
|
|
20
|
-
prd: '${docs.root}/PRD',
|
|
21
|
-
ux: '${docs.root}/UX',
|
|
22
|
-
architecture: '${docs.root}/architecture',
|
|
23
|
-
api: '${docs.root}/api'
|
|
24
|
-
},
|
|
25
|
-
ginko: {
|
|
26
|
-
root: './.ginko',
|
|
27
|
-
context: '${ginko.root}/context',
|
|
28
|
-
sessions: '${ginko.root}/sessions',
|
|
29
|
-
cache: '${ginko.root}/cache',
|
|
30
|
-
modules: '${ginko.context}/modules',
|
|
31
|
-
templates: '${ginko.context}/templates'
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
features: {
|
|
35
|
-
autoHandoff: true,
|
|
36
|
-
contextCaching: true,
|
|
37
|
-
smartSuggestions: true,
|
|
38
|
-
gitHooks: false,
|
|
39
|
-
telemetry: false,
|
|
40
|
-
experimentalFeatures: false
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* JSON Schema definition for ginko.json configuration file
|
|
45
|
-
* Used for validation and IDE support
|
|
46
|
-
*/
|
|
47
|
-
export const GINKO_CONFIG_SCHEMA = {
|
|
48
|
-
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
49
|
-
type: 'object',
|
|
50
|
-
title: 'Ginko Configuration',
|
|
51
|
-
description: 'Configuration schema for Ginko CLI',
|
|
52
|
-
required: ['version', 'paths', 'features'],
|
|
53
|
-
properties: {
|
|
54
|
-
version: {
|
|
55
|
-
type: 'string',
|
|
56
|
-
description: 'Configuration schema version',
|
|
57
|
-
pattern: '^\\d+\\.\\d+\\.\\d+$',
|
|
58
|
-
examples: ['1.0.0', '1.1.0']
|
|
59
|
-
},
|
|
60
|
-
paths: {
|
|
61
|
-
type: 'object',
|
|
62
|
-
description: 'Path configurations with variable substitution support',
|
|
63
|
-
required: ['docs', 'ginko'],
|
|
64
|
-
properties: {
|
|
65
|
-
docs: {
|
|
66
|
-
type: 'object',
|
|
67
|
-
description: 'Document paths configuration',
|
|
68
|
-
patternProperties: {
|
|
69
|
-
'^[a-zA-Z][a-zA-Z0-9_]*$': {
|
|
70
|
-
type: 'string',
|
|
71
|
-
description: 'Path value (supports ${variable} substitution)'
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
additionalProperties: false
|
|
75
|
-
},
|
|
76
|
-
ginko: {
|
|
77
|
-
type: 'object',
|
|
78
|
-
description: 'Ginko-specific paths configuration',
|
|
79
|
-
patternProperties: {
|
|
80
|
-
'^[a-zA-Z][a-zA-Z0-9_]*$': {
|
|
81
|
-
type: 'string',
|
|
82
|
-
description: 'Path value (supports ${variable} substitution)'
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
additionalProperties: false
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
additionalProperties: false
|
|
89
|
-
},
|
|
90
|
-
features: {
|
|
91
|
-
type: 'object',
|
|
92
|
-
description: 'Feature flags for enabling/disabling functionality',
|
|
93
|
-
patternProperties: {
|
|
94
|
-
'^[a-zA-Z][a-zA-Z0-9_]*$': {
|
|
95
|
-
type: 'boolean',
|
|
96
|
-
description: 'Feature enabled/disabled'
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
additionalProperties: false
|
|
100
|
-
},
|
|
101
|
-
platform: {
|
|
102
|
-
type: 'object',
|
|
103
|
-
description: 'Platform-specific configuration',
|
|
104
|
-
properties: {
|
|
105
|
-
type: {
|
|
106
|
-
type: 'string',
|
|
107
|
-
enum: ['windows', 'macos', 'linux'],
|
|
108
|
-
description: 'Operating system platform'
|
|
109
|
-
},
|
|
110
|
-
shell: {
|
|
111
|
-
type: 'string',
|
|
112
|
-
enum: ['bash', 'zsh', 'powershell', 'cmd'],
|
|
113
|
-
description: 'Shell type for script execution'
|
|
114
|
-
},
|
|
115
|
-
pathSeparator: {
|
|
116
|
-
type: 'string',
|
|
117
|
-
enum: ['/', '\\'],
|
|
118
|
-
description: 'Path separator for this platform'
|
|
119
|
-
},
|
|
120
|
-
homeDirectory: {
|
|
121
|
-
type: 'string',
|
|
122
|
-
description: 'Home directory path'
|
|
123
|
-
},
|
|
124
|
-
specific: {
|
|
125
|
-
type: 'object',
|
|
126
|
-
description: 'Platform-specific configurations',
|
|
127
|
-
properties: {
|
|
128
|
-
windows: {
|
|
129
|
-
type: 'object',
|
|
130
|
-
properties: {
|
|
131
|
-
useWSL: {
|
|
132
|
-
type: 'boolean',
|
|
133
|
-
description: 'Use Windows Subsystem for Linux'
|
|
134
|
-
},
|
|
135
|
-
wslDistro: {
|
|
136
|
-
type: 'string',
|
|
137
|
-
description: 'WSL distribution name'
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
additionalProperties: false
|
|
141
|
-
},
|
|
142
|
-
macos: {
|
|
143
|
-
type: 'object',
|
|
144
|
-
properties: {
|
|
145
|
-
brewPrefix: {
|
|
146
|
-
type: 'string',
|
|
147
|
-
description: 'Homebrew installation prefix'
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
additionalProperties: false
|
|
151
|
-
},
|
|
152
|
-
linux: {
|
|
153
|
-
type: 'object',
|
|
154
|
-
properties: {
|
|
155
|
-
distribution: {
|
|
156
|
-
type: 'string',
|
|
157
|
-
description: 'Linux distribution name'
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
additionalProperties: false
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
additionalProperties: false
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
required: ['type', 'shell', 'pathSeparator', 'homeDirectory'],
|
|
167
|
-
additionalProperties: false
|
|
168
|
-
},
|
|
169
|
-
metadata: {
|
|
170
|
-
type: 'object',
|
|
171
|
-
description: 'Additional metadata',
|
|
172
|
-
properties: {
|
|
173
|
-
createdAt: {
|
|
174
|
-
type: 'string',
|
|
175
|
-
format: 'date-time',
|
|
176
|
-
description: 'When this config was created'
|
|
177
|
-
},
|
|
178
|
-
updatedAt: {
|
|
179
|
-
type: 'string',
|
|
180
|
-
format: 'date-time',
|
|
181
|
-
description: 'When this config was last updated'
|
|
182
|
-
},
|
|
183
|
-
updatedBy: {
|
|
184
|
-
type: 'string',
|
|
185
|
-
description: 'User who created/updated this config'
|
|
186
|
-
},
|
|
187
|
-
migrationHistory: {
|
|
188
|
-
type: 'array',
|
|
189
|
-
items: {
|
|
190
|
-
type: 'string'
|
|
191
|
-
},
|
|
192
|
-
description: 'Migration history'
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
additionalProperties: false
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
additionalProperties: false
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* Type guards for configuration validation
|
|
202
|
-
*/
|
|
203
|
-
export function isValidGinkoConfig(obj) {
|
|
204
|
-
if (!obj || typeof obj !== 'object')
|
|
205
|
-
return false;
|
|
206
|
-
// Check required fields
|
|
207
|
-
if (typeof obj.version !== 'string')
|
|
208
|
-
return false;
|
|
209
|
-
if (!obj.paths || typeof obj.paths !== 'object')
|
|
210
|
-
return false;
|
|
211
|
-
if (!obj.features || typeof obj.features !== 'object')
|
|
212
|
-
return false;
|
|
213
|
-
// Check paths structure
|
|
214
|
-
if (!obj.paths.docs || typeof obj.paths.docs !== 'object')
|
|
215
|
-
return false;
|
|
216
|
-
if (!obj.paths.ginko || typeof obj.paths.ginko !== 'object')
|
|
217
|
-
return false;
|
|
218
|
-
// Validate version format
|
|
219
|
-
const versionPattern = /^\d+\.\d+\.\d+$/;
|
|
220
|
-
if (!versionPattern.test(obj.version))
|
|
221
|
-
return false;
|
|
222
|
-
return true;
|
|
223
|
-
}
|
|
224
|
-
export function isPlatformConfig(obj) {
|
|
225
|
-
if (!obj || typeof obj !== 'object')
|
|
226
|
-
return false;
|
|
227
|
-
const validTypes = ['windows', 'macos', 'linux'];
|
|
228
|
-
const validShells = ['bash', 'zsh', 'powershell', 'cmd'];
|
|
229
|
-
const validSeparators = ['/', '\\'];
|
|
230
|
-
return (validTypes.includes(obj.type) &&
|
|
231
|
-
validShells.includes(obj.shell) &&
|
|
232
|
-
validSeparators.includes(obj.pathSeparator) &&
|
|
233
|
-
typeof obj.homeDirectory === 'string');
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* Configuration validation errors
|
|
237
|
-
*/
|
|
238
|
-
export class ConfigValidationError extends Error {
|
|
239
|
-
field;
|
|
240
|
-
value;
|
|
241
|
-
constructor(message, field, value) {
|
|
242
|
-
super(message);
|
|
243
|
-
this.field = field;
|
|
244
|
-
this.value = value;
|
|
245
|
-
this.name = 'ConfigValidationError';
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Validate configuration against schema
|
|
250
|
-
*/
|
|
251
|
-
export function validateConfig(config) {
|
|
252
|
-
const errors = [];
|
|
253
|
-
try {
|
|
254
|
-
if (!isValidGinkoConfig(config)) {
|
|
255
|
-
errors.push('Configuration does not match required schema');
|
|
256
|
-
}
|
|
257
|
-
// Additional validation logic can be added here
|
|
258
|
-
// For example, checking for circular references in paths
|
|
259
|
-
return { valid: errors.length === 0, errors };
|
|
260
|
-
}
|
|
261
|
-
catch (error) {
|
|
262
|
-
return {
|
|
263
|
-
valid: false,
|
|
264
|
-
errors: [`Validation failed: ${error instanceof Error ? error.message : 'Unknown error'}`]
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Supported configuration versions and their features
|
|
270
|
-
*/
|
|
271
|
-
export const SUPPORTED_CONFIG_VERSIONS = {
|
|
272
|
-
'1.0.0': {
|
|
273
|
-
description: 'Initial configuration schema',
|
|
274
|
-
features: ['basic-paths', 'feature-flags', 'platform-detection']
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
//# sourceMappingURL=config-schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-schema.js","sourceRoot":"","sources":["../../../src/core/config/config-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAoEH;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAgB;IACzC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,GAAG,EAAE,kBAAkB;YACvB,GAAG,EAAE,kBAAkB;YACvB,EAAE,EAAE,iBAAiB;YACrB,YAAY,EAAE,2BAA2B;YACzC,GAAG,EAAE,kBAAkB;SACxB;QACD,KAAK,EAAE;YACL,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,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