woobe-cli 0.4.0 → 0.6.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/USAGE.md
CHANGED
|
@@ -196,7 +196,7 @@ Offline compilation emits a v1 execution document and hash. Both formats reuse t
|
|
|
196
196
|
|
|
197
197
|
`--skip-unchanged` performs an authorized GET for compatible update targets, comparing only supplied fields. Matching state is checkpointed as `unchanged`, making results available to dependent resources; resume skips that observation just as it skips completed writes. It is a recorded observation, not continuous drift detection. Changed state proceeds to the ordinary PATCH/PUT; server-side revision enforcement remains authoritative. An explicit `if_match` requires an observed matching ETag before this shortcut. Missing compatible getters (including NetworkDraft) return exit 9; default apply remains available without the option. Create intents are always explicit creations and have no name-based existence check.
|
|
198
198
|
|
|
199
|
-
Packages contain both `manifest.schema.json` (steps v1) and `resources.schema.json` (resources v2).
|
|
199
|
+
Packages contain both `manifest.schema.json` (steps v1) and `resources.schema.json` (resources v2). Manifest resource coverage and semantic upsert/existence reconciliation remain limited. Portable Agent/Network YAML export/import and protected bindings use the separate Package V1 workflow below.
|
|
200
200
|
|
|
201
201
|
## Captura seletiva e paginação anunciada
|
|
202
202
|
|
|
@@ -382,8 +382,28 @@ new tools start in review. Existing immutable release snapshots are unaffected.
|
|
|
382
382
|
Use `woobe package validate`, `plan`, `import`, `status`, `resume`, `cancel`, and
|
|
383
383
|
`export agent|network` for complete native author definitions. A Package requires
|
|
384
384
|
the matching backend capability catalog; it does not fall back to Manifest.
|
|
385
|
-
`--destination`
|
|
385
|
+
`--destination` optionally overrides the export directory (default: ./normalized-resource-name), while `--output` selects text/JSON/JSONL. Export accepts a name or UUID; `--env` defaults to draft, staging/production resolve current versions, and release requires `--version`. Import checkpoints are automatic unless explicitly specified. Use `package bindings SOURCE` for a destination YAML template.
|
|
386
386
|
Knowledge can be rebuilt from portable documents or resolved through an external
|
|
387
387
|
binding. See [PACKAGES.md](PACKAGES.md) for flags, lifecycle, protection, recovery
|
|
388
388
|
and the supported CLI/server pair. Existing resource projections and Manifest
|
|
389
389
|
semantic-upsert limitations remain described above.
|
|
390
|
+
|
|
391
|
+
## YAML and JSON request input
|
|
392
|
+
|
|
393
|
+
Every API command that consumes `--file` accepts YAML (`.yaml`/`.yml`) or JSON.
|
|
394
|
+
The wire contract remains JSON. For stdin, choose the format explicitly:
|
|
395
|
+
|
|
396
|
+
```sh
|
|
397
|
+
woobe agent update UUID --file ./agent-change.yaml --validate-body
|
|
398
|
+
woobe validate-input --command "project agent update" --file ./agent-change.yaml
|
|
399
|
+
woobe agent update UUID --file - --input-format yaml
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
Use `--input-format json` to require JSON regardless of the filename. Auto mode
|
|
403
|
+
uses the extension, then JSON object/array syntax, otherwise YAML. One document
|
|
404
|
+
is accepted; duplicate fields, anchors, aliases, merge keys, custom tags and
|
|
405
|
+
non-finite numbers are rejected before submission. Explicit `null`, omitted
|
|
406
|
+
fields and exact numeric values retain their meanings. A YAML API payload is
|
|
407
|
+
not a portable Package: use `package import` for dependency-aware bundles.
|
|
408
|
+
Manifests can also be written in YAML with the existing manifest schema.
|
|
409
|
+
No project configuration file is required for request input or command help.
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/vendor/linux-amd64/woobe
CHANGED
|
Binary file
|
package/vendor/linux-arm64/woobe
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|