workspai 0.52.0 → 0.52.2

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.
@@ -132,11 +132,94 @@
132
132
  "type": "array",
133
133
  "items": { "$ref": "#/$defs/dependencyAuditSubject" }
134
134
  },
135
+ "remediation": { "$ref": "#/$defs/dependencyRemediation" },
135
136
  "reason": { "type": "string", "minLength": 1 },
136
137
  "limitations": { "type": "array", "items": { "type": "string" } }
137
138
  },
138
139
  "additionalProperties": false
139
140
  },
141
+ "dependencyRemediation": {
142
+ "type": "object",
143
+ "required": ["disposition", "compatibleFixAvailable", "breakingFixAvailable", "candidates"],
144
+ "properties": {
145
+ "disposition": {
146
+ "enum": ["not-needed", "compatible", "breaking-only", "mixed", "none", "unknown"]
147
+ },
148
+ "compatibleFixAvailable": { "type": "boolean" },
149
+ "breakingFixAvailable": { "type": "boolean" },
150
+ "candidates": {
151
+ "type": "array",
152
+ "items": {
153
+ "type": "object",
154
+ "required": ["packageName", "breaking"],
155
+ "properties": {
156
+ "packageName": { "type": "string", "minLength": 1 },
157
+ "version": { "type": "string", "minLength": 1 },
158
+ "breaking": { "type": "boolean" }
159
+ },
160
+ "additionalProperties": false
161
+ }
162
+ },
163
+ "resolutionCandidates": {
164
+ "type": "array",
165
+ "items": { "$ref": "#/$defs/dependencyResolutionCandidate" }
166
+ }
167
+ },
168
+ "additionalProperties": false
169
+ },
170
+ "dependencyResolutionCandidate": {
171
+ "type": "object",
172
+ "required": [
173
+ "packageName",
174
+ "relationship",
175
+ "strategies",
176
+ "risk",
177
+ "autoExecutable",
178
+ "requiresCompatibilityVerification",
179
+ "ownerPackages",
180
+ "advisoryIds",
181
+ "reason"
182
+ ],
183
+ "properties": {
184
+ "packageName": { "type": "string", "minLength": 1 },
185
+ "relationship": { "enum": ["direct", "transitive", "unknown"] },
186
+ "strategies": {
187
+ "type": "array",
188
+ "items": {
189
+ "enum": [
190
+ "direct-upgrade",
191
+ "owner-upgrade",
192
+ "constraint-update",
193
+ "transitive-override",
194
+ "replacement",
195
+ "policy-exception",
196
+ "upstream-wait"
197
+ ]
198
+ },
199
+ "minItems": 1,
200
+ "uniqueItems": true
201
+ },
202
+ "risk": { "enum": ["safe", "guarded", "breaking", "unknown"] },
203
+ "autoExecutable": { "type": "boolean" },
204
+ "requiresCompatibilityVerification": { "type": "boolean" },
205
+ "currentVersion": { "type": "string", "minLength": 1 },
206
+ "currentRange": { "type": "string", "minLength": 1 },
207
+ "vulnerableRange": { "type": "string", "minLength": 1 },
208
+ "safeVersionConstraint": { "type": "string", "minLength": 1 },
209
+ "ownerPackages": {
210
+ "type": "array",
211
+ "items": { "type": "string", "minLength": 1 },
212
+ "uniqueItems": true
213
+ },
214
+ "advisoryIds": {
215
+ "type": "array",
216
+ "items": { "type": "string", "minLength": 1 },
217
+ "uniqueItems": true
218
+ },
219
+ "reason": { "type": "string", "minLength": 1 }
220
+ },
221
+ "additionalProperties": false
222
+ },
140
223
  "dependencyAuditSubject": {
141
224
  "type": "object",
142
225
  "required": ["name", "advisoryIds", "severities"],
@@ -142,11 +142,94 @@
142
142
  "type": "array",
143
143
  "items": { "$ref": "#/$defs/dependencyAuditSubject" }
144
144
  },
145
+ "remediation": { "$ref": "#/$defs/dependencyRemediation" },
145
146
  "reason": { "type": "string", "minLength": 1 },
146
147
  "limitations": { "type": "array", "items": { "type": "string" } }
147
148
  },
148
149
  "additionalProperties": false
149
150
  },
151
+ "dependencyRemediation": {
152
+ "type": "object",
153
+ "required": ["disposition", "compatibleFixAvailable", "breakingFixAvailable", "candidates"],
154
+ "properties": {
155
+ "disposition": {
156
+ "enum": ["not-needed", "compatible", "breaking-only", "mixed", "none", "unknown"]
157
+ },
158
+ "compatibleFixAvailable": { "type": "boolean" },
159
+ "breakingFixAvailable": { "type": "boolean" },
160
+ "candidates": {
161
+ "type": "array",
162
+ "items": {
163
+ "type": "object",
164
+ "required": ["packageName", "breaking"],
165
+ "properties": {
166
+ "packageName": { "type": "string", "minLength": 1 },
167
+ "version": { "type": "string", "minLength": 1 },
168
+ "breaking": { "type": "boolean" }
169
+ },
170
+ "additionalProperties": false
171
+ }
172
+ },
173
+ "resolutionCandidates": {
174
+ "type": "array",
175
+ "items": { "$ref": "#/$defs/dependencyResolutionCandidate" }
176
+ }
177
+ },
178
+ "additionalProperties": false
179
+ },
180
+ "dependencyResolutionCandidate": {
181
+ "type": "object",
182
+ "required": [
183
+ "packageName",
184
+ "relationship",
185
+ "strategies",
186
+ "risk",
187
+ "autoExecutable",
188
+ "requiresCompatibilityVerification",
189
+ "ownerPackages",
190
+ "advisoryIds",
191
+ "reason"
192
+ ],
193
+ "properties": {
194
+ "packageName": { "type": "string", "minLength": 1 },
195
+ "relationship": { "enum": ["direct", "transitive", "unknown"] },
196
+ "strategies": {
197
+ "type": "array",
198
+ "items": {
199
+ "enum": [
200
+ "direct-upgrade",
201
+ "owner-upgrade",
202
+ "constraint-update",
203
+ "transitive-override",
204
+ "replacement",
205
+ "policy-exception",
206
+ "upstream-wait"
207
+ ]
208
+ },
209
+ "minItems": 1,
210
+ "uniqueItems": true
211
+ },
212
+ "risk": { "enum": ["safe", "guarded", "breaking", "unknown"] },
213
+ "autoExecutable": { "type": "boolean" },
214
+ "requiresCompatibilityVerification": { "type": "boolean" },
215
+ "currentVersion": { "type": "string", "minLength": 1 },
216
+ "currentRange": { "type": "string", "minLength": 1 },
217
+ "vulnerableRange": { "type": "string", "minLength": 1 },
218
+ "safeVersionConstraint": { "type": "string", "minLength": 1 },
219
+ "ownerPackages": {
220
+ "type": "array",
221
+ "items": { "type": "string", "minLength": 1 },
222
+ "uniqueItems": true
223
+ },
224
+ "advisoryIds": {
225
+ "type": "array",
226
+ "items": { "type": "string", "minLength": 1 },
227
+ "uniqueItems": true
228
+ },
229
+ "reason": { "type": "string", "minLength": 1 }
230
+ },
231
+ "additionalProperties": false
232
+ },
150
233
  "dependencyAuditSubject": {
151
234
  "type": "object",
152
235
  "required": ["name", "advisoryIds", "severities"],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "rapidkit-extension-cli-compatibility.v1",
3
3
  "cli": "workspai",
4
- "minimumVerifiedCliVersion": "0.52.0",
4
+ "minimumVerifiedCliVersion": "0.52.2",
5
5
  "publishedContractSchemas": {
6
6
  "workspaceContract": 1,
7
7
  "runtimeCommandSurface": "rapidkit-runtime-command-surface-v1",
@@ -0,0 +1 @@
1
+ export{b as AUTOPILOT_RELEASE_ALIAS_FILENAME,a as AUTOPILOT_RELEASE_LAST_RUN_FILENAME,c as runAutopilotRelease}from'./chunk-AYHNNPPH.js';