Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .changeset/before-model-request.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/browser-sessions-binding-only.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/concurrent-coordinator-conformance.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/page-inspection.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/run-halted.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/run-started-at.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/schedule-retry-test-on-demand.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/screenshot-format-and-session-page.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/thread-host-updates.md

This file was deleted.

26 changes: 26 additions & 0 deletions packages/effect-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @yielded/agent

## 0.3.0

Add `RunOptions.beforeModelRequest` and its durable form `RunHostControl.beforeModelCall`, a check that runs after context preparation and before every provider request, including compaction summaries and overflow retries, so `AgentRunStopped` ends a Run without another model call.

Run `BrowserSessions` on the Browser Run binding alone: REST credentials move to an optional `lifecycle` option, and `close` returns `"confirmed"` or `"unconfirmed"`.

BEHAVIOR CHANGE (breaking): pass `lifecycle: { accountId, apiToken }` instead of top-level `accountId` and `apiToken`. Without it, `getReadOnlyLiveView` fails with `live-view-requires-rest-credentials`.

Add the `PageInspection` port (`@systemfsoftware/agent/page-inspection`) and its Browser Sessions adapter `browserSessionInspectionLayer` (`@systemfsoftware/agent-platform-cloudflare/browser-inspection`). One pass reports document status, a response header, the landed URL, console and page errors, failed requests, a JSON script value, named-viewport screenshots and timings, or `PageInspectionNotRun` with its cause. `BrowserSessions` now reports an acquisition rate limit as `rate-limited`.

BEHAVIOR CHANGE (breaking): `SandboxImplementation`, `PageViewport`, `PageScreenshotPng` and `PageScreenshotJpeg` are now plain Schema structs rather than classes; build them with `.make(...)` or object literals, and do not use `instanceof`.

Add `AgentRunHalted`, a host stop that is an answer rather than an error. Raised from `beforeTurn`, `beforeModelCall`, `resolveModel` or context preparation, it settles a durable root Run with the new outcome `stopped`, and the `SubmissionSettled` record carries the host's value as `hostStop`. `AgentRunStopped` still settles `failed`. In child and worker Runs, `AgentRunHalted` settles `failed`.

BEHAVIOR CHANGE (breaking): `SettlementOutcome` and `RunSettlementNotice.outcome` gain `stopped`, so exhaustive matches on settlement outcomes need a new case.

`RunHostControl` requests (`beforeTurn`, `beforeModelCall`, `exemptToolResult`) and the `RunContextRequest` given to `context.prepare` and `transientContext.load` now carry `runStartedAtMillis`, read from the Run's canonical `RunStarted` record, so it is stable across Attempts and host restarts.

Add JPEG screenshots with a quality setting to `PageScreenshot`, and export `BrowserSessionPage`, the page type `BrowserSession.run` hands its action.

BEHAVIOR CHANGE (breaking): `PageScreenshotRequest` now requires `format`, so a request without one fails to typecheck and to decode; pass `PageScreenshotPng.make({})` to keep PNG output, or `PageScreenshotJpeg.make({ quality })`.

Add `DurableAgentRuntime.appendHostUpdate`, which commits a Thread-scoped `ThreadHostUpdateAppended` record that a host can append while a Run is active or the Thread is idle. It is idempotent by `updateId`, carries bounded JSON, and is skipped by the model's prompt history.

BEHAVIOR CHANGE (breaking): the record format is now `effect-agent/thread@7`. Exports written at `@6` are not imported, and a Postgres store created at `@6` is refused at startup; start from a fresh store.

## 0.2.0

Add per-Run host control: `RunOptions.completion`, `contextTokenLimit` and `toolResultExemption`, durable `runSettings` that every Attempt reapplies, and a `RunHostControl` service that resolves the Run's model, stops it with `AgentRunStopped`, exempts chosen tool results from offloading, and is notified on settlement. A replay with different `runSettings` fails with `AdmissionConflict`.
Expand Down
2 changes: 1 addition & 1 deletion packages/effect-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@systemfsoftware/agent",
"version": "0.2.0",
"version": "0.3.0",
"description": "Effect-native agents, execution, subagents, and sandbox contracts in one tree-shakeable package.",
"license": "MIT",
"repository": {
Expand Down
26 changes: 26 additions & 0 deletions packages/platform-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @yielded/agent-platform-cloudflare

## 0.3.0

Add `RunOptions.beforeModelRequest` and its durable form `RunHostControl.beforeModelCall`, a check that runs after context preparation and before every provider request, including compaction summaries and overflow retries, so `AgentRunStopped` ends a Run without another model call.

Run `BrowserSessions` on the Browser Run binding alone: REST credentials move to an optional `lifecycle` option, and `close` returns `"confirmed"` or `"unconfirmed"`.

BEHAVIOR CHANGE (breaking): pass `lifecycle: { accountId, apiToken }` instead of top-level `accountId` and `apiToken`. Without it, `getReadOnlyLiveView` fails with `live-view-requires-rest-credentials`.

Add the `PageInspection` port (`@systemfsoftware/agent/page-inspection`) and its Browser Sessions adapter `browserSessionInspectionLayer` (`@systemfsoftware/agent-platform-cloudflare/browser-inspection`). One pass reports document status, a response header, the landed URL, console and page errors, failed requests, a JSON script value, named-viewport screenshots and timings, or `PageInspectionNotRun` with its cause. `BrowserSessions` now reports an acquisition rate limit as `rate-limited`.

BEHAVIOR CHANGE (breaking): `SandboxImplementation`, `PageViewport`, `PageScreenshotPng` and `PageScreenshotJpeg` are now plain Schema structs rather than classes; build them with `.make(...)` or object literals, and do not use `instanceof`.

Add `AgentRunHalted`, a host stop that is an answer rather than an error. Raised from `beforeTurn`, `beforeModelCall`, `resolveModel` or context preparation, it settles a durable root Run with the new outcome `stopped`, and the `SubmissionSettled` record carries the host's value as `hostStop`. `AgentRunStopped` still settles `failed`. In child and worker Runs, `AgentRunHalted` settles `failed`.

BEHAVIOR CHANGE (breaking): `SettlementOutcome` and `RunSettlementNotice.outcome` gain `stopped`, so exhaustive matches on settlement outcomes need a new case.

A scheduling test runs its retry turns on demand; the published package is unchanged.

Add JPEG screenshots with a quality setting to `PageScreenshot`, and export `BrowserSessionPage`, the page type `BrowserSession.run` hands its action.

BEHAVIOR CHANGE (breaking): `PageScreenshotRequest` now requires `format`, so a request without one fails to typecheck and to decode; pass `PageScreenshotPng.make({})` to keep PNG output, or `PageScreenshotJpeg.make({ quality })`.

Add `DurableAgentRuntime.appendHostUpdate`, which commits a Thread-scoped `ThreadHostUpdateAppended` record that a host can append while a Run is active or the Thread is idle. It is idempotent by `updateId`, carries bounded JSON, and is skipped by the model's prompt history.

BEHAVIOR CHANGE (breaking): the record format is now `effect-agent/thread@7`. Exports written at `@6` are not imported, and a Postgres store created at `@6` is refused at startup; start from a fresh store.

## 0.2.0

Add per-Run host control: `RunOptions.completion`, `contextTokenLimit` and `toolResultExemption`, durable `runSettings` that every Attempt reapplies, and a `RunHostControl` service that resolves the Run's model, stops it with `AgentRunStopped`, exempts chosen tool results from offloading, and is notified on settlement. A replay with different `runSettings` fails with `AdmissionConflict`.
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@systemfsoftware/agent-platform-cloudflare",
"version": "0.2.0",
"version": "0.3.0",
"description": "Cloudflare Layer assembly for Effect Agent: Durable Objects and Browser Run adapters.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/platform-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @yielded/agent-platform-node

## 0.1.2

Updated dependency @systemfsoftware/agent to 0.3.0

## 0.1.1

Updated dependency @systemfsoftware/agent to 0.2.0
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@systemfsoftware/agent-platform-node",
"version": "0.1.1",
"version": "0.1.2",
"description": "Class DN layer assembly for Effect Agent: the durable Node/SQLite runtime host, wake scheduler, and ownership drain.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/pr-review/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @yielded/agent-pr-review

## 0.1.2

Updated dependency @systemfsoftware/agent to 0.3.0

## 0.1.1

Updated dependency @systemfsoftware/agent to 0.2.0
Expand Down
2 changes: 1 addition & 1 deletion packages/pr-review/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@systemfsoftware/agent-pr-review",
"version": "0.1.1",
"version": "0.1.2",
"description": "A provider-neutral, source-backed pull-request reviewer.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/storage-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @yielded/agent-storage-cloudflare

## 0.2.1

Updated dependency @systemfsoftware/agent to 0.3.0

## 0.2.0

Add per-Run host control: `RunOptions.completion`, `contextTokenLimit` and `toolResultExemption`, durable `runSettings` that every Attempt reapplies, and a `RunHostControl` service that resolves the Run's model, stops it with `AgentRunStopped`, exempts chosen tool results from offloading, and is notified on settlement. A replay with different `runSettings` fails with `AdmissionConflict`.
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@systemfsoftware/agent-storage-cloudflare",
"version": "0.2.0",
"version": "0.2.1",
"description": "Durable Object SQLite storage adapters and the routed port protocol for Effect Agent on Cloudflare.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/storage-memory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @yielded/agent-storage-memory

## 0.2.1

Updated dependency @systemfsoftware/agent to 0.3.0

## 0.2.0

Add per-Run host control: `RunOptions.completion`, `contextTokenLimit` and `toolResultExemption`, durable `runSettings` that every Attempt reapplies, and a `RunHostControl` service that resolves the Run's model, stops it with `AgentRunStopped`, exempts chosen tool results from offloading, and is notified on settlement. A replay with different `runSettings` fails with `AdmissionConflict`.
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-memory/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@systemfsoftware/agent-storage-memory",
"version": "0.2.0",
"version": "0.2.1",
"description": "In-memory Thread store and submission ledger reference adapters for Effect Agent tests and conformance suites.",
"license": "MIT",
"repository": {
Expand Down
24 changes: 24 additions & 0 deletions packages/storage-postgres/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @yielded/agent-storage-postgres

## 0.3.0

Add `RunOptions.beforeModelRequest` and its durable form `RunHostControl.beforeModelCall`, a check that runs after context preparation and before every provider request, including compaction summaries and overflow retries, so `AgentRunStopped` ends a Run without another model call.

Run `BrowserSessions` on the Browser Run binding alone: REST credentials move to an optional `lifecycle` option, and `close` returns `"confirmed"` or `"unconfirmed"`.

BEHAVIOR CHANGE (breaking): pass `lifecycle: { accountId, apiToken }` instead of top-level `accountId` and `apiToken`. Without it, `getReadOnlyLiveView` fails with `live-view-requires-rest-credentials`.

Add the `PageInspection` port (`@systemfsoftware/agent/page-inspection`) and its Browser Sessions adapter `browserSessionInspectionLayer` (`@systemfsoftware/agent-platform-cloudflare/browser-inspection`). One pass reports document status, a response header, the landed URL, console and page errors, failed requests, a JSON script value, named-viewport screenshots and timings, or `PageInspectionNotRun` with its cause. `BrowserSessions` now reports an acquisition rate limit as `rate-limited`.

BEHAVIOR CHANGE (breaking): `SandboxImplementation`, `PageViewport`, `PageScreenshotPng` and `PageScreenshotJpeg` are now plain Schema structs rather than classes; build them with `.make(...)` or object literals, and do not use `instanceof`.

Add `AgentRunHalted`, a host stop that is an answer rather than an error. Raised from `beforeTurn`, `beforeModelCall`, `resolveModel` or context preparation, it settles a durable root Run with the new outcome `stopped`, and the `SubmissionSettled` record carries the host's value as `hostStop`. `AgentRunStopped` still settles `failed`. In child and worker Runs, `AgentRunHalted` settles `failed`.

BEHAVIOR CHANGE (breaking): `SettlementOutcome` and `RunSettlementNotice.outcome` gain `stopped`, so exhaustive matches on settlement outcomes need a new case.

Add JPEG screenshots with a quality setting to `PageScreenshot`, and export `BrowserSessionPage`, the page type `BrowserSession.run` hands its action.

BEHAVIOR CHANGE (breaking): `PageScreenshotRequest` now requires `format`, so a request without one fails to typecheck and to decode; pass `PageScreenshotPng.make({})` to keep PNG output, or `PageScreenshotJpeg.make({ quality })`.

Add `DurableAgentRuntime.appendHostUpdate`, which commits a Thread-scoped `ThreadHostUpdateAppended` record that a host can append while a Run is active or the Thread is idle. It is idempotent by `updateId`, carries bounded JSON, and is skipped by the model's prompt history.

BEHAVIOR CHANGE (breaking): the record format is now `effect-agent/thread@7`. Exports written at `@6` are not imported, and a Postgres store created at `@6` is refused at startup; start from a fresh store.

## 0.2.0

Add per-Run host control: `RunOptions.completion`, `contextTokenLimit` and `toolResultExemption`, durable `runSettings` that every Attempt reapplies, and a `RunHostControl` service that resolves the Run's model, stops it with `AgentRunStopped`, exempts chosen tool results from offloading, and is notified on settlement. A replay with different `runSettings` fails with `AdmissionConflict`.
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-postgres/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@systemfsoftware/agent-storage-postgres",
"version": "0.2.0",
"version": "0.3.0",
"description": "Postgres persistence adapters for the Effect Agent durable runtime.",
"license": "MIT",
"repository": {
Expand Down
Loading