@optique/core 1.3.0-dev.2467 → 1.3.0-dev.2469
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 +2 -2
- package/skills/optique/SKILL.md +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/core",
|
|
3
|
-
"version": "1.3.0-dev.
|
|
3
|
+
"version": "1.3.0-dev.2469",
|
|
4
4
|
"description": "Type-safe combinatorial command-line interface parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
},
|
|
222
222
|
"sideEffects": false,
|
|
223
223
|
"devDependencies": {
|
|
224
|
-
"@optique/env": "1.3.0-dev.
|
|
224
|
+
"@optique/env": "1.3.0-dev.2469+77a16530",
|
|
225
225
|
"@types/node": "^24.0.0",
|
|
226
226
|
"fast-check": "^4.7.0",
|
|
227
227
|
"tsdown": "^0.13.0",
|
package/skills/optique/SKILL.md
CHANGED
|
@@ -66,11 +66,11 @@ Core rules
|
|
|
66
66
|
it a dependency source only if another consumer needs its answer. Keep
|
|
67
67
|
static prompt configs for everything else.
|
|
68
68
|
- Pass `{ validate, maxAttempts, signal }` as a generated prompt wrapper's
|
|
69
|
-
third argument, including `prompt()` from *@optique/inquirer
|
|
70
|
-
returns `undefined` to accept the prompted
|
|
71
|
-
to retry, synchronously or asynchronously.
|
|
72
|
-
integers and default to unlimited retries.
|
|
73
|
-
|
|
69
|
+
third argument, including `prompt()` from *@optique/inquirer* and
|
|
70
|
+
*@optique/clack*. The validator returns `undefined` to accept the prompted
|
|
71
|
+
value or a structured `Message` to retry, synchronously or asynchronously.
|
|
72
|
+
Attempt limits must be positive integers and default to unlimited retries.
|
|
73
|
+
Selection prompts use shared validation instead of a prompt config.
|
|
74
74
|
- Implement a custom adapter's `execute(config, context)` so retries can show
|
|
75
75
|
`context.previousValidationMessage`, and forward `context.signal` when the
|
|
76
76
|
prompt library supports aborting active work. Adapter-native validation
|