@plurnk/plurnk-agui 1.17.0 → 1.19.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.
- package/.env.defaults +9 -2
- package/README.md +2 -1
- package/SPEC.md +127 -54
- package/dist/AguiPlus.d.ts +0 -3
- package/dist/AguiPlus.d.ts.map +1 -1
- package/dist/AguiPlus.js +0 -3
- package/dist/AguiPlus.js.map +1 -1
- package/dist/AguiSurface.d.ts +0 -1
- package/dist/AguiSurface.d.ts.map +1 -1
- package/dist/AguiSurface.js +1 -8
- package/dist/AguiSurface.js.map +1 -1
- package/dist/BuiltinActions.d.ts +2 -1
- package/dist/BuiltinActions.d.ts.map +1 -1
- package/dist/BuiltinActions.js +24 -8
- package/dist/BuiltinActions.js.map +1 -1
- package/dist/EventRouter.js +2 -2
- package/dist/EventRouter.js.map +1 -1
- package/dist/MessageAddress.d.ts +9 -0
- package/dist/MessageAddress.d.ts.map +1 -0
- package/dist/MessageAddress.js +25 -0
- package/dist/MessageAddress.js.map +1 -0
- package/dist/Module.d.ts +10 -0
- package/dist/Module.d.ts.map +1 -1
- package/dist/Module.js +92 -33
- package/dist/Module.js.map +1 -1
- package/dist/Portal.d.ts +2 -11
- package/dist/Portal.d.ts.map +1 -1
- package/dist/Portal.js +41 -27
- package/dist/Portal.js.map +1 -1
- package/dist/RunHandler.d.ts +1 -1
- package/dist/RunHandler.d.ts.map +1 -1
- package/dist/RunHandler.js +14 -16
- package/dist/RunHandler.js.map +1 -1
- package/dist/Translator.d.ts +1 -1
- package/dist/Translator.d.ts.map +1 -1
- package/dist/Translator.js +56 -107
- package/dist/Translator.js.map +1 -1
- package/dist/action-results.d.ts +0 -1
- package/dist/action-results.d.ts.map +1 -1
- package/dist/action-results.js +1 -26
- package/dist/action-results.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +10 -1
- package/dist/config.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -6
package/.env.defaults
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
# @plurnk/plurnk-agui — client protocol. Listener address:
|
|
1
|
+
# @plurnk/plurnk-agui — client protocol. Listener address: the shared PLURNK_HOST/PLURNK_PORT
|
|
2
|
+
# (@plurnk/plurnk-contracts).
|
|
2
3
|
|
|
3
|
-
# Bearer required on non-preflight requests; empty = no module-level authentication.
|
|
4
|
+
# Bearer required on non-preflight requests; empty = no module-level authentication. Empty is the
|
|
5
|
+
# package floor, not the shipped posture: a fresh install mints its own token into the operator's
|
|
6
|
+
# `.env` above this ({§agui-http-authorization}), and every client reads it from there. Emptying
|
|
7
|
+
# that line is how an operator turns the perimeter off.
|
|
4
8
|
PLURNK_AGUI_TOKEN=
|
|
9
|
+
# The origin whose pages a browser lets read replies (CORS): * = any page; one origin = that page
|
|
10
|
+
# only; empty = no CORS headers, so no page reads a reply. The bearer, not this, is the perimeter.
|
|
11
|
+
PLURNK_AGUI_ALLOW_ORIGIN=*
|
|
5
12
|
# Default run turn cap: empty = no module default; -1 = unlimited; otherwise nonnegative integer.
|
|
6
13
|
# Core's operator ceiling still applies.
|
|
7
14
|
PLURNK_AGUI_MAX_TURNS=
|
package/README.md
CHANGED
|
@@ -22,7 +22,8 @@ delivers it into the parent's log ({§agui-topology-scope}).
|
|
|
22
22
|
|
|
23
23
|
| Daemon evidence | Client projection |
|
|
24
24
|
| --- | --- |
|
|
25
|
-
|
|
|
25
|
+
| NOTE | Ordinary operation row containing literal working memory. |
|
|
26
|
+
| WAIT / loop conclusion | Lifecycle signals; delivered SEND replies are assistant speech. |
|
|
26
27
|
| Live provider reasoning | Standard `REASONING_*` deltas, immediately. Retries have separate identities. |
|
|
27
28
|
| SEND | Assistant text; already-streamed reasoning is not repeated. |
|
|
28
29
|
| Other model operations | Standard tool calls and results. |
|
package/SPEC.md
CHANGED
|
@@ -10,13 +10,18 @@ does not recompute them.
|
|
|
10
10
|
- §agui-daemon-client **The module is an in-process plugin of the daemon** — the
|
|
11
11
|
production host pre-binds its AG-UI+ listener, then daemon activation
|
|
12
12
|
(`registerModule` → the application port) makes the client interface ready.
|
|
13
|
-
AG-UI
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
bind
|
|
13
|
+
AG-UI mounts the root of the daemon's one listener ({§http-host}) and owns no
|
|
14
|
+
socket of its own under the daemon. No WebSocket, no separate process.
|
|
15
|
+
- §agui-listener-admission **Bound is not ready.** Under the daemon the socket is
|
|
16
|
+
core's ({§startup-listener-admission}): bound before durable-state admission,
|
|
17
|
+
answering a retryable 503 until this module mounts the root at `Module.start`,
|
|
18
|
+
which installs the application port and registers `/` and `/agui`
|
|
19
|
+
({§http-host}). Standalone, `Module.bind` owns a private TCP address with the
|
|
20
|
+
same admission shape — a retryable 503 until `Module.start`, a bind error that
|
|
21
|
+
rejects with its originating socket failure, and no unhandled server error,
|
|
22
|
+
silent pending promise, or close/rebind window; `Module.init` composes bind
|
|
23
|
+
and start for direct in-process use. `Module.create` is the daemon's door and
|
|
24
|
+
owns no socket.
|
|
20
25
|
- §agui-thread-binding **A PLURNK workspace is the world; an AG-UI thread is a conversation over it**
|
|
21
26
|
— the lifecycle vocabulary is defined by service {§lifecycle-terms}. PLURNK's machine model ({§machine-processes}) splits the world (a workspace: one
|
|
22
27
|
curated workspace) from the CONVERSATION (a worker: a history over that world). AG-UI's workspace
|
|
@@ -28,12 +33,20 @@ does not recompute them.
|
|
|
28
33
|
BOTH levels: `threadId` == the workspace name binds the workspace's model worker (the default
|
|
29
34
|
conversation, `ensureModelWorker` — its durable default-conversation role identifies it,
|
|
30
35
|
never a name parse or root ordering); a DISTINCT
|
|
31
|
-
`threadId` names its own conversation worker — found by name
|
|
32
|
-
conversations are addressable as threads
|
|
36
|
+
`threadId` names its own conversation worker — found by name among model-origin workers if
|
|
37
|
+
it exists (forks and prior conversations are addressable as threads; a client connection's
|
|
38
|
+
worker or the runtime actor `_plurnk` is never a conversation, and a thread named after one
|
|
39
|
+
fails at minting rather than binding), minted via `createConversationWorker`
|
|
33
40
|
if it doesn't. The core workspace envelope carries only the workspace and selected client
|
|
34
41
|
actor ({§methods-rebind}); AG-UI owns the separate per-thread conversation binding.
|
|
35
42
|
Process-local bindings use the complete `(workspace, threadId)` identity; equal thread names
|
|
36
43
|
in different workspaces never share an envelope, Worker, replay, state, or active Run.
|
|
44
|
+
Concurrent first requests acquire one envelope and conversation binding. Workspace
|
|
45
|
+
acquisition is serialized across threads, retaining each request's create/attach contract;
|
|
46
|
+
the creating request supplies settings, and other threads acquire their own
|
|
47
|
+
client actors in that world. Failed acquisitions retain their cause and leave no failed
|
|
48
|
+
cache entry preventing a later retry. Explicit Core creation retains its name-conflict
|
|
49
|
+
semantics; protocol binding is not a second creation request.
|
|
37
50
|
`loop.inject`, `loop.cancel`, and `run.fork` operate on the THREAD's conversation.
|
|
38
51
|
`loop.inject` and `loop.cancel` steer a loop already running in a world, so they attach only:
|
|
39
52
|
a workspace name that does not exist is the client's error, answered 404
|
|
@@ -56,12 +69,12 @@ One accepted Run or daemon notification produces zero-or-more AG-UI events:
|
|
|
56
69
|
| schema-valid `RunAgentInput` | `RUN_STARTED` + initial `STATE_SNAPSHOT` |
|
|
57
70
|
| `forwardedProps.plurnk.mode = "sync"` | Durable conversation `MESSAGES_SNAPSHOT`, then pending interrupt, live observation, or `RUN_FINISHED` {§agui-conversation-sync} |
|
|
58
71
|
| `log/entry` advancing to a newer turn | `STEP_FINISHED` + `STEP_STARTED` (`turn-<id>`); late updates to earlier receipts retain their row identity without rewinding the step or clearing delivered reasoning. |
|
|
59
|
-
| `log/entry`
|
|
60
|
-
| Successful
|
|
61
|
-
|
|
|
72
|
+
| `log/entry` WAIT (model) | `CUSTOM plurnk.send` with the actual wait result; no invented plan or assistant speech |
|
|
73
|
+
| Successful SEND replying to this conversation, including an addressed reply delivered from another worker | Optional readable-reasoning sequence {§agui-readable-reasoning}, then `TEXT_MESSAGE_START/CONTENT/END` + `CUSTOM plurnk.send` (signal/status) |
|
|
74
|
+
| Other directed or unsuccessful SEND | Ordinary tool-call operation events; never assistant speech |
|
|
62
75
|
| `log/entry` other op (model) | `TOOL_CALL_START/ARGS/END` (+ `TOOL_CALL_RESULT` when rx exists) |
|
|
63
76
|
| `log/entry` actionless `kind=emissionAttempt` | Forensic row only; no assistant speech or reasoning replay. |
|
|
64
|
-
| `log/entry` READ of `reasoning
|
|
77
|
+
| `log/entry` READ of `reasoning://<worker>/…` or `ops://<worker>/…` | An ordinary operation receipt, not a reasoning stream. Standard reasoning delivery and replay retain original provider evidence under {§agui-readable-reasoning}. |
|
|
65
78
|
| `log/entry` origin≠model | `CUSTOM plurnk.ambient` (foists, deltas, narrations) |
|
|
66
79
|
| client-owned `loop/proposal` | `TOOL_CALL_START/ARGS/END`, `STEP_FINISHED` when a turn step is active, then `RUN_FINISHED` with an interrupt outcome; its resume Run reopens the continued turn with `STEP_STARTED` after `RUN_STARTED` and initial state |
|
|
67
80
|
| `loop/packet` | `STATE_DELTA` replacing the bound thread's loop id, lifecycle, and exact packet count |
|
|
@@ -70,21 +83,18 @@ One accepted Run or daemon notification produces zero-or-more AG-UI events:
|
|
|
70
83
|
| `notice/event` | `CUSTOM plurnk.notice`; routine derivation lifecycle uses only `STATE /plurnk/status/activity`, while warnings/errors also retain their diagnostic Notice. |
|
|
71
84
|
| `reasoning/event` | Standard live `REASONING_START` → `REASONING_MESSAGE_START` → one or more `REASONING_MESSAGE_CONTENT` → `REASONING_MESSAGE_END` → `REASONING_END` {§agui-readable-reasoning} |
|
|
72
85
|
| `stream/event` + `stream/concluded` | `CUSTOM plurnk.stream` + `ACTIVITY_SNAPSHOT` (the standard background-activity channel: `activityType` = the scheme, replace-snapshot, §475). A conclusion preserves its exact universal `result`, including RFC 9457 Problem Details; AG-UI does not reconstruct failure from a status or summary. |
|
|
73
|
-
| `workspace/branch-batch` | `CUSTOM plurnk.branch_batch` with the daemon's full queued/running/completed/failed/recovery-required lifecycle payload |
|
|
74
86
|
|
|
75
|
-
§agui-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
separate channel, so PLAN never projects into AG-UI `REASONING_*` events. The thread-stable
|
|
79
|
-
`<threadId>/plan` identity makes every live update replace the prior activity;
|
|
80
|
-
reattach includes only the newest model inventory. The same ACP projection replaces
|
|
81
|
-
`tx.body` on every client-facing TASK `CUSTOM plurnk.row` and
|
|
82
|
-
`CUSTOM plurnk.ambient`; all other row and transaction fields remain intact:
|
|
87
|
+
§agui-lifecycle-projection **Lifecycle, memory and speech remain distinct.** Live
|
|
88
|
+
events, replay and `log.read` preserve literal native bodies. No task inventory
|
|
89
|
+
or ACP plan is inferred from prose.
|
|
83
90
|
|
|
84
91
|
| Projection | Standard representation |
|
|
85
92
|
| ---------- | ----------------------- |
|
|
86
|
-
|
|
|
87
|
-
|
|
|
93
|
+
| NOTE | Ordinary tool-call operation and durable row, not assistant speech, PLAN activity, or a substitute reasoning stream |
|
|
94
|
+
| WAIT | Durable row and lifecycle signal; its text does not become a response |
|
|
95
|
+
| SEND response | Assistant message through {§loop-response-messages}; delivery and completion remain independent |
|
|
96
|
+
| Completion | Standard run lifecycle without an invented message |
|
|
97
|
+
| Replay | Delivered messages in chronological order; no synthetic latest-plan replacement |
|
|
88
98
|
|
|
89
99
|
§agui-readable-reasoning **Readable provider reasoning uses AG-UI's standard
|
|
90
100
|
reasoning channel.** A core `{§notifications-reasoning-event}` for the thread's
|
|
@@ -95,16 +105,16 @@ the failed request's partial reasoning. Foreign-worker and BARE reasoning never
|
|
|
95
105
|
enter the thread. Failed or rejected requests may therefore leave honest
|
|
96
106
|
transient reasoning that is not replayed.
|
|
97
107
|
|
|
98
|
-
Core also derives optional complete `reasoning` on admitted SEND and disposition
|
|
108
|
+
Core also derives optional complete `reasoning` on admitted SEND, NOTE and disposition
|
|
99
109
|
rows from their durable packet ({§methods-readable-reasoning}). When that value
|
|
100
110
|
was not already delivered by the completed live stream, projection emits it
|
|
101
|
-
atomically before the turn's first
|
|
111
|
+
atomically before the turn's first corresponding row under `<OP identity>/reasoning`.
|
|
102
112
|
Subsequent rows in the same turn do not repeat it. A standard interrupt may divide one durable Loop across consecutive
|
|
103
113
|
AG-UI Runs; the Run B projection inherits Run A's delivered-reasoning evidence
|
|
104
114
|
before the stopped operation is released. Reattach replaces transient attempt presentation with the durable
|
|
105
|
-
accepted `ReasoningMessage` once per turn
|
|
106
|
-
`MESSAGES_SNAPSHOT`. Empty evidence emits nothing,
|
|
107
|
-
reasoning ({§agui-
|
|
115
|
+
accepted `ReasoningMessage` once per turn in
|
|
116
|
+
`MESSAGES_SNAPSHOT`. Empty evidence emits nothing, NOTE never substitutes for
|
|
117
|
+
reasoning ({§agui-lifecycle-projection}), and a response row still precedes its text
|
|
108
118
|
sequence.
|
|
109
119
|
|
|
110
120
|
- **An op row IS a tool call** — its `coordinate` is the `toolCallId`, its tx the args (one
|
|
@@ -117,7 +127,7 @@ sequence.
|
|
|
117
127
|
reasoning streams and conversation replay remain {§agui-readable-reasoning}.
|
|
118
128
|
- §agui-custom-namespace **The custom namespace** — plurnk-specific metadata rides
|
|
119
129
|
`CUSTOM` events named `plurnk.*` (`plurnk.send`, `plurnk.ambient`,
|
|
120
|
-
`plurnk.notice`, `plurnk.stream`, `plurnk.
|
|
130
|
+
`plurnk.notice`, `plurnk.stream`, `plurnk.terminated` — the full loop
|
|
121
131
|
outcome and {§provider-accounting} the gauge `STATE_DELTA` cannot represent). Generic frontends skip unknown customs; plurnk-aware frontends render
|
|
122
132
|
them richly. Nothing plurnk-specific ever masquerades as a core event.
|
|
123
133
|
|
|
@@ -135,14 +145,17 @@ the client hops to a child rather than watching it).
|
|
|
135
145
|
never recomputes the daemon's gauge or promotes accounting into application
|
|
136
146
|
state paths that could be mistaken for standard AG-UI fields.
|
|
137
147
|
|
|
148
|
+
§agui-state-patches Each Run's `STATE_SNAPSHOT` precedes its `STATE_DELTA`s.
|
|
149
|
+
Deltas use RFC 6902 `replace` on existing snapshot paths; replay yields the
|
|
150
|
+
current gauge without clients inventing missing fields.
|
|
151
|
+
|
|
138
152
|
| AG-UI state location | Daemon source | Meaning |
|
|
139
153
|
|:--------------------------------------------|:-----------------------------------------|:--------|
|
|
140
154
|
| `snapshot.plurnk.providers[*].inputCapacity` | `providers.list.aliases[*]` | Each provider alias's derived physical input capacity, or `null` when unknown. |
|
|
141
155
|
| `snapshot.plurnk.status.model` | `ApplicationPort.readWorkerModel` | The bound Worker's durable resolved model route, including its alias when selected. |
|
|
142
|
-
| `snapshot.plurnk.status.loopId` |
|
|
156
|
+
| `snapshot.plurnk.status.loopId` | representative `ApplicationLoopProjection.id` | Selected under {§application-worker-observation}: live work precedes terminal history; `null` when none exists. Maintenance-only loops are excluded by Core under {§application-loop-observation}. |
|
|
143
157
|
| `snapshot.plurnk.status.packetCount` | latest `ApplicationLoopProjection.packetCount` | Exact packet-bearing Turn count; packetless Turns and provider retries do not contribute. |
|
|
144
158
|
| `snapshot.plurnk.status.lifecycle` | latest `ApplicationLoopProjection.status` | Queued `100` is `queued`, not executing or WAITing. Running `102`, parked `202`, and terminal states retain their ordinary lifecycle meanings. |
|
|
145
|
-
| `snapshot.plurnk.status.{scheduledAt,intervalMinutes,recurrenceId}` | {§application-loop-observation} | Scheduled-task timing, initialized to `null` when absent. Packet deltas refresh it and clear an ordinary task's absent timing. |
|
|
146
159
|
| `snapshot.plurnk.status.children` | `ApplicationPort.listWorkers({ parentWorkerId })` | The bound Worker's alive direct children — `queued`, `running`, or `parked` under {§loop-lifecycle-vocabulary}; a parked child still owes a result. Computed by the daemon for every snapshot and whole-gauge replacement, and republished as `STATE_DELTA /plurnk/status/children` only when it changes: after another worker's `loop/terminated` or `loop/packet` (it may be a child), or after the bound Worker's own `WORK`, `FORK`, or `KILL` row lands (it spawned or killed one). Clients render the number and never poll the directory for it ({§agui-status-children}). |
|
|
147
160
|
| `STATE_DELTA /plurnk/status/*` | packet, termination, and derivation events | Replaceable lifecycle, packet chronology, and transient activity. Reattachment snapshots carry current derivation activity through the same projection, without polling or duplicate routine Notices. Clients never reconstruct packet count from row or STEP traffic. |
|
|
148
161
|
| `snapshot.budget` | Run initialization | Creates all four gauge fields as `null`, so subsequent RFC 6902 `replace` operations always address existing values. |
|
|
@@ -163,8 +176,8 @@ every other daemon surface.
|
|
|
163
176
|
|
|
164
177
|
- §agui-row-channel **The row channel** — every log row ALSO rides `CUSTOM plurnk.row`
|
|
165
178
|
carrying the complete client-facing row (curation metadata, durable tags, coordinate)
|
|
166
|
-
alongside its core projection.
|
|
167
|
-
|
|
179
|
+
alongside its core projection. Literal bodies follow {§agui-lifecycle-projection}; rich clients
|
|
180
|
+
never receive the internal Plan extension. Generic clients ignore this metadata
|
|
168
181
|
channel.
|
|
169
182
|
- **The gauge starts true** — `RUN_STARTED` is followed by a `STATE_SNAPSHOT` carrying the
|
|
170
183
|
daemon's provider, bound-Worker model, latest Loop, and exact packet-count truth, then
|
|
@@ -174,7 +187,7 @@ every other daemon surface.
|
|
|
174
187
|
- §agui-replay **Unoriented reattach replays once** — a rediscovered thread (the module restarted, a second
|
|
175
188
|
frontend arrived) whose Run input carries none of the log's durable assistant identities attaches
|
|
176
189
|
to its existing workspace by name→id and opens ORIENTED: durable
|
|
177
|
-
|
|
190
|
+
arrival rows replay as user messages, named by their source when another actor caused them ({§message-causal-source}), the model worker's current PLAN activity and SEND speech
|
|
178
191
|
replay chronologically, and the one validated current Run user message follows them under a
|
|
179
192
|
Run-owned identity in the authoritative `MESSAGES_SNAPSHOT`. Client-claimed earlier history is not
|
|
180
193
|
imported. A client already carrying any durable assistant identity receives no repeated snapshot.
|
|
@@ -195,26 +208,40 @@ every other daemon surface.
|
|
|
195
208
|
|
|
196
209
|
## §agui-first-party-client-conformance First-party client conformance
|
|
197
210
|
|
|
198
|
-
|
|
199
|
-
|
|
211
|
+
§agui-official-client-conformance The ordinary integration gate runs the official
|
|
212
|
+
`@ag-ui/client` 0.0.59 against the real daemon and a deterministic HTTP model fixture.
|
|
213
|
+
Its verifier and message builder exercise lifecycle, state, streaming reasoning,
|
|
214
|
+
assistant speech, PLAN activity, and provider refusals. The optional real-model test adds provider
|
|
215
|
+
evidence; it does not substitute for the deterministic gate. Wire shapes derive
|
|
216
|
+
from the installed `@ag-ui/core` schemas ({§agui-run-authority}).
|
|
217
|
+
|
|
218
|
+
The one-shot CLI and interactive terminal consume one AG-UI+
|
|
219
|
+
semantic contract. Each surface verifies the contracts-owned conformance corpus
|
|
200
220
|
through its production transport and separately verifies the presentation its
|
|
201
221
|
host owns; decoration and layout are not cross-client protocol facts.
|
|
202
222
|
|
|
203
|
-
| Shared semantic fact | One-shot CLI | Interactive terminal |
|
|
204
|
-
| -------------------- | ------------ | -------------------- |
|
|
205
|
-
| lifecycle, model, packet status | structured output and Unix status trace | mutable prompt status |
|
|
206
|
-
| PLAN and reasoning | structured record and trace | streaming waterfall blocks |
|
|
207
|
-
| operation receipts and turn disposition | stdout plus structured operation record | scrollback waterfall |
|
|
208
|
-
| cancellation, proposals, and interactions | explicit noninteractive policy and exit | terminal review or input |
|
|
209
|
-
| Problems and Notices | RFC 9457 JSON or stderr | terminal rows |
|
|
210
|
-
| MCP, Skills, and A2A Functionality | state commands | slash commands |
|
|
223
|
+
| Shared semantic fact | One-shot CLI | Interactive terminal | Intentional host-owned divergence |
|
|
224
|
+
| -------------------- | ------------ | -------------------- | --------------------------------- |
|
|
225
|
+
| lifecycle, model, packet status | structured output and Unix status trace | mutable prompt status | process and terminal lifecycle idioms |
|
|
226
|
+
| PLAN and reasoning | structured record and trace | streaming waterfall blocks | host-native persistence and navigation |
|
|
227
|
+
| operation receipts and turn disposition | stdout plus structured operation record | scrollback waterfall | Unix streams versus visual surfaces |
|
|
228
|
+
| cancellation, proposals, and interactions | explicit noninteractive policy and exit | terminal review or input | each host owns human interaction |
|
|
229
|
+
| Problems and Notices | RFC 9457 JSON or stderr | terminal rows | presentation only; exact semantics survive |
|
|
230
|
+
| MCP, Skills, and A2A Functionality | state commands | slash commands | one Functionality action contract |
|
|
211
231
|
|
|
212
|
-
One installed-platform journey exercises
|
|
232
|
+
One installed-platform journey exercises both public entry paths against
|
|
213
233
|
the same packed daemon release. It asserts semantic outcomes rather than exact
|
|
214
234
|
glyphs or pixels and names any permitted divergence by its owning host.
|
|
215
235
|
Unexpected Problems fail a successful journey, including asynchronous startup
|
|
216
236
|
failures. A deterministic rejected-provider journey asserts the exact cause,
|
|
217
237
|
one provider request, and failed status after subsequent management reads.
|
|
238
|
+
Independent terminal-client connections verify shared workspace state and its
|
|
239
|
+
persistence across daemon restart.
|
|
240
|
+
|
|
241
|
+
The installed-client gate resolves `PLURNK_CLIENT_CHECKOUT` relative to the
|
|
242
|
+
invocation directory, defaulting to `../plurnk` beside the service checkout.
|
|
243
|
+
The selected checkout and its installed dependencies are required; an invalid
|
|
244
|
+
explicit path fails rather than falling back or skipping conformance.
|
|
218
245
|
|
|
219
246
|
## §agui-proposal-resolve Client-owned stop-the-world interactions
|
|
220
247
|
|
|
@@ -235,6 +262,9 @@ settle Run A before the interrupt is emitted. Concurrent descendant gates are
|
|
|
235
262
|
presented one Worker at a time; resolving one re-surfaces the next without admitting a new prompt.
|
|
236
263
|
Sibling and unrelated conversations never receive one another's gates. A resume containing foreign, partial, unknown, duplicate, or multi-worker
|
|
237
264
|
interrupt sets fails before any stopped operation is released.
|
|
265
|
+
Loop terminals received while a resume is being validated or resolved are held:
|
|
266
|
+
successful resolution delivers the bound Loop's terminal once; rejected resolution
|
|
267
|
+
emits its exact `RUN_ERROR`, never success from the previously interrupted Loop.
|
|
238
268
|
|
|
239
269
|
An interrupt is an AG-UI Run boundary, not a Plurnk turn boundary. Before Run A's interrupt
|
|
240
270
|
terminal, the projection closes any active `turn-<id>` step. Run B emits `RUN_STARTED`, its
|
|
@@ -313,9 +343,9 @@ successfully transported management Run; it does not turn the Run into
|
|
|
313
343
|
| `workspace.prompts` | Workspace | `limit?` | `ApplicationPort.listPrompts`. |
|
|
314
344
|
| `workspace.rename` | Workspace | `name` | `ApplicationPort.renameWorkspace`. |
|
|
315
345
|
| `entry.read` | Workspace | `target`, `workerId?`, `channel?`, `offset?` | Calls `ApplicationPort.readEntry` from the explicit worker perspective or the thread conversation by default, preserving validated {§entry-read-result}. |
|
|
316
|
-
| `op.exec` | Workspace | `command` | Constructs one
|
|
346
|
+
| `op.exec` | Workspace | `command` | Constructs one execution statement on the default `sh` runtime and calls `ApplicationPort.dispatchClientAction` on the client worker, attached to the conversation Worker (`conversationWorkerId`, else the workspace's model worker) for Functionality. |
|
|
317
347
|
| `op.parse` | Workspace | `text` | Parses and projects PLURNK text under {§agui-op-parse}. |
|
|
318
|
-
| `op.look` | Workspace | `text`
|
|
348
|
+
| `op.look` | Workspace | `text`, `workerId?` | Admits one LOOK under {§agui-op-look}, rewrites it to READ, and calls core's no-log `look` projection as the conversation worker. |
|
|
319
349
|
| `run.fork` | Workspace | `name?` | `ApplicationPort.forkWorker` from the thread's conversation worker. |
|
|
320
350
|
| `worker.model.get` | Workspace | none | `ApplicationPort.readWorkerModel` on the thread's conversation worker; returns `{ model, spawnModel }` as resolved specs or `null`. |
|
|
321
351
|
| `worker.model.set` | Workspace | `selector` | `ApplicationPort.setWorkerModel` on the thread's conversation worker; persists the resolved selection and returns it. |
|
|
@@ -388,6 +418,12 @@ a parser fact.
|
|
|
388
418
|
Parser failures use `stage: "parsing"`; action-shape failures use
|
|
389
419
|
`stage: "action-validation"`. Both are non-retryable.
|
|
390
420
|
|
|
421
|
+
The observation resolves `log:///` as the thread's conversation worker; `workerId`
|
|
422
|
+
pins another workspace worker. Explicit resource authorities retain their identity
|
|
423
|
+
under {§turn-source-resources}. The closed observation segment stays on the connection's own
|
|
424
|
+
worker: a look never adds a loop to the conversation, so its lifecycle, packet count, and
|
|
425
|
+
history are unchanged by inspection.
|
|
426
|
+
|
|
391
427
|
§agui-module-actions **One public action namespace.** Core rejects empty and
|
|
392
428
|
duplicate extension registrations ({§module-action-registration}). At module
|
|
393
429
|
startup AG-UI rejects any extension name colliding with a built-in before it
|
|
@@ -406,7 +442,7 @@ The `discover` action returns the complete schema-bearing
|
|
|
406
442
|
type Discovery = {
|
|
407
443
|
schemaVersion: 1;
|
|
408
444
|
actions: Record<string, {
|
|
409
|
-
scope: "worldless" | "workspace";
|
|
445
|
+
scope: "worldless" | "workspace" | "worker";
|
|
410
446
|
inputSchema: JsonSchema;
|
|
411
447
|
outputSchema: JsonSchema;
|
|
412
448
|
}>;
|
|
@@ -419,7 +455,7 @@ type Discovery = {
|
|
|
419
455
|
({§client-display-capabilities}). AG-UI adds no fallback, font, theme, or packet
|
|
420
456
|
policy.
|
|
421
457
|
|
|
422
|
-
`actions` contains the
|
|
458
|
+
`actions` contains the 25 built-ins in the table plus every registered module
|
|
423
459
|
action. `notifications` contains exactly these externally projected daemon
|
|
424
460
|
event families:
|
|
425
461
|
|
|
@@ -427,13 +463,13 @@ event families:
|
|
|
427
463
|
|--------------|
|
|
428
464
|
| `log/entry` |
|
|
429
465
|
| `loop/terminated` |
|
|
466
|
+
| `loop/packet` |
|
|
430
467
|
| `loop/proposal` |
|
|
431
468
|
| `loop/interaction` |
|
|
432
469
|
| `notice/event` |
|
|
433
470
|
| `reasoning/event` |
|
|
434
471
|
| `stream/event` |
|
|
435
472
|
| `stream/concluded` |
|
|
436
|
-
| `workspace/branch-batch` |
|
|
437
473
|
|
|
438
474
|
The schemas are the same executable values used for runtime admission and
|
|
439
475
|
projection. `plurnk-agui` owns the built-in action and notification registry;
|
|
@@ -493,9 +529,15 @@ this Run.
|
|
|
493
529
|
| `op.exec` / `op.parse` | Client-operation Worker's log and stream events. A proposal resume retains this scope. | This action result, deferred through its owned streams. |
|
|
494
530
|
| Every other action | None; the Run carries only its direct state snapshot and action result. | This action result. |
|
|
495
531
|
|
|
532
|
+
An operation Run owns an execution from the row that announces it: a started or
|
|
533
|
+
queued execution row carries `attrs.stream`, and that address stays open for the Run
|
|
534
|
+
until its `stream/concluded`, so the action result is deferred even when the
|
|
535
|
+
command writes late or never (a `stream/event` is a race the result must not
|
|
536
|
+
win). A detached execution (`<-1>`) is nobody's obligation and never defers the
|
|
537
|
+
result.
|
|
538
|
+
|
|
496
539
|
`workerId` (or `entry.worker_id`) is the actor owner; `loopId` (or
|
|
497
|
-
`entry.loop_id`) refines it wherever the event is loop-scoped.
|
|
498
|
-
events remain workspace status and route only to conversation Runs. Opening a
|
|
540
|
+
`entry.loop_id`) refines it wherever the event is loop-scoped. Opening a
|
|
499
541
|
read-only management Run can therefore never replay reasoning, operation rows,
|
|
500
542
|
or turn disposition from an active conversation.
|
|
501
543
|
|
|
@@ -510,6 +552,7 @@ values for direct in-process composition. The listener address remains service-o
|
|
|
510
552
|
| ---------------------------------- | ------- | -------------------------------------- | ----------------------------------- | ------ |
|
|
511
553
|
| `PLURNK_HOST` / `PLURNK_PORT` | Service | Invalid at service boot | Service-valid host and port | Service binds the address through `Module.bind`; direct compositions may use `Module.init`. |
|
|
512
554
|
| `PLURNK_AGUI_TOKEN` | AG-UI | No module-level bearer requirement | Any string | A non-empty value requires the exact bearer on every non-preflight request. |
|
|
555
|
+
| `PLURNK_AGUI_ALLOW_ORIGIN` | AG-UI | Empty: no CORS headers; absent: invalid | `*` or one origin | The origin whose pages a browser lets read replies ({§agui-cors}). |
|
|
513
556
|
| `PLURNK_AGUI_MAX_TURNS` | AG-UI | No module-level default | `-1` or a non-negative safe integer | Supplies `maxTurns` only when the Run does not carry its own value. |
|
|
514
557
|
| `PLURNK_AGUI_HEARTBEAT_MS` | AG-UI | Invalid; the package floor is required | Integer `0` through `2147483647` | SSE comment-frame cadence in milliseconds; `0` disables it. |
|
|
515
558
|
|
|
@@ -523,11 +566,41 @@ one `data:` line per event, ending after `RUN_FINISHED`/`RUN_ERROR`. Multimodal
|
|
|
523
566
|
is rejected until the model-loop seam supports it deliberately. Proposal
|
|
524
567
|
disposition remains Core policy; the module forwards it without reinterpretation.
|
|
525
568
|
|
|
569
|
+
§agui-run-source The run's user message is the causal actor behind its inbound SEND
|
|
570
|
+
({§message-causal-source}). The module supplies its canonical address as the loop's `source`:
|
|
571
|
+
`agui://<principal>/threads/<threadId>/messages/<messageId>`, every segment
|
|
572
|
+
URI-encoded, the principal `anonymous` until the authorization layer names one. The frontend's
|
|
573
|
+
self-identification never enters the address ({§client-metadata}). The arrival row renders that
|
|
574
|
+
source, so a model tells an operator's message from a worker's or a schedule's by address
|
|
575
|
+
rather than by absence. Message identity belongs to the conversation, not a transport run;
|
|
576
|
+
the run ID remains envelope provenance. Accepted text remains available through ordinary
|
|
577
|
+
READ, FIND and COPY after log curation, run conclusion, disconnect and daemon restart.
|
|
578
|
+
`loop.inject` normalizes its prompt into a user message with a server-generated message ID
|
|
579
|
+
and the injecting Run's thread/envelope; it follows this same source and reply contract.
|
|
580
|
+
The source is immutable: EDIT, MOVE and KILL cannot mutate an accepted message.
|
|
581
|
+
SEND to this exact address answers this message under {§send-response-receipt}; it does
|
|
582
|
+
not create another inbound request. Standard AG-UI assistant messages and history replay
|
|
583
|
+
carry the reply, independently of whether the loop can yet conclude.
|
|
584
|
+
|
|
526
585
|
§agui-http-authorization When `PLURNK_AGUI_TOKEN` is non-empty, every
|
|
527
586
|
non-preflight request must carry that exact value as an
|
|
528
587
|
`authorization: Bearer <token>` header. Authorization precedes request-body
|
|
529
588
|
reading. A missing or mismatched credential returns the stable 401
|
|
530
|
-
`bearer-token-required` Problem.
|
|
589
|
+
`bearer-token-required` Problem. A fresh install **mints its own** into the
|
|
590
|
+
operator's file ({§operator-config-discovery}), which every client reads
|
|
591
|
+
through the same cascade, so the shipped posture is authenticated: the empty
|
|
592
|
+
value that means *no check* is an operator's deliberate choice, never a
|
|
593
|
+
default. This is the perimeter because a daemon is one trust domain and on
|
|
594
|
+
loopback the operator's browser is inside it — any page they visit can reach
|
|
595
|
+
the port, and only the bearer tells the two apart.
|
|
596
|
+
|
|
597
|
+
§agui-cors Every response carries `access-control-allow-origin` with the value
|
|
598
|
+
of `PLURNK_AGUI_ALLOW_ORIGIN`, and allows the `content-type` and
|
|
599
|
+
`authorization` request headers; an empty value sends neither header, so no
|
|
600
|
+
browser page can read a reply. CORS narrows which pages may *read*; it does
|
|
601
|
+
not authenticate a request and is no substitute for the bearer
|
|
602
|
+
({§agui-http-authorization}). A preflight is answered `204` before
|
|
603
|
+
authorization.
|
|
531
604
|
|
|
532
605
|
§agui-http-failure Failures before SSE headers are sent use
|
|
533
606
|
`application/problem+json` with exact
|
package/dist/AguiPlus.d.ts
CHANGED
|
@@ -61,9 +61,6 @@ export interface AguiStatusState {
|
|
|
61
61
|
readonly loopId: number | null;
|
|
62
62
|
readonly packetCount: number;
|
|
63
63
|
readonly activity: AguiStatusActivity | null;
|
|
64
|
-
readonly scheduledAt: string | null;
|
|
65
|
-
readonly intervalMinutes: number | null;
|
|
66
|
-
readonly recurrenceId: number | null;
|
|
67
64
|
readonly children: number;
|
|
68
65
|
}
|
|
69
66
|
export declare const ALIVE_LIFECYCLES: ReadonlySet<LoopLifecycle>;
|
package/dist/AguiPlus.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AguiPlus.d.ts","sourceRoot":"","sources":["../src/AguiPlus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAa,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClF,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAyB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACrF,OAAO,KAAK,EACR,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC3B,UAAU,EACV,cAAc,EACjB,MAAM,0BAA0B,CAAC;AAKlC,eAAO,MAAM,kBAAkB,eAAgB,MAAM,KAAG,MAA8B,CAAC;AACvF,eAAO,MAAM,wBAAwB,eAAgB,MAAM,KAAG,MAAM,GAAG,IAGtE,CAAC;AAOF,eAAO,MAAM,gBA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AAc,CAAA;CAAE,CAAC;AACpG,eAAO,MAAM,YAAY,SAAU,MAAM,WAAW,aAAa,KAAG,SACuB,CAAC"}
|
package/dist/AguiPlus.js
CHANGED
|
@@ -126,9 +126,6 @@ export const statusState = (model, loop, activity = null, children = 0) => ({
|
|
|
126
126
|
loopId: loop?.id ?? null,
|
|
127
127
|
packetCount: loop?.packetCount ?? 0,
|
|
128
128
|
activity,
|
|
129
|
-
scheduledAt: loop?.scheduledAt ?? null,
|
|
130
|
-
intervalMinutes: loop?.intervalMinutes ?? null,
|
|
131
|
-
recurrenceId: loop?.recurrenceId ?? null,
|
|
132
129
|
children,
|
|
133
130
|
});
|
|
134
131
|
const EMPTY_BUDGET = Object.freeze({
|
package/dist/AguiPlus.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AguiPlus.js","sourceRoot":"","sources":["../src/AguiPlus.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,qCAAqC;AACrC,oFAAoF;AACpF,0EAA0E;AAC1E,EAAE;AACF,gEAAgE;AAChE,kFAAkF;AAElF,OAAO,EAAE,SAAS,EAA6C,MAAM,YAAY,CAAC;AAElF,OAAO,EAAE,qBAAqB,EAAsB,MAAM,0BAA0B,CAAC;AASrF,wEAAwE;AACxE,0FAA0F;AAC1F,6FAA6F;AAC7F,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,UAAkB,EAAU,EAAE,CAAC,QAAQ,UAAU,EAAE,CAAC;AACvF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,UAAkB,EAAiB,EAAE;IAC1E,MAAM,CAAC,GAAG,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC1C,OAAO,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5C,CAAC,CAAC;AAEF,mFAAmF;AACnF,qDAAqD;AACrD,iFAAi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AAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/D,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,EAAE,GAAG,MAAiC,CAAC;IACrE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,OAAsB,EAAa,EAAE,CAC5E,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,CAAC,CAAC"}
|
package/dist/AguiSurface.d.ts
CHANGED
|
@@ -45,7 +45,6 @@ export declare const AGUI_NOTIFICATIONS: Readonly<{
|
|
|
45
45
|
"reasoning/event": AguiNotificationContract;
|
|
46
46
|
"stream/event": AguiNotificationContract;
|
|
47
47
|
"stream/concluded": AguiNotificationContract;
|
|
48
|
-
"workspace/branch-batch": AguiNotificationContract;
|
|
49
48
|
}>;
|
|
50
49
|
export {};
|
|
51
50
|
//# sourceMappingURL=AguiSurface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AguiSurface.d.ts","sourceRoot":"","sources":["../src/AguiSurface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAM3D,KAAK,eAAe,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;CACrC;AAED,MAAM,WAAW,wBAAwB;IACrC,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC;CACtC;AA6DD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;EAiFwB,CAAC;AA6B1D,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"AguiSurface.d.ts","sourceRoot":"","sources":["../src/AguiSurface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAM3D,KAAK,eAAe,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;CACrC;AAED,MAAM,WAAW,wBAAwB;IACrC,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC;CACtC;AA6DD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;EAiFwB,CAAC;AA6B1D,eAAO,MAAM,kBAAkB;;;;;;;;;;EA+DgC,CAAC"}
|
package/dist/AguiSurface.js
CHANGED
|
@@ -103,7 +103,7 @@ export const AGUI_BUILTIN_ACTIONS = Object.freeze({
|
|
|
103
103
|
"op.parse": action("workspace", object({ text: NONEMPTY }, ["text"]), object({
|
|
104
104
|
results: array(OPERATION_RESULT),
|
|
105
105
|
}, ["results"])),
|
|
106
|
-
"op.look": action("workspace", object({ text: NONEMPTY }, ["text"]), OPERATION_RESULT),
|
|
106
|
+
"op.look": action("workspace", object({ text: NONEMPTY, workerId: POSITIVE }, ["text"]), OPERATION_RESULT),
|
|
107
107
|
"run.fork": action("workspace", object({ name: NONEMPTY }), object({
|
|
108
108
|
workerId: POSITIVE,
|
|
109
109
|
workerName: nullable(NONEMPTY),
|
|
@@ -182,9 +182,6 @@ export const AGUI_NOTIFICATIONS = Object.freeze({
|
|
|
182
182
|
workerId: POSITIVE,
|
|
183
183
|
loopId: POSITIVE,
|
|
184
184
|
packetCount: POSITIVE,
|
|
185
|
-
scheduledAt: NONEMPTY,
|
|
186
|
-
intervalMinutes: POSITIVE,
|
|
187
|
-
recurrenceId: POSITIVE,
|
|
188
185
|
}, ["workerId", "loopId", "packetCount"])),
|
|
189
186
|
"loop/proposal": notification(ref("ProposalProjection")),
|
|
190
187
|
"loop/interaction": notification(ref("ClientInteractionProjection")),
|
|
@@ -218,9 +215,5 @@ export const AGUI_NOTIFICATIONS = Object.freeze({
|
|
|
218
215
|
wakeAction: { enum: ["skipped-aborted", "skipped-cancelled", "wake-pending", "no-op-active-loop", "no-loop"] },
|
|
219
216
|
...streamCoordinate,
|
|
220
217
|
}, ["entryId", "workerId", "target", "subscriptionId", "result", "scheme", "summary", "wakeAction"])),
|
|
221
|
-
"workspace/branch-batch": notification(object({
|
|
222
|
-
batchId: POSITIVE,
|
|
223
|
-
state: { enum: ["queued", "running", "completed", "failed", "recovery-required"] },
|
|
224
|
-
}, ["batchId", "state"], true)),
|
|
225
218
|
});
|
|
226
219
|
//# sourceMappingURL=AguiSurface.js.map
|
package/dist/AguiSurface.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AguiSurface.js","sourceRoot":"","sources":["../src/AguiSurface.ts"],"names":[],"mappings":"AAkBA,MAAM,EAAE,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,iCAAiC,IAAI,OAAO,CAAC;AAClF,MAAM,GAAG,GAAG,CAAC,IAAY,EAAc,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/D,MAAM,MAAM,GAAG,CAAC,OAAO,GAAsC,EAAE,EAAc,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AACjH,MAAM,OAAO,GAAG,CAAC,OAAO,GAAW,CAAC,EAAc,EAAE,CAAC,CAAC;IAClD,IAAI,EAAE,SAAS;IACf,OAAO;IACP,OAAO,EAAE,MAAM,CAAC,gBAAgB;CACnC,CAAC,CAAC;AAC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E,QAAQ;QAChB,OAAO,EAAE,MAAM,EAAE;QACjB,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,CAAC,EAAE;QAC9G,GAAG,gBAAgB;KACtB,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC;CAC3C,CAAC,CAAC"}
|
package/dist/BuiltinActions.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ActionOutcome } from "./AguiPlus.ts";
|
|
2
2
|
import { type AguiDiscovery, type ApplicationPort, type ClientEnvelope } from "@plurnk/plurnk-contracts";
|
|
3
|
+
import type { RunAgentInput } from "./types.ts";
|
|
3
4
|
export default class BuiltinActions {
|
|
4
5
|
#private;
|
|
5
6
|
constructor({ seam, capabilities, envelope, requireWorkspace }: {
|
|
@@ -11,6 +12,6 @@ export default class BuiltinActions {
|
|
|
11
12
|
}>;
|
|
12
13
|
requireWorkspace: (kind: string, env: ClientEnvelope | null) => ClientEnvelope;
|
|
13
14
|
});
|
|
14
|
-
executeBuiltin(kind: string, p: Readonly<Record<string, unknown>>, env: ClientEnvelope | null, conversationWorkerId?: number): Promise<ActionOutcome>;
|
|
15
|
+
executeBuiltin(kind: string, p: Readonly<Record<string, unknown>>, input: RunAgentInput, env: ClientEnvelope | null, conversationWorkerId?: number): Promise<ActionOutcome>;
|
|
15
16
|
}
|
|
16
17
|
//# sourceMappingURL=BuiltinActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuiltinActions.d.ts","sourceRoot":"","sources":["../src/BuiltinActions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"BuiltinActions.d.ts","sourceRoot":"","sources":["../src/BuiltinActions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAyC,KAAK,aAAa,EAAE,KAAK,eAAe,EAAyB,KAAK,cAAc,EAAkE,MAAM,0BAA0B,CAAC;AAGvO,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAuChD,MAAM,CAAC,OAAO,OAAO,cAAc;;IAM/B,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE;QAC5D,IAAI,EAAE,MAAM,eAAe,CAAC;QAC5B,YAAY,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;QAC3C,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;YAAE,GAAG,EAAE,cAAc,CAAC;YAAC,UAAU,EAAE,OAAO,CAAA;SAAE,CAAC,CAAC;QAC3H,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI,KAAK,cAAc,CAAC;KAClF,EAKA;IAKK,cAAc,CAChB,IAAI,EAAE,MAAM,EACZ,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EACpC,KAAK,EAAE,aAAa,EACpB,GAAG,EAAE,cAAc,GAAG,IAAI,EAC1B,oBAAoB,CAAC,EAAE,MAAM,GAC9B,OAAO,CAAC,aAAa,CAAC,CA2XxB;CAEJ"}
|