@powerhousedao/reactor-browser 6.2.3-dev.9 → 6.2.3-dev.90
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/dist/{attachment-service-D3EhiAJ7.d.ts → attachment-service-10Qn5nIw.d.ts} +766 -108
- package/dist/attachment-service-10Qn5nIw.d.ts.map +1 -0
- package/dist/auth-DzIYxeEJ.d.ts +32 -0
- package/dist/auth-DzIYxeEJ.d.ts.map +1 -0
- package/dist/{client-DjK30EQ-.js → client-BFnMV-EO.js} +39 -22
- package/dist/client-BFnMV-EO.js.map +1 -0
- package/dist/{client-D66jVnot.js → client-BNMyQ_Z2.js} +372 -33
- package/dist/client-BNMyQ_Z2.js.map +1 -0
- package/dist/{client-BIHN_UyR.d.ts → client-C-NgSjoc.d.ts} +4 -3
- package/dist/client-C-NgSjoc.d.ts.map +1 -0
- package/dist/dispatch-Cylwl2Dk.js +1173 -0
- package/dist/dispatch-Cylwl2Dk.js.map +1 -0
- package/dist/document-by-id-DdvqanGR.js +16 -0
- package/dist/document-by-id-DdvqanGR.js.map +1 -0
- package/dist/document-model-modules-ChmfyIxT.js +644 -0
- package/dist/document-model-modules-ChmfyIxT.js.map +1 -0
- package/dist/document-operations-o9cfLoeV.js +4662 -0
- package/dist/document-operations-o9cfLoeV.js.map +1 -0
- package/dist/global-bbfp3_1x.d.ts +649 -0
- package/dist/global-bbfp3_1x.d.ts.map +1 -0
- package/dist/{index-B33TKEqp.d.ts → index-Bfr_cWdi.d.ts} +31 -100
- package/dist/index-Bfr_cWdi.d.ts.map +1 -0
- package/dist/{index-BIVDXw3K.d.ts → index-rtDmzViP.d.ts} +3 -3
- package/dist/index-rtDmzViP.d.ts.map +1 -0
- package/dist/index.d.ts +837 -411
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +851 -129
- package/dist/index.js.map +1 -1
- package/dist/inspector-proxy-DODqs15F.d.ts +25 -0
- package/dist/inspector-proxy-DODqs15F.d.ts.map +1 -0
- package/dist/make-ph-event-functions-B5GU5xcR.js +180 -0
- package/dist/make-ph-event-functions-B5GU5xcR.js.map +1 -0
- package/dist/{pglite-CntadC_p-9NDG14dS.d.ts → pglite-CntadC_p-DTkdF8sr.d.ts} +11 -33
- package/dist/pglite-CntadC_p-DTkdF8sr.d.ts.map +1 -0
- package/dist/{relational-D1RB45sA.js → relational-DZuyKp2y.js} +66 -5
- package/dist/relational-DZuyKp2y.js.map +1 -0
- package/dist/{renown-rqK8sokh.js → renown-B3MUaiq7.js} +61 -31
- package/dist/renown-B3MUaiq7.js.map +1 -0
- package/dist/renown-CBoTdGrg.js +394 -0
- package/dist/renown-CBoTdGrg.js.map +1 -0
- package/dist/{types-Dcv1ZLoW.d.ts → schema-Bn6L3QR1.d.ts} +324 -64
- package/dist/schema-Bn6L3QR1.d.ts.map +1 -0
- package/dist/src/ai/index.d.ts +276 -75
- package/dist/src/ai/index.d.ts.map +1 -1
- package/dist/src/ai/index.js +733 -172
- package/dist/src/ai/index.js.map +1 -1
- package/dist/src/analytics/index.d.ts +36 -44
- package/dist/src/analytics/index.d.ts.map +1 -1
- package/dist/src/analytics/index.js +4 -4
- package/dist/src/analytics/index.js.map +1 -1
- package/dist/src/document-model.d.ts +3 -4
- package/dist/src/document-model.d.ts.map +1 -1
- package/dist/src/document-model.js.map +1 -1
- package/dist/src/graphql/client.d.ts +4 -3
- package/dist/src/graphql/client.js +1 -1
- package/dist/src/graphql-client/entry.d.ts +6 -4
- package/dist/src/graphql-client/entry.js +4 -4
- package/dist/src/relational/index.d.ts +15 -9
- package/dist/src/relational/index.d.ts.map +1 -1
- package/dist/src/relational/index.js +1 -1
- package/dist/src/renown/index.d.ts +3 -2
- package/dist/src/renown/index.js +3 -3
- package/dist/src/rpc/index.d.ts +217 -140
- package/dist/src/rpc/index.d.ts.map +1 -1
- package/dist/src/rpc/index.js +600 -623
- package/dist/src/rpc/index.js.map +1 -1
- package/dist/{store-BJYcr_FL.js → store-DInXcjal.js} +1 -1
- package/dist/{store-BJYcr_FL.js.map → store-DInXcjal.js.map} +1 -1
- package/dist/{switchboard-CaXQ4-5Q.js → switchboard-B640iT1L.js} +61 -11
- package/dist/switchboard-B640iT1L.js.map +1 -0
- package/dist/{types-6vDzbRRS.d.ts → types-520nWrB3.d.ts} +2 -2
- package/dist/types-520nWrB3.d.ts.map +1 -0
- package/dist/types-CT44EMmw.d.ts +59 -0
- package/dist/types-CT44EMmw.d.ts.map +1 -0
- package/package.json +24 -23
- package/dist/attachment-service-D3EhiAJ7.d.ts.map +0 -1
- package/dist/client-BIHN_UyR.d.ts.map +0 -1
- package/dist/client-D66jVnot.js.map +0 -1
- package/dist/client-DjK30EQ-.js.map +0 -1
- package/dist/document-by-id-B4FIzG1w.js +0 -519
- package/dist/document-by-id-B4FIzG1w.js.map +0 -1
- package/dist/document-model-modules-bTP87nyr.js +0 -419
- package/dist/document-model-modules-bTP87nyr.js.map +0 -1
- package/dist/document-operations-WeE6wIDt.js +0 -2603
- package/dist/document-operations-WeE6wIDt.js.map +0 -1
- package/dist/global-OuINvEGT.d.ts +0 -401
- package/dist/global-OuINvEGT.d.ts.map +0 -1
- package/dist/index-B33TKEqp.d.ts.map +0 -1
- package/dist/index-BIVDXw3K.d.ts.map +0 -1
- package/dist/inspector-proxy-6h5VKAwt.d.ts +0 -257
- package/dist/inspector-proxy-6h5VKAwt.d.ts.map +0 -1
- package/dist/make-ph-event-functions-DBq3iWYn.js +0 -53
- package/dist/make-ph-event-functions-DBq3iWYn.js.map +0 -1
- package/dist/pglite-CntadC_p-9NDG14dS.d.ts.map +0 -1
- package/dist/relational-D1RB45sA.js.map +0 -1
- package/dist/renown-BHxwP7xU.js +0 -97
- package/dist/renown-BHxwP7xU.js.map +0 -1
- package/dist/renown-rqK8sokh.js.map +0 -1
- package/dist/switchboard-CaXQ4-5Q.js.map +0 -1
- package/dist/types-6vDzbRRS.d.ts.map +0 -1
- package/dist/types-Dcv1ZLoW.d.ts.map +0 -1
|
@@ -0,0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B,SACnC,wBACR,QAAQ;EAcX,eAAc,WACD,iCAA+B,iBACzB,6BAA2B,SACnC,wBACR,QAAQ;EAcX,oBAAmB,WACN,sCAAoC,iBAC9B,6BAA2B,SACnC,wBACR,QAAQ;EAcX,aAAY,WACC,+BAA6B,iBACvB,6BAA2B,SACnC,wBACR,QAAQ;EAcX,eAAc,WACD,iCAA+B,iBACzB,6BAA2B,SACnC,wBACR,QAAQ;EAcX,mBAAkB,WACL,qCAAmC,iBAC7B,6BAA2B,SACnC,wBACR,QAAQ;EAcX,gBAAe,WACF,kCAAgC,iBAC1B,6BAA2B,SACnC,wBACR,QAAQ;EAcX,mBAAkB,WACL,qCAAmC,iBAC7B,6BAA2B,SACnC,wBACR,QAAQ;EAcX,mBAAkB,WACL,qCAAmC,iBAC7B,6BAA2B,SACnC,wBACR,QAAQ;EAcX,iBAAgB,WACH,mCAAiC,iBAC3B,6BAA2B,SACnC,wBACR,QAAQ;EAcX,eAAc,WACD,iCAA+B,iBACzB,6BAA2B,SACnC,wBACR,QAAQ;EAcX,gBAAe,WACF,kCAAgC,iBAC1B,6BAA2B,SACnC,wBACR,QAAQ;EAcX,gBAAe,YACD,sCAAoC,iBAC/B,6BAA2B,SACnC,wBACR,QAAQ;EAcX,WAAU,WACG,iCAA+B,iBACzB,6BAA2B,SACnC,wBACR,QAAQ;EAcX,kBAAiB,WACJ,iCAA+B,iBACzB,6BAA2B,SACnC,wBACR,QAAQ;EAcX,aAAY,WACC,+BAA6B,iBACvB,6BAA2B,SACnC,wBACR,QAAQ;EAcX,kBAAiB,WACJ,oCAAkC,iBAC5B,6BAA2B,SACnC,wBACR,QAAQ;;KAgBH,MAAM,kBAAkB"}
|
package/dist/src/ai/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as BearerTokenProvider } from "../../auth-DzIYxeEJ.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import { PhAiChatImage, PhAiToolAnnotations, PhAiToolDescriptor } from "@powerhousedao/shared/document-model";
|
|
2
4
|
import { ISyncManager } from "@powerhousedao/reactor";
|
|
3
|
-
import
|
|
4
|
-
import { LanguageModel, ModelMessage } from "ai";
|
|
5
|
-
|
|
5
|
+
import { LanguageModel, ModelMessage, ToolResultPart } from "ai";
|
|
6
6
|
//#region src/ai/types.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Browser-side AI chat over the reactor.
|
|
@@ -13,7 +13,7 @@ import { LanguageModel, ModelMessage } from "ai";
|
|
|
13
13
|
* same tool definitions drive both the MCP server and the in-browser chat.
|
|
14
14
|
*/
|
|
15
15
|
/** User-configured LLM connection settings, persisted in localStorage. */
|
|
16
|
-
interface AiSettings {
|
|
16
|
+
export interface AiSettings {
|
|
17
17
|
/** Master on/off for the in-browser assistant. Off by default. */
|
|
18
18
|
enabled: boolean;
|
|
19
19
|
/** OpenAI-compatible base URL, e.g. `https://api.openai.com/v1` */
|
|
@@ -28,33 +28,53 @@ interface AiSettings {
|
|
|
28
28
|
*/
|
|
29
29
|
autoApproveWrites: boolean;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* An endpoint the host app picked for the chat, which takes the place of the
|
|
33
|
+
* user's settings. It holds no API key: the endpoint holds its own (see
|
|
34
|
+
* `gatewayConnection`), and write tools always ask for approval.
|
|
35
|
+
*/
|
|
36
|
+
export interface AiConnection {
|
|
37
|
+
/** OpenAI-compatible base URL; a relative path resolves against the page. */
|
|
38
|
+
baseUrl: string;
|
|
39
|
+
/** Model id, sent as is. A gateway may answer with its own. */
|
|
40
|
+
model: string;
|
|
41
|
+
/** Sets each request's credentials, e.g. the user's bearer. */
|
|
42
|
+
fetch?: typeof fetch;
|
|
43
|
+
}
|
|
44
|
+
/** An image attached to a user message. */
|
|
45
|
+
export interface ChatImage {
|
|
46
|
+
/** `data:<mediaType>;base64,...` */
|
|
47
|
+
dataUrl: string;
|
|
48
|
+
mediaType: string;
|
|
49
|
+
name?: string;
|
|
50
|
+
}
|
|
51
|
+
/** A sent image, under the handle tools reach it by. */
|
|
52
|
+
export type AiChatImage = PhAiChatImage;
|
|
31
53
|
/** MCP-compatible annotation hints; structural, no MCP SDK dependency. */
|
|
32
|
-
type AiToolAnnotations = PhAiToolAnnotations;
|
|
54
|
+
export type AiToolAnnotations = PhAiToolAnnotations;
|
|
33
55
|
/**
|
|
34
56
|
* Provider-agnostic tool descriptor accepted by the chat agent.
|
|
35
57
|
*
|
|
36
58
|
* Structurally compatible with the MCP tool records produced by
|
|
37
|
-
* `
|
|
59
|
+
* `toMcpTool`: the callback parameter is `never` so any
|
|
38
60
|
* per-tool-args function type is assignable, and the result is `unknown`
|
|
39
61
|
* because the envelope shape (MCP `CallToolResult`) is unwrapped at the
|
|
40
62
|
* adapter boundary.
|
|
41
63
|
*/
|
|
42
|
-
type AiToolDescriptor = PhAiToolDescriptor;
|
|
64
|
+
export type AiToolDescriptor = PhAiToolDescriptor;
|
|
43
65
|
/** Tool descriptors the app resolves when the user sends a message. */
|
|
44
|
-
type AiToolsProvider = () => Promise<AiToolDescriptor[]>;
|
|
45
|
-
/**
|
|
46
|
-
declare
|
|
47
|
-
|
|
48
|
-
* Whether executing the tool mutates state and requires user approval:
|
|
49
|
-
* the built-in write tools, or any tool flagged destructive in its
|
|
50
|
-
* annotations (covers package-provided tools outside the built-in set).
|
|
51
|
-
*/
|
|
52
|
-
declare function isWriteTool(name: string, annotations?: AiToolAnnotations): boolean;
|
|
53
|
-
type ToolCallState = "awaiting-approval" | "executing" | "done" | "error" | "rejected";
|
|
66
|
+
export type AiToolsProvider = () => Promise<AiToolDescriptor[]>;
|
|
67
|
+
/** Whether running the tool needs approval: anything not annotated read-only. */
|
|
68
|
+
export declare function isWriteTool(annotations?: AiToolAnnotations): boolean;
|
|
69
|
+
export type ToolCallState = "awaiting-approval" | "executing" | "done" | "error" | "rejected";
|
|
54
70
|
/** One rendered unit inside a chat message. */
|
|
55
|
-
type ChatPart = {
|
|
71
|
+
export type ChatPart = {
|
|
56
72
|
type: "text";
|
|
57
73
|
text: string;
|
|
74
|
+
} | {
|
|
75
|
+
type: "image";
|
|
76
|
+
dataUrl: string;
|
|
77
|
+
name?: string;
|
|
58
78
|
} | {
|
|
59
79
|
type: "tool";
|
|
60
80
|
toolCallId: string;
|
|
@@ -64,19 +84,19 @@ type ChatPart = {
|
|
|
64
84
|
result?: unknown;
|
|
65
85
|
error?: string;
|
|
66
86
|
};
|
|
67
|
-
interface ChatMessage {
|
|
87
|
+
export interface ChatMessage {
|
|
68
88
|
id: string;
|
|
69
89
|
role: "user" | "assistant";
|
|
70
90
|
parts: ChatPart[];
|
|
71
91
|
}
|
|
72
92
|
/** A write tool call the user must approve or reject. */
|
|
73
|
-
interface PendingApproval {
|
|
93
|
+
export interface PendingApproval {
|
|
74
94
|
toolCallId: string;
|
|
75
95
|
name: string;
|
|
76
96
|
args: unknown;
|
|
77
97
|
}
|
|
78
98
|
/** Context snapshot injected into the agent system prompt. */
|
|
79
|
-
interface ChatContext {
|
|
99
|
+
export interface ChatContext {
|
|
80
100
|
driveId?: string;
|
|
81
101
|
driveName?: string;
|
|
82
102
|
nodeId?: string;
|
|
@@ -89,7 +109,7 @@ interface ChatContext {
|
|
|
89
109
|
switchboardGraphqlUrl?: string;
|
|
90
110
|
}
|
|
91
111
|
/** Events the agent emits while running a turn. */
|
|
92
|
-
type AgentEvent = {
|
|
112
|
+
export type AgentEvent = {
|
|
93
113
|
type: "text-delta";
|
|
94
114
|
delta: string;
|
|
95
115
|
} | {
|
|
@@ -113,12 +133,12 @@ type AgentEvent = {
|
|
|
113
133
|
state: "done" | "error" | "rejected";
|
|
114
134
|
result?: unknown;
|
|
115
135
|
error?: string;
|
|
116
|
-
}
|
|
136
|
+
} |
|
|
117
137
|
/**
|
|
118
138
|
* Token accounting for the turn: the input tokens of the model's last
|
|
119
139
|
* step (i.e. the size of the context it was reasoning over).
|
|
120
140
|
*/
|
|
121
|
-
|
|
141
|
+
{
|
|
122
142
|
type: "usage";
|
|
123
143
|
inputTokens: number;
|
|
124
144
|
} | {
|
|
@@ -130,7 +150,7 @@ type AgentEvent = {
|
|
|
130
150
|
//#endregion
|
|
131
151
|
//#region src/ai/agent.d.ts
|
|
132
152
|
/** Hard cap on model round-trips per user message (each tool step counts). */
|
|
133
|
-
declare const MAX_AGENT_STEPS =
|
|
153
|
+
export declare const MAX_AGENT_STEPS = 250;
|
|
134
154
|
/**
|
|
135
155
|
* Hard cap on the characters of one tool result fed back to the model.
|
|
136
156
|
*
|
|
@@ -140,7 +160,7 @@ declare const MAX_AGENT_STEPS = 10;
|
|
|
140
160
|
* context and stall the turn. Over-budget results are truncated with a
|
|
141
161
|
* marker so the model re-queries more narrowly.
|
|
142
162
|
*/
|
|
143
|
-
declare const MAX_TOOL_RESULT_CHARS = 12000;
|
|
163
|
+
export declare const MAX_TOOL_RESULT_CHARS = 12000;
|
|
144
164
|
/**
|
|
145
165
|
* Number of the most recent turns whose tool results are kept in full in
|
|
146
166
|
* the committed history. Tool results are re-derivable (the store is the
|
|
@@ -148,28 +168,44 @@ declare const MAX_TOOL_RESULT_CHARS = 12000;
|
|
|
148
168
|
* one-line stubs: this is what keeps a long conversation from exhausting
|
|
149
169
|
* the model's context.
|
|
150
170
|
*/
|
|
151
|
-
declare const FULL_RESULT_TURNS = 2;
|
|
171
|
+
export declare const FULL_RESULT_TURNS = 2;
|
|
152
172
|
/** Tool results smaller than this are cheap to keep and are never stubbed. */
|
|
153
|
-
declare const STUB_MIN_CHARS = 500;
|
|
173
|
+
export declare const STUB_MIN_CHARS = 500;
|
|
154
174
|
/**
|
|
155
175
|
* Replaces tool results older than the last {@link FULL_RESULT_TURNS}
|
|
156
176
|
* turns with one-line stubs naming the tool and its arguments. User and
|
|
157
177
|
* assistant messages are never touched, and tool calls keep their input,
|
|
158
178
|
* so the model can re-query any stubbed result with the same arguments.
|
|
159
|
-
*
|
|
179
|
+
* A result with images is stubbed whatever its size. Idempotent: stubs are
|
|
180
|
+
* below {@link STUB_MIN_CHARS} and pass through.
|
|
160
181
|
*/
|
|
161
|
-
declare function stubStaleToolResults(history: ModelMessage[]): ModelMessage[];
|
|
162
|
-
declare function createReactorChatModel(settings: AiSettings): LanguageModel;
|
|
182
|
+
export declare function stubStaleToolResults(history: ModelMessage[]): ModelMessage[];
|
|
183
|
+
export declare function createReactorChatModel(settings: AiSettings): LanguageModel;
|
|
184
|
+
/**
|
|
185
|
+
* Creates the chat language model for a connection the host app picked. No
|
|
186
|
+
* API key is involved: the endpoint holds it, and {@link AiConnection.fetch}
|
|
187
|
+
* carries the caller's own credentials.
|
|
188
|
+
*/
|
|
189
|
+
export declare function createConnectionChatModel(connection: AiConnection): LanguageModel;
|
|
163
190
|
/**
|
|
164
191
|
* Unwraps the MCP `CallToolResult` envelope produced by the reactor tool
|
|
165
192
|
* core into a plain value for the AI SDK. Throws for error results so the
|
|
166
193
|
* SDK surfaces them as tool errors in the next model step.
|
|
167
194
|
*/
|
|
168
|
-
declare function unwrapToolResult(raw: unknown): unknown;
|
|
195
|
+
export declare function unwrapToolResult(raw: unknown): unknown;
|
|
169
196
|
/** Builds the system prompt, grounding the agent in the current selection. */
|
|
170
|
-
declare function buildSystemPrompt(context: ChatContext): string;
|
|
171
|
-
interface ReactorChatAgentOptions {
|
|
197
|
+
export declare function buildSystemPrompt(context: ChatContext): string;
|
|
198
|
+
export interface ReactorChatAgentOptions {
|
|
172
199
|
settings: AiSettings;
|
|
200
|
+
/** Used instead of {@link settings}, whose auto-approval then doesn't apply. */
|
|
201
|
+
connection?: AiConnection;
|
|
202
|
+
/**
|
|
203
|
+
* With a {@link connection}: whether writes run without asking. Called for
|
|
204
|
+
* each one, so switching it off stops what's still to come.
|
|
205
|
+
*/
|
|
206
|
+
autoApprove?: () => boolean;
|
|
207
|
+
/** Added to the system prompt, for what the host app knows about itself. */
|
|
208
|
+
instructions?: string;
|
|
173
209
|
tools: AiToolDescriptor[];
|
|
174
210
|
context: ChatContext;
|
|
175
211
|
onEvent: (event: AgentEvent) => void;
|
|
@@ -178,6 +214,8 @@ interface ReactorChatAgentOptions {
|
|
|
178
214
|
model?: LanguageModel;
|
|
179
215
|
/** Prior conversation to continue (see {@link ReactorChatAgent.getHistory}). */
|
|
180
216
|
history?: ModelMessage[];
|
|
217
|
+
/** Images of that conversation (see {@link ReactorChatAgent.getChatImages}). */
|
|
218
|
+
chatImages?: AiChatImage[];
|
|
181
219
|
}
|
|
182
220
|
/**
|
|
183
221
|
* Runs one tool-loop conversation turn against an OpenAI-compatible model.
|
|
@@ -186,23 +224,29 @@ interface ReactorChatAgentOptions {
|
|
|
186
224
|
* gated by the AI SDK's tool approval: when auto-approval is off, the
|
|
187
225
|
* pending user decision is bridged through {@link approve}/{@link reject}.
|
|
188
226
|
*/
|
|
189
|
-
declare class ReactorChatAgent {
|
|
227
|
+
export declare class ReactorChatAgent {
|
|
190
228
|
private readonly options;
|
|
191
229
|
private history;
|
|
230
|
+
private chatImages;
|
|
192
231
|
private approvals;
|
|
232
|
+
private approvingAll;
|
|
193
233
|
constructor(options: ReactorChatAgentOptions);
|
|
194
234
|
/** The model history after the last completed turn, for the next agent. */
|
|
195
235
|
getHistory(): ModelMessage[];
|
|
236
|
+
/** The images attached so far, under their handles, for the next agent. */
|
|
237
|
+
getChatImages(): AiChatImage[];
|
|
196
238
|
/** Clears the conversation history (a fresh chat). */
|
|
197
239
|
reset(): void;
|
|
198
240
|
/** Approves a pending write tool call, resuming the agent loop. */
|
|
199
241
|
approve(toolCallId: string): void;
|
|
200
242
|
/** Rejects a pending write tool call; the rejection is fed to the model. */
|
|
201
243
|
reject(toolCallId: string): void;
|
|
244
|
+
/** Approves every pending write, and any more for the rest of this turn. */
|
|
245
|
+
approveAll(): void;
|
|
202
246
|
private resolveApproval;
|
|
203
247
|
private cancelPendingApprovals;
|
|
204
248
|
/** Runs one user turn: appends the message, streams the model, commits history. */
|
|
205
|
-
send(text: string): Promise<void>;
|
|
249
|
+
send(text: string, images?: ChatImage[]): Promise<void>;
|
|
206
250
|
/**
|
|
207
251
|
* Removes tool calls that were never executed (step cap or abort):
|
|
208
252
|
* OpenAI-compatible APIs reject a tool call without its tool result.
|
|
@@ -216,63 +260,99 @@ declare class ReactorChatAgent {
|
|
|
216
260
|
* In-chat approval card for a write tool call. Approving or rejecting
|
|
217
261
|
* resolves the pending approval inside the agent loop.
|
|
218
262
|
*/
|
|
219
|
-
declare function ApprovalCard({
|
|
220
|
-
approval,
|
|
221
|
-
onApprove,
|
|
222
|
-
onReject
|
|
223
|
-
}: {
|
|
263
|
+
export declare function ApprovalCard({ approval, onApprove, onApproveAll, onReject }: {
|
|
224
264
|
approval: PendingApproval;
|
|
225
265
|
onApprove: (toolCallId: string) => void;
|
|
266
|
+
/** Offers Approve all when given */
|
|
267
|
+
onApproveAll?: () => void;
|
|
226
268
|
onReject: (toolCallId: string) => void;
|
|
227
|
-
}):
|
|
269
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
228
270
|
//#endregion
|
|
229
271
|
//#region src/ai/use-reactor-chat.d.ts
|
|
230
|
-
interface UseReactorChatResult {
|
|
272
|
+
export interface UseReactorChatResult {
|
|
231
273
|
messages: ChatMessage[];
|
|
232
274
|
isStreaming: boolean;
|
|
233
275
|
pendingApprovals: PendingApproval[];
|
|
234
276
|
error: string | null;
|
|
235
277
|
settings: AiSettings;
|
|
236
278
|
configured: boolean;
|
|
237
|
-
send: (text: string) => void;
|
|
279
|
+
send: (text: string, images?: ChatImage[]) => void;
|
|
238
280
|
stop: () => void;
|
|
239
281
|
approve: (toolCallId: string) => void;
|
|
282
|
+
/** Approves what's waiting, and any more until this message is answered. */
|
|
283
|
+
approveAll: () => void;
|
|
240
284
|
reject: (toolCallId: string) => void;
|
|
241
285
|
clear: () => void;
|
|
242
286
|
}
|
|
287
|
+
export interface UseReactorChatOptions {
|
|
288
|
+
/** Talk to this endpoint instead of the one in the user's settings. */
|
|
289
|
+
connection?: AiConnection;
|
|
290
|
+
/** Added to the agent's system prompt. */
|
|
291
|
+
instructions?: string;
|
|
292
|
+
/** With a {@link connection}: writes run without asking. */
|
|
293
|
+
autoApprove?: boolean;
|
|
294
|
+
}
|
|
243
295
|
/**
|
|
244
296
|
* Drives one in-browser chat conversation against the reactor tools.
|
|
245
297
|
*
|
|
246
298
|
* `toolsProvider` lazily resolves the tool descriptors (e.g. from
|
|
247
|
-
* `
|
|
299
|
+
* `toMcpTool` bound to `window.ph.reactorClient`) when the
|
|
248
300
|
* user sends a message, so the reactor does not need to be ready at render
|
|
249
301
|
* time.
|
|
250
302
|
*/
|
|
251
|
-
declare function useReactorChat(toolsProvider?: AiToolsProvider): UseReactorChatResult;
|
|
303
|
+
export declare function useReactorChat(toolsProvider?: AiToolsProvider, options?: UseReactorChatOptions): UseReactorChatResult;
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region src/ai/components/chat-panel.d.ts
|
|
306
|
+
interface ChatPanelProps {
|
|
307
|
+
chat: UseReactorChatResult;
|
|
308
|
+
className?: string;
|
|
309
|
+
/** What shows while the conversation is empty. */
|
|
310
|
+
emptyState?: ReactNode;
|
|
311
|
+
/** One-click starting points, shown while the conversation is empty. */
|
|
312
|
+
suggestions?: readonly string[];
|
|
313
|
+
/** Lets the user attach images by paste, drop or the file picker. */
|
|
314
|
+
allowImages?: boolean;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* The conversation and its composer, with no position of its own: it fills
|
|
318
|
+
* whatever the host gives it (see `ChatWindow` for the floating one). Tailwind
|
|
319
|
+
* utilities style it for Connect; the `ph-chat-*` classes are for hosts that
|
|
320
|
+
* bring their own styles.
|
|
321
|
+
*/
|
|
322
|
+
export declare function ChatPanel({ chat, className, emptyState, suggestions, allowImages }: ChatPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
252
323
|
//#endregion
|
|
253
324
|
//#region src/ai/components/chat-window.d.ts
|
|
254
325
|
/** The chat window panel, anchored above the FAB in the bottom-right. */
|
|
255
|
-
declare function ChatWindow({
|
|
256
|
-
chat,
|
|
257
|
-
onClose
|
|
258
|
-
}: {
|
|
326
|
+
export declare function ChatWindow({ chat, onClose }: {
|
|
259
327
|
chat: UseReactorChatResult;
|
|
260
328
|
onClose: () => void;
|
|
261
|
-
}):
|
|
329
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/ai/components/markdown.d.ts
|
|
332
|
+
/**
|
|
333
|
+
* Markdown renderer for assistant messages.
|
|
334
|
+
*
|
|
335
|
+
* Uses react-markdown, which builds React elements from the markdown AST and
|
|
336
|
+
* does not execute raw HTML — safe for model-generated content. remark-gfm
|
|
337
|
+
* adds the table/strikethrough/task-list syntax the agent emits. Element
|
|
338
|
+
* styling is scoped to the chat window's text-sm scale via Tailwind
|
|
339
|
+
* utilities, so no extra CSS is needed.
|
|
340
|
+
*/
|
|
341
|
+
export declare function Markdown({ text }: {
|
|
342
|
+
text: string;
|
|
343
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
262
344
|
//#endregion
|
|
263
345
|
//#region src/ai/components/reactor-chat-fab.d.ts
|
|
264
346
|
/**
|
|
265
347
|
* Bottom-right floating action button that opens the reactor AI chat window.
|
|
266
348
|
*
|
|
267
349
|
* `getTools` lazily resolves the reactor tool descriptors (from
|
|
268
|
-
* `
|
|
350
|
+
* `toMcpTool` bound to the browser reactor client) when the
|
|
269
351
|
* user sends a message.
|
|
270
352
|
*/
|
|
271
|
-
declare function ReactorChatFab({
|
|
272
|
-
getTools
|
|
273
|
-
}: {
|
|
353
|
+
export declare function ReactorChatFab({ getTools }: {
|
|
274
354
|
getTools?: AiToolsProvider;
|
|
275
|
-
}):
|
|
355
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
276
356
|
//#endregion
|
|
277
357
|
//#region src/ai/context.d.ts
|
|
278
358
|
/**
|
|
@@ -280,28 +360,110 @@ declare function ReactorChatFab({
|
|
|
280
360
|
* chat context-aware: "create a budget here" targets the selected drive,
|
|
281
361
|
* "summarize this document" targets the selected document.
|
|
282
362
|
*/
|
|
283
|
-
declare function useChatContext(): ChatContext;
|
|
363
|
+
export declare function useChatContext(): ChatContext;
|
|
364
|
+
//#endregion
|
|
365
|
+
//#region src/ai/gateway.d.ts
|
|
366
|
+
/**
|
|
367
|
+
* The switchboard's AI gateway (`@powerhousedao/switchboard/plugins/ai`). It
|
|
368
|
+
* sits under `/api/`, which every Connect served next to its switchboard
|
|
369
|
+
* proxies, so by default the browser calls its own origin.
|
|
370
|
+
*/
|
|
371
|
+
export declare const AI_GATEWAY_PATH = "/api/@powerhousedao/switchboard/ai";
|
|
372
|
+
export interface AiGatewayStatus {
|
|
373
|
+
configured: boolean;
|
|
374
|
+
/** Masked, e.g. `sk-or-v1-…abcd`. The key itself is never sent. */
|
|
375
|
+
keyHint: string | null;
|
|
376
|
+
keySetBy: string | null;
|
|
377
|
+
keySetAt: string | null;
|
|
378
|
+
model: string;
|
|
379
|
+
/** This host can set a demo key of its own, which it never sends here. */
|
|
380
|
+
demoKeyAvailable: boolean;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* What the signed-in user may do with the gateway: `none` when they are not
|
|
384
|
+
* an admin, are not signed in, or this host has no gateway at all.
|
|
385
|
+
*/
|
|
386
|
+
export type AiGatewayAccess = {
|
|
387
|
+
access: "none";
|
|
388
|
+
} | {
|
|
389
|
+
access: "admin";
|
|
390
|
+
status: AiGatewayStatus;
|
|
391
|
+
} | {
|
|
392
|
+
access: "error";
|
|
393
|
+
message: string;
|
|
394
|
+
};
|
|
395
|
+
export interface AiGatewayOptions {
|
|
396
|
+
/** The gateway's URL; defaults to {@link AI_GATEWAY_PATH} on this origin. */
|
|
397
|
+
url?: string;
|
|
398
|
+
/** Test seams. */
|
|
399
|
+
tokenProvider?: BearerTokenProvider;
|
|
400
|
+
fetchImpl?: typeof fetch;
|
|
401
|
+
}
|
|
402
|
+
/** A fetch that adds the user's bearer, resolved per request so it stays fresh. */
|
|
403
|
+
export declare function gatewayFetch(options?: AiGatewayOptions): typeof fetch;
|
|
404
|
+
/** The chat connection to a gateway: no key, only the user's own bearer. */
|
|
405
|
+
export declare function gatewayConnection(model: string, options?: AiGatewayOptions): AiConnection;
|
|
406
|
+
export declare function fetchAiGatewayAccess(options?: AiGatewayOptions): Promise<AiGatewayAccess>;
|
|
407
|
+
/** Tested against the provider before it is stored; a refusal throws. */
|
|
408
|
+
export declare function setAiGatewayKey(value: string, options?: AiGatewayOptions): Promise<AiGatewayStatus>;
|
|
409
|
+
/** Asks the host to use its demo key, tested as a typed one is. */
|
|
410
|
+
export declare function setAiGatewayDemoKey(options?: AiGatewayOptions): Promise<AiGatewayStatus>;
|
|
411
|
+
export declare function resetAiGatewayKey(options?: AiGatewayOptions): Promise<AiGatewayStatus>;
|
|
412
|
+
export declare function setAiGatewayModel(model: string, options?: AiGatewayOptions): Promise<AiGatewayStatus>;
|
|
413
|
+
export interface UseAiGatewayResult {
|
|
414
|
+
/** `undefined` until the first answer. */
|
|
415
|
+
gateway: AiGatewayAccess | undefined;
|
|
416
|
+
/** Connection for {@link useReactorChat}, once the gateway has a key. */
|
|
417
|
+
connection: AiConnection | undefined;
|
|
418
|
+
setKey: (value: string) => Promise<void>;
|
|
419
|
+
setDemoKey: () => Promise<void>;
|
|
420
|
+
resetKey: () => Promise<void>;
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* Reports what the gateway answers, asking again while it answers with an error.
|
|
424
|
+
* Waiting can change that one: a host stopped hard holds its workflow lease for
|
|
425
|
+
* up to a minute, so the runtime the gateway needs arrives after it serves.
|
|
426
|
+
*
|
|
427
|
+
* @returns Stops asking
|
|
428
|
+
*/
|
|
429
|
+
export declare function watchAiGatewayAccess(onAnswer: (access: AiGatewayAccess) => void, options?: AiGatewayOptions, retryMs?: number): () => void;
|
|
430
|
+
/** The gateway as the signed-in user sees it; asks again when they change. */
|
|
431
|
+
export declare function useAiGateway(): UseAiGatewayResult;
|
|
432
|
+
//#endregion
|
|
433
|
+
//#region src/ai/host-tools.d.ts
|
|
434
|
+
/**
|
|
435
|
+
* The tools of the Connect this page runs in: the reactor's own plus every
|
|
436
|
+
* package's `aiTools`. For a page a package adds to Connect, which can't import
|
|
437
|
+
* Connect itself. Pass it to `useReactorChat`.
|
|
438
|
+
*/
|
|
439
|
+
export declare function getHostAiTools(): Promise<AiToolDescriptor[]>;
|
|
440
|
+
//#endregion
|
|
441
|
+
//#region src/ai/images.d.ts
|
|
442
|
+
/** What the chat offers in its file picker and accepts on paste and drop. */
|
|
443
|
+
export declare const CHAT_IMAGE_TYPES: readonly string[];
|
|
444
|
+
/** Turns a picked, pasted or dropped file into an attachment for the chat. */
|
|
445
|
+
export declare function readChatImage(file: File): Promise<ChatImage>;
|
|
284
446
|
//#endregion
|
|
285
447
|
//#region src/ai/settings-store.d.ts
|
|
286
|
-
declare const DEFAULT_AI_SETTINGS: AiSettings;
|
|
448
|
+
export declare const DEFAULT_AI_SETTINGS: AiSettings;
|
|
287
449
|
type Listener = () => void;
|
|
288
450
|
/** Returns the current settings (stable snapshot for useSyncExternalStore). */
|
|
289
|
-
declare function getAiSettings(): AiSettings;
|
|
451
|
+
export declare function getAiSettings(): AiSettings;
|
|
290
452
|
/** Merges a partial update, persists, and notifies subscribers. */
|
|
291
|
-
declare function updateAiSettings(patch: Partial<AiSettings>): AiSettings;
|
|
453
|
+
export declare function updateAiSettings(patch: Partial<AiSettings>): AiSettings;
|
|
292
454
|
/** Clears all stored settings. */
|
|
293
|
-
declare function clearAiSettings(): void;
|
|
455
|
+
export declare function clearAiSettings(): void;
|
|
294
456
|
/** Subscribes to settings changes. Returns the unsubscribe function. */
|
|
295
|
-
declare function subscribeAiSettings(listener: Listener): () => void;
|
|
457
|
+
export declare function subscribeAiSettings(listener: Listener): () => void;
|
|
296
458
|
/** True when the endpoint, key and model are all configured. */
|
|
297
|
-
declare function isAiConfigured(settings: AiSettings): boolean;
|
|
459
|
+
export declare function isAiConfigured(settings: AiSettings): boolean;
|
|
298
460
|
//#endregion
|
|
299
461
|
//#region src/ai/switchboard.d.ts
|
|
300
462
|
/**
|
|
301
463
|
* The switchboard serving a remote drive: the base URL the browser talks to
|
|
302
464
|
* and its GraphQL supergraph endpoint.
|
|
303
465
|
*/
|
|
304
|
-
interface DriveSwitchboard {
|
|
466
|
+
export interface DriveSwitchboard {
|
|
305
467
|
/** Switchboard base URL (e.g. `http://localhost:4001`). */
|
|
306
468
|
switchboardUrl: string;
|
|
307
469
|
/** GraphQL supergraph endpoint (`<base>/graphql`). */
|
|
@@ -312,9 +474,9 @@ interface DriveSwitchboard {
|
|
|
312
474
|
* `undefined` in non-browser environments or before the reactor client
|
|
313
475
|
* module is initialized.
|
|
314
476
|
*/
|
|
315
|
-
declare function getBrowserSyncManager(): ISyncManager | undefined;
|
|
477
|
+
export declare function getBrowserSyncManager(): ISyncManager | undefined;
|
|
316
478
|
/** Suffix of the per-drive GraphQL channel endpoint the switchboard serves. */
|
|
317
|
-
declare const GQL_CHANNEL_SUFFIX = "/graphql/r";
|
|
479
|
+
export declare const GQL_CHANNEL_SUFFIX = "/graphql/r";
|
|
318
480
|
/**
|
|
319
481
|
* Resolves the switchboard that serves a drive, if any.
|
|
320
482
|
*
|
|
@@ -326,15 +488,15 @@ declare const GQL_CHANNEL_SUFFIX = "/graphql/r";
|
|
|
326
488
|
* correct. Drives that are not synced to a remote switchboard (local
|
|
327
489
|
* drives, other channel types, unexpected shapes) return `undefined`.
|
|
328
490
|
*/
|
|
329
|
-
declare function resolveDriveSwitchboard(driveId: string | undefined, syncManager?: ISyncManager): DriveSwitchboard | undefined;
|
|
491
|
+
export declare function resolveDriveSwitchboard(driveId: string | undefined, syncManager?: ISyncManager): DriveSwitchboard | undefined;
|
|
330
492
|
/**
|
|
331
493
|
* Introspection over the switchboard supergraph's root query and mutation
|
|
332
494
|
* fields. Types are requested with three levels of `ofType` nesting so
|
|
333
495
|
* that common shapes like `[X!]!` (LIST(NON_NULL(LIST(X)))) render fully.
|
|
334
496
|
*/
|
|
335
|
-
declare const SWITCHBOARD_INTROSPECTION_QUERY: string;
|
|
497
|
+
export declare const SWITCHBOARD_INTROSPECTION_QUERY: string;
|
|
336
498
|
/** One root query or mutation field, reduced to a prompt-friendly line. */
|
|
337
|
-
type SchemaFieldSummary = {
|
|
499
|
+
export type SchemaFieldSummary = {
|
|
338
500
|
name: string;
|
|
339
501
|
description?: string;
|
|
340
502
|
args: string;
|
|
@@ -345,14 +507,14 @@ type SchemaFieldSummary = {
|
|
|
345
507
|
* object) to a compact summary of its root query and mutation fields.
|
|
346
508
|
* Accepts `unknown` because the payload arrives over the wire.
|
|
347
509
|
*/
|
|
348
|
-
declare function summarizeIntrospectionSchema(schema: unknown): {
|
|
510
|
+
export declare function summarizeIntrospectionSchema(schema: unknown): {
|
|
349
511
|
queries: SchemaFieldSummary[];
|
|
350
512
|
mutations: SchemaFieldSummary[];
|
|
351
513
|
truncated: boolean;
|
|
352
514
|
};
|
|
353
|
-
declare const SWITCHBOARD_SCHEMA_TOOL_NAME = "getSwitchboardSchema";
|
|
515
|
+
export declare const SWITCHBOARD_SCHEMA_TOOL_NAME = "getSwitchboardSchema";
|
|
354
516
|
/** Test seams for {@link createSwitchboardSchemaTool}. */
|
|
355
|
-
interface SwitchboardToolDeps {
|
|
517
|
+
export interface SwitchboardToolDeps {
|
|
356
518
|
getSyncManager?: () => ISyncManager | undefined;
|
|
357
519
|
getSelectedDriveId?: () => string | undefined;
|
|
358
520
|
tokenProvider?: () => Promise<string | undefined>;
|
|
@@ -365,7 +527,46 @@ interface SwitchboardToolDeps {
|
|
|
365
527
|
* summary of its root queries and mutations. It reads the schema only and
|
|
366
528
|
* never modifies data.
|
|
367
529
|
*/
|
|
368
|
-
declare function createSwitchboardSchemaTool(deps?: SwitchboardToolDeps): AiToolDescriptor;
|
|
530
|
+
export declare function createSwitchboardSchemaTool(deps?: SwitchboardToolDeps): AiToolDescriptor;
|
|
531
|
+
//#endregion
|
|
532
|
+
//#region src/ai/tool-images.d.ts
|
|
533
|
+
/**
|
|
534
|
+
* Most characters of image data one request carries, kept well under the
|
|
535
|
+
* gateway's 32 MB body limit: every step resends the whole conversation.
|
|
536
|
+
*/
|
|
537
|
+
export declare const MAX_REQUEST_IMAGE_CHARS = 20000000;
|
|
538
|
+
/** Most images one request carries; models start refusing large ones past this. */
|
|
539
|
+
export declare const MAX_REQUEST_IMAGES = 20;
|
|
540
|
+
/** An image a tool returned: an MCP `image` content block. */
|
|
541
|
+
export interface ToolImage {
|
|
542
|
+
/** Base64, without a `data:` prefix. */
|
|
543
|
+
data: string;
|
|
544
|
+
mediaType: string;
|
|
545
|
+
}
|
|
546
|
+
type ToolOutput = ToolResultPart["output"];
|
|
547
|
+
/** The `image` blocks of a tool's `CallToolResult`, if it returned any. */
|
|
548
|
+
export declare function toolResultImages(raw: unknown): ToolImage[];
|
|
549
|
+
/**
|
|
550
|
+
* A tool's result as it enters the history. Images travel inside it, so they
|
|
551
|
+
* age with the result and are stubbed along with it.
|
|
552
|
+
*/
|
|
553
|
+
export declare function toolOutput(value: unknown, images?: ToolImage[]): ToolOutput;
|
|
554
|
+
/** How many images a stored tool result holds. */
|
|
555
|
+
export declare function toolOutputImageCount(output: unknown): number;
|
|
556
|
+
/** The characters a stored tool result takes, image data aside. */
|
|
557
|
+
export declare function toolOutputTextChars(output: unknown): number;
|
|
558
|
+
/**
|
|
559
|
+
* The conversation as one request carries it. An OpenAI-compatible tool message
|
|
560
|
+
* holds text only, and the provider would send an image in one as a block of
|
|
561
|
+
* base64 text, so a result's images move to a user message right after it. Only
|
|
562
|
+
* the newest fit: the result says how many it left out, and the model asks again
|
|
563
|
+
* if it needs them. The history keeps them in the result, so each step decides
|
|
564
|
+
* this afresh.
|
|
565
|
+
*/
|
|
566
|
+
export declare function withToolImages(messages: ModelMessage[]): ModelMessage[];
|
|
567
|
+
/** Whether any tool result in the conversation holds images. */
|
|
568
|
+
export declare function hasToolImages(messages: ModelMessage[]): boolean;
|
|
369
569
|
//#endregion
|
|
370
|
-
export {
|
|
570
|
+
export type { ChatPanelProps };
|
|
571
|
+
export {};
|
|
371
572
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/ai/types.ts","../../../src/ai/agent.ts","../../../src/ai/components/approval-card.tsx","../../../src/ai/use-reactor-chat.ts","../../../src/ai/components/chat-window.tsx","../../../src/ai/components/reactor-chat-fab.tsx","../../../src/ai/context.ts","../../../src/ai/settings-store.ts","../../../src/ai/switchboard.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/ai/types.ts","../../../src/ai/agent.ts","../../../src/ai/components/approval-card.tsx","../../../src/ai/use-reactor-chat.ts","../../../src/ai/components/chat-panel.tsx","../../../src/ai/components/chat-window.tsx","../../../src/ai/components/markdown.tsx","../../../src/ai/components/reactor-chat-fab.tsx","../../../src/ai/context.ts","../../../src/ai/gateway.ts","../../../src/ai/host-tools.ts","../../../src/ai/images.ts","../../../src/ai/settings-store.ts","../../../src/ai/switchboard.ts","../../../src/ai/tool-images.ts"],"mappings":";;;;;;;;;;;;;;;iBAgBiB;;EAEf;;EAEA;;EAEA;;EAEA;;;;;EAKA;;;;;;;iBAQe;;EAEf;;EAEA;;EAEA,eAAe;;;iBAIA;;EAEf;EACA;EACA;;;YAIU,cAAc;;YAGd,oBAAoB;;;;;;;;;;YAWpB,mBAAmB;;YAGnB,wBAAwB,QAAQ;;wBAG5B,YAAY,cAAc;YAI9B;;YAQA;EACN;EAAc;;EACd;EAAe;EAAiB;;EAEhC;EACA;EACA;EACA;EACA,OAAO;EACP;EACA;;iBAGW;EACf;EACA;EACA,OAAO;;;iBAIQ;EACf;EACA;EACA;;;iBAIe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;YAIU;EACN;EAAoB;;EAEpB;EACA;EACA;EACA;;EAGA;EACA;EACA;EACA;;EAEA;EAA2B;EAAoB;;EAE/C;EACA;EACA;EACA;EACA;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