@oddington/cli 0.1.63 → 0.1.64

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.
Files changed (3) hide show
  1. package/README.md +18 -3
  2. package/dist/os.js +324 -318
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -636,11 +636,26 @@ For modern local execution, install the workspace separately with Bun 1.3.14.
636
636
  For a failed local Run, the terminal and JSON result identify its failed step
637
637
  and known SDK error. Device-local `~/.os/<workspace>/runs/<run-id>/execution.json`
638
638
  retains redacted exception messages, stacks, causes and failed OS operations.
639
- Those details are not returned through app summaries. Use SDK 0.1.35 and CLI
640
- 0.1.63 for this evidence; updating only the CLI does not replace the SDK frozen
639
+ Those details are not returned through app summaries. Use SDK 0.1.36 and CLI
640
+ 0.1.64 for this evidence; updating only the CLI does not replace the SDK frozen
641
641
  into a customer routine or an earlier saved Run.
642
642
 
643
- Keep an exact stable `@oddington/sdk` 0.1.x patch through 0.1.35 in root
643
+ AI structured output is validated against the routine's requested schema.
644
+ `generateObject` returns a typed object or throws a catchable `RoutineAIError`
645
+ with a clear validation reason and optional original answer text. A routine can
646
+ inspect the answer, apply its own recovery policy and continue without making
647
+ the whole Run fail. An uncaught routine or step exception still fails execution.
648
+
649
+ For a failed Run, local `execution.json` retains the last eight `aiOutputs`,
650
+ each linked by `call` to its local AI event and containing at most 8 KiB of
651
+ credential-redacted final answer text. Truncation is marked. Successful Runs
652
+ retain only rejected-answer samples, including when the routine recovered from
653
+ them. The human CLI prints the local evidence location;
654
+ shared summaries and JSON command output exclude answer samples. This evidence
655
+ excludes prompts, reasoning and provider logs. These changes require an updated
656
+ SDK and CLI; earlier versions keep their existing validation behavior.
657
+
658
+ Keep an exact stable `@oddington/sdk` 0.1.x patch through 0.1.36 in root
644
659
  `devDependencies`, with its declaration, lock and installed package agreeing.
645
660
  Use compatible Node, the selected private ESM manifest and the shared frozen
646
661
  lock. OS verifies only the selected installed graph, stages its confined bytes