@aparte/runner-ag-ui 1.5.0 → 1.7.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/README.md +5 -1
- package/dist/index.js +434 -75
- package/dist/index.js.map +1 -1
- package/dist/runner.d.ts +7 -0
- package/dist/runner.d.ts.map +1 -1
- package/dist/state.d.ts +6 -0
- package/dist/state.d.ts.map +1 -1
- package/dist/subagent-history.d.ts +56 -0
- package/dist/subagent-history.d.ts.map +1 -0
- package/dist/wire.d.ts +14 -3
- package/dist/wire.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/runner.d.ts
CHANGED
|
@@ -62,6 +62,13 @@ export interface AgUiRunnerOptions {
|
|
|
62
62
|
* `run-suspended`; the client runs the tool or asks through its approval panel, then
|
|
63
63
|
* calls this runner again with the answers, which go back as `tool` messages or as one
|
|
64
64
|
* `resume` batch for the interrupts.
|
|
65
|
+
*
|
|
66
|
+
* A sub-agent's work (AG-UI's `SUBAGENT_*` and the `subagentRunId` on its events) is kept
|
|
67
|
+
* apart from the reply: its start and end become `agent-start` / `agent-end`, and every
|
|
68
|
+
* event drawn from its content carries its `agentId` — the event's own tag, else the owner
|
|
69
|
+
* of the message or call it continues. Its text, its model steps and its calls are tracked
|
|
70
|
+
* per owner, so interleaved sub-agents never close each other's text, and a pause inside
|
|
71
|
+
* one is asked, and answered on resume, under it.
|
|
65
72
|
*/
|
|
66
73
|
export declare function createAgUiRunner(options: AgUiRunnerOptions): AparteStreamRunner;
|
|
67
74
|
//# sourceMappingURL=runner.d.ts.map
|
package/dist/runner.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGR,kBAAkB,EAClB,sBAAsB,EACzB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGR,kBAAkB,EAClB,sBAAsB,EACzB,MAAM,cAAc,CAAC;AAgBtB,MAAM,WAAW,iBAAiB;IAC9B,oFAAoF;IACpF,QAAQ,EAAE,MAAM,CAAC;IACjB,2FAA2F;IAC3F,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IACpG,kCAAkC;IAClC,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IACrB,gEAAgE;IAChE,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,sBAAsB,KAAK,MAAM,CAAC,CAAC;IAC/D,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,oEAAoE;IACpE,OAAO,CAAC,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACnD;;;;;;;OAOG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAiLD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,iBAAiB,GAAG,kBAAkB,CAmsB/E"}
|
package/dist/state.d.ts
CHANGED
|
@@ -10,4 +10,10 @@
|
|
|
10
10
|
* from the patch, the rest applies. Both are told to `warn`; neither fails the run.
|
|
11
11
|
*/
|
|
12
12
|
export declare function applyStateDelta(state: unknown, delta: unknown, warn: (message: string) => void): unknown;
|
|
13
|
+
/**
|
|
14
|
+
* The content of an activity after an `ACTIVITY_DELTA`: the same rules as the state's — whole
|
|
15
|
+
* or not at all, an unknown operation dropped, both told to `warn`. A patch that fails returns
|
|
16
|
+
* `content` itself (the same reference), so the caller can tell nothing changed.
|
|
17
|
+
*/
|
|
18
|
+
export declare function applyActivityDelta(content: unknown, patch: unknown, warn: (message: string) => void): unknown;
|
|
13
19
|
//# sourceMappingURL=state.d.ts.map
|
package/dist/state.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../src/state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA2GH;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../src/state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA2GH;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAExG;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAE7G"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { AgUiMessage } from './wire.js';
|
|
2
|
+
/**
|
|
3
|
+
* What the runner keeps of one sub-agent of a run, so a run that pauses can hand it back on
|
|
4
|
+
* its resume. The page's history holds the reply's words, never a sub-agent's: its line draws
|
|
5
|
+
* them, the transcript the model reads does not. But the agent that paused needs them to
|
|
6
|
+
* continue — TanStack AI resumes a paused sub-agent only from its own messages, found after the
|
|
7
|
+
* last user message, tagged with its `subagentRunId` — so the runner records them itself.
|
|
8
|
+
*/
|
|
9
|
+
export interface SubagentRecord {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
parentToolCallId?: string;
|
|
14
|
+
parentSubagentRunId?: string;
|
|
15
|
+
status: 'running' | 'finished' | 'error' | 'suspended';
|
|
16
|
+
/** The interrupts it paused on, from its `SUBAGENT_FINISHED` outcome. */
|
|
17
|
+
interruptIds?: string[];
|
|
18
|
+
/** The metadata its `SUBAGENT_STARTED` carried: a TanStack AI router's plan rides there. */
|
|
19
|
+
metadata?: Record<string, unknown>;
|
|
20
|
+
/**
|
|
21
|
+
* Run by TanStack AI: the stream it came in tagged its events with `metadata.tanstack`
|
|
22
|
+
* (TanStack puts it on its runs, calls and plans — not on an agent tool's `SUBAGENT_STARTED`,
|
|
23
|
+
* so the sub-agent's own announcement cannot say). Only such a sub-agent's messages go back
|
|
24
|
+
* on a resume — TanStack needs them; another AG-UI agent keeps its sub-agents' work itself.
|
|
25
|
+
*/
|
|
26
|
+
tanstack?: true;
|
|
27
|
+
/** What it wrote and ran, as AG-UI messages: its text, its calls, their results. */
|
|
28
|
+
messages: AgUiMessage[];
|
|
29
|
+
}
|
|
30
|
+
/** The sub-agents of a run as they stream, carried over from the ticket of the run it resumes. */
|
|
31
|
+
export declare function createSubagentHistory(from?: readonly SubagentRecord[]): {
|
|
32
|
+
/** Announced (again, by a resumed run: the same invocation going on). */
|
|
33
|
+
start(id: string, info: Omit<SubagentRecord, "id" | "status" | "messages" | "interruptIds" | "tanstack">): void;
|
|
34
|
+
end(id: string, status: SubagentRecord["status"], interruptIds?: string[]): void;
|
|
35
|
+
text(owner: string, messageId: string, delta: string): void;
|
|
36
|
+
/** A call joins the assistant message that ends the transcript, as one model step writes text then calls. */
|
|
37
|
+
call(owner: string, toolCallId: string, name: string): void;
|
|
38
|
+
args(owner: string, toolCallId: string, delta: string): void;
|
|
39
|
+
result(owner: string, messageId: string | undefined, toolCallId: string, content: string): void;
|
|
40
|
+
/** The run's sub-agents, `tanstack` set on each when the run was TanStack AI's. */
|
|
41
|
+
records(tanstack?: boolean): SubagentRecord[];
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The sub-agents of a paused run as the messages its resume sends: each one's own, tagged with
|
|
45
|
+
* its `subagentRunId` (AG-UI 1.0 lets a message carry one), the first carrying TanStack AI's
|
|
46
|
+
* card for it — `metadata.tanstack.subagent`: name, status, the interrupts it waits on, its
|
|
47
|
+
* `SUBAGENT_STARTED` metadata — which is what TanStack reads to know which sub-agent an answer
|
|
48
|
+
* is for, and which of them had already finished (those it does not run again).
|
|
49
|
+
*
|
|
50
|
+
* Only the sub-agents TanStack announced (`tanstack`): no other agent reads them. `answers` are
|
|
51
|
+
* the page's answers to calls the agent left to the browser, by call id: one a sub-agent made
|
|
52
|
+
* joins its messages, after the run of messages that declares and answers its step — tagged
|
|
53
|
+
* like them, never ahead of the call it answers.
|
|
54
|
+
*/
|
|
55
|
+
export declare function subagentMessages(records: readonly SubagentRecord[], answers?: ReadonlyMap<string, AgUiMessage>): AgUiMessage[];
|
|
56
|
+
//# sourceMappingURL=subagent-history.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subagent-history.d.ts","sourceRoot":"","sources":["../src/subagent-history.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAI7C;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,WAAW,CAAC;IACvD,yEAAyE;IACzE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,4FAA4F;IAC5F,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,oFAAoF;IACpF,QAAQ,EAAE,WAAW,EAAE,CAAC;CAC3B;AAED,kGAAkG;AAClG,wBAAgB,qBAAqB,CAAC,IAAI,GAAE,SAAS,cAAc,EAAO;IAmBlE,yEAAyE;cAC/D,MAAM,QAAQ,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,cAAc,GAAG,UAAU,CAAC,GAAG,IAAI;YAMvG,MAAM,UAAU,cAAc,CAAC,QAAQ,CAAC,iBAAiB,MAAM,EAAE,GAAG,IAAI;gBAMpE,MAAM,aAAa,MAAM,SAAS,MAAM,GAAG,IAAI;IAS3D,6GAA6G;gBACjG,MAAM,cAAc,MAAM,QAAQ,MAAM,GAAG,IAAI;gBAiB/C,MAAM,cAAc,MAAM,SAAS,MAAM,GAAG,IAAI;kBAI9C,MAAM,aAAa,MAAM,GAAG,SAAS,cAAc,MAAM,WAAW,MAAM,GAAG,IAAI;IAG/F,mFAAmF;iCACxD,cAAc,EAAE;EAIlD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,EAAE,OAAO,GAAE,WAAW,CAAC,MAAM,EAAE,WAAW,CAAa,GAAG,WAAW,EAAE,CAsBzI"}
|
package/dist/wire.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export interface AgUiInterrupt {
|
|
|
12
12
|
toolCallId?: string;
|
|
13
13
|
responseSchema?: unknown;
|
|
14
14
|
metadata?: Record<string, unknown>;
|
|
15
|
+
/** The sub-agent invocation that raised it; absent, the run's own agent. */
|
|
16
|
+
subagentRunId?: string;
|
|
15
17
|
}
|
|
16
18
|
/** The events the runner maps; any other `type` is read and ignored. */
|
|
17
19
|
export type AgUiEvent = {
|
|
@@ -93,6 +95,14 @@ export type AgUiInputContent = {
|
|
|
93
95
|
mimeType?: string;
|
|
94
96
|
};
|
|
95
97
|
};
|
|
98
|
+
/**
|
|
99
|
+
* What AG-UI 1.0 lets an assistant or tool message say of where it came from: the sub-agent
|
|
100
|
+
* invocation that wrote it (absent, the run's own agent), and the producer's own metadata.
|
|
101
|
+
*/
|
|
102
|
+
interface AgUiProvenance {
|
|
103
|
+
subagentRunId?: string;
|
|
104
|
+
metadata?: Record<string, unknown>;
|
|
105
|
+
}
|
|
96
106
|
/** One message of `RunAgentInput.messages`. */
|
|
97
107
|
export type AgUiMessage = {
|
|
98
108
|
id: string;
|
|
@@ -102,7 +112,7 @@ export type AgUiMessage = {
|
|
|
102
112
|
id: string;
|
|
103
113
|
role: 'user';
|
|
104
114
|
content: string | AgUiInputContent[];
|
|
105
|
-
} | {
|
|
115
|
+
} | ({
|
|
106
116
|
id: string;
|
|
107
117
|
role: 'assistant';
|
|
108
118
|
content?: string;
|
|
@@ -114,12 +124,12 @@ export type AgUiMessage = {
|
|
|
114
124
|
arguments: string;
|
|
115
125
|
};
|
|
116
126
|
}[];
|
|
117
|
-
} | {
|
|
127
|
+
} & AgUiProvenance) | ({
|
|
118
128
|
id: string;
|
|
119
129
|
role: 'tool';
|
|
120
130
|
content: string;
|
|
121
131
|
toolCallId: string;
|
|
122
|
-
};
|
|
132
|
+
} & AgUiProvenance);
|
|
123
133
|
/** One entry of `RunAgentInput.resume`: the answer to one interrupt. */
|
|
124
134
|
export interface AgUiResumeItem {
|
|
125
135
|
interruptId: string;
|
|
@@ -157,4 +167,5 @@ export interface AgUiRunAgentInput {
|
|
|
157
167
|
export declare function readAgUiEvents(body: ReadableStream<Uint8Array>, contentType: string | null): AsyncGenerator<{
|
|
158
168
|
type: string;
|
|
159
169
|
} & Record<string, unknown>>;
|
|
170
|
+
export {};
|
|
160
171
|
//# sourceMappingURL=wire.d.ts.map
|
package/dist/wire.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,sEAAsE;AACtE,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,iFAAiF;IACjF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,sEAAsE;AACtE,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,iFAAiF;IACjF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wEAAwE;AACxE,MAAM,MAAM,SAAS,GACf;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1D;IACE,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QAAE,IAAI,EAAE,SAAS,CAAA;KAAE,GAAG;QAAE,IAAI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GAAG,IAAI,GAC3B,cAAc,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAuD5D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aparte/runner-ag-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"homepage": "https://apartejs.dev/providers/agent/ag-ui/",
|
|
5
5
|
"description": "Render an AG-UI agent in aparté — Agno, LangGraph, Mastra, CrewAI, Pydantic AI, TanStack AI: the agent runs on its server, aparté draws the chat, its tool calls and its approvals.",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@aparte/core": ">=1.
|
|
28
|
+
"@aparte/core": ">=1.7.0 <2.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@ag-ui/core": "^1.0.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@types/node": "^22.0.0",
|
|
34
34
|
"typescript": "^5.4.0",
|
|
35
35
|
"vite": "^6.0.0",
|
|
36
|
-
"@aparte/core": "1.
|
|
36
|
+
"@aparte/core": "1.7.0"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"ai",
|