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
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"schemaVersion",
|
|
6
|
+
"name",
|
|
7
|
+
"path",
|
|
8
|
+
"venvActive",
|
|
9
|
+
"depsInstalled",
|
|
10
|
+
"coreInstalled",
|
|
11
|
+
"issues"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"schemaVersion": {
|
|
15
|
+
"const": "doctor-project-scan-v2"
|
|
16
|
+
},
|
|
17
|
+
"name": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
"path": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1
|
|
24
|
+
},
|
|
25
|
+
"venvActive": {
|
|
26
|
+
"type": "boolean"
|
|
27
|
+
},
|
|
28
|
+
"depsInstalled": {
|
|
29
|
+
"type": "boolean"
|
|
30
|
+
},
|
|
31
|
+
"coreInstalled": {
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
},
|
|
34
|
+
"issues": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"fixCommands": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"runtimeFamily": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"projectKind": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"probes": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "object"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": true
|
|
60
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://rapidkit.dev/contracts/doctor-remediation-plan.v1.json",
|
|
4
|
-
"title": "RapidKit Doctor Remediation Plan",
|
|
4
|
+
"title": "RapidKit Doctor Remediation Plan v2 Legacy Path Alias",
|
|
5
|
+
"description": "Deprecated compatibility path. New consumers must resolve contracts/doctor-remediation-plan.v2.json.",
|
|
5
6
|
"type": "object",
|
|
6
7
|
"additionalProperties": false,
|
|
7
8
|
"required": [
|
|
@@ -142,7 +143,15 @@
|
|
|
142
143
|
"repairIntent": {
|
|
143
144
|
"type": "object",
|
|
144
145
|
"additionalProperties": false,
|
|
145
|
-
"required": [
|
|
146
|
+
"required": [
|
|
147
|
+
"mode",
|
|
148
|
+
"confidence",
|
|
149
|
+
"primaryActionLabel",
|
|
150
|
+
"requiresApproval",
|
|
151
|
+
"requiresFreshEvidence",
|
|
152
|
+
"reason",
|
|
153
|
+
"relatedCommands"
|
|
154
|
+
],
|
|
146
155
|
"properties": {
|
|
147
156
|
"mode": {
|
|
148
157
|
"enum": [
|
|
@@ -155,7 +164,7 @@
|
|
|
155
164
|
"manual-guidance"
|
|
156
165
|
]
|
|
157
166
|
},
|
|
158
|
-
"
|
|
167
|
+
"primaryActionLabel": {
|
|
159
168
|
"type": "string"
|
|
160
169
|
},
|
|
161
170
|
"requiresApproval": {
|
|
@@ -164,7 +173,13 @@
|
|
|
164
173
|
"confidence": {
|
|
165
174
|
"enum": ["high", "medium", "low"]
|
|
166
175
|
},
|
|
167
|
-
"
|
|
176
|
+
"requiresFreshEvidence": {
|
|
177
|
+
"type": "boolean"
|
|
178
|
+
},
|
|
179
|
+
"reason": {
|
|
180
|
+
"type": "string"
|
|
181
|
+
},
|
|
182
|
+
"relatedCommands": {
|
|
168
183
|
"type": "array",
|
|
169
184
|
"items": {
|
|
170
185
|
"type": "string"
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://rapidkit.dev/contracts/doctor-remediation-plan.v2.json",
|
|
4
|
+
"title": "RapidKit Doctor Remediation Plan v2",
|
|
5
|
+
"description": "Canonical v2 contract. The referenced v1 path is retained as a deprecated compatibility alias.",
|
|
6
|
+
"$ref": "doctor-remediation-plan.v1.json"
|
|
7
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"schemaVersion",
|
|
6
|
+
"signature",
|
|
7
|
+
"generatedAt",
|
|
8
|
+
"projects"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"schemaVersion": {
|
|
12
|
+
"const": "doctor-workspace-cache-v2"
|
|
13
|
+
},
|
|
14
|
+
"signature": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1
|
|
17
|
+
},
|
|
18
|
+
"generatedAt": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"format": "date-time"
|
|
21
|
+
},
|
|
22
|
+
"projects": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"required": [
|
|
27
|
+
"name",
|
|
28
|
+
"path",
|
|
29
|
+
"venvActive",
|
|
30
|
+
"depsInstalled",
|
|
31
|
+
"coreInstalled",
|
|
32
|
+
"issues"
|
|
33
|
+
],
|
|
34
|
+
"properties": {
|
|
35
|
+
"name": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 1
|
|
38
|
+
},
|
|
39
|
+
"path": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"minLength": 1
|
|
42
|
+
},
|
|
43
|
+
"venvActive": {
|
|
44
|
+
"type": "boolean"
|
|
45
|
+
},
|
|
46
|
+
"depsInstalled": {
|
|
47
|
+
"type": "boolean"
|
|
48
|
+
},
|
|
49
|
+
"coreInstalled": {
|
|
50
|
+
"type": "boolean"
|
|
51
|
+
},
|
|
52
|
+
"issues": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"fixCommands": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"runtimeFamily": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"projectKind": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"probes": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "object"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"additionalProperties": true
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": true
|
|
82
|
+
}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "rapidkit-extension-cli-compatibility.v1",
|
|
3
3
|
"cli": "workspai",
|
|
4
|
-
"minimumVerifiedCliVersion": "0.
|
|
4
|
+
"minimumVerifiedCliVersion": "0.45.0",
|
|
5
5
|
"publishedContractSchemas": {
|
|
6
6
|
"runtimeCommandSurface": "rapidkit-runtime-command-surface-v1",
|
|
7
|
+
"cliRuntimeCommandInventory": "workspai-cli-runtime-command-inventory-v1",
|
|
8
|
+
"cliOperationResult": "workspai-cli-operation-result-v1",
|
|
9
|
+
"publishedContractCatalog": "workspai-published-contract-catalog-v1",
|
|
10
|
+
"workspaceArchiveCapabilities": "workspai-workspace-archive-capabilities-v1",
|
|
11
|
+
"workspaceArchiveManifest": "workspai-workspace-archive-manifest-v1",
|
|
12
|
+
"workspaceArchiveOperationResult": "workspai-workspace-archive-operation-result-v1",
|
|
13
|
+
"projectEntryCapability": "workspai-project-entry-capability-v1",
|
|
14
|
+
"workspaceIntelligenceArchitecture": "workspai-workspace-intelligence-architecture-v1",
|
|
15
|
+
"workspaceIntelligenceChain": "workspai-workspace-intelligence-chain-v1",
|
|
16
|
+
"workspaceIntelligenceArtifacts": {
|
|
17
|
+
"model": "workspace-model.v1",
|
|
18
|
+
"snapshot": "workspace-model-snapshot.v1",
|
|
19
|
+
"diff": "workspace-model-diff.v1",
|
|
20
|
+
"impact": "workspace-impact.v1",
|
|
21
|
+
"analyze": "rapidkit-analyze-v1",
|
|
22
|
+
"doctor": "doctor-workspace-evidence-v1",
|
|
23
|
+
"contractVerify": "workspace-contract-verify.v1",
|
|
24
|
+
"readiness": "release-readiness-v1",
|
|
25
|
+
"verify": "workspace-verify.v1",
|
|
26
|
+
"history": "workspace-intelligence-history.v1",
|
|
27
|
+
"agentContext": "workspace-context.v1",
|
|
28
|
+
"agentIndex": "rapidkit-agent-reports-index.v1",
|
|
29
|
+
"agentCustomizationPack": "rapidkit-agent-customization-pack.v1",
|
|
30
|
+
"skillsIndex": "workspace-skills-index.v1",
|
|
31
|
+
"agents": null,
|
|
32
|
+
"explain": "workspace-explain.v1"
|
|
33
|
+
},
|
|
7
34
|
"cliLogEvent": "cli-log-event-v1",
|
|
8
35
|
"freshnessMetadata": "rapidkit-freshness-metadata-v1",
|
|
9
36
|
"factFreshness": "rapidkit-fact-freshness-v1",
|
|
@@ -14,13 +41,31 @@
|
|
|
14
41
|
"workspaceContext": "workspace-context.v1",
|
|
15
42
|
"workspaceDependencyGraph": "workspace-dependency-graph.v1",
|
|
16
43
|
"workspaceIntelligenceHistory": "workspace-intelligence-history.v1",
|
|
17
|
-
"
|
|
44
|
+
"agentCustomizationPackCapabilities": "workspai-agent-customization-pack-capabilities.v1",
|
|
45
|
+
"agentCustomizationPackReport": "rapidkit-agent-customization-pack.v1",
|
|
46
|
+
"agentReportsIndex": "rapidkit-agent-reports-index.v1",
|
|
18
47
|
"workspaceOperationalSkill": "workspace-operational-skill.v1",
|
|
19
48
|
"workspaceSkillsIndex": "workspace-skills-index.v1",
|
|
20
49
|
"workspaceExplain": "workspace-explain.v1",
|
|
21
50
|
"agentActionOutcome": "agent-action-outcome.v1",
|
|
22
51
|
"doctorRemediationPlan": "doctor-remediation-plan-v2",
|
|
23
52
|
"artifactRemediationPlan": "artifact-remediation-plan-v1",
|
|
24
|
-
"doctorFixResult": "rapidkit-doctor-fix-result-v1"
|
|
53
|
+
"doctorFixResult": "rapidkit-doctor-fix-result-v1",
|
|
54
|
+
"autopilotRelease": "autopilot-release-v1",
|
|
55
|
+
"workspaceList": "rapidkit-workspace-list-v1",
|
|
56
|
+
"workspaceSync": "rapidkit-workspace-sync-v1",
|
|
57
|
+
"compatibilityMatrix": "rapidkit.compatibility-matrix.v1",
|
|
58
|
+
"mcpDesign": "workspai-mcp-design.v1",
|
|
59
|
+
"agentHooks": "workspai-agent-hooks.v1",
|
|
60
|
+
"projectArchive": "rapidkit-project-archive-v1",
|
|
61
|
+
"workspaceSnapshot": "rapidkit-workspace-snapshot-v1",
|
|
62
|
+
"workspaceSnapshotV2": "rapidkit-workspace-snapshot-v2",
|
|
63
|
+
"infraPlan": "rapidkit.infra-plan.v1",
|
|
64
|
+
"privateProductManifest": "rapidkit.private-product-manifest.v1",
|
|
65
|
+
"productFactoryPlan": "rapidkit.product-factory-plan.v1",
|
|
66
|
+
"workspaceModelCache": "workspace-model-cache.v1",
|
|
67
|
+
"workspaceWatchEvent": "workspace-watch-event.v1",
|
|
68
|
+
"doctorProjectScan": "doctor-project-scan-v2",
|
|
69
|
+
"doctorWorkspaceCache": "doctor-workspace-cache-v2"
|
|
25
70
|
}
|
|
26
71
|
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"schemaVersion",
|
|
6
|
+
"generatedAt",
|
|
7
|
+
"workspacePath",
|
|
8
|
+
"strategy",
|
|
9
|
+
"composePath",
|
|
10
|
+
"envExamplePath",
|
|
11
|
+
"services",
|
|
12
|
+
"connectionEnv",
|
|
13
|
+
"sources",
|
|
14
|
+
"warnings"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schemaVersion": {
|
|
18
|
+
"const": "rapidkit.infra-plan.v1"
|
|
19
|
+
},
|
|
20
|
+
"generatedAt": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "date-time"
|
|
23
|
+
},
|
|
24
|
+
"workspacePath": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 1
|
|
27
|
+
},
|
|
28
|
+
"workspaceName": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
},
|
|
32
|
+
"contractPath": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"minLength": 1
|
|
35
|
+
},
|
|
36
|
+
"strategy": {
|
|
37
|
+
"const": "sidecar"
|
|
38
|
+
},
|
|
39
|
+
"composePath": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"minLength": 1
|
|
42
|
+
},
|
|
43
|
+
"envExamplePath": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1
|
|
46
|
+
},
|
|
47
|
+
"services": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"required": [
|
|
52
|
+
"id",
|
|
53
|
+
"displayName",
|
|
54
|
+
"category",
|
|
55
|
+
"image",
|
|
56
|
+
"ports",
|
|
57
|
+
"sources"
|
|
58
|
+
],
|
|
59
|
+
"properties": {
|
|
60
|
+
"id": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1
|
|
63
|
+
},
|
|
64
|
+
"displayName": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1
|
|
67
|
+
},
|
|
68
|
+
"category": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"minLength": 1
|
|
71
|
+
},
|
|
72
|
+
"image": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"minLength": 1
|
|
75
|
+
},
|
|
76
|
+
"ports": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"required": [
|
|
81
|
+
"name",
|
|
82
|
+
"host",
|
|
83
|
+
"container"
|
|
84
|
+
],
|
|
85
|
+
"properties": {
|
|
86
|
+
"name": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"minLength": 1
|
|
89
|
+
},
|
|
90
|
+
"host": {
|
|
91
|
+
"type": "integer",
|
|
92
|
+
"minimum": 1,
|
|
93
|
+
"maximum": 65535
|
|
94
|
+
},
|
|
95
|
+
"container": {
|
|
96
|
+
"type": "integer",
|
|
97
|
+
"minimum": 1,
|
|
98
|
+
"maximum": 65535
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"additionalProperties": false
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"sources": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"required": [
|
|
109
|
+
"kind",
|
|
110
|
+
"value"
|
|
111
|
+
],
|
|
112
|
+
"properties": {
|
|
113
|
+
"kind": {
|
|
114
|
+
"enum": [
|
|
115
|
+
"module",
|
|
116
|
+
"env-var",
|
|
117
|
+
"override",
|
|
118
|
+
"contract-env"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"value": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"minLength": 1
|
|
124
|
+
},
|
|
125
|
+
"project": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"minLength": 1
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"additionalProperties": false
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"additionalProperties": false
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"connectionEnv": {
|
|
138
|
+
"type": "object",
|
|
139
|
+
"additionalProperties": {
|
|
140
|
+
"type": "string"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"sources": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"required": [
|
|
146
|
+
"modules",
|
|
147
|
+
"envVars",
|
|
148
|
+
"overrides"
|
|
149
|
+
],
|
|
150
|
+
"properties": {
|
|
151
|
+
"modules": {
|
|
152
|
+
"type": "array",
|
|
153
|
+
"items": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"envVars": {
|
|
158
|
+
"type": "array",
|
|
159
|
+
"items": {
|
|
160
|
+
"type": "string"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"overrides": {
|
|
164
|
+
"type": "array",
|
|
165
|
+
"items": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"additionalProperties": false
|
|
171
|
+
},
|
|
172
|
+
"warnings": {
|
|
173
|
+
"type": "array",
|
|
174
|
+
"items": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"serviceEnvOverrides": {
|
|
179
|
+
"type": "object",
|
|
180
|
+
"additionalProperties": {
|
|
181
|
+
"type": "object",
|
|
182
|
+
"additionalProperties": {
|
|
183
|
+
"type": "string"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"additionalProperties": true
|
|
189
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"schemaVersion",
|
|
6
|
+
"generatedAt",
|
|
7
|
+
"product",
|
|
8
|
+
"workspace",
|
|
9
|
+
"projects",
|
|
10
|
+
"factory"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"schemaVersion": {
|
|
14
|
+
"const": "rapidkit.private-product-manifest.v1"
|
|
15
|
+
},
|
|
16
|
+
"generatedAt": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "date-time"
|
|
19
|
+
},
|
|
20
|
+
"product": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"required": [
|
|
23
|
+
"rank",
|
|
24
|
+
"slug",
|
|
25
|
+
"title",
|
|
26
|
+
"category",
|
|
27
|
+
"tier",
|
|
28
|
+
"summary"
|
|
29
|
+
],
|
|
30
|
+
"properties": {
|
|
31
|
+
"rank": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
34
|
+
"slug": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1
|
|
37
|
+
},
|
|
38
|
+
"title": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1
|
|
41
|
+
},
|
|
42
|
+
"category": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"minLength": 1
|
|
45
|
+
},
|
|
46
|
+
"tier": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"minLength": 1
|
|
49
|
+
},
|
|
50
|
+
"summary": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
},
|
|
56
|
+
"workspace": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"required": [
|
|
59
|
+
"name",
|
|
60
|
+
"profile",
|
|
61
|
+
"outputHint"
|
|
62
|
+
],
|
|
63
|
+
"properties": {
|
|
64
|
+
"name": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1
|
|
67
|
+
},
|
|
68
|
+
"profile": {
|
|
69
|
+
"const": "enterprise"
|
|
70
|
+
},
|
|
71
|
+
"outputHint": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"minLength": 1
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"additionalProperties": false
|
|
77
|
+
},
|
|
78
|
+
"projects": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"minItems": 1,
|
|
81
|
+
"maxItems": 1,
|
|
82
|
+
"items": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"required": [
|
|
85
|
+
"slug",
|
|
86
|
+
"kit",
|
|
87
|
+
"runtime",
|
|
88
|
+
"framework",
|
|
89
|
+
"modules",
|
|
90
|
+
"moduleGaps"
|
|
91
|
+
],
|
|
92
|
+
"properties": {
|
|
93
|
+
"slug": {
|
|
94
|
+
"const": "api"
|
|
95
|
+
},
|
|
96
|
+
"kit": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"minLength": 1
|
|
99
|
+
},
|
|
100
|
+
"runtime": {
|
|
101
|
+
"const": "python"
|
|
102
|
+
},
|
|
103
|
+
"framework": {
|
|
104
|
+
"const": "fastapi"
|
|
105
|
+
},
|
|
106
|
+
"modules": {
|
|
107
|
+
"type": "array",
|
|
108
|
+
"items": {
|
|
109
|
+
"type": "string"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"moduleGaps": {
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"additionalProperties": false
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"factory": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"required": [
|
|
125
|
+
"sourceBacklogPath",
|
|
126
|
+
"manifestChecksum",
|
|
127
|
+
"requiredCommands",
|
|
128
|
+
"releaseEvidencePath"
|
|
129
|
+
],
|
|
130
|
+
"properties": {
|
|
131
|
+
"sourceBacklogPath": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 1
|
|
134
|
+
},
|
|
135
|
+
"manifestChecksum": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
138
|
+
},
|
|
139
|
+
"requiredCommands": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"minLength": 1
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"releaseEvidencePath": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"minLength": 1
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"additionalProperties": false
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"additionalProperties": true
|
|
155
|
+
}
|