workspai 0.49.0 → 0.51.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.
Files changed (257) hide show
  1. package/README.md +123 -434
  2. package/contracts/analyze-last-run.v1.json +2 -2
  3. package/contracts/artifact-remediation-plan.v1.json +3 -9
  4. package/contracts/autopilot-release.v1.json +2 -0
  5. package/contracts/bootstrap-compliance.v1.json +2 -1
  6. package/contracts/cli-log-event.v1.json +1 -1
  7. package/contracts/cli-runtime-command-inventory.v1.snapshot.json +80 -0
  8. package/contracts/compatibility-matrix.v1.json +2 -0
  9. package/contracts/create-planner-capabilities.v1.json +153 -32
  10. package/contracts/doctor-project-evidence.v1.json +191 -11
  11. package/contracts/doctor-project-scan.v2.json +2 -0
  12. package/contracts/doctor-remediation-plan.v1.json +2 -2
  13. package/contracts/doctor-remediation-plan.v2.json +2 -2
  14. package/contracts/doctor-workspace-cache.v2.json +2 -0
  15. package/contracts/doctor-workspace-evidence.v1.json +189 -10
  16. package/contracts/extension-cli-compatibility.v1.json +10 -1
  17. package/contracts/infra-plan.v1.json +2 -0
  18. package/contracts/ingestion-plan.v1.json +85 -0
  19. package/contracts/ingestion-result.v1.json +59 -0
  20. package/contracts/mirror-ops.v1.json +2 -1
  21. package/contracts/pipeline-last-run.v1.json +2 -2
  22. package/contracts/private-product-manifest.v1.json +2 -0
  23. package/contracts/product-factory-plan.v1.json +2 -0
  24. package/contracts/project-archive.v1.json +2 -0
  25. package/contracts/project-entry-capability.v1.json +2 -3
  26. package/contracts/project-test-coverage.v1.json +189 -0
  27. package/contracts/project-workspace-link.v1.json +66 -0
  28. package/contracts/project-workspace-resolution.v1.json +28 -0
  29. package/contracts/published-contract-catalog.v1.json +45 -0
  30. package/contracts/release-readiness.v1.json +2 -2
  31. package/contracts/runtime-command-surface.v1.json +1456 -139
  32. package/contracts/transparency-evidence.v1.json +2 -1
  33. package/contracts/workspace-archive-capabilities.v1.json +11 -5
  34. package/contracts/workspace-archive-manifest.v1.json +236 -0
  35. package/contracts/workspace-archive-operation-result.v1.json +236 -0
  36. package/contracts/workspace-contract.v1.json +1 -1
  37. package/contracts/workspace-intelligence/agent-action-outcome.v1.json +2 -2
  38. package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +1 -1
  39. package/contracts/workspace-intelligence/agent-hooks.v1.json +2 -0
  40. package/contracts/workspace-intelligence/agent-reports-index.v1.json +1 -1
  41. package/contracts/workspace-intelligence/blocker-resolution.v1.json +3 -9
  42. package/contracts/workspace-intelligence/doctor-fix-result.v1.json +2 -2
  43. package/contracts/workspace-intelligence/doctor-graph-diagnosis.v1.json +208 -0
  44. package/contracts/workspace-intelligence/fact-freshness.v1.json +2 -2
  45. package/contracts/workspace-intelligence/mcp-design.v1.json +2 -0
  46. package/contracts/workspace-intelligence/model-usage-event.v1.json +1 -1
  47. package/contracts/workspace-intelligence/project-context-agent.v1.json +360 -0
  48. package/contracts/workspace-intelligence/studio-blocker-handoff.v1.json +1 -1
  49. package/contracts/workspace-intelligence/workspace-context.v1.json +1 -1
  50. package/contracts/workspace-intelligence/workspace-contract-verify.v1.json +2 -2
  51. package/contracts/workspace-intelligence/workspace-dependency-graph.v1.json +1 -1
  52. package/contracts/workspace-intelligence/workspace-explain.v1.json +1 -1
  53. package/contracts/workspace-intelligence/workspace-graph-stream.v1.json +1 -1
  54. package/contracts/workspace-intelligence/workspace-graph-token-efficiency.v1.json +1 -1
  55. package/contracts/workspace-intelligence/workspace-impact.v1.json +1 -1
  56. package/contracts/workspace-intelligence/workspace-intelligence-evaluation-comparison.v1.json +1 -1
  57. package/contracts/workspace-intelligence/workspace-intelligence-evaluation.v1.json +1 -1
  58. package/contracts/workspace-intelligence/workspace-intelligence-history.v1.json +1 -1
  59. package/contracts/workspace-intelligence/workspace-intelligence-run.v1.json +2 -2
  60. package/contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json +1 -1
  61. package/contracts/workspace-intelligence/workspace-knowledge-graph.v1.json +48 -5
  62. package/contracts/workspace-intelligence/workspace-knowledge-search.v1.json +1 -1
  63. package/contracts/workspace-intelligence/workspace-model-diff.v1.json +1 -1
  64. package/contracts/workspace-intelligence/workspace-model-snapshot.v1.json +1 -1
  65. package/contracts/workspace-intelligence/workspace-model.v1.json +97 -5
  66. package/contracts/workspace-intelligence/workspace-operational-skill.v1.json +1 -1
  67. package/contracts/workspace-intelligence/workspace-skills-index.v1.json +1 -1
  68. package/contracts/workspace-intelligence/workspace-verify.v1.json +1 -1
  69. package/contracts/workspace-intelligence-architecture.v1.json +33 -7
  70. package/contracts/workspace-intelligence-chain.v1.json +1 -1
  71. package/contracts/workspace-list.v1.json +2 -0
  72. package/contracts/workspace-model-cache.v1.json +2 -0
  73. package/contracts/workspace-registry.v1.json +1 -1
  74. package/contracts/workspace-run-last.v1.json +1 -1
  75. package/contracts/workspace-share-bundle.v1.json +2 -1
  76. package/contracts/workspace-snapshot.v1.json +2 -0
  77. package/contracts/workspace-snapshot.v2.json +2 -0
  78. package/contracts/workspace-sync.v1.json +2 -0
  79. package/contracts/workspace-watch-event.v1.json +2 -0
  80. package/dist/analyze-4H33PAUB.js +1 -0
  81. package/dist/{artifact-remediation-plan-SPOUHMK5.js → artifact-remediation-plan-TQ6KTTXD.js} +1 -1
  82. package/dist/autopilot-release-BHZYM5KX.js +1 -0
  83. package/dist/chunk-2D4UOYOJ.js +1 -0
  84. package/dist/chunk-2OIBHUVH.js +1 -0
  85. package/dist/chunk-3D2PAIRH.js +3 -0
  86. package/dist/chunk-3GRKUP5W.js +33 -0
  87. package/dist/{managed-agent-markers-AXUM75OE.js → chunk-3RBUSW7H.js} +1 -1
  88. package/dist/chunk-4WJC5QCD.js +2 -0
  89. package/dist/chunk-6HLPTJZ3.js +13 -0
  90. package/dist/{chunk-CV5HKU4P.js → chunk-7T4TSV5C.js} +1 -1
  91. package/dist/chunk-AFIFZTOY.js +2 -0
  92. package/dist/{chunk-BMWFQXGW.js → chunk-AHLMIL2T.js} +1 -1
  93. package/dist/chunk-AL237TSJ.js +7 -0
  94. package/dist/chunk-BBGNDMRU.js +2 -0
  95. package/dist/chunk-BG4FWJJ3.js +1 -0
  96. package/dist/{chunk-VU7NZHPM.js → chunk-BHYTI3RH.js} +1 -1
  97. package/dist/chunk-BYTFXQ6G.js +1 -0
  98. package/dist/chunk-CZC5P2MF.js +1 -0
  99. package/dist/chunk-DLM6C7FU.js +8 -0
  100. package/dist/{chunk-CRHYBQI3.js → chunk-DQ3PI7EP.js} +1 -1
  101. package/dist/chunk-E3CT7TYT.js +1 -0
  102. package/dist/chunk-EPVFKJF4.js +1 -0
  103. package/dist/chunk-EWZZUQBR.js +1 -0
  104. package/dist/chunk-FKWB66NQ.js +4 -0
  105. package/dist/{chunk-BGPXQQNY.js → chunk-FZ76CF2W.js} +1 -1
  106. package/dist/chunk-GBAO4GSW.js +2 -0
  107. package/dist/chunk-GQRWRHSR.js +86 -0
  108. package/dist/{chunk-ESLPI3XZ.js → chunk-HE4PUMU4.js} +1 -1
  109. package/dist/chunk-HMGPELXS.js +1 -0
  110. package/dist/chunk-HSZCINFX.js +2 -0
  111. package/dist/{chunk-3VFA7D5T.js → chunk-IND3TUVU.js} +1 -1
  112. package/dist/{chunk-NHN4QXPP.js → chunk-KVSYBHUR.js} +1 -1
  113. package/dist/chunk-L2E2Z4OE.js +5 -0
  114. package/dist/chunk-MAF3LLGK.js +691 -0
  115. package/dist/chunk-MOSXTVPU.js +1 -0
  116. package/dist/chunk-MVLIONQD.js +1 -0
  117. package/dist/chunk-PS5F4DCT.js +1 -0
  118. package/dist/{chunk-K4X3DM7R.js → chunk-Q6TKQVKQ.js} +1 -1
  119. package/dist/chunk-RJIYCDVC.js +1 -0
  120. package/dist/chunk-RVQLMTTI.js +2 -0
  121. package/dist/chunk-SHXJ2GDR.js +75 -0
  122. package/dist/chunk-TDTCMZK7.js +10 -0
  123. package/dist/chunk-TROHVI2V.js +2 -0
  124. package/dist/chunk-U2LR73E2.js +1 -0
  125. package/dist/chunk-U2QL5733.js +36 -0
  126. package/dist/{chunk-TIE2XMGH.js → chunk-VCW5HSPC.js} +12 -12
  127. package/dist/chunk-VRW6KXNK.js +6 -0
  128. package/dist/chunk-VU2BKKMB.js +1 -0
  129. package/dist/chunk-WJVB6SSD.js +16 -0
  130. package/dist/{chunk-32OJDBIG.js → chunk-XBM2P45G.js} +2 -2
  131. package/dist/chunk-Y5YAP4F3.js +2 -0
  132. package/dist/{create-S64IWHAP.js → create-SBFBFXKN.js} +1 -1
  133. package/dist/{demo-kit-DZ7TPG7K.js → demo-kit-KHH63TNA.js} +2 -2
  134. package/dist/{doctor-4NNUDNGZ.js → doctor-OPCMTBJB.js} +1 -1
  135. package/dist/{dotnet-webapi-clean-A6MVDYXX.js → dotnet-webapi-clean-VXEF4SHM.js} +5 -5
  136. package/dist/{gofiber-standard-I5YPQG5V.js → gofiber-standard-AQGSC7ON.js} +3 -3
  137. package/dist/{gogin-standard-VY2L4QT5.js → gogin-standard-7DU3OCBX.js} +3 -3
  138. package/dist/index.d.ts +38 -6
  139. package/dist/index.js +267 -355
  140. package/dist/managed-agent-markers-COE5DJ3W.js +1 -0
  141. package/dist/pipeline-7BUXAFS2.js +5 -0
  142. package/dist/platform-capabilities-PR6YL4KC.js +1 -0
  143. package/dist/project-intelligence-lens-BKKVPCLC.js +1 -0
  144. package/dist/project-test-coverage-BALEHHTT.js +1 -0
  145. package/dist/{pythonRapidkitExec-CVCIK225.js → pythonRapidkitExec-YR7P5LWG.js} +1 -1
  146. package/dist/rust-axum-4HXDICIB.js +140 -0
  147. package/dist/{springboot-standard-55XKCBIZ.js → springboot-standard-EK6GYN5T.js} +7 -7
  148. package/dist/workspace-U6ZQLELX.js +1 -0
  149. package/dist/{workspace-agent-sync-662QHXGF.js → workspace-agent-sync-L4SY7B4Q.js} +1 -1
  150. package/dist/workspace-archive-4JNT4S7N.js +1 -0
  151. package/dist/workspace-context-KOBSLZTI.js +1 -0
  152. package/dist/workspace-contract-SOD3OOVF.js +1 -0
  153. package/dist/workspace-explain-2CTMW2YW.js +1 -0
  154. package/dist/workspace-explain-contract-H7O26QJU.js +1 -0
  155. package/dist/{workspace-feedback-SUVH2LUJ.js → workspace-feedback-ZZ4HPW2T.js} +1 -1
  156. package/dist/{workspace-foundation-WPLD7OEO.js → workspace-foundation-PUIYBQUF.js} +1 -1
  157. package/dist/workspace-graph-stream-BLKIC7VN.js +1 -0
  158. package/dist/workspace-graph-token-efficiency-5FNH4JZ5.js +1 -0
  159. package/dist/{workspace-history-BANOJRQ2.js → workspace-history-SPKNRHIX.js} +1 -1
  160. package/dist/workspace-intelligence-I3ABOH2F.js +1 -0
  161. package/dist/{workspace-intelligence-evaluation-IPH7M3WV.js → workspace-intelligence-evaluation-7CABG5Y6.js} +1 -1
  162. package/dist/workspace-intelligence-runner-Q2XSR3ZL.js +1 -0
  163. package/dist/workspace-intelligence-runtime-registry-ZZ3GRAL2.js +1 -0
  164. package/dist/{workspace-knowledge-graph-ARDC6HHG.js → workspace-knowledge-graph-5MKEI4Z5.js} +1 -1
  165. package/dist/{workspace-knowledge-graph-query-VOSPPH4W.js → workspace-knowledge-graph-query-EKHIE3E2.js} +1 -1
  166. package/dist/{workspace-marker-SMBC3Z2Q.js → workspace-marker-7NHMDIRL.js} +1 -1
  167. package/dist/workspace-mcp-serve-ETNUA72W.js +3 -0
  168. package/dist/workspace-model-HHA37SNH.js +1 -0
  169. package/dist/workspace-model-hash-ZXYPIGCW.js +1 -0
  170. package/dist/workspace-onboarding-ELHZABJE.js +1 -0
  171. package/dist/{workspace-python-engine-state-2MLKJYQG.js → workspace-python-engine-state-J4QKW55K.js} +1 -1
  172. package/dist/workspace-readme-HGGZ4AZB.js +77 -0
  173. package/dist/{workspace-registry-summary-ORDK7A36.js → workspace-registry-summary-D2QM5JF6.js} +1 -1
  174. package/dist/workspace-run-DAAZBCN7.js +1 -0
  175. package/dist/{workspace-verify-EBVL7FWT.js → workspace-verify-4WJTLXRA.js} +1 -1
  176. package/dist/workspace-watch-2PIFTQ6B.js +1 -0
  177. package/docs/GLOSSARY.md +17 -16
  178. package/docs/OPEN_SOURCE_USER_SCENARIOS.md +8 -3
  179. package/docs/README.md +6 -3
  180. package/docs/README_CONTENT_CONTRACT.md +98 -115
  181. package/docs/ci-workflows.md +13 -4
  182. package/docs/commands-reference.md +43 -10
  183. package/docs/contracts/ARTIFACT_CATALOG.md +65 -26
  184. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +2 -0
  185. package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +3 -3
  186. package/docs/contracts/rapidkit-cli-contracts.json +2 -2
  187. package/docs/create-planner-capabilities.md +36 -5
  188. package/docs/creating-workspaces-and-projects.md +59 -3
  189. package/docs/doctor-command.md +118 -11
  190. package/docs/from-code-to-shared-understanding.md +4 -1
  191. package/docs/graph-benchmark-methodology.md +2 -2
  192. package/docs/workspace-intelligence-evaluation.md +5 -0
  193. package/docs/workspace-knowledge-graph.md +141 -7
  194. package/docs/workspace-operations.md +149 -10
  195. package/package.json +7 -4
  196. package/scripts/enterprise-package-smoke.mjs +24 -1
  197. package/templates/kits/fastapi-ddd/README.md.j2 +1 -1
  198. package/templates/kits/fastapi-standard/README.md.j2 +1 -1
  199. package/templates/kits/nestjs-standard/Dockerfile.j2 +1 -1
  200. package/templates/kits/nestjs-standard/README.md.j2 +1 -1
  201. package/templates/kits/nestjs-standard/package.json.j2 +11 -2
  202. package/dist/analyze-EEEU3MIF.js +0 -1
  203. package/dist/autopilot-release-R4XRTWEM.js +0 -1
  204. package/dist/chunk-22DT744Z.js +0 -1
  205. package/dist/chunk-37CVKXBD.js +0 -1
  206. package/dist/chunk-3NU32T4A.js +0 -2
  207. package/dist/chunk-3ZK2GU7C.js +0 -1
  208. package/dist/chunk-4HDYADHT.js +0 -13
  209. package/dist/chunk-4KUIFXHM.js +0 -5
  210. package/dist/chunk-52PBRX7F.js +0 -1
  211. package/dist/chunk-54EP5CEV.js +0 -8
  212. package/dist/chunk-5XATWNME.js +0 -1
  213. package/dist/chunk-7YHK5NM3.js +0 -2
  214. package/dist/chunk-AFL3ACCR.js +0 -2
  215. package/dist/chunk-BFLJ2R4D.js +0 -80
  216. package/dist/chunk-E2KJ5QWY.js +0 -4
  217. package/dist/chunk-EKZLUMCS.js +0 -933
  218. package/dist/chunk-EYJ2CQSK.js +0 -1
  219. package/dist/chunk-FTY7GGXJ.js +0 -33
  220. package/dist/chunk-FXQJX34Z.js +0 -1
  221. package/dist/chunk-GSWPGELT.js +0 -2
  222. package/dist/chunk-GZTYAEWX.js +0 -1
  223. package/dist/chunk-HDXNIN4N.js +0 -1
  224. package/dist/chunk-HZDXO65G.js +0 -36
  225. package/dist/chunk-J5ENLXDF.js +0 -1
  226. package/dist/chunk-KB44JP4M.js +0 -2
  227. package/dist/chunk-LHOZXC2M.js +0 -2
  228. package/dist/chunk-MER6ZBN2.js +0 -13
  229. package/dist/chunk-NAJCUQ4X.js +0 -2
  230. package/dist/chunk-OA537ZQ5.js +0 -1
  231. package/dist/chunk-OW42TZFB.js +0 -1
  232. package/dist/chunk-P3D5YQB2.js +0 -1
  233. package/dist/chunk-PHXQR6PX.js +0 -2
  234. package/dist/chunk-PRTR2DQ2.js +0 -1
  235. package/dist/chunk-RHQW3DTP.js +0 -1
  236. package/dist/chunk-T4YR4RAI.js +0 -2
  237. package/dist/chunk-WDKNMTJQ.js +0 -1
  238. package/dist/chunk-Y45WZR5N.js +0 -5
  239. package/dist/chunk-YJZOMRAS.js +0 -1
  240. package/dist/pipeline-LHTPE3DR.js +0 -5
  241. package/dist/platform-capabilities-2B4QMZXE.js +0 -1
  242. package/dist/workspace-PJPRBUMQ.js +0 -1
  243. package/dist/workspace-archive-P76EDIUG.js +0 -10
  244. package/dist/workspace-context-23YYCUCP.js +0 -1
  245. package/dist/workspace-contract-TU2I7GC2.js +0 -1
  246. package/dist/workspace-dependency-graph-BP4EXYQ5.js +0 -1
  247. package/dist/workspace-explain-MWUEN643.js +0 -1
  248. package/dist/workspace-explain-contract-ZPI3JXJU.js +0 -1
  249. package/dist/workspace-graph-stream-KAGGQPJT.js +0 -1
  250. package/dist/workspace-graph-token-efficiency-CFGFCJ5V.js +0 -1
  251. package/dist/workspace-intelligence-MFJE7W67.js +0 -1
  252. package/dist/workspace-intelligence-runner-OTYTHV6B.js +0 -1
  253. package/dist/workspace-mcp-serve-EZR6O76D.js +0 -3
  254. package/dist/workspace-model-7OU2M3LE.js +0 -1
  255. package/dist/workspace-model-hash-MHXK5MEI.js +0 -1
  256. package/dist/workspace-run-QND2SIYA.js +0 -1
  257. package/dist/workspace-watch-7HWGA5TF.js +0 -1
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/transparency-evidence.v1.json",
3
+ "$id": "https://workspai.dev/schemas/transparency-evidence.v1.json",
4
+ "title": "Workspai Transparency Evidence",
4
5
  "type": "object",
5
6
  "required": ["schemaVersion", "generatedAt", "records"],
6
7
  "properties": {
@@ -5,7 +5,8 @@
5
5
  "inspect",
6
6
  "verify",
7
7
  "doctor",
8
- "hydrate"
8
+ "hydrate",
9
+ "import"
9
10
  ],
10
11
  "container": {
11
12
  "writeFormat": "zip64",
@@ -25,6 +26,7 @@
25
26
  "inspect": true,
26
27
  "verify": true,
27
28
  "hydrate": true,
29
+ "import": true,
28
30
  "payloadBufferedInMemory": false
29
31
  },
30
32
  "sizePolicy": {
@@ -54,7 +56,8 @@
54
56
  "inspect",
55
57
  "verify",
56
58
  "doctor",
57
- "hydrate"
59
+ "hydrate",
60
+ "import"
58
61
  ]
59
62
  },
60
63
  "maxExpandedSize": {
@@ -64,7 +67,8 @@
64
67
  "inspect",
65
68
  "verify",
66
69
  "doctor",
67
- "hydrate"
70
+ "hydrate",
71
+ "import"
68
72
  ]
69
73
  },
70
74
  "downloadTimeoutMs": {
@@ -74,7 +78,8 @@
74
78
  "inspect",
75
79
  "verify",
76
80
  "doctor",
77
- "hydrate"
81
+ "hydrate",
82
+ "import"
78
83
  ]
79
84
  },
80
85
  "allowPrivateNetwork": {
@@ -84,7 +89,8 @@
84
89
  "inspect",
85
90
  "verify",
86
91
  "doctor",
87
- "hydrate"
92
+ "hydrate",
93
+ "import"
88
94
  ]
89
95
  }
90
96
  },
@@ -77,6 +77,242 @@
77
77
  }
78
78
  }
79
79
  },
80
+ "externalProjects": {
81
+ "type": "array",
82
+ "items": {
83
+ "type": "object",
84
+ "additionalProperties": false,
85
+ "required": [
86
+ "name",
87
+ "relationship",
88
+ "included",
89
+ "requiredAction"
90
+ ],
91
+ "properties": {
92
+ "name": {
93
+ "type": "string",
94
+ "minLength": 1
95
+ },
96
+ "relationship": {
97
+ "enum": [
98
+ "adopted",
99
+ "linked",
100
+ "imported",
101
+ "managed",
102
+ "restored"
103
+ ]
104
+ },
105
+ "included": {
106
+ "const": false
107
+ },
108
+ "requiredAction": {
109
+ "const": "relink"
110
+ }
111
+ }
112
+ }
113
+ },
114
+ "portableContract": {
115
+ "type": "object",
116
+ "additionalProperties": false,
117
+ "required": [
118
+ "schemaVersion",
119
+ "kind",
120
+ "generatedAt",
121
+ "workspace",
122
+ "projects"
123
+ ],
124
+ "properties": {
125
+ "schemaVersion": {
126
+ "const": 1
127
+ },
128
+ "kind": {
129
+ "const": "rapidkit.workspace.contract"
130
+ },
131
+ "generatedAt": {
132
+ "type": "string",
133
+ "format": "date-time"
134
+ },
135
+ "workspace": {
136
+ "type": "object",
137
+ "additionalProperties": false,
138
+ "required": [
139
+ "name"
140
+ ],
141
+ "properties": {
142
+ "name": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ },
146
+ "profile": {
147
+ "type": "string",
148
+ "minLength": 1
149
+ }
150
+ }
151
+ },
152
+ "projects": {
153
+ "type": "array",
154
+ "items": {
155
+ "type": "object",
156
+ "additionalProperties": false,
157
+ "required": [
158
+ "slug",
159
+ "relativePath",
160
+ "modules",
161
+ "ports",
162
+ "contracts"
163
+ ],
164
+ "properties": {
165
+ "slug": {
166
+ "type": "string",
167
+ "minLength": 1
168
+ },
169
+ "relativePath": {
170
+ "type": "string",
171
+ "minLength": 1,
172
+ "not": {
173
+ "pattern": "^external/"
174
+ }
175
+ },
176
+ "source": {
177
+ "enum": [
178
+ "workspace",
179
+ "local-folder",
180
+ "git-url",
181
+ "adopted-local"
182
+ ]
183
+ },
184
+ "relationship": {
185
+ "enum": [
186
+ "imported",
187
+ "adopted"
188
+ ]
189
+ },
190
+ "runtime": {
191
+ "type": "string",
192
+ "minLength": 1
193
+ },
194
+ "framework": {
195
+ "type": "string",
196
+ "minLength": 1
197
+ },
198
+ "kit": {
199
+ "type": "string",
200
+ "minLength": 1
201
+ },
202
+ "modules": {
203
+ "type": "array",
204
+ "items": {
205
+ "type": "string"
206
+ },
207
+ "uniqueItems": true
208
+ },
209
+ "ports": {
210
+ "type": "array",
211
+ "items": {
212
+ "type": "object",
213
+ "additionalProperties": false,
214
+ "required": [
215
+ "name",
216
+ "port",
217
+ "protocol"
218
+ ],
219
+ "properties": {
220
+ "name": {
221
+ "type": "string",
222
+ "minLength": 1
223
+ },
224
+ "port": {
225
+ "type": "integer",
226
+ "minimum": 1,
227
+ "maximum": 65535
228
+ },
229
+ "protocol": {
230
+ "enum": [
231
+ "http",
232
+ "https",
233
+ "grpc",
234
+ "tcp",
235
+ "udp"
236
+ ]
237
+ }
238
+ }
239
+ }
240
+ },
241
+ "contracts": {
242
+ "type": "object",
243
+ "additionalProperties": false,
244
+ "required": [
245
+ "owns",
246
+ "apis",
247
+ "publishes",
248
+ "consumes",
249
+ "dependsOn",
250
+ "env"
251
+ ],
252
+ "properties": {
253
+ "owns": {
254
+ "type": "array",
255
+ "items": {
256
+ "type": "string"
257
+ },
258
+ "uniqueItems": true
259
+ },
260
+ "apis": {
261
+ "type": "array",
262
+ "items": {
263
+ "type": "object",
264
+ "additionalProperties": false,
265
+ "required": [
266
+ "name",
267
+ "basePath"
268
+ ],
269
+ "properties": {
270
+ "name": {
271
+ "type": "string",
272
+ "minLength": 1
273
+ },
274
+ "basePath": {
275
+ "type": "string",
276
+ "minLength": 1
277
+ }
278
+ }
279
+ }
280
+ },
281
+ "publishes": {
282
+ "type": "array",
283
+ "items": {
284
+ "type": "string"
285
+ },
286
+ "uniqueItems": true
287
+ },
288
+ "consumes": {
289
+ "type": "array",
290
+ "items": {
291
+ "type": "string"
292
+ },
293
+ "uniqueItems": true
294
+ },
295
+ "dependsOn": {
296
+ "type": "array",
297
+ "items": {
298
+ "type": "string"
299
+ },
300
+ "uniqueItems": true
301
+ },
302
+ "env": {
303
+ "type": "array",
304
+ "items": {
305
+ "type": "string"
306
+ },
307
+ "uniqueItems": true
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ },
80
316
  "files": {
81
317
  "type": "array",
82
318
  "items": {
@@ -525,6 +525,242 @@
525
525
  }
526
526
  }
527
527
  },
528
+ "externalProjects": {
529
+ "type": "array",
530
+ "items": {
531
+ "type": "object",
532
+ "additionalProperties": false,
533
+ "required": [
534
+ "name",
535
+ "relationship",
536
+ "included",
537
+ "requiredAction"
538
+ ],
539
+ "properties": {
540
+ "name": {
541
+ "type": "string",
542
+ "minLength": 1
543
+ },
544
+ "relationship": {
545
+ "enum": [
546
+ "adopted",
547
+ "linked",
548
+ "imported",
549
+ "managed",
550
+ "restored"
551
+ ]
552
+ },
553
+ "included": {
554
+ "const": false
555
+ },
556
+ "requiredAction": {
557
+ "const": "relink"
558
+ }
559
+ }
560
+ }
561
+ },
562
+ "portableContract": {
563
+ "type": "object",
564
+ "additionalProperties": false,
565
+ "required": [
566
+ "schemaVersion",
567
+ "kind",
568
+ "generatedAt",
569
+ "workspace",
570
+ "projects"
571
+ ],
572
+ "properties": {
573
+ "schemaVersion": {
574
+ "const": 1
575
+ },
576
+ "kind": {
577
+ "const": "rapidkit.workspace.contract"
578
+ },
579
+ "generatedAt": {
580
+ "type": "string",
581
+ "format": "date-time"
582
+ },
583
+ "workspace": {
584
+ "type": "object",
585
+ "additionalProperties": false,
586
+ "required": [
587
+ "name"
588
+ ],
589
+ "properties": {
590
+ "name": {
591
+ "type": "string",
592
+ "minLength": 1
593
+ },
594
+ "profile": {
595
+ "type": "string",
596
+ "minLength": 1
597
+ }
598
+ }
599
+ },
600
+ "projects": {
601
+ "type": "array",
602
+ "items": {
603
+ "type": "object",
604
+ "additionalProperties": false,
605
+ "required": [
606
+ "slug",
607
+ "relativePath",
608
+ "modules",
609
+ "ports",
610
+ "contracts"
611
+ ],
612
+ "properties": {
613
+ "slug": {
614
+ "type": "string",
615
+ "minLength": 1
616
+ },
617
+ "relativePath": {
618
+ "type": "string",
619
+ "minLength": 1,
620
+ "not": {
621
+ "pattern": "^external/"
622
+ }
623
+ },
624
+ "source": {
625
+ "enum": [
626
+ "workspace",
627
+ "local-folder",
628
+ "git-url",
629
+ "adopted-local"
630
+ ]
631
+ },
632
+ "relationship": {
633
+ "enum": [
634
+ "imported",
635
+ "adopted"
636
+ ]
637
+ },
638
+ "runtime": {
639
+ "type": "string",
640
+ "minLength": 1
641
+ },
642
+ "framework": {
643
+ "type": "string",
644
+ "minLength": 1
645
+ },
646
+ "kit": {
647
+ "type": "string",
648
+ "minLength": 1
649
+ },
650
+ "modules": {
651
+ "type": "array",
652
+ "items": {
653
+ "type": "string"
654
+ },
655
+ "uniqueItems": true
656
+ },
657
+ "ports": {
658
+ "type": "array",
659
+ "items": {
660
+ "type": "object",
661
+ "additionalProperties": false,
662
+ "required": [
663
+ "name",
664
+ "port",
665
+ "protocol"
666
+ ],
667
+ "properties": {
668
+ "name": {
669
+ "type": "string",
670
+ "minLength": 1
671
+ },
672
+ "port": {
673
+ "type": "integer",
674
+ "minimum": 1,
675
+ "maximum": 65535
676
+ },
677
+ "protocol": {
678
+ "enum": [
679
+ "http",
680
+ "https",
681
+ "grpc",
682
+ "tcp",
683
+ "udp"
684
+ ]
685
+ }
686
+ }
687
+ }
688
+ },
689
+ "contracts": {
690
+ "type": "object",
691
+ "additionalProperties": false,
692
+ "required": [
693
+ "owns",
694
+ "apis",
695
+ "publishes",
696
+ "consumes",
697
+ "dependsOn",
698
+ "env"
699
+ ],
700
+ "properties": {
701
+ "owns": {
702
+ "type": "array",
703
+ "items": {
704
+ "type": "string"
705
+ },
706
+ "uniqueItems": true
707
+ },
708
+ "apis": {
709
+ "type": "array",
710
+ "items": {
711
+ "type": "object",
712
+ "additionalProperties": false,
713
+ "required": [
714
+ "name",
715
+ "basePath"
716
+ ],
717
+ "properties": {
718
+ "name": {
719
+ "type": "string",
720
+ "minLength": 1
721
+ },
722
+ "basePath": {
723
+ "type": "string",
724
+ "minLength": 1
725
+ }
726
+ }
727
+ }
728
+ },
729
+ "publishes": {
730
+ "type": "array",
731
+ "items": {
732
+ "type": "string"
733
+ },
734
+ "uniqueItems": true
735
+ },
736
+ "consumes": {
737
+ "type": "array",
738
+ "items": {
739
+ "type": "string"
740
+ },
741
+ "uniqueItems": true
742
+ },
743
+ "dependsOn": {
744
+ "type": "array",
745
+ "items": {
746
+ "type": "string"
747
+ },
748
+ "uniqueItems": true
749
+ },
750
+ "env": {
751
+ "type": "array",
752
+ "items": {
753
+ "type": "string"
754
+ },
755
+ "uniqueItems": true
756
+ }
757
+ }
758
+ }
759
+ }
760
+ }
761
+ }
762
+ }
763
+ },
528
764
  "files": {
529
765
  "type": "array",
530
766
  "items": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-contract.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-contract.v1.json",
4
4
  "title": "Workspai Workspace Contract",
5
5
  "type": "object",
6
6
  "required": ["schemaVersion", "kind", "generatedAt", "workspace", "projects"],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/agent-action-outcome.v1.json",
4
- "title": "RapidKit Agent Action Outcome",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/agent-action-outcome.v1.json",
4
+ "title": "Workspai Agent Action Outcome",
5
5
  "type": "object",
6
6
  "required": ["schemaVersion", "generatedAt", "actionId", "scope", "summary", "outcome"],
7
7
  "properties": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://workspai.dev/schemas/agent-customization-pack-report.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/agent-customization-pack-report.v1.json",
4
4
  "title": "Workspai Agent Customization Pack Report",
5
5
  "type": "object",
6
6
  "additionalProperties": false,
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/agent-hooks.v1.json",
4
+ "title": "Workspai Agent Hooks",
3
5
  "type": "object",
4
6
  "required": [
5
7
  "schemaVersion",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://workspai.dev/schemas/agent-reports-index.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/agent-reports-index.v1.json",
4
4
  "title": "Workspai Agent Reports Index",
5
5
  "type": "object",
6
6
  "additionalProperties": false,
@@ -1,15 +1,9 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/blocker-resolution.v1.json",
4
- "title": "RapidKit Blocker Resolution Hint",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/blocker-resolution.v1.json",
4
+ "title": "Workspai Blocker Resolution Hint",
5
5
  "type": "object",
6
- "required": [
7
- "schemaVersion",
8
- "blockerId",
9
- "resolutionClass",
10
- "blockerSignature",
11
- "fixHints"
12
- ],
6
+ "required": ["schemaVersion", "blockerId", "resolutionClass", "blockerSignature", "fixHints"],
13
7
  "properties": {
14
8
  "schemaVersion": {
15
9
  "const": "rapidkit-blocker-resolution-v1"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "rapidkit-doctor-fix-result-v1",
4
- "title": "Doctor fix execution result",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/doctor-fix-result.v1.json",
4
+ "title": "Workspai Doctor Fix Execution Result",
5
5
  "type": "object",
6
6
  "additionalProperties": true,
7
7
  "required": [