semantic-atlas 0.4.0 → 2.0.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/.agents/skills/semantic-atlas/SKILL.md +134 -166
- package/.agents/skills/semantic-atlas/agents/openai.yaml +4 -0
- package/.agents/skills/semantic-atlas/references/observations.md +130 -0
- package/.agents/skills/semantic-atlas/scripts/query-context.mjs +110 -0
- package/.agents/skills/semantic-atlas-maintenance/SKILL.md +93 -0
- package/.agents/skills/semantic-atlas-maintenance/agents/openai.yaml +4 -0
- package/.agents/skills/semantic-atlas-maintenance/references/reconciliation.md +56 -0
- package/README.md +133 -265
- package/dist/application/map-application.d.ts +24 -0
- package/dist/application/map-application.d.ts.map +1 -0
- package/dist/application/map-application.js +134 -0
- package/dist/application/map-application.js.map +1 -0
- package/dist/cli/bin.js +6 -42
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/observation-commands.d.ts +16 -0
- package/dist/cli/observation-commands.d.ts.map +1 -0
- package/dist/cli/observation-commands.js +118 -0
- package/dist/cli/observation-commands.js.map +1 -0
- package/dist/cli/projection-writer.d.ts +2 -0
- package/dist/cli/projection-writer.d.ts.map +1 -0
- package/dist/cli/projection-writer.js +9 -0
- package/dist/cli/projection-writer.js.map +1 -0
- package/dist/cli/reconciliation-command.d.ts +7 -0
- package/dist/cli/reconciliation-command.d.ts.map +1 -0
- package/dist/cli/reconciliation-command.js +33 -0
- package/dist/cli/reconciliation-command.js.map +1 -0
- package/dist/cli/run-cli.d.ts +21 -0
- package/dist/cli/run-cli.d.ts.map +1 -0
- package/dist/cli/run-cli.js +299 -0
- package/dist/cli/run-cli.js.map +1 -0
- package/dist/contracts/cli.d.ts +166 -1211
- package/dist/contracts/cli.d.ts.map +1 -1
- package/dist/contracts/cli.js +2 -232
- package/dist/contracts/cli.js.map +1 -0
- package/dist/contracts/insights.d.ts +39 -1
- package/dist/contracts/insights.d.ts.map +1 -1
- package/dist/contracts/insights.js +2 -1
- package/dist/contracts/insights.js.map +1 -0
- package/dist/contracts/map.d.ts +154 -0
- package/dist/contracts/map.d.ts.map +1 -0
- package/dist/contracts/map.js +60 -0
- package/dist/contracts/map.js.map +1 -0
- package/dist/contracts/observation.d.ts +414 -0
- package/dist/contracts/observation.d.ts.map +1 -0
- package/dist/contracts/observation.js +125 -0
- package/dist/contracts/observation.js.map +1 -0
- package/dist/contracts/projection.d.ts +7 -0
- package/dist/contracts/projection.d.ts.map +1 -0
- package/dist/contracts/projection.js +2 -0
- package/dist/contracts/projection.js.map +1 -0
- package/dist/contracts/reconciliation.d.ts +40 -0
- package/dist/contracts/reconciliation.d.ts.map +1 -0
- package/dist/contracts/reconciliation.js +2 -0
- package/dist/contracts/reconciliation.js.map +1 -0
- package/dist/index.d.ts +7 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -9
- package/dist/index.js.map +1 -0
- package/dist/insights/insight-service.d.ts +14 -0
- package/dist/insights/insight-service.d.ts.map +1 -0
- package/dist/insights/insight-service.js +129 -0
- package/dist/insights/insight-service.js.map +1 -0
- package/dist/map/business-graph.d.ts +32 -0
- package/dist/map/business-graph.d.ts.map +1 -0
- package/dist/map/business-graph.js +122 -0
- package/dist/map/business-graph.js.map +1 -0
- package/dist/map/map-document-loader.d.ts +13 -0
- package/dist/map/map-document-loader.d.ts.map +1 -0
- package/dist/map/map-document-loader.js +86 -0
- package/dist/map/map-document-loader.js.map +1 -0
- package/dist/map/map-validator.d.ts +12 -0
- package/dist/map/map-validator.d.ts.map +1 -0
- package/dist/map/map-validator.js +322 -0
- package/dist/map/map-validator.js.map +1 -0
- package/dist/observations/observation-application.d.ts +23 -0
- package/dist/observations/observation-application.d.ts.map +1 -0
- package/dist/observations/observation-application.js +62 -0
- package/dist/observations/observation-application.js.map +1 -0
- package/dist/observations/observation-claim-manager.d.ts +17 -0
- package/dist/observations/observation-claim-manager.d.ts.map +1 -0
- package/dist/observations/observation-claim-manager.js +198 -0
- package/dist/observations/observation-claim-manager.js.map +1 -0
- package/dist/observations/observation-store.d.ts +43 -0
- package/dist/observations/observation-store.d.ts.map +1 -0
- package/dist/observations/observation-store.js +213 -0
- package/dist/observations/observation-store.js.map +1 -0
- package/dist/observations/repository-identity.d.ts +12 -0
- package/dist/observations/repository-identity.d.ts.map +1 -0
- package/dist/observations/repository-identity.js +108 -0
- package/dist/observations/repository-identity.js.map +1 -0
- package/dist/query/context-query-service.d.ts +15 -0
- package/dist/query/context-query-service.d.ts.map +1 -0
- package/dist/query/context-query-service.js +36 -0
- package/dist/query/context-query-service.js.map +1 -0
- package/dist/reconciliation/reconciliation-service.d.ts +10 -0
- package/dist/reconciliation/reconciliation-service.d.ts.map +1 -0
- package/dist/reconciliation/reconciliation-service.js +114 -0
- package/dist/reconciliation/reconciliation-service.js.map +1 -0
- package/dist/rendering/map-projector.d.ts +8 -0
- package/dist/rendering/map-projector.d.ts.map +1 -0
- package/dist/rendering/map-projector.js +386 -0
- package/dist/rendering/map-projector.js.map +1 -0
- package/dist/setup/managed-skill-installer.d.ts +60 -0
- package/dist/setup/managed-skill-installer.d.ts.map +1 -0
- package/dist/setup/managed-skill-installer.js +293 -0
- package/dist/setup/managed-skill-installer.js.map +1 -0
- package/dist/setup/package-identity.d.ts +6 -0
- package/dist/setup/package-identity.d.ts.map +1 -0
- package/dist/setup/package-identity.js +16 -0
- package/dist/setup/package-identity.js.map +1 -0
- package/dist/setup/package-upgrader.d.ts +10 -22
- package/dist/setup/package-upgrader.d.ts.map +1 -1
- package/dist/setup/package-upgrader.js +60 -76
- package/dist/setup/package-upgrader.js.map +1 -0
- package/docs/architecture.md +426 -0
- package/docs/evaluation.md +220 -174
- package/docs/index.md +27 -45
- package/docs/map-format.md +225 -0
- package/docs/observations.md +167 -0
- package/docs/product-contract.md +282 -165
- package/examples/commerce.yaml +204 -0
- package/package.json +31 -32
- package/.agents/skills/semantic-atlas/references/graph-patch.md +0 -190
- package/.agents/skills/semantic-atlas/references/product-feedback.md +0 -34
- package/.agents/skills/semantic-atlas/references/result-routing.md +0 -104
- package/.agents/skills/semantic-atlas/references/snapshot-bootstrap.md +0 -42
- package/.agents/skills/semantic-atlas-insights/SKILL.md +0 -55
- package/README.zh-CN.md +0 -296
- package/dist/business-flow/business-flow-derivation-service.d.ts +0 -11
- package/dist/business-flow/business-flow-derivation-service.d.ts.map +0 -1
- package/dist/business-flow/business-flow-derivation-service.js +0 -151
- package/dist/business-flow/business-flow-draft.d.ts +0 -16
- package/dist/business-flow/business-flow-draft.d.ts.map +0 -1
- package/dist/business-flow/business-flow-draft.js +0 -150
- package/dist/business-flow/framework-business-strategy.d.ts +0 -7
- package/dist/business-flow/framework-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/framework-business-strategy.js +0 -1
- package/dist/business-flow/strategies/bullmq-business-strategy.d.ts +0 -10
- package/dist/business-flow/strategies/bullmq-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/bullmq-business-strategy.js +0 -79
- package/dist/business-flow/strategies/called-operation-derivation.d.ts +0 -13
- package/dist/business-flow/strategies/called-operation-derivation.d.ts.map +0 -1
- package/dist/business-flow/strategies/called-operation-derivation.js +0 -32
- package/dist/business-flow/strategies/graphql-business-strategy.d.ts +0 -8
- package/dist/business-flow/strategies/graphql-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/graphql-business-strategy.js +0 -65
- package/dist/business-flow/strategies/nestjs-business-strategy.d.ts +0 -8
- package/dist/business-flow/strategies/nestjs-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/nestjs-business-strategy.js +0 -72
- package/dist/business-flow/strategies/strategy-helpers.d.ts +0 -32
- package/dist/business-flow/strategies/strategy-helpers.d.ts.map +0 -1
- package/dist/business-flow/strategies/strategy-helpers.js +0 -49
- package/dist/business-flow/strategies/typeorm-business-strategy.d.ts +0 -10
- package/dist/business-flow/strategies/typeorm-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/typeorm-business-strategy.js +0 -136
- package/dist/business-flow/strategies/verified-invariant-strategy.d.ts +0 -5
- package/dist/business-flow/strategies/verified-invariant-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/verified-invariant-strategy.js +0 -38
- package/dist/business-flow/strategies/verified-test-strategy.d.ts +0 -5
- package/dist/business-flow/strategies/verified-test-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/verified-test-strategy.js +0 -26
- package/dist/business-flow/structural-flow-catalog.d.ts +0 -21
- package/dist/business-flow/structural-flow-catalog.d.ts.map +0 -1
- package/dist/business-flow/structural-flow-catalog.js +0 -125
- package/dist/business-flow/types.d.ts +0 -51
- package/dist/business-flow/types.d.ts.map +0 -1
- package/dist/business-flow/types.js +0 -1
- package/dist/cli/argument-parser.d.ts +0 -3
- package/dist/cli/argument-parser.d.ts.map +0 -1
- package/dist/cli/argument-parser.js +0 -200
- package/dist/cli/cli-application.d.ts +0 -39
- package/dist/cli/cli-application.d.ts.map +0 -1
- package/dist/cli/cli-application.js +0 -571
- package/dist/cli/cli-error.d.ts +0 -12
- package/dist/cli/cli-error.d.ts.map +0 -1
- package/dist/cli/cli-error.js +0 -44
- package/dist/cli/cli-presenter.d.ts +0 -14
- package/dist/cli/cli-presenter.d.ts.map +0 -1
- package/dist/cli/cli-presenter.js +0 -36
- package/dist/cli/insights-cli.d.ts +0 -6
- package/dist/cli/insights-cli.d.ts.map +0 -1
- package/dist/cli/insights-cli.js +0 -236
- package/dist/cli/main.d.ts +0 -3
- package/dist/cli/main.d.ts.map +0 -1
- package/dist/cli/main.js +0 -137
- package/dist/cli/standalone-cli.d.ts +0 -3
- package/dist/cli/standalone-cli.d.ts.map +0 -1
- package/dist/cli/standalone-cli.js +0 -104
- package/dist/cli/types.d.ts +0 -49
- package/dist/cli/types.d.ts.map +0 -1
- package/dist/cli/types.js +0 -1
- package/dist/cli/web-cli.d.ts +0 -9
- package/dist/cli/web-cli.d.ts.map +0 -1
- package/dist/cli/web-cli.js +0 -134
- package/dist/contracts/graph.d.ts +0 -266
- package/dist/contracts/graph.d.ts.map +0 -1
- package/dist/contracts/graph.js +0 -182
- package/dist/contracts/identifiers.d.ts +0 -4
- package/dist/contracts/identifiers.d.ts.map +0 -1
- package/dist/contracts/identifiers.js +0 -7
- package/dist/contracts/public-contracts.d.ts +0 -5
- package/dist/contracts/public-contracts.d.ts.map +0 -1
- package/dist/contracts/public-contracts.js +0 -4
- package/dist/evaluation/comparison.d.ts +0 -30
- package/dist/evaluation/comparison.d.ts.map +0 -1
- package/dist/evaluation/comparison.js +0 -108
- package/dist/evaluation/contracts.d.ts +0 -301
- package/dist/evaluation/contracts.d.ts.map +0 -1
- package/dist/evaluation/contracts.js +0 -413
- package/dist/graph/graph-store.d.ts +0 -55
- package/dist/graph/graph-store.d.ts.map +0 -1
- package/dist/graph/graph-store.js +0 -912
- package/dist/graph/types.d.ts +0 -189
- package/dist/graph/types.d.ts.map +0 -1
- package/dist/graph/types.js +0 -1
- package/dist/insights/contracts.d.ts +0 -266
- package/dist/insights/contracts.d.ts.map +0 -1
- package/dist/insights/contracts.js +0 -124
- package/dist/insights/insights-store.d.ts +0 -73
- package/dist/insights/insights-store.d.ts.map +0 -1
- package/dist/insights/insights-store.js +0 -246
- package/dist/knowledge/business-knowledge-service.d.ts +0 -24
- package/dist/knowledge/business-knowledge-service.d.ts.map +0 -1
- package/dist/knowledge/business-knowledge-service.js +0 -200
- package/dist/knowledge/graph-patch-conflict-error.d.ts +0 -8
- package/dist/knowledge/graph-patch-conflict-error.d.ts.map +0 -1
- package/dist/knowledge/graph-patch-conflict-error.js +0 -12
- package/dist/knowledge/structural-target-binding.d.ts +0 -14
- package/dist/knowledge/structural-target-binding.d.ts.map +0 -1
- package/dist/knowledge/structural-target-binding.js +0 -11
- package/dist/package-metadata.d.ts +0 -2
- package/dist/package-metadata.d.ts.map +0 -1
- package/dist/package-metadata.js +0 -9
- package/dist/repository/git-command.d.ts +0 -3
- package/dist/repository/git-command.d.ts.map +0 -1
- package/dist/repository/git-command.js +0 -25
- package/dist/repository/repository-inspector.d.ts +0 -8
- package/dist/repository/repository-inspector.d.ts.map +0 -1
- package/dist/repository/repository-inspector.js +0 -97
- package/dist/repository/repository-language-support.d.ts +0 -14
- package/dist/repository/repository-language-support.d.ts.map +0 -1
- package/dist/repository/repository-language-support.js +0 -64
- package/dist/repository/types.d.ts +0 -9
- package/dist/repository/types.d.ts.map +0 -1
- package/dist/repository/types.js +0 -1
- package/dist/runtime/sqlite-compatibility-process.d.ts +0 -8
- package/dist/runtime/sqlite-compatibility-process.d.ts.map +0 -1
- package/dist/runtime/sqlite-compatibility-process.js +0 -20
- package/dist/setup/skill-installer.d.ts +0 -20
- package/dist/setup/skill-installer.d.ts.map +0 -1
- package/dist/setup/skill-installer.js +0 -187
- package/dist/snapshots/repository-snapshot.d.ts +0 -4
- package/dist/snapshots/repository-snapshot.d.ts.map +0 -1
- package/dist/snapshots/repository-snapshot.js +0 -119
- package/dist/snapshots/types.d.ts +0 -30
- package/dist/snapshots/types.d.ts.map +0 -1
- package/dist/snapshots/types.js +0 -1
- package/dist/storage/atlas-database.d.ts +0 -25
- package/dist/storage/atlas-database.d.ts.map +0 -1
- package/dist/storage/atlas-database.js +0 -483
- package/dist/storage/snapshot-store.d.ts +0 -19
- package/dist/storage/snapshot-store.d.ts.map +0 -1
- package/dist/storage/snapshot-store.js +0 -74
- package/dist/structural-backend/codegraph-backend.d.ts +0 -57
- package/dist/structural-backend/codegraph-backend.d.ts.map +0 -1
- package/dist/structural-backend/codegraph-backend.js +0 -1230
- package/dist/structural-backend/codegraph-worker-client.d.ts +0 -5
- package/dist/structural-backend/codegraph-worker-client.d.ts.map +0 -1
- package/dist/structural-backend/codegraph-worker-client.js +0 -118
- package/dist/structural-backend/codegraph-worker-protocol.d.ts +0 -35
- package/dist/structural-backend/codegraph-worker-protocol.d.ts.map +0 -1
- package/dist/structural-backend/codegraph-worker-protocol.js +0 -1
- package/dist/structural-backend/codegraph-worker.d.ts +0 -2
- package/dist/structural-backend/codegraph-worker.d.ts.map +0 -1
- package/dist/structural-backend/codegraph-worker.js +0 -131
- package/dist/structural-backend/process-instance.d.ts +0 -18
- package/dist/structural-backend/process-instance.d.ts.map +0 -1
- package/dist/structural-backend/process-instance.js +0 -207
- package/dist/structural-backend/structural-fact-changes.d.ts +0 -7
- package/dist/structural-backend/structural-fact-changes.d.ts.map +0 -1
- package/dist/structural-backend/structural-fact-changes.js +0 -78
- package/dist/structural-backend/structural-projection-bootstrapper.d.ts +0 -10
- package/dist/structural-backend/structural-projection-bootstrapper.d.ts.map +0 -1
- package/dist/structural-backend/structural-projection-bootstrapper.js +0 -295
- package/dist/structural-backend/structural-publication.d.ts +0 -13
- package/dist/structural-backend/structural-publication.d.ts.map +0 -1
- package/dist/structural-backend/structural-publication.js +0 -255
- package/dist/structural-backend/structural-write-lock.d.ts +0 -8
- package/dist/structural-backend/structural-write-lock.d.ts.map +0 -1
- package/dist/structural-backend/structural-write-lock.js +0 -415
- package/dist/structural-backend/types.d.ts +0 -144
- package/dist/structural-backend/types.d.ts.map +0 -1
- package/dist/structural-backend/types.js +0 -11
- package/dist/web/application/atlas-read-service.d.ts +0 -27
- package/dist/web/application/atlas-read-service.d.ts.map +0 -1
- package/dist/web/application/atlas-read-service.js +0 -216
- package/dist/web/application/primary-repository-catalog.d.ts +0 -15
- package/dist/web/application/primary-repository-catalog.d.ts.map +0 -1
- package/dist/web/application/primary-repository-catalog.js +0 -202
- package/dist/web/application/types.d.ts +0 -41
- package/dist/web/application/types.d.ts.map +0 -1
- package/dist/web/application/types.js +0 -1
- package/dist/web/server/api-router.d.ts +0 -4
- package/dist/web/server/api-router.d.ts.map +0 -1
- package/dist/web/server/api-router.js +0 -151
- package/dist/web/server/local-web-server.d.ts +0 -12
- package/dist/web/server/local-web-server.d.ts.map +0 -1
- package/dist/web/server/local-web-server.js +0 -100
- package/dist/web-client/assets/index-DneaErDj.css +0 -1
- package/dist/web-client/assets/index-cze_4vtt.js +0 -2
- package/dist/web-client/assets/index-cze_4vtt.js.map +0 -1
- package/dist/web-client/index.html +0 -61
- package/dist/world/business-map-projector.d.ts +0 -14
- package/dist/world/business-map-projector.d.ts.map +0 -1
- package/dist/world/business-map-projector.js +0 -178
- package/dist/world/types.d.ts +0 -77
- package/dist/world/types.d.ts.map +0 -1
- package/dist/world/types.js +0 -1
- package/dist/world/world-graph-query.d.ts +0 -30
- package/dist/world/world-graph-query.d.ts.map +0 -1
- package/dist/world/world-graph-query.js +0 -252
- package/dist/world/world-model-service.d.ts +0 -21
- package/dist/world/world-model-service.d.ts.map +0 -1
- package/dist/world/world-model-service.js +0 -219
- package/dist/world/world-snapshot-store.d.ts +0 -41
- package/dist/world/world-snapshot-store.d.ts.map +0 -1
- package/dist/world/world-snapshot-store.js +0 -581
- package/docs/README.md +0 -30
- package/docs/architecture/codegraph-backend.md +0 -190
- package/docs/architecture/continuous-business-learning.md +0 -240
- package/docs/architecture/web-viewer.md +0 -225
- package/docs/contracts/cli-v1.md +0 -179
- package/docs/contracts/graph-model.md +0 -106
- package/docs/contracts/graph-patch-v1.md +0 -105
- package/docs/contracts/http-api-v1.md +0 -155
- package/docs/contracts/insights-v1.md +0 -84
- package/docs/log.md +0 -159
- package/docs/mindmaps/semantic-atlas-overview.drawio +0 -255
- package/docs/mindmaps/semantic-atlas-overview.png +0 -0
- package/docs/mindmaps/semantic-atlas-overview.zh-CN.drawio +0 -255
- package/docs/mindmaps/semantic-atlas-overview.zh-CN.png +0 -0
- package/schemas/cli-envelope-v1.schema.json +0 -1244
- package/schemas/evaluation-plan-v1.schema.json +0 -211
- package/schemas/evaluation-run-v1.schema.json +0 -659
- package/schemas/graph-patch-v1.schema.json +0 -392
- package/schemas/insights-envelope-v1.schema.json +0 -428
package/dist/contracts/cli.d.ts
CHANGED
|
@@ -1,1212 +1,167 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
Scenario: "Scenario";
|
|
168
|
-
Operation: "Operation";
|
|
169
|
-
Invariant: "Invariant";
|
|
170
|
-
Interface: "Interface";
|
|
171
|
-
Data: "Data";
|
|
172
|
-
}>;
|
|
173
|
-
label: z.ZodString;
|
|
174
|
-
summary: z.ZodString;
|
|
175
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
176
|
-
certainty: z.ZodEnum<{
|
|
177
|
-
exact: "exact";
|
|
178
|
-
inferred: "inferred";
|
|
179
|
-
hypothesis: "hypothesis";
|
|
180
|
-
}>;
|
|
181
|
-
validity: z.ZodEnum<{
|
|
182
|
-
valid: "valid";
|
|
183
|
-
stale: "stale";
|
|
184
|
-
}>;
|
|
185
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
186
|
-
symbolId: z.ZodString;
|
|
187
|
-
file: z.ZodString;
|
|
188
|
-
range: z.ZodObject<{
|
|
189
|
-
start: z.ZodObject<{
|
|
190
|
-
line: z.ZodNumber;
|
|
191
|
-
column: z.ZodNumber;
|
|
192
|
-
}, z.core.$strict>;
|
|
193
|
-
end: z.ZodObject<{
|
|
194
|
-
line: z.ZodNumber;
|
|
195
|
-
column: z.ZodNumber;
|
|
196
|
-
}, z.core.$strict>;
|
|
197
|
-
}, z.core.$strict>;
|
|
198
|
-
contentHash: z.ZodString;
|
|
199
|
-
}, z.core.$strict>>;
|
|
200
|
-
}, z.core.$loose>>;
|
|
201
|
-
breadcrumbs: z.ZodArray<z.ZodObject<{
|
|
202
|
-
domain: z.ZodLiteral<"business">;
|
|
203
|
-
key: z.ZodString;
|
|
204
|
-
kind: z.ZodEnum<{
|
|
205
|
-
Capability: "Capability";
|
|
206
|
-
Scenario: "Scenario";
|
|
207
|
-
Operation: "Operation";
|
|
208
|
-
Invariant: "Invariant";
|
|
209
|
-
Interface: "Interface";
|
|
210
|
-
Data: "Data";
|
|
211
|
-
}>;
|
|
212
|
-
label: z.ZodString;
|
|
213
|
-
summary: z.ZodString;
|
|
214
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
215
|
-
certainty: z.ZodEnum<{
|
|
216
|
-
exact: "exact";
|
|
217
|
-
inferred: "inferred";
|
|
218
|
-
hypothesis: "hypothesis";
|
|
219
|
-
}>;
|
|
220
|
-
validity: z.ZodEnum<{
|
|
221
|
-
valid: "valid";
|
|
222
|
-
stale: "stale";
|
|
223
|
-
}>;
|
|
224
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
225
|
-
symbolId: z.ZodString;
|
|
226
|
-
file: z.ZodString;
|
|
227
|
-
range: z.ZodObject<{
|
|
228
|
-
start: z.ZodObject<{
|
|
229
|
-
line: z.ZodNumber;
|
|
230
|
-
column: z.ZodNumber;
|
|
231
|
-
}, z.core.$strict>;
|
|
232
|
-
end: z.ZodObject<{
|
|
233
|
-
line: z.ZodNumber;
|
|
234
|
-
column: z.ZodNumber;
|
|
235
|
-
}, z.core.$strict>;
|
|
236
|
-
}, z.core.$strict>;
|
|
237
|
-
contentHash: z.ZodString;
|
|
238
|
-
}, z.core.$strict>>;
|
|
239
|
-
}, z.core.$loose>>;
|
|
240
|
-
regions: z.ZodArray<z.ZodObject<{
|
|
241
|
-
node: z.ZodObject<{
|
|
242
|
-
domain: z.ZodLiteral<"business">;
|
|
243
|
-
key: z.ZodString;
|
|
244
|
-
kind: z.ZodEnum<{
|
|
245
|
-
Capability: "Capability";
|
|
246
|
-
Scenario: "Scenario";
|
|
247
|
-
Operation: "Operation";
|
|
248
|
-
Invariant: "Invariant";
|
|
249
|
-
Interface: "Interface";
|
|
250
|
-
Data: "Data";
|
|
251
|
-
}>;
|
|
252
|
-
label: z.ZodString;
|
|
253
|
-
summary: z.ZodString;
|
|
254
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
255
|
-
certainty: z.ZodEnum<{
|
|
256
|
-
exact: "exact";
|
|
257
|
-
inferred: "inferred";
|
|
258
|
-
hypothesis: "hypothesis";
|
|
259
|
-
}>;
|
|
260
|
-
validity: z.ZodEnum<{
|
|
261
|
-
valid: "valid";
|
|
262
|
-
stale: "stale";
|
|
263
|
-
}>;
|
|
264
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
265
|
-
symbolId: z.ZodString;
|
|
266
|
-
file: z.ZodString;
|
|
267
|
-
range: z.ZodObject<{
|
|
268
|
-
start: z.ZodObject<{
|
|
269
|
-
line: z.ZodNumber;
|
|
270
|
-
column: z.ZodNumber;
|
|
271
|
-
}, z.core.$strict>;
|
|
272
|
-
end: z.ZodObject<{
|
|
273
|
-
line: z.ZodNumber;
|
|
274
|
-
column: z.ZodNumber;
|
|
275
|
-
}, z.core.$strict>;
|
|
276
|
-
}, z.core.$strict>;
|
|
277
|
-
contentHash: z.ZodString;
|
|
278
|
-
}, z.core.$strict>>;
|
|
279
|
-
}, z.core.$loose>;
|
|
280
|
-
role: z.ZodEnum<{
|
|
281
|
-
root: "root";
|
|
282
|
-
child: "child";
|
|
283
|
-
context: "context";
|
|
284
|
-
}>;
|
|
285
|
-
childCount: z.ZodNumber;
|
|
286
|
-
expandable: z.ZodBoolean;
|
|
287
|
-
}, z.core.$loose>>;
|
|
288
|
-
connections: z.ZodArray<z.ZodObject<{
|
|
289
|
-
from: z.ZodObject<{
|
|
290
|
-
domain: z.ZodLiteral<"business">;
|
|
291
|
-
key: z.ZodString;
|
|
292
|
-
}, z.core.$strict>;
|
|
293
|
-
to: z.ZodObject<{
|
|
294
|
-
domain: z.ZodLiteral<"business">;
|
|
295
|
-
key: z.ZodString;
|
|
296
|
-
}, z.core.$strict>;
|
|
297
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
298
|
-
type: z.ZodEnum<{
|
|
299
|
-
invokes: "invokes";
|
|
300
|
-
reads: "reads";
|
|
301
|
-
writes: "writes";
|
|
302
|
-
publishes: "publishes";
|
|
303
|
-
consumes: "consumes";
|
|
304
|
-
constrained_by: "constrained_by";
|
|
305
|
-
}>;
|
|
306
|
-
directCount: z.ZodNumber;
|
|
307
|
-
aggregatedCount: z.ZodNumber;
|
|
308
|
-
certainty: z.ZodObject<{
|
|
309
|
-
exact: z.ZodNumber;
|
|
310
|
-
inferred: z.ZodNumber;
|
|
311
|
-
hypothesis: z.ZodNumber;
|
|
312
|
-
}, z.core.$loose>;
|
|
313
|
-
validity: z.ZodObject<{
|
|
314
|
-
valid: z.ZodNumber;
|
|
315
|
-
stale: z.ZodNumber;
|
|
316
|
-
}, z.core.$loose>;
|
|
317
|
-
}, z.core.$loose>>;
|
|
318
|
-
}, z.core.$loose>>;
|
|
319
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
320
|
-
command: z.ZodLiteral<"map.search">;
|
|
321
|
-
query: z.ZodString;
|
|
322
|
-
limit: z.ZodNumber;
|
|
323
|
-
results: z.ZodArray<z.ZodObject<{
|
|
324
|
-
score: z.ZodNumber;
|
|
325
|
-
node: z.ZodObject<{
|
|
326
|
-
domain: z.ZodLiteral<"business">;
|
|
327
|
-
key: z.ZodString;
|
|
328
|
-
kind: z.ZodEnum<{
|
|
329
|
-
Capability: "Capability";
|
|
330
|
-
Scenario: "Scenario";
|
|
331
|
-
Operation: "Operation";
|
|
332
|
-
Invariant: "Invariant";
|
|
333
|
-
Interface: "Interface";
|
|
334
|
-
Data: "Data";
|
|
335
|
-
}>;
|
|
336
|
-
label: z.ZodString;
|
|
337
|
-
summary: z.ZodString;
|
|
338
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
339
|
-
certainty: z.ZodEnum<{
|
|
340
|
-
exact: "exact";
|
|
341
|
-
inferred: "inferred";
|
|
342
|
-
hypothesis: "hypothesis";
|
|
343
|
-
}>;
|
|
344
|
-
validity: z.ZodEnum<{
|
|
345
|
-
valid: "valid";
|
|
346
|
-
stale: "stale";
|
|
347
|
-
}>;
|
|
348
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
349
|
-
symbolId: z.ZodString;
|
|
350
|
-
file: z.ZodString;
|
|
351
|
-
range: z.ZodObject<{
|
|
352
|
-
start: z.ZodObject<{
|
|
353
|
-
line: z.ZodNumber;
|
|
354
|
-
column: z.ZodNumber;
|
|
355
|
-
}, z.core.$strict>;
|
|
356
|
-
end: z.ZodObject<{
|
|
357
|
-
line: z.ZodNumber;
|
|
358
|
-
column: z.ZodNumber;
|
|
359
|
-
}, z.core.$strict>;
|
|
360
|
-
}, z.core.$strict>;
|
|
361
|
-
contentHash: z.ZodString;
|
|
362
|
-
}, z.core.$strict>>;
|
|
363
|
-
}, z.core.$loose>;
|
|
364
|
-
}, z.core.$loose>>;
|
|
365
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
366
|
-
command: z.ZodLiteral<"map.show">;
|
|
367
|
-
node: z.ZodObject<{
|
|
368
|
-
domain: z.ZodLiteral<"business">;
|
|
369
|
-
key: z.ZodString;
|
|
370
|
-
kind: z.ZodEnum<{
|
|
371
|
-
Capability: "Capability";
|
|
372
|
-
Scenario: "Scenario";
|
|
373
|
-
Operation: "Operation";
|
|
374
|
-
Invariant: "Invariant";
|
|
375
|
-
Interface: "Interface";
|
|
376
|
-
Data: "Data";
|
|
377
|
-
}>;
|
|
378
|
-
label: z.ZodString;
|
|
379
|
-
summary: z.ZodString;
|
|
380
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
381
|
-
certainty: z.ZodEnum<{
|
|
382
|
-
exact: "exact";
|
|
383
|
-
inferred: "inferred";
|
|
384
|
-
hypothesis: "hypothesis";
|
|
385
|
-
}>;
|
|
386
|
-
validity: z.ZodEnum<{
|
|
387
|
-
valid: "valid";
|
|
388
|
-
stale: "stale";
|
|
389
|
-
}>;
|
|
390
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
391
|
-
symbolId: z.ZodString;
|
|
392
|
-
file: z.ZodString;
|
|
393
|
-
range: z.ZodObject<{
|
|
394
|
-
start: z.ZodObject<{
|
|
395
|
-
line: z.ZodNumber;
|
|
396
|
-
column: z.ZodNumber;
|
|
397
|
-
}, z.core.$strict>;
|
|
398
|
-
end: z.ZodObject<{
|
|
399
|
-
line: z.ZodNumber;
|
|
400
|
-
column: z.ZodNumber;
|
|
401
|
-
}, z.core.$strict>;
|
|
402
|
-
}, z.core.$strict>;
|
|
403
|
-
contentHash: z.ZodString;
|
|
404
|
-
}, z.core.$strict>>;
|
|
405
|
-
}, z.core.$loose>;
|
|
406
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
407
|
-
type: z.ZodEnum<{
|
|
408
|
-
part_of: "part_of";
|
|
409
|
-
invokes: "invokes";
|
|
410
|
-
realized_by: "realized_by";
|
|
411
|
-
reads: "reads";
|
|
412
|
-
writes: "writes";
|
|
413
|
-
publishes: "publishes";
|
|
414
|
-
consumes: "consumes";
|
|
415
|
-
constrained_by: "constrained_by";
|
|
416
|
-
verified_by: "verified_by";
|
|
417
|
-
}>;
|
|
418
|
-
direction: z.ZodEnum<{
|
|
419
|
-
incoming: "incoming";
|
|
420
|
-
outgoing: "outgoing";
|
|
421
|
-
}>;
|
|
422
|
-
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
423
|
-
domain: z.ZodLiteral<"business">;
|
|
424
|
-
key: z.ZodString;
|
|
425
|
-
kind: z.ZodEnum<{
|
|
426
|
-
Capability: "Capability";
|
|
427
|
-
Scenario: "Scenario";
|
|
428
|
-
Operation: "Operation";
|
|
429
|
-
Invariant: "Invariant";
|
|
430
|
-
Interface: "Interface";
|
|
431
|
-
Data: "Data";
|
|
432
|
-
}>;
|
|
433
|
-
label: z.ZodString;
|
|
434
|
-
summary: z.ZodString;
|
|
435
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
436
|
-
certainty: z.ZodEnum<{
|
|
437
|
-
exact: "exact";
|
|
438
|
-
inferred: "inferred";
|
|
439
|
-
hypothesis: "hypothesis";
|
|
440
|
-
}>;
|
|
441
|
-
validity: z.ZodEnum<{
|
|
442
|
-
valid: "valid";
|
|
443
|
-
stale: "stale";
|
|
444
|
-
}>;
|
|
445
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
446
|
-
symbolId: z.ZodString;
|
|
447
|
-
file: z.ZodString;
|
|
448
|
-
range: z.ZodObject<{
|
|
449
|
-
start: z.ZodObject<{
|
|
450
|
-
line: z.ZodNumber;
|
|
451
|
-
column: z.ZodNumber;
|
|
452
|
-
}, z.core.$strict>;
|
|
453
|
-
end: z.ZodObject<{
|
|
454
|
-
line: z.ZodNumber;
|
|
455
|
-
column: z.ZodNumber;
|
|
456
|
-
}, z.core.$strict>;
|
|
457
|
-
}, z.core.$strict>;
|
|
458
|
-
contentHash: z.ZodString;
|
|
459
|
-
}, z.core.$strict>>;
|
|
460
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
461
|
-
domain: z.ZodLiteral<"structural">;
|
|
462
|
-
id: z.ZodString;
|
|
463
|
-
kind: z.ZodEnum<{
|
|
464
|
-
Repository: "Repository";
|
|
465
|
-
Module: "Module";
|
|
466
|
-
File: "File";
|
|
467
|
-
Symbol: "Symbol";
|
|
468
|
-
Test: "Test";
|
|
469
|
-
}>;
|
|
470
|
-
label: z.ZodString;
|
|
471
|
-
validity: z.ZodEnum<{
|
|
472
|
-
valid: "valid";
|
|
473
|
-
stale: "stale";
|
|
474
|
-
}>;
|
|
475
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
476
|
-
file: z.ZodString;
|
|
477
|
-
range: z.ZodObject<{
|
|
478
|
-
start: z.ZodObject<{
|
|
479
|
-
line: z.ZodNumber;
|
|
480
|
-
column: z.ZodNumber;
|
|
481
|
-
}, z.core.$strict>;
|
|
482
|
-
end: z.ZodObject<{
|
|
483
|
-
line: z.ZodNumber;
|
|
484
|
-
column: z.ZodNumber;
|
|
485
|
-
}, z.core.$strict>;
|
|
486
|
-
}, z.core.$strict>;
|
|
487
|
-
}, z.core.$loose>>;
|
|
488
|
-
support: z.ZodObject<{
|
|
489
|
-
status: z.ZodEnum<{
|
|
490
|
-
exact: "exact";
|
|
491
|
-
inferred: "inferred";
|
|
492
|
-
unresolved: "unresolved";
|
|
493
|
-
unsupported: "unsupported";
|
|
494
|
-
}>;
|
|
495
|
-
provenance: z.ZodEnum<{
|
|
496
|
-
"tree-sitter": "tree-sitter";
|
|
497
|
-
scip: "scip";
|
|
498
|
-
heuristic: "heuristic";
|
|
499
|
-
backend: "backend";
|
|
500
|
-
}>;
|
|
501
|
-
}, z.core.$strict>;
|
|
502
|
-
}, z.core.$loose>]>;
|
|
503
|
-
certainty: z.ZodEnum<{
|
|
504
|
-
exact: "exact";
|
|
505
|
-
inferred: "inferred";
|
|
506
|
-
hypothesis: "hypothesis";
|
|
507
|
-
}>;
|
|
508
|
-
validity: z.ZodEnum<{
|
|
509
|
-
valid: "valid";
|
|
510
|
-
stale: "stale";
|
|
511
|
-
}>;
|
|
512
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
513
|
-
symbolId: z.ZodString;
|
|
514
|
-
file: z.ZodString;
|
|
515
|
-
range: z.ZodObject<{
|
|
516
|
-
start: z.ZodObject<{
|
|
517
|
-
line: z.ZodNumber;
|
|
518
|
-
column: z.ZodNumber;
|
|
519
|
-
}, z.core.$strict>;
|
|
520
|
-
end: z.ZodObject<{
|
|
521
|
-
line: z.ZodNumber;
|
|
522
|
-
column: z.ZodNumber;
|
|
523
|
-
}, z.core.$strict>;
|
|
524
|
-
}, z.core.$strict>;
|
|
525
|
-
contentHash: z.ZodString;
|
|
526
|
-
}, z.core.$strict>>;
|
|
527
|
-
}, z.core.$loose>>;
|
|
528
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
529
|
-
command: z.ZodLiteral<"code.search">;
|
|
530
|
-
query: z.ZodString;
|
|
531
|
-
limit: z.ZodNumber;
|
|
532
|
-
results: z.ZodArray<z.ZodObject<{
|
|
533
|
-
score: z.ZodNumber;
|
|
534
|
-
node: z.ZodObject<{
|
|
535
|
-
domain: z.ZodLiteral<"structural">;
|
|
536
|
-
id: z.ZodString;
|
|
537
|
-
kind: z.ZodEnum<{
|
|
538
|
-
Repository: "Repository";
|
|
539
|
-
Module: "Module";
|
|
540
|
-
File: "File";
|
|
541
|
-
Symbol: "Symbol";
|
|
542
|
-
Test: "Test";
|
|
543
|
-
}>;
|
|
544
|
-
label: z.ZodString;
|
|
545
|
-
validity: z.ZodEnum<{
|
|
546
|
-
valid: "valid";
|
|
547
|
-
stale: "stale";
|
|
548
|
-
}>;
|
|
549
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
550
|
-
file: z.ZodString;
|
|
551
|
-
range: z.ZodObject<{
|
|
552
|
-
start: z.ZodObject<{
|
|
553
|
-
line: z.ZodNumber;
|
|
554
|
-
column: z.ZodNumber;
|
|
555
|
-
}, z.core.$strict>;
|
|
556
|
-
end: z.ZodObject<{
|
|
557
|
-
line: z.ZodNumber;
|
|
558
|
-
column: z.ZodNumber;
|
|
559
|
-
}, z.core.$strict>;
|
|
560
|
-
}, z.core.$strict>;
|
|
561
|
-
}, z.core.$loose>>;
|
|
562
|
-
support: z.ZodObject<{
|
|
563
|
-
status: z.ZodEnum<{
|
|
564
|
-
exact: "exact";
|
|
565
|
-
inferred: "inferred";
|
|
566
|
-
unresolved: "unresolved";
|
|
567
|
-
unsupported: "unsupported";
|
|
568
|
-
}>;
|
|
569
|
-
provenance: z.ZodEnum<{
|
|
570
|
-
"tree-sitter": "tree-sitter";
|
|
571
|
-
scip: "scip";
|
|
572
|
-
heuristic: "heuristic";
|
|
573
|
-
backend: "backend";
|
|
574
|
-
}>;
|
|
575
|
-
}, z.core.$strict>;
|
|
576
|
-
}, z.core.$loose>;
|
|
577
|
-
}, z.core.$loose>>;
|
|
578
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
579
|
-
command: z.ZodLiteral<"learn">;
|
|
580
|
-
baseSnapshotId: z.ZodString;
|
|
581
|
-
snapshotId: z.ZodString;
|
|
582
|
-
applied: z.ZodObject<{
|
|
583
|
-
nodeOperations: z.ZodNumber;
|
|
584
|
-
relationOperations: z.ZodNumber;
|
|
585
|
-
}, z.core.$loose>;
|
|
586
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
587
|
-
command: z.ZodLiteral<"changes">;
|
|
588
|
-
fromSnapshotId: z.ZodString;
|
|
589
|
-
toSnapshotId: z.ZodString;
|
|
590
|
-
nodes: z.ZodObject<{
|
|
591
|
-
added: z.ZodArray<z.ZodString>;
|
|
592
|
-
changed: z.ZodArray<z.ZodString>;
|
|
593
|
-
removed: z.ZodArray<z.ZodString>;
|
|
594
|
-
}, z.core.$loose>;
|
|
595
|
-
relations: z.ZodObject<{
|
|
596
|
-
added: z.ZodArray<z.ZodString>;
|
|
597
|
-
changed: z.ZodArray<z.ZodString>;
|
|
598
|
-
removed: z.ZodArray<z.ZodString>;
|
|
599
|
-
}, z.core.$loose>;
|
|
600
|
-
staleAssertions: z.ZodArray<z.ZodString>;
|
|
601
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
602
|
-
command: z.ZodLiteral<"feedback.report">;
|
|
603
|
-
report: z.ZodObject<{
|
|
604
|
-
id: z.ZodString;
|
|
605
|
-
kind: z.ZodEnum<{
|
|
606
|
-
problem: "problem";
|
|
607
|
-
suggestion: "suggestion";
|
|
608
|
-
}>;
|
|
609
|
-
category: z.ZodEnum<{
|
|
610
|
-
"misleading-result": "misleading-result";
|
|
611
|
-
"missing-knowledge": "missing-knowledge";
|
|
612
|
-
"workflow-friction": "workflow-friction";
|
|
613
|
-
performance: "performance";
|
|
614
|
-
"cli-error": "cli-error";
|
|
615
|
-
"skill-instruction": "skill-instruction";
|
|
616
|
-
}>;
|
|
617
|
-
impact: z.ZodEnum<{
|
|
618
|
-
minor: "minor";
|
|
619
|
-
blocked: "blocked";
|
|
620
|
-
slowed: "slowed";
|
|
621
|
-
}>;
|
|
622
|
-
sourceConfirmed: z.ZodBoolean;
|
|
623
|
-
status: z.ZodEnum<{
|
|
624
|
-
new: "new";
|
|
625
|
-
triaged: "triaged";
|
|
626
|
-
resolved: "resolved";
|
|
627
|
-
dismissed: "dismissed";
|
|
628
|
-
}>;
|
|
629
|
-
contextEventCount: z.ZodNumber;
|
|
630
|
-
createdAt: z.ZodISODateTime;
|
|
631
|
-
}, z.core.$strict>;
|
|
632
|
-
}, z.core.$loose>], "command">;
|
|
633
|
-
export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
634
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
635
|
-
repository: z.ZodObject<{
|
|
636
|
-
id: z.ZodString;
|
|
637
|
-
root: z.ZodString;
|
|
638
|
-
headCommit: z.ZodString;
|
|
639
|
-
}, z.core.$strict>;
|
|
640
|
-
snapshot: z.ZodNullable<z.ZodObject<{
|
|
641
|
-
id: z.ZodString;
|
|
642
|
-
gitHead: z.ZodString;
|
|
643
|
-
createdAt: z.ZodISODateTime;
|
|
644
|
-
freshness: z.ZodEnum<{
|
|
645
|
-
stale: "stale";
|
|
646
|
-
current: "current";
|
|
647
|
-
}>;
|
|
648
|
-
}, z.core.$strict>>;
|
|
649
|
-
status: z.ZodEnum<{
|
|
650
|
-
ok: "ok";
|
|
651
|
-
partial: "partial";
|
|
652
|
-
}>;
|
|
653
|
-
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
654
|
-
command: z.ZodLiteral<"status">;
|
|
655
|
-
currentRevision: z.ZodObject<{
|
|
656
|
-
headCommit: z.ZodString;
|
|
657
|
-
changes: z.ZodObject<{
|
|
658
|
-
staged: z.ZodNumber;
|
|
659
|
-
unstaged: z.ZodNumber;
|
|
660
|
-
untracked: z.ZodNumber;
|
|
661
|
-
}, z.core.$loose>;
|
|
662
|
-
}, z.core.$loose>;
|
|
663
|
-
freshness: z.ZodEnum<{
|
|
664
|
-
stale: "stale";
|
|
665
|
-
missing: "missing";
|
|
666
|
-
current: "current";
|
|
667
|
-
}>;
|
|
668
|
-
storeLocation: z.ZodString;
|
|
669
|
-
languages: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
670
|
-
language: z.ZodString;
|
|
671
|
-
support: z.ZodLiteral<"supported">;
|
|
672
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
673
|
-
language: z.ZodString;
|
|
674
|
-
support: z.ZodLiteral<"unsupported">;
|
|
675
|
-
reason: z.ZodString;
|
|
676
|
-
}, z.core.$loose>], "support">>;
|
|
677
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
678
|
-
command: z.ZodLiteral<"index">;
|
|
679
|
-
snapshotId: z.ZodString;
|
|
680
|
-
facts: z.ZodObject<{
|
|
681
|
-
added: z.ZodNumber;
|
|
682
|
-
changed: z.ZodNumber;
|
|
683
|
-
reused: z.ZodNumber;
|
|
684
|
-
removed: z.ZodNumber;
|
|
685
|
-
}, z.core.$loose>;
|
|
686
|
-
unknowns: z.ZodObject<{
|
|
687
|
-
added: z.ZodNumber;
|
|
688
|
-
resolved: z.ZodNumber;
|
|
689
|
-
total: z.ZodNumber;
|
|
690
|
-
}, z.core.$loose>;
|
|
691
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
692
|
-
command: z.ZodLiteral<"map.view">;
|
|
693
|
-
focus: z.ZodNullable<z.ZodObject<{
|
|
694
|
-
domain: z.ZodLiteral<"business">;
|
|
695
|
-
key: z.ZodString;
|
|
696
|
-
kind: z.ZodEnum<{
|
|
697
|
-
Capability: "Capability";
|
|
698
|
-
Scenario: "Scenario";
|
|
699
|
-
Operation: "Operation";
|
|
700
|
-
Invariant: "Invariant";
|
|
701
|
-
Interface: "Interface";
|
|
702
|
-
Data: "Data";
|
|
703
|
-
}>;
|
|
704
|
-
label: z.ZodString;
|
|
705
|
-
summary: z.ZodString;
|
|
706
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
707
|
-
certainty: z.ZodEnum<{
|
|
708
|
-
exact: "exact";
|
|
709
|
-
inferred: "inferred";
|
|
710
|
-
hypothesis: "hypothesis";
|
|
711
|
-
}>;
|
|
712
|
-
validity: z.ZodEnum<{
|
|
713
|
-
valid: "valid";
|
|
714
|
-
stale: "stale";
|
|
715
|
-
}>;
|
|
716
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
717
|
-
symbolId: z.ZodString;
|
|
718
|
-
file: z.ZodString;
|
|
719
|
-
range: z.ZodObject<{
|
|
720
|
-
start: z.ZodObject<{
|
|
721
|
-
line: z.ZodNumber;
|
|
722
|
-
column: z.ZodNumber;
|
|
723
|
-
}, z.core.$strict>;
|
|
724
|
-
end: z.ZodObject<{
|
|
725
|
-
line: z.ZodNumber;
|
|
726
|
-
column: z.ZodNumber;
|
|
727
|
-
}, z.core.$strict>;
|
|
728
|
-
}, z.core.$strict>;
|
|
729
|
-
contentHash: z.ZodString;
|
|
730
|
-
}, z.core.$strict>>;
|
|
731
|
-
}, z.core.$loose>>;
|
|
732
|
-
breadcrumbs: z.ZodArray<z.ZodObject<{
|
|
733
|
-
domain: z.ZodLiteral<"business">;
|
|
734
|
-
key: z.ZodString;
|
|
735
|
-
kind: z.ZodEnum<{
|
|
736
|
-
Capability: "Capability";
|
|
737
|
-
Scenario: "Scenario";
|
|
738
|
-
Operation: "Operation";
|
|
739
|
-
Invariant: "Invariant";
|
|
740
|
-
Interface: "Interface";
|
|
741
|
-
Data: "Data";
|
|
742
|
-
}>;
|
|
743
|
-
label: z.ZodString;
|
|
744
|
-
summary: z.ZodString;
|
|
745
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
746
|
-
certainty: z.ZodEnum<{
|
|
747
|
-
exact: "exact";
|
|
748
|
-
inferred: "inferred";
|
|
749
|
-
hypothesis: "hypothesis";
|
|
750
|
-
}>;
|
|
751
|
-
validity: z.ZodEnum<{
|
|
752
|
-
valid: "valid";
|
|
753
|
-
stale: "stale";
|
|
754
|
-
}>;
|
|
755
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
756
|
-
symbolId: z.ZodString;
|
|
757
|
-
file: z.ZodString;
|
|
758
|
-
range: z.ZodObject<{
|
|
759
|
-
start: z.ZodObject<{
|
|
760
|
-
line: z.ZodNumber;
|
|
761
|
-
column: z.ZodNumber;
|
|
762
|
-
}, z.core.$strict>;
|
|
763
|
-
end: z.ZodObject<{
|
|
764
|
-
line: z.ZodNumber;
|
|
765
|
-
column: z.ZodNumber;
|
|
766
|
-
}, z.core.$strict>;
|
|
767
|
-
}, z.core.$strict>;
|
|
768
|
-
contentHash: z.ZodString;
|
|
769
|
-
}, z.core.$strict>>;
|
|
770
|
-
}, z.core.$loose>>;
|
|
771
|
-
regions: z.ZodArray<z.ZodObject<{
|
|
772
|
-
node: z.ZodObject<{
|
|
773
|
-
domain: z.ZodLiteral<"business">;
|
|
774
|
-
key: z.ZodString;
|
|
775
|
-
kind: z.ZodEnum<{
|
|
776
|
-
Capability: "Capability";
|
|
777
|
-
Scenario: "Scenario";
|
|
778
|
-
Operation: "Operation";
|
|
779
|
-
Invariant: "Invariant";
|
|
780
|
-
Interface: "Interface";
|
|
781
|
-
Data: "Data";
|
|
782
|
-
}>;
|
|
783
|
-
label: z.ZodString;
|
|
784
|
-
summary: z.ZodString;
|
|
785
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
786
|
-
certainty: z.ZodEnum<{
|
|
787
|
-
exact: "exact";
|
|
788
|
-
inferred: "inferred";
|
|
789
|
-
hypothesis: "hypothesis";
|
|
790
|
-
}>;
|
|
791
|
-
validity: z.ZodEnum<{
|
|
792
|
-
valid: "valid";
|
|
793
|
-
stale: "stale";
|
|
794
|
-
}>;
|
|
795
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
796
|
-
symbolId: z.ZodString;
|
|
797
|
-
file: z.ZodString;
|
|
798
|
-
range: z.ZodObject<{
|
|
799
|
-
start: z.ZodObject<{
|
|
800
|
-
line: z.ZodNumber;
|
|
801
|
-
column: z.ZodNumber;
|
|
802
|
-
}, z.core.$strict>;
|
|
803
|
-
end: z.ZodObject<{
|
|
804
|
-
line: z.ZodNumber;
|
|
805
|
-
column: z.ZodNumber;
|
|
806
|
-
}, z.core.$strict>;
|
|
807
|
-
}, z.core.$strict>;
|
|
808
|
-
contentHash: z.ZodString;
|
|
809
|
-
}, z.core.$strict>>;
|
|
810
|
-
}, z.core.$loose>;
|
|
811
|
-
role: z.ZodEnum<{
|
|
812
|
-
root: "root";
|
|
813
|
-
child: "child";
|
|
814
|
-
context: "context";
|
|
815
|
-
}>;
|
|
816
|
-
childCount: z.ZodNumber;
|
|
817
|
-
expandable: z.ZodBoolean;
|
|
818
|
-
}, z.core.$loose>>;
|
|
819
|
-
connections: z.ZodArray<z.ZodObject<{
|
|
820
|
-
from: z.ZodObject<{
|
|
821
|
-
domain: z.ZodLiteral<"business">;
|
|
822
|
-
key: z.ZodString;
|
|
823
|
-
}, z.core.$strict>;
|
|
824
|
-
to: z.ZodObject<{
|
|
825
|
-
domain: z.ZodLiteral<"business">;
|
|
826
|
-
key: z.ZodString;
|
|
827
|
-
}, z.core.$strict>;
|
|
828
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
829
|
-
type: z.ZodEnum<{
|
|
830
|
-
invokes: "invokes";
|
|
831
|
-
reads: "reads";
|
|
832
|
-
writes: "writes";
|
|
833
|
-
publishes: "publishes";
|
|
834
|
-
consumes: "consumes";
|
|
835
|
-
constrained_by: "constrained_by";
|
|
836
|
-
}>;
|
|
837
|
-
directCount: z.ZodNumber;
|
|
838
|
-
aggregatedCount: z.ZodNumber;
|
|
839
|
-
certainty: z.ZodObject<{
|
|
840
|
-
exact: z.ZodNumber;
|
|
841
|
-
inferred: z.ZodNumber;
|
|
842
|
-
hypothesis: z.ZodNumber;
|
|
843
|
-
}, z.core.$loose>;
|
|
844
|
-
validity: z.ZodObject<{
|
|
845
|
-
valid: z.ZodNumber;
|
|
846
|
-
stale: z.ZodNumber;
|
|
847
|
-
}, z.core.$loose>;
|
|
848
|
-
}, z.core.$loose>>;
|
|
849
|
-
}, z.core.$loose>>;
|
|
850
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
851
|
-
command: z.ZodLiteral<"map.search">;
|
|
852
|
-
query: z.ZodString;
|
|
853
|
-
limit: z.ZodNumber;
|
|
854
|
-
results: z.ZodArray<z.ZodObject<{
|
|
855
|
-
score: z.ZodNumber;
|
|
856
|
-
node: z.ZodObject<{
|
|
857
|
-
domain: z.ZodLiteral<"business">;
|
|
858
|
-
key: z.ZodString;
|
|
859
|
-
kind: z.ZodEnum<{
|
|
860
|
-
Capability: "Capability";
|
|
861
|
-
Scenario: "Scenario";
|
|
862
|
-
Operation: "Operation";
|
|
863
|
-
Invariant: "Invariant";
|
|
864
|
-
Interface: "Interface";
|
|
865
|
-
Data: "Data";
|
|
866
|
-
}>;
|
|
867
|
-
label: z.ZodString;
|
|
868
|
-
summary: z.ZodString;
|
|
869
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
870
|
-
certainty: z.ZodEnum<{
|
|
871
|
-
exact: "exact";
|
|
872
|
-
inferred: "inferred";
|
|
873
|
-
hypothesis: "hypothesis";
|
|
874
|
-
}>;
|
|
875
|
-
validity: z.ZodEnum<{
|
|
876
|
-
valid: "valid";
|
|
877
|
-
stale: "stale";
|
|
878
|
-
}>;
|
|
879
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
880
|
-
symbolId: z.ZodString;
|
|
881
|
-
file: z.ZodString;
|
|
882
|
-
range: z.ZodObject<{
|
|
883
|
-
start: z.ZodObject<{
|
|
884
|
-
line: z.ZodNumber;
|
|
885
|
-
column: z.ZodNumber;
|
|
886
|
-
}, z.core.$strict>;
|
|
887
|
-
end: z.ZodObject<{
|
|
888
|
-
line: z.ZodNumber;
|
|
889
|
-
column: z.ZodNumber;
|
|
890
|
-
}, z.core.$strict>;
|
|
891
|
-
}, z.core.$strict>;
|
|
892
|
-
contentHash: z.ZodString;
|
|
893
|
-
}, z.core.$strict>>;
|
|
894
|
-
}, z.core.$loose>;
|
|
895
|
-
}, z.core.$loose>>;
|
|
896
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
897
|
-
command: z.ZodLiteral<"map.show">;
|
|
898
|
-
node: z.ZodObject<{
|
|
899
|
-
domain: z.ZodLiteral<"business">;
|
|
900
|
-
key: z.ZodString;
|
|
901
|
-
kind: z.ZodEnum<{
|
|
902
|
-
Capability: "Capability";
|
|
903
|
-
Scenario: "Scenario";
|
|
904
|
-
Operation: "Operation";
|
|
905
|
-
Invariant: "Invariant";
|
|
906
|
-
Interface: "Interface";
|
|
907
|
-
Data: "Data";
|
|
908
|
-
}>;
|
|
909
|
-
label: z.ZodString;
|
|
910
|
-
summary: z.ZodString;
|
|
911
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
912
|
-
certainty: z.ZodEnum<{
|
|
913
|
-
exact: "exact";
|
|
914
|
-
inferred: "inferred";
|
|
915
|
-
hypothesis: "hypothesis";
|
|
916
|
-
}>;
|
|
917
|
-
validity: z.ZodEnum<{
|
|
918
|
-
valid: "valid";
|
|
919
|
-
stale: "stale";
|
|
920
|
-
}>;
|
|
921
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
922
|
-
symbolId: z.ZodString;
|
|
923
|
-
file: z.ZodString;
|
|
924
|
-
range: z.ZodObject<{
|
|
925
|
-
start: z.ZodObject<{
|
|
926
|
-
line: z.ZodNumber;
|
|
927
|
-
column: z.ZodNumber;
|
|
928
|
-
}, z.core.$strict>;
|
|
929
|
-
end: z.ZodObject<{
|
|
930
|
-
line: z.ZodNumber;
|
|
931
|
-
column: z.ZodNumber;
|
|
932
|
-
}, z.core.$strict>;
|
|
933
|
-
}, z.core.$strict>;
|
|
934
|
-
contentHash: z.ZodString;
|
|
935
|
-
}, z.core.$strict>>;
|
|
936
|
-
}, z.core.$loose>;
|
|
937
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
938
|
-
type: z.ZodEnum<{
|
|
939
|
-
part_of: "part_of";
|
|
940
|
-
invokes: "invokes";
|
|
941
|
-
realized_by: "realized_by";
|
|
942
|
-
reads: "reads";
|
|
943
|
-
writes: "writes";
|
|
944
|
-
publishes: "publishes";
|
|
945
|
-
consumes: "consumes";
|
|
946
|
-
constrained_by: "constrained_by";
|
|
947
|
-
verified_by: "verified_by";
|
|
948
|
-
}>;
|
|
949
|
-
direction: z.ZodEnum<{
|
|
950
|
-
incoming: "incoming";
|
|
951
|
-
outgoing: "outgoing";
|
|
952
|
-
}>;
|
|
953
|
-
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
954
|
-
domain: z.ZodLiteral<"business">;
|
|
955
|
-
key: z.ZodString;
|
|
956
|
-
kind: z.ZodEnum<{
|
|
957
|
-
Capability: "Capability";
|
|
958
|
-
Scenario: "Scenario";
|
|
959
|
-
Operation: "Operation";
|
|
960
|
-
Invariant: "Invariant";
|
|
961
|
-
Interface: "Interface";
|
|
962
|
-
Data: "Data";
|
|
963
|
-
}>;
|
|
964
|
-
label: z.ZodString;
|
|
965
|
-
summary: z.ZodString;
|
|
966
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
967
|
-
certainty: z.ZodEnum<{
|
|
968
|
-
exact: "exact";
|
|
969
|
-
inferred: "inferred";
|
|
970
|
-
hypothesis: "hypothesis";
|
|
971
|
-
}>;
|
|
972
|
-
validity: z.ZodEnum<{
|
|
973
|
-
valid: "valid";
|
|
974
|
-
stale: "stale";
|
|
975
|
-
}>;
|
|
976
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
977
|
-
symbolId: z.ZodString;
|
|
978
|
-
file: z.ZodString;
|
|
979
|
-
range: z.ZodObject<{
|
|
980
|
-
start: z.ZodObject<{
|
|
981
|
-
line: z.ZodNumber;
|
|
982
|
-
column: z.ZodNumber;
|
|
983
|
-
}, z.core.$strict>;
|
|
984
|
-
end: z.ZodObject<{
|
|
985
|
-
line: z.ZodNumber;
|
|
986
|
-
column: z.ZodNumber;
|
|
987
|
-
}, z.core.$strict>;
|
|
988
|
-
}, z.core.$strict>;
|
|
989
|
-
contentHash: z.ZodString;
|
|
990
|
-
}, z.core.$strict>>;
|
|
991
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
992
|
-
domain: z.ZodLiteral<"structural">;
|
|
993
|
-
id: z.ZodString;
|
|
994
|
-
kind: z.ZodEnum<{
|
|
995
|
-
Repository: "Repository";
|
|
996
|
-
Module: "Module";
|
|
997
|
-
File: "File";
|
|
998
|
-
Symbol: "Symbol";
|
|
999
|
-
Test: "Test";
|
|
1000
|
-
}>;
|
|
1001
|
-
label: z.ZodString;
|
|
1002
|
-
validity: z.ZodEnum<{
|
|
1003
|
-
valid: "valid";
|
|
1004
|
-
stale: "stale";
|
|
1005
|
-
}>;
|
|
1006
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1007
|
-
file: z.ZodString;
|
|
1008
|
-
range: z.ZodObject<{
|
|
1009
|
-
start: z.ZodObject<{
|
|
1010
|
-
line: z.ZodNumber;
|
|
1011
|
-
column: z.ZodNumber;
|
|
1012
|
-
}, z.core.$strict>;
|
|
1013
|
-
end: z.ZodObject<{
|
|
1014
|
-
line: z.ZodNumber;
|
|
1015
|
-
column: z.ZodNumber;
|
|
1016
|
-
}, z.core.$strict>;
|
|
1017
|
-
}, z.core.$strict>;
|
|
1018
|
-
}, z.core.$loose>>;
|
|
1019
|
-
support: z.ZodObject<{
|
|
1020
|
-
status: z.ZodEnum<{
|
|
1021
|
-
exact: "exact";
|
|
1022
|
-
inferred: "inferred";
|
|
1023
|
-
unresolved: "unresolved";
|
|
1024
|
-
unsupported: "unsupported";
|
|
1025
|
-
}>;
|
|
1026
|
-
provenance: z.ZodEnum<{
|
|
1027
|
-
"tree-sitter": "tree-sitter";
|
|
1028
|
-
scip: "scip";
|
|
1029
|
-
heuristic: "heuristic";
|
|
1030
|
-
backend: "backend";
|
|
1031
|
-
}>;
|
|
1032
|
-
}, z.core.$strict>;
|
|
1033
|
-
}, z.core.$loose>]>;
|
|
1034
|
-
certainty: z.ZodEnum<{
|
|
1035
|
-
exact: "exact";
|
|
1036
|
-
inferred: "inferred";
|
|
1037
|
-
hypothesis: "hypothesis";
|
|
1038
|
-
}>;
|
|
1039
|
-
validity: z.ZodEnum<{
|
|
1040
|
-
valid: "valid";
|
|
1041
|
-
stale: "stale";
|
|
1042
|
-
}>;
|
|
1043
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
1044
|
-
symbolId: z.ZodString;
|
|
1045
|
-
file: z.ZodString;
|
|
1046
|
-
range: z.ZodObject<{
|
|
1047
|
-
start: z.ZodObject<{
|
|
1048
|
-
line: z.ZodNumber;
|
|
1049
|
-
column: z.ZodNumber;
|
|
1050
|
-
}, z.core.$strict>;
|
|
1051
|
-
end: z.ZodObject<{
|
|
1052
|
-
line: z.ZodNumber;
|
|
1053
|
-
column: z.ZodNumber;
|
|
1054
|
-
}, z.core.$strict>;
|
|
1055
|
-
}, z.core.$strict>;
|
|
1056
|
-
contentHash: z.ZodString;
|
|
1057
|
-
}, z.core.$strict>>;
|
|
1058
|
-
}, z.core.$loose>>;
|
|
1059
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1060
|
-
command: z.ZodLiteral<"code.search">;
|
|
1061
|
-
query: z.ZodString;
|
|
1062
|
-
limit: z.ZodNumber;
|
|
1063
|
-
results: z.ZodArray<z.ZodObject<{
|
|
1064
|
-
score: z.ZodNumber;
|
|
1065
|
-
node: z.ZodObject<{
|
|
1066
|
-
domain: z.ZodLiteral<"structural">;
|
|
1067
|
-
id: z.ZodString;
|
|
1068
|
-
kind: z.ZodEnum<{
|
|
1069
|
-
Repository: "Repository";
|
|
1070
|
-
Module: "Module";
|
|
1071
|
-
File: "File";
|
|
1072
|
-
Symbol: "Symbol";
|
|
1073
|
-
Test: "Test";
|
|
1074
|
-
}>;
|
|
1075
|
-
label: z.ZodString;
|
|
1076
|
-
validity: z.ZodEnum<{
|
|
1077
|
-
valid: "valid";
|
|
1078
|
-
stale: "stale";
|
|
1079
|
-
}>;
|
|
1080
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1081
|
-
file: z.ZodString;
|
|
1082
|
-
range: z.ZodObject<{
|
|
1083
|
-
start: z.ZodObject<{
|
|
1084
|
-
line: z.ZodNumber;
|
|
1085
|
-
column: z.ZodNumber;
|
|
1086
|
-
}, z.core.$strict>;
|
|
1087
|
-
end: z.ZodObject<{
|
|
1088
|
-
line: z.ZodNumber;
|
|
1089
|
-
column: z.ZodNumber;
|
|
1090
|
-
}, z.core.$strict>;
|
|
1091
|
-
}, z.core.$strict>;
|
|
1092
|
-
}, z.core.$loose>>;
|
|
1093
|
-
support: z.ZodObject<{
|
|
1094
|
-
status: z.ZodEnum<{
|
|
1095
|
-
exact: "exact";
|
|
1096
|
-
inferred: "inferred";
|
|
1097
|
-
unresolved: "unresolved";
|
|
1098
|
-
unsupported: "unsupported";
|
|
1099
|
-
}>;
|
|
1100
|
-
provenance: z.ZodEnum<{
|
|
1101
|
-
"tree-sitter": "tree-sitter";
|
|
1102
|
-
scip: "scip";
|
|
1103
|
-
heuristic: "heuristic";
|
|
1104
|
-
backend: "backend";
|
|
1105
|
-
}>;
|
|
1106
|
-
}, z.core.$strict>;
|
|
1107
|
-
}, z.core.$loose>;
|
|
1108
|
-
}, z.core.$loose>>;
|
|
1109
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1110
|
-
command: z.ZodLiteral<"learn">;
|
|
1111
|
-
baseSnapshotId: z.ZodString;
|
|
1112
|
-
snapshotId: z.ZodString;
|
|
1113
|
-
applied: z.ZodObject<{
|
|
1114
|
-
nodeOperations: z.ZodNumber;
|
|
1115
|
-
relationOperations: z.ZodNumber;
|
|
1116
|
-
}, z.core.$loose>;
|
|
1117
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1118
|
-
command: z.ZodLiteral<"changes">;
|
|
1119
|
-
fromSnapshotId: z.ZodString;
|
|
1120
|
-
toSnapshotId: z.ZodString;
|
|
1121
|
-
nodes: z.ZodObject<{
|
|
1122
|
-
added: z.ZodArray<z.ZodString>;
|
|
1123
|
-
changed: z.ZodArray<z.ZodString>;
|
|
1124
|
-
removed: z.ZodArray<z.ZodString>;
|
|
1125
|
-
}, z.core.$loose>;
|
|
1126
|
-
relations: z.ZodObject<{
|
|
1127
|
-
added: z.ZodArray<z.ZodString>;
|
|
1128
|
-
changed: z.ZodArray<z.ZodString>;
|
|
1129
|
-
removed: z.ZodArray<z.ZodString>;
|
|
1130
|
-
}, z.core.$loose>;
|
|
1131
|
-
staleAssertions: z.ZodArray<z.ZodString>;
|
|
1132
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1133
|
-
command: z.ZodLiteral<"feedback.report">;
|
|
1134
|
-
report: z.ZodObject<{
|
|
1135
|
-
id: z.ZodString;
|
|
1136
|
-
kind: z.ZodEnum<{
|
|
1137
|
-
problem: "problem";
|
|
1138
|
-
suggestion: "suggestion";
|
|
1139
|
-
}>;
|
|
1140
|
-
category: z.ZodEnum<{
|
|
1141
|
-
"misleading-result": "misleading-result";
|
|
1142
|
-
"missing-knowledge": "missing-knowledge";
|
|
1143
|
-
"workflow-friction": "workflow-friction";
|
|
1144
|
-
performance: "performance";
|
|
1145
|
-
"cli-error": "cli-error";
|
|
1146
|
-
"skill-instruction": "skill-instruction";
|
|
1147
|
-
}>;
|
|
1148
|
-
impact: z.ZodEnum<{
|
|
1149
|
-
minor: "minor";
|
|
1150
|
-
blocked: "blocked";
|
|
1151
|
-
slowed: "slowed";
|
|
1152
|
-
}>;
|
|
1153
|
-
sourceConfirmed: z.ZodBoolean;
|
|
1154
|
-
status: z.ZodEnum<{
|
|
1155
|
-
new: "new";
|
|
1156
|
-
triaged: "triaged";
|
|
1157
|
-
resolved: "resolved";
|
|
1158
|
-
dismissed: "dismissed";
|
|
1159
|
-
}>;
|
|
1160
|
-
contextEventCount: z.ZodNumber;
|
|
1161
|
-
createdAt: z.ZodISODateTime;
|
|
1162
|
-
}, z.core.$strict>;
|
|
1163
|
-
}, z.core.$loose>], "command">;
|
|
1164
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
1165
|
-
code: z.ZodString;
|
|
1166
|
-
message: z.ZodString;
|
|
1167
|
-
details: z.ZodOptional<z.ZodJSONSchema>;
|
|
1168
|
-
}, z.core.$strict>>;
|
|
1169
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1170
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1171
|
-
repository: z.ZodNullable<z.ZodObject<{
|
|
1172
|
-
id: z.ZodString;
|
|
1173
|
-
root: z.ZodString;
|
|
1174
|
-
headCommit: z.ZodString;
|
|
1175
|
-
}, z.core.$strict>>;
|
|
1176
|
-
snapshot: z.ZodNullable<z.ZodObject<{
|
|
1177
|
-
id: z.ZodString;
|
|
1178
|
-
gitHead: z.ZodString;
|
|
1179
|
-
createdAt: z.ZodISODateTime;
|
|
1180
|
-
freshness: z.ZodEnum<{
|
|
1181
|
-
stale: "stale";
|
|
1182
|
-
current: "current";
|
|
1183
|
-
}>;
|
|
1184
|
-
}, z.core.$strict>>;
|
|
1185
|
-
status: z.ZodLiteral<"error">;
|
|
1186
|
-
data: z.ZodObject<{
|
|
1187
|
-
command: z.ZodNullable<z.ZodEnum<{
|
|
1188
|
-
status: "status";
|
|
1189
|
-
index: "index";
|
|
1190
|
-
changes: "changes";
|
|
1191
|
-
learn: "learn";
|
|
1192
|
-
"map.view": "map.view";
|
|
1193
|
-
"map.search": "map.search";
|
|
1194
|
-
"map.show": "map.show";
|
|
1195
|
-
"code.search": "code.search";
|
|
1196
|
-
"feedback.report": "feedback.report";
|
|
1197
|
-
}>>;
|
|
1198
|
-
error: z.ZodObject<{
|
|
1199
|
-
code: z.ZodString;
|
|
1200
|
-
message: z.ZodString;
|
|
1201
|
-
details: z.ZodOptional<z.ZodJSONSchema>;
|
|
1202
|
-
}, z.core.$strict>;
|
|
1203
|
-
}, z.core.$loose>;
|
|
1204
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
1205
|
-
code: z.ZodString;
|
|
1206
|
-
message: z.ZodString;
|
|
1207
|
-
details: z.ZodOptional<z.ZodJSONSchema>;
|
|
1208
|
-
}, z.core.$strict>>;
|
|
1209
|
-
}, z.core.$strict>]>;
|
|
1210
|
-
export type CliCommandData = z.infer<typeof cliCommandDataSchema>;
|
|
1211
|
-
export type CliEnvelope = z.infer<typeof cliEnvelopeSchema>;
|
|
1
|
+
import type { BusinessNode, BusinessRelation, MapIssue, RepositoryMapSource } from "./map.js";
|
|
2
|
+
import type { InsightSummaryResult } from "./insights.js";
|
|
3
|
+
import type { ObservationKind } from "./observation.js";
|
|
4
|
+
import type { ReconciliationCandidateReport } from "./reconciliation.js";
|
|
5
|
+
export interface CliRunResult {
|
|
6
|
+
readonly exitCode: number;
|
|
7
|
+
readonly stdout: string;
|
|
8
|
+
readonly stderr: string;
|
|
9
|
+
}
|
|
10
|
+
export interface CliSuccessEnvelope<TCommand extends string, TData> {
|
|
11
|
+
readonly schemaVersion: 1;
|
|
12
|
+
readonly ok: true;
|
|
13
|
+
readonly command: TCommand;
|
|
14
|
+
readonly repository: RepositoryMapSource;
|
|
15
|
+
readonly data: TData;
|
|
16
|
+
}
|
|
17
|
+
export interface StandaloneCliSuccessEnvelope<TCommand extends string, TData> {
|
|
18
|
+
readonly schemaVersion: 1;
|
|
19
|
+
readonly ok: true;
|
|
20
|
+
readonly command: TCommand;
|
|
21
|
+
readonly data: TData;
|
|
22
|
+
}
|
|
23
|
+
export interface CliErrorEnvelope<TCommand extends string> {
|
|
24
|
+
readonly schemaVersion: 1;
|
|
25
|
+
readonly ok: false;
|
|
26
|
+
readonly command: TCommand;
|
|
27
|
+
readonly repository?: RepositoryMapSource;
|
|
28
|
+
readonly error: CliError;
|
|
29
|
+
}
|
|
30
|
+
export type CliError = {
|
|
31
|
+
readonly code: "MAP_NOT_FOUND";
|
|
32
|
+
readonly message: string;
|
|
33
|
+
} | {
|
|
34
|
+
readonly code: "MAP_DOCUMENT_INVALID";
|
|
35
|
+
readonly message: string;
|
|
36
|
+
readonly issues: readonly MapIssue[];
|
|
37
|
+
} | {
|
|
38
|
+
readonly code: "CONCEPT_NOT_FOUND";
|
|
39
|
+
readonly message: string;
|
|
40
|
+
readonly selector: string;
|
|
41
|
+
} | {
|
|
42
|
+
readonly code: "CONCEPT_AMBIGUOUS";
|
|
43
|
+
readonly message: string;
|
|
44
|
+
readonly selector: string;
|
|
45
|
+
readonly candidates: readonly ConceptCandidate[];
|
|
46
|
+
} | {
|
|
47
|
+
readonly code: "REPOSITORY_INVALID";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
} | {
|
|
50
|
+
readonly code: "OUTPUT_FAILED";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
readonly outputPath: string;
|
|
53
|
+
} | {
|
|
54
|
+
readonly code: "INVALID_COMMAND";
|
|
55
|
+
readonly message: string;
|
|
56
|
+
} | {
|
|
57
|
+
readonly code: "INTERNAL_ERROR";
|
|
58
|
+
readonly message: string;
|
|
59
|
+
} | {
|
|
60
|
+
readonly code: "MANAGED_SKILL_CONFLICT";
|
|
61
|
+
readonly message: string;
|
|
62
|
+
readonly directory: string;
|
|
63
|
+
} | {
|
|
64
|
+
readonly code: "SETUP_FAILED";
|
|
65
|
+
readonly message: string;
|
|
66
|
+
} | {
|
|
67
|
+
readonly code: "UPGRADE_FAILED";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
readonly step: "check" | "install" | "locate" | "verify" | "setup";
|
|
70
|
+
} | {
|
|
71
|
+
readonly code: "OBSERVATION_INPUT_INVALID";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
readonly issues: readonly {
|
|
74
|
+
readonly path: string;
|
|
75
|
+
readonly message: string;
|
|
76
|
+
}[];
|
|
77
|
+
} | {
|
|
78
|
+
readonly code: "OBSERVATION_CONFLICT";
|
|
79
|
+
readonly message: string;
|
|
80
|
+
readonly observationId: string;
|
|
81
|
+
} | {
|
|
82
|
+
readonly code: "TASK_OBSERVATION_NOT_FOUND";
|
|
83
|
+
readonly message: string;
|
|
84
|
+
readonly taskObservationId: string;
|
|
85
|
+
} | {
|
|
86
|
+
readonly code: "OBSERVATION_STORAGE_FAILED";
|
|
87
|
+
readonly message: string;
|
|
88
|
+
} | {
|
|
89
|
+
readonly code: "INSIGHTS_PERIOD_INVALID";
|
|
90
|
+
readonly message: string;
|
|
91
|
+
readonly period: string;
|
|
92
|
+
} | {
|
|
93
|
+
readonly code: "INSIGHTS_READ_FAILED";
|
|
94
|
+
readonly message: string;
|
|
95
|
+
} | {
|
|
96
|
+
readonly code: "RECONCILIATION_READ_FAILED";
|
|
97
|
+
readonly message: string;
|
|
98
|
+
};
|
|
99
|
+
export interface ValidateData {
|
|
100
|
+
readonly documentCount: number;
|
|
101
|
+
readonly nodeCount: number;
|
|
102
|
+
readonly relationCount: number;
|
|
103
|
+
}
|
|
104
|
+
export type ConceptMatchKind = "id" | "name" | "alias" | "partial";
|
|
105
|
+
export interface ConceptCandidate {
|
|
106
|
+
readonly id: string;
|
|
107
|
+
readonly name: string;
|
|
108
|
+
readonly kind: BusinessNode["kind"];
|
|
109
|
+
readonly documentId: string;
|
|
110
|
+
}
|
|
111
|
+
export interface ContextRelation {
|
|
112
|
+
readonly type: BusinessRelation["type"];
|
|
113
|
+
readonly summary: string;
|
|
114
|
+
readonly notes?: string;
|
|
115
|
+
readonly documentId: string;
|
|
116
|
+
readonly from: BusinessNode;
|
|
117
|
+
readonly to: BusinessNode;
|
|
118
|
+
}
|
|
119
|
+
export interface ContextData {
|
|
120
|
+
readonly selector: string;
|
|
121
|
+
readonly matchedBy: ConceptMatchKind;
|
|
122
|
+
readonly selected: BusinessNode;
|
|
123
|
+
readonly ancestors: readonly BusinessNode[];
|
|
124
|
+
readonly children: readonly BusinessNode[];
|
|
125
|
+
readonly incoming: readonly ContextRelation[];
|
|
126
|
+
readonly outgoing: readonly ContextRelation[];
|
|
127
|
+
}
|
|
128
|
+
export interface RenderData {
|
|
129
|
+
readonly format: "html";
|
|
130
|
+
readonly outputPath: string;
|
|
131
|
+
readonly nodeCount: number;
|
|
132
|
+
readonly relationCount: number;
|
|
133
|
+
}
|
|
134
|
+
export interface SetupData {
|
|
135
|
+
readonly skills: readonly {
|
|
136
|
+
readonly outcome: "installed" | "current" | "repaired" | "upgraded" | "recovered";
|
|
137
|
+
readonly targetDirectory: string;
|
|
138
|
+
readonly identity: {
|
|
139
|
+
readonly packageName: string;
|
|
140
|
+
readonly packageVersion: string;
|
|
141
|
+
readonly skillName: "semantic-atlas" | "semantic-atlas-maintenance";
|
|
142
|
+
readonly fingerprint: string;
|
|
143
|
+
};
|
|
144
|
+
}[];
|
|
145
|
+
}
|
|
146
|
+
export interface UpgradeData {
|
|
147
|
+
readonly outcome: "current" | "upgraded";
|
|
148
|
+
readonly previousVersion: string;
|
|
149
|
+
readonly targetVersion: string;
|
|
150
|
+
readonly skillDirectories: readonly string[];
|
|
151
|
+
}
|
|
152
|
+
export interface ObservationRecordedData {
|
|
153
|
+
readonly outcome: "recorded" | "idempotent";
|
|
154
|
+
readonly kind: ObservationKind;
|
|
155
|
+
readonly id: string;
|
|
156
|
+
readonly path: string;
|
|
157
|
+
}
|
|
158
|
+
export type ValidateEnvelope = CliSuccessEnvelope<"validate", ValidateData> | CliErrorEnvelope<"validate">;
|
|
159
|
+
export type ContextEnvelope = CliSuccessEnvelope<"context", ContextData> | CliErrorEnvelope<"context">;
|
|
160
|
+
export type RenderEnvelope = CliSuccessEnvelope<"render", RenderData> | CliErrorEnvelope<"render">;
|
|
161
|
+
export type SetupEnvelope = StandaloneCliSuccessEnvelope<"setup", SetupData> | CliErrorEnvelope<"setup">;
|
|
162
|
+
export type UpgradeEnvelope = StandaloneCliSuccessEnvelope<"upgrade", UpgradeData> | CliErrorEnvelope<"upgrade">;
|
|
163
|
+
export type ObserveTaskEnvelope = StandaloneCliSuccessEnvelope<"observe task", ObservationRecordedData> | CliErrorEnvelope<"observe task">;
|
|
164
|
+
export type ObserveReviewEnvelope = StandaloneCliSuccessEnvelope<"observe review", ObservationRecordedData> | CliErrorEnvelope<"observe review">;
|
|
165
|
+
export type InsightsSummaryEnvelope = StandaloneCliSuccessEnvelope<"insights summary", InsightSummaryResult> | CliErrorEnvelope<"insights summary">;
|
|
166
|
+
export type ReconciliationCandidatesEnvelope = StandaloneCliSuccessEnvelope<"reconcile candidates", ReconciliationCandidateReport> | CliErrorEnvelope<"reconcile candidates">;
|
|
1212
167
|
//# sourceMappingURL=cli.d.ts.map
|