puckeditor-plugin-ai 0.6.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/index.css +584 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +237 -0
- package/dist/index.d.ts +237 -0
- package/dist/index.js +1148 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1123 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +59 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { PuckAction, Data, Config, Plugin } from '@puckeditor/core';
|
|
3
|
+
import { CreateUIMessage, UIMessage, LanguageModelUsage, DataUIPart, ChatStatus } from 'ai';
|
|
4
|
+
|
|
5
|
+
interface AttachedImage {
|
|
6
|
+
/** Unique key for React lists */
|
|
7
|
+
id: string;
|
|
8
|
+
/** base64 data URL e.g. "data:image/png;base64,..." */
|
|
9
|
+
dataUrl: string;
|
|
10
|
+
/** Original file name */
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
type _JSONSchema = boolean | JSONSchema;
|
|
14
|
+
type JSONSchema = {
|
|
15
|
+
[k: string]: unknown;
|
|
16
|
+
$schema?: string;
|
|
17
|
+
$id?: string;
|
|
18
|
+
$ref?: string;
|
|
19
|
+
$defs?: Record<string, JSONSchema>;
|
|
20
|
+
type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
|
|
21
|
+
additionalItems?: _JSONSchema;
|
|
22
|
+
unevaluatedItems?: _JSONSchema;
|
|
23
|
+
prefixItems?: _JSONSchema[];
|
|
24
|
+
items?: _JSONSchema | _JSONSchema[];
|
|
25
|
+
contains?: _JSONSchema;
|
|
26
|
+
additionalProperties?: _JSONSchema;
|
|
27
|
+
unevaluatedProperties?: _JSONSchema;
|
|
28
|
+
properties?: Record<string, _JSONSchema>;
|
|
29
|
+
patternProperties?: Record<string, _JSONSchema>;
|
|
30
|
+
dependentSchemas?: Record<string, _JSONSchema>;
|
|
31
|
+
propertyNames?: _JSONSchema;
|
|
32
|
+
if?: _JSONSchema;
|
|
33
|
+
then?: _JSONSchema;
|
|
34
|
+
else?: _JSONSchema;
|
|
35
|
+
allOf?: JSONSchema[];
|
|
36
|
+
anyOf?: JSONSchema[];
|
|
37
|
+
oneOf?: JSONSchema[];
|
|
38
|
+
not?: _JSONSchema;
|
|
39
|
+
multipleOf?: number;
|
|
40
|
+
maximum?: number;
|
|
41
|
+
exclusiveMaximum?: number | boolean;
|
|
42
|
+
minimum?: number;
|
|
43
|
+
exclusiveMinimum?: number | boolean;
|
|
44
|
+
maxLength?: number;
|
|
45
|
+
minLength?: number;
|
|
46
|
+
pattern?: string;
|
|
47
|
+
maxItems?: number;
|
|
48
|
+
minItems?: number;
|
|
49
|
+
uniqueItems?: boolean;
|
|
50
|
+
maxContains?: number;
|
|
51
|
+
minContains?: number;
|
|
52
|
+
maxProperties?: number;
|
|
53
|
+
minProperties?: number;
|
|
54
|
+
required?: string[];
|
|
55
|
+
dependentRequired?: Record<string, string[]>;
|
|
56
|
+
enum?: Array<string | number | boolean | null>;
|
|
57
|
+
const?: string | number | boolean | null;
|
|
58
|
+
id?: string;
|
|
59
|
+
title?: string;
|
|
60
|
+
description?: string;
|
|
61
|
+
default?: unknown;
|
|
62
|
+
deprecated?: boolean;
|
|
63
|
+
readOnly?: boolean;
|
|
64
|
+
writeOnly?: boolean;
|
|
65
|
+
nullable?: boolean;
|
|
66
|
+
examples?: unknown[];
|
|
67
|
+
format?: string;
|
|
68
|
+
contentMediaType?: string;
|
|
69
|
+
contentEncoding?: string;
|
|
70
|
+
contentSchema?: JSONSchema;
|
|
71
|
+
_prefault?: unknown;
|
|
72
|
+
};
|
|
73
|
+
type ComponentAiParams = {
|
|
74
|
+
instructions?: string;
|
|
75
|
+
exclude?: boolean;
|
|
76
|
+
defaultZone?: {
|
|
77
|
+
allow?: string[];
|
|
78
|
+
disallow?: string[];
|
|
79
|
+
disabled?: boolean;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
type FieldAiParams = {
|
|
83
|
+
instructions?: string;
|
|
84
|
+
exclude?: boolean;
|
|
85
|
+
required?: boolean;
|
|
86
|
+
stream?: boolean;
|
|
87
|
+
schema?: JSONSchema;
|
|
88
|
+
bind?: string;
|
|
89
|
+
};
|
|
90
|
+
type AddOperation = {
|
|
91
|
+
op: "add";
|
|
92
|
+
id: string;
|
|
93
|
+
index: number;
|
|
94
|
+
zone: string;
|
|
95
|
+
type: string;
|
|
96
|
+
props: object;
|
|
97
|
+
};
|
|
98
|
+
type UpdateOperation = {
|
|
99
|
+
op: "update";
|
|
100
|
+
id: string;
|
|
101
|
+
props: object;
|
|
102
|
+
};
|
|
103
|
+
type UpdateRootOperation = {
|
|
104
|
+
op: "updateRoot";
|
|
105
|
+
props: object;
|
|
106
|
+
};
|
|
107
|
+
type MoveOperation = {
|
|
108
|
+
op: "move";
|
|
109
|
+
zone: string;
|
|
110
|
+
id: string;
|
|
111
|
+
index: number;
|
|
112
|
+
};
|
|
113
|
+
type DeleteOperation = {
|
|
114
|
+
op: "delete";
|
|
115
|
+
id: string;
|
|
116
|
+
};
|
|
117
|
+
type DuplicateOperation = {
|
|
118
|
+
op: "duplicate";
|
|
119
|
+
id: string;
|
|
120
|
+
};
|
|
121
|
+
type ResetOperation = {
|
|
122
|
+
op: "reset";
|
|
123
|
+
};
|
|
124
|
+
type Operation = AddOperation | UpdateOperation | UpdateRootOperation | MoveOperation | DeleteOperation | DuplicateOperation | ResetOperation;
|
|
125
|
+
type ToolStatus = {
|
|
126
|
+
loading: boolean;
|
|
127
|
+
label: string;
|
|
128
|
+
error?: {
|
|
129
|
+
message: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
type DataToolStatus = {
|
|
133
|
+
status: ToolStatus;
|
|
134
|
+
toolCallId: string;
|
|
135
|
+
};
|
|
136
|
+
type TokenUsage = {
|
|
137
|
+
inputTokens: number | undefined;
|
|
138
|
+
outputTokens: number | undefined;
|
|
139
|
+
totalTokens: number | undefined;
|
|
140
|
+
reasoningTokens?: number | undefined;
|
|
141
|
+
cachedInputTokens?: number | undefined;
|
|
142
|
+
};
|
|
143
|
+
type DataFinish = {
|
|
144
|
+
totalCost: number;
|
|
145
|
+
tokenUsage: TokenUsage;
|
|
146
|
+
};
|
|
147
|
+
type PuckDataParts = {
|
|
148
|
+
"new-chat-created": {
|
|
149
|
+
chatId: string;
|
|
150
|
+
};
|
|
151
|
+
"puck-actions": PuckAction[];
|
|
152
|
+
"build-op": Operation;
|
|
153
|
+
"tool-status": DataToolStatus;
|
|
154
|
+
"user-tool": {
|
|
155
|
+
toolCallId: string;
|
|
156
|
+
tools: {
|
|
157
|
+
name: string;
|
|
158
|
+
input: any;
|
|
159
|
+
}[];
|
|
160
|
+
};
|
|
161
|
+
"send-screenshot": {
|
|
162
|
+
id: string;
|
|
163
|
+
urls: {
|
|
164
|
+
[breakpoint: number]: string;
|
|
165
|
+
}[];
|
|
166
|
+
};
|
|
167
|
+
finish: DataFinish;
|
|
168
|
+
page: Data;
|
|
169
|
+
};
|
|
170
|
+
type PuckProviderMetadata = {
|
|
171
|
+
tokenUsage?: LanguageModelUsage;
|
|
172
|
+
};
|
|
173
|
+
type PuckMessage = UIMessage<PuckProviderMetadata, PuckDataParts>;
|
|
174
|
+
type RequestOptions = {
|
|
175
|
+
body?: {
|
|
176
|
+
chatId?: string;
|
|
177
|
+
trigger?: string;
|
|
178
|
+
messages?: PuckMessage[];
|
|
179
|
+
pageData?: Data;
|
|
180
|
+
config?: Config;
|
|
181
|
+
[key: string]: any;
|
|
182
|
+
};
|
|
183
|
+
headers?: HeadersInit;
|
|
184
|
+
credentials?: RequestCredentials;
|
|
185
|
+
};
|
|
186
|
+
type AiPluginProps = {
|
|
187
|
+
host?: string;
|
|
188
|
+
chat?: {
|
|
189
|
+
onSubmit?: (prompt: string) => void;
|
|
190
|
+
examplePrompts?: {
|
|
191
|
+
label: string;
|
|
192
|
+
href?: string;
|
|
193
|
+
onClick?: () => void;
|
|
194
|
+
}[];
|
|
195
|
+
};
|
|
196
|
+
scrollTracking?: boolean;
|
|
197
|
+
prepareRequest?: (opts: RequestOptions) => RequestOptions | Promise<RequestOptions>;
|
|
198
|
+
};
|
|
199
|
+
declare module "@puckeditor/core" {
|
|
200
|
+
interface ComponentMetadata {
|
|
201
|
+
ai?: ComponentAiParams;
|
|
202
|
+
}
|
|
203
|
+
interface ComponentConfigExtensions {
|
|
204
|
+
ai?: ComponentAiParams;
|
|
205
|
+
}
|
|
206
|
+
interface FieldMetadata {
|
|
207
|
+
ai?: FieldAiParams;
|
|
208
|
+
}
|
|
209
|
+
interface BaseField {
|
|
210
|
+
ai?: FieldAiParams;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
type TargetComponent = {
|
|
214
|
+
id: string;
|
|
215
|
+
type: string;
|
|
216
|
+
label?: string;
|
|
217
|
+
};
|
|
218
|
+
declare global {
|
|
219
|
+
interface Window {
|
|
220
|
+
__PUCK_AI: {
|
|
221
|
+
sendMessage: (message: CreateUIMessage<PuckMessage>) => void;
|
|
222
|
+
setMessages: (_messages: PuckMessage[]) => void;
|
|
223
|
+
processData: (_dataPart: DataUIPart<PuckDataParts>) => void;
|
|
224
|
+
setStatus: (_status: ChatStatus) => void;
|
|
225
|
+
setPrompt: (_value: string) => void;
|
|
226
|
+
setTargetComponent: (_target: TargetComponent | null) => void;
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
declare function Chat({ chat, host, prepareRequest, }: {
|
|
231
|
+
chat?: AiPluginProps["chat"];
|
|
232
|
+
host?: string;
|
|
233
|
+
prepareRequest?: AiPluginProps["prepareRequest"];
|
|
234
|
+
}): react_jsx_runtime.JSX.Element;
|
|
235
|
+
declare function createAiPlugin(opts?: AiPluginProps): Plugin;
|
|
236
|
+
|
|
237
|
+
export { type AddOperation, type AiPluginProps, type AttachedImage, Chat, type ComponentAiParams, type DataToolStatus, type DeleteOperation, type DuplicateOperation, type FieldAiParams, type JSONSchema, type MoveOperation, type Operation, type PuckMessage, type RequestOptions, type ResetOperation, type TargetComponent, type ToolStatus, type UpdateOperation, type UpdateRootOperation, createAiPlugin, createAiPlugin as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { PuckAction, Data, Config, Plugin } from '@puckeditor/core';
|
|
3
|
+
import { CreateUIMessage, UIMessage, LanguageModelUsage, DataUIPart, ChatStatus } from 'ai';
|
|
4
|
+
|
|
5
|
+
interface AttachedImage {
|
|
6
|
+
/** Unique key for React lists */
|
|
7
|
+
id: string;
|
|
8
|
+
/** base64 data URL e.g. "data:image/png;base64,..." */
|
|
9
|
+
dataUrl: string;
|
|
10
|
+
/** Original file name */
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
type _JSONSchema = boolean | JSONSchema;
|
|
14
|
+
type JSONSchema = {
|
|
15
|
+
[k: string]: unknown;
|
|
16
|
+
$schema?: string;
|
|
17
|
+
$id?: string;
|
|
18
|
+
$ref?: string;
|
|
19
|
+
$defs?: Record<string, JSONSchema>;
|
|
20
|
+
type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
|
|
21
|
+
additionalItems?: _JSONSchema;
|
|
22
|
+
unevaluatedItems?: _JSONSchema;
|
|
23
|
+
prefixItems?: _JSONSchema[];
|
|
24
|
+
items?: _JSONSchema | _JSONSchema[];
|
|
25
|
+
contains?: _JSONSchema;
|
|
26
|
+
additionalProperties?: _JSONSchema;
|
|
27
|
+
unevaluatedProperties?: _JSONSchema;
|
|
28
|
+
properties?: Record<string, _JSONSchema>;
|
|
29
|
+
patternProperties?: Record<string, _JSONSchema>;
|
|
30
|
+
dependentSchemas?: Record<string, _JSONSchema>;
|
|
31
|
+
propertyNames?: _JSONSchema;
|
|
32
|
+
if?: _JSONSchema;
|
|
33
|
+
then?: _JSONSchema;
|
|
34
|
+
else?: _JSONSchema;
|
|
35
|
+
allOf?: JSONSchema[];
|
|
36
|
+
anyOf?: JSONSchema[];
|
|
37
|
+
oneOf?: JSONSchema[];
|
|
38
|
+
not?: _JSONSchema;
|
|
39
|
+
multipleOf?: number;
|
|
40
|
+
maximum?: number;
|
|
41
|
+
exclusiveMaximum?: number | boolean;
|
|
42
|
+
minimum?: number;
|
|
43
|
+
exclusiveMinimum?: number | boolean;
|
|
44
|
+
maxLength?: number;
|
|
45
|
+
minLength?: number;
|
|
46
|
+
pattern?: string;
|
|
47
|
+
maxItems?: number;
|
|
48
|
+
minItems?: number;
|
|
49
|
+
uniqueItems?: boolean;
|
|
50
|
+
maxContains?: number;
|
|
51
|
+
minContains?: number;
|
|
52
|
+
maxProperties?: number;
|
|
53
|
+
minProperties?: number;
|
|
54
|
+
required?: string[];
|
|
55
|
+
dependentRequired?: Record<string, string[]>;
|
|
56
|
+
enum?: Array<string | number | boolean | null>;
|
|
57
|
+
const?: string | number | boolean | null;
|
|
58
|
+
id?: string;
|
|
59
|
+
title?: string;
|
|
60
|
+
description?: string;
|
|
61
|
+
default?: unknown;
|
|
62
|
+
deprecated?: boolean;
|
|
63
|
+
readOnly?: boolean;
|
|
64
|
+
writeOnly?: boolean;
|
|
65
|
+
nullable?: boolean;
|
|
66
|
+
examples?: unknown[];
|
|
67
|
+
format?: string;
|
|
68
|
+
contentMediaType?: string;
|
|
69
|
+
contentEncoding?: string;
|
|
70
|
+
contentSchema?: JSONSchema;
|
|
71
|
+
_prefault?: unknown;
|
|
72
|
+
};
|
|
73
|
+
type ComponentAiParams = {
|
|
74
|
+
instructions?: string;
|
|
75
|
+
exclude?: boolean;
|
|
76
|
+
defaultZone?: {
|
|
77
|
+
allow?: string[];
|
|
78
|
+
disallow?: string[];
|
|
79
|
+
disabled?: boolean;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
type FieldAiParams = {
|
|
83
|
+
instructions?: string;
|
|
84
|
+
exclude?: boolean;
|
|
85
|
+
required?: boolean;
|
|
86
|
+
stream?: boolean;
|
|
87
|
+
schema?: JSONSchema;
|
|
88
|
+
bind?: string;
|
|
89
|
+
};
|
|
90
|
+
type AddOperation = {
|
|
91
|
+
op: "add";
|
|
92
|
+
id: string;
|
|
93
|
+
index: number;
|
|
94
|
+
zone: string;
|
|
95
|
+
type: string;
|
|
96
|
+
props: object;
|
|
97
|
+
};
|
|
98
|
+
type UpdateOperation = {
|
|
99
|
+
op: "update";
|
|
100
|
+
id: string;
|
|
101
|
+
props: object;
|
|
102
|
+
};
|
|
103
|
+
type UpdateRootOperation = {
|
|
104
|
+
op: "updateRoot";
|
|
105
|
+
props: object;
|
|
106
|
+
};
|
|
107
|
+
type MoveOperation = {
|
|
108
|
+
op: "move";
|
|
109
|
+
zone: string;
|
|
110
|
+
id: string;
|
|
111
|
+
index: number;
|
|
112
|
+
};
|
|
113
|
+
type DeleteOperation = {
|
|
114
|
+
op: "delete";
|
|
115
|
+
id: string;
|
|
116
|
+
};
|
|
117
|
+
type DuplicateOperation = {
|
|
118
|
+
op: "duplicate";
|
|
119
|
+
id: string;
|
|
120
|
+
};
|
|
121
|
+
type ResetOperation = {
|
|
122
|
+
op: "reset";
|
|
123
|
+
};
|
|
124
|
+
type Operation = AddOperation | UpdateOperation | UpdateRootOperation | MoveOperation | DeleteOperation | DuplicateOperation | ResetOperation;
|
|
125
|
+
type ToolStatus = {
|
|
126
|
+
loading: boolean;
|
|
127
|
+
label: string;
|
|
128
|
+
error?: {
|
|
129
|
+
message: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
type DataToolStatus = {
|
|
133
|
+
status: ToolStatus;
|
|
134
|
+
toolCallId: string;
|
|
135
|
+
};
|
|
136
|
+
type TokenUsage = {
|
|
137
|
+
inputTokens: number | undefined;
|
|
138
|
+
outputTokens: number | undefined;
|
|
139
|
+
totalTokens: number | undefined;
|
|
140
|
+
reasoningTokens?: number | undefined;
|
|
141
|
+
cachedInputTokens?: number | undefined;
|
|
142
|
+
};
|
|
143
|
+
type DataFinish = {
|
|
144
|
+
totalCost: number;
|
|
145
|
+
tokenUsage: TokenUsage;
|
|
146
|
+
};
|
|
147
|
+
type PuckDataParts = {
|
|
148
|
+
"new-chat-created": {
|
|
149
|
+
chatId: string;
|
|
150
|
+
};
|
|
151
|
+
"puck-actions": PuckAction[];
|
|
152
|
+
"build-op": Operation;
|
|
153
|
+
"tool-status": DataToolStatus;
|
|
154
|
+
"user-tool": {
|
|
155
|
+
toolCallId: string;
|
|
156
|
+
tools: {
|
|
157
|
+
name: string;
|
|
158
|
+
input: any;
|
|
159
|
+
}[];
|
|
160
|
+
};
|
|
161
|
+
"send-screenshot": {
|
|
162
|
+
id: string;
|
|
163
|
+
urls: {
|
|
164
|
+
[breakpoint: number]: string;
|
|
165
|
+
}[];
|
|
166
|
+
};
|
|
167
|
+
finish: DataFinish;
|
|
168
|
+
page: Data;
|
|
169
|
+
};
|
|
170
|
+
type PuckProviderMetadata = {
|
|
171
|
+
tokenUsage?: LanguageModelUsage;
|
|
172
|
+
};
|
|
173
|
+
type PuckMessage = UIMessage<PuckProviderMetadata, PuckDataParts>;
|
|
174
|
+
type RequestOptions = {
|
|
175
|
+
body?: {
|
|
176
|
+
chatId?: string;
|
|
177
|
+
trigger?: string;
|
|
178
|
+
messages?: PuckMessage[];
|
|
179
|
+
pageData?: Data;
|
|
180
|
+
config?: Config;
|
|
181
|
+
[key: string]: any;
|
|
182
|
+
};
|
|
183
|
+
headers?: HeadersInit;
|
|
184
|
+
credentials?: RequestCredentials;
|
|
185
|
+
};
|
|
186
|
+
type AiPluginProps = {
|
|
187
|
+
host?: string;
|
|
188
|
+
chat?: {
|
|
189
|
+
onSubmit?: (prompt: string) => void;
|
|
190
|
+
examplePrompts?: {
|
|
191
|
+
label: string;
|
|
192
|
+
href?: string;
|
|
193
|
+
onClick?: () => void;
|
|
194
|
+
}[];
|
|
195
|
+
};
|
|
196
|
+
scrollTracking?: boolean;
|
|
197
|
+
prepareRequest?: (opts: RequestOptions) => RequestOptions | Promise<RequestOptions>;
|
|
198
|
+
};
|
|
199
|
+
declare module "@puckeditor/core" {
|
|
200
|
+
interface ComponentMetadata {
|
|
201
|
+
ai?: ComponentAiParams;
|
|
202
|
+
}
|
|
203
|
+
interface ComponentConfigExtensions {
|
|
204
|
+
ai?: ComponentAiParams;
|
|
205
|
+
}
|
|
206
|
+
interface FieldMetadata {
|
|
207
|
+
ai?: FieldAiParams;
|
|
208
|
+
}
|
|
209
|
+
interface BaseField {
|
|
210
|
+
ai?: FieldAiParams;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
type TargetComponent = {
|
|
214
|
+
id: string;
|
|
215
|
+
type: string;
|
|
216
|
+
label?: string;
|
|
217
|
+
};
|
|
218
|
+
declare global {
|
|
219
|
+
interface Window {
|
|
220
|
+
__PUCK_AI: {
|
|
221
|
+
sendMessage: (message: CreateUIMessage<PuckMessage>) => void;
|
|
222
|
+
setMessages: (_messages: PuckMessage[]) => void;
|
|
223
|
+
processData: (_dataPart: DataUIPart<PuckDataParts>) => void;
|
|
224
|
+
setStatus: (_status: ChatStatus) => void;
|
|
225
|
+
setPrompt: (_value: string) => void;
|
|
226
|
+
setTargetComponent: (_target: TargetComponent | null) => void;
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
declare function Chat({ chat, host, prepareRequest, }: {
|
|
231
|
+
chat?: AiPluginProps["chat"];
|
|
232
|
+
host?: string;
|
|
233
|
+
prepareRequest?: AiPluginProps["prepareRequest"];
|
|
234
|
+
}): react_jsx_runtime.JSX.Element;
|
|
235
|
+
declare function createAiPlugin(opts?: AiPluginProps): Plugin;
|
|
236
|
+
|
|
237
|
+
export { type AddOperation, type AiPluginProps, type AttachedImage, Chat, type ComponentAiParams, type DataToolStatus, type DeleteOperation, type DuplicateOperation, type FieldAiParams, type JSONSchema, type MoveOperation, type Operation, type PuckMessage, type RequestOptions, type ResetOperation, type TargetComponent, type ToolStatus, type UpdateOperation, type UpdateRootOperation, createAiPlugin, createAiPlugin as default };
|