@mc1global/opencode-jarvis 0.13.0 → 0.14.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/CHANGELOG.md +391 -0
- package/README.md +55 -29
- package/dist/application/agent-registry/dtos.d.ts.map +1 -1
- package/dist/application/agent-registry/use-cases.d.ts +0 -14
- package/dist/application/agent-registry/use-cases.d.ts.map +1 -1
- package/dist/application/agent-registry/use-cases.js +1 -0
- package/dist/application/agent-registry/use-cases.js.map +1 -1
- package/dist/application/azure-sync/comment-intent-service.d.ts +73 -0
- package/dist/application/azure-sync/comment-intent-service.d.ts.map +1 -0
- package/dist/application/azure-sync/comment-intent-service.js +105 -0
- package/dist/application/azure-sync/comment-intent-service.js.map +1 -0
- package/dist/application/azure-sync/dtos.d.ts.map +1 -1
- package/dist/application/azure-sync/field-builders.d.ts +2 -2
- package/dist/application/azure-sync/field-builders.d.ts.map +1 -1
- package/dist/application/azure-sync/field-builders.js +1 -1
- package/dist/application/azure-sync/field-builders.js.map +1 -1
- package/dist/application/azure-sync/intent-executor.d.ts +54 -0
- package/dist/application/azure-sync/intent-executor.d.ts.map +1 -0
- package/dist/application/azure-sync/intent-executor.js +130 -0
- package/dist/application/azure-sync/intent-executor.js.map +1 -0
- package/dist/application/azure-sync/intent-reply-builder.d.ts +41 -0
- package/dist/application/azure-sync/intent-reply-builder.d.ts.map +1 -0
- package/dist/application/azure-sync/intent-reply-builder.js +57 -0
- package/dist/application/azure-sync/intent-reply-builder.js.map +1 -0
- package/dist/application/azure-sync/kanban-card-sync-adapter.d.ts +39 -0
- package/dist/application/azure-sync/kanban-card-sync-adapter.d.ts.map +1 -0
- package/dist/application/azure-sync/kanban-card-sync-adapter.js +74 -0
- package/dist/application/azure-sync/kanban-card-sync-adapter.js.map +1 -0
- package/dist/application/azure-sync/kanban-sync-ports.d.ts +60 -0
- package/dist/application/azure-sync/kanban-sync-ports.d.ts.map +1 -0
- package/dist/application/azure-sync/kanban-sync-ports.js +17 -0
- package/dist/application/azure-sync/kanban-sync-ports.js.map +1 -0
- package/dist/application/azure-sync/poll-service.d.ts +2 -0
- package/dist/application/azure-sync/poll-service.d.ts.map +1 -1
- package/dist/application/azure-sync/poll-service.js +64 -18
- package/dist/application/azure-sync/poll-service.js.map +1 -1
- package/dist/application/azure-sync/pr-use-cases.d.ts +1 -4
- package/dist/application/azure-sync/pr-use-cases.d.ts.map +1 -1
- package/dist/application/azure-sync/pr-use-cases.js +2 -7
- package/dist/application/azure-sync/pr-use-cases.js.map +1 -1
- package/dist/application/azure-sync/pull-use-cases.d.ts.map +1 -1
- package/dist/application/azure-sync/pull-use-cases.js +47 -14
- package/dist/application/azure-sync/pull-use-cases.js.map +1 -1
- package/dist/application/azure-sync/push-entity-use-cases.d.ts +40 -0
- package/dist/application/azure-sync/push-entity-use-cases.d.ts.map +1 -0
- package/dist/application/azure-sync/push-entity-use-cases.js +266 -0
- package/dist/application/azure-sync/push-entity-use-cases.js.map +1 -0
- package/dist/application/azure-sync/push-use-cases.d.ts +9 -21
- package/dist/application/azure-sync/push-use-cases.d.ts.map +1 -1
- package/dist/application/azure-sync/push-use-cases.js +14 -229
- package/dist/application/azure-sync/push-use-cases.js.map +1 -1
- package/dist/application/azure-sync/reverse-field-builder.d.ts.map +1 -1
- package/dist/application/azure-sync/reverse-field-builder.js +1 -1
- package/dist/application/azure-sync/reverse-field-builder.js.map +1 -1
- package/dist/application/azure-sync/task-push-use-cases.d.ts +13 -13
- package/dist/application/azure-sync/task-push-use-cases.d.ts.map +1 -1
- package/dist/application/azure-sync/task-push-use-cases.js +5 -22
- package/dist/application/azure-sync/task-push-use-cases.js.map +1 -1
- package/dist/application/bootstrap/healthcheck-use-cases.d.ts +13 -0
- package/dist/application/bootstrap/healthcheck-use-cases.d.ts.map +1 -1
- package/dist/application/bootstrap/healthcheck-use-cases.js +4 -5
- package/dist/application/bootstrap/healthcheck-use-cases.js.map +1 -1
- package/dist/application/bootstrap/index.d.ts.map +1 -1
- package/dist/application/bootstrap/index.js.map +1 -1
- package/dist/application/bootstrap/ports.d.ts +29 -0
- package/dist/application/bootstrap/ports.d.ts.map +1 -0
- package/dist/application/bootstrap/ports.js +12 -0
- package/dist/application/bootstrap/ports.js.map +1 -0
- package/dist/application/bootstrap/terminal-commands-use-cases.d.ts.map +1 -1
- package/dist/application/bootstrap/terminal-commands-use-cases.js +1 -1
- package/dist/application/bootstrap/terminal-commands-use-cases.js.map +1 -1
- package/dist/application/bootstrap/use-cases.d.ts +29 -30
- package/dist/application/bootstrap/use-cases.d.ts.map +1 -1
- package/dist/application/bootstrap/use-cases.js +84 -81
- package/dist/application/bootstrap/use-cases.js.map +1 -1
- package/dist/application/config/config-service.d.ts +7 -21
- package/dist/application/config/config-service.d.ts.map +1 -1
- package/dist/application/config/config-service.js +8 -5
- package/dist/application/config/config-service.js.map +1 -1
- package/dist/application/config/config-write-service.d.ts +4 -23
- package/dist/application/config/config-write-service.d.ts.map +1 -1
- package/dist/application/config/config-write-service.js +2 -1
- package/dist/application/config/config-write-service.js.map +1 -1
- package/dist/application/context-memory/execution-journal-use-cases.d.ts.map +1 -1
- package/dist/application/context-memory/execution-journal-use-cases.js +10 -0
- package/dist/application/context-memory/execution-journal-use-cases.js.map +1 -1
- package/dist/application/context-memory/note-use-cases.d.ts.map +1 -1
- package/dist/application/context-memory/note-use-cases.js +10 -0
- package/dist/application/context-memory/note-use-cases.js.map +1 -1
- package/dist/application/context-memory/session-use-cases.d.ts.map +1 -1
- package/dist/application/context-memory/session-use-cases.js +10 -0
- package/dist/application/context-memory/session-use-cases.js.map +1 -1
- package/dist/application/context-memory/todo-use-cases.d.ts.map +1 -1
- package/dist/application/context-memory/todo-use-cases.js +10 -0
- package/dist/application/context-memory/todo-use-cases.js.map +1 -1
- package/dist/application/domain-map/dtos.d.ts.map +1 -1
- package/dist/application/domain-map/use-cases.d.ts +3 -23
- package/dist/application/domain-map/use-cases.d.ts.map +1 -1
- package/dist/application/domain-map/use-cases.js +5 -5
- package/dist/application/domain-map/use-cases.js.map +1 -1
- package/dist/application/environment/use-cases.d.ts +73 -4
- package/dist/application/environment/use-cases.d.ts.map +1 -1
- package/dist/application/environment/use-cases.js +5 -1
- package/dist/application/environment/use-cases.js.map +1 -1
- package/dist/application/governance/dtos.d.ts +29 -0
- package/dist/application/governance/dtos.d.ts.map +1 -0
- package/dist/application/governance/dtos.js +11 -0
- package/dist/application/governance/dtos.js.map +1 -0
- package/dist/application/governance/validation-use-cases.d.ts +1 -19
- package/dist/application/governance/validation-use-cases.d.ts.map +1 -1
- package/dist/application/governance/validation-use-cases.js +11 -0
- package/dist/application/governance/validation-use-cases.js.map +1 -1
- package/dist/application/kanban/board-use-cases.d.ts +12 -18
- package/dist/application/kanban/board-use-cases.d.ts.map +1 -1
- package/dist/application/kanban/board-use-cases.js +11 -38
- package/dist/application/kanban/board-use-cases.js.map +1 -1
- package/dist/application/kanban/card-gate-use-cases.d.ts +24 -0
- package/dist/application/kanban/card-gate-use-cases.d.ts.map +1 -0
- package/dist/application/kanban/card-gate-use-cases.js +71 -0
- package/dist/application/kanban/card-gate-use-cases.js.map +1 -0
- package/dist/application/kanban/card-use-cases.d.ts +7 -9
- package/dist/application/kanban/card-use-cases.d.ts.map +1 -1
- package/dist/application/kanban/card-use-cases.js +60 -92
- package/dist/application/kanban/card-use-cases.js.map +1 -1
- package/dist/application/kanban/dtos.d.ts +14 -0
- package/dist/application/kanban/dtos.d.ts.map +1 -1
- package/dist/application/kanban/dtos.js +38 -1
- package/dist/application/kanban/dtos.js.map +1 -1
- package/dist/application/kanban/sprint-use-cases.d.ts +2 -2
- package/dist/application/kanban/sprint-use-cases.d.ts.map +1 -1
- package/dist/application/kanban/sprint-use-cases.js +10 -0
- package/dist/application/kanban/sprint-use-cases.js.map +1 -1
- package/dist/application/pipeline/dtos.d.ts +157 -73
- package/dist/application/pipeline/dtos.d.ts.map +1 -1
- package/dist/application/pipeline/dtos.js +5 -5
- package/dist/application/pipeline/use-cases.d.ts +10 -13
- package/dist/application/pipeline/use-cases.d.ts.map +1 -1
- package/dist/application/pipeline/use-cases.js +1 -0
- package/dist/application/pipeline/use-cases.js.map +1 -1
- package/dist/application/rag/dtos.d.ts.map +1 -1
- package/dist/application/rag/oracle-use-cases.d.ts.map +1 -1
- package/dist/application/rag/oracle-use-cases.js +11 -1
- package/dist/application/rag/oracle-use-cases.js.map +1 -1
- package/dist/application/rag/rag-mutation-use-cases.d.ts +61 -0
- package/dist/application/rag/rag-mutation-use-cases.d.ts.map +1 -0
- package/dist/application/rag/rag-mutation-use-cases.js +155 -0
- package/dist/application/rag/rag-mutation-use-cases.js.map +1 -0
- package/dist/application/rag/use-cases.d.ts +10 -5
- package/dist/application/rag/use-cases.d.ts.map +1 -1
- package/dist/application/rag/use-cases.js +97 -191
- package/dist/application/rag/use-cases.js.map +1 -1
- package/dist/application/token-metrics/dtos.d.ts.map +1 -1
- package/dist/application/token-metrics/tracking-use-cases.d.ts.map +1 -1
- package/dist/application/token-metrics/tracking-use-cases.js +13 -3
- package/dist/application/token-metrics/tracking-use-cases.js.map +1 -1
- package/dist/application/vault/dtos.d.ts.map +1 -1
- package/dist/application/vault/use-cases.d.ts +1 -1
- package/dist/application/vault/use-cases.d.ts.map +1 -1
- package/dist/application/vault/use-cases.js +11 -0
- package/dist/application/vault/use-cases.js.map +1 -1
- package/dist/application/vault/vault-manager.d.ts +1 -1
- package/dist/application/vault/vault-manager.d.ts.map +1 -1
- package/dist/application/vault/vault-manager.js +26 -6
- package/dist/application/vault/vault-manager.js.map +1 -1
- package/dist/application/workspace-registry/dtos.d.ts.map +1 -1
- package/dist/application/workspace-registry/use-cases.d.ts +65 -15
- package/dist/application/workspace-registry/use-cases.d.ts.map +1 -1
- package/dist/application/workspace-registry/use-cases.js +5 -4
- package/dist/application/workspace-registry/use-cases.js.map +1 -1
- package/dist/composition/hooks.d.ts +15 -0
- package/dist/composition/hooks.d.ts.map +1 -0
- package/dist/composition/hooks.js +113 -0
- package/dist/composition/hooks.js.map +1 -0
- package/dist/composition/infrastructure.d.ts +84 -0
- package/dist/composition/infrastructure.d.ts.map +1 -0
- package/dist/composition/infrastructure.js +140 -0
- package/dist/composition/infrastructure.js.map +1 -0
- package/dist/composition/services.d.ts +78 -0
- package/dist/composition/services.d.ts.map +1 -0
- package/dist/composition/services.js +335 -0
- package/dist/composition/services.js.map +1 -0
- package/dist/composition/tools.d.ts +15 -0
- package/dist/composition/tools.d.ts.map +1 -0
- package/dist/composition/tools.js +136 -0
- package/dist/composition/tools.js.map +1 -0
- package/dist/domain/agent-registry/entities.d.ts.map +1 -1
- package/dist/domain/agent-registry/entities.js +1 -1
- package/dist/domain/agent-registry/entities.js.map +1 -1
- package/dist/domain/agent-registry/enum-values.d.ts +15 -0
- package/dist/domain/agent-registry/enum-values.d.ts.map +1 -0
- package/dist/domain/agent-registry/enum-values.js +15 -0
- package/dist/domain/agent-registry/enum-values.js.map +1 -0
- package/dist/domain/agent-registry/repositories.d.ts.map +1 -1
- package/dist/domain/agent-registry/services.d.ts.map +1 -1
- package/dist/domain/agent-registry/services.js +1 -1
- package/dist/domain/agent-registry/services.js.map +1 -1
- package/dist/domain/agent-registry/value-objects.d.ts.map +1 -1
- package/dist/domain/agent-registry/value-objects.js +1 -1
- package/dist/domain/agent-registry/value-objects.js.map +1 -1
- package/dist/domain/azure-sync/entities.d.ts +30 -112
- package/dist/domain/azure-sync/entities.d.ts.map +1 -1
- package/dist/domain/azure-sync/entities.js +31 -120
- package/dist/domain/azure-sync/entities.js.map +1 -1
- package/dist/domain/azure-sync/enum-values.d.ts +25 -0
- package/dist/domain/azure-sync/enum-values.d.ts.map +1 -0
- package/dist/domain/azure-sync/enum-values.js +33 -0
- package/dist/domain/azure-sync/enum-values.js.map +1 -0
- package/dist/domain/azure-sync/llm-port.d.ts +85 -0
- package/dist/domain/azure-sync/llm-port.d.ts.map +1 -0
- package/dist/domain/azure-sync/llm-port.js +12 -0
- package/dist/domain/azure-sync/llm-port.js.map +1 -0
- package/dist/domain/azure-sync/ports.d.ts +12 -3
- package/dist/domain/azure-sync/ports.d.ts.map +1 -1
- package/dist/domain/azure-sync/repositories.d.ts.map +1 -1
- package/dist/domain/azure-sync/services.d.ts.map +1 -1
- package/dist/domain/azure-sync/services.js.map +1 -1
- package/dist/domain/azure-sync/sync-log-entities.d.ts +124 -0
- package/dist/domain/azure-sync/sync-log-entities.d.ts.map +1 -0
- package/dist/domain/azure-sync/sync-log-entities.js +129 -0
- package/dist/domain/azure-sync/sync-log-entities.js.map +1 -0
- package/dist/domain/azure-sync/sync-state-maps.d.ts +44 -0
- package/dist/domain/azure-sync/sync-state-maps.d.ts.map +1 -0
- package/dist/domain/azure-sync/sync-state-maps.js +134 -0
- package/dist/domain/azure-sync/sync-state-maps.js.map +1 -0
- package/dist/domain/azure-sync/value-objects.d.ts +6 -35
- package/dist/domain/azure-sync/value-objects.d.ts.map +1 -1
- package/dist/domain/azure-sync/value-objects.js +4 -120
- package/dist/domain/azure-sync/value-objects.js.map +1 -1
- package/dist/domain/config/value-objects.d.ts +1 -28
- package/dist/domain/config/value-objects.d.ts.map +1 -1
- package/dist/domain/config/value-objects.js +37 -19
- package/dist/domain/config/value-objects.js.map +1 -1
- package/dist/domain/context-memory/entities.d.ts +4 -170
- package/dist/domain/context-memory/entities.d.ts.map +1 -1
- package/dist/domain/context-memory/entities.js +5 -318
- package/dist/domain/context-memory/entities.js.map +1 -1
- package/dist/domain/context-memory/enum-values.d.ts +22 -0
- package/dist/domain/context-memory/enum-values.d.ts.map +1 -0
- package/dist/domain/context-memory/enum-values.js +23 -0
- package/dist/domain/context-memory/enum-values.js.map +1 -0
- package/dist/domain/context-memory/execution-entry.d.ts +41 -0
- package/dist/domain/context-memory/execution-entry.d.ts.map +1 -0
- package/dist/domain/context-memory/execution-entry.js +82 -0
- package/dist/domain/context-memory/execution-entry.js.map +1 -0
- package/dist/domain/context-memory/note.d.ts +31 -0
- package/dist/domain/context-memory/note.d.ts.map +1 -0
- package/dist/domain/context-memory/note.js +42 -0
- package/dist/domain/context-memory/note.js.map +1 -0
- package/dist/domain/context-memory/repositories.d.ts.map +1 -1
- package/dist/domain/context-memory/repositories.js +7 -0
- package/dist/domain/context-memory/repositories.js.map +1 -1
- package/dist/domain/context-memory/services.d.ts.map +1 -1
- package/dist/domain/context-memory/services.js +15 -1
- package/dist/domain/context-memory/services.js.map +1 -1
- package/dist/domain/context-memory/session.d.ts +39 -0
- package/dist/domain/context-memory/session.d.ts.map +1 -0
- package/dist/domain/context-memory/session.js +81 -0
- package/dist/domain/context-memory/session.js.map +1 -0
- package/dist/domain/context-memory/todo.d.ts +46 -0
- package/dist/domain/context-memory/todo.d.ts.map +1 -0
- package/dist/domain/context-memory/todo.js +96 -0
- package/dist/domain/context-memory/todo.js.map +1 -0
- package/dist/domain/context-memory/value-objects.d.ts.map +1 -1
- package/dist/domain/context-memory/value-objects.js +1 -1
- package/dist/domain/context-memory/value-objects.js.map +1 -1
- package/dist/domain/data/ports.d.ts +18 -0
- package/dist/domain/data/ports.d.ts.map +1 -0
- package/dist/domain/data/ports.js +11 -0
- package/dist/domain/data/ports.js.map +1 -0
- package/dist/domain/domain-map/ports.d.ts +106 -0
- package/dist/domain/domain-map/ports.d.ts.map +1 -0
- package/dist/domain/domain-map/ports.js +12 -0
- package/dist/domain/domain-map/ports.js.map +1 -0
- package/dist/domain/domain-map/services.d.ts.map +1 -1
- package/dist/domain/domain-map/services.js +17 -2
- package/dist/domain/domain-map/services.js.map +1 -1
- package/dist/domain/domain-map/value-objects.d.ts.map +1 -1
- package/dist/domain/domain-map/value-objects.js +1 -1
- package/dist/domain/domain-map/value-objects.js.map +1 -1
- package/dist/domain/environment/entities.d.ts +1 -1
- package/dist/domain/environment/entities.d.ts.map +1 -1
- package/dist/domain/environment/entities.js +1 -1
- package/dist/domain/environment/entities.js.map +1 -1
- package/dist/domain/environment/enum-values.d.ts +23 -0
- package/dist/domain/environment/enum-values.d.ts.map +1 -0
- package/dist/domain/environment/enum-values.js +31 -0
- package/dist/domain/environment/enum-values.js.map +1 -0
- package/dist/domain/environment/ports.d.ts +41 -0
- package/dist/domain/environment/ports.d.ts.map +1 -0
- package/dist/domain/environment/ports.js +12 -0
- package/dist/domain/environment/ports.js.map +1 -0
- package/dist/domain/environment/renderers.d.ts.map +1 -1
- package/dist/domain/environment/renderers.js.map +1 -1
- package/dist/domain/environment/repositories.d.ts.map +1 -1
- package/dist/domain/environment/services.d.ts.map +1 -1
- package/dist/domain/environment/services.js.map +1 -1
- package/dist/domain/environment/value-objects.d.ts.map +1 -1
- package/dist/domain/environment/value-objects.js +1 -1
- package/dist/domain/environment/value-objects.js.map +1 -1
- package/dist/domain/governance/policies.d.ts.map +1 -1
- package/dist/domain/governance/policies.js +3 -42
- package/dist/domain/governance/policies.js.map +1 -1
- package/dist/domain/governance/services.d.ts.map +1 -1
- package/dist/domain/governance/services.js +11 -0
- package/dist/domain/governance/services.js.map +1 -1
- package/dist/domain/kanban/card-props.d.ts +39 -0
- package/dist/domain/kanban/card-props.d.ts.map +1 -0
- package/dist/domain/kanban/card-props.js +9 -0
- package/dist/domain/kanban/card-props.js.map +1 -0
- package/dist/domain/kanban/entities.d.ts +19 -42
- package/dist/domain/kanban/entities.d.ts.map +1 -1
- package/dist/domain/kanban/entities.js +32 -11
- package/dist/domain/kanban/entities.js.map +1 -1
- package/dist/domain/kanban/enum-values.d.ts +53 -0
- package/dist/domain/kanban/enum-values.d.ts.map +1 -0
- package/dist/domain/kanban/enum-values.js +62 -0
- package/dist/domain/kanban/enum-values.js.map +1 -0
- package/dist/domain/kanban/grooming.d.ts.map +1 -1
- package/dist/domain/kanban/grooming.js +27 -2
- package/dist/domain/kanban/grooming.js.map +1 -1
- package/dist/domain/kanban/repositories.d.ts.map +1 -1
- package/dist/domain/kanban/repositories.js +7 -0
- package/dist/domain/kanban/repositories.js.map +1 -1
- package/dist/domain/kanban/services.d.ts.map +1 -1
- package/dist/domain/kanban/services.js +11 -0
- package/dist/domain/kanban/services.js.map +1 -1
- package/dist/domain/kanban/sprint.d.ts +7 -7
- package/dist/domain/kanban/sprint.d.ts.map +1 -1
- package/dist/domain/kanban/sprint.js.map +1 -1
- package/dist/domain/kanban/value-objects.d.ts +13 -2
- package/dist/domain/kanban/value-objects.d.ts.map +1 -1
- package/dist/domain/kanban/value-objects.js.map +1 -1
- package/dist/domain/pipeline/enum-values.d.ts +30 -0
- package/dist/domain/pipeline/enum-values.d.ts.map +1 -0
- package/dist/domain/pipeline/enum-values.js +41 -0
- package/dist/domain/pipeline/enum-values.js.map +1 -0
- package/dist/domain/pipeline/gate.d.ts.map +1 -1
- package/dist/domain/pipeline/gate.js +1 -1
- package/dist/domain/pipeline/gate.js.map +1 -1
- package/dist/domain/pipeline/index.d.ts.map +1 -1
- package/dist/domain/pipeline/index.js +0 -3
- package/dist/domain/pipeline/index.js.map +1 -1
- package/dist/domain/pipeline/pipeline.d.ts.map +1 -1
- package/dist/domain/pipeline/pipeline.js +11 -6
- package/dist/domain/pipeline/pipeline.js.map +1 -1
- package/dist/domain/pipeline/ports.d.ts.map +1 -1
- package/dist/domain/pipeline/repositories.d.ts +3 -3
- package/dist/domain/pipeline/repositories.d.ts.map +1 -1
- package/dist/domain/pipeline/services.d.ts.map +1 -1
- package/dist/domain/pipeline/services.js +2 -0
- package/dist/domain/pipeline/services.js.map +1 -1
- package/dist/domain/pipeline/value-objects.d.ts.map +1 -1
- package/dist/domain/pipeline/value-objects.js +1 -2
- package/dist/domain/pipeline/value-objects.js.map +1 -1
- package/dist/domain/rag/enum-values.d.ts +19 -0
- package/dist/domain/rag/enum-values.d.ts.map +1 -0
- package/dist/domain/rag/enum-values.js +24 -0
- package/dist/domain/rag/enum-values.js.map +1 -0
- package/dist/domain/rag/repositories.d.ts.map +1 -1
- package/dist/domain/rag/repositories.js +10 -0
- package/dist/domain/rag/repositories.js.map +1 -1
- package/dist/domain/rag/services.d.ts.map +1 -1
- package/dist/domain/rag/services.js +4 -4
- package/dist/domain/rag/services.js.map +1 -1
- package/dist/domain/rag/value-objects.d.ts.map +1 -1
- package/dist/domain/rag/value-objects.js.map +1 -1
- package/dist/domain/shared/value-objects.d.ts.map +1 -1
- package/dist/domain/shared/value-objects.js.map +1 -1
- package/dist/domain/token-metrics/entities.d.ts.map +1 -1
- package/dist/domain/token-metrics/entities.js +2 -3
- package/dist/domain/token-metrics/entities.js.map +1 -1
- package/dist/domain/token-metrics/ports.d.ts.map +1 -1
- package/dist/domain/token-metrics/ports.js.map +1 -1
- package/dist/domain/token-metrics/repositories.d.ts.map +1 -1
- package/dist/domain/token-metrics/repositories.js +10 -0
- package/dist/domain/token-metrics/repositories.js.map +1 -1
- package/dist/domain/token-metrics/value-objects.d.ts.map +1 -1
- package/dist/domain/token-metrics/value-objects.js.map +1 -1
- package/dist/domain/vault/document.d.ts.map +1 -1
- package/dist/domain/vault/document.js +39 -15
- package/dist/domain/vault/document.js.map +1 -1
- package/dist/domain/vault/repositories.d.ts.map +1 -1
- package/dist/domain/vault/repositories.js +10 -0
- package/dist/domain/vault/repositories.js.map +1 -1
- package/dist/domain/vault/section.d.ts.map +1 -1
- package/dist/domain/vault/section.js +10 -0
- package/dist/domain/vault/section.js.map +1 -1
- package/dist/domain/vault/services.d.ts +11 -0
- package/dist/domain/vault/services.d.ts.map +1 -1
- package/dist/domain/vault/services.js +45 -20
- package/dist/domain/vault/services.js.map +1 -1
- package/dist/domain/vault/table.d.ts +1 -0
- package/dist/domain/vault/table.d.ts.map +1 -1
- package/dist/domain/vault/table.js +12 -10
- package/dist/domain/vault/table.js.map +1 -1
- package/dist/domain/vault/value-objects.d.ts +5 -5
- package/dist/domain/vault/value-objects.d.ts.map +1 -1
- package/dist/domain/vault/value-objects.js +4 -2
- package/dist/domain/vault/value-objects.js.map +1 -1
- package/dist/domain/workspace-registry/entities.d.ts +24 -3
- package/dist/domain/workspace-registry/entities.d.ts.map +1 -1
- package/dist/domain/workspace-registry/entities.js +1 -1
- package/dist/domain/workspace-registry/entities.js.map +1 -1
- package/dist/domain/workspace-registry/enum-values.d.ts +19 -0
- package/dist/domain/workspace-registry/enum-values.d.ts.map +1 -0
- package/dist/domain/workspace-registry/enum-values.js +23 -0
- package/dist/domain/workspace-registry/enum-values.js.map +1 -0
- package/dist/domain/workspace-registry/ports.d.ts +16 -0
- package/dist/domain/workspace-registry/ports.d.ts.map +1 -0
- package/dist/domain/workspace-registry/ports.js +16 -0
- package/dist/domain/workspace-registry/ports.js.map +1 -0
- package/dist/domain/workspace-registry/repositories.d.ts.map +1 -1
- package/dist/domain/workspace-registry/services.d.ts +2 -1
- package/dist/domain/workspace-registry/services.d.ts.map +1 -1
- package/dist/domain/workspace-registry/services.js.map +1 -1
- package/dist/domain/workspace-registry/value-objects.d.ts +2 -33
- package/dist/domain/workspace-registry/value-objects.d.ts.map +1 -1
- package/dist/domain/workspace-registry/value-objects.js +0 -1
- package/dist/domain/workspace-registry/value-objects.js.map +1 -1
- package/dist/hooks/config-command.d.ts.map +1 -1
- package/dist/hooks/config-command.js.map +1 -1
- package/dist/hooks/context-compacting.d.ts.map +1 -1
- package/dist/hooks/context-compacting.js +14 -0
- package/dist/hooks/context-compacting.js.map +1 -1
- package/dist/hooks/event-handlers.d.ts.map +1 -1
- package/dist/hooks/event-handlers.js +19 -3
- package/dist/hooks/event-handlers.js.map +1 -1
- package/dist/hooks/execution-journal.d.ts.map +1 -1
- package/dist/hooks/execution-journal.js +16 -0
- package/dist/hooks/execution-journal.js.map +1 -1
- package/dist/hooks/first-run-guide.d.ts.map +1 -1
- package/dist/hooks/first-run-guide.js +7 -8
- package/dist/hooks/first-run-guide.js.map +1 -1
- package/dist/hooks/guardrails.d.ts.map +1 -1
- package/dist/hooks/guardrails.js +16 -0
- package/dist/hooks/guardrails.js.map +1 -1
- package/dist/hooks/logger.d.ts.map +1 -1
- package/dist/hooks/logger.js +2 -0
- package/dist/hooks/logger.js.map +1 -1
- package/dist/hooks/shell-env.d.ts.map +1 -1
- package/dist/hooks/shell-env.js +12 -0
- package/dist/hooks/shell-env.js.map +1 -1
- package/dist/hooks/slash-commands.d.ts +3 -3
- package/dist/hooks/slash-commands.d.ts.map +1 -1
- package/dist/hooks/slash-commands.js +43 -16
- package/dist/hooks/slash-commands.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +56 -600
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/agent-registry/agent-profile-repository.d.ts +11 -27
- package/dist/infrastructure/agent-registry/agent-profile-repository.d.ts.map +1 -1
- package/dist/infrastructure/agent-registry/agent-profile-repository.js +1 -0
- package/dist/infrastructure/agent-registry/agent-profile-repository.js.map +1 -1
- package/dist/infrastructure/agent-registry/agent-session-adapter.d.ts +9 -26
- package/dist/infrastructure/agent-registry/agent-session-adapter.d.ts.map +1 -1
- package/dist/infrastructure/agent-registry/agent-session-adapter.js +1 -0
- package/dist/infrastructure/agent-registry/agent-session-adapter.js.map +1 -1
- package/dist/infrastructure/agent-registry/built-in-profiles.d.ts +11 -2
- package/dist/infrastructure/agent-registry/built-in-profiles.d.ts.map +1 -1
- package/dist/infrastructure/agent-registry/built-in-profiles.js +1 -0
- package/dist/infrastructure/agent-registry/built-in-profiles.js.map +1 -1
- package/dist/infrastructure/azure-sync/azure-auth.d.ts.map +1 -1
- package/dist/infrastructure/azure-sync/azure-auth.js.map +1 -1
- package/dist/infrastructure/azure-sync/azure-devops-client.d.ts +4 -3
- package/dist/infrastructure/azure-sync/azure-devops-client.d.ts.map +1 -1
- package/dist/infrastructure/azure-sync/azure-devops-client.js +47 -14
- package/dist/infrastructure/azure-sync/azure-devops-client.js.map +1 -1
- package/dist/infrastructure/azure-sync/ollama-llm-adapter.d.ts +30 -0
- package/dist/infrastructure/azure-sync/ollama-llm-adapter.d.ts.map +1 -0
- package/dist/infrastructure/azure-sync/ollama-llm-adapter.js +162 -0
- package/dist/infrastructure/azure-sync/ollama-llm-adapter.js.map +1 -0
- package/dist/infrastructure/azure-sync/sqlite-event-repository.d.ts.map +1 -1
- package/dist/infrastructure/azure-sync/sqlite-event-repository.js +24 -9
- package/dist/infrastructure/azure-sync/sqlite-event-repository.js.map +1 -1
- package/dist/infrastructure/azure-sync/sqlite-sync-repository.d.ts.map +1 -1
- package/dist/infrastructure/azure-sync/sqlite-sync-repository.js +12 -4
- package/dist/infrastructure/azure-sync/sqlite-sync-repository.js.map +1 -1
- package/dist/infrastructure/bootstrap/bootstrap-fs-adapter.d.ts +19 -0
- package/dist/infrastructure/bootstrap/bootstrap-fs-adapter.d.ts.map +1 -0
- package/dist/infrastructure/bootstrap/bootstrap-fs-adapter.js +41 -0
- package/dist/infrastructure/bootstrap/bootstrap-fs-adapter.js.map +1 -0
- package/dist/infrastructure/config/yaml-config-repository.d.ts +9 -7
- package/dist/infrastructure/config/yaml-config-repository.d.ts.map +1 -1
- package/dist/infrastructure/config/yaml-config-repository.js +1 -0
- package/dist/infrastructure/config/yaml-config-repository.js.map +1 -1
- package/dist/infrastructure/config/yaml-config-writer.d.ts +3 -4
- package/dist/infrastructure/config/yaml-config-writer.d.ts.map +1 -1
- package/dist/infrastructure/config/yaml-config-writer.js +1 -0
- package/dist/infrastructure/config/yaml-config-writer.js.map +1 -1
- package/dist/infrastructure/context-memory/execution-journal-repository.d.ts.map +1 -1
- package/dist/infrastructure/context-memory/execution-journal-repository.js +13 -1
- package/dist/infrastructure/context-memory/execution-journal-repository.js.map +1 -1
- package/dist/infrastructure/context-memory/note-repository.d.ts.map +1 -1
- package/dist/infrastructure/context-memory/note-repository.js +11 -1
- package/dist/infrastructure/context-memory/note-repository.js.map +1 -1
- package/dist/infrastructure/context-memory/search-repository.d.ts.map +1 -1
- package/dist/infrastructure/context-memory/session-repository.d.ts.map +1 -1
- package/dist/infrastructure/context-memory/session-repository.js +11 -1
- package/dist/infrastructure/context-memory/session-repository.js.map +1 -1
- package/dist/infrastructure/context-memory/todo-repository.d.ts.map +1 -1
- package/dist/infrastructure/context-memory/todo-repository.js +10 -1
- package/dist/infrastructure/context-memory/todo-repository.js.map +1 -1
- package/dist/infrastructure/data/data-file-adapter.d.ts +15 -0
- package/dist/infrastructure/data/data-file-adapter.d.ts.map +1 -0
- package/dist/infrastructure/data/data-file-adapter.js +27 -0
- package/dist/infrastructure/data/data-file-adapter.js.map +1 -0
- package/dist/infrastructure/database/sqlite-adapter.d.ts +14 -0
- package/dist/infrastructure/database/sqlite-adapter.d.ts.map +1 -1
- package/dist/infrastructure/database/sqlite-adapter.js.map +1 -1
- package/dist/infrastructure/domain-map/llm-analyzer.d.ts +38 -32
- package/dist/infrastructure/domain-map/llm-analyzer.d.ts.map +1 -1
- package/dist/infrastructure/domain-map/llm-analyzer.js +2 -1
- package/dist/infrastructure/domain-map/llm-analyzer.js.map +1 -1
- package/dist/infrastructure/domain-map/llm-prompt-factory.d.ts +1 -16
- package/dist/infrastructure/domain-map/llm-prompt-factory.d.ts.map +1 -1
- package/dist/infrastructure/domain-map/llm-prompt-factory.js +1 -0
- package/dist/infrastructure/domain-map/llm-prompt-factory.js.map +1 -1
- package/dist/infrastructure/domain-map/lsp-adapter.d.ts +53 -35
- package/dist/infrastructure/domain-map/lsp-adapter.d.ts.map +1 -1
- package/dist/infrastructure/domain-map/lsp-adapter.js +2 -1
- package/dist/infrastructure/domain-map/lsp-adapter.js.map +1 -1
- package/dist/infrastructure/domain-map/lsp-configs.d.ts +47 -37
- package/dist/infrastructure/domain-map/lsp-configs.d.ts.map +1 -1
- package/dist/infrastructure/domain-map/lsp-configs.js +1 -0
- package/dist/infrastructure/domain-map/lsp-configs.js.map +1 -1
- package/dist/infrastructure/domain-map/lsp-json-rpc.d.ts +18 -58
- package/dist/infrastructure/domain-map/lsp-json-rpc.d.ts.map +1 -1
- package/dist/infrastructure/domain-map/lsp-json-rpc.js +2 -1
- package/dist/infrastructure/domain-map/lsp-json-rpc.js.map +1 -1
- package/dist/infrastructure/domain-map/project-scanner.d.ts +8 -7
- package/dist/infrastructure/domain-map/project-scanner.d.ts.map +1 -1
- package/dist/infrastructure/domain-map/project-scanner.js +2 -1
- package/dist/infrastructure/domain-map/project-scanner.js.map +1 -1
- package/dist/infrastructure/environment/environment-repository.d.ts +16 -31
- package/dist/infrastructure/environment/environment-repository.d.ts.map +1 -1
- package/dist/infrastructure/environment/environment-repository.js +2 -1
- package/dist/infrastructure/environment/environment-repository.js.map +1 -1
- package/dist/infrastructure/environment/scanner-adapter.d.ts +2 -13
- package/dist/infrastructure/environment/scanner-adapter.d.ts.map +1 -1
- package/dist/infrastructure/environment/scanner-adapter.js +1 -0
- package/dist/infrastructure/environment/scanner-adapter.js.map +1 -1
- package/dist/infrastructure/kanban/card-repository.d.ts +2 -2
- package/dist/infrastructure/kanban/card-repository.d.ts.map +1 -1
- package/dist/infrastructure/kanban/card-repository.js +45 -22
- package/dist/infrastructure/kanban/card-repository.js.map +1 -1
- package/dist/infrastructure/kanban/sprint-repository.d.ts.map +1 -1
- package/dist/infrastructure/kanban/sprint-repository.js +14 -1
- package/dist/infrastructure/kanban/sprint-repository.js.map +1 -1
- package/dist/infrastructure/pipeline/dagger-adapter.d.ts +10 -43
- package/dist/infrastructure/pipeline/dagger-adapter.d.ts.map +1 -1
- package/dist/infrastructure/pipeline/dagger-adapter.js +1 -0
- package/dist/infrastructure/pipeline/dagger-adapter.js.map +1 -1
- package/dist/infrastructure/pipeline/dagger-scaffold-generator.d.ts +27 -23
- package/dist/infrastructure/pipeline/dagger-scaffold-generator.d.ts.map +1 -1
- package/dist/infrastructure/pipeline/dagger-scaffold-generator.js +1 -0
- package/dist/infrastructure/pipeline/dagger-scaffold-generator.js.map +1 -1
- package/dist/infrastructure/pipeline/index.d.ts +0 -1
- package/dist/infrastructure/pipeline/index.d.ts.map +1 -1
- package/dist/infrastructure/pipeline/index.js.map +1 -1
- package/dist/infrastructure/pipeline/pipeline-template-registry.d.ts +5 -20
- package/dist/infrastructure/pipeline/pipeline-template-registry.d.ts.map +1 -1
- package/dist/infrastructure/pipeline/pipeline-template-registry.js +1 -0
- package/dist/infrastructure/pipeline/pipeline-template-registry.js.map +1 -1
- package/dist/infrastructure/pipeline/scaffold-templates-extra.d.ts +0 -8
- package/dist/infrastructure/pipeline/scaffold-templates-extra.d.ts.map +1 -1
- package/dist/infrastructure/pipeline/scaffold-templates-extra.js +1 -0
- package/dist/infrastructure/pipeline/scaffold-templates-extra.js.map +1 -1
- package/dist/infrastructure/pipeline/scaffold-templates.d.ts.map +1 -1
- package/dist/infrastructure/pipeline/scaffold-templates.js +1 -0
- package/dist/infrastructure/pipeline/scaffold-templates.js.map +1 -1
- package/dist/infrastructure/pipeline/sqlite-pipeline-repository.d.ts +13 -30
- package/dist/infrastructure/pipeline/sqlite-pipeline-repository.d.ts.map +1 -1
- package/dist/infrastructure/pipeline/sqlite-pipeline-repository.js +3 -2
- package/dist/infrastructure/pipeline/sqlite-pipeline-repository.js.map +1 -1
- package/dist/infrastructure/rag/file-discovery.d.ts +11 -0
- package/dist/infrastructure/rag/file-discovery.d.ts.map +1 -1
- package/dist/infrastructure/rag/file-discovery.js +2 -1
- package/dist/infrastructure/rag/file-discovery.js.map +1 -1
- package/dist/infrastructure/rag/file-index-registry.d.ts +13 -0
- package/dist/infrastructure/rag/file-index-registry.d.ts.map +1 -1
- package/dist/infrastructure/rag/file-index-registry.js.map +1 -1
- package/dist/infrastructure/rag/ollama-embeddings.d.ts +10 -0
- package/dist/infrastructure/rag/ollama-embeddings.d.ts.map +1 -1
- package/dist/infrastructure/rag/ollama-embeddings.js.map +1 -1
- package/dist/infrastructure/rag/text-splitter.d.ts +10 -0
- package/dist/infrastructure/rag/text-splitter.d.ts.map +1 -1
- package/dist/infrastructure/rag/text-splitter.js +4 -1
- package/dist/infrastructure/rag/text-splitter.js.map +1 -1
- package/dist/infrastructure/rag/vectra-adapter.d.ts +10 -0
- package/dist/infrastructure/rag/vectra-adapter.d.ts.map +1 -1
- package/dist/infrastructure/rag/vectra-adapter.js.map +1 -1
- package/dist/infrastructure/token-metrics/token-metrics-repository.d.ts.map +1 -1
- package/dist/infrastructure/token-metrics/token-metrics-repository.js +11 -0
- package/dist/infrastructure/token-metrics/token-metrics-repository.js.map +1 -1
- package/dist/infrastructure/vault/markdown-parser.d.ts +10 -0
- package/dist/infrastructure/vault/markdown-parser.d.ts.map +1 -1
- package/dist/infrastructure/vault/markdown-parser.js +9 -9
- package/dist/infrastructure/vault/markdown-parser.js.map +1 -1
- package/dist/infrastructure/vault/vault-fs-adapter.d.ts +11 -0
- package/dist/infrastructure/vault/vault-fs-adapter.d.ts.map +1 -1
- package/dist/infrastructure/vault/vault-fs-adapter.js.map +1 -1
- package/dist/infrastructure/workspace-registry/dependency-repository.d.ts +11 -25
- package/dist/infrastructure/workspace-registry/dependency-repository.d.ts.map +1 -1
- package/dist/infrastructure/workspace-registry/dependency-repository.js +1 -0
- package/dist/infrastructure/workspace-registry/dependency-repository.js.map +1 -1
- package/dist/infrastructure/workspace-registry/workspace-repository.d.ts +11 -26
- package/dist/infrastructure/workspace-registry/workspace-repository.d.ts.map +1 -1
- package/dist/infrastructure/workspace-registry/workspace-repository.js +1 -0
- package/dist/infrastructure/workspace-registry/workspace-repository.js.map +1 -1
- package/dist/tools/agent-registry-tools.d.ts +16 -0
- package/dist/tools/agent-registry-tools.d.ts.map +1 -1
- package/dist/tools/agent-registry-tools.js +2 -1
- package/dist/tools/agent-registry-tools.js.map +1 -1
- package/dist/tools/agent-tools.d.ts +17 -7
- package/dist/tools/agent-tools.d.ts.map +1 -1
- package/dist/tools/agent-tools.js +158 -206
- package/dist/tools/agent-tools.js.map +1 -1
- package/dist/tools/azure-sync-event-tools.d.ts +23 -7
- package/dist/tools/azure-sync-event-tools.d.ts.map +1 -1
- package/dist/tools/azure-sync-event-tools.js +255 -66
- package/dist/tools/azure-sync-event-tools.js.map +1 -1
- package/dist/tools/azure-sync-pr-tools.d.ts +21 -0
- package/dist/tools/azure-sync-pr-tools.d.ts.map +1 -0
- package/dist/tools/azure-sync-pr-tools.js +146 -0
- package/dist/tools/azure-sync-pr-tools.js.map +1 -0
- package/dist/tools/azure-sync-tools.d.ts +22 -8
- package/dist/tools/azure-sync-tools.d.ts.map +1 -1
- package/dist/tools/azure-sync-tools.js +248 -267
- package/dist/tools/azure-sync-tools.js.map +1 -1
- package/dist/tools/bootstrap-tools.d.ts +16 -6
- package/dist/tools/bootstrap-tools.d.ts.map +1 -1
- package/dist/tools/bootstrap-tools.js +123 -143
- package/dist/tools/bootstrap-tools.js.map +1 -1
- package/dist/tools/config-tools.d.ts +16 -1
- package/dist/tools/config-tools.d.ts.map +1 -1
- package/dist/tools/config-tools.js +32 -2
- package/dist/tools/config-tools.js.map +1 -1
- package/dist/tools/context-memory-tools.d.ts +15 -0
- package/dist/tools/context-memory-tools.d.ts.map +1 -1
- package/dist/tools/context-memory-tools.js +4 -3
- package/dist/tools/context-memory-tools.js.map +1 -1
- package/dist/tools/data-tools.d.ts +15 -1
- package/dist/tools/data-tools.d.ts.map +1 -1
- package/dist/tools/data-tools.js +262 -308
- package/dist/tools/data-tools.js.map +1 -1
- package/dist/tools/data-write-tools.d.ts +20 -0
- package/dist/tools/data-write-tools.d.ts.map +1 -0
- package/dist/tools/data-write-tools.js +144 -0
- package/dist/tools/data-write-tools.js.map +1 -0
- package/dist/tools/domain-map-tools.d.ts +19 -36
- package/dist/tools/domain-map-tools.d.ts.map +1 -1
- package/dist/tools/domain-map-tools.js +81 -85
- package/dist/tools/domain-map-tools.js.map +1 -1
- package/dist/tools/environment-tools.d.ts +23 -80
- package/dist/tools/environment-tools.d.ts.map +1 -1
- package/dist/tools/environment-tools.js +109 -97
- package/dist/tools/environment-tools.js.map +1 -1
- package/dist/tools/governance-tools.d.ts +13 -0
- package/dist/tools/governance-tools.d.ts.map +1 -1
- package/dist/tools/governance-tools.js.map +1 -1
- package/dist/tools/kanban-board-tools.d.ts +12 -3
- package/dist/tools/kanban-board-tools.d.ts.map +1 -1
- package/dist/tools/kanban-board-tools.js +92 -302
- package/dist/tools/kanban-board-tools.js.map +1 -1
- package/dist/tools/kanban-card-mutation-tools.d.ts +16 -0
- package/dist/tools/kanban-card-mutation-tools.d.ts.map +1 -0
- package/dist/tools/kanban-card-mutation-tools.js +168 -0
- package/dist/tools/kanban-card-mutation-tools.js.map +1 -0
- package/dist/tools/kanban-card-query-tools.d.ts +25 -0
- package/dist/tools/kanban-card-query-tools.d.ts.map +1 -0
- package/dist/tools/kanban-card-query-tools.js +191 -0
- package/dist/tools/kanban-card-query-tools.js.map +1 -0
- package/dist/tools/kanban-card-tools.d.ts +13 -0
- package/dist/tools/kanban-card-tools.d.ts.map +1 -1
- package/dist/tools/kanban-card-tools.js +24 -182
- package/dist/tools/kanban-card-tools.js.map +1 -1
- package/dist/tools/kanban-gate-tools.d.ts +14 -2
- package/dist/tools/kanban-gate-tools.d.ts.map +1 -1
- package/dist/tools/kanban-gate-tools.js +78 -77
- package/dist/tools/kanban-gate-tools.js.map +1 -1
- package/dist/tools/kanban-grooming-tools.d.ts +12 -0
- package/dist/tools/kanban-grooming-tools.d.ts.map +1 -1
- package/dist/tools/kanban-grooming-tools.js +58 -137
- package/dist/tools/kanban-grooming-tools.js.map +1 -1
- package/dist/tools/kanban-sprint-tools.d.ts +35 -0
- package/dist/tools/kanban-sprint-tools.d.ts.map +1 -0
- package/dist/tools/kanban-sprint-tools.js +295 -0
- package/dist/tools/kanban-sprint-tools.js.map +1 -0
- package/dist/tools/pipeline-tools.d.ts +22 -6
- package/dist/tools/pipeline-tools.d.ts.map +1 -1
- package/dist/tools/pipeline-tools.js +306 -324
- package/dist/tools/pipeline-tools.js.map +1 -1
- package/dist/tools/rag-tools.d.ts +19 -0
- package/dist/tools/rag-tools.d.ts.map +1 -1
- package/dist/tools/rag-tools.js +79 -22
- package/dist/tools/rag-tools.js.map +1 -1
- package/dist/tools/token-metrics-tools.d.ts +23 -93
- package/dist/tools/token-metrics-tools.d.ts.map +1 -1
- package/dist/tools/token-metrics-tools.js +249 -199
- package/dist/tools/token-metrics-tools.js.map +1 -1
- package/dist/tools/vault-manage-tool.d.ts +18 -0
- package/dist/tools/vault-manage-tool.d.ts.map +1 -1
- package/dist/tools/vault-manage-tool.js +83 -156
- package/dist/tools/vault-manage-tool.js.map +1 -1
- package/dist/tools/vault-tools.d.ts +25 -0
- package/dist/tools/vault-tools.d.ts.map +1 -1
- package/dist/tools/vault-tools.js +218 -161
- package/dist/tools/vault-tools.js.map +1 -1
- package/dist/tools/workspace-registry-tools.d.ts +20 -88
- package/dist/tools/workspace-registry-tools.d.ts.map +1 -1
- package/dist/tools/workspace-registry-tools.js +78 -83
- package/dist/tools/workspace-registry-tools.js.map +1 -1
- package/package.json +11 -8
- package/scripts/setup/link-local.js +120 -0
- package/scripts/setup/setup-linux.sh +16 -6
- package/scripts/setup/setup-macos.sh +16 -6
- package/scripts/setup/setup-wsl.sh +23 -9
- package/templates/agents-md.template.md +130 -237
- package/templates/commands/jarvis-agents-md-file.md +7 -0
- package/dist/application/azure-sync/index.d.ts +0 -18
- package/dist/application/azure-sync/index.d.ts.map +0 -1
- package/dist/application/azure-sync/index.js +0 -11
- package/dist/application/azure-sync/index.js.map +0 -1
- package/dist/application/config/index.d.ts +0 -7
- package/dist/application/config/index.d.ts.map +0 -1
- package/dist/application/config/index.js +0 -6
- package/dist/application/config/index.js.map +0 -1
- package/dist/application/environment/dtos.d.ts +0 -74
- package/dist/application/environment/dtos.d.ts.map +0 -1
- package/dist/application/environment/dtos.js +0 -10
- package/dist/application/environment/dtos.js.map +0 -1
- package/dist/application/mcp/index.d.ts +0 -10
- package/dist/application/mcp/index.d.ts.map +0 -1
- package/dist/application/mcp/index.js +0 -8
- package/dist/application/mcp/index.js.map +0 -1
- package/dist/application/mcp/middleware.d.ts +0 -91
- package/dist/application/mcp/middleware.d.ts.map +0 -1
- package/dist/application/mcp/middleware.js +0 -84
- package/dist/application/mcp/middleware.js.map +0 -1
- package/dist/application/mcp/tool-adapter.d.ts +0 -72
- package/dist/application/mcp/tool-adapter.d.ts.map +0 -1
- package/dist/application/mcp/tool-adapter.js +0 -132
- package/dist/application/mcp/tool-adapter.js.map +0 -1
- package/dist/application/pipeline/index.d.ts +0 -8
- package/dist/application/pipeline/index.d.ts.map +0 -1
- package/dist/application/pipeline/index.js +0 -7
- package/dist/application/pipeline/index.js.map +0 -1
- package/dist/application/wiki-feedback/poll-service.d.ts +0 -56
- package/dist/application/wiki-feedback/poll-service.d.ts.map +0 -1
- package/dist/application/wiki-feedback/poll-service.js +0 -87
- package/dist/application/wiki-feedback/poll-service.js.map +0 -1
- package/dist/application/wiki-feedback/use-cases.d.ts +0 -115
- package/dist/application/wiki-feedback/use-cases.d.ts.map +0 -1
- package/dist/application/wiki-feedback/use-cases.js +0 -271
- package/dist/application/wiki-feedback/use-cases.js.map +0 -1
- package/dist/cli/config-wizard.d.ts +0 -14
- package/dist/cli/config-wizard.d.ts.map +0 -1
- package/dist/cli/config-wizard.js +0 -120
- package/dist/cli/config-wizard.js.map +0 -1
- package/dist/cli/section-editors.d.ts +0 -33
- package/dist/cli/section-editors.d.ts.map +0 -1
- package/dist/cli/section-editors.js +0 -286
- package/dist/cli/section-editors.js.map +0 -1
- package/dist/cli/wizard-prompts.d.ts +0 -76
- package/dist/cli/wizard-prompts.d.ts.map +0 -1
- package/dist/cli/wizard-prompts.js +0 -98
- package/dist/cli/wizard-prompts.js.map +0 -1
- package/dist/domain/azure-sync/index.d.ts +0 -16
- package/dist/domain/azure-sync/index.d.ts.map +0 -1
- package/dist/domain/azure-sync/index.js +0 -14
- package/dist/domain/azure-sync/index.js.map +0 -1
- package/dist/domain/config/index.d.ts +0 -9
- package/dist/domain/config/index.d.ts.map +0 -1
- package/dist/domain/config/index.js +0 -7
- package/dist/domain/config/index.js.map +0 -1
- package/dist/domain/domain-map/repositories.d.ts +0 -126
- package/dist/domain/domain-map/repositories.d.ts.map +0 -1
- package/dist/domain/domain-map/repositories.js +0 -2
- package/dist/domain/domain-map/repositories.js.map +0 -1
- package/dist/domain/vault/canvas.d.ts +0 -70
- package/dist/domain/vault/canvas.d.ts.map +0 -1
- package/dist/domain/vault/canvas.js +0 -70
- package/dist/domain/vault/canvas.js.map +0 -1
- package/dist/domain/vault/timeline.d.ts +0 -53
- package/dist/domain/vault/timeline.d.ts.map +0 -1
- package/dist/domain/vault/timeline.js +0 -214
- package/dist/domain/vault/timeline.js.map +0 -1
- package/dist/domain/wiki-feedback/entities.d.ts +0 -101
- package/dist/domain/wiki-feedback/entities.d.ts.map +0 -1
- package/dist/domain/wiki-feedback/entities.js +0 -154
- package/dist/domain/wiki-feedback/entities.js.map +0 -1
- package/dist/domain/wiki-feedback/index.d.ts +0 -13
- package/dist/domain/wiki-feedback/index.d.ts.map +0 -1
- package/dist/domain/wiki-feedback/index.js +0 -11
- package/dist/domain/wiki-feedback/index.js.map +0 -1
- package/dist/domain/wiki-feedback/ports.d.ts +0 -47
- package/dist/domain/wiki-feedback/ports.d.ts.map +0 -1
- package/dist/domain/wiki-feedback/ports.js +0 -13
- package/dist/domain/wiki-feedback/ports.js.map +0 -1
- package/dist/domain/wiki-feedback/repositories.d.ts +0 -33
- package/dist/domain/wiki-feedback/repositories.d.ts.map +0 -1
- package/dist/domain/wiki-feedback/repositories.js +0 -12
- package/dist/domain/wiki-feedback/repositories.js.map +0 -1
- package/dist/domain/wiki-feedback/value-objects.d.ts +0 -74
- package/dist/domain/wiki-feedback/value-objects.d.ts.map +0 -1
- package/dist/domain/wiki-feedback/value-objects.js +0 -144
- package/dist/domain/wiki-feedback/value-objects.js.map +0 -1
- package/dist/infrastructure/azure-sync/index.d.ts +0 -10
- package/dist/infrastructure/azure-sync/index.d.ts.map +0 -1
- package/dist/infrastructure/azure-sync/index.js +0 -13
- package/dist/infrastructure/azure-sync/index.js.map +0 -1
- package/dist/infrastructure/config/index.d.ts +0 -6
- package/dist/infrastructure/config/index.d.ts.map +0 -1
- package/dist/infrastructure/config/index.js +0 -6
- package/dist/infrastructure/config/index.js.map +0 -1
- package/dist/infrastructure/wiki-feedback/azure-wiki-client.d.ts +0 -36
- package/dist/infrastructure/wiki-feedback/azure-wiki-client.d.ts.map +0 -1
- package/dist/infrastructure/wiki-feedback/azure-wiki-client.js +0 -106
- package/dist/infrastructure/wiki-feedback/azure-wiki-client.js.map +0 -1
- package/dist/infrastructure/wiki-feedback/sqlite-feedback-repository.d.ts +0 -31
- package/dist/infrastructure/wiki-feedback/sqlite-feedback-repository.d.ts.map +0 -1
- package/dist/infrastructure/wiki-feedback/sqlite-feedback-repository.js +0 -149
- package/dist/infrastructure/wiki-feedback/sqlite-feedback-repository.js.map +0 -1
- package/dist/mcp-server.d.ts +0 -3
- package/dist/mcp-server.d.ts.map +0 -1
- package/dist/mcp-server.js +0 -373
- package/dist/mcp-server.js.map +0 -1
- package/dist/tools/wiki-feedback-tools.d.ts +0 -9
- package/dist/tools/wiki-feedback-tools.d.ts.map +0 -1
- package/dist/tools/wiki-feedback-tools.js +0 -189
- package/dist/tools/wiki-feedback-tools.js.map +0 -1
|
@@ -5,10 +5,14 @@
|
|
|
5
5
|
* Models Azure DevOps concepts (organizations, work items, process templates)
|
|
6
6
|
* with validation and immutability. Zero external dependencies (pure domain).
|
|
7
7
|
*
|
|
8
|
+
* State/type mapping tables are in sync-state-maps.ts (SRP split).
|
|
9
|
+
*
|
|
8
10
|
* SOLID: SRP — each type models a single domain concept
|
|
9
11
|
* DDD: Value Objects compared by value, no identity of their own
|
|
10
12
|
*/
|
|
11
13
|
import { EntityId } from "../shared/value-objects.js";
|
|
14
|
+
// Re-export mapping tables for backwards compatibility
|
|
15
|
+
export { LOCAL_KANBAN_STATES, LOCAL_TO_AZURE_STATE, AZURE_TO_LOCAL_STATE, AZURE_STATES, TASK_STATE_FOR_MET, LOCAL_TO_AZURE_TYPE, } from "./sync-state-maps.js";
|
|
12
16
|
// ─── Identifiers ──────────────────────────────────────────────────────────────
|
|
13
17
|
/** Sync mapping identifier (format: SM-NNN). */
|
|
14
18
|
export class SyncMappingId extends EntityId {
|
|
@@ -182,16 +186,6 @@ export const WORK_ITEM_TYPES = [
|
|
|
182
186
|
"Feature",
|
|
183
187
|
"Requirement",
|
|
184
188
|
];
|
|
185
|
-
/**
|
|
186
|
-
* Maps local entity types to Azure DevOps work item types per process template.
|
|
187
|
-
* Local "card" maps to the primary work item type for the template.
|
|
188
|
-
*/
|
|
189
|
-
export const LOCAL_TO_AZURE_TYPE = {
|
|
190
|
-
basic: { epic: "Epic", card: "Issue", task: "Task" },
|
|
191
|
-
agile: { epic: "Epic", card: "User Story", task: "Task" },
|
|
192
|
-
scrum: { epic: "Epic", card: "Product Backlog Item", task: "Task" },
|
|
193
|
-
cmmi: { epic: "Epic", card: "Requirement", task: "Task" },
|
|
194
|
-
};
|
|
195
189
|
// ─── Sync Direction ───────────────────────────────────────────────────────────
|
|
196
190
|
export const SYNC_DIRECTIONS = [
|
|
197
191
|
"push",
|
|
@@ -212,116 +206,6 @@ export const SYNC_STATUSES = [
|
|
|
212
206
|
export function isValidSyncStatus(value) {
|
|
213
207
|
return SYNC_STATUSES.includes(value);
|
|
214
208
|
}
|
|
215
|
-
// ─── Azure DevOps State Mapping ───────────────────────────────────────────────
|
|
216
|
-
/** Azure DevOps work item states per process template. */
|
|
217
|
-
export const AZURE_STATES = {
|
|
218
|
-
basic: ["To Do", "Doing", "Done"],
|
|
219
|
-
agile: ["New", "Active", "Resolved", "Closed"],
|
|
220
|
-
scrum: ["New", "Approved", "Committed", "Done"],
|
|
221
|
-
cmmi: ["Proposed", "Active", "Resolved", "Closed"],
|
|
222
|
-
};
|
|
223
|
-
/**
|
|
224
|
-
* Local kanban states ordered by workflow progression.
|
|
225
|
-
* Used for mapping to/from Azure DevOps states.
|
|
226
|
-
*/
|
|
227
|
-
export const LOCAL_KANBAN_STATES = [
|
|
228
|
-
"backlog",
|
|
229
|
-
"grooming",
|
|
230
|
-
"ready",
|
|
231
|
-
"doing",
|
|
232
|
-
"review",
|
|
233
|
-
"blocked",
|
|
234
|
-
"tested",
|
|
235
|
-
"done",
|
|
236
|
-
];
|
|
237
|
-
/**
|
|
238
|
-
* Maps local kanban states to Azure DevOps states per process template.
|
|
239
|
-
* Multiple local states may map to a single Azure state.
|
|
240
|
-
*/
|
|
241
|
-
export const LOCAL_TO_AZURE_STATE = {
|
|
242
|
-
basic: {
|
|
243
|
-
backlog: "To Do",
|
|
244
|
-
grooming: "To Do",
|
|
245
|
-
ready: "To Do",
|
|
246
|
-
doing: "Doing",
|
|
247
|
-
review: "Doing",
|
|
248
|
-
blocked: "Doing",
|
|
249
|
-
tested: "Doing",
|
|
250
|
-
done: "Done",
|
|
251
|
-
},
|
|
252
|
-
agile: {
|
|
253
|
-
backlog: "New",
|
|
254
|
-
grooming: "New",
|
|
255
|
-
ready: "New",
|
|
256
|
-
doing: "Active",
|
|
257
|
-
review: "Active",
|
|
258
|
-
blocked: "Active",
|
|
259
|
-
tested: "Resolved",
|
|
260
|
-
done: "Closed",
|
|
261
|
-
},
|
|
262
|
-
scrum: {
|
|
263
|
-
backlog: "New",
|
|
264
|
-
grooming: "New",
|
|
265
|
-
ready: "Approved",
|
|
266
|
-
doing: "Committed",
|
|
267
|
-
review: "Committed",
|
|
268
|
-
blocked: "Committed",
|
|
269
|
-
tested: "Committed",
|
|
270
|
-
done: "Done",
|
|
271
|
-
},
|
|
272
|
-
cmmi: {
|
|
273
|
-
backlog: "Proposed",
|
|
274
|
-
grooming: "Proposed",
|
|
275
|
-
ready: "Proposed",
|
|
276
|
-
doing: "Active",
|
|
277
|
-
review: "Active",
|
|
278
|
-
blocked: "Active",
|
|
279
|
-
tested: "Resolved",
|
|
280
|
-
done: "Closed",
|
|
281
|
-
},
|
|
282
|
-
};
|
|
283
|
-
/**
|
|
284
|
-
* Maps Azure DevOps states back to the most likely local kanban state.
|
|
285
|
-
* Since the mapping is many-to-one, we pick the "earliest" local state
|
|
286
|
-
* that maps to the Azure state (conservative approach).
|
|
287
|
-
*/
|
|
288
|
-
export const AZURE_TO_LOCAL_STATE = {
|
|
289
|
-
basic: {
|
|
290
|
-
"To Do": "backlog",
|
|
291
|
-
"Doing": "doing",
|
|
292
|
-
"Done": "done",
|
|
293
|
-
},
|
|
294
|
-
agile: {
|
|
295
|
-
"New": "backlog",
|
|
296
|
-
"Active": "doing",
|
|
297
|
-
"Resolved": "tested",
|
|
298
|
-
"Closed": "done",
|
|
299
|
-
},
|
|
300
|
-
scrum: {
|
|
301
|
-
"New": "backlog",
|
|
302
|
-
"Approved": "ready",
|
|
303
|
-
"Committed": "doing",
|
|
304
|
-
"Done": "done",
|
|
305
|
-
},
|
|
306
|
-
cmmi: {
|
|
307
|
-
"Proposed": "backlog",
|
|
308
|
-
"Active": "doing",
|
|
309
|
-
"Resolved": "tested",
|
|
310
|
-
"Closed": "done",
|
|
311
|
-
},
|
|
312
|
-
};
|
|
313
|
-
// ─── Task State Mapping ───────────────────────────────────────────────────────
|
|
314
|
-
/**
|
|
315
|
-
* Maps acceptance criteria "met" status to Azure DevOps Task states.
|
|
316
|
-
* Tasks have simpler state workflows than parent work items.
|
|
317
|
-
* met=true → completed state, met=false → initial state.
|
|
318
|
-
*/
|
|
319
|
-
export const TASK_STATE_FOR_MET = {
|
|
320
|
-
basic: { done: "Done", todo: "To Do" },
|
|
321
|
-
agile: { done: "Closed", todo: "New" },
|
|
322
|
-
scrum: { done: "Done", todo: "To Do" },
|
|
323
|
-
cmmi: { done: "Closed", todo: "Proposed" },
|
|
324
|
-
};
|
|
325
209
|
// ─── Field Mapping ────────────────────────────────────────────────────────────
|
|
326
210
|
/**
|
|
327
211
|
* Represents a mapping between a local field name and an Azure DevOps field reference.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-objects.js","sourceRoot":"","sources":["../../../src/domain/azure-sync/value-objects.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"value-objects.js","sourceRoot":"","sources":["../../../src/domain/azure-sync/value-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,uDAA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YAAY,CAAC,QAAQ,CAAC,KAAmB,CAAC,CAAC;AACpD,CAAC;AAED,iFAAiF;AAEjF,oEAAoE;AACpE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;CACE,CAAC;AAIX,MAAM,UAAU,sBAAsB,CACpC,KAAa;IAEb,OAAO,kBAAkB,CAAC,QAAQ,CAAC,KAAwB,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Known bounded context names that can request configuration.
|
|
13
13
|
* Each maps to a top-level section in config/jarvis.yaml.
|
|
14
14
|
*/
|
|
15
|
-
export type ConfigContextName = "rag" | "pipeline" | "agent-registry" | "kanban" | "governance" | "token-metrics" | "vault" | "workspace-registry" | "environment" | "domain-map" | "azure-sync" | "mcp-server"
|
|
15
|
+
export type ConfigContextName = "rag" | "pipeline" | "agent-registry" | "kanban" | "governance" | "token-metrics" | "vault" | "workspace-registry" | "environment" | "domain-map" | "azure-sync" | "mcp-server";
|
|
16
16
|
/** Chunk size/overlap pair for a single language. */
|
|
17
17
|
export interface ChunkConfigEntry {
|
|
18
18
|
readonly chunkSize: number;
|
|
@@ -94,30 +94,6 @@ export interface TokenMetricsConfig {
|
|
|
94
94
|
/** Budget utilization threshold (0-1) that triggers an alert. Default: 0.8. */
|
|
95
95
|
readonly budgetAlertThreshold: number;
|
|
96
96
|
}
|
|
97
|
-
/** Configuration for a monitored wiki page. */
|
|
98
|
-
export interface MonitoredPageConfig {
|
|
99
|
-
readonly path: string;
|
|
100
|
-
readonly pageId: number;
|
|
101
|
-
readonly defaultType: "feature" | "bug" | "improvement" | "question" | "documentation";
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Wiki Feedback bounded context configuration.
|
|
105
|
-
* Controls which wiki pages are monitored and how feedback is processed.
|
|
106
|
-
*/
|
|
107
|
-
export interface WikiFeedbackConfig {
|
|
108
|
-
/** Wiki identifier (e.g., "IA.wiki"). */
|
|
109
|
-
readonly wikiIdentifier: string;
|
|
110
|
-
/** Enable background polling for new wiki comments. */
|
|
111
|
-
readonly pollEnabled: boolean;
|
|
112
|
-
/** Poll interval in seconds (minimum 60, default 300). */
|
|
113
|
-
readonly pollIntervalSecs: number;
|
|
114
|
-
/** Wiki pages to monitor for feedback comments. */
|
|
115
|
-
readonly monitoredPages: readonly MonitoredPageConfig[];
|
|
116
|
-
/** Post auto-reply comment on wiki when a card is created from feedback. */
|
|
117
|
-
readonly autoReply: boolean;
|
|
118
|
-
/** Prefix for auto-reply comments (e.g., "JARVIS"). */
|
|
119
|
-
readonly autoReplyPrefix: string;
|
|
120
|
-
}
|
|
121
97
|
/**
|
|
122
98
|
* Maps context names to their typed config interfaces.
|
|
123
99
|
* Used by ConfigService for type-safe config retrieval.
|
|
@@ -130,7 +106,6 @@ export interface ConfigMap {
|
|
|
130
106
|
"mcp-server": McpServerConfig;
|
|
131
107
|
kanban: KanbanConfig;
|
|
132
108
|
"token-metrics": TokenMetricsConfig;
|
|
133
|
-
"wiki-feedback": WikiFeedbackConfig;
|
|
134
109
|
}
|
|
135
110
|
/** Default RAG configuration (used when YAML is absent or incomplete). */
|
|
136
111
|
export declare const DEFAULT_RAG_CONFIG: RagConfig;
|
|
@@ -146,8 +121,6 @@ export declare const DEFAULT_MCP_SERVER_CONFIG: McpServerConfig;
|
|
|
146
121
|
export declare const DEFAULT_KANBAN_CONFIG: KanbanConfig;
|
|
147
122
|
/** Default Token Metrics configuration. */
|
|
148
123
|
export declare const DEFAULT_TOKEN_METRICS_CONFIG: TokenMetricsConfig;
|
|
149
|
-
/** Default Wiki Feedback configuration. */
|
|
150
|
-
export declare const DEFAULT_WIKI_FEEDBACK_CONFIG: WikiFeedbackConfig;
|
|
151
124
|
/**
|
|
152
125
|
* All defaults indexed by context name.
|
|
153
126
|
* Used by ConfigService for fallback resolution.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-objects.d.ts","sourceRoot":"","sources":["../../../src/domain/config/value-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"value-objects.d.ts","sourceRoot":"","sources":["../../../src/domain/config/value-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GACzB,KAAK,GACL,UAAU,GACV,gBAAgB,GAChB,QAAQ,GACR,YAAY,GACZ,eAAe,GACf,OAAO,GACP,oBAAoB,GACpB,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,CAAC;AAEjB,qDAAqD;AACrD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED,yCAAyC;AACzC,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,MAAM,EAAE;QACf,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAC9B,CAAC;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAClD,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC;CAC1C;AAED,8CAA8C;AAC9C,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,C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W,SAAS;IACxB,GAAG,EAAE,SAAS,CAAC;IACf,QAAQ,EAAE,cAAc,CAAC;IACzB,gBAAgB,EAAE,mBAAmB,CAAC;IACtC,YAAY,EAAE,eAAe,CAAC;IAC9B,YAAY,EAAE,eAAe,CAAC;IAC9B,MAAM,EAAE,YAAY,CAAC;IACrB,eAAe,EAAE,kBAAkB,CAAC;CACrC;AAID,0EAA0E;AAC1E,eAAO,MAAM,kBAAkB,EAAE,SAyBhC,CAAC;AAEF,sCAAsC;AACtC,eAAO,MAAM,uBAAuB,EAAE,cAGrC,CAAC;AAEF,4CAA4C;AAC5C,eAAO,MAAM,6BAA6B,EAAE,mBAE3C,CAAC;AAEF,wCAAwC;AACxC,eAAO,MAAM,yBAAyB,EAAE,eASvC,CAAC;AAEF,wCAAwC;AACxC,eAAO,MAAM,yBAAyB,EAAE,eAGvC,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,qBAAqB,EAAE,YA6CnC,CAAC;AAEF,2CAA2C;AAC3C,eAAO,MAAM,4BAA4B,EAAE,kBAG1C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAQ7D,CAAC"}
|
|
@@ -38,8 +38,8 @@ export const DEFAULT_RAG_CONFIG = {
|
|
|
38
38
|
};
|
|
39
39
|
/** Default Pipeline configuration. */
|
|
40
40
|
export const DEFAULT_PIPELINE_CONFIG = {
|
|
41
|
-
defaultTimeoutMs: 300_000,
|
|
42
|
-
checkTimeoutMs: 10_000,
|
|
41
|
+
defaultTimeoutMs: 300_000, // 5 minutes
|
|
42
|
+
checkTimeoutMs: 10_000, // 10 seconds
|
|
43
43
|
};
|
|
44
44
|
/** Default Agent Registry configuration. */
|
|
45
45
|
export const DEFAULT_AGENT_REGISTRY_CONFIG = {
|
|
@@ -65,17 +65,45 @@ export const DEFAULT_MCP_SERVER_CONFIG = {
|
|
|
65
65
|
export const DEFAULT_KANBAN_CONFIG = {
|
|
66
66
|
gateTasks: {
|
|
67
67
|
doing: [
|
|
68
|
-
{
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
{
|
|
69
|
+
description: "Code changes committed to feature branch",
|
|
70
|
+
required: true,
|
|
71
|
+
autoVerify: "none",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
description: "tsc --noEmit passes with zero errors",
|
|
75
|
+
required: true,
|
|
76
|
+
autoVerify: "none",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
description: "All tests pass",
|
|
80
|
+
required: true,
|
|
81
|
+
autoVerify: "none",
|
|
82
|
+
},
|
|
71
83
|
],
|
|
72
84
|
review: [
|
|
73
|
-
{
|
|
74
|
-
|
|
85
|
+
{
|
|
86
|
+
description: "All acceptance criteria met",
|
|
87
|
+
required: true,
|
|
88
|
+
autoVerify: "ac-met",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
description: "Code reviewed or self-reviewed with evidence",
|
|
92
|
+
required: true,
|
|
93
|
+
autoVerify: "none",
|
|
94
|
+
},
|
|
75
95
|
],
|
|
76
96
|
tested: [
|
|
77
|
-
{
|
|
78
|
-
|
|
97
|
+
{
|
|
98
|
+
description: "All acceptance criteria met",
|
|
99
|
+
required: true,
|
|
100
|
+
autoVerify: "ac-met",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
description: "Merged to main or PR approved",
|
|
104
|
+
required: true,
|
|
105
|
+
autoVerify: "none",
|
|
106
|
+
},
|
|
79
107
|
],
|
|
80
108
|
},
|
|
81
109
|
minTransitionIntervalSecs: 30,
|
|
@@ -85,15 +113,6 @@ export const DEFAULT_TOKEN_METRICS_CONFIG = {
|
|
|
85
113
|
sprintBudgetUsd: null,
|
|
86
114
|
budgetAlertThreshold: 0.8,
|
|
87
115
|
};
|
|
88
|
-
/** Default Wiki Feedback configuration. */
|
|
89
|
-
export const DEFAULT_WIKI_FEEDBACK_CONFIG = {
|
|
90
|
-
wikiIdentifier: "",
|
|
91
|
-
pollEnabled: false,
|
|
92
|
-
pollIntervalSecs: 300,
|
|
93
|
-
monitoredPages: [],
|
|
94
|
-
autoReply: true,
|
|
95
|
-
autoReplyPrefix: "JARVIS",
|
|
96
|
-
};
|
|
97
116
|
/**
|
|
98
117
|
* All defaults indexed by context name.
|
|
99
118
|
* Used by ConfigService for fallback resolution.
|
|
@@ -106,6 +125,5 @@ export const CONFIG_DEFAULTS = {
|
|
|
106
125
|
"mcp-server": DEFAULT_MCP_SERVER_CONFIG,
|
|
107
126
|
kanban: DEFAULT_KANBAN_CONFIG,
|
|
108
127
|
"token-metrics": DEFAULT_TOKEN_METRICS_CONFIG,
|
|
109
|
-
"wiki-feedback": DEFAULT_WIKI_FEEDBACK_CONFIG,
|
|
110
128
|
};
|
|
111
129
|
//# sourceMappingURL=value-objects.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-objects.js","sourceRoot":"","sources":["../../../src/domain/config/value-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"value-objects.js","sourceRoot":"","sources":["../../../src/domain/config/value-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA+HH,gFAAgF;AAEhF,0EAA0E;AAC1E,MAAM,CAAC,MAAM,kBAAkB,GAAc;IAC3C,MAAM,EAAE;QACN,GAAG,EAAE,wBAAwB;QAC7B,KAAK,EAAE,gBAAgB;QACvB,UAAU,EAAE,GAAG;KAChB;IACD,OAAO,EAAE;QACP,WAAW,EAAE,aAAa;KAC3B;IACD,MAAM,EAAE;QACN,MAAM,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE;QAC7C,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE;QACzC,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE;QACzC,IAAI,EAAE,EAAE,SA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EAAE,yBAAyB;IACvC,MAAM,EAAE,qBAAqB;IAC7B,eAAe,EAAE,4BAA4B;CAC9C,CAAC"}
|
|
@@ -1,171 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* Todo: Task within a session with priority and status lifecycle.
|
|
6
|
-
* Note: Observation, decision, or discovery tagged for search.
|
|
7
|
-
*
|
|
8
|
-
* DDD: Entities with identity and state machines
|
|
9
|
-
* SOLID: SRP - each entity manages its own invariants
|
|
10
|
-
*/
|
|
11
|
-
import { WorkspaceId, Timestamp } from "../shared/value-objects.js";
|
|
12
|
-
import { SessionId, TodoId, NoteId, ExecutionEntryId, SessionState, TodoStatus, NoteType, ExecutionState } from "./value-objects.js";
|
|
13
|
-
export { SessionId, TodoId, NoteId, ExecutionEntryId, SessionState, TodoStatus, NoteType, ExecutionState, WorkspaceId, };
|
|
14
|
-
export interface SessionProps {
|
|
15
|
-
readonly id: SessionId;
|
|
16
|
-
readonly workspace: WorkspaceId;
|
|
17
|
-
readonly purpose: string;
|
|
18
|
-
readonly state: SessionState;
|
|
19
|
-
readonly agentName?: string;
|
|
20
|
-
readonly startedAt: Timestamp;
|
|
21
|
-
readonly finishedAt?: Timestamp;
|
|
22
|
-
readonly summary?: string;
|
|
23
|
-
}
|
|
24
|
-
export declare class Session {
|
|
25
|
-
readonly id: SessionId;
|
|
26
|
-
readonly workspace: WorkspaceId;
|
|
27
|
-
readonly purpose: string;
|
|
28
|
-
readonly agentName: string | undefined;
|
|
29
|
-
readonly startedAt: Timestamp;
|
|
30
|
-
private _state;
|
|
31
|
-
private _finishedAt;
|
|
32
|
-
private _summary;
|
|
33
|
-
private constructor();
|
|
34
|
-
get state(): SessionState;
|
|
35
|
-
get finishedAt(): Timestamp | undefined;
|
|
36
|
-
get summary(): string | undefined;
|
|
37
|
-
/** Factory: create a new session in Planning state. */
|
|
38
|
-
static create(params: {
|
|
39
|
-
purpose: string;
|
|
40
|
-
workspace: WorkspaceId;
|
|
41
|
-
agentName?: string;
|
|
42
|
-
}): Session;
|
|
43
|
-
/** Reconstitute from persistence. */
|
|
44
|
-
static reconstitute(props: SessionProps): Session;
|
|
45
|
-
/** Transition to WIP state. */
|
|
46
|
-
beginWork(): void;
|
|
47
|
-
/** Transition to Completed state with optional summary. */
|
|
48
|
-
finish(summary?: string): void;
|
|
49
|
-
/** Transition to Cancelled state. */
|
|
50
|
-
cancel(): void;
|
|
51
|
-
get isActive(): boolean;
|
|
52
|
-
private transitionTo;
|
|
53
|
-
}
|
|
54
|
-
export interface TodoProps {
|
|
55
|
-
readonly id: TodoId;
|
|
56
|
-
readonly content: string;
|
|
57
|
-
readonly status: TodoStatus;
|
|
58
|
-
readonly priority: number;
|
|
59
|
-
readonly workspace: WorkspaceId;
|
|
60
|
-
readonly sessionId?: SessionId;
|
|
61
|
-
readonly tags: readonly string[];
|
|
62
|
-
readonly createdAt: Timestamp;
|
|
63
|
-
readonly updatedAt?: Timestamp;
|
|
64
|
-
readonly completedAt?: Timestamp;
|
|
65
|
-
}
|
|
66
|
-
export declare class Todo {
|
|
67
|
-
readonly id: TodoId;
|
|
68
|
-
readonly content: string;
|
|
69
|
-
readonly workspace: WorkspaceId;
|
|
70
|
-
readonly sessionId: SessionId | undefined;
|
|
71
|
-
readonly tags: readonly string[];
|
|
72
|
-
readonly createdAt: Timestamp;
|
|
73
|
-
private _status;
|
|
74
|
-
private _priority;
|
|
75
|
-
private _updatedAt;
|
|
76
|
-
private _completedAt;
|
|
77
|
-
private constructor();
|
|
78
|
-
get status(): TodoStatus;
|
|
79
|
-
get priority(): number;
|
|
80
|
-
get updatedAt(): Timestamp | undefined;
|
|
81
|
-
get completedAt(): Timestamp | undefined;
|
|
82
|
-
static create(params: {
|
|
83
|
-
content: string;
|
|
84
|
-
priority?: number;
|
|
85
|
-
workspace: WorkspaceId;
|
|
86
|
-
sessionId?: SessionId;
|
|
87
|
-
tags?: readonly string[];
|
|
88
|
-
}): Todo;
|
|
89
|
-
static reconstitute(props: TodoProps): Todo;
|
|
90
|
-
start(): void;
|
|
91
|
-
complete(): void;
|
|
92
|
-
cancel(): void;
|
|
93
|
-
reopen(): void;
|
|
94
|
-
private transitionTo;
|
|
95
|
-
}
|
|
96
|
-
export interface NoteProps {
|
|
97
|
-
readonly id: NoteId;
|
|
98
|
-
readonly content: string;
|
|
99
|
-
readonly type: NoteType;
|
|
100
|
-
readonly workspace: WorkspaceId;
|
|
101
|
-
readonly sessionId?: SessionId;
|
|
102
|
-
readonly tags: readonly string[];
|
|
103
|
-
readonly createdAt: Timestamp;
|
|
104
|
-
}
|
|
105
|
-
export declare class Note {
|
|
106
|
-
readonly id: NoteId;
|
|
107
|
-
readonly content: string;
|
|
108
|
-
readonly type: NoteType;
|
|
109
|
-
readonly workspace: WorkspaceId;
|
|
110
|
-
readonly sessionId: SessionId | undefined;
|
|
111
|
-
readonly tags: readonly string[];
|
|
112
|
-
readonly createdAt: Timestamp;
|
|
113
|
-
private constructor();
|
|
114
|
-
static create(params: {
|
|
115
|
-
content: string;
|
|
116
|
-
type?: NoteType;
|
|
117
|
-
workspace: WorkspaceId;
|
|
118
|
-
sessionId?: SessionId;
|
|
119
|
-
tags?: readonly string[];
|
|
120
|
-
}): Note;
|
|
121
|
-
static reconstitute(props: NoteProps): Note;
|
|
122
|
-
}
|
|
123
|
-
export interface ExecutionEntryProps {
|
|
124
|
-
readonly id: ExecutionEntryId;
|
|
125
|
-
readonly toolName: string;
|
|
126
|
-
readonly argsSummary: string;
|
|
127
|
-
readonly state: ExecutionState;
|
|
128
|
-
readonly workspace: WorkspaceId;
|
|
129
|
-
readonly sessionId?: SessionId;
|
|
130
|
-
readonly startedAt: Timestamp;
|
|
131
|
-
readonly finishedAt?: Timestamp;
|
|
132
|
-
readonly errorMessage?: string;
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Tracks a single tool execution for crash detection.
|
|
136
|
-
*
|
|
137
|
-
* Lifecycle: Running → Success | Error | Crashed
|
|
138
|
-
* An entry stuck in Running after a restart indicates a crash.
|
|
139
|
-
*/
|
|
140
|
-
export declare class ExecutionEntry {
|
|
141
|
-
readonly id: ExecutionEntryId;
|
|
142
|
-
readonly toolName: string;
|
|
143
|
-
readonly argsSummary: string;
|
|
144
|
-
readonly workspace: WorkspaceId;
|
|
145
|
-
readonly sessionId: SessionId | undefined;
|
|
146
|
-
readonly startedAt: Timestamp;
|
|
147
|
-
private _state;
|
|
148
|
-
private _finishedAt;
|
|
149
|
-
private _errorMessage;
|
|
150
|
-
private constructor();
|
|
151
|
-
get state(): ExecutionState;
|
|
152
|
-
get finishedAt(): Timestamp | undefined;
|
|
153
|
-
get errorMessage(): string | undefined;
|
|
154
|
-
/** Mark execution as successfully completed. */
|
|
155
|
-
markSuccess(): void;
|
|
156
|
-
/** Mark execution as completed with error. */
|
|
157
|
-
markError(errorMessage: string): void;
|
|
158
|
-
/** Mark as crashed (detected on startup for orphaned running entries). */
|
|
159
|
-
markCrashed(): void;
|
|
160
|
-
private assertNotTerminal;
|
|
161
|
-
/** Create a new running execution entry. */
|
|
162
|
-
static create(params: {
|
|
163
|
-
toolName: string;
|
|
164
|
-
argsSummary: string;
|
|
165
|
-
workspace: WorkspaceId;
|
|
166
|
-
sessionId?: SessionId;
|
|
167
|
-
}): ExecutionEntry;
|
|
168
|
-
/** Reconstitute from persistence. */
|
|
169
|
-
static reconstitute(props: ExecutionEntryProps): ExecutionEntry;
|
|
170
|
-
}
|
|
1
|
+
export * from "./session.js";
|
|
2
|
+
export * from "./todo.js";
|
|
3
|
+
export * from "./note.js";
|
|
4
|
+
export * from "./execution-entry.js";
|
|
171
5
|
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/domain/context-memory/entities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/domain/context-memory/entities.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC"}
|