@automatalabs/workflows 0.2.0 → 0.4.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.
Files changed (2) hide show
  1. package/README.md +18 -4
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -137,10 +137,24 @@ try {
137
137
  ```
138
138
 
139
139
  `run(prompt, options?)` accepts the seam's `RunOptions`: `schema`, `model`, `tier`, `cwd`,
140
- `instructions`, `label`, `toolNames` / `disallowedToolNames`, `signal`, `mcpServers`, and the
141
- out-of-band telemetry callbacks `onUsage` / `onModelResolved` / `onModelFallback` / `onHistory`.
142
- Token/cost usage is delivered via `onUsage` (it may never fire — ACP usage is experimental), never
143
- via the return value.
140
+ `instructions`, `label`, `toolNames` / `disallowedToolNames`, `signal`, `mcpServers`,
141
+ `baseInstructions` / `developerInstructions` (Codex-only), and the out-of-band telemetry callbacks
142
+ `onUsage` / `onModelResolved` / `onModelFallback` / `onHistory`. Token/cost usage is delivered via
143
+ `onUsage` (it may never fire — ACP usage is experimental), never via the return value.
144
+
145
+ > **Codex session instructions.** When the run routes to the Codex backend, `baseInstructions`
146
+ > **replaces** Codex's built-in base system prompt and `developerInstructions` adds developer-role
147
+ > instructions for the session. They ride ACP `session/new` `_meta` into Codex `thread/start` and
148
+ > are **ignored by the Claude backend** (which has no analog) — unlike `instructions`, which is
149
+ > folded into the prompt text for either backend.
150
+ >
151
+ > ```ts
152
+ > await runner.run("Cut the release.", {
153
+ > model: "gpt-5-codex",
154
+ > baseInstructions: "You are a release bot. Only touch CHANGELOG.md.",
155
+ > developerInstructions: "Prefer conventional-commit summaries.",
156
+ > });
157
+ > ```
144
158
 
145
159
  > The ACP server **process** is pooled and reused across `run()` calls; each `run()` opens and
146
160
  > closes one **session** on it. Call `dispose()` once at shutdown to tear the pool down. Pool size
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automatalabs/workflows",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,9 +24,9 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@automatalabs/workflow-engine": "0.1.2",
28
- "@automatalabs/shared-types": "0.1.2",
29
- "@automatalabs/acp-agents": "0.2.0"
27
+ "@automatalabs/shared-types": "0.3.0",
28
+ "@automatalabs/workflow-engine": "0.1.4",
29
+ "@automatalabs/acp-agents": "0.4.0"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "tsc -b",