@duyquangnvx/create-agent-cli 0.25.0 → 0.26.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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ What changed in each release of `@duyquangnvx/agent-cli` (the Runtime) and `@duy
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## v0.26.0 (2026-11-06)
8
+
9
+ ### Added
10
+
11
+ - `ctx.dryRun` tells a Command whether the run is a dry run: true only in the `plan` of a run given `--dry-run`, false in `apply` and in every Command without a Plan. A plan whose reads change something of their own, such as a stored login, can skip that change without reading the command line.
12
+
7
13
  ## v0.25.0 (2026-11-05)
8
14
 
9
15
  ### Changed
package/dist/bin.js CHANGED
@@ -7089,9 +7089,9 @@ function secretRows(secrets, commands) {
7089
7089
  /** The bundler's stamp, absent when the CLI runs unbundled. Read per call, so a test can define it. */
7090
7090
  function buildStamp() {
7091
7091
  return {
7092
- "sha": "8dffdc4",
7092
+ "sha": "ed7073b",
7093
7093
  "dirty": false,
7094
- "builtAt": "2026-11-05T10:26:41.000Z"
7094
+ "builtAt": "2026-11-06T05:43:19.000Z"
7095
7095
  };
7096
7096
  }
7097
7097
  /** The first line of `--version`: the version, and the commit and time of a stamped build. */
@@ -11239,7 +11239,7 @@ function portsBaseOf(scope, signal) {
11239
11239
  };
11240
11240
  }
11241
11241
  function contextOf(portsBase, control, parts) {
11242
- const { ports, project, force, secrets = [], rerun, deliver, notice } = parts;
11242
+ const { ports, project, force, dryRun, secrets = [], rerun, deliver, notice } = parts;
11243
11243
  const declared = new Set(secrets.map(({ name }) => name));
11244
11244
  return {
11245
11245
  ...portsBase,
@@ -11257,6 +11257,7 @@ function contextOf(portsBase, control, parts) {
11257
11257
  },
11258
11258
  project,
11259
11259
  force,
11260
+ dryRun,
11260
11261
  rerun,
11261
11262
  poll: (check, { intervalMs, signal: stop }) => poll(portsBase.clock, check, intervalMs, stop === void 0 ? control.signal : AbortSignal.any([control.signal, stop])),
11262
11263
  deliver,
@@ -11380,6 +11381,7 @@ async function runCommand(cli, routed, options, write, baseFormat) {
11380
11381
  ports: once(() => ports(portsBase)),
11381
11382
  project,
11382
11383
  force: flags.force,
11384
+ dryRun: flags.dryRun,
11383
11385
  secrets: command.secrets,
11384
11386
  rerun: rerunOf,
11385
11387
  notice: (text) => write.stderr(noticeLine(text, routed.json)),
@@ -11612,7 +11614,7 @@ async function runProcess(cli) {
11612
11614
  //#region package.json
11613
11615
  var package_default = {
11614
11616
  name: "@duyquangnvx/create-agent-cli",
11615
- version: "0.25.0",
11617
+ version: "0.26.0",
11616
11618
  description: "Creates a new Agent CLI repository wired to @duyquangnvx/agent-cli.",
11617
11619
  type: "module",
11618
11620
  engines: { "node": ">=22.12.0" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duyquangnvx/create-agent-cli",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "Creates a new Agent CLI repository wired to @duyquangnvx/agent-cli.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -21,7 +21,7 @@
21
21
  "access": "public"
22
22
  },
23
23
  "devDependencies": {
24
- "@duyquangnvx/agent-cli": "0.25.0",
24
+ "@duyquangnvx/agent-cli": "0.26.0",
25
25
  "tsdown": "0.23.0",
26
26
  "zod": "4.6.7"
27
27
  },