@optique/core 1.4.0-dev.2897 → 1.4.0-dev.2899

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.2897",
3
+ "version": "1.4.0-dev.2899",
4
4
  "description": "Type-safe combinatorial command-line interface parser",
5
5
  "keywords": [
6
6
  "CLI",
@@ -261,7 +261,7 @@
261
261
  },
262
262
  "sideEffects": false,
263
263
  "devDependencies": {
264
- "@optique/env": "1.4.0-dev.2897+0d4d0c4a",
264
+ "@optique/env": "1.4.0-dev.2899+9c2973b0",
265
265
  "@types/node": "^24.0.0",
266
266
  "fast-check": "^4.7.0",
267
267
  "tsdown": "^0.13.0",
@@ -53,8 +53,9 @@ Core rules
53
53
  - Async value parsers like *@optique/git* make containing parsers async.
54
54
  Await `run()`/`parse()`/`runParser()` or, for `bindKeyring()`, `runAsync()`.
55
55
  - Use `dependency()` when one value parser controls another's valid values.
56
- Wrap middle steps too: `dependency(source.deriveSync(...))`. Resolution
57
- follows dependency order, independently of object/tuple field order.
56
+ For a multi-level chain, wrap the middle derivation too:
57
+ `dependency(source.deriveSync(...))`. Optique resolves such chains by
58
+ dependency order, independently of object/tuple field order.
58
59
  - Use `derivePromptConfig(source, resolver)` from *@optique/prompt* or its
59
60
  adapters for choices/messages depending on parsed values; use
60
61
  `[sourceA, sourceB]` for several sources. Async resolvers run at fallback
@@ -262,7 +263,6 @@ For the detailed maintained guide, use <https://optique.dev/pitfalls.md>.
262
263
  Reference links
263
264
  ---------------
264
265
 
265
- - Documentation index for agents: <https://optique.dev/llms.txt>
266
266
  - Runners and entry points: <https://optique.dev/concepts/runners.md>
267
267
  - Primitive parsers: <https://optique.dev/concepts/primitives.md>
268
268
  - Construct combinators: <https://optique.dev/concepts/constructs.md>
@@ -272,8 +272,8 @@ Reference links
272
272
  - Structured messages: <https://optique.dev/concepts/messages.md>
273
273
  - Shell completion: <https://optique.dev/concepts/completion.md>
274
274
  - Command discovery: <https://optique.dev/concepts/discover.md>
275
+ - CLI: <https://github.com/dahlia/optique/tree/main/examples/file-inspect>
275
276
  - Man pages: <https://optique.dev/concepts/man.md>
276
- - Consumer skills: <https://optique.dev/consumer-skills.md>
277
277
 
278
278
 
279
279
  Integration packages