@flexkit/agent-protocol 0.3.2 → 0.3.4
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.d.ts +90 -3
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -278,8 +278,28 @@ declare const dataPartSchema: z.ZodObject<{
|
|
|
278
278
|
url: z.ZodString;
|
|
279
279
|
}, z.core.$strip>>;
|
|
280
280
|
messageId: z.ZodString;
|
|
281
|
+
monitorEvent: z.ZodOptional<z.ZodObject<{
|
|
282
|
+
description: z.ZodString;
|
|
283
|
+
events: z.ZodArray<z.ZodObject<{
|
|
284
|
+
createdAt: z.ZodString;
|
|
285
|
+
id: z.ZodString;
|
|
286
|
+
summary: z.ZodString;
|
|
287
|
+
}, z.core.$strip>>;
|
|
288
|
+
monitorId: z.ZodString;
|
|
289
|
+
total: z.ZodNumber;
|
|
290
|
+
}, z.core.$strip>>;
|
|
281
291
|
text: z.ZodString;
|
|
282
292
|
}, z.core.$strip>;
|
|
293
|
+
'monitor-event': z.ZodObject<{
|
|
294
|
+
description: z.ZodString;
|
|
295
|
+
events: z.ZodArray<z.ZodObject<{
|
|
296
|
+
createdAt: z.ZodString;
|
|
297
|
+
id: z.ZodString;
|
|
298
|
+
summary: z.ZodString;
|
|
299
|
+
}, z.core.$strip>>;
|
|
300
|
+
monitorId: z.ZodString;
|
|
301
|
+
total: z.ZodNumber;
|
|
302
|
+
}, z.core.$strip>;
|
|
283
303
|
}, z.core.$strip>;
|
|
284
304
|
type DataPart = z.infer<typeof dataPartSchema>;
|
|
285
305
|
type DataPartType = keyof DataPart;
|
|
@@ -288,7 +308,12 @@ declare function isDataPartType(type: string): type is DataPartType;
|
|
|
288
308
|
/** The `type` of a UI message part carrying this data part. */
|
|
289
309
|
type DataPartMessageType = `data-${DataPartType}`;
|
|
290
310
|
|
|
291
|
-
|
|
311
|
+
/**
|
|
312
|
+
* `approval_request`: a proposal waits on the recipient. `automation_result`: an
|
|
313
|
+
* automation run finished and its notify rule asked for it. `automation_failure`:
|
|
314
|
+
* an automation run failed. `monitor_event`: a chat monitor woke the chat, or paused.
|
|
315
|
+
*/
|
|
316
|
+
type ActivityItemKind = 'approval_request' | 'automation_result' | 'automation_failure' | 'monitor_event';
|
|
292
317
|
/** `done` = resolved by the system (e.g. the approval was decided); `dismissed` = hidden by the recipient. */
|
|
293
318
|
type ActivityItemState = 'unread' | 'read' | 'done' | 'dismissed';
|
|
294
319
|
type ActivityItemResolution = 'approved' | 'rejected' | 'expired' | 'cancelled';
|
|
@@ -326,9 +351,16 @@ interface ActivitySummary {
|
|
|
326
351
|
type AutomationRunStatus = 'running' | 'awaiting_approval' | 'success' | 'skipped' | 'failed' | 'cancelled';
|
|
327
352
|
type AutomationTriggerType = 'entity' | 'manual' | 'schedule' | 'webhook';
|
|
328
353
|
type AutomationApprovalStatus = 'pending' | 'approved' | 'rejected' | 'expired' | 'cancelled';
|
|
329
|
-
type AutomationApprovalKind = 'graphql' | 'bulk' | 'plugin' | 'exec' | 'schema';
|
|
354
|
+
type AutomationApprovalKind = 'graphql' | 'bulk' | 'plugin' | 'exec' | 'schema' | 'automation';
|
|
330
355
|
type AutomationApprovalPreviewKind = 'create' | 'update' | 'delete' | 'unknown';
|
|
331
356
|
type AutomationMutationPolicy = 'require_approval' | 'auto_approve';
|
|
357
|
+
/**
|
|
358
|
+
* Which finished runs create an Activity item for the automation's recipients:
|
|
359
|
+
* every run, runs the agent flagged for attention, failures only, or none.
|
|
360
|
+
* Failures notify under every rule except `never`.
|
|
361
|
+
*/
|
|
362
|
+
type AutomationNotifyRule = 'always' | 'when_flagged' | 'failures' | 'never';
|
|
363
|
+
type AutomationVisibility = 'project' | 'space' | 'personal';
|
|
332
364
|
interface AutomationApprovalOperation {
|
|
333
365
|
query: string;
|
|
334
366
|
variables: {
|
|
@@ -362,15 +394,56 @@ interface SchemaChangePreviewSummary {
|
|
|
362
394
|
breakingChanges: string[];
|
|
363
395
|
warnings: string[];
|
|
364
396
|
}
|
|
397
|
+
/** A plugin an agent-proposed automation may use. */
|
|
398
|
+
interface AutomationProposalPlugin {
|
|
399
|
+
/** The connected account, e.g. an email address; null when the plugin needs none. */
|
|
400
|
+
account: string | null;
|
|
401
|
+
/** Channel names it delivers to (Slack, Teams); empty when it does not deliver. */
|
|
402
|
+
deliveryChannels: string[];
|
|
403
|
+
name: string;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Extra context carried by `kind: 'automation'` approvals: the automation the
|
|
407
|
+
* chat agent proposed. Nothing exists until a person approves; the approver may
|
|
408
|
+
* edit the instructions first.
|
|
409
|
+
*/
|
|
410
|
+
interface AutomationProposalPreview {
|
|
411
|
+
customTools: string[];
|
|
412
|
+
instructions: string;
|
|
413
|
+
modelLabel: string;
|
|
414
|
+
mutationPolicy: AutomationMutationPolicy;
|
|
415
|
+
name: string;
|
|
416
|
+
notifyCreator: boolean;
|
|
417
|
+
notifyRule: AutomationNotifyRule;
|
|
418
|
+
plugins: AutomationProposalPlugin[];
|
|
419
|
+
/** Run the automation once right after it is created (the approver can also choose this). */
|
|
420
|
+
runOnceAfterCreate: boolean;
|
|
421
|
+
skills: string[];
|
|
422
|
+
spaceLabel: string | null;
|
|
423
|
+
/** Subscribers' display names. */
|
|
424
|
+
subscribers: string[];
|
|
425
|
+
/** One line per trigger in plain words, e.g. "Every Monday at 09:00 (Europe/Prague)". */
|
|
426
|
+
triggers: string[];
|
|
427
|
+
visibility: AutomationVisibility;
|
|
428
|
+
}
|
|
365
429
|
interface AutomationApprovalPreview {
|
|
430
|
+
automation?: AutomationProposalPreview;
|
|
366
431
|
operations: AutomationApprovalPreviewOperation[];
|
|
367
432
|
schema?: SchemaChangePreviewSummary;
|
|
368
433
|
}
|
|
434
|
+
/** What an approved `kind: 'automation'` proposal created. */
|
|
435
|
+
interface CreatedAutomationResult {
|
|
436
|
+
automationId: string;
|
|
437
|
+
/** The first run, when the approver chose to run it once. */
|
|
438
|
+
runId: string | null;
|
|
439
|
+
}
|
|
369
440
|
interface AutomationApproval {
|
|
370
441
|
affectedCount: number | null;
|
|
371
442
|
/** Null for approvals raised by a chat turn. */
|
|
372
443
|
automationId: string | null;
|
|
373
444
|
automationName: string;
|
|
445
|
+
/** Set once an approved `kind: 'automation'` proposal created its automation. */
|
|
446
|
+
createdAutomation?: CreatedAutomationResult | null;
|
|
374
447
|
/** Set for approvals raised by a chat turn. */
|
|
375
448
|
chatId: string | null;
|
|
376
449
|
chatMessageId: string | null;
|
|
@@ -456,16 +529,30 @@ interface AgentChatPart {
|
|
|
456
529
|
/** `file` parts: public URL of a user attachment. */
|
|
457
530
|
url?: string;
|
|
458
531
|
}
|
|
532
|
+
/** Set on user-role messages the user did not write: `monitor_event` is a chat monitor's delivery. */
|
|
533
|
+
type AgentChatMessageKind = 'monitor_event';
|
|
459
534
|
interface AgentChatMessage {
|
|
460
535
|
createdAt: string;
|
|
461
536
|
error: string | null;
|
|
462
537
|
id: string;
|
|
538
|
+
/** May be absent from older API responses. */
|
|
539
|
+
kind?: AgentChatMessageKind | null;
|
|
463
540
|
parts: AgentChatPart[] | null;
|
|
464
541
|
role: AgentChatMessageRole;
|
|
465
542
|
status: AgentChatMessageStatus;
|
|
466
543
|
textContent: string;
|
|
467
544
|
workflowRunId: string | null;
|
|
468
545
|
}
|
|
546
|
+
type AgentMonitorStatus = 'active' | 'stopped' | 'expired' | 'completed' | 'paused_budget';
|
|
547
|
+
/** A watcher the chat agent started; it wakes the chat when its job finishes. */
|
|
548
|
+
interface AgentChatMonitor {
|
|
549
|
+
createdAt: string;
|
|
550
|
+
description: string;
|
|
551
|
+
eventCount: number;
|
|
552
|
+
expiresAt: string;
|
|
553
|
+
id: string;
|
|
554
|
+
status: AgentMonitorStatus;
|
|
555
|
+
}
|
|
469
556
|
interface AgentChatTurn {
|
|
470
557
|
assistantMessage: AgentChatMessage;
|
|
471
558
|
userMessage: AgentChatMessage;
|
|
@@ -485,4 +572,4 @@ type AgentChatFollowUpResult = {
|
|
|
485
572
|
turn: AgentChatTurn;
|
|
486
573
|
};
|
|
487
574
|
|
|
488
|
-
export { type ActivityItem, type ActivityItemKind, type ActivityItemResolution, type ActivityItemState, type ActivityItemsPage, type ActivitySummary, type AgentChat, type AgentChatAttachment, type AgentChatFollowUp, type AgentChatFollowUpDelivery, type AgentChatFollowUpResult, type AgentChatMessage, type AgentChatMessageRole, type AgentChatMessageStatus, type AgentChatPart, type AgentChatTurn, type AutomationApproval, type AutomationApprovalKind, type AutomationApprovalOperation, type AutomationApprovalPreview, type AutomationApprovalPreviewKind, type AutomationApprovalPreviewOperation, type AutomationApprovalPreviewRow, type AutomationApprovalStatus, type AutomationMutationPolicy, type AutomationRun, type AutomationRunStatus, type AutomationToolAllowRule, type AutomationTriggerType, DATA_PART_TYPES, type DataPart, type DataPartMessageType, type DataPartType, type SchemaChangePreviewSummary, dataPartSchema, errorSchema, isDataPartType };
|
|
575
|
+
export { type ActivityItem, type ActivityItemKind, type ActivityItemResolution, type ActivityItemState, type ActivityItemsPage, type ActivitySummary, type AgentChat, type AgentChatAttachment, type AgentChatFollowUp, type AgentChatFollowUpDelivery, type AgentChatFollowUpResult, type AgentChatMessage, type AgentChatMessageKind, type AgentChatMessageRole, type AgentChatMessageStatus, type AgentChatMonitor, type AgentChatPart, type AgentChatTurn, type AgentMonitorStatus, type AutomationApproval, type AutomationApprovalKind, type AutomationApprovalOperation, type AutomationApprovalPreview, type AutomationApprovalPreviewKind, type AutomationApprovalPreviewOperation, type AutomationApprovalPreviewRow, type AutomationApprovalStatus, type AutomationMutationPolicy, type AutomationNotifyRule, type AutomationProposalPlugin, type AutomationProposalPreview, type AutomationRun, type AutomationRunStatus, type AutomationToolAllowRule, type AutomationTriggerType, type AutomationVisibility, type CreatedAutomationResult, DATA_PART_TYPES, type DataPart, type DataPartMessageType, type DataPartType, type SchemaChangePreviewSummary, dataPartSchema, errorSchema, isDataPartType };
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,13 @@ import { z } from "zod";
|
|
|
3
3
|
var errorSchema = z.object({
|
|
4
4
|
message: z.string()
|
|
5
5
|
});
|
|
6
|
+
var monitorEventSchema = z.object({
|
|
7
|
+
description: z.string(),
|
|
8
|
+
events: z.array(z.object({ createdAt: z.string(), id: z.string(), summary: z.string() })),
|
|
9
|
+
monitorId: z.string(),
|
|
10
|
+
/** Events this message carries, including any beyond the listed ones. */
|
|
11
|
+
total: z.number()
|
|
12
|
+
});
|
|
6
13
|
var dataPartSchema = z.object({
|
|
7
14
|
"plugin-connection": z.object({ pluginId: z.string(), connectionId: z.string().optional() }),
|
|
8
15
|
/** Lifecycle of one plugin tool call, so the UI can name the in-flight call in its status line. */
|
|
@@ -161,15 +168,19 @@ var dataPartSchema = z.object({
|
|
|
161
168
|
/**
|
|
162
169
|
* A message the user sent while the turn was running, at the point in the
|
|
163
170
|
* reply where the agent received it. The UI shows it there, in place of the
|
|
164
|
-
* stored user message it refers to.
|
|
171
|
+
* stored user message it refers to. `monitorEvent` is set when a monitor,
|
|
172
|
+
* not the user, sent it.
|
|
165
173
|
*/
|
|
166
174
|
"mid-turn-message": z.object({
|
|
167
175
|
attachments: z.array(
|
|
168
176
|
z.object({ filename: z.string(), mediaType: z.string(), sizeBytes: z.number(), url: z.string() })
|
|
169
177
|
),
|
|
170
178
|
messageId: z.string(),
|
|
179
|
+
monitorEvent: monitorEventSchema.optional(),
|
|
171
180
|
text: z.string()
|
|
172
|
-
})
|
|
181
|
+
}),
|
|
182
|
+
/** Events a chat monitor delivered, on the `monitor_event` message that carries them. */
|
|
183
|
+
"monitor-event": monitorEventSchema
|
|
173
184
|
});
|
|
174
185
|
var DATA_PART_TYPES = Object.keys(dataPartSchema.shape);
|
|
175
186
|
function isDataPartType(type) {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/data-parts.ts"],"sourcesContent":["import { z } from 'zod';\n\n/**\n * Custom `data-*` parts streamed by the Flexkit agent platform and rendered by\n * Studio. The server validates what it writes against these schemas and the\n * UI derives its part types from them, so the two can never drift.\n */\nexport const errorSchema = z.object({\n message: z.string(),\n});\n\nexport const dataPartSchema = z.object({\n 'plugin-connection': z.object({ pluginId: z.string(), connectionId: z.string().optional() }),\n /** Lifecycle of one plugin tool call, so the UI can name the in-flight call in its status line. */\n 'plugin-call': z.object({\n pluginId: z.string(),\n tool: z.string(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n /** Written when the chat history was summarized before or during a turn. */\n 'context-compaction': z.object({\n reason: z.enum(['threshold', 'context_length_error']),\n status: z.enum(['done']),\n summarizedMessageCount: z.number(),\n }),\n /** The agent's working plan; replaced in place as steps complete. */\n plan: z.object({\n explanation: z.string().optional(),\n steps: z.array(\n z.object({\n status: z.enum(['pending', 'in_progress', 'completed']),\n step: z.string(),\n })\n ),\n updatedAt: z.string(),\n }),\n /** A delegated subtask of an automation run. */\n subtask: z.object({\n error: errorSchema.optional(),\n resultPreview: z.string().optional(),\n status: z.enum(['running', 'done', 'error']),\n stepsUsed: z.number().optional(),\n subtaskId: z.string(),\n title: z.string(),\n }),\n /** json-render patch lines, extracted from the assistant text by the stream pipeline. */\n spec: z.union([\n z.object({\n type: z.literal('patch'),\n patch: z.unknown(),\n }),\n z.object({\n type: z.literal('flat'),\n spec: z.unknown(),\n }),\n z.object({\n type: z.literal('nested'),\n spec: z.unknown(),\n }),\n ]),\n 'create-sandbox': z.object({\n sandboxId: z.string().optional(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'generating-files': z.object({\n paths: z.array(z.string()),\n status: z.enum(['generating', 'uploading', 'uploaded', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'run-artifact': z.object({\n artifactId: z.string().optional(),\n contentType: z.string().optional(),\n error: errorSchema.optional(),\n filename: z.string(),\n kind: z.enum(['html', 'pdf']).optional(),\n sizeBytes: z.number().optional(),\n status: z.enum(['uploading', 'done', 'error']),\n /** Persistent public URL of the stored artifact. */\n url: z.string().optional(),\n }),\n 'run-command': z.object({\n sandboxId: z.string(),\n commandId: z.string().optional(),\n command: z.string(),\n args: z.array(z.string()),\n status: z.enum(['executing', 'running', 'waiting', 'done', 'error']),\n exitCode: z.number().optional(),\n error: errorSchema.optional(),\n }),\n 'search-schema': z.object({\n query: z.string().optional(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'web-search': z.object({\n query: z.string(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'tool-delivery': z.object({\n channelId: z.string(),\n channelName: z.string(),\n provider: z.enum(['slack', 'teams']),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'validate-graphql': z.object({\n status: z.enum(['loading', 'valid', 'invalid', 'error']),\n errorCount: z.number().optional(),\n error: errorSchema.optional(),\n }),\n 'execute-graphql': z.object({\n operationType: z.enum(['query', 'mutation']).optional(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n /** Emitted for proposals; the UI fetches the full proposal from the approvals API by id. */\n 'mutation-approval': z.object({\n approvalId: z.string(),\n affectedCount: z.number().nullable().optional(),\n decidedBy: z.string().optional(),\n operationsSummary: z.string(),\n reason: z.string().optional(),\n status: z.enum(['pending', 'approved', 'rejected', 'expired', 'cancelled', 'executed', 'error']),\n error: errorSchema.optional(),\n }),\n 'bulk-graphql-action': z.object({\n changedItems: z.number().optional(),\n failedItems: z.number().optional(),\n jobId: z.string().optional(),\n operationName: z.string(),\n processedItems: z.number().optional(),\n status: z.enum(['loading', 'running', 'done', 'error']),\n totalItems: z.number().optional(),\n error: errorSchema.optional(),\n }),\n 'update-memory': z.object({\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'load-skill': z.object({\n /** True for skills attached to the automation, injected at run start rather than loaded on demand. */\n attached: z.boolean().optional(),\n skillName: z.string().optional(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n /** Marker written by the run workflow for the trigger event so a run replays as a conversation. */\n 'user-message': z.object({\n parts: z.array(z.unknown()),\n }),\n /** Final report written by the run workflow when the agent finishes. */\n 'run-summary': z.object({\n status: z.enum(['success', 'skipped', 'failed']),\n summary: z.string(),\n }),\n /** A chat turn that ended with an error. */\n 'turn-error': z.object({\n message: z.string(),\n }),\n /** One follow-up instruction offered under a finished chat reply; clicking it fills the composer. */\n 'suggested-prompt': z.object({\n prompt: z.string(),\n }),\n /**\n * A message the user sent while the turn was running, at the point in the\n * reply where the agent received it. The UI shows it there, in place of the\n * stored user message it refers to.\n */\n 'mid-turn-message': z.object({\n attachments: z.array(\n z.object({ filename: z.string(), mediaType: z.string(), sizeBytes: z.number(), url: z.string() })\n ),\n messageId: z.string(),\n text: z.string(),\n }),\n});\n\nexport type DataPart = z.infer<typeof dataPartSchema>;\nexport type DataPartType = keyof DataPart;\n\nexport const DATA_PART_TYPES = Object.keys(dataPartSchema.shape) as DataPartType[];\n\nexport function isDataPartType(type: string): type is DataPartType {\n return (DATA_PART_TYPES as string[]).includes(type);\n}\n\n/** The `type` of a UI message part carrying this data part. */\nexport type DataPartMessageType = `data-${DataPartType}`;\n"],"mappings":";AAAA,SAAS,SAAS;AAOX,IAAM,cAAc,EAAE,OAAO;AAAA,EAClC,SAAS,EAAE,OAAO;AACpB,CAAC;AAEM,IAAM,iBAAiB,EAAE,OAAO;AAAA,EACrC,qBAAqB,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;AAAA;AAAA,EAE3F,eAAe,EAAE,OAAO;AAAA,IACtB,UAAU,EAAE,OAAO;AAAA,IACnB,MAAM,EAAE,OAAO;AAAA,IACf,QAAQ,EAAE,KAAK,CAAC,WAAW,QAAQ,OAAO,CAAC;AAAA,IAC3C,OAAO,YAAY,SAAS;AAAA,EAC9B,CAA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AA;AAAA;AAAA;AAAA;AAAA,EAMD,oBAAoB,EAAE,OAAO;AAAA,IAC3B,aAAa,EAAE;AAAA,MACb,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,WAAW,EAAE,OAAO,GAAG,WAAW,EAAE,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,CAAC;AAAA,IAClG;AAAA,IACA,WAAW,EAAE,OAAO;AAAA,IACpB,MAAM,EAAE,OAAO;AAAA,EACjB,CAAC;AACH,CAAC;AAKM,IAAM,kBAAkB,OAAO,KAAK,eAAe,KAAK;AAExD,SAAS,eAAe,MAAoC;AACjE,SAAQ,gBAA6B,SAAS,IAAI;AACpD;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/data-parts.ts"],"sourcesContent":["import { z } from 'zod';\n\n/**\n * Custom `data-*` parts streamed by the Flexkit agent platform and rendered by\n * Studio. The server validates what it writes against these schemas and the\n * UI derives its part types from them, so the two can never drift.\n */\nexport const errorSchema = z.object({\n message: z.string(),\n});\n\n/** A batch of one monitor's events as the chat card shows it; the model reads a text summary. */\nconst monitorEventSchema = z.object({\n description: z.string(),\n events: z.array(z.object({ createdAt: z.string(), id: z.string(), summary: z.string() })),\n monitorId: z.string(),\n /** Events this message carries, including any beyond the listed ones. */\n total: z.number(),\n});\n\nexport const dataPartSchema = z.object({\n 'plugin-connection': z.object({ pluginId: z.string(), connectionId: z.string().optional() }),\n /** Lifecycle of one plugin tool call, so the UI can name the in-flight call in its status line. */\n 'plugin-call': z.object({\n pluginId: z.string(),\n tool: z.string(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n /** Written when the chat history was summarized before or during a turn. */\n 'context-compaction': z.object({\n reason: z.enum(['threshold', 'context_length_error']),\n status: z.enum(['done']),\n summarizedMessageCount: z.number(),\n }),\n /** The agent's working plan; replaced in place as steps complete. */\n plan: z.object({\n explanation: z.string().optional(),\n steps: z.array(\n z.object({\n status: z.enum(['pending', 'in_progress', 'completed']),\n step: z.string(),\n })\n ),\n updatedAt: z.string(),\n }),\n /** A delegated subtask of an automation run. */\n subtask: z.object({\n error: errorSchema.optional(),\n resultPreview: z.string().optional(),\n status: z.enum(['running', 'done', 'error']),\n stepsUsed: z.number().optional(),\n subtaskId: z.string(),\n title: z.string(),\n }),\n /** json-render patch lines, extracted from the assistant text by the stream pipeline. */\n spec: z.union([\n z.object({\n type: z.literal('patch'),\n patch: z.unknown(),\n }),\n z.object({\n type: z.literal('flat'),\n spec: z.unknown(),\n }),\n z.object({\n type: z.literal('nested'),\n spec: z.unknown(),\n }),\n ]),\n 'create-sandbox': z.object({\n sandboxId: z.string().optional(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'generating-files': z.object({\n paths: z.array(z.string()),\n status: z.enum(['generating', 'uploading', 'uploaded', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'run-artifact': z.object({\n artifactId: z.string().optional(),\n contentType: z.string().optional(),\n error: errorSchema.optional(),\n filename: z.string(),\n kind: z.enum(['html', 'pdf']).optional(),\n sizeBytes: z.number().optional(),\n status: z.enum(['uploading', 'done', 'error']),\n /** Persistent public URL of the stored artifact. */\n url: z.string().optional(),\n }),\n 'run-command': z.object({\n sandboxId: z.string(),\n commandId: z.string().optional(),\n command: z.string(),\n args: z.array(z.string()),\n status: z.enum(['executing', 'running', 'waiting', 'done', 'error']),\n exitCode: z.number().optional(),\n error: errorSchema.optional(),\n }),\n 'search-schema': z.object({\n query: z.string().optional(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'web-search': z.object({\n query: z.string(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'tool-delivery': z.object({\n channelId: z.string(),\n channelName: z.string(),\n provider: z.enum(['slack', 'teams']),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'validate-graphql': z.object({\n status: z.enum(['loading', 'valid', 'invalid', 'error']),\n errorCount: z.number().optional(),\n error: errorSchema.optional(),\n }),\n 'execute-graphql': z.object({\n operationType: z.enum(['query', 'mutation']).optional(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n /** Emitted for proposals; the UI fetches the full proposal from the approvals API by id. */\n 'mutation-approval': z.object({\n approvalId: z.string(),\n affectedCount: z.number().nullable().optional(),\n decidedBy: z.string().optional(),\n operationsSummary: z.string(),\n reason: z.string().optional(),\n status: z.enum(['pending', 'approved', 'rejected', 'expired', 'cancelled', 'executed', 'error']),\n error: errorSchema.optional(),\n }),\n 'bulk-graphql-action': z.object({\n changedItems: z.number().optional(),\n failedItems: z.number().optional(),\n jobId: z.string().optional(),\n operationName: z.string(),\n processedItems: z.number().optional(),\n status: z.enum(['loading', 'running', 'done', 'error']),\n totalItems: z.number().optional(),\n error: errorSchema.optional(),\n }),\n 'update-memory': z.object({\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n 'load-skill': z.object({\n /** True for skills attached to the automation, injected at run start rather than loaded on demand. */\n attached: z.boolean().optional(),\n skillName: z.string().optional(),\n status: z.enum(['loading', 'done', 'error']),\n error: errorSchema.optional(),\n }),\n /** Marker written by the run workflow for the trigger event so a run replays as a conversation. */\n 'user-message': z.object({\n parts: z.array(z.unknown()),\n }),\n /** Final report written by the run workflow when the agent finishes. */\n 'run-summary': z.object({\n status: z.enum(['success', 'skipped', 'failed']),\n summary: z.string(),\n }),\n /** A chat turn that ended with an error. */\n 'turn-error': z.object({\n message: z.string(),\n }),\n /** One follow-up instruction offered under a finished chat reply; clicking it fills the composer. */\n 'suggested-prompt': z.object({\n prompt: z.string(),\n }),\n /**\n * A message the user sent while the turn was running, at the point in the\n * reply where the agent received it. The UI shows it there, in place of the\n * stored user message it refers to. `monitorEvent` is set when a monitor,\n * not the user, sent it.\n */\n 'mid-turn-message': z.object({\n attachments: z.array(\n z.object({ filename: z.string(), mediaType: z.string(), sizeBytes: z.number(), url: z.string() })\n ),\n messageId: z.string(),\n monitorEvent: monitorEventSchema.optional(),\n text: z.string(),\n }),\n /** Events a chat monitor delivered, on the `monitor_event` message that carries them. */\n 'monitor-event': monitorEventSchema,\n});\n\nexport type DataPart = z.infer<typeof dataPartSchema>;\nexport type DataPartType = keyof DataPart;\n\nexport const DATA_PART_TYPES = Object.keys(dataPartSchema.shape) as DataPartType[];\n\nexport function isDataPartType(type: string): type is DataPartType {\n return (DATA_PART_TYPES as string[]).includes(type);\n}\n\n/** The `type` of a UI message part carrying this data part. */\nexport type DataPartMessageType = `data-${DataPartType}`;\n"],"mappings":";AAAA,SAAS,SAAS;AAOX,IAAM,cAAc,EAAE,OAAO;AAAA,EAClC,SAAS,EAAE,OAAO;AACpB,CAAC;AAGD,IAAM,qBAAqB,EAAE,OAAO;AAAA,EAClC,aAAa,EAAE,OAAO;AAAA,EACtB,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,GAAG,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC;AAAA,EACxF,WAAW,EAAE,OAAO;AAAA;AAAA,EAEpB,OAAO,EAAE,OAAO;AAClB,CAAC;AAEM,IAAM,iBAAiB,EAAE,OAAO;AAAA,EACrC,qBAAqB,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;AAAA;AAAA,EAE3F,eAAe,EAAE,OAAO;AAAA,IACtB,UAAU,EAAE,OAAO;AAAA,IACnB,MAAM,EAAE,OAAO;AAAA,IACf,QAAQ,EAAE,KAAK,CAAC,WAAW,QAAQ,OAAO,CAAC;AAAA,IAC3C,OAAO,YAAY,SAAS;AAAA,EAC9B,CAAC;AAAA;AAAA,EAED,sBAAsB,EAAE,OAAO;AAAA,IAC7B,QAAQ,EAAE,KAAK,CAAC,aAAa,sBAAsB,CAAC;AAAA,IACpD,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC;AAAA,IACvB,wBAAw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