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
14 changes: 14 additions & 0 deletions .changeset/agui-effect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@systemfsoftware/agent": minor
"@systemfsoftware/agent-ai-decision": none
"@systemfsoftware/agent-platform-cloudflare": none
"@systemfsoftware/agent-platform-node": none
"@systemfsoftware/agent-pr-review": none
"@systemfsoftware/agent-storage-cloudflare": none
"@systemfsoftware/agent-storage-memory": none
"@systemfsoftware/agent-storage-postgres": none
"@systemfsoftware/agent-storage-sql": none
"@systemfsoftware/agent-storage-sqlite": none
"@systemfsoftware/agent-testing": none
---
Adds `@systemfsoftware/agent/agui`: `toAgUiEvents` maps a Run's semantic event stream to AG-UI events, `makeAgUiHandler` serves them through `AgUiServer.handler`, which applies the AG-UI run lifecycle, and `fromAgUiInput` adapts an AG-UI run input into a Prompt. Suspended and interrupted Runs end with AG-UI `RunFinished` outcomes instead of `RunError`, state snapshots are not emitted, and subagent events are omitted unless `includeSubagents` is set. Tool results and failures are JSON-encoded in `TOOL_CALL_RESULT`, and a suspended Run reports one interrupt per pending approval.
5 changes: 5 additions & 0 deletions packages/effect-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"./agent-registration": "./src/durable/AgentRegistration.ts",
"./agent-runtime": "./src/engine/AgentRuntime.ts",
"./agent-updates": "./src/core/AgentUpdates.ts",
"./agui": "./src/engine/AgUi.ts",
"./browser-use": "./src/capabilities/BrowserUse.ts",
"./budget": "./src/capabilities/Budget.ts",
"./code-executor": "./src/sandbox/CodeExecutor.ts",
Expand Down Expand Up @@ -168,6 +169,10 @@
"types": "./dist/core/AgentUpdates.d.mts",
"default": "./dist/core/AgentUpdates.mjs"
},
"./agui": {
"types": "./dist/engine/AgUi.d.mts",
"default": "./dist/engine/AgUi.mjs"
},
"./browser-use": {
"types": "./dist/capabilities/BrowserUse.d.mts",
"default": "./dist/capabilities/BrowserUse.mjs"
Expand Down
Loading