@apexops/cli 0.10.0-next.2 → 0.10.0-next.3

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.
@@ -1,31 +1,31 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "bundleVersion": "0.10.0-next.2",
3
+ "bundleVersion": "0.10.0-next.3",
4
4
  "capabilityProtocolVersion": "1.0.0",
5
5
  "components": {
6
6
  "cli": {
7
7
  "source": "local",
8
- "version": "0.10.0-next.2"
8
+ "version": "0.10.0-next.3"
9
9
  },
10
10
  "contracts": {
11
11
  "source": "local",
12
- "version": "0.10.0-next.2"
12
+ "version": "0.10.0-next.3"
13
13
  },
14
14
  "kernel": {
15
15
  "source": "local",
16
- "version": "0.10.0-next.2"
16
+ "version": "0.10.0-next.3"
17
17
  },
18
18
  "capabilities": {
19
19
  "source": "local",
20
- "version": "0.10.0-next.2"
20
+ "version": "0.10.0-next.3"
21
21
  },
22
22
  "renderers": {
23
23
  "source": "local",
24
- "version": "0.10.0-next.2"
24
+ "version": "0.10.0-next.3"
25
25
  },
26
26
  "customizationBundle": {
27
27
  "source": "local",
28
- "version": "0.10.0-next.2",
28
+ "version": "0.10.0-next.3",
29
29
  "manifest": "@apexops/cli/assets/customizations/manifest.json",
30
30
  "assetManifest": "@apexops/cli/assets/manifest.json",
31
31
  "compositionId": "apex-managed-workspace"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.0-next.2",
2
+ "version": "0.10.0-next.3",
3
3
  "bundle": {
4
4
  "id": "apex-managed-workspace",
5
5
  "authority": "npm:@apexops/cli",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 1,
3
3
  "sources": {
4
- "customizations": "0.10.0-next.2",
4
+ "customizations": "0.10.0-next.3",
5
5
  "config": "1.0.0"
6
6
  },
7
7
  "composition": {
@@ -4385,7 +4385,7 @@
4385
4385
  "path": "config/runtime-bundle.v1.json",
4386
4386
  "mapping": "config"
4387
4387
  },
4388
- "sha256": "3ebcdc4b89eda7eb5d1ed8d624096bc2240bc23db65d3266673d11e19e89e41c",
4388
+ "sha256": "414de8d636f820fb560142c33d38dc12a38ec2e924149c3c123a0cf3fd9fbcbc",
4389
4389
  "bytes": 2039
4390
4390
  },
4391
4391
  {
@@ -5855,13 +5855,13 @@
5855
5855
  "path": "customizations/manifest.json",
5856
5856
  "mapping": "customizations"
5857
5857
  },
5858
- "sha256": "bf106e629655739726869d8b4ac816f6fb7e498fb2dcac98fafb9372360caff7",
5858
+ "sha256": "03599d828a02d0e36696af2efaa7ba3353089aebee332ea8043638f0a7b0727c",
5859
5859
  "bytes": 14078
5860
5860
  }
5861
5861
  ],
5862
5862
  "lock": {
5863
5863
  "algorithm": "sha256",
5864
5864
  "canonicalization": "apex-bundled-assets-v1",
5865
- "digest": "9e8f576c48d190ecac4d0d713fa073a7236958994bed9d026a3717a9a5d22ac0"
5865
+ "digest": "207ce6214c3078991469dc4e5a02b91ab0d6e43830bcb587703c683823e67fae"
5866
5866
  }
5867
5867
  }
package/dist/service.js CHANGED
@@ -161,8 +161,7 @@ const REQUIREMENTS_INTAKE = [
161
161
  {
162
162
  round: "service-preferences",
163
163
  questions: [
164
- { id: "retained-services", prompt: "List Azure services or integrations that must be retained, or 'none'." },
165
- { id: "prohibited-services", prompt: "List prohibited services or use 'none'." },
164
+ { id: "prohibited-services", prompt: "List prohibited services, or explicitly defer the constraint." },
166
165
  {
167
166
  id: "service-preferences",
168
167
  prompt: "Select preferred Azure services. Select all that apply; architecture chooses the exact combination.",
@@ -222,10 +221,22 @@ const REQUIREMENTS_INTAKE = [
222
221
  prompt: "Choose the Azure region, or explicitly defer the decision.",
223
222
  options: ["swedencentral", "westeurope", "germanywestcentral"],
224
223
  },
225
- { id: "availability-recovery", prompt: "State availability, RTO, RPO, backup, and recovery requirements." },
224
+ {
225
+ id: "availability-recovery",
226
+ prompt: "Select required availability, backup, and disaster-recovery capabilities.",
227
+ options: [
228
+ "single-region-availability",
229
+ "availability-zones",
230
+ "automated-backups",
231
+ "point-in-time-restore",
232
+ "immutable-backups",
233
+ "cross-region-disaster-recovery",
234
+ ],
235
+ multiSelect: true,
236
+ },
226
237
  {
227
238
  id: "recovery",
228
- prompt: "Provide RTO and RPO in whole minutes or explicitly defer them.",
239
+ prompt: "Set exact recovery targets: provide RTO and RPO in whole minutes, or explicitly defer them.",
229
240
  valueType: "recovery",
230
241
  },
231
242
  {
@@ -2461,6 +2472,15 @@ export class ApexService {
2461
2472
  return this.inputRequest(event, run.ownerEpoch);
2462
2473
  }
2463
2474
  requirementsIntakeQuestions(round, events) {
2475
+ if (round.round === "service-preferences") {
2476
+ const scenario = this.recordedRequirementsInput(events)?.["delivery-scenario"];
2477
+ if (scenario !== "migration" && scenario !== "modernization" && scenario !== "extension")
2478
+ return round.questions;
2479
+ return [
2480
+ { id: "retained-services", prompt: "List Azure services or integrations that must be retained." },
2481
+ ...round.questions,
2482
+ ];
2483
+ }
2464
2484
  if (round.round !== "workload-pattern")
2465
2485
  return round.questions;
2466
2486
  const scenario = this.recordedRequirementsInput(events)?.["delivery-scenario"];
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const APEX_VERSION: "0.10.0-next.2";
1
+ export declare const APEX_VERSION: "0.10.0-next.3";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const APEX_VERSION = "0.10.0-next.2";
1
+ export const APEX_VERSION = "0.10.0-next.3";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexops/cli",
3
- "version": "0.10.0-next.2",
3
+ "version": "0.10.0-next.3",
4
4
  "description": "Portable no-shell CLI and MCP facade for APEX",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -32,10 +32,10 @@
32
32
  "assets"
33
33
  ],
34
34
  "dependencies": {
35
- "@apexops/capabilities": "0.10.0-next.2",
36
- "@apexops/contracts": "0.10.0-next.2",
37
- "@apexops/kernel": "0.10.0-next.2",
38
- "@apexops/renderers": "0.10.0-next.2",
35
+ "@apexops/capabilities": "0.10.0-next.3",
36
+ "@apexops/contracts": "0.10.0-next.3",
37
+ "@apexops/kernel": "0.10.0-next.3",
38
+ "@apexops/renderers": "0.10.0-next.3",
39
39
  "@azure/mcp": "3.0.0-beta.37",
40
40
  "@hono/node-server": "2.0.11",
41
41
  "@modelcontextprotocol/sdk": "1.29.0",