huaweicloud-devkit 1.1.15-next.1 → 1.1.15

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "huaweicloud-devkit",
3
3
  "mcpName": "io.github.huaweicloud/huaweicloud-devkit",
4
- "version": "1.1.15-next.1",
4
+ "version": "1.1.15",
5
5
  "kooCliVersion": "7.3.12",
6
6
  "description": "Agent toolkit that helps coding agents use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities safely and accurately.",
7
7
  "type": "module",
@@ -17,7 +17,7 @@
17
17
  "mcpServers": "./.mcp.json",
18
18
  "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
19
19
  "skills": "./skills/",
20
- "version": "1.1.15-next.1",
20
+ "version": "1.1.15",
21
21
  "author": {
22
22
  "name": "HuaweiCloud Mate",
23
23
  "url": "https://github.com/huaweicloud"
@@ -20,7 +20,7 @@
20
20
  "mcpServers": "./.mcp.json",
21
21
  "description": "Agent toolkit that helps coding agents use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities safely and accurately.",
22
22
  "skills": "./skills/",
23
- "version": "1.1.15-next.1",
23
+ "version": "1.1.15",
24
24
  "author": {
25
25
  "name": "HuaweiCloud Mate",
26
26
  "url": "https://github.com/huaweicloud"
@@ -17,7 +17,7 @@
17
17
  "mcpServers": "./.mcp.json",
18
18
  "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
19
19
  "skills": "./skills/",
20
- "version": "1.1.15-next.1",
20
+ "version": "1.1.15",
21
21
  "author": {
22
22
  "name": "HuaweiCloud Mate",
23
23
  "url": "https://github.com/huaweicloud"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huaweicloud-devkit",
3
- "version": "1.1.15-next.1",
3
+ "version": "1.1.15",
4
4
  "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
5
5
  "author": {
6
6
  "name": "HuaweiCloud Mate",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huaweicloud-devkit",
3
- "version": "1.1.15-next.1",
3
+ "version": "1.1.15",
4
4
  "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
5
5
  "author": {
6
6
  "name": "HuaweiCloud Mate",
@@ -2,7 +2,7 @@
2
2
  "name": "huaweicloud-devkit",
3
3
  "id": "huaweicloud-devkit",
4
4
  "displayName": "HuaweiCloud DevKit",
5
- "version": "1.1.15-next.1",
5
+ "version": "1.1.15",
6
6
  "family": "bundle-plugin",
7
7
  "bundleFormat": "codex",
8
8
  "description": "Guide coding agents to use Huawei Cloud safely — KooCLI, APIs, SDKs, 28 MCP tools, skills, and safety guardrails.",
@@ -35,7 +35,7 @@ Always run `hcloud <Service> <Operation> --help` before constructing commands to
35
35
  ## Provisioning Rules (Stage 6)
36
36
 
37
37
  1. Generate `deployment_id` (`d-xxx`), initialize the session state file (path and schema: `references/state-file.md`).
38
- 2. **Batch approval: show the RESOURCE LIST (name / type / purpose), never the raw commands.** Present the numbered manifest BEFORE any `huaweicloud_plan_cli_command` call and get ONE explicit list-level approval. After the user approves the manifest, execute each resource via `huaweicloud_plan_cli_command` → `huaweicloud_run_approved_command` without re-asking list-level consent (per-command approval tokens are still required by the tool gate). Never execute anything outside the approved list.
38
+ 2. **Batch approval: show the RESOURCE LIST (name / type / purpose), never the raw commands.** Present the numbered manifest BEFORE any `huaweicloud_plan_cli_command` call and get ONE explicit list-level approval. After the user approves the manifest, execute each resource via `huaweicloud_plan_cli_command` → `huaweicloud_run_approved_command` without re-asking list-level consent (per-command approval tokens are still required by the tool gate). Never execute anything outside the approved list. For a multi-command batch, use `huaweicloud_plan_manifest` once and `huaweicloud_run_approved_manifest` once (one list approval, one tool call).
39
39
  3. Create in dependency-topological order (network → compute/db → bindings). After each success, extract the resource ID and write it to state immediately.
40
40
  4. Any failure: stop immediately, mark state `partial`, report the error, offer destroy of already-created resources. No automatic rollback.
41
41
 
@@ -46,16 +46,16 @@ Preconditions - all required:
46
46
  1. Session state file exists and contains the deployment_id (state dies with the session; a fresh session cannot destroy past deployments - direct the user to the console instead).
47
47
  2. Status is `deployed` or `partial` (`destroyed` is terminal).
48
48
  3. The user explicitly names the target deployment. Ambiguous "delete it" → list deployments and ask. Never guess.
49
- 4. Every delete command still goes through plan → approve → run.
49
+ 4. Every delete command still goes through plan → approve → run. For a multi-command cleanup, use `huaweicloud_plan_manifest` once for the full list and `huaweicloud_run_approved_manifest` once to execute it. Never bypass the approval gate.
50
50
 
51
- Execution: show the to-be-deleted list for final confirmation → delete in **reverse creation order** → a "resource not found" error counts as already deleted, continue → mark `destroyed`. OBS: recursive sweeps (`OBS rm obs://<bucket>/ -r -f`) are DENIED by the safety rule `hwc-destructive-delete-force` even after manifest approval - do not plan them. Instead list objects (`hcloud OBS ls obs://<bucket>/ -s`) and delete per-object (watch for folder-marker objects like `assets/` that outlive the files), then delete the bucket (a non-empty bucket fails with 409 `BucketNotEmpty`). CDN: disable then delete. DNS: delete the record set (only if hosted in Huawei Cloud DNS).
51
+ Execution: show the to-be-deleted list for final confirmation → delete in **reverse creation order** → a "resource not found" error counts as already deleted, continue → mark `destroyed`. OBS: recursive sweeps (`OBS rm obs://<bucket>/ -r -f`) are DENIED by the safety rule `hwc-destructive-delete-force` even after manifest approval - do not plan them. Instead list objects (`hcloud OBS ls obs://<bucket>/ -s`) and delete per-object (watch for folder-marker objects like `assets/` that outlive the files), then delete the empty bucket with `hcloud OBS rm obs://<bucket> -f` (a non-empty bucket fails with 409 `BucketNotEmpty`; `-r` is prefix object deletion and returns "No task to run" on an empty bucket). For multi-command cleanup, plan the full list once with `huaweicloud_plan_manifest` and execute it with `huaweicloud_run_approved_manifest` (`continueOnError=true`; one approval, one tool call). CDN: disable then delete. DNS: delete the record set (only if hosted in Huawei Cloud DNS).
52
52
 
53
53
  ## Critical Warnings
54
54
 
55
55
  | Trap | Why / Rule |
56
56
  | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57
57
  | Stale `securityToken` poisons every hcloud call | Symptom: every API returns `APIGW.0301 Incorrect IAM authentication information` while OBS/obsutil still works. `configure set` refuses empty values and auth-sync never clears the field. Fix: `hcloud configure delete --cli-profile=default`, then re-run auth init with AK/SK only (no token) |
58
- | OBS writes bypass the REST write-prefix policy | `mb` / `cp` / `rm` / `chattri` are obsutil-style commands. ALWAYS route them through `huaweicloud_plan_cli_command` → approval → `huaweicloud_run_approved_command`. Never treat them as read-only |
58
+ | OBS writes bypass the REST write-prefix policy | `mb` / `cp` / `rm` / `chattri` are obsutil-style commands. ALWAYS route them through `huaweicloud_plan_cli_command` → approval → `huaweicloud_run_approved_command`, or the manifest pair for a batch. Never treat them as read-only |
59
59
  | `OBS mb` flag rules differ from cp/rm | `mb` does NOT accept `-f` (flag parse error) and REQUIRES explicit `-location=<region>` even with a regional endpoint (else `IllegalLocationConstraintException`) |
60
60
  | Duplicate `OBS mb` is idempotent success | Same-account same-name bucket creation returns success, not an error - never treat a second create as failure. OBS deletes are also idempotent (deleting a nonexistent object succeeds) |
61
61
  | Bucket ACL does not cascade to objects | Every uploaded object needs `-acl=public-read` at upload time (`-f` IS valid on cp/rm) |
@@ -85,6 +85,8 @@ Execution: show the to-be-deleted list for final confirmation → delete in **re
85
85
 
86
86
  - `huaweicloud_plan_cli_command` → classify and plan each write command
87
87
  - `huaweicloud_run_approved_command` → execute after explicit approval (approvedCommand must match the planned command exactly - use the `command` field verbatim, never retype it)
88
+ - `huaweicloud_plan_manifest` → plan a list of write commands as one batch (per-command classifications + one approval token)
89
+ - `huaweicloud_run_approved_manifest` → execute the approved batch sequentially; set `continueOnError` for idempotent cleanup lists
88
90
  - `huaweicloud_run_readonly_command` → discovery (flavors, images, zones, prices)
89
91
  - `huaweicloud_list_regions` / `huaweicloud_get_regional_availability` → region intent
90
92
  - `huaweicloud_hook_check_deploy_plan` → risk-check the plan before approval
@@ -27,7 +27,7 @@ hcloud OBS help <command> # e.g. hcloud OBS help mb
27
27
  | ------------------ | ------------------------------- |
28
28
  | `OBS CreateBucket` | `OBS mb obs://<bucket>` |
29
29
  | `OBS PutObject` | `OBS cp <file> obs://<bucket>/` |
30
- | `OBS DeleteBucket` | `OBS rm obs://<bucket> -r` |
30
+ | `OBS DeleteBucket` | `OBS rm obs://<bucket> -f` |
31
31
 
32
32
  ## Overview
33
33
 
@@ -74,7 +74,7 @@ hcloud OBS config -e=<endpoint> -i=<AK> -k=<SK> -t=token
74
74
  | Set lifecycle | `hcloud OBS lifecycle obs://<bucket> -method=put -localfile=<json>` |
75
75
  | Set bucket policy | `hcloud OBS bucketpolicy obs://<bucket> -method=put -localfile=<json>` |
76
76
  | Set CORS | `huaweicloud_obs_set_cors` (set/get/delete) — KooCLI OBS has no cors subcommand; the tool does AWS4-signed `PUT /?cors` internally. allowedMethod MUST include HEAD |
77
- | Delete bucket | `hcloud OBS rm obs://<bucket> -r` (must be empty) |
77
+ | Delete bucket | `hcloud OBS rm obs://<bucket> -f` (must be empty; `-r` is prefix object deletion and returns "No task to run" on an empty bucket) |
78
78
  | Presigned URL | `hcloud OBS sign obs://<bucket>/<key> -e=<seconds>` |
79
79
  | Object metadata | `hcloud OBS stat obs://<bucket>/<key>` |
80
80
 
@@ -11,7 +11,7 @@ OBS 使用 **obsutil-style** 子命令,不是 API-style 操作名:
11
11
  | `OBS --help` | `hcloud OBS help`(无 `--`,`help` 是子命令) |
12
12
  | `OBS CreateBucket` | `hcloud OBS mb obs://<bucket>` |
13
13
  | `OBS PutObject` | `hcloud OBS cp <file> obs://<bucket>/` |
14
- | `OBS DeleteBucket` | `hcloud OBS rm obs://<bucket> -r` |
14
+ | `OBS DeleteBucket` | `hcloud OBS rm obs://<bucket> -f` |
15
15
  | `OBS ListBuckets` | `hcloud OBS ls` |
16
16
 
17
17
  ## 独立凭证配置
@@ -35,6 +35,7 @@ Use this skill before any Huawei Cloud action that may expose secrets, change re
35
35
 
36
36
  - Default path: use `huaweicloud_plan_cli_command` to produce a reviewed command block, then let the user or host agent execute it after approval.
37
37
  - Approved tool path: use `huaweicloud_run_approved_command` only when the exact planned command has been shown and the user explicitly approved that exact command.
38
+ - Batch path: for multi-command work, use `huaweicloud_plan_manifest` once to show the full list, then `huaweicloud_run_approved_manifest` after the user approves the whole manifest. Never split an approved batch into unapproved commands.
38
39
  - After a write, verify with `huaweicloud_run_readonly_command` or another read-only check.
39
40
 
40
41
  ## Proactive Hook Checks
@@ -394,7 +394,7 @@ export function planHcloudCommand(args, options = {}) {
394
394
  warnings,
395
395
  classification: applyPreflightFindings(classification, sgFindings),
396
396
  sgFindings,
397
- approvalToken: createApprovalToken(normalizedArgs),
397
+ approvalToken: options.createToken === false ? undefined : createApprovalToken(normalizedArgs),
398
398
  safeToRun: classification.decision === 'allow',
399
399
  };
400
400
  }
@@ -8,7 +8,14 @@ import { createHmac, createHash } from 'node:crypto';
8
8
 
9
9
  import { evaluateArtifacts, evaluateCommandRisk, evaluateDeployPlan } from './risk-rule-engine.mjs';
10
10
  import { classifyTextCommand, redactSecrets } from './safety-policy.mjs';
11
- import { planHcloudCommand, runHcloud, consumeApprovalToken, inspectApprovalToken, hashArgs } from './hcloud-cli.mjs';
11
+ import {
12
+ planHcloudCommand,
13
+ runHcloud,
14
+ consumeApprovalToken,
15
+ inspectApprovalToken,
16
+ hashArgs,
17
+ createApprovalToken,
18
+ } from './hcloud-cli.mjs';
12
19
  import { checkAccountType } from './account-type.mjs';
13
20
  import { searchMarketplace } from './search-market.mjs';
14
21
  import { getServiceIcon } from './icon-library.mjs';
@@ -312,6 +319,79 @@ export const TOOL_DEFINITIONS = [
312
319
  },
313
320
  },
314
321
  },
322
+ {
323
+ name: 'huaweicloud_plan_manifest',
324
+ description:
325
+ 'Plan a list of write-capable hcloud commands as ONE manifest for batch approval. Use for multi-command cleanup or resource groups so the agent does not repeat plan/run calls. Returns per-command plans and ONE approvalToken; after explicit user approval, call huaweicloud_run_approved_manifest with the same commands.',
326
+ inputSchema: {
327
+ type: 'object',
328
+ required: ['commands'],
329
+ properties: {
330
+ commands: {
331
+ type: 'array',
332
+ items: {
333
+ type: 'object',
334
+ required: ['args'],
335
+ properties: {
336
+ args: {
337
+ type: 'array',
338
+ items: { type: 'string' },
339
+ description: 'hcloud arguments for one command, excluding the hcloud executable.',
340
+ },
341
+ note: { type: 'string', description: 'Optional human-readable purpose for this command.' },
342
+ },
343
+ },
344
+ },
345
+ },
346
+ },
347
+ },
348
+ {
349
+ name: 'huaweicloud_run_approved_manifest',
350
+ description:
351
+ 'Execute an approved manifest of hcloud commands sequentially. Requires the manifest approvalToken and approvedByUser=true. Returns every command result; use continueOnError for idempotent cleanup lists.',
352
+ inputSchema: {
353
+ type: 'object',
354
+ required: ['commands', 'approvalToken', 'approvedByUser'],
355
+ properties: {
356
+ commands: {
357
+ type: 'array',
358
+ items: {
359
+ type: 'object',
360
+ required: ['args'],
361
+ properties: {
362
+ args: { type: 'array', items: { type: 'string' } },
363
+ note: { type: 'string' },
364
+ },
365
+ },
366
+ },
367
+ approvalToken: {
368
+ type: 'string',
369
+ description: 'The approvalToken returned by huaweicloud_plan_manifest.',
370
+ },
371
+ approvedByUser: {
372
+ type: 'boolean',
373
+ description: 'Must be true only after the user explicitly approves this exact manifest.',
374
+ },
375
+ continueOnError: {
376
+ type: 'boolean',
377
+ description:
378
+ 'When true, continue after a failed command and return partial results (for idempotent cleanup lists).',
379
+ },
380
+ timeoutMs: {
381
+ type: 'number',
382
+ description: 'Optional per-command timeout in milliseconds. Defaults to 60000.',
383
+ },
384
+ maxRetries: {
385
+ type: 'number',
386
+ description: 'Optional per-command retry count for transient network errors. Defaults to 1.',
387
+ },
388
+ cwd: {
389
+ type: 'string',
390
+ description: 'Optional working directory for the hcloud processes.',
391
+ },
392
+ },
393
+ },
394
+ },
315
395
  {
316
396
  name: 'huaweicloud_show_profile_redacted',
317
397
  description: 'Inspect a KooCLI profile through hcloud configure show and return only redacted output.',
@@ -1358,6 +1438,10 @@ export async function callTool(name, rawArgs = {}, opts = {}) {
1358
1438
  return listOperations(args.service, { timeoutMs: args.timeoutMs });
1359
1439
  case 'huaweicloud_run_approved_command':
1360
1440
  return runApprovedCommand(args);
1441
+ case 'huaweicloud_plan_manifest':
1442
+ return planManifest(args);
1443
+ case 'huaweicloud_run_approved_manifest':
1444
+ return runApprovedManifest(args);
1361
1445
  case 'huaweicloud_show_profile_redacted':
1362
1446
  return showProfileRedacted(args.profile);
1363
1447
  case 'huaweicloud_hook_check_command':
@@ -2298,6 +2382,137 @@ async function listOperations(service, options = {}) {
2298
2382
  };
2299
2383
  }
2300
2384
 
2385
+ function normalizeManifestCommands(commands) {
2386
+ if (!Array.isArray(commands) || commands.length === 0) {
2387
+ throw new Error('commands must be a non-empty array');
2388
+ }
2389
+ return commands.map((entry, index) => {
2390
+ const rawArgs = Array.isArray(entry) ? entry : entry && entry.args;
2391
+ if (!Array.isArray(rawArgs) || rawArgs.length === 0) {
2392
+ throw new Error(`commands[${index}].args must be a non-empty array`);
2393
+ }
2394
+ return {
2395
+ args: rawArgs.map(String),
2396
+ note: String((entry && entry.note) || ''),
2397
+ };
2398
+ });
2399
+ }
2400
+
2401
+ function manifestDigest(commands) {
2402
+ return hashArgs(commands.map((command) => command.args));
2403
+ }
2404
+
2405
+ function executedPlanFor(args) {
2406
+ const plan = planHcloudCommand(args, { allowWrites: true, createToken: false });
2407
+ return {
2408
+ ...plan,
2409
+ safeToRun: true,
2410
+ classification: {
2411
+ ...plan.classification,
2412
+ decision: 'allow',
2413
+ reason: 'Executed after explicit user approval.',
2414
+ },
2415
+ };
2416
+ }
2417
+
2418
+ function planManifest(args = {}) {
2419
+ const commands = normalizeManifestCommands(args.commands);
2420
+ const plans = commands.map((command) => {
2421
+ const plan = planHcloudCommand(command.args, { allowWrites: true, createToken: false });
2422
+ return {
2423
+ args: plan.args,
2424
+ command: plan.command,
2425
+ note: command.note,
2426
+ classification: plan.classification,
2427
+ safeToRun: plan.safeToRun,
2428
+ warnings: plan.warnings,
2429
+ sgFindings: plan.sgFindings,
2430
+ };
2431
+ });
2432
+ const digest = manifestDigest(commands);
2433
+ return {
2434
+ commands: plans,
2435
+ count: plans.length,
2436
+ manifestDigest: digest,
2437
+ approvalToken: createApprovalToken([`--manifest-digest=${digest}`]),
2438
+ safeToRun: plans.every((plan) => plan.safeToRun),
2439
+ note: 'Review the full command list with the user. After explicit approval, call huaweicloud_run_approved_manifest with the same commands and approvalToken.',
2440
+ };
2441
+ }
2442
+
2443
+ async function runApprovedManifest(args = {}) {
2444
+ if (args.approvedByUser !== true) {
2445
+ throw new Error('approvedByUser must be true after explicit user approval for this exact manifest.');
2446
+ }
2447
+ const commands = normalizeManifestCommands(args.commands);
2448
+ const digest = manifestDigest(commands);
2449
+ const synthetic = [`--manifest-digest=${digest}`];
2450
+ const token = String(args.approvalToken || '');
2451
+ const inspection = inspectApprovalToken(token);
2452
+ if (inspection.state === 'already_consumed') {
2453
+ return { status: 'ok', outcome: 'already_processed' };
2454
+ }
2455
+ if (inspection.state === 'expired') {
2456
+ return { status: 'rejected', code: 'CONFIRM_TOKEN_EXPIRED' };
2457
+ }
2458
+ if (inspection.state === 'not_found') {
2459
+ return { status: 'rejected', code: 'CONFIRM_TOKEN_NOT_FOUND' };
2460
+ }
2461
+ if (!inspection.entry || inspection.entry.argsHash !== hashArgs(synthetic)) {
2462
+ throw new Error('Provided commands do not match the approved manifest. Re-plan and re-approve the list.');
2463
+ }
2464
+ const stored = consumeApprovalToken(token);
2465
+ if (!stored) {
2466
+ const recheck = inspectApprovalToken(token);
2467
+ if (recheck.state === 'already_consumed') return { status: 'ok', outcome: 'already_processed' };
2468
+ if (recheck.state === 'expired') return { status: 'rejected', code: 'CONFIRM_TOKEN_EXPIRED' };
2469
+ return { status: 'rejected', code: 'CONFIRM_TOKEN_NOT_FOUND' };
2470
+ }
2471
+ if (stored.argsHash !== hashArgs(synthetic)) {
2472
+ throw new Error('Provided commands do not match the approved manifest. Re-plan and re-approve the list.');
2473
+ }
2474
+
2475
+ const results = [];
2476
+ for (const command of commands) {
2477
+ const result = await runHcloud(command.args, {
2478
+ allowWrites: true,
2479
+ timeoutMs: args.timeoutMs,
2480
+ maxRetries: args.maxRetries,
2481
+ cwd: args.cwd,
2482
+ createToken: false,
2483
+ });
2484
+ const entry = {
2485
+ args: redactSecrets(command.args),
2486
+ note: command.note,
2487
+ ok: result.ok === true,
2488
+ exitCode: result.exitCode,
2489
+ signal: result.signal,
2490
+ stdout: result.stdout,
2491
+ stderr: result.stderr,
2492
+ };
2493
+ if (result.errorCode) entry.errorCode = result.errorCode;
2494
+ if (result.nextStep) entry.nextStep = result.nextStep;
2495
+ results.push(entry);
2496
+ if (result.ok !== true && args.continueOnError !== true) {
2497
+ return {
2498
+ approved: true,
2499
+ partial: true,
2500
+ stoppedAt: results.length - 1,
2501
+ count: results.length,
2502
+ results,
2503
+ manifestDigest: digest,
2504
+ };
2505
+ }
2506
+ }
2507
+ return {
2508
+ approved: true,
2509
+ ok: results.every((result) => result.ok),
2510
+ count: results.length,
2511
+ results,
2512
+ manifestDigest: digest,
2513
+ };
2514
+ }
2515
+
2301
2516
  async function runApprovedCommand(args = {}) {
2302
2517
  if (args.approvedByUser !== true) {
2303
2518
  throw new Error('approvedByUser must be true after explicit user approval for this exact command.');
@@ -2342,16 +2557,17 @@ async function runApprovedCommand(args = {}) {
2342
2557
  );
2343
2558
  }
2344
2559
  }
2345
- const strictPlan = planHcloudCommand(providedArgs, { allowWrites: false });
2560
+ const executedPlan = executedPlanFor(providedArgs);
2346
2561
  const result = await runHcloud(providedArgs, {
2347
2562
  allowWrites: true,
2348
2563
  timeoutMs: args.timeoutMs,
2349
2564
  maxRetries: args.maxRetries,
2350
2565
  cwd: args.cwd,
2351
2566
  stdin: args.stdin,
2567
+ createToken: false,
2352
2568
  });
2353
2569
  result.approved = true;
2354
- result.plan = strictPlan;
2570
+ result.plan = executedPlan;
2355
2571
  return result;
2356
2572
  }
2357
2573