@xpert-ai/contracts 3.38.0 → 3.39.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 (39) hide show
  1. package/index.cjs.js +191 -35
  2. package/index.esm.js +168 -37
  3. package/package.json +2 -2
  4. package/src/ai/assistant-capability.model.d.ts +21 -0
  5. package/src/ai/chat-event.model.d.ts +2 -1
  6. package/src/ai/chat-message-envelope.model.d.ts +2 -1
  7. package/src/ai/chat-message.model.d.ts +1 -1
  8. package/src/ai/chat.model.d.ts +14 -3
  9. package/src/ai/conversation-trail.model.d.ts +12 -12
  10. package/src/ai/execution-activity.model.d.ts +10 -10
  11. package/src/ai/index.d.ts +2 -1
  12. package/src/ai/project-pipeline/analytics.d.ts +4 -4
  13. package/src/ai/project-pipeline/commands.schema.d.ts +17 -11
  14. package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +6 -6
  15. package/src/ai/project-pipeline/configuration-form.d.ts +47 -47
  16. package/src/ai/project-pipeline/configuration.schema.d.ts +8 -8
  17. package/src/ai/project-pipeline/contribution.schema.d.ts +18 -18
  18. package/src/ai/project-pipeline/index.d.ts +1 -0
  19. package/src/ai/project-pipeline/model-usage-statistics.d.ts +2 -2
  20. package/src/ai/project-pipeline/operation-actions.schema.d.ts +112 -0
  21. package/src/ai/project-pipeline/operation.schema.d.ts +3 -0
  22. package/src/ai/project-pipeline/portfolio.schema.d.ts +8 -8
  23. package/src/ai/project-pipeline/provider-actions.schema.d.ts +74 -74
  24. package/src/ai/project-pipeline/runtime.schema.d.ts +28 -28
  25. package/src/ai/project-task-graph.model.d.ts +2 -0
  26. package/src/ai/project-task-runtime.model.d.ts +39 -35
  27. package/src/ai/template-lifecycle.model.d.ts +2 -2
  28. package/src/ai/xpert-agent-execution.model.d.ts +3 -0
  29. package/src/ai/xpert-tool.model.d.ts +3 -3
  30. package/src/ai/xpert-toolset.model.d.ts +2 -0
  31. package/src/always-on/agent-output.model.d.ts +8 -7
  32. package/src/always-on/output-workbench.schema.d.ts +13 -10
  33. package/src/artifacts/artifact-presentation.model.d.ts +5 -1
  34. package/src/plugin-application.d.ts +83 -0
  35. package/src/user-notification.schema.d.ts +689 -97
  36. package/src/view-extension/index.d.ts +2 -0
  37. package/src/view-extension/project-workbench.d.ts +5 -0
  38. package/src/view-extension/workbench-entry.schema.d.ts +218 -0
  39. package/src/view-extension/workbench.d.ts +2 -0
package/index.cjs.js CHANGED
@@ -49,12 +49,12 @@ var reasonCode = v3.z.string().regex(/^[a-z][a-z0-9_]{0,79}$/);
49
49
  /** Personal host slot for a user's inbox across assistants. */ var USER_EVENT_INBOX_SLOT = "user.event-inbox";
50
50
  /** Built-in remote view shared by the assistant workbench and personal inbox entry points. */ var EVENT_INBOX_VIEW_KEY = "platform.event-inbox__inbox";
51
51
 
52
- var label$3 = v3.z.object({
52
+ var label$4 = v3.z.object({
53
53
  en_US: v3.z.string().trim().min(1).max(160),
54
54
  zh_Hans: v3.z.string().trim().min(1).max(160)
55
55
  }).strict();
56
56
  var outputFieldSchema = v3.z.object({
57
- label: label$3,
57
+ label: label$4,
58
58
  value: v3.z.string().max(4000)
59
59
  }).strict();
60
60
  /** A source-owned business item and its location in an Assistant workbench. Handling is independent of notification read state. */ var outputWorkbenchSchema = v3.z.object({
@@ -62,8 +62,8 @@ var outputFieldSchema = v3.z.object({
62
62
  "pending",
63
63
  "handled"
64
64
  ]),
65
- title: label$3,
66
- openLabel: label$3,
65
+ title: label$4,
66
+ openLabel: label$4,
67
67
  viewKey: v3.z.string().trim().min(1).max(256),
68
68
  selectionId: v3.z.string().trim().min(1).max(256)
69
69
  }).strict();
@@ -72,6 +72,16 @@ var outputWorkbenchTargetSchema = outputWorkbenchSchema.extend({
72
72
  organizationId: v3.z.string().uuid(),
73
73
  projectId: v3.z.string().uuid().nullable()
74
74
  });
75
+ /** Preserve the source's navigation context independently of its business presentation. */ function outputWorkbenchEntry(target) {
76
+ return {
77
+ target: "workbench.view",
78
+ assistantId: target.assistantId,
79
+ organizationId: target.organizationId,
80
+ projectId: target.projectId,
81
+ viewKey: target.viewKey,
82
+ selectionId: target.selectionId
83
+ };
84
+ }
75
85
 
76
86
  var key$5 = v3.z.string().min(1).max(160);
77
87
  /**
@@ -88,14 +98,14 @@ var key$5 = v3.z.string().min(1).max(160);
88
98
 
89
99
  var uuid$2 = v3.z.string().uuid();
90
100
  var choice = v3.z.string().regex(/^[a-z][a-z0-9_]{0,63}$/);
91
- var label$2 = v3.z.object({
101
+ var label$3 = v3.z.object({
92
102
  en_US: v3.z.string().min(1).max(100),
93
103
  zh_Hans: v3.z.string().min(1).max(100)
94
104
  }).strict();
95
105
  var requestVersion = v3.z.number().int().positive();
96
106
  var choices = v3.z.array(v3.z.object({
97
107
  key: choice,
98
- label: label$2,
108
+ label: label$3,
99
109
  replyCommand: v3.z.string().trim().min(1).max(100).optional()
100
110
  }).strict()).min(2).max(5).refine(function(options) {
101
111
  var commands = options.flatMap(function(c) {
@@ -153,6 +163,59 @@ var choices = v3.z.array(v3.z.object({
153
163
  ])
154
164
  }).strict();
155
165
 
166
+ var scalar = v3.z.union([
167
+ v3.z.string().max(4000),
168
+ v3.z.number().finite(),
169
+ v3.z.boolean(),
170
+ v3.z.null()
171
+ ]);
172
+ var parameters = v3.z.record(v3.z.string().min(1).max(100), v3.z.union([
173
+ scalar,
174
+ v3.z.array(scalar).max(100)
175
+ ])).refine(function(value) {
176
+ return Object.keys(value).length <= 50 && JSON.stringify(value).length <= 12000;
177
+ });
178
+ /** A declared View and its bounded, credential-free selection context; it grants no access. */ var workbenchViewLocationSchema = v3.z.object({
179
+ viewKey: v3.z.string().trim().min(1).max(256),
180
+ selectionId: v3.z.string().trim().min(1).max(256).optional(),
181
+ parameters: parameters.optional()
182
+ }).strict();
183
+ var assistantWorkbenchViewInputSchema = workbenchViewLocationSchema.extend({
184
+ projectId: v3.z.string().uuid().nullable()
185
+ });
186
+ /** A concrete Assistant View destination. Identity and scope are subject to current host authorization. */ var assistantWorkbenchTargetSchema = assistantWorkbenchViewInputSchema.extend({
187
+ /** A declared Assistant Workbench View; arbitrary URLs and commands are outside this target. */ target: v3.z.literal("workbench.view"),
188
+ assistantId: v3.z.string().uuid(),
189
+ organizationId: v3.z.string().uuid().nullable()
190
+ });
191
+ /** A domain-owned pipeline location; Assistant selection remains with the Project domain. */ var projectPipelineWorkbenchTargetSchema = v3.z.object({
192
+ /** A Project pipeline location requiring domain resolution before opening a Workbench. */ target: v3.z.literal("project.pipelines"),
193
+ organizationId: v3.z.string().uuid().nullable(),
194
+ projectId: v3.z.string().uuid(),
195
+ pipelineInstanceId: v3.z.string().uuid(),
196
+ pipelineRoundId: v3.z.string().uuid(),
197
+ pipelineNodeId: v3.z.string().uuid()
198
+ }).strict();
199
+ /** Cross-surface navigation intent, independent of notification delivery and business decisions. */ var workbenchEntryTargetSchema = v3.z.discriminatedUnion("target", [
200
+ projectPipelineWorkbenchTargetSchema,
201
+ assistantWorkbenchTargetSchema
202
+ ]);
203
+ var workbenchEntrySchema = v3.z.object({
204
+ projectId: v3.z.string().uuid().nullable(),
205
+ organizationId: v3.z.string().uuid().nullable(),
206
+ assistant: v3.z.object({
207
+ id: v3.z.string().uuid(),
208
+ name: v3.z.string()
209
+ }).strict(),
210
+ view: workbenchViewLocationSchema
211
+ }).strict();
212
+ function parseWorkbenchEntry(value) {
213
+ return workbenchEntrySchema.parse(value);
214
+ }
215
+ function parseWorkbenchEntryTarget(value) {
216
+ return workbenchEntryTargetSchema.parse(value);
217
+ }
218
+
156
219
  // Application types are independent of delivery channels and external account identities.
157
220
  var notificationClientSchema = v3.z.enum([
158
221
  "web",
@@ -269,9 +332,34 @@ var outputNotificationSchema = taskNotificationSchema.extend({
269
332
  titles: v3.z.array(v3.z.string().min(1).max(240)).min(1).max(20),
270
333
  action: openConversationActionSchema.nullable()
271
334
  });
335
+ /** Opt-in protocol; older clients must not receive kinds they cannot render. */ var ACTION_NOTIFICATION_ACCEPT = 'application/json; profile="xpert-notifications-v2"';
336
+ /** Opt-in protocol for generic Workbench targets; v2 remains restricted to Project pipelines. */ var WORKBENCH_NOTIFICATION_ACCEPT = 'application/json; profile="xpert-notifications-v3"';
337
+ var actionNotificationSourceSchema = v3.z.object({
338
+ type: v3.z.literal("action"),
339
+ provider: v3.z.string().min(1).max(100),
340
+ key: v3.z.string().uuid(),
341
+ version: v3.z.string().min(1).max(100)
342
+ }).strict();
343
+ var notificationWorkbenchSchema = workbenchEntryTargetSchema;
344
+ var actionNotificationPresentationSchema = v3.z.object({
345
+ title: v3.z.string().min(1).max(240),
346
+ state: v3.z.enum([
347
+ "pending",
348
+ "handled",
349
+ "closed"
350
+ ]),
351
+ workbench: notificationWorkbenchSchema
352
+ }).strict();
353
+ var actionNotificationSchema = taskNotificationSchema.extend({
354
+ kind: v3.z.literal("action.required"),
355
+ source: actionNotificationSourceSchema,
356
+ presentation: actionNotificationPresentationSchema,
357
+ action: v3.z.null()
358
+ });
272
359
  var userNotificationSchema = v3.z.discriminatedUnion("kind", [
273
360
  taskNotificationSchema,
274
- outputNotificationSchema
361
+ outputNotificationSchema,
362
+ actionNotificationSchema
275
363
  ]);
276
364
  var notificationSnapshotSchema = v3.z.object({
277
365
  supported: v3.z.literal(true),
@@ -279,7 +367,8 @@ var notificationSnapshotSchema = v3.z.object({
279
367
  announcements: v3.z.array(announcementSchema),
280
368
  notifications: v3.z.array(userNotificationSchema),
281
369
  hasMoreAnnouncements: v3.z.boolean(),
282
- hasMoreNotifications: v3.z.boolean()
370
+ hasMoreNotifications: v3.z.boolean(),
371
+ pendingCount: v3.z.number().int().nonnegative().optional()
283
372
  }).strict();
284
373
  var notificationChangeSchema = v3.z.object({
285
374
  schemaVersion: v3.z.literal(1),
@@ -418,7 +507,7 @@ function _object_spread$v(target) {
418
507
  }
419
508
  return target;
420
509
  }
421
- function ownKeys$o(object, enumerableOnly) {
510
+ function ownKeys$p(object, enumerableOnly) {
422
511
  var keys = Object.keys(object);
423
512
  if (Object.getOwnPropertySymbols) {
424
513
  var symbols = Object.getOwnPropertySymbols(object);
@@ -426,12 +515,12 @@ function ownKeys$o(object, enumerableOnly) {
426
515
  }
427
516
  return keys;
428
517
  }
429
- function _object_spread_props$o(target, source) {
518
+ function _object_spread_props$p(target, source) {
430
519
  source = source != null ? source : {};
431
520
  if (Object.getOwnPropertyDescriptors) {
432
521
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
433
522
  } else {
434
- ownKeys$o(Object(source)).forEach(function(key) {
523
+ ownKeys$p(Object(source)).forEach(function(key) {
435
524
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
436
525
  });
437
526
  }
@@ -454,7 +543,7 @@ var appPlatformAppSchema = v3.z.object({
454
543
  configurationRef: key$3,
455
544
  dependsOn: v3.z.array(key$3).max(32).default([])
456
545
  }).strict().transform(function(app) {
457
- return _object_spread_props$o(_object_spread$v({}, app), {
546
+ return _object_spread_props$p(_object_spread$v({}, app), {
458
547
  key: app.key,
459
548
  required: app.required,
460
549
  configurationRef: app.configurationRef,
@@ -2153,7 +2242,7 @@ function _object_spread$u(target) {
2153
2242
  }
2154
2243
  return target;
2155
2244
  }
2156
- function ownKeys$n(object, enumerableOnly) {
2245
+ function ownKeys$o(object, enumerableOnly) {
2157
2246
  var keys = Object.keys(object);
2158
2247
  if (Object.getOwnPropertySymbols) {
2159
2248
  var symbols = Object.getOwnPropertySymbols(object);
@@ -2161,12 +2250,12 @@ function ownKeys$n(object, enumerableOnly) {
2161
2250
  }
2162
2251
  return keys;
2163
2252
  }
2164
- function _object_spread_props$n(target, source) {
2253
+ function _object_spread_props$o(target, source) {
2165
2254
  source = source != null ? source : {};
2166
2255
  if (Object.getOwnPropertyDescriptors) {
2167
2256
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2168
2257
  } else {
2169
- ownKeys$n(Object(source)).forEach(function(key) {
2258
+ ownKeys$o(Object(source)).forEach(function(key) {
2170
2259
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2171
2260
  });
2172
2261
  }
@@ -2194,7 +2283,7 @@ function parseSelectionSet(value) {
2194
2283
  if (plugins !== undefined && (!isObject(plugins) || !("nodeKeys" in plugins) || !isStringList(plugins.nodeKeys))) return null;
2195
2284
  if (subAgents !== undefined && (!isObject(subAgents) || !("nodeKeys" in subAgents) || !isStringList(subAgents.nodeKeys))) return null;
2196
2285
  if (connectors !== undefined && (!isObject(connectors) || !("bindingIds" in connectors) || !isStringList(connectors.bindingIds))) return null;
2197
- return _object_spread$u(_object_spread_props$n(_object_spread$u({}, value), {
2286
+ return _object_spread$u(_object_spread_props$o(_object_spread$u({}, value), {
2198
2287
  skills: skills === undefined ? {
2199
2288
  ids: []
2200
2289
  } : skills,
@@ -2213,7 +2302,7 @@ function parsePromptCapabilitySelection(value) {
2213
2302
  var selection = parseSelectionSet(value);
2214
2303
  var recommended = "recommended" in value && value.recommended != null ? parseSelectionSet(value.recommended) : undefined;
2215
2304
  if (!selection || recommended === null) return null;
2216
- return _object_spread$u(_object_spread_props$n(_object_spread$u({}, selection), {
2305
+ return _object_spread$u(_object_spread_props$o(_object_spread$u({}, selection), {
2217
2306
  mode: "allowlist"
2218
2307
  }), "inheritUnselected" in value && typeof value.inheritUnselected === "boolean" ? {
2219
2308
  inheritUnselected: value.inheritUnselected
@@ -2265,7 +2354,7 @@ function parsePromptCapabilityConfig(value) {
2265
2354
  }
2266
2355
  }
2267
2356
  }
2268
- return _object_spread_props$n(_object_spread$u({}, value), {
2357
+ return _object_spread_props$o(_object_spread$u({}, value), {
2269
2358
  type: "expert_scoped_capabilities",
2270
2359
  version: 1,
2271
2360
  defaults: defaults,
@@ -2432,15 +2521,35 @@ function _object_spread$t(target) {
2432
2521
  }
2433
2522
  return target;
2434
2523
  }
2524
+ function ownKeys$n(object, enumerableOnly) {
2525
+ var keys = Object.keys(object);
2526
+ if (Object.getOwnPropertySymbols) {
2527
+ var symbols = Object.getOwnPropertySymbols(object);
2528
+ keys.push.apply(keys, symbols);
2529
+ }
2530
+ return keys;
2531
+ }
2532
+ function _object_spread_props$n(target, source) {
2533
+ source = source != null ? source : {};
2534
+ if (Object.getOwnPropertyDescriptors) {
2535
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2536
+ } else {
2537
+ ownKeys$n(Object(source)).forEach(function(key) {
2538
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2539
+ });
2540
+ }
2541
+ return target;
2542
+ }
2435
2543
  var CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED = "follow_up_consumed";
2436
2544
  var CHAT_EVENT_TYPE_THREAD_CONTEXT_USAGE = "thread_context_usage";
2437
2545
  var CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY = "conversation_title_summary";
2438
2546
  var CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED = "thread_goal_updated";
2439
2547
  var CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED = "thread_goal_cleared";
2440
2548
  function createConversationTitleSummaryEvent(event) {
2441
- return _object_spread$t({
2442
- type: CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY
2443
- }, event);
2549
+ return _object_spread_props$n(_object_spread$t({}, event), {
2550
+ type: CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY,
2551
+ presentation: "runtime"
2552
+ });
2444
2553
  }
2445
2554
  function createFollowUpConsumedEvent(event) {
2446
2555
  return _object_spread$t({
@@ -11193,7 +11302,8 @@ var receipt = {
11193
11302
  };
11194
11303
  var projectPipelineOperationReceiptSchema = v3.z.discriminatedUnion("status", [
11195
11304
  v3.z.object(_object_spread_props$7(_object_spread$b({}, receipt), {
11196
- status: v3.z.literal("pending")
11305
+ status: v3.z.literal("pending"),
11306
+ code: projectPipelineKeySchema.optional()
11197
11307
  })).strict(),
11198
11308
  v3.z.object(_object_spread_props$7(_object_spread$b({}, receipt), {
11199
11309
  status: v3.z.literal("succeeded"),
@@ -11268,7 +11378,7 @@ var projectPipelineNextRoundSchema = v3.z.object({
11268
11378
  var projectPipelineCancelSchema = v3.z.object({
11269
11379
  instanceId: v3.z.string().uuid(),
11270
11380
  requestId: v3.z.string().uuid(),
11271
- expectedRevision: v3.z.number().int().positive()
11381
+ /** The run shown when cancellation was requested; ordinary progress does not change this target. */ runId: v3.z.string().uuid()
11272
11382
  }).strict();
11273
11383
  var projectPipelineRetrySchema = v3.z.object({
11274
11384
  instanceId: v3.z.string().uuid(),
@@ -12043,18 +12153,18 @@ function _unsupported_iterable_to_array$c(o, minLen) {
12043
12153
  if (n === "Map" || n === "Set") return Array.from(n);
12044
12154
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
12045
12155
  }
12046
- var label$1 = v3.z.object({
12156
+ var label$2 = v3.z.object({
12047
12157
  en_US: v3.z.string().min(1).max(200),
12048
12158
  zh_Hans: v3.z.string().min(1).max(200).optional()
12049
12159
  }).strict();
12050
12160
  var field = {
12051
12161
  key: projectPipelineKeySchema,
12052
- label: label$1,
12053
- description: label$1.optional()
12162
+ label: label$2,
12163
+ description: label$2.optional()
12054
12164
  };
12055
12165
  var option = v3.z.object({
12056
12166
  value: v3.z.string().min(1).max(200),
12057
- label: label$1
12167
+ label: label$2
12058
12168
  }).strict();
12059
12169
  var projectPipelineParameterFieldSchema = v3.z.discriminatedUnion("type", [
12060
12170
  v3.z.object(_object_spread_props$4(_object_spread$8({}, field), {
@@ -12088,16 +12198,16 @@ var projectPipelineParameterFieldSchema = v3.z.discriminatedUnion("type", [
12088
12198
  ]);
12089
12199
  var projectPipelineConfigurationFormSchema = v3.z.object({
12090
12200
  templateRef: projectPipelineRefSchema,
12091
- description: label$1,
12201
+ description: label$2,
12092
12202
  assistantSlots: v3.z.array(v3.z.object({
12093
12203
  slot: projectPipelineKeySchema,
12094
- label: label$1,
12095
- description: label$1.optional()
12204
+ label: label$2,
12205
+ description: label$2.optional()
12096
12206
  }).strict()).max(100),
12097
12207
  runtimeSlots: v3.z.array(v3.z.object({
12098
12208
  slot: projectPipelineKeySchema,
12099
- label: label$1,
12100
- description: label$1.optional()
12209
+ label: label$2,
12210
+ description: label$2.optional()
12101
12211
  }).strict()).max(100).optional(),
12102
12212
  /** Optional maxima for the three editable admission values; not an execution budget by itself. */ nativeModelBudget: projectPipelineNativeModelBudgetSchema.optional(),
12103
12213
  parameters: v3.z.array(projectPipelineParameterFieldSchema).max(100)
@@ -12411,14 +12521,14 @@ function parameterSchema(field) {
12411
12521
  }));
12412
12522
  }
12413
12523
 
12414
- var label = v3.z.object({
12524
+ var label$1 = v3.z.object({
12415
12525
  en_US: v3.z.string().min(1).max(200),
12416
12526
  zh_Hans: v3.z.string().min(1).max(200).optional()
12417
12527
  }).strict();
12418
12528
  var projectPipelineProviderActionDescriptorSchema = v3.z.object({
12419
12529
  ref: projectPipelineRefSchema,
12420
- label: label,
12421
- description: label.optional(),
12530
+ label: label$1,
12531
+ description: label$1.optional(),
12422
12532
  sourceRevision: v3.z.string().min(1).max(500),
12423
12533
  effects: v3.z.enum([
12424
12534
  "read_only",
@@ -13677,6 +13787,26 @@ var projectPluginDeploymentReceiptSchema = v3.z.object({
13677
13787
  loaded: v3.z.literal(true)
13678
13788
  }).strict();
13679
13789
 
13790
+ var label = v3.z.object({
13791
+ en_US: v3.z.string().max(2000),
13792
+ zh_Hans: v3.z.string().max(2000).optional()
13793
+ }).strict();
13794
+ /** Human actions belong to the operation's owning domain, independently of pipeline decisions. */ var projectPipelineOperationActionsSchema = v3.z.object({
13795
+ operationId: v3.z.string().uuid().nullable(),
13796
+ messages: v3.z.array(label).max(20),
13797
+ items: v3.z.array(v3.z.object({
13798
+ key: v3.z.string().min(1).max(100),
13799
+ version: v3.z.string().min(1).max(128),
13800
+ title: label,
13801
+ confirmation: label
13802
+ }).strict()).max(10)
13803
+ }).strict();
13804
+ var projectPipelineOperationActionSchema = v3.z.object({
13805
+ operationId: v3.z.string().uuid(),
13806
+ key: v3.z.string().min(1).max(100),
13807
+ version: v3.z.string().min(1).max(128)
13808
+ }).strict();
13809
+
13680
13810
  var templateDependencyVersionsSchema = zod.z.array(zod.z.object({
13681
13811
  pluginName: zod.z.string().min(1).max(214),
13682
13812
  version: zod.z.string().min(1).max(100)
@@ -15951,6 +16081,7 @@ var AGENT_PROFILE_TABS_SLOT = "agent.profile.tabs";
15951
16081
  "agent.workbench.main"
15952
16082
  ];
15953
16083
  /** Platform-provided navigation, available without Assistant middleware. */ var CONVERSATION_MAP_FEATURE = "platform.conversation-map";
16084
+ /** Workspace file views are available independently of Assistant tool capabilities. */ var WORKSPACE_FILES_FEATURE = "platform.workspace-files";
15954
16085
 
15955
16086
  /** Live-only UI request. Project scope is mandatory; history playback must not reopen Views. */ function _array_like_to_array(arr, len) {
15956
16087
  if (len == null || len > arr.length) len = arr.length;
@@ -16524,10 +16655,18 @@ Object.defineProperty(exports, "createResourceCardContent", {
16524
16655
  enumerable: true,
16525
16656
  get: function () { return chatkitTypes.createResourceCardContent; }
16526
16657
  });
16658
+ Object.defineProperty(exports, "hasRuntimePresentation", {
16659
+ enumerable: true,
16660
+ get: function () { return chatkitTypes.hasRuntimePresentation; }
16661
+ });
16527
16662
  Object.defineProperty(exports, "isResourceCardContent", {
16528
16663
  enumerable: true,
16529
16664
  get: function () { return chatkitTypes.isResourceCardContent; }
16530
16665
  });
16666
+ Object.defineProperty(exports, "isRuntimeAgentExecution", {
16667
+ enumerable: true,
16668
+ get: function () { return chatkitTypes.isRuntimeAgentExecution; }
16669
+ });
16531
16670
  Object.defineProperty(exports, "parseResourceCard", {
16532
16671
  enumerable: true,
16533
16672
  get: function () { return chatkitTypes.parseResourceCard; }
@@ -16545,6 +16684,7 @@ Object.defineProperty(exports, "upsertResourceCardContent", {
16545
16684
  get: function () { return chatkitTypes.upsertResourceCardContent; }
16546
16685
  });
16547
16686
  exports.viewContextEventSchema = contextEvent.viewContextEventSchema;
16687
+ exports.ACTION_NOTIFICATION_ACCEPT = ACTION_NOTIFICATION_ACCEPT;
16548
16688
  exports.AGENT_OUTPUT_ACCEPT = AGENT_OUTPUT_ACCEPT;
16549
16689
  exports.AGENT_OUTPUT_MAX_PATHS = AGENT_OUTPUT_MAX_PATHS;
16550
16690
  exports.AGENT_PROFILE_TABS_SLOT = AGENT_PROFILE_TABS_SLOT;
@@ -16791,10 +16931,12 @@ exports.WORKBENCH_FILE_OPEN_COMMAND = WORKBENCH_FILE_OPEN_COMMAND;
16791
16931
  exports.WORKBENCH_GROUP_MESSAGE_TARGET = WORKBENCH_GROUP_MESSAGE_TARGET;
16792
16932
  exports.WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET = WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET;
16793
16933
  exports.WORKBENCH_NAVIGATION_OPEN_COMMAND = WORKBENCH_NAVIGATION_OPEN_COMMAND;
16934
+ exports.WORKBENCH_NOTIFICATION_ACCEPT = WORKBENCH_NOTIFICATION_ACCEPT;
16794
16935
  exports.WORKBENCH_PROJECT_APPLICATION_TARGET = WORKBENCH_PROJECT_APPLICATION_TARGET;
16795
16936
  exports.WORKBENCH_PROJECT_PIPELINES_TARGET = WORKBENCH_PROJECT_PIPELINES_TARGET;
16796
16937
  exports.WORKBENCH_RESOURCE_OPEN_COMMAND = WORKBENCH_RESOURCE_OPEN_COMMAND;
16797
16938
  exports.WORKBENCH_VIEW_OPEN_EVENT = WORKBENCH_VIEW_OPEN_EVENT;
16939
+ exports.WORKSPACE_FILES_FEATURE = WORKSPACE_FILES_FEATURE;
16798
16940
  exports.WORKSPACE_PUBLIC_SKILL_REPOSITORY_NAME = WORKSPACE_PUBLIC_SKILL_REPOSITORY_NAME;
16799
16941
  exports.WORKSPACE_PUBLIC_SKILL_SOURCE_PROVIDER = WORKSPACE_PUBLIC_SKILL_SOURCE_PROVIDER;
16800
16942
  exports.XPERT_FILE_MEMORY_MIDDLEWARE_NAME = XPERT_FILE_MEMORY_MIDDLEWARE_NAME;
@@ -16806,6 +16948,8 @@ exports.XPERT_VIEW_PROJECT_ID_HEADER = XPERT_VIEW_PROJECT_ID_HEADER;
16806
16948
  exports.XpertMarketplaceBusinessCategories = XpertMarketplaceBusinessCategories;
16807
16949
  exports.XpertMarketplaceCollaborationModes = XpertMarketplaceCollaborationModes;
16808
16950
  exports.XpertMarketplaceTechnicalCategories = XpertMarketplaceTechnicalCategories;
16951
+ exports.actionNotificationPresentationSchema = actionNotificationPresentationSchema;
16952
+ exports.actionNotificationSourceSchema = actionNotificationSourceSchema;
16809
16953
  exports.agentDeliveryRecoverySchema = agentDeliveryRecoverySchema;
16810
16954
  exports.agentEventDecisionSchema = agentEventDecisionSchema;
16811
16955
  exports.agentEventRefSchema = agentEventRefSchema;
@@ -16838,6 +16982,8 @@ exports.assistantTaskGroupContext = assistantTaskGroupContext;
16838
16982
  exports.assistantTaskGroupContextSchema = assistantTaskGroupContextSchema;
16839
16983
  exports.assistantTemplateManifestSchema = assistantTemplateManifestSchema;
16840
16984
  exports.assistantTemplateSetupStateSchema = assistantTemplateSetupStateSchema;
16985
+ exports.assistantWorkbenchTargetSchema = assistantWorkbenchTargetSchema;
16986
+ exports.assistantWorkbenchViewInputSchema = assistantWorkbenchViewInputSchema;
16841
16987
  exports.buildChunkTree = buildChunkTree;
16842
16988
  exports.buildXpertMarketplaceProfileSnapshot = buildXpertMarketplaceProfileSnapshot;
16843
16989
  exports.businessAreaRoleAllows = businessAreaRoleAllows;
@@ -17056,11 +17202,13 @@ exports.notificationOutboxPayloadSchema = notificationOutboxPayloadSchema;
17056
17202
  exports.notificationSnapshotSchema = notificationSnapshotSchema;
17057
17203
  exports.notificationSourceSchema = notificationSourceSchema;
17058
17204
  exports.notificationThreadIdSchema = notificationThreadIdSchema;
17205
+ exports.notificationWorkbenchSchema = notificationWorkbenchSchema;
17059
17206
  exports.omitXpertRelations = omitXpertRelations;
17060
17207
  exports.openConversationActionSchema = openConversationActionSchema;
17061
17208
  exports.orderAssistantXperts = orderAssistantXperts;
17062
17209
  exports.outputPreferenceSchema = outputPreferenceSchema;
17063
17210
  exports.outputQuietHoursSchema = outputQuietHoursSchema;
17211
+ exports.outputWorkbenchEntry = outputWorkbenchEntry;
17064
17212
  exports.parseAnalyticsDiagnostic = parseAnalyticsDiagnostic;
17065
17213
  exports.parseAnnouncement = parseAnnouncement;
17066
17214
  exports.parseGithubSkillInstallCommand = parseGithubSkillInstallCommand;
@@ -17071,6 +17219,8 @@ exports.parsePromptCapabilityConfig = parsePromptCapabilityConfig;
17071
17219
  exports.parsePromptCapabilitySelection = parsePromptCapabilitySelection;
17072
17220
  exports.parseRuntimeSkillCapabilityId = parseRuntimeSkillCapabilityId;
17073
17221
  exports.parseUserNotification = parseUserNotification;
17222
+ exports.parseWorkbenchEntry = parseWorkbenchEntry;
17223
+ exports.parseWorkbenchEntryTarget = parseWorkbenchEntryTarget;
17074
17224
  exports.parseWorkbenchViewOpenEvent = parseWorkbenchViewOpenEvent;
17075
17225
  exports.pipelineAnalyticsFacts = pipelineAnalyticsFacts;
17076
17226
  exports.pipelineAttemptCounts = pipelineAttemptCounts;
@@ -17139,6 +17289,8 @@ exports.projectPipelineNodeInstanceSchema = projectPipelineNodeInstanceSchema;
17139
17289
  exports.projectPipelineNodePresentationSchema = projectPipelineNodePresentationSchema;
17140
17290
  exports.projectPipelineNodeSchema = projectPipelineNodeSchema;
17141
17291
  exports.projectPipelineNodeStateSchema = projectPipelineNodeStateSchema;
17292
+ exports.projectPipelineOperationActionSchema = projectPipelineOperationActionSchema;
17293
+ exports.projectPipelineOperationActionsSchema = projectPipelineOperationActionsSchema;
17142
17294
  exports.projectPipelineOperationInputSchema = projectPipelineOperationInputSchema;
17143
17295
  exports.projectPipelineOperationReceiptSchema = projectPipelineOperationReceiptSchema;
17144
17296
  exports.projectPipelineOutputBindingSchema = projectPipelineOutputBindingSchema;
@@ -17179,6 +17331,7 @@ exports.projectPipelineSubjectVersionSchema = projectPipelineSubjectVersionSchem
17179
17331
  exports.projectPipelineTaskProjectionSchema = projectPipelineTaskProjectionSchema;
17180
17332
  exports.projectPipelineWorkContextSchema = projectPipelineWorkContextSchema;
17181
17333
  exports.projectPipelineWorkCountsSchema = projectPipelineWorkCountsSchema;
17334
+ exports.projectPipelineWorkbenchTargetSchema = projectPipelineWorkbenchTargetSchema;
17182
17335
  exports.projectPluginDeploymentReceiptSchema = projectPluginDeploymentReceiptSchema;
17183
17336
  exports.projectPluginDeploymentRefs = projectPluginDeploymentRefs;
17184
17337
  exports.projectPluginDeploymentRequestSchema = projectPluginDeploymentRequestSchema;
@@ -17263,6 +17416,9 @@ exports.uuid = uuid;
17263
17416
  exports.validateProjectPipelineConfigurationForm = validateProjectPipelineConfigurationForm;
17264
17417
  exports.validateProjectPipelineDefinition = validateProjectPipelineDefinition;
17265
17418
  exports.validateProjectTaskGraph = validateProjectTaskGraph;
17419
+ exports.workbenchEntrySchema = workbenchEntrySchema;
17420
+ exports.workbenchEntryTargetSchema = workbenchEntryTargetSchema;
17421
+ exports.workbenchViewLocationSchema = workbenchViewLocationSchema;
17266
17422
  exports.workflowNodeIdentifier = workflowNodeIdentifier;
17267
17423
  exports.workspaceConnectorAuthorizationSchema = workspaceConnectorAuthorizationSchema;
17268
17424
  exports.workspaceConnectorConnectPayloadSchema = workspaceConnectorConnectPayloadSchema;