workspai 0.43.1 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -11
- package/contracts/agent-customization-pack.v1.json +1 -1
- package/contracts/autopilot-release.v1.json +204 -0
- package/contracts/cli-operation-result.v1.json +119 -0
- package/contracts/cli-runtime-command-inventory.v1.snapshot.json +1368 -0
- package/contracts/command-capabilities.v1.json +303 -0
- package/contracts/compatibility-matrix.v1.json +37 -0
- package/contracts/create-planner-capabilities.v1.json +156 -65
- package/contracts/doctor-project-scan.v2.json +60 -0
- package/contracts/doctor-remediation-plan.v1.json +19 -4
- package/contracts/doctor-remediation-plan.v2.json +7 -0
- package/contracts/doctor-workspace-cache.v2.json +82 -0
- package/contracts/extension-cli-compatibility.v1.json +48 -3
- package/contracts/infra-plan.v1.json +189 -0
- package/contracts/private-product-manifest.v1.json +155 -0
- package/contracts/product-factory-plan.v1.json +200 -0
- package/contracts/project-archive.v1.json +40 -0
- package/contracts/project-entry-capability.v1.json +127 -0
- package/contracts/published-contract-catalog.v1.json +339 -0
- package/contracts/runtime-command-surface.v1.json +1680 -11
- package/contracts/version.v1.json +48 -0
- package/contracts/workspace-archive-capabilities.v1.json +90 -0
- package/contracts/workspace-archive-manifest.v1.json +107 -0
- package/contracts/workspace-archive-operation-result.v1.json +565 -0
- package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +98 -0
- package/contracts/workspace-intelligence/agent-hooks.v1.json +38 -0
- package/contracts/workspace-intelligence/agent-reports-index.v1.json +56 -0
- package/contracts/workspace-intelligence/mcp-design.v1.json +42 -0
- package/contracts/workspace-intelligence/workspace-context.v1.json +12 -0
- package/contracts/workspace-intelligence/workspace-explain.v1.json +1 -0
- package/contracts/workspace-intelligence-architecture.v1.json +723 -0
- package/contracts/workspace-intelligence-chain.v1.json +1194 -0
- package/contracts/workspace-list.v1.json +56 -0
- package/contracts/workspace-model-cache.v1.json +55 -0
- package/contracts/workspace-snapshot.v1.json +58 -0
- package/contracts/workspace-snapshot.v2.json +97 -0
- package/contracts/workspace-sync.v1.json +30 -0
- package/contracts/workspace-watch-event.v1.json +112 -0
- package/dist/analyze-YLV7NVLF.js +1 -0
- package/dist/{artifact-remediation-plan-244S5K6I.js → artifact-remediation-plan-WLZGROUU.js} +2 -2
- package/dist/autopilot-release-YBN3SWAA.js +1 -0
- package/dist/{chunk-LZQNVH7D.js → chunk-2K3GYCPS.js} +1 -1
- package/dist/chunk-2QOWRBQD.js +1 -0
- package/dist/chunk-42G2OK64.js +1 -0
- package/dist/chunk-5AKYMAIL.js +1 -0
- package/dist/chunk-5GNT4RJI.js +8 -0
- package/dist/{chunk-FDDDQMJ2.js → chunk-5PVEQ6CZ.js} +1 -1
- package/dist/chunk-6AA3WWQZ.js +2 -0
- package/dist/chunk-6ZENXBMG.js +33 -0
- package/dist/chunk-7RIWU5TZ.js +1 -0
- package/dist/chunk-BJLE5CH7.js +4 -0
- package/dist/{chunk-PPHTYJ7G.js → chunk-DXPU4DDV.js} +36 -37
- package/dist/{chunk-DOCPUNWS.js → chunk-G3H5R3RR.js} +1 -1
- package/dist/chunk-HYJK7W3B.js +1 -0
- package/dist/chunk-IMUU5Q2V.js +13 -0
- package/dist/chunk-J4AICQFB.js +1 -0
- package/dist/{chunk-EMTQ6OKI.js → chunk-JP25YL3J.js} +1 -1
- package/dist/{chunk-ONU457VN.js → chunk-K63BSU56.js} +52 -50
- package/dist/chunk-KPPGZCUW.js +78 -0
- package/dist/chunk-KU4S7RCM.js +1 -0
- package/dist/chunk-LCRROMRR.js +2 -0
- package/dist/chunk-LG6RFLPZ.js +1 -0
- package/dist/{chunk-JHC6SCJC.js → chunk-NHN4QXPP.js} +1 -1
- package/dist/{chunk-U6AXYUQY.js → chunk-OOOPYUL2.js} +1 -1
- package/dist/chunk-P7SCWJFG.js +8 -0
- package/dist/chunk-QWU2CZBG.js +2 -0
- package/dist/chunk-V2H2KRMZ.js +1 -0
- package/dist/chunk-WANW4QA4.js +4 -0
- package/dist/chunk-XIVFLY6G.js +1 -0
- package/dist/chunk-ZWO6K24C.js +2 -0
- package/dist/{create-42RTNLH2.js → create-KFR6FLRT.js} +1 -1
- package/dist/doctor-YJDM5XBH.js +1 -0
- package/dist/index.d.ts +284 -25
- package/dist/index.js +214 -204
- package/dist/pipeline-FEDYO3IA.js +5 -0
- package/dist/{platform-capabilities-XAVU4HSM.js → platform-capabilities-YICBF4FA.js} +1 -1
- package/dist/{pythonRapidkitExec-GCQ3M46E.js → pythonRapidkitExec-UJYIB6FL.js} +1 -1
- package/dist/{workspace-DZHWB7BV.js → workspace-PLXOO6ST.js} +1 -1
- package/dist/workspace-agent-sync-G5YVI3BJ.js +1 -0
- package/dist/workspace-archive-EEGLHZDW.js +10 -0
- package/dist/workspace-context-E3UFWL5X.js +1 -0
- package/dist/{workspace-contract-2TA27LGT.js → workspace-contract-LQJDZV36.js} +1 -1
- package/dist/workspace-explain-G74ZIF23.js +1 -0
- package/dist/workspace-explain-contract-KT757JGQ.js +1 -0
- package/dist/{workspace-feedback-R6H4UFZB.js → workspace-feedback-YY6WQPWQ.js} +1 -1
- package/dist/{workspace-foundation-FQWHPQGX.js → workspace-foundation-3C2DLCVI.js} +1 -1
- package/dist/{workspace-history-CGCK2DJI.js → workspace-history-VF3CHDYQ.js} +1 -1
- package/dist/workspace-intelligence-3GG7GEDQ.js +1 -0
- package/dist/workspace-mcp-serve-MJMUV4RY.js +3 -0
- package/dist/{workspace-model-F3B75TYT.js → workspace-model-NG45SRM5.js} +1 -1
- package/dist/workspace-registry-summary-JM2XY52C.js +1 -0
- package/dist/workspace-run-WEQYIERE.js +1 -0
- package/dist/{workspace-verify-OAATQV5T.js → workspace-verify-ZNT6JX7D.js} +1 -1
- package/dist/workspace-watch-W47T4RX2.js +1 -0
- package/docs/AI_FEATURES.md +67 -34
- package/docs/README.md +2 -1
- package/docs/commands-reference.md +39 -14
- package/docs/contracts/ARTIFACT_CATALOG.md +60 -36
- package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +27 -6
- package/docs/contracts/README.md +3 -2
- package/docs/create-planner-capabilities.md +36 -18
- package/docs/workspace-operations.md +25 -0
- package/package.json +27 -14
- package/scripts/enterprise-package-smoke.mjs +40 -8
- package/scripts/prepack-enterprise.mjs +12 -0
- package/dist/analyze-5BU4QIPK.js +0 -1
- package/dist/autopilot-release-45YVOBQO.js +0 -1
- package/dist/chunk-3QVTWKUI.js +0 -4
- package/dist/chunk-753LOKFZ.js +0 -2
- package/dist/chunk-AMDKXXLP.js +0 -1
- package/dist/chunk-AQ4XZZC6.js +0 -1
- package/dist/chunk-CDE4Q77U.js +0 -2
- package/dist/chunk-DNAY5ALC.js +0 -1
- package/dist/chunk-FHSMY75W.js +0 -1
- package/dist/chunk-FM7GMFZA.js +0 -2
- package/dist/chunk-HV5ZFXAZ.js +0 -13
- package/dist/chunk-LRW2SAGL.js +0 -4
- package/dist/chunk-LTWYYP6E.js +0 -7
- package/dist/chunk-NAAQMSO3.js +0 -1
- package/dist/chunk-NFUXULIF.js +0 -1
- package/dist/chunk-OL64GWQC.js +0 -9
- package/dist/chunk-SI3AQKIP.js +0 -1
- package/dist/chunk-TH5Y3EMA.js +0 -33
- package/dist/chunk-UQKCCWUL.js +0 -78
- package/dist/chunk-XNGANEXM.js +0 -2
- package/dist/doctor-DK4BON3N.js +0 -1
- package/dist/pipeline-HQ57V6OZ.js +0 -5
- package/dist/workspace-agent-sync-5ADIQS7B.js +0 -1
- package/dist/workspace-archive-GCZNI44O.js +0 -3
- package/dist/workspace-context-GEXDHA7A.js +0 -1
- package/dist/workspace-explain-D5NNL3NG.js +0 -1
- package/dist/workspace-explain-contract-DNS2YEL7.js +0 -1
- package/dist/workspace-intelligence-BEM6WGCZ.js +0 -1
- package/dist/workspace-mcp-serve-OMBA5V3C.js +0 -3
- package/dist/workspace-registry-summary-6MFBRWDS.js +0 -1
- package/dist/workspace-run-3WJXIQKR.js +0 -1
- package/dist/workspace-watch-HU2OTQ52.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,67 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
declare const PROJECT_COMMANDS_CORE_FALLBACK: readonly ["lint", "format", "docs"];
|
|
3
3
|
|
|
4
|
+
declare const COMMAND_CAPABILITIES_SCHEMA_VERSION: "rapidkit-command-capabilities-v1";
|
|
5
|
+
declare const VERSION_CONTRACT_SCHEMA_VERSION: "rapidkit-version-v1";
|
|
6
|
+
|
|
4
7
|
declare function getPublishedContractVersions(): {
|
|
8
|
+
autopilotRelease: "autopilot-release-v1";
|
|
9
|
+
workspaceList: "rapidkit-workspace-list-v1";
|
|
10
|
+
workspaceSync: "rapidkit-workspace-sync-v1";
|
|
11
|
+
compatibilityMatrix: "rapidkit.compatibility-matrix.v1";
|
|
12
|
+
mcpDesign: "workspai-mcp-design.v1";
|
|
13
|
+
agentHooks: "workspai-agent-hooks.v1";
|
|
14
|
+
projectArchive: "rapidkit-project-archive-v1";
|
|
15
|
+
workspaceSnapshot: "rapidkit-workspace-snapshot-v1";
|
|
16
|
+
workspaceSnapshotV2: "rapidkit-workspace-snapshot-v2";
|
|
17
|
+
infraPlan: "rapidkit.infra-plan.v1";
|
|
18
|
+
privateProductManifest: "rapidkit.private-product-manifest.v1";
|
|
19
|
+
productFactoryPlan: "rapidkit.product-factory-plan.v1";
|
|
20
|
+
workspaceModelCache: "workspace-model-cache.v1";
|
|
21
|
+
workspaceWatchEvent: "workspace-watch-event.v1";
|
|
22
|
+
doctorProjectScan: "doctor-project-scan-v2";
|
|
23
|
+
doctorWorkspaceCache: "doctor-workspace-cache-v2";
|
|
5
24
|
runtimeCommandSurface: string;
|
|
25
|
+
cliRuntimeCommandInventory: "workspai-cli-runtime-command-inventory-v1";
|
|
26
|
+
cliOperationResult: "workspai-cli-operation-result-v1";
|
|
27
|
+
publishedContractCatalog: "workspai-published-contract-catalog-v1";
|
|
28
|
+
workspaceArchiveCapabilities: "workspai-workspace-archive-capabilities-v1";
|
|
29
|
+
workspaceArchiveManifest: "workspai-workspace-archive-manifest-v1";
|
|
30
|
+
workspaceArchiveOperationResult: "workspai-workspace-archive-operation-result-v1";
|
|
31
|
+
projectEntryCapability: string;
|
|
32
|
+
workspaceIntelligenceArchitecture: string;
|
|
33
|
+
workspaceIntelligenceChain: "workspai-workspace-intelligence-chain-v1";
|
|
34
|
+
workspaceIntelligenceArtifacts: {
|
|
35
|
+
readonly model: "workspace-model.v1";
|
|
36
|
+
readonly snapshot: "workspace-model-snapshot.v1";
|
|
37
|
+
readonly diff: "workspace-model-diff.v1";
|
|
38
|
+
readonly impact: "workspace-impact.v1";
|
|
39
|
+
readonly analyze: "rapidkit-analyze-v1";
|
|
40
|
+
readonly doctor: "doctor-workspace-evidence-v1";
|
|
41
|
+
readonly contractVerify: "workspace-contract-verify.v1";
|
|
42
|
+
readonly readiness: "release-readiness-v1";
|
|
43
|
+
readonly verify: "workspace-verify.v1";
|
|
44
|
+
readonly history: "workspace-intelligence-history.v1";
|
|
45
|
+
readonly agentContext: "workspace-context.v1";
|
|
46
|
+
readonly agentIndex: "rapidkit-agent-reports-index.v1";
|
|
47
|
+
readonly agentCustomizationPack: "rapidkit-agent-customization-pack.v1";
|
|
48
|
+
readonly skillsIndex: "workspace-skills-index.v1";
|
|
49
|
+
readonly agents: null;
|
|
50
|
+
readonly explain: "workspace-explain.v1";
|
|
51
|
+
};
|
|
6
52
|
cliLogEvent: "cli-log-event-v1";
|
|
7
53
|
freshnessMetadata: "rapidkit-freshness-metadata-v1";
|
|
8
54
|
factFreshness: "rapidkit-fact-freshness-v1";
|
|
9
55
|
blockerResolution: "rapidkit-blocker-resolution-v1";
|
|
10
|
-
workspaceModel:
|
|
11
|
-
workspaceImpact:
|
|
12
|
-
workspaceVerify:
|
|
13
|
-
workspaceContext:
|
|
56
|
+
workspaceModel: "workspace-model.v1";
|
|
57
|
+
workspaceImpact: "workspace-impact.v1";
|
|
58
|
+
workspaceVerify: "workspace-verify.v1";
|
|
59
|
+
workspaceContext: "workspace-context.v1";
|
|
14
60
|
workspaceDependencyGraph: "workspace-dependency-graph.v1";
|
|
15
61
|
workspaceIntelligenceHistory: "workspace-intelligence-history.v1";
|
|
16
|
-
|
|
62
|
+
agentCustomizationPackCapabilities: "workspai-agent-customization-pack-capabilities.v1";
|
|
63
|
+
agentCustomizationPackReport: "rapidkit-agent-customization-pack.v1";
|
|
64
|
+
agentReportsIndex: "rapidkit-agent-reports-index.v1";
|
|
17
65
|
workspaceOperationalSkill: "workspace-operational-skill.v1";
|
|
18
66
|
workspaceSkillsIndex: "workspace-skills-index.v1";
|
|
19
67
|
workspaceExplain: "workspace-explain.v1";
|
|
@@ -22,35 +70,109 @@ declare function getPublishedContractVersions(): {
|
|
|
22
70
|
artifactRemediationPlan: "artifact-remediation-plan-v1";
|
|
23
71
|
doctorFixResult: "rapidkit-doctor-fix-result-v1";
|
|
24
72
|
};
|
|
73
|
+
declare function getPublishedContractCatalog(): {
|
|
74
|
+
[k: string]: {
|
|
75
|
+
artifacts?: {
|
|
76
|
+
[k: string]: {
|
|
77
|
+
path: ".workspai/reports/workspace-model.json" | ".workspai/reports/workspace-model-snapshot.json" | ".workspai/reports/workspace-model-diff-last-run.json" | ".workspai/reports/workspace-impact-last-run.json" | ".workspai/reports/analyze-last-run.json" | ".workspai/reports/doctor-last-run.json" | ".workspai/reports/workspace-contract-verify-last-run.json" | ".workspai/reports/release-readiness-last-run.json" | ".workspai/reports/workspace-verify-last-run.json" | ".workspai/reports/workspace-intelligence-history.json" | ".workspai/reports/workspace-context-agent.json" | ".workspai/reports/INDEX.json" | ".workspai/reports/agent-customization-pack.json" | ".workspai/reports/workspace-skills-index.json" | "AGENTS.md" | ".workspai/reports/workspace-explain-last-run.json";
|
|
78
|
+
schemaVersion: "workspace-model.v1" | "workspace-model-snapshot.v1" | "workspace-model-diff.v1" | "workspace-impact.v1" | "rapidkit-analyze-v1" | "doctor-workspace-evidence-v1" | "workspace-contract-verify.v1" | "release-readiness-v1" | "workspace-verify.v1" | "workspace-intelligence-history.v1" | "workspace-context.v1" | "rapidkit-agent-reports-index.v1" | "rapidkit-agent-customization-pack.v1" | "workspace-skills-index.v1" | "workspace-explain.v1" | null;
|
|
79
|
+
contractPath: "contracts/workspace-intelligence/workspace-model.v1.json" | "contracts/workspace-intelligence/workspace-model-snapshot.v1.json" | "contracts/workspace-intelligence/workspace-model-diff.v1.json" | "contracts/workspace-intelligence/workspace-impact.v1.json" | "contracts/analyze-last-run.v1.json" | "contracts/doctor-workspace-evidence.v1.json" | "contracts/workspace-intelligence/workspace-contract-verify.v1.json" | "contracts/release-readiness.v1.json" | "contracts/workspace-intelligence/workspace-verify.v1.json" | "contracts/workspace-intelligence/workspace-intelligence-history.v1.json" | "contracts/workspace-intelligence/workspace-context.v1.json" | "contracts/workspace-intelligence/agent-reports-index.v1.json" | "contracts/workspace-intelligence/agent-customization-pack-report.v1.json" | "contracts/workspace-intelligence/workspace-skills-index.v1.json" | "contracts/workspace-intelligence/workspace-explain.v1.json" | null;
|
|
80
|
+
};
|
|
81
|
+
} | undefined;
|
|
82
|
+
schemaVersion: string | {
|
|
83
|
+
readonly model: "workspace-model.v1";
|
|
84
|
+
readonly snapshot: "workspace-model-snapshot.v1";
|
|
85
|
+
readonly diff: "workspace-model-diff.v1";
|
|
86
|
+
readonly impact: "workspace-impact.v1";
|
|
87
|
+
readonly analyze: "rapidkit-analyze-v1";
|
|
88
|
+
readonly doctor: "doctor-workspace-evidence-v1";
|
|
89
|
+
readonly contractVerify: "workspace-contract-verify.v1";
|
|
90
|
+
readonly readiness: "release-readiness-v1";
|
|
91
|
+
readonly verify: "workspace-verify.v1";
|
|
92
|
+
readonly history: "workspace-intelligence-history.v1";
|
|
93
|
+
readonly agentContext: "workspace-context.v1";
|
|
94
|
+
readonly agentIndex: "rapidkit-agent-reports-index.v1";
|
|
95
|
+
readonly agentCustomizationPack: "rapidkit-agent-customization-pack.v1";
|
|
96
|
+
readonly skillsIndex: "workspace-skills-index.v1";
|
|
97
|
+
readonly agents: null;
|
|
98
|
+
readonly explain: "workspace-explain.v1";
|
|
99
|
+
};
|
|
100
|
+
contractPath: string | null;
|
|
101
|
+
publication: "capability-contract" | "json-schema" | "embedded-type";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
25
104
|
|
|
105
|
+
declare const NPM_ONLY_SCOPED_COMMANDS: readonly (readonly string[])[];
|
|
106
|
+
declare const NPM_ONLY_TOP_LEVEL_COMMANDS: readonly string[];
|
|
26
107
|
declare function handleCreateOrFallback(args: string[]): Promise<number>;
|
|
27
|
-
declare const NPM_ONLY_TOP_LEVEL_COMMANDS: readonly ["analyze", "readiness", "doctor", "autopilot", "pipeline", "import", "adopt", "snapshot", "workspace", "bootstrap", "setup", "cache", "mirror", "ai", "config", "product", "infra", "shell", "commands"];
|
|
28
|
-
declare const NPM_ONLY_SCOPED_COMMANDS: readonly [readonly ["project", "commands"], readonly ["project", "archives"], readonly ["project", "archive"], readonly ["project", "restore"], readonly ["project", "delete"]];
|
|
29
108
|
declare const WRAPPER_ORCHESTRATED_PROJECT_COMMANDS: readonly ["init"];
|
|
30
109
|
declare function isNpmExecInvocation(env?: NodeJS.ProcessEnv): boolean;
|
|
31
|
-
declare const COMMAND_CAPABILITIES_SCHEMA_VERSION = "rapidkit-command-capabilities-v1";
|
|
32
|
-
declare const VERSION_CONTRACT_SCHEMA_VERSION = "rapidkit-version-v1";
|
|
33
110
|
|
|
34
111
|
declare function getVersionContract(): {
|
|
35
|
-
schemaVersion:
|
|
112
|
+
schemaVersion: "rapidkit-version-v1";
|
|
36
113
|
cli: string;
|
|
37
114
|
version: string;
|
|
38
115
|
node: string;
|
|
39
116
|
platform: NodeJS.Platform;
|
|
40
|
-
capabilitiesSchemaVersion:
|
|
117
|
+
capabilitiesSchemaVersion: "rapidkit-command-capabilities-v1";
|
|
41
118
|
contracts: {
|
|
119
|
+
autopilotRelease: "autopilot-release-v1";
|
|
120
|
+
workspaceList: "rapidkit-workspace-list-v1";
|
|
121
|
+
workspaceSync: "rapidkit-workspace-sync-v1";
|
|
122
|
+
compatibilityMatrix: "rapidkit.compatibility-matrix.v1";
|
|
123
|
+
mcpDesign: "workspai-mcp-design.v1";
|
|
124
|
+
agentHooks: "workspai-agent-hooks.v1";
|
|
125
|
+
projectArchive: "rapidkit-project-archive-v1";
|
|
126
|
+
workspaceSnapshot: "rapidkit-workspace-snapshot-v1";
|
|
127
|
+
workspaceSnapshotV2: "rapidkit-workspace-snapshot-v2";
|
|
128
|
+
infraPlan: "rapidkit.infra-plan.v1";
|
|
129
|
+
privateProductManifest: "rapidkit.private-product-manifest.v1";
|
|
130
|
+
productFactoryPlan: "rapidkit.product-factory-plan.v1";
|
|
131
|
+
workspaceModelCache: "workspace-model-cache.v1";
|
|
132
|
+
workspaceWatchEvent: "workspace-watch-event.v1";
|
|
133
|
+
doctorProjectScan: "doctor-project-scan-v2";
|
|
134
|
+
doctorWorkspaceCache: "doctor-workspace-cache-v2";
|
|
42
135
|
runtimeCommandSurface: string;
|
|
136
|
+
cliRuntimeCommandInventory: "workspai-cli-runtime-command-inventory-v1";
|
|
137
|
+
cliOperationResult: "workspai-cli-operation-result-v1";
|
|
138
|
+
publishedContractCatalog: "workspai-published-contract-catalog-v1";
|
|
139
|
+
workspaceArchiveCapabilities: "workspai-workspace-archive-capabilities-v1";
|
|
140
|
+
workspaceArchiveManifest: "workspai-workspace-archive-manifest-v1";
|
|
141
|
+
workspaceArchiveOperationResult: "workspai-workspace-archive-operation-result-v1";
|
|
142
|
+
projectEntryCapability: string;
|
|
143
|
+
workspaceIntelligenceArchitecture: string;
|
|
144
|
+
workspaceIntelligenceChain: "workspai-workspace-intelligence-chain-v1";
|
|
145
|
+
workspaceIntelligenceArtifacts: {
|
|
146
|
+
readonly model: "workspace-model.v1";
|
|
147
|
+
readonly snapshot: "workspace-model-snapshot.v1";
|
|
148
|
+
readonly diff: "workspace-model-diff.v1";
|
|
149
|
+
readonly impact: "workspace-impact.v1";
|
|
150
|
+
readonly analyze: "rapidkit-analyze-v1";
|
|
151
|
+
readonly doctor: "doctor-workspace-evidence-v1";
|
|
152
|
+
readonly contractVerify: "workspace-contract-verify.v1";
|
|
153
|
+
readonly readiness: "release-readiness-v1";
|
|
154
|
+
readonly verify: "workspace-verify.v1";
|
|
155
|
+
readonly history: "workspace-intelligence-history.v1";
|
|
156
|
+
readonly agentContext: "workspace-context.v1";
|
|
157
|
+
readonly agentIndex: "rapidkit-agent-reports-index.v1";
|
|
158
|
+
readonly agentCustomizationPack: "rapidkit-agent-customization-pack.v1";
|
|
159
|
+
readonly skillsIndex: "workspace-skills-index.v1";
|
|
160
|
+
readonly agents: null;
|
|
161
|
+
readonly explain: "workspace-explain.v1";
|
|
162
|
+
};
|
|
43
163
|
cliLogEvent: "cli-log-event-v1";
|
|
44
164
|
freshnessMetadata: "rapidkit-freshness-metadata-v1";
|
|
45
165
|
factFreshness: "rapidkit-fact-freshness-v1";
|
|
46
166
|
blockerResolution: "rapidkit-blocker-resolution-v1";
|
|
47
|
-
workspaceModel:
|
|
48
|
-
workspaceImpact:
|
|
49
|
-
workspaceVerify:
|
|
50
|
-
workspaceContext:
|
|
167
|
+
workspaceModel: "workspace-model.v1";
|
|
168
|
+
workspaceImpact: "workspace-impact.v1";
|
|
169
|
+
workspaceVerify: "workspace-verify.v1";
|
|
170
|
+
workspaceContext: "workspace-context.v1";
|
|
51
171
|
workspaceDependencyGraph: "workspace-dependency-graph.v1";
|
|
52
172
|
workspaceIntelligenceHistory: "workspace-intelligence-history.v1";
|
|
53
|
-
|
|
173
|
+
agentCustomizationPackCapabilities: "workspai-agent-customization-pack-capabilities.v1";
|
|
174
|
+
agentCustomizationPackReport: "rapidkit-agent-customization-pack.v1";
|
|
175
|
+
agentReportsIndex: "rapidkit-agent-reports-index.v1";
|
|
54
176
|
workspaceOperationalSkill: "workspace-operational-skill.v1";
|
|
55
177
|
workspaceSkillsIndex: "workspace-skills-index.v1";
|
|
56
178
|
workspaceExplain: "workspace-explain.v1";
|
|
@@ -59,26 +181,131 @@ declare function getVersionContract(): {
|
|
|
59
181
|
artifactRemediationPlan: "artifact-remediation-plan-v1";
|
|
60
182
|
doctorFixResult: "rapidkit-doctor-fix-result-v1";
|
|
61
183
|
};
|
|
184
|
+
contractCatalog: {
|
|
185
|
+
[k: string]: {
|
|
186
|
+
artifacts?: {
|
|
187
|
+
[k: string]: {
|
|
188
|
+
path: ".workspai/reports/workspace-model.json" | ".workspai/reports/workspace-model-snapshot.json" | ".workspai/reports/workspace-model-diff-last-run.json" | ".workspai/reports/workspace-impact-last-run.json" | ".workspai/reports/analyze-last-run.json" | ".workspai/reports/doctor-last-run.json" | ".workspai/reports/workspace-contract-verify-last-run.json" | ".workspai/reports/release-readiness-last-run.json" | ".workspai/reports/workspace-verify-last-run.json" | ".workspai/reports/workspace-intelligence-history.json" | ".workspai/reports/workspace-context-agent.json" | ".workspai/reports/INDEX.json" | ".workspai/reports/agent-customization-pack.json" | ".workspai/reports/workspace-skills-index.json" | "AGENTS.md" | ".workspai/reports/workspace-explain-last-run.json";
|
|
189
|
+
schemaVersion: "workspace-model.v1" | "workspace-model-snapshot.v1" | "workspace-model-diff.v1" | "workspace-impact.v1" | "rapidkit-analyze-v1" | "doctor-workspace-evidence-v1" | "workspace-contract-verify.v1" | "release-readiness-v1" | "workspace-verify.v1" | "workspace-intelligence-history.v1" | "workspace-context.v1" | "rapidkit-agent-reports-index.v1" | "rapidkit-agent-customization-pack.v1" | "workspace-skills-index.v1" | "workspace-explain.v1" | null;
|
|
190
|
+
contractPath: "contracts/workspace-intelligence/workspace-model.v1.json" | "contracts/workspace-intelligence/workspace-model-snapshot.v1.json" | "contracts/workspace-intelligence/workspace-model-diff.v1.json" | "contracts/workspace-intelligence/workspace-impact.v1.json" | "contracts/analyze-last-run.v1.json" | "contracts/doctor-workspace-evidence.v1.json" | "contracts/workspace-intelligence/workspace-contract-verify.v1.json" | "contracts/release-readiness.v1.json" | "contracts/workspace-intelligence/workspace-verify.v1.json" | "contracts/workspace-intelligence/workspace-intelligence-history.v1.json" | "contracts/workspace-intelligence/workspace-context.v1.json" | "contracts/workspace-intelligence/agent-reports-index.v1.json" | "contracts/workspace-intelligence/agent-customization-pack-report.v1.json" | "contracts/workspace-intelligence/workspace-skills-index.v1.json" | "contracts/workspace-intelligence/workspace-explain.v1.json" | null;
|
|
191
|
+
};
|
|
192
|
+
} | undefined;
|
|
193
|
+
schemaVersion: string | {
|
|
194
|
+
readonly model: "workspace-model.v1";
|
|
195
|
+
readonly snapshot: "workspace-model-snapshot.v1";
|
|
196
|
+
readonly diff: "workspace-model-diff.v1";
|
|
197
|
+
readonly impact: "workspace-impact.v1";
|
|
198
|
+
readonly analyze: "rapidkit-analyze-v1";
|
|
199
|
+
readonly doctor: "doctor-workspace-evidence-v1";
|
|
200
|
+
readonly contractVerify: "workspace-contract-verify.v1";
|
|
201
|
+
readonly readiness: "release-readiness-v1";
|
|
202
|
+
readonly verify: "workspace-verify.v1";
|
|
203
|
+
readonly history: "workspace-intelligence-history.v1";
|
|
204
|
+
readonly agentContext: "workspace-context.v1";
|
|
205
|
+
readonly agentIndex: "rapidkit-agent-reports-index.v1";
|
|
206
|
+
readonly agentCustomizationPack: "rapidkit-agent-customization-pack.v1";
|
|
207
|
+
readonly skillsIndex: "workspace-skills-index.v1";
|
|
208
|
+
readonly agents: null;
|
|
209
|
+
readonly explain: "workspace-explain.v1";
|
|
210
|
+
};
|
|
211
|
+
contractPath: string | null;
|
|
212
|
+
publication: "capability-contract" | "json-schema" | "embedded-type";
|
|
213
|
+
};
|
|
214
|
+
};
|
|
62
215
|
};
|
|
63
|
-
|
|
216
|
+
type RuntimeCommandInventoryPayload = {
|
|
64
217
|
schemaVersion: string;
|
|
218
|
+
commands: Array<{
|
|
219
|
+
path: string[];
|
|
220
|
+
command: string;
|
|
221
|
+
parent: string | null;
|
|
222
|
+
registrationKind: 'commander' | 'manual-handler';
|
|
223
|
+
aliases: string[];
|
|
224
|
+
description: string;
|
|
225
|
+
hidden: boolean;
|
|
226
|
+
arguments: Array<{
|
|
227
|
+
name: string;
|
|
228
|
+
required: boolean;
|
|
229
|
+
variadic: boolean;
|
|
230
|
+
}>;
|
|
231
|
+
options: Array<{
|
|
232
|
+
flags: string;
|
|
233
|
+
attributeName: string | null;
|
|
234
|
+
}>;
|
|
235
|
+
}>;
|
|
236
|
+
topLevelCommands: string[];
|
|
237
|
+
integrity: {
|
|
238
|
+
ok: boolean;
|
|
239
|
+
registeredButUndeclared: string[];
|
|
240
|
+
declaredButUnregistered: string[];
|
|
241
|
+
registeredScopedButUndeclared: string[];
|
|
242
|
+
declaredScopedButUnregistered: string[];
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
declare function getGlobalCommandCapabilities(): {
|
|
246
|
+
schemaVersion: "rapidkit-command-capabilities-v1";
|
|
65
247
|
scope: string;
|
|
66
248
|
cli: string;
|
|
67
249
|
version: string;
|
|
68
250
|
cwd: string;
|
|
69
251
|
contracts: {
|
|
252
|
+
autopilotRelease: "autopilot-release-v1";
|
|
253
|
+
workspaceList: "rapidkit-workspace-list-v1";
|
|
254
|
+
workspaceSync: "rapidkit-workspace-sync-v1";
|
|
255
|
+
compatibilityMatrix: "rapidkit.compatibility-matrix.v1";
|
|
256
|
+
mcpDesign: "workspai-mcp-design.v1";
|
|
257
|
+
agentHooks: "workspai-agent-hooks.v1";
|
|
258
|
+
projectArchive: "rapidkit-project-archive-v1";
|
|
259
|
+
workspaceSnapshot: "rapidkit-workspace-snapshot-v1";
|
|
260
|
+
workspaceSnapshotV2: "rapidkit-workspace-snapshot-v2";
|
|
261
|
+
infraPlan: "rapidkit.infra-plan.v1";
|
|
262
|
+
privateProductManifest: "rapidkit.private-product-manifest.v1";
|
|
263
|
+
productFactoryPlan: "rapidkit.product-factory-plan.v1";
|
|
264
|
+
workspaceModelCache: "workspace-model-cache.v1";
|
|
265
|
+
workspaceWatchEvent: "workspace-watch-event.v1";
|
|
266
|
+
doctorProjectScan: "doctor-project-scan-v2";
|
|
267
|
+
doctorWorkspaceCache: "doctor-workspace-cache-v2";
|
|
70
268
|
runtimeCommandSurface: string;
|
|
269
|
+
cliRuntimeCommandInventory: "workspai-cli-runtime-command-inventory-v1";
|
|
270
|
+
cliOperationResult: "workspai-cli-operation-result-v1";
|
|
271
|
+
publishedContractCatalog: "workspai-published-contract-catalog-v1";
|
|
272
|
+
workspaceArchiveCapabilities: "workspai-workspace-archive-capabilities-v1";
|
|
273
|
+
workspaceArchiveManifest: "workspai-workspace-archive-manifest-v1";
|
|
274
|
+
workspaceArchiveOperationResult: "workspai-workspace-archive-operation-result-v1";
|
|
275
|
+
projectEntryCapability: string;
|
|
276
|
+
workspaceIntelligenceArchitecture: string;
|
|
277
|
+
workspaceIntelligenceChain: "workspai-workspace-intelligence-chain-v1";
|
|
278
|
+
workspaceIntelligenceArtifacts: {
|
|
279
|
+
readonly model: "workspace-model.v1";
|
|
280
|
+
readonly snapshot: "workspace-model-snapshot.v1";
|
|
281
|
+
readonly diff: "workspace-model-diff.v1";
|
|
282
|
+
readonly impact: "workspace-impact.v1";
|
|
283
|
+
readonly analyze: "rapidkit-analyze-v1";
|
|
284
|
+
readonly doctor: "doctor-workspace-evidence-v1";
|
|
285
|
+
readonly contractVerify: "workspace-contract-verify.v1";
|
|
286
|
+
readonly readiness: "release-readiness-v1";
|
|
287
|
+
readonly verify: "workspace-verify.v1";
|
|
288
|
+
readonly history: "workspace-intelligence-history.v1";
|
|
289
|
+
readonly agentContext: "workspace-context.v1";
|
|
290
|
+
readonly agentIndex: "rapidkit-agent-reports-index.v1";
|
|
291
|
+
readonly agentCustomizationPack: "rapidkit-agent-customization-pack.v1";
|
|
292
|
+
readonly skillsIndex: "workspace-skills-index.v1";
|
|
293
|
+
readonly agents: null;
|
|
294
|
+
readonly explain: "workspace-explain.v1";
|
|
295
|
+
};
|
|
71
296
|
cliLogEvent: "cli-log-event-v1";
|
|
72
297
|
freshnessMetadata: "rapidkit-freshness-metadata-v1";
|
|
73
298
|
factFreshness: "rapidkit-fact-freshness-v1";
|
|
74
299
|
blockerResolution: "rapidkit-blocker-resolution-v1";
|
|
75
|
-
workspaceModel:
|
|
76
|
-
workspaceImpact:
|
|
77
|
-
workspaceVerify:
|
|
78
|
-
workspaceContext:
|
|
300
|
+
workspaceModel: "workspace-model.v1";
|
|
301
|
+
workspaceImpact: "workspace-impact.v1";
|
|
302
|
+
workspaceVerify: "workspace-verify.v1";
|
|
303
|
+
workspaceContext: "workspace-context.v1";
|
|
79
304
|
workspaceDependencyGraph: "workspace-dependency-graph.v1";
|
|
80
305
|
workspaceIntelligenceHistory: "workspace-intelligence-history.v1";
|
|
81
|
-
|
|
306
|
+
agentCustomizationPackCapabilities: "workspai-agent-customization-pack-capabilities.v1";
|
|
307
|
+
agentCustomizationPackReport: "rapidkit-agent-customization-pack.v1";
|
|
308
|
+
agentReportsIndex: "rapidkit-agent-reports-index.v1";
|
|
82
309
|
workspaceOperationalSkill: "workspace-operational-skill.v1";
|
|
83
310
|
workspaceSkillsIndex: "workspace-skills-index.v1";
|
|
84
311
|
workspaceExplain: "workspace-explain.v1";
|
|
@@ -87,6 +314,37 @@ declare function getGlobalCommandCapabilities(): {
|
|
|
87
314
|
artifactRemediationPlan: "artifact-remediation-plan-v1";
|
|
88
315
|
doctorFixResult: "rapidkit-doctor-fix-result-v1";
|
|
89
316
|
};
|
|
317
|
+
contractCatalog: {
|
|
318
|
+
[k: string]: {
|
|
319
|
+
artifacts?: {
|
|
320
|
+
[k: string]: {
|
|
321
|
+
path: ".workspai/reports/workspace-model.json" | ".workspai/reports/workspace-model-snapshot.json" | ".workspai/reports/workspace-model-diff-last-run.json" | ".workspai/reports/workspace-impact-last-run.json" | ".workspai/reports/analyze-last-run.json" | ".workspai/reports/doctor-last-run.json" | ".workspai/reports/workspace-contract-verify-last-run.json" | ".workspai/reports/release-readiness-last-run.json" | ".workspai/reports/workspace-verify-last-run.json" | ".workspai/reports/workspace-intelligence-history.json" | ".workspai/reports/workspace-context-agent.json" | ".workspai/reports/INDEX.json" | ".workspai/reports/agent-customization-pack.json" | ".workspai/reports/workspace-skills-index.json" | "AGENTS.md" | ".workspai/reports/workspace-explain-last-run.json";
|
|
322
|
+
schemaVersion: "workspace-model.v1" | "workspace-model-snapshot.v1" | "workspace-model-diff.v1" | "workspace-impact.v1" | "rapidkit-analyze-v1" | "doctor-workspace-evidence-v1" | "workspace-contract-verify.v1" | "release-readiness-v1" | "workspace-verify.v1" | "workspace-intelligence-history.v1" | "workspace-context.v1" | "rapidkit-agent-reports-index.v1" | "rapidkit-agent-customization-pack.v1" | "workspace-skills-index.v1" | "workspace-explain.v1" | null;
|
|
323
|
+
contractPath: "contracts/workspace-intelligence/workspace-model.v1.json" | "contracts/workspace-intelligence/workspace-model-snapshot.v1.json" | "contracts/workspace-intelligence/workspace-model-diff.v1.json" | "contracts/workspace-intelligence/workspace-impact.v1.json" | "contracts/analyze-last-run.v1.json" | "contracts/doctor-workspace-evidence.v1.json" | "contracts/workspace-intelligence/workspace-contract-verify.v1.json" | "contracts/release-readiness.v1.json" | "contracts/workspace-intelligence/workspace-verify.v1.json" | "contracts/workspace-intelligence/workspace-intelligence-history.v1.json" | "contracts/workspace-intelligence/workspace-context.v1.json" | "contracts/workspace-intelligence/agent-reports-index.v1.json" | "contracts/workspace-intelligence/agent-customization-pack-report.v1.json" | "contracts/workspace-intelligence/workspace-skills-index.v1.json" | "contracts/workspace-intelligence/workspace-explain.v1.json" | null;
|
|
324
|
+
};
|
|
325
|
+
} | undefined;
|
|
326
|
+
schemaVersion: string | {
|
|
327
|
+
readonly model: "workspace-model.v1";
|
|
328
|
+
readonly snapshot: "workspace-model-snapshot.v1";
|
|
329
|
+
readonly diff: "workspace-model-diff.v1";
|
|
330
|
+
readonly impact: "workspace-impact.v1";
|
|
331
|
+
readonly analyze: "rapidkit-analyze-v1";
|
|
332
|
+
readonly doctor: "doctor-workspace-evidence-v1";
|
|
333
|
+
readonly contractVerify: "workspace-contract-verify.v1";
|
|
334
|
+
readonly readiness: "release-readiness-v1";
|
|
335
|
+
readonly verify: "workspace-verify.v1";
|
|
336
|
+
readonly history: "workspace-intelligence-history.v1";
|
|
337
|
+
readonly agentContext: "workspace-context.v1";
|
|
338
|
+
readonly agentIndex: "rapidkit-agent-reports-index.v1";
|
|
339
|
+
readonly agentCustomizationPack: "rapidkit-agent-customization-pack.v1";
|
|
340
|
+
readonly skillsIndex: "workspace-skills-index.v1";
|
|
341
|
+
readonly agents: null;
|
|
342
|
+
readonly explain: "workspace-explain.v1";
|
|
343
|
+
};
|
|
344
|
+
contractPath: string | null;
|
|
345
|
+
publication: "capability-contract" | "json-schema" | "embedded-type";
|
|
346
|
+
};
|
|
347
|
+
};
|
|
90
348
|
commands: {
|
|
91
349
|
npmOwned: string[];
|
|
92
350
|
coreBacked: string[];
|
|
@@ -94,10 +352,11 @@ declare function getGlobalCommandCapabilities(): {
|
|
|
94
352
|
};
|
|
95
353
|
workspace: {
|
|
96
354
|
command: string;
|
|
97
|
-
subcommands: ("
|
|
98
|
-
intelligenceSubcommands: ("snapshot" | "
|
|
355
|
+
subcommands: ("archive" | "snapshot" | "list" | "import" | "init" | "model" | "diff" | "impact" | "verify" | "explain" | "sync" | "registry" | "foundation" | "graph" | "watch" | "context" | "agent-sync" | "remediation-plan" | "why" | "trace" | "feedback" | "mcp" | "policy" | "contract" | "share" | "export" | "hydrate" | "run")[];
|
|
356
|
+
intelligenceSubcommands: ("snapshot" | "model" | "diff" | "impact" | "verify" | "explain" | "graph" | "watch" | "context" | "agent-sync" | "remediation-plan" | "why" | "trace" | "feedback" | "mcp" | "contract")[];
|
|
99
357
|
};
|
|
100
358
|
commandMap: any;
|
|
359
|
+
runtimeInventory: RuntimeCommandInventoryPayload;
|
|
101
360
|
};
|
|
102
361
|
interface DoctorWorkspaceShadowDiagnostic {
|
|
103
362
|
detected: boolean;
|
|
@@ -138,4 +397,4 @@ declare function handleMirrorCommand(args: string[]): Promise<number>;
|
|
|
138
397
|
declare function handleInitCommand(args: string[]): Promise<number>;
|
|
139
398
|
declare function shouldForwardToCore(args: string[]): Promise<boolean>;
|
|
140
399
|
|
|
141
|
-
export { COMMAND_CAPABILITIES_SCHEMA_VERSION, type DoctorWorkspaceShadowDiagnostic, NPM_ONLY_SCOPED_COMMANDS, NPM_ONLY_TOP_LEVEL_COMMANDS, PROJECT_COMMANDS_CORE_FALLBACK, VERSION_CONTRACT_SCHEMA_VERSION, WRAPPER_ORCHESTRATED_PROJECT_COMMANDS, detectWindowsDoctorWorkspaceShadow, getGlobalCommandCapabilities, getPublishedContractVersions, getVersionContract, handleAdoptCommand, handleBootstrapCommand, handleCacheCommand, handleCreateOrFallback, handleImportCommand, handleInitCommand, handleMirrorCommand, handleSetupCommand, installWorkspaceDependencies, isNpmExecInvocation, shouldForwardToCore };
|
|
400
|
+
export { COMMAND_CAPABILITIES_SCHEMA_VERSION, type DoctorWorkspaceShadowDiagnostic, NPM_ONLY_SCOPED_COMMANDS, NPM_ONLY_TOP_LEVEL_COMMANDS, PROJECT_COMMANDS_CORE_FALLBACK, VERSION_CONTRACT_SCHEMA_VERSION, WRAPPER_ORCHESTRATED_PROJECT_COMMANDS, detectWindowsDoctorWorkspaceShadow, getGlobalCommandCapabilities, getPublishedContractCatalog, getPublishedContractVersions, getVersionContract, handleAdoptCommand, handleBootstrapCommand, handleCacheCommand, handleCreateOrFallback, handleImportCommand, handleInitCommand, handleMirrorCommand, handleSetupCommand, installWorkspaceDependencies, isNpmExecInvocation, shouldForwardToCore };
|