@superdoc/cli 0.49.0-next.9 → 0.49.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/README.md +5 -2
- package/dist/index.js +103879 -103547
- package/package.json +10 -9
package/README.md
CHANGED
|
@@ -199,6 +199,7 @@ Legacy compatibility is retained for `search`, `read`, and `replace-legacy`.
|
|
|
199
199
|
## Normative Policy
|
|
200
200
|
|
|
201
201
|
- Canonical contract/version metadata comes from `@superdoc/document-api` (`CONTRACT_VERSION`, operation metadata, and schemas).
|
|
202
|
+
- `superdoc --version` (or `-v`) reports the CLI package release version for both the native executable and npm wrapper.
|
|
202
203
|
- This README is usage guidance for CLI consumers.
|
|
203
204
|
- If guidance here conflicts with `superdoc describe`/`describe command` output or document-api contract exports, those are authoritative.
|
|
204
205
|
|
|
@@ -382,6 +383,8 @@ cat ./contract.docx | superdoc info -
|
|
|
382
383
|
|
|
383
384
|
Normative operation/version metadata comes from `@superdoc/document-api`; use `superdoc describe` for the runtime contract surface.
|
|
384
385
|
|
|
386
|
+
In both success and error envelopes, `meta.version` is the Document API `CONTRACT_VERSION`. It identifies the machine contract and can differ from the CLI package release reported by `--version`.
|
|
387
|
+
|
|
385
388
|
Success:
|
|
386
389
|
|
|
387
390
|
```json
|
|
@@ -390,7 +393,7 @@ Success:
|
|
|
390
393
|
"command": "find",
|
|
391
394
|
"data": {},
|
|
392
395
|
"meta": {
|
|
393
|
-
"version": "1.0
|
|
396
|
+
"version": "0.1.0",
|
|
394
397
|
"elapsedMs": 42
|
|
395
398
|
}
|
|
396
399
|
}
|
|
@@ -412,7 +415,7 @@ Error:
|
|
|
412
415
|
}
|
|
413
416
|
},
|
|
414
417
|
"meta": {
|
|
415
|
-
"version": "1.0
|
|
418
|
+
"version": "0.1.0",
|
|
416
419
|
"elapsedMs": 8
|
|
417
420
|
}
|
|
418
421
|
}
|