@automatalabs/workflows 0.38.1 → 0.38.3

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 (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -696,9 +696,9 @@ formatHarnessConfigReport(report); // the CLI's human table
696
696
  ## Structured output
697
697
 
698
698
  Pass a JSON Schema to `agent({ schema })` (in a script) or `runner.run(prompt, { schema })` (direct)
699
- and the result is a **validated object** instead of text. The backend constrains output natively
700
- (Claude `outputFormat`; Codex strict `outputSchema`; pi native `_meta.outputSchema`; prompt/tool-assisted JSON for OpenCode and
701
- custom agents), then the value is coerced and validated client-side (typebox `Convert` → `Check`); on a miss the runner re-prompts a bounded number of
699
+ and the result is a **validated object** instead of text. Claude and Codex use their agent-specific
700
+ schema channels; Pi and OpenCode use the injected client-hosted HTTP `StructuredOutput` MCP tool plus
701
+ the common prompt/validated-last-text fallback. The value is coerced and validated client-side (typebox `Convert` → `Check`); on a miss the runner re-prompts a bounded number of
702
702
  times before failing with a non-recoverable `SCHEMA_NONCOMPLIANCE`.
703
703
 
704
704
  A **plain JSON Schema object literal** works everywhere (this is the only option inside a script —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automatalabs/workflows",
3
- "version": "0.38.1",
3
+ "version": "0.38.3",
4
4
  "license": "Apache-2.0",
5
5
  "engines": {
6
6
  "node": ">=22"
@@ -33,7 +33,7 @@
33
33
  "typebox": "1.3.2",
34
34
  "@automatalabs/shared-types": "0.24.0",
35
35
  "@automatalabs/workflow-engine": "0.26.0",
36
- "@automatalabs/acp-agents": "0.30.1"
36
+ "@automatalabs/acp-agents": "0.31.0"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsc -b",