@optique/core 1.4.0-dev.2601 → 1.4.0-dev.2604

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/core",
3
- "version": "1.4.0-dev.2601",
3
+ "version": "1.4.0-dev.2604",
4
4
  "description": "Type-safe combinatorial command-line interface parser",
5
5
  "keywords": [
6
6
  "CLI",
@@ -237,7 +237,7 @@
237
237
  },
238
238
  "sideEffects": false,
239
239
  "devDependencies": {
240
- "@optique/env": "1.4.0-dev.2601+cfd222ef",
240
+ "@optique/env": "1.4.0-dev.2604+e78868f4",
241
241
  "@types/node": "^24.0.0",
242
242
  "fast-check": "^4.7.0",
243
243
  "tsdown": "^0.13.0",
@@ -62,8 +62,8 @@ Core rules
62
62
  resolve; pass `[sourceA, sourceB]` when it reads several sources. The
63
63
  resolver's prompt kind must return the wrapped parser's value type. Derive
64
64
  the wrapped parser separately when the CLI domain should change, and make
65
- it a dependency source only if another consumer needs its answer. Keep
66
- static prompt configs for everything else.
65
+ it a dependency source only if another consumer needs its answer. Pass a
66
+ lone resolver for fetched choices, forwarding its `signal` to the fetch.
67
67
  - Pass `{ validate, maxAttempts, signal }` as a generated prompt wrapper's
68
68
  third argument, including `prompt()` from *@optique/inquirer* and
69
69
  *@optique/clack*. The validator returns `undefined` to accept the prompted