woobe-cli 0.9.1 → 0.11.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
@@ -553,3 +553,55 @@ accepted local base. Terminal failure/cancellation reconciles only components
553
553
  with matching approved definition digests and completed owner receipts, then
554
554
  allows an explicit new attempt. Local edits made after the original upload remain
555
555
  unsynchronized; no author file is overwritten during reconciliation.
556
+
557
+ ### Native lifecycle with local references
558
+
559
+ Lifecycle commands use saved native snapshots. Push YAML edits first; staging or
560
+ publication does not upload local changes implicitly.
561
+
562
+ ```powershell
563
+ woobe agent '@support' push
564
+ woobe agent '@support' stage --yes
565
+ woobe agent '@support' test --file ./support-test.yaml --yes
566
+ woobe agent '@support' publish --notes "Reviewed support changes" --yes
567
+ woobe agent '@support' activate --version 1.2.0 --notes "Deploy approved release" --yes
568
+ woobe agent '@support' rollback --version 1.1.0 --notes "Restore previous behavior" --yes
569
+ woobe agent '@support' release list
570
+ woobe agent '@support' get
571
+ woobe model usage '@chat-model'
572
+ woobe provider usage '@openai'
573
+ ```
574
+
575
+ Native UUIDs work without a development config. Explicit `@alias` and local
576
+ paths use bindings scoped to the selected connection, Workspace and Project.
577
+ The canonical forms (for example `agent release promote UUID RELEASE_UUID
578
+ --file promotion.yaml --yes`) remain available with JSON or YAML input.
579
+
580
+ ### Execute and record a release test
581
+
582
+ `agent REFERENCE test` executes the saved Staging snapshot by default. It records
583
+ the actual answer, parsed output, Run identity, latency and validation errors in
584
+ Woobe. Use `--env draft`, `--env production`, or `--env release --version 1.2.0`
585
+ to select a different saved snapshot. The same UUID, alias and path resolution
586
+ applies. Both Agent versioning and Run execution permissions are required.
587
+
588
+ ```yaml
589
+ # support-test.yaml
590
+ message: "Explain how to reset my password"
591
+ # Optional exact assertion against parsed output, or {answer: ...} for text:
592
+ # expected_output:
593
+ # answer: "The exact expected answer"
594
+ # external_context:
595
+ # customer_tier: premium
596
+ ```
597
+
598
+ ```powershell
599
+ woobe agent '@support' test --file ./support-test.yaml --yes
600
+ woobe agent UUID test --env release --version 1.2.0 --file ./support-test.yaml --yes
601
+ woobe agent UUID release tests SNAPSHOT_UUID
602
+ ```
603
+
604
+ Failed execution or assertion exits with code 6 and includes the recorded test
605
+ result. A network timeout is not retried automatically. The older `agent release
606
+ test` operation only registers a test record; `agent REFERENCE test` and the
607
+ canonical `agent release run-test` perform the actual execution.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "woobe-cli",
3
- "version": "0.9.1",
3
+ "version": "0.11.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