@xpert-ai/contracts 3.30.2 → 3.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -18,7 +18,7 @@ var AiModelTypeEnum;
18
18
  AiModelTypeEnum["VIDEO"] = "video";
19
19
  })(AiModelTypeEnum || (AiModelTypeEnum = {}));
20
20
 
21
- function _define_property$r(obj, key, value) {
21
+ function _define_property$s(obj, key, value) {
22
22
  if (key in obj) {
23
23
  Object.defineProperty(obj, key, {
24
24
  value: value,
@@ -31,7 +31,7 @@ function _define_property$r(obj, key, value) {
31
31
  }
32
32
  return obj;
33
33
  }
34
- function _object_spread$r(target) {
34
+ function _object_spread$s(target) {
35
35
  for(var i = 1; i < arguments.length; i++){
36
36
  var source = arguments[i] != null ? arguments[i] : {};
37
37
  var ownKeys = Object.keys(source);
@@ -41,7 +41,7 @@ function _object_spread$r(target) {
41
41
  }));
42
42
  }
43
43
  ownKeys.forEach(function(key) {
44
- _define_property$r(target, key, source[key]);
44
+ _define_property$s(target, key, source[key]);
45
45
  });
46
46
  }
47
47
  return target;
@@ -67,7 +67,7 @@ function _object_spread_props$l(target, source) {
67
67
  }
68
68
  var key$3 = z.string().regex(/^[a-z][a-z0-9_-]{0,79}$/);
69
69
  var text$2 = z.string().trim().min(1).max(255);
70
- var reference$1 = z.object({
70
+ var reference$2 = z.object({
71
71
  app: key$3,
72
72
  resource: key$3
73
73
  }).strict();
@@ -82,7 +82,7 @@ var appPlatformAppSchema = z.object({
82
82
  configurationRef: key$3,
83
83
  dependsOn: z.array(key$3).max(32).default([])
84
84
  }).strict().transform(function(app) {
85
- return _object_spread_props$l(_object_spread$r({}, app), {
85
+ return _object_spread_props$l(_object_spread$s({}, app), {
86
86
  key: app.key,
87
87
  required: app.required,
88
88
  configurationRef: app.configurationRef,
@@ -110,8 +110,8 @@ var appPlatformAppSchema = z.object({
110
110
  apps: z.array(appPlatformAppSchema).min(1).max(32),
111
111
  bindings: z.array(z.object({
112
112
  type: z.literal("knowledgebase"),
113
- from: reference$1,
114
- to: reference$1
113
+ from: reference$2,
114
+ to: reference$2
115
115
  }).strict()).max(100).default([]),
116
116
  experience: z.object({
117
117
  home: key$3,
@@ -483,13 +483,13 @@ function resolveI18nText(value) {
483
483
  return null;
484
484
  }
485
485
 
486
- function _array_like_to_array$x(arr, len) {
486
+ function _array_like_to_array$y(arr, len) {
487
487
  if (len == null || len > arr.length) len = arr.length;
488
488
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
489
489
  return arr2;
490
490
  }
491
491
  function _array_without_holes$l(arr) {
492
- if (Array.isArray(arr)) return _array_like_to_array$x(arr);
492
+ if (Array.isArray(arr)) return _array_like_to_array$y(arr);
493
493
  }
494
494
  function _iterable_to_array$n(iter) {
495
495
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -498,15 +498,15 @@ function _non_iterable_spread$l() {
498
498
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
499
499
  }
500
500
  function _to_consumable_array$l(arr) {
501
- return _array_without_holes$l(arr) || _iterable_to_array$n(arr) || _unsupported_iterable_to_array$x(arr) || _non_iterable_spread$l();
501
+ return _array_without_holes$l(arr) || _iterable_to_array$n(arr) || _unsupported_iterable_to_array$y(arr) || _non_iterable_spread$l();
502
502
  }
503
- function _unsupported_iterable_to_array$x(o, minLen) {
503
+ function _unsupported_iterable_to_array$y(o, minLen) {
504
504
  if (!o) return;
505
- if (typeof o === "string") return _array_like_to_array$x(o, minLen);
505
+ if (typeof o === "string") return _array_like_to_array$y(o, minLen);
506
506
  var n = Object.prototype.toString.call(o).slice(8, -1);
507
507
  if (n === "Object" && o.constructor) n = o.constructor.name;
508
508
  if (n === "Map" || n === "Set") return Array.from(n);
509
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$x(o, minLen);
509
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$y(o, minLen);
510
510
  }
511
511
  var _uuidGenerator;
512
512
  var uuidGenerator = new ShortUniqueId({
@@ -586,13 +586,13 @@ function sandboxEvidence(target, state) {
586
586
  "FileOutput"
587
587
  ];
588
588
 
589
- /** A summary's incoming dependencies constrain its children without making them wait for the summary itself. */ function _array_like_to_array$w(arr, len) {
589
+ /** A summary's incoming dependencies constrain its children without making them wait for the summary itself. */ function _array_like_to_array$x(arr, len) {
590
590
  if (len == null || len > arr.length) len = arr.length;
591
591
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
592
592
  return arr2;
593
593
  }
594
594
  function _array_without_holes$k(arr) {
595
- if (Array.isArray(arr)) return _array_like_to_array$w(arr);
595
+ if (Array.isArray(arr)) return _array_like_to_array$x(arr);
596
596
  }
597
597
  function _iterable_to_array$m(iter) {
598
598
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -601,15 +601,15 @@ function _non_iterable_spread$k() {
601
601
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
602
602
  }
603
603
  function _to_consumable_array$k(arr) {
604
- return _array_without_holes$k(arr) || _iterable_to_array$m(arr) || _unsupported_iterable_to_array$w(arr) || _non_iterable_spread$k();
604
+ return _array_without_holes$k(arr) || _iterable_to_array$m(arr) || _unsupported_iterable_to_array$x(arr) || _non_iterable_spread$k();
605
605
  }
606
- function _unsupported_iterable_to_array$w(o, minLen) {
606
+ function _unsupported_iterable_to_array$x(o, minLen) {
607
607
  if (!o) return;
608
- if (typeof o === "string") return _array_like_to_array$w(o, minLen);
608
+ if (typeof o === "string") return _array_like_to_array$x(o, minLen);
609
609
  var n = Object.prototype.toString.call(o).slice(8, -1);
610
610
  if (n === "Object" && o.constructor) n = o.constructor.name;
611
611
  if (n === "Map" || n === "Set") return Array.from(n);
612
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$w(o, minLen);
612
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$x(o, minLen);
613
613
  }
614
614
  function schedulePredecessors(task, byId) {
615
615
  var ids = new Set(task.predecessorIds);
@@ -1751,7 +1751,7 @@ var OrganizationDemoNetworkEnum;
1751
1751
  resourceType: "conversation_snapshot"
1752
1752
  };
1753
1753
 
1754
- function _define_property$q(obj, key, value) {
1754
+ function _define_property$r(obj, key, value) {
1755
1755
  if (key in obj) {
1756
1756
  Object.defineProperty(obj, key, {
1757
1757
  value: value,
@@ -1764,7 +1764,7 @@ function _define_property$q(obj, key, value) {
1764
1764
  }
1765
1765
  return obj;
1766
1766
  }
1767
- function _object_spread$q(target) {
1767
+ function _object_spread$r(target) {
1768
1768
  for(var i = 1; i < arguments.length; i++){
1769
1769
  var source = arguments[i] != null ? arguments[i] : {};
1770
1770
  var ownKeys = Object.keys(source);
@@ -1774,7 +1774,7 @@ function _object_spread$q(target) {
1774
1774
  }));
1775
1775
  }
1776
1776
  ownKeys.forEach(function(key) {
1777
- _define_property$q(target, key, source[key]);
1777
+ _define_property$r(target, key, source[key]);
1778
1778
  });
1779
1779
  }
1780
1780
  return target;
@@ -1820,7 +1820,7 @@ function parseSelectionSet(value) {
1820
1820
  if (plugins !== undefined && (!isObject(plugins) || !("nodeKeys" in plugins) || !isStringList(plugins.nodeKeys))) return null;
1821
1821
  if (subAgents !== undefined && (!isObject(subAgents) || !("nodeKeys" in subAgents) || !isStringList(subAgents.nodeKeys))) return null;
1822
1822
  if (connectors !== undefined && (!isObject(connectors) || !("bindingIds" in connectors) || !isStringList(connectors.bindingIds))) return null;
1823
- return _object_spread$q(_object_spread_props$k(_object_spread$q({}, value), {
1823
+ return _object_spread$r(_object_spread_props$k(_object_spread$r({}, value), {
1824
1824
  skills: skills === undefined ? {
1825
1825
  ids: []
1826
1826
  } : skills,
@@ -1839,7 +1839,7 @@ function parsePromptCapabilitySelection(value) {
1839
1839
  var selection = parseSelectionSet(value);
1840
1840
  var recommended = "recommended" in value && value.recommended != null ? parseSelectionSet(value.recommended) : undefined;
1841
1841
  if (!selection || recommended === null) return null;
1842
- return _object_spread$q(_object_spread_props$k(_object_spread$q({}, selection), {
1842
+ return _object_spread$r(_object_spread_props$k(_object_spread$r({}, selection), {
1843
1843
  mode: "allowlist"
1844
1844
  }), "inheritUnselected" in value && typeof value.inheritUnselected === "boolean" ? {
1845
1845
  inheritUnselected: value.inheritUnselected
@@ -1891,7 +1891,7 @@ function parsePromptCapabilityConfig(value) {
1891
1891
  }
1892
1892
  }
1893
1893
  }
1894
- return _object_spread_props$k(_object_spread$q({}, value), {
1894
+ return _object_spread_props$k(_object_spread$r({}, value), {
1895
1895
  type: "expert_scoped_capabilities",
1896
1896
  version: 1,
1897
1897
  defaults: defaults,
@@ -2023,7 +2023,7 @@ var ChatMessageStepCategory;
2023
2023
  ChatMessageStepCategory["Knowledges"] = "knowledges";
2024
2024
  })(ChatMessageStepCategory || (ChatMessageStepCategory = {}));
2025
2025
 
2026
- function _define_property$p(obj, key, value) {
2026
+ function _define_property$q(obj, key, value) {
2027
2027
  if (key in obj) {
2028
2028
  Object.defineProperty(obj, key, {
2029
2029
  value: value,
@@ -2043,7 +2043,7 @@ function _instanceof$1(left, right) {
2043
2043
  return left instanceof right;
2044
2044
  }
2045
2045
  }
2046
- function _object_spread$p(target) {
2046
+ function _object_spread$q(target) {
2047
2047
  for(var i = 1; i < arguments.length; i++){
2048
2048
  var source = arguments[i] != null ? arguments[i] : {};
2049
2049
  var ownKeys = Object.keys(source);
@@ -2053,7 +2053,7 @@ function _object_spread$p(target) {
2053
2053
  }));
2054
2054
  }
2055
2055
  ownKeys.forEach(function(key) {
2056
- _define_property$p(target, key, source[key]);
2056
+ _define_property$q(target, key, source[key]);
2057
2057
  });
2058
2058
  }
2059
2059
  return target;
@@ -2064,12 +2064,12 @@ var CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY = "conversation_title_summary";
2064
2064
  var CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED = "thread_goal_updated";
2065
2065
  var CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED = "thread_goal_cleared";
2066
2066
  function createConversationTitleSummaryEvent(event) {
2067
- return _object_spread$p({
2067
+ return _object_spread$q({
2068
2068
  type: CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY
2069
2069
  }, event);
2070
2070
  }
2071
2071
  function createFollowUpConsumedEvent(event) {
2072
- return _object_spread$p({
2072
+ return _object_spread$q({
2073
2073
  type: CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED
2074
2074
  }, event);
2075
2075
  }
@@ -2104,18 +2104,18 @@ function toIsoString(value) {
2104
2104
  return new Date().toISOString();
2105
2105
  }
2106
2106
 
2107
- function _array_like_to_array$v(arr, len) {
2107
+ function _array_like_to_array$w(arr, len) {
2108
2108
  if (len == null || len > arr.length) len = arr.length;
2109
2109
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
2110
2110
  return arr2;
2111
2111
  }
2112
- function _array_with_holes$i(arr) {
2112
+ function _array_with_holes$j(arr) {
2113
2113
  if (Array.isArray(arr)) return arr;
2114
2114
  }
2115
2115
  function _array_without_holes$j(arr) {
2116
- if (Array.isArray(arr)) return _array_like_to_array$v(arr);
2116
+ if (Array.isArray(arr)) return _array_like_to_array$w(arr);
2117
2117
  }
2118
- function _define_property$o(obj, key, value) {
2118
+ function _define_property$p(obj, key, value) {
2119
2119
  if (key in obj) {
2120
2120
  Object.defineProperty(obj, key, {
2121
2121
  value: value,
@@ -2131,7 +2131,7 @@ function _define_property$o(obj, key, value) {
2131
2131
  function _iterable_to_array$l(iter) {
2132
2132
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
2133
2133
  }
2134
- function _iterable_to_array_limit$g(arr, i) {
2134
+ function _iterable_to_array_limit$h(arr, i) {
2135
2135
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
2136
2136
  if (_i == null) return;
2137
2137
  var _arr = [];
@@ -2155,13 +2155,13 @@ function _iterable_to_array_limit$g(arr, i) {
2155
2155
  }
2156
2156
  return _arr;
2157
2157
  }
2158
- function _non_iterable_rest$i() {
2158
+ function _non_iterable_rest$j() {
2159
2159
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2160
2160
  }
2161
2161
  function _non_iterable_spread$j() {
2162
2162
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2163
2163
  }
2164
- function _object_spread$o(target) {
2164
+ function _object_spread$p(target) {
2165
2165
  for(var i = 1; i < arguments.length; i++){
2166
2166
  var source = arguments[i] != null ? arguments[i] : {};
2167
2167
  var ownKeys = Object.keys(source);
@@ -2171,7 +2171,7 @@ function _object_spread$o(target) {
2171
2171
  }));
2172
2172
  }
2173
2173
  ownKeys.forEach(function(key) {
2174
- _define_property$o(target, key, source[key]);
2174
+ _define_property$p(target, key, source[key]);
2175
2175
  });
2176
2176
  }
2177
2177
  return target;
@@ -2195,19 +2195,19 @@ function _object_spread_props$j(target, source) {
2195
2195
  }
2196
2196
  return target;
2197
2197
  }
2198
- function _sliced_to_array$g(arr, i) {
2199
- return _array_with_holes$i(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$v(arr, i) || _non_iterable_rest$i();
2198
+ function _sliced_to_array$h(arr, i) {
2199
+ return _array_with_holes$j(arr) || _iterable_to_array_limit$h(arr, i) || _unsupported_iterable_to_array$w(arr, i) || _non_iterable_rest$j();
2200
2200
  }
2201
2201
  function _to_consumable_array$j(arr) {
2202
- return _array_without_holes$j(arr) || _iterable_to_array$l(arr) || _unsupported_iterable_to_array$v(arr) || _non_iterable_spread$j();
2202
+ return _array_without_holes$j(arr) || _iterable_to_array$l(arr) || _unsupported_iterable_to_array$w(arr) || _non_iterable_spread$j();
2203
2203
  }
2204
- function _unsupported_iterable_to_array$v(o, minLen) {
2204
+ function _unsupported_iterable_to_array$w(o, minLen) {
2205
2205
  if (!o) return;
2206
- if (typeof o === "string") return _array_like_to_array$v(o, minLen);
2206
+ if (typeof o === "string") return _array_like_to_array$w(o, minLen);
2207
2207
  var n = Object.prototype.toString.call(o).slice(8, -1);
2208
2208
  if (n === "Object" && o.constructor) n = o.constructor.name;
2209
2209
  if (n === "Map" || n === "Set") return Array.from(n);
2210
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$v(o, minLen);
2210
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$w(o, minLen);
2211
2211
  }
2212
2212
  var AssistantCode;
2213
2213
  (function(AssistantCode) {
@@ -2264,7 +2264,7 @@ function normalizeAssistantBindingToolPreferences(value) {
2264
2264
  }
2265
2265
  var _value_toolsets;
2266
2266
  var toolsets = Object.entries((_value_toolsets = value.toolsets) !== null && _value_toolsets !== void 0 ? _value_toolsets : {}).reduce(function(acc, param) {
2267
- var _param = _sliced_to_array$g(param, 2), key = _param[0], item = _param[1];
2267
+ var _param = _sliced_to_array$h(param, 2), key = _param[0], item = _param[1];
2268
2268
  var nodeKey = normalizeAssistantBindingPreferenceKey(key);
2269
2269
  var toolsetName = normalizeAssistantBindingPreferenceKey(item === null || item === void 0 ? void 0 : item.toolsetName);
2270
2270
  if (!nodeKey || !toolsetName) {
@@ -2279,7 +2279,7 @@ function normalizeAssistantBindingToolPreferences(value) {
2279
2279
  }, {});
2280
2280
  var _value_middlewares;
2281
2281
  var middlewares = Object.entries((_value_middlewares = value.middlewares) !== null && _value_middlewares !== void 0 ? _value_middlewares : {}).reduce(function(acc, param) {
2282
- var _param = _sliced_to_array$g(param, 2), key = _param[0], item = _param[1];
2282
+ var _param = _sliced_to_array$h(param, 2), key = _param[0], item = _param[1];
2283
2283
  var nodeKey = normalizeAssistantBindingPreferenceKey(key);
2284
2284
  var provider = normalizeAssistantBindingPreferenceKey(item === null || item === void 0 ? void 0 : item.provider);
2285
2285
  if (!nodeKey || !provider) {
@@ -2293,7 +2293,7 @@ function normalizeAssistantBindingToolPreferences(value) {
2293
2293
  }, {});
2294
2294
  var _value_skills;
2295
2295
  var skills = Object.entries((_value_skills = value.skills) !== null && _value_skills !== void 0 ? _value_skills : {}).reduce(function(acc, param) {
2296
- var _param = _sliced_to_array$g(param, 2), key = _param[0], item = _param[1];
2296
+ var _param = _sliced_to_array$h(param, 2), key = _param[0], item = _param[1];
2297
2297
  var workspaceKey = normalizeAssistantBindingPreferenceKey(key);
2298
2298
  var workspaceId = normalizeAssistantBindingPreferenceKey(item === null || item === void 0 ? void 0 : item.workspaceId) || workspaceKey;
2299
2299
  if (!workspaceKey || !workspaceId) {
@@ -2308,7 +2308,7 @@ function normalizeAssistantBindingToolPreferences(value) {
2308
2308
  if (!Object.keys(toolsets).length && !Object.keys(middlewares).length && !Object.keys(skills).length) {
2309
2309
  return null;
2310
2310
  }
2311
- return _object_spread$o({
2311
+ return _object_spread$p({
2312
2312
  version: 1
2313
2313
  }, Object.keys(toolsets).length ? {
2314
2314
  toolsets: toolsets
@@ -2386,8 +2386,8 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
2386
2386
  }) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$j(disabledTools).concat([
2387
2387
  normalizedToolName
2388
2388
  ]));
2389
- var toolsets = normalizedPreferences.toolsets ? _object_spread$o({}, normalizedPreferences.toolsets) : undefined;
2390
- var middlewares = normalizedPreferences.middlewares ? _object_spread$o({}, normalizedPreferences.middlewares) : undefined;
2389
+ var toolsets = normalizedPreferences.toolsets ? _object_spread$p({}, normalizedPreferences.toolsets) : undefined;
2390
+ var middlewares = normalizedPreferences.middlewares ? _object_spread$p({}, normalizedPreferences.middlewares) : undefined;
2391
2391
  if (sourceType === "toolset") {
2392
2392
  var toolsetName = "toolsetName" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.toolsetName) : "";
2393
2393
  if (!toolsetName) {
@@ -2403,14 +2403,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
2403
2403
  } else {
2404
2404
  delete nextToolsets[normalizedNodeKey];
2405
2405
  }
2406
- return normalizeAssistantBindingToolPreferences(_object_spread$o({
2406
+ return normalizeAssistantBindingToolPreferences(_object_spread$p({
2407
2407
  version: 1
2408
2408
  }, Object.keys(nextToolsets).length ? {
2409
2409
  toolsets: nextToolsets
2410
2410
  } : {}, middlewares && Object.keys(middlewares).length ? {
2411
2411
  middlewares: middlewares
2412
2412
  } : {}, normalizedPreferences.skills ? {
2413
- skills: _object_spread$o({}, normalizedPreferences.skills)
2413
+ skills: _object_spread$p({}, normalizedPreferences.skills)
2414
2414
  } : {}));
2415
2415
  }
2416
2416
  var provider = "provider" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.provider) : "";
@@ -2426,14 +2426,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
2426
2426
  } else {
2427
2427
  delete nextMiddlewares[normalizedNodeKey];
2428
2428
  }
2429
- return normalizeAssistantBindingToolPreferences(_object_spread$o({
2429
+ return normalizeAssistantBindingToolPreferences(_object_spread$p({
2430
2430
  version: 1
2431
2431
  }, toolsets && Object.keys(toolsets).length ? {
2432
2432
  toolsets: toolsets
2433
2433
  } : {}, Object.keys(nextMiddlewares).length ? {
2434
2434
  middlewares: nextMiddlewares
2435
2435
  } : {}, normalizedPreferences.skills ? {
2436
- skills: _object_spread$o({}, normalizedPreferences.skills)
2436
+ skills: _object_spread$p({}, normalizedPreferences.skills)
2437
2437
  } : {}));
2438
2438
  }
2439
2439
  function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillId, enabled) {
@@ -2451,7 +2451,7 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
2451
2451
  }) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$j(disabledSkillIds).concat([
2452
2452
  normalizedSkillId
2453
2453
  ]));
2454
- var skills = normalizedPreferences.skills ? _object_spread$o({}, normalizedPreferences.skills) : {};
2454
+ var skills = normalizedPreferences.skills ? _object_spread$p({}, normalizedPreferences.skills) : {};
2455
2455
  if (nextDisabledSkillIds.length) {
2456
2456
  skills[normalizedWorkspaceId] = {
2457
2457
  workspaceId: normalizedWorkspaceId,
@@ -2460,12 +2460,12 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
2460
2460
  } else {
2461
2461
  delete skills[normalizedWorkspaceId];
2462
2462
  }
2463
- return normalizeAssistantBindingToolPreferences(_object_spread$o({
2463
+ return normalizeAssistantBindingToolPreferences(_object_spread$p({
2464
2464
  version: 1
2465
2465
  }, normalizedPreferences.toolsets ? {
2466
- toolsets: _object_spread$o({}, normalizedPreferences.toolsets)
2466
+ toolsets: _object_spread$p({}, normalizedPreferences.toolsets)
2467
2467
  } : {}, normalizedPreferences.middlewares ? {
2468
- middlewares: _object_spread$o({}, normalizedPreferences.middlewares)
2468
+ middlewares: _object_spread$p({}, normalizedPreferences.middlewares)
2469
2469
  } : {}, Object.keys(skills).length ? {
2470
2470
  skills: skills
2471
2471
  } : {}));
@@ -2483,14 +2483,14 @@ function ensureAssistantBindingSkillWorkspacePreference(preferences, workspaceId
2483
2483
  var currentSkills = (_normalizedPreferences_skills = normalizedPreferences.skills) !== null && _normalizedPreferences_skills !== void 0 ? _normalizedPreferences_skills : {};
2484
2484
  var currentWorkspacePreference = currentSkills[normalizedWorkspaceId];
2485
2485
  var _currentWorkspacePreference_disabledSkillIds;
2486
- return _object_spread_props$j(_object_spread$o({
2486
+ return _object_spread_props$j(_object_spread$p({
2487
2487
  version: 1
2488
2488
  }, normalizedPreferences.toolsets ? {
2489
- toolsets: _object_spread$o({}, normalizedPreferences.toolsets)
2489
+ toolsets: _object_spread$p({}, normalizedPreferences.toolsets)
2490
2490
  } : {}, normalizedPreferences.middlewares ? {
2491
- middlewares: _object_spread$o({}, normalizedPreferences.middlewares)
2491
+ middlewares: _object_spread$p({}, normalizedPreferences.middlewares)
2492
2492
  } : {}), {
2493
- skills: _object_spread_props$j(_object_spread$o({}, currentSkills), _define_property$o({}, normalizedWorkspaceId, {
2493
+ skills: _object_spread_props$j(_object_spread$p({}, currentSkills), _define_property$p({}, normalizedWorkspaceId, {
2494
2494
  workspaceId: normalizeAssistantBindingPreferenceKey(currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.workspaceId) || normalizedWorkspaceId,
2495
2495
  disabledSkillIds: (_currentWorkspacePreference_disabledSkillIds = currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.disabledSkillIds) !== null && _currentWorkspacePreference_disabledSkillIds !== void 0 ? _currentWorkspacePreference_disabledSkillIds : []
2496
2496
  }))
@@ -2510,13 +2510,13 @@ function isSystemManagedAssistant(code) {
2510
2510
  }
2511
2511
 
2512
2512
  // Shared by Cloud and Desktop: activity changes must not move assistant entries.
2513
- function _array_like_to_array$u(arr, len) {
2513
+ function _array_like_to_array$v(arr, len) {
2514
2514
  if (len == null || len > arr.length) len = arr.length;
2515
2515
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
2516
2516
  return arr2;
2517
2517
  }
2518
2518
  function _array_without_holes$i(arr) {
2519
- if (Array.isArray(arr)) return _array_like_to_array$u(arr);
2519
+ if (Array.isArray(arr)) return _array_like_to_array$v(arr);
2520
2520
  }
2521
2521
  function _instanceof(left, right) {
2522
2522
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
@@ -2532,15 +2532,15 @@ function _non_iterable_spread$i() {
2532
2532
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2533
2533
  }
2534
2534
  function _to_consumable_array$i(arr) {
2535
- return _array_without_holes$i(arr) || _iterable_to_array$k(arr) || _unsupported_iterable_to_array$u(arr) || _non_iterable_spread$i();
2535
+ return _array_without_holes$i(arr) || _iterable_to_array$k(arr) || _unsupported_iterable_to_array$v(arr) || _non_iterable_spread$i();
2536
2536
  }
2537
- function _unsupported_iterable_to_array$u(o, minLen) {
2537
+ function _unsupported_iterable_to_array$v(o, minLen) {
2538
2538
  if (!o) return;
2539
- if (typeof o === "string") return _array_like_to_array$u(o, minLen);
2539
+ if (typeof o === "string") return _array_like_to_array$v(o, minLen);
2540
2540
  var n = Object.prototype.toString.call(o).slice(8, -1);
2541
2541
  if (n === "Object" && o.constructor) n = o.constructor.name;
2542
2542
  if (n === "Map" || n === "Set") return Array.from(n);
2543
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$u(o, minLen);
2543
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$v(o, minLen);
2544
2544
  }
2545
2545
  function orderAssistantXperts(items) {
2546
2546
  var orderedIds = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
@@ -2583,15 +2583,15 @@ function createdAtTimestamp(item) {
2583
2583
 
2584
2584
  var ASSISTANT_USER_PREFERENCES_VERSION = 1;
2585
2585
 
2586
- function _array_like_to_array$t(arr, len) {
2586
+ function _array_like_to_array$u(arr, len) {
2587
2587
  if (len == null || len > arr.length) len = arr.length;
2588
2588
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
2589
2589
  return arr2;
2590
2590
  }
2591
- function _array_with_holes$h(arr) {
2591
+ function _array_with_holes$i(arr) {
2592
2592
  if (Array.isArray(arr)) return arr;
2593
2593
  }
2594
- function _iterable_to_array_limit$f(arr, i) {
2594
+ function _iterable_to_array_limit$g(arr, i) {
2595
2595
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
2596
2596
  if (_i == null) return;
2597
2597
  var _arr = [];
@@ -2615,19 +2615,19 @@ function _iterable_to_array_limit$f(arr, i) {
2615
2615
  }
2616
2616
  return _arr;
2617
2617
  }
2618
- function _non_iterable_rest$h() {
2618
+ function _non_iterable_rest$i() {
2619
2619
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2620
2620
  }
2621
- function _sliced_to_array$f(arr, i) {
2622
- return _array_with_holes$h(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$t(arr, i) || _non_iterable_rest$h();
2621
+ function _sliced_to_array$g(arr, i) {
2622
+ return _array_with_holes$i(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$u(arr, i) || _non_iterable_rest$i();
2623
2623
  }
2624
- function _unsupported_iterable_to_array$t(o, minLen) {
2624
+ function _unsupported_iterable_to_array$u(o, minLen) {
2625
2625
  if (!o) return;
2626
- if (typeof o === "string") return _array_like_to_array$t(o, minLen);
2626
+ if (typeof o === "string") return _array_like_to_array$u(o, minLen);
2627
2627
  var n = Object.prototype.toString.call(o).slice(8, -1);
2628
2628
  if (n === "Object" && o.constructor) n = o.constructor.name;
2629
2629
  if (n === "Map" || n === "Set") return Array.from(n);
2630
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$t(o, minLen);
2630
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$u(o, minLen);
2631
2631
  }
2632
2632
  var ProviderType;
2633
2633
  (function(ProviderType) {
@@ -2761,7 +2761,7 @@ function resolveModelParameterOptions(modelOptions, rules) {
2761
2761
  var _config_preserveUnknown;
2762
2762
  var preserveUnknown = (_config_preserveUnknown = config.preserveUnknown) !== null && _config_preserveUnknown !== void 0 ? _config_preserveUnknown : true;
2763
2763
  var resolvedOptions = preserveUnknown ? Object.fromEntries(Object.entries(modelOptions !== null && modelOptions !== void 0 ? modelOptions : {}).filter(function(param) {
2764
- var _param = _sliced_to_array$f(param, 2), value = _param[1];
2764
+ var _param = _sliced_to_array$g(param, 2), value = _param[1];
2765
2765
  return config.preserveUnset || value != null;
2766
2766
  })) : {};
2767
2767
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
@@ -2814,15 +2814,15 @@ var PriceType;
2814
2814
  PriceType["OUTPUT"] = "output";
2815
2815
  })(PriceType || (PriceType = {}));
2816
2816
 
2817
- function _array_like_to_array$s(arr, len) {
2817
+ function _array_like_to_array$t(arr, len) {
2818
2818
  if (len == null || len > arr.length) len = arr.length;
2819
2819
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
2820
2820
  return arr2;
2821
2821
  }
2822
2822
  function _array_without_holes$h(arr) {
2823
- if (Array.isArray(arr)) return _array_like_to_array$s(arr);
2823
+ if (Array.isArray(arr)) return _array_like_to_array$t(arr);
2824
2824
  }
2825
- function _define_property$n(obj, key, value) {
2825
+ function _define_property$o(obj, key, value) {
2826
2826
  if (key in obj) {
2827
2827
  Object.defineProperty(obj, key, {
2828
2828
  value: value,
@@ -2841,7 +2841,7 @@ function _iterable_to_array$j(iter) {
2841
2841
  function _non_iterable_spread$h() {
2842
2842
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2843
2843
  }
2844
- function _object_spread$n(target) {
2844
+ function _object_spread$o(target) {
2845
2845
  for(var i = 1; i < arguments.length; i++){
2846
2846
  var source = arguments[i] != null ? arguments[i] : {};
2847
2847
  var ownKeys = Object.keys(source);
@@ -2851,7 +2851,7 @@ function _object_spread$n(target) {
2851
2851
  }));
2852
2852
  }
2853
2853
  ownKeys.forEach(function(key) {
2854
- _define_property$n(target, key, source[key]);
2854
+ _define_property$o(target, key, source[key]);
2855
2855
  });
2856
2856
  }
2857
2857
  return target;
@@ -2876,41 +2876,42 @@ function _object_spread_props$i(target, source) {
2876
2876
  return target;
2877
2877
  }
2878
2878
  function _to_consumable_array$h(arr) {
2879
- return _array_without_holes$h(arr) || _iterable_to_array$j(arr) || _unsupported_iterable_to_array$s(arr) || _non_iterable_spread$h();
2879
+ return _array_without_holes$h(arr) || _iterable_to_array$j(arr) || _unsupported_iterable_to_array$t(arr) || _non_iterable_spread$h();
2880
2880
  }
2881
- function _unsupported_iterable_to_array$s(o, minLen) {
2881
+ function _unsupported_iterable_to_array$t(o, minLen) {
2882
2882
  if (!o) return;
2883
- if (typeof o === "string") return _array_like_to_array$s(o, minLen);
2883
+ if (typeof o === "string") return _array_like_to_array$t(o, minLen);
2884
2884
  var n = Object.prototype.toString.call(o).slice(8, -1);
2885
2885
  if (n === "Object" && o.constructor) n = o.constructor.name;
2886
2886
  if (n === "Map" || n === "Set") return Array.from(n);
2887
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$s(o, minLen);
2887
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$t(o, minLen);
2888
2888
  }
2889
2889
  var discoverableModelTypes = [
2890
2890
  AiModelTypeEnum.LLM,
2891
2891
  AiModelTypeEnum.TEXT_EMBEDDING,
2892
2892
  AiModelTypeEnum.RERANK
2893
2893
  ];
2894
+ var DEFAULT_EMBEDDING_BATCH_SIZE = 10;
2894
2895
  var positiveInteger = z$1.number().int().positive().max(Number.MAX_SAFE_INTEGER);
2895
2896
  var common$1 = {
2896
2897
  contextSize: positiveInteger,
2897
2898
  maxConcurrency: positiveInteger.max(1000)
2898
2899
  };
2899
2900
  /** Saved model configuration is explicit; name heuristics are only discovery suggestions. */ var modelConfigurationSchema = z$1.discriminatedUnion("modelType", [
2900
- z$1.object(_object_spread_props$i(_object_spread$n({
2901
+ z$1.object(_object_spread_props$i(_object_spread$o({
2901
2902
  modelType: z$1.literal(AiModelTypeEnum.LLM)
2902
2903
  }, common$1), {
2903
2904
  maxOutputTokens: positiveInteger,
2904
2905
  defaultMaxTokens: positiveInteger,
2905
2906
  features: z$1.array(z$1.nativeEnum(ModelFeature)).max(20)
2906
2907
  })).strict(),
2907
- z$1.object(_object_spread_props$i(_object_spread$n({
2908
+ z$1.object(_object_spread_props$i(_object_spread$o({
2908
2909
  modelType: z$1.literal(AiModelTypeEnum.TEXT_EMBEDDING)
2909
2910
  }, common$1), {
2910
2911
  dimensions: positiveInteger.optional(),
2911
2912
  batchSize: positiveInteger.max(2048)
2912
2913
  })).strict(),
2913
- z$1.object(_object_spread$n({
2914
+ z$1.object(_object_spread$o({
2914
2915
  modelType: z$1.literal(AiModelTypeEnum.RERANK)
2915
2916
  }, common$1)).strict()
2916
2917
  ]).superRefine(function(value, ctx) {
@@ -2942,7 +2943,7 @@ function defaultModelConfiguration(modelType) {
2942
2943
  };
2943
2944
  switch(modelType){
2944
2945
  case AiModelTypeEnum.LLM:
2945
- return _object_spread_props$i(_object_spread$n({
2946
+ return _object_spread_props$i(_object_spread$o({
2946
2947
  modelType: modelType
2947
2948
  }, common), {
2948
2949
  maxOutputTokens: 2048,
@@ -2950,13 +2951,13 @@ function defaultModelConfiguration(modelType) {
2950
2951
  features: []
2951
2952
  });
2952
2953
  case AiModelTypeEnum.TEXT_EMBEDDING:
2953
- return _object_spread_props$i(_object_spread$n({
2954
+ return _object_spread_props$i(_object_spread$o({
2954
2955
  modelType: modelType
2955
2956
  }, common), {
2956
- batchSize: 16
2957
+ batchSize: DEFAULT_EMBEDDING_BATCH_SIZE
2957
2958
  });
2958
2959
  case AiModelTypeEnum.RERANK:
2959
- return _object_spread$n({
2960
+ return _object_spread$o({
2960
2961
  modelType: modelType
2961
2962
  }, common);
2962
2963
  }
@@ -3569,7 +3570,7 @@ function workflowNodeIdentifier(node) {
3569
3570
  return node.title || node.key;
3570
3571
  }
3571
3572
 
3572
- function _define_property$m(obj, key, value) {
3573
+ function _define_property$n(obj, key, value) {
3573
3574
  if (key in obj) {
3574
3575
  Object.defineProperty(obj, key, {
3575
3576
  value: value,
@@ -3582,7 +3583,7 @@ function _define_property$m(obj, key, value) {
3582
3583
  }
3583
3584
  return obj;
3584
3585
  }
3585
- function _object_spread$m(target) {
3586
+ function _object_spread$n(target) {
3586
3587
  for(var i = 1; i < arguments.length; i++){
3587
3588
  var source = arguments[i] != null ? arguments[i] : {};
3588
3589
  var ownKeys = Object.keys(source);
@@ -3592,7 +3593,7 @@ function _object_spread$m(target) {
3592
3593
  }));
3593
3594
  }
3594
3595
  ownKeys.forEach(function(key) {
3595
- _define_property$m(target, key, source[key]);
3596
+ _define_property$n(target, key, source[key]);
3596
3597
  });
3597
3598
  }
3598
3599
  return target;
@@ -3683,7 +3684,7 @@ function normalizeXpertAgentConfig(agentConfig) {
3683
3684
  var _ref = agentConfig !== null && agentConfig !== void 0 ? agentConfig : {}; _ref.maxConcurrency; var config = _object_without_properties$2(_ref, [
3684
3685
  "maxConcurrency"
3685
3686
  ]);
3686
- return _object_spread_props$h(_object_spread$m({}, config), {
3687
+ return _object_spread_props$h(_object_spread$n({}, config), {
3687
3688
  recursionLimit: getXpertAgentRecursionLimit(agentConfig)
3688
3689
  });
3689
3690
  }
@@ -3769,15 +3770,15 @@ var VariableOperations = [
3769
3770
  }
3770
3771
  ];
3771
3772
 
3772
- function _array_like_to_array$r(arr, len) {
3773
+ function _array_like_to_array$s(arr, len) {
3773
3774
  if (len == null || len > arr.length) len = arr.length;
3774
3775
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
3775
3776
  return arr2;
3776
3777
  }
3777
- function _array_with_holes$g(arr) {
3778
+ function _array_with_holes$h(arr) {
3778
3779
  if (Array.isArray(arr)) return arr;
3779
3780
  }
3780
- function _define_property$l(obj, key, value) {
3781
+ function _define_property$m(obj, key, value) {
3781
3782
  if (key in obj) {
3782
3783
  Object.defineProperty(obj, key, {
3783
3784
  value: value,
@@ -3790,7 +3791,7 @@ function _define_property$l(obj, key, value) {
3790
3791
  }
3791
3792
  return obj;
3792
3793
  }
3793
- function _iterable_to_array_limit$e(arr, i) {
3794
+ function _iterable_to_array_limit$f(arr, i) {
3794
3795
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
3795
3796
  if (_i == null) return;
3796
3797
  var _arr = [];
@@ -3814,10 +3815,10 @@ function _iterable_to_array_limit$e(arr, i) {
3814
3815
  }
3815
3816
  return _arr;
3816
3817
  }
3817
- function _non_iterable_rest$g() {
3818
+ function _non_iterable_rest$h() {
3818
3819
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3819
3820
  }
3820
- function _object_spread$l(target) {
3821
+ function _object_spread$m(target) {
3821
3822
  for(var i = 1; i < arguments.length; i++){
3822
3823
  var source = arguments[i] != null ? arguments[i] : {};
3823
3824
  var ownKeys = Object.keys(source);
@@ -3827,7 +3828,7 @@ function _object_spread$l(target) {
3827
3828
  }));
3828
3829
  }
3829
3830
  ownKeys.forEach(function(key) {
3830
- _define_property$l(target, key, source[key]);
3831
+ _define_property$m(target, key, source[key]);
3831
3832
  });
3832
3833
  }
3833
3834
  return target;
@@ -3851,16 +3852,16 @@ function _object_spread_props$g(target, source) {
3851
3852
  }
3852
3853
  return target;
3853
3854
  }
3854
- function _sliced_to_array$e(arr, i) {
3855
- return _array_with_holes$g(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$r(arr, i) || _non_iterable_rest$g();
3855
+ function _sliced_to_array$f(arr, i) {
3856
+ return _array_with_holes$h(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$s(arr, i) || _non_iterable_rest$h();
3856
3857
  }
3857
- function _unsupported_iterable_to_array$r(o, minLen) {
3858
+ function _unsupported_iterable_to_array$s(o, minLen) {
3858
3859
  if (!o) return;
3859
- if (typeof o === "string") return _array_like_to_array$r(o, minLen);
3860
+ if (typeof o === "string") return _array_like_to_array$s(o, minLen);
3860
3861
  var n = Object.prototype.toString.call(o).slice(8, -1);
3861
3862
  if (n === "Object" && o.constructor) n = o.constructor.name;
3862
3863
  if (n === "Map" || n === "Set") return Array.from(n);
3863
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$r(o, minLen);
3864
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$s(o, minLen);
3864
3865
  }
3865
3866
  /**
3866
3867
  * @deprecated can use getCurrentTaskInput instead?
@@ -3942,10 +3943,10 @@ function configurableStoreNamespace(configurable) {
3942
3943
  * @param value
3943
3944
  * @returns
3944
3945
  */ function setStateVariable(state, varName, value) {
3945
- var _varName_split = _sliced_to_array$e(varName.split("."), 2), agentChannelName = _varName_split[0], variableName = _varName_split[1];
3946
+ var _varName_split = _sliced_to_array$f(varName.split("."), 2), agentChannelName = _varName_split[0], variableName = _varName_split[1];
3946
3947
  if (variableName) {
3947
3948
  var _state_agentChannelName;
3948
- state[agentChannelName] = _object_spread_props$g(_object_spread$l({}, (_state_agentChannelName = state[agentChannelName]) !== null && _state_agentChannelName !== void 0 ? _state_agentChannelName : {}), _define_property$l({}, variableName, value));
3949
+ state[agentChannelName] = _object_spread_props$g(_object_spread$m({}, (_state_agentChannelName = state[agentChannelName]) !== null && _state_agentChannelName !== void 0 ? _state_agentChannelName : {}), _define_property$m({}, variableName, value));
3949
3950
  } else {
3950
3951
  state[agentChannelName] = value;
3951
3952
  }
@@ -4036,7 +4037,7 @@ function getWorkflowTriggers(graph, from) {
4036
4037
  });
4037
4038
  }
4038
4039
 
4039
- function _define_property$k(obj, key, value) {
4040
+ function _define_property$l(obj, key, value) {
4040
4041
  if (key in obj) {
4041
4042
  Object.defineProperty(obj, key, {
4042
4043
  value: value,
@@ -4049,7 +4050,7 @@ function _define_property$k(obj, key, value) {
4049
4050
  }
4050
4051
  return obj;
4051
4052
  }
4052
- function _object_spread$k(target) {
4053
+ function _object_spread$l(target) {
4053
4054
  for(var i = 1; i < arguments.length; i++){
4054
4055
  var source = arguments[i] != null ? arguments[i] : {};
4055
4056
  var ownKeys = Object.keys(source);
@@ -4059,7 +4060,7 @@ function _object_spread$k(target) {
4059
4060
  }));
4060
4061
  }
4061
4062
  ownKeys.forEach(function(key) {
4062
- _define_property$k(target, key, source[key]);
4063
+ _define_property$l(target, key, source[key]);
4063
4064
  });
4064
4065
  }
4065
4066
  return target;
@@ -4165,11 +4166,11 @@ var KNOWLEDGEBASE_FAQ_RETRIEVAL_MODES = [
4165
4166
  return candidate === requestedMode;
4166
4167
  }) ? requestedMode : DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.mode;
4167
4168
  var _recall_fusion2, _recall_fusion_mode, _recall_fusion_weights;
4168
- return _object_spread_props$f(_object_spread$k({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, recall !== null && recall !== void 0 ? recall : {}), {
4169
+ return _object_spread_props$f(_object_spread$l({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, recall !== null && recall !== void 0 ? recall : {}), {
4169
4170
  mode: mode,
4170
- fusion: _object_spread_props$f(_object_spread$k({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion, (_recall_fusion2 = recall === null || recall === void 0 ? void 0 : recall.fusion) !== null && _recall_fusion2 !== void 0 ? _recall_fusion2 : {}), {
4171
+ fusion: _object_spread_props$f(_object_spread$l({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion, (_recall_fusion2 = recall === null || recall === void 0 ? void 0 : recall.fusion) !== null && _recall_fusion2 !== void 0 ? _recall_fusion2 : {}), {
4171
4172
  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,
4172
- weights: _object_spread_props$f(_object_spread$k({}, 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 : {}), {
4173
+ weights: _object_spread_props$f(_object_spread$l({}, 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 : {}), {
4173
4174
  graph: 0
4174
4175
  })
4175
4176
  })
@@ -4217,13 +4218,13 @@ var _retrieval_recall_contentScope;
4217
4218
  });
4218
4219
  }
4219
4220
 
4220
- function _array_like_to_array$q(arr, len) {
4221
+ function _array_like_to_array$r(arr, len) {
4221
4222
  if (len == null || len > arr.length) len = arr.length;
4222
4223
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4223
4224
  return arr2;
4224
4225
  }
4225
4226
  function _array_without_holes$g(arr) {
4226
- if (Array.isArray(arr)) return _array_like_to_array$q(arr);
4227
+ if (Array.isArray(arr)) return _array_like_to_array$r(arr);
4227
4228
  }
4228
4229
  function _iterable_to_array$i(iter) {
4229
4230
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -4232,15 +4233,15 @@ function _non_iterable_spread$g() {
4232
4233
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4233
4234
  }
4234
4235
  function _to_consumable_array$g(arr) {
4235
- return _array_without_holes$g(arr) || _iterable_to_array$i(arr) || _unsupported_iterable_to_array$q(arr) || _non_iterable_spread$g();
4236
+ return _array_without_holes$g(arr) || _iterable_to_array$i(arr) || _unsupported_iterable_to_array$r(arr) || _non_iterable_spread$g();
4236
4237
  }
4237
- function _unsupported_iterable_to_array$q(o, minLen) {
4238
+ function _unsupported_iterable_to_array$r(o, minLen) {
4238
4239
  if (!o) return;
4239
- if (typeof o === "string") return _array_like_to_array$q(o, minLen);
4240
+ if (typeof o === "string") return _array_like_to_array$r(o, minLen);
4240
4241
  var n = Object.prototype.toString.call(o).slice(8, -1);
4241
4242
  if (n === "Object" && o.constructor) n = o.constructor.name;
4242
4243
  if (n === "Map" || n === "Set") return Array.from(n);
4243
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$q(o, minLen);
4244
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$r(o, minLen);
4244
4245
  }
4245
4246
  var BUILTIN_KNOWLEDGE_PARSER = "builtin";
4246
4247
  /** Only formats with a real builtin reader; unknown binary formats are not advertised as text. */ var BUILTIN_KNOWLEDGE_FILE_TYPES = [
@@ -4330,15 +4331,15 @@ function knowledgebaseParserSelection(config, documentType) {
4330
4331
  })));
4331
4332
  }
4332
4333
 
4333
- function _array_like_to_array$p(arr, len) {
4334
+ function _array_like_to_array$q(arr, len) {
4334
4335
  if (len == null || len > arr.length) len = arr.length;
4335
4336
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4336
4337
  return arr2;
4337
4338
  }
4338
4339
  function _array_without_holes$f(arr) {
4339
- if (Array.isArray(arr)) return _array_like_to_array$p(arr);
4340
+ if (Array.isArray(arr)) return _array_like_to_array$q(arr);
4340
4341
  }
4341
- function _define_property$j(obj, key, value) {
4342
+ function _define_property$k(obj, key, value) {
4342
4343
  if (key in obj) {
4343
4344
  Object.defineProperty(obj, key, {
4344
4345
  value: value,
@@ -4357,7 +4358,7 @@ function _iterable_to_array$h(iter) {
4357
4358
  function _non_iterable_spread$f() {
4358
4359
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4359
4360
  }
4360
- function _object_spread$j(target) {
4361
+ function _object_spread$k(target) {
4361
4362
  for(var i = 1; i < arguments.length; i++){
4362
4363
  var source = arguments[i] != null ? arguments[i] : {};
4363
4364
  var ownKeys = Object.keys(source);
@@ -4367,30 +4368,30 @@ function _object_spread$j(target) {
4367
4368
  }));
4368
4369
  }
4369
4370
  ownKeys.forEach(function(key) {
4370
- _define_property$j(target, key, source[key]);
4371
+ _define_property$k(target, key, source[key]);
4371
4372
  });
4372
4373
  }
4373
4374
  return target;
4374
4375
  }
4375
4376
  function _to_consumable_array$f(arr) {
4376
- return _array_without_holes$f(arr) || _iterable_to_array$h(arr) || _unsupported_iterable_to_array$p(arr) || _non_iterable_spread$f();
4377
+ return _array_without_holes$f(arr) || _iterable_to_array$h(arr) || _unsupported_iterable_to_array$q(arr) || _non_iterable_spread$f();
4377
4378
  }
4378
- function _unsupported_iterable_to_array$p(o, minLen) {
4379
+ function _unsupported_iterable_to_array$q(o, minLen) {
4379
4380
  if (!o) return;
4380
- if (typeof o === "string") return _array_like_to_array$p(o, minLen);
4381
+ if (typeof o === "string") return _array_like_to_array$q(o, minLen);
4381
4382
  var n = Object.prototype.toString.call(o).slice(8, -1);
4382
4383
  if (n === "Object" && o.constructor) n = o.constructor.name;
4383
4384
  if (n === "Map" || n === "Set") return Array.from(n);
4384
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$p(o, minLen);
4385
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$q(o, minLen);
4385
4386
  }
4386
4387
  /** Only copy configured defaults; do not turn built-in defaults into document overrides. */ function knowledgebaseDocumentParserDefaults(config, documentType) {
4387
4388
  if (!config) return {};
4388
- return _object_spread$j({}, config.spreadsheet ? {
4389
- spreadsheet: _object_spread$j({}, config.spreadsheet)
4389
+ return _object_spread$k({}, config.spreadsheet ? {
4390
+ spreadsheet: _object_spread$k({}, config.spreadsheet)
4390
4391
  } : {}, config.tableMetadataRequirements !== undefined ? {
4391
4392
  tableMetadataRequirements: config.tableMetadataRequirements
4392
4393
  } : {}, config.questionGeneration ? {
4393
- questionGeneration: _object_spread$j({}, config.questionGeneration)
4394
+ questionGeneration: _object_spread$k({}, config.questionGeneration)
4394
4395
  } : {}, config.chunkLanguageHint !== undefined ? {
4395
4396
  chunkLanguageHint: config.chunkLanguageHint
4396
4397
  } : {}, config.maxChunkTokens !== undefined ? {
@@ -4404,7 +4405,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
4404
4405
  } : {}, config.textSplitterType ? {
4405
4406
  textSplitterType: config.textSplitterType
4406
4407
  } : {}, config.textSplitter || config.chunkSize != null || config.chunkOverlap != null ? {
4407
- textSplitter: _object_spread$j({}, config.chunkSize != null ? {
4408
+ textSplitter: _object_spread$k({}, config.chunkSize != null ? {
4408
4409
  chunkSize: config.chunkSize
4409
4410
  } : {}, config.chunkOverlap != null ? {
4410
4411
  chunkOverlap: config.chunkOverlap
@@ -4416,7 +4417,7 @@ function _unsupported_iterable_to_array$p(o, minLen) {
4416
4417
  } : {}, config.imageUnderstandingType ? {
4417
4418
  imageUnderstandingType: config.imageUnderstandingType
4418
4419
  } : {}, config.imageUnderstanding ? {
4419
- imageUnderstanding: _object_spread$j({}, config.imageUnderstanding)
4420
+ imageUnderstanding: _object_spread$k({}, config.imageUnderstanding)
4420
4421
  } : {}, knowledgebaseParserSelection(config, documentType !== null && documentType !== void 0 ? documentType : ""));
4421
4422
  }
4422
4423
  /** Arrays are the canonical ordered format; retain the plugin's legacy comma syntax. */ function decodeKnowledgeSeparators(value) {
@@ -4481,7 +4482,7 @@ function genPipelineKnowledgeBaseKey() {
4481
4482
  return letterStartSUID("KnowledgeBase_");
4482
4483
  }
4483
4484
 
4484
- function _define_property$i(obj, key, value) {
4485
+ function _define_property$j(obj, key, value) {
4485
4486
  if (key in obj) {
4486
4487
  Object.defineProperty(obj, key, {
4487
4488
  value: value,
@@ -4494,7 +4495,7 @@ function _define_property$i(obj, key, value) {
4494
4495
  }
4495
4496
  return obj;
4496
4497
  }
4497
- function _object_spread$i(target) {
4498
+ function _object_spread$j(target) {
4498
4499
  for(var i = 1; i < arguments.length; i++){
4499
4500
  var source = arguments[i] != null ? arguments[i] : {};
4500
4501
  var ownKeys = Object.keys(source);
@@ -4504,7 +4505,7 @@ function _object_spread$i(target) {
4504
4505
  }));
4505
4506
  }
4506
4507
  ownKeys.forEach(function(key) {
4507
- _define_property$i(target, key, source[key]);
4508
+ _define_property$j(target, key, source[key]);
4508
4509
  });
4509
4510
  }
4510
4511
  return target;
@@ -4524,7 +4525,7 @@ function _object_spread$i(target) {
4524
4525
  * @deprecated use DocumentSourceProviderCategoryEnum local file type instead
4525
4526
  */ DocumentTypeEnum["FILE"] = "file";
4526
4527
  })(DocumentTypeEnum || (DocumentTypeEnum = {}));
4527
- var KDocumentSourceType = _object_spread$i({}, DocumentSourceProviderCategoryEnum, DocumentTypeEnum);
4528
+ var KDocumentSourceType = _object_spread$j({}, DocumentSourceProviderCategoryEnum, DocumentTypeEnum);
4528
4529
  /**
4529
4530
  * Document type category, determine how to process the document.
4530
4531
  */ var KBDocumentCategoryEnum;
@@ -5081,13 +5082,13 @@ function genXpertDBSqlKey() {
5081
5082
  return letterStartSUID("DBSql_");
5082
5083
  }
5083
5084
 
5084
- /** Stable placement scopes declared by plugin application contributions. */ function _array_like_to_array$o(arr, len) {
5085
+ /** Stable placement scopes declared by plugin application contributions. */ function _array_like_to_array$p(arr, len) {
5085
5086
  if (len == null || len > arr.length) len = arr.length;
5086
5087
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
5087
5088
  return arr2;
5088
5089
  }
5089
5090
  function _array_without_holes$e(arr) {
5090
- if (Array.isArray(arr)) return _array_like_to_array$o(arr);
5091
+ if (Array.isArray(arr)) return _array_like_to_array$p(arr);
5091
5092
  }
5092
5093
  function _iterable_to_array$g(iter) {
5093
5094
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -5096,15 +5097,15 @@ function _non_iterable_spread$e() {
5096
5097
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5097
5098
  }
5098
5099
  function _to_consumable_array$e(arr) {
5099
- return _array_without_holes$e(arr) || _iterable_to_array$g(arr) || _unsupported_iterable_to_array$o(arr) || _non_iterable_spread$e();
5100
+ return _array_without_holes$e(arr) || _iterable_to_array$g(arr) || _unsupported_iterable_to_array$p(arr) || _non_iterable_spread$e();
5100
5101
  }
5101
- function _unsupported_iterable_to_array$o(o, minLen) {
5102
+ function _unsupported_iterable_to_array$p(o, minLen) {
5102
5103
  if (!o) return;
5103
- if (typeof o === "string") return _array_like_to_array$o(o, minLen);
5104
+ if (typeof o === "string") return _array_like_to_array$p(o, minLen);
5104
5105
  var n = Object.prototype.toString.call(o).slice(8, -1);
5105
5106
  if (n === "Object" && o.constructor) n = o.constructor.name;
5106
5107
  if (n === "Map" || n === "Set") return Array.from(n);
5107
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$o(o, minLen);
5108
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$p(o, minLen);
5108
5109
  }
5109
5110
  var PLUGIN_APPLICATION_SCOPE = {
5110
5111
  TENANT: "tenant",
@@ -5402,15 +5403,15 @@ function buildXpertMarketplaceProfileSnapshot(input, draft) {
5402
5403
  }
5403
5404
 
5404
5405
  // Helpers
5405
- function _array_like_to_array$n(arr, len) {
5406
+ function _array_like_to_array$o(arr, len) {
5406
5407
  if (len == null || len > arr.length) len = arr.length;
5407
5408
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
5408
5409
  return arr2;
5409
5410
  }
5410
5411
  function _array_without_holes$d(arr) {
5411
- if (Array.isArray(arr)) return _array_like_to_array$n(arr);
5412
+ if (Array.isArray(arr)) return _array_like_to_array$o(arr);
5412
5413
  }
5413
- function _define_property$h(obj, key, value) {
5414
+ function _define_property$i(obj, key, value) {
5414
5415
  if (key in obj) {
5415
5416
  Object.defineProperty(obj, key, {
5416
5417
  value: value,
@@ -5429,7 +5430,7 @@ function _iterable_to_array$f(iter) {
5429
5430
  function _non_iterable_spread$d() {
5430
5431
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5431
5432
  }
5432
- function _object_spread$h(target) {
5433
+ function _object_spread$i(target) {
5433
5434
  for(var i = 1; i < arguments.length; i++){
5434
5435
  var source = arguments[i] != null ? arguments[i] : {};
5435
5436
  var ownKeys = Object.keys(source);
@@ -5439,7 +5440,7 @@ function _object_spread$h(target) {
5439
5440
  }));
5440
5441
  }
5441
5442
  ownKeys.forEach(function(key) {
5442
- _define_property$h(target, key, source[key]);
5443
+ _define_property$i(target, key, source[key]);
5443
5444
  });
5444
5445
  }
5445
5446
  return target;
@@ -5491,15 +5492,15 @@ function _object_without_properties_loose$1(source, excluded) {
5491
5492
  return target;
5492
5493
  }
5493
5494
  function _to_consumable_array$d(arr) {
5494
- return _array_without_holes$d(arr) || _iterable_to_array$f(arr) || _unsupported_iterable_to_array$n(arr) || _non_iterable_spread$d();
5495
+ return _array_without_holes$d(arr) || _iterable_to_array$f(arr) || _unsupported_iterable_to_array$o(arr) || _non_iterable_spread$d();
5495
5496
  }
5496
- function _unsupported_iterable_to_array$n(o, minLen) {
5497
+ function _unsupported_iterable_to_array$o(o, minLen) {
5497
5498
  if (!o) return;
5498
- if (typeof o === "string") return _array_like_to_array$n(o, minLen);
5499
+ if (typeof o === "string") return _array_like_to_array$o(o, minLen);
5499
5500
  var n = Object.prototype.toString.call(o).slice(8, -1);
5500
5501
  if (n === "Object" && o.constructor) n = o.constructor.name;
5501
5502
  if (n === "Map" || n === "Set") return Array.from(n);
5502
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$n(o, minLen);
5503
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$o(o, minLen);
5503
5504
  }
5504
5505
  function omitXpertRelations(xpert) {
5505
5506
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -5538,7 +5539,7 @@ function resolveRuntimeXpert(xpert, isDraft) {
5538
5539
  var graph = resolveDraftRuntimeGraph(xpert, draft);
5539
5540
  var agent = resolveDraftPrimaryAgent(xpert, draft, graph);
5540
5541
  var _draft_team5, _draft_team_workspaceId, _draft_team_agentConfig, _draft_team_commandProfile, _draft_team_features, _draft_team_options;
5541
- return _object_spread_props$e(_object_spread$h({}, xpert, (_draft_team5 = draft.team) !== null && _draft_team5 !== void 0 ? _draft_team5 : {}), {
5542
+ return _object_spread_props$e(_object_spread$i({}, xpert, (_draft_team5 = draft.team) !== null && _draft_team5 !== void 0 ? _draft_team5 : {}), {
5542
5543
  id: xpert.id,
5543
5544
  tenantId: xpert.tenantId,
5544
5545
  organizationId: xpert.organizationId,
@@ -5822,9 +5823,9 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
5822
5823
  if (node.type === "agent" && node.key === sourceKey) {
5823
5824
  replacedNode = true;
5824
5825
  var _node_entity;
5825
- return _object_spread_props$e(_object_spread$h({}, node), {
5826
+ return _object_spread_props$e(_object_spread$i({}, node), {
5826
5827
  key: targetKey,
5827
- entity: _object_spread_props$e(_object_spread$h({}, (_node_entity = node.entity) !== null && _node_entity !== void 0 ? _node_entity : {}, agent), {
5828
+ entity: _object_spread_props$e(_object_spread$i({}, (_node_entity = node.entity) !== null && _node_entity !== void 0 ? _node_entity : {}, agent), {
5828
5829
  key: targetKey
5829
5830
  })
5830
5831
  });
@@ -5840,17 +5841,17 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
5840
5841
  if (from === connection.from && to === connection.to) {
5841
5842
  return connection;
5842
5843
  }
5843
- return _object_spread_props$e(_object_spread$h({}, connection), {
5844
+ return _object_spread_props$e(_object_spread$i({}, connection), {
5844
5845
  from: from,
5845
5846
  to: to,
5846
5847
  key: "".concat(from, "/").concat(to)
5847
5848
  });
5848
5849
  });
5849
- return _object_spread_props$e(_object_spread$h({}, draft), {
5850
- team: draft.team ? _object_spread_props$e(_object_spread$h({}, draft.team), {
5851
- agent: draft.team.agent ? _object_spread_props$e(_object_spread$h({}, draft.team.agent, agent), {
5850
+ return _object_spread_props$e(_object_spread$i({}, draft), {
5851
+ team: draft.team ? _object_spread_props$e(_object_spread$i({}, draft.team), {
5852
+ agent: draft.team.agent ? _object_spread_props$e(_object_spread$i({}, draft.team.agent, agent), {
5852
5853
  key: targetKey
5853
- }) : _object_spread_props$e(_object_spread$h({}, agent), {
5854
+ }) : _object_spread_props$e(_object_spread$i({}, agent), {
5854
5855
  key: targetKey
5855
5856
  })
5856
5857
  }) : draft.team,
@@ -6005,7 +6006,7 @@ var GENERAL_PROJECT_TYPE = {
6005
6006
  * @template Metadata - Type of metadata, defaults to IDocChunkMetadata
6006
6007
  * @param documents - A flat array of DocumentInterface objects
6007
6008
  * @returns the hierarchical tree (root-level DocumentInterface[])
6008
- */ function _define_property$g(obj, key, value) {
6009
+ */ function _define_property$h(obj, key, value) {
6009
6010
  if (key in obj) {
6010
6011
  Object.defineProperty(obj, key, {
6011
6012
  value: value,
@@ -6018,7 +6019,7 @@ var GENERAL_PROJECT_TYPE = {
6018
6019
  }
6019
6020
  return obj;
6020
6021
  }
6021
- function _object_spread$g(target) {
6022
+ function _object_spread$h(target) {
6022
6023
  for(var i = 1; i < arguments.length; i++){
6023
6024
  var source = arguments[i] != null ? arguments[i] : {};
6024
6025
  var ownKeys = Object.keys(source);
@@ -6028,7 +6029,7 @@ function _object_spread$g(target) {
6028
6029
  }));
6029
6030
  }
6030
6031
  ownKeys.forEach(function(key) {
6031
- _define_property$g(target, key, source[key]);
6032
+ _define_property$h(target, key, source[key]);
6032
6033
  });
6033
6034
  }
6034
6035
  return target;
@@ -6061,8 +6062,8 @@ function buildChunkTree(documents) {
6061
6062
  documents.forEach(function(doc, index) {
6062
6063
  var chunkId = getChunkNodeId(doc);
6063
6064
  if (chunkId) {
6064
- map.set(chunkId, _object_spread_props$d(_object_spread$g({}, doc), {
6065
- metadata: _object_spread_props$d(_object_spread$g({}, doc.metadata), {
6065
+ map.set(chunkId, _object_spread_props$d(_object_spread$h({}, doc), {
6066
+ metadata: _object_spread_props$d(_object_spread$h({}, doc.metadata), {
6066
6067
  chunkId: chunkId,
6067
6068
  children: []
6068
6069
  })
@@ -6236,30 +6237,30 @@ var KnowledgeGraphIndexJobStatus;
6236
6237
  var KNOWLEDGE_GRAPH_DOCUMENT_STATUS_BATCH_SIZE = 100;
6237
6238
 
6238
6239
  // Skill types
6239
- function _array_like_to_array$m(arr, len) {
6240
+ function _array_like_to_array$n(arr, len) {
6240
6241
  if (len == null || len > arr.length) len = arr.length;
6241
6242
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
6242
6243
  return arr2;
6243
6244
  }
6244
- function _array_with_holes$f(arr) {
6245
+ function _array_with_holes$g(arr) {
6245
6246
  if (Array.isArray(arr)) return arr;
6246
6247
  }
6247
6248
  function _iterable_to_array$e(iter) {
6248
6249
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
6249
6250
  }
6250
- function _non_iterable_rest$f() {
6251
+ function _non_iterable_rest$g() {
6251
6252
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6252
6253
  }
6253
6254
  function _to_array$1(arr) {
6254
- return _array_with_holes$f(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$m(arr) || _non_iterable_rest$f();
6255
+ return _array_with_holes$g(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$n(arr) || _non_iterable_rest$g();
6255
6256
  }
6256
- function _unsupported_iterable_to_array$m(o, minLen) {
6257
+ function _unsupported_iterable_to_array$n(o, minLen) {
6257
6258
  if (!o) return;
6258
- if (typeof o === "string") return _array_like_to_array$m(o, minLen);
6259
+ if (typeof o === "string") return _array_like_to_array$n(o, minLen);
6259
6260
  var n = Object.prototype.toString.call(o).slice(8, -1);
6260
6261
  if (n === "Object" && o.constructor) n = o.constructor.name;
6261
6262
  if (n === "Map" || n === "Set") return Array.from(n);
6262
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$m(o, minLen);
6263
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$n(o, minLen);
6263
6264
  }
6264
6265
  var RUNTIME_SKILL_CAPABILITY_ID_PREFIX = "runtime-skill/v1";
6265
6266
  function createRuntimeSkillCapabilityId(source) {
@@ -6293,15 +6294,15 @@ function genXpertSkillKey() {
6293
6294
  return letterStartSUID("Skill_");
6294
6295
  }
6295
6296
 
6296
- function _array_like_to_array$l(arr, len) {
6297
+ function _array_like_to_array$m(arr, len) {
6297
6298
  if (len == null || len > arr.length) len = arr.length;
6298
6299
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
6299
6300
  return arr2;
6300
6301
  }
6301
- function _array_with_holes$e(arr) {
6302
+ function _array_with_holes$f(arr) {
6302
6303
  if (Array.isArray(arr)) return arr;
6303
6304
  }
6304
- function _iterable_to_array_limit$d(arr, i) {
6305
+ function _iterable_to_array_limit$e(arr, i) {
6305
6306
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6306
6307
  if (_i == null) return;
6307
6308
  var _arr = [];
@@ -6325,19 +6326,19 @@ function _iterable_to_array_limit$d(arr, i) {
6325
6326
  }
6326
6327
  return _arr;
6327
6328
  }
6328
- function _non_iterable_rest$e() {
6329
+ function _non_iterable_rest$f() {
6329
6330
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6330
6331
  }
6331
- function _sliced_to_array$d(arr, i) {
6332
- return _array_with_holes$e(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$l(arr, i) || _non_iterable_rest$e();
6332
+ function _sliced_to_array$e(arr, i) {
6333
+ return _array_with_holes$f(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$f();
6333
6334
  }
6334
- function _unsupported_iterable_to_array$l(o, minLen) {
6335
+ function _unsupported_iterable_to_array$m(o, minLen) {
6335
6336
  if (!o) return;
6336
- if (typeof o === "string") return _array_like_to_array$l(o, minLen);
6337
+ if (typeof o === "string") return _array_like_to_array$m(o, minLen);
6337
6338
  var n = Object.prototype.toString.call(o).slice(8, -1);
6338
6339
  if (n === "Object" && o.constructor) n = o.constructor.name;
6339
6340
  if (n === "Map" || n === "Set") return Array.from(n);
6340
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$l(o, minLen);
6341
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$m(o, minLen);
6341
6342
  }
6342
6343
  var IGNORED_BOOLEAN_FLAGS = new Set([
6343
6344
  "-y",
@@ -6552,7 +6553,7 @@ function parseGithubSource(source) {
6552
6553
  return parseGithubUrl(raw);
6553
6554
  }
6554
6555
  if (/^[^/\s]+\/[^/\s]+$/.test(raw)) {
6555
- var _raw_split = _sliced_to_array$d(raw.split("/"), 2), owner = _raw_split[0], repoSegment = _raw_split[1];
6556
+ var _raw_split = _sliced_to_array$e(raw.split("/"), 2), owner = _raw_split[0], repoSegment = _raw_split[1];
6556
6557
  var repo = repoSegment.replace(/\.git$/i, "");
6557
6558
  if (!repo) {
6558
6559
  throw new Error("GitHub repository source must include owner and repository name");
@@ -6612,7 +6613,7 @@ function isLocalPath(value) {
6612
6613
  })).size === value.length;
6613
6614
  }
6614
6615
 
6615
- function _define_property$f(obj, key, value) {
6616
+ function _define_property$g(obj, key, value) {
6616
6617
  if (key in obj) {
6617
6618
  Object.defineProperty(obj, key, {
6618
6619
  value: value,
@@ -6625,7 +6626,7 @@ function _define_property$f(obj, key, value) {
6625
6626
  }
6626
6627
  return obj;
6627
6628
  }
6628
- function _object_spread$f(target) {
6629
+ function _object_spread$g(target) {
6629
6630
  for(var i = 1; i < arguments.length; i++){
6630
6631
  var source = arguments[i] != null ? arguments[i] : {};
6631
6632
  var ownKeys = Object.keys(source);
@@ -6635,7 +6636,7 @@ function _object_spread$f(target) {
6635
6636
  }));
6636
6637
  }
6637
6638
  ownKeys.forEach(function(key) {
6638
- _define_property$f(target, key, source[key]);
6639
+ _define_property$g(target, key, source[key]);
6639
6640
  });
6640
6641
  }
6641
6642
  return target;
@@ -6693,8 +6694,8 @@ function normalizeMiddlewareNode(node) {
6693
6694
  if (provider === entity.provider) {
6694
6695
  return node;
6695
6696
  }
6696
- return _object_spread_props$c(_object_spread$f({}, node), {
6697
- entity: _object_spread_props$c(_object_spread$f({}, entity), {
6697
+ return _object_spread_props$c(_object_spread$g({}, node), {
6698
+ entity: _object_spread_props$c(_object_spread$g({}, entity), {
6698
6699
  provider: provider
6699
6700
  })
6700
6701
  });
@@ -6744,18 +6745,18 @@ function isContextCompressionComponentData(value) {
6744
6745
  "job"
6745
6746
  ];
6746
6747
 
6747
- function _array_like_to_array$k(arr, len) {
6748
+ function _array_like_to_array$l(arr, len) {
6748
6749
  if (len == null || len > arr.length) len = arr.length;
6749
6750
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
6750
6751
  return arr2;
6751
6752
  }
6752
- function _array_with_holes$d(arr) {
6753
+ function _array_with_holes$e(arr) {
6753
6754
  if (Array.isArray(arr)) return arr;
6754
6755
  }
6755
6756
  function _array_without_holes$c(arr) {
6756
- if (Array.isArray(arr)) return _array_like_to_array$k(arr);
6757
+ if (Array.isArray(arr)) return _array_like_to_array$l(arr);
6757
6758
  }
6758
- function _define_property$e(obj, key, value) {
6759
+ function _define_property$f(obj, key, value) {
6759
6760
  if (key in obj) {
6760
6761
  Object.defineProperty(obj, key, {
6761
6762
  value: value,
@@ -6771,7 +6772,7 @@ function _define_property$e(obj, key, value) {
6771
6772
  function _iterable_to_array$d(iter) {
6772
6773
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
6773
6774
  }
6774
- function _iterable_to_array_limit$c(arr, i) {
6775
+ function _iterable_to_array_limit$d(arr, i) {
6775
6776
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
6776
6777
  if (_i == null) return;
6777
6778
  var _arr = [];
@@ -6795,13 +6796,13 @@ function _iterable_to_array_limit$c(arr, i) {
6795
6796
  }
6796
6797
  return _arr;
6797
6798
  }
6798
- function _non_iterable_rest$d() {
6799
+ function _non_iterable_rest$e() {
6799
6800
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6800
6801
  }
6801
6802
  function _non_iterable_spread$c() {
6802
6803
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6803
6804
  }
6804
- function _object_spread$e(target) {
6805
+ function _object_spread$f(target) {
6805
6806
  for(var i = 1; i < arguments.length; i++){
6806
6807
  var source = arguments[i] != null ? arguments[i] : {};
6807
6808
  var ownKeys = Object.keys(source);
@@ -6811,7 +6812,7 @@ function _object_spread$e(target) {
6811
6812
  }));
6812
6813
  }
6813
6814
  ownKeys.forEach(function(key) {
6814
- _define_property$e(target, key, source[key]);
6815
+ _define_property$f(target, key, source[key]);
6815
6816
  });
6816
6817
  }
6817
6818
  return target;
@@ -6862,19 +6863,19 @@ function _object_without_properties_loose(source, excluded) {
6862
6863
  }
6863
6864
  return target;
6864
6865
  }
6865
- function _sliced_to_array$c(arr, i) {
6866
- return _array_with_holes$d(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$k(arr, i) || _non_iterable_rest$d();
6866
+ function _sliced_to_array$d(arr, i) {
6867
+ return _array_with_holes$e(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$l(arr, i) || _non_iterable_rest$e();
6867
6868
  }
6868
6869
  function _to_consumable_array$c(arr) {
6869
- return _array_without_holes$c(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$k(arr) || _non_iterable_spread$c();
6870
+ return _array_without_holes$c(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$l(arr) || _non_iterable_spread$c();
6870
6871
  }
6871
- function _unsupported_iterable_to_array$k(o, minLen) {
6872
+ function _unsupported_iterable_to_array$l(o, minLen) {
6872
6873
  if (!o) return;
6873
- if (typeof o === "string") return _array_like_to_array$k(o, minLen);
6874
+ if (typeof o === "string") return _array_like_to_array$l(o, minLen);
6874
6875
  var n = Object.prototype.toString.call(o).slice(8, -1);
6875
6876
  if (n === "Object" && o.constructor) n = o.constructor.name;
6876
6877
  if (n === "Map" || n === "Set") return Array.from(n);
6877
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$k(o, minLen);
6878
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$l(o, minLen);
6878
6879
  }
6879
6880
  function isNil(value) {
6880
6881
  return value === null || value === undefined;
@@ -6945,7 +6946,7 @@ function normalizeIncomingContent(content, context) {
6945
6946
  if (typeof content !== "string") {
6946
6947
  return content;
6947
6948
  }
6948
- return _object_spread$e({
6949
+ return _object_spread$f({
6949
6950
  type: "text",
6950
6951
  text: content
6951
6952
  }, context.streamId ? {
@@ -7010,7 +7011,7 @@ function filterText(content) {
7010
7011
  return "";
7011
7012
  }
7012
7013
  function mergeTextChunkForDisplay(previous, incoming) {
7013
- return _object_spread$e(_object_spread_props$b(_object_spread$e({}, previous), {
7014
+ return _object_spread$f(_object_spread_props$b(_object_spread$f({}, previous), {
7014
7015
  text: "".concat(previous.text).concat(incoming.text)
7015
7016
  }), !previous.id && incoming.id ? {
7016
7017
  id: incoming.id
@@ -7022,7 +7023,7 @@ function mergeTextChunkForDisplay(previous, incoming) {
7022
7023
  }
7023
7024
  function stripAutoDisplaySeparator(incoming, previousOriginal) {
7024
7025
  if ((previousOriginal === null || previousOriginal === void 0 ? void 0 : previousOriginal.type) === "component" && incoming.text.startsWith("\n\n")) {
7025
- return _object_spread_props$b(_object_spread$e({}, incoming), {
7026
+ return _object_spread_props$b(_object_spread$f({}, incoming), {
7026
7027
  text: incoming.text.slice(1)
7027
7028
  });
7028
7029
  }
@@ -7032,21 +7033,21 @@ function mergeComponentData(previous, incoming) {
7032
7033
  var _previous_data, _incoming_data;
7033
7034
  var _incoming_data1;
7034
7035
  var mergedIncomingData = Object.entries((_incoming_data1 = incoming.data) !== null && _incoming_data1 !== void 0 ? _incoming_data1 : {}).reduce(function(acc, param) {
7035
- var _param = _sliced_to_array$c(param, 2), key = _param[0], value = _param[1];
7036
+ var _param = _sliced_to_array$d(param, 2), key = _param[0], value = _param[1];
7036
7037
  if (!isNil(value)) {
7037
7038
  acc[key] = value;
7038
7039
  }
7039
7040
  return acc;
7040
7041
  }, {});
7041
7042
  var _previous_data1;
7042
- return _object_spread_props$b(_object_spread$e({}, previous, incoming), {
7043
- data: _object_spread_props$b(_object_spread$e({}, (_previous_data1 = previous.data) !== null && _previous_data1 !== void 0 ? _previous_data1 : {}, mergedIncomingData), {
7043
+ return _object_spread_props$b(_object_spread$f({}, previous, incoming), {
7044
+ data: _object_spread_props$b(_object_spread$f({}, (_previous_data1 = previous.data) !== null && _previous_data1 !== void 0 ? _previous_data1 : {}, mergedIncomingData), {
7044
7045
  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)
7045
7046
  })
7046
7047
  });
7047
7048
  }
7048
7049
  function inferMessageAppendContext(content, fallbackSource) {
7049
- return _object_spread$e({
7050
+ return _object_spread$f({
7050
7051
  source: fallbackSource !== null && fallbackSource !== void 0 ? fallbackSource : inferContentSource(content)
7051
7052
  }, typeof content !== "string" && (content === null || content === void 0 ? void 0 : content.id) ? {
7052
7053
  streamId: String(content.id)
@@ -7054,10 +7055,10 @@ function inferMessageAppendContext(content, fallbackSource) {
7054
7055
  }
7055
7056
  function resolveMessageAppendContext(options) {
7056
7057
  var inferredContext = inferMessageAppendContext(options.incoming, options.fallbackSource);
7057
- var appendContext = typeof options.incoming === "string" && !inferredContext.streamId && options.fallbackStreamId ? _object_spread_props$b(_object_spread$e({}, inferredContext), {
7058
+ var appendContext = typeof options.incoming === "string" && !inferredContext.streamId && options.fallbackStreamId ? _object_spread_props$b(_object_spread$f({}, inferredContext), {
7058
7059
  streamId: options.fallbackStreamId
7059
7060
  }) : inferredContext;
7060
- var messageContext = shouldJoinWithoutSeparator(options.previous, appendContext) ? _object_spread_props$b(_object_spread$e({}, appendContext), {
7061
+ var messageContext = shouldJoinWithoutSeparator(options.previous, appendContext) ? _object_spread_props$b(_object_spread$f({}, appendContext), {
7061
7062
  joinHint: "none"
7062
7063
  }) : appendContext;
7063
7064
  return {
@@ -7078,7 +7079,7 @@ function resolveMessageAppendContext(options) {
7078
7079
  var previous = initial;
7079
7080
  return {
7080
7081
  resolve: function resolve(options) {
7081
- var resolved = resolveMessageAppendContext(_object_spread_props$b(_object_spread$e({}, options), {
7082
+ var resolved = resolveMessageAppendContext(_object_spread_props$b(_object_spread$f({}, options), {
7082
7083
  previous: previous
7083
7084
  }));
7084
7085
  if (!isFileActivityContent(options.incoming) && !isResourceCardContent(options.incoming)) previous = resolved.appendContext;
@@ -7116,10 +7117,10 @@ function resolveMessageAppendContext(options) {
7116
7117
  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, [
7117
7118
  "previous"
7118
7119
  ]);
7119
- var appendContext = _object_spread$e({}, inferMessageAppendContext(incoming), contextWithoutPrevious);
7120
+ var appendContext = _object_spread$f({}, inferMessageAppendContext(incoming), contextWithoutPrevious);
7120
7121
  var _appendContext_joinHint;
7121
7122
  var joinHint = (_appendContext_joinHint = appendContext.joinHint) !== null && _appendContext_joinHint !== void 0 ? _appendContext_joinHint : shouldJoinWithoutSeparator(previous, appendContext) ? "none" : undefined;
7122
- var messageContext = joinHint ? _object_spread_props$b(_object_spread$e({}, appendContext), {
7123
+ var messageContext = joinHint ? _object_spread_props$b(_object_spread$f({}, appendContext), {
7123
7124
  joinHint: joinHint
7124
7125
  }) : appendContext;
7125
7126
  var content = normalizeIncomingContent(incoming, appendContext);
@@ -7128,7 +7129,7 @@ function resolveMessageAppendContext(options) {
7128
7129
  var reasoning = (_aiMessage_reasoning = aiMessage.reasoning) !== null && _aiMessage_reasoning !== void 0 ? _aiMessage_reasoning : [];
7129
7130
  var lastReasoning = reasoning[reasoning.length - 1];
7130
7131
  if ((lastReasoning === null || lastReasoning === void 0 ? void 0 : lastReasoning.id) === content.id) {
7131
- var mergedReasoning = _object_spread_props$b(_object_spread$e({}, lastReasoning), {
7132
+ var mergedReasoning = _object_spread_props$b(_object_spread$f({}, lastReasoning), {
7132
7133
  text: "".concat(lastReasoning.text).concat(content.text)
7133
7134
  });
7134
7135
  aiMessage.reasoning = _to_consumable_array$c(reasoning.slice(0, reasoning.length - 1)).concat([
@@ -7149,7 +7150,7 @@ function resolveMessageAppendContext(options) {
7149
7150
  return isTextContent(item) && item.id === content.id;
7150
7151
  });
7151
7152
  if (index > -1) {
7152
- var mergedContent = _object_spread$e(_object_spread_props$b(_object_spread$e({}, chunks[index]), {
7153
+ var mergedContent = _object_spread$f(_object_spread_props$b(_object_spread$f({}, chunks[index]), {
7153
7154
  text: "".concat(chunks[index].text).concat(content.text)
7154
7155
  }), !chunks[index].id && content.id ? {
7155
7156
  id: content.id
@@ -7172,7 +7173,7 @@ function resolveMessageAppendContext(options) {
7172
7173
  var existingIndex = findLastTextChunkIndexById(chunks, content.id);
7173
7174
  if (existingIndex > -1) {
7174
7175
  var existing = chunks[existingIndex];
7175
- var merged = _object_spread_props$b(_object_spread$e({}, existing), {
7176
+ var merged = _object_spread_props$b(_object_spread$f({}, existing), {
7176
7177
  text: "".concat(existing.text).concat(content.text)
7177
7178
  });
7178
7179
  var nextChunks = _to_consumable_array$c(chunks);
@@ -7181,7 +7182,7 @@ function resolveMessageAppendContext(options) {
7181
7182
  return;
7182
7183
  }
7183
7184
  } else if (isTextContent(lastContent) && messageContext.joinHint === "none") {
7184
- var mergedLastContent = _object_spread_props$b(_object_spread$e({}, lastContent), {
7185
+ var mergedLastContent = _object_spread_props$b(_object_spread$f({}, lastContent), {
7185
7186
  text: "".concat(lastContent.text).concat(content.text)
7186
7187
  });
7187
7188
  aiMessage.content = _to_consumable_array$c(chunks.slice(0, chunks.length - 1)).concat([
@@ -7190,7 +7191,7 @@ function resolveMessageAppendContext(options) {
7190
7191
  return;
7191
7192
  }
7192
7193
  var separator = getContentChunkSeparator(lastContent, content.text, messageContext.joinHint);
7193
- var appended = _object_spread_props$b(_object_spread$e({}, content), {
7194
+ var appended = _object_spread_props$b(_object_spread$f({}, content), {
7194
7195
  text: separator + content.text
7195
7196
  });
7196
7197
  aiMessage.content = _to_consumable_array$c(chunks).concat([
@@ -7214,7 +7215,7 @@ function resolveMessageAppendContext(options) {
7214
7215
  aiMessage.content = nextChunks1;
7215
7216
  }
7216
7217
  function appendMessagePlainText(accumulator, incoming, context) {
7217
- var resolvedContext = _object_spread$e({}, inferMessageAppendContext(incoming), context !== null && context !== void 0 ? context : {});
7218
+ var resolvedContext = _object_spread$f({}, inferMessageAppendContext(incoming), context !== null && context !== void 0 ? context : {});
7218
7219
  var nextText = filterText(incoming);
7219
7220
  if (!nextText) {
7220
7221
  return accumulator !== null && accumulator !== void 0 ? accumulator : "";
@@ -7259,7 +7260,7 @@ function appendMessagePlainText(accumulator, incoming, context) {
7259
7260
  return;
7260
7261
  }
7261
7262
  textIndexById.set(item.id, merged.length);
7262
- merged.push(_object_spread$e({}, item));
7263
+ merged.push(_object_spread$f({}, item));
7263
7264
  return;
7264
7265
  }
7265
7266
  var lastItem = merged[merged.length - 1];
@@ -7267,7 +7268,7 @@ function appendMessagePlainText(accumulator, incoming, context) {
7267
7268
  merged[merged.length - 1] = mergeTextChunkForDisplay(lastItem, item);
7268
7269
  return;
7269
7270
  }
7270
- merged.push(_object_spread$e({}, item));
7271
+ merged.push(_object_spread$f({}, item));
7271
7272
  });
7272
7273
  return merged.length ? merged : null;
7273
7274
  }
@@ -7282,7 +7283,7 @@ function stringifyMessageContent(content) {
7282
7283
  if (isFileActivityContent(item) || isResourceCardContent(item)) return;
7283
7284
  var itemContext = inferMessageAppendContext(item);
7284
7285
  var joinHint = shouldJoinWithoutSeparator(previousContext, itemContext) ? "none" : undefined;
7285
- result = appendMessagePlainText(result, stringifySingle(item), _object_spread$e({}, itemContext, joinHint ? {
7286
+ result = appendMessagePlainText(result, stringifySingle(item), _object_spread$f({}, itemContext, joinHint ? {
7286
7287
  joinHint: joinHint
7287
7288
  } : {}));
7288
7289
  previousContext = itemContext;
@@ -7305,7 +7306,7 @@ function filterMessageText(content) {
7305
7306
  }
7306
7307
  var itemContext = inferMessageAppendContext(item);
7307
7308
  var joinHint = shouldJoinWithoutSeparator(previousContext, itemContext) ? "none" : undefined;
7308
- result = appendMessagePlainText(result, nextText, _object_spread$e({}, itemContext, joinHint ? {
7309
+ result = appendMessagePlainText(result, nextText, _object_spread$f({}, itemContext, joinHint ? {
7309
7310
  joinHint: joinHint
7310
7311
  } : {}));
7311
7312
  previousContext = itemContext;
@@ -8001,7 +8002,7 @@ var projectPipelineEdgeSchema = z.object({
8001
8002
  outcome: projectPipelineKeySchema.optional()
8002
8003
  }).strict();
8003
8004
 
8004
- function _define_property$d(obj, key, value) {
8005
+ function _define_property$e(obj, key, value) {
8005
8006
  if (key in obj) {
8006
8007
  Object.defineProperty(obj, key, {
8007
8008
  value: value,
@@ -8014,7 +8015,7 @@ function _define_property$d(obj, key, value) {
8014
8015
  }
8015
8016
  return obj;
8016
8017
  }
8017
- function _object_spread$d(target) {
8018
+ function _object_spread$e(target) {
8018
8019
  for(var i = 1; i < arguments.length; i++){
8019
8020
  var source = arguments[i] != null ? arguments[i] : {};
8020
8021
  var ownKeys = Object.keys(source);
@@ -8024,7 +8025,7 @@ function _object_spread$d(target) {
8024
8025
  }));
8025
8026
  }
8026
8027
  ownKeys.forEach(function(key) {
8027
- _define_property$d(target, key, source[key]);
8028
+ _define_property$e(target, key, source[key]);
8028
8029
  });
8029
8030
  }
8030
8031
  return target;
@@ -8057,7 +8058,7 @@ var base$1 = {
8057
8058
  };
8058
8059
  var outcomes = z.array(projectPipelineKeySchema).min(2).max(32);
8059
8060
  /** Only explicit primitives can control flow; configuration cannot embed executable expressions. */ var projectPipelineNodeSchema = z.discriminatedUnion("kind", [
8060
- z.object(_object_spread_props$a(_object_spread$d({}, base$1), {
8061
+ z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8061
8062
  kind: z.literal("work"),
8062
8063
  laneKey: projectPipelineKeySchema,
8063
8064
  operationRef: projectPipelineRefSchema,
@@ -8066,23 +8067,23 @@ var outcomes = z.array(projectPipelineKeySchema).min(2).max(32);
8066
8067
  resourceResolverRef: projectPipelineRefSchema.optional(),
8067
8068
  outputSchemaRef: projectPipelineRefSchema.optional()
8068
8069
  })).strict(),
8069
- z.object(_object_spread_props$a(_object_spread$d({}, base$1), {
8070
+ z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8070
8071
  kind: z.literal("fork")
8071
8072
  })).strict(),
8072
- z.object(_object_spread_props$a(_object_spread$d({}, base$1), {
8073
+ z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8073
8074
  kind: z.literal("join"),
8074
8075
  join: z.object({
8075
8076
  mode: z.literal("all_selected"),
8076
8077
  accept: z.literal("completed")
8077
8078
  }).strict()
8078
8079
  })).strict(),
8079
- z.object(_object_spread_props$a(_object_spread$d({}, base$1), {
8080
+ z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8080
8081
  kind: z.literal("router"),
8081
8082
  policyRef: projectPipelineRefSchema,
8082
8083
  outcomes: outcomes,
8083
8084
  unmatched: z.literal("block")
8084
8085
  })).strict(),
8085
- z.object(_object_spread_props$a(_object_spread$d({}, base$1), {
8086
+ z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8086
8087
  kind: z.literal("human_gate"),
8087
8088
  laneKey: projectPipelineKeySchema,
8088
8089
  policyRef: projectPipelineRefSchema,
@@ -8090,12 +8091,12 @@ var outcomes = z.array(projectPipelineKeySchema).min(2).max(32);
8090
8091
  outcomes: outcomes,
8091
8092
  outcomeLabels: z.record(projectPipelineKeySchema, z.string().min(1).max(120)).optional()
8092
8093
  })).strict(),
8093
- z.object(_object_spread_props$a(_object_spread$d({}, base$1), {
8094
+ z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8094
8095
  kind: z.literal("external_wait"),
8095
8096
  laneKey: projectPipelineKeySchema,
8096
8097
  subscriptionRef: projectPipelineRefSchema
8097
8098
  })).strict(),
8098
- z.object(_object_spread_props$a(_object_spread$d({}, base$1), {
8099
+ z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
8099
8100
  kind: z.literal("terminal"),
8100
8101
  outcome: projectPipelineKeySchema,
8101
8102
  disposition: z.enum([
@@ -8105,21 +8106,21 @@ var outcomes = z.array(projectPipelineKeySchema).min(2).max(32);
8105
8106
  })).strict()
8106
8107
  ]);
8107
8108
 
8108
- /** Bounded symbolic execution proves required outputs exist on every selected branch. */ function _array_like_to_array$j(arr, len) {
8109
+ /** Bounded symbolic execution proves required outputs exist on every selected branch. */ function _array_like_to_array$k(arr, len) {
8109
8110
  if (len == null || len > arr.length) len = arr.length;
8110
8111
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
8111
8112
  return arr2;
8112
8113
  }
8113
- function _array_with_holes$c(arr) {
8114
+ function _array_with_holes$d(arr) {
8114
8115
  if (Array.isArray(arr)) return arr;
8115
8116
  }
8116
8117
  function _array_without_holes$b(arr) {
8117
- if (Array.isArray(arr)) return _array_like_to_array$j(arr);
8118
+ if (Array.isArray(arr)) return _array_like_to_array$k(arr);
8118
8119
  }
8119
8120
  function _iterable_to_array$c(iter) {
8120
8121
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
8121
8122
  }
8122
- function _iterable_to_array_limit$b(arr, i) {
8123
+ function _iterable_to_array_limit$c(arr, i) {
8123
8124
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
8124
8125
  if (_i == null) return;
8125
8126
  var _arr = [];
@@ -8143,29 +8144,29 @@ function _iterable_to_array_limit$b(arr, i) {
8143
8144
  }
8144
8145
  return _arr;
8145
8146
  }
8146
- function _non_iterable_rest$c() {
8147
+ function _non_iterable_rest$d() {
8147
8148
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8148
8149
  }
8149
8150
  function _non_iterable_spread$b() {
8150
8151
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8151
8152
  }
8152
- function _sliced_to_array$b(arr, i) {
8153
- return _array_with_holes$c(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$j(arr, i) || _non_iterable_rest$c();
8153
+ function _sliced_to_array$c(arr, i) {
8154
+ return _array_with_holes$d(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$k(arr, i) || _non_iterable_rest$d();
8154
8155
  }
8155
8156
  function _to_consumable_array$b(arr) {
8156
- return _array_without_holes$b(arr) || _iterable_to_array$c(arr) || _unsupported_iterable_to_array$j(arr) || _non_iterable_spread$b();
8157
+ return _array_without_holes$b(arr) || _iterable_to_array$c(arr) || _unsupported_iterable_to_array$k(arr) || _non_iterable_spread$b();
8157
8158
  }
8158
8159
  function _type_of(obj) {
8159
8160
  "@swc/helpers - typeof";
8160
8161
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
8161
8162
  }
8162
- function _unsupported_iterable_to_array$j(o, minLen) {
8163
+ function _unsupported_iterable_to_array$k(o, minLen) {
8163
8164
  if (!o) return;
8164
- if (typeof o === "string") return _array_like_to_array$j(o, minLen);
8165
+ if (typeof o === "string") return _array_like_to_array$k(o, minLen);
8165
8166
  var n = Object.prototype.toString.call(o).slice(8, -1);
8166
8167
  if (n === "Object" && o.constructor) n = o.constructor.name;
8167
8168
  if (n === "Map" || n === "Set") return Array.from(n);
8168
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
8169
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$k(o, minLen);
8169
8170
  }
8170
8171
  function validateProjectPipelineDataflow(definition, ordered) {
8171
8172
  var issues = [];
@@ -8268,7 +8269,7 @@ function validateProjectPipelineDataflow(definition, ordered) {
8268
8269
  var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = undefined;
8269
8270
  try {
8270
8271
  for(var _iterator2 = Object.entries((_node_inputBindings = node.inputBindings) !== null && _node_inputBindings !== void 0 ? _node_inputBindings : {})[Symbol.iterator](), _step3; !(_iteratorNormalCompletion2 = (_step3 = _iterator2.next()).done); _iteratorNormalCompletion2 = true){
8271
- var _step_value = _sliced_to_array$b(_step3.value, 2), name = _step_value[0], binding = _step_value[1];
8272
+ var _step_value = _sliced_to_array$c(_step3.value, 2), name = _step_value[0], binding = _step_value[1];
8272
8273
  var refs = binding.from === "collection" ? binding.items : binding.from === "node_output" ? [
8273
8274
  binding
8274
8275
  ] : [];
@@ -8325,7 +8326,7 @@ function validateProjectPipelineDataflow(definition, ordered) {
8325
8326
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
8326
8327
  try {
8327
8328
  for(var _iterator = Object.entries((_node_inputBindings = node.inputBindings) !== null && _node_inputBindings !== void 0 ? _node_inputBindings : {})[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
8328
- var _step_value = _sliced_to_array$b(_step.value, 2), name = _step_value[0], binding = _step_value[1];
8329
+ var _step_value = _sliced_to_array$c(_step.value, 2), name = _step_value[0], binding = _step_value[1];
8329
8330
  var refs = binding.from === "collection" ? binding.items : binding.from === "node_output" ? [
8330
8331
  binding
8331
8332
  ] : [];
@@ -8452,13 +8453,13 @@ function validateProjectPipelineDataflow(definition, ordered) {
8452
8453
  return issues;
8453
8454
  }
8454
8455
 
8455
- function _array_like_to_array$i(arr, len) {
8456
+ function _array_like_to_array$j(arr, len) {
8456
8457
  if (len == null || len > arr.length) len = arr.length;
8457
8458
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
8458
8459
  return arr2;
8459
8460
  }
8460
8461
  function _array_without_holes$a(arr) {
8461
- if (Array.isArray(arr)) return _array_like_to_array$i(arr);
8462
+ if (Array.isArray(arr)) return _array_like_to_array$j(arr);
8462
8463
  }
8463
8464
  function _iterable_to_array$b(iter) {
8464
8465
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -8467,15 +8468,15 @@ function _non_iterable_spread$a() {
8467
8468
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8468
8469
  }
8469
8470
  function _to_consumable_array$a(arr) {
8470
- return _array_without_holes$a(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$i(arr) || _non_iterable_spread$a();
8471
+ return _array_without_holes$a(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$j(arr) || _non_iterable_spread$a();
8471
8472
  }
8472
- function _unsupported_iterable_to_array$i(o, minLen) {
8473
+ function _unsupported_iterable_to_array$j(o, minLen) {
8473
8474
  if (!o) return;
8474
- if (typeof o === "string") return _array_like_to_array$i(o, minLen);
8475
+ if (typeof o === "string") return _array_like_to_array$j(o, minLen);
8475
8476
  var n = Object.prototype.toString.call(o).slice(8, -1);
8476
8477
  if (n === "Object" && o.constructor) n = o.constructor.name;
8477
8478
  if (n === "Map" || n === "Set") return Array.from(n);
8478
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$i(o, minLen);
8479
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
8479
8480
  }
8480
8481
  /** Pure semantic checks shared by configuration APIs, plugin registrations and persisted snapshots. */ function validateProjectPipelineDefinition(definition) {
8481
8482
  var // Upstream reachability alone is insufficient: a value on an unselected branch may not exist.
@@ -8744,7 +8745,7 @@ function isProjectPipelineApplicable(definition, project) {
8744
8745
 
8745
8746
  // Invariants: definitions describe versioned topology and explicit execution authority.
8746
8747
  // Business meaning stays behind provider references; labels and icons never drive execution.
8747
- function _define_property$c(obj, key, value) {
8748
+ function _define_property$d(obj, key, value) {
8748
8749
  if (key in obj) {
8749
8750
  Object.defineProperty(obj, key, {
8750
8751
  value: value,
@@ -8757,7 +8758,7 @@ function _define_property$c(obj, key, value) {
8757
8758
  }
8758
8759
  return obj;
8759
8760
  }
8760
- function _object_spread$c(target) {
8761
+ function _object_spread$d(target) {
8761
8762
  for(var i = 1; i < arguments.length; i++){
8762
8763
  var source = arguments[i] != null ? arguments[i] : {};
8763
8764
  var ownKeys = Object.keys(source);
@@ -8767,7 +8768,7 @@ function _object_spread$c(target) {
8767
8768
  }));
8768
8769
  }
8769
8770
  ownKeys.forEach(function(key) {
8770
- _define_property$c(target, key, source[key]);
8771
+ _define_property$d(target, key, source[key]);
8771
8772
  });
8772
8773
  }
8773
8774
  return target;
@@ -8817,7 +8818,7 @@ var common = {
8817
8818
  };
8818
8819
  // A provider owns topology and advancement. A managed definition owns a bounded DAG per round.
8819
8820
  var projectPipelineDefinitionShapeSchema = z.discriminatedUnion("executionAuthority", [
8820
- z.object(_object_spread_props$9(_object_spread$c({}, common), {
8821
+ z.object(_object_spread_props$9(_object_spread$d({}, common), {
8821
8822
  executionAuthority: z.literal("provider"),
8822
8823
  providerRef: projectPipelineRefSchema,
8823
8824
  topology: z.object({
@@ -8826,7 +8827,7 @@ var projectPipelineDefinitionShapeSchema = z.discriminatedUnion("executionAuthor
8826
8827
  }).strict(),
8827
8828
  actionRefs: z.array(projectPipelineRefSchema).max(100).optional()
8828
8829
  })).strict(),
8829
- z.object(_object_spread_props$9(_object_spread$c({}, common), {
8830
+ z.object(_object_spread_props$9(_object_spread$d({}, common), {
8830
8831
  executionAuthority: z.literal("platform"),
8831
8832
  topology: z.object({
8832
8833
  source: z.literal("definition")
@@ -8897,15 +8898,15 @@ var projectPipelineNativeModelBudgetStatusSchema = z.object({
8897
8898
  admissionBlocked: z.boolean()
8898
8899
  }).strict();
8899
8900
 
8900
- function _array_like_to_array$h(arr, len) {
8901
+ function _array_like_to_array$i(arr, len) {
8901
8902
  if (len == null || len > arr.length) len = arr.length;
8902
8903
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
8903
8904
  return arr2;
8904
8905
  }
8905
- function _array_with_holes$b(arr) {
8906
+ function _array_with_holes$c(arr) {
8906
8907
  if (Array.isArray(arr)) return arr;
8907
8908
  }
8908
- function _iterable_to_array_limit$a(arr, i) {
8909
+ function _iterable_to_array_limit$b(arr, i) {
8909
8910
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
8910
8911
  if (_i == null) return;
8911
8912
  var _arr = [];
@@ -8929,19 +8930,19 @@ function _iterable_to_array_limit$a(arr, i) {
8929
8930
  }
8930
8931
  return _arr;
8931
8932
  }
8932
- function _non_iterable_rest$b() {
8933
+ function _non_iterable_rest$c() {
8933
8934
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8934
8935
  }
8935
- function _sliced_to_array$a(arr, i) {
8936
- return _array_with_holes$b(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$h(arr, i) || _non_iterable_rest$b();
8936
+ function _sliced_to_array$b(arr, i) {
8937
+ return _array_with_holes$c(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$i(arr, i) || _non_iterable_rest$c();
8937
8938
  }
8938
- function _unsupported_iterable_to_array$h(o, minLen) {
8939
+ function _unsupported_iterable_to_array$i(o, minLen) {
8939
8940
  if (!o) return;
8940
- if (typeof o === "string") return _array_like_to_array$h(o, minLen);
8941
+ if (typeof o === "string") return _array_like_to_array$i(o, minLen);
8941
8942
  var n = Object.prototype.toString.call(o).slice(8, -1);
8942
8943
  if (n === "Object" && o.constructor) n = o.constructor.name;
8943
8944
  if (n === "Map" || n === "Set") return Array.from(n);
8944
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$h(o, minLen);
8945
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$i(o, minLen);
8945
8946
  }
8946
8947
  var participantSelection = z.object({
8947
8948
  kind: projectPipelineParticipantKindSchema,
@@ -9003,7 +9004,7 @@ var projectPipelineBindingSchema = z.object({
9003
9004
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
9004
9005
  try {
9005
9006
  for(var _iterator = Object.entries(binding.roleBindings)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
9006
- var _step_value = _sliced_to_array$a(_step.value, 2), key = _step_value[0], participant = _step_value[1];
9007
+ var _step_value = _sliced_to_array$b(_step.value, 2), key = _step_value[0], participant = _step_value[1];
9007
9008
  var _roles_get;
9008
9009
  if (!((_roles_get = roles.get(key)) === null || _roles_get === void 0 ? void 0 : _roles_get.allowedKinds.includes(participant.kind))) issue("ROLE_KIND_MISMATCH", "binding", "roleBindings", key);
9009
9010
  }
@@ -9054,7 +9055,7 @@ var projectPipelineBindingSchema = z.object({
9054
9055
  var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = undefined;
9055
9056
  try {
9056
9057
  var _loop = function() {
9057
- var _step_value = _sliced_to_array$a(_step2.value, 2), slot = _step_value[0], executor = _step_value[1];
9058
+ var _step_value = _sliced_to_array$b(_step2.value, 2), slot = _step_value[0], executor = _step_value[1];
9058
9059
  var _roles_get;
9059
9060
  if (!((_roles_get = roles.get(executor.roleKey)) === null || _roles_get === void 0 ? void 0 : _roles_get.allowedKinds.includes(executor.kind)) || executor.kind === "human") {
9060
9061
  issue("EXECUTOR_ROLE_MISMATCH", "binding", "executorBindings", slot);
@@ -9089,7 +9090,7 @@ var projectPipelineBindingSchema = z.object({
9089
9090
  var _iteratorNormalCompletion3 = true, _didIteratorError3 = false, _iteratorError3 = undefined;
9090
9091
  try {
9091
9092
  for(var _iterator3 = template.nodes.entries()[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true){
9092
- var _step_value1 = _sliced_to_array$a(_step3.value, 2), index = _step_value1[0], node = _step_value1[1];
9093
+ var _step_value1 = _sliced_to_array$b(_step3.value, 2), index = _step_value1[0], node = _step_value1[1];
9093
9094
  var _binding_roleBindings_node_candidateRoleKey;
9094
9095
  if (node.kind === "work") {
9095
9096
  var _binding_executorBindings1, _lanes_get;
@@ -9109,7 +9110,7 @@ var projectPipelineBindingSchema = z.object({
9109
9110
  var _iteratorNormalCompletion4 = true, _didIteratorError4 = false, _iteratorError4 = undefined;
9110
9111
  try {
9111
9112
  for(var _iterator4 = Object.entries((_node_inputBindings = node.inputBindings) !== null && _node_inputBindings !== void 0 ? _node_inputBindings : {})[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true){
9112
- var _step_value2 = _sliced_to_array$a(_step4.value, 2), key1 = _step_value2[0], input = _step_value2[1];
9113
+ var _step_value2 = _sliced_to_array$b(_step4.value, 2), key1 = _step_value2[0], input = _step_value2[1];
9113
9114
  if (input.from === "parameter" && !Object.prototype.hasOwnProperty.call(binding.parameters, input.key)) {
9114
9115
  issue("PARAMETER_NOT_FOUND", "template", "nodes", index, "inputBindings", key1);
9115
9116
  }
@@ -9145,7 +9146,7 @@ var projectPipelineBindingSchema = z.object({
9145
9146
  }
9146
9147
  });
9147
9148
 
9148
- function _define_property$b(obj, key, value) {
9149
+ function _define_property$c(obj, key, value) {
9149
9150
  if (key in obj) {
9150
9151
  Object.defineProperty(obj, key, {
9151
9152
  value: value,
@@ -9158,7 +9159,7 @@ function _define_property$b(obj, key, value) {
9158
9159
  }
9159
9160
  return obj;
9160
9161
  }
9161
- function _object_spread$b(target) {
9162
+ function _object_spread$c(target) {
9162
9163
  for(var i = 1; i < arguments.length; i++){
9163
9164
  var source = arguments[i] != null ? arguments[i] : {};
9164
9165
  var ownKeys = Object.keys(source);
@@ -9168,7 +9169,7 @@ function _object_spread$b(target) {
9168
9169
  }));
9169
9170
  }
9170
9171
  ownKeys.forEach(function(key) {
9171
- _define_property$b(target, key, source[key]);
9172
+ _define_property$c(target, key, source[key]);
9172
9173
  });
9173
9174
  }
9174
9175
  return target;
@@ -9202,13 +9203,13 @@ var definitionRef = z.object({
9202
9203
  templateRef: projectPipelineRefSchema,
9203
9204
  digest: z.string().regex(/^[a-f0-9]{64}$/)
9204
9205
  }).strict();
9205
- var projectPipelineProjectBindingSchema = z.object(_object_spread_props$8(_object_spread$b({}, scopedIdentity), {
9206
+ var projectPipelineProjectBindingSchema = z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9206
9207
  definition: definitionRef,
9207
9208
  revision: z.number().int().positive(),
9208
9209
  configuration: projectPipelineBindingSchema
9209
9210
  })).strict();
9210
9211
  var projectPipelineInstanceSchema = z.discriminatedUnion("executionAuthority", [
9211
- z.object(_object_spread_props$8(_object_spread$b({}, scopedIdentity), {
9212
+ z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9212
9213
  executionAuthority: z.literal("provider"),
9213
9214
  providerRef: projectPipelineRefSchema,
9214
9215
  sourceKey: z.string().min(1).max(500),
@@ -9219,7 +9220,7 @@ var projectPipelineInstanceSchema = z.discriminatedUnion("executionAuthority", [
9219
9220
  }).strict(),
9220
9221
  revision: z.number().int().nonnegative()
9221
9222
  })).strict(),
9222
- z.object(_object_spread_props$8(_object_spread$b({}, scopedIdentity), {
9223
+ z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9223
9224
  executionAuthority: z.literal("platform"),
9224
9225
  bindingId: z.string().uuid(),
9225
9226
  sourceKey: z.string().min(1).max(500),
@@ -9231,7 +9232,7 @@ var projectPipelineInstanceSchema = z.discriminatedUnion("executionAuthority", [
9231
9232
  revision: z.number().int().nonnegative()
9232
9233
  })).strict()
9233
9234
  ]);
9234
- var projectPipelineRunSchema = z.object(_object_spread_props$8(_object_spread$b({}, scopedIdentity), {
9235
+ var projectPipelineRunSchema = z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9235
9236
  instanceId: z.string().uuid(),
9236
9237
  triggerKey: z.string().min(1).max(500),
9237
9238
  definition: definitionRef,
@@ -9303,7 +9304,7 @@ var projectPipelineWorkContextSchema = z.object({
9303
9304
  inputDigest: z.string().regex(/^[a-f0-9]{64}$/),
9304
9305
  generation: z.number().int().positive()
9305
9306
  }).strict();
9306
- var projectPipelineRoundSchema = z.object(_object_spread_props$8(_object_spread$b({}, scopedIdentity), {
9307
+ var projectPipelineRoundSchema = z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9307
9308
  runId: z.string().uuid(),
9308
9309
  sequence: z.number().int().positive(),
9309
9310
  generation: z.number().int().positive(),
@@ -9319,7 +9320,7 @@ var projectPipelineRoundSchema = z.object(_object_spread_props$8(_object_spread$
9319
9320
  subjectVersionSet: z.array(projectPipelineSubjectVersionSchema).min(1).max(100),
9320
9321
  supersedes: z.string().uuid().nullable()
9321
9322
  })).strict();
9322
- var projectPipelineNodeInstanceSchema = z.object(_object_spread_props$8(_object_spread$b({}, scopedIdentity), {
9323
+ var projectPipelineNodeInstanceSchema = z.object(_object_spread_props$8(_object_spread$c({}, scopedIdentity), {
9323
9324
  roundId: z.string().uuid(),
9324
9325
  nodeKey: projectPipelineKeySchema,
9325
9326
  /** Stable source identity; never a list index. */ expansionKey: z.string().min(1).max(500),
@@ -9331,7 +9332,7 @@ var projectPipelineNodeInstanceSchema = z.object(_object_spread_props$8(_object_
9331
9332
  revision: z.number().int().nonnegative()
9332
9333
  })).strict();
9333
9334
 
9334
- function _define_property$a(obj, key, value) {
9335
+ function _define_property$b(obj, key, value) {
9335
9336
  if (key in obj) {
9336
9337
  Object.defineProperty(obj, key, {
9337
9338
  value: value,
@@ -9344,7 +9345,7 @@ function _define_property$a(obj, key, value) {
9344
9345
  }
9345
9346
  return obj;
9346
9347
  }
9347
- function _object_spread$a(target) {
9348
+ function _object_spread$b(target) {
9348
9349
  for(var i = 1; i < arguments.length; i++){
9349
9350
  var source = arguments[i] != null ? arguments[i] : {};
9350
9351
  var ownKeys = Object.keys(source);
@@ -9354,7 +9355,7 @@ function _object_spread$a(target) {
9354
9355
  }));
9355
9356
  }
9356
9357
  ownKeys.forEach(function(key) {
9357
- _define_property$a(target, key, source[key]);
9358
+ _define_property$b(target, key, source[key]);
9358
9359
  });
9359
9360
  }
9360
9361
  return target;
@@ -9378,7 +9379,7 @@ function _object_spread_props$7(target, source) {
9378
9379
  }
9379
9380
  return target;
9380
9381
  }
9381
- var reference = {
9382
+ var reference$1 = {
9382
9383
  ref: projectPipelineRefSchema
9383
9384
  };
9384
9385
  var projectPipelinePortDescriptorSchema = z.object({
@@ -9389,17 +9390,17 @@ var projectPipelinePortDescriptorSchema = z.object({
9389
9390
  ])
9390
9391
  }).strict();
9391
9392
  /** Declarations allow configuration checks. They never prove a runtime executor is currently available. */ var projectPipelineExtensionDescriptorSchema = z.discriminatedUnion("kind", [
9392
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9393
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9393
9394
  kind: z.literal("schema")
9394
9395
  })).strict(),
9395
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9396
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9396
9397
  kind: z.literal("resource")
9397
9398
  })).strict(),
9398
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9399
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9399
9400
  kind: z.literal("subject"),
9400
9401
  outputSchemaRef: projectPipelineRefSchema
9401
9402
  })).strict(),
9402
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9403
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9403
9404
  kind: z.literal("operation"),
9404
9405
  effects: z.enum([
9405
9406
  "read_only",
@@ -9418,52 +9419,52 @@ var projectPipelinePortDescriptorSchema = z.object({
9418
9419
  inputs: z.record(projectPipelineKeySchema, projectPipelinePortDescriptorSchema),
9419
9420
  outputs: z.record(projectPipelineKeySchema, projectPipelineRefSchema)
9420
9421
  })).strict(),
9421
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9422
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9422
9423
  kind: z.literal("completion")
9423
9424
  })).strict(),
9424
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9425
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9425
9426
  kind: z.literal("policy"),
9426
9427
  outcomes: z.array(projectPipelineKeySchema).min(1).max(32)
9427
9428
  })).strict(),
9428
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9429
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9429
9430
  kind: z.literal("projection")
9430
9431
  })).strict(),
9431
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9432
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9432
9433
  kind: z.literal("presentation")
9433
9434
  })).strict(),
9434
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9435
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9435
9436
  kind: z.literal("action")
9436
9437
  })).strict(),
9437
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9438
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9438
9439
  kind: z.literal("metric")
9439
9440
  })).strict(),
9440
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9441
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9441
9442
  kind: z.literal("dimension")
9442
9443
  })).strict(),
9443
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9444
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9444
9445
  kind: z.literal("trigger")
9445
9446
  })).strict(),
9446
- z.object(_object_spread_props$7(_object_spread$a({}, reference), {
9447
+ z.object(_object_spread_props$7(_object_spread$b({}, reference$1), {
9447
9448
  kind: z.literal("subscription"),
9448
9449
  outputs: z.record(projectPipelineKeySchema, projectPipelineRefSchema)
9449
9450
  })).strict()
9450
9451
  ]);
9451
9452
 
9452
- /** Checks declared dependencies only. Participant authorization and live capabilities require runtime resolution. */ function _array_like_to_array$g(arr, len) {
9453
+ /** Checks declared dependencies only. Participant authorization and live capabilities require runtime resolution. */ function _array_like_to_array$h(arr, len) {
9453
9454
  if (len == null || len > arr.length) len = arr.length;
9454
9455
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
9455
9456
  return arr2;
9456
9457
  }
9457
- function _array_with_holes$a(arr) {
9458
+ function _array_with_holes$b(arr) {
9458
9459
  if (Array.isArray(arr)) return arr;
9459
9460
  }
9460
9461
  function _array_without_holes$9(arr) {
9461
- if (Array.isArray(arr)) return _array_like_to_array$g(arr);
9462
+ if (Array.isArray(arr)) return _array_like_to_array$h(arr);
9462
9463
  }
9463
9464
  function _iterable_to_array$a(iter) {
9464
9465
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9465
9466
  }
9466
- function _iterable_to_array_limit$9(arr, i) {
9467
+ function _iterable_to_array_limit$a(arr, i) {
9467
9468
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
9468
9469
  if (_i == null) return;
9469
9470
  var _arr = [];
@@ -9487,25 +9488,25 @@ function _iterable_to_array_limit$9(arr, i) {
9487
9488
  }
9488
9489
  return _arr;
9489
9490
  }
9490
- function _non_iterable_rest$a() {
9491
+ function _non_iterable_rest$b() {
9491
9492
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9492
9493
  }
9493
9494
  function _non_iterable_spread$9() {
9494
9495
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9495
9496
  }
9496
- function _sliced_to_array$9(arr, i) {
9497
- return _array_with_holes$a(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$a();
9497
+ function _sliced_to_array$a(arr, i) {
9498
+ return _array_with_holes$b(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$h(arr, i) || _non_iterable_rest$b();
9498
9499
  }
9499
9500
  function _to_consumable_array$9(arr) {
9500
- return _array_without_holes$9(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$9();
9501
+ return _array_without_holes$9(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$h(arr) || _non_iterable_spread$9();
9501
9502
  }
9502
- function _unsupported_iterable_to_array$g(o, minLen) {
9503
+ function _unsupported_iterable_to_array$h(o, minLen) {
9503
9504
  if (!o) return;
9504
- if (typeof o === "string") return _array_like_to_array$g(o, minLen);
9505
+ if (typeof o === "string") return _array_like_to_array$h(o, minLen);
9505
9506
  var n = Object.prototype.toString.call(o).slice(8, -1);
9506
9507
  if (n === "Object" && o.constructor) n = o.constructor.name;
9507
9508
  if (n === "Map" || n === "Set") return Array.from(n);
9508
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$g(o, minLen);
9509
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$h(o, minLen);
9509
9510
  }
9510
9511
  function checkProjectPipelineConfiguration(configuration, descriptors) {
9511
9512
  var _template_presentation, _template_presentation_evidenceTypes, _template_presentation1, _template_metrics, _template_metrics1;
@@ -9621,7 +9622,7 @@ function checkProjectPipelineConfiguration(configuration, descriptors) {
9621
9622
  var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
9622
9623
  try {
9623
9624
  var _loop = function() {
9624
- var _step_value = _sliced_to_array$9(_step1.value, 2), index = _step_value[0], node = _step_value[1];
9625
+ var _step_value = _sliced_to_array$a(_step1.value, 2), index = _step_value[0], node = _step_value[1];
9625
9626
  var _binding_executorBindings_node_executorSlot, _binding_executorBindings;
9626
9627
  var path = [
9627
9628
  "template",
@@ -9632,7 +9633,7 @@ function checkProjectPipelineConfiguration(configuration, descriptors) {
9632
9633
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
9633
9634
  try {
9634
9635
  for(var _iterator = Object.entries((_node_outputPorts = node.outputPorts) !== null && _node_outputPorts !== void 0 ? _node_outputPorts : {})[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
9635
- var _step_value1 = _sliced_to_array$9(_step.value, 2), port = _step_value1[0], schemaRef = _step_value1[1];
9636
+ var _step_value1 = _sliced_to_array$a(_step.value, 2), port = _step_value1[0], schemaRef = _step_value1[1];
9636
9637
  requireRef("schema", schemaRef, _to_consumable_array$9(path).concat([
9637
9638
  "outputPorts",
9638
9639
  port
@@ -9713,7 +9714,7 @@ function checkProjectPipelineConfiguration(configuration, descriptors) {
9713
9714
  var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
9714
9715
  try {
9715
9716
  var _loop = function() {
9716
- var _step_value = _sliced_to_array$9(_step2.value, 2), port = _step_value[0], expected = _step_value[1];
9717
+ var _step_value = _sliced_to_array$a(_step2.value, 2), port = _step_value[0], expected = _step_value[1];
9717
9718
  var _nodes_get_outputPorts, _nodes_get;
9718
9719
  requireRef("schema", expected.schemaRef, _to_consumable_array$9(path).concat([
9719
9720
  "inputBindings",
@@ -9854,21 +9855,21 @@ function checkProjectPipelineConfiguration(configuration, descriptors) {
9854
9855
  }
9855
9856
  }
9856
9857
 
9857
- function _array_like_to_array$f(arr, len) {
9858
+ function _array_like_to_array$g(arr, len) {
9858
9859
  if (len == null || len > arr.length) len = arr.length;
9859
9860
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
9860
9861
  return arr2;
9861
9862
  }
9862
- function _array_with_holes$9(arr) {
9863
+ function _array_with_holes$a(arr) {
9863
9864
  if (Array.isArray(arr)) return arr;
9864
9865
  }
9865
9866
  function _array_without_holes$8(arr) {
9866
- if (Array.isArray(arr)) return _array_like_to_array$f(arr);
9867
+ if (Array.isArray(arr)) return _array_like_to_array$g(arr);
9867
9868
  }
9868
9869
  function _iterable_to_array$9(iter) {
9869
9870
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9870
9871
  }
9871
- function _iterable_to_array_limit$8(arr, i) {
9872
+ function _iterable_to_array_limit$9(arr, i) {
9872
9873
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
9873
9874
  if (_i == null) return;
9874
9875
  var _arr = [];
@@ -9892,25 +9893,25 @@ function _iterable_to_array_limit$8(arr, i) {
9892
9893
  }
9893
9894
  return _arr;
9894
9895
  }
9895
- function _non_iterable_rest$9() {
9896
+ function _non_iterable_rest$a() {
9896
9897
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9897
9898
  }
9898
9899
  function _non_iterable_spread$8() {
9899
9900
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9900
9901
  }
9901
- function _sliced_to_array$8(arr, i) {
9902
- return _array_with_holes$9(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$9();
9902
+ function _sliced_to_array$9(arr, i) {
9903
+ return _array_with_holes$a(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$a();
9903
9904
  }
9904
9905
  function _to_consumable_array$8(arr) {
9905
- return _array_without_holes$8(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$8();
9906
+ return _array_without_holes$8(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$8();
9906
9907
  }
9907
- function _unsupported_iterable_to_array$f(o, minLen) {
9908
+ function _unsupported_iterable_to_array$g(o, minLen) {
9908
9909
  if (!o) return;
9909
- if (typeof o === "string") return _array_like_to_array$f(o, minLen);
9910
+ if (typeof o === "string") return _array_like_to_array$g(o, minLen);
9910
9911
  var n = Object.prototype.toString.call(o).slice(8, -1);
9911
9912
  if (n === "Object" && o.constructor) n = o.constructor.name;
9912
9913
  if (n === "Map" || n === "Set") return Array.from(n);
9913
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
9914
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$g(o, minLen);
9914
9915
  }
9915
9916
  var key$2 = z.string().min(1).max(500);
9916
9917
  var timestamp = z.string().datetime({
@@ -10170,10 +10171,10 @@ var tombstone = z.object({
10170
10171
  return degree.set(edge.to, ((_degree_get = degree.get(edge.to)) !== null && _degree_get !== void 0 ? _degree_get : 0) + 1);
10171
10172
  });
10172
10173
  var queue = _to_consumable_array$8(degree).filter(function(param) {
10173
- var _param = _sliced_to_array$8(param, 2), n = _param[1];
10174
+ var _param = _sliced_to_array$9(param, 2), n = _param[1];
10174
10175
  return n === 0;
10175
10176
  }).map(function(param) {
10176
- var _param = _sliced_to_array$8(param, 1), key = _param[0];
10177
+ var _param = _sliced_to_array$9(param, 1), key = _param[0];
10177
10178
  return key;
10178
10179
  });
10179
10180
  var visited = 0;
@@ -10210,7 +10211,7 @@ var tombstone = z.object({
10210
10211
  ]);
10211
10212
  });
10212
10213
 
10213
- function _define_property$9(obj, key, value) {
10214
+ function _define_property$a(obj, key, value) {
10214
10215
  if (key in obj) {
10215
10216
  Object.defineProperty(obj, key, {
10216
10217
  value: value,
@@ -10223,7 +10224,7 @@ function _define_property$9(obj, key, value) {
10223
10224
  }
10224
10225
  return obj;
10225
10226
  }
10226
- function _object_spread$9(target) {
10227
+ function _object_spread$a(target) {
10227
10228
  for(var i = 1; i < arguments.length; i++){
10228
10229
  var source = arguments[i] != null ? arguments[i] : {};
10229
10230
  var ownKeys = Object.keys(source);
@@ -10233,7 +10234,7 @@ function _object_spread$9(target) {
10233
10234
  }));
10234
10235
  }
10235
10236
  ownKeys.forEach(function(key) {
10236
- _define_property$9(target, key, source[key]);
10237
+ _define_property$a(target, key, source[key]);
10237
10238
  });
10238
10239
  }
10239
10240
  return target;
@@ -10289,7 +10290,7 @@ function executionRuntimeTargetsEqual(left, right) {
10289
10290
  return left.version === right.version && left.kind === right.kind && left.generation === right.generation && (left.kind !== "host" || right.kind === "host" && left.hostId === right.hostId);
10290
10291
  }
10291
10292
  /** Control acknowledgements never constitute completion evidence. Missing evidence stays unknown. */ var executionControlEvidenceSchema = z.discriminatedUnion("source", [
10292
- z.object(_object_spread_props$6(_object_spread$9({}, base), {
10293
+ z.object(_object_spread_props$6(_object_spread$a({}, base), {
10293
10294
  source: z.literal("unavailable"),
10294
10295
  subject: subject,
10295
10296
  state: z.literal("unknown"),
@@ -10299,7 +10300,7 @@ function executionRuntimeTargetsEqual(left, right) {
10299
10300
  "unsupported"
10300
10301
  ])
10301
10302
  })).strict(),
10302
- z.object(_object_spread_props$6(_object_spread$9({}, base), {
10303
+ z.object(_object_spread_props$6(_object_spread$a({}, base), {
10303
10304
  source: z.literal("platform"),
10304
10305
  subject: subject,
10305
10306
  scope: z.literal("owned_subtree"),
@@ -10321,7 +10322,7 @@ function executionRuntimeTargetsEqual(left, right) {
10321
10322
  executionId: z.string().uuid(),
10322
10323
  threadId: z.string().min(1)
10323
10324
  })).strict(),
10324
- z.object(_object_spread_props$6(_object_spread$9({}, base), {
10325
+ z.object(_object_spread_props$6(_object_spread$a({}, base), {
10325
10326
  source: z.literal("provider"),
10326
10327
  subject: z.object({
10327
10328
  kind: z.literal("invocation"),
@@ -10339,7 +10340,7 @@ function executionRuntimeTargetsEqual(left, right) {
10339
10340
  receiptKey: z.string().min(1).max(500),
10340
10341
  target: executionRuntimeTargetSchema.optional()
10341
10342
  })).strict(),
10342
- z.object(_object_spread_props$6(_object_spread$9({}, base), {
10343
+ z.object(_object_spread_props$6(_object_spread$a({}, base), {
10343
10344
  source: z.literal("host_admission"),
10344
10345
  subject: z.object({
10345
10346
  kind: z.literal("invocation"),
@@ -10366,7 +10367,7 @@ function unknownExecutionControl(subject) {
10366
10367
  };
10367
10368
  }
10368
10369
 
10369
- function _define_property$8(obj, key, value) {
10370
+ function _define_property$9(obj, key, value) {
10370
10371
  if (key in obj) {
10371
10372
  Object.defineProperty(obj, key, {
10372
10373
  value: value,
@@ -10379,7 +10380,7 @@ function _define_property$8(obj, key, value) {
10379
10380
  }
10380
10381
  return obj;
10381
10382
  }
10382
- function _object_spread$8(target) {
10383
+ function _object_spread$9(target) {
10383
10384
  for(var i = 1; i < arguments.length; i++){
10384
10385
  var source = arguments[i] != null ? arguments[i] : {};
10385
10386
  var ownKeys = Object.keys(source);
@@ -10389,7 +10390,7 @@ function _object_spread$8(target) {
10389
10390
  }));
10390
10391
  }
10391
10392
  ownKeys.forEach(function(key) {
10392
- _define_property$8(target, key, source[key]);
10393
+ _define_property$9(target, key, source[key]);
10393
10394
  });
10394
10395
  }
10395
10396
  return target;
@@ -10474,20 +10475,20 @@ var receipt = {
10474
10475
  ]).optional()
10475
10476
  };
10476
10477
  var projectPipelineOperationReceiptSchema = z.discriminatedUnion("status", [
10477
- z.object(_object_spread_props$5(_object_spread$8({}, receipt), {
10478
+ z.object(_object_spread_props$5(_object_spread$9({}, receipt), {
10478
10479
  status: z.literal("pending")
10479
10480
  })).strict(),
10480
- z.object(_object_spread_props$5(_object_spread$8({}, receipt), {
10481
+ z.object(_object_spread_props$5(_object_spread$9({}, receipt), {
10481
10482
  status: z.literal("succeeded"),
10482
10483
  outputs: z.record(projectPipelineKeySchema, projectPipelineEvidenceRefSchema).refine(function(value) {
10483
10484
  return Object.keys(value).length <= 100;
10484
10485
  }, "Too many output ports")
10485
10486
  })).strict(),
10486
- z.object(_object_spread_props$5(_object_spread$8({}, receipt), {
10487
+ z.object(_object_spread_props$5(_object_spread$9({}, receipt), {
10487
10488
  status: z.literal("failed"),
10488
10489
  code: projectPipelineKeySchema
10489
10490
  })).strict(),
10490
- z.object(_object_spread_props$5(_object_spread$8({}, receipt), {
10491
+ z.object(_object_spread_props$5(_object_spread$9({}, receipt), {
10491
10492
  status: z.literal("cancelled")
10492
10493
  })).strict(),
10493
10494
  z.object({
@@ -10561,15 +10562,15 @@ var projectPipelineRetrySchema = z.object({
10561
10562
  generation: z.number().int().positive()
10562
10563
  }).strict();
10563
10564
 
10564
- function _array_like_to_array$e(arr, len) {
10565
+ function _array_like_to_array$f(arr, len) {
10565
10566
  if (len == null || len > arr.length) len = arr.length;
10566
10567
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
10567
10568
  return arr2;
10568
10569
  }
10569
10570
  function _array_without_holes$7(arr) {
10570
- if (Array.isArray(arr)) return _array_like_to_array$e(arr);
10571
+ if (Array.isArray(arr)) return _array_like_to_array$f(arr);
10571
10572
  }
10572
- function _define_property$7(obj, key, value) {
10573
+ function _define_property$8(obj, key, value) {
10573
10574
  if (key in obj) {
10574
10575
  Object.defineProperty(obj, key, {
10575
10576
  value: value,
@@ -10588,7 +10589,7 @@ function _iterable_to_array$8(iter) {
10588
10589
  function _non_iterable_spread$7() {
10589
10590
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10590
10591
  }
10591
- function _object_spread$7(target) {
10592
+ function _object_spread$8(target) {
10592
10593
  for(var i = 1; i < arguments.length; i++){
10593
10594
  var source = arguments[i] != null ? arguments[i] : {};
10594
10595
  var ownKeys = Object.keys(source);
@@ -10598,7 +10599,7 @@ function _object_spread$7(target) {
10598
10599
  }));
10599
10600
  }
10600
10601
  ownKeys.forEach(function(key) {
10601
- _define_property$7(target, key, source[key]);
10602
+ _define_property$8(target, key, source[key]);
10602
10603
  });
10603
10604
  }
10604
10605
  return target;
@@ -10623,15 +10624,15 @@ function _object_spread_props$4(target, source) {
10623
10624
  return target;
10624
10625
  }
10625
10626
  function _to_consumable_array$7(arr) {
10626
- return _array_without_holes$7(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$7();
10627
+ return _array_without_holes$7(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$7();
10627
10628
  }
10628
- function _unsupported_iterable_to_array$e(o, minLen) {
10629
+ function _unsupported_iterable_to_array$f(o, minLen) {
10629
10630
  if (!o) return;
10630
- if (typeof o === "string") return _array_like_to_array$e(o, minLen);
10631
+ if (typeof o === "string") return _array_like_to_array$f(o, minLen);
10631
10632
  var n = Object.prototype.toString.call(o).slice(8, -1);
10632
10633
  if (n === "Object" && o.constructor) n = o.constructor.name;
10633
10634
  if (n === "Map" || n === "Set") return Array.from(n);
10634
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
10635
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
10635
10636
  }
10636
10637
  var count$5 = z.number().int().nonnegative();
10637
10638
  var pipelineAttemptCountsSchema = z.object({
@@ -10806,22 +10807,22 @@ function pipelineExecutorStatistics(facts) {
10806
10807
  }
10807
10808
  return _to_consumable_array$7(groups.values()).map(function(param) {
10808
10809
  var identity = param.identity, _$facts = param.facts;
10809
- return _object_spread_props$4(_object_spread$7({}, identity), {
10810
+ return _object_spread_props$4(_object_spread$8({}, identity), {
10810
10811
  attempts: pipelineAttemptCounts(_$facts),
10811
10812
  timing: pipelineExecutionTiming(_$facts)
10812
10813
  });
10813
10814
  });
10814
10815
  }
10815
10816
 
10816
- function _array_like_to_array$d(arr, len) {
10817
+ function _array_like_to_array$e(arr, len) {
10817
10818
  if (len == null || len > arr.length) len = arr.length;
10818
10819
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
10819
10820
  return arr2;
10820
10821
  }
10821
10822
  function _array_without_holes$6(arr) {
10822
- if (Array.isArray(arr)) return _array_like_to_array$d(arr);
10823
+ if (Array.isArray(arr)) return _array_like_to_array$e(arr);
10823
10824
  }
10824
- function _define_property$6(obj, key, value) {
10825
+ function _define_property$7(obj, key, value) {
10825
10826
  if (key in obj) {
10826
10827
  Object.defineProperty(obj, key, {
10827
10828
  value: value,
@@ -10840,7 +10841,7 @@ function _iterable_to_array$7(iter) {
10840
10841
  function _non_iterable_spread$6() {
10841
10842
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10842
10843
  }
10843
- function _object_spread$6(target) {
10844
+ function _object_spread$7(target) {
10844
10845
  for(var i = 1; i < arguments.length; i++){
10845
10846
  var source = arguments[i] != null ? arguments[i] : {};
10846
10847
  var ownKeys = Object.keys(source);
@@ -10850,7 +10851,7 @@ function _object_spread$6(target) {
10850
10851
  }));
10851
10852
  }
10852
10853
  ownKeys.forEach(function(key) {
10853
- _define_property$6(target, key, source[key]);
10854
+ _define_property$7(target, key, source[key]);
10854
10855
  });
10855
10856
  }
10856
10857
  return target;
@@ -10875,15 +10876,15 @@ function _object_spread_props$3(target, source) {
10875
10876
  return target;
10876
10877
  }
10877
10878
  function _to_consumable_array$6(arr) {
10878
- return _array_without_holes$6(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$d(arr) || _non_iterable_spread$6();
10879
+ return _array_without_holes$6(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$6();
10879
10880
  }
10880
- function _unsupported_iterable_to_array$d(o, minLen) {
10881
+ function _unsupported_iterable_to_array$e(o, minLen) {
10881
10882
  if (!o) return;
10882
- if (typeof o === "string") return _array_like_to_array$d(o, minLen);
10883
+ if (typeof o === "string") return _array_like_to_array$e(o, minLen);
10883
10884
  var n = Object.prototype.toString.call(o).slice(8, -1);
10884
10885
  if (n === "Object" && o.constructor) n = o.constructor.name;
10885
10886
  if (n === "Map" || n === "Set") return Array.from(n);
10886
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
10887
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
10887
10888
  }
10888
10889
  var count$4 = z.number().int().nonnegative();
10889
10890
  var tokens = z.number().int().nonnegative().safe();
@@ -11039,7 +11040,7 @@ function pipelineModelUsageStatistics(facts, coverage) {
11039
11040
  }
11040
11041
  }
11041
11042
  }
11042
- return _object_spread_props$3(_object_spread$6({
11043
+ return _object_spread_props$3(_object_spread$7({
11043
11044
  scope: "linked_native_llm_calls"
11044
11045
  }, coverage, totals(calls)), {
11045
11046
  unpricedCalls: unpricedCalls,
@@ -11047,7 +11048,7 @@ function pipelineModelUsageStatistics(facts, coverage) {
11047
11048
  return a.currency.localeCompare(b.currency);
11048
11049
  }),
11049
11050
  byModel: _to_consumable_array$6(models.values()).map(function(group) {
11050
- return _object_spread$6({
11051
+ return _object_spread$7({
11051
11052
  provider: group[0].provider,
11052
11053
  model: group[0].model
11053
11054
  }, totals(group));
@@ -11070,13 +11071,13 @@ function pipelineNodeNeedsHuman(node) {
11070
11071
  ].includes(node.state.lifecycle) && node.state.readiness === "ready";
11071
11072
  }
11072
11073
 
11073
- function _array_like_to_array$c(arr, len) {
11074
+ function _array_like_to_array$d(arr, len) {
11074
11075
  if (len == null || len > arr.length) len = arr.length;
11075
11076
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
11076
11077
  return arr2;
11077
11078
  }
11078
11079
  function _array_without_holes$5(arr) {
11079
- if (Array.isArray(arr)) return _array_like_to_array$c(arr);
11080
+ if (Array.isArray(arr)) return _array_like_to_array$d(arr);
11080
11081
  }
11081
11082
  function _iterable_to_array$6(iter) {
11082
11083
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -11085,15 +11086,15 @@ function _non_iterable_spread$5() {
11085
11086
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11086
11087
  }
11087
11088
  function _to_consumable_array$5(arr) {
11088
- return _array_without_holes$5(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$5();
11089
+ return _array_without_holes$5(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$d(arr) || _non_iterable_spread$5();
11089
11090
  }
11090
- function _unsupported_iterable_to_array$c(o, minLen) {
11091
+ function _unsupported_iterable_to_array$d(o, minLen) {
11091
11092
  if (!o) return;
11092
- if (typeof o === "string") return _array_like_to_array$c(o, minLen);
11093
+ if (typeof o === "string") return _array_like_to_array$d(o, minLen);
11093
11094
  var n = Object.prototype.toString.call(o).slice(8, -1);
11094
11095
  if (n === "Object" && o.constructor) n = o.constructor.name;
11095
11096
  if (n === "Map" || n === "Set") return Array.from(n);
11096
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
11097
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
11097
11098
  }
11098
11099
  var count$3 = z.number().int().nonnegative();
11099
11100
  var projectPipelineWorkCountsSchema = z.object({
@@ -11256,18 +11257,18 @@ function selectedPipelineAttemptFacts(nodes, executions) {
11256
11257
  }).strict()
11257
11258
  ]);
11258
11259
 
11259
- function _array_like_to_array$b(arr, len) {
11260
+ function _array_like_to_array$c(arr, len) {
11260
11261
  if (len == null || len > arr.length) len = arr.length;
11261
11262
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
11262
11263
  return arr2;
11263
11264
  }
11264
- function _array_with_holes$8(arr) {
11265
+ function _array_with_holes$9(arr) {
11265
11266
  if (Array.isArray(arr)) return arr;
11266
11267
  }
11267
11268
  function _array_without_holes$4(arr) {
11268
- if (Array.isArray(arr)) return _array_like_to_array$b(arr);
11269
+ if (Array.isArray(arr)) return _array_like_to_array$c(arr);
11269
11270
  }
11270
- function _define_property$5(obj, key, value) {
11271
+ function _define_property$6(obj, key, value) {
11271
11272
  if (key in obj) {
11272
11273
  Object.defineProperty(obj, key, {
11273
11274
  value: value,
@@ -11283,7 +11284,7 @@ function _define_property$5(obj, key, value) {
11283
11284
  function _iterable_to_array$5(iter) {
11284
11285
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
11285
11286
  }
11286
- function _iterable_to_array_limit$7(arr, i) {
11287
+ function _iterable_to_array_limit$8(arr, i) {
11287
11288
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
11288
11289
  if (_i == null) return;
11289
11290
  var _arr = [];
@@ -11307,13 +11308,13 @@ function _iterable_to_array_limit$7(arr, i) {
11307
11308
  }
11308
11309
  return _arr;
11309
11310
  }
11310
- function _non_iterable_rest$8() {
11311
+ function _non_iterable_rest$9() {
11311
11312
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11312
11313
  }
11313
11314
  function _non_iterable_spread$4() {
11314
11315
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11315
11316
  }
11316
- function _object_spread$5(target) {
11317
+ function _object_spread$6(target) {
11317
11318
  for(var i = 1; i < arguments.length; i++){
11318
11319
  var source = arguments[i] != null ? arguments[i] : {};
11319
11320
  var ownKeys = Object.keys(source);
@@ -11323,7 +11324,7 @@ function _object_spread$5(target) {
11323
11324
  }));
11324
11325
  }
11325
11326
  ownKeys.forEach(function(key) {
11326
- _define_property$5(target, key, source[key]);
11327
+ _define_property$6(target, key, source[key]);
11327
11328
  });
11328
11329
  }
11329
11330
  return target;
@@ -11347,19 +11348,19 @@ function _object_spread_props$2(target, source) {
11347
11348
  }
11348
11349
  return target;
11349
11350
  }
11350
- function _sliced_to_array$7(arr, i) {
11351
- return _array_with_holes$8(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$b(arr, i) || _non_iterable_rest$8();
11351
+ function _sliced_to_array$8(arr, i) {
11352
+ return _array_with_holes$9(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$9();
11352
11353
  }
11353
11354
  function _to_consumable_array$4(arr) {
11354
- return _array_without_holes$4(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$4();
11355
+ return _array_without_holes$4(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$4();
11355
11356
  }
11356
- function _unsupported_iterable_to_array$b(o, minLen) {
11357
+ function _unsupported_iterable_to_array$c(o, minLen) {
11357
11358
  if (!o) return;
11358
- if (typeof o === "string") return _array_like_to_array$b(o, minLen);
11359
+ if (typeof o === "string") return _array_like_to_array$c(o, minLen);
11359
11360
  var n = Object.prototype.toString.call(o).slice(8, -1);
11360
11361
  if (n === "Object" && o.constructor) n = o.constructor.name;
11361
11362
  if (n === "Map" || n === "Set") return Array.from(n);
11362
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
11363
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
11363
11364
  }
11364
11365
  var label$1 = z.object({
11365
11366
  en_US: z.string().min(1).max(200),
@@ -11375,30 +11376,30 @@ var option = z.object({
11375
11376
  label: label$1
11376
11377
  }).strict();
11377
11378
  var projectPipelineParameterFieldSchema = z.discriminatedUnion("type", [
11378
- z.object(_object_spread_props$2(_object_spread$5({}, field), {
11379
+ z.object(_object_spread_props$2(_object_spread$6({}, field), {
11379
11380
  type: z.literal("boolean")
11380
11381
  })).strict(),
11381
- z.object(_object_spread_props$2(_object_spread$5({}, field), {
11382
+ z.object(_object_spread_props$2(_object_spread$6({}, field), {
11382
11383
  type: z.literal("text"),
11383
11384
  maxLength: z.number().int().min(1).max(4000),
11384
11385
  minLength: z.number().int().min(0).max(4000)
11385
11386
  })).strict(),
11386
- z.object(_object_spread_props$2(_object_spread$5({}, field), {
11387
+ z.object(_object_spread_props$2(_object_spread$6({}, field), {
11387
11388
  type: z.literal("number"),
11388
11389
  min: z.number().finite(),
11389
11390
  max: z.number().finite(),
11390
11391
  integer: z.boolean()
11391
11392
  })).strict(),
11392
- z.object(_object_spread_props$2(_object_spread$5({}, field), {
11393
+ z.object(_object_spread_props$2(_object_spread$6({}, field), {
11393
11394
  type: z.literal("choice"),
11394
11395
  options: z.array(option).min(1).max(100)
11395
11396
  })).strict(),
11396
- z.object(_object_spread_props$2(_object_spread$5({}, field), {
11397
+ z.object(_object_spread_props$2(_object_spread$6({}, field), {
11397
11398
  type: z.literal("multi_choice"),
11398
11399
  options: z.array(option).min(1).max(100),
11399
11400
  minItems: z.number().int().min(0).max(100).default(0)
11400
11401
  })).strict(),
11401
- z.object(_object_spread_props$2(_object_spread$5({}, field), {
11402
+ z.object(_object_spread_props$2(_object_spread$6({}, field), {
11402
11403
  type: z.literal("string_list"),
11403
11404
  maxItems: z.number().int().min(1).max(100),
11404
11405
  itemMaxLength: z.number().int().min(1).max(500)
@@ -11435,7 +11436,7 @@ var projectPipelineConfigurationFormSchema = z.object({
11435
11436
  })
11436
11437
  ]
11437
11438
  ]; _i < _iter.length; _i++){
11438
- var _iter__i = _sliced_to_array$7(_iter[_i], 2), path = _iter__i[0], keys = _iter__i[1];
11439
+ var _iter__i = _sliced_to_array$8(_iter[_i], 2), path = _iter__i[0], keys = _iter__i[1];
11439
11440
  if (new Set(keys).size !== keys.length) context.addIssue({
11440
11441
  code: "custom",
11441
11442
  message: "DUPLICATE_CONFIGURATION_FIELD",
@@ -11575,10 +11576,10 @@ function parameterSchema(field) {
11575
11576
  if (!sameKeys(form.assistantSlots.map(function(item) {
11576
11577
  return item.slot;
11577
11578
  }), Object.entries((_configuration_binding_executorBindings = configuration.binding.executorBindings) !== null && _configuration_binding_executorBindings !== void 0 ? _configuration_binding_executorBindings : {}).filter(function(param) {
11578
- var _param = _sliced_to_array$7(param, 2), executor = _param[1];
11579
+ var _param = _sliced_to_array$8(param, 2), executor = _param[1];
11579
11580
  return executor.kind === "assistant";
11580
11581
  }).map(function(param) {
11581
- var _param = _sliced_to_array$7(param, 1), slot = _param[0];
11582
+ var _param = _sliced_to_array$8(param, 1), slot = _param[0];
11582
11583
  return slot;
11583
11584
  }))) throw new Error("PIPELINE_CONFIGURATION_SLOTS_INCOMPLETE");
11584
11585
  var _form_runtimeSlots, _input_runtimes;
@@ -11587,10 +11588,10 @@ function parameterSchema(field) {
11587
11588
  if (!sameKeys(runtimeSlots.map(function(item) {
11588
11589
  return item.slot;
11589
11590
  }), Object.entries((_configuration_binding_executorBindings1 = configuration.binding.executorBindings) !== null && _configuration_binding_executorBindings1 !== void 0 ? _configuration_binding_executorBindings1 : {}).filter(function(param) {
11590
- var _param = _sliced_to_array$7(param, 2), executor = _param[1];
11591
+ var _param = _sliced_to_array$8(param, 2), executor = _param[1];
11591
11592
  return executor.kind === "runtime_binding";
11592
11593
  }).map(function(param) {
11593
- var _param = _sliced_to_array$7(param, 1), slot = _param[0];
11594
+ var _param = _sliced_to_array$8(param, 1), slot = _param[0];
11594
11595
  return slot;
11595
11596
  }))) throw new Error("PIPELINE_CONFIGURATION_SLOTS_INCOMPLETE");
11596
11597
  if (!sameKeys(Object.keys(input.assistants), form.assistantSlots.map(function(item) {
@@ -11601,13 +11602,13 @@ function parameterSchema(field) {
11601
11602
  return item.key;
11602
11603
  }))) throw new Error("PIPELINE_CONFIGURATION_FIELDS_MISMATCH");
11603
11604
  var _configuration_binding_executorBindings2;
11604
- var binding = _object_spread_props$2(_object_spread$5({}, configuration.binding), {
11605
- parameters: _object_spread$5({}, configuration.binding.parameters),
11605
+ var binding = _object_spread_props$2(_object_spread$6({}, configuration.binding), {
11606
+ parameters: _object_spread$6({}, configuration.binding.parameters),
11606
11607
  executorBindings: Object.fromEntries(Object.entries((_configuration_binding_executorBindings2 = configuration.binding.executorBindings) !== null && _configuration_binding_executorBindings2 !== void 0 ? _configuration_binding_executorBindings2 : {}).map(function(param) {
11607
- var _param = _sliced_to_array$7(param, 2), key = _param[0], executor = _param[1];
11608
+ var _param = _sliced_to_array$8(param, 2), key = _param[0], executor = _param[1];
11608
11609
  return [
11609
11610
  key,
11610
- _object_spread$5({}, executor)
11611
+ _object_spread$6({}, executor)
11611
11612
  ];
11612
11613
  }))
11613
11614
  });
@@ -11623,7 +11624,7 @@ function parameterSchema(field) {
11623
11624
  var key = _iter[_i];
11624
11625
  if (budget[key] > form.nativeModelBudget[key]) throw new Error("PIPELINE_CONFIGURATION_BUDGET_LIMIT");
11625
11626
  }
11626
- binding.limits = _object_spread_props$2(_object_spread$5({}, binding.limits), {
11627
+ binding.limits = _object_spread_props$2(_object_spread$6({}, binding.limits), {
11627
11628
  nativeModelBudget: budget
11628
11629
  });
11629
11630
  } else if (input.nativeModelBudget !== undefined) throw new Error("PIPELINE_CONFIGURATION_FIELDS_MISMATCH");
@@ -11695,14 +11696,14 @@ function parameterSchema(field) {
11695
11696
  }
11696
11697
  }
11697
11698
  }
11698
- return projectPipelineConfigurationSchema.parse(_object_spread_props$2(_object_spread$5({}, configuration), {
11699
+ return projectPipelineConfigurationSchema.parse(_object_spread_props$2(_object_spread$6({}, configuration), {
11699
11700
  binding: binding
11700
11701
  }));
11701
11702
  }
11702
11703
  /** Registration validates defaults without requiring portable Assistant placeholders to be UUIDs. */ function validateProjectPipelineConfigurationForm(configuration, form) {
11703
11704
  var _configuration_binding_limits;
11704
11705
  var _form_runtimeSlots;
11705
- return configureProjectPipelineFromForm(configuration, form, _object_spread_props$2(_object_spread$5({}, form.nativeModelBudget ? {
11706
+ return configureProjectPipelineFromForm(configuration, form, _object_spread_props$2(_object_spread$6({}, form.nativeModelBudget ? {
11706
11707
  nativeModelBudget: (_configuration_binding_limits = configuration.binding.limits) === null || _configuration_binding_limits === void 0 ? void 0 : _configuration_binding_limits.nativeModelBudget
11707
11708
  } : {}), {
11708
11709
  assistants: Object.fromEntries(form.assistantSlots.map(function(item) {
@@ -11808,13 +11809,13 @@ var projectPipelineProviderActionsSchema = z.object({
11808
11809
  operations: z.array(projectPipelineProviderActionViewSchema).max(50)
11809
11810
  }).strict();
11810
11811
 
11811
- function _array_like_to_array$a(arr, len) {
11812
+ function _array_like_to_array$b(arr, len) {
11812
11813
  if (len == null || len > arr.length) len = arr.length;
11813
11814
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
11814
11815
  return arr2;
11815
11816
  }
11816
11817
  function _array_without_holes$3(arr) {
11817
- if (Array.isArray(arr)) return _array_like_to_array$a(arr);
11818
+ if (Array.isArray(arr)) return _array_like_to_array$b(arr);
11818
11819
  }
11819
11820
  function _iterable_to_array$4(iter) {
11820
11821
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -11823,15 +11824,15 @@ function _non_iterable_spread$3() {
11823
11824
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11824
11825
  }
11825
11826
  function _to_consumable_array$3(arr) {
11826
- return _array_without_holes$3(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$3();
11827
+ return _array_without_holes$3(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$3();
11827
11828
  }
11828
- function _unsupported_iterable_to_array$a(o, minLen) {
11829
+ function _unsupported_iterable_to_array$b(o, minLen) {
11829
11830
  if (!o) return;
11830
- if (typeof o === "string") return _array_like_to_array$a(o, minLen);
11831
+ if (typeof o === "string") return _array_like_to_array$b(o, minLen);
11831
11832
  var n = Object.prototype.toString.call(o).slice(8, -1);
11832
11833
  if (n === "Object" && o.constructor) n = o.constructor.name;
11833
11834
  if (n === "Map" || n === "Set") return Array.from(n);
11834
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
11835
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
11835
11836
  }
11836
11837
  var count$2 = z.number().int().nonnegative();
11837
11838
  var metrics = z.object({
@@ -11973,18 +11974,18 @@ var pipelineQueueStatisticsSchema = z.object({
11973
11974
  };
11974
11975
  }
11975
11976
 
11976
- function _array_like_to_array$9(arr, len) {
11977
+ function _array_like_to_array$a(arr, len) {
11977
11978
  if (len == null || len > arr.length) len = arr.length;
11978
11979
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
11979
11980
  return arr2;
11980
11981
  }
11981
- function _array_with_holes$7(arr) {
11982
+ function _array_with_holes$8(arr) {
11982
11983
  if (Array.isArray(arr)) return arr;
11983
11984
  }
11984
11985
  function _array_without_holes$2(arr) {
11985
- if (Array.isArray(arr)) return _array_like_to_array$9(arr);
11986
+ if (Array.isArray(arr)) return _array_like_to_array$a(arr);
11986
11987
  }
11987
- function _define_property$4(obj, key, value) {
11988
+ function _define_property$5(obj, key, value) {
11988
11989
  if (key in obj) {
11989
11990
  Object.defineProperty(obj, key, {
11990
11991
  value: value,
@@ -12000,7 +12001,7 @@ function _define_property$4(obj, key, value) {
12000
12001
  function _iterable_to_array$3(iter) {
12001
12002
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
12002
12003
  }
12003
- function _iterable_to_array_limit$6(arr, i) {
12004
+ function _iterable_to_array_limit$7(arr, i) {
12004
12005
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
12005
12006
  if (_i == null) return;
12006
12007
  var _arr = [];
@@ -12024,13 +12025,13 @@ function _iterable_to_array_limit$6(arr, i) {
12024
12025
  }
12025
12026
  return _arr;
12026
12027
  }
12027
- function _non_iterable_rest$7() {
12028
+ function _non_iterable_rest$8() {
12028
12029
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12029
12030
  }
12030
12031
  function _non_iterable_spread$2() {
12031
12032
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12032
12033
  }
12033
- function _object_spread$4(target) {
12034
+ function _object_spread$5(target) {
12034
12035
  for(var i = 1; i < arguments.length; i++){
12035
12036
  var source = arguments[i] != null ? arguments[i] : {};
12036
12037
  var ownKeys = Object.keys(source);
@@ -12040,7 +12041,7 @@ function _object_spread$4(target) {
12040
12041
  }));
12041
12042
  }
12042
12043
  ownKeys.forEach(function(key) {
12043
- _define_property$4(target, key, source[key]);
12044
+ _define_property$5(target, key, source[key]);
12044
12045
  });
12045
12046
  }
12046
12047
  return target;
@@ -12064,19 +12065,19 @@ function _object_spread_props$1(target, source) {
12064
12065
  }
12065
12066
  return target;
12066
12067
  }
12067
- function _sliced_to_array$6(arr, i) {
12068
- return _array_with_holes$7(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$7();
12068
+ function _sliced_to_array$7(arr, i) {
12069
+ return _array_with_holes$8(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$8();
12069
12070
  }
12070
12071
  function _to_consumable_array$2(arr) {
12071
- return _array_without_holes$2(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$9(arr) || _non_iterable_spread$2();
12072
+ return _array_without_holes$2(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$2();
12072
12073
  }
12073
- function _unsupported_iterable_to_array$9(o, minLen) {
12074
+ function _unsupported_iterable_to_array$a(o, minLen) {
12074
12075
  if (!o) return;
12075
- if (typeof o === "string") return _array_like_to_array$9(o, minLen);
12076
+ if (typeof o === "string") return _array_like_to_array$a(o, minLen);
12076
12077
  var n = Object.prototype.toString.call(o).slice(8, -1);
12077
12078
  if (n === "Object" && o.constructor) n = o.constructor.name;
12078
12079
  if (n === "Map" || n === "Set") return Array.from(n);
12079
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
12080
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
12080
12081
  }
12081
12082
  var count$1 = z.number().int().nonnegative();
12082
12083
  var pipelineHumanWaitStatisticsSchema = z.object({
@@ -12101,7 +12102,7 @@ function unionDuration(ranges) {
12101
12102
  for(var _iterator = _to_consumable_array$2(ranges).sort(function(a, b) {
12102
12103
  return a[0] - b[0];
12103
12104
  })[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
12104
- var _step_value = _sliced_to_array$6(_step.value, 2), start = _step_value[0], end = _step_value[1];
12105
+ var _step_value = _sliced_to_array$7(_step.value, 2), start = _step_value[0], end = _step_value[1];
12105
12106
  duration += Math.max(0, end - Math.max(start, until));
12106
12107
  until = Math.max(until, end);
12107
12108
  }
@@ -12163,7 +12164,7 @@ function unionDuration(ranges) {
12163
12164
  try {
12164
12165
  for(var _iterator = open.values()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
12165
12166
  var value = _step.value;
12166
- intervals.push(_object_spread_props$1(_object_spread$4({}, value), {
12167
+ intervals.push(_object_spread_props$1(_object_spread$5({}, value), {
12167
12168
  end: lastAt,
12168
12169
  ongoing: false,
12169
12170
  censored: true
@@ -12214,9 +12215,9 @@ function unionDuration(ranges) {
12214
12215
  var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
12215
12216
  try {
12216
12217
  for(var _iterator1 = open[Symbol.iterator](), _step2; !(_iteratorNormalCompletion1 = (_step2 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
12217
- var _step_value = _sliced_to_array$6(_step2.value, 2), id = _step_value[0], value = _step_value[1];
12218
+ var _step_value = _sliced_to_array$7(_step2.value, 2), id = _step_value[0], value = _step_value[1];
12218
12219
  if (!ready.has(id)) {
12219
- intervals.push(_object_spread_props$1(_object_spread$4({}, value), {
12220
+ intervals.push(_object_spread_props$1(_object_spread$5({}, value), {
12220
12221
  end: at,
12221
12222
  ongoing: false
12222
12223
  }));
@@ -12281,16 +12282,16 @@ function unionDuration(ranges) {
12281
12282
  var _iteratorNormalCompletion3 = true, _didIteratorError3 = false, _iteratorError3 = undefined;
12282
12283
  try {
12283
12284
  for(var _iterator3 = open[Symbol.iterator](), _step4; !(_iteratorNormalCompletion3 = (_step4 = _iterator3.next()).done); _iteratorNormalCompletion3 = true){
12284
- var _step_value1 = _sliced_to_array$6(_step4.value, 2), id2 = _step_value1[0], value1 = _step_value1[1];
12285
+ var _step_value1 = _sliced_to_array$7(_step4.value, 2), id2 = _step_value1[0], value1 = _step_value1[1];
12285
12286
  // Current state is independently read from the same MVCC snapshot. Divergence must not extend an interval.
12286
12287
  if (currentWaiting.has(id2)) {
12287
- intervals.push(_object_spread_props$1(_object_spread$4({}, value1), {
12288
+ intervals.push(_object_spread_props$1(_object_spread$5({}, value1), {
12288
12289
  end: now,
12289
12290
  ongoing: true
12290
12291
  }));
12291
12292
  tracked.add(id2);
12292
12293
  } else {
12293
- intervals.push(_object_spread_props$1(_object_spread$4({}, value1), {
12294
+ intervals.push(_object_spread_props$1(_object_spread$5({}, value1), {
12294
12295
  end: lastAt,
12295
12296
  ongoing: false,
12296
12297
  censored: true
@@ -12335,7 +12336,7 @@ function unionDuration(ranges) {
12335
12336
  var selected = intervals.filter(function(interval) {
12336
12337
  return interval.start < to && interval.end >= from && interval.end >= interval.start;
12337
12338
  }).map(function(interval) {
12338
- return _object_spread_props$1(_object_spread$4({}, interval), {
12339
+ return _object_spread_props$1(_object_spread$5({}, interval), {
12339
12340
  start: Math.max(from, interval.start),
12340
12341
  end: Math.min(to, interval.end)
12341
12342
  });
@@ -12347,10 +12348,10 @@ function unionDuration(ranges) {
12347
12348
  ];
12348
12349
  });
12349
12350
  var observedWindowMs = unionDuration(covered.filter(function(param) {
12350
- var _param = _sliced_to_array$6(param, 2), start = _param[0], end = _param[1];
12351
+ var _param = _sliced_to_array$7(param, 2), start = _param[0], end = _param[1];
12351
12352
  return start < to && end > from;
12352
12353
  }).map(function(param) {
12353
- var _param = _sliced_to_array$6(param, 2), start = _param[0], end = _param[1];
12354
+ var _param = _sliced_to_array$7(param, 2), start = _param[0], end = _param[1];
12354
12355
  return [
12355
12356
  Math.max(start, from),
12356
12357
  Math.min(end, to)
@@ -12381,7 +12382,7 @@ function unionDuration(ranges) {
12381
12382
  };
12382
12383
  }
12383
12384
 
12384
- function _define_property$3(obj, key, value) {
12385
+ function _define_property$4(obj, key, value) {
12385
12386
  if (key in obj) {
12386
12387
  Object.defineProperty(obj, key, {
12387
12388
  value: value,
@@ -12394,7 +12395,7 @@ function _define_property$3(obj, key, value) {
12394
12395
  }
12395
12396
  return obj;
12396
12397
  }
12397
- function _object_spread$3(target) {
12398
+ function _object_spread$4(target) {
12398
12399
  for(var i = 1; i < arguments.length; i++){
12399
12400
  var source = arguments[i] != null ? arguments[i] : {};
12400
12401
  var ownKeys = Object.keys(source);
@@ -12404,7 +12405,7 @@ function _object_spread$3(target) {
12404
12405
  }));
12405
12406
  }
12406
12407
  ownKeys.forEach(function(key) {
12407
- _define_property$3(target, key, source[key]);
12408
+ _define_property$4(target, key, source[key]);
12408
12409
  });
12409
12410
  }
12410
12411
  return target;
@@ -12544,7 +12545,7 @@ var projectPipelineAnalyticsSchema = z.object({
12544
12545
  }
12545
12546
  /** One complete authorized snapshot, with a start-time cohort separate from current business state. */ function projectPipelineAnalytics(projectId, instances, executions, window, snapshotAt) {
12546
12547
  var instancesWithoutCurrentRound = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : 0;
12547
- return _object_spread$3({
12548
+ return _object_spread$4({
12548
12549
  projectId: projectId
12549
12550
  }, aggregatePipelineAnalytics(instances, executions, window, snapshotAt, instancesWithoutCurrentRound));
12550
12551
  }
@@ -12603,13 +12604,13 @@ var projectPipelineAnalyticsSchema = z.object({
12603
12604
  };
12604
12605
  }
12605
12606
 
12606
- function _array_like_to_array$8(arr, len) {
12607
+ function _array_like_to_array$9(arr, len) {
12607
12608
  if (len == null || len > arr.length) len = arr.length;
12608
12609
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
12609
12610
  return arr2;
12610
12611
  }
12611
12612
  function _array_without_holes$1(arr) {
12612
- if (Array.isArray(arr)) return _array_like_to_array$8(arr);
12613
+ if (Array.isArray(arr)) return _array_like_to_array$9(arr);
12613
12614
  }
12614
12615
  function _iterable_to_array$2(iter) {
12615
12616
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -12618,15 +12619,15 @@ function _non_iterable_spread$1() {
12618
12619
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12619
12620
  }
12620
12621
  function _to_consumable_array$1(arr) {
12621
- return _array_without_holes$1(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$8(arr) || _non_iterable_spread$1();
12622
+ return _array_without_holes$1(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$9(arr) || _non_iterable_spread$1();
12622
12623
  }
12623
- function _unsupported_iterable_to_array$8(o, minLen) {
12624
+ function _unsupported_iterable_to_array$9(o, minLen) {
12624
12625
  if (!o) return;
12625
- if (typeof o === "string") return _array_like_to_array$8(o, minLen);
12626
+ if (typeof o === "string") return _array_like_to_array$9(o, minLen);
12626
12627
  var n = Object.prototype.toString.call(o).slice(8, -1);
12627
12628
  if (n === "Object" && o.constructor) n = o.constructor.name;
12628
12629
  if (n === "Map" || n === "Set") return Array.from(n);
12629
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
12630
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
12630
12631
  }
12631
12632
  /** Keys identify actual resources across Projects/tenants, never caller-supplied aliases or paths. */ var projectPipelineResourceClaimSchema = z.object({
12632
12633
  key: z.string().regex(/^[a-f0-9]{64}$/),
@@ -12672,15 +12673,15 @@ var projectPipelinePortfolioSchema = z.object({
12672
12673
  sharedAcrossProjects: z.number().int().nonnegative()
12673
12674
  }).strict();
12674
12675
 
12675
- /** Derive requirements from typed execution semantics even when a legacy template omits its declaration. */ function _array_like_to_array$7(arr, len) {
12676
+ /** Derive requirements from typed execution semantics even when a legacy template omits its declaration. */ function _array_like_to_array$8(arr, len) {
12676
12677
  if (len == null || len > arr.length) len = arr.length;
12677
12678
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
12678
12679
  return arr2;
12679
12680
  }
12680
- function _array_with_holes$6(arr) {
12681
+ function _array_with_holes$7(arr) {
12681
12682
  if (Array.isArray(arr)) return arr;
12682
12683
  }
12683
- function _iterable_to_array_limit$5(arr, i) {
12684
+ function _iterable_to_array_limit$6(arr, i) {
12684
12685
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
12685
12686
  if (_i == null) return;
12686
12687
  var _arr = [];
@@ -12704,19 +12705,19 @@ function _iterable_to_array_limit$5(arr, i) {
12704
12705
  }
12705
12706
  return _arr;
12706
12707
  }
12707
- function _non_iterable_rest$6() {
12708
+ function _non_iterable_rest$7() {
12708
12709
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12709
12710
  }
12710
- function _sliced_to_array$5(arr, i) {
12711
- return _array_with_holes$6(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$6();
12711
+ function _sliced_to_array$6(arr, i) {
12712
+ return _array_with_holes$7(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$7();
12712
12713
  }
12713
- function _unsupported_iterable_to_array$7(o, minLen) {
12714
+ function _unsupported_iterable_to_array$8(o, minLen) {
12714
12715
  if (!o) return;
12715
- if (typeof o === "string") return _array_like_to_array$7(o, minLen);
12716
+ if (typeof o === "string") return _array_like_to_array$8(o, minLen);
12716
12717
  var n = Object.prototype.toString.call(o).slice(8, -1);
12717
12718
  if (n === "Object" && o.constructor) n = o.constructor.name;
12718
12719
  if (n === "Map" || n === "Set") return Array.from(n);
12719
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
12720
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
12720
12721
  }
12721
12722
  function checkProjectPipelineHostCompatibility(definition, binding, host) {
12722
12723
  var _definition_hostRequirements, _definition_hostRequirements1;
@@ -12772,7 +12773,7 @@ function checkProjectPipelineHostCompatibility(definition, binding, host) {
12772
12773
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
12773
12774
  try {
12774
12775
  for(var _iterator = Object.entries((_binding_executorBindings = binding === null || binding === void 0 ? void 0 : binding.executorBindings) !== null && _binding_executorBindings !== void 0 ? _binding_executorBindings : {})[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
12775
- var _step_value = _sliced_to_array$5(_step.value, 2), slot = _step_value[0], executor = _step_value[1];
12776
+ var _step_value = _sliced_to_array$6(_step.value, 2), slot = _step_value[0], executor = _step_value[1];
12776
12777
  if (executor.kind === "assistant") requireFeature("pipeline.assistant", 1, [
12777
12778
  "binding",
12778
12779
  "executorBindings",
@@ -12811,7 +12812,7 @@ function checkProjectPipelineHostCompatibility(definition, binding, host) {
12811
12812
  var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
12812
12813
  try {
12813
12814
  for(var _iterator1 = Object.entries((_definition_hostRequirements_features = (_definition_hostRequirements1 = definition.hostRequirements) === null || _definition_hostRequirements1 === void 0 ? void 0 : _definition_hostRequirements1.features) !== null && _definition_hostRequirements_features !== void 0 ? _definition_hostRequirements_features : {})[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
12814
- var _step_value1 = _sliced_to_array$5(_step1.value, 2), feature = _step_value1[0], version = _step_value1[1];
12815
+ var _step_value1 = _sliced_to_array$6(_step1.value, 2), feature = _step_value1[0], version = _step_value1[1];
12815
12816
  requireFeature(feature, version);
12816
12817
  }
12817
12818
  } catch (err) {
@@ -12924,15 +12925,15 @@ var templateDependencyLocksSchema = z$1.array(z$1.object({
12924
12925
  }).strict()).max(300)
12925
12926
  }).strict()).max(200);
12926
12927
 
12927
- function _array_like_to_array$6(arr, len) {
12928
+ function _array_like_to_array$7(arr, len) {
12928
12929
  if (len == null || len > arr.length) len = arr.length;
12929
12930
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
12930
12931
  return arr2;
12931
12932
  }
12932
- function _array_with_holes$5(arr) {
12933
+ function _array_with_holes$6(arr) {
12933
12934
  if (Array.isArray(arr)) return arr;
12934
12935
  }
12935
- function _iterable_to_array_limit$4(arr, i) {
12936
+ function _iterable_to_array_limit$5(arr, i) {
12936
12937
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
12937
12938
  if (_i == null) return;
12938
12939
  var _arr = [];
@@ -12956,19 +12957,19 @@ function _iterable_to_array_limit$4(arr, i) {
12956
12957
  }
12957
12958
  return _arr;
12958
12959
  }
12959
- function _non_iterable_rest$5() {
12960
+ function _non_iterable_rest$6() {
12960
12961
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12961
12962
  }
12962
- function _sliced_to_array$4(arr, i) {
12963
- return _array_with_holes$5(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$5();
12963
+ function _sliced_to_array$5(arr, i) {
12964
+ return _array_with_holes$6(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$6();
12964
12965
  }
12965
- function _unsupported_iterable_to_array$6(o, minLen) {
12966
+ function _unsupported_iterable_to_array$7(o, minLen) {
12966
12967
  if (!o) return;
12967
- if (typeof o === "string") return _array_like_to_array$6(o, minLen);
12968
+ if (typeof o === "string") return _array_like_to_array$7(o, minLen);
12968
12969
  var n = Object.prototype.toString.call(o).slice(8, -1);
12969
12970
  if (n === "Object" && o.constructor) n = o.constructor.name;
12970
12971
  if (n === "Map" || n === "Set") return Array.from(n);
12971
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
12972
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
12972
12973
  }
12973
12974
  var text$1 = z$1.string().trim().min(1).max(300);
12974
12975
  var key$1 = z$1.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,127}$/);
@@ -13023,7 +13024,7 @@ var templateFilesSchema = z$1.object({
13023
13024
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
13024
13025
  try {
13025
13026
  var _loop = function() {
13026
- var _step_value = _sliced_to_array$4(_step.value, 2), index = _step_value[0], entry = _step_value[1];
13027
+ var _step_value = _sliced_to_array$5(_step.value, 2), index = _step_value[0], entry = _step_value[1];
13027
13028
  var path = entry.path.toLowerCase();
13028
13029
  if (paths.has(path)) ctx.addIssue({
13029
13030
  code: "custom",
@@ -13481,15 +13482,15 @@ var executionObservationConversationsSchema = z.object({
13481
13482
  observedAt: z.string()
13482
13483
  });
13483
13484
 
13484
- function _array_like_to_array$5(arr, len) {
13485
+ function _array_like_to_array$6(arr, len) {
13485
13486
  if (len == null || len > arr.length) len = arr.length;
13486
13487
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
13487
13488
  return arr2;
13488
13489
  }
13489
- function _array_with_holes$4(arr) {
13490
+ function _array_with_holes$5(arr) {
13490
13491
  if (Array.isArray(arr)) return arr;
13491
13492
  }
13492
- function _iterable_to_array_limit$3(arr, i) {
13493
+ function _iterable_to_array_limit$4(arr, i) {
13493
13494
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
13494
13495
  if (_i == null) return;
13495
13496
  var _arr = [];
@@ -13513,19 +13514,19 @@ function _iterable_to_array_limit$3(arr, i) {
13513
13514
  }
13514
13515
  return _arr;
13515
13516
  }
13516
- function _non_iterable_rest$4() {
13517
+ function _non_iterable_rest$5() {
13517
13518
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13518
13519
  }
13519
- function _sliced_to_array$3(arr, i) {
13520
- return _array_with_holes$4(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$5(arr, i) || _non_iterable_rest$4();
13520
+ function _sliced_to_array$4(arr, i) {
13521
+ return _array_with_holes$5(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$6(arr, i) || _non_iterable_rest$5();
13521
13522
  }
13522
- function _unsupported_iterable_to_array$5(o, minLen) {
13523
+ function _unsupported_iterable_to_array$6(o, minLen) {
13523
13524
  if (!o) return;
13524
- if (typeof o === "string") return _array_like_to_array$5(o, minLen);
13525
+ if (typeof o === "string") return _array_like_to_array$6(o, minLen);
13525
13526
  var n = Object.prototype.toString.call(o).slice(8, -1);
13526
13527
  if (n === "Object" && o.constructor) n = o.constructor.name;
13527
13528
  if (n === "Map" || n === "Set") return Array.from(n);
13528
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
13529
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
13529
13530
  }
13530
13531
  /**
13531
13532
  * Channels of all upstream and downstream nodes relative to the starting point startKey.
@@ -13553,7 +13554,7 @@ function findStartNodes(graph, key) {
13553
13554
  for(var _iterator = connections[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
13554
13555
  var conn = _step.value;
13555
13556
  if (!toMap.has(conn.to)) toMap.set(conn.to, []);
13556
- var _conn_from_split = _sliced_to_array$3(conn.from.split("/"), 1), fromKey = _conn_from_split[0];
13557
+ var _conn_from_split = _sliced_to_array$4(conn.from.split("/"), 1), fromKey = _conn_from_split[0];
13557
13558
  if (conn.type === "edge") {
13558
13559
  toMap.get(conn.to).push(fromKey);
13559
13560
  }
@@ -13711,30 +13712,30 @@ function shortTitle(input) {
13711
13712
  return null;
13712
13713
  }
13713
13714
 
13714
- function _array_like_to_array$4(arr, len) {
13715
+ function _array_like_to_array$5(arr, len) {
13715
13716
  if (len == null || len > arr.length) len = arr.length;
13716
13717
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
13717
13718
  return arr2;
13718
13719
  }
13719
- function _array_with_holes$3(arr) {
13720
+ function _array_with_holes$4(arr) {
13720
13721
  if (Array.isArray(arr)) return arr;
13721
13722
  }
13722
13723
  function _iterable_to_array$1(iter) {
13723
13724
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
13724
13725
  }
13725
- function _non_iterable_rest$3() {
13726
+ function _non_iterable_rest$4() {
13726
13727
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13727
13728
  }
13728
13729
  function _to_array(arr) {
13729
- return _array_with_holes$3(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$4(arr) || _non_iterable_rest$3();
13730
+ return _array_with_holes$4(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_rest$4();
13730
13731
  }
13731
- function _unsupported_iterable_to_array$4(o, minLen) {
13732
+ function _unsupported_iterable_to_array$5(o, minLen) {
13732
13733
  if (!o) return;
13733
- if (typeof o === "string") return _array_like_to_array$4(o, minLen);
13734
+ if (typeof o === "string") return _array_like_to_array$5(o, minLen);
13734
13735
  var n = Object.prototype.toString.call(o).slice(8, -1);
13735
13736
  if (n === "Object" && o.constructor) n = o.constructor.name;
13736
13737
  if (n === "Map" || n === "Set") return Array.from(n);
13737
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
13738
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
13738
13739
  }
13739
13740
  /**
13740
13741
  *
@@ -13911,15 +13912,15 @@ function defaultModelDefinition(role) {
13911
13912
  });
13912
13913
  }
13913
13914
 
13914
- function _array_like_to_array$3(arr, len) {
13915
+ function _array_like_to_array$4(arr, len) {
13915
13916
  if (len == null || len > arr.length) len = arr.length;
13916
13917
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
13917
13918
  return arr2;
13918
13919
  }
13919
- function _array_with_holes$2(arr) {
13920
+ function _array_with_holes$3(arr) {
13920
13921
  if (Array.isArray(arr)) return arr;
13921
13922
  }
13922
- function _iterable_to_array_limit$2(arr, i) {
13923
+ function _iterable_to_array_limit$3(arr, i) {
13923
13924
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
13924
13925
  if (_i == null) return;
13925
13926
  var _arr = [];
@@ -13943,19 +13944,19 @@ function _iterable_to_array_limit$2(arr, i) {
13943
13944
  }
13944
13945
  return _arr;
13945
13946
  }
13946
- function _non_iterable_rest$2() {
13947
+ function _non_iterable_rest$3() {
13947
13948
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13948
13949
  }
13949
- function _sliced_to_array$2(arr, i) {
13950
- return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$3(arr, i) || _non_iterable_rest$2();
13950
+ function _sliced_to_array$3(arr, i) {
13951
+ return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$4(arr, i) || _non_iterable_rest$3();
13951
13952
  }
13952
- function _unsupported_iterable_to_array$3(o, minLen) {
13953
+ function _unsupported_iterable_to_array$4(o, minLen) {
13953
13954
  if (!o) return;
13954
- if (typeof o === "string") return _array_like_to_array$3(o, minLen);
13955
+ if (typeof o === "string") return _array_like_to_array$4(o, minLen);
13955
13956
  var n = Object.prototype.toString.call(o).slice(8, -1);
13956
13957
  if (n === "Object" && o.constructor) n = o.constructor.name;
13957
13958
  if (n === "Map" || n === "Set") return Array.from(n);
13958
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
13959
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
13959
13960
  }
13960
13961
  var modelIdentitySchema = z$1.object({
13961
13962
  copilotId: z$1.string().uuid(),
@@ -14011,7 +14012,7 @@ function sameModelIdentity(left, right) {
14011
14012
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
14012
14013
  try {
14013
14014
  for(var _iterator = Object.entries(previous !== null && previous !== void 0 ? previous : {})[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
14014
- var _step_value = _sliced_to_array$2(_step.value, 2), name = _step_value[0], before = _step_value[1];
14015
+ var _step_value = _sliced_to_array$3(_step.value, 2), name = _step_value[0], before = _step_value[1];
14015
14016
  if (!names.has(name)) changes.push({
14016
14017
  name: name,
14017
14018
  before: before,
@@ -14244,13 +14245,13 @@ var PermissionGroups = {
14244
14245
  ]
14245
14246
  };
14246
14247
 
14247
- function _array_like_to_array$2(arr, len) {
14248
+ function _array_like_to_array$3(arr, len) {
14248
14249
  if (len == null || len > arr.length) len = arr.length;
14249
14250
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
14250
14251
  return arr2;
14251
14252
  }
14252
14253
  function _array_without_holes(arr) {
14253
- if (Array.isArray(arr)) return _array_like_to_array$2(arr);
14254
+ if (Array.isArray(arr)) return _array_like_to_array$3(arr);
14254
14255
  }
14255
14256
  function _iterable_to_array(iter) {
14256
14257
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -14259,15 +14260,15 @@ function _non_iterable_spread() {
14259
14260
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14260
14261
  }
14261
14262
  function _to_consumable_array(arr) {
14262
- return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread();
14263
+ return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread();
14263
14264
  }
14264
- function _unsupported_iterable_to_array$2(o, minLen) {
14265
+ function _unsupported_iterable_to_array$3(o, minLen) {
14265
14266
  if (!o) return;
14266
- if (typeof o === "string") return _array_like_to_array$2(o, minLen);
14267
+ if (typeof o === "string") return _array_like_to_array$3(o, minLen);
14267
14268
  var n = Object.prototype.toString.call(o).slice(8, -1);
14268
14269
  if (n === "Object" && o.constructor) n = o.constructor.name;
14269
14270
  if (n === "Map" || n === "Set") return Array.from(n);
14270
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
14271
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
14271
14272
  }
14272
14273
  var modulePermissions = [
14273
14274
  {
@@ -14791,15 +14792,15 @@ var BusinessType;
14791
14792
  BusinessType["INDICATOR"] = "INDICATOR";
14792
14793
  })(BusinessType || (BusinessType = {}));
14793
14794
 
14794
- function _array_like_to_array$1(arr, len) {
14795
+ function _array_like_to_array$2(arr, len) {
14795
14796
  if (len == null || len > arr.length) len = arr.length;
14796
14797
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
14797
14798
  return arr2;
14798
14799
  }
14799
- function _array_with_holes$1(arr) {
14800
+ function _array_with_holes$2(arr) {
14800
14801
  if (Array.isArray(arr)) return arr;
14801
14802
  }
14802
- function _iterable_to_array_limit$1(arr, i) {
14803
+ function _iterable_to_array_limit$2(arr, i) {
14803
14804
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14804
14805
  if (_i == null) return;
14805
14806
  var _arr = [];
@@ -14823,19 +14824,19 @@ function _iterable_to_array_limit$1(arr, i) {
14823
14824
  }
14824
14825
  return _arr;
14825
14826
  }
14826
- function _non_iterable_rest$1() {
14827
+ function _non_iterable_rest$2() {
14827
14828
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14828
14829
  }
14829
- function _sliced_to_array$1(arr, i) {
14830
- return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest$1();
14830
+ function _sliced_to_array$2(arr, i) {
14831
+ return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$2(arr, i) || _non_iterable_rest$2();
14831
14832
  }
14832
- function _unsupported_iterable_to_array$1(o, minLen) {
14833
+ function _unsupported_iterable_to_array$2(o, minLen) {
14833
14834
  if (!o) return;
14834
- if (typeof o === "string") return _array_like_to_array$1(o, minLen);
14835
+ if (typeof o === "string") return _array_like_to_array$2(o, minLen);
14835
14836
  var n = Object.prototype.toString.call(o).slice(8, -1);
14836
14837
  if (n === "Object" && o.constructor) n = o.constructor.name;
14837
14838
  if (n === "Map" || n === "Set") return Array.from(n);
14838
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
14839
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
14839
14840
  }
14840
14841
  var ScheduleTaskStatus;
14841
14842
  (function(ScheduleTaskStatus) {
@@ -14858,7 +14859,7 @@ var TaskFrequency;
14858
14859
  * @returns
14859
14860
  */ function generateCronExpression(schedule) {
14860
14861
  if (!schedule.time) throw new Error("Time is required for scheduling");
14861
- var _schedule_time_split = _sliced_to_array$1(schedule.time.split(":"), 2), hourStr = _schedule_time_split[0], minuteStr = _schedule_time_split[1];
14862
+ var _schedule_time_split = _sliced_to_array$2(schedule.time.split(":"), 2), hourStr = _schedule_time_split[0], minuteStr = _schedule_time_split[1];
14862
14863
  var hour = parseInt(hourStr, 10);
14863
14864
  var minute = parseInt(minuteStr, 10);
14864
14865
  if (isNaN(hour) || isNaN(minute) || hour < 0 || hour > 23 || minute < 0 || minute > 59) {
@@ -14928,15 +14929,15 @@ var AGENT_PROFILE_TABS_SLOT = "agent.profile.tabs";
14928
14929
  ];
14929
14930
  /** Platform-provided navigation, available without Assistant middleware. */ var CONVERSATION_MAP_FEATURE = "platform.conversation-map";
14930
14931
 
14931
- /** Live-only UI request. Project scope is mandatory; history playback must not reopen Views. */ function _array_like_to_array(arr, len) {
14932
+ /** Live-only UI request. Project scope is mandatory; history playback must not reopen Views. */ function _array_like_to_array$1(arr, len) {
14932
14933
  if (len == null || len > arr.length) len = arr.length;
14933
14934
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
14934
14935
  return arr2;
14935
14936
  }
14936
- function _array_with_holes(arr) {
14937
+ function _array_with_holes$1(arr) {
14937
14938
  if (Array.isArray(arr)) return arr;
14938
14939
  }
14939
- function _define_property$2(obj, key, value) {
14940
+ function _define_property$3(obj, key, value) {
14940
14941
  if (key in obj) {
14941
14942
  Object.defineProperty(obj, key, {
14942
14943
  value: value,
@@ -14949,7 +14950,7 @@ function _define_property$2(obj, key, value) {
14949
14950
  }
14950
14951
  return obj;
14951
14952
  }
14952
- function _iterable_to_array_limit(arr, i) {
14953
+ function _iterable_to_array_limit$1(arr, i) {
14953
14954
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14954
14955
  if (_i == null) return;
14955
14956
  var _arr = [];
@@ -14973,10 +14974,10 @@ function _iterable_to_array_limit(arr, i) {
14973
14974
  }
14974
14975
  return _arr;
14975
14976
  }
14976
- function _non_iterable_rest() {
14977
+ function _non_iterable_rest$1() {
14977
14978
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14978
14979
  }
14979
- function _object_spread$2(target) {
14980
+ function _object_spread$3(target) {
14980
14981
  for(var i = 1; i < arguments.length; i++){
14981
14982
  var source = arguments[i] != null ? arguments[i] : {};
14982
14983
  var ownKeys = Object.keys(source);
@@ -14986,21 +14987,21 @@ function _object_spread$2(target) {
14986
14987
  }));
14987
14988
  }
14988
14989
  ownKeys.forEach(function(key) {
14989
- _define_property$2(target, key, source[key]);
14990
+ _define_property$3(target, key, source[key]);
14990
14991
  });
14991
14992
  }
14992
14993
  return target;
14993
14994
  }
14994
- function _sliced_to_array(arr, i) {
14995
- return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
14995
+ function _sliced_to_array$1(arr, i) {
14996
+ return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest$1();
14996
14997
  }
14997
- function _unsupported_iterable_to_array(o, minLen) {
14998
+ function _unsupported_iterable_to_array$1(o, minLen) {
14998
14999
  if (!o) return;
14999
- if (typeof o === "string") return _array_like_to_array(o, minLen);
15000
+ if (typeof o === "string") return _array_like_to_array$1(o, minLen);
15000
15001
  var n = Object.prototype.toString.call(o).slice(8, -1);
15001
15002
  if (n === "Object" && o.constructor) n = o.constructor.name;
15002
15003
  if (n === "Map" || n === "Set") return Array.from(n);
15003
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
15004
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
15004
15005
  }
15005
15006
  var WORKBENCH_VIEW_OPEN_EVENT = "workbench.view.open";
15006
15007
  /** Parse the public lg.chat.event boundary, keeping arbitrary logs out of navigation. */ function parseWorkbenchViewOpenEvent(value) {
@@ -15013,7 +15014,7 @@ var WORKBENCH_VIEW_OPEN_EVENT = "workbench.view.open";
15013
15014
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
15014
15015
  try {
15015
15016
  for(var _iterator = Object.entries(value.parameters)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
15016
- var _step_value = _sliced_to_array(_step.value, 2), key = _step_value[0], item = _step_value[1];
15017
+ var _step_value = _sliced_to_array$1(_step.value, 2), key = _step_value[0], item = _step_value[1];
15017
15018
  if (isViewScalar(item)) parameters[key] = item;
15018
15019
  else if (Array.isArray(item) && item.every(isViewScalar)) parameters[key] = item;
15019
15020
  else return null;
@@ -15033,7 +15034,7 @@ var WORKBENCH_VIEW_OPEN_EVENT = "workbench.view.open";
15033
15034
  }
15034
15035
  }
15035
15036
  }
15036
- return _object_spread$2({
15037
+ return _object_spread$3({
15037
15038
  type: WORKBENCH_VIEW_OPEN_EVENT,
15038
15039
  viewKey: value.viewKey,
15039
15040
  projectId: value.projectId
@@ -15049,7 +15050,7 @@ function isViewScalar(value) {
15049
15050
  return value === null || typeof value === "string" || typeof value === "boolean" || typeof value === "number" && Number.isFinite(value);
15050
15051
  }
15051
15052
 
15052
- function _define_property$1(obj, key, value) {
15053
+ function _define_property$2(obj, key, value) {
15053
15054
  if (key in obj) {
15054
15055
  Object.defineProperty(obj, key, {
15055
15056
  value: value,
@@ -15062,7 +15063,7 @@ function _define_property$1(obj, key, value) {
15062
15063
  }
15063
15064
  return obj;
15064
15065
  }
15065
- function _object_spread$1(target) {
15066
+ function _object_spread$2(target) {
15066
15067
  for(var i = 1; i < arguments.length; i++){
15067
15068
  var source = arguments[i] != null ? arguments[i] : {};
15068
15069
  var ownKeys = Object.keys(source);
@@ -15072,7 +15073,7 @@ function _object_spread$1(target) {
15072
15073
  }));
15073
15074
  }
15074
15075
  ownKeys.forEach(function(key) {
15075
- _define_property$1(target, key, source[key]);
15076
+ _define_property$2(target, key, source[key]);
15076
15077
  });
15077
15078
  }
15078
15079
  return target;
@@ -15085,14 +15086,14 @@ var hasIntegrationMethod = function(value) {
15085
15086
  return !value.integrationId || !!value.authMethodId;
15086
15087
  };
15087
15088
  /** An integration reference must name the Connector authentication method that consumes it. */ var workspaceConnectorAuthorizationSchema = z.object(authorizationFields).strict().refine(hasIntegrationMethod);
15088
- /** Intent only: the host resolves workspace identity, permissions and available Connector definitions. */ var workspaceConnectorConnectPayloadSchema = z.object(_object_spread$1({
15089
+ /** Intent only: the host resolves workspace identity, permissions and available Connector definitions. */ var workspaceConnectorConnectPayloadSchema = z.object(_object_spread$2({
15089
15090
  provider: z.string().regex(/^[a-z][a-z0-9_-]{0,63}$/)
15090
15091
  }, authorizationFields)).strict().refine(hasIntegrationMethod);
15091
15092
 
15092
15093
  var RUNTIME_RESTART_CONFIRMATION = "RESTART";
15093
15094
  /** Terminal transport interruption; it does not indicate that the background task completed or failed. */ var RUNTIME_STREAM_INTERRUPTED_EVENT = "runtime-interrupted";
15094
15095
 
15095
- function _define_property(obj, key, value) {
15096
+ function _define_property$1(obj, key, value) {
15096
15097
  if (key in obj) {
15097
15098
  Object.defineProperty(obj, key, {
15098
15099
  value: value,
@@ -15105,7 +15106,7 @@ function _define_property(obj, key, value) {
15105
15106
  }
15106
15107
  return obj;
15107
15108
  }
15108
- function _object_spread(target) {
15109
+ function _object_spread$1(target) {
15109
15110
  for(var i = 1; i < arguments.length; i++){
15110
15111
  var source = arguments[i] != null ? arguments[i] : {};
15111
15112
  var ownKeys = Object.keys(source);
@@ -15115,7 +15116,7 @@ function _object_spread(target) {
15115
15116
  }));
15116
15117
  }
15117
15118
  ownKeys.forEach(function(key) {
15118
- _define_property(target, key, source[key]);
15119
+ _define_property$1(target, key, source[key]);
15119
15120
  });
15120
15121
  }
15121
15122
  return target;
@@ -15163,7 +15164,7 @@ var anchor = {
15163
15164
  threadId: z.string().optional(),
15164
15165
  executionId: z.string().optional()
15165
15166
  };
15166
- var trailStepSchema = z.object(_object_spread_props(_object_spread({
15167
+ var trailStepSchema = z.object(_object_spread_props(_object_spread$1({
15167
15168
  id: z.string(),
15168
15169
  laneId: z.string(),
15169
15170
  kind: z.enum([
@@ -15184,7 +15185,7 @@ var trailStepSchema = z.object(_object_spread_props(_object_spread({
15184
15185
  input: z.string().optional(),
15185
15186
  output: z.string().optional()
15186
15187
  }));
15187
- var trailLaneSchema = z.object(_object_spread_props(_object_spread({
15188
+ var trailLaneSchema = z.object(_object_spread_props(_object_spread$1({
15188
15189
  id: z.string(),
15189
15190
  parentId: z.string().nullable(),
15190
15191
  spawnStepId: z.string().optional(),
@@ -15340,6 +15341,140 @@ var CONTENT_EDITOR_STATUS_COMMAND = "workbench.content.status";
15340
15341
 
15341
15342
  /** Host-owned opening avoids inheriting a remote component's iframe sandbox. */ var ARTIFACT_PRESENTATION_OPEN_COMMAND = "artifact.presentation.open";
15342
15343
 
15344
+ function _array_like_to_array(arr, len) {
15345
+ if (len == null || len > arr.length) len = arr.length;
15346
+ for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
15347
+ return arr2;
15348
+ }
15349
+ function _array_with_holes(arr) {
15350
+ if (Array.isArray(arr)) return arr;
15351
+ }
15352
+ function _define_property(obj, key, value) {
15353
+ if (key in obj) {
15354
+ Object.defineProperty(obj, key, {
15355
+ value: value,
15356
+ enumerable: true,
15357
+ configurable: true,
15358
+ writable: true
15359
+ });
15360
+ } else {
15361
+ obj[key] = value;
15362
+ }
15363
+ return obj;
15364
+ }
15365
+ function _iterable_to_array_limit(arr, i) {
15366
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
15367
+ if (_i == null) return;
15368
+ var _arr = [];
15369
+ var _n = true;
15370
+ var _d = false;
15371
+ var _s, _e;
15372
+ try {
15373
+ for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
15374
+ _arr.push(_s.value);
15375
+ if (i && _arr.length === i) break;
15376
+ }
15377
+ } catch (err) {
15378
+ _d = true;
15379
+ _e = err;
15380
+ } finally{
15381
+ try {
15382
+ if (!_n && _i["return"] != null) _i["return"]();
15383
+ } finally{
15384
+ if (_d) throw _e;
15385
+ }
15386
+ }
15387
+ return _arr;
15388
+ }
15389
+ function _non_iterable_rest() {
15390
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15391
+ }
15392
+ function _object_spread(target) {
15393
+ for(var i = 1; i < arguments.length; i++){
15394
+ var source = arguments[i] != null ? arguments[i] : {};
15395
+ var ownKeys = Object.keys(source);
15396
+ if (typeof Object.getOwnPropertySymbols === "function") {
15397
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
15398
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
15399
+ }));
15400
+ }
15401
+ ownKeys.forEach(function(key) {
15402
+ _define_property(target, key, source[key]);
15403
+ });
15404
+ }
15405
+ return target;
15406
+ }
15407
+ function _sliced_to_array(arr, i) {
15408
+ return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
15409
+ }
15410
+ function _unsupported_iterable_to_array(o, minLen) {
15411
+ if (!o) return;
15412
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
15413
+ var n = Object.prototype.toString.call(o).slice(8, -1);
15414
+ if (n === "Object" && o.constructor) n = o.constructor.name;
15415
+ if (n === "Map" || n === "Set") return Array.from(n);
15416
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
15417
+ }
15418
+ // Public diagnostics are authored separately from driver errors. This is defense in depth,
15419
+ // not a sanitizer for arbitrary logs: producers must never copy raw exceptions into message.
15420
+ var privateText = /[\u0000-\u001f\u007f]|(?:https?|jdbc|postgres(?:ql)?|mysql):|\b(?:password|passwd|pwd|secret|token|authorization|cookie|api[_-]?key)\s*[:=]|\bBearer\s|-----BEGIN|\b(?:SELECT|WITH)\b[\s\S]*\bFROM\b|\b(?:INSERT\s+INTO|UPDATE\s+\S+\s+SET|DELETE\s+FROM)\b|<\/?[a-z][^>]*>|(?:\/Users\/|\/home\/|\/private\/|[A-Z]:\\)|\bat\s+\S+\s*\(/i;
15421
+ var publicText = z.string().trim().min(1).max(600).refine(function(value) {
15422
+ return !privateText.test(value);
15423
+ });
15424
+ var reference = z.string().regex(/^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$/);
15425
+ /** Portable HTTP/provider failure contract. No arbitrary details, cause, query or connection fields. */ var analyticsDiagnosticSchema = z.object({
15426
+ schema: z.literal("xpert.analytics.diagnostic"),
15427
+ version: z.literal(1),
15428
+ code: z.string().regex(/^[A-Z][A-Z0-9_-]{2,79}$/),
15429
+ stage: z.enum([
15430
+ "request",
15431
+ "source",
15432
+ "validation",
15433
+ "authorization",
15434
+ "execution",
15435
+ "result",
15436
+ "dependency"
15437
+ ]),
15438
+ message: publicText,
15439
+ retryable: z.boolean(),
15440
+ upstreamExecutionId: reference.optional(),
15441
+ auditRef: reference.optional()
15442
+ }).strict().refine(function(value) {
15443
+ return !value.retryable || value.stage === "execution" || value.stage === "dependency";
15444
+ });
15445
+ /** Invalid provider diagnostics fail closed; never return Zod errors containing received input. */ function parseAnalyticsDiagnostic(value) {
15446
+ try {
15447
+ if (!value || typeof value !== "object") return undefined;
15448
+ var properties = Object.getOwnPropertyDescriptors(value);
15449
+ if (Object.values(properties).some(function(property) {
15450
+ return !("value" in property);
15451
+ })) return undefined;
15452
+ var parsed = analyticsDiagnosticSchema.safeParse(Object.fromEntries(Object.entries(properties).map(function(param) {
15453
+ var _param = _sliced_to_array(param, 2), key = _param[0], property = _param[1];
15454
+ return [
15455
+ key,
15456
+ property.value
15457
+ ];
15458
+ })));
15459
+ if (!parsed.success) return undefined;
15460
+ var _parsed_data = parsed.data, schema = _parsed_data.schema, version = _parsed_data.version, code = _parsed_data.code, stage = _parsed_data.stage, message = _parsed_data.message, retryable = _parsed_data.retryable, upstreamExecutionId = _parsed_data.upstreamExecutionId, auditRef = _parsed_data.auditRef;
15461
+ return _object_spread({
15462
+ schema: schema,
15463
+ version: version,
15464
+ code: code,
15465
+ stage: stage,
15466
+ message: message,
15467
+ retryable: retryable
15468
+ }, upstreamExecutionId ? {
15469
+ upstreamExecutionId: upstreamExecutionId
15470
+ } : {}, auditRef ? {
15471
+ auditRef: auditRef
15472
+ } : {});
15473
+ } catch (e) {
15474
+ return undefined;
15475
+ }
15476
+ }
15477
+
15343
15478
  var CONTENT_CATALOG_PROVIDER = "platform.content.catalog";
15344
15479
 
15345
15480
  /** Negotiated Xpert extension. MCP cancellation acknowledgements are not exit evidence. */ var MCP_EXECUTION_CONTROL_EXTENSION_ID = "ai.xpert/execution-control";
@@ -15590,4 +15725,13 @@ function parseNotificationSnapshot(value) {
15590
15725
  return notificationSnapshotSchema.parse(value);
15591
15726
  }
15592
15727
 
15593
- 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, ASSISTANT_CHAT_SEND_MESSAGE_COMMAND, ASSISTANT_CITATION_OPEN_EVENT, ASSISTANT_COMPOSER_APPEND_REFERENCES_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, 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_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, 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, LongTermMemoryTypeEnum, 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, MEMORY_PROFILE_PROMPT, MEMORY_QA_PROMPT, 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_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_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_EXTENSION_VIEW_TARGET, WORKBENCH_FILE_OPEN_COMMAND, WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET, WORKBENCH_NAVIGATION_OPEN_COMMAND, WORKBENCH_PROJECT_APPLICATION_TARGET, WORKBENCH_PROJECT_PIPELINES_TARGET, WORKBENCH_VIEW_OPEN_EVENT, WORKSPACE_PUBLIC_SKILL_REPOSITORY_NAME, WORKSPACE_PUBLIC_SKILL_SOURCE_PROVIDER, WeekDaysEnum, WorkflowComparisonOperator, WorkflowLogicalOperator, WorkflowNodeTypeEnum, 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, agentInvocationStatusSchema, agentInvocationTerminalStatusSchema, agentLabel, agentOutputDeliverySchema, agentResultPathSchema, agentRuntimeModelSourceSchema, agentRuntimeProgressSchema, agentUniqueName, aggregatePipelineAnalytics, allChannels, announcementActionSchema, announcementContentSchema, announcementRevisionSchema, announcementSchema, appPlatformAppOrder, appPlatformAppSchema, appPlatformDefinitionSchema, appPlatformEnvironmentSchema, appendMessageContent, appendMessagePlainText, assistantOperationPolicySchema, assistantTaskGroupContext, assistantTaskGroupContextSchema, assistantTemplateManifestSchema, assistantTemplateSetupStateSchema, buildChunkTree, buildXpertMarketplaceProfileSnapshot, 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, 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, orderAssistantXperts, parseAnnouncement, parseGithubSkillInstallCommand, parseNotificationSnapshot, parseProjectPipelineParameters, parsePromptCapabilityConfig, parsePromptCapabilitySelection, parseRuntimeSkillCapabilityId, parseUserNotification, parseWorkbenchViewOpenEvent, pipelineAnalyticsFacts, pipelineAttemptCounts, pipelineAttemptCountsSchema, pipelineExecutionTiming, pipelineExecutionTimingSchema, pipelineExecutorStatistics, pipelineExecutorStatisticsSchema, pipelineHumanWaitSnapshotSchema, pipelineHumanWaitStatistics, pipelineHumanWaitStatisticsSchema, pipelineModelUsageFactSchema, pipelineModelUsageStatistics, pipelineModelUsageStatisticsSchema, pipelineNodeNeedsHuman, pipelineQueueStatistics, pipelineQueueStatisticsSchema, 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, 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, projectTaskDecisionInputSchema, projectTaskDecisionSchema, projectTaskDispatchInputSchema, projectTaskDispatchReceiptSchema, projectTaskDispatchToolInputSchema, projectTaskEvidenceReferenceSchema, projectTaskExecutionContextSchema, projectTaskExecutionPurposeSchema, projectTaskExecutionReferenceSchema, projectTaskReviewReportSchema, projectTaskSpecificationDigestSchema, projectTaskSpecificationSchema, projectTaskSpecificationSnapshotSchema, providerCredentialCheckSchema, providerCredentialValidationTargetSchema, readModelConfiguration, replaceAgentInDraft, resolveDraftPrimaryAgent, resolveDraftRuntimeGraph, resolveI18nText, resolveMessageAppendContext, resolveModelParameterOptions, resolvePromptWorkflowCapabilities, resolveRuntimeXpert, roleDefaultInputSchema, sameModelIdentity, sandboxEvidence, sandboxJobRetryReferenceSchema, sandboxRuntimeEvidenceSchema, sandboxRuntimeTargetSchema, sandboxTargetsEqual, saveRoleDefaultsSchema, 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 };
15728
+ var BUSINESS_AREA_ACCESS_ROLES = [
15729
+ "consumer",
15730
+ "publisher",
15731
+ "domain_admin"
15732
+ ];
15733
+ function businessAreaRoleAllows(role, action) {
15734
+ return action === "view" || (action === "publish" ? role !== "consumer" : role === "domain_admin");
15735
+ }
15736
+
15737
+ 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, ASSISTANT_CHAT_SEND_MESSAGE_COMMAND, ASSISTANT_CITATION_OPEN_EVENT, ASSISTANT_COMPOSER_APPEND_REFERENCES_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, 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, LongTermMemoryTypeEnum, 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, MEMORY_PROFILE_PROMPT, MEMORY_QA_PROMPT, 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_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_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_EXTENSION_VIEW_TARGET, WORKBENCH_FILE_OPEN_COMMAND, WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET, WORKBENCH_NAVIGATION_OPEN_COMMAND, WORKBENCH_PROJECT_APPLICATION_TARGET, WORKBENCH_PROJECT_PIPELINES_TARGET, WORKBENCH_VIEW_OPEN_EVENT, WORKSPACE_PUBLIC_SKILL_REPOSITORY_NAME, WORKSPACE_PUBLIC_SKILL_SOURCE_PROVIDER, WeekDaysEnum, WorkflowComparisonOperator, WorkflowLogicalOperator, WorkflowNodeTypeEnum, 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, 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, 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, orderAssistantXperts, parseAnalyticsDiagnostic, parseAnnouncement, parseGithubSkillInstallCommand, parseNotificationSnapshot, parseProjectPipelineParameters, parsePromptCapabilityConfig, parsePromptCapabilitySelection, parseRuntimeSkillCapabilityId, parseUserNotification, parseWorkbenchViewOpenEvent, pipelineAnalyticsFacts, pipelineAttemptCounts, pipelineAttemptCountsSchema, pipelineExecutionTiming, pipelineExecutionTimingSchema, pipelineExecutorStatistics, pipelineExecutorStatisticsSchema, pipelineHumanWaitSnapshotSchema, pipelineHumanWaitStatistics, pipelineHumanWaitStatisticsSchema, pipelineModelUsageFactSchema, pipelineModelUsageStatistics, pipelineModelUsageStatisticsSchema, pipelineNodeNeedsHuman, pipelineQueueStatistics, pipelineQueueStatisticsSchema, 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, 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, projectTaskDecisionInputSchema, projectTaskDecisionSchema, projectTaskDispatchInputSchema, projectTaskDispatchReceiptSchema, projectTaskDispatchToolInputSchema, projectTaskEvidenceReferenceSchema, projectTaskExecutionContextSchema, projectTaskExecutionPurposeSchema, projectTaskExecutionReferenceSchema, projectTaskReviewReportSchema, projectTaskSpecificationDigestSchema, projectTaskSpecificationSchema, projectTaskSpecificationSnapshotSchema, providerCredentialCheckSchema, providerCredentialValidationTargetSchema, readModelConfiguration, replaceAgentInDraft, resolveDraftPrimaryAgent, resolveDraftRuntimeGraph, resolveI18nText, resolveMessageAppendContext, resolveModelParameterOptions, resolvePromptWorkflowCapabilities, resolveRuntimeXpert, roleDefaultInputSchema, sameModelIdentity, sandboxEvidence, sandboxJobRetryReferenceSchema, sandboxRuntimeEvidenceSchema, sandboxRuntimeTargetSchema, sandboxTargetsEqual, saveRoleDefaultsSchema, 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 };