@xpert-ai/contracts 3.36.0 → 3.37.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.
Files changed (57) hide show
  1. package/index.cjs.js +818 -450
  2. package/index.esm.js +806 -451
  3. package/package.json +2 -2
  4. package/src/ai/agent-runtime.model.d.ts +2 -2
  5. package/src/ai/assistant-template-manifest.model.d.ts +328 -328
  6. package/src/ai/assistant-template-setup.model.d.ts +8 -8
  7. package/src/ai/chat-activity.model.d.ts +5 -0
  8. package/src/ai/chat.model.d.ts +2 -0
  9. package/src/ai/conversation-trail.model.d.ts +66 -66
  10. package/src/ai/execution-activity.model.d.ts +10 -10
  11. package/src/ai/execution-control-evidence.schema.d.ts +30 -30
  12. package/src/ai/execution-observability.model.d.ts +96 -96
  13. package/src/ai/mcp-execution-control.schema.d.ts +2 -2
  14. package/src/ai/model-replacement.model.d.ts +6 -6
  15. package/src/ai/project-pipeline/analytics.d.ts +154 -154
  16. package/src/ai/project-pipeline/budget.schema.d.ts +4 -4
  17. package/src/ai/project-pipeline/commands.schema.d.ts +68 -68
  18. package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +3815 -0
  19. package/src/ai/project-pipeline/configuration-form.d.ts +215 -215
  20. package/src/ai/project-pipeline/configuration.schema.d.ts +50 -50
  21. package/src/ai/project-pipeline/contribution.schema.d.ts +173 -70
  22. package/src/ai/project-pipeline/definition.schema.d.ts +50 -50
  23. package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
  24. package/src/ai/project-pipeline/graph.model.d.ts +2 -2
  25. package/src/ai/project-pipeline/index.d.ts +1 -0
  26. package/src/ai/project-pipeline/model-usage-statistics.d.ts +2 -2
  27. package/src/ai/project-pipeline/node.schema.d.ts +2 -2
  28. package/src/ai/project-pipeline/operation.schema.d.ts +344 -344
  29. package/src/ai/project-pipeline/portfolio.schema.d.ts +348 -348
  30. package/src/ai/project-pipeline/primitives.schema.d.ts +4 -4
  31. package/src/ai/project-pipeline/projection.schema.d.ts +260 -260
  32. package/src/ai/project-pipeline/provider-actions.schema.d.ts +28 -28
  33. package/src/ai/project-pipeline/queue-statistics.d.ts +24 -24
  34. package/src/ai/project-pipeline/runtime.schema.d.ts +50 -50
  35. package/src/ai/project-pipeline/statistics.d.ts +74 -74
  36. package/src/ai/project-task-runtime.model.d.ts +23 -23
  37. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  38. package/src/ai/template-installation.model.d.ts +16 -16
  39. package/src/ai/template-lifecycle.model.d.ts +2 -2
  40. package/src/ai/thread-control-view.schema.d.ts +4 -4
  41. package/src/ai/xpert-agent-execution.model.d.ts +29 -0
  42. package/src/ai/xpert-tool.model.d.ts +12 -0
  43. package/src/{agent-event.model.d.ts → always-on/agent-event.model.d.ts} +37 -4
  44. package/src/{agent-event.schema.d.ts → always-on/agent-event.schema.d.ts} +19 -0
  45. package/src/always-on/agent-output-reference.schema.d.ts +27 -0
  46. package/src/always-on/agent-output.model.d.ts +411 -0
  47. package/src/always-on/human-decision.model.d.ts +204 -0
  48. package/src/always-on/index.d.ts +3 -0
  49. package/src/always-on/output-workbench.schema.d.ts +154 -0
  50. package/src/analytics/analytics-diagnostic.d.ts +4 -4
  51. package/src/app-platform.d.ts +18 -18
  52. package/src/artifacts/artifact.model.d.ts +2 -0
  53. package/src/content/content-resource.model.d.ts +2 -1
  54. package/src/icon-definition.schema.d.ts +6 -10
  55. package/src/index.d.ts +1 -1
  56. package/src/secret-token.model.d.ts +4 -4
  57. package/src/user-notification.schema.d.ts +1290 -479
package/index.esm.js CHANGED
@@ -5,33 +5,33 @@ import { parseResourceCardContent, upsertResourceCardContent, parseFileActivityC
5
5
  export { createResourceCardContent, isResourceCardContent, parseResourceCard, parseResourceCardContent, resourceCardId, upsertResourceCardContent } from '@xpert-ai/chatkit-types';
6
6
  export { viewContextEventSchema } from './context-event.esm.js';
7
7
 
8
- var key$4 = z.string().min(1).max(256).refine(function(value) {
8
+ var key$6 = z.string().min(1).max(256).refine(function(value) {
9
9
  return !value.includes("\x00");
10
10
  });
11
- var agentEventRefSchema = z.object({
12
- kind: key$4,
13
- key: key$4
11
+ /** Validates the source-defined object identity carried in a subject or a handling result. */ var agentEventRefSchema = z.object({
12
+ kind: key$6,
13
+ key: key$6
14
14
  }).strict();
15
- var pluginAgentEventSchema = z.object({
16
- sourceEventId: key$4,
15
+ /** Validates the event envelope at inbox admission. The source retains the referenced business data. */ var pluginAgentEventSchema = z.object({
16
+ sourceEventId: key$6,
17
17
  bindingRevision: z.number().int().positive(),
18
- type: key$4,
18
+ type: key$6,
19
19
  schemaVersion: z.number().int().positive(),
20
20
  occurredAt: z.string().datetime({
21
21
  offset: true
22
22
  }),
23
23
  subject: agentEventRefSchema,
24
24
  fact: z.object({
25
- key: key$4,
26
- revision: key$4,
25
+ key: key$6,
26
+ revision: key$6,
27
27
  sha256: z.string().regex(/^[0-9a-f]{64}$/)
28
28
  }).strict()
29
29
  }).strict();
30
30
  var reasonCode = z.string().regex(/^[a-z][a-z0-9_]{0,79}$/);
31
- var agentEventDecisionSchema = z.discriminatedUnion("status", [
31
+ /** Accepts a completed source handler outcome for storage on the inbox receipt. */ var agentEventDecisionSchema = z.discriminatedUnion("status", [
32
32
  z.object({
33
33
  status: z.literal("handled"),
34
- operationKey: key$4,
34
+ operationKey: key$6,
35
35
  resultRef: agentEventRefSchema
36
36
  }).strict(),
37
37
  z.object({
@@ -44,9 +44,336 @@ var agentEventDecisionSchema = z.discriminatedUnion("status", [
44
44
  }).strict()
45
45
  ]);
46
46
 
47
- var EVENT_INBOX_FEATURE = "platform.event-inbox";
48
- var USER_EVENT_INBOX_SLOT = "user.event-inbox";
49
- var EVENT_INBOX_VIEW_KEY = "platform.event-inbox__inbox";
47
+ /** Host feature used to activate the assistant workbench inbox. */ var EVENT_INBOX_FEATURE = "platform.event-inbox";
48
+ /** Personal host slot for a user's inbox across assistants. */ var USER_EVENT_INBOX_SLOT = "user.event-inbox";
49
+ /** Built-in remote view shared by the assistant workbench and personal inbox entry points. */ var EVENT_INBOX_VIEW_KEY = "platform.event-inbox__inbox";
50
+
51
+ var label$3 = z.object({
52
+ en_US: z.string().trim().min(1).max(160),
53
+ zh_Hans: z.string().trim().min(1).max(160)
54
+ }).strict();
55
+ var outputFieldSchema = z.object({
56
+ label: label$3,
57
+ value: z.string().max(4000)
58
+ }).strict();
59
+ /** A source-owned business item and its location in an Assistant workbench. Handling is independent of notification read state. */ var outputWorkbenchSchema = z.object({
60
+ state: z.enum([
61
+ "pending",
62
+ "handled"
63
+ ]),
64
+ title: label$3,
65
+ openLabel: label$3,
66
+ viewKey: z.string().trim().min(1).max(256),
67
+ selectionId: z.string().trim().min(1).max(256)
68
+ }).strict();
69
+ var outputWorkbenchTargetSchema = outputWorkbenchSchema.extend({
70
+ assistantId: z.string().uuid(),
71
+ organizationId: z.string().uuid(),
72
+ projectId: z.string().uuid().nullable()
73
+ });
74
+
75
+ var key$5 = z.string().min(1).max(160);
76
+ /**
77
+ * Validates the immutable reference a source hands to the outbox. The key and revision use
78
+ * the source's vocabulary, such as a review run ID and its Git commit SHA.
79
+ */ var agentOutputReferenceSchema = z.object({
80
+ schemaVersion: z.literal(1),
81
+ kind: key$5,
82
+ key: key$5,
83
+ revision: key$5,
84
+ publishedAt: z.string().datetime(),
85
+ recipientId: z.string().uuid()
86
+ }).strict();
87
+
88
+ var uuid$2 = z.string().uuid();
89
+ var choice = z.string().regex(/^[a-z][a-z0-9_]{0,63}$/);
90
+ var label$2 = z.object({
91
+ en_US: z.string().min(1).max(100),
92
+ zh_Hans: z.string().min(1).max(100)
93
+ }).strict();
94
+ var requestVersion = z.number().int().positive();
95
+ var choices = z.array(z.object({
96
+ key: choice,
97
+ label: label$2,
98
+ replyCommand: z.string().trim().min(1).max(100).optional()
99
+ }).strict()).min(2).max(5).refine(function(options) {
100
+ var commands = options.flatMap(function(c) {
101
+ return c.replyCommand ? [
102
+ c.replyCommand
103
+ ] : [];
104
+ });
105
+ return new Set(options.map(function(c) {
106
+ return c.key;
107
+ })).size === options.length && new Set(commands).size === commands.length;
108
+ });
109
+ /** Validates the choices a source offers. Choice keys and direct-reply commands must each be unambiguous. */ var humanDecisionSchema = z.object({
110
+ type: z.literal("human_decision"),
111
+ schemaVersion: z.literal(1),
112
+ requestVersion: requestVersion,
113
+ choices: choices
114
+ }).strict();
115
+ /** Validates the submission shared by workbench actions and verified private-channel replies. */ var humanDecisionInputSchema = z.object({
116
+ schemaVersion: z.literal(1),
117
+ requestId: agentOutputReferenceSchema.shape.key,
118
+ sourceRevision: agentOutputReferenceSchema.shape.revision,
119
+ requestVersion: requestVersion,
120
+ choice: choice,
121
+ commandId: uuid$2
122
+ }).strict();
123
+ /** Outcomes the workbench and channels can report after a submission is evaluated. */ var humanDecisionStatusSchema = z.enum([
124
+ "recorded",
125
+ "already_recorded",
126
+ "conflicting_choice",
127
+ "stale",
128
+ "closed",
129
+ "forbidden"
130
+ ]);
131
+ /** Submission outcomes that can replace the actionable controls on the original private card. */ var privateDecisionFeedbackStatusSchema = humanDecisionStatusSchema.extract([
132
+ "recorded",
133
+ "already_recorded",
134
+ "stale",
135
+ "closed"
136
+ ]);
137
+ /** Accepts a button callback or a reply quoting a specific message, together with its sender and chat. */ var privateDecisionReplySchema = z.object({
138
+ parentId: z.string().min(1).max(256),
139
+ chatId: z.string().min(1).max(256),
140
+ openId: z.string().min(1).max(256),
141
+ unionId: z.string().min(1).max(256).optional(),
142
+ input: z.discriminatedUnion("type", [
143
+ z.object({
144
+ type: z.literal("button"),
145
+ interactionId: uuid$2,
146
+ choice: choice
147
+ }).strict(),
148
+ z.object({
149
+ type: z.literal("quoted_text"),
150
+ text: z.string().min(1).max(100)
151
+ }).strict()
152
+ ])
153
+ }).strict();
154
+
155
+ // Application types are independent of delivery channels and external account identities.
156
+ var notificationClientSchema = z.enum([
157
+ "web",
158
+ "desktop"
159
+ ]);
160
+ var announcementActionSchema = z.object({
161
+ type: z.literal("link"),
162
+ label: z.string().trim().min(1).max(80),
163
+ url: z.string().url().max(2048).refine(function(url) {
164
+ return /^https:\/\//i.test(url);
165
+ })
166
+ }).strict();
167
+ var announcementContentSchema = z.object({
168
+ title: z.string().trim().min(1).max(160),
169
+ body: z.string().trim().min(1).max(20000),
170
+ category: z.enum([
171
+ "general",
172
+ "maintenance",
173
+ "model_retirement"
174
+ ]).default("general"),
175
+ severity: z.enum([
176
+ "info",
177
+ "important"
178
+ ]).default("info"),
179
+ clients: z.array(notificationClientSchema).min(1).max(2).refine(function(items) {
180
+ return new Set(items).size === items.length;
181
+ }),
182
+ startsAt: z.string().datetime({
183
+ offset: true
184
+ }),
185
+ expiresAt: z.string().datetime({
186
+ offset: true
187
+ }).nullable().default(null),
188
+ action: announcementActionSchema.nullable().default(null)
189
+ }).strict();
190
+ var createAnnouncementSchema = announcementContentSchema.refine(function(input) {
191
+ return !input.expiresAt || Date.parse(input.expiresAt) > Date.parse(input.startsAt);
192
+ }, {
193
+ path: [
194
+ "expiresAt"
195
+ ],
196
+ message: "Expiry must follow start"
197
+ });
198
+ var updateAnnouncementSchema = announcementContentSchema.extend({
199
+ revision: z.number().int().positive()
200
+ }).refine(function(input) {
201
+ return !input.expiresAt || Date.parse(input.expiresAt) > Date.parse(input.startsAt);
202
+ }, {
203
+ path: [
204
+ "expiresAt"
205
+ ]
206
+ });
207
+ var announcementRevisionSchema = z.object({
208
+ revision: z.number().int().positive()
209
+ }).strict();
210
+ var announcementSchema = announcementContentSchema.extend({
211
+ id: z.string().uuid(),
212
+ status: z.enum([
213
+ "draft",
214
+ "published",
215
+ "withdrawn"
216
+ ]),
217
+ revision: z.number().int().positive(),
218
+ createdAt: z.string().datetime({
219
+ offset: true
220
+ }),
221
+ dismissedAt: z.string().datetime({
222
+ offset: true
223
+ }).nullable().default(null)
224
+ });
225
+ var notificationSourceSchema = z.object({
226
+ type: z.literal("scheduled_task"),
227
+ taskId: z.string().uuid(),
228
+ executionId: z.string().uuid(),
229
+ assistantId: z.string().uuid(),
230
+ conversationId: z.string().uuid()
231
+ }).strict();
232
+ var scheduledNotificationOriginSchema = notificationSourceSchema.extend({
233
+ threadId: z.string().uuid().optional()
234
+ });
235
+ var notificationThreadIdSchema = z.string().trim().min(1).max(128);
236
+ var openConversationActionSchema = z.object({
237
+ type: z.literal("open_conversation"),
238
+ assistantId: z.string().uuid(),
239
+ conversationId: z.string().uuid(),
240
+ threadId: notificationThreadIdSchema.nullable()
241
+ }).strict();
242
+ var taskNotificationSchema = z.object({
243
+ id: z.string().uuid(),
244
+ kind: z.literal("agent.completed"),
245
+ source: notificationSourceSchema,
246
+ createdAt: z.string().datetime({
247
+ offset: true
248
+ }),
249
+ readAt: z.string().datetime({
250
+ offset: true
251
+ }).nullable(),
252
+ action: openConversationActionSchema
253
+ }).strict();
254
+ var agentOutputOriginSchema = z.object({
255
+ type: z.literal("agent_output"),
256
+ deliveryId: z.string().uuid()
257
+ }).strict();
258
+ var outputNotificationSchema = taskNotificationSchema.extend({
259
+ kind: z.literal("agent.output"),
260
+ source: agentOutputOriginSchema,
261
+ items: z.array(z.object({
262
+ id: z.string().uuid(),
263
+ title: z.string().min(1).max(240),
264
+ action: openConversationActionSchema.nullable(),
265
+ fields: z.array(outputFieldSchema).max(20).optional(),
266
+ workbench: outputWorkbenchTargetSchema.optional()
267
+ }).strict()).max(20).optional(),
268
+ titles: z.array(z.string().min(1).max(240)).min(1).max(20),
269
+ action: openConversationActionSchema.nullable()
270
+ });
271
+ var userNotificationSchema = z.discriminatedUnion("kind", [
272
+ taskNotificationSchema,
273
+ outputNotificationSchema
274
+ ]);
275
+ var notificationSnapshotSchema = z.object({
276
+ supported: z.literal(true),
277
+ version: z.string(),
278
+ announcements: z.array(announcementSchema),
279
+ notifications: z.array(userNotificationSchema),
280
+ hasMoreAnnouncements: z.boolean(),
281
+ hasMoreNotifications: z.boolean()
282
+ }).strict();
283
+ var notificationChangeSchema = z.object({
284
+ schemaVersion: z.literal(1),
285
+ type: z.literal("sync.required"),
286
+ eventId: z.string().uuid()
287
+ }).strict();
288
+ var notificationOutboxPayloadSchema = z.discriminatedUnion("type", [
289
+ z.object({
290
+ type: z.literal("changed")
291
+ }).strict(),
292
+ z.object({
293
+ type: z.literal("agent.output.dispatch"),
294
+ deliveryId: z.string().uuid()
295
+ }).strict(),
296
+ z.object({
297
+ type: z.literal("announcement.scheduled"),
298
+ announcementId: z.string().uuid(),
299
+ revision: z.number().int().positive(),
300
+ phase: z.enum([
301
+ "start",
302
+ "expiry"
303
+ ])
304
+ }).strict(),
305
+ z.object({
306
+ type: z.literal("agent.completed"),
307
+ source: scheduledNotificationOriginSchema
308
+ }).strict()
309
+ ]);
310
+ // The contracts declaration build uses strictNullChecks=false, which makes Zod's emitted
311
+ // object outputs optional. These boundaries validate every required field before narrowing.
312
+ function parseAnnouncement(value) {
313
+ return announcementSchema.parse(value);
314
+ }
315
+ function parseOpenConversationAction(value) {
316
+ return openConversationActionSchema.parse(value);
317
+ }
318
+ function parseUserNotification(value) {
319
+ return userNotificationSchema.parse(value);
320
+ }
321
+ function parseNotificationSnapshot(value) {
322
+ return notificationSnapshotSchema.parse(value);
323
+ }
324
+
325
+ /** HTTP Accept profile for notification clients that can display agent outputs in list and sync responses. */ var AGENT_OUTPUT_ACCEPT = 'application/json; profile="xpert-agent-output-v1"';
326
+ var key$4 = agentOutputReferenceSchema.shape.key;
327
+ var uuid$1 = z.string().uuid();
328
+ var hhmm = z.string().regex(/^([01][0-9]|2[0-3]):[0-5][0-9]$/);
329
+ /** Validates the local delivery window against its time zone, including windows that span midnight. */ var outputQuietHoursSchema = z.object({
330
+ zone: z.string().max(100).refine(function(value) {
331
+ try {
332
+ new Intl.DateTimeFormat("en", {
333
+ timeZone: value
334
+ });
335
+ return true;
336
+ } catch (e) {
337
+ return false;
338
+ }
339
+ }),
340
+ start: hhmm,
341
+ end: hhmm
342
+ }).strict().refine(function(value) {
343
+ return value.start !== value.end;
344
+ });
345
+ /** Validates per-channel settings. Enabling private Lark delivery requires a selected integration. */ var outputPreferenceSchema = z.object({
346
+ kind: key$4,
347
+ channel: z.enum([
348
+ "in_app",
349
+ "lark"
350
+ ]),
351
+ enabled: z.boolean(),
352
+ integrationId: uuid$1.nullable(),
353
+ quiet: outputQuietHoursSchema.nullable()
354
+ }).strict().refine(function(v) {
355
+ return v.channel === "lark" ? !v.enabled || !!v.integrationId : v.integrationId === null;
356
+ });
357
+ /** Validates the source's current visibility outcome and the content it permits the recipient to see. */ var agentOutputPresentationSchema = z.discriminatedUnion("status", [
358
+ z.object({
359
+ status: z.literal("visible"),
360
+ title: z.string().trim().min(1).max(240),
361
+ decision: humanDecisionSchema.optional(),
362
+ workbench: outputWorkbenchSchema.optional(),
363
+ fields: z.array(outputFieldSchema).max(20).optional(),
364
+ conversation: z.object({
365
+ conversationId: uuid$1,
366
+ threadId: notificationThreadIdSchema.optional()
367
+ }).strict().optional().catch(undefined)
368
+ }).strict(),
369
+ z.object({
370
+ status: z.enum([
371
+ "superseded",
372
+ "forbidden",
373
+ "unavailable"
374
+ ])
375
+ }).strict()
376
+ ]);
50
377
 
51
378
  var AiModelTypeEnum;
52
379
  (function(AiModelTypeEnum) {
@@ -62,7 +389,7 @@ var AiModelTypeEnum;
62
389
  AiModelTypeEnum["VIDEO"] = "video";
63
390
  })(AiModelTypeEnum || (AiModelTypeEnum = {}));
64
391
 
65
- function _define_property$t(obj, key, value) {
392
+ function _define_property$u(obj, key, value) {
66
393
  if (key in obj) {
67
394
  Object.defineProperty(obj, key, {
68
395
  value: value,
@@ -75,7 +402,7 @@ function _define_property$t(obj, key, value) {
75
402
  }
76
403
  return obj;
77
404
  }
78
- function _object_spread$t(target) {
405
+ function _object_spread$u(target) {
79
406
  for(var i = 1; i < arguments.length; i++){
80
407
  var source = arguments[i] != null ? arguments[i] : {};
81
408
  var ownKeys = Object.keys(source);
@@ -85,12 +412,12 @@ function _object_spread$t(target) {
85
412
  }));
86
413
  }
87
414
  ownKeys.forEach(function(key) {
88
- _define_property$t(target, key, source[key]);
415
+ _define_property$u(target, key, source[key]);
89
416
  });
90
417
  }
91
418
  return target;
92
419
  }
93
- function ownKeys$m(object, enumerableOnly) {
420
+ function ownKeys$n(object, enumerableOnly) {
94
421
  var keys = Object.keys(object);
95
422
  if (Object.getOwnPropertySymbols) {
96
423
  var symbols = Object.getOwnPropertySymbols(object);
@@ -98,12 +425,12 @@ function ownKeys$m(object, enumerableOnly) {
98
425
  }
99
426
  return keys;
100
427
  }
101
- function _object_spread_props$m(target, source) {
428
+ function _object_spread_props$n(target, source) {
102
429
  source = source != null ? source : {};
103
430
  if (Object.getOwnPropertyDescriptors) {
104
431
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
105
432
  } else {
106
- ownKeys$m(Object(source)).forEach(function(key) {
433
+ ownKeys$n(Object(source)).forEach(function(key) {
107
434
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
108
435
  });
109
436
  }
@@ -126,7 +453,7 @@ var appPlatformAppSchema = z.object({
126
453
  configurationRef: key$3,
127
454
  dependsOn: z.array(key$3).max(32).default([])
128
455
  }).strict().transform(function(app) {
129
- return _object_spread_props$m(_object_spread$t({}, app), {
456
+ return _object_spread_props$n(_object_spread$u({}, app), {
130
457
  key: app.key,
131
458
  required: app.required,
132
459
  configurationRef: app.configurationRef,
@@ -1797,7 +2124,7 @@ var OrganizationDemoNetworkEnum;
1797
2124
  resourceType: "conversation_snapshot"
1798
2125
  };
1799
2126
 
1800
- function _define_property$s(obj, key, value) {
2127
+ function _define_property$t(obj, key, value) {
1801
2128
  if (key in obj) {
1802
2129
  Object.defineProperty(obj, key, {
1803
2130
  value: value,
@@ -1810,7 +2137,7 @@ function _define_property$s(obj, key, value) {
1810
2137
  }
1811
2138
  return obj;
1812
2139
  }
1813
- function _object_spread$s(target) {
2140
+ function _object_spread$t(target) {
1814
2141
  for(var i = 1; i < arguments.length; i++){
1815
2142
  var source = arguments[i] != null ? arguments[i] : {};
1816
2143
  var ownKeys = Object.keys(source);
@@ -1820,12 +2147,12 @@ function _object_spread$s(target) {
1820
2147
  }));
1821
2148
  }
1822
2149
  ownKeys.forEach(function(key) {
1823
- _define_property$s(target, key, source[key]);
2150
+ _define_property$t(target, key, source[key]);
1824
2151
  });
1825
2152
  }
1826
2153
  return target;
1827
2154
  }
1828
- function ownKeys$l(object, enumerableOnly) {
2155
+ function ownKeys$m(object, enumerableOnly) {
1829
2156
  var keys = Object.keys(object);
1830
2157
  if (Object.getOwnPropertySymbols) {
1831
2158
  var symbols = Object.getOwnPropertySymbols(object);
@@ -1833,12 +2160,12 @@ function ownKeys$l(object, enumerableOnly) {
1833
2160
  }
1834
2161
  return keys;
1835
2162
  }
1836
- function _object_spread_props$l(target, source) {
2163
+ function _object_spread_props$m(target, source) {
1837
2164
  source = source != null ? source : {};
1838
2165
  if (Object.getOwnPropertyDescriptors) {
1839
2166
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
1840
2167
  } else {
1841
- ownKeys$l(Object(source)).forEach(function(key) {
2168
+ ownKeys$m(Object(source)).forEach(function(key) {
1842
2169
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
1843
2170
  });
1844
2171
  }
@@ -1866,7 +2193,7 @@ function parseSelectionSet(value) {
1866
2193
  if (plugins !== undefined && (!isObject(plugins) || !("nodeKeys" in plugins) || !isStringList(plugins.nodeKeys))) return null;
1867
2194
  if (subAgents !== undefined && (!isObject(subAgents) || !("nodeKeys" in subAgents) || !isStringList(subAgents.nodeKeys))) return null;
1868
2195
  if (connectors !== undefined && (!isObject(connectors) || !("bindingIds" in connectors) || !isStringList(connectors.bindingIds))) return null;
1869
- return _object_spread$s(_object_spread_props$l(_object_spread$s({}, value), {
2196
+ return _object_spread$t(_object_spread_props$m(_object_spread$t({}, value), {
1870
2197
  skills: skills === undefined ? {
1871
2198
  ids: []
1872
2199
  } : skills,
@@ -1885,7 +2212,7 @@ function parsePromptCapabilitySelection(value) {
1885
2212
  var selection = parseSelectionSet(value);
1886
2213
  var recommended = "recommended" in value && value.recommended != null ? parseSelectionSet(value.recommended) : undefined;
1887
2214
  if (!selection || recommended === null) return null;
1888
- return _object_spread$s(_object_spread_props$l(_object_spread$s({}, selection), {
2215
+ return _object_spread$t(_object_spread_props$m(_object_spread$t({}, selection), {
1889
2216
  mode: "allowlist"
1890
2217
  }), "inheritUnselected" in value && typeof value.inheritUnselected === "boolean" ? {
1891
2218
  inheritUnselected: value.inheritUnselected
@@ -1937,7 +2264,7 @@ function parsePromptCapabilityConfig(value) {
1937
2264
  }
1938
2265
  }
1939
2266
  }
1940
- return _object_spread_props$l(_object_spread$s({}, value), {
2267
+ return _object_spread_props$m(_object_spread$t({}, value), {
1941
2268
  type: "expert_scoped_capabilities",
1942
2269
  version: 1,
1943
2270
  defaults: defaults,
@@ -2069,7 +2396,7 @@ var ChatMessageStepCategory;
2069
2396
  ChatMessageStepCategory["Knowledges"] = "knowledges";
2070
2397
  })(ChatMessageStepCategory || (ChatMessageStepCategory = {}));
2071
2398
 
2072
- function _define_property$r(obj, key, value) {
2399
+ function _define_property$s(obj, key, value) {
2073
2400
  if (key in obj) {
2074
2401
  Object.defineProperty(obj, key, {
2075
2402
  value: value,
@@ -2089,7 +2416,7 @@ function _instanceof$1(left, right) {
2089
2416
  return left instanceof right;
2090
2417
  }
2091
2418
  }
2092
- function _object_spread$r(target) {
2419
+ function _object_spread$s(target) {
2093
2420
  for(var i = 1; i < arguments.length; i++){
2094
2421
  var source = arguments[i] != null ? arguments[i] : {};
2095
2422
  var ownKeys = Object.keys(source);
@@ -2099,7 +2426,7 @@ function _object_spread$r(target) {
2099
2426
  }));
2100
2427
  }
2101
2428
  ownKeys.forEach(function(key) {
2102
- _define_property$r(target, key, source[key]);
2429
+ _define_property$s(target, key, source[key]);
2103
2430
  });
2104
2431
  }
2105
2432
  return target;
@@ -2110,12 +2437,12 @@ var CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY = "conversation_title_summary";
2110
2437
  var CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED = "thread_goal_updated";
2111
2438
  var CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED = "thread_goal_cleared";
2112
2439
  function createConversationTitleSummaryEvent(event) {
2113
- return _object_spread$r({
2440
+ return _object_spread$s({
2114
2441
  type: CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY
2115
2442
  }, event);
2116
2443
  }
2117
2444
  function createFollowUpConsumedEvent(event) {
2118
- return _object_spread$r({
2445
+ return _object_spread$s({
2119
2446
  type: CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED
2120
2447
  }, event);
2121
2448
  }
@@ -2161,7 +2488,7 @@ function _array_with_holes$j(arr) {
2161
2488
  function _array_without_holes$j(arr) {
2162
2489
  if (Array.isArray(arr)) return _array_like_to_array$w(arr);
2163
2490
  }
2164
- function _define_property$q(obj, key, value) {
2491
+ function _define_property$r(obj, key, value) {
2165
2492
  if (key in obj) {
2166
2493
  Object.defineProperty(obj, key, {
2167
2494
  value: value,
@@ -2207,7 +2534,7 @@ function _non_iterable_rest$j() {
2207
2534
  function _non_iterable_spread$j() {
2208
2535
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2209
2536
  }
2210
- function _object_spread$q(target) {
2537
+ function _object_spread$r(target) {
2211
2538
  for(var i = 1; i < arguments.length; i++){
2212
2539
  var source = arguments[i] != null ? arguments[i] : {};
2213
2540
  var ownKeys = Object.keys(source);
@@ -2217,12 +2544,12 @@ function _object_spread$q(target) {
2217
2544
  }));
2218
2545
  }
2219
2546
  ownKeys.forEach(function(key) {
2220
- _define_property$q(target, key, source[key]);
2547
+ _define_property$r(target, key, source[key]);
2221
2548
  });
2222
2549
  }
2223
2550
  return target;
2224
2551
  }
2225
- function ownKeys$k(object, enumerableOnly) {
2552
+ function ownKeys$l(object, enumerableOnly) {
2226
2553
  var keys = Object.keys(object);
2227
2554
  if (Object.getOwnPropertySymbols) {
2228
2555
  var symbols = Object.getOwnPropertySymbols(object);
@@ -2230,12 +2557,12 @@ function ownKeys$k(object, enumerableOnly) {
2230
2557
  }
2231
2558
  return keys;
2232
2559
  }
2233
- function _object_spread_props$k(target, source) {
2560
+ function _object_spread_props$l(target, source) {
2234
2561
  source = source != null ? source : {};
2235
2562
  if (Object.getOwnPropertyDescriptors) {
2236
2563
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2237
2564
  } else {
2238
- ownKeys$k(Object(source)).forEach(function(key) {
2565
+ ownKeys$l(Object(source)).forEach(function(key) {
2239
2566
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2240
2567
  });
2241
2568
  }
@@ -2354,7 +2681,7 @@ function normalizeAssistantBindingToolPreferences(value) {
2354
2681
  if (!Object.keys(toolsets).length && !Object.keys(middlewares).length && !Object.keys(skills).length) {
2355
2682
  return null;
2356
2683
  }
2357
- return _object_spread$q({
2684
+ return _object_spread$r({
2358
2685
  version: 1
2359
2686
  }, Object.keys(toolsets).length ? {
2360
2687
  toolsets: toolsets
@@ -2432,8 +2759,8 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
2432
2759
  }) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$j(disabledTools).concat([
2433
2760
  normalizedToolName
2434
2761
  ]));
2435
- var toolsets = normalizedPreferences.toolsets ? _object_spread$q({}, normalizedPreferences.toolsets) : undefined;
2436
- var middlewares = normalizedPreferences.middlewares ? _object_spread$q({}, normalizedPreferences.middlewares) : undefined;
2762
+ var toolsets = normalizedPreferences.toolsets ? _object_spread$r({}, normalizedPreferences.toolsets) : undefined;
2763
+ var middlewares = normalizedPreferences.middlewares ? _object_spread$r({}, normalizedPreferences.middlewares) : undefined;
2437
2764
  if (sourceType === "toolset") {
2438
2765
  var toolsetName = "toolsetName" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.toolsetName) : "";
2439
2766
  if (!toolsetName) {
@@ -2449,14 +2776,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
2449
2776
  } else {
2450
2777
  delete nextToolsets[normalizedNodeKey];
2451
2778
  }
2452
- return normalizeAssistantBindingToolPreferences(_object_spread$q({
2779
+ return normalizeAssistantBindingToolPreferences(_object_spread$r({
2453
2780
  version: 1
2454
2781
  }, Object.keys(nextToolsets).length ? {
2455
2782
  toolsets: nextToolsets
2456
2783
  } : {}, middlewares && Object.keys(middlewares).length ? {
2457
2784
  middlewares: middlewares
2458
2785
  } : {}, normalizedPreferences.skills ? {
2459
- skills: _object_spread$q({}, normalizedPreferences.skills)
2786
+ skills: _object_spread$r({}, normalizedPreferences.skills)
2460
2787
  } : {}));
2461
2788
  }
2462
2789
  var provider = "provider" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.provider) : "";
@@ -2472,14 +2799,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
2472
2799
  } else {
2473
2800
  delete nextMiddlewares[normalizedNodeKey];
2474
2801
  }
2475
- return normalizeAssistantBindingToolPreferences(_object_spread$q({
2802
+ return normalizeAssistantBindingToolPreferences(_object_spread$r({
2476
2803
  version: 1
2477
2804
  }, toolsets && Object.keys(toolsets).length ? {
2478
2805
  toolsets: toolsets
2479
2806
  } : {}, Object.keys(nextMiddlewares).length ? {
2480
2807
  middlewares: nextMiddlewares
2481
2808
  } : {}, normalizedPreferences.skills ? {
2482
- skills: _object_spread$q({}, normalizedPreferences.skills)
2809
+ skills: _object_spread$r({}, normalizedPreferences.skills)
2483
2810
  } : {}));
2484
2811
  }
2485
2812
  function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillId, enabled) {
@@ -2497,7 +2824,7 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
2497
2824
  }) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$j(disabledSkillIds).concat([
2498
2825
  normalizedSkillId
2499
2826
  ]));
2500
- var skills = normalizedPreferences.skills ? _object_spread$q({}, normalizedPreferences.skills) : {};
2827
+ var skills = normalizedPreferences.skills ? _object_spread$r({}, normalizedPreferences.skills) : {};
2501
2828
  if (nextDisabledSkillIds.length) {
2502
2829
  skills[normalizedWorkspaceId] = {
2503
2830
  workspaceId: normalizedWorkspaceId,
@@ -2506,12 +2833,12 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
2506
2833
  } else {
2507
2834
  delete skills[normalizedWorkspaceId];
2508
2835
  }
2509
- return normalizeAssistantBindingToolPreferences(_object_spread$q({
2836
+ return normalizeAssistantBindingToolPreferences(_object_spread$r({
2510
2837
  version: 1
2511
2838
  }, normalizedPreferences.toolsets ? {
2512
- toolsets: _object_spread$q({}, normalizedPreferences.toolsets)
2839
+ toolsets: _object_spread$r({}, normalizedPreferences.toolsets)
2513
2840
  } : {}, normalizedPreferences.middlewares ? {
2514
- middlewares: _object_spread$q({}, normalizedPreferences.middlewares)
2841
+ middlewares: _object_spread$r({}, normalizedPreferences.middlewares)
2515
2842
  } : {}, Object.keys(skills).length ? {
2516
2843
  skills: skills
2517
2844
  } : {}));
@@ -2529,14 +2856,14 @@ function ensureAssistantBindingSkillWorkspacePreference(preferences, workspaceId
2529
2856
  var currentSkills = (_normalizedPreferences_skills = normalizedPreferences.skills) !== null && _normalizedPreferences_skills !== void 0 ? _normalizedPreferences_skills : {};
2530
2857
  var currentWorkspacePreference = currentSkills[normalizedWorkspaceId];
2531
2858
  var _currentWorkspacePreference_disabledSkillIds;
2532
- return _object_spread_props$k(_object_spread$q({
2859
+ return _object_spread_props$l(_object_spread$r({
2533
2860
  version: 1
2534
2861
  }, normalizedPreferences.toolsets ? {
2535
- toolsets: _object_spread$q({}, normalizedPreferences.toolsets)
2862
+ toolsets: _object_spread$r({}, normalizedPreferences.toolsets)
2536
2863
  } : {}, normalizedPreferences.middlewares ? {
2537
- middlewares: _object_spread$q({}, normalizedPreferences.middlewares)
2864
+ middlewares: _object_spread$r({}, normalizedPreferences.middlewares)
2538
2865
  } : {}), {
2539
- skills: _object_spread_props$k(_object_spread$q({}, currentSkills), _define_property$q({}, normalizedWorkspaceId, {
2866
+ skills: _object_spread_props$l(_object_spread$r({}, currentSkills), _define_property$r({}, normalizedWorkspaceId, {
2540
2867
  workspaceId: normalizeAssistantBindingPreferenceKey(currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.workspaceId) || normalizedWorkspaceId,
2541
2868
  disabledSkillIds: (_currentWorkspacePreference_disabledSkillIds = currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.disabledSkillIds) !== null && _currentWorkspacePreference_disabledSkillIds !== void 0 ? _currentWorkspacePreference_disabledSkillIds : []
2542
2869
  }))
@@ -2868,7 +3195,7 @@ function _array_like_to_array$t(arr, len) {
2868
3195
  function _array_without_holes$h(arr) {
2869
3196
  if (Array.isArray(arr)) return _array_like_to_array$t(arr);
2870
3197
  }
2871
- function _define_property$p(obj, key, value) {
3198
+ function _define_property$q(obj, key, value) {
2872
3199
  if (key in obj) {
2873
3200
  Object.defineProperty(obj, key, {
2874
3201
  value: value,
@@ -2887,7 +3214,7 @@ function _iterable_to_array$j(iter) {
2887
3214
  function _non_iterable_spread$h() {
2888
3215
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2889
3216
  }
2890
- function _object_spread$p(target) {
3217
+ function _object_spread$q(target) {
2891
3218
  for(var i = 1; i < arguments.length; i++){
2892
3219
  var source = arguments[i] != null ? arguments[i] : {};
2893
3220
  var ownKeys = Object.keys(source);
@@ -2897,12 +3224,12 @@ function _object_spread$p(target) {
2897
3224
  }));
2898
3225
  }
2899
3226
  ownKeys.forEach(function(key) {
2900
- _define_property$p(target, key, source[key]);
3227
+ _define_property$q(target, key, source[key]);
2901
3228
  });
2902
3229
  }
2903
3230
  return target;
2904
3231
  }
2905
- function ownKeys$j(object, enumerableOnly) {
3232
+ function ownKeys$k(object, enumerableOnly) {
2906
3233
  var keys = Object.keys(object);
2907
3234
  if (Object.getOwnPropertySymbols) {
2908
3235
  var symbols = Object.getOwnPropertySymbols(object);
@@ -2910,12 +3237,12 @@ function ownKeys$j(object, enumerableOnly) {
2910
3237
  }
2911
3238
  return keys;
2912
3239
  }
2913
- function _object_spread_props$j(target, source) {
3240
+ function _object_spread_props$k(target, source) {
2914
3241
  source = source != null ? source : {};
2915
3242
  if (Object.getOwnPropertyDescriptors) {
2916
3243
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2917
3244
  } else {
2918
- ownKeys$j(Object(source)).forEach(function(key) {
3245
+ ownKeys$k(Object(source)).forEach(function(key) {
2919
3246
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2920
3247
  });
2921
3248
  }
@@ -2944,20 +3271,20 @@ var common$1 = {
2944
3271
  maxConcurrency: positiveInteger.max(1000)
2945
3272
  };
2946
3273
  /** Saved model configuration is explicit; name heuristics are only discovery suggestions. */ var modelConfigurationSchema = z$1.discriminatedUnion("modelType", [
2947
- z$1.object(_object_spread_props$j(_object_spread$p({
3274
+ z$1.object(_object_spread_props$k(_object_spread$q({
2948
3275
  modelType: z$1.literal(AiModelTypeEnum.LLM)
2949
3276
  }, common$1), {
2950
3277
  maxOutputTokens: positiveInteger,
2951
3278
  defaultMaxTokens: positiveInteger,
2952
3279
  features: z$1.array(z$1.nativeEnum(ModelFeature)).max(20)
2953
3280
  })).strict(),
2954
- z$1.object(_object_spread_props$j(_object_spread$p({
3281
+ z$1.object(_object_spread_props$k(_object_spread$q({
2955
3282
  modelType: z$1.literal(AiModelTypeEnum.TEXT_EMBEDDING)
2956
3283
  }, common$1), {
2957
3284
  dimensions: positiveInteger.optional(),
2958
3285
  batchSize: positiveInteger.max(2048)
2959
3286
  })).strict(),
2960
- z$1.object(_object_spread$p({
3287
+ z$1.object(_object_spread$q({
2961
3288
  modelType: z$1.literal(AiModelTypeEnum.RERANK)
2962
3289
  }, common$1)).strict()
2963
3290
  ]).superRefine(function(value, ctx) {
@@ -2989,7 +3316,7 @@ function defaultModelConfiguration(modelType) {
2989
3316
  };
2990
3317
  switch(modelType){
2991
3318
  case AiModelTypeEnum.LLM:
2992
- return _object_spread_props$j(_object_spread$p({
3319
+ return _object_spread_props$k(_object_spread$q({
2993
3320
  modelType: modelType
2994
3321
  }, common), {
2995
3322
  maxOutputTokens: 2048,
@@ -2997,13 +3324,13 @@ function defaultModelConfiguration(modelType) {
2997
3324
  features: []
2998
3325
  });
2999
3326
  case AiModelTypeEnum.TEXT_EMBEDDING:
3000
- return _object_spread_props$j(_object_spread$p({
3327
+ return _object_spread_props$k(_object_spread$q({
3001
3328
  modelType: modelType
3002
3329
  }, common), {
3003
3330
  batchSize: DEFAULT_EMBEDDING_BATCH_SIZE
3004
3331
  });
3005
3332
  case AiModelTypeEnum.RERANK:
3006
- return _object_spread$p({
3333
+ return _object_spread$q({
3007
3334
  modelType: modelType
3008
3335
  }, common);
3009
3336
  }
@@ -3613,7 +3940,7 @@ function workflowNodeIdentifier(node) {
3613
3940
  return node.title || node.key;
3614
3941
  }
3615
3942
 
3616
- function _define_property$o(obj, key, value) {
3943
+ function _define_property$p(obj, key, value) {
3617
3944
  if (key in obj) {
3618
3945
  Object.defineProperty(obj, key, {
3619
3946
  value: value,
@@ -3626,7 +3953,7 @@ function _define_property$o(obj, key, value) {
3626
3953
  }
3627
3954
  return obj;
3628
3955
  }
3629
- function _object_spread$o(target) {
3956
+ function _object_spread$p(target) {
3630
3957
  for(var i = 1; i < arguments.length; i++){
3631
3958
  var source = arguments[i] != null ? arguments[i] : {};
3632
3959
  var ownKeys = Object.keys(source);
@@ -3636,12 +3963,12 @@ function _object_spread$o(target) {
3636
3963
  }));
3637
3964
  }
3638
3965
  ownKeys.forEach(function(key) {
3639
- _define_property$o(target, key, source[key]);
3966
+ _define_property$p(target, key, source[key]);
3640
3967
  });
3641
3968
  }
3642
3969
  return target;
3643
3970
  }
3644
- function ownKeys$i(object, enumerableOnly) {
3971
+ function ownKeys$j(object, enumerableOnly) {
3645
3972
  var keys = Object.keys(object);
3646
3973
  if (Object.getOwnPropertySymbols) {
3647
3974
  var symbols = Object.getOwnPropertySymbols(object);
@@ -3649,20 +3976,20 @@ function ownKeys$i(object, enumerableOnly) {
3649
3976
  }
3650
3977
  return keys;
3651
3978
  }
3652
- function _object_spread_props$i(target, source) {
3979
+ function _object_spread_props$j(target, source) {
3653
3980
  source = source != null ? source : {};
3654
3981
  if (Object.getOwnPropertyDescriptors) {
3655
3982
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3656
3983
  } else {
3657
- ownKeys$i(Object(source)).forEach(function(key) {
3984
+ ownKeys$j(Object(source)).forEach(function(key) {
3658
3985
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
3659
3986
  });
3660
3987
  }
3661
3988
  return target;
3662
3989
  }
3663
- function _object_without_properties$2(source, excluded) {
3990
+ function _object_without_properties$4(source, excluded) {
3664
3991
  if (source == null) return {};
3665
- var target = _object_without_properties_loose$2(source, excluded);
3992
+ var target = _object_without_properties_loose$4(source, excluded);
3666
3993
  var key, i;
3667
3994
  if (Object.getOwnPropertySymbols) {
3668
3995
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -3675,7 +4002,7 @@ function _object_without_properties$2(source, excluded) {
3675
4002
  }
3676
4003
  return target;
3677
4004
  }
3678
- function _object_without_properties_loose$2(source, excluded) {
4005
+ function _object_without_properties_loose$4(source, excluded) {
3679
4006
  if (source == null) return {};
3680
4007
  var target = {};
3681
4008
  var sourceKeys = Object.keys(source);
@@ -3724,10 +4051,10 @@ function getXpertAgentRecursionLimit(agentConfig) {
3724
4051
  }
3725
4052
  function normalizeXpertAgentConfig(agentConfig) {
3726
4053
  // Legacy imports may carry this unsupported scheduler option (LangGraph.js #2656).
3727
- var _ref = agentConfig !== null && agentConfig !== void 0 ? agentConfig : {}; _ref.maxConcurrency; var config = _object_without_properties$2(_ref, [
4054
+ var _ref = agentConfig !== null && agentConfig !== void 0 ? agentConfig : {}; _ref.maxConcurrency; var config = _object_without_properties$4(_ref, [
3728
4055
  "maxConcurrency"
3729
4056
  ]);
3730
- return _object_spread_props$i(_object_spread$o({}, config), {
4057
+ return _object_spread_props$j(_object_spread$p({}, config), {
3731
4058
  recursionLimit: getXpertAgentRecursionLimit(agentConfig)
3732
4059
  });
3733
4060
  }
@@ -3816,7 +4143,7 @@ function _array_like_to_array$s(arr, len) {
3816
4143
  function _array_with_holes$h(arr) {
3817
4144
  if (Array.isArray(arr)) return arr;
3818
4145
  }
3819
- function _define_property$n(obj, key, value) {
4146
+ function _define_property$o(obj, key, value) {
3820
4147
  if (key in obj) {
3821
4148
  Object.defineProperty(obj, key, {
3822
4149
  value: value,
@@ -3856,7 +4183,7 @@ function _iterable_to_array_limit$f(arr, i) {
3856
4183
  function _non_iterable_rest$h() {
3857
4184
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3858
4185
  }
3859
- function _object_spread$n(target) {
4186
+ function _object_spread$o(target) {
3860
4187
  for(var i = 1; i < arguments.length; i++){
3861
4188
  var source = arguments[i] != null ? arguments[i] : {};
3862
4189
  var ownKeys = Object.keys(source);
@@ -3866,12 +4193,12 @@ function _object_spread$n(target) {
3866
4193
  }));
3867
4194
  }
3868
4195
  ownKeys.forEach(function(key) {
3869
- _define_property$n(target, key, source[key]);
4196
+ _define_property$o(target, key, source[key]);
3870
4197
  });
3871
4198
  }
3872
4199
  return target;
3873
4200
  }
3874
- function ownKeys$h(object, enumerableOnly) {
4201
+ function ownKeys$i(object, enumerableOnly) {
3875
4202
  var keys = Object.keys(object);
3876
4203
  if (Object.getOwnPropertySymbols) {
3877
4204
  var symbols = Object.getOwnPropertySymbols(object);
@@ -3879,12 +4206,12 @@ function ownKeys$h(object, enumerableOnly) {
3879
4206
  }
3880
4207
  return keys;
3881
4208
  }
3882
- function _object_spread_props$h(target, source) {
4209
+ function _object_spread_props$i(target, source) {
3883
4210
  source = source != null ? source : {};
3884
4211
  if (Object.getOwnPropertyDescriptors) {
3885
4212
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3886
4213
  } else {
3887
- ownKeys$h(Object(source)).forEach(function(key) {
4214
+ ownKeys$i(Object(source)).forEach(function(key) {
3888
4215
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
3889
4216
  });
3890
4217
  }
@@ -3984,7 +4311,7 @@ function configurableStoreNamespace(configurable) {
3984
4311
  var _varName_split = _sliced_to_array$f(varName.split("."), 2), agentChannelName = _varName_split[0], variableName = _varName_split[1];
3985
4312
  if (variableName) {
3986
4313
  var _state_agentChannelName;
3987
- state[agentChannelName] = _object_spread_props$h(_object_spread$n({}, (_state_agentChannelName = state[agentChannelName]) !== null && _state_agentChannelName !== void 0 ? _state_agentChannelName : {}), _define_property$n({}, variableName, value));
4314
+ state[agentChannelName] = _object_spread_props$i(_object_spread$o({}, (_state_agentChannelName = state[agentChannelName]) !== null && _state_agentChannelName !== void 0 ? _state_agentChannelName : {}), _define_property$o({}, variableName, value));
3988
4315
  } else {
3989
4316
  state[agentChannelName] = value;
3990
4317
  }
@@ -4075,7 +4402,7 @@ function getWorkflowTriggers(graph, from) {
4075
4402
  });
4076
4403
  }
4077
4404
 
4078
- function _define_property$m(obj, key, value) {
4405
+ function _define_property$n(obj, key, value) {
4079
4406
  if (key in obj) {
4080
4407
  Object.defineProperty(obj, key, {
4081
4408
  value: value,
@@ -4088,7 +4415,7 @@ function _define_property$m(obj, key, value) {
4088
4415
  }
4089
4416
  return obj;
4090
4417
  }
4091
- function _object_spread$m(target) {
4418
+ function _object_spread$n(target) {
4092
4419
  for(var i = 1; i < arguments.length; i++){
4093
4420
  var source = arguments[i] != null ? arguments[i] : {};
4094
4421
  var ownKeys = Object.keys(source);
@@ -4098,12 +4425,12 @@ function _object_spread$m(target) {
4098
4425
  }));
4099
4426
  }
4100
4427
  ownKeys.forEach(function(key) {
4101
- _define_property$m(target, key, source[key]);
4428
+ _define_property$n(target, key, source[key]);
4102
4429
  });
4103
4430
  }
4104
4431
  return target;
4105
4432
  }
4106
- function ownKeys$g(object, enumerableOnly) {
4433
+ function ownKeys$h(object, enumerableOnly) {
4107
4434
  var keys = Object.keys(object);
4108
4435
  if (Object.getOwnPropertySymbols) {
4109
4436
  var symbols = Object.getOwnPropertySymbols(object);
@@ -4111,12 +4438,12 @@ function ownKeys$g(object, enumerableOnly) {
4111
4438
  }
4112
4439
  return keys;
4113
4440
  }
4114
- function _object_spread_props$g(target, source) {
4441
+ function _object_spread_props$h(target, source) {
4115
4442
  source = source != null ? source : {};
4116
4443
  if (Object.getOwnPropertyDescriptors) {
4117
4444
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
4118
4445
  } else {
4119
- ownKeys$g(Object(source)).forEach(function(key) {
4446
+ ownKeys$h(Object(source)).forEach(function(key) {
4120
4447
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
4121
4448
  });
4122
4449
  }
@@ -4204,11 +4531,11 @@ var KNOWLEDGEBASE_FAQ_RETRIEVAL_MODES = [
4204
4531
  return candidate === requestedMode;
4205
4532
  }) ? requestedMode : DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.mode;
4206
4533
  var _recall_fusion2, _recall_fusion_mode, _recall_fusion_weights;
4207
- return _object_spread_props$g(_object_spread$m({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, recall !== null && recall !== void 0 ? recall : {}), {
4534
+ return _object_spread_props$h(_object_spread$n({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, recall !== null && recall !== void 0 ? recall : {}), {
4208
4535
  mode: mode,
4209
- fusion: _object_spread_props$g(_object_spread$m({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion, (_recall_fusion2 = recall === null || recall === void 0 ? void 0 : recall.fusion) !== null && _recall_fusion2 !== void 0 ? _recall_fusion2 : {}), {
4536
+ fusion: _object_spread_props$h(_object_spread$n({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion, (_recall_fusion2 = recall === null || recall === void 0 ? void 0 : recall.fusion) !== null && _recall_fusion2 !== void 0 ? _recall_fusion2 : {}), {
4210
4537
  mode: mode === "hybrid" ? "weighted_rrf" : (_recall_fusion_mode = recall === null || recall === void 0 ? void 0 : (_recall_fusion = recall.fusion) === null || _recall_fusion === void 0 ? void 0 : _recall_fusion.mode) !== null && _recall_fusion_mode !== void 0 ? _recall_fusion_mode : DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion.mode,
4211
- weights: _object_spread_props$g(_object_spread$m({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion.weights, (_recall_fusion_weights = recall === null || recall === void 0 ? void 0 : (_recall_fusion1 = recall.fusion) === null || _recall_fusion1 === void 0 ? void 0 : _recall_fusion1.weights) !== null && _recall_fusion_weights !== void 0 ? _recall_fusion_weights : {}), {
4538
+ weights: _object_spread_props$h(_object_spread$n({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion.weights, (_recall_fusion_weights = recall === null || recall === void 0 ? void 0 : (_recall_fusion1 = recall.fusion) === null || _recall_fusion1 === void 0 ? void 0 : _recall_fusion1.weights) !== null && _recall_fusion_weights !== void 0 ? _recall_fusion_weights : {}), {
4212
4539
  graph: 0
4213
4540
  })
4214
4541
  })
@@ -4377,7 +4704,7 @@ function _array_like_to_array$q(arr, len) {
4377
4704
  function _array_without_holes$f(arr) {
4378
4705
  if (Array.isArray(arr)) return _array_like_to_array$q(arr);
4379
4706
  }
4380
- function _define_property$l(obj, key, value) {
4707
+ function _define_property$m(obj, key, value) {
4381
4708
  if (key in obj) {
4382
4709
  Object.defineProperty(obj, key, {
4383
4710
  value: value,
@@ -4396,7 +4723,7 @@ function _iterable_to_array$h(iter) {
4396
4723
  function _non_iterable_spread$f() {
4397
4724
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4398
4725
  }
4399
- function _object_spread$l(target) {
4726
+ function _object_spread$m(target) {
4400
4727
  for(var i = 1; i < arguments.length; i++){
4401
4728
  var source = arguments[i] != null ? arguments[i] : {};
4402
4729
  var ownKeys = Object.keys(source);
@@ -4406,7 +4733,7 @@ function _object_spread$l(target) {
4406
4733
  }));
4407
4734
  }
4408
4735
  ownKeys.forEach(function(key) {
4409
- _define_property$l(target, key, source[key]);
4736
+ _define_property$m(target, key, source[key]);
4410
4737
  });
4411
4738
  }
4412
4739
  return target;
@@ -4424,12 +4751,12 @@ function _unsupported_iterable_to_array$q(o, minLen) {
4424
4751
  }
4425
4752
  /** Only copy configured defaults; do not turn built-in defaults into document overrides. */ function knowledgebaseDocumentParserDefaults(config, documentType) {
4426
4753
  if (!config) return {};
4427
- return _object_spread$l({}, config.spreadsheet ? {
4428
- spreadsheet: _object_spread$l({}, config.spreadsheet)
4754
+ return _object_spread$m({}, config.spreadsheet ? {
4755
+ spreadsheet: _object_spread$m({}, config.spreadsheet)
4429
4756
  } : {}, config.tableMetadataRequirements !== undefined ? {
4430
4757
  tableMetadataRequirements: config.tableMetadataRequirements
4431
4758
  } : {}, config.questionGeneration ? {
4432
- questionGeneration: _object_spread$l({}, config.questionGeneration)
4759
+ questionGeneration: _object_spread$m({}, config.questionGeneration)
4433
4760
  } : {}, config.chunkLanguageHint !== undefined ? {
4434
4761
  chunkLanguageHint: config.chunkLanguageHint
4435
4762
  } : {}, config.maxChunkTokens !== undefined ? {
@@ -4443,7 +4770,7 @@ function _unsupported_iterable_to_array$q(o, minLen) {
4443
4770
  } : {}, config.textSplitterType ? {
4444
4771
  textSplitterType: config.textSplitterType
4445
4772
  } : {}, config.textSplitter || config.chunkSize != null || config.chunkOverlap != null ? {
4446
- textSplitter: _object_spread$l({}, config.chunkSize != null ? {
4773
+ textSplitter: _object_spread$m({}, config.chunkSize != null ? {
4447
4774
  chunkSize: config.chunkSize
4448
4775
  } : {}, config.chunkOverlap != null ? {
4449
4776
  chunkOverlap: config.chunkOverlap
@@ -4455,7 +4782,7 @@ function _unsupported_iterable_to_array$q(o, minLen) {
4455
4782
  } : {}, config.imageUnderstandingType ? {
4456
4783
  imageUnderstandingType: config.imageUnderstandingType
4457
4784
  } : {}, config.imageUnderstanding ? {
4458
- imageUnderstanding: _object_spread$l({}, config.imageUnderstanding)
4785
+ imageUnderstanding: _object_spread$m({}, config.imageUnderstanding)
4459
4786
  } : {}, knowledgebaseParserSelection(config, documentType !== null && documentType !== void 0 ? documentType : ""));
4460
4787
  }
4461
4788
  /** Arrays are the canonical ordered format; retain the plugin's legacy comma syntax. */ function decodeKnowledgeSeparators(value) {
@@ -4520,7 +4847,7 @@ function genPipelineKnowledgeBaseKey() {
4520
4847
  return letterStartSUID("KnowledgeBase_");
4521
4848
  }
4522
4849
 
4523
- function _define_property$k(obj, key, value) {
4850
+ function _define_property$l(obj, key, value) {
4524
4851
  if (key in obj) {
4525
4852
  Object.defineProperty(obj, key, {
4526
4853
  value: value,
@@ -4533,7 +4860,7 @@ function _define_property$k(obj, key, value) {
4533
4860
  }
4534
4861
  return obj;
4535
4862
  }
4536
- function _object_spread$k(target) {
4863
+ function _object_spread$l(target) {
4537
4864
  for(var i = 1; i < arguments.length; i++){
4538
4865
  var source = arguments[i] != null ? arguments[i] : {};
4539
4866
  var ownKeys = Object.keys(source);
@@ -4543,7 +4870,7 @@ function _object_spread$k(target) {
4543
4870
  }));
4544
4871
  }
4545
4872
  ownKeys.forEach(function(key) {
4546
- _define_property$k(target, key, source[key]);
4873
+ _define_property$l(target, key, source[key]);
4547
4874
  });
4548
4875
  }
4549
4876
  return target;
@@ -4563,7 +4890,7 @@ function _object_spread$k(target) {
4563
4890
  * @deprecated use DocumentSourceProviderCategoryEnum local file type instead
4564
4891
  */ DocumentTypeEnum["FILE"] = "file";
4565
4892
  })(DocumentTypeEnum || (DocumentTypeEnum = {}));
4566
- var KDocumentSourceType = _object_spread$k({}, DocumentSourceProviderCategoryEnum, DocumentTypeEnum);
4893
+ var KDocumentSourceType = _object_spread$l({}, DocumentSourceProviderCategoryEnum, DocumentTypeEnum);
4567
4894
  /**
4568
4895
  * Document type category, determine how to process the document.
4569
4896
  */ var KBDocumentCategoryEnum;
@@ -5449,7 +5776,7 @@ function _array_like_to_array$o(arr, len) {
5449
5776
  function _array_without_holes$d(arr) {
5450
5777
  if (Array.isArray(arr)) return _array_like_to_array$o(arr);
5451
5778
  }
5452
- function _define_property$j(obj, key, value) {
5779
+ function _define_property$k(obj, key, value) {
5453
5780
  if (key in obj) {
5454
5781
  Object.defineProperty(obj, key, {
5455
5782
  value: value,
@@ -5468,7 +5795,7 @@ function _iterable_to_array$f(iter) {
5468
5795
  function _non_iterable_spread$d() {
5469
5796
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5470
5797
  }
5471
- function _object_spread$j(target) {
5798
+ function _object_spread$k(target) {
5472
5799
  for(var i = 1; i < arguments.length; i++){
5473
5800
  var source = arguments[i] != null ? arguments[i] : {};
5474
5801
  var ownKeys = Object.keys(source);
@@ -5478,12 +5805,12 @@ function _object_spread$j(target) {
5478
5805
  }));
5479
5806
  }
5480
5807
  ownKeys.forEach(function(key) {
5481
- _define_property$j(target, key, source[key]);
5808
+ _define_property$k(target, key, source[key]);
5482
5809
  });
5483
5810
  }
5484
5811
  return target;
5485
5812
  }
5486
- function ownKeys$f(object, enumerableOnly) {
5813
+ function ownKeys$g(object, enumerableOnly) {
5487
5814
  var keys = Object.keys(object);
5488
5815
  if (Object.getOwnPropertySymbols) {
5489
5816
  var symbols = Object.getOwnPropertySymbols(object);
@@ -5491,20 +5818,20 @@ function ownKeys$f(object, enumerableOnly) {
5491
5818
  }
5492
5819
  return keys;
5493
5820
  }
5494
- function _object_spread_props$f(target, source) {
5821
+ function _object_spread_props$g(target, source) {
5495
5822
  source = source != null ? source : {};
5496
5823
  if (Object.getOwnPropertyDescriptors) {
5497
5824
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5498
5825
  } else {
5499
- ownKeys$f(Object(source)).forEach(function(key) {
5826
+ ownKeys$g(Object(source)).forEach(function(key) {
5500
5827
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5501
5828
  });
5502
5829
  }
5503
5830
  return target;
5504
5831
  }
5505
- function _object_without_properties$1(source, excluded) {
5832
+ function _object_without_properties$3(source, excluded) {
5506
5833
  if (source == null) return {};
5507
- var target = _object_without_properties_loose$1(source, excluded);
5834
+ var target = _object_without_properties_loose$3(source, excluded);
5508
5835
  var key, i;
5509
5836
  if (Object.getOwnPropertySymbols) {
5510
5837
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -5517,7 +5844,7 @@ function _object_without_properties$1(source, excluded) {
5517
5844
  }
5518
5845
  return target;
5519
5846
  }
5520
- function _object_without_properties_loose$1(source, excluded) {
5847
+ function _object_without_properties_loose$3(source, excluded) {
5521
5848
  if (source == null) return {};
5522
5849
  var target = {};
5523
5850
  var sourceKeys = Object.keys(source);
@@ -5542,7 +5869,7 @@ function _unsupported_iterable_to_array$o(o, minLen) {
5542
5869
  }
5543
5870
  function omitXpertRelations(xpert) {
5544
5871
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5545
- var _ref = xpert !== null && xpert !== void 0 ? xpert : {}; _ref.draft; _ref.agent; _ref.agents; _ref.executors; _ref.leaders; _ref.knowledgebases; _ref.knowledgebase; _ref.environment; _ref.integrations; _ref.toolsets; _ref.userGroups; var rest = _object_without_properties$1(_ref, [
5872
+ var _ref = xpert !== null && xpert !== void 0 ? xpert : {}; _ref.draft; _ref.agent; _ref.agents; _ref.executors; _ref.leaders; _ref.knowledgebases; _ref.knowledgebase; _ref.environment; _ref.integrations; _ref.toolsets; _ref.userGroups; var rest = _object_without_properties$3(_ref, [
5546
5873
  "draft",
5547
5874
  "agent",
5548
5875
  "agents",
@@ -5577,7 +5904,7 @@ function resolveRuntimeXpert(xpert, isDraft) {
5577
5904
  var graph = resolveDraftRuntimeGraph(xpert, draft);
5578
5905
  var agent = resolveDraftPrimaryAgent(xpert, draft, graph);
5579
5906
  var _draft_team5, _draft_team_workspaceId, _draft_team_agentConfig, _draft_team_commandProfile, _draft_team_features, _draft_team_options;
5580
- return _object_spread_props$f(_object_spread$j({}, xpert, (_draft_team5 = draft.team) !== null && _draft_team5 !== void 0 ? _draft_team5 : {}), {
5907
+ return _object_spread_props$g(_object_spread$k({}, xpert, (_draft_team5 = draft.team) !== null && _draft_team5 !== void 0 ? _draft_team5 : {}), {
5581
5908
  id: xpert.id,
5582
5909
  tenantId: xpert.tenantId,
5583
5910
  organizationId: xpert.organizationId,
@@ -5861,9 +6188,9 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
5861
6188
  if (node.type === "agent" && node.key === sourceKey) {
5862
6189
  replacedNode = true;
5863
6190
  var _node_entity;
5864
- return _object_spread_props$f(_object_spread$j({}, node), {
6191
+ return _object_spread_props$g(_object_spread$k({}, node), {
5865
6192
  key: targetKey,
5866
- entity: _object_spread_props$f(_object_spread$j({}, (_node_entity = node.entity) !== null && _node_entity !== void 0 ? _node_entity : {}, agent), {
6193
+ entity: _object_spread_props$g(_object_spread$k({}, (_node_entity = node.entity) !== null && _node_entity !== void 0 ? _node_entity : {}, agent), {
5867
6194
  key: targetKey
5868
6195
  })
5869
6196
  });
@@ -5879,17 +6206,17 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
5879
6206
  if (from === connection.from && to === connection.to) {
5880
6207
  return connection;
5881
6208
  }
5882
- return _object_spread_props$f(_object_spread$j({}, connection), {
6209
+ return _object_spread_props$g(_object_spread$k({}, connection), {
5883
6210
  from: from,
5884
6211
  to: to,
5885
6212
  key: "".concat(from, "/").concat(to)
5886
6213
  });
5887
6214
  });
5888
- return _object_spread_props$f(_object_spread$j({}, draft), {
5889
- team: draft.team ? _object_spread_props$f(_object_spread$j({}, draft.team), {
5890
- agent: draft.team.agent ? _object_spread_props$f(_object_spread$j({}, draft.team.agent, agent), {
6215
+ return _object_spread_props$g(_object_spread$k({}, draft), {
6216
+ team: draft.team ? _object_spread_props$g(_object_spread$k({}, draft.team), {
6217
+ agent: draft.team.agent ? _object_spread_props$g(_object_spread$k({}, draft.team.agent, agent), {
5891
6218
  key: targetKey
5892
- }) : _object_spread_props$f(_object_spread$j({}, agent), {
6219
+ }) : _object_spread_props$g(_object_spread$k({}, agent), {
5893
6220
  key: targetKey
5894
6221
  })
5895
6222
  }) : draft.team,
@@ -6037,7 +6364,7 @@ var GENERAL_PROJECT_TYPE = {
6037
6364
  projectTypeKey: "space"
6038
6365
  };
6039
6366
 
6040
- function _define_property$i(obj, key, value) {
6367
+ function _define_property$j(obj, key, value) {
6041
6368
  if (key in obj) {
6042
6369
  Object.defineProperty(obj, key, {
6043
6370
  value: value,
@@ -6050,7 +6377,7 @@ function _define_property$i(obj, key, value) {
6050
6377
  }
6051
6378
  return obj;
6052
6379
  }
6053
- function _object_spread$i(target) {
6380
+ function _object_spread$j(target) {
6054
6381
  for(var i = 1; i < arguments.length; i++){
6055
6382
  var source = arguments[i] != null ? arguments[i] : {};
6056
6383
  var ownKeys = Object.keys(source);
@@ -6060,12 +6387,12 @@ function _object_spread$i(target) {
6060
6387
  }));
6061
6388
  }
6062
6389
  ownKeys.forEach(function(key) {
6063
- _define_property$i(target, key, source[key]);
6390
+ _define_property$j(target, key, source[key]);
6064
6391
  });
6065
6392
  }
6066
6393
  return target;
6067
6394
  }
6068
- function ownKeys$e(object, enumerableOnly) {
6395
+ function ownKeys$f(object, enumerableOnly) {
6069
6396
  var keys = Object.keys(object);
6070
6397
  if (Object.getOwnPropertySymbols) {
6071
6398
  var symbols = Object.getOwnPropertySymbols(object);
@@ -6073,12 +6400,12 @@ function ownKeys$e(object, enumerableOnly) {
6073
6400
  }
6074
6401
  return keys;
6075
6402
  }
6076
- function _object_spread_props$e(target, source) {
6403
+ function _object_spread_props$f(target, source) {
6077
6404
  source = source != null ? source : {};
6078
6405
  if (Object.getOwnPropertyDescriptors) {
6079
6406
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6080
6407
  } else {
6081
- ownKeys$e(Object(source)).forEach(function(key) {
6408
+ ownKeys$f(Object(source)).forEach(function(key) {
6082
6409
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6083
6410
  });
6084
6411
  }
@@ -6107,7 +6434,7 @@ function projectTaskConfigurationSchema(defaultSeconds) {
6107
6434
  type: "object",
6108
6435
  additionalProperties: false,
6109
6436
  properties: {
6110
- taskExecutionMaxDurationSeconds: _object_spread_props$e(_object_spread$i({
6437
+ taskExecutionMaxDurationSeconds: _object_spread_props$f(_object_spread$j({
6111
6438
  type: "integer",
6112
6439
  minimum: 60,
6113
6440
  maximum: 86400
@@ -6119,8 +6446,8 @@ function projectTaskConfigurationSchema(defaultSeconds) {
6119
6446
  zh_Hans: "单次任务执行上限(秒)"
6120
6447
  },
6121
6448
  description: {
6122
- en_US: "7200 seconds is 2 hours. Applies to new implementation and review attempts, within the tenant limit.",
6123
- zh_Hans: "7200 秒为 2 小时。在租户允许的上限内,对新的开发和验收执行生效。"
6449
+ en_US: "43200 seconds is 12 hours; omit to inherit the tenant default. Applies to new implementation and review attempts, within the tenant limit.",
6450
+ zh_Hans: "43200 秒为 12 小时;留空继承租户默认值。在租户允许的上限内,对新的开发和验收执行生效。"
6124
6451
  }
6125
6452
  })
6126
6453
  }
@@ -6186,7 +6513,7 @@ var PROJECT_CONFIGURATION_ACTIONS = Object.keys(PROJECT_CONFIGURATION_ACTION_HAN
6186
6513
  * @template Metadata - Type of metadata, defaults to IDocChunkMetadata
6187
6514
  * @param documents - A flat array of DocumentInterface objects
6188
6515
  * @returns the hierarchical tree (root-level DocumentInterface[])
6189
- */ function _define_property$h(obj, key, value) {
6516
+ */ function _define_property$i(obj, key, value) {
6190
6517
  if (key in obj) {
6191
6518
  Object.defineProperty(obj, key, {
6192
6519
  value: value,
@@ -6199,7 +6526,7 @@ var PROJECT_CONFIGURATION_ACTIONS = Object.keys(PROJECT_CONFIGURATION_ACTION_HAN
6199
6526
  }
6200
6527
  return obj;
6201
6528
  }
6202
- function _object_spread$h(target) {
6529
+ function _object_spread$i(target) {
6203
6530
  for(var i = 1; i < arguments.length; i++){
6204
6531
  var source = arguments[i] != null ? arguments[i] : {};
6205
6532
  var ownKeys = Object.keys(source);
@@ -6209,12 +6536,12 @@ function _object_spread$h(target) {
6209
6536
  }));
6210
6537
  }
6211
6538
  ownKeys.forEach(function(key) {
6212
- _define_property$h(target, key, source[key]);
6539
+ _define_property$i(target, key, source[key]);
6213
6540
  });
6214
6541
  }
6215
6542
  return target;
6216
6543
  }
6217
- function ownKeys$d(object, enumerableOnly) {
6544
+ function ownKeys$e(object, enumerableOnly) {
6218
6545
  var keys = Object.keys(object);
6219
6546
  if (Object.getOwnPropertySymbols) {
6220
6547
  var symbols = Object.getOwnPropertySymbols(object);
@@ -6222,12 +6549,12 @@ function ownKeys$d(object, enumerableOnly) {
6222
6549
  }
6223
6550
  return keys;
6224
6551
  }
6225
- function _object_spread_props$d(target, source) {
6552
+ function _object_spread_props$e(target, source) {
6226
6553
  source = source != null ? source : {};
6227
6554
  if (Object.getOwnPropertyDescriptors) {
6228
6555
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6229
6556
  } else {
6230
- ownKeys$d(Object(source)).forEach(function(key) {
6557
+ ownKeys$e(Object(source)).forEach(function(key) {
6231
6558
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6232
6559
  });
6233
6560
  }
@@ -6242,8 +6569,8 @@ function buildChunkTree(documents) {
6242
6569
  documents.forEach(function(doc, index) {
6243
6570
  var chunkId = getChunkNodeId(doc);
6244
6571
  if (chunkId) {
6245
- map.set(chunkId, _object_spread_props$d(_object_spread$h({}, doc), {
6246
- metadata: _object_spread_props$d(_object_spread$h({}, doc.metadata), {
6572
+ map.set(chunkId, _object_spread_props$e(_object_spread$i({}, doc), {
6573
+ metadata: _object_spread_props$e(_object_spread$i({}, doc.metadata), {
6247
6574
  chunkId: chunkId,
6248
6575
  children: []
6249
6576
  })
@@ -6793,7 +7120,7 @@ function isLocalPath(value) {
6793
7120
  })).size === value.length;
6794
7121
  }
6795
7122
 
6796
- function _define_property$g(obj, key, value) {
7123
+ function _define_property$h(obj, key, value) {
6797
7124
  if (key in obj) {
6798
7125
  Object.defineProperty(obj, key, {
6799
7126
  value: value,
@@ -6806,7 +7133,7 @@ function _define_property$g(obj, key, value) {
6806
7133
  }
6807
7134
  return obj;
6808
7135
  }
6809
- function _object_spread$g(target) {
7136
+ function _object_spread$h(target) {
6810
7137
  for(var i = 1; i < arguments.length; i++){
6811
7138
  var source = arguments[i] != null ? arguments[i] : {};
6812
7139
  var ownKeys = Object.keys(source);
@@ -6816,12 +7143,12 @@ function _object_spread$g(target) {
6816
7143
  }));
6817
7144
  }
6818
7145
  ownKeys.forEach(function(key) {
6819
- _define_property$g(target, key, source[key]);
7146
+ _define_property$h(target, key, source[key]);
6820
7147
  });
6821
7148
  }
6822
7149
  return target;
6823
7150
  }
6824
- function ownKeys$c(object, enumerableOnly) {
7151
+ function ownKeys$d(object, enumerableOnly) {
6825
7152
  var keys = Object.keys(object);
6826
7153
  if (Object.getOwnPropertySymbols) {
6827
7154
  var symbols = Object.getOwnPropertySymbols(object);
@@ -6829,12 +7156,12 @@ function ownKeys$c(object, enumerableOnly) {
6829
7156
  }
6830
7157
  return keys;
6831
7158
  }
6832
- function _object_spread_props$c(target, source) {
7159
+ function _object_spread_props$d(target, source) {
6833
7160
  source = source != null ? source : {};
6834
7161
  if (Object.getOwnPropertyDescriptors) {
6835
7162
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6836
7163
  } else {
6837
- ownKeys$c(Object(source)).forEach(function(key) {
7164
+ ownKeys$d(Object(source)).forEach(function(key) {
6838
7165
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6839
7166
  });
6840
7167
  }
@@ -6875,8 +7202,8 @@ function normalizeMiddlewareNode(node) {
6875
7202
  if (provider === entity.provider) {
6876
7203
  return node;
6877
7204
  }
6878
- return _object_spread_props$c(_object_spread$g({}, node), {
6879
- entity: _object_spread_props$c(_object_spread$g({}, entity), {
7205
+ return _object_spread_props$d(_object_spread$h({}, node), {
7206
+ entity: _object_spread_props$d(_object_spread$h({}, entity), {
6880
7207
  provider: provider
6881
7208
  })
6882
7209
  });
@@ -6937,7 +7264,7 @@ function _array_with_holes$e(arr) {
6937
7264
  function _array_without_holes$c(arr) {
6938
7265
  if (Array.isArray(arr)) return _array_like_to_array$l(arr);
6939
7266
  }
6940
- function _define_property$f(obj, key, value) {
7267
+ function _define_property$g(obj, key, value) {
6941
7268
  if (key in obj) {
6942
7269
  Object.defineProperty(obj, key, {
6943
7270
  value: value,
@@ -6983,7 +7310,7 @@ function _non_iterable_rest$e() {
6983
7310
  function _non_iterable_spread$c() {
6984
7311
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6985
7312
  }
6986
- function _object_spread$f(target) {
7313
+ function _object_spread$g(target) {
6987
7314
  for(var i = 1; i < arguments.length; i++){
6988
7315
  var source = arguments[i] != null ? arguments[i] : {};
6989
7316
  var ownKeys = Object.keys(source);
@@ -6993,12 +7320,12 @@ function _object_spread$f(target) {
6993
7320
  }));
6994
7321
  }
6995
7322
  ownKeys.forEach(function(key) {
6996
- _define_property$f(target, key, source[key]);
7323
+ _define_property$g(target, key, source[key]);
6997
7324
  });
6998
7325
  }
6999
7326
  return target;
7000
7327
  }
7001
- function ownKeys$b(object, enumerableOnly) {
7328
+ function ownKeys$c(object, enumerableOnly) {
7002
7329
  var keys = Object.keys(object);
7003
7330
  if (Object.getOwnPropertySymbols) {
7004
7331
  var symbols = Object.getOwnPropertySymbols(object);
@@ -7006,20 +7333,20 @@ function ownKeys$b(object, enumerableOnly) {
7006
7333
  }
7007
7334
  return keys;
7008
7335
  }
7009
- function _object_spread_props$b(target, source) {
7336
+ function _object_spread_props$c(target, source) {
7010
7337
  source = source != null ? source : {};
7011
7338
  if (Object.getOwnPropertyDescriptors) {
7012
7339
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7013
7340
  } else {
7014
- ownKeys$b(Object(source)).forEach(function(key) {
7341
+ ownKeys$c(Object(source)).forEach(function(key) {
7015
7342
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7016
7343
  });
7017
7344
  }
7018
7345
  return target;
7019
7346
  }
7020
- function _object_without_properties(source, excluded) {
7347
+ function _object_without_properties$2(source, excluded) {
7021
7348
  if (source == null) return {};
7022
- var target = _object_without_properties_loose(source, excluded);
7349
+ var target = _object_without_properties_loose$2(source, excluded);
7023
7350
  var key, i;
7024
7351
  if (Object.getOwnPropertySymbols) {
7025
7352
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -7032,7 +7359,7 @@ function _object_without_properties(source, excluded) {
7032
7359
  }
7033
7360
  return target;
7034
7361
  }
7035
- function _object_without_properties_loose(source, excluded) {
7362
+ function _object_without_properties_loose$2(source, excluded) {
7036
7363
  if (source == null) return {};
7037
7364
  var target = {};
7038
7365
  var sourceKeys = Object.keys(source);
@@ -7127,7 +7454,7 @@ function normalizeIncomingContent(content, context) {
7127
7454
  if (typeof content !== "string") {
7128
7455
  return content;
7129
7456
  }
7130
- return _object_spread$f({
7457
+ return _object_spread$g({
7131
7458
  type: "text",
7132
7459
  text: content
7133
7460
  }, context.streamId ? {
@@ -7192,7 +7519,7 @@ function filterText(content) {
7192
7519
  return "";
7193
7520
  }
7194
7521
  function mergeTextChunkForDisplay(previous, incoming) {
7195
- return _object_spread$f(_object_spread_props$b(_object_spread$f({}, previous), {
7522
+ return _object_spread$g(_object_spread_props$c(_object_spread$g({}, previous), {
7196
7523
  text: "".concat(previous.text).concat(incoming.text)
7197
7524
  }), !previous.id && incoming.id ? {
7198
7525
  id: incoming.id
@@ -7204,7 +7531,7 @@ function mergeTextChunkForDisplay(previous, incoming) {
7204
7531
  }
7205
7532
  function stripAutoDisplaySeparator(incoming, previousOriginal) {
7206
7533
  if ((previousOriginal === null || previousOriginal === void 0 ? void 0 : previousOriginal.type) === "component" && incoming.text.startsWith("\n\n")) {
7207
- return _object_spread_props$b(_object_spread$f({}, incoming), {
7534
+ return _object_spread_props$c(_object_spread$g({}, incoming), {
7208
7535
  text: incoming.text.slice(1)
7209
7536
  });
7210
7537
  }
@@ -7215,20 +7542,22 @@ function mergeComponentData(previous, incoming) {
7215
7542
  var _incoming_data1;
7216
7543
  var mergedIncomingData = Object.entries((_incoming_data1 = incoming.data) !== null && _incoming_data1 !== void 0 ? _incoming_data1 : {}).reduce(function(acc, param) {
7217
7544
  var _param = _sliced_to_array$d(param, 2), key = _param[0], value = _param[1];
7218
- if (!isNil(value)) {
7545
+ var _incoming_data;
7546
+ var explicitNull = value === null && ((_incoming_data = incoming.data) === null || _incoming_data === void 0 ? void 0 : _incoming_data["toolPresentation"]) === "redacted" && (key === "input" || key === "output");
7547
+ if (!isNil(value) || explicitNull) {
7219
7548
  acc[key] = value;
7220
7549
  }
7221
7550
  return acc;
7222
7551
  }, {});
7223
7552
  var _previous_data1;
7224
- return _object_spread_props$b(_object_spread$f({}, previous, incoming), {
7225
- data: _object_spread_props$b(_object_spread$f({}, (_previous_data1 = previous.data) !== null && _previous_data1 !== void 0 ? _previous_data1 : {}, mergedIncomingData), {
7553
+ return _object_spread_props$c(_object_spread$g({}, previous, incoming), {
7554
+ data: _object_spread_props$c(_object_spread$g({}, (_previous_data1 = previous.data) !== null && _previous_data1 !== void 0 ? _previous_data1 : {}, mergedIncomingData), {
7226
7555
  created_date: ((_previous_data = previous.data) === null || _previous_data === void 0 ? void 0 : _previous_data.created_date) || ((_incoming_data = incoming.data) === null || _incoming_data === void 0 ? void 0 : _incoming_data.created_date)
7227
7556
  })
7228
7557
  });
7229
7558
  }
7230
7559
  function inferMessageAppendContext(content, fallbackSource) {
7231
- return _object_spread$f({
7560
+ return _object_spread$g({
7232
7561
  source: fallbackSource !== null && fallbackSource !== void 0 ? fallbackSource : inferContentSource(content)
7233
7562
  }, typeof content !== "string" && (content === null || content === void 0 ? void 0 : content.id) ? {
7234
7563
  streamId: String(content.id)
@@ -7236,10 +7565,10 @@ function inferMessageAppendContext(content, fallbackSource) {
7236
7565
  }
7237
7566
  function resolveMessageAppendContext(options) {
7238
7567
  var inferredContext = inferMessageAppendContext(options.incoming, options.fallbackSource);
7239
- var appendContext = typeof options.incoming === "string" && !inferredContext.streamId && options.fallbackStreamId ? _object_spread_props$b(_object_spread$f({}, inferredContext), {
7568
+ var appendContext = typeof options.incoming === "string" && !inferredContext.streamId && options.fallbackStreamId ? _object_spread_props$c(_object_spread$g({}, inferredContext), {
7240
7569
  streamId: options.fallbackStreamId
7241
7570
  }) : inferredContext;
7242
- var messageContext = shouldJoinWithoutSeparator(options.previous, appendContext) ? _object_spread_props$b(_object_spread$f({}, appendContext), {
7571
+ var messageContext = shouldJoinWithoutSeparator(options.previous, appendContext) ? _object_spread_props$c(_object_spread$g({}, appendContext), {
7243
7572
  joinHint: "none"
7244
7573
  }) : appendContext;
7245
7574
  return {
@@ -7260,7 +7589,7 @@ function resolveMessageAppendContext(options) {
7260
7589
  var previous = initial;
7261
7590
  return {
7262
7591
  resolve: function resolve(options) {
7263
- var resolved = resolveMessageAppendContext(_object_spread_props$b(_object_spread$f({}, options), {
7592
+ var resolved = resolveMessageAppendContext(_object_spread_props$c(_object_spread$g({}, options), {
7264
7593
  previous: previous
7265
7594
  }));
7266
7595
  if (!isFileActivityContent(options.incoming) && !isResourceCardContent(options.incoming)) previous = resolved.appendContext;
@@ -7295,13 +7624,13 @@ function resolveMessageAppendContext(options) {
7295
7624
  return;
7296
7625
  }
7297
7626
  aiMessage.status = "answering";
7298
- var _ref = context !== null && context !== void 0 ? context : {}, _ref_previous = _ref.previous, previous = _ref_previous === void 0 ? null : _ref_previous, contextWithoutPrevious = _object_without_properties(_ref, [
7627
+ var _ref = context !== null && context !== void 0 ? context : {}, _ref_previous = _ref.previous, previous = _ref_previous === void 0 ? null : _ref_previous, contextWithoutPrevious = _object_without_properties$2(_ref, [
7299
7628
  "previous"
7300
7629
  ]);
7301
- var appendContext = _object_spread$f({}, inferMessageAppendContext(incoming), contextWithoutPrevious);
7630
+ var appendContext = _object_spread$g({}, inferMessageAppendContext(incoming), contextWithoutPrevious);
7302
7631
  var _appendContext_joinHint;
7303
7632
  var joinHint = (_appendContext_joinHint = appendContext.joinHint) !== null && _appendContext_joinHint !== void 0 ? _appendContext_joinHint : shouldJoinWithoutSeparator(previous, appendContext) ? "none" : undefined;
7304
- var messageContext = joinHint ? _object_spread_props$b(_object_spread$f({}, appendContext), {
7633
+ var messageContext = joinHint ? _object_spread_props$c(_object_spread$g({}, appendContext), {
7305
7634
  joinHint: joinHint
7306
7635
  }) : appendContext;
7307
7636
  var content = normalizeIncomingContent(incoming, appendContext);
@@ -7310,7 +7639,7 @@ function resolveMessageAppendContext(options) {
7310
7639
  var reasoning = (_aiMessage_reasoning = aiMessage.reasoning) !== null && _aiMessage_reasoning !== void 0 ? _aiMessage_reasoning : [];
7311
7640
  var lastReasoning = reasoning[reasoning.length - 1];
7312
7641
  if ((lastReasoning === null || lastReasoning === void 0 ? void 0 : lastReasoning.id) === content.id) {
7313
- var mergedReasoning = _object_spread_props$b(_object_spread$f({}, lastReasoning), {
7642
+ var mergedReasoning = _object_spread_props$c(_object_spread$g({}, lastReasoning), {
7314
7643
  text: "".concat(lastReasoning.text).concat(content.text)
7315
7644
  });
7316
7645
  aiMessage.reasoning = _to_consumable_array$c(reasoning.slice(0, reasoning.length - 1)).concat([
@@ -7331,7 +7660,7 @@ function resolveMessageAppendContext(options) {
7331
7660
  return isTextContent(item) && item.id === content.id;
7332
7661
  });
7333
7662
  if (index > -1) {
7334
- var mergedContent = _object_spread$f(_object_spread_props$b(_object_spread$f({}, chunks[index]), {
7663
+ var mergedContent = _object_spread$g(_object_spread_props$c(_object_spread$g({}, chunks[index]), {
7335
7664
  text: "".concat(chunks[index].text).concat(content.text)
7336
7665
  }), !chunks[index].id && content.id ? {
7337
7666
  id: content.id
@@ -7354,7 +7683,7 @@ function resolveMessageAppendContext(options) {
7354
7683
  var existingIndex = findLastTextChunkIndexById(chunks, content.id);
7355
7684
  if (existingIndex > -1) {
7356
7685
  var existing = chunks[existingIndex];
7357
- var merged = _object_spread_props$b(_object_spread$f({}, existing), {
7686
+ var merged = _object_spread_props$c(_object_spread$g({}, existing), {
7358
7687
  text: "".concat(existing.text).concat(content.text)
7359
7688
  });
7360
7689
  var nextChunks = _to_consumable_array$c(chunks);
@@ -7363,7 +7692,7 @@ function resolveMessageAppendContext(options) {
7363
7692
  return;
7364
7693
  }
7365
7694
  } else if (isTextContent(lastContent) && messageContext.joinHint === "none") {
7366
- var mergedLastContent = _object_spread_props$b(_object_spread$f({}, lastContent), {
7695
+ var mergedLastContent = _object_spread_props$c(_object_spread$g({}, lastContent), {
7367
7696
  text: "".concat(lastContent.text).concat(content.text)
7368
7697
  });
7369
7698
  aiMessage.content = _to_consumable_array$c(chunks.slice(0, chunks.length - 1)).concat([
@@ -7372,7 +7701,7 @@ function resolveMessageAppendContext(options) {
7372
7701
  return;
7373
7702
  }
7374
7703
  var separator = getContentChunkSeparator(lastContent, content.text, messageContext.joinHint);
7375
- var appended = _object_spread_props$b(_object_spread$f({}, content), {
7704
+ var appended = _object_spread_props$c(_object_spread$g({}, content), {
7376
7705
  text: separator + content.text
7377
7706
  });
7378
7707
  aiMessage.content = _to_consumable_array$c(chunks).concat([
@@ -7396,7 +7725,7 @@ function resolveMessageAppendContext(options) {
7396
7725
  aiMessage.content = nextChunks1;
7397
7726
  }
7398
7727
  function appendMessagePlainText(accumulator, incoming, context) {
7399
- var resolvedContext = _object_spread$f({}, inferMessageAppendContext(incoming), context !== null && context !== void 0 ? context : {});
7728
+ var resolvedContext = _object_spread$g({}, inferMessageAppendContext(incoming), context !== null && context !== void 0 ? context : {});
7400
7729
  var nextText = filterText(incoming);
7401
7730
  if (!nextText) {
7402
7731
  return accumulator !== null && accumulator !== void 0 ? accumulator : "";
@@ -7441,7 +7770,7 @@ function appendMessagePlainText(accumulator, incoming, context) {
7441
7770
  return;
7442
7771
  }
7443
7772
  textIndexById.set(item.id, merged.length);
7444
- merged.push(_object_spread$f({}, item));
7773
+ merged.push(_object_spread$g({}, item));
7445
7774
  return;
7446
7775
  }
7447
7776
  var lastItem = merged[merged.length - 1];
@@ -7449,7 +7778,7 @@ function appendMessagePlainText(accumulator, incoming, context) {
7449
7778
  merged[merged.length - 1] = mergeTextChunkForDisplay(lastItem, item);
7450
7779
  return;
7451
7780
  }
7452
- merged.push(_object_spread$f({}, item));
7781
+ merged.push(_object_spread$g({}, item));
7453
7782
  });
7454
7783
  return merged.length ? merged : null;
7455
7784
  }
@@ -7464,7 +7793,7 @@ function stringifyMessageContent(content) {
7464
7793
  if (isFileActivityContent(item) || isResourceCardContent(item)) return;
7465
7794
  var itemContext = inferMessageAppendContext(item);
7466
7795
  var joinHint = shouldJoinWithoutSeparator(previousContext, itemContext) ? "none" : undefined;
7467
- result = appendMessagePlainText(result, stringifySingle(item), _object_spread$f({}, itemContext, joinHint ? {
7796
+ result = appendMessagePlainText(result, stringifySingle(item), _object_spread$g({}, itemContext, joinHint ? {
7468
7797
  joinHint: joinHint
7469
7798
  } : {}));
7470
7799
  previousContext = itemContext;
@@ -7487,7 +7816,7 @@ function filterMessageText(content) {
7487
7816
  }
7488
7817
  var itemContext = inferMessageAppendContext(item);
7489
7818
  var joinHint = shouldJoinWithoutSeparator(previousContext, itemContext) ? "none" : undefined;
7490
- result = appendMessagePlainText(result, nextText, _object_spread$f({}, itemContext, joinHint ? {
7819
+ result = appendMessagePlainText(result, nextText, _object_spread$g({}, itemContext, joinHint ? {
7491
7820
  joinHint: joinHint
7492
7821
  } : {}));
7493
7822
  previousContext = itemContext;
@@ -8259,7 +8588,7 @@ var projectPipelineEdgeSchema = z.object({
8259
8588
  outcome: projectPipelineKeySchema.optional()
8260
8589
  }).strict();
8261
8590
 
8262
- function _define_property$e(obj, key, value) {
8591
+ function _define_property$f(obj, key, value) {
8263
8592
  if (key in obj) {
8264
8593
  Object.defineProperty(obj, key, {
8265
8594
  value: value,
@@ -8272,7 +8601,7 @@ function _define_property$e(obj, key, value) {
8272
8601
  }
8273
8602
  return obj;
8274
8603
  }
8275
- function _object_spread$e(target) {
8604
+ function _object_spread$f(target) {
8276
8605
  for(var i = 1; i < arguments.length; i++){
8277
8606
  var source = arguments[i] != null ? arguments[i] : {};
8278
8607
  var ownKeys = Object.keys(source);
@@ -8282,12 +8611,12 @@ function _object_spread$e(target) {
8282
8611
  }));
8283
8612
  }
8284
8613
  ownKeys.forEach(function(key) {
8285
- _define_property$e(target, key, source[key]);
8614
+ _define_property$f(target, key, source[key]);
8286
8615
  });
8287
8616
  }
8288
8617
  return target;
8289
8618
  }
8290
- function ownKeys$a(object, enumerableOnly) {
8619
+ function ownKeys$b(object, enumerableOnly) {
8291
8620
  var keys = Object.keys(object);
8292
8621
  if (Object.getOwnPropertySymbols) {
8293
8622
  var symbols = Object.getOwnPropertySymbols(object);
@@ -8295,12 +8624,12 @@ function ownKeys$a(object, enumerableOnly) {
8295
8624
  }
8296
8625
  return keys;
8297
8626
  }
8298
- function _object_spread_props$a(target, source) {
8627
+ function _object_spread_props$b(target, source) {
8299
8628
  source = source != null ? source : {};
8300
8629
  if (Object.getOwnPropertyDescriptors) {
8301
8630
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8302
8631
  } else {
8303
- ownKeys$a(Object(source)).forEach(function(key) {
8632
+ ownKeys$b(Object(source)).forEach(function(key) {
8304
8633
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8305
8634
  });
8306
8635
  }
@@ -8315,7 +8644,7 @@ var base$1 = {
8315
8644
  };
8316
8645
  var outcomes = z.array(projectPipelineKeySchema).min(2).max(32);
8317
8646
  /** Only explicit primitives can control flow; configuration cannot embed executable expressions. */ var projectPipelineNodeSchema = z.discriminatedUnion("kind", [
8318
- z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8647
+ z.object(_object_spread_props$b(_object_spread$f({}, base$1), {
8319
8648
  kind: z.literal("work"),
8320
8649
  laneKey: projectPipelineKeySchema,
8321
8650
  presentation: z.object({
@@ -8327,23 +8656,23 @@ var outcomes = z.array(projectPipelineKeySchema).min(2).max(32);
8327
8656
  resourceResolverRef: projectPipelineRefSchema.optional(),
8328
8657
  outputSchemaRef: projectPipelineRefSchema.optional()
8329
8658
  })).strict(),
8330
- z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8659
+ z.object(_object_spread_props$b(_object_spread$f({}, base$1), {
8331
8660
  kind: z.literal("fork")
8332
8661
  })).strict(),
8333
- z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8662
+ z.object(_object_spread_props$b(_object_spread$f({}, base$1), {
8334
8663
  kind: z.literal("join"),
8335
8664
  join: z.object({
8336
8665
  mode: z.literal("all_selected"),
8337
8666
  accept: z.literal("completed")
8338
8667
  }).strict()
8339
8668
  })).strict(),
8340
- z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8669
+ z.object(_object_spread_props$b(_object_spread$f({}, base$1), {
8341
8670
  kind: z.literal("router"),
8342
8671
  policyRef: projectPipelineRefSchema,
8343
8672
  outcomes: outcomes,
8344
8673
  unmatched: z.literal("block")
8345
8674
  })).strict(),
8346
- z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8675
+ z.object(_object_spread_props$b(_object_spread$f({}, base$1), {
8347
8676
  kind: z.literal("human_gate"),
8348
8677
  laneKey: projectPipelineKeySchema,
8349
8678
  policyRef: projectPipelineRefSchema,
@@ -8351,12 +8680,12 @@ var outcomes = z.array(projectPipelineKeySchema).min(2).max(32);
8351
8680
  outcomes: outcomes,
8352
8681
  outcomeLabels: z.record(projectPipelineKeySchema, z.string().min(1).max(120)).optional()
8353
8682
  })).strict(),
8354
- z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8683
+ z.object(_object_spread_props$b(_object_spread$f({}, base$1), {
8355
8684
  kind: z.literal("external_wait"),
8356
8685
  laneKey: projectPipelineKeySchema,
8357
8686
  subscriptionRef: projectPipelineRefSchema
8358
8687
  })).strict(),
8359
- z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8688
+ z.object(_object_spread_props$b(_object_spread$f({}, base$1), {
8360
8689
  kind: z.literal("terminal"),
8361
8690
  outcome: projectPipelineKeySchema,
8362
8691
  disposition: z.enum([
@@ -9020,7 +9349,7 @@ function isProjectPipelineApplicable(definition, project) {
9020
9349
 
9021
9350
  // Invariants: definitions describe versioned topology and explicit execution authority.
9022
9351
  // Business meaning stays behind provider references; labels and icons never drive execution.
9023
- function _define_property$d(obj, key, value) {
9352
+ function _define_property$e(obj, key, value) {
9024
9353
  if (key in obj) {
9025
9354
  Object.defineProperty(obj, key, {
9026
9355
  value: value,
@@ -9033,7 +9362,7 @@ function _define_property$d(obj, key, value) {
9033
9362
  }
9034
9363
  return obj;
9035
9364
  }
9036
- function _object_spread$d(target) {
9365
+ function _object_spread$e(target) {
9037
9366
  for(var i = 1; i < arguments.length; i++){
9038
9367
  var source = arguments[i] != null ? arguments[i] : {};
9039
9368
  var ownKeys = Object.keys(source);
@@ -9043,12 +9372,12 @@ function _object_spread$d(target) {
9043
9372
  }));
9044
9373
  }
9045
9374
  ownKeys.forEach(function(key) {
9046
- _define_property$d(target, key, source[key]);
9375
+ _define_property$e(target, key, source[key]);
9047
9376
  });
9048
9377
  }
9049
9378
  return target;
9050
9379
  }
9051
- function ownKeys$9(object, enumerableOnly) {
9380
+ function ownKeys$a(object, enumerableOnly) {
9052
9381
  var keys = Object.keys(object);
9053
9382
  if (Object.getOwnPropertySymbols) {
9054
9383
  var symbols = Object.getOwnPropertySymbols(object);
@@ -9056,12 +9385,12 @@ function ownKeys$9(object, enumerableOnly) {
9056
9385
  }
9057
9386
  return keys;
9058
9387
  }
9059
- function _object_spread_props$9(target, source) {
9388
+ function _object_spread_props$a(target, source) {
9060
9389
  source = source != null ? source : {};
9061
9390
  if (Object.getOwnPropertyDescriptors) {
9062
9391
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9063
9392
  } else {
9064
- ownKeys$9(Object(source)).forEach(function(key) {
9393
+ ownKeys$a(Object(source)).forEach(function(key) {
9065
9394
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9066
9395
  });
9067
9396
  }
@@ -9093,7 +9422,7 @@ var common = {
9093
9422
  };
9094
9423
  // A provider owns topology and advancement. A managed definition owns a bounded DAG per round.
9095
9424
  var projectPipelineDefinitionShapeSchema = z.discriminatedUnion("executionAuthority", [
9096
- z.object(_object_spread_props$9(_object_spread$d({}, common), {
9425
+ z.object(_object_spread_props$a(_object_spread$e({}, common), {
9097
9426
  executionAuthority: z.literal("provider"),
9098
9427
  providerRef: projectPipelineRefSchema,
9099
9428
  topology: z.object({
@@ -9102,7 +9431,7 @@ var projectPipelineDefinitionShapeSchema = z.discriminatedUnion("executionAuthor
9102
9431
  }).strict(),
9103
9432
  actionRefs: z.array(projectPipelineRefSchema).max(100).optional()
9104
9433
  })).strict(),
9105
- z.object(_object_spread_props$9(_object_spread$d({}, common), {
9434
+ z.object(_object_spread_props$a(_object_spread$e({}, common), {
9106
9435
  executionAuthority: z.literal("platform"),
9107
9436
  topology: z.object({
9108
9437
  source: z.literal("definition")
@@ -9153,6 +9482,7 @@ var projectPipelineDefinitionSchema = projectPipelineDefinitionShapeSchema.super
9153
9482
  /** Admission controls for host-native LLM requests; provider-internal retries and currency are not hard quotas. */ var projectPipelineNativeModelBudgetSchema = z.object({
9154
9483
  maxCalls: z.number().int().min(1).max(1000000),
9155
9484
  maxTokens: z.number().int().min(1).max(1000000000000),
9485
+ // Minimum hold; native admission reserves the larger current input estimate plus output ceiling.
9156
9486
  reservationTokens: z.number().int().min(1).max(1000000000)
9157
9487
  }).strict().superRefine(function(value, context) {
9158
9488
  if (value.reservationTokens > value.maxTokens) context.addIssue({
@@ -9437,7 +9767,85 @@ var projectPipelineBindingSchema = z.object({
9437
9767
  }
9438
9768
  });
9439
9769
 
9440
- function _define_property$c(obj, key, value) {
9770
+ function _object_without_properties$1(source, excluded) {
9771
+ if (source == null) return {};
9772
+ var target = _object_without_properties_loose$1(source, excluded);
9773
+ var key, i;
9774
+ if (Object.getOwnPropertySymbols) {
9775
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
9776
+ for(i = 0; i < sourceSymbolKeys.length; i++){
9777
+ key = sourceSymbolKeys[i];
9778
+ if (excluded.indexOf(key) >= 0) continue;
9779
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
9780
+ target[key] = source[key];
9781
+ }
9782
+ }
9783
+ return target;
9784
+ }
9785
+ function _object_without_properties_loose$1(source, excluded) {
9786
+ if (source == null) return {};
9787
+ var target = {};
9788
+ var sourceKeys = Object.keys(source);
9789
+ var key, i;
9790
+ for(i = 0; i < sourceKeys.length; i++){
9791
+ key = sourceKeys[i];
9792
+ if (excluded.indexOf(key) >= 0) continue;
9793
+ target[key] = source[key];
9794
+ }
9795
+ return target;
9796
+ }
9797
+ /** Catalog-only policy. The host resolves it before exposing or persisting a concrete configuration. */ var projectPipelineConfigurationDeclarationSchema = projectPipelineConfigurationSchema.innerType().extend({
9798
+ nativeModelBudgetPolicy: z.object({
9799
+ /** Only maxTokens may inherit a host default; other defaults remain in binding.limits. */ maxTokensDefaultSource: z.enum([
9800
+ "configuration",
9801
+ "host"
9802
+ ]),
9803
+ /** Independent ceilings for new configurations, unaffected by changes to host defaults. */ maximum: projectPipelineNativeModelBudgetSchema
9804
+ }).strict().optional()
9805
+ }).superRefine(function(_param, context) {
9806
+ var nativeModelBudgetPolicy = _param.nativeModelBudgetPolicy, configuration = _object_without_properties$1(_param, [
9807
+ "nativeModelBudgetPolicy"
9808
+ ]);
9809
+ var _configuration_binding_limits;
9810
+ var parsed = projectPipelineConfigurationSchema.safeParse(configuration);
9811
+ if (!parsed.success) {
9812
+ parsed.error.issues.forEach(function(issue) {
9813
+ return context.addIssue(issue);
9814
+ });
9815
+ return;
9816
+ }
9817
+ if (!nativeModelBudgetPolicy) return;
9818
+ var budget = (_configuration_binding_limits = configuration.binding.limits) === null || _configuration_binding_limits === void 0 ? void 0 : _configuration_binding_limits.nativeModelBudget;
9819
+ if (!budget) {
9820
+ context.addIssue({
9821
+ code: "custom",
9822
+ message: "MODEL_BUDGET_REQUIRED",
9823
+ path: [
9824
+ "nativeModelBudgetPolicy"
9825
+ ]
9826
+ });
9827
+ return;
9828
+ }
9829
+ // A valid concrete fallback is required even when maxTokens normally inherits the host value.
9830
+ for(var _i = 0, _iter = [
9831
+ "maxCalls",
9832
+ "maxTokens",
9833
+ "reservationTokens"
9834
+ ]; _i < _iter.length; _i++){
9835
+ var key = _iter[_i];
9836
+ if (budget[key] > nativeModelBudgetPolicy.maximum[key]) context.addIssue({
9837
+ code: "custom",
9838
+ message: "MODEL_BUDGET_DEFAULT_EXCEEDS_MAXIMUM",
9839
+ path: [
9840
+ "nativeModelBudgetPolicy",
9841
+ "maximum",
9842
+ key
9843
+ ]
9844
+ });
9845
+ }
9846
+ });
9847
+
9848
+ function _define_property$d(obj, key, value) {
9441
9849
  if (key in obj) {
9442
9850
  Object.defineProperty(obj, key, {
9443
9851
  value: value,
@@ -9450,7 +9858,7 @@ function _define_property$c(obj, key, value) {
9450
9858
  }
9451
9859
  return obj;
9452
9860
  }
9453
- function _object_spread$c(target) {
9861
+ function _object_spread$d(target) {
9454
9862
  for(var i = 1; i < arguments.length; i++){
9455
9863
  var source = arguments[i] != null ? arguments[i] : {};
9456
9864
  var ownKeys = Object.keys(source);
@@ -9460,12 +9868,12 @@ function _object_spread$c(target) {
9460
9868
  }));
9461
9869
  }
9462
9870
  ownKeys.forEach(function(key) {
9463
- _define_property$c(target, key, source[key]);
9871
+ _define_property$d(target, key, source[key]);
9464
9872
  });
9465
9873
  }
9466
9874
  return target;
9467
9875
  }
9468
- function ownKeys$8(object, enumerableOnly) {
9876
+ function ownKeys$9(object, enumerableOnly) {
9469
9877
  var keys = Object.keys(object);
9470
9878
  if (Object.getOwnPropertySymbols) {
9471
9879
  var symbols = Object.getOwnPropertySymbols(object);
@@ -9473,12 +9881,12 @@ function ownKeys$8(object, enumerableOnly) {
9473
9881
  }
9474
9882
  return keys;
9475
9883
  }
9476
- function _object_spread_props$8(target, source) {
9884
+ function _object_spread_props$9(target, source) {
9477
9885
  source = source != null ? source : {};
9478
9886
  if (Object.getOwnPropertyDescriptors) {
9479
9887
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9480
9888
  } else {
9481
- ownKeys$8(Object(source)).forEach(function(key) {
9889
+ ownKeys$9(Object(source)).forEach(function(key) {
9482
9890
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9483
9891
  });
9484
9892
  }
@@ -9494,13 +9902,13 @@ var definitionRef = z.object({
9494
9902
  templateRef: projectPipelineRefSchema,
9495
9903
  digest: z.string().regex(/^[a-f0-9]{64}$/)
9496
9904
  }).strict();
9497
- var projectPipelineProjectBindingSchema = z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9905
+ var projectPipelineProjectBindingSchema = z.object(_object_spread_props$9(_object_spread$d({}, scopedIdentity), {
9498
9906
  definition: definitionRef,
9499
9907
  revision: z.number().int().positive(),
9500
9908
  configuration: projectPipelineBindingSchema
9501
9909
  })).strict();
9502
9910
  var projectPipelineInstanceSchema = z.discriminatedUnion("executionAuthority", [
9503
- z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9911
+ z.object(_object_spread_props$9(_object_spread$d({}, scopedIdentity), {
9504
9912
  executionAuthority: z.literal("provider"),
9505
9913
  providerRef: projectPipelineRefSchema,
9506
9914
  sourceKey: z.string().min(1).max(500),
@@ -9511,7 +9919,7 @@ var projectPipelineInstanceSchema = z.discriminatedUnion("executionAuthority", [
9511
9919
  }).strict(),
9512
9920
  revision: z.number().int().nonnegative()
9513
9921
  })).strict(),
9514
- z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9922
+ z.object(_object_spread_props$9(_object_spread$d({}, scopedIdentity), {
9515
9923
  executionAuthority: z.literal("platform"),
9516
9924
  bindingId: z.string().uuid(),
9517
9925
  sourceKey: z.string().min(1).max(500),
@@ -9523,7 +9931,7 @@ var projectPipelineInstanceSchema = z.discriminatedUnion("executionAuthority", [
9523
9931
  revision: z.number().int().nonnegative()
9524
9932
  })).strict()
9525
9933
  ]);
9526
- var projectPipelineRunSchema = z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9934
+ var projectPipelineRunSchema = z.object(_object_spread_props$9(_object_spread$d({}, scopedIdentity), {
9527
9935
  instanceId: z.string().uuid(),
9528
9936
  triggerKey: z.string().min(1).max(500),
9529
9937
  definition: definitionRef,
@@ -9595,7 +10003,7 @@ var projectPipelineWorkContextSchema = z.object({
9595
10003
  inputDigest: z.string().regex(/^[a-f0-9]{64}$/),
9596
10004
  generation: z.number().int().positive()
9597
10005
  }).strict();
9598
- var projectPipelineRoundSchema = z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
10006
+ var projectPipelineRoundSchema = z.object(_object_spread_props$9(_object_spread$d({}, scopedIdentity), {
9599
10007
  runId: z.string().uuid(),
9600
10008
  sequence: z.number().int().positive(),
9601
10009
  generation: z.number().int().positive(),
@@ -9611,7 +10019,7 @@ var projectPipelineRoundSchema = z.object(_object_spread_props$8(_object_spread$
9611
10019
  subjectVersionSet: z.array(projectPipelineSubjectVersionSchema).min(1).max(100),
9612
10020
  supersedes: z.string().uuid().nullable()
9613
10021
  })).strict();
9614
- var projectPipelineNodeInstanceSchema = z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
10022
+ var projectPipelineNodeInstanceSchema = z.object(_object_spread_props$9(_object_spread$d({}, scopedIdentity), {
9615
10023
  roundId: z.string().uuid(),
9616
10024
  nodeKey: projectPipelineKeySchema,
9617
10025
  /** Stable source identity; never a list index. */ expansionKey: z.string().min(1).max(500),
@@ -9623,7 +10031,7 @@ var projectPipelineNodeInstanceSchema = z.object(_object_spread_props$8(_object_
9623
10031
  revision: z.number().int().nonnegative()
9624
10032
  })).strict();
9625
10033
 
9626
- function _define_property$b(obj, key, value) {
10034
+ function _define_property$c(obj, key, value) {
9627
10035
  if (key in obj) {
9628
10036
  Object.defineProperty(obj, key, {
9629
10037
  value: value,
@@ -9636,7 +10044,7 @@ function _define_property$b(obj, key, value) {
9636
10044
  }
9637
10045
  return obj;
9638
10046
  }
9639
- function _object_spread$b(target) {
10047
+ function _object_spread$c(target) {
9640
10048
  for(var i = 1; i < arguments.length; i++){
9641
10049
  var source = arguments[i] != null ? arguments[i] : {};
9642
10050
  var ownKeys = Object.keys(source);
@@ -9646,12 +10054,12 @@ function _object_spread$b(target) {
9646
10054
  }));
9647
10055
  }
9648
10056
  ownKeys.forEach(function(key) {
9649
- _define_property$b(target, key, source[key]);
10057
+ _define_property$c(target, key, source[key]);
9650
10058
  });
9651
10059
  }
9652
10060
  return target;
9653
10061
  }
9654
- function ownKeys$7(object, enumerableOnly) {
10062
+ function ownKeys$8(object, enumerableOnly) {
9655
10063
  var keys = Object.keys(object);
9656
10064
  if (Object.getOwnPropertySymbols) {
9657
10065
  var symbols = Object.getOwnPropertySymbols(object);
@@ -9659,12 +10067,12 @@ function ownKeys$7(object, enumerableOnly) {
9659
10067
  }
9660
10068
  return keys;
9661
10069
  }
9662
- function _object_spread_props$7(target, source) {
10070
+ function _object_spread_props$8(target, source) {
9663
10071
  source = source != null ? source : {};
9664
10072
  if (Object.getOwnPropertyDescriptors) {
9665
10073
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
9666
10074
  } else {
9667
- ownKeys$7(Object(source)).forEach(function(key) {
10075
+ ownKeys$8(Object(source)).forEach(function(key) {
9668
10076
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
9669
10077
  });
9670
10078
  }
@@ -9681,17 +10089,17 @@ var projectPipelinePortDescriptorSchema = z.object({
9681
10089
  ])
9682
10090
  }).strict();
9683
10091
  /** Declarations allow configuration checks. They never prove a runtime executor is currently available. */ var projectPipelineExtensionDescriptorSchema = z.discriminatedUnion("kind", [
9684
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10092
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9685
10093
  kind: z.literal("schema")
9686
10094
  })).strict(),
9687
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10095
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9688
10096
  kind: z.literal("resource")
9689
10097
  })).strict(),
9690
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10098
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9691
10099
  kind: z.literal("subject"),
9692
10100
  outputSchemaRef: projectPipelineRefSchema
9693
10101
  })).strict(),
9694
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10102
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9695
10103
  kind: z.literal("operation"),
9696
10104
  effects: z.enum([
9697
10105
  "read_only",
@@ -9710,32 +10118,32 @@ var projectPipelinePortDescriptorSchema = z.object({
9710
10118
  inputs: z.record(projectPipelineKeySchema, projectPipelinePortDescriptorSchema),
9711
10119
  outputs: z.record(projectPipelineKeySchema, projectPipelineRefSchema)
9712
10120
  })).strict(),
9713
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10121
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9714
10122
  kind: z.literal("completion")
9715
10123
  })).strict(),
9716
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10124
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9717
10125
  kind: z.literal("policy"),
9718
10126
  outcomes: z.array(projectPipelineKeySchema).min(1).max(32)
9719
10127
  })).strict(),
9720
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10128
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9721
10129
  kind: z.literal("projection")
9722
10130
  })).strict(),
9723
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10131
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9724
10132
  kind: z.literal("presentation")
9725
10133
  })).strict(),
9726
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10134
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9727
10135
  kind: z.literal("action")
9728
10136
  })).strict(),
9729
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10137
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9730
10138
  kind: z.literal("metric")
9731
10139
  })).strict(),
9732
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10140
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9733
10141
  kind: z.literal("dimension")
9734
10142
  })).strict(),
9735
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10143
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9736
10144
  kind: z.literal("trigger")
9737
10145
  })).strict(),
9738
- z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
10146
+ z.object(_object_spread_props$8(_object_spread$c({}, reference$1), {
9739
10147
  kind: z.literal("subscription"),
9740
10148
  outputs: z.record(projectPipelineKeySchema, projectPipelineRefSchema)
9741
10149
  })).strict()
@@ -10502,7 +10910,7 @@ var tombstone = z.object({
10502
10910
  ]);
10503
10911
  });
10504
10912
 
10505
- function _define_property$a(obj, key, value) {
10913
+ function _define_property$b(obj, key, value) {
10506
10914
  if (key in obj) {
10507
10915
  Object.defineProperty(obj, key, {
10508
10916
  value: value,
@@ -10515,7 +10923,7 @@ function _define_property$a(obj, key, value) {
10515
10923
  }
10516
10924
  return obj;
10517
10925
  }
10518
- function _object_spread$a(target) {
10926
+ function _object_spread$b(target) {
10519
10927
  for(var i = 1; i < arguments.length; i++){
10520
10928
  var source = arguments[i] != null ? arguments[i] : {};
10521
10929
  var ownKeys = Object.keys(source);
@@ -10525,12 +10933,12 @@ function _object_spread$a(target) {
10525
10933
  }));
10526
10934
  }
10527
10935
  ownKeys.forEach(function(key) {
10528
- _define_property$a(target, key, source[key]);
10936
+ _define_property$b(target, key, source[key]);
10529
10937
  });
10530
10938
  }
10531
10939
  return target;
10532
10940
  }
10533
- function ownKeys$6(object, enumerableOnly) {
10941
+ function ownKeys$7(object, enumerableOnly) {
10534
10942
  var keys = Object.keys(object);
10535
10943
  if (Object.getOwnPropertySymbols) {
10536
10944
  var symbols = Object.getOwnPropertySymbols(object);
@@ -10538,12 +10946,12 @@ function ownKeys$6(object, enumerableOnly) {
10538
10946
  }
10539
10947
  return keys;
10540
10948
  }
10541
- function _object_spread_props$6(target, source) {
10949
+ function _object_spread_props$7(target, source) {
10542
10950
  source = source != null ? source : {};
10543
10951
  if (Object.getOwnPropertyDescriptors) {
10544
10952
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10545
10953
  } else {
10546
- ownKeys$6(Object(source)).forEach(function(key) {
10954
+ ownKeys$7(Object(source)).forEach(function(key) {
10547
10955
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10548
10956
  });
10549
10957
  }
@@ -10581,7 +10989,7 @@ function executionRuntimeTargetsEqual(left, right) {
10581
10989
  return left.version === right.version && left.kind === right.kind && left.generation === right.generation && (left.kind !== "host" || right.kind === "host" && left.hostId === right.hostId);
10582
10990
  }
10583
10991
  /** Control acknowledgements never constitute completion evidence. Missing evidence stays unknown. */ var executionControlEvidenceSchema = z.discriminatedUnion("source", [
10584
- z.object(_object_spread_props$6(_object_spread$a({}, base), {
10992
+ z.object(_object_spread_props$7(_object_spread$b({}, base), {
10585
10993
  source: z.literal("unavailable"),
10586
10994
  subject: subject,
10587
10995
  state: z.literal("unknown"),
@@ -10591,7 +10999,7 @@ function executionRuntimeTargetsEqual(left, right) {
10591
10999
  "unsupported"
10592
11000
  ])
10593
11001
  })).strict(),
10594
- z.object(_object_spread_props$6(_object_spread$a({}, base), {
11002
+ z.object(_object_spread_props$7(_object_spread$b({}, base), {
10595
11003
  source: z.literal("platform"),
10596
11004
  subject: subject,
10597
11005
  scope: z.literal("owned_subtree"),
@@ -10613,7 +11021,7 @@ function executionRuntimeTargetsEqual(left, right) {
10613
11021
  executionId: z.string().uuid(),
10614
11022
  threadId: z.string().min(1)
10615
11023
  })).strict(),
10616
- z.object(_object_spread_props$6(_object_spread$a({}, base), {
11024
+ z.object(_object_spread_props$7(_object_spread$b({}, base), {
10617
11025
  source: z.literal("provider"),
10618
11026
  subject: z.object({
10619
11027
  kind: z.literal("invocation"),
@@ -10631,7 +11039,7 @@ function executionRuntimeTargetsEqual(left, right) {
10631
11039
  receiptKey: z.string().min(1).max(500),
10632
11040
  target: executionRuntimeTargetSchema.optional()
10633
11041
  })).strict(),
10634
- z.object(_object_spread_props$6(_object_spread$a({}, base), {
11042
+ z.object(_object_spread_props$7(_object_spread$b({}, base), {
10635
11043
  source: z.literal("native_graph"),
10636
11044
  subject: z.object({
10637
11045
  kind: z.literal("invocation"),
@@ -10642,7 +11050,7 @@ function executionRuntimeTargetsEqual(left, right) {
10642
11050
  outcome: z.literal("cancelled"),
10643
11051
  executionId: z.string().min(1)
10644
11052
  })).strict(),
10645
- z.object(_object_spread_props$6(_object_spread$a({}, base), {
11053
+ z.object(_object_spread_props$7(_object_spread$b({}, base), {
10646
11054
  source: z.literal("host_admission"),
10647
11055
  subject: z.object({
10648
11056
  kind: z.literal("invocation"),
@@ -10669,7 +11077,7 @@ function unknownExecutionControl(subject) {
10669
11077
  };
10670
11078
  }
10671
11079
 
10672
- function _define_property$9(obj, key, value) {
11080
+ function _define_property$a(obj, key, value) {
10673
11081
  if (key in obj) {
10674
11082
  Object.defineProperty(obj, key, {
10675
11083
  value: value,
@@ -10682,7 +11090,7 @@ function _define_property$9(obj, key, value) {
10682
11090
  }
10683
11091
  return obj;
10684
11092
  }
10685
- function _object_spread$9(target) {
11093
+ function _object_spread$a(target) {
10686
11094
  for(var i = 1; i < arguments.length; i++){
10687
11095
  var source = arguments[i] != null ? arguments[i] : {};
10688
11096
  var ownKeys = Object.keys(source);
@@ -10692,12 +11100,12 @@ function _object_spread$9(target) {
10692
11100
  }));
10693
11101
  }
10694
11102
  ownKeys.forEach(function(key) {
10695
- _define_property$9(target, key, source[key]);
11103
+ _define_property$a(target, key, source[key]);
10696
11104
  });
10697
11105
  }
10698
11106
  return target;
10699
11107
  }
10700
- function ownKeys$5(object, enumerableOnly) {
11108
+ function ownKeys$6(object, enumerableOnly) {
10701
11109
  var keys = Object.keys(object);
10702
11110
  if (Object.getOwnPropertySymbols) {
10703
11111
  var symbols = Object.getOwnPropertySymbols(object);
@@ -10705,12 +11113,12 @@ function ownKeys$5(object, enumerableOnly) {
10705
11113
  }
10706
11114
  return keys;
10707
11115
  }
10708
- function _object_spread_props$5(target, source) {
11116
+ function _object_spread_props$6(target, source) {
10709
11117
  source = source != null ? source : {};
10710
11118
  if (Object.getOwnPropertyDescriptors) {
10711
11119
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10712
11120
  } else {
10713
- ownKeys$5(Object(source)).forEach(function(key) {
11121
+ ownKeys$6(Object(source)).forEach(function(key) {
10714
11122
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10715
11123
  });
10716
11124
  }
@@ -10777,20 +11185,20 @@ var receipt = {
10777
11185
  ]).optional()
10778
11186
  };
10779
11187
  var projectPipelineOperationReceiptSchema = z.discriminatedUnion("status", [
10780
- z.object(_object_spread_props$5(_object_spread$9({}, receipt), {
11188
+ z.object(_object_spread_props$6(_object_spread$a({}, receipt), {
10781
11189
  status: z.literal("pending")
10782
11190
  })).strict(),
10783
- z.object(_object_spread_props$5(_object_spread$9({}, receipt), {
11191
+ z.object(_object_spread_props$6(_object_spread$a({}, receipt), {
10784
11192
  status: z.literal("succeeded"),
10785
11193
  outputs: z.record(projectPipelineKeySchema, projectPipelineEvidenceRefSchema).refine(function(value) {
10786
11194
  return Object.keys(value).length <= 100;
10787
11195
  }, "Too many output ports")
10788
11196
  })).strict(),
10789
- z.object(_object_spread_props$5(_object_spread$9({}, receipt), {
11197
+ z.object(_object_spread_props$6(_object_spread$a({}, receipt), {
10790
11198
  status: z.literal("failed"),
10791
11199
  code: projectPipelineKeySchema
10792
11200
  })).strict(),
10793
- z.object(_object_spread_props$5(_object_spread$9({}, receipt), {
11201
+ z.object(_object_spread_props$6(_object_spread$a({}, receipt), {
10794
11202
  status: z.literal("cancelled")
10795
11203
  })).strict(),
10796
11204
  z.object({
@@ -10872,7 +11280,7 @@ function _array_like_to_array$f(arr, len) {
10872
11280
  function _array_without_holes$7(arr) {
10873
11281
  if (Array.isArray(arr)) return _array_like_to_array$f(arr);
10874
11282
  }
10875
- function _define_property$8(obj, key, value) {
11283
+ function _define_property$9(obj, key, value) {
10876
11284
  if (key in obj) {
10877
11285
  Object.defineProperty(obj, key, {
10878
11286
  value: value,
@@ -10891,7 +11299,7 @@ function _iterable_to_array$8(iter) {
10891
11299
  function _non_iterable_spread$7() {
10892
11300
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10893
11301
  }
10894
- function _object_spread$8(target) {
11302
+ function _object_spread$9(target) {
10895
11303
  for(var i = 1; i < arguments.length; i++){
10896
11304
  var source = arguments[i] != null ? arguments[i] : {};
10897
11305
  var ownKeys = Object.keys(source);
@@ -10901,12 +11309,12 @@ function _object_spread$8(target) {
10901
11309
  }));
10902
11310
  }
10903
11311
  ownKeys.forEach(function(key) {
10904
- _define_property$8(target, key, source[key]);
11312
+ _define_property$9(target, key, source[key]);
10905
11313
  });
10906
11314
  }
10907
11315
  return target;
10908
11316
  }
10909
- function ownKeys$4(object, enumerableOnly) {
11317
+ function ownKeys$5(object, enumerableOnly) {
10910
11318
  var keys = Object.keys(object);
10911
11319
  if (Object.getOwnPropertySymbols) {
10912
11320
  var symbols = Object.getOwnPropertySymbols(object);
@@ -10914,12 +11322,12 @@ function ownKeys$4(object, enumerableOnly) {
10914
11322
  }
10915
11323
  return keys;
10916
11324
  }
10917
- function _object_spread_props$4(target, source) {
11325
+ function _object_spread_props$5(target, source) {
10918
11326
  source = source != null ? source : {};
10919
11327
  if (Object.getOwnPropertyDescriptors) {
10920
11328
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
10921
11329
  } else {
10922
- ownKeys$4(Object(source)).forEach(function(key) {
11330
+ ownKeys$5(Object(source)).forEach(function(key) {
10923
11331
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
10924
11332
  });
10925
11333
  }
@@ -11109,7 +11517,7 @@ function pipelineExecutorStatistics(facts) {
11109
11517
  }
11110
11518
  return _to_consumable_array$7(groups.values()).map(function(param) {
11111
11519
  var identity = param.identity, _$facts = param.facts;
11112
- return _object_spread_props$4(_object_spread$8({}, identity), {
11520
+ return _object_spread_props$5(_object_spread$9({}, identity), {
11113
11521
  attempts: pipelineAttemptCounts(_$facts),
11114
11522
  timing: pipelineExecutionTiming(_$facts)
11115
11523
  });
@@ -11124,7 +11532,7 @@ function _array_like_to_array$e(arr, len) {
11124
11532
  function _array_without_holes$6(arr) {
11125
11533
  if (Array.isArray(arr)) return _array_like_to_array$e(arr);
11126
11534
  }
11127
- function _define_property$7(obj, key, value) {
11535
+ function _define_property$8(obj, key, value) {
11128
11536
  if (key in obj) {
11129
11537
  Object.defineProperty(obj, key, {
11130
11538
  value: value,
@@ -11143,7 +11551,7 @@ function _iterable_to_array$7(iter) {
11143
11551
  function _non_iterable_spread$6() {
11144
11552
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11145
11553
  }
11146
- function _object_spread$7(target) {
11554
+ function _object_spread$8(target) {
11147
11555
  for(var i = 1; i < arguments.length; i++){
11148
11556
  var source = arguments[i] != null ? arguments[i] : {};
11149
11557
  var ownKeys = Object.keys(source);
@@ -11153,12 +11561,12 @@ function _object_spread$7(target) {
11153
11561
  }));
11154
11562
  }
11155
11563
  ownKeys.forEach(function(key) {
11156
- _define_property$7(target, key, source[key]);
11564
+ _define_property$8(target, key, source[key]);
11157
11565
  });
11158
11566
  }
11159
11567
  return target;
11160
11568
  }
11161
- function ownKeys$3(object, enumerableOnly) {
11569
+ function ownKeys$4(object, enumerableOnly) {
11162
11570
  var keys = Object.keys(object);
11163
11571
  if (Object.getOwnPropertySymbols) {
11164
11572
  var symbols = Object.getOwnPropertySymbols(object);
@@ -11166,12 +11574,12 @@ function ownKeys$3(object, enumerableOnly) {
11166
11574
  }
11167
11575
  return keys;
11168
11576
  }
11169
- function _object_spread_props$3(target, source) {
11577
+ function _object_spread_props$4(target, source) {
11170
11578
  source = source != null ? source : {};
11171
11579
  if (Object.getOwnPropertyDescriptors) {
11172
11580
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
11173
11581
  } else {
11174
- ownKeys$3(Object(source)).forEach(function(key) {
11582
+ ownKeys$4(Object(source)).forEach(function(key) {
11175
11583
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
11176
11584
  });
11177
11585
  }
@@ -11308,13 +11716,13 @@ function pipelineModelUsageStatistics(facts, coverage) {
11308
11716
  }
11309
11717
  }
11310
11718
  }
11311
- return _object_spread_props$3(_object_spread$7({
11719
+ return _object_spread_props$4(_object_spread$8({
11312
11720
  scope: "linked_native_llm_calls"
11313
11721
  }, coverage, totals(calls)), {
11314
11722
  unpricedCalls: unpricedCalls,
11315
11723
  chargedPoints: chargedPoints,
11316
11724
  byModel: _to_consumable_array$6(models.values()).map(function(group) {
11317
- return _object_spread$7({
11725
+ return _object_spread$8({
11318
11726
  provider: group[0].provider,
11319
11727
  model: group[0].model
11320
11728
  }, totals(group));
@@ -11534,7 +11942,7 @@ function _array_with_holes$9(arr) {
11534
11942
  function _array_without_holes$4(arr) {
11535
11943
  if (Array.isArray(arr)) return _array_like_to_array$c(arr);
11536
11944
  }
11537
- function _define_property$6(obj, key, value) {
11945
+ function _define_property$7(obj, key, value) {
11538
11946
  if (key in obj) {
11539
11947
  Object.defineProperty(obj, key, {
11540
11948
  value: value,
@@ -11580,7 +11988,7 @@ function _non_iterable_rest$9() {
11580
11988
  function _non_iterable_spread$4() {
11581
11989
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11582
11990
  }
11583
- function _object_spread$6(target) {
11991
+ function _object_spread$7(target) {
11584
11992
  for(var i = 1; i < arguments.length; i++){
11585
11993
  var source = arguments[i] != null ? arguments[i] : {};
11586
11994
  var ownKeys = Object.keys(source);
@@ -11590,12 +11998,12 @@ function _object_spread$6(target) {
11590
11998
  }));
11591
11999
  }
11592
12000
  ownKeys.forEach(function(key) {
11593
- _define_property$6(target, key, source[key]);
12001
+ _define_property$7(target, key, source[key]);
11594
12002
  });
11595
12003
  }
11596
12004
  return target;
11597
12005
  }
11598
- function ownKeys$2(object, enumerableOnly) {
12006
+ function ownKeys$3(object, enumerableOnly) {
11599
12007
  var keys = Object.keys(object);
11600
12008
  if (Object.getOwnPropertySymbols) {
11601
12009
  var symbols = Object.getOwnPropertySymbols(object);
@@ -11603,12 +12011,12 @@ function ownKeys$2(object, enumerableOnly) {
11603
12011
  }
11604
12012
  return keys;
11605
12013
  }
11606
- function _object_spread_props$2(target, source) {
12014
+ function _object_spread_props$3(target, source) {
11607
12015
  source = source != null ? source : {};
11608
12016
  if (Object.getOwnPropertyDescriptors) {
11609
12017
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
11610
12018
  } else {
11611
- ownKeys$2(Object(source)).forEach(function(key) {
12019
+ ownKeys$3(Object(source)).forEach(function(key) {
11612
12020
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
11613
12021
  });
11614
12022
  }
@@ -11642,30 +12050,30 @@ var option = z.object({
11642
12050
  label: label$1
11643
12051
  }).strict();
11644
12052
  var projectPipelineParameterFieldSchema = z.discriminatedUnion("type", [
11645
- z.object(_object_spread_props$2(_object_spread$6({}, field), {
12053
+ z.object(_object_spread_props$3(_object_spread$7({}, field), {
11646
12054
  type: z.literal("boolean")
11647
12055
  })).strict(),
11648
- z.object(_object_spread_props$2(_object_spread$6({}, field), {
12056
+ z.object(_object_spread_props$3(_object_spread$7({}, field), {
11649
12057
  type: z.literal("text"),
11650
12058
  maxLength: z.number().int().min(1).max(4000),
11651
12059
  minLength: z.number().int().min(0).max(4000)
11652
12060
  })).strict(),
11653
- z.object(_object_spread_props$2(_object_spread$6({}, field), {
12061
+ z.object(_object_spread_props$3(_object_spread$7({}, field), {
11654
12062
  type: z.literal("number"),
11655
12063
  min: z.number().finite(),
11656
12064
  max: z.number().finite(),
11657
12065
  integer: z.boolean()
11658
12066
  })).strict(),
11659
- z.object(_object_spread_props$2(_object_spread$6({}, field), {
12067
+ z.object(_object_spread_props$3(_object_spread$7({}, field), {
11660
12068
  type: z.literal("choice"),
11661
12069
  options: z.array(option).min(1).max(100)
11662
12070
  })).strict(),
11663
- z.object(_object_spread_props$2(_object_spread$6({}, field), {
12071
+ z.object(_object_spread_props$3(_object_spread$7({}, field), {
11664
12072
  type: z.literal("multi_choice"),
11665
12073
  options: z.array(option).min(1).max(100),
11666
12074
  minItems: z.number().int().min(0).max(100).default(0)
11667
12075
  })).strict(),
11668
- z.object(_object_spread_props$2(_object_spread$6({}, field), {
12076
+ z.object(_object_spread_props$3(_object_spread$7({}, field), {
11669
12077
  type: z.literal("string_list"),
11670
12078
  maxItems: z.number().int().min(1).max(100),
11671
12079
  itemMaxLength: z.number().int().min(1).max(500)
@@ -11868,13 +12276,13 @@ function parameterSchema(field) {
11868
12276
  return item.key;
11869
12277
  }))) throw new Error("PIPELINE_CONFIGURATION_FIELDS_MISMATCH");
11870
12278
  var _configuration_binding_executorBindings2;
11871
- var binding = _object_spread_props$2(_object_spread$6({}, configuration.binding), {
11872
- parameters: _object_spread$6({}, configuration.binding.parameters),
12279
+ var binding = _object_spread_props$3(_object_spread$7({}, configuration.binding), {
12280
+ parameters: _object_spread$7({}, configuration.binding.parameters),
11873
12281
  executorBindings: Object.fromEntries(Object.entries((_configuration_binding_executorBindings2 = configuration.binding.executorBindings) !== null && _configuration_binding_executorBindings2 !== void 0 ? _configuration_binding_executorBindings2 : {}).map(function(param) {
11874
12282
  var _param = _sliced_to_array$8(param, 2), key = _param[0], executor = _param[1];
11875
12283
  return [
11876
12284
  key,
11877
- _object_spread$6({}, executor)
12285
+ _object_spread$7({}, executor)
11878
12286
  ];
11879
12287
  }))
11880
12288
  });
@@ -11890,7 +12298,7 @@ function parameterSchema(field) {
11890
12298
  var key = _iter[_i];
11891
12299
  if (budget[key] > form.nativeModelBudget[key]) throw new Error("PIPELINE_CONFIGURATION_BUDGET_LIMIT");
11892
12300
  }
11893
- binding.limits = _object_spread_props$2(_object_spread$6({}, binding.limits), {
12301
+ binding.limits = _object_spread_props$3(_object_spread$7({}, binding.limits), {
11894
12302
  nativeModelBudget: budget
11895
12303
  });
11896
12304
  } else if (input.nativeModelBudget !== undefined) throw new Error("PIPELINE_CONFIGURATION_FIELDS_MISMATCH");
@@ -11962,14 +12370,14 @@ function parameterSchema(field) {
11962
12370
  }
11963
12371
  }
11964
12372
  }
11965
- return projectPipelineConfigurationSchema.parse(_object_spread_props$2(_object_spread$6({}, configuration), {
12373
+ return projectPipelineConfigurationSchema.parse(_object_spread_props$3(_object_spread$7({}, configuration), {
11966
12374
  binding: binding
11967
12375
  }));
11968
12376
  }
11969
12377
  /** Registration validates defaults without requiring portable Assistant placeholders to be UUIDs. */ function validateProjectPipelineConfigurationForm(configuration, form) {
11970
12378
  var _configuration_binding_limits;
11971
12379
  var _form_runtimeSlots;
11972
- return configureProjectPipelineFromForm(configuration, form, _object_spread_props$2(_object_spread$6({}, form.nativeModelBudget ? {
12380
+ return configureProjectPipelineFromForm(configuration, form, _object_spread_props$3(_object_spread$7({}, form.nativeModelBudget ? {
11973
12381
  nativeModelBudget: (_configuration_binding_limits = configuration.binding.limits) === null || _configuration_binding_limits === void 0 ? void 0 : _configuration_binding_limits.nativeModelBudget
11974
12382
  } : {}), {
11975
12383
  assistants: Object.fromEntries(form.assistantSlots.map(function(item) {
@@ -12251,7 +12659,7 @@ function _array_with_holes$8(arr) {
12251
12659
  function _array_without_holes$2(arr) {
12252
12660
  if (Array.isArray(arr)) return _array_like_to_array$a(arr);
12253
12661
  }
12254
- function _define_property$5(obj, key, value) {
12662
+ function _define_property$6(obj, key, value) {
12255
12663
  if (key in obj) {
12256
12664
  Object.defineProperty(obj, key, {
12257
12665
  value: value,
@@ -12297,7 +12705,7 @@ function _non_iterable_rest$8() {
12297
12705
  function _non_iterable_spread$2() {
12298
12706
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12299
12707
  }
12300
- function _object_spread$5(target) {
12708
+ function _object_spread$6(target) {
12301
12709
  for(var i = 1; i < arguments.length; i++){
12302
12710
  var source = arguments[i] != null ? arguments[i] : {};
12303
12711
  var ownKeys = Object.keys(source);
@@ -12307,12 +12715,12 @@ function _object_spread$5(target) {
12307
12715
  }));
12308
12716
  }
12309
12717
  ownKeys.forEach(function(key) {
12310
- _define_property$5(target, key, source[key]);
12718
+ _define_property$6(target, key, source[key]);
12311
12719
  });
12312
12720
  }
12313
12721
  return target;
12314
12722
  }
12315
- function ownKeys$1(object, enumerableOnly) {
12723
+ function ownKeys$2(object, enumerableOnly) {
12316
12724
  var keys = Object.keys(object);
12317
12725
  if (Object.getOwnPropertySymbols) {
12318
12726
  var symbols = Object.getOwnPropertySymbols(object);
@@ -12320,12 +12728,12 @@ function ownKeys$1(object, enumerableOnly) {
12320
12728
  }
12321
12729
  return keys;
12322
12730
  }
12323
- function _object_spread_props$1(target, source) {
12731
+ function _object_spread_props$2(target, source) {
12324
12732
  source = source != null ? source : {};
12325
12733
  if (Object.getOwnPropertyDescriptors) {
12326
12734
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
12327
12735
  } else {
12328
- ownKeys$1(Object(source)).forEach(function(key) {
12736
+ ownKeys$2(Object(source)).forEach(function(key) {
12329
12737
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
12330
12738
  });
12331
12739
  }
@@ -12430,7 +12838,7 @@ function unionDuration(ranges) {
12430
12838
  try {
12431
12839
  for(var _iterator = open.values()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
12432
12840
  var value = _step.value;
12433
- intervals.push(_object_spread_props$1(_object_spread$5({}, value), {
12841
+ intervals.push(_object_spread_props$2(_object_spread$6({}, value), {
12434
12842
  end: lastAt,
12435
12843
  ongoing: false,
12436
12844
  censored: true
@@ -12483,7 +12891,7 @@ function unionDuration(ranges) {
12483
12891
  for(var _iterator1 = open[Symbol.iterator](), _step2; !(_iteratorNormalCompletion1 = (_step2 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
12484
12892
  var _step_value = _sliced_to_array$7(_step2.value, 2), id = _step_value[0], value = _step_value[1];
12485
12893
  if (!ready.has(id)) {
12486
- intervals.push(_object_spread_props$1(_object_spread$5({}, value), {
12894
+ intervals.push(_object_spread_props$2(_object_spread$6({}, value), {
12487
12895
  end: at,
12488
12896
  ongoing: false
12489
12897
  }));
@@ -12551,13 +12959,13 @@ function unionDuration(ranges) {
12551
12959
  var _step_value1 = _sliced_to_array$7(_step4.value, 2), id2 = _step_value1[0], value1 = _step_value1[1];
12552
12960
  // Current state is independently read from the same MVCC snapshot. Divergence must not extend an interval.
12553
12961
  if (currentWaiting.has(id2)) {
12554
- intervals.push(_object_spread_props$1(_object_spread$5({}, value1), {
12962
+ intervals.push(_object_spread_props$2(_object_spread$6({}, value1), {
12555
12963
  end: now,
12556
12964
  ongoing: true
12557
12965
  }));
12558
12966
  tracked.add(id2);
12559
12967
  } else {
12560
- intervals.push(_object_spread_props$1(_object_spread$5({}, value1), {
12968
+ intervals.push(_object_spread_props$2(_object_spread$6({}, value1), {
12561
12969
  end: lastAt,
12562
12970
  ongoing: false,
12563
12971
  censored: true
@@ -12602,7 +13010,7 @@ function unionDuration(ranges) {
12602
13010
  var selected = intervals.filter(function(interval) {
12603
13011
  return interval.start < to && interval.end >= from && interval.end >= interval.start;
12604
13012
  }).map(function(interval) {
12605
- return _object_spread_props$1(_object_spread$5({}, interval), {
13013
+ return _object_spread_props$2(_object_spread$6({}, interval), {
12606
13014
  start: Math.max(from, interval.start),
12607
13015
  end: Math.min(to, interval.end)
12608
13016
  });
@@ -12648,7 +13056,7 @@ function unionDuration(ranges) {
12648
13056
  };
12649
13057
  }
12650
13058
 
12651
- function _define_property$4(obj, key, value) {
13059
+ function _define_property$5(obj, key, value) {
12652
13060
  if (key in obj) {
12653
13061
  Object.defineProperty(obj, key, {
12654
13062
  value: value,
@@ -12661,7 +13069,7 @@ function _define_property$4(obj, key, value) {
12661
13069
  }
12662
13070
  return obj;
12663
13071
  }
12664
- function _object_spread$4(target) {
13072
+ function _object_spread$5(target) {
12665
13073
  for(var i = 1; i < arguments.length; i++){
12666
13074
  var source = arguments[i] != null ? arguments[i] : {};
12667
13075
  var ownKeys = Object.keys(source);
@@ -12671,7 +13079,7 @@ function _object_spread$4(target) {
12671
13079
  }));
12672
13080
  }
12673
13081
  ownKeys.forEach(function(key) {
12674
- _define_property$4(target, key, source[key]);
13082
+ _define_property$5(target, key, source[key]);
12675
13083
  });
12676
13084
  }
12677
13085
  return target;
@@ -12811,7 +13219,7 @@ var projectPipelineAnalyticsSchema = z.object({
12811
13219
  }
12812
13220
  /** One complete authorized snapshot, with a start-time cohort separate from current business state. */ function projectPipelineAnalytics(projectId, instances, executions, window, snapshotAt) {
12813
13221
  var instancesWithoutCurrentRound = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : 0;
12814
- return _object_spread$4({
13222
+ return _object_spread$5({
12815
13223
  projectId: projectId
12816
13224
  }, aggregatePipelineAnalytics(instances, executions, window, snapshotAt, instancesWithoutCurrentRound));
12817
13225
  }
@@ -13108,9 +13516,83 @@ var projectPipelineNativeSourceSchema = projectPipelineNativeDispatchSchema.exte
13108
13516
  callKey: projectPipelineKeySchema
13109
13517
  });
13110
13518
 
13519
+ function _define_property$4(obj, key, value) {
13520
+ if (key in obj) {
13521
+ Object.defineProperty(obj, key, {
13522
+ value: value,
13523
+ enumerable: true,
13524
+ configurable: true,
13525
+ writable: true
13526
+ });
13527
+ } else {
13528
+ obj[key] = value;
13529
+ }
13530
+ return obj;
13531
+ }
13532
+ function _object_spread$4(target) {
13533
+ for(var i = 1; i < arguments.length; i++){
13534
+ var source = arguments[i] != null ? arguments[i] : {};
13535
+ var ownKeys = Object.keys(source);
13536
+ if (typeof Object.getOwnPropertySymbols === "function") {
13537
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
13538
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
13539
+ }));
13540
+ }
13541
+ ownKeys.forEach(function(key) {
13542
+ _define_property$4(target, key, source[key]);
13543
+ });
13544
+ }
13545
+ return target;
13546
+ }
13547
+ function ownKeys$1(object, enumerableOnly) {
13548
+ var keys = Object.keys(object);
13549
+ if (Object.getOwnPropertySymbols) {
13550
+ var symbols = Object.getOwnPropertySymbols(object);
13551
+ keys.push.apply(keys, symbols);
13552
+ }
13553
+ return keys;
13554
+ }
13555
+ function _object_spread_props$1(target, source) {
13556
+ source = source != null ? source : {};
13557
+ if (Object.getOwnPropertyDescriptors) {
13558
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
13559
+ } else {
13560
+ ownKeys$1(Object(source)).forEach(function(key) {
13561
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
13562
+ });
13563
+ }
13564
+ return target;
13565
+ }
13566
+ function _object_without_properties(source, excluded) {
13567
+ if (source == null) return {};
13568
+ var target = _object_without_properties_loose(source, excluded);
13569
+ var key, i;
13570
+ if (Object.getOwnPropertySymbols) {
13571
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
13572
+ for(i = 0; i < sourceSymbolKeys.length; i++){
13573
+ key = sourceSymbolKeys[i];
13574
+ if (excluded.indexOf(key) >= 0) continue;
13575
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
13576
+ target[key] = source[key];
13577
+ }
13578
+ }
13579
+ return target;
13580
+ }
13581
+ function _object_without_properties_loose(source, excluded) {
13582
+ if (source == null) return {};
13583
+ var target = {};
13584
+ var sourceKeys = Object.keys(source);
13585
+ var key, i;
13586
+ for(i = 0; i < sourceKeys.length; i++){
13587
+ key = sourceKeys[i];
13588
+ if (excluded.indexOf(key) >= 0) continue;
13589
+ target[key] = source[key];
13590
+ }
13591
+ return target;
13592
+ }
13111
13593
  var projectPipelineContributionSchema = z.object({
13112
13594
  key: projectPipelineKeySchema,
13113
- configurations: z.array(projectPipelineConfigurationSchema).max(100),
13595
+ configurations: z.array(projectPipelineConfigurationDeclarationSchema).max(100),
13114
13596
  descriptors: z.array(projectPipelineExtensionDescriptorSchema).max(1000),
13115
13597
  forms: z.array(projectPipelineConfigurationFormSchema).max(100).optional()
13116
13598
  }).strict().superRefine(function(value, context) {
@@ -13140,7 +13622,14 @@ var projectPipelineContributionSchema = z.object({
13140
13622
  });
13141
13623
  try {
13142
13624
  if (!configuration) throw new Error("CONFIGURATION_MISSING");
13143
- validateProjectPipelineConfigurationForm(configuration, form);
13625
+ var nativeModelBudgetPolicy = configuration.nativeModelBudgetPolicy, concrete = _object_without_properties(configuration, [
13626
+ "nativeModelBudgetPolicy"
13627
+ ]);
13628
+ // A policy owns the ceilings; the form receives them only after catalog resolution.
13629
+ if (nativeModelBudgetPolicy && form.nativeModelBudget) throw new Error("DUPLICATE_MODEL_BUDGET_MAXIMUM");
13630
+ validateProjectPipelineConfigurationForm(concrete, nativeModelBudgetPolicy ? _object_spread_props$1(_object_spread$4({}, form), {
13631
+ nativeModelBudget: nativeModelBudgetPolicy.maximum
13632
+ }) : form);
13144
13633
  } catch (e) {
13145
13634
  context.addIssue({
13146
13635
  code: z.ZodIssueCode.custom,
@@ -15896,150 +16385,6 @@ var mcpTaskAcknowledgementSchema = z$1.object({
15896
16385
  resultType: z$1.literal("complete")
15897
16386
  }).passthrough();
15898
16387
 
15899
- // Application types are independent of delivery channels and external account identities.
15900
- var notificationClientSchema = z.enum([
15901
- "web",
15902
- "desktop"
15903
- ]);
15904
- var announcementActionSchema = z.object({
15905
- type: z.literal("link"),
15906
- label: z.string().trim().min(1).max(80),
15907
- url: z.string().url().max(2048).refine(function(url) {
15908
- return /^https:\/\//i.test(url);
15909
- })
15910
- }).strict();
15911
- var announcementContentSchema = z.object({
15912
- title: z.string().trim().min(1).max(160),
15913
- body: z.string().trim().min(1).max(20000),
15914
- category: z.enum([
15915
- "general",
15916
- "maintenance",
15917
- "model_retirement"
15918
- ]).default("general"),
15919
- severity: z.enum([
15920
- "info",
15921
- "important"
15922
- ]).default("info"),
15923
- clients: z.array(notificationClientSchema).min(1).max(2).refine(function(items) {
15924
- return new Set(items).size === items.length;
15925
- }),
15926
- startsAt: z.string().datetime({
15927
- offset: true
15928
- }),
15929
- expiresAt: z.string().datetime({
15930
- offset: true
15931
- }).nullable().default(null),
15932
- action: announcementActionSchema.nullable().default(null)
15933
- }).strict();
15934
- var createAnnouncementSchema = announcementContentSchema.refine(function(input) {
15935
- return !input.expiresAt || Date.parse(input.expiresAt) > Date.parse(input.startsAt);
15936
- }, {
15937
- path: [
15938
- "expiresAt"
15939
- ],
15940
- message: "Expiry must follow start"
15941
- });
15942
- var updateAnnouncementSchema = announcementContentSchema.extend({
15943
- revision: z.number().int().positive()
15944
- }).refine(function(input) {
15945
- return !input.expiresAt || Date.parse(input.expiresAt) > Date.parse(input.startsAt);
15946
- }, {
15947
- path: [
15948
- "expiresAt"
15949
- ]
15950
- });
15951
- var announcementRevisionSchema = z.object({
15952
- revision: z.number().int().positive()
15953
- }).strict();
15954
- var announcementSchema = announcementContentSchema.extend({
15955
- id: z.string().uuid(),
15956
- status: z.enum([
15957
- "draft",
15958
- "published",
15959
- "withdrawn"
15960
- ]),
15961
- revision: z.number().int().positive(),
15962
- createdAt: z.string().datetime({
15963
- offset: true
15964
- }),
15965
- dismissedAt: z.string().datetime({
15966
- offset: true
15967
- }).nullable().default(null)
15968
- });
15969
- var notificationSourceSchema = z.object({
15970
- type: z.literal("scheduled_task"),
15971
- taskId: z.string().uuid(),
15972
- executionId: z.string().uuid(),
15973
- assistantId: z.string().uuid(),
15974
- conversationId: z.string().uuid()
15975
- }).strict();
15976
- var scheduledNotificationOriginSchema = notificationSourceSchema.extend({
15977
- threadId: z.string().uuid().optional()
15978
- });
15979
- var openConversationActionSchema = z.object({
15980
- type: z.literal("open_conversation"),
15981
- assistantId: z.string().uuid(),
15982
- conversationId: z.string().uuid(),
15983
- threadId: z.string().uuid().nullable()
15984
- }).strict();
15985
- var userNotificationSchema = z.object({
15986
- id: z.string().uuid(),
15987
- kind: z.literal("agent.completed"),
15988
- source: notificationSourceSchema,
15989
- createdAt: z.string().datetime({
15990
- offset: true
15991
- }),
15992
- readAt: z.string().datetime({
15993
- offset: true
15994
- }).nullable(),
15995
- action: openConversationActionSchema
15996
- }).strict();
15997
- var notificationSnapshotSchema = z.object({
15998
- supported: z.literal(true),
15999
- version: z.string(),
16000
- announcements: z.array(announcementSchema),
16001
- notifications: z.array(userNotificationSchema),
16002
- hasMoreAnnouncements: z.boolean(),
16003
- hasMoreNotifications: z.boolean()
16004
- }).strict();
16005
- var notificationChangeSchema = z.object({
16006
- schemaVersion: z.literal(1),
16007
- type: z.literal("sync.required"),
16008
- eventId: z.string().uuid()
16009
- }).strict();
16010
- var notificationOutboxPayloadSchema = z.discriminatedUnion("type", [
16011
- z.object({
16012
- type: z.literal("changed")
16013
- }).strict(),
16014
- z.object({
16015
- type: z.literal("announcement.scheduled"),
16016
- announcementId: z.string().uuid(),
16017
- revision: z.number().int().positive(),
16018
- phase: z.enum([
16019
- "start",
16020
- "expiry"
16021
- ])
16022
- }).strict(),
16023
- z.object({
16024
- type: z.literal("agent.completed"),
16025
- source: scheduledNotificationOriginSchema
16026
- }).strict()
16027
- ]);
16028
- // The contracts declaration build uses strictNullChecks=false, which makes Zod's emitted
16029
- // object outputs optional. These boundaries validate every required field before narrowing.
16030
- function parseAnnouncement(value) {
16031
- return announcementSchema.parse(value);
16032
- }
16033
- function parseOpenConversationAction(value) {
16034
- return openConversationActionSchema.parse(value);
16035
- }
16036
- function parseUserNotification(value) {
16037
- return userNotificationSchema.parse(value);
16038
- }
16039
- function parseNotificationSnapshot(value) {
16040
- return notificationSnapshotSchema.parse(value);
16041
- }
16042
-
16043
16388
  var BUSINESS_AREA_ACCESS_ROLES = [
16044
16389
  "consumer",
16045
16390
  "publisher",
@@ -16051,7 +16396,7 @@ function businessAreaRoleAllows(role, action) {
16051
16396
 
16052
16397
  /** Opens a discovered resource through its native authorization adapter in the current Workbench scope. */ var WORKBENCH_RESOURCE_OPEN_COMMAND = "workbench.resource.open";
16053
16398
 
16054
- /** Public presentation metadata only. Renderers retain their own sandbox and URL policies. */ var iconDefinitionSchema = z.object({
16399
+ var iconShape = {
16055
16400
  type: z.enum([
16056
16401
  "image",
16057
16402
  "svg",
@@ -16064,6 +16409,16 @@ function businessAreaRoleAllows(role, action) {
16064
16409
  size: z.number().finite().positive().optional(),
16065
16410
  alt: z.string().optional(),
16066
16411
  style: z.record(z.string()).optional()
16412
+ };
16413
+ /** Public presentation metadata only. Renderers retain their own sandbox and URL policies.
16414
+ * Explicit output keeps required fields when contracts build without strictNullChecks,
16415
+ * while retaining the object schema's composition methods for existing consumers. */ var iconDefinitionSchema = new z.ZodObject({
16416
+ shape: function() {
16417
+ return iconShape;
16418
+ },
16419
+ unknownKeys: "strip",
16420
+ catchall: z.never(),
16421
+ typeName: z.ZodFirstPartyTypeKind.ZodObject
16067
16422
  });
16068
16423
 
16069
- export { AGENT_OUTPUT_MAX_PATHS, AGENT_PROFILE_TABS_SLOT, AGENT_WORKBENCH_SLOT, AIPermissionsEnum, AI_MODEL_TYPE_VARIABLE, API_PRINCIPAL_USER_ID_HEADER, ARTIFACT_PRESENTATION_OPEN_COMMAND, ARTIFACT_USE_GRANT_MANAGE_COMMAND, ASSISTANT_CHAT_SEND_MESSAGE_COMMAND, ASSISTANT_CITATION_OPEN_EVENT, ASSISTANT_COMPOSER_APPEND_REFERENCES_COMMAND, ASSISTANT_COMPOSER_INSERT_COMMAND, ASSISTANT_CONTENT_REVIEW_COMMAND, ASSISTANT_CONTEXT_SET_COMMAND, ASSISTANT_USER_PREFERENCES_VERSION, AiBusinessRole, AiFeatureEnum, AiModelTypeEnum, AiProtocol, AiProvider, AiProviderRole, AlignmentOptions, ApiAuthType, ApiKeyBindingType, ApiProviderSchemaType, AssistantBindingScope, AssistantBindingSourceScope, AssistantCode, Attachment_Type_Options, AuthenticationEnum, BUILTIN_KNOWLEDGE_FILE_TYPES, BUILTIN_KNOWLEDGE_PARSER, BUSINESS_AREA_ACCESS_ROLES, BonusTypeEnum, BusinessType, CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY, CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED, CHAT_EVENT_TYPE_THREAD_CONTEXT_USAGE, CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED, CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED, CONNECTION_REFERENCE_KINDS, CONTENT_CATALOG_PROVIDER, CONTENT_DOCUMENT_LINK_RESOURCE_PARAM, CONTENT_EDITOR_LINK_COMMAND, CONTENT_EDITOR_RESOLVE_COMMAND, CONTENT_EDITOR_STATUS_COMMAND, CONTEXT_COMPRESSION_COMPONENT_TYPE, CONTEXT_COMPRESSION_MIDDLEWARE_NAME, CONTEXT_VARIABLE_CURRENTSTATE, CONVERSATION_MAP_FEATURE, CONVERSATION_SHARE_ARTIFACT_SOURCE, COPILOT_CHECKPOINT_RETENTION_DAYS_SETTING, COPILOT_CHECKPOINT_RETENTION_ENABLED_SETTING, ChatGatewayEvent, ChatMessageEventTypeEnum, ChatMessageFeedbackRatingEnum, ChatMessageStepCategory, ChatMessageTypeEnum, ChatThreadPurpose, ClientFocusEnum, ConfigurateMethod, ContactOrganizationInviteStatus, ContactType, CredentialFormTypeEnum, CredentialsType, CrudActionEnum, CurrenciesEnum, CurrencyPosition, DEFAULT_AGENT_PLUGINS_SOURCE, DEFAULT_COPILOT_CHECKPOINT_RETENTION_DAYS, DEFAULT_CURRENCIES, DEFAULT_DATE_FORMATS, DEFAULT_EMBEDDING_BATCH_SIZE, DEFAULT_INTEGRATION_PAID_FILTERS, DEFAULT_INVITE_EXPIRY_PERIOD, DEFAULT_KNOWLEDGEBASE_FAQ_CONFIG, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, DEFAULT_KNOWLEDGEBASE_WIKI_CONFIG, DEFAULT_KNOWLEDGE_KEYWORD_ANALYZER, DEFAULT_KNOWLEDGE_RRF_RANK_CONSTANT, DEFAULT_KNOWLEDGE_RRF_WEIGHTS, DEFAULT_KNOWLEDGE_TEXT_SPLITTER, DEFAULT_MEMBERSHIP_CNY_PER_POINT, DEFAULT_MODEL_DEFINITIONS, DEFAULT_MODEL_GATEWAY_BODY_RETENTION_DAYS, DEFAULT_MODEL_GATEWAY_CALL_RETENTION_DAYS, DEFAULT_MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS, DEFAULT_MODEL_GATEWAY_REQUESTS_PER_MINUTE, DEFAULT_PROFIT_BASED_BONUS, DEFAULT_REVENUE_BASED_BONUS, DEFAULT_SYSTEM_ROLES, DEFAULT_TENANT, DEFAULT_TIME_FORMATS, DEFAULT_TYPE, DEFAULT_XPERT_AGENT_RECURSION_LIMIT, DEFAULT_XPERT_WORKSPACE_DATA_SCOPE, DEPRECATED_ROLE_PERMISSIONS, DataSourceProtocolEnum, DataSourceSyntaxEnum, DataSourceTypeEnum, DefaultModelRole, DefaultValueDateTypeEnum, DocumentSourceProviderCategoryEnum, DocumentTypeEnum, ENTERPRISE_H5_PLATFORMS, EVENT_INBOX_FEATURE, EVENT_INBOX_VIEW_KEY, EmailTemplateEnum, EmailTemplateNameEnum, EmbeddingStatusEnum, FEEDBACK_LEARNING_STRATEGY, FILE_VARIABLES, FeatureEnum, FeatureStatusEnum, FetchFrom, FileStorageProviderEnum, GENERAL_PROJECT_TYPE, GRAPH_NODE_SUMMARIZE_CONVERSATION, GRAPH_NODE_TITLE_CONVERSATION, HUMAN_PROPOSAL_STRATEGY, HttpStatus, IFeatureToggleTypeEnum, INTEGRATION_PROVIDERS, ImportHistoryStatusEnum, ImportTypeEnum, IntegrationEnum, IntegrationFeatureEnum, IntegrationFilterEnum, IntegrationLarkProvider, InterruptMessageType, InvitationExpirationEnum, InvitationTypeEnum, InviteStatusEnum, IteratingIndexParameterName, IteratingItemParameterName, IteratorIndexParameterName, IteratorItemParameterName, KBDocumentCategoryEnum, KBDocumentStatusEnum, KDocumentSourceType, KDocumentWebTypeEnum, KDocumentWebTypeOptions, KNOWLEDGEBASE_FAQ_RETRIEVAL_MODES, KNOWLEDGEBASE_OPEN_CITATION_EFFECT, KNOWLEDGE_AUTOMATIC_TAG_CANDIDATES, KNOWLEDGE_AUTOMATIC_TAG_MAXIMUM, KNOWLEDGE_AUTOMATIC_TAG_TEXT_BUDGET, KNOWLEDGE_CHUNKING_ALGORITHM_VERSION, KNOWLEDGE_DOCUMENTS_NAME, KNOWLEDGE_DOCUMENT_AGENT_WRITER_TYPE, KNOWLEDGE_FAQ_ANSWER_BLOCK_MAX_COUNT, KNOWLEDGE_FAQ_ANSWER_TOTAL_MAX_LENGTH, KNOWLEDGE_FAQ_MAX_LOGICAL_VECTOR_COUNT, KNOWLEDGE_FAQ_NEGATIVE_QUESTION_MAX_COUNT, KNOWLEDGE_FAQ_NEGATIVE_QUESTION_MAX_LENGTH, KNOWLEDGE_FAQ_SIMILAR_QUESTION_MAX_COUNT, KNOWLEDGE_FAQ_SIMILAR_QUESTION_MAX_LENGTH, KNOWLEDGE_FAQ_STANDARD_QUESTION_MAX_LENGTH, KNOWLEDGE_FILTER_MAX_CONDITIONS, KNOWLEDGE_FILTER_MAX_DEPTH, KNOWLEDGE_FILTER_MAX_SET_VALUES, KNOWLEDGE_FILTER_MAX_STRING_LENGTH, KNOWLEDGE_FILTER_VERSION, KNOWLEDGE_FOLDER_ID_NAME, KNOWLEDGE_GRAPH_DOCUMENT_STATUS_BATCH_SIZE, KNOWLEDGE_PROCESSING_MODE_NAME, KNOWLEDGE_SOURCES_NAME, KNOWLEDGE_STAGE_NAME, KNOWLEDGE_SYSTEM_FILTER_FIELDS, KNOWLEDGE_WIKI_DEFAULT_PAGE_SIZE, KNOWLEDGE_WIKI_DELETION_RECEIPT_RETENTION_DAYS, KNOWLEDGE_WIKI_DOCUMENT_STATUS_BATCH_SIZE, KNOWLEDGE_WIKI_FAILED_CONTENT_RETENTION_DAYS, KNOWLEDGE_WIKI_MAX_ALIASES, KNOWLEDGE_WIKI_MAX_CANONICAL_NAME_LENGTH, KNOWLEDGE_WIKI_MAX_CUSTOM_INSTRUCTION_LENGTH, KNOWLEDGE_WIKI_MAX_FACTS, KNOWLEDGE_WIKI_MAX_FACT_LENGTH, KNOWLEDGE_WIKI_MAX_PAGE_SIZE, KNOWLEDGE_WIKI_MAX_SEARCH_LENGTH, KNOWLEDGE_WIKI_MAX_SOURCE_CHUNKS_PER_FACT, KNOWLEDGE_WIKI_MAX_SUGGESTED_LINKS, KNOWLEDGE_WIKI_MAX_SUMMARY_LENGTH, KNOWLEDGE_WIKI_OPERATION_RETENTION_DAYS, KNOWLEDGE_WIKI_SCHEMA_VERSION, KNOWLEDGE_WIKI_STALE_VECTOR_CLEANUP_SLO_HOURS, KnowledgeGraphIndexJobStatus, KnowledgeGraphStatus, KnowledgeProviderEnum, KnowledgeStructureEnum, KnowledgeTask, KnowledgebaseChannel, KnowledgebasePermission, KnowledgebaseStatusEnum, KnowledgebaseTypeEnum, LEGACY_AGENT_WORKBENCH_SLOTS, LEGACY_SANDBOX_COMPRESSION_MIDDLEWARE_NAME, LanguagesEnum, LanguagesMap, ListsInputTypeEnum, MAX_COPILOT_CHECKPOINT_RETENTION_DAYS, MAX_MODEL_GATEWAY_BODY_RETENTION_DAYS, MAX_MODEL_GATEWAY_CALL_RETENTION_DAYS, MAX_MODEL_GATEWAY_EXTERNAL_API_BASE_URL_LENGTH, MAX_MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS, MAX_MODEL_GATEWAY_REQUESTS_PER_MINUTE, MCPServerType, MCP_API_KEY_SUBJECT_TYPES, MCP_APP_RESOURCE_MIME_TYPE, MCP_AUTH_METHODS, MCP_CAPABILITY_APPROVAL_MODES, MCP_CAPABILITY_DESCRIPTOR_VERSION, MCP_CAPABILITY_TYPES, MCP_CAPABILITY_VISIBILITIES, MCP_CONFIGURATION_SECRET_MASK, MCP_CONSUMER_AUTH_TYPES, MCP_EXECUTION_CONTROL_EXTENSION_ID, MCP_EXECUTION_CONTROL_METHOD, MCP_HTTP_CORS_EXPOSED_HEADERS, MCP_HTTP_CORS_REQUEST_HEADERS, MCP_INVOCATION_STATUSES, MCP_PROTOCOL_VERSION, MCP_PUBLICATION_REVIEW_STATUSES, MCP_PUBLICATION_STATUSES, MCP_REQUIRED_CONTEXTS, MCP_TASK_EXTENSION_ID, MCP_TASK_STATUSES, MCP_TOOL_IDEMPOTENCY, MCP_TOOL_RISKS, MCP_TOOL_SIDE_EFFECTS, MEMBERSHIP_CNY_PER_POINT_SETTING, MIN_COPILOT_CHECKPOINT_RETENTION_DAYS, MIN_MODEL_GATEWAY_BODY_RETENTION_DAYS, MIN_MODEL_GATEWAY_CALL_RETENTION_DAYS, MIN_MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS, MIN_MODEL_GATEWAY_REQUESTS_PER_MINUTE, MODEL_EXECUTION_POLICY_SETTING, MODEL_GATEWAY_CALL_RETENTION_DAYS_SETTING, MODEL_GATEWAY_CALL_RETENTION_ENABLED_SETTING, MODEL_GATEWAY_EXTERNAL_API_BASE_URL_SETTING, MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS_SETTING, MODEL_GATEWAY_REQUESTS_PER_MINUTE_SETTING, MembershipAdminUserStatusEnum, MembershipBulkActionEnum, MembershipLedgerSourceEnum, MembershipPeriodEnum, MembershipPeriodStatusEnum, MembershipPlanStatusEnum, MembershipRenewalModeEnum, MembershipSourceEnum, MembershipStatusEnum, MinimumProjectSizeEnum, ModelAccessActorTypeEnum, ModelAccessChannelEnum, ModelAccessClosedReasonCodeEnum, ModelAccessEventTypeEnum, ModelAccessOwnershipScopeEnum, ModelAccessRequestStatusEnum, ModelAccessSourceEnum, ModelAccessUnavailableReasonEnum, ModelFeature, ModelGatewayApiKeyLifetimeEnum, ModelGatewayApiKeyStatusEnum, ModelGatewayCallStatusEnum, ModelGatewayUsageChannelEnum, ModelGatewayUsageSourceEnum, ModelPropertyKey, OllamaEmbeddingsProviders, OpenAIEmbeddingsProviders, OrderTypeEnum, OrganizationContactBudgetTypeEnum, OrganizationDemoNetworkEnum, OrganizationPermissionsEnum, OrganizationProjectBudgetTypeEnum, OrganizationSelectInput, PERSONAL_API_KEY_LIFETIMES, PLUGIN_APPLICATION_INSTALLATION_STATUS, PLUGIN_APPLICATION_SCOPE, PLUGIN_COMPONENT_TYPE, PLUGIN_CONFIGURATION_STATUS, PLUGIN_LEVEL, PLUGIN_LOAD_STATUS, PLUGIN_MARKETPLACE_AUTHENTICATION_POLICY, PLUGIN_MARKETPLACE_CATEGORIES, PLUGIN_MARKETPLACE_INSTALLATION_POLICY, PLUGIN_MARKETPLACE_SUBCATEGORIES, PLUGIN_MCP_TOOL_APPROVAL_MODE, PLUGIN_RESOURCE_ERROR_CODE, PLUGIN_RESOURCE_INSTALLATION_STATUS, PLUGIN_RESOURCE_RUNTIME_TYPE, PLUGIN_SOURCE, PROJECT_CONFIGURATION_ACTIONS, PROJECT_CONFIGURATION_ACTION_HANDLERS, PROJECT_CONFIGURATION_PROVIDER, PROJECT_CONFIGURATION_VIEW, PROJECT_TASK_ICON_NAMES, ParameterType, ParameterTypeEnum, PayPeriodEnum, PermissionGroups, PermissionsEnum, PluginMarketplaceDetailErrorCode, PriceType, ProjectBillingEnum, ProjectOwnerEnum, ProviderEnum, ProviderType, ROLE_PERMISSION_CATALOG, ROLE_PERMISSION_MODULES, RUNTIME_RESTART_CONFIRMATION, RUNTIME_STREAM_INTERRUPTED_EVENT, RegionsEnum, RequestMethodEnum, RequestScopeLevel, RolesEnum, SANDBOX_FILE_OUTPUT_RULES, SANDBOX_MANAGED_SERVICE_STATUSES, SANDBOX_MANAGED_SERVICE_TRANSPORT_MODES, SANDBOX_TERMINAL_NAMESPACE, SANDBOX_WORK_FOR_TYPES, SKILLS_MIDDLEWARE_NAME, SMTPSecureEnum, SPACE_PROJECT_TYPE, STANDARD_METADATA_FIELDS, STATE_SYS_AGENT_WORKSPACE_PATH, STATE_SYS_MEMORY_WORKSPACE_PATH, STATE_SYS_SESSION_WORKSPACE_PATH, STATE_SYS_SHARED_WORKSPACE_PATH, STATE_SYS_THREAD_ID, STATE_SYS_VOLUME, STATE_SYS_WORKSPACE_PATH, STATE_SYS_WORKSPACE_ROOT, STATE_SYS_WORKSPACE_URL, STATE_VARIABLE_FILES, STATE_VARIABLE_HUMAN, STATE_VARIABLE_INPUT, STATE_VARIABLE_SYS, STATE_VARIABLE_TITLE_CHANNEL, SandboxManagedServiceErrorCode, SandboxTerminalClientEvent, SandboxTerminalClosedReason, SandboxTerminalErrorCode, SandboxTerminalServerEvent, ScheduleTaskStatus, SecretTokenBindingType, TAG_TARGETS, TASK_DESCRIPTION_PREFIX, TASK_DESCRIPTION_SUFFIX, THREAD_GOAL_STATUS_VALUES, TOOL_NAME_REGEX, TagCategoryEnum, TaskFrequency, TaskListTypeEnum, ToolParameterForm, ToolParameterType, ToolTagEnum, TranslationLanguageMap, UNWIRED_AI_PERMISSIONS, USAGE_HOUR_FORMAT, USER_EVENT_INBOX_SLOT, USER_ORGANIZATION_ENTRY_GUIDE_CLAWXPERT, UserGroupManagedByEnum, UserGroupManagedEntityTypeEnum, UserModelGrantStatusEnum, UserType, VariableOperationEnum, VariableOperations, VectorTypeEnum, Visibility, WORKBENCH_AGENT_EVOLUTION_CHANGE_TARGET, WORKBENCH_AGENT_EVOLUTION_TARGET, WORKBENCH_ASSISTANT_CONVERSATION_TARGET, WORKBENCH_ASSISTANT_EXECUTION_TARGET, WORKBENCH_ASSISTANT_PROJECT_TARGET, WORKBENCH_CONTENT_DRAFT_COMMAND, WORKBENCH_EXTENSION_VIEW_TARGET, WORKBENCH_FILE_OPEN_COMMAND, WORKBENCH_GROUP_MESSAGE_TARGET, WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET, WORKBENCH_NAVIGATION_OPEN_COMMAND, WORKBENCH_PROJECT_APPLICATION_TARGET, WORKBENCH_PROJECT_PIPELINES_TARGET, WORKBENCH_RESOURCE_OPEN_COMMAND, WORKBENCH_VIEW_OPEN_EVENT, WORKSPACE_PUBLIC_SKILL_REPOSITORY_NAME, WORKSPACE_PUBLIC_SKILL_SOURCE_PROVIDER, WeekDaysEnum, WorkflowComparisonOperator, WorkflowLogicalOperator, WorkflowNodeTypeEnum, XPERT_FILE_MEMORY_MIDDLEWARE_NAME, XPERT_REMOTE_COMPONENT_INVOKE_CLIENT_COMMAND_MESSAGE_TYPE, XPERT_TASK_SCHEDULE_IDEMPOTENCY_KEY, XPERT_TASK_SCHEDULE_PROPERTY_PREFIX, XPERT_VIEW_CONVERSATION_ID_HEADER, XPERT_VIEW_PROJECT_ID_HEADER, XpertAccessRequestStatusEnum, XpertAgentExecutionStatusEnum, XpertMarketplaceBusinessCategories, XpertMarketplaceCollaborationModes, XpertMarketplaceTechnicalCategories, XpertParameterTypeEnum, XpertProjectAssetSourceEnum, XpertProjectAutomationRunStatusEnum, XpertProjectAutomationTriggerEnum, XpertProjectPlanViewEnum, XpertProjectTaskPriorityEnum, XpertProjectTaskStatusEnum, XpertTableStatus, XpertToolsetCategoryEnum, XpertTypeEnum, XpertWorkbenchInitialLayoutEnum, agentDeliveryRecoverySchema, agentEventDecisionSchema, agentEventRefSchema, agentInvocationStatusSchema, agentInvocationTerminalStatusSchema, agentLabel, agentOutputDeliverySchema, agentResultPathSchema, agentRuntimeModelSourceSchema, agentRuntimeProgressSchema, agentUniqueName, aggregatePipelineAnalytics, allChannels, analyticsDiagnosticSchema, announcementActionSchema, announcementContentSchema, announcementRevisionSchema, announcementSchema, appPlatformAppOrder, appPlatformAppSchema, appPlatformDefinitionSchema, appPlatformEnvironmentSchema, appendMessageContent, appendMessagePlainText, assistantOperationPolicySchema, assistantTaskGroupContext, assistantTaskGroupContextSchema, assistantTemplateManifestSchema, assistantTemplateSetupStateSchema, buildChunkTree, buildXpertMarketplaceProfileSnapshot, businessAreaRoleAllows, canAllowMcpToolDirectly, canReadProjectPipelineConfiguration, channelName, chatMessagePresentation, checkProjectPipelineConfiguration, checkProjectPipelineHostCompatibility, classificateDocumentCategory, clientSecretGrantSourceSchema, codingExecutionViewKey, collectTreeLeaves, configurableStoreNamespace, configurationFromModel, configureProjectPipelineFromForm, configuredModelSource, controlledHandlerSchema, convertToUrlPath, createAgentConnections, createAnnouncementSchema, createConversationTitleSummaryEvent, createFollowUpConsumedEvent, createMessageAppendContextTracker, createRuntimeSkillCapabilityId, createThreadGoalClearedEvent, createThreadGoalUpdatedEvent, createXpertGraph, createXpertNodes, decodeKnowledgeSeparators, defaultMcpToolApprovalMode, defaultModelConfiguration, defaultModelDefinition, defaultModelRoleSchema, deriveXpertMarketplaceTechnicalProfile, discoverableModelTypes, enabledModelsSchema, ensureAssistantBindingSkillWorkspacePreference, evidenceDrivenStrategy, executeModelReplacementSchema, executionActivityBatchSchema, executionActivityCapabilitiesSchema, executionActivityItemSchema, executionControlCapabilitiesSchema, executionControlEvidenceSchema, executionControlProtocols, executionObservationAnomalySchema, executionObservationAssistantSchema, executionObservationAvatarSchema, executionObservationCompareSchema, executionObservationConversationSchema, executionObservationConversationsSchema, executionObservationDetailQuerySchema, executionObservationDetailSchema, executionObservationFilterSchema, executionObservationListSchema, executionObservationOverviewSchema, executionObservationQuerySchema, executionObservationRecordSchema, executionObservationSegmentSchema, executionObservationStatusSchema, executionObservationSummarySchema, executionObservationWorkspacesSchema, executionRuntimeTargetSchema, executionRuntimeTargetsEqual, figureOutXpert, filterAssistantBindingDisabledSkillIds, filterAssistantBindingDisabledTools, filterMessageText, findStartNodes, forecastProjectTasks, genJSONParseKey, genJSONStringifyKey, genListOperatorKey, genPipelineChunkerKey, genPipelineKnowledgeBaseKey, genPipelineProcessorKey, genPipelineSourceKey, genPipelineUnderstandingKey, genVariableAggregatorKey, genXpertDBDeleteKey, genXpertDBInsertKey, genXpertDBQueryKey, genXpertDBSqlKey, genXpertDBUpdateKey, genXpertIteratorKey, genXpertMiddlewareKey, genXpertSkillKey, genXpertStartKey, genXpertTriggerKey, generateCronExpression, getAgentMiddlewareNodes, getAgentVarGroup, getAssistantBindingDisabledSkillIds, getAssistantBindingDisabledTools, getAssistantManagement, getCurrentGraph, getEnabledTools, getPluginApplicationScopes, getStoreNamespace, getSwarmPartners, getTagTargets, getToolCallFromConfig, getToolCallIdFromConfig, getToolLabel, getVariableSchema, getWorkflowTriggers, getWorkspaceFromRunnable, getXpertAgentRecursionLimit, getXpertWorkspaceVisibility, hasEnabledKnowledgeRetrievalSource, iconDefinitionSchema, inferMessageAppendContext, isAgentKey, isAgentWorkflowNode, isAgentWorkflowNodeType, isAssistantBindingSkillEnabled, isAssistantBindingToolEnabled, isAssistantBindingToolPreferencesEmpty, isAudioType, isBlank, isConfiguredModelAvailable, isContextCompressionComponentData, isDiscoverableModelType, isDocumentKnowledgebaseType, isDocumentSheet, isEnableTool, isEnterpriseH5Platform, isEvidenceProposal, isImageType, isInterruptMessage, isIteratingKey, isIteratorKey, isKnowledgeDocumentVisible, isKnowledgeTableMetadata, isKnowledgeWikiChunkMetadata, isKnowledgeWikiPageContributionPayload, isKnowledgeWikiPageSourcePayload, isLearningProposal, isMessageGroup, isMiddlewareToolEnabled, isModelGatewayExternalApiBaseUrl, isNativeKnowledgeTableDocument, isNil$1 as isNil, isOrganizationSharedXpertWorkspace, isOutputTokenParameter, isPluginApplicationScope, isPreparedCandidate, isProjectPipelineApplicable, isPromptWorkflowScenarios, isProviderEvaluation, isProviderModelEnabled, isProviderRelease, isReplayEvaluation, isRequiredMiddleware, isRouterKey, isRunnableThreadGoalStatus, isRuntimeChatMessage, isScopedPromptCapabilityConfig, isStagedRelease, isString, isSystemManagedAssistant, isTenantSharedXpertWorkspace, isToolEnabled, isUserAddableAgentMiddleware, isUserManagedAssistant, isUserOrganizationEntryGuideKey, isVideoType, isXpertNodeType, knowledgeDocumentFileType, knowledgeUploadFileTypes, knowledgebaseDocumentParserDefaults, knowledgebaseParserSelection, legacyModelFeatures, legacyProviderRoleSchema, letterStartSUID, locateNodes, mapTranslationLanguage, mcpExecutionCapabilitySchema, mcpExecutionControlRequestSchema, mcpExecutionReceiptSchema, mcpExecutionToolDeclarationSchema, mcpOperationIdentitySchema, mcpTaskAcknowledgementSchema, mcpTaskResultSchema, mcpTaskStartResultSchema, mergeMessageContentForDisplay, messageContentText, modelBindingSchema, modelConfigurationSchema, modelExecutionEntry, modelExecutionParametersSchema, modelExecutionSourceId, modelIdentityKey, modelIdentitySchema, modelImportSchema, modelReplacementSchema, modelReplacementScopeSchema, nonBlank, nonNullable, normalizeAssistantBindingToolPreferences, normalizeKnowledgebaseFAQRecall, normalizeKnowledgebaseWikiConfig, normalizeMiddlewareNode, normalizeMiddlewareNodes, normalizeMiddlewareOptions, normalizeMiddlewareProvider, normalizeModelParameterValue, normalizeXpertAgentConfig, notificationChangeSchema, notificationClientSchema, notificationOutboxPayloadSchema, notificationSnapshotSchema, notificationSourceSchema, omitXpertRelations, openConversationActionSchema, orderAssistantXperts, parseAnalyticsDiagnostic, parseAnnouncement, parseGithubSkillInstallCommand, parseNotificationSnapshot, parseOpenConversationAction, parseProjectPipelineParameters, parsePromptCapabilityConfig, parsePromptCapabilitySelection, parseRuntimeSkillCapabilityId, parseUserNotification, parseWorkbenchViewOpenEvent, pipelineAnalyticsFacts, pipelineAttemptCounts, pipelineAttemptCountsSchema, pipelineExecutionTiming, pipelineExecutionTimingSchema, pipelineExecutorStatistics, pipelineExecutorStatisticsSchema, pipelineHumanWaitSnapshotSchema, pipelineHumanWaitStatistics, pipelineHumanWaitStatisticsSchema, pipelineModelUsageFactSchema, pipelineModelUsageStatistics, pipelineModelUsageStatisticsSchema, pipelineNodeNeedsHuman, pipelineQueueStatistics, pipelineQueueStatisticsSchema, pluginAgentEventSchema, projectConfigurationActionSchema, projectConfigurationSectionSchema, projectConfigurationUpdateSchema, projectConfigurationValuesSchema, projectPipelineAnalytics, projectPipelineAnalyticsInputSchema, projectPipelineAnalyticsSchema, projectPipelineAssistantExecutionSchema, projectPipelineAssistantInputSchema, projectPipelineBindingSchema, projectPipelineCancelSchema, projectPipelineCatalogConfigureSchema, projectPipelineCatalogProtocolSchema, projectPipelineCatalogRequestSchema, projectPipelineCatalogSchema, projectPipelineCommandCapabilitySchema, projectPipelineCompletionReceiptSchema, projectPipelineConfigurationFormSchema, projectPipelineConfigurationPageSchema, projectPipelineConfigurationSchema, projectPipelineConfigureSchema, projectPipelineContributionSchema, projectPipelineDecisionSchema, projectPipelineDefinitionSchema, projectPipelineDefinitionShapeSchema, projectPipelineEdgeSchema, projectPipelineEvidenceRefSchema, projectPipelineExtensionDescriptorSchema, projectPipelineHostCapabilitiesSchema, projectPipelineHostRequirementsSchema, projectPipelineIconSchema, projectPipelineInputBindingSchema, projectPipelineInstanceSchema, projectPipelineJsonSchema, projectPipelineKeySchema, projectPipelineLaneSchema, projectPipelineModelBudgetIncreaseRecordSchema, projectPipelineModelBudgetIncreaseSchema, projectPipelineNativeDispatchSchema, projectPipelineNativeModelBudgetSchema, projectPipelineNativeModelBudgetStatusSchema, projectPipelineNativeSourceSchema, projectPipelineNextRoundSchema, projectPipelineNodeInstanceSchema, projectPipelineNodePresentationSchema, projectPipelineNodeSchema, projectPipelineNodeStateSchema, projectPipelineOperationInputSchema, projectPipelineOperationReceiptSchema, projectPipelineOutputBindingSchema, projectPipelineParameterFieldSchema, projectPipelineParticipantKindSchema, projectPipelinePolicyReceiptSchema, projectPipelinePortDescriptorSchema, projectPipelinePortfolioInputSchema, projectPipelinePortfolioSchema, projectPipelineProjectBindingSchema, projectPipelineProjectTypesSchema, projectPipelineProjectionEdgeSchema, projectPipelineProjectionNodeSchema, projectPipelineProjectionSchema, projectPipelineProviderActionCommandSchema, projectPipelineProviderActionDescriptorSchema, projectPipelineProviderActionReceiptSchema, projectPipelineProviderActionTargetSchema, projectPipelineProviderActionViewSchema, projectPipelineProviderActionsSchema, projectPipelineRefSchema, projectPipelineResourceClaimSchema, projectPipelineResourceClaimsSchema, projectPipelineResourceReservationSchema, projectPipelineRetrySchema, projectPipelineRoleSchema, projectPipelineRoundSchema, projectPipelineRunSchema, projectPipelineRuntimeExecutionSchema, projectPipelineRuntimeInputSchema, projectPipelineRuntimeSelectionSchema, projectPipelineSavedConfigurationSchema, projectPipelineStageSchema, projectPipelineStartSchema, projectPipelineStatistics, projectPipelineStatisticsSchema, projectPipelineSubjectVersionSchema, projectPipelineTaskProjectionSchema, projectPipelineWorkContextSchema, projectPipelineWorkCountsSchema, projectPluginDeploymentReceiptSchema, projectPluginDeploymentRefs, projectPluginDeploymentRequestSchema, projectTaskCandidatePathSchema, projectTaskConfigurationSchema, projectTaskDecisionInputSchema, projectTaskDecisionSchema, projectTaskDecisionToolInputSchema, projectTaskDispatchInputSchema, projectTaskDispatchReceiptSchema, projectTaskDispatchToolInputSchema, projectTaskDurationSchema, projectTaskEvidencePathSchema, projectTaskEvidenceReferenceSchema, projectTaskExecutionContextSchema, projectTaskExecutionPurposeSchema, projectTaskExecutionReferenceSchema, projectTaskReviewReportSchema, projectTaskReviewSubjectSchema, projectTaskReviewerSchema, projectTaskReworkSchema, projectTaskSpecificationDigestSchema, projectTaskSpecificationSchema, projectTaskSpecificationSnapshotSchema, providerCredentialCheckSchema, providerCredentialValidationTargetSchema, readModelConfiguration, replaceAgentInDraft, resolveDraftPrimaryAgent, resolveDraftRuntimeGraph, resolveI18nText, resolveMessageAppendContext, resolveModelParameterOptions, resolvePromptWorkflowCapabilities, resolveRuntimeXpert, roleDefaultInputSchema, sameModelIdentity, sandboxEvidence, sandboxJobRetryReferenceSchema, sandboxRuntimeEvidenceSchema, sandboxRuntimeTargetSchema, sandboxTargetsEqual, saveRoleDefaultsSchema, scheduledNotificationOriginSchema, selectedPipelineAttemptFacts, setStateVariable, shortTitle, stringifyMessageContent, templateActivityReadSchema, templateDependencyLocksSchema, templateDependencyVersionsSchema, templateFilePathSchema, templateFilesSchema, templateManifestSchema, templateManifestV1Schema, templatePreferenceValuesSchema, templatePublicationInputSchema, templateSetupUpdateSchema, templateUpgradeActionSchema, templateUpgradeInputSchema, templateUpgradeSectionSchema, threadControlActionsSchema, threadControlViewSchema, toXpertOpenerPrompt, trailActivityKindSchema, trailEpisodeSchema, trailGraphSchema, trailLaneSchema, trailStatusSchema, trailStepSchema, transformInstallation, transitionModelParameters, unknownExecutionControl, updateAnnouncementSchema, updateAssistantBindingSkillPreferences, updateAssistantBindingToolPreferences, userNotificationSchema, usesConfiguredModelCatalog, usesModelScopedCredentials, uuid, validateProjectPipelineConfigurationForm, validateProjectPipelineDefinition, validateProjectTaskGraph, workflowNodeIdentifier, workspaceConnectorAuthorizationSchema, workspaceConnectorConnectPayloadSchema, xpertLabel };
16424
+ export { AGENT_OUTPUT_ACCEPT, AGENT_OUTPUT_MAX_PATHS, AGENT_PROFILE_TABS_SLOT, AGENT_WORKBENCH_SLOT, AIPermissionsEnum, AI_MODEL_TYPE_VARIABLE, API_PRINCIPAL_USER_ID_HEADER, ARTIFACT_PRESENTATION_OPEN_COMMAND, ARTIFACT_USE_GRANT_MANAGE_COMMAND, ASSISTANT_CHAT_SEND_MESSAGE_COMMAND, ASSISTANT_CITATION_OPEN_EVENT, ASSISTANT_COMPOSER_APPEND_REFERENCES_COMMAND, ASSISTANT_COMPOSER_INSERT_COMMAND, ASSISTANT_CONTENT_REVIEW_COMMAND, ASSISTANT_CONTEXT_SET_COMMAND, ASSISTANT_USER_PREFERENCES_VERSION, AiBusinessRole, AiFeatureEnum, AiModelTypeEnum, AiProtocol, AiProvider, AiProviderRole, AlignmentOptions, ApiAuthType, ApiKeyBindingType, ApiProviderSchemaType, AssistantBindingScope, AssistantBindingSourceScope, AssistantCode, Attachment_Type_Options, AuthenticationEnum, BUILTIN_KNOWLEDGE_FILE_TYPES, BUILTIN_KNOWLEDGE_PARSER, BUSINESS_AREA_ACCESS_ROLES, BonusTypeEnum, BusinessType, CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY, CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED, CHAT_EVENT_TYPE_THREAD_CONTEXT_USAGE, CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED, CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED, CONNECTION_REFERENCE_KINDS, CONTENT_CATALOG_PROVIDER, CONTENT_DOCUMENT_LINK_RESOURCE_PARAM, CONTENT_EDITOR_LINK_COMMAND, CONTENT_EDITOR_RESOLVE_COMMAND, CONTENT_EDITOR_STATUS_COMMAND, CONTEXT_COMPRESSION_COMPONENT_TYPE, CONTEXT_COMPRESSION_MIDDLEWARE_NAME, CONTEXT_VARIABLE_CURRENTSTATE, CONVERSATION_MAP_FEATURE, CONVERSATION_SHARE_ARTIFACT_SOURCE, COPILOT_CHECKPOINT_RETENTION_DAYS_SETTING, COPILOT_CHECKPOINT_RETENTION_ENABLED_SETTING, ChatGatewayEvent, ChatMessageEventTypeEnum, ChatMessageFeedbackRatingEnum, ChatMessageStepCategory, ChatMessageTypeEnum, ChatThreadPurpose, ClientFocusEnum, ConfigurateMethod, ContactOrganizationInviteStatus, ContactType, CredentialFormTypeEnum, CredentialsType, CrudActionEnum, CurrenciesEnum, CurrencyPosition, DEFAULT_AGENT_PLUGINS_SOURCE, DEFAULT_COPILOT_CHECKPOINT_RETENTION_DAYS, DEFAULT_CURRENCIES, DEFAULT_DATE_FORMATS, DEFAULT_EMBEDDING_BATCH_SIZE, DEFAULT_INTEGRATION_PAID_FILTERS, DEFAULT_INVITE_EXPIRY_PERIOD, DEFAULT_KNOWLEDGEBASE_FAQ_CONFIG, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, DEFAULT_KNOWLEDGEBASE_WIKI_CONFIG, DEFAULT_KNOWLEDGE_KEYWORD_ANALYZER, DEFAULT_KNOWLEDGE_RRF_RANK_CONSTANT, DEFAULT_KNOWLEDGE_RRF_WEIGHTS, DEFAULT_KNOWLEDGE_TEXT_SPLITTER, DEFAULT_MEMBERSHIP_CNY_PER_POINT, DEFAULT_MODEL_DEFINITIONS, DEFAULT_MODEL_GATEWAY_BODY_RETENTION_DAYS, DEFAULT_MODEL_GATEWAY_CALL_RETENTION_DAYS, DEFAULT_MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS, DEFAULT_MODEL_GATEWAY_REQUESTS_PER_MINUTE, DEFAULT_PROFIT_BASED_BONUS, DEFAULT_REVENUE_BASED_BONUS, DEFAULT_SYSTEM_ROLES, DEFAULT_TENANT, DEFAULT_TIME_FORMATS, DEFAULT_TYPE, DEFAULT_XPERT_AGENT_RECURSION_LIMIT, DEFAULT_XPERT_WORKSPACE_DATA_SCOPE, DEPRECATED_ROLE_PERMISSIONS, DataSourceProtocolEnum, DataSourceSyntaxEnum, DataSourceTypeEnum, DefaultModelRole, DefaultValueDateTypeEnum, DocumentSourceProviderCategoryEnum, DocumentTypeEnum, ENTERPRISE_H5_PLATFORMS, EVENT_INBOX_FEATURE, EVENT_INBOX_VIEW_KEY, EmailTemplateEnum, EmailTemplateNameEnum, EmbeddingStatusEnum, FEEDBACK_LEARNING_STRATEGY, FILE_VARIABLES, FeatureEnum, FeatureStatusEnum, FetchFrom, FileStorageProviderEnum, GENERAL_PROJECT_TYPE, GRAPH_NODE_SUMMARIZE_CONVERSATION, GRAPH_NODE_TITLE_CONVERSATION, HUMAN_PROPOSAL_STRATEGY, HttpStatus, IFeatureToggleTypeEnum, INTEGRATION_PROVIDERS, ImportHistoryStatusEnum, ImportTypeEnum, IntegrationEnum, IntegrationFeatureEnum, IntegrationFilterEnum, IntegrationLarkProvider, InterruptMessageType, InvitationExpirationEnum, InvitationTypeEnum, InviteStatusEnum, IteratingIndexParameterName, IteratingItemParameterName, IteratorIndexParameterName, IteratorItemParameterName, KBDocumentCategoryEnum, KBDocumentStatusEnum, KDocumentSourceType, KDocumentWebTypeEnum, KDocumentWebTypeOptions, KNOWLEDGEBASE_FAQ_RETRIEVAL_MODES, KNOWLEDGEBASE_OPEN_CITATION_EFFECT, KNOWLEDGE_AUTOMATIC_TAG_CANDIDATES, KNOWLEDGE_AUTOMATIC_TAG_MAXIMUM, KNOWLEDGE_AUTOMATIC_TAG_TEXT_BUDGET, KNOWLEDGE_CHUNKING_ALGORITHM_VERSION, KNOWLEDGE_DOCUMENTS_NAME, KNOWLEDGE_DOCUMENT_AGENT_WRITER_TYPE, KNOWLEDGE_FAQ_ANSWER_BLOCK_MAX_COUNT, KNOWLEDGE_FAQ_ANSWER_TOTAL_MAX_LENGTH, KNOWLEDGE_FAQ_MAX_LOGICAL_VECTOR_COUNT, KNOWLEDGE_FAQ_NEGATIVE_QUESTION_MAX_COUNT, KNOWLEDGE_FAQ_NEGATIVE_QUESTION_MAX_LENGTH, KNOWLEDGE_FAQ_SIMILAR_QUESTION_MAX_COUNT, KNOWLEDGE_FAQ_SIMILAR_QUESTION_MAX_LENGTH, KNOWLEDGE_FAQ_STANDARD_QUESTION_MAX_LENGTH, KNOWLEDGE_FILTER_MAX_CONDITIONS, KNOWLEDGE_FILTER_MAX_DEPTH, KNOWLEDGE_FILTER_MAX_SET_VALUES, KNOWLEDGE_FILTER_MAX_STRING_LENGTH, KNOWLEDGE_FILTER_VERSION, KNOWLEDGE_FOLDER_ID_NAME, KNOWLEDGE_GRAPH_DOCUMENT_STATUS_BATCH_SIZE, KNOWLEDGE_PROCESSING_MODE_NAME, KNOWLEDGE_SOURCES_NAME, KNOWLEDGE_STAGE_NAME, KNOWLEDGE_SYSTEM_FILTER_FIELDS, KNOWLEDGE_WIKI_DEFAULT_PAGE_SIZE, KNOWLEDGE_WIKI_DELETION_RECEIPT_RETENTION_DAYS, KNOWLEDGE_WIKI_DOCUMENT_STATUS_BATCH_SIZE, KNOWLEDGE_WIKI_FAILED_CONTENT_RETENTION_DAYS, KNOWLEDGE_WIKI_MAX_ALIASES, KNOWLEDGE_WIKI_MAX_CANONICAL_NAME_LENGTH, KNOWLEDGE_WIKI_MAX_CUSTOM_INSTRUCTION_LENGTH, KNOWLEDGE_WIKI_MAX_FACTS, KNOWLEDGE_WIKI_MAX_FACT_LENGTH, KNOWLEDGE_WIKI_MAX_PAGE_SIZE, KNOWLEDGE_WIKI_MAX_SEARCH_LENGTH, KNOWLEDGE_WIKI_MAX_SOURCE_CHUNKS_PER_FACT, KNOWLEDGE_WIKI_MAX_SUGGESTED_LINKS, KNOWLEDGE_WIKI_MAX_SUMMARY_LENGTH, KNOWLEDGE_WIKI_OPERATION_RETENTION_DAYS, KNOWLEDGE_WIKI_SCHEMA_VERSION, KNOWLEDGE_WIKI_STALE_VECTOR_CLEANUP_SLO_HOURS, KnowledgeGraphIndexJobStatus, KnowledgeGraphStatus, KnowledgeProviderEnum, KnowledgeStructureEnum, KnowledgeTask, KnowledgebaseChannel, KnowledgebasePermission, KnowledgebaseStatusEnum, KnowledgebaseTypeEnum, LEGACY_AGENT_WORKBENCH_SLOTS, LEGACY_SANDBOX_COMPRESSION_MIDDLEWARE_NAME, LanguagesEnum, LanguagesMap, ListsInputTypeEnum, MAX_COPILOT_CHECKPOINT_RETENTION_DAYS, MAX_MODEL_GATEWAY_BODY_RETENTION_DAYS, MAX_MODEL_GATEWAY_CALL_RETENTION_DAYS, MAX_MODEL_GATEWAY_EXTERNAL_API_BASE_URL_LENGTH, MAX_MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS, MAX_MODEL_GATEWAY_REQUESTS_PER_MINUTE, MCPServerType, MCP_API_KEY_SUBJECT_TYPES, MCP_APP_RESOURCE_MIME_TYPE, MCP_AUTH_METHODS, MCP_CAPABILITY_APPROVAL_MODES, MCP_CAPABILITY_DESCRIPTOR_VERSION, MCP_CAPABILITY_TYPES, MCP_CAPABILITY_VISIBILITIES, MCP_CONFIGURATION_SECRET_MASK, MCP_CONSUMER_AUTH_TYPES, MCP_EXECUTION_CONTROL_EXTENSION_ID, MCP_EXECUTION_CONTROL_METHOD, MCP_HTTP_CORS_EXPOSED_HEADERS, MCP_HTTP_CORS_REQUEST_HEADERS, MCP_INVOCATION_STATUSES, MCP_PROTOCOL_VERSION, MCP_PUBLICATION_REVIEW_STATUSES, MCP_PUBLICATION_STATUSES, MCP_REQUIRED_CONTEXTS, MCP_TASK_EXTENSION_ID, MCP_TASK_STATUSES, MCP_TOOL_IDEMPOTENCY, MCP_TOOL_RISKS, MCP_TOOL_SIDE_EFFECTS, MEMBERSHIP_CNY_PER_POINT_SETTING, MIN_COPILOT_CHECKPOINT_RETENTION_DAYS, MIN_MODEL_GATEWAY_BODY_RETENTION_DAYS, MIN_MODEL_GATEWAY_CALL_RETENTION_DAYS, MIN_MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS, MIN_MODEL_GATEWAY_REQUESTS_PER_MINUTE, MODEL_EXECUTION_POLICY_SETTING, MODEL_GATEWAY_CALL_RETENTION_DAYS_SETTING, MODEL_GATEWAY_CALL_RETENTION_ENABLED_SETTING, MODEL_GATEWAY_EXTERNAL_API_BASE_URL_SETTING, MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS_SETTING, MODEL_GATEWAY_REQUESTS_PER_MINUTE_SETTING, MembershipAdminUserStatusEnum, MembershipBulkActionEnum, MembershipLedgerSourceEnum, MembershipPeriodEnum, MembershipPeriodStatusEnum, MembershipPlanStatusEnum, MembershipRenewalModeEnum, MembershipSourceEnum, MembershipStatusEnum, MinimumProjectSizeEnum, ModelAccessActorTypeEnum, ModelAccessChannelEnum, ModelAccessClosedReasonCodeEnum, ModelAccessEventTypeEnum, ModelAccessOwnershipScopeEnum, ModelAccessRequestStatusEnum, ModelAccessSourceEnum, ModelAccessUnavailableReasonEnum, ModelFeature, ModelGatewayApiKeyLifetimeEnum, ModelGatewayApiKeyStatusEnum, ModelGatewayCallStatusEnum, ModelGatewayUsageChannelEnum, ModelGatewayUsageSourceEnum, ModelPropertyKey, OllamaEmbeddingsProviders, OpenAIEmbeddingsProviders, OrderTypeEnum, OrganizationContactBudgetTypeEnum, OrganizationDemoNetworkEnum, OrganizationPermissionsEnum, OrganizationProjectBudgetTypeEnum, OrganizationSelectInput, PERSONAL_API_KEY_LIFETIMES, PLUGIN_APPLICATION_INSTALLATION_STATUS, PLUGIN_APPLICATION_SCOPE, PLUGIN_COMPONENT_TYPE, PLUGIN_CONFIGURATION_STATUS, PLUGIN_LEVEL, PLUGIN_LOAD_STATUS, PLUGIN_MARKETPLACE_AUTHENTICATION_POLICY, PLUGIN_MARKETPLACE_CATEGORIES, PLUGIN_MARKETPLACE_INSTALLATION_POLICY, PLUGIN_MARKETPLACE_SUBCATEGORIES, PLUGIN_MCP_TOOL_APPROVAL_MODE, PLUGIN_RESOURCE_ERROR_CODE, PLUGIN_RESOURCE_INSTALLATION_STATUS, PLUGIN_RESOURCE_RUNTIME_TYPE, PLUGIN_SOURCE, PROJECT_CONFIGURATION_ACTIONS, PROJECT_CONFIGURATION_ACTION_HANDLERS, PROJECT_CONFIGURATION_PROVIDER, PROJECT_CONFIGURATION_VIEW, PROJECT_TASK_ICON_NAMES, ParameterType, ParameterTypeEnum, PayPeriodEnum, PermissionGroups, PermissionsEnum, PluginMarketplaceDetailErrorCode, PriceType, ProjectBillingEnum, ProjectOwnerEnum, ProviderEnum, ProviderType, ROLE_PERMISSION_CATALOG, ROLE_PERMISSION_MODULES, RUNTIME_RESTART_CONFIRMATION, RUNTIME_STREAM_INTERRUPTED_EVENT, RegionsEnum, RequestMethodEnum, RequestScopeLevel, RolesEnum, SANDBOX_FILE_OUTPUT_RULES, SANDBOX_MANAGED_SERVICE_STATUSES, SANDBOX_MANAGED_SERVICE_TRANSPORT_MODES, SANDBOX_TERMINAL_NAMESPACE, SANDBOX_WORK_FOR_TYPES, SKILLS_MIDDLEWARE_NAME, SMTPSecureEnum, SPACE_PROJECT_TYPE, STANDARD_METADATA_FIELDS, STATE_SYS_AGENT_WORKSPACE_PATH, STATE_SYS_MEMORY_WORKSPACE_PATH, STATE_SYS_SESSION_WORKSPACE_PATH, STATE_SYS_SHARED_WORKSPACE_PATH, STATE_SYS_THREAD_ID, STATE_SYS_VOLUME, STATE_SYS_WORKSPACE_PATH, STATE_SYS_WORKSPACE_ROOT, STATE_SYS_WORKSPACE_URL, STATE_VARIABLE_FILES, STATE_VARIABLE_HUMAN, STATE_VARIABLE_INPUT, STATE_VARIABLE_SYS, STATE_VARIABLE_TITLE_CHANNEL, SandboxManagedServiceErrorCode, SandboxTerminalClientEvent, SandboxTerminalClosedReason, SandboxTerminalErrorCode, SandboxTerminalServerEvent, ScheduleTaskStatus, SecretTokenBindingType, TAG_TARGETS, TASK_DESCRIPTION_PREFIX, TASK_DESCRIPTION_SUFFIX, THREAD_GOAL_STATUS_VALUES, TOOL_NAME_REGEX, TagCategoryEnum, TaskFrequency, TaskListTypeEnum, ToolParameterForm, ToolParameterType, ToolTagEnum, TranslationLanguageMap, UNWIRED_AI_PERMISSIONS, USAGE_HOUR_FORMAT, USER_EVENT_INBOX_SLOT, USER_ORGANIZATION_ENTRY_GUIDE_CLAWXPERT, UserGroupManagedByEnum, UserGroupManagedEntityTypeEnum, UserModelGrantStatusEnum, UserType, VariableOperationEnum, VariableOperations, VectorTypeEnum, Visibility, WORKBENCH_AGENT_EVOLUTION_CHANGE_TARGET, WORKBENCH_AGENT_EVOLUTION_TARGET, WORKBENCH_ASSISTANT_CONVERSATION_TARGET, WORKBENCH_ASSISTANT_EXECUTION_TARGET, WORKBENCH_ASSISTANT_PROJECT_TARGET, WORKBENCH_CONTENT_DRAFT_COMMAND, WORKBENCH_EXTENSION_VIEW_TARGET, WORKBENCH_FILE_OPEN_COMMAND, WORKBENCH_GROUP_MESSAGE_TARGET, WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET, WORKBENCH_NAVIGATION_OPEN_COMMAND, WORKBENCH_PROJECT_APPLICATION_TARGET, WORKBENCH_PROJECT_PIPELINES_TARGET, WORKBENCH_RESOURCE_OPEN_COMMAND, WORKBENCH_VIEW_OPEN_EVENT, WORKSPACE_PUBLIC_SKILL_REPOSITORY_NAME, WORKSPACE_PUBLIC_SKILL_SOURCE_PROVIDER, WeekDaysEnum, WorkflowComparisonOperator, WorkflowLogicalOperator, WorkflowNodeTypeEnum, XPERT_FILE_MEMORY_MIDDLEWARE_NAME, XPERT_REMOTE_COMPONENT_INVOKE_CLIENT_COMMAND_MESSAGE_TYPE, XPERT_TASK_SCHEDULE_IDEMPOTENCY_KEY, XPERT_TASK_SCHEDULE_PROPERTY_PREFIX, XPERT_VIEW_CONVERSATION_ID_HEADER, XPERT_VIEW_PROJECT_ID_HEADER, XpertAccessRequestStatusEnum, XpertAgentExecutionStatusEnum, XpertMarketplaceBusinessCategories, XpertMarketplaceCollaborationModes, XpertMarketplaceTechnicalCategories, XpertParameterTypeEnum, XpertProjectAssetSourceEnum, XpertProjectAutomationRunStatusEnum, XpertProjectAutomationTriggerEnum, XpertProjectPlanViewEnum, XpertProjectTaskPriorityEnum, XpertProjectTaskStatusEnum, XpertTableStatus, XpertToolsetCategoryEnum, XpertTypeEnum, XpertWorkbenchInitialLayoutEnum, agentDeliveryRecoverySchema, agentEventDecisionSchema, agentEventRefSchema, agentInvocationStatusSchema, agentInvocationTerminalStatusSchema, agentLabel, agentOutputDeliverySchema, agentOutputOriginSchema, agentOutputPresentationSchema, agentOutputReferenceSchema, agentResultPathSchema, agentRuntimeModelSourceSchema, agentRuntimeProgressSchema, agentUniqueName, aggregatePipelineAnalytics, allChannels, analyticsDiagnosticSchema, announcementActionSchema, announcementContentSchema, announcementRevisionSchema, announcementSchema, appPlatformAppOrder, appPlatformAppSchema, appPlatformDefinitionSchema, appPlatformEnvironmentSchema, appendMessageContent, appendMessagePlainText, assistantOperationPolicySchema, assistantTaskGroupContext, assistantTaskGroupContextSchema, assistantTemplateManifestSchema, assistantTemplateSetupStateSchema, buildChunkTree, buildXpertMarketplaceProfileSnapshot, businessAreaRoleAllows, canAllowMcpToolDirectly, canReadProjectPipelineConfiguration, channelName, chatMessagePresentation, checkProjectPipelineConfiguration, checkProjectPipelineHostCompatibility, classificateDocumentCategory, clientSecretGrantSourceSchema, codingExecutionViewKey, collectTreeLeaves, configurableStoreNamespace, configurationFromModel, configureProjectPipelineFromForm, configuredModelSource, controlledHandlerSchema, convertToUrlPath, createAgentConnections, createAnnouncementSchema, createConversationTitleSummaryEvent, createFollowUpConsumedEvent, createMessageAppendContextTracker, createRuntimeSkillCapabilityId, createThreadGoalClearedEvent, createThreadGoalUpdatedEvent, createXpertGraph, createXpertNodes, decodeKnowledgeSeparators, defaultMcpToolApprovalMode, defaultModelConfiguration, defaultModelDefinition, defaultModelRoleSchema, deriveXpertMarketplaceTechnicalProfile, discoverableModelTypes, enabledModelsSchema, ensureAssistantBindingSkillWorkspacePreference, evidenceDrivenStrategy, executeModelReplacementSchema, executionActivityBatchSchema, executionActivityCapabilitiesSchema, executionActivityItemSchema, executionControlCapabilitiesSchema, executionControlEvidenceSchema, executionControlProtocols, executionObservationAnomalySchema, executionObservationAssistantSchema, executionObservationAvatarSchema, executionObservationCompareSchema, executionObservationConversationSchema, executionObservationConversationsSchema, executionObservationDetailQuerySchema, executionObservationDetailSchema, executionObservationFilterSchema, executionObservationListSchema, executionObservationOverviewSchema, executionObservationQuerySchema, executionObservationRecordSchema, executionObservationSegmentSchema, executionObservationStatusSchema, executionObservationSummarySchema, executionObservationWorkspacesSchema, executionRuntimeTargetSchema, executionRuntimeTargetsEqual, figureOutXpert, filterAssistantBindingDisabledSkillIds, filterAssistantBindingDisabledTools, filterMessageText, findStartNodes, forecastProjectTasks, genJSONParseKey, genJSONStringifyKey, genListOperatorKey, genPipelineChunkerKey, genPipelineKnowledgeBaseKey, genPipelineProcessorKey, genPipelineSourceKey, genPipelineUnderstandingKey, genVariableAggregatorKey, genXpertDBDeleteKey, genXpertDBInsertKey, genXpertDBQueryKey, genXpertDBSqlKey, genXpertDBUpdateKey, genXpertIteratorKey, genXpertMiddlewareKey, genXpertSkillKey, genXpertStartKey, genXpertTriggerKey, generateCronExpression, getAgentMiddlewareNodes, getAgentVarGroup, getAssistantBindingDisabledSkillIds, getAssistantBindingDisabledTools, getAssistantManagement, getCurrentGraph, getEnabledTools, getPluginApplicationScopes, getStoreNamespace, getSwarmPartners, getTagTargets, getToolCallFromConfig, getToolCallIdFromConfig, getToolLabel, getVariableSchema, getWorkflowTriggers, getWorkspaceFromRunnable, getXpertAgentRecursionLimit, getXpertWorkspaceVisibility, hasEnabledKnowledgeRetrievalSource, humanDecisionInputSchema, humanDecisionSchema, humanDecisionStatusSchema, iconDefinitionSchema, inferMessageAppendContext, isAgentKey, isAgentWorkflowNode, isAgentWorkflowNodeType, isAssistantBindingSkillEnabled, isAssistantBindingToolEnabled, isAssistantBindingToolPreferencesEmpty, isAudioType, isBlank, isConfiguredModelAvailable, isContextCompressionComponentData, isDiscoverableModelType, isDocumentKnowledgebaseType, isDocumentSheet, isEnableTool, isEnterpriseH5Platform, isEvidenceProposal, isImageType, isInterruptMessage, isIteratingKey, isIteratorKey, isKnowledgeDocumentVisible, isKnowledgeTableMetadata, isKnowledgeWikiChunkMetadata, isKnowledgeWikiPageContributionPayload, isKnowledgeWikiPageSourcePayload, isLearningProposal, isMessageGroup, isMiddlewareToolEnabled, isModelGatewayExternalApiBaseUrl, isNativeKnowledgeTableDocument, isNil$1 as isNil, isOrganizationSharedXpertWorkspace, isOutputTokenParameter, isPluginApplicationScope, isPreparedCandidate, isProjectPipelineApplicable, isPromptWorkflowScenarios, isProviderEvaluation, isProviderModelEnabled, isProviderRelease, isReplayEvaluation, isRequiredMiddleware, isRouterKey, isRunnableThreadGoalStatus, isRuntimeChatMessage, isScopedPromptCapabilityConfig, isStagedRelease, isString, isSystemManagedAssistant, isTenantSharedXpertWorkspace, isToolEnabled, isUserAddableAgentMiddleware, isUserManagedAssistant, isUserOrganizationEntryGuideKey, isVideoType, isXpertNodeType, knowledgeDocumentFileType, knowledgeUploadFileTypes, knowledgebaseDocumentParserDefaults, knowledgebaseParserSelection, legacyModelFeatures, legacyProviderRoleSchema, letterStartSUID, locateNodes, mapTranslationLanguage, mcpExecutionCapabilitySchema, mcpExecutionControlRequestSchema, mcpExecutionReceiptSchema, mcpExecutionToolDeclarationSchema, mcpOperationIdentitySchema, mcpTaskAcknowledgementSchema, mcpTaskResultSchema, mcpTaskStartResultSchema, mergeMessageContentForDisplay, messageContentText, modelBindingSchema, modelConfigurationSchema, modelExecutionEntry, modelExecutionParametersSchema, modelExecutionSourceId, modelIdentityKey, modelIdentitySchema, modelImportSchema, modelReplacementSchema, modelReplacementScopeSchema, nonBlank, nonNullable, normalizeAssistantBindingToolPreferences, normalizeKnowledgebaseFAQRecall, normalizeKnowledgebaseWikiConfig, normalizeMiddlewareNode, normalizeMiddlewareNodes, normalizeMiddlewareOptions, normalizeMiddlewareProvider, normalizeModelParameterValue, normalizeXpertAgentConfig, notificationChangeSchema, notificationClientSchema, notificationOutboxPayloadSchema, notificationSnapshotSchema, notificationSourceSchema, notificationThreadIdSchema, omitXpertRelations, openConversationActionSchema, orderAssistantXperts, outputPreferenceSchema, outputQuietHoursSchema, parseAnalyticsDiagnostic, parseAnnouncement, parseGithubSkillInstallCommand, parseNotificationSnapshot, parseOpenConversationAction, parseProjectPipelineParameters, parsePromptCapabilityConfig, parsePromptCapabilitySelection, parseRuntimeSkillCapabilityId, parseUserNotification, parseWorkbenchViewOpenEvent, pipelineAnalyticsFacts, pipelineAttemptCounts, pipelineAttemptCountsSchema, pipelineExecutionTiming, pipelineExecutionTimingSchema, pipelineExecutorStatistics, pipelineExecutorStatisticsSchema, pipelineHumanWaitSnapshotSchema, pipelineHumanWaitStatistics, pipelineHumanWaitStatisticsSchema, pipelineModelUsageFactSchema, pipelineModelUsageStatistics, pipelineModelUsageStatisticsSchema, pipelineNodeNeedsHuman, pipelineQueueStatistics, pipelineQueueStatisticsSchema, pluginAgentEventSchema, privateDecisionFeedbackStatusSchema, privateDecisionReplySchema, projectConfigurationActionSchema, projectConfigurationSectionSchema, projectConfigurationUpdateSchema, projectConfigurationValuesSchema, projectPipelineAnalytics, projectPipelineAnalyticsInputSchema, projectPipelineAnalyticsSchema, projectPipelineAssistantExecutionSchema, projectPipelineAssistantInputSchema, projectPipelineBindingSchema, projectPipelineCancelSchema, projectPipelineCatalogConfigureSchema, projectPipelineCatalogProtocolSchema, projectPipelineCatalogRequestSchema, projectPipelineCatalogSchema, projectPipelineCommandCapabilitySchema, projectPipelineCompletionReceiptSchema, projectPipelineConfigurationDeclarationSchema, projectPipelineConfigurationFormSchema, projectPipelineConfigurationPageSchema, projectPipelineConfigurationSchema, projectPipelineConfigureSchema, projectPipelineContributionSchema, projectPipelineDecisionSchema, projectPipelineDefinitionSchema, projectPipelineDefinitionShapeSchema, projectPipelineEdgeSchema, projectPipelineEvidenceRefSchema, projectPipelineExtensionDescriptorSchema, projectPipelineHostCapabilitiesSchema, projectPipelineHostRequirementsSchema, projectPipelineIconSchema, projectPipelineInputBindingSchema, projectPipelineInstanceSchema, projectPipelineJsonSchema, projectPipelineKeySchema, projectPipelineLaneSchema, projectPipelineModelBudgetIncreaseRecordSchema, projectPipelineModelBudgetIncreaseSchema, projectPipelineNativeDispatchSchema, projectPipelineNativeModelBudgetSchema, projectPipelineNativeModelBudgetStatusSchema, projectPipelineNativeSourceSchema, projectPipelineNextRoundSchema, projectPipelineNodeInstanceSchema, projectPipelineNodePresentationSchema, projectPipelineNodeSchema, projectPipelineNodeStateSchema, projectPipelineOperationInputSchema, projectPipelineOperationReceiptSchema, projectPipelineOutputBindingSchema, projectPipelineParameterFieldSchema, projectPipelineParticipantKindSchema, projectPipelinePolicyReceiptSchema, projectPipelinePortDescriptorSchema, projectPipelinePortfolioInputSchema, projectPipelinePortfolioSchema, projectPipelineProjectBindingSchema, projectPipelineProjectTypesSchema, projectPipelineProjectionEdgeSchema, projectPipelineProjectionNodeSchema, projectPipelineProjectionSchema, projectPipelineProviderActionCommandSchema, projectPipelineProviderActionDescriptorSchema, projectPipelineProviderActionReceiptSchema, projectPipelineProviderActionTargetSchema, projectPipelineProviderActionViewSchema, projectPipelineProviderActionsSchema, projectPipelineRefSchema, projectPipelineResourceClaimSchema, projectPipelineResourceClaimsSchema, projectPipelineResourceReservationSchema, projectPipelineRetrySchema, projectPipelineRoleSchema, projectPipelineRoundSchema, projectPipelineRunSchema, projectPipelineRuntimeExecutionSchema, projectPipelineRuntimeInputSchema, projectPipelineRuntimeSelectionSchema, projectPipelineSavedConfigurationSchema, projectPipelineStageSchema, projectPipelineStartSchema, projectPipelineStatistics, projectPipelineStatisticsSchema, projectPipelineSubjectVersionSchema, projectPipelineTaskProjectionSchema, projectPipelineWorkContextSchema, projectPipelineWorkCountsSchema, projectPluginDeploymentReceiptSchema, projectPluginDeploymentRefs, projectPluginDeploymentRequestSchema, projectTaskCandidatePathSchema, projectTaskConfigurationSchema, projectTaskDecisionInputSchema, projectTaskDecisionSchema, projectTaskDecisionToolInputSchema, projectTaskDispatchInputSchema, projectTaskDispatchReceiptSchema, projectTaskDispatchToolInputSchema, projectTaskDurationSchema, projectTaskEvidencePathSchema, projectTaskEvidenceReferenceSchema, projectTaskExecutionContextSchema, projectTaskExecutionPurposeSchema, projectTaskExecutionReferenceSchema, projectTaskReviewReportSchema, projectTaskReviewSubjectSchema, projectTaskReviewerSchema, projectTaskReworkSchema, projectTaskSpecificationDigestSchema, projectTaskSpecificationSchema, projectTaskSpecificationSnapshotSchema, providerCredentialCheckSchema, providerCredentialValidationTargetSchema, readModelConfiguration, replaceAgentInDraft, resolveDraftPrimaryAgent, resolveDraftRuntimeGraph, resolveI18nText, resolveMessageAppendContext, resolveModelParameterOptions, resolvePromptWorkflowCapabilities, resolveRuntimeXpert, roleDefaultInputSchema, sameModelIdentity, sandboxEvidence, sandboxJobRetryReferenceSchema, sandboxRuntimeEvidenceSchema, sandboxRuntimeTargetSchema, sandboxTargetsEqual, saveRoleDefaultsSchema, scheduledNotificationOriginSchema, selectedPipelineAttemptFacts, setStateVariable, shortTitle, stringifyMessageContent, templateActivityReadSchema, templateDependencyLocksSchema, templateDependencyVersionsSchema, templateFilePathSchema, templateFilesSchema, templateManifestSchema, templateManifestV1Schema, templatePreferenceValuesSchema, templatePublicationInputSchema, templateSetupUpdateSchema, templateUpgradeActionSchema, templateUpgradeInputSchema, templateUpgradeSectionSchema, threadControlActionsSchema, threadControlViewSchema, toXpertOpenerPrompt, trailActivityKindSchema, trailEpisodeSchema, trailGraphSchema, trailLaneSchema, trailStatusSchema, trailStepSchema, transformInstallation, transitionModelParameters, unknownExecutionControl, updateAnnouncementSchema, updateAssistantBindingSkillPreferences, updateAssistantBindingToolPreferences, userNotificationSchema, usesConfiguredModelCatalog, usesModelScopedCredentials, uuid, validateProjectPipelineConfigurationForm, validateProjectPipelineDefinition, validateProjectTaskGraph, workflowNodeIdentifier, workspaceConnectorAuthorizationSchema, workspaceConnectorConnectPayloadSchema, xpertLabel };