@copilotkit/core 1.85.0 → 1.87.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/dist/generative-ui/index.cjs +421 -68
- package/dist/generative-ui/index.cjs.map +1 -1
- package/dist/generative-ui/index.d.cts +131 -30
- package/dist/generative-ui/index.d.cts.map +1 -1
- package/dist/generative-ui/index.d.mts +131 -30
- package/dist/generative-ui/index.d.mts.map +1 -1
- package/dist/generative-ui/index.mjs +416 -66
- package/dist/generative-ui/index.mjs.map +1 -1
- package/dist/index-BC1dzn_F.d.mts.map +1 -1
- package/dist/index-wj1XowZI.d.cts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
|
@@ -2,8 +2,9 @@ import { D as ɵGenerativeUIDebugSource, J as A2UIMarkdownOperation, T as ɵGene
|
|
|
2
2
|
import "../index.cjs";
|
|
3
3
|
import { GenerativeUI, GenerativeUIError, GenerativeUIErrorInfo, GenerativeUIInvokeResult, GenerativeUISchema } from "@copilotkit/shared/generative-ui";
|
|
4
4
|
import { A2UIActionMessage, A2UIFunctionPermissions, A2UIFunctionReturnType, A2UIOperation, CopilotKitUIEnvelope, GenerativeUIActionBinding, GenerativeUIFunctionManifest, GenerativeUIManifest, GenerativeUIRejectedOperation, GenerativeUISurfaceContent, GenerativeUISurfaceStatus, GenerativeUISurfaceSummary, GenerativeUITarget, GenerativeUIUserEvent, StandardSchemaV1, ValidateOperationOptions } from "@copilotkit/shared";
|
|
5
|
-
import { SurfaceModel } from "@a2ui/web_core/
|
|
5
|
+
import { SurfaceModel } from "@a2ui/web_core/state";
|
|
6
6
|
import { AbstractAgent, Message } from "@ag-ui/client";
|
|
7
|
+
import { z } from "zod";
|
|
7
8
|
|
|
8
9
|
//#region src/generative-ui/dispatcher.d.ts
|
|
9
10
|
/**
|
|
@@ -170,27 +171,27 @@ declare class GenerativeUISurfaceManager {
|
|
|
170
171
|
* not a live surface.
|
|
171
172
|
*/
|
|
172
173
|
describeSurfaces(threadId: string): Record<string, GenerativeUISurfaceSummary>;
|
|
173
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* Every surface that is not deleted, oldest first, for the inspector. The
|
|
176
|
+
* data model and the user values are copies, so the inspector cannot
|
|
177
|
+
* change the surface through them. The inspector asks for this on every
|
|
178
|
+
* change of the manager, so each copy is made only the first time it is
|
|
179
|
+
* read (then kept): a snapshot that nobody opens copies nothing. The user
|
|
180
|
+
* values are those of the call; the data model is the one of the first
|
|
181
|
+
* read, which the inspector does while it renders the snapshot.
|
|
182
|
+
*/
|
|
174
183
|
debugSurfaces(): {
|
|
175
184
|
surfaceId: string;
|
|
176
185
|
threadId: string;
|
|
177
186
|
agentId: string | undefined;
|
|
178
187
|
target: string;
|
|
179
|
-
status:
|
|
180
|
-
operations:
|
|
181
|
-
dataModel:
|
|
182
|
-
userValues:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
source: "runtime";
|
|
187
|
-
index: number;
|
|
188
|
-
reason: string;
|
|
189
|
-
} | {
|
|
190
|
-
source: "browser";
|
|
191
|
-
index: number;
|
|
192
|
-
reason: string;
|
|
193
|
-
})[];
|
|
188
|
+
status: ManagedSurface["status"];
|
|
189
|
+
operations: ManagedSurface["operations"];
|
|
190
|
+
dataModel: unknown;
|
|
191
|
+
userValues: Record<string, unknown>;
|
|
192
|
+
rejected: Array<GenerativeUIRejectedOperation & {
|
|
193
|
+
source: "runtime" | "browser";
|
|
194
|
+
}>;
|
|
194
195
|
}[];
|
|
195
196
|
/**
|
|
196
197
|
* Marks a target as mounted. Returns the function that unmounts it. Calling
|
|
@@ -235,17 +236,33 @@ declare class GenerativeUISurfaceManager {
|
|
|
235
236
|
* Writes a user value into the data model of a surface, and marks `path`
|
|
236
237
|
* as user-owned. Then agent writes to that path, or below it, are ignored.
|
|
237
238
|
* An agent write above it keeps the user value. Ownership ends when the
|
|
238
|
-
* surface is deleted. Does nothing for an unknown or deleted surface
|
|
239
|
+
* surface is deleted. Does nothing for an unknown or deleted surface with
|
|
240
|
+
* no live linked surface, and then does not check `value` either. The
|
|
239
241
|
* surfaces linked to it (see `linkSurfaces`) get the same write.
|
|
240
242
|
*
|
|
241
243
|
* @param key - The `key` of the surface.
|
|
242
244
|
* @param path - An absolute JSON pointer, for example "/form/email".
|
|
243
|
-
* @param value - The new value. It is copied
|
|
245
|
+
* @param value - The new value. It is copied with structuredClone
|
|
246
|
+
* semantics, so the data model never shares an object with it, and it
|
|
247
|
+
* keeps what structuredClone keeps: `NaN`, `Infinity`, `-0`, a `Date`,
|
|
248
|
+
* a `Map`, a `Set`; a class instance becomes a plain object. The agent
|
|
249
|
+
* reads it from the JSON request of the next run, so it is told what
|
|
250
|
+
* `JSON.stringify` makes of it (`NaN` becomes `null`, a valid `Date`
|
|
251
|
+
* its ISO string, an invalid one `null`, a `Map` `{}`). A value JSON refuses (a bigint, a cycle) is
|
|
252
|
+
* written, but left out of what the agent is told, with a
|
|
253
|
+
* `console.warn`. `null` or `undefined` removes the key, as an agent
|
|
254
|
+
* `null` does; the path stays user-owned, and the agent is told `null`
|
|
255
|
+
* for it, which the protocol reads as "removed".
|
|
256
|
+
* @throws An error named "DataCloneError" when structuredClone refuses
|
|
257
|
+
* `value`: a function, a symbol, a `WeakMap`, a `Promise`... It is
|
|
258
|
+
* checked before any surface is written, so nothing is written. The
|
|
259
|
+
* framework setters report it with `reportError`.
|
|
244
260
|
* @throws Error when a path segment is "__proto__", "constructor" or
|
|
245
261
|
* "prototype", or when the path does not fit the data (for example, a
|
|
246
262
|
* segment above it holds a string).
|
|
247
263
|
*/
|
|
248
264
|
setOwnedValue(key: string, path: string, value: unknown): void;
|
|
265
|
+
/** Writes `owned`, which `setOwnedValue` made, as a user-owned value. */
|
|
249
266
|
private writeOwnedValue;
|
|
250
267
|
/**
|
|
251
268
|
* Writes the user-owned values into the new, empty data model of a rebuilt
|
|
@@ -326,25 +343,40 @@ interface GenerativeUIEngine {
|
|
|
326
343
|
declare function reportErrorSafely(engine: Pick<GenerativeUIEngine, "reportError">, info: GenerativeUIErrorInfo): void;
|
|
327
344
|
//#endregion
|
|
328
345
|
//#region src/generative-ui/functions.d.ts
|
|
329
|
-
/**
|
|
330
|
-
* The renderer-side functions of the A2UI 1.0 basic catalog. Each one takes
|
|
331
|
-
* resolved args (no bindings left in them) and gives a plain value. They
|
|
332
|
-
* run synchronously, so a prop bound to one updates in the same render as
|
|
333
|
-
* the data it reads. The signatures the model sees are in
|
|
334
|
-
* `@copilotkit/shared` (`A2UI_BASIC_FUNCTIONS`).
|
|
335
|
-
*/
|
|
336
346
|
/** Thrown for a bad call: an unknown function, bad args, or a bad value. */
|
|
337
347
|
declare class ExpressionError extends Error {
|
|
338
348
|
constructor(message: string);
|
|
339
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Thrown when the platform lacks what a function needs: `window.open`, or
|
|
352
|
+
* an `Intl` constructor on a Hermes build. The call itself was fine, so it
|
|
353
|
+
* is not an ExpressionError: the dispatcher reports it as `handler_failed`,
|
|
354
|
+
* not `invalid_arguments`, and the model is not told to change its args.
|
|
355
|
+
*/
|
|
356
|
+
declare class PlatformError extends Error {
|
|
357
|
+
constructor(message: string);
|
|
358
|
+
}
|
|
340
359
|
type BasicFunction = (args: Record<string, unknown>) => unknown;
|
|
341
360
|
/** The boolean of a DynamicBoolean: a ValidationResult counts as `valid`. */
|
|
342
361
|
declare function truthOf(value: unknown): boolean;
|
|
343
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* Opens an http(s) URL in a new tab. Any other scheme is refused.
|
|
364
|
+
*
|
|
365
|
+
* Without a `window` (server rendering) it does nothing. A platform that has
|
|
366
|
+
* a `window` but no `window.open` (React Native, where `window` is the global
|
|
367
|
+
* object) gets a PlatformError, not a misleading URL-parsing one. On a
|
|
368
|
+
* browser page WHATWG URL decides, as it always did. Without a real page
|
|
369
|
+
* origin (React Native, also with the location polyfill) only absolute
|
|
370
|
+
* URLs are taken: a relative one has nothing to resolve against. There the
|
|
371
|
+
* URL is checked by the stricter `parseUrl`, not by React Native's URL
|
|
372
|
+
* class, which accepts almost anything.
|
|
373
|
+
*/
|
|
344
374
|
declare function openUrlSafely(url: unknown): void;
|
|
345
375
|
/**
|
|
346
|
-
* The basic functions, except `formatString`,
|
|
347
|
-
* `
|
|
376
|
+
* The basic functions, except `formatString`, `calc` and `series`:
|
|
377
|
+
* `resolve.ts` adds those three when it loads (`formatString` needs the
|
|
378
|
+
* resolver, and `calc.ts` uses this module). Import `resolve.ts` before
|
|
379
|
+
* looking a function up here.
|
|
348
380
|
*/
|
|
349
381
|
declare const BASIC_FUNCTIONS: Record<string, BasicFunction>;
|
|
350
382
|
/** True when the basic function `name` must run from a user gesture. */
|
|
@@ -970,5 +1002,74 @@ declare function allowedComponents(requested: readonly string[], ui: GenerativeU
|
|
|
970
1002
|
warning: string;
|
|
971
1003
|
};
|
|
972
1004
|
//#endregion
|
|
973
|
-
|
|
1005
|
+
//#region src/generative-ui/activity-content.d.ts
|
|
1006
|
+
/**
|
|
1007
|
+
* The content of a generative UI surface activity message. A missing
|
|
1008
|
+
* `rejected` reads as []. Extra keys of the content are kept.
|
|
1009
|
+
*/
|
|
1010
|
+
declare const GenerativeUISurfaceContentSchema: z.ZodObject<{
|
|
1011
|
+
surfaceId: z.ZodString;
|
|
1012
|
+
target: z.ZodString;
|
|
1013
|
+
catalogId: z.ZodString;
|
|
1014
|
+
operations: z.ZodArray<z.ZodAny, "many">;
|
|
1015
|
+
status: z.ZodEnum<["streaming", "ready", "error"]>;
|
|
1016
|
+
rejected: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1017
|
+
index: z.ZodNumber;
|
|
1018
|
+
reason: z.ZodString;
|
|
1019
|
+
}, "strip", z.ZodTypeAny, {
|
|
1020
|
+
index: number;
|
|
1021
|
+
reason: string;
|
|
1022
|
+
}, {
|
|
1023
|
+
index: number;
|
|
1024
|
+
reason: string;
|
|
1025
|
+
}>, "many">>;
|
|
1026
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1027
|
+
surfaceId: z.ZodString;
|
|
1028
|
+
target: z.ZodString;
|
|
1029
|
+
catalogId: z.ZodString;
|
|
1030
|
+
operations: z.ZodArray<z.ZodAny, "many">;
|
|
1031
|
+
status: z.ZodEnum<["streaming", "ready", "error"]>;
|
|
1032
|
+
rejected: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1033
|
+
index: z.ZodNumber;
|
|
1034
|
+
reason: z.ZodString;
|
|
1035
|
+
}, "strip", z.ZodTypeAny, {
|
|
1036
|
+
index: number;
|
|
1037
|
+
reason: string;
|
|
1038
|
+
}, {
|
|
1039
|
+
index: number;
|
|
1040
|
+
reason: string;
|
|
1041
|
+
}>, "many">>;
|
|
1042
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1043
|
+
surfaceId: z.ZodString;
|
|
1044
|
+
target: z.ZodString;
|
|
1045
|
+
catalogId: z.ZodString;
|
|
1046
|
+
operations: z.ZodArray<z.ZodAny, "many">;
|
|
1047
|
+
status: z.ZodEnum<["streaming", "ready", "error"]>;
|
|
1048
|
+
rejected: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1049
|
+
index: z.ZodNumber;
|
|
1050
|
+
reason: z.ZodString;
|
|
1051
|
+
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
index: number;
|
|
1053
|
+
reason: string;
|
|
1054
|
+
}, {
|
|
1055
|
+
index: number;
|
|
1056
|
+
reason: string;
|
|
1057
|
+
}>, "many">>;
|
|
1058
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1059
|
+
/** The content of a surface activity message, or the issues that make it malformed. */
|
|
1060
|
+
type ParsedGenerativeUISurfaceContent = {
|
|
1061
|
+
content: GenerativeUISurfaceContent;
|
|
1062
|
+
issues?: undefined;
|
|
1063
|
+
} | {
|
|
1064
|
+
content?: undefined;
|
|
1065
|
+
issues: string[];
|
|
1066
|
+
};
|
|
1067
|
+
/**
|
|
1068
|
+
* Reads the content of a surface activity message with
|
|
1069
|
+
* {@link GenerativeUISurfaceContentSchema}, or lists its issues (as
|
|
1070
|
+
* `path: message`) when it is malformed. Never throws.
|
|
1071
|
+
*/
|
|
1072
|
+
declare function parseGenerativeUISurfaceContent(content: unknown): ParsedGenerativeUISurfaceContent;
|
|
1073
|
+
//#endregion
|
|
1074
|
+
export { BASIC_FUNCTIONS, BasicFunction, BuildMarkdownSurfacesOptions, CalcScope, CatalogManifestOptions, DataReader, ExpressionError, FunctionCallRequest, FunctionCallRunner, FunctionCallRunnerOptions, GenerativeUIAccessibility, GenerativeUIAriaAttributes, GenerativeUICallOrigin, GenerativeUIDeclaredFunction, GenerativeUIDispatcher, GenerativeUIDispatcherOptions, GenerativeUIEngine, GenerativeUIEnvelopeOptions, GenerativeUIHandlerRef, GenerativeUIInvocationOrigin, GenerativeUIMountedTarget, GenerativeUISurfaceContentSchema, GenerativeUISurfaceManager, GenerativeUISurfaceManagerOptions, GenerativeUITargetOptions, GenerativeUITransportConfig, ManagedSurface, MarkdownBuildCache, MarkdownFenceBlock, MarkdownFunctionCall, MarkdownSurfaceSource, ParsedGenerativeUISurfaceContent, PlatformError, ReadonlyMessages, ResolveAttempt, ResolveContext, ResolveOptions, Resolved, accessibilityAttributes, activityFunctionCalls, allowedComponents, buildActionMessageText, buildCatalogManifest, buildGenerativeUIEnvelope, buildGenerativeUIManifest, buildMarkdownSurfaces, builtInFunctionManifests, calc, containsDynamicValue, controlAria, createComponentLabelResolver, createFunctionCallRunner, createGenerativeUIDebugSource, createGenerativeUIDispatcher, describeGenerativeUIRun, envelopeOptionsFor, evaluateCalc, fenceKey, getMarkdownSurfaceSource, givesValidationResult, invokeBoundEvent, invokeMatchedEvent, joinPath, markdownFunctionCalls, namedRole, openUrlSafely, parseGenerativeUISurfaceContent, readAccessibility, reportErrorSafely, requiresUserActivation, resolveDynamicValue, resolvePath, scrollToSurface, series, surfaceKey, surfaceLabelResolver, templateIndex, truthOf, tryResolveDynamicValue, wrapperAria };
|
|
974
1075
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/generative-ui/dispatcher.ts","../../src/generative-ui/surface-manager.ts","../../src/generative-ui/runtime.ts","../../src/generative-ui/functions.ts","../../src/generative-ui/markdown-source.ts","../../src/generative-ui/function-calls.ts","../../src/generative-ui/calc.ts","../../src/generative-ui/resolve.ts","../../src/generative-ui/events.ts","../../src/generative-ui/manifest.ts","../../src/generative-ui/action-message.ts","../../src/generative-ui/debug-source.ts","../../src/generative-ui/accessibility.ts","../../src/generative-ui/targets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/generative-ui/dispatcher.ts","../../src/generative-ui/surface-manager.ts","../../src/generative-ui/runtime.ts","../../src/generative-ui/functions.ts","../../src/generative-ui/markdown-source.ts","../../src/generative-ui/function-calls.ts","../../src/generative-ui/calc.ts","../../src/generative-ui/resolve.ts","../../src/generative-ui/events.ts","../../src/generative-ui/manifest.ts","../../src/generative-ui/action-message.ts","../../src/generative-ui/debug-source.ts","../../src/generative-ui/accessibility.ts","../../src/generative-ui/targets.ts","../../src/generative-ui/activity-content.ts"],"mappings":";;;;;;;;;;;;;;UAuBiB,4BAAA,SAAqC,uBAAA;EACpD,WAAA;EACA,UAAA,EAAY,gBAAA;EACZ,UAAA,GAAa,sBAAA;AAAA;;;;;UAOE,sBAAA;EACf,OAAA,GAAU,IAAA;AAAA;;UAIK,4BAAA;EACf,SAAA;EACA,WAAA;AAAA;AAPF;;;;AAAA,KAcY,sBAAA,GACR,4BAAA;EACE,cAAA;AAAA;AAAA,UAEW,sBAAA;EAZf;;AAQF;;EASE,MAAA,CACE,IAAA,UACA,IAAA,WACA,MAAA,EAAQ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;AAAA;oCX9EF;iBW4HiB,qBAAA;AAAA;;;;;;;;UCzJF,yBAAA;;EAEf,KAAA;;EAEA,WAAA;EZc4C;EYZ5C,IAAA;EZcY;EYZZ,MAAA;AAAA;;UAIe,0BAAA;EACf,YAAA;EACA,kBAAA;EACA,WAAA;EACA,aAAA;AAAA;;;;AZYF;;iBYFgB,iBAAA,CACd,KAAA,YACC,yBAAA;;;AZKH;;;;;AASA;;;;iBYcgB,uBAAA,CACd,aAAA,EAAe,yBAAA,eACd,0BAAA;AZZH;;;;;AAAA,iBY4BgB,SAAA,CACd,IAAA,EAAM,0BAAA,EACN,QAAA;;;;;;iBAac,WAAA,CACd,IAAA,EAAM,0BAAA,GACL,IAAA,CAAK,0BAAA;;;;;iBAYQ,WAAA,CACd,IAAA,EAAM,0BAAA,GACL,IAAA,CAAK,0BAAA;;;;iBC1GQ,eAAA,CAAgB,OAAA,EAAS,WAAA;;;;;iBAiBzB,iBAAA,CACd,SAAA,qBACA,EAAA,EAAI,YAAA;;;;;;;;;;cChBO,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAcjC,gCAAA;EACN,OAAA,EAAS,0BAAA;EAA4B,MAAA;AAAA;EACrC,OAAA;EAAqB,MAAA;AAAA;;;;;;iBAmBX,+BAAA,CACd,OAAA,YACC,gCAAA"}
|
|
@@ -3,7 +3,8 @@ import "../index.mjs";
|
|
|
3
3
|
import { AbstractAgent, Message } from "@ag-ui/client";
|
|
4
4
|
import { A2UIActionMessage, A2UIFunctionPermissions, A2UIFunctionReturnType, A2UIOperation, CopilotKitUIEnvelope, GenerativeUIActionBinding, GenerativeUIFunctionManifest, GenerativeUIManifest, GenerativeUIRejectedOperation, GenerativeUISurfaceContent, GenerativeUISurfaceStatus, GenerativeUISurfaceSummary, GenerativeUITarget, GenerativeUIUserEvent, StandardSchemaV1, ValidateOperationOptions } from "@copilotkit/shared";
|
|
5
5
|
import { GenerativeUI, GenerativeUIError, GenerativeUIErrorInfo, GenerativeUIInvokeResult, GenerativeUISchema } from "@copilotkit/shared/generative-ui";
|
|
6
|
-
import { SurfaceModel } from "@a2ui/web_core/
|
|
6
|
+
import { SurfaceModel } from "@a2ui/web_core/state";
|
|
7
|
+
import { z } from "zod";
|
|
7
8
|
|
|
8
9
|
//#region src/generative-ui/dispatcher.d.ts
|
|
9
10
|
/**
|
|
@@ -170,27 +171,27 @@ declare class GenerativeUISurfaceManager {
|
|
|
170
171
|
* not a live surface.
|
|
171
172
|
*/
|
|
172
173
|
describeSurfaces(threadId: string): Record<string, GenerativeUISurfaceSummary>;
|
|
173
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* Every surface that is not deleted, oldest first, for the inspector. The
|
|
176
|
+
* data model and the user values are copies, so the inspector cannot
|
|
177
|
+
* change the surface through them. The inspector asks for this on every
|
|
178
|
+
* change of the manager, so each copy is made only the first time it is
|
|
179
|
+
* read (then kept): a snapshot that nobody opens copies nothing. The user
|
|
180
|
+
* values are those of the call; the data model is the one of the first
|
|
181
|
+
* read, which the inspector does while it renders the snapshot.
|
|
182
|
+
*/
|
|
174
183
|
debugSurfaces(): {
|
|
175
184
|
surfaceId: string;
|
|
176
185
|
threadId: string;
|
|
177
186
|
agentId: string | undefined;
|
|
178
187
|
target: string;
|
|
179
|
-
status:
|
|
180
|
-
operations:
|
|
181
|
-
dataModel:
|
|
182
|
-
userValues:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
source: "runtime";
|
|
187
|
-
index: number;
|
|
188
|
-
reason: string;
|
|
189
|
-
} | {
|
|
190
|
-
source: "browser";
|
|
191
|
-
index: number;
|
|
192
|
-
reason: string;
|
|
193
|
-
})[];
|
|
188
|
+
status: ManagedSurface["status"];
|
|
189
|
+
operations: ManagedSurface["operations"];
|
|
190
|
+
dataModel: unknown;
|
|
191
|
+
userValues: Record<string, unknown>;
|
|
192
|
+
rejected: Array<GenerativeUIRejectedOperation & {
|
|
193
|
+
source: "runtime" | "browser";
|
|
194
|
+
}>;
|
|
194
195
|
}[];
|
|
195
196
|
/**
|
|
196
197
|
* Marks a target as mounted. Returns the function that unmounts it. Calling
|
|
@@ -235,17 +236,33 @@ declare class GenerativeUISurfaceManager {
|
|
|
235
236
|
* Writes a user value into the data model of a surface, and marks `path`
|
|
236
237
|
* as user-owned. Then agent writes to that path, or below it, are ignored.
|
|
237
238
|
* An agent write above it keeps the user value. Ownership ends when the
|
|
238
|
-
* surface is deleted. Does nothing for an unknown or deleted surface
|
|
239
|
+
* surface is deleted. Does nothing for an unknown or deleted surface with
|
|
240
|
+
* no live linked surface, and then does not check `value` either. The
|
|
239
241
|
* surfaces linked to it (see `linkSurfaces`) get the same write.
|
|
240
242
|
*
|
|
241
243
|
* @param key - The `key` of the surface.
|
|
242
244
|
* @param path - An absolute JSON pointer, for example "/form/email".
|
|
243
|
-
* @param value - The new value. It is copied
|
|
245
|
+
* @param value - The new value. It is copied with structuredClone
|
|
246
|
+
* semantics, so the data model never shares an object with it, and it
|
|
247
|
+
* keeps what structuredClone keeps: `NaN`, `Infinity`, `-0`, a `Date`,
|
|
248
|
+
* a `Map`, a `Set`; a class instance becomes a plain object. The agent
|
|
249
|
+
* reads it from the JSON request of the next run, so it is told what
|
|
250
|
+
* `JSON.stringify` makes of it (`NaN` becomes `null`, a valid `Date`
|
|
251
|
+
* its ISO string, an invalid one `null`, a `Map` `{}`). A value JSON refuses (a bigint, a cycle) is
|
|
252
|
+
* written, but left out of what the agent is told, with a
|
|
253
|
+
* `console.warn`. `null` or `undefined` removes the key, as an agent
|
|
254
|
+
* `null` does; the path stays user-owned, and the agent is told `null`
|
|
255
|
+
* for it, which the protocol reads as "removed".
|
|
256
|
+
* @throws An error named "DataCloneError" when structuredClone refuses
|
|
257
|
+
* `value`: a function, a symbol, a `WeakMap`, a `Promise`... It is
|
|
258
|
+
* checked before any surface is written, so nothing is written. The
|
|
259
|
+
* framework setters report it with `reportError`.
|
|
244
260
|
* @throws Error when a path segment is "__proto__", "constructor" or
|
|
245
261
|
* "prototype", or when the path does not fit the data (for example, a
|
|
246
262
|
* segment above it holds a string).
|
|
247
263
|
*/
|
|
248
264
|
setOwnedValue(key: string, path: string, value: unknown): void;
|
|
265
|
+
/** Writes `owned`, which `setOwnedValue` made, as a user-owned value. */
|
|
249
266
|
private writeOwnedValue;
|
|
250
267
|
/**
|
|
251
268
|
* Writes the user-owned values into the new, empty data model of a rebuilt
|
|
@@ -326,25 +343,40 @@ interface GenerativeUIEngine {
|
|
|
326
343
|
declare function reportErrorSafely(engine: Pick<GenerativeUIEngine, "reportError">, info: GenerativeUIErrorInfo): void;
|
|
327
344
|
//#endregion
|
|
328
345
|
//#region src/generative-ui/functions.d.ts
|
|
329
|
-
/**
|
|
330
|
-
* The renderer-side functions of the A2UI 1.0 basic catalog. Each one takes
|
|
331
|
-
* resolved args (no bindings left in them) and gives a plain value. They
|
|
332
|
-
* run synchronously, so a prop bound to one updates in the same render as
|
|
333
|
-
* the data it reads. The signatures the model sees are in
|
|
334
|
-
* `@copilotkit/shared` (`A2UI_BASIC_FUNCTIONS`).
|
|
335
|
-
*/
|
|
336
346
|
/** Thrown for a bad call: an unknown function, bad args, or a bad value. */
|
|
337
347
|
declare class ExpressionError extends Error {
|
|
338
348
|
constructor(message: string);
|
|
339
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Thrown when the platform lacks what a function needs: `window.open`, or
|
|
352
|
+
* an `Intl` constructor on a Hermes build. The call itself was fine, so it
|
|
353
|
+
* is not an ExpressionError: the dispatcher reports it as `handler_failed`,
|
|
354
|
+
* not `invalid_arguments`, and the model is not told to change its args.
|
|
355
|
+
*/
|
|
356
|
+
declare class PlatformError extends Error {
|
|
357
|
+
constructor(message: string);
|
|
358
|
+
}
|
|
340
359
|
type BasicFunction = (args: Record<string, unknown>) => unknown;
|
|
341
360
|
/** The boolean of a DynamicBoolean: a ValidationResult counts as `valid`. */
|
|
342
361
|
declare function truthOf(value: unknown): boolean;
|
|
343
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* Opens an http(s) URL in a new tab. Any other scheme is refused.
|
|
364
|
+
*
|
|
365
|
+
* Without a `window` (server rendering) it does nothing. A platform that has
|
|
366
|
+
* a `window` but no `window.open` (React Native, where `window` is the global
|
|
367
|
+
* object) gets a PlatformError, not a misleading URL-parsing one. On a
|
|
368
|
+
* browser page WHATWG URL decides, as it always did. Without a real page
|
|
369
|
+
* origin (React Native, also with the location polyfill) only absolute
|
|
370
|
+
* URLs are taken: a relative one has nothing to resolve against. There the
|
|
371
|
+
* URL is checked by the stricter `parseUrl`, not by React Native's URL
|
|
372
|
+
* class, which accepts almost anything.
|
|
373
|
+
*/
|
|
344
374
|
declare function openUrlSafely(url: unknown): void;
|
|
345
375
|
/**
|
|
346
|
-
* The basic functions, except `formatString`,
|
|
347
|
-
* `
|
|
376
|
+
* The basic functions, except `formatString`, `calc` and `series`:
|
|
377
|
+
* `resolve.ts` adds those three when it loads (`formatString` needs the
|
|
378
|
+
* resolver, and `calc.ts` uses this module). Import `resolve.ts` before
|
|
379
|
+
* looking a function up here.
|
|
348
380
|
*/
|
|
349
381
|
declare const BASIC_FUNCTIONS: Record<string, BasicFunction>;
|
|
350
382
|
/** True when the basic function `name` must run from a user gesture. */
|
|
@@ -970,5 +1002,74 @@ declare function allowedComponents(requested: readonly string[], ui: GenerativeU
|
|
|
970
1002
|
warning: string;
|
|
971
1003
|
};
|
|
972
1004
|
//#endregion
|
|
973
|
-
|
|
1005
|
+
//#region src/generative-ui/activity-content.d.ts
|
|
1006
|
+
/**
|
|
1007
|
+
* The content of a generative UI surface activity message. A missing
|
|
1008
|
+
* `rejected` reads as []. Extra keys of the content are kept.
|
|
1009
|
+
*/
|
|
1010
|
+
declare const GenerativeUISurfaceContentSchema: z.ZodObject<{
|
|
1011
|
+
surfaceId: z.ZodString;
|
|
1012
|
+
target: z.ZodString;
|
|
1013
|
+
catalogId: z.ZodString;
|
|
1014
|
+
operations: z.ZodArray<z.ZodAny, "many">;
|
|
1015
|
+
status: z.ZodEnum<["streaming", "ready", "error"]>;
|
|
1016
|
+
rejected: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1017
|
+
index: z.ZodNumber;
|
|
1018
|
+
reason: z.ZodString;
|
|
1019
|
+
}, "strip", z.ZodTypeAny, {
|
|
1020
|
+
index: number;
|
|
1021
|
+
reason: string;
|
|
1022
|
+
}, {
|
|
1023
|
+
index: number;
|
|
1024
|
+
reason: string;
|
|
1025
|
+
}>, "many">>;
|
|
1026
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1027
|
+
surfaceId: z.ZodString;
|
|
1028
|
+
target: z.ZodString;
|
|
1029
|
+
catalogId: z.ZodString;
|
|
1030
|
+
operations: z.ZodArray<z.ZodAny, "many">;
|
|
1031
|
+
status: z.ZodEnum<["streaming", "ready", "error"]>;
|
|
1032
|
+
rejected: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1033
|
+
index: z.ZodNumber;
|
|
1034
|
+
reason: z.ZodString;
|
|
1035
|
+
}, "strip", z.ZodTypeAny, {
|
|
1036
|
+
index: number;
|
|
1037
|
+
reason: string;
|
|
1038
|
+
}, {
|
|
1039
|
+
index: number;
|
|
1040
|
+
reason: string;
|
|
1041
|
+
}>, "many">>;
|
|
1042
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1043
|
+
surfaceId: z.ZodString;
|
|
1044
|
+
target: z.ZodString;
|
|
1045
|
+
catalogId: z.ZodString;
|
|
1046
|
+
operations: z.ZodArray<z.ZodAny, "many">;
|
|
1047
|
+
status: z.ZodEnum<["streaming", "ready", "error"]>;
|
|
1048
|
+
rejected: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1049
|
+
index: z.ZodNumber;
|
|
1050
|
+
reason: z.ZodString;
|
|
1051
|
+
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
index: number;
|
|
1053
|
+
reason: string;
|
|
1054
|
+
}, {
|
|
1055
|
+
index: number;
|
|
1056
|
+
reason: string;
|
|
1057
|
+
}>, "many">>;
|
|
1058
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1059
|
+
/** The content of a surface activity message, or the issues that make it malformed. */
|
|
1060
|
+
type ParsedGenerativeUISurfaceContent = {
|
|
1061
|
+
content: GenerativeUISurfaceContent;
|
|
1062
|
+
issues?: undefined;
|
|
1063
|
+
} | {
|
|
1064
|
+
content?: undefined;
|
|
1065
|
+
issues: string[];
|
|
1066
|
+
};
|
|
1067
|
+
/**
|
|
1068
|
+
* Reads the content of a surface activity message with
|
|
1069
|
+
* {@link GenerativeUISurfaceContentSchema}, or lists its issues (as
|
|
1070
|
+
* `path: message`) when it is malformed. Never throws.
|
|
1071
|
+
*/
|
|
1072
|
+
declare function parseGenerativeUISurfaceContent(content: unknown): ParsedGenerativeUISurfaceContent;
|
|
1073
|
+
//#endregion
|
|
1074
|
+
export { BASIC_FUNCTIONS, BasicFunction, BuildMarkdownSurfacesOptions, CalcScope, CatalogManifestOptions, DataReader, ExpressionError, FunctionCallRequest, FunctionCallRunner, FunctionCallRunnerOptions, GenerativeUIAccessibility, GenerativeUIAriaAttributes, GenerativeUICallOrigin, GenerativeUIDeclaredFunction, GenerativeUIDispatcher, GenerativeUIDispatcherOptions, GenerativeUIEngine, GenerativeUIEnvelopeOptions, GenerativeUIHandlerRef, GenerativeUIInvocationOrigin, GenerativeUIMountedTarget, GenerativeUISurfaceContentSchema, GenerativeUISurfaceManager, GenerativeUISurfaceManagerOptions, GenerativeUITargetOptions, GenerativeUITransportConfig, ManagedSurface, MarkdownBuildCache, MarkdownFenceBlock, MarkdownFunctionCall, MarkdownSurfaceSource, ParsedGenerativeUISurfaceContent, PlatformError, ReadonlyMessages, ResolveAttempt, ResolveContext, ResolveOptions, Resolved, accessibilityAttributes, activityFunctionCalls, allowedComponents, buildActionMessageText, buildCatalogManifest, buildGenerativeUIEnvelope, buildGenerativeUIManifest, buildMarkdownSurfaces, builtInFunctionManifests, calc, containsDynamicValue, controlAria, createComponentLabelResolver, createFunctionCallRunner, createGenerativeUIDebugSource, createGenerativeUIDispatcher, describeGenerativeUIRun, envelopeOptionsFor, evaluateCalc, fenceKey, getMarkdownSurfaceSource, givesValidationResult, invokeBoundEvent, invokeMatchedEvent, joinPath, markdownFunctionCalls, namedRole, openUrlSafely, parseGenerativeUISurfaceContent, readAccessibility, reportErrorSafely, requiresUserActivation, resolveDynamicValue, resolvePath, scrollToSurface, series, surfaceKey, surfaceLabelResolver, templateIndex, truthOf, tryResolveDynamicValue, wrapperAria };
|
|
974
1075
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/generative-ui/dispatcher.ts","../../src/generative-ui/surface-manager.ts","../../src/generative-ui/runtime.ts","../../src/generative-ui/functions.ts","../../src/generative-ui/markdown-source.ts","../../src/generative-ui/function-calls.ts","../../src/generative-ui/calc.ts","../../src/generative-ui/resolve.ts","../../src/generative-ui/events.ts","../../src/generative-ui/manifest.ts","../../src/generative-ui/action-message.ts","../../src/generative-ui/debug-source.ts","../../src/generative-ui/accessibility.ts","../../src/generative-ui/targets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/generative-ui/dispatcher.ts","../../src/generative-ui/surface-manager.ts","../../src/generative-ui/runtime.ts","../../src/generative-ui/functions.ts","../../src/generative-ui/markdown-source.ts","../../src/generative-ui/function-calls.ts","../../src/generative-ui/calc.ts","../../src/generative-ui/resolve.ts","../../src/generative-ui/events.ts","../../src/generative-ui/manifest.ts","../../src/generative-ui/action-message.ts","../../src/generative-ui/debug-source.ts","../../src/generative-ui/accessibility.ts","../../src/generative-ui/targets.ts","../../src/generative-ui/activity-content.ts"],"mappings":";;;;;;;;;;;;;;UAuBiB,4BAAA,SAAqC,uBAAA;EACpD,WAAA;EACA,UAAA,EAAY,gBAAA;EACZ,UAAA,GAA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