@xpert-ai/contracts 3.25.0 → 3.26.1

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
@@ -1326,7 +1326,7 @@ function _define_property$p(obj, key, value) {
1326
1326
  }
1327
1327
  return obj;
1328
1328
  }
1329
- function _object_spread$o(target) {
1329
+ function _object_spread$p(target) {
1330
1330
  for(var i = 1; i < arguments.length; i++){
1331
1331
  var source = arguments[i] != null ? arguments[i] : {};
1332
1332
  var ownKeys = Object.keys(source);
@@ -1382,7 +1382,7 @@ function parseSelectionSet(value) {
1382
1382
  if (plugins !== undefined && (!isObject(plugins) || !("nodeKeys" in plugins) || !isStringList(plugins.nodeKeys))) return null;
1383
1383
  if (subAgents !== undefined && (!isObject(subAgents) || !("nodeKeys" in subAgents) || !isStringList(subAgents.nodeKeys))) return null;
1384
1384
  if (connectors !== undefined && (!isObject(connectors) || !("bindingIds" in connectors) || !isStringList(connectors.bindingIds))) return null;
1385
- return _object_spread$o(_object_spread_props$i(_object_spread$o({}, value), {
1385
+ return _object_spread$p(_object_spread_props$i(_object_spread$p({}, value), {
1386
1386
  skills: skills === undefined ? {
1387
1387
  ids: []
1388
1388
  } : skills,
@@ -1401,7 +1401,7 @@ function parsePromptCapabilitySelection(value) {
1401
1401
  var selection = parseSelectionSet(value);
1402
1402
  var recommended = "recommended" in value && value.recommended != null ? parseSelectionSet(value.recommended) : undefined;
1403
1403
  if (!selection || recommended === null) return null;
1404
- return _object_spread$o(_object_spread_props$i(_object_spread$o({}, selection), {
1404
+ return _object_spread$p(_object_spread_props$i(_object_spread$p({}, selection), {
1405
1405
  mode: "allowlist"
1406
1406
  }), "inheritUnselected" in value && typeof value.inheritUnselected === "boolean" ? {
1407
1407
  inheritUnselected: value.inheritUnselected
@@ -1453,7 +1453,7 @@ function parsePromptCapabilityConfig(value) {
1453
1453
  }
1454
1454
  }
1455
1455
  }
1456
- return _object_spread_props$i(_object_spread$o({}, value), {
1456
+ return _object_spread_props$i(_object_spread$p({}, value), {
1457
1457
  type: "expert_scoped_capabilities",
1458
1458
  version: 1,
1459
1459
  defaults: defaults,
@@ -1605,7 +1605,7 @@ function _instanceof$1(left, right) {
1605
1605
  return left instanceof right;
1606
1606
  }
1607
1607
  }
1608
- function _object_spread$n(target) {
1608
+ function _object_spread$o(target) {
1609
1609
  for(var i = 1; i < arguments.length; i++){
1610
1610
  var source = arguments[i] != null ? arguments[i] : {};
1611
1611
  var ownKeys = Object.keys(source);
@@ -1626,12 +1626,12 @@ var CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY = "conversation_title_summary";
1626
1626
  var CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED = "thread_goal_updated";
1627
1627
  var CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED = "thread_goal_cleared";
1628
1628
  function createConversationTitleSummaryEvent(event) {
1629
- return _object_spread$n({
1629
+ return _object_spread$o({
1630
1630
  type: CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY
1631
1631
  }, event);
1632
1632
  }
1633
1633
  function createFollowUpConsumedEvent(event) {
1634
- return _object_spread$n({
1634
+ return _object_spread$o({
1635
1635
  type: CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED
1636
1636
  }, event);
1637
1637
  }
@@ -1723,7 +1723,7 @@ function _non_iterable_rest$g() {
1723
1723
  function _non_iterable_spread$h() {
1724
1724
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1725
1725
  }
1726
- function _object_spread$m(target) {
1726
+ function _object_spread$n(target) {
1727
1727
  for(var i = 1; i < arguments.length; i++){
1728
1728
  var source = arguments[i] != null ? arguments[i] : {};
1729
1729
  var ownKeys = Object.keys(source);
@@ -1870,7 +1870,7 @@ function normalizeAssistantBindingToolPreferences(value) {
1870
1870
  if (!Object.keys(toolsets).length && !Object.keys(middlewares).length && !Object.keys(skills).length) {
1871
1871
  return null;
1872
1872
  }
1873
- return _object_spread$m({
1873
+ return _object_spread$n({
1874
1874
  version: 1
1875
1875
  }, Object.keys(toolsets).length ? {
1876
1876
  toolsets: toolsets
@@ -1948,8 +1948,8 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
1948
1948
  }) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$h(disabledTools).concat([
1949
1949
  normalizedToolName
1950
1950
  ]));
1951
- var toolsets = normalizedPreferences.toolsets ? _object_spread$m({}, normalizedPreferences.toolsets) : undefined;
1952
- var middlewares = normalizedPreferences.middlewares ? _object_spread$m({}, normalizedPreferences.middlewares) : undefined;
1951
+ var toolsets = normalizedPreferences.toolsets ? _object_spread$n({}, normalizedPreferences.toolsets) : undefined;
1952
+ var middlewares = normalizedPreferences.middlewares ? _object_spread$n({}, normalizedPreferences.middlewares) : undefined;
1953
1953
  if (sourceType === "toolset") {
1954
1954
  var toolsetName = "toolsetName" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.toolsetName) : "";
1955
1955
  if (!toolsetName) {
@@ -1965,14 +1965,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
1965
1965
  } else {
1966
1966
  delete nextToolsets[normalizedNodeKey];
1967
1967
  }
1968
- return normalizeAssistantBindingToolPreferences(_object_spread$m({
1968
+ return normalizeAssistantBindingToolPreferences(_object_spread$n({
1969
1969
  version: 1
1970
1970
  }, Object.keys(nextToolsets).length ? {
1971
1971
  toolsets: nextToolsets
1972
1972
  } : {}, middlewares && Object.keys(middlewares).length ? {
1973
1973
  middlewares: middlewares
1974
1974
  } : {}, normalizedPreferences.skills ? {
1975
- skills: _object_spread$m({}, normalizedPreferences.skills)
1975
+ skills: _object_spread$n({}, normalizedPreferences.skills)
1976
1976
  } : {}));
1977
1977
  }
1978
1978
  var provider = "provider" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.provider) : "";
@@ -1988,14 +1988,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
1988
1988
  } else {
1989
1989
  delete nextMiddlewares[normalizedNodeKey];
1990
1990
  }
1991
- return normalizeAssistantBindingToolPreferences(_object_spread$m({
1991
+ return normalizeAssistantBindingToolPreferences(_object_spread$n({
1992
1992
  version: 1
1993
1993
  }, toolsets && Object.keys(toolsets).length ? {
1994
1994
  toolsets: toolsets
1995
1995
  } : {}, Object.keys(nextMiddlewares).length ? {
1996
1996
  middlewares: nextMiddlewares
1997
1997
  } : {}, normalizedPreferences.skills ? {
1998
- skills: _object_spread$m({}, normalizedPreferences.skills)
1998
+ skills: _object_spread$n({}, normalizedPreferences.skills)
1999
1999
  } : {}));
2000
2000
  }
2001
2001
  function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillId, enabled) {
@@ -2013,7 +2013,7 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
2013
2013
  }) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$h(disabledSkillIds).concat([
2014
2014
  normalizedSkillId
2015
2015
  ]));
2016
- var skills = normalizedPreferences.skills ? _object_spread$m({}, normalizedPreferences.skills) : {};
2016
+ var skills = normalizedPreferences.skills ? _object_spread$n({}, normalizedPreferences.skills) : {};
2017
2017
  if (nextDisabledSkillIds.length) {
2018
2018
  skills[normalizedWorkspaceId] = {
2019
2019
  workspaceId: normalizedWorkspaceId,
@@ -2022,12 +2022,12 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
2022
2022
  } else {
2023
2023
  delete skills[normalizedWorkspaceId];
2024
2024
  }
2025
- return normalizeAssistantBindingToolPreferences(_object_spread$m({
2025
+ return normalizeAssistantBindingToolPreferences(_object_spread$n({
2026
2026
  version: 1
2027
2027
  }, normalizedPreferences.toolsets ? {
2028
- toolsets: _object_spread$m({}, normalizedPreferences.toolsets)
2028
+ toolsets: _object_spread$n({}, normalizedPreferences.toolsets)
2029
2029
  } : {}, normalizedPreferences.middlewares ? {
2030
- middlewares: _object_spread$m({}, normalizedPreferences.middlewares)
2030
+ middlewares: _object_spread$n({}, normalizedPreferences.middlewares)
2031
2031
  } : {}, Object.keys(skills).length ? {
2032
2032
  skills: skills
2033
2033
  } : {}));
@@ -2045,14 +2045,14 @@ function ensureAssistantBindingSkillWorkspacePreference(preferences, workspaceId
2045
2045
  var currentSkills = (_normalizedPreferences_skills = normalizedPreferences.skills) !== null && _normalizedPreferences_skills !== void 0 ? _normalizedPreferences_skills : {};
2046
2046
  var currentWorkspacePreference = currentSkills[normalizedWorkspaceId];
2047
2047
  var _currentWorkspacePreference_disabledSkillIds;
2048
- return _object_spread_props$h(_object_spread$m({
2048
+ return _object_spread_props$h(_object_spread$n({
2049
2049
  version: 1
2050
2050
  }, normalizedPreferences.toolsets ? {
2051
- toolsets: _object_spread$m({}, normalizedPreferences.toolsets)
2051
+ toolsets: _object_spread$n({}, normalizedPreferences.toolsets)
2052
2052
  } : {}, normalizedPreferences.middlewares ? {
2053
- middlewares: _object_spread$m({}, normalizedPreferences.middlewares)
2053
+ middlewares: _object_spread$n({}, normalizedPreferences.middlewares)
2054
2054
  } : {}), {
2055
- skills: _object_spread_props$h(_object_spread$m({}, currentSkills), _define_property$n({}, normalizedWorkspaceId, {
2055
+ skills: _object_spread_props$h(_object_spread$n({}, currentSkills), _define_property$n({}, normalizedWorkspaceId, {
2056
2056
  workspaceId: normalizeAssistantBindingPreferenceKey(currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.workspaceId) || normalizedWorkspaceId,
2057
2057
  disabledSkillIds: (_currentWorkspacePreference_disabledSkillIds = currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.disabledSkillIds) !== null && _currentWorkspacePreference_disabledSkillIds !== void 0 ? _currentWorkspacePreference_disabledSkillIds : []
2058
2058
  }))
@@ -2158,7 +2158,7 @@ function _define_property$m(obj, key, value) {
2158
2158
  }
2159
2159
  return obj;
2160
2160
  }
2161
- function _object_spread$l(target) {
2161
+ function _object_spread$m(target) {
2162
2162
  for(var i = 1; i < arguments.length; i++){
2163
2163
  var source = arguments[i] != null ? arguments[i] : {};
2164
2164
  var ownKeys = Object.keys(source);
@@ -2300,7 +2300,7 @@ function resolveModelParameterOptions(modelOptions, rules) {
2300
2300
  var config = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2301
2301
  var _config_preserveUnknown;
2302
2302
  var preserveUnknown = (_config_preserveUnknown = config.preserveUnknown) !== null && _config_preserveUnknown !== void 0 ? _config_preserveUnknown : true;
2303
- var resolvedOptions = preserveUnknown ? _object_spread$l({}, modelOptions !== null && modelOptions !== void 0 ? modelOptions : {}) : {};
2303
+ var resolvedOptions = preserveUnknown ? _object_spread$m({}, modelOptions !== null && modelOptions !== void 0 ? modelOptions : {}) : {};
2304
2304
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
2305
2305
  try {
2306
2306
  for(var _iterator = rules[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
@@ -2383,7 +2383,7 @@ function _iterable_to_array$h(iter) {
2383
2383
  function _non_iterable_spread$f() {
2384
2384
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2385
2385
  }
2386
- function _object_spread$k(target) {
2386
+ function _object_spread$l(target) {
2387
2387
  for(var i = 1; i < arguments.length; i++){
2388
2388
  var source = arguments[i] != null ? arguments[i] : {};
2389
2389
  var ownKeys = Object.keys(source);
@@ -2439,20 +2439,20 @@ var common$1 = {
2439
2439
  maxConcurrency: positiveInteger.max(1000)
2440
2440
  };
2441
2441
  /** Saved model configuration is explicit; name heuristics are only discovery suggestions. */ var modelConfigurationSchema = z.discriminatedUnion("modelType", [
2442
- z.object(_object_spread_props$g(_object_spread$k({
2442
+ z.object(_object_spread_props$g(_object_spread$l({
2443
2443
  modelType: z.literal(AiModelTypeEnum.LLM)
2444
2444
  }, common$1), {
2445
2445
  maxOutputTokens: positiveInteger,
2446
2446
  defaultMaxTokens: positiveInteger,
2447
2447
  features: z.array(z.nativeEnum(ModelFeature)).max(20)
2448
2448
  })).strict(),
2449
- z.object(_object_spread_props$g(_object_spread$k({
2449
+ z.object(_object_spread_props$g(_object_spread$l({
2450
2450
  modelType: z.literal(AiModelTypeEnum.TEXT_EMBEDDING)
2451
2451
  }, common$1), {
2452
2452
  dimensions: positiveInteger.optional(),
2453
2453
  batchSize: positiveInteger.max(2048)
2454
2454
  })).strict(),
2455
- z.object(_object_spread$k({
2455
+ z.object(_object_spread$l({
2456
2456
  modelType: z.literal(AiModelTypeEnum.RERANK)
2457
2457
  }, common$1)).strict()
2458
2458
  ]).superRefine(function(value, ctx) {
@@ -2484,7 +2484,7 @@ function defaultModelConfiguration(modelType) {
2484
2484
  };
2485
2485
  switch(modelType){
2486
2486
  case AiModelTypeEnum.LLM:
2487
- return _object_spread_props$g(_object_spread$k({
2487
+ return _object_spread_props$g(_object_spread$l({
2488
2488
  modelType: modelType
2489
2489
  }, common), {
2490
2490
  maxOutputTokens: 2048,
@@ -2492,13 +2492,13 @@ function defaultModelConfiguration(modelType) {
2492
2492
  features: []
2493
2493
  });
2494
2494
  case AiModelTypeEnum.TEXT_EMBEDDING:
2495
- return _object_spread_props$g(_object_spread$k({
2495
+ return _object_spread_props$g(_object_spread$l({
2496
2496
  modelType: modelType
2497
2497
  }, common), {
2498
2498
  batchSize: 16
2499
2499
  });
2500
2500
  case AiModelTypeEnum.RERANK:
2501
- return _object_spread$k({
2501
+ return _object_spread$l({
2502
2502
  modelType: modelType
2503
2503
  }, common);
2504
2504
  }
@@ -3099,7 +3099,7 @@ function _define_property$k(obj, key, value) {
3099
3099
  }
3100
3100
  return obj;
3101
3101
  }
3102
- function _object_spread$j(target) {
3102
+ function _object_spread$k(target) {
3103
3103
  for(var i = 1; i < arguments.length; i++){
3104
3104
  var source = arguments[i] != null ? arguments[i] : {};
3105
3105
  var ownKeys = Object.keys(source);
@@ -3160,7 +3160,7 @@ function getXpertAgentRecursionLimit(agentConfig) {
3160
3160
  return typeof (agentConfig === null || agentConfig === void 0 ? void 0 : agentConfig.recursionLimit) === "number" ? agentConfig.recursionLimit : DEFAULT_XPERT_AGENT_RECURSION_LIMIT;
3161
3161
  }
3162
3162
  function normalizeXpertAgentConfig(agentConfig) {
3163
- return _object_spread_props$f(_object_spread$j({}, agentConfig !== null && agentConfig !== void 0 ? agentConfig : {}), {
3163
+ return _object_spread_props$f(_object_spread$k({}, agentConfig !== null && agentConfig !== void 0 ? agentConfig : {}), {
3164
3164
  recursionLimit: getXpertAgentRecursionLimit(agentConfig)
3165
3165
  });
3166
3166
  }
@@ -3294,7 +3294,7 @@ function _iterable_to_array_limit$d(arr, i) {
3294
3294
  function _non_iterable_rest$f() {
3295
3295
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3296
3296
  }
3297
- function _object_spread$i(target) {
3297
+ function _object_spread$j(target) {
3298
3298
  for(var i = 1; i < arguments.length; i++){
3299
3299
  var source = arguments[i] != null ? arguments[i] : {};
3300
3300
  var ownKeys = Object.keys(source);
@@ -3422,7 +3422,7 @@ function configurableStoreNamespace(configurable) {
3422
3422
  var _varName_split = _sliced_to_array$d(varName.split("."), 2), agentChannelName = _varName_split[0], variableName = _varName_split[1];
3423
3423
  if (variableName) {
3424
3424
  var _state_agentChannelName;
3425
- state[agentChannelName] = _object_spread_props$e(_object_spread$i({}, (_state_agentChannelName = state[agentChannelName]) !== null && _state_agentChannelName !== void 0 ? _state_agentChannelName : {}), _define_property$j({}, variableName, value));
3425
+ state[agentChannelName] = _object_spread_props$e(_object_spread$j({}, (_state_agentChannelName = state[agentChannelName]) !== null && _state_agentChannelName !== void 0 ? _state_agentChannelName : {}), _define_property$j({}, variableName, value));
3426
3426
  } else {
3427
3427
  state[agentChannelName] = value;
3428
3428
  }
@@ -3526,7 +3526,7 @@ function _define_property$i(obj, key, value) {
3526
3526
  }
3527
3527
  return obj;
3528
3528
  }
3529
- function _object_spread$h(target) {
3529
+ function _object_spread$i(target) {
3530
3530
  for(var i = 1; i < arguments.length; i++){
3531
3531
  var source = arguments[i] != null ? arguments[i] : {};
3532
3532
  var ownKeys = Object.keys(source);
@@ -3642,11 +3642,11 @@ var KNOWLEDGEBASE_FAQ_RETRIEVAL_MODES = [
3642
3642
  return candidate === requestedMode;
3643
3643
  }) ? requestedMode : DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.mode;
3644
3644
  var _recall_fusion2, _recall_fusion_mode, _recall_fusion_weights;
3645
- return _object_spread_props$d(_object_spread$h({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, recall !== null && recall !== void 0 ? recall : {}), {
3645
+ return _object_spread_props$d(_object_spread$i({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, recall !== null && recall !== void 0 ? recall : {}), {
3646
3646
  mode: mode,
3647
- fusion: _object_spread_props$d(_object_spread$h({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion, (_recall_fusion2 = recall === null || recall === void 0 ? void 0 : recall.fusion) !== null && _recall_fusion2 !== void 0 ? _recall_fusion2 : {}), {
3647
+ fusion: _object_spread_props$d(_object_spread$i({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion, (_recall_fusion2 = recall === null || recall === void 0 ? void 0 : recall.fusion) !== null && _recall_fusion2 !== void 0 ? _recall_fusion2 : {}), {
3648
3648
  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,
3649
- weights: _object_spread_props$d(_object_spread$h({}, 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 : {}), {
3649
+ weights: _object_spread_props$d(_object_spread$i({}, 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 : {}), {
3650
3650
  graph: 0
3651
3651
  })
3652
3652
  })
@@ -3834,7 +3834,7 @@ function _iterable_to_array$f(iter) {
3834
3834
  function _non_iterable_spread$d() {
3835
3835
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3836
3836
  }
3837
- function _object_spread$g(target) {
3837
+ function _object_spread$h(target) {
3838
3838
  for(var i = 1; i < arguments.length; i++){
3839
3839
  var source = arguments[i] != null ? arguments[i] : {};
3840
3840
  var ownKeys = Object.keys(source);
@@ -3862,12 +3862,12 @@ function _unsupported_iterable_to_array$m(o, minLen) {
3862
3862
  }
3863
3863
  /** Only copy configured defaults; do not turn built-in defaults into document overrides. */ function knowledgebaseDocumentParserDefaults(config, documentType) {
3864
3864
  if (!config) return {};
3865
- return _object_spread$g({}, config.spreadsheet ? {
3866
- spreadsheet: _object_spread$g({}, config.spreadsheet)
3865
+ return _object_spread$h({}, config.spreadsheet ? {
3866
+ spreadsheet: _object_spread$h({}, config.spreadsheet)
3867
3867
  } : {}, config.tableMetadataRequirements !== undefined ? {
3868
3868
  tableMetadataRequirements: config.tableMetadataRequirements
3869
3869
  } : {}, config.questionGeneration ? {
3870
- questionGeneration: _object_spread$g({}, config.questionGeneration)
3870
+ questionGeneration: _object_spread$h({}, config.questionGeneration)
3871
3871
  } : {}, config.chunkLanguageHint !== undefined ? {
3872
3872
  chunkLanguageHint: config.chunkLanguageHint
3873
3873
  } : {}, config.maxChunkTokens !== undefined ? {
@@ -3881,7 +3881,7 @@ function _unsupported_iterable_to_array$m(o, minLen) {
3881
3881
  } : {}, config.textSplitterType ? {
3882
3882
  textSplitterType: config.textSplitterType
3883
3883
  } : {}, config.textSplitter || config.chunkSize != null || config.chunkOverlap != null ? {
3884
- textSplitter: _object_spread$g({}, config.chunkSize != null ? {
3884
+ textSplitter: _object_spread$h({}, config.chunkSize != null ? {
3885
3885
  chunkSize: config.chunkSize
3886
3886
  } : {}, config.chunkOverlap != null ? {
3887
3887
  chunkOverlap: config.chunkOverlap
@@ -3893,7 +3893,7 @@ function _unsupported_iterable_to_array$m(o, minLen) {
3893
3893
  } : {}, config.imageUnderstandingType ? {
3894
3894
  imageUnderstandingType: config.imageUnderstandingType
3895
3895
  } : {}, config.imageUnderstanding ? {
3896
- imageUnderstanding: _object_spread$g({}, config.imageUnderstanding)
3896
+ imageUnderstanding: _object_spread$h({}, config.imageUnderstanding)
3897
3897
  } : {}, knowledgebaseParserSelection(config, documentType !== null && documentType !== void 0 ? documentType : ""));
3898
3898
  }
3899
3899
  /** Arrays are the canonical ordered format; retain the plugin's legacy comma syntax. */ function decodeKnowledgeSeparators(value) {
@@ -3971,7 +3971,7 @@ function _define_property$g(obj, key, value) {
3971
3971
  }
3972
3972
  return obj;
3973
3973
  }
3974
- function _object_spread$f(target) {
3974
+ function _object_spread$g(target) {
3975
3975
  for(var i = 1; i < arguments.length; i++){
3976
3976
  var source = arguments[i] != null ? arguments[i] : {};
3977
3977
  var ownKeys = Object.keys(source);
@@ -4001,7 +4001,7 @@ function _object_spread$f(target) {
4001
4001
  * @deprecated use DocumentSourceProviderCategoryEnum local file type instead
4002
4002
  */ DocumentTypeEnum["FILE"] = "file";
4003
4003
  })(DocumentTypeEnum || (DocumentTypeEnum = {}));
4004
- var KDocumentSourceType = _object_spread$f({}, DocumentSourceProviderCategoryEnum, DocumentTypeEnum);
4004
+ var KDocumentSourceType = _object_spread$g({}, DocumentSourceProviderCategoryEnum, DocumentTypeEnum);
4005
4005
  /**
4006
4006
  * Document type category, determine how to process the document.
4007
4007
  */ var KBDocumentCategoryEnum;
@@ -4833,7 +4833,7 @@ function _iterable_to_array$e(iter) {
4833
4833
  function _non_iterable_spread$c() {
4834
4834
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4835
4835
  }
4836
- function _object_spread$e(target) {
4836
+ function _object_spread$f(target) {
4837
4837
  for(var i = 1; i < arguments.length; i++){
4838
4838
  var source = arguments[i] != null ? arguments[i] : {};
4839
4839
  var ownKeys = Object.keys(source);
@@ -4942,7 +4942,7 @@ function resolveRuntimeXpert(xpert, isDraft) {
4942
4942
  var graph = resolveDraftRuntimeGraph(xpert, draft);
4943
4943
  var agent = resolveDraftPrimaryAgent(xpert, draft, graph);
4944
4944
  var _draft_team5, _draft_team_workspaceId, _draft_team_agentConfig, _draft_team_commandProfile, _draft_team_features, _draft_team_options;
4945
- return _object_spread_props$c(_object_spread$e({}, xpert, (_draft_team5 = draft.team) !== null && _draft_team5 !== void 0 ? _draft_team5 : {}), {
4945
+ return _object_spread_props$c(_object_spread$f({}, xpert, (_draft_team5 = draft.team) !== null && _draft_team5 !== void 0 ? _draft_team5 : {}), {
4946
4946
  id: xpert.id,
4947
4947
  tenantId: xpert.tenantId,
4948
4948
  organizationId: xpert.organizationId,
@@ -5226,9 +5226,9 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
5226
5226
  if (node.type === "agent" && node.key === sourceKey) {
5227
5227
  replacedNode = true;
5228
5228
  var _node_entity;
5229
- return _object_spread_props$c(_object_spread$e({}, node), {
5229
+ return _object_spread_props$c(_object_spread$f({}, node), {
5230
5230
  key: targetKey,
5231
- entity: _object_spread_props$c(_object_spread$e({}, (_node_entity = node.entity) !== null && _node_entity !== void 0 ? _node_entity : {}, agent), {
5231
+ entity: _object_spread_props$c(_object_spread$f({}, (_node_entity = node.entity) !== null && _node_entity !== void 0 ? _node_entity : {}, agent), {
5232
5232
  key: targetKey
5233
5233
  })
5234
5234
  });
@@ -5244,17 +5244,17 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
5244
5244
  if (from === connection.from && to === connection.to) {
5245
5245
  return connection;
5246
5246
  }
5247
- return _object_spread_props$c(_object_spread$e({}, connection), {
5247
+ return _object_spread_props$c(_object_spread$f({}, connection), {
5248
5248
  from: from,
5249
5249
  to: to,
5250
5250
  key: "".concat(from, "/").concat(to)
5251
5251
  });
5252
5252
  });
5253
- return _object_spread_props$c(_object_spread$e({}, draft), {
5254
- team: draft.team ? _object_spread_props$c(_object_spread$e({}, draft.team), {
5255
- agent: draft.team.agent ? _object_spread_props$c(_object_spread$e({}, draft.team.agent, agent), {
5253
+ return _object_spread_props$c(_object_spread$f({}, draft), {
5254
+ team: draft.team ? _object_spread_props$c(_object_spread$f({}, draft.team), {
5255
+ agent: draft.team.agent ? _object_spread_props$c(_object_spread$f({}, draft.team.agent, agent), {
5256
5256
  key: targetKey
5257
- }) : _object_spread_props$c(_object_spread$e({}, agent), {
5257
+ }) : _object_spread_props$c(_object_spread$f({}, agent), {
5258
5258
  key: targetKey
5259
5259
  })
5260
5260
  }) : draft.team,
@@ -5418,7 +5418,7 @@ var GENERAL_PROJECT_TYPE = {
5418
5418
  }
5419
5419
  return obj;
5420
5420
  }
5421
- function _object_spread$d(target) {
5421
+ function _object_spread$e(target) {
5422
5422
  for(var i = 1; i < arguments.length; i++){
5423
5423
  var source = arguments[i] != null ? arguments[i] : {};
5424
5424
  var ownKeys = Object.keys(source);
@@ -5461,8 +5461,8 @@ function buildChunkTree(documents) {
5461
5461
  documents.forEach(function(doc, index) {
5462
5462
  var chunkId = getChunkNodeId(doc);
5463
5463
  if (chunkId) {
5464
- map.set(chunkId, _object_spread_props$b(_object_spread$d({}, doc), {
5465
- metadata: _object_spread_props$b(_object_spread$d({}, doc.metadata), {
5464
+ map.set(chunkId, _object_spread_props$b(_object_spread$e({}, doc), {
5465
+ metadata: _object_spread_props$b(_object_spread$e({}, doc.metadata), {
5466
5466
  chunkId: chunkId,
5467
5467
  children: []
5468
5468
  })
@@ -6025,7 +6025,7 @@ function _define_property$d(obj, key, value) {
6025
6025
  }
6026
6026
  return obj;
6027
6027
  }
6028
- function _object_spread$c(target) {
6028
+ function _object_spread$d(target) {
6029
6029
  for(var i = 1; i < arguments.length; i++){
6030
6030
  var source = arguments[i] != null ? arguments[i] : {};
6031
6031
  var ownKeys = Object.keys(source);
@@ -6071,6 +6071,9 @@ function isMiddlewareToolEnabled(config) {
6071
6071
  function isRequiredMiddleware(entity) {
6072
6072
  return (entity === null || entity === void 0 ? void 0 : entity.required) === true;
6073
6073
  }
6074
+ /** Default only omitted options. Preserve null and other invalid values for provider validation. */ function normalizeMiddlewareOptions(options) {
6075
+ return options === undefined ? {} : options;
6076
+ }
6074
6077
  function genXpertMiddlewareKey() {
6075
6078
  return letterStartSUID("Middleware_");
6076
6079
  }
@@ -6090,8 +6093,8 @@ function normalizeMiddlewareNode(node) {
6090
6093
  if (provider === entity.provider) {
6091
6094
  return node;
6092
6095
  }
6093
- return _object_spread_props$a(_object_spread$c({}, node), {
6094
- entity: _object_spread_props$a(_object_spread$c({}, entity), {
6096
+ return _object_spread_props$a(_object_spread$d({}, node), {
6097
+ entity: _object_spread_props$a(_object_spread$d({}, entity), {
6095
6098
  provider: provider
6096
6099
  })
6097
6100
  });
@@ -6198,7 +6201,7 @@ function _non_iterable_rest$c() {
6198
6201
  function _non_iterable_spread$b() {
6199
6202
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6200
6203
  }
6201
- function _object_spread$b(target) {
6204
+ function _object_spread$c(target) {
6202
6205
  for(var i = 1; i < arguments.length; i++){
6203
6206
  var source = arguments[i] != null ? arguments[i] : {};
6204
6207
  var ownKeys = Object.keys(source);
@@ -6342,7 +6345,7 @@ function normalizeIncomingContent(content, context) {
6342
6345
  if (typeof content !== "string") {
6343
6346
  return content;
6344
6347
  }
6345
- return _object_spread$b({
6348
+ return _object_spread$c({
6346
6349
  type: "text",
6347
6350
  text: content
6348
6351
  }, context.streamId ? {
@@ -6407,7 +6410,7 @@ function filterText(content) {
6407
6410
  return "";
6408
6411
  }
6409
6412
  function mergeTextChunkForDisplay(previous, incoming) {
6410
- return _object_spread$b(_object_spread_props$9(_object_spread$b({}, previous), {
6413
+ return _object_spread$c(_object_spread_props$9(_object_spread$c({}, previous), {
6411
6414
  text: "".concat(previous.text).concat(incoming.text)
6412
6415
  }), !previous.id && incoming.id ? {
6413
6416
  id: incoming.id
@@ -6419,7 +6422,7 @@ function mergeTextChunkForDisplay(previous, incoming) {
6419
6422
  }
6420
6423
  function stripAutoDisplaySeparator(incoming, previousOriginal) {
6421
6424
  if ((previousOriginal === null || previousOriginal === void 0 ? void 0 : previousOriginal.type) === "component" && incoming.text.startsWith("\n\n")) {
6422
- return _object_spread_props$9(_object_spread$b({}, incoming), {
6425
+ return _object_spread_props$9(_object_spread$c({}, incoming), {
6423
6426
  text: incoming.text.slice(1)
6424
6427
  });
6425
6428
  }
@@ -6436,14 +6439,14 @@ function mergeComponentData(previous, incoming) {
6436
6439
  return acc;
6437
6440
  }, {});
6438
6441
  var _previous_data1;
6439
- return _object_spread_props$9(_object_spread$b({}, previous, incoming), {
6440
- data: _object_spread_props$9(_object_spread$b({}, (_previous_data1 = previous.data) !== null && _previous_data1 !== void 0 ? _previous_data1 : {}, mergedIncomingData), {
6442
+ return _object_spread_props$9(_object_spread$c({}, previous, incoming), {
6443
+ data: _object_spread_props$9(_object_spread$c({}, (_previous_data1 = previous.data) !== null && _previous_data1 !== void 0 ? _previous_data1 : {}, mergedIncomingData), {
6441
6444
  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)
6442
6445
  })
6443
6446
  });
6444
6447
  }
6445
6448
  function inferMessageAppendContext(content, fallbackSource) {
6446
- return _object_spread$b({
6449
+ return _object_spread$c({
6447
6450
  source: fallbackSource !== null && fallbackSource !== void 0 ? fallbackSource : inferContentSource(content)
6448
6451
  }, typeof content !== "string" && (content === null || content === void 0 ? void 0 : content.id) ? {
6449
6452
  streamId: String(content.id)
@@ -6451,10 +6454,10 @@ function inferMessageAppendContext(content, fallbackSource) {
6451
6454
  }
6452
6455
  function resolveMessageAppendContext(options) {
6453
6456
  var inferredContext = inferMessageAppendContext(options.incoming, options.fallbackSource);
6454
- var appendContext = typeof options.incoming === "string" && !inferredContext.streamId && options.fallbackStreamId ? _object_spread_props$9(_object_spread$b({}, inferredContext), {
6457
+ var appendContext = typeof options.incoming === "string" && !inferredContext.streamId && options.fallbackStreamId ? _object_spread_props$9(_object_spread$c({}, inferredContext), {
6455
6458
  streamId: options.fallbackStreamId
6456
6459
  }) : inferredContext;
6457
- var messageContext = shouldJoinWithoutSeparator(options.previous, appendContext) ? _object_spread_props$9(_object_spread$b({}, appendContext), {
6460
+ var messageContext = shouldJoinWithoutSeparator(options.previous, appendContext) ? _object_spread_props$9(_object_spread$c({}, appendContext), {
6458
6461
  joinHint: "none"
6459
6462
  }) : appendContext;
6460
6463
  return {
@@ -6475,7 +6478,7 @@ function resolveMessageAppendContext(options) {
6475
6478
  var previous = initial;
6476
6479
  return {
6477
6480
  resolve: function resolve(options) {
6478
- var resolved = resolveMessageAppendContext(_object_spread_props$9(_object_spread$b({}, options), {
6481
+ var resolved = resolveMessageAppendContext(_object_spread_props$9(_object_spread$c({}, options), {
6479
6482
  previous: previous
6480
6483
  }));
6481
6484
  if (!isFileActivityContent(options.incoming) && !isResourceCardContent(options.incoming)) previous = resolved.appendContext;
@@ -6513,10 +6516,10 @@ function resolveMessageAppendContext(options) {
6513
6516
  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, [
6514
6517
  "previous"
6515
6518
  ]);
6516
- var appendContext = _object_spread$b({}, inferMessageAppendContext(incoming), contextWithoutPrevious);
6519
+ var appendContext = _object_spread$c({}, inferMessageAppendContext(incoming), contextWithoutPrevious);
6517
6520
  var _appendContext_joinHint;
6518
6521
  var joinHint = (_appendContext_joinHint = appendContext.joinHint) !== null && _appendContext_joinHint !== void 0 ? _appendContext_joinHint : shouldJoinWithoutSeparator(previous, appendContext) ? "none" : undefined;
6519
- var messageContext = joinHint ? _object_spread_props$9(_object_spread$b({}, appendContext), {
6522
+ var messageContext = joinHint ? _object_spread_props$9(_object_spread$c({}, appendContext), {
6520
6523
  joinHint: joinHint
6521
6524
  }) : appendContext;
6522
6525
  var content = normalizeIncomingContent(incoming, appendContext);
@@ -6525,7 +6528,7 @@ function resolveMessageAppendContext(options) {
6525
6528
  var reasoning = (_aiMessage_reasoning = aiMessage.reasoning) !== null && _aiMessage_reasoning !== void 0 ? _aiMessage_reasoning : [];
6526
6529
  var lastReasoning = reasoning[reasoning.length - 1];
6527
6530
  if ((lastReasoning === null || lastReasoning === void 0 ? void 0 : lastReasoning.id) === content.id) {
6528
- var mergedReasoning = _object_spread_props$9(_object_spread$b({}, lastReasoning), {
6531
+ var mergedReasoning = _object_spread_props$9(_object_spread$c({}, lastReasoning), {
6529
6532
  text: "".concat(lastReasoning.text).concat(content.text)
6530
6533
  });
6531
6534
  aiMessage.reasoning = _to_consumable_array$b(reasoning.slice(0, reasoning.length - 1)).concat([
@@ -6546,7 +6549,7 @@ function resolveMessageAppendContext(options) {
6546
6549
  return isTextContent(item) && item.id === content.id;
6547
6550
  });
6548
6551
  if (index > -1) {
6549
- var mergedContent = _object_spread$b(_object_spread_props$9(_object_spread$b({}, chunks[index]), {
6552
+ var mergedContent = _object_spread$c(_object_spread_props$9(_object_spread$c({}, chunks[index]), {
6550
6553
  text: "".concat(chunks[index].text).concat(content.text)
6551
6554
  }), !chunks[index].id && content.id ? {
6552
6555
  id: content.id
@@ -6569,7 +6572,7 @@ function resolveMessageAppendContext(options) {
6569
6572
  var existingIndex = findLastTextChunkIndexById(chunks, content.id);
6570
6573
  if (existingIndex > -1) {
6571
6574
  var existing = chunks[existingIndex];
6572
- var merged = _object_spread_props$9(_object_spread$b({}, existing), {
6575
+ var merged = _object_spread_props$9(_object_spread$c({}, existing), {
6573
6576
  text: "".concat(existing.text).concat(content.text)
6574
6577
  });
6575
6578
  var nextChunks = _to_consumable_array$b(chunks);
@@ -6578,7 +6581,7 @@ function resolveMessageAppendContext(options) {
6578
6581
  return;
6579
6582
  }
6580
6583
  } else if (isTextContent(lastContent) && messageContext.joinHint === "none") {
6581
- var mergedLastContent = _object_spread_props$9(_object_spread$b({}, lastContent), {
6584
+ var mergedLastContent = _object_spread_props$9(_object_spread$c({}, lastContent), {
6582
6585
  text: "".concat(lastContent.text).concat(content.text)
6583
6586
  });
6584
6587
  aiMessage.content = _to_consumable_array$b(chunks.slice(0, chunks.length - 1)).concat([
@@ -6587,7 +6590,7 @@ function resolveMessageAppendContext(options) {
6587
6590
  return;
6588
6591
  }
6589
6592
  var separator = getContentChunkSeparator(lastContent, content.text, messageContext.joinHint);
6590
- var appended = _object_spread_props$9(_object_spread$b({}, content), {
6593
+ var appended = _object_spread_props$9(_object_spread$c({}, content), {
6591
6594
  text: separator + content.text
6592
6595
  });
6593
6596
  aiMessage.content = _to_consumable_array$b(chunks).concat([
@@ -6611,7 +6614,7 @@ function resolveMessageAppendContext(options) {
6611
6614
  aiMessage.content = nextChunks1;
6612
6615
  }
6613
6616
  function appendMessagePlainText(accumulator, incoming, context) {
6614
- var resolvedContext = _object_spread$b({}, inferMessageAppendContext(incoming), context !== null && context !== void 0 ? context : {});
6617
+ var resolvedContext = _object_spread$c({}, inferMessageAppendContext(incoming), context !== null && context !== void 0 ? context : {});
6615
6618
  var nextText = filterText(incoming);
6616
6619
  if (!nextText) {
6617
6620
  return accumulator !== null && accumulator !== void 0 ? accumulator : "";
@@ -6656,7 +6659,7 @@ function appendMessagePlainText(accumulator, incoming, context) {
6656
6659
  return;
6657
6660
  }
6658
6661
  textIndexById.set(item.id, merged.length);
6659
- merged.push(_object_spread$b({}, item));
6662
+ merged.push(_object_spread$c({}, item));
6660
6663
  return;
6661
6664
  }
6662
6665
  var lastItem = merged[merged.length - 1];
@@ -6664,7 +6667,7 @@ function appendMessagePlainText(accumulator, incoming, context) {
6664
6667
  merged[merged.length - 1] = mergeTextChunkForDisplay(lastItem, item);
6665
6668
  return;
6666
6669
  }
6667
- merged.push(_object_spread$b({}, item));
6670
+ merged.push(_object_spread$c({}, item));
6668
6671
  });
6669
6672
  return merged.length ? merged : null;
6670
6673
  }
@@ -6679,7 +6682,7 @@ function stringifyMessageContent(content) {
6679
6682
  if (isFileActivityContent(item) || isResourceCardContent(item)) return;
6680
6683
  var itemContext = inferMessageAppendContext(item);
6681
6684
  var joinHint = shouldJoinWithoutSeparator(previousContext, itemContext) ? "none" : undefined;
6682
- result = appendMessagePlainText(result, stringifySingle(item), _object_spread$b({}, itemContext, joinHint ? {
6685
+ result = appendMessagePlainText(result, stringifySingle(item), _object_spread$c({}, itemContext, joinHint ? {
6683
6686
  joinHint: joinHint
6684
6687
  } : {}));
6685
6688
  previousContext = itemContext;
@@ -6702,7 +6705,7 @@ function filterMessageText(content) {
6702
6705
  }
6703
6706
  var itemContext = inferMessageAppendContext(item);
6704
6707
  var joinHint = shouldJoinWithoutSeparator(previousContext, itemContext) ? "none" : undefined;
6705
- result = appendMessagePlainText(result, nextText, _object_spread$b({}, itemContext, joinHint ? {
6708
+ result = appendMessagePlainText(result, nextText, _object_spread$c({}, itemContext, joinHint ? {
6706
6709
  joinHint: joinHint
6707
6710
  } : {}));
6708
6711
  previousContext = itemContext;
@@ -7383,7 +7386,7 @@ function _define_property$b(obj, key, value) {
7383
7386
  }
7384
7387
  return obj;
7385
7388
  }
7386
- function _object_spread$a(target) {
7389
+ function _object_spread$b(target) {
7387
7390
  for(var i = 1; i < arguments.length; i++){
7388
7391
  var source = arguments[i] != null ? arguments[i] : {};
7389
7392
  var ownKeys = Object.keys(source);
@@ -7426,7 +7429,7 @@ var base = {
7426
7429
  };
7427
7430
  var outcomes = z$1.array(projectPipelineKeySchema).min(2).max(32);
7428
7431
  /** Only explicit primitives can control flow; configuration cannot embed executable expressions. */ var projectPipelineNodeSchema = z$1.discriminatedUnion("kind", [
7429
- z$1.object(_object_spread_props$8(_object_spread$a({}, base), {
7432
+ z$1.object(_object_spread_props$8(_object_spread$b({}, base), {
7430
7433
  kind: z$1.literal("work"),
7431
7434
  laneKey: projectPipelineKeySchema,
7432
7435
  operationRef: projectPipelineRefSchema,
@@ -7435,23 +7438,23 @@ var outcomes = z$1.array(projectPipelineKeySchema).min(2).max(32);
7435
7438
  resourceResolverRef: projectPipelineRefSchema.optional(),
7436
7439
  outputSchemaRef: projectPipelineRefSchema.optional()
7437
7440
  })).strict(),
7438
- z$1.object(_object_spread_props$8(_object_spread$a({}, base), {
7441
+ z$1.object(_object_spread_props$8(_object_spread$b({}, base), {
7439
7442
  kind: z$1.literal("fork")
7440
7443
  })).strict(),
7441
- z$1.object(_object_spread_props$8(_object_spread$a({}, base), {
7444
+ z$1.object(_object_spread_props$8(_object_spread$b({}, base), {
7442
7445
  kind: z$1.literal("join"),
7443
7446
  join: z$1.object({
7444
7447
  mode: z$1.literal("all_selected"),
7445
7448
  accept: z$1.literal("completed")
7446
7449
  }).strict()
7447
7450
  })).strict(),
7448
- z$1.object(_object_spread_props$8(_object_spread$a({}, base), {
7451
+ z$1.object(_object_spread_props$8(_object_spread$b({}, base), {
7449
7452
  kind: z$1.literal("router"),
7450
7453
  policyRef: projectPipelineRefSchema,
7451
7454
  outcomes: outcomes,
7452
7455
  unmatched: z$1.literal("block")
7453
7456
  })).strict(),
7454
- z$1.object(_object_spread_props$8(_object_spread$a({}, base), {
7457
+ z$1.object(_object_spread_props$8(_object_spread$b({}, base), {
7455
7458
  kind: z$1.literal("human_gate"),
7456
7459
  laneKey: projectPipelineKeySchema,
7457
7460
  policyRef: projectPipelineRefSchema,
@@ -7459,12 +7462,12 @@ var outcomes = z$1.array(projectPipelineKeySchema).min(2).max(32);
7459
7462
  outcomes: outcomes,
7460
7463
  outcomeLabels: z$1.record(projectPipelineKeySchema, z$1.string().min(1).max(120)).optional()
7461
7464
  })).strict(),
7462
- z$1.object(_object_spread_props$8(_object_spread$a({}, base), {
7465
+ z$1.object(_object_spread_props$8(_object_spread$b({}, base), {
7463
7466
  kind: z$1.literal("external_wait"),
7464
7467
  laneKey: projectPipelineKeySchema,
7465
7468
  subscriptionRef: projectPipelineRefSchema
7466
7469
  })).strict(),
7467
- z$1.object(_object_spread_props$8(_object_spread$a({}, base), {
7470
+ z$1.object(_object_spread_props$8(_object_spread$b({}, base), {
7468
7471
  kind: z$1.literal("terminal"),
7469
7472
  outcome: projectPipelineKeySchema,
7470
7473
  disposition: z$1.enum([
@@ -8104,7 +8107,7 @@ function _define_property$a(obj, key, value) {
8104
8107
  }
8105
8108
  return obj;
8106
8109
  }
8107
- function _object_spread$9(target) {
8110
+ function _object_spread$a(target) {
8108
8111
  for(var i = 1; i < arguments.length; i++){
8109
8112
  var source = arguments[i] != null ? arguments[i] : {};
8110
8113
  var ownKeys = Object.keys(source);
@@ -8163,7 +8166,7 @@ var common = {
8163
8166
  };
8164
8167
  // A provider owns topology and advancement. A managed definition owns a bounded DAG per round.
8165
8168
  var projectPipelineDefinitionShapeSchema = z$1.discriminatedUnion("executionAuthority", [
8166
- z$1.object(_object_spread_props$7(_object_spread$9({}, common), {
8169
+ z$1.object(_object_spread_props$7(_object_spread$a({}, common), {
8167
8170
  executionAuthority: z$1.literal("provider"),
8168
8171
  providerRef: projectPipelineRefSchema,
8169
8172
  topology: z$1.object({
@@ -8172,7 +8175,7 @@ var projectPipelineDefinitionShapeSchema = z$1.discriminatedUnion("executionAuth
8172
8175
  }).strict(),
8173
8176
  actionRefs: z$1.array(projectPipelineRefSchema).max(100).optional()
8174
8177
  })).strict(),
8175
- z$1.object(_object_spread_props$7(_object_spread$9({}, common), {
8178
+ z$1.object(_object_spread_props$7(_object_spread$a({}, common), {
8176
8179
  executionAuthority: z$1.literal("platform"),
8177
8180
  topology: z$1.object({
8178
8181
  source: z$1.literal("definition")
@@ -8504,7 +8507,7 @@ function _define_property$9(obj, key, value) {
8504
8507
  }
8505
8508
  return obj;
8506
8509
  }
8507
- function _object_spread$8(target) {
8510
+ function _object_spread$9(target) {
8508
8511
  for(var i = 1; i < arguments.length; i++){
8509
8512
  var source = arguments[i] != null ? arguments[i] : {};
8510
8513
  var ownKeys = Object.keys(source);
@@ -8548,13 +8551,13 @@ var definitionRef = z$1.object({
8548
8551
  templateRef: projectPipelineRefSchema,
8549
8552
  digest: z$1.string().regex(/^[a-f0-9]{64}$/)
8550
8553
  }).strict();
8551
- var projectPipelineProjectBindingSchema = z$1.object(_object_spread_props$6(_object_spread$8({}, scopedIdentity), {
8554
+ var projectPipelineProjectBindingSchema = z$1.object(_object_spread_props$6(_object_spread$9({}, scopedIdentity), {
8552
8555
  definition: definitionRef,
8553
8556
  revision: z$1.number().int().positive(),
8554
8557
  configuration: projectPipelineBindingSchema
8555
8558
  })).strict();
8556
8559
  var projectPipelineInstanceSchema = z$1.discriminatedUnion("executionAuthority", [
8557
- z$1.object(_object_spread_props$6(_object_spread$8({}, scopedIdentity), {
8560
+ z$1.object(_object_spread_props$6(_object_spread$9({}, scopedIdentity), {
8558
8561
  executionAuthority: z$1.literal("provider"),
8559
8562
  providerRef: projectPipelineRefSchema,
8560
8563
  sourceKey: z$1.string().min(1).max(500),
@@ -8565,7 +8568,7 @@ var projectPipelineInstanceSchema = z$1.discriminatedUnion("executionAuthority",
8565
8568
  }).strict(),
8566
8569
  revision: z$1.number().int().nonnegative()
8567
8570
  })).strict(),
8568
- z$1.object(_object_spread_props$6(_object_spread$8({}, scopedIdentity), {
8571
+ z$1.object(_object_spread_props$6(_object_spread$9({}, scopedIdentity), {
8569
8572
  executionAuthority: z$1.literal("platform"),
8570
8573
  bindingId: z$1.string().uuid(),
8571
8574
  sourceKey: z$1.string().min(1).max(500),
@@ -8577,7 +8580,7 @@ var projectPipelineInstanceSchema = z$1.discriminatedUnion("executionAuthority",
8577
8580
  revision: z$1.number().int().nonnegative()
8578
8581
  })).strict()
8579
8582
  ]);
8580
- var projectPipelineRunSchema = z$1.object(_object_spread_props$6(_object_spread$8({}, scopedIdentity), {
8583
+ var projectPipelineRunSchema = z$1.object(_object_spread_props$6(_object_spread$9({}, scopedIdentity), {
8581
8584
  instanceId: z$1.string().uuid(),
8582
8585
  triggerKey: z$1.string().min(1).max(500),
8583
8586
  definition: definitionRef,
@@ -8649,7 +8652,7 @@ var projectPipelineWorkContextSchema = z$1.object({
8649
8652
  inputDigest: z$1.string().regex(/^[a-f0-9]{64}$/),
8650
8653
  generation: z$1.number().int().positive()
8651
8654
  }).strict();
8652
- var projectPipelineRoundSchema = z$1.object(_object_spread_props$6(_object_spread$8({}, scopedIdentity), {
8655
+ var projectPipelineRoundSchema = z$1.object(_object_spread_props$6(_object_spread$9({}, scopedIdentity), {
8653
8656
  runId: z$1.string().uuid(),
8654
8657
  sequence: z$1.number().int().positive(),
8655
8658
  generation: z$1.number().int().positive(),
@@ -8665,7 +8668,7 @@ var projectPipelineRoundSchema = z$1.object(_object_spread_props$6(_object_sprea
8665
8668
  subjectVersionSet: z$1.array(projectPipelineSubjectVersionSchema).min(1).max(100),
8666
8669
  supersedes: z$1.string().uuid().nullable()
8667
8670
  })).strict();
8668
- var projectPipelineNodeInstanceSchema = z$1.object(_object_spread_props$6(_object_spread$8({}, scopedIdentity), {
8671
+ var projectPipelineNodeInstanceSchema = z$1.object(_object_spread_props$6(_object_spread$9({}, scopedIdentity), {
8669
8672
  roundId: z$1.string().uuid(),
8670
8673
  nodeKey: projectPipelineKeySchema,
8671
8674
  /** Stable source identity; never a list index. */ expansionKey: z$1.string().min(1).max(500),
@@ -8690,7 +8693,7 @@ function _define_property$8(obj, key, value) {
8690
8693
  }
8691
8694
  return obj;
8692
8695
  }
8693
- function _object_spread$7(target) {
8696
+ function _object_spread$8(target) {
8694
8697
  for(var i = 1; i < arguments.length; i++){
8695
8698
  var source = arguments[i] != null ? arguments[i] : {};
8696
8699
  var ownKeys = Object.keys(source);
@@ -8735,17 +8738,17 @@ var projectPipelinePortDescriptorSchema = z$1.object({
8735
8738
  ])
8736
8739
  }).strict();
8737
8740
  /** Declarations allow configuration checks. They never prove a runtime executor is currently available. */ var projectPipelineExtensionDescriptorSchema = z$1.discriminatedUnion("kind", [
8738
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8741
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8739
8742
  kind: z$1.literal("schema")
8740
8743
  })).strict(),
8741
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8744
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8742
8745
  kind: z$1.literal("resource")
8743
8746
  })).strict(),
8744
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8747
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8745
8748
  kind: z$1.literal("subject"),
8746
8749
  outputSchemaRef: projectPipelineRefSchema
8747
8750
  })).strict(),
8748
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8751
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8749
8752
  kind: z$1.literal("operation"),
8750
8753
  effects: z$1.enum([
8751
8754
  "read_only",
@@ -8764,32 +8767,32 @@ var projectPipelinePortDescriptorSchema = z$1.object({
8764
8767
  inputs: z$1.record(projectPipelineKeySchema, projectPipelinePortDescriptorSchema),
8765
8768
  outputs: z$1.record(projectPipelineKeySchema, projectPipelineRefSchema)
8766
8769
  })).strict(),
8767
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8770
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8768
8771
  kind: z$1.literal("completion")
8769
8772
  })).strict(),
8770
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8773
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8771
8774
  kind: z$1.literal("policy"),
8772
8775
  outcomes: z$1.array(projectPipelineKeySchema).min(1).max(32)
8773
8776
  })).strict(),
8774
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8777
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8775
8778
  kind: z$1.literal("projection")
8776
8779
  })).strict(),
8777
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8780
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8778
8781
  kind: z$1.literal("presentation")
8779
8782
  })).strict(),
8780
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8783
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8781
8784
  kind: z$1.literal("action")
8782
8785
  })).strict(),
8783
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8786
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8784
8787
  kind: z$1.literal("metric")
8785
8788
  })).strict(),
8786
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8789
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8787
8790
  kind: z$1.literal("dimension")
8788
8791
  })).strict(),
8789
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8792
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8790
8793
  kind: z$1.literal("trigger")
8791
8794
  })).strict(),
8792
- z$1.object(_object_spread_props$5(_object_spread$7({}, reference), {
8795
+ z$1.object(_object_spread_props$5(_object_spread$8({}, reference), {
8793
8796
  kind: z$1.literal("subscription"),
8794
8797
  outputs: z$1.record(projectPipelineKeySchema, projectPipelineRefSchema)
8795
8798
  })).strict()
@@ -9569,7 +9572,7 @@ function _define_property$7(obj, key, value) {
9569
9572
  }
9570
9573
  return obj;
9571
9574
  }
9572
- function _object_spread$6(target) {
9575
+ function _object_spread$7(target) {
9573
9576
  for(var i = 1; i < arguments.length; i++){
9574
9577
  var source = arguments[i] != null ? arguments[i] : {};
9575
9578
  var ownKeys = Object.keys(source);
@@ -9663,20 +9666,20 @@ var receipt = {
9663
9666
  ]).optional()
9664
9667
  };
9665
9668
  var projectPipelineOperationReceiptSchema = z$1.discriminatedUnion("status", [
9666
- z$1.object(_object_spread_props$4(_object_spread$6({}, receipt), {
9669
+ z$1.object(_object_spread_props$4(_object_spread$7({}, receipt), {
9667
9670
  status: z$1.literal("pending")
9668
9671
  })).strict(),
9669
- z$1.object(_object_spread_props$4(_object_spread$6({}, receipt), {
9672
+ z$1.object(_object_spread_props$4(_object_spread$7({}, receipt), {
9670
9673
  status: z$1.literal("succeeded"),
9671
9674
  outputs: z$1.record(projectPipelineKeySchema, projectPipelineEvidenceRefSchema).refine(function(value) {
9672
9675
  return Object.keys(value).length <= 100;
9673
9676
  }, "Too many output ports")
9674
9677
  })).strict(),
9675
- z$1.object(_object_spread_props$4(_object_spread$6({}, receipt), {
9678
+ z$1.object(_object_spread_props$4(_object_spread$7({}, receipt), {
9676
9679
  status: z$1.literal("failed"),
9677
9680
  code: projectPipelineKeySchema
9678
9681
  })).strict(),
9679
- z$1.object(_object_spread_props$4(_object_spread$6({}, receipt), {
9682
+ z$1.object(_object_spread_props$4(_object_spread$7({}, receipt), {
9680
9683
  status: z$1.literal("cancelled")
9681
9684
  })).strict(),
9682
9685
  z$1.object({
@@ -9776,7 +9779,7 @@ function _iterable_to_array$7(iter) {
9776
9779
  function _non_iterable_spread$6() {
9777
9780
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9778
9781
  }
9779
- function _object_spread$5(target) {
9782
+ function _object_spread$6(target) {
9780
9783
  for(var i = 1; i < arguments.length; i++){
9781
9784
  var source = arguments[i] != null ? arguments[i] : {};
9782
9785
  var ownKeys = Object.keys(source);
@@ -9994,7 +9997,7 @@ function pipelineExecutorStatistics(facts) {
9994
9997
  }
9995
9998
  return _to_consumable_array$6(groups.values()).map(function(param) {
9996
9999
  var identity = param.identity, _$facts = param.facts;
9997
- return _object_spread_props$3(_object_spread$5({}, identity), {
10000
+ return _object_spread_props$3(_object_spread$6({}, identity), {
9998
10001
  attempts: pipelineAttemptCounts(_$facts),
9999
10002
  timing: pipelineExecutionTiming(_$facts)
10000
10003
  });
@@ -10028,7 +10031,7 @@ function _iterable_to_array$6(iter) {
10028
10031
  function _non_iterable_spread$5() {
10029
10032
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10030
10033
  }
10031
- function _object_spread$4(target) {
10034
+ function _object_spread$5(target) {
10032
10035
  for(var i = 1; i < arguments.length; i++){
10033
10036
  var source = arguments[i] != null ? arguments[i] : {};
10034
10037
  var ownKeys = Object.keys(source);
@@ -10227,7 +10230,7 @@ function pipelineModelUsageStatistics(facts, coverage) {
10227
10230
  }
10228
10231
  }
10229
10232
  }
10230
- return _object_spread_props$2(_object_spread$4({
10233
+ return _object_spread_props$2(_object_spread$5({
10231
10234
  scope: "linked_native_llm_calls"
10232
10235
  }, coverage, totals(calls)), {
10233
10236
  unpricedCalls: unpricedCalls,
@@ -10235,7 +10238,7 @@ function pipelineModelUsageStatistics(facts, coverage) {
10235
10238
  return a.currency.localeCompare(b.currency);
10236
10239
  }),
10237
10240
  byModel: _to_consumable_array$5(models.values()).map(function(group) {
10238
- return _object_spread$4({
10241
+ return _object_spread$5({
10239
10242
  provider: group[0].provider,
10240
10243
  model: group[0].model
10241
10244
  }, totals(group));
@@ -10434,6 +10437,16 @@ function selectedPipelineAttemptFacts(nodes, executions) {
10434
10437
  };
10435
10438
  }
10436
10439
 
10440
+ /** Credential support for durable pipeline commands; Project permissions remain independently required. */ var projectPipelineCommandCapabilitySchema = z$1.discriminatedUnion("allowed", [
10441
+ z$1.object({
10442
+ allowed: z$1.literal(true)
10443
+ }).strict(),
10444
+ z$1.object({
10445
+ allowed: z$1.literal(false),
10446
+ reason: z$1.literal("PIPELINE_SCOPED_DELEGATION_UNAVAILABLE")
10447
+ }).strict()
10448
+ ]);
10449
+
10437
10450
  function _array_like_to_array$9(arr, len) {
10438
10451
  if (len == null || len > arr.length) len = arr.length;
10439
10452
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
@@ -10491,7 +10504,7 @@ function _non_iterable_rest$7() {
10491
10504
  function _non_iterable_spread$3() {
10492
10505
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10493
10506
  }
10494
- function _object_spread$3(target) {
10507
+ function _object_spread$4(target) {
10495
10508
  for(var i = 1; i < arguments.length; i++){
10496
10509
  var source = arguments[i] != null ? arguments[i] : {};
10497
10510
  var ownKeys = Object.keys(source);
@@ -10553,30 +10566,30 @@ var option = z$1.object({
10553
10566
  label: label$1
10554
10567
  }).strict();
10555
10568
  var projectPipelineParameterFieldSchema = z$1.discriminatedUnion("type", [
10556
- z$1.object(_object_spread_props$1(_object_spread$3({}, field), {
10569
+ z$1.object(_object_spread_props$1(_object_spread$4({}, field), {
10557
10570
  type: z$1.literal("boolean")
10558
10571
  })).strict(),
10559
- z$1.object(_object_spread_props$1(_object_spread$3({}, field), {
10572
+ z$1.object(_object_spread_props$1(_object_spread$4({}, field), {
10560
10573
  type: z$1.literal("text"),
10561
10574
  maxLength: z$1.number().int().min(1).max(4000),
10562
10575
  minLength: z$1.number().int().min(0).max(4000)
10563
10576
  })).strict(),
10564
- z$1.object(_object_spread_props$1(_object_spread$3({}, field), {
10577
+ z$1.object(_object_spread_props$1(_object_spread$4({}, field), {
10565
10578
  type: z$1.literal("number"),
10566
10579
  min: z$1.number().finite(),
10567
10580
  max: z$1.number().finite(),
10568
10581
  integer: z$1.boolean()
10569
10582
  })).strict(),
10570
- z$1.object(_object_spread_props$1(_object_spread$3({}, field), {
10583
+ z$1.object(_object_spread_props$1(_object_spread$4({}, field), {
10571
10584
  type: z$1.literal("choice"),
10572
10585
  options: z$1.array(option).min(1).max(100)
10573
10586
  })).strict(),
10574
- z$1.object(_object_spread_props$1(_object_spread$3({}, field), {
10587
+ z$1.object(_object_spread_props$1(_object_spread$4({}, field), {
10575
10588
  type: z$1.literal("multi_choice"),
10576
10589
  options: z$1.array(option).min(1).max(100),
10577
10590
  minItems: z$1.number().int().min(0).max(100).default(0)
10578
10591
  })).strict(),
10579
- z$1.object(_object_spread_props$1(_object_spread$3({}, field), {
10592
+ z$1.object(_object_spread_props$1(_object_spread$4({}, field), {
10580
10593
  type: z$1.literal("string_list"),
10581
10594
  maxItems: z$1.number().int().min(1).max(100),
10582
10595
  itemMaxLength: z$1.number().int().min(1).max(500)
@@ -10650,7 +10663,8 @@ var projectPipelineCatalogConfigureSchema = z$1.object({
10650
10663
  }).strict();
10651
10664
  /** Catalog wire format; independent of the definition's execution protocol requirements. */ var projectPipelineCatalogProtocolSchema = z$1.union([
10652
10665
  z$1.literal(1),
10653
- z$1.literal(2)
10666
+ z$1.literal(2),
10667
+ z$1.literal(3)
10654
10668
  ]);
10655
10669
  var projectPipelineCatalogRequestSchema = z$1.object({
10656
10670
  protocol: projectPipelineCatalogProtocolSchema.optional()
@@ -10658,10 +10672,12 @@ var projectPipelineCatalogRequestSchema = z$1.object({
10658
10672
  function canReadProjectPipelineConfiguration(configuration, request, form) {
10659
10673
  var _configuration_binding_limits;
10660
10674
  if (request.protocol === undefined && configuration.template.hostRequirements) return false;
10661
- return request.protocol === 2 || !(((_configuration_binding_limits = configuration.binding.limits) === null || _configuration_binding_limits === void 0 ? void 0 : _configuration_binding_limits.nativeModelBudget) || (form === null || form === void 0 ? void 0 : form.nativeModelBudget));
10675
+ var _request_protocol;
10676
+ return ((_request_protocol = request.protocol) !== null && _request_protocol !== void 0 ? _request_protocol : 1) >= 2 || !(((_configuration_binding_limits = configuration.binding.limits) === null || _configuration_binding_limits === void 0 ? void 0 : _configuration_binding_limits.nativeModelBudget) || (form === null || form === void 0 ? void 0 : form.nativeModelBudget));
10662
10677
  }
10663
10678
  var projectPipelineCatalogSchema = z$1.object({
10664
10679
  hostCapabilities: projectPipelineHostCapabilitiesSchema.optional(),
10680
+ /** Protocol 3 support for saving configuration; does not grant permission to execute a pipeline. */ commandCapability: projectPipelineCommandCapabilitySchema.optional(),
10665
10681
  canManage: z$1.boolean(),
10666
10682
  items: z$1.array(z$1.object({
10667
10683
  contributionKey: projectPipelineKeySchema,
@@ -10776,13 +10792,13 @@ function parameterSchema(field) {
10776
10792
  return item.key;
10777
10793
  }))) throw new Error("PIPELINE_CONFIGURATION_FIELDS_MISMATCH");
10778
10794
  var _configuration_binding_executorBindings2;
10779
- var binding = _object_spread_props$1(_object_spread$3({}, configuration.binding), {
10780
- parameters: _object_spread$3({}, configuration.binding.parameters),
10795
+ var binding = _object_spread_props$1(_object_spread$4({}, configuration.binding), {
10796
+ parameters: _object_spread$4({}, configuration.binding.parameters),
10781
10797
  executorBindings: Object.fromEntries(Object.entries((_configuration_binding_executorBindings2 = configuration.binding.executorBindings) !== null && _configuration_binding_executorBindings2 !== void 0 ? _configuration_binding_executorBindings2 : {}).map(function(param) {
10782
10798
  var _param = _sliced_to_array$6(param, 2), key = _param[0], executor = _param[1];
10783
10799
  return [
10784
10800
  key,
10785
- _object_spread$3({}, executor)
10801
+ _object_spread$4({}, executor)
10786
10802
  ];
10787
10803
  }))
10788
10804
  });
@@ -10798,7 +10814,7 @@ function parameterSchema(field) {
10798
10814
  var key = _iter[_i];
10799
10815
  if (budget[key] > form.nativeModelBudget[key]) throw new Error("PIPELINE_CONFIGURATION_BUDGET_LIMIT");
10800
10816
  }
10801
- binding.limits = _object_spread_props$1(_object_spread$3({}, binding.limits), {
10817
+ binding.limits = _object_spread_props$1(_object_spread$4({}, binding.limits), {
10802
10818
  nativeModelBudget: budget
10803
10819
  });
10804
10820
  } else if (input.nativeModelBudget !== undefined) throw new Error("PIPELINE_CONFIGURATION_FIELDS_MISMATCH");
@@ -10870,14 +10886,14 @@ function parameterSchema(field) {
10870
10886
  }
10871
10887
  }
10872
10888
  }
10873
- return projectPipelineConfigurationSchema.parse(_object_spread_props$1(_object_spread$3({}, configuration), {
10889
+ return projectPipelineConfigurationSchema.parse(_object_spread_props$1(_object_spread$4({}, configuration), {
10874
10890
  binding: binding
10875
10891
  }));
10876
10892
  }
10877
10893
  /** Registration validates defaults without requiring portable Assistant placeholders to be UUIDs. */ function validateProjectPipelineConfigurationForm(configuration, form) {
10878
10894
  var _configuration_binding_limits;
10879
10895
  var _form_runtimeSlots;
10880
- return configureProjectPipelineFromForm(configuration, form, _object_spread_props$1(_object_spread$3({}, form.nativeModelBudget ? {
10896
+ return configureProjectPipelineFromForm(configuration, form, _object_spread_props$1(_object_spread$4({}, form.nativeModelBudget ? {
10881
10897
  nativeModelBudget: (_configuration_binding_limits = configuration.binding.limits) === null || _configuration_binding_limits === void 0 ? void 0 : _configuration_binding_limits.nativeModelBudget
10882
10898
  } : {}), {
10883
10899
  assistants: Object.fromEntries(form.assistantSlots.map(function(item) {
@@ -11205,7 +11221,7 @@ function _non_iterable_rest$6() {
11205
11221
  function _non_iterable_spread$1() {
11206
11222
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11207
11223
  }
11208
- function _object_spread$2(target) {
11224
+ function _object_spread$3(target) {
11209
11225
  for(var i = 1; i < arguments.length; i++){
11210
11226
  var source = arguments[i] != null ? arguments[i] : {};
11211
11227
  var ownKeys = Object.keys(source);
@@ -11338,7 +11354,7 @@ function unionDuration(ranges) {
11338
11354
  try {
11339
11355
  for(var _iterator = open.values()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
11340
11356
  var value = _step.value;
11341
- intervals.push(_object_spread_props(_object_spread$2({}, value), {
11357
+ intervals.push(_object_spread_props(_object_spread$3({}, value), {
11342
11358
  end: lastAt,
11343
11359
  ongoing: false,
11344
11360
  censored: true
@@ -11391,7 +11407,7 @@ function unionDuration(ranges) {
11391
11407
  for(var _iterator1 = open[Symbol.iterator](), _step2; !(_iteratorNormalCompletion1 = (_step2 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
11392
11408
  var _step_value = _sliced_to_array$5(_step2.value, 2), id = _step_value[0], value = _step_value[1];
11393
11409
  if (!ready.has(id)) {
11394
- intervals.push(_object_spread_props(_object_spread$2({}, value), {
11410
+ intervals.push(_object_spread_props(_object_spread$3({}, value), {
11395
11411
  end: at,
11396
11412
  ongoing: false
11397
11413
  }));
@@ -11459,13 +11475,13 @@ function unionDuration(ranges) {
11459
11475
  var _step_value1 = _sliced_to_array$5(_step4.value, 2), id2 = _step_value1[0], value1 = _step_value1[1];
11460
11476
  // Current state is independently read from the same MVCC snapshot. Divergence must not extend an interval.
11461
11477
  if (currentWaiting.has(id2)) {
11462
- intervals.push(_object_spread_props(_object_spread$2({}, value1), {
11478
+ intervals.push(_object_spread_props(_object_spread$3({}, value1), {
11463
11479
  end: now,
11464
11480
  ongoing: true
11465
11481
  }));
11466
11482
  tracked.add(id2);
11467
11483
  } else {
11468
- intervals.push(_object_spread_props(_object_spread$2({}, value1), {
11484
+ intervals.push(_object_spread_props(_object_spread$3({}, value1), {
11469
11485
  end: lastAt,
11470
11486
  ongoing: false,
11471
11487
  censored: true
@@ -11510,7 +11526,7 @@ function unionDuration(ranges) {
11510
11526
  var selected = intervals.filter(function(interval) {
11511
11527
  return interval.start < to && interval.end >= from && interval.end >= interval.start;
11512
11528
  }).map(function(interval) {
11513
- return _object_spread_props(_object_spread$2({}, interval), {
11529
+ return _object_spread_props(_object_spread$3({}, interval), {
11514
11530
  start: Math.max(from, interval.start),
11515
11531
  end: Math.min(to, interval.end)
11516
11532
  });
@@ -11569,7 +11585,7 @@ function _define_property$2(obj, key, value) {
11569
11585
  }
11570
11586
  return obj;
11571
11587
  }
11572
- function _object_spread$1(target) {
11588
+ function _object_spread$2(target) {
11573
11589
  for(var i = 1; i < arguments.length; i++){
11574
11590
  var source = arguments[i] != null ? arguments[i] : {};
11575
11591
  var ownKeys = Object.keys(source);
@@ -11719,7 +11735,7 @@ var projectPipelineAnalyticsSchema = z$1.object({
11719
11735
  }
11720
11736
  /** One complete authorized snapshot, with a start-time cohort separate from current business state. */ function projectPipelineAnalytics(projectId, instances, executions, window, snapshotAt) {
11721
11737
  var instancesWithoutCurrentRound = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : 0;
11722
- return _object_spread$1({
11738
+ return _object_spread$2({
11723
11739
  projectId: projectId
11724
11740
  }, aggregatePipelineAnalytics(instances, executions, window, snapshotAt, instancesWithoutCurrentRound));
11725
11741
  }
@@ -12851,48 +12867,6 @@ var RequestScopeLevel;
12851
12867
  RequestScopeLevel["ORGANIZATION"] = "organization";
12852
12868
  })(RequestScopeLevel || (RequestScopeLevel = {}));
12853
12869
 
12854
- var IntegrationGitHubProvider = {
12855
- name: IntegrationEnum.GITHUB,
12856
- label: {
12857
- en_US: "GitHub",
12858
- zh_Hans: "GitHub"
12859
- },
12860
- description: {
12861
- en_US: "GitHub is a proprietary developer platform that allows developers to create, store, manage, and share their code. It uses Git to provide distributed version control and GitHub itself provides access control, bug tracking, software feature requests, task management, continuous integration, and wikis for every project.",
12862
- zh_Hans: "GitHub 是一个专有的开发者平台,允许开发者创建、存储、管理和分享他们的代码。它使用 Git 提供分布式版本控制,GitHub 本身为每个项目提供访问控制、错误跟踪、软件功能请求、任务管理、持续集成和知识。"
12863
- },
12864
- avatar: "github.svg",
12865
- webhook: true,
12866
- schema: {
12867
- type: "object",
12868
- properties: {
12869
- appName: {
12870
- type: "string",
12871
- description: "The App Name of the GitHub App"
12872
- },
12873
- appId: {
12874
- type: "string",
12875
- description: "The App ID of the GitHub App"
12876
- },
12877
- clientId: {
12878
- type: "string",
12879
- description: "The Client ID of the GitHub App"
12880
- },
12881
- clientSecret: {
12882
- type: "string",
12883
- description: "The Client Secret of the GitHub App"
12884
- },
12885
- privateKey: {
12886
- type: "textarea",
12887
- description: "The private key of the GitHub App"
12888
- },
12889
- webhookSecret: {
12890
- type: "string",
12891
- description: "The webhook secret of the GitHub App"
12892
- }
12893
- }
12894
- }
12895
- };
12896
12870
  /**
12897
12871
  * Transform GitHub API installation data to our simplified format
12898
12872
  */ var transformInstallation = function(installation) {
@@ -13005,22 +12979,7 @@ var IntegrationGitHubProvider = {
13005
12979
  }
13006
12980
  };
13007
12981
 
13008
- function _define_property$1(obj, key, value) {
13009
- if (key in obj) {
13010
- Object.defineProperty(obj, key, {
13011
- value: value,
13012
- enumerable: true,
13013
- configurable: true,
13014
- writable: true
13015
- });
13016
- } else {
13017
- obj[key] = value;
13018
- }
13019
- return obj;
13020
- }
13021
- var INTEGRATION_PROVIDERS = // [IntegrationEnum.LARK]: IntegrationLarkProvider,
13022
- // [IntegrationEnum.WECOM]: IntegrationWeComProvider,
13023
- _define_property$1({}, IntegrationEnum.GITHUB, IntegrationGitHubProvider);
12982
+ /** @deprecated Discover providers through the host integration registry/API. */ var INTEGRATION_PROVIDERS = {};
13024
12983
 
13025
12984
  function _array_like_to_array$3(arr, len) {
13026
12985
  if (len == null || len > arr.length) len = arr.length;
@@ -13542,7 +13501,7 @@ var AGENT_PROFILE_TABS_SLOT = "agent.profile.tabs";
13542
13501
  function _array_with_holes(arr) {
13543
13502
  if (Array.isArray(arr)) return arr;
13544
13503
  }
13545
- function _define_property(obj, key, value) {
13504
+ function _define_property$1(obj, key, value) {
13546
13505
  if (key in obj) {
13547
13506
  Object.defineProperty(obj, key, {
13548
13507
  value: value,
@@ -13582,7 +13541,7 @@ function _iterable_to_array_limit(arr, i) {
13582
13541
  function _non_iterable_rest() {
13583
13542
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13584
13543
  }
13585
- function _object_spread(target) {
13544
+ function _object_spread$1(target) {
13586
13545
  for(var i = 1; i < arguments.length; i++){
13587
13546
  var source = arguments[i] != null ? arguments[i] : {};
13588
13547
  var ownKeys = Object.keys(source);
@@ -13592,7 +13551,7 @@ function _object_spread(target) {
13592
13551
  }));
13593
13552
  }
13594
13553
  ownKeys.forEach(function(key) {
13595
- _define_property(target, key, source[key]);
13554
+ _define_property$1(target, key, source[key]);
13596
13555
  });
13597
13556
  }
13598
13557
  return target;
@@ -13639,7 +13598,7 @@ var WORKBENCH_VIEW_OPEN_EVENT = "workbench.view.open";
13639
13598
  }
13640
13599
  }
13641
13600
  }
13642
- return _object_spread({
13601
+ return _object_spread$1({
13643
13602
  type: WORKBENCH_VIEW_OPEN_EVENT,
13644
13603
  viewKey: value.viewKey,
13645
13604
  projectId: value.projectId
@@ -13655,6 +13614,46 @@ function isViewScalar(value) {
13655
13614
  return value === null || typeof value === "string" || typeof value === "boolean" || typeof value === "number" && Number.isFinite(value);
13656
13615
  }
13657
13616
 
13617
+ function _define_property(obj, key, value) {
13618
+ if (key in obj) {
13619
+ Object.defineProperty(obj, key, {
13620
+ value: value,
13621
+ enumerable: true,
13622
+ configurable: true,
13623
+ writable: true
13624
+ });
13625
+ } else {
13626
+ obj[key] = value;
13627
+ }
13628
+ return obj;
13629
+ }
13630
+ function _object_spread(target) {
13631
+ for(var i = 1; i < arguments.length; i++){
13632
+ var source = arguments[i] != null ? arguments[i] : {};
13633
+ var ownKeys = Object.keys(source);
13634
+ if (typeof Object.getOwnPropertySymbols === "function") {
13635
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
13636
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
13637
+ }));
13638
+ }
13639
+ ownKeys.forEach(function(key) {
13640
+ _define_property(target, key, source[key]);
13641
+ });
13642
+ }
13643
+ return target;
13644
+ }
13645
+ var authorizationFields = {
13646
+ authMethodId: z$1.string().trim().min(1).max(128).optional(),
13647
+ integrationId: z$1.string().uuid().optional()
13648
+ };
13649
+ var hasIntegrationMethod = function(value) {
13650
+ return !value.integrationId || !!value.authMethodId;
13651
+ };
13652
+ /** An integration reference must name the Connector authentication method that consumes it. */ var workspaceConnectorAuthorizationSchema = z$1.object(authorizationFields).strict().refine(hasIntegrationMethod);
13653
+ /** Intent only: the host resolves workspace identity, permissions and available Connector definitions. */ var workspaceConnectorConnectPayloadSchema = z$1.object(_object_spread({
13654
+ provider: z$1.string().regex(/^[a-z][a-z0-9_-]{0,63}$/)
13655
+ }, authorizationFields)).strict().refine(hasIntegrationMethod);
13656
+
13658
13657
  var RUNTIME_RESTART_CONFIRMATION = "RESTART";
13659
13658
  /** Terminal transport interruption; it does not indicate that the background task completed or failed. */ var RUNTIME_STREAM_INTERRUPTED_EVENT = "runtime-interrupted";
13660
13659
 
@@ -13744,4 +13743,4 @@ var executionActivityBatchSchema = z$1.object({
13744
13743
 
13745
13744
  /** Host-owned opening avoids inheriting a remote component's iframe sandbox. */ var ARTIFACT_PRESENTATION_OPEN_COMMAND = "artifact.presentation.open";
13746
13745
 
13747
- 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_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, CONTEXT_COMPRESSION_COMPONENT_TYPE, CONTEXT_COMPRESSION_MIDDLEWARE_NAME, CONTEXT_VARIABLE_CURRENTSTATE, CONVERSATION_MAP_FEATURE, 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_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, DataSourceProtocolEnum, DataSourceSyntaxEnum, DataSourceTypeEnum, 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, IntegrationGitHubProvider, 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_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_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_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, PriceType, ProjectBillingEnum, ProjectOwnerEnum, ProviderEnum, ProviderType, 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, 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, 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, appendMessageContent, appendMessagePlainText, assistantOperationPolicySchema, assistantTaskGroupContext, assistantTaskGroupContextSchema, assistantTemplateManifestSchema, assistantTemplateSetupStateSchema, buildChunkTree, buildXpertMarketplaceProfileSnapshot, canAllowMcpToolDirectly, canReadProjectPipelineConfiguration, channelName, chatMessagePresentation, checkProjectPipelineConfiguration, checkProjectPipelineHostCompatibility, classificateDocumentCategory, codingExecutionViewKey, collectTreeLeaves, configurableStoreNamespace, configurationFromModel, configureProjectPipelineFromForm, configuredModelSource, convertToUrlPath, createAgentConnections, createConversationTitleSummaryEvent, createFollowUpConsumedEvent, createMessageAppendContextTracker, createRuntimeSkillCapabilityId, createThreadGoalClearedEvent, createThreadGoalUpdatedEvent, createXpertGraph, createXpertNodes, decodeKnowledgeSeparators, defaultMcpToolApprovalMode, defaultModelConfiguration, deriveXpertMarketplaceTechnicalProfile, discoverableModelTypes, ensureAssistantBindingSkillWorkspacePreference, evidenceDrivenStrategy, executionActivityBatchSchema, executionActivityCapabilitiesSchema, executionActivityItemSchema, 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, 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, isNativeKnowledgeTableDocument, isNil$1 as isNil, isOrganizationSharedXpertWorkspace, isOutputTokenParameter, isPreparedCandidate, isPromptWorkflowScenarios, isProviderEvaluation, isProviderRelease, isReplayEvaluation, isRequiredMiddleware, isRouterKey, isRunnableThreadGoalStatus, isRuntimeChatMessage, isScopedPromptCapabilityConfig, isStagedRelease, isString, isSystemManagedAssistant, isTenantSharedXpertWorkspace, isToolEnabled, isUserAddableAgentMiddleware, isUserManagedAssistant, isUserOrganizationEntryGuideKey, isVideoType, isXpertNodeType, knowledgeDocumentFileType, knowledgeUploadFileTypes, knowledgebaseDocumentParserDefaults, knowledgebaseParserSelection, legacyModelFeatures, letterStartSUID, locateNodes, mapTranslationLanguage, mergeMessageContentForDisplay, messageContentText, modelConfigurationSchema, modelExecutionEntry, modelExecutionSourceId, modelImportSchema, nonBlank, nonNullable, normalizeAssistantBindingToolPreferences, normalizeKnowledgebaseFAQRecall, normalizeKnowledgebaseWikiConfig, normalizeMiddlewareNode, normalizeMiddlewareNodes, normalizeMiddlewareProvider, normalizeModelParameterValue, normalizeXpertAgentConfig, omitXpertRelations, orderAssistantXperts, parseGithubSkillInstallCommand, parseProjectPipelineParameters, parsePromptCapabilityConfig, parsePromptCapabilitySelection, parseRuntimeSkillCapabilityId, 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, 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, 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, selectedPipelineAttemptFacts, setStateVariable, shortTitle, stringifyMessageContent, templateActivityReadSchema, templateDependencyLocksSchema, templateDependencyVersionsSchema, templateFilePathSchema, templateFilesSchema, templateManifestSchema, templateManifestV1Schema, templatePreferenceValuesSchema, templatePublicationInputSchema, templateSetupUpdateSchema, templateUpgradeActionSchema, templateUpgradeInputSchema, templateUpgradeSectionSchema, transformInstallation, updateAssistantBindingSkillPreferences, updateAssistantBindingToolPreferences, usesConfiguredModelCatalog, uuid, validateProjectPipelineConfigurationForm, validateProjectPipelineDefinition, validateProjectTaskGraph, workflowNodeIdentifier, xpertLabel };
13746
+ 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_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, CONTEXT_COMPRESSION_COMPONENT_TYPE, CONTEXT_COMPRESSION_MIDDLEWARE_NAME, CONTEXT_VARIABLE_CURRENTSTATE, CONVERSATION_MAP_FEATURE, 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_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, DataSourceProtocolEnum, DataSourceSyntaxEnum, DataSourceTypeEnum, 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_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_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_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, PriceType, ProjectBillingEnum, ProjectOwnerEnum, ProviderEnum, ProviderType, 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, 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, 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, appendMessageContent, appendMessagePlainText, assistantOperationPolicySchema, assistantTaskGroupContext, assistantTaskGroupContextSchema, assistantTemplateManifestSchema, assistantTemplateSetupStateSchema, buildChunkTree, buildXpertMarketplaceProfileSnapshot, canAllowMcpToolDirectly, canReadProjectPipelineConfiguration, channelName, chatMessagePresentation, checkProjectPipelineConfiguration, checkProjectPipelineHostCompatibility, classificateDocumentCategory, codingExecutionViewKey, collectTreeLeaves, configurableStoreNamespace, configurationFromModel, configureProjectPipelineFromForm, configuredModelSource, convertToUrlPath, createAgentConnections, createConversationTitleSummaryEvent, createFollowUpConsumedEvent, createMessageAppendContextTracker, createRuntimeSkillCapabilityId, createThreadGoalClearedEvent, createThreadGoalUpdatedEvent, createXpertGraph, createXpertNodes, decodeKnowledgeSeparators, defaultMcpToolApprovalMode, defaultModelConfiguration, deriveXpertMarketplaceTechnicalProfile, discoverableModelTypes, ensureAssistantBindingSkillWorkspacePreference, evidenceDrivenStrategy, executionActivityBatchSchema, executionActivityCapabilitiesSchema, executionActivityItemSchema, 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, 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, isNativeKnowledgeTableDocument, isNil$1 as isNil, isOrganizationSharedXpertWorkspace, isOutputTokenParameter, isPreparedCandidate, isPromptWorkflowScenarios, isProviderEvaluation, isProviderRelease, isReplayEvaluation, isRequiredMiddleware, isRouterKey, isRunnableThreadGoalStatus, isRuntimeChatMessage, isScopedPromptCapabilityConfig, isStagedRelease, isString, isSystemManagedAssistant, isTenantSharedXpertWorkspace, isToolEnabled, isUserAddableAgentMiddleware, isUserManagedAssistant, isUserOrganizationEntryGuideKey, isVideoType, isXpertNodeType, knowledgeDocumentFileType, knowledgeUploadFileTypes, knowledgebaseDocumentParserDefaults, knowledgebaseParserSelection, legacyModelFeatures, letterStartSUID, locateNodes, mapTranslationLanguage, mergeMessageContentForDisplay, messageContentText, modelConfigurationSchema, modelExecutionEntry, modelExecutionSourceId, modelImportSchema, nonBlank, nonNullable, normalizeAssistantBindingToolPreferences, normalizeKnowledgebaseFAQRecall, normalizeKnowledgebaseWikiConfig, normalizeMiddlewareNode, normalizeMiddlewareNodes, normalizeMiddlewareOptions, normalizeMiddlewareProvider, normalizeModelParameterValue, normalizeXpertAgentConfig, omitXpertRelations, orderAssistantXperts, parseGithubSkillInstallCommand, parseProjectPipelineParameters, parsePromptCapabilityConfig, parsePromptCapabilitySelection, parseRuntimeSkillCapabilityId, 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, 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, selectedPipelineAttemptFacts, setStateVariable, shortTitle, stringifyMessageContent, templateActivityReadSchema, templateDependencyLocksSchema, templateDependencyVersionsSchema, templateFilePathSchema, templateFilesSchema, templateManifestSchema, templateManifestV1Schema, templatePreferenceValuesSchema, templatePublicationInputSchema, templateSetupUpdateSchema, templateUpgradeActionSchema, templateUpgradeInputSchema, templateUpgradeSectionSchema, transformInstallation, updateAssistantBindingSkillPreferences, updateAssistantBindingToolPreferences, usesConfiguredModelCatalog, uuid, validateProjectPipelineConfigurationForm, validateProjectPipelineDefinition, validateProjectTaskGraph, workflowNodeIdentifier, workspaceConnectorAuthorizationSchema, workspaceConnectorConnectPayloadSchema, xpertLabel };