@copilotkit/angular 0.3.2-canary.1785878925 → 0.5.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 +10 -4
- package/dist/README.md +10 -4
- package/dist/fesm2022/copilotkit-angular-mcp-apps.mjs +24 -19
- package/dist/fesm2022/copilotkit-angular-mcp-apps.mjs.map +1 -1
- package/dist/fesm2022/copilotkit-angular.mjs +2487 -1770
- package/dist/fesm2022/copilotkit-angular.mjs.map +1 -1
- package/dist/styles.css +0 -3
- package/dist/{mcp-apps/index.d.ts → types/copilotkit-angular-mcp-apps.d.ts} +66 -63
- package/dist/types/copilotkit-angular-mcp-apps.d.ts.map +1 -0
- package/dist/{index.d.ts → types/copilotkit-angular.d.ts} +1215 -792
- package/dist/types/copilotkit-angular.d.ts.map +1 -0
- package/package.json +36 -50
- package/tsconfig.json +9 -0
package/dist/styles.css
CHANGED
|
@@ -119,10 +119,10 @@ declare class CopilotMCPAppsWidget {
|
|
|
119
119
|
text: string;
|
|
120
120
|
annotations?: {
|
|
121
121
|
[x: string]: unknown;
|
|
122
|
-
audience?: ("user" | "assistant")[];
|
|
123
|
-
priority?: number;
|
|
124
|
-
lastModified?: string;
|
|
125
|
-
};
|
|
122
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
123
|
+
priority?: number | undefined;
|
|
124
|
+
lastModified?: string | undefined;
|
|
125
|
+
} | undefined;
|
|
126
126
|
} | {
|
|
127
127
|
[x: string]: unknown;
|
|
128
128
|
type: "image";
|
|
@@ -130,10 +130,10 @@ declare class CopilotMCPAppsWidget {
|
|
|
130
130
|
mimeType: string;
|
|
131
131
|
annotations?: {
|
|
132
132
|
[x: string]: unknown;
|
|
133
|
-
audience?: ("user" | "assistant")[];
|
|
134
|
-
priority?: number;
|
|
135
|
-
lastModified?: string;
|
|
136
|
-
};
|
|
133
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
134
|
+
priority?: number | undefined;
|
|
135
|
+
lastModified?: string | undefined;
|
|
136
|
+
} | undefined;
|
|
137
137
|
} | {
|
|
138
138
|
[x: string]: unknown;
|
|
139
139
|
type: "audio";
|
|
@@ -141,52 +141,52 @@ declare class CopilotMCPAppsWidget {
|
|
|
141
141
|
mimeType: string;
|
|
142
142
|
annotations?: {
|
|
143
143
|
[x: string]: unknown;
|
|
144
|
-
audience?: ("user" | "assistant")[];
|
|
145
|
-
priority?: number;
|
|
146
|
-
lastModified?: string;
|
|
147
|
-
};
|
|
144
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
145
|
+
priority?: number | undefined;
|
|
146
|
+
lastModified?: string | undefined;
|
|
147
|
+
} | undefined;
|
|
148
148
|
} | {
|
|
149
149
|
[x: string]: unknown;
|
|
150
150
|
type: "resource";
|
|
151
|
-
resource
|
|
151
|
+
resource: {
|
|
152
152
|
[x: string]: unknown;
|
|
153
153
|
uri: string;
|
|
154
154
|
text: string;
|
|
155
|
-
mimeType?: string;
|
|
155
|
+
mimeType?: string | undefined;
|
|
156
156
|
} | {
|
|
157
157
|
[x: string]: unknown;
|
|
158
158
|
uri: string;
|
|
159
159
|
blob: string;
|
|
160
|
-
mimeType?: string;
|
|
160
|
+
mimeType?: string | undefined;
|
|
161
161
|
};
|
|
162
162
|
annotations?: {
|
|
163
163
|
[x: string]: unknown;
|
|
164
|
-
audience?: ("user" | "assistant")[];
|
|
165
|
-
priority?: number;
|
|
166
|
-
lastModified?: string;
|
|
167
|
-
};
|
|
164
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
165
|
+
priority?: number | undefined;
|
|
166
|
+
lastModified?: string | undefined;
|
|
167
|
+
} | undefined;
|
|
168
168
|
} | {
|
|
169
169
|
[x: string]: unknown;
|
|
170
170
|
type: "resource_link";
|
|
171
171
|
uri: string;
|
|
172
172
|
name: string;
|
|
173
|
-
description?: string;
|
|
174
|
-
mimeType?: string;
|
|
173
|
+
description?: string | undefined;
|
|
174
|
+
mimeType?: string | undefined;
|
|
175
175
|
annotations?: {
|
|
176
176
|
[x: string]: unknown;
|
|
177
|
-
audience?: ("user" | "assistant")[];
|
|
178
|
-
priority?: number;
|
|
179
|
-
lastModified?: string;
|
|
180
|
-
};
|
|
177
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
178
|
+
priority?: number | undefined;
|
|
179
|
+
lastModified?: string | undefined;
|
|
180
|
+
} | undefined;
|
|
181
181
|
})[];
|
|
182
|
-
structuredContent?: Record<string, unknown
|
|
183
|
-
isError?: boolean;
|
|
184
|
-
_meta?: Record<string, unknown
|
|
182
|
+
structuredContent?: Record<string, unknown> | undefined;
|
|
183
|
+
isError?: boolean | undefined;
|
|
184
|
+
_meta?: Record<string, unknown> | undefined;
|
|
185
185
|
};
|
|
186
|
-
serverId?: string;
|
|
187
|
-
toolInput?: Record<string, unknown
|
|
186
|
+
serverId?: string | undefined;
|
|
187
|
+
toolInput?: Record<string, unknown> | undefined;
|
|
188
188
|
}>;
|
|
189
|
-
readonly agent: _angular_core.InputSignal<AbstractAgent>;
|
|
189
|
+
readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
|
|
190
190
|
private readonly renderSession;
|
|
191
191
|
private readonly appFrame;
|
|
192
192
|
protected readonly loading: _angular_core.WritableSignal<boolean>;
|
|
@@ -227,10 +227,10 @@ declare class CopilotMCPAppsActivityRenderer implements ActivityRenderer<MCPApps
|
|
|
227
227
|
text: string;
|
|
228
228
|
annotations?: {
|
|
229
229
|
[x: string]: unknown;
|
|
230
|
-
audience?: ("user" | "assistant")[];
|
|
231
|
-
priority?: number;
|
|
232
|
-
lastModified?: string;
|
|
233
|
-
};
|
|
230
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
231
|
+
priority?: number | undefined;
|
|
232
|
+
lastModified?: string | undefined;
|
|
233
|
+
} | undefined;
|
|
234
234
|
} | {
|
|
235
235
|
[x: string]: unknown;
|
|
236
236
|
type: "image";
|
|
@@ -238,10 +238,10 @@ declare class CopilotMCPAppsActivityRenderer implements ActivityRenderer<MCPApps
|
|
|
238
238
|
mimeType: string;
|
|
239
239
|
annotations?: {
|
|
240
240
|
[x: string]: unknown;
|
|
241
|
-
audience?: ("user" | "assistant")[];
|
|
242
|
-
priority?: number;
|
|
243
|
-
lastModified?: string;
|
|
244
|
-
};
|
|
241
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
242
|
+
priority?: number | undefined;
|
|
243
|
+
lastModified?: string | undefined;
|
|
244
|
+
} | undefined;
|
|
245
245
|
} | {
|
|
246
246
|
[x: string]: unknown;
|
|
247
247
|
type: "audio";
|
|
@@ -249,58 +249,60 @@ declare class CopilotMCPAppsActivityRenderer implements ActivityRenderer<MCPApps
|
|
|
249
249
|
mimeType: string;
|
|
250
250
|
annotations?: {
|
|
251
251
|
[x: string]: unknown;
|
|
252
|
-
audience?: ("user" | "assistant")[];
|
|
253
|
-
priority?: number;
|
|
254
|
-
lastModified?: string;
|
|
255
|
-
};
|
|
252
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
253
|
+
priority?: number | undefined;
|
|
254
|
+
lastModified?: string | undefined;
|
|
255
|
+
} | undefined;
|
|
256
256
|
} | {
|
|
257
257
|
[x: string]: unknown;
|
|
258
258
|
type: "resource";
|
|
259
|
-
resource
|
|
259
|
+
resource: {
|
|
260
260
|
[x: string]: unknown;
|
|
261
261
|
uri: string;
|
|
262
262
|
text: string;
|
|
263
|
-
mimeType?: string;
|
|
263
|
+
mimeType?: string | undefined;
|
|
264
264
|
} | {
|
|
265
265
|
[x: string]: unknown;
|
|
266
266
|
uri: string;
|
|
267
267
|
blob: string;
|
|
268
|
-
mimeType?: string;
|
|
268
|
+
mimeType?: string | undefined;
|
|
269
269
|
};
|
|
270
270
|
annotations?: {
|
|
271
271
|
[x: string]: unknown;
|
|
272
|
-
audience?: ("user" | "assistant")[];
|
|
273
|
-
priority?: number;
|
|
274
|
-
lastModified?: string;
|
|
275
|
-
};
|
|
272
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
273
|
+
priority?: number | undefined;
|
|
274
|
+
lastModified?: string | undefined;
|
|
275
|
+
} | undefined;
|
|
276
276
|
} | {
|
|
277
277
|
[x: string]: unknown;
|
|
278
278
|
type: "resource_link";
|
|
279
279
|
uri: string;
|
|
280
280
|
name: string;
|
|
281
|
-
description?: string;
|
|
282
|
-
mimeType?: string;
|
|
281
|
+
description?: string | undefined;
|
|
282
|
+
mimeType?: string | undefined;
|
|
283
283
|
annotations?: {
|
|
284
284
|
[x: string]: unknown;
|
|
285
|
-
audience?: ("user" | "assistant")[];
|
|
286
|
-
priority?: number;
|
|
287
|
-
lastModified?: string;
|
|
288
|
-
};
|
|
285
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
286
|
+
priority?: number | undefined;
|
|
287
|
+
lastModified?: string | undefined;
|
|
288
|
+
} | undefined;
|
|
289
289
|
})[];
|
|
290
|
-
structuredContent?: Record<string, unknown
|
|
291
|
-
isError?: boolean;
|
|
292
|
-
_meta?: Record<string, unknown
|
|
290
|
+
structuredContent?: Record<string, unknown> | undefined;
|
|
291
|
+
isError?: boolean | undefined;
|
|
292
|
+
_meta?: Record<string, unknown> | undefined;
|
|
293
293
|
};
|
|
294
|
-
serverId?: string;
|
|
295
|
-
toolInput?: Record<string, unknown
|
|
294
|
+
serverId?: string | undefined;
|
|
295
|
+
toolInput?: Record<string, unknown> | undefined;
|
|
296
296
|
}>;
|
|
297
297
|
readonly message: _angular_core.InputSignal<{
|
|
298
|
+
id: string;
|
|
298
299
|
role: "activity";
|
|
299
300
|
content: Record<string, any>;
|
|
300
|
-
id: string;
|
|
301
301
|
activityType: string;
|
|
302
|
+
metadata?: Record<string, any> | undefined;
|
|
303
|
+
subagentRunId?: string | undefined;
|
|
302
304
|
}>;
|
|
303
|
-
readonly agent: _angular_core.InputSignal<AbstractAgent>;
|
|
305
|
+
readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
|
|
304
306
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotMCPAppsActivityRenderer, never>;
|
|
305
307
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotMCPAppsActivityRenderer, "copilot-mcp-apps-activity-renderer", never, { "activityType": { "alias": "activityType"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "agent": { "alias": "agent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
306
308
|
}
|
|
@@ -341,3 +343,4 @@ declare function provideMCPApps(config?: MCPAppsConfig): EnvironmentProviders;
|
|
|
341
343
|
|
|
342
344
|
export { CopilotMCPAppsActivityRenderer, CopilotMCPAppsWidget, DEFAULT_MCP_APPS_CONFIG, MCP_APPS_CONFIG, mcpAppsActivityRendererConfig, mcpAppsSnapshotContentSchema, provideMCPApps };
|
|
343
345
|
export type { MCPAppsConfig, MCPAppsHostInfo, MCPAppsSnapshotContent };
|
|
346
|
+
//# sourceMappingURL=copilotkit-angular-mcp-apps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copilotkit-angular-mcp-apps.d.ts","sources":["../../src/mcp-apps/lib/mcp-apps-content.ts","../../src/mcp-apps/lib/mcp-apps-widget.ts","../../src/mcp-apps/lib/mcp-apps-activity-renderer.ts","../../src/mcp-apps/lib/mcp-apps-config.ts","../../src/mcp-apps/lib/provide-mcp-apps.ts"],"mappings":";;;;;;AAuEA;;;;;;;AAOG;AACH,cAAa,4BAA4B,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQzC;AACM,KAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,QACnC,4BAA4B;;ACzCrC;;;;AAIG;AACH,cAoDa,oBAAoB;AAC/B;AACA;AACA;AACA;AACA;;AAGA,mBAAa,aAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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