diff --git a/.changeset/code-mode-program-normalize.md b/.changeset/code-mode-program-normalize.md deleted file mode 100644 index bdad2273..00000000 --- a/.changeset/code-mode-program-normalize.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@systemfsoftware/agent": patch -"@systemfsoftware/agent-platform-cloudflare": patch ---- - -The Dynamic Worker Code Mode executor now normalizes a model program written with TypeScript annotations, a markdown code fence, a bare or semicolon-terminated function expression, an `export default`, an IIFE, or a statement list with top-level `await`, and refuses a program that still does not parse with a `CodeSourceError` carrying the parser message, its line and column, the offending line, and a valid example. A program refused at that boundary never started, so its Tool Call no longer consumes the Run's Tool-call budget; three consecutive boundary refusals end the Run with its own `CodeModeBoundaryRefusalLimitExceeded` stop tag, carrying the refusal limit and observed count, instead of a generic policy or budget stop. diff --git a/packages/effect-agent/CHANGELOG.md b/packages/effect-agent/CHANGELOG.md index 00434af0..c794e4bf 100644 --- a/packages/effect-agent/CHANGELOG.md +++ b/packages/effect-agent/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent +## 0.7.1 + +The Dynamic Worker Code Mode executor now normalizes a model program written with TypeScript annotations, a markdown code fence, a bare or semicolon-terminated function expression, an `export default`, an IIFE, or a statement list with top-level `await`, and refuses a program that still does not parse with a `CodeSourceError` carrying the parser message, its line and column, the offending line, and a valid example. A program refused at that boundary never started, so its Tool Call no longer consumes the Run's Tool-call budget; three consecutive boundary refusals end the Run with its own `CodeModeBoundaryRefusalLimitExceeded` stop tag, carrying the refusal limit and observed count, instead of a generic policy or budget stop. + ## 0.7.0 Adds `projectDurableAgUi` and `toDurableAgUiEvents` to `@systemfsoftware/agent/agui`, projecting a durable Thread's canonical record log plus in-flight provisional text into cursor-indexed AG-UI events, so a reload that replays from any sequence renders the same view a live viewer saw. Each event says whether it is canonical or provisional: in-flight draft text is re-sent in full on every projection, so a consumer replaces its provisional events with the latest set and drops them when the turn's canonical events arrive. Settled Runs end in `RUN_FINISHED` or `RUN_ERROR`, aborted and host-halted Runs end as a stopped `RUN_FINISHED` with the `cancelled` outcome, steering transitions are emitted as `agent.steering` custom events, and a consumer's own structured run output travels in `RUN_FINISHED.result` and can be decoded and re-emitted through the typed `output` extension. diff --git a/packages/effect-agent/package.json b/packages/effect-agent/package.json index 3b01fb99..facf7490 100644 --- a/packages/effect-agent/package.json +++ b/packages/effect-agent/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent", - "version": "0.7.0", + "version": "0.7.1", "description": "Effect-native agents, execution, subagents, and sandbox contracts in one tree-shakeable package.", "license": "MIT", "repository": { diff --git a/packages/platform-cloudflare/CHANGELOG.md b/packages/platform-cloudflare/CHANGELOG.md index 1abc2dd0..dd5fbd23 100644 --- a/packages/platform-cloudflare/CHANGELOG.md +++ b/packages/platform-cloudflare/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-platform-cloudflare +## 0.5.1 + +The Dynamic Worker Code Mode executor now normalizes a model program written with TypeScript annotations, a markdown code fence, a bare or semicolon-terminated function expression, an `export default`, an IIFE, or a statement list with top-level `await`, and refuses a program that still does not parse with a `CodeSourceError` carrying the parser message, its line and column, the offending line, and a valid example. A program refused at that boundary never started, so its Tool Call no longer consumes the Run's Tool-call budget; three consecutive boundary refusals end the Run with its own `CodeModeBoundaryRefusalLimitExceeded` stop tag, carrying the refusal limit and observed count, instead of a generic policy or budget stop. + ## 0.5.0 BEHAVIOR CHANGE (breaking): the Durable Object substrate is `@systemfsoftware/effect-cf`. Declare and import it where you declared and imported `effect-cf`; declare it as a peer so a host shares one module instance. Each domain now offers a `mount` beside its `make` — `ThreadObject.mount`, `CloudflareScheduling.mountScheduleOwnerObjectClass`, `CloudflareSubscriptions.mountSubscriptionPartitionObjectClass` and `CloudflareMemory.MemoryObject.mount` — which returns the object as a host-dispatched record for a host that already gated the instance and owns, or delegates, the alarm slot. Add consumer services and methods through an `extend: { layer, rpc }` option on both `make` and `mount`; an extension layer may require the domain's runtime services. `ThreadObject.layerInHost` and `layerHostConfig` are removed; move their callers to `extend`. diff --git a/packages/platform-cloudflare/package.json b/packages/platform-cloudflare/package.json index ce7d3e38..b88b9792 100644 --- a/packages/platform-cloudflare/package.json +++ b/packages/platform-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-platform-cloudflare", - "version": "0.5.0", + "version": "0.5.1", "description": "Cloudflare Layer assembly for Effect Agent: Durable Objects and Browser Run adapters.", "license": "MIT", "repository": { diff --git a/packages/platform-node/CHANGELOG.md b/packages/platform-node/CHANGELOG.md index 54946e47..01b34570 100644 --- a/packages/platform-node/CHANGELOG.md +++ b/packages/platform-node/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-platform-node +## 0.1.8 + +Updated dependency @systemfsoftware/agent to 0.7.1 + ## 0.1.7 Updated dependency @systemfsoftware/agent to 0.7.0 diff --git a/packages/platform-node/package.json b/packages/platform-node/package.json index 0bc0d1e2..2250aba6 100644 --- a/packages/platform-node/package.json +++ b/packages/platform-node/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-platform-node", - "version": "0.1.7", + "version": "0.1.8", "description": "Class DN layer assembly for Effect Agent: the durable Node/SQLite runtime host, wake scheduler, and ownership drain.", "license": "MIT", "repository": { diff --git a/packages/pr-review/CHANGELOG.md b/packages/pr-review/CHANGELOG.md index 6d5d73b7..951917a7 100644 --- a/packages/pr-review/CHANGELOG.md +++ b/packages/pr-review/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-pr-review +## 0.1.8 + +Updated dependency @systemfsoftware/agent to 0.7.1 + ## 0.1.7 Updated dependency @systemfsoftware/agent to 0.7.0 diff --git a/packages/pr-review/package.json b/packages/pr-review/package.json index c77843cd..7c12271e 100644 --- a/packages/pr-review/package.json +++ b/packages/pr-review/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-pr-review", - "version": "0.1.7", + "version": "0.1.8", "description": "A provider-neutral, source-backed pull-request reviewer.", "license": "MIT", "repository": { diff --git a/packages/storage-cloudflare/CHANGELOG.md b/packages/storage-cloudflare/CHANGELOG.md index 93254108..6a64b753 100644 --- a/packages/storage-cloudflare/CHANGELOG.md +++ b/packages/storage-cloudflare/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-storage-cloudflare +## 0.2.7 + +Updated dependency @systemfsoftware/agent to 0.7.1 + ## 0.2.6 Updated dependency @systemfsoftware/agent to 0.7.0 diff --git a/packages/storage-cloudflare/package.json b/packages/storage-cloudflare/package.json index db13d671..03cc6614 100644 --- a/packages/storage-cloudflare/package.json +++ b/packages/storage-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-storage-cloudflare", - "version": "0.2.6", + "version": "0.2.7", "description": "Durable Object SQLite storage adapters and the routed port protocol for Effect Agent on Cloudflare.", "license": "MIT", "repository": { diff --git a/packages/storage-memory/CHANGELOG.md b/packages/storage-memory/CHANGELOG.md index 90b8dff5..92304ea4 100644 --- a/packages/storage-memory/CHANGELOG.md +++ b/packages/storage-memory/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-storage-memory +## 0.2.7 + +Updated dependency @systemfsoftware/agent to 0.7.1 + ## 0.2.6 Updated dependency @systemfsoftware/agent to 0.7.0 diff --git a/packages/storage-memory/package.json b/packages/storage-memory/package.json index 03380e12..4bf2ea7b 100644 --- a/packages/storage-memory/package.json +++ b/packages/storage-memory/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-storage-memory", - "version": "0.2.6", + "version": "0.2.7", "description": "In-memory Thread store and submission ledger reference adapters for Effect Agent tests and conformance suites.", "license": "MIT", "repository": { diff --git a/packages/storage-postgres/CHANGELOG.md b/packages/storage-postgres/CHANGELOG.md index 282587b3..820880b9 100644 --- a/packages/storage-postgres/CHANGELOG.md +++ b/packages/storage-postgres/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-storage-postgres +## 0.3.6 + +Updated dependency @systemfsoftware/agent to 0.7.1 + ## 0.3.5 Updated dependency @systemfsoftware/agent to 0.7.0 diff --git a/packages/storage-postgres/package.json b/packages/storage-postgres/package.json index f62c97e5..925daa1c 100644 --- a/packages/storage-postgres/package.json +++ b/packages/storage-postgres/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-storage-postgres", - "version": "0.3.5", + "version": "0.3.6", "description": "Postgres persistence adapters for the Effect Agent durable runtime.", "license": "MIT", "repository": { diff --git a/packages/storage-sql/CHANGELOG.md b/packages/storage-sql/CHANGELOG.md index ceef96ee..55f0b086 100644 --- a/packages/storage-sql/CHANGELOG.md +++ b/packages/storage-sql/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-storage-sql +## 0.3.6 + +Updated dependency @systemfsoftware/agent to 0.7.1 + ## 0.3.5 Updated dependency @systemfsoftware/agent to 0.7.0 diff --git a/packages/storage-sql/package.json b/packages/storage-sql/package.json index cfdcdf81..39d502bf 100644 --- a/packages/storage-sql/package.json +++ b/packages/storage-sql/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-storage-sql", - "version": "0.3.5", + "version": "0.3.6", "description": "Shared SQL persistence implementations for Effect Agent storage adapters.", "license": "MIT", "repository": { diff --git a/packages/storage-sqlite/CHANGELOG.md b/packages/storage-sqlite/CHANGELOG.md index 836431e3..e0c12796 100644 --- a/packages/storage-sqlite/CHANGELOG.md +++ b/packages/storage-sqlite/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-storage-sqlite +## 0.2.7 + +Updated dependency @systemfsoftware/agent to 0.7.1 + ## 0.2.6 Updated dependency @systemfsoftware/agent to 0.7.0 diff --git a/packages/storage-sqlite/package.json b/packages/storage-sqlite/package.json index 9f51f853..258fa008 100644 --- a/packages/storage-sqlite/package.json +++ b/packages/storage-sqlite/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-storage-sqlite", - "version": "0.2.6", + "version": "0.2.7", "description": "Node SQLite persistence adapters for the Effect Agent durable runtime and optional memory lifecycle.", "license": "MIT", "repository": { diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index 57b4b93f..44b5c9c3 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,5 +1,9 @@ # @systemfsoftware/agent-testing +## 0.2.6 + +Updated dependency @systemfsoftware/agent to 0.7.1 + ## 0.2.5 Updated dependency @systemfsoftware/agent to 0.7.0 diff --git a/packages/testing/package.json b/packages/testing/package.json index 530ce190..14cf935b 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@systemfsoftware/agent-testing", - "version": "0.2.5", + "version": "0.2.6", "description": "Scripted models, deterministic fixtures, and adapter conformance kits for testing Effect Agent applications.", "license": "MIT", "repository": {