woobe-cli 0.5.0 → 0.7.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
@@ -387,3 +387,63 @@ 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.
410
+
411
+ ## Optional local development registry
412
+
413
+ `woobe init --root .woobe --context local` creates `.woobe-config` in the
414
+ current directory. This YAML file identifies the registry and records resource
415
+ UIDs, kinds, logical keys, aliases and paths relative to the artifact root.
416
+ Keep it in Git. `.woobe/.state/` is private and ignored by Git.
417
+
418
+ ```yaml
419
+ schema_version: 1
420
+ registry_id: 71e7c0ee-ea31-48b9-a566-ad713b4b8407
421
+ context: local
422
+ root: .woobe
423
+ defaults:
424
+ pull_environment: draft
425
+ resources:
426
+ - uid: fae665bb-0817-4834-903e-3352815e9367
427
+ kind: Provider
428
+ key: openai-main
429
+ alias: openai-main
430
+ path: providers/openai-main
431
+ ```
432
+
433
+ `woobe config show` displays this configuration. `woobe config check` validates
434
+ registered descriptors and their dependency graph offline; it does not evaluate
435
+ server permissions or execute mutations. `woobe resources list` lists the
436
+ registry, while `woobe resources used-by provider "@openai-main"` shows direct
437
+ and indirect local consumers, including embedding Models and Knowledge.
438
+
439
+ Provider descriptors use `provider`, `credential_ref` and optional public
440
+ `base_url`, `compatibility` and `provider_family` fields. Credential material
441
+ belongs in the existing provider/auth workflow. Managed Model descriptors may
442
+ use `provider_ref` to identify a registered Provider. Multiple Models can share
443
+ a connection; two connections remain distinct registry resources.
444
+
445
+ Development commands discover the nearest `.woobe-config` from the current
446
+ folder, stopping at the Git repository boundary. `--project-config PATH` selects
447
+ an explicit file; `--no-project-config` disables discovery. API requests,
448
+ authentication, contexts, runtime calls and standalone packages do not load this
449
+ file. Their operation is unaffected by a missing or malformed project config.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "woobe-cli",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Woobe CLI for the public control plane and runtime",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file