@xpert-ai/contracts 3.27.0 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +611 -198
- package/index.esm.js +585 -199
- package/package.json +1 -1
- package/src/ai/chat-recovery.model.d.ts +1 -0
- package/src/ai/chat.model.d.ts +12 -1
- package/src/ai/computer-codex-isolation.model.d.ts +12 -0
- package/src/ai/execution-control-evidence.schema.d.ts +294 -0
- package/src/ai/execution-control.model.d.ts +26 -0
- package/src/ai/index.d.ts +4 -0
- package/src/ai/mcp-execution-control.schema.d.ts +107 -0
- package/src/ai/mcp-operation.model.d.ts +60 -0
- package/src/ai/mcp-task.schema.d.ts +85 -0
- package/src/ai/model-execution-parameters.model.d.ts +46 -0
- package/src/ai/model-execution.model.d.ts +3 -0
- package/src/ai/project-pipeline/operation.schema.d.ts +1987 -2
- package/src/ai/project-task-runtime.model.d.ts +44 -44
- package/src/ai/sandbox-execution-control.schema.d.ts +100 -0
- package/src/ai/thread-activity.model.d.ts +1 -0
- package/src/ai/thread-control-projection.model.d.ts +9 -0
- package/src/ai/thread-control-view.schema.d.ts +97 -0
- package/src/api-key.model.d.ts +3 -1
- package/src/content-document.model.d.ts +3 -1
- package/src/content-resource.model.d.ts +112 -0
- package/src/desktop-shell.model.d.ts +8 -0
- package/src/execution-control-admission.schema.d.ts +119 -0
- package/src/index.d.ts +9 -0
- package/src/plugin-application.d.ts +18 -0
- package/src/runtime-control.d.ts +9 -0
- package/src/secret-token.model.d.ts +33 -0
- package/src/task-control.model.d.ts +45 -0
- package/src/view-extension/model.d.ts +4 -0
package/index.esm.js
CHANGED
|
@@ -1,8 +1,42 @@
|
|
|
1
|
-
import ShortUniqueId from 'short-unique-id';
|
|
2
1
|
import { z } from 'zod';
|
|
2
|
+
import ShortUniqueId from 'short-unique-id';
|
|
3
|
+
import { z as z$1 } from 'zod/v3';
|
|
3
4
|
import { parseResourceCardContent, upsertResourceCardContent, parseFileActivityContent, upsertFileActivityContent, isFileActivityContent, isResourceCardContent } from '@xpert-ai/chatkit-types';
|
|
4
5
|
export { createResourceCardContent, isResourceCardContent, parseResourceCard, parseResourceCardContent, resourceCardId, upsertResourceCardContent } from '@xpert-ai/chatkit-types';
|
|
5
|
-
|
|
6
|
+
|
|
7
|
+
/** Internal boot capabilities. Online/readiness and execution settlement remain separate facts. */ var executionControlProtocols = {
|
|
8
|
+
taskControl: 2,
|
|
9
|
+
managedQueue: 3,
|
|
10
|
+
threadControlView: 1,
|
|
11
|
+
mcpControl: 1,
|
|
12
|
+
sandboxControl: 1,
|
|
13
|
+
invocationEvidence: 2
|
|
14
|
+
};
|
|
15
|
+
var controlledHandlerSchema = z.object({
|
|
16
|
+
pluginName: z.string().min(1),
|
|
17
|
+
queueName: z.string().min(1),
|
|
18
|
+
jobName: z.string().min(1),
|
|
19
|
+
scopeKey: z.string().nullable(),
|
|
20
|
+
controlContract: z.string().min(1).max(160)
|
|
21
|
+
}).strict();
|
|
22
|
+
var executionControlCapabilitiesSchema = z.object({
|
|
23
|
+
version: z.literal(1),
|
|
24
|
+
validUntil: z.number().finite(),
|
|
25
|
+
protocols: z.object({
|
|
26
|
+
taskControl: z.literal(2).optional(),
|
|
27
|
+
managedQueue: z.literal(3).optional(),
|
|
28
|
+
threadControlView: z.literal(1).optional(),
|
|
29
|
+
mcpControl: z.literal(1).optional(),
|
|
30
|
+
sandboxControl: z.literal(1).optional(),
|
|
31
|
+
invocationEvidence: z.literal(2).optional()
|
|
32
|
+
}).strict(),
|
|
33
|
+
queuePrefix: z.string().min(1).max(160),
|
|
34
|
+
queuePools: z.array(z.enum([
|
|
35
|
+
"default",
|
|
36
|
+
"sandbox-browser"
|
|
37
|
+
])),
|
|
38
|
+
handlers: z.array(controlledHandlerSchema)
|
|
39
|
+
}).strict();
|
|
6
40
|
|
|
7
41
|
function resolveI18nText(value) {
|
|
8
42
|
var language = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "en-US";
|
|
@@ -139,6 +173,45 @@ function letterStartSUID(start) {
|
|
|
139
173
|
return start + uuid();
|
|
140
174
|
}
|
|
141
175
|
|
|
176
|
+
/** A control request can address only the original environment and execution generation. */ var sandboxRuntimeTargetSchema = z$1.object({
|
|
177
|
+
version: z$1.literal(1),
|
|
178
|
+
kind: z$1.enum([
|
|
179
|
+
"host",
|
|
180
|
+
"engine"
|
|
181
|
+
]),
|
|
182
|
+
provider: z$1.string().min(1),
|
|
183
|
+
runtimeProfile: z$1.string().min(1),
|
|
184
|
+
generation: z$1.string().uuid(),
|
|
185
|
+
environmentId: z$1.string().min(1),
|
|
186
|
+
runtimeRef: z$1.string().min(1)
|
|
187
|
+
}).strict();
|
|
188
|
+
/** An accepted stop, closed stream, or expired lease is never an exit receipt. */ var sandboxRuntimeEvidenceSchema = z$1.object({
|
|
189
|
+
version: z$1.literal(1),
|
|
190
|
+
target: sandboxRuntimeTargetSchema,
|
|
191
|
+
state: z$1.enum([
|
|
192
|
+
"running",
|
|
193
|
+
"exited",
|
|
194
|
+
"not_started",
|
|
195
|
+
"unknown"
|
|
196
|
+
]),
|
|
197
|
+
observedAt: z$1.string().datetime()
|
|
198
|
+
}).strict();
|
|
199
|
+
function sandboxTargetsEqual(a, b) {
|
|
200
|
+
return a.version === b.version && a.kind === b.kind && a.provider === b.provider && a.runtimeProfile === b.runtimeProfile && a.generation === b.generation && a.environmentId === b.environmentId && a.runtimeRef === b.runtimeRef;
|
|
201
|
+
}
|
|
202
|
+
function sandboxEvidence(target, state) {
|
|
203
|
+
return {
|
|
204
|
+
version: 1,
|
|
205
|
+
target: target,
|
|
206
|
+
state: state,
|
|
207
|
+
observedAt: new Date().toISOString()
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
/** Explicit new business retry; it may proceed only after this original generation settled. */ var sandboxJobRetryReferenceSchema = z$1.object({
|
|
211
|
+
jobId: z$1.string().uuid(),
|
|
212
|
+
generation: z$1.string().uuid()
|
|
213
|
+
}).strict();
|
|
214
|
+
|
|
142
215
|
/** Portable presentation tokens. Clients render their own trusted icon components. */ var PROJECT_TASK_ICON_NAMES = [
|
|
143
216
|
"FileText",
|
|
144
217
|
"FileScan",
|
|
@@ -1313,7 +1386,7 @@ var OrganizationDemoNetworkEnum;
|
|
|
1313
1386
|
OrganizationDemoNetworkEnum["aliyun"] = "aliyun";
|
|
1314
1387
|
})(OrganizationDemoNetworkEnum || (OrganizationDemoNetworkEnum = {}));
|
|
1315
1388
|
|
|
1316
|
-
function _define_property$
|
|
1389
|
+
function _define_property$q(obj, key, value) {
|
|
1317
1390
|
if (key in obj) {
|
|
1318
1391
|
Object.defineProperty(obj, key, {
|
|
1319
1392
|
value: value,
|
|
@@ -1326,7 +1399,7 @@ function _define_property$p(obj, key, value) {
|
|
|
1326
1399
|
}
|
|
1327
1400
|
return obj;
|
|
1328
1401
|
}
|
|
1329
|
-
function _object_spread$
|
|
1402
|
+
function _object_spread$q(target) {
|
|
1330
1403
|
for(var i = 1; i < arguments.length; i++){
|
|
1331
1404
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
1332
1405
|
var ownKeys = Object.keys(source);
|
|
@@ -1336,12 +1409,12 @@ function _object_spread$p(target) {
|
|
|
1336
1409
|
}));
|
|
1337
1410
|
}
|
|
1338
1411
|
ownKeys.forEach(function(key) {
|
|
1339
|
-
_define_property$
|
|
1412
|
+
_define_property$q(target, key, source[key]);
|
|
1340
1413
|
});
|
|
1341
1414
|
}
|
|
1342
1415
|
return target;
|
|
1343
1416
|
}
|
|
1344
|
-
function ownKeys$
|
|
1417
|
+
function ownKeys$j(object, enumerableOnly) {
|
|
1345
1418
|
var keys = Object.keys(object);
|
|
1346
1419
|
if (Object.getOwnPropertySymbols) {
|
|
1347
1420
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -1349,12 +1422,12 @@ function ownKeys$i(object, enumerableOnly) {
|
|
|
1349
1422
|
}
|
|
1350
1423
|
return keys;
|
|
1351
1424
|
}
|
|
1352
|
-
function _object_spread_props$
|
|
1425
|
+
function _object_spread_props$j(target, source) {
|
|
1353
1426
|
source = source != null ? source : {};
|
|
1354
1427
|
if (Object.getOwnPropertyDescriptors) {
|
|
1355
1428
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1356
1429
|
} else {
|
|
1357
|
-
ownKeys$
|
|
1430
|
+
ownKeys$j(Object(source)).forEach(function(key) {
|
|
1358
1431
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1359
1432
|
});
|
|
1360
1433
|
}
|
|
@@ -1382,7 +1455,7 @@ function parseSelectionSet(value) {
|
|
|
1382
1455
|
if (plugins !== undefined && (!isObject(plugins) || !("nodeKeys" in plugins) || !isStringList(plugins.nodeKeys))) return null;
|
|
1383
1456
|
if (subAgents !== undefined && (!isObject(subAgents) || !("nodeKeys" in subAgents) || !isStringList(subAgents.nodeKeys))) return null;
|
|
1384
1457
|
if (connectors !== undefined && (!isObject(connectors) || !("bindingIds" in connectors) || !isStringList(connectors.bindingIds))) return null;
|
|
1385
|
-
return _object_spread$
|
|
1458
|
+
return _object_spread$q(_object_spread_props$j(_object_spread$q({}, value), {
|
|
1386
1459
|
skills: skills === undefined ? {
|
|
1387
1460
|
ids: []
|
|
1388
1461
|
} : skills,
|
|
@@ -1401,7 +1474,7 @@ function parsePromptCapabilitySelection(value) {
|
|
|
1401
1474
|
var selection = parseSelectionSet(value);
|
|
1402
1475
|
var recommended = "recommended" in value && value.recommended != null ? parseSelectionSet(value.recommended) : undefined;
|
|
1403
1476
|
if (!selection || recommended === null) return null;
|
|
1404
|
-
return _object_spread$
|
|
1477
|
+
return _object_spread$q(_object_spread_props$j(_object_spread$q({}, selection), {
|
|
1405
1478
|
mode: "allowlist"
|
|
1406
1479
|
}), "inheritUnselected" in value && typeof value.inheritUnselected === "boolean" ? {
|
|
1407
1480
|
inheritUnselected: value.inheritUnselected
|
|
@@ -1453,7 +1526,7 @@ function parsePromptCapabilityConfig(value) {
|
|
|
1453
1526
|
}
|
|
1454
1527
|
}
|
|
1455
1528
|
}
|
|
1456
|
-
return _object_spread_props$
|
|
1529
|
+
return _object_spread_props$j(_object_spread$q({}, value), {
|
|
1457
1530
|
type: "expert_scoped_capabilities",
|
|
1458
1531
|
version: 1,
|
|
1459
1532
|
defaults: defaults,
|
|
@@ -1585,7 +1658,7 @@ var ChatMessageStepCategory;
|
|
|
1585
1658
|
ChatMessageStepCategory["Knowledges"] = "knowledges";
|
|
1586
1659
|
})(ChatMessageStepCategory || (ChatMessageStepCategory = {}));
|
|
1587
1660
|
|
|
1588
|
-
function _define_property$
|
|
1661
|
+
function _define_property$p(obj, key, value) {
|
|
1589
1662
|
if (key in obj) {
|
|
1590
1663
|
Object.defineProperty(obj, key, {
|
|
1591
1664
|
value: value,
|
|
@@ -1605,7 +1678,7 @@ function _instanceof$1(left, right) {
|
|
|
1605
1678
|
return left instanceof right;
|
|
1606
1679
|
}
|
|
1607
1680
|
}
|
|
1608
|
-
function _object_spread$
|
|
1681
|
+
function _object_spread$p(target) {
|
|
1609
1682
|
for(var i = 1; i < arguments.length; i++){
|
|
1610
1683
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
1611
1684
|
var ownKeys = Object.keys(source);
|
|
@@ -1615,7 +1688,7 @@ function _object_spread$o(target) {
|
|
|
1615
1688
|
}));
|
|
1616
1689
|
}
|
|
1617
1690
|
ownKeys.forEach(function(key) {
|
|
1618
|
-
_define_property$
|
|
1691
|
+
_define_property$p(target, key, source[key]);
|
|
1619
1692
|
});
|
|
1620
1693
|
}
|
|
1621
1694
|
return target;
|
|
@@ -1626,12 +1699,12 @@ var CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY = "conversation_title_summary";
|
|
|
1626
1699
|
var CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED = "thread_goal_updated";
|
|
1627
1700
|
var CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED = "thread_goal_cleared";
|
|
1628
1701
|
function createConversationTitleSummaryEvent(event) {
|
|
1629
|
-
return _object_spread$
|
|
1702
|
+
return _object_spread$p({
|
|
1630
1703
|
type: CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY
|
|
1631
1704
|
}, event);
|
|
1632
1705
|
}
|
|
1633
1706
|
function createFollowUpConsumedEvent(event) {
|
|
1634
|
-
return _object_spread$
|
|
1707
|
+
return _object_spread$p({
|
|
1635
1708
|
type: CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED
|
|
1636
1709
|
}, event);
|
|
1637
1710
|
}
|
|
@@ -1677,7 +1750,7 @@ function _array_with_holes$g(arr) {
|
|
|
1677
1750
|
function _array_without_holes$i(arr) {
|
|
1678
1751
|
if (Array.isArray(arr)) return _array_like_to_array$s(arr);
|
|
1679
1752
|
}
|
|
1680
|
-
function _define_property$
|
|
1753
|
+
function _define_property$o(obj, key, value) {
|
|
1681
1754
|
if (key in obj) {
|
|
1682
1755
|
Object.defineProperty(obj, key, {
|
|
1683
1756
|
value: value,
|
|
@@ -1723,7 +1796,7 @@ function _non_iterable_rest$g() {
|
|
|
1723
1796
|
function _non_iterable_spread$i() {
|
|
1724
1797
|
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
1798
|
}
|
|
1726
|
-
function _object_spread$
|
|
1799
|
+
function _object_spread$o(target) {
|
|
1727
1800
|
for(var i = 1; i < arguments.length; i++){
|
|
1728
1801
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
1729
1802
|
var ownKeys = Object.keys(source);
|
|
@@ -1733,12 +1806,12 @@ function _object_spread$n(target) {
|
|
|
1733
1806
|
}));
|
|
1734
1807
|
}
|
|
1735
1808
|
ownKeys.forEach(function(key) {
|
|
1736
|
-
_define_property$
|
|
1809
|
+
_define_property$o(target, key, source[key]);
|
|
1737
1810
|
});
|
|
1738
1811
|
}
|
|
1739
1812
|
return target;
|
|
1740
1813
|
}
|
|
1741
|
-
function ownKeys$
|
|
1814
|
+
function ownKeys$i(object, enumerableOnly) {
|
|
1742
1815
|
var keys = Object.keys(object);
|
|
1743
1816
|
if (Object.getOwnPropertySymbols) {
|
|
1744
1817
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -1746,12 +1819,12 @@ function ownKeys$h(object, enumerableOnly) {
|
|
|
1746
1819
|
}
|
|
1747
1820
|
return keys;
|
|
1748
1821
|
}
|
|
1749
|
-
function _object_spread_props$
|
|
1822
|
+
function _object_spread_props$i(target, source) {
|
|
1750
1823
|
source = source != null ? source : {};
|
|
1751
1824
|
if (Object.getOwnPropertyDescriptors) {
|
|
1752
1825
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1753
1826
|
} else {
|
|
1754
|
-
ownKeys$
|
|
1827
|
+
ownKeys$i(Object(source)).forEach(function(key) {
|
|
1755
1828
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1756
1829
|
});
|
|
1757
1830
|
}
|
|
@@ -1870,7 +1943,7 @@ function normalizeAssistantBindingToolPreferences(value) {
|
|
|
1870
1943
|
if (!Object.keys(toolsets).length && !Object.keys(middlewares).length && !Object.keys(skills).length) {
|
|
1871
1944
|
return null;
|
|
1872
1945
|
}
|
|
1873
|
-
return _object_spread$
|
|
1946
|
+
return _object_spread$o({
|
|
1874
1947
|
version: 1
|
|
1875
1948
|
}, Object.keys(toolsets).length ? {
|
|
1876
1949
|
toolsets: toolsets
|
|
@@ -1948,8 +2021,8 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
|
|
|
1948
2021
|
}) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$i(disabledTools).concat([
|
|
1949
2022
|
normalizedToolName
|
|
1950
2023
|
]));
|
|
1951
|
-
var toolsets = normalizedPreferences.toolsets ? _object_spread$
|
|
1952
|
-
var middlewares = normalizedPreferences.middlewares ? _object_spread$
|
|
2024
|
+
var toolsets = normalizedPreferences.toolsets ? _object_spread$o({}, normalizedPreferences.toolsets) : undefined;
|
|
2025
|
+
var middlewares = normalizedPreferences.middlewares ? _object_spread$o({}, normalizedPreferences.middlewares) : undefined;
|
|
1953
2026
|
if (sourceType === "toolset") {
|
|
1954
2027
|
var toolsetName = "toolsetName" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.toolsetName) : "";
|
|
1955
2028
|
if (!toolsetName) {
|
|
@@ -1965,14 +2038,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
|
|
|
1965
2038
|
} else {
|
|
1966
2039
|
delete nextToolsets[normalizedNodeKey];
|
|
1967
2040
|
}
|
|
1968
|
-
return normalizeAssistantBindingToolPreferences(_object_spread$
|
|
2041
|
+
return normalizeAssistantBindingToolPreferences(_object_spread$o({
|
|
1969
2042
|
version: 1
|
|
1970
2043
|
}, Object.keys(nextToolsets).length ? {
|
|
1971
2044
|
toolsets: nextToolsets
|
|
1972
2045
|
} : {}, middlewares && Object.keys(middlewares).length ? {
|
|
1973
2046
|
middlewares: middlewares
|
|
1974
2047
|
} : {}, normalizedPreferences.skills ? {
|
|
1975
|
-
skills: _object_spread$
|
|
2048
|
+
skills: _object_spread$o({}, normalizedPreferences.skills)
|
|
1976
2049
|
} : {}));
|
|
1977
2050
|
}
|
|
1978
2051
|
var provider = "provider" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.provider) : "";
|
|
@@ -1988,14 +2061,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
|
|
|
1988
2061
|
} else {
|
|
1989
2062
|
delete nextMiddlewares[normalizedNodeKey];
|
|
1990
2063
|
}
|
|
1991
|
-
return normalizeAssistantBindingToolPreferences(_object_spread$
|
|
2064
|
+
return normalizeAssistantBindingToolPreferences(_object_spread$o({
|
|
1992
2065
|
version: 1
|
|
1993
2066
|
}, toolsets && Object.keys(toolsets).length ? {
|
|
1994
2067
|
toolsets: toolsets
|
|
1995
2068
|
} : {}, Object.keys(nextMiddlewares).length ? {
|
|
1996
2069
|
middlewares: nextMiddlewares
|
|
1997
2070
|
} : {}, normalizedPreferences.skills ? {
|
|
1998
|
-
skills: _object_spread$
|
|
2071
|
+
skills: _object_spread$o({}, normalizedPreferences.skills)
|
|
1999
2072
|
} : {}));
|
|
2000
2073
|
}
|
|
2001
2074
|
function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillId, enabled) {
|
|
@@ -2013,7 +2086,7 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
|
|
|
2013
2086
|
}) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$i(disabledSkillIds).concat([
|
|
2014
2087
|
normalizedSkillId
|
|
2015
2088
|
]));
|
|
2016
|
-
var skills = normalizedPreferences.skills ? _object_spread$
|
|
2089
|
+
var skills = normalizedPreferences.skills ? _object_spread$o({}, normalizedPreferences.skills) : {};
|
|
2017
2090
|
if (nextDisabledSkillIds.length) {
|
|
2018
2091
|
skills[normalizedWorkspaceId] = {
|
|
2019
2092
|
workspaceId: normalizedWorkspaceId,
|
|
@@ -2022,12 +2095,12 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
|
|
|
2022
2095
|
} else {
|
|
2023
2096
|
delete skills[normalizedWorkspaceId];
|
|
2024
2097
|
}
|
|
2025
|
-
return normalizeAssistantBindingToolPreferences(_object_spread$
|
|
2098
|
+
return normalizeAssistantBindingToolPreferences(_object_spread$o({
|
|
2026
2099
|
version: 1
|
|
2027
2100
|
}, normalizedPreferences.toolsets ? {
|
|
2028
|
-
toolsets: _object_spread$
|
|
2101
|
+
toolsets: _object_spread$o({}, normalizedPreferences.toolsets)
|
|
2029
2102
|
} : {}, normalizedPreferences.middlewares ? {
|
|
2030
|
-
middlewares: _object_spread$
|
|
2103
|
+
middlewares: _object_spread$o({}, normalizedPreferences.middlewares)
|
|
2031
2104
|
} : {}, Object.keys(skills).length ? {
|
|
2032
2105
|
skills: skills
|
|
2033
2106
|
} : {}));
|
|
@@ -2045,14 +2118,14 @@ function ensureAssistantBindingSkillWorkspacePreference(preferences, workspaceId
|
|
|
2045
2118
|
var currentSkills = (_normalizedPreferences_skills = normalizedPreferences.skills) !== null && _normalizedPreferences_skills !== void 0 ? _normalizedPreferences_skills : {};
|
|
2046
2119
|
var currentWorkspacePreference = currentSkills[normalizedWorkspaceId];
|
|
2047
2120
|
var _currentWorkspacePreference_disabledSkillIds;
|
|
2048
|
-
return _object_spread_props$
|
|
2121
|
+
return _object_spread_props$i(_object_spread$o({
|
|
2049
2122
|
version: 1
|
|
2050
2123
|
}, normalizedPreferences.toolsets ? {
|
|
2051
|
-
toolsets: _object_spread$
|
|
2124
|
+
toolsets: _object_spread$o({}, normalizedPreferences.toolsets)
|
|
2052
2125
|
} : {}, normalizedPreferences.middlewares ? {
|
|
2053
|
-
middlewares: _object_spread$
|
|
2126
|
+
middlewares: _object_spread$o({}, normalizedPreferences.middlewares)
|
|
2054
2127
|
} : {}), {
|
|
2055
|
-
skills: _object_spread_props$
|
|
2128
|
+
skills: _object_spread_props$i(_object_spread$o({}, currentSkills), _define_property$o({}, normalizedWorkspaceId, {
|
|
2056
2129
|
workspaceId: normalizeAssistantBindingPreferenceKey(currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.workspaceId) || normalizedWorkspaceId,
|
|
2057
2130
|
disabledSkillIds: (_currentWorkspacePreference_disabledSkillIds = currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.disabledSkillIds) !== null && _currentWorkspacePreference_disabledSkillIds !== void 0 ? _currentWorkspacePreference_disabledSkillIds : []
|
|
2058
2131
|
}))
|
|
@@ -2145,7 +2218,7 @@ function createdAtTimestamp(item) {
|
|
|
2145
2218
|
|
|
2146
2219
|
var ASSISTANT_USER_PREFERENCES_VERSION = 1;
|
|
2147
2220
|
|
|
2148
|
-
function _define_property$
|
|
2221
|
+
function _define_property$n(obj, key, value) {
|
|
2149
2222
|
if (key in obj) {
|
|
2150
2223
|
Object.defineProperty(obj, key, {
|
|
2151
2224
|
value: value,
|
|
@@ -2158,7 +2231,7 @@ function _define_property$m(obj, key, value) {
|
|
|
2158
2231
|
}
|
|
2159
2232
|
return obj;
|
|
2160
2233
|
}
|
|
2161
|
-
function _object_spread$
|
|
2234
|
+
function _object_spread$n(target) {
|
|
2162
2235
|
for(var i = 1; i < arguments.length; i++){
|
|
2163
2236
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
2164
2237
|
var ownKeys = Object.keys(source);
|
|
@@ -2168,7 +2241,7 @@ function _object_spread$m(target) {
|
|
|
2168
2241
|
}));
|
|
2169
2242
|
}
|
|
2170
2243
|
ownKeys.forEach(function(key) {
|
|
2171
|
-
_define_property$
|
|
2244
|
+
_define_property$n(target, key, source[key]);
|
|
2172
2245
|
});
|
|
2173
2246
|
}
|
|
2174
2247
|
return target;
|
|
@@ -2300,7 +2373,7 @@ function resolveModelParameterOptions(modelOptions, rules) {
|
|
|
2300
2373
|
var config = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2301
2374
|
var _config_preserveUnknown;
|
|
2302
2375
|
var preserveUnknown = (_config_preserveUnknown = config.preserveUnknown) !== null && _config_preserveUnknown !== void 0 ? _config_preserveUnknown : true;
|
|
2303
|
-
var resolvedOptions = preserveUnknown ? _object_spread$
|
|
2376
|
+
var resolvedOptions = preserveUnknown ? _object_spread$n({}, modelOptions !== null && modelOptions !== void 0 ? modelOptions : {}) : {};
|
|
2304
2377
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
2305
2378
|
try {
|
|
2306
2379
|
for(var _iterator = rules[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -2364,7 +2437,7 @@ function _array_like_to_array$q(arr, len) {
|
|
|
2364
2437
|
function _array_without_holes$g(arr) {
|
|
2365
2438
|
if (Array.isArray(arr)) return _array_like_to_array$q(arr);
|
|
2366
2439
|
}
|
|
2367
|
-
function _define_property$
|
|
2440
|
+
function _define_property$m(obj, key, value) {
|
|
2368
2441
|
if (key in obj) {
|
|
2369
2442
|
Object.defineProperty(obj, key, {
|
|
2370
2443
|
value: value,
|
|
@@ -2383,7 +2456,7 @@ function _iterable_to_array$i(iter) {
|
|
|
2383
2456
|
function _non_iterable_spread$g() {
|
|
2384
2457
|
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
2458
|
}
|
|
2386
|
-
function _object_spread$
|
|
2459
|
+
function _object_spread$m(target) {
|
|
2387
2460
|
for(var i = 1; i < arguments.length; i++){
|
|
2388
2461
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
2389
2462
|
var ownKeys = Object.keys(source);
|
|
@@ -2393,12 +2466,12 @@ function _object_spread$l(target) {
|
|
|
2393
2466
|
}));
|
|
2394
2467
|
}
|
|
2395
2468
|
ownKeys.forEach(function(key) {
|
|
2396
|
-
_define_property$
|
|
2469
|
+
_define_property$m(target, key, source[key]);
|
|
2397
2470
|
});
|
|
2398
2471
|
}
|
|
2399
2472
|
return target;
|
|
2400
2473
|
}
|
|
2401
|
-
function ownKeys$
|
|
2474
|
+
function ownKeys$h(object, enumerableOnly) {
|
|
2402
2475
|
var keys = Object.keys(object);
|
|
2403
2476
|
if (Object.getOwnPropertySymbols) {
|
|
2404
2477
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -2406,12 +2479,12 @@ function ownKeys$g(object, enumerableOnly) {
|
|
|
2406
2479
|
}
|
|
2407
2480
|
return keys;
|
|
2408
2481
|
}
|
|
2409
|
-
function _object_spread_props$
|
|
2482
|
+
function _object_spread_props$h(target, source) {
|
|
2410
2483
|
source = source != null ? source : {};
|
|
2411
2484
|
if (Object.getOwnPropertyDescriptors) {
|
|
2412
2485
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
2413
2486
|
} else {
|
|
2414
|
-
ownKeys$
|
|
2487
|
+
ownKeys$h(Object(source)).forEach(function(key) {
|
|
2415
2488
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
2416
2489
|
});
|
|
2417
2490
|
}
|
|
@@ -2439,20 +2512,20 @@ var common$1 = {
|
|
|
2439
2512
|
maxConcurrency: positiveInteger.max(1000)
|
|
2440
2513
|
};
|
|
2441
2514
|
/** Saved model configuration is explicit; name heuristics are only discovery suggestions. */ var modelConfigurationSchema = z.discriminatedUnion("modelType", [
|
|
2442
|
-
z.object(_object_spread_props$
|
|
2515
|
+
z.object(_object_spread_props$h(_object_spread$m({
|
|
2443
2516
|
modelType: z.literal(AiModelTypeEnum.LLM)
|
|
2444
2517
|
}, common$1), {
|
|
2445
2518
|
maxOutputTokens: positiveInteger,
|
|
2446
2519
|
defaultMaxTokens: positiveInteger,
|
|
2447
2520
|
features: z.array(z.nativeEnum(ModelFeature)).max(20)
|
|
2448
2521
|
})).strict(),
|
|
2449
|
-
z.object(_object_spread_props$
|
|
2522
|
+
z.object(_object_spread_props$h(_object_spread$m({
|
|
2450
2523
|
modelType: z.literal(AiModelTypeEnum.TEXT_EMBEDDING)
|
|
2451
2524
|
}, common$1), {
|
|
2452
2525
|
dimensions: positiveInteger.optional(),
|
|
2453
2526
|
batchSize: positiveInteger.max(2048)
|
|
2454
2527
|
})).strict(),
|
|
2455
|
-
z.object(_object_spread$
|
|
2528
|
+
z.object(_object_spread$m({
|
|
2456
2529
|
modelType: z.literal(AiModelTypeEnum.RERANK)
|
|
2457
2530
|
}, common$1)).strict()
|
|
2458
2531
|
]).superRefine(function(value, ctx) {
|
|
@@ -2484,7 +2557,7 @@ function defaultModelConfiguration(modelType) {
|
|
|
2484
2557
|
};
|
|
2485
2558
|
switch(modelType){
|
|
2486
2559
|
case AiModelTypeEnum.LLM:
|
|
2487
|
-
return _object_spread_props$
|
|
2560
|
+
return _object_spread_props$h(_object_spread$m({
|
|
2488
2561
|
modelType: modelType
|
|
2489
2562
|
}, common), {
|
|
2490
2563
|
maxOutputTokens: 2048,
|
|
@@ -2492,13 +2565,13 @@ function defaultModelConfiguration(modelType) {
|
|
|
2492
2565
|
features: []
|
|
2493
2566
|
});
|
|
2494
2567
|
case AiModelTypeEnum.TEXT_EMBEDDING:
|
|
2495
|
-
return _object_spread_props$
|
|
2568
|
+
return _object_spread_props$h(_object_spread$m({
|
|
2496
2569
|
modelType: modelType
|
|
2497
2570
|
}, common), {
|
|
2498
2571
|
batchSize: 16
|
|
2499
2572
|
});
|
|
2500
2573
|
case AiModelTypeEnum.RERANK:
|
|
2501
|
-
return _object_spread$
|
|
2574
|
+
return _object_spread$m({
|
|
2502
2575
|
modelType: modelType
|
|
2503
2576
|
}, common);
|
|
2504
2577
|
}
|
|
@@ -3086,7 +3159,7 @@ function workflowNodeIdentifier(node) {
|
|
|
3086
3159
|
return node.title || node.key;
|
|
3087
3160
|
}
|
|
3088
3161
|
|
|
3089
|
-
function _define_property$
|
|
3162
|
+
function _define_property$l(obj, key, value) {
|
|
3090
3163
|
if (key in obj) {
|
|
3091
3164
|
Object.defineProperty(obj, key, {
|
|
3092
3165
|
value: value,
|
|
@@ -3099,7 +3172,7 @@ function _define_property$k(obj, key, value) {
|
|
|
3099
3172
|
}
|
|
3100
3173
|
return obj;
|
|
3101
3174
|
}
|
|
3102
|
-
function _object_spread$
|
|
3175
|
+
function _object_spread$l(target) {
|
|
3103
3176
|
for(var i = 1; i < arguments.length; i++){
|
|
3104
3177
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3105
3178
|
var ownKeys = Object.keys(source);
|
|
@@ -3109,12 +3182,12 @@ function _object_spread$k(target) {
|
|
|
3109
3182
|
}));
|
|
3110
3183
|
}
|
|
3111
3184
|
ownKeys.forEach(function(key) {
|
|
3112
|
-
_define_property$
|
|
3185
|
+
_define_property$l(target, key, source[key]);
|
|
3113
3186
|
});
|
|
3114
3187
|
}
|
|
3115
3188
|
return target;
|
|
3116
3189
|
}
|
|
3117
|
-
function ownKeys$
|
|
3190
|
+
function ownKeys$g(object, enumerableOnly) {
|
|
3118
3191
|
var keys = Object.keys(object);
|
|
3119
3192
|
if (Object.getOwnPropertySymbols) {
|
|
3120
3193
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -3122,12 +3195,12 @@ function ownKeys$f(object, enumerableOnly) {
|
|
|
3122
3195
|
}
|
|
3123
3196
|
return keys;
|
|
3124
3197
|
}
|
|
3125
|
-
function _object_spread_props$
|
|
3198
|
+
function _object_spread_props$g(target, source) {
|
|
3126
3199
|
source = source != null ? source : {};
|
|
3127
3200
|
if (Object.getOwnPropertyDescriptors) {
|
|
3128
3201
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
3129
3202
|
} else {
|
|
3130
|
-
ownKeys$
|
|
3203
|
+
ownKeys$g(Object(source)).forEach(function(key) {
|
|
3131
3204
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3132
3205
|
});
|
|
3133
3206
|
}
|
|
@@ -3160,7 +3233,7 @@ function getXpertAgentRecursionLimit(agentConfig) {
|
|
|
3160
3233
|
return typeof (agentConfig === null || agentConfig === void 0 ? void 0 : agentConfig.recursionLimit) === "number" ? agentConfig.recursionLimit : DEFAULT_XPERT_AGENT_RECURSION_LIMIT;
|
|
3161
3234
|
}
|
|
3162
3235
|
function normalizeXpertAgentConfig(agentConfig) {
|
|
3163
|
-
return _object_spread_props$
|
|
3236
|
+
return _object_spread_props$g(_object_spread$l({}, agentConfig !== null && agentConfig !== void 0 ? agentConfig : {}), {
|
|
3164
3237
|
recursionLimit: getXpertAgentRecursionLimit(agentConfig)
|
|
3165
3238
|
});
|
|
3166
3239
|
}
|
|
@@ -3254,7 +3327,7 @@ function _array_like_to_array$p(arr, len) {
|
|
|
3254
3327
|
function _array_with_holes$f(arr) {
|
|
3255
3328
|
if (Array.isArray(arr)) return arr;
|
|
3256
3329
|
}
|
|
3257
|
-
function _define_property$
|
|
3330
|
+
function _define_property$k(obj, key, value) {
|
|
3258
3331
|
if (key in obj) {
|
|
3259
3332
|
Object.defineProperty(obj, key, {
|
|
3260
3333
|
value: value,
|
|
@@ -3294,7 +3367,7 @@ function _iterable_to_array_limit$d(arr, i) {
|
|
|
3294
3367
|
function _non_iterable_rest$f() {
|
|
3295
3368
|
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
3369
|
}
|
|
3297
|
-
function _object_spread$
|
|
3370
|
+
function _object_spread$k(target) {
|
|
3298
3371
|
for(var i = 1; i < arguments.length; i++){
|
|
3299
3372
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3300
3373
|
var ownKeys = Object.keys(source);
|
|
@@ -3304,12 +3377,12 @@ function _object_spread$j(target) {
|
|
|
3304
3377
|
}));
|
|
3305
3378
|
}
|
|
3306
3379
|
ownKeys.forEach(function(key) {
|
|
3307
|
-
_define_property$
|
|
3380
|
+
_define_property$k(target, key, source[key]);
|
|
3308
3381
|
});
|
|
3309
3382
|
}
|
|
3310
3383
|
return target;
|
|
3311
3384
|
}
|
|
3312
|
-
function ownKeys$
|
|
3385
|
+
function ownKeys$f(object, enumerableOnly) {
|
|
3313
3386
|
var keys = Object.keys(object);
|
|
3314
3387
|
if (Object.getOwnPropertySymbols) {
|
|
3315
3388
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -3317,12 +3390,12 @@ function ownKeys$e(object, enumerableOnly) {
|
|
|
3317
3390
|
}
|
|
3318
3391
|
return keys;
|
|
3319
3392
|
}
|
|
3320
|
-
function _object_spread_props$
|
|
3393
|
+
function _object_spread_props$f(target, source) {
|
|
3321
3394
|
source = source != null ? source : {};
|
|
3322
3395
|
if (Object.getOwnPropertyDescriptors) {
|
|
3323
3396
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
3324
3397
|
} else {
|
|
3325
|
-
ownKeys$
|
|
3398
|
+
ownKeys$f(Object(source)).forEach(function(key) {
|
|
3326
3399
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3327
3400
|
});
|
|
3328
3401
|
}
|
|
@@ -3422,7 +3495,7 @@ function configurableStoreNamespace(configurable) {
|
|
|
3422
3495
|
var _varName_split = _sliced_to_array$d(varName.split("."), 2), agentChannelName = _varName_split[0], variableName = _varName_split[1];
|
|
3423
3496
|
if (variableName) {
|
|
3424
3497
|
var _state_agentChannelName;
|
|
3425
|
-
state[agentChannelName] = _object_spread_props$
|
|
3498
|
+
state[agentChannelName] = _object_spread_props$f(_object_spread$k({}, (_state_agentChannelName = state[agentChannelName]) !== null && _state_agentChannelName !== void 0 ? _state_agentChannelName : {}), _define_property$k({}, variableName, value));
|
|
3426
3499
|
} else {
|
|
3427
3500
|
state[agentChannelName] = value;
|
|
3428
3501
|
}
|
|
@@ -3513,7 +3586,7 @@ function getWorkflowTriggers(graph, from) {
|
|
|
3513
3586
|
});
|
|
3514
3587
|
}
|
|
3515
3588
|
|
|
3516
|
-
function _define_property$
|
|
3589
|
+
function _define_property$j(obj, key, value) {
|
|
3517
3590
|
if (key in obj) {
|
|
3518
3591
|
Object.defineProperty(obj, key, {
|
|
3519
3592
|
value: value,
|
|
@@ -3526,7 +3599,7 @@ function _define_property$i(obj, key, value) {
|
|
|
3526
3599
|
}
|
|
3527
3600
|
return obj;
|
|
3528
3601
|
}
|
|
3529
|
-
function _object_spread$
|
|
3602
|
+
function _object_spread$j(target) {
|
|
3530
3603
|
for(var i = 1; i < arguments.length; i++){
|
|
3531
3604
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3532
3605
|
var ownKeys = Object.keys(source);
|
|
@@ -3536,12 +3609,12 @@ function _object_spread$i(target) {
|
|
|
3536
3609
|
}));
|
|
3537
3610
|
}
|
|
3538
3611
|
ownKeys.forEach(function(key) {
|
|
3539
|
-
_define_property$
|
|
3612
|
+
_define_property$j(target, key, source[key]);
|
|
3540
3613
|
});
|
|
3541
3614
|
}
|
|
3542
3615
|
return target;
|
|
3543
3616
|
}
|
|
3544
|
-
function ownKeys$
|
|
3617
|
+
function ownKeys$e(object, enumerableOnly) {
|
|
3545
3618
|
var keys = Object.keys(object);
|
|
3546
3619
|
if (Object.getOwnPropertySymbols) {
|
|
3547
3620
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -3549,12 +3622,12 @@ function ownKeys$d(object, enumerableOnly) {
|
|
|
3549
3622
|
}
|
|
3550
3623
|
return keys;
|
|
3551
3624
|
}
|
|
3552
|
-
function _object_spread_props$
|
|
3625
|
+
function _object_spread_props$e(target, source) {
|
|
3553
3626
|
source = source != null ? source : {};
|
|
3554
3627
|
if (Object.getOwnPropertyDescriptors) {
|
|
3555
3628
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
3556
3629
|
} else {
|
|
3557
|
-
ownKeys$
|
|
3630
|
+
ownKeys$e(Object(source)).forEach(function(key) {
|
|
3558
3631
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3559
3632
|
});
|
|
3560
3633
|
}
|
|
@@ -3642,11 +3715,11 @@ var KNOWLEDGEBASE_FAQ_RETRIEVAL_MODES = [
|
|
|
3642
3715
|
return candidate === requestedMode;
|
|
3643
3716
|
}) ? requestedMode : DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.mode;
|
|
3644
3717
|
var _recall_fusion2, _recall_fusion_mode, _recall_fusion_weights;
|
|
3645
|
-
return _object_spread_props$
|
|
3718
|
+
return _object_spread_props$e(_object_spread$j({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, recall !== null && recall !== void 0 ? recall : {}), {
|
|
3646
3719
|
mode: mode,
|
|
3647
|
-
fusion: _object_spread_props$
|
|
3720
|
+
fusion: _object_spread_props$e(_object_spread$j({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion, (_recall_fusion2 = recall === null || recall === void 0 ? void 0 : recall.fusion) !== null && _recall_fusion2 !== void 0 ? _recall_fusion2 : {}), {
|
|
3648
3721
|
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$
|
|
3722
|
+
weights: _object_spread_props$e(_object_spread$j({}, 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
3723
|
graph: 0
|
|
3651
3724
|
})
|
|
3652
3725
|
})
|
|
@@ -3815,7 +3888,7 @@ function _array_like_to_array$n(arr, len) {
|
|
|
3815
3888
|
function _array_without_holes$e(arr) {
|
|
3816
3889
|
if (Array.isArray(arr)) return _array_like_to_array$n(arr);
|
|
3817
3890
|
}
|
|
3818
|
-
function _define_property$
|
|
3891
|
+
function _define_property$i(obj, key, value) {
|
|
3819
3892
|
if (key in obj) {
|
|
3820
3893
|
Object.defineProperty(obj, key, {
|
|
3821
3894
|
value: value,
|
|
@@ -3834,7 +3907,7 @@ function _iterable_to_array$g(iter) {
|
|
|
3834
3907
|
function _non_iterable_spread$e() {
|
|
3835
3908
|
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
3909
|
}
|
|
3837
|
-
function _object_spread$
|
|
3910
|
+
function _object_spread$i(target) {
|
|
3838
3911
|
for(var i = 1; i < arguments.length; i++){
|
|
3839
3912
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3840
3913
|
var ownKeys = Object.keys(source);
|
|
@@ -3844,7 +3917,7 @@ function _object_spread$h(target) {
|
|
|
3844
3917
|
}));
|
|
3845
3918
|
}
|
|
3846
3919
|
ownKeys.forEach(function(key) {
|
|
3847
|
-
_define_property$
|
|
3920
|
+
_define_property$i(target, key, source[key]);
|
|
3848
3921
|
});
|
|
3849
3922
|
}
|
|
3850
3923
|
return target;
|
|
@@ -3862,12 +3935,12 @@ function _unsupported_iterable_to_array$n(o, minLen) {
|
|
|
3862
3935
|
}
|
|
3863
3936
|
/** Only copy configured defaults; do not turn built-in defaults into document overrides. */ function knowledgebaseDocumentParserDefaults(config, documentType) {
|
|
3864
3937
|
if (!config) return {};
|
|
3865
|
-
return _object_spread$
|
|
3866
|
-
spreadsheet: _object_spread$
|
|
3938
|
+
return _object_spread$i({}, config.spreadsheet ? {
|
|
3939
|
+
spreadsheet: _object_spread$i({}, config.spreadsheet)
|
|
3867
3940
|
} : {}, config.tableMetadataRequirements !== undefined ? {
|
|
3868
3941
|
tableMetadataRequirements: config.tableMetadataRequirements
|
|
3869
3942
|
} : {}, config.questionGeneration ? {
|
|
3870
|
-
questionGeneration: _object_spread$
|
|
3943
|
+
questionGeneration: _object_spread$i({}, config.questionGeneration)
|
|
3871
3944
|
} : {}, config.chunkLanguageHint !== undefined ? {
|
|
3872
3945
|
chunkLanguageHint: config.chunkLanguageHint
|
|
3873
3946
|
} : {}, config.maxChunkTokens !== undefined ? {
|
|
@@ -3881,7 +3954,7 @@ function _unsupported_iterable_to_array$n(o, minLen) {
|
|
|
3881
3954
|
} : {}, config.textSplitterType ? {
|
|
3882
3955
|
textSplitterType: config.textSplitterType
|
|
3883
3956
|
} : {}, config.textSplitter || config.chunkSize != null || config.chunkOverlap != null ? {
|
|
3884
|
-
textSplitter: _object_spread$
|
|
3957
|
+
textSplitter: _object_spread$i({}, config.chunkSize != null ? {
|
|
3885
3958
|
chunkSize: config.chunkSize
|
|
3886
3959
|
} : {}, config.chunkOverlap != null ? {
|
|
3887
3960
|
chunkOverlap: config.chunkOverlap
|
|
@@ -3893,7 +3966,7 @@ function _unsupported_iterable_to_array$n(o, minLen) {
|
|
|
3893
3966
|
} : {}, config.imageUnderstandingType ? {
|
|
3894
3967
|
imageUnderstandingType: config.imageUnderstandingType
|
|
3895
3968
|
} : {}, config.imageUnderstanding ? {
|
|
3896
|
-
imageUnderstanding: _object_spread$
|
|
3969
|
+
imageUnderstanding: _object_spread$i({}, config.imageUnderstanding)
|
|
3897
3970
|
} : {}, knowledgebaseParserSelection(config, documentType !== null && documentType !== void 0 ? documentType : ""));
|
|
3898
3971
|
}
|
|
3899
3972
|
/** Arrays are the canonical ordered format; retain the plugin's legacy comma syntax. */ function decodeKnowledgeSeparators(value) {
|
|
@@ -3958,7 +4031,7 @@ function genPipelineKnowledgeBaseKey() {
|
|
|
3958
4031
|
return letterStartSUID("KnowledgeBase_");
|
|
3959
4032
|
}
|
|
3960
4033
|
|
|
3961
|
-
function _define_property$
|
|
4034
|
+
function _define_property$h(obj, key, value) {
|
|
3962
4035
|
if (key in obj) {
|
|
3963
4036
|
Object.defineProperty(obj, key, {
|
|
3964
4037
|
value: value,
|
|
@@ -3971,7 +4044,7 @@ function _define_property$g(obj, key, value) {
|
|
|
3971
4044
|
}
|
|
3972
4045
|
return obj;
|
|
3973
4046
|
}
|
|
3974
|
-
function _object_spread$
|
|
4047
|
+
function _object_spread$h(target) {
|
|
3975
4048
|
for(var i = 1; i < arguments.length; i++){
|
|
3976
4049
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3977
4050
|
var ownKeys = Object.keys(source);
|
|
@@ -3981,7 +4054,7 @@ function _object_spread$g(target) {
|
|
|
3981
4054
|
}));
|
|
3982
4055
|
}
|
|
3983
4056
|
ownKeys.forEach(function(key) {
|
|
3984
|
-
_define_property$
|
|
4057
|
+
_define_property$h(target, key, source[key]);
|
|
3985
4058
|
});
|
|
3986
4059
|
}
|
|
3987
4060
|
return target;
|
|
@@ -4001,7 +4074,7 @@ function _object_spread$g(target) {
|
|
|
4001
4074
|
* @deprecated use DocumentSourceProviderCategoryEnum local file type instead
|
|
4002
4075
|
*/ DocumentTypeEnum["FILE"] = "file";
|
|
4003
4076
|
})(DocumentTypeEnum || (DocumentTypeEnum = {}));
|
|
4004
|
-
var KDocumentSourceType = _object_spread$
|
|
4077
|
+
var KDocumentSourceType = _object_spread$h({}, DocumentSourceProviderCategoryEnum, DocumentTypeEnum);
|
|
4005
4078
|
/**
|
|
4006
4079
|
* Document type category, determine how to process the document.
|
|
4007
4080
|
*/ var KBDocumentCategoryEnum;
|
|
@@ -4849,7 +4922,7 @@ function _array_like_to_array$l(arr, len) {
|
|
|
4849
4922
|
function _array_without_holes$c(arr) {
|
|
4850
4923
|
if (Array.isArray(arr)) return _array_like_to_array$l(arr);
|
|
4851
4924
|
}
|
|
4852
|
-
function _define_property$
|
|
4925
|
+
function _define_property$g(obj, key, value) {
|
|
4853
4926
|
if (key in obj) {
|
|
4854
4927
|
Object.defineProperty(obj, key, {
|
|
4855
4928
|
value: value,
|
|
@@ -4868,7 +4941,7 @@ function _iterable_to_array$e(iter) {
|
|
|
4868
4941
|
function _non_iterable_spread$c() {
|
|
4869
4942
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
4870
4943
|
}
|
|
4871
|
-
function _object_spread$
|
|
4944
|
+
function _object_spread$g(target) {
|
|
4872
4945
|
for(var i = 1; i < arguments.length; i++){
|
|
4873
4946
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
4874
4947
|
var ownKeys = Object.keys(source);
|
|
@@ -4878,12 +4951,12 @@ function _object_spread$f(target) {
|
|
|
4878
4951
|
}));
|
|
4879
4952
|
}
|
|
4880
4953
|
ownKeys.forEach(function(key) {
|
|
4881
|
-
_define_property$
|
|
4954
|
+
_define_property$g(target, key, source[key]);
|
|
4882
4955
|
});
|
|
4883
4956
|
}
|
|
4884
4957
|
return target;
|
|
4885
4958
|
}
|
|
4886
|
-
function ownKeys$
|
|
4959
|
+
function ownKeys$d(object, enumerableOnly) {
|
|
4887
4960
|
var keys = Object.keys(object);
|
|
4888
4961
|
if (Object.getOwnPropertySymbols) {
|
|
4889
4962
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -4891,12 +4964,12 @@ function ownKeys$c(object, enumerableOnly) {
|
|
|
4891
4964
|
}
|
|
4892
4965
|
return keys;
|
|
4893
4966
|
}
|
|
4894
|
-
function _object_spread_props$
|
|
4967
|
+
function _object_spread_props$d(target, source) {
|
|
4895
4968
|
source = source != null ? source : {};
|
|
4896
4969
|
if (Object.getOwnPropertyDescriptors) {
|
|
4897
4970
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
4898
4971
|
} else {
|
|
4899
|
-
ownKeys$
|
|
4972
|
+
ownKeys$d(Object(source)).forEach(function(key) {
|
|
4900
4973
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
4901
4974
|
});
|
|
4902
4975
|
}
|
|
@@ -4977,7 +5050,7 @@ function resolveRuntimeXpert(xpert, isDraft) {
|
|
|
4977
5050
|
var graph = resolveDraftRuntimeGraph(xpert, draft);
|
|
4978
5051
|
var agent = resolveDraftPrimaryAgent(xpert, draft, graph);
|
|
4979
5052
|
var _draft_team5, _draft_team_workspaceId, _draft_team_agentConfig, _draft_team_commandProfile, _draft_team_features, _draft_team_options;
|
|
4980
|
-
return _object_spread_props$
|
|
5053
|
+
return _object_spread_props$d(_object_spread$g({}, xpert, (_draft_team5 = draft.team) !== null && _draft_team5 !== void 0 ? _draft_team5 : {}), {
|
|
4981
5054
|
id: xpert.id,
|
|
4982
5055
|
tenantId: xpert.tenantId,
|
|
4983
5056
|
organizationId: xpert.organizationId,
|
|
@@ -5261,9 +5334,9 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
|
|
|
5261
5334
|
if (node.type === "agent" && node.key === sourceKey) {
|
|
5262
5335
|
replacedNode = true;
|
|
5263
5336
|
var _node_entity;
|
|
5264
|
-
return _object_spread_props$
|
|
5337
|
+
return _object_spread_props$d(_object_spread$g({}, node), {
|
|
5265
5338
|
key: targetKey,
|
|
5266
|
-
entity: _object_spread_props$
|
|
5339
|
+
entity: _object_spread_props$d(_object_spread$g({}, (_node_entity = node.entity) !== null && _node_entity !== void 0 ? _node_entity : {}, agent), {
|
|
5267
5340
|
key: targetKey
|
|
5268
5341
|
})
|
|
5269
5342
|
});
|
|
@@ -5279,17 +5352,17 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
|
|
|
5279
5352
|
if (from === connection.from && to === connection.to) {
|
|
5280
5353
|
return connection;
|
|
5281
5354
|
}
|
|
5282
|
-
return _object_spread_props$
|
|
5355
|
+
return _object_spread_props$d(_object_spread$g({}, connection), {
|
|
5283
5356
|
from: from,
|
|
5284
5357
|
to: to,
|
|
5285
5358
|
key: "".concat(from, "/").concat(to)
|
|
5286
5359
|
});
|
|
5287
5360
|
});
|
|
5288
|
-
return _object_spread_props$
|
|
5289
|
-
team: draft.team ? _object_spread_props$
|
|
5290
|
-
agent: draft.team.agent ? _object_spread_props$
|
|
5361
|
+
return _object_spread_props$d(_object_spread$g({}, draft), {
|
|
5362
|
+
team: draft.team ? _object_spread_props$d(_object_spread$g({}, draft.team), {
|
|
5363
|
+
agent: draft.team.agent ? _object_spread_props$d(_object_spread$g({}, draft.team.agent, agent), {
|
|
5291
5364
|
key: targetKey
|
|
5292
|
-
}) : _object_spread_props$
|
|
5365
|
+
}) : _object_spread_props$d(_object_spread$g({}, agent), {
|
|
5293
5366
|
key: targetKey
|
|
5294
5367
|
})
|
|
5295
5368
|
}) : draft.team,
|
|
@@ -5444,7 +5517,7 @@ var GENERAL_PROJECT_TYPE = {
|
|
|
5444
5517
|
* @template Metadata - Type of metadata, defaults to IDocChunkMetadata
|
|
5445
5518
|
* @param documents - A flat array of DocumentInterface objects
|
|
5446
5519
|
* @returns the hierarchical tree (root-level DocumentInterface[])
|
|
5447
|
-
*/ function _define_property$
|
|
5520
|
+
*/ function _define_property$f(obj, key, value) {
|
|
5448
5521
|
if (key in obj) {
|
|
5449
5522
|
Object.defineProperty(obj, key, {
|
|
5450
5523
|
value: value,
|
|
@@ -5457,7 +5530,7 @@ var GENERAL_PROJECT_TYPE = {
|
|
|
5457
5530
|
}
|
|
5458
5531
|
return obj;
|
|
5459
5532
|
}
|
|
5460
|
-
function _object_spread$
|
|
5533
|
+
function _object_spread$f(target) {
|
|
5461
5534
|
for(var i = 1; i < arguments.length; i++){
|
|
5462
5535
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
5463
5536
|
var ownKeys = Object.keys(source);
|
|
@@ -5467,12 +5540,12 @@ function _object_spread$e(target) {
|
|
|
5467
5540
|
}));
|
|
5468
5541
|
}
|
|
5469
5542
|
ownKeys.forEach(function(key) {
|
|
5470
|
-
_define_property$
|
|
5543
|
+
_define_property$f(target, key, source[key]);
|
|
5471
5544
|
});
|
|
5472
5545
|
}
|
|
5473
5546
|
return target;
|
|
5474
5547
|
}
|
|
5475
|
-
function ownKeys$
|
|
5548
|
+
function ownKeys$c(object, enumerableOnly) {
|
|
5476
5549
|
var keys = Object.keys(object);
|
|
5477
5550
|
if (Object.getOwnPropertySymbols) {
|
|
5478
5551
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -5480,12 +5553,12 @@ function ownKeys$b(object, enumerableOnly) {
|
|
|
5480
5553
|
}
|
|
5481
5554
|
return keys;
|
|
5482
5555
|
}
|
|
5483
|
-
function _object_spread_props$
|
|
5556
|
+
function _object_spread_props$c(target, source) {
|
|
5484
5557
|
source = source != null ? source : {};
|
|
5485
5558
|
if (Object.getOwnPropertyDescriptors) {
|
|
5486
5559
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5487
5560
|
} else {
|
|
5488
|
-
ownKeys$
|
|
5561
|
+
ownKeys$c(Object(source)).forEach(function(key) {
|
|
5489
5562
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5490
5563
|
});
|
|
5491
5564
|
}
|
|
@@ -5500,8 +5573,8 @@ function buildChunkTree(documents) {
|
|
|
5500
5573
|
documents.forEach(function(doc, index) {
|
|
5501
5574
|
var chunkId = getChunkNodeId(doc);
|
|
5502
5575
|
if (chunkId) {
|
|
5503
|
-
map.set(chunkId, _object_spread_props$
|
|
5504
|
-
metadata: _object_spread_props$
|
|
5576
|
+
map.set(chunkId, _object_spread_props$c(_object_spread$f({}, doc), {
|
|
5577
|
+
metadata: _object_spread_props$c(_object_spread$f({}, doc.metadata), {
|
|
5505
5578
|
chunkId: chunkId,
|
|
5506
5579
|
children: []
|
|
5507
5580
|
})
|
|
@@ -6051,7 +6124,7 @@ function isLocalPath(value) {
|
|
|
6051
6124
|
})).size === value.length;
|
|
6052
6125
|
}
|
|
6053
6126
|
|
|
6054
|
-
function _define_property$
|
|
6127
|
+
function _define_property$e(obj, key, value) {
|
|
6055
6128
|
if (key in obj) {
|
|
6056
6129
|
Object.defineProperty(obj, key, {
|
|
6057
6130
|
value: value,
|
|
@@ -6064,7 +6137,7 @@ function _define_property$d(obj, key, value) {
|
|
|
6064
6137
|
}
|
|
6065
6138
|
return obj;
|
|
6066
6139
|
}
|
|
6067
|
-
function _object_spread$
|
|
6140
|
+
function _object_spread$e(target) {
|
|
6068
6141
|
for(var i = 1; i < arguments.length; i++){
|
|
6069
6142
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
6070
6143
|
var ownKeys = Object.keys(source);
|
|
@@ -6074,12 +6147,12 @@ function _object_spread$d(target) {
|
|
|
6074
6147
|
}));
|
|
6075
6148
|
}
|
|
6076
6149
|
ownKeys.forEach(function(key) {
|
|
6077
|
-
_define_property$
|
|
6150
|
+
_define_property$e(target, key, source[key]);
|
|
6078
6151
|
});
|
|
6079
6152
|
}
|
|
6080
6153
|
return target;
|
|
6081
6154
|
}
|
|
6082
|
-
function ownKeys$
|
|
6155
|
+
function ownKeys$b(object, enumerableOnly) {
|
|
6083
6156
|
var keys = Object.keys(object);
|
|
6084
6157
|
if (Object.getOwnPropertySymbols) {
|
|
6085
6158
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -6087,12 +6160,12 @@ function ownKeys$a(object, enumerableOnly) {
|
|
|
6087
6160
|
}
|
|
6088
6161
|
return keys;
|
|
6089
6162
|
}
|
|
6090
|
-
function _object_spread_props$
|
|
6163
|
+
function _object_spread_props$b(target, source) {
|
|
6091
6164
|
source = source != null ? source : {};
|
|
6092
6165
|
if (Object.getOwnPropertyDescriptors) {
|
|
6093
6166
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6094
6167
|
} else {
|
|
6095
|
-
ownKeys$
|
|
6168
|
+
ownKeys$b(Object(source)).forEach(function(key) {
|
|
6096
6169
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6097
6170
|
});
|
|
6098
6171
|
}
|
|
@@ -6132,8 +6205,8 @@ function normalizeMiddlewareNode(node) {
|
|
|
6132
6205
|
if (provider === entity.provider) {
|
|
6133
6206
|
return node;
|
|
6134
6207
|
}
|
|
6135
|
-
return _object_spread_props$
|
|
6136
|
-
entity: _object_spread_props$
|
|
6208
|
+
return _object_spread_props$b(_object_spread$e({}, node), {
|
|
6209
|
+
entity: _object_spread_props$b(_object_spread$e({}, entity), {
|
|
6137
6210
|
provider: provider
|
|
6138
6211
|
})
|
|
6139
6212
|
});
|
|
@@ -6194,7 +6267,7 @@ function _array_with_holes$c(arr) {
|
|
|
6194
6267
|
function _array_without_holes$b(arr) {
|
|
6195
6268
|
if (Array.isArray(arr)) return _array_like_to_array$i(arr);
|
|
6196
6269
|
}
|
|
6197
|
-
function _define_property$
|
|
6270
|
+
function _define_property$d(obj, key, value) {
|
|
6198
6271
|
if (key in obj) {
|
|
6199
6272
|
Object.defineProperty(obj, key, {
|
|
6200
6273
|
value: value,
|
|
@@ -6240,7 +6313,7 @@ function _non_iterable_rest$c() {
|
|
|
6240
6313
|
function _non_iterable_spread$b() {
|
|
6241
6314
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6242
6315
|
}
|
|
6243
|
-
function _object_spread$
|
|
6316
|
+
function _object_spread$d(target) {
|
|
6244
6317
|
for(var i = 1; i < arguments.length; i++){
|
|
6245
6318
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
6246
6319
|
var ownKeys = Object.keys(source);
|
|
@@ -6250,12 +6323,12 @@ function _object_spread$c(target) {
|
|
|
6250
6323
|
}));
|
|
6251
6324
|
}
|
|
6252
6325
|
ownKeys.forEach(function(key) {
|
|
6253
|
-
_define_property$
|
|
6326
|
+
_define_property$d(target, key, source[key]);
|
|
6254
6327
|
});
|
|
6255
6328
|
}
|
|
6256
6329
|
return target;
|
|
6257
6330
|
}
|
|
6258
|
-
function ownKeys$
|
|
6331
|
+
function ownKeys$a(object, enumerableOnly) {
|
|
6259
6332
|
var keys = Object.keys(object);
|
|
6260
6333
|
if (Object.getOwnPropertySymbols) {
|
|
6261
6334
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -6263,12 +6336,12 @@ function ownKeys$9(object, enumerableOnly) {
|
|
|
6263
6336
|
}
|
|
6264
6337
|
return keys;
|
|
6265
6338
|
}
|
|
6266
|
-
function _object_spread_props$
|
|
6339
|
+
function _object_spread_props$a(target, source) {
|
|
6267
6340
|
source = source != null ? source : {};
|
|
6268
6341
|
if (Object.getOwnPropertyDescriptors) {
|
|
6269
6342
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6270
6343
|
} else {
|
|
6271
|
-
ownKeys$
|
|
6344
|
+
ownKeys$a(Object(source)).forEach(function(key) {
|
|
6272
6345
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6273
6346
|
});
|
|
6274
6347
|
}
|
|
@@ -6384,7 +6457,7 @@ function normalizeIncomingContent(content, context) {
|
|
|
6384
6457
|
if (typeof content !== "string") {
|
|
6385
6458
|
return content;
|
|
6386
6459
|
}
|
|
6387
|
-
return _object_spread$
|
|
6460
|
+
return _object_spread$d({
|
|
6388
6461
|
type: "text",
|
|
6389
6462
|
text: content
|
|
6390
6463
|
}, context.streamId ? {
|
|
@@ -6449,7 +6522,7 @@ function filterText(content) {
|
|
|
6449
6522
|
return "";
|
|
6450
6523
|
}
|
|
6451
6524
|
function mergeTextChunkForDisplay(previous, incoming) {
|
|
6452
|
-
return _object_spread$
|
|
6525
|
+
return _object_spread$d(_object_spread_props$a(_object_spread$d({}, previous), {
|
|
6453
6526
|
text: "".concat(previous.text).concat(incoming.text)
|
|
6454
6527
|
}), !previous.id && incoming.id ? {
|
|
6455
6528
|
id: incoming.id
|
|
@@ -6461,7 +6534,7 @@ function mergeTextChunkForDisplay(previous, incoming) {
|
|
|
6461
6534
|
}
|
|
6462
6535
|
function stripAutoDisplaySeparator(incoming, previousOriginal) {
|
|
6463
6536
|
if ((previousOriginal === null || previousOriginal === void 0 ? void 0 : previousOriginal.type) === "component" && incoming.text.startsWith("\n\n")) {
|
|
6464
|
-
return _object_spread_props$
|
|
6537
|
+
return _object_spread_props$a(_object_spread$d({}, incoming), {
|
|
6465
6538
|
text: incoming.text.slice(1)
|
|
6466
6539
|
});
|
|
6467
6540
|
}
|
|
@@ -6478,14 +6551,14 @@ function mergeComponentData(previous, incoming) {
|
|
|
6478
6551
|
return acc;
|
|
6479
6552
|
}, {});
|
|
6480
6553
|
var _previous_data1;
|
|
6481
|
-
return _object_spread_props$
|
|
6482
|
-
data: _object_spread_props$
|
|
6554
|
+
return _object_spread_props$a(_object_spread$d({}, previous, incoming), {
|
|
6555
|
+
data: _object_spread_props$a(_object_spread$d({}, (_previous_data1 = previous.data) !== null && _previous_data1 !== void 0 ? _previous_data1 : {}, mergedIncomingData), {
|
|
6483
6556
|
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)
|
|
6484
6557
|
})
|
|
6485
6558
|
});
|
|
6486
6559
|
}
|
|
6487
6560
|
function inferMessageAppendContext(content, fallbackSource) {
|
|
6488
|
-
return _object_spread$
|
|
6561
|
+
return _object_spread$d({
|
|
6489
6562
|
source: fallbackSource !== null && fallbackSource !== void 0 ? fallbackSource : inferContentSource(content)
|
|
6490
6563
|
}, typeof content !== "string" && (content === null || content === void 0 ? void 0 : content.id) ? {
|
|
6491
6564
|
streamId: String(content.id)
|
|
@@ -6493,10 +6566,10 @@ function inferMessageAppendContext(content, fallbackSource) {
|
|
|
6493
6566
|
}
|
|
6494
6567
|
function resolveMessageAppendContext(options) {
|
|
6495
6568
|
var inferredContext = inferMessageAppendContext(options.incoming, options.fallbackSource);
|
|
6496
|
-
var appendContext = typeof options.incoming === "string" && !inferredContext.streamId && options.fallbackStreamId ? _object_spread_props$
|
|
6569
|
+
var appendContext = typeof options.incoming === "string" && !inferredContext.streamId && options.fallbackStreamId ? _object_spread_props$a(_object_spread$d({}, inferredContext), {
|
|
6497
6570
|
streamId: options.fallbackStreamId
|
|
6498
6571
|
}) : inferredContext;
|
|
6499
|
-
var messageContext = shouldJoinWithoutSeparator(options.previous, appendContext) ? _object_spread_props$
|
|
6572
|
+
var messageContext = shouldJoinWithoutSeparator(options.previous, appendContext) ? _object_spread_props$a(_object_spread$d({}, appendContext), {
|
|
6500
6573
|
joinHint: "none"
|
|
6501
6574
|
}) : appendContext;
|
|
6502
6575
|
return {
|
|
@@ -6517,7 +6590,7 @@ function resolveMessageAppendContext(options) {
|
|
|
6517
6590
|
var previous = initial;
|
|
6518
6591
|
return {
|
|
6519
6592
|
resolve: function resolve(options) {
|
|
6520
|
-
var resolved = resolveMessageAppendContext(_object_spread_props$
|
|
6593
|
+
var resolved = resolveMessageAppendContext(_object_spread_props$a(_object_spread$d({}, options), {
|
|
6521
6594
|
previous: previous
|
|
6522
6595
|
}));
|
|
6523
6596
|
if (!isFileActivityContent(options.incoming) && !isResourceCardContent(options.incoming)) previous = resolved.appendContext;
|
|
@@ -6555,10 +6628,10 @@ function resolveMessageAppendContext(options) {
|
|
|
6555
6628
|
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, [
|
|
6556
6629
|
"previous"
|
|
6557
6630
|
]);
|
|
6558
|
-
var appendContext = _object_spread$
|
|
6631
|
+
var appendContext = _object_spread$d({}, inferMessageAppendContext(incoming), contextWithoutPrevious);
|
|
6559
6632
|
var _appendContext_joinHint;
|
|
6560
6633
|
var joinHint = (_appendContext_joinHint = appendContext.joinHint) !== null && _appendContext_joinHint !== void 0 ? _appendContext_joinHint : shouldJoinWithoutSeparator(previous, appendContext) ? "none" : undefined;
|
|
6561
|
-
var messageContext = joinHint ? _object_spread_props$
|
|
6634
|
+
var messageContext = joinHint ? _object_spread_props$a(_object_spread$d({}, appendContext), {
|
|
6562
6635
|
joinHint: joinHint
|
|
6563
6636
|
}) : appendContext;
|
|
6564
6637
|
var content = normalizeIncomingContent(incoming, appendContext);
|
|
@@ -6567,7 +6640,7 @@ function resolveMessageAppendContext(options) {
|
|
|
6567
6640
|
var reasoning = (_aiMessage_reasoning = aiMessage.reasoning) !== null && _aiMessage_reasoning !== void 0 ? _aiMessage_reasoning : [];
|
|
6568
6641
|
var lastReasoning = reasoning[reasoning.length - 1];
|
|
6569
6642
|
if ((lastReasoning === null || lastReasoning === void 0 ? void 0 : lastReasoning.id) === content.id) {
|
|
6570
|
-
var mergedReasoning = _object_spread_props$
|
|
6643
|
+
var mergedReasoning = _object_spread_props$a(_object_spread$d({}, lastReasoning), {
|
|
6571
6644
|
text: "".concat(lastReasoning.text).concat(content.text)
|
|
6572
6645
|
});
|
|
6573
6646
|
aiMessage.reasoning = _to_consumable_array$b(reasoning.slice(0, reasoning.length - 1)).concat([
|
|
@@ -6588,7 +6661,7 @@ function resolveMessageAppendContext(options) {
|
|
|
6588
6661
|
return isTextContent(item) && item.id === content.id;
|
|
6589
6662
|
});
|
|
6590
6663
|
if (index > -1) {
|
|
6591
|
-
var mergedContent = _object_spread$
|
|
6664
|
+
var mergedContent = _object_spread$d(_object_spread_props$a(_object_spread$d({}, chunks[index]), {
|
|
6592
6665
|
text: "".concat(chunks[index].text).concat(content.text)
|
|
6593
6666
|
}), !chunks[index].id && content.id ? {
|
|
6594
6667
|
id: content.id
|
|
@@ -6611,7 +6684,7 @@ function resolveMessageAppendContext(options) {
|
|
|
6611
6684
|
var existingIndex = findLastTextChunkIndexById(chunks, content.id);
|
|
6612
6685
|
if (existingIndex > -1) {
|
|
6613
6686
|
var existing = chunks[existingIndex];
|
|
6614
|
-
var merged = _object_spread_props$
|
|
6687
|
+
var merged = _object_spread_props$a(_object_spread$d({}, existing), {
|
|
6615
6688
|
text: "".concat(existing.text).concat(content.text)
|
|
6616
6689
|
});
|
|
6617
6690
|
var nextChunks = _to_consumable_array$b(chunks);
|
|
@@ -6620,7 +6693,7 @@ function resolveMessageAppendContext(options) {
|
|
|
6620
6693
|
return;
|
|
6621
6694
|
}
|
|
6622
6695
|
} else if (isTextContent(lastContent) && messageContext.joinHint === "none") {
|
|
6623
|
-
var mergedLastContent = _object_spread_props$
|
|
6696
|
+
var mergedLastContent = _object_spread_props$a(_object_spread$d({}, lastContent), {
|
|
6624
6697
|
text: "".concat(lastContent.text).concat(content.text)
|
|
6625
6698
|
});
|
|
6626
6699
|
aiMessage.content = _to_consumable_array$b(chunks.slice(0, chunks.length - 1)).concat([
|
|
@@ -6629,7 +6702,7 @@ function resolveMessageAppendContext(options) {
|
|
|
6629
6702
|
return;
|
|
6630
6703
|
}
|
|
6631
6704
|
var separator = getContentChunkSeparator(lastContent, content.text, messageContext.joinHint);
|
|
6632
|
-
var appended = _object_spread_props$
|
|
6705
|
+
var appended = _object_spread_props$a(_object_spread$d({}, content), {
|
|
6633
6706
|
text: separator + content.text
|
|
6634
6707
|
});
|
|
6635
6708
|
aiMessage.content = _to_consumable_array$b(chunks).concat([
|
|
@@ -6653,7 +6726,7 @@ function resolveMessageAppendContext(options) {
|
|
|
6653
6726
|
aiMessage.content = nextChunks1;
|
|
6654
6727
|
}
|
|
6655
6728
|
function appendMessagePlainText(accumulator, incoming, context) {
|
|
6656
|
-
var resolvedContext = _object_spread$
|
|
6729
|
+
var resolvedContext = _object_spread$d({}, inferMessageAppendContext(incoming), context !== null && context !== void 0 ? context : {});
|
|
6657
6730
|
var nextText = filterText(incoming);
|
|
6658
6731
|
if (!nextText) {
|
|
6659
6732
|
return accumulator !== null && accumulator !== void 0 ? accumulator : "";
|
|
@@ -6698,7 +6771,7 @@ function appendMessagePlainText(accumulator, incoming, context) {
|
|
|
6698
6771
|
return;
|
|
6699
6772
|
}
|
|
6700
6773
|
textIndexById.set(item.id, merged.length);
|
|
6701
|
-
merged.push(_object_spread$
|
|
6774
|
+
merged.push(_object_spread$d({}, item));
|
|
6702
6775
|
return;
|
|
6703
6776
|
}
|
|
6704
6777
|
var lastItem = merged[merged.length - 1];
|
|
@@ -6706,7 +6779,7 @@ function appendMessagePlainText(accumulator, incoming, context) {
|
|
|
6706
6779
|
merged[merged.length - 1] = mergeTextChunkForDisplay(lastItem, item);
|
|
6707
6780
|
return;
|
|
6708
6781
|
}
|
|
6709
|
-
merged.push(_object_spread$
|
|
6782
|
+
merged.push(_object_spread$d({}, item));
|
|
6710
6783
|
});
|
|
6711
6784
|
return merged.length ? merged : null;
|
|
6712
6785
|
}
|
|
@@ -6721,7 +6794,7 @@ function stringifyMessageContent(content) {
|
|
|
6721
6794
|
if (isFileActivityContent(item) || isResourceCardContent(item)) return;
|
|
6722
6795
|
var itemContext = inferMessageAppendContext(item);
|
|
6723
6796
|
var joinHint = shouldJoinWithoutSeparator(previousContext, itemContext) ? "none" : undefined;
|
|
6724
|
-
result = appendMessagePlainText(result, stringifySingle(item), _object_spread$
|
|
6797
|
+
result = appendMessagePlainText(result, stringifySingle(item), _object_spread$d({}, itemContext, joinHint ? {
|
|
6725
6798
|
joinHint: joinHint
|
|
6726
6799
|
} : {}));
|
|
6727
6800
|
previousContext = itemContext;
|
|
@@ -6744,7 +6817,7 @@ function filterMessageText(content) {
|
|
|
6744
6817
|
}
|
|
6745
6818
|
var itemContext = inferMessageAppendContext(item);
|
|
6746
6819
|
var joinHint = shouldJoinWithoutSeparator(previousContext, itemContext) ? "none" : undefined;
|
|
6747
|
-
result = appendMessagePlainText(result, nextText, _object_spread$
|
|
6820
|
+
result = appendMessagePlainText(result, nextText, _object_spread$d({}, itemContext, joinHint ? {
|
|
6748
6821
|
joinHint: joinHint
|
|
6749
6822
|
} : {}));
|
|
6750
6823
|
previousContext = itemContext;
|
|
@@ -7101,6 +7174,34 @@ var MODEL_EXECUTION_POLICY_SETTING = "modelExecutionPolicy";
|
|
|
7101
7174
|
xpertId: z$1.string().uuid()
|
|
7102
7175
|
}).strict();
|
|
7103
7176
|
|
|
7177
|
+
/** Credential-free tuning snapshot. Output aliases are canonicalized to max_tokens at issuance. */ var modelExecutionParametersSchema = z$1.object({
|
|
7178
|
+
temperature: z$1.number().finite().optional(),
|
|
7179
|
+
top_p: z$1.number().finite().optional(),
|
|
7180
|
+
top_k: z$1.number().int().nonnegative().optional(),
|
|
7181
|
+
presence_penalty: z$1.number().finite().optional(),
|
|
7182
|
+
frequency_penalty: z$1.number().finite().optional(),
|
|
7183
|
+
repetition_penalty: z$1.number().finite().optional(),
|
|
7184
|
+
seed: z$1.number().int().nonnegative().optional(),
|
|
7185
|
+
max_tokens: z$1.number().int().positive().max(Number.MAX_SAFE_INTEGER).optional(),
|
|
7186
|
+
enable_thinking: z$1.boolean().optional(),
|
|
7187
|
+
thinking_budget: z$1.number().int().nonnegative().optional(),
|
|
7188
|
+
reasoning_effort: z$1.enum([
|
|
7189
|
+
"none",
|
|
7190
|
+
"minimal",
|
|
7191
|
+
"low",
|
|
7192
|
+
"medium",
|
|
7193
|
+
"high",
|
|
7194
|
+
"xhigh",
|
|
7195
|
+
"max"
|
|
7196
|
+
]).optional(),
|
|
7197
|
+
thinking: z$1.enum([
|
|
7198
|
+
"enabled",
|
|
7199
|
+
"disabled",
|
|
7200
|
+
"adaptive"
|
|
7201
|
+
]).optional(),
|
|
7202
|
+
budget_tokens: z$1.number().int().nonnegative().optional()
|
|
7203
|
+
}).strict();
|
|
7204
|
+
|
|
7104
7205
|
/**
|
|
7105
7206
|
* Running means accepted; actual work start requires an observation.
|
|
7106
7207
|
* Only succeeded, failed and cancelled are terminal. Unknown must be reconciled without replay.
|
|
@@ -7412,7 +7513,7 @@ var projectPipelineEdgeSchema = z$1.object({
|
|
|
7412
7513
|
outcome: projectPipelineKeySchema.optional()
|
|
7413
7514
|
}).strict();
|
|
7414
7515
|
|
|
7415
|
-
function _define_property$
|
|
7516
|
+
function _define_property$c(obj, key, value) {
|
|
7416
7517
|
if (key in obj) {
|
|
7417
7518
|
Object.defineProperty(obj, key, {
|
|
7418
7519
|
value: value,
|
|
@@ -7425,7 +7526,7 @@ function _define_property$b(obj, key, value) {
|
|
|
7425
7526
|
}
|
|
7426
7527
|
return obj;
|
|
7427
7528
|
}
|
|
7428
|
-
function _object_spread$
|
|
7529
|
+
function _object_spread$c(target) {
|
|
7429
7530
|
for(var i = 1; i < arguments.length; i++){
|
|
7430
7531
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
7431
7532
|
var ownKeys = Object.keys(source);
|
|
@@ -7435,12 +7536,12 @@ function _object_spread$b(target) {
|
|
|
7435
7536
|
}));
|
|
7436
7537
|
}
|
|
7437
7538
|
ownKeys.forEach(function(key) {
|
|
7438
|
-
_define_property$
|
|
7539
|
+
_define_property$c(target, key, source[key]);
|
|
7439
7540
|
});
|
|
7440
7541
|
}
|
|
7441
7542
|
return target;
|
|
7442
7543
|
}
|
|
7443
|
-
function ownKeys$
|
|
7544
|
+
function ownKeys$9(object, enumerableOnly) {
|
|
7444
7545
|
var keys = Object.keys(object);
|
|
7445
7546
|
if (Object.getOwnPropertySymbols) {
|
|
7446
7547
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -7448,18 +7549,18 @@ function ownKeys$8(object, enumerableOnly) {
|
|
|
7448
7549
|
}
|
|
7449
7550
|
return keys;
|
|
7450
7551
|
}
|
|
7451
|
-
function _object_spread_props$
|
|
7552
|
+
function _object_spread_props$9(target, source) {
|
|
7452
7553
|
source = source != null ? source : {};
|
|
7453
7554
|
if (Object.getOwnPropertyDescriptors) {
|
|
7454
7555
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7455
7556
|
} else {
|
|
7456
|
-
ownKeys$
|
|
7557
|
+
ownKeys$9(Object(source)).forEach(function(key) {
|
|
7457
7558
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7458
7559
|
});
|
|
7459
7560
|
}
|
|
7460
7561
|
return target;
|
|
7461
7562
|
}
|
|
7462
|
-
var base = {
|
|
7563
|
+
var base$1 = {
|
|
7463
7564
|
key: projectPipelineKeySchema,
|
|
7464
7565
|
label: z$1.string().min(1).max(240).optional(),
|
|
7465
7566
|
stageKey: projectPipelineKeySchema,
|
|
@@ -7468,7 +7569,7 @@ var base = {
|
|
|
7468
7569
|
};
|
|
7469
7570
|
var outcomes = z$1.array(projectPipelineKeySchema).min(2).max(32);
|
|
7470
7571
|
/** Only explicit primitives can control flow; configuration cannot embed executable expressions. */ var projectPipelineNodeSchema = z$1.discriminatedUnion("kind", [
|
|
7471
|
-
z$1.object(_object_spread_props$
|
|
7572
|
+
z$1.object(_object_spread_props$9(_object_spread$c({}, base$1), {
|
|
7472
7573
|
kind: z$1.literal("work"),
|
|
7473
7574
|
laneKey: projectPipelineKeySchema,
|
|
7474
7575
|
operationRef: projectPipelineRefSchema,
|
|
@@ -7477,23 +7578,23 @@ var outcomes = z$1.array(projectPipelineKeySchema).min(2).max(32);
|
|
|
7477
7578
|
resourceResolverRef: projectPipelineRefSchema.optional(),
|
|
7478
7579
|
outputSchemaRef: projectPipelineRefSchema.optional()
|
|
7479
7580
|
})).strict(),
|
|
7480
|
-
z$1.object(_object_spread_props$
|
|
7581
|
+
z$1.object(_object_spread_props$9(_object_spread$c({}, base$1), {
|
|
7481
7582
|
kind: z$1.literal("fork")
|
|
7482
7583
|
})).strict(),
|
|
7483
|
-
z$1.object(_object_spread_props$
|
|
7584
|
+
z$1.object(_object_spread_props$9(_object_spread$c({}, base$1), {
|
|
7484
7585
|
kind: z$1.literal("join"),
|
|
7485
7586
|
join: z$1.object({
|
|
7486
7587
|
mode: z$1.literal("all_selected"),
|
|
7487
7588
|
accept: z$1.literal("completed")
|
|
7488
7589
|
}).strict()
|
|
7489
7590
|
})).strict(),
|
|
7490
|
-
z$1.object(_object_spread_props$
|
|
7591
|
+
z$1.object(_object_spread_props$9(_object_spread$c({}, base$1), {
|
|
7491
7592
|
kind: z$1.literal("router"),
|
|
7492
7593
|
policyRef: projectPipelineRefSchema,
|
|
7493
7594
|
outcomes: outcomes,
|
|
7494
7595
|
unmatched: z$1.literal("block")
|
|
7495
7596
|
})).strict(),
|
|
7496
|
-
z$1.object(_object_spread_props$
|
|
7597
|
+
z$1.object(_object_spread_props$9(_object_spread$c({}, base$1), {
|
|
7497
7598
|
kind: z$1.literal("human_gate"),
|
|
7498
7599
|
laneKey: projectPipelineKeySchema,
|
|
7499
7600
|
policyRef: projectPipelineRefSchema,
|
|
@@ -7501,12 +7602,12 @@ var outcomes = z$1.array(projectPipelineKeySchema).min(2).max(32);
|
|
|
7501
7602
|
outcomes: outcomes,
|
|
7502
7603
|
outcomeLabels: z$1.record(projectPipelineKeySchema, z$1.string().min(1).max(120)).optional()
|
|
7503
7604
|
})).strict(),
|
|
7504
|
-
z$1.object(_object_spread_props$
|
|
7605
|
+
z$1.object(_object_spread_props$9(_object_spread$c({}, base$1), {
|
|
7505
7606
|
kind: z$1.literal("external_wait"),
|
|
7506
7607
|
laneKey: projectPipelineKeySchema,
|
|
7507
7608
|
subscriptionRef: projectPipelineRefSchema
|
|
7508
7609
|
})).strict(),
|
|
7509
|
-
z$1.object(_object_spread_props$
|
|
7610
|
+
z$1.object(_object_spread_props$9(_object_spread$c({}, base$1), {
|
|
7510
7611
|
kind: z$1.literal("terminal"),
|
|
7511
7612
|
outcome: projectPipelineKeySchema,
|
|
7512
7613
|
disposition: z$1.enum([
|
|
@@ -8155,7 +8256,7 @@ function isProjectPipelineApplicable(definition, project) {
|
|
|
8155
8256
|
|
|
8156
8257
|
// Invariants: definitions describe versioned topology and explicit execution authority.
|
|
8157
8258
|
// Business meaning stays behind provider references; labels and icons never drive execution.
|
|
8158
|
-
function _define_property$
|
|
8259
|
+
function _define_property$b(obj, key, value) {
|
|
8159
8260
|
if (key in obj) {
|
|
8160
8261
|
Object.defineProperty(obj, key, {
|
|
8161
8262
|
value: value,
|
|
@@ -8168,7 +8269,7 @@ function _define_property$a(obj, key, value) {
|
|
|
8168
8269
|
}
|
|
8169
8270
|
return obj;
|
|
8170
8271
|
}
|
|
8171
|
-
function _object_spread$
|
|
8272
|
+
function _object_spread$b(target) {
|
|
8172
8273
|
for(var i = 1; i < arguments.length; i++){
|
|
8173
8274
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
8174
8275
|
var ownKeys = Object.keys(source);
|
|
@@ -8178,12 +8279,12 @@ function _object_spread$a(target) {
|
|
|
8178
8279
|
}));
|
|
8179
8280
|
}
|
|
8180
8281
|
ownKeys.forEach(function(key) {
|
|
8181
|
-
_define_property$
|
|
8282
|
+
_define_property$b(target, key, source[key]);
|
|
8182
8283
|
});
|
|
8183
8284
|
}
|
|
8184
8285
|
return target;
|
|
8185
8286
|
}
|
|
8186
|
-
function ownKeys$
|
|
8287
|
+
function ownKeys$8(object, enumerableOnly) {
|
|
8187
8288
|
var keys = Object.keys(object);
|
|
8188
8289
|
if (Object.getOwnPropertySymbols) {
|
|
8189
8290
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8191,12 +8292,12 @@ function ownKeys$7(object, enumerableOnly) {
|
|
|
8191
8292
|
}
|
|
8192
8293
|
return keys;
|
|
8193
8294
|
}
|
|
8194
|
-
function _object_spread_props$
|
|
8295
|
+
function _object_spread_props$8(target, source) {
|
|
8195
8296
|
source = source != null ? source : {};
|
|
8196
8297
|
if (Object.getOwnPropertyDescriptors) {
|
|
8197
8298
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8198
8299
|
} else {
|
|
8199
|
-
ownKeys$
|
|
8300
|
+
ownKeys$8(Object(source)).forEach(function(key) {
|
|
8200
8301
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8201
8302
|
});
|
|
8202
8303
|
}
|
|
@@ -8228,7 +8329,7 @@ var common = {
|
|
|
8228
8329
|
};
|
|
8229
8330
|
// A provider owns topology and advancement. A managed definition owns a bounded DAG per round.
|
|
8230
8331
|
var projectPipelineDefinitionShapeSchema = z$1.discriminatedUnion("executionAuthority", [
|
|
8231
|
-
z$1.object(_object_spread_props$
|
|
8332
|
+
z$1.object(_object_spread_props$8(_object_spread$b({}, common), {
|
|
8232
8333
|
executionAuthority: z$1.literal("provider"),
|
|
8233
8334
|
providerRef: projectPipelineRefSchema,
|
|
8234
8335
|
topology: z$1.object({
|
|
@@ -8237,7 +8338,7 @@ var projectPipelineDefinitionShapeSchema = z$1.discriminatedUnion("executionAuth
|
|
|
8237
8338
|
}).strict(),
|
|
8238
8339
|
actionRefs: z$1.array(projectPipelineRefSchema).max(100).optional()
|
|
8239
8340
|
})).strict(),
|
|
8240
|
-
z$1.object(_object_spread_props$
|
|
8341
|
+
z$1.object(_object_spread_props$8(_object_spread$b({}, common), {
|
|
8241
8342
|
executionAuthority: z$1.literal("platform"),
|
|
8242
8343
|
topology: z$1.object({
|
|
8243
8344
|
source: z$1.literal("definition")
|
|
@@ -8556,7 +8657,7 @@ var projectPipelineBindingSchema = z$1.object({
|
|
|
8556
8657
|
}
|
|
8557
8658
|
});
|
|
8558
8659
|
|
|
8559
|
-
function _define_property$
|
|
8660
|
+
function _define_property$a(obj, key, value) {
|
|
8560
8661
|
if (key in obj) {
|
|
8561
8662
|
Object.defineProperty(obj, key, {
|
|
8562
8663
|
value: value,
|
|
@@ -8569,7 +8670,7 @@ function _define_property$9(obj, key, value) {
|
|
|
8569
8670
|
}
|
|
8570
8671
|
return obj;
|
|
8571
8672
|
}
|
|
8572
|
-
function _object_spread$
|
|
8673
|
+
function _object_spread$a(target) {
|
|
8573
8674
|
for(var i = 1; i < arguments.length; i++){
|
|
8574
8675
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
8575
8676
|
var ownKeys = Object.keys(source);
|
|
@@ -8579,12 +8680,12 @@ function _object_spread$9(target) {
|
|
|
8579
8680
|
}));
|
|
8580
8681
|
}
|
|
8581
8682
|
ownKeys.forEach(function(key) {
|
|
8582
|
-
_define_property$
|
|
8683
|
+
_define_property$a(target, key, source[key]);
|
|
8583
8684
|
});
|
|
8584
8685
|
}
|
|
8585
8686
|
return target;
|
|
8586
8687
|
}
|
|
8587
|
-
function ownKeys$
|
|
8688
|
+
function ownKeys$7(object, enumerableOnly) {
|
|
8588
8689
|
var keys = Object.keys(object);
|
|
8589
8690
|
if (Object.getOwnPropertySymbols) {
|
|
8590
8691
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8592,12 +8693,12 @@ function ownKeys$6(object, enumerableOnly) {
|
|
|
8592
8693
|
}
|
|
8593
8694
|
return keys;
|
|
8594
8695
|
}
|
|
8595
|
-
function _object_spread_props$
|
|
8696
|
+
function _object_spread_props$7(target, source) {
|
|
8596
8697
|
source = source != null ? source : {};
|
|
8597
8698
|
if (Object.getOwnPropertyDescriptors) {
|
|
8598
8699
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8599
8700
|
} else {
|
|
8600
|
-
ownKeys$
|
|
8701
|
+
ownKeys$7(Object(source)).forEach(function(key) {
|
|
8601
8702
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8602
8703
|
});
|
|
8603
8704
|
}
|
|
@@ -8613,13 +8714,13 @@ var definitionRef = z$1.object({
|
|
|
8613
8714
|
templateRef: projectPipelineRefSchema,
|
|
8614
8715
|
digest: z$1.string().regex(/^[a-f0-9]{64}$/)
|
|
8615
8716
|
}).strict();
|
|
8616
|
-
var projectPipelineProjectBindingSchema = z$1.object(_object_spread_props$
|
|
8717
|
+
var projectPipelineProjectBindingSchema = z$1.object(_object_spread_props$7(_object_spread$a({}, scopedIdentity), {
|
|
8617
8718
|
definition: definitionRef,
|
|
8618
8719
|
revision: z$1.number().int().positive(),
|
|
8619
8720
|
configuration: projectPipelineBindingSchema
|
|
8620
8721
|
})).strict();
|
|
8621
8722
|
var projectPipelineInstanceSchema = z$1.discriminatedUnion("executionAuthority", [
|
|
8622
|
-
z$1.object(_object_spread_props$
|
|
8723
|
+
z$1.object(_object_spread_props$7(_object_spread$a({}, scopedIdentity), {
|
|
8623
8724
|
executionAuthority: z$1.literal("provider"),
|
|
8624
8725
|
providerRef: projectPipelineRefSchema,
|
|
8625
8726
|
sourceKey: z$1.string().min(1).max(500),
|
|
@@ -8630,7 +8731,7 @@ var projectPipelineInstanceSchema = z$1.discriminatedUnion("executionAuthority",
|
|
|
8630
8731
|
}).strict(),
|
|
8631
8732
|
revision: z$1.number().int().nonnegative()
|
|
8632
8733
|
})).strict(),
|
|
8633
|
-
z$1.object(_object_spread_props$
|
|
8734
|
+
z$1.object(_object_spread_props$7(_object_spread$a({}, scopedIdentity), {
|
|
8634
8735
|
executionAuthority: z$1.literal("platform"),
|
|
8635
8736
|
bindingId: z$1.string().uuid(),
|
|
8636
8737
|
sourceKey: z$1.string().min(1).max(500),
|
|
@@ -8642,7 +8743,7 @@ var projectPipelineInstanceSchema = z$1.discriminatedUnion("executionAuthority",
|
|
|
8642
8743
|
revision: z$1.number().int().nonnegative()
|
|
8643
8744
|
})).strict()
|
|
8644
8745
|
]);
|
|
8645
|
-
var projectPipelineRunSchema = z$1.object(_object_spread_props$
|
|
8746
|
+
var projectPipelineRunSchema = z$1.object(_object_spread_props$7(_object_spread$a({}, scopedIdentity), {
|
|
8646
8747
|
instanceId: z$1.string().uuid(),
|
|
8647
8748
|
triggerKey: z$1.string().min(1).max(500),
|
|
8648
8749
|
definition: definitionRef,
|
|
@@ -8714,7 +8815,7 @@ var projectPipelineWorkContextSchema = z$1.object({
|
|
|
8714
8815
|
inputDigest: z$1.string().regex(/^[a-f0-9]{64}$/),
|
|
8715
8816
|
generation: z$1.number().int().positive()
|
|
8716
8817
|
}).strict();
|
|
8717
|
-
var projectPipelineRoundSchema = z$1.object(_object_spread_props$
|
|
8818
|
+
var projectPipelineRoundSchema = z$1.object(_object_spread_props$7(_object_spread$a({}, scopedIdentity), {
|
|
8718
8819
|
runId: z$1.string().uuid(),
|
|
8719
8820
|
sequence: z$1.number().int().positive(),
|
|
8720
8821
|
generation: z$1.number().int().positive(),
|
|
@@ -8730,7 +8831,7 @@ var projectPipelineRoundSchema = z$1.object(_object_spread_props$6(_object_sprea
|
|
|
8730
8831
|
subjectVersionSet: z$1.array(projectPipelineSubjectVersionSchema).min(1).max(100),
|
|
8731
8832
|
supersedes: z$1.string().uuid().nullable()
|
|
8732
8833
|
})).strict();
|
|
8733
|
-
var projectPipelineNodeInstanceSchema = z$1.object(_object_spread_props$
|
|
8834
|
+
var projectPipelineNodeInstanceSchema = z$1.object(_object_spread_props$7(_object_spread$a({}, scopedIdentity), {
|
|
8734
8835
|
roundId: z$1.string().uuid(),
|
|
8735
8836
|
nodeKey: projectPipelineKeySchema,
|
|
8736
8837
|
/** Stable source identity; never a list index. */ expansionKey: z$1.string().min(1).max(500),
|
|
@@ -8742,7 +8843,7 @@ var projectPipelineNodeInstanceSchema = z$1.object(_object_spread_props$6(_objec
|
|
|
8742
8843
|
revision: z$1.number().int().nonnegative()
|
|
8743
8844
|
})).strict();
|
|
8744
8845
|
|
|
8745
|
-
function _define_property$
|
|
8846
|
+
function _define_property$9(obj, key, value) {
|
|
8746
8847
|
if (key in obj) {
|
|
8747
8848
|
Object.defineProperty(obj, key, {
|
|
8748
8849
|
value: value,
|
|
@@ -8755,7 +8856,7 @@ function _define_property$8(obj, key, value) {
|
|
|
8755
8856
|
}
|
|
8756
8857
|
return obj;
|
|
8757
8858
|
}
|
|
8758
|
-
function _object_spread$
|
|
8859
|
+
function _object_spread$9(target) {
|
|
8759
8860
|
for(var i = 1; i < arguments.length; i++){
|
|
8760
8861
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
8761
8862
|
var ownKeys = Object.keys(source);
|
|
@@ -8765,12 +8866,12 @@ function _object_spread$8(target) {
|
|
|
8765
8866
|
}));
|
|
8766
8867
|
}
|
|
8767
8868
|
ownKeys.forEach(function(key) {
|
|
8768
|
-
_define_property$
|
|
8869
|
+
_define_property$9(target, key, source[key]);
|
|
8769
8870
|
});
|
|
8770
8871
|
}
|
|
8771
8872
|
return target;
|
|
8772
8873
|
}
|
|
8773
|
-
function ownKeys$
|
|
8874
|
+
function ownKeys$6(object, enumerableOnly) {
|
|
8774
8875
|
var keys = Object.keys(object);
|
|
8775
8876
|
if (Object.getOwnPropertySymbols) {
|
|
8776
8877
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8778,12 +8879,12 @@ function ownKeys$5(object, enumerableOnly) {
|
|
|
8778
8879
|
}
|
|
8779
8880
|
return keys;
|
|
8780
8881
|
}
|
|
8781
|
-
function _object_spread_props$
|
|
8882
|
+
function _object_spread_props$6(target, source) {
|
|
8782
8883
|
source = source != null ? source : {};
|
|
8783
8884
|
if (Object.getOwnPropertyDescriptors) {
|
|
8784
8885
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8785
8886
|
} else {
|
|
8786
|
-
ownKeys$
|
|
8887
|
+
ownKeys$6(Object(source)).forEach(function(key) {
|
|
8787
8888
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8788
8889
|
});
|
|
8789
8890
|
}
|
|
@@ -8800,17 +8901,17 @@ var projectPipelinePortDescriptorSchema = z$1.object({
|
|
|
8800
8901
|
])
|
|
8801
8902
|
}).strict();
|
|
8802
8903
|
/** Declarations allow configuration checks. They never prove a runtime executor is currently available. */ var projectPipelineExtensionDescriptorSchema = z$1.discriminatedUnion("kind", [
|
|
8803
|
-
z$1.object(_object_spread_props$
|
|
8904
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8804
8905
|
kind: z$1.literal("schema")
|
|
8805
8906
|
})).strict(),
|
|
8806
|
-
z$1.object(_object_spread_props$
|
|
8907
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8807
8908
|
kind: z$1.literal("resource")
|
|
8808
8909
|
})).strict(),
|
|
8809
|
-
z$1.object(_object_spread_props$
|
|
8910
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8810
8911
|
kind: z$1.literal("subject"),
|
|
8811
8912
|
outputSchemaRef: projectPipelineRefSchema
|
|
8812
8913
|
})).strict(),
|
|
8813
|
-
z$1.object(_object_spread_props$
|
|
8914
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8814
8915
|
kind: z$1.literal("operation"),
|
|
8815
8916
|
effects: z$1.enum([
|
|
8816
8917
|
"read_only",
|
|
@@ -8829,32 +8930,32 @@ var projectPipelinePortDescriptorSchema = z$1.object({
|
|
|
8829
8930
|
inputs: z$1.record(projectPipelineKeySchema, projectPipelinePortDescriptorSchema),
|
|
8830
8931
|
outputs: z$1.record(projectPipelineKeySchema, projectPipelineRefSchema)
|
|
8831
8932
|
})).strict(),
|
|
8832
|
-
z$1.object(_object_spread_props$
|
|
8933
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8833
8934
|
kind: z$1.literal("completion")
|
|
8834
8935
|
})).strict(),
|
|
8835
|
-
z$1.object(_object_spread_props$
|
|
8936
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8836
8937
|
kind: z$1.literal("policy"),
|
|
8837
8938
|
outcomes: z$1.array(projectPipelineKeySchema).min(1).max(32)
|
|
8838
8939
|
})).strict(),
|
|
8839
|
-
z$1.object(_object_spread_props$
|
|
8940
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8840
8941
|
kind: z$1.literal("projection")
|
|
8841
8942
|
})).strict(),
|
|
8842
|
-
z$1.object(_object_spread_props$
|
|
8943
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8843
8944
|
kind: z$1.literal("presentation")
|
|
8844
8945
|
})).strict(),
|
|
8845
|
-
z$1.object(_object_spread_props$
|
|
8946
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8846
8947
|
kind: z$1.literal("action")
|
|
8847
8948
|
})).strict(),
|
|
8848
|
-
z$1.object(_object_spread_props$
|
|
8949
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8849
8950
|
kind: z$1.literal("metric")
|
|
8850
8951
|
})).strict(),
|
|
8851
|
-
z$1.object(_object_spread_props$
|
|
8952
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8852
8953
|
kind: z$1.literal("dimension")
|
|
8853
8954
|
})).strict(),
|
|
8854
|
-
z$1.object(_object_spread_props$
|
|
8955
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8855
8956
|
kind: z$1.literal("trigger")
|
|
8856
8957
|
})).strict(),
|
|
8857
|
-
z$1.object(_object_spread_props$
|
|
8958
|
+
z$1.object(_object_spread_props$6(_object_spread$9({}, reference), {
|
|
8858
8959
|
kind: z$1.literal("subscription"),
|
|
8859
8960
|
outputs: z$1.record(projectPipelineKeySchema, projectPipelineRefSchema)
|
|
8860
8961
|
})).strict()
|
|
@@ -9621,6 +9722,162 @@ var tombstone = z$1.object({
|
|
|
9621
9722
|
]);
|
|
9622
9723
|
});
|
|
9623
9724
|
|
|
9725
|
+
function _define_property$8(obj, key, value) {
|
|
9726
|
+
if (key in obj) {
|
|
9727
|
+
Object.defineProperty(obj, key, {
|
|
9728
|
+
value: value,
|
|
9729
|
+
enumerable: true,
|
|
9730
|
+
configurable: true,
|
|
9731
|
+
writable: true
|
|
9732
|
+
});
|
|
9733
|
+
} else {
|
|
9734
|
+
obj[key] = value;
|
|
9735
|
+
}
|
|
9736
|
+
return obj;
|
|
9737
|
+
}
|
|
9738
|
+
function _object_spread$8(target) {
|
|
9739
|
+
for(var i = 1; i < arguments.length; i++){
|
|
9740
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
9741
|
+
var ownKeys = Object.keys(source);
|
|
9742
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
9743
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
9744
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
9745
|
+
}));
|
|
9746
|
+
}
|
|
9747
|
+
ownKeys.forEach(function(key) {
|
|
9748
|
+
_define_property$8(target, key, source[key]);
|
|
9749
|
+
});
|
|
9750
|
+
}
|
|
9751
|
+
return target;
|
|
9752
|
+
}
|
|
9753
|
+
function ownKeys$5(object, enumerableOnly) {
|
|
9754
|
+
var keys = Object.keys(object);
|
|
9755
|
+
if (Object.getOwnPropertySymbols) {
|
|
9756
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
9757
|
+
keys.push.apply(keys, symbols);
|
|
9758
|
+
}
|
|
9759
|
+
return keys;
|
|
9760
|
+
}
|
|
9761
|
+
function _object_spread_props$5(target, source) {
|
|
9762
|
+
source = source != null ? source : {};
|
|
9763
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
9764
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9765
|
+
} else {
|
|
9766
|
+
ownKeys$5(Object(source)).forEach(function(key) {
|
|
9767
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9768
|
+
});
|
|
9769
|
+
}
|
|
9770
|
+
return target;
|
|
9771
|
+
}
|
|
9772
|
+
var subject = z$1.discriminatedUnion("kind", [
|
|
9773
|
+
z$1.object({
|
|
9774
|
+
kind: z$1.literal("execution"),
|
|
9775
|
+
id: z$1.string().min(1)
|
|
9776
|
+
}).strict(),
|
|
9777
|
+
z$1.object({
|
|
9778
|
+
kind: z$1.literal("invocation"),
|
|
9779
|
+
id: z$1.string().min(1)
|
|
9780
|
+
}).strict()
|
|
9781
|
+
]);
|
|
9782
|
+
var base = {
|
|
9783
|
+
version: z$1.literal(1),
|
|
9784
|
+
observedAt: z$1.string().datetime()
|
|
9785
|
+
};
|
|
9786
|
+
/** Host-assigned attempt identity. A new host boot or execution never inherits an old target. */ var executionRuntimeTargetSchema = z$1.discriminatedUnion("kind", [
|
|
9787
|
+
z$1.object({
|
|
9788
|
+
version: z$1.literal(1),
|
|
9789
|
+
kind: z$1.literal("host"),
|
|
9790
|
+
generation: z$1.string().uuid(),
|
|
9791
|
+
hostId: z$1.string().uuid()
|
|
9792
|
+
}).strict(),
|
|
9793
|
+
z$1.object({
|
|
9794
|
+
version: z$1.literal(1),
|
|
9795
|
+
kind: z$1.literal("provider"),
|
|
9796
|
+
generation: z$1.string().uuid()
|
|
9797
|
+
}).strict()
|
|
9798
|
+
]);
|
|
9799
|
+
function executionRuntimeTargetsEqual(left, right) {
|
|
9800
|
+
if (!left || !right) return left === right;
|
|
9801
|
+
return left.version === right.version && left.kind === right.kind && left.generation === right.generation && (left.kind !== "host" || right.kind === "host" && left.hostId === right.hostId);
|
|
9802
|
+
}
|
|
9803
|
+
/** Control acknowledgements never constitute completion evidence. Missing evidence stays unknown. */ var executionControlEvidenceSchema = z$1.discriminatedUnion("source", [
|
|
9804
|
+
z$1.object(_object_spread_props$5(_object_spread$8({}, base), {
|
|
9805
|
+
source: z$1.literal("unavailable"),
|
|
9806
|
+
subject: subject,
|
|
9807
|
+
state: z$1.literal("unknown"),
|
|
9808
|
+
reason: z$1.enum([
|
|
9809
|
+
"unregistered",
|
|
9810
|
+
"unconfirmed",
|
|
9811
|
+
"unsupported"
|
|
9812
|
+
])
|
|
9813
|
+
})).strict(),
|
|
9814
|
+
z$1.object(_object_spread_props$5(_object_spread$8({}, base), {
|
|
9815
|
+
source: z$1.literal("platform"),
|
|
9816
|
+
subject: subject,
|
|
9817
|
+
scope: z$1.literal("owned_subtree"),
|
|
9818
|
+
state: z$1.enum([
|
|
9819
|
+
"running",
|
|
9820
|
+
"pausing",
|
|
9821
|
+
"paused",
|
|
9822
|
+
"terminating",
|
|
9823
|
+
"settled"
|
|
9824
|
+
]),
|
|
9825
|
+
desired: z$1.enum([
|
|
9826
|
+
"running",
|
|
9827
|
+
"paused",
|
|
9828
|
+
"terminated"
|
|
9829
|
+
]),
|
|
9830
|
+
taskId: z$1.string().uuid(),
|
|
9831
|
+
rootId: z$1.string().uuid(),
|
|
9832
|
+
revision: z$1.number().int().positive(),
|
|
9833
|
+
executionId: z$1.string().uuid(),
|
|
9834
|
+
threadId: z$1.string().min(1)
|
|
9835
|
+
})).strict(),
|
|
9836
|
+
z$1.object(_object_spread_props$5(_object_spread$8({}, base), {
|
|
9837
|
+
source: z$1.literal("provider"),
|
|
9838
|
+
subject: z$1.object({
|
|
9839
|
+
kind: z$1.literal("invocation"),
|
|
9840
|
+
id: z$1.string().min(1)
|
|
9841
|
+
}).strict(),
|
|
9842
|
+
scope: z$1.literal("operation"),
|
|
9843
|
+
state: z$1.literal("settled"),
|
|
9844
|
+
outcome: z$1.enum([
|
|
9845
|
+
"succeeded",
|
|
9846
|
+
"failed",
|
|
9847
|
+
"cancelled"
|
|
9848
|
+
]),
|
|
9849
|
+
sessionId: z$1.string().min(1),
|
|
9850
|
+
runId: z$1.string().min(1),
|
|
9851
|
+
receiptKey: z$1.string().min(1).max(500),
|
|
9852
|
+
target: executionRuntimeTargetSchema.optional()
|
|
9853
|
+
})).strict(),
|
|
9854
|
+
z$1.object(_object_spread_props$5(_object_spread$8({}, base), {
|
|
9855
|
+
source: z$1.literal("host_admission"),
|
|
9856
|
+
subject: z$1.object({
|
|
9857
|
+
kind: z$1.literal("invocation"),
|
|
9858
|
+
id: z$1.string().min(1)
|
|
9859
|
+
}).strict(),
|
|
9860
|
+
scope: z$1.literal("operation"),
|
|
9861
|
+
state: z$1.literal("settled"),
|
|
9862
|
+
outcome: z$1.enum([
|
|
9863
|
+
"failed",
|
|
9864
|
+
"cancelled"
|
|
9865
|
+
]),
|
|
9866
|
+
reason: z$1.literal("not_started")
|
|
9867
|
+
})).strict()
|
|
9868
|
+
]);
|
|
9869
|
+
function unknownExecutionControl(subject) {
|
|
9870
|
+
var reason = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "unconfirmed";
|
|
9871
|
+
return {
|
|
9872
|
+
version: 1,
|
|
9873
|
+
source: "unavailable",
|
|
9874
|
+
subject: subject,
|
|
9875
|
+
state: "unknown",
|
|
9876
|
+
reason: reason,
|
|
9877
|
+
observedAt: new Date().toISOString()
|
|
9878
|
+
};
|
|
9879
|
+
}
|
|
9880
|
+
|
|
9624
9881
|
function _define_property$7(obj, key, value) {
|
|
9625
9882
|
if (key in obj) {
|
|
9626
9883
|
Object.defineProperty(obj, key, {
|
|
@@ -9721,6 +9978,7 @@ var projectPipelineRuntimeExecutionSchema = z$1.object({
|
|
|
9721
9978
|
status: agentInvocationStatusSchema
|
|
9722
9979
|
}).strict();
|
|
9723
9980
|
var receipt = {
|
|
9981
|
+
control: executionControlEvidenceSchema.optional(),
|
|
9724
9982
|
receiptKey: z$1.string().min(1).max(500),
|
|
9725
9983
|
execution: z$1.discriminatedUnion("kind", [
|
|
9726
9984
|
projectPipelineAssistantExecutionSchema,
|
|
@@ -9745,6 +10003,7 @@ var projectPipelineOperationReceiptSchema = z$1.discriminatedUnion("status", [
|
|
|
9745
10003
|
status: z$1.literal("cancelled")
|
|
9746
10004
|
})).strict(),
|
|
9747
10005
|
z$1.object({
|
|
10006
|
+
control: receipt.control,
|
|
9748
10007
|
receiptKey: receipt.receiptKey.optional(),
|
|
9749
10008
|
execution: receipt.execution,
|
|
9750
10009
|
status: z$1.literal("unknown")
|
|
@@ -12892,6 +13151,20 @@ var OrganizationProjectBudgetTypeEnum;
|
|
|
12892
13151
|
OrganizationProjectBudgetTypeEnum["COST"] = "cost";
|
|
12893
13152
|
})(OrganizationProjectBudgetTypeEnum || (OrganizationProjectBudgetTypeEnum = {}));
|
|
12894
13153
|
|
|
13154
|
+
/** Immutable authorization source; live access is rechecked on every delegated request. */ var clientSecretGrantSourceSchema = z.discriminatedUnion("kind", [
|
|
13155
|
+
z.object({
|
|
13156
|
+
kind: z.literal("assistant")
|
|
13157
|
+
}).strict(),
|
|
13158
|
+
z.object({
|
|
13159
|
+
kind: z.literal("project"),
|
|
13160
|
+
projectId: z.string().min(1)
|
|
13161
|
+
}).strict(),
|
|
13162
|
+
z.object({
|
|
13163
|
+
kind: z.literal("conversation"),
|
|
13164
|
+
conversationId: z.string().min(1),
|
|
13165
|
+
requesterXpertId: z.string().min(1)
|
|
13166
|
+
}).strict()
|
|
13167
|
+
]);
|
|
12895
13168
|
/**
|
|
12896
13169
|
* Selects how an opaque client secret is authorized and how entityId is
|
|
12897
13170
|
* interpreted. createdById alone does not distinguish
|
|
@@ -13815,4 +14088,117 @@ var CONTENT_EDITOR_STATUS_COMMAND = "workbench.content.status";
|
|
|
13815
14088
|
|
|
13816
14089
|
/** Host-owned opening avoids inheriting a remote component's iframe sandbox. */ var ARTIFACT_PRESENTATION_OPEN_COMMAND = "artifact.presentation.open";
|
|
13817
14090
|
|
|
13818
|
-
export { AGENT_OUTPUT_MAX_PATHS, AGENT_PROFILE_TABS_SLOT, AGENT_WORKBENCH_SLOT, AIPermissionsEnum, AI_MODEL_TYPE_VARIABLE, API_PRINCIPAL_USER_ID_HEADER, ARTIFACT_PRESENTATION_OPEN_COMMAND, ASSISTANT_CHAT_SEND_MESSAGE_COMMAND, ASSISTANT_CITATION_OPEN_EVENT, ASSISTANT_COMPOSER_APPEND_REFERENCES_COMMAND, ASSISTANT_CONTENT_REVIEW_COMMAND, ASSISTANT_CONTEXT_SET_COMMAND, ASSISTANT_USER_PREFERENCES_VERSION, AiBusinessRole, AiFeatureEnum, AiModelTypeEnum, AiProtocol, AiProvider, AiProviderRole, AlignmentOptions, ApiAuthType, ApiKeyBindingType, ApiProviderSchemaType, AssistantBindingScope, AssistantBindingSourceScope, AssistantCode, Attachment_Type_Options, AuthenticationEnum, BUILTIN_KNOWLEDGE_FILE_TYPES, BUILTIN_KNOWLEDGE_PARSER, BonusTypeEnum, BusinessType, CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY, CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED, CHAT_EVENT_TYPE_THREAD_CONTEXT_USAGE, CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED, CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED, CONTENT_DOCUMENT_LINK_RESOURCE_PARAM, CONTENT_EDITOR_LINK_COMMAND, CONTENT_EDITOR_RESOLVE_COMMAND, CONTENT_EDITOR_STATUS_COMMAND, CONTEXT_COMPRESSION_COMPONENT_TYPE, CONTEXT_COMPRESSION_MIDDLEWARE_NAME, CONTEXT_VARIABLE_CURRENTSTATE, CONVERSATION_MAP_FEATURE, 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, SPACE_PROJECT_TYPE, STANDARD_METADATA_FIELDS, STATE_SYS_AGENT_WORKSPACE_PATH, STATE_SYS_MEMORY_WORKSPACE_PATH, STATE_SYS_SESSION_WORKSPACE_PATH, STATE_SYS_SHARED_WORKSPACE_PATH, STATE_SYS_THREAD_ID, STATE_SYS_VOLUME, STATE_SYS_WORKSPACE_PATH, STATE_SYS_WORKSPACE_ROOT, STATE_SYS_WORKSPACE_URL, STATE_VARIABLE_FILES, STATE_VARIABLE_HUMAN, STATE_VARIABLE_INPUT, STATE_VARIABLE_SYS, STATE_VARIABLE_TITLE_CHANNEL, SandboxManagedServiceErrorCode, SandboxTerminalClientEvent, SandboxTerminalClosedReason, SandboxTerminalErrorCode, SandboxTerminalServerEvent, ScheduleTaskStatus, SecretTokenBindingType, TAG_TARGETS, TASK_DESCRIPTION_PREFIX, TASK_DESCRIPTION_SUFFIX, THREAD_GOAL_STATUS_VALUES, TOOL_NAME_REGEX, TagCategoryEnum, TaskFrequency, TaskListTypeEnum, ToolParameterForm, ToolParameterType, ToolTagEnum, TranslationLanguageMap, 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, getPluginApplicationScopes, getStoreNamespace, getSwarmPartners, getTagTargets, getToolCallFromConfig, getToolCallIdFromConfig, getToolLabel, getVariableSchema, getWorkflowTriggers, getWorkspaceFromRunnable, getXpertAgentRecursionLimit, getXpertWorkspaceVisibility, hasEnabledKnowledgeRetrievalSource, inferMessageAppendContext, isAgentKey, isAgentWorkflowNode, isAgentWorkflowNodeType, isAssistantBindingSkillEnabled, isAssistantBindingToolEnabled, isAssistantBindingToolPreferencesEmpty, isAudioType, isBlank, isConfiguredModelAvailable, isContextCompressionComponentData, isDiscoverableModelType, isDocumentKnowledgebaseType, isDocumentSheet, isEnableTool, isEnterpriseH5Platform, isEvidenceProposal, isImageType, isInterruptMessage, isIteratingKey, isIteratorKey, isKnowledgeDocumentVisible, isKnowledgeTableMetadata, isKnowledgeWikiChunkMetadata, isKnowledgeWikiPageContributionPayload, isKnowledgeWikiPageSourcePayload, isLearningProposal, isMessageGroup, isMiddlewareToolEnabled, isNativeKnowledgeTableDocument, isNil$1 as isNil, isOrganizationSharedXpertWorkspace, isOutputTokenParameter, isPluginApplicationScope, isPreparedCandidate, isProjectPipelineApplicable, 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, projectPipelineProjectTypesSchema, projectPipelineProjectionEdgeSchema, projectPipelineProjectionNodeSchema, projectPipelineProjectionSchema, projectPipelineProviderActionCommandSchema, projectPipelineProviderActionDescriptorSchema, projectPipelineProviderActionReceiptSchema, projectPipelineProviderActionTargetSchema, projectPipelineProviderActionViewSchema, projectPipelineProviderActionsSchema, projectPipelineRefSchema, projectPipelineResourceClaimSchema, projectPipelineResourceClaimsSchema, projectPipelineResourceReservationSchema, projectPipelineRetrySchema, projectPipelineRoleSchema, projectPipelineRoundSchema, projectPipelineRunSchema, projectPipelineRuntimeExecutionSchema, projectPipelineRuntimeInputSchema, projectPipelineRuntimeSelectionSchema, projectPipelineSavedConfigurationSchema, projectPipelineStageSchema, projectPipelineStartSchema, projectPipelineStatistics, projectPipelineStatisticsSchema, projectPipelineSubjectVersionSchema, projectPipelineTaskProjectionSchema, projectPipelineWorkContextSchema, projectPipelineWorkCountsSchema, projectTaskDecisionInputSchema, projectTaskDecisionSchema, projectTaskDispatchInputSchema, projectTaskDispatchReceiptSchema, projectTaskDispatchToolInputSchema, projectTaskEvidenceReferenceSchema, projectTaskExecutionContextSchema, projectTaskExecutionPurposeSchema, projectTaskExecutionReferenceSchema, projectTaskReviewReportSchema, projectTaskSpecificationDigestSchema, projectTaskSpecificationSchema, projectTaskSpecificationSnapshotSchema, providerCredentialCheckSchema, providerCredentialValidationTargetSchema, readModelConfiguration, replaceAgentInDraft, resolveDraftPrimaryAgent, resolveDraftRuntimeGraph, resolveI18nText, resolveMessageAppendContext, resolveModelParameterOptions, resolvePromptWorkflowCapabilities, resolveRuntimeXpert, 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 };
|
|
14091
|
+
var CONTENT_CATALOG_PROVIDER = "platform.content.catalog";
|
|
14092
|
+
|
|
14093
|
+
/** Negotiated Xpert extension. MCP cancellation acknowledgements are not exit evidence. */ var MCP_EXECUTION_CONTROL_EXTENSION_ID = "ai.xpert/execution-control";
|
|
14094
|
+
var MCP_EXECUTION_CONTROL_METHOD = "xpert/tasks/control";
|
|
14095
|
+
/** Additive tools/list metadata for 2026, which removed top-level Tool.execution. */ var mcpExecutionToolDeclarationSchema = z$1.object({
|
|
14096
|
+
version: z$1.literal(1),
|
|
14097
|
+
taskSupport: z$1.enum([
|
|
14098
|
+
"required",
|
|
14099
|
+
"optional",
|
|
14100
|
+
"forbidden"
|
|
14101
|
+
])
|
|
14102
|
+
});
|
|
14103
|
+
var mcpOperationIdentitySchema = z$1.object({
|
|
14104
|
+
version: z$1.literal(1),
|
|
14105
|
+
operationId: z$1.string().uuid(),
|
|
14106
|
+
generation: z$1.string().uuid(),
|
|
14107
|
+
inputHash: z$1.string().regex(/^[a-f0-9]{64}$/),
|
|
14108
|
+
toolName: z$1.string().min(1).max(191)
|
|
14109
|
+
}).strict();
|
|
14110
|
+
var mcpExecutionControlRequestSchema = mcpOperationIdentitySchema.extend({
|
|
14111
|
+
serverId: z$1.string().uuid(),
|
|
14112
|
+
action: z$1.enum([
|
|
14113
|
+
"inspect",
|
|
14114
|
+
"terminate"
|
|
14115
|
+
])
|
|
14116
|
+
}).strict();
|
|
14117
|
+
var mcpExecutionReceiptSchema = z$1.object({
|
|
14118
|
+
version: z$1.literal(1),
|
|
14119
|
+
serverId: z$1.string().uuid(),
|
|
14120
|
+
operationId: z$1.string().uuid(),
|
|
14121
|
+
generation: z$1.string().uuid(),
|
|
14122
|
+
taskId: z$1.string().uuid().nullable(),
|
|
14123
|
+
state: z$1.enum([
|
|
14124
|
+
"pending",
|
|
14125
|
+
"settled",
|
|
14126
|
+
"unknown"
|
|
14127
|
+
]),
|
|
14128
|
+
intent: z$1.enum([
|
|
14129
|
+
"running",
|
|
14130
|
+
"paused",
|
|
14131
|
+
"terminated"
|
|
14132
|
+
]),
|
|
14133
|
+
revision: z$1.number().int().nonnegative(),
|
|
14134
|
+
handlerExited: z$1.boolean(),
|
|
14135
|
+
descendantsSettled: z$1.boolean()
|
|
14136
|
+
}).strict();
|
|
14137
|
+
var mcpExecutionCapabilitySchema = z$1.object({
|
|
14138
|
+
version: z$1.literal(1),
|
|
14139
|
+
serverId: z$1.string().uuid()
|
|
14140
|
+
}).strict();
|
|
14141
|
+
|
|
14142
|
+
/** Public presentation only. Every command revalidates permission and execution admission. */ var threadControlActionsSchema = z$1.object({
|
|
14143
|
+
canPause: z$1.boolean(),
|
|
14144
|
+
canResume: z$1.boolean(),
|
|
14145
|
+
canTerminate: z$1.boolean(),
|
|
14146
|
+
canSend: z$1.boolean(),
|
|
14147
|
+
canQueue: z$1.boolean(),
|
|
14148
|
+
canRetry: z$1.boolean(),
|
|
14149
|
+
canRespond: z$1.boolean()
|
|
14150
|
+
}).strict();
|
|
14151
|
+
var threadControlViewSchema = z$1.object({
|
|
14152
|
+
version: z$1.literal(1),
|
|
14153
|
+
threadId: z$1.string().min(1),
|
|
14154
|
+
runId: z$1.string().min(1).nullable(),
|
|
14155
|
+
revision: z$1.string().regex(/^[1-9][0-9]*$/),
|
|
14156
|
+
state: z$1.enum([
|
|
14157
|
+
"idle",
|
|
14158
|
+
"running",
|
|
14159
|
+
"pausing",
|
|
14160
|
+
"paused",
|
|
14161
|
+
"stopping",
|
|
14162
|
+
"settling",
|
|
14163
|
+
"input_required",
|
|
14164
|
+
"confirming",
|
|
14165
|
+
"completed",
|
|
14166
|
+
"stopped",
|
|
14167
|
+
"failed"
|
|
14168
|
+
]),
|
|
14169
|
+
actions: threadControlActionsSchema,
|
|
14170
|
+
pauseId: z$1.string().optional()
|
|
14171
|
+
}).strict();
|
|
14172
|
+
|
|
14173
|
+
var taskStatusSchema = z.enum(MCP_TASK_STATUSES);
|
|
14174
|
+
var mcpTaskStartResultSchema = z.object({
|
|
14175
|
+
resultType: z.literal("task"),
|
|
14176
|
+
taskId: z.string().min(1),
|
|
14177
|
+
status: taskStatusSchema,
|
|
14178
|
+
statusMessage: z.string().optional(),
|
|
14179
|
+
createdAt: z.string(),
|
|
14180
|
+
lastUpdatedAt: z.string(),
|
|
14181
|
+
ttlMs: z.number().nonnegative().nullable(),
|
|
14182
|
+
pollIntervalMs: z.number().positive().optional(),
|
|
14183
|
+
progress: z.number().min(0).max(1).nullable().optional(),
|
|
14184
|
+
content: z.array(z.unknown()).optional()
|
|
14185
|
+
}).passthrough();
|
|
14186
|
+
var mcpTaskResultSchema = z.object({
|
|
14187
|
+
resultType: z.literal("complete"),
|
|
14188
|
+
taskId: z.string().min(1),
|
|
14189
|
+
status: taskStatusSchema,
|
|
14190
|
+
statusMessage: z.string().optional(),
|
|
14191
|
+
createdAt: z.string(),
|
|
14192
|
+
lastUpdatedAt: z.string(),
|
|
14193
|
+
ttlMs: z.number().nonnegative().nullable(),
|
|
14194
|
+
pollIntervalMs: z.number().positive().optional(),
|
|
14195
|
+
progress: z.number().min(0).max(1).nullable().optional(),
|
|
14196
|
+
inputRequests: z.unknown().optional(),
|
|
14197
|
+
result: z.unknown().optional(),
|
|
14198
|
+
error: z.unknown().optional()
|
|
14199
|
+
}).passthrough();
|
|
14200
|
+
var mcpTaskAcknowledgementSchema = z.object({
|
|
14201
|
+
resultType: z.literal("complete")
|
|
14202
|
+
}).passthrough();
|
|
14203
|
+
|
|
14204
|
+
export { AGENT_OUTPUT_MAX_PATHS, AGENT_PROFILE_TABS_SLOT, AGENT_WORKBENCH_SLOT, AIPermissionsEnum, AI_MODEL_TYPE_VARIABLE, API_PRINCIPAL_USER_ID_HEADER, ARTIFACT_PRESENTATION_OPEN_COMMAND, ASSISTANT_CHAT_SEND_MESSAGE_COMMAND, ASSISTANT_CITATION_OPEN_EVENT, ASSISTANT_COMPOSER_APPEND_REFERENCES_COMMAND, ASSISTANT_CONTENT_REVIEW_COMMAND, ASSISTANT_CONTEXT_SET_COMMAND, ASSISTANT_USER_PREFERENCES_VERSION, AiBusinessRole, AiFeatureEnum, AiModelTypeEnum, AiProtocol, AiProvider, AiProviderRole, AlignmentOptions, ApiAuthType, ApiKeyBindingType, ApiProviderSchemaType, AssistantBindingScope, AssistantBindingSourceScope, AssistantCode, Attachment_Type_Options, AuthenticationEnum, BUILTIN_KNOWLEDGE_FILE_TYPES, BUILTIN_KNOWLEDGE_PARSER, BonusTypeEnum, BusinessType, CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY, CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED, CHAT_EVENT_TYPE_THREAD_CONTEXT_USAGE, CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED, CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED, CONTENT_CATALOG_PROVIDER, CONTENT_DOCUMENT_LINK_RESOURCE_PARAM, CONTENT_EDITOR_LINK_COMMAND, CONTENT_EDITOR_RESOLVE_COMMAND, CONTENT_EDITOR_STATUS_COMMAND, CONTEXT_COMPRESSION_COMPONENT_TYPE, CONTEXT_COMPRESSION_MIDDLEWARE_NAME, CONTEXT_VARIABLE_CURRENTSTATE, CONVERSATION_MAP_FEATURE, 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_EXECUTION_CONTROL_EXTENSION_ID, MCP_EXECUTION_CONTROL_METHOD, MCP_HTTP_CORS_EXPOSED_HEADERS, MCP_HTTP_CORS_REQUEST_HEADERS, MCP_INVOCATION_STATUSES, MCP_PROTOCOL_VERSION, MCP_PUBLICATION_REVIEW_STATUSES, MCP_PUBLICATION_STATUSES, MCP_REQUIRED_CONTEXTS, MCP_TASK_EXTENSION_ID, MCP_TASK_STATUSES, MCP_TOOL_IDEMPOTENCY, MCP_TOOL_RISKS, MCP_TOOL_SIDE_EFFECTS, MEMBERSHIP_CNY_PER_POINT_SETTING, MEMORY_PROFILE_PROMPT, MEMORY_QA_PROMPT, MIN_COPILOT_CHECKPOINT_RETENTION_DAYS, MIN_MODEL_GATEWAY_BODY_RETENTION_DAYS, MIN_MODEL_GATEWAY_CALL_RETENTION_DAYS, MIN_MODEL_GATEWAY_MAX_CONCURRENT_REQUESTS, MIN_MODEL_GATEWAY_REQUESTS_PER_MINUTE, MODEL_EXECUTION_POLICY_SETTING, MODEL_GATEWAY_CALL_RETENTION_DAYS_SETTING, MODEL_GATEWAY_CALL_RETENTION_ENABLED_SETTING, MODEL_GATEWAY_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, SPACE_PROJECT_TYPE, STANDARD_METADATA_FIELDS, STATE_SYS_AGENT_WORKSPACE_PATH, STATE_SYS_MEMORY_WORKSPACE_PATH, STATE_SYS_SESSION_WORKSPACE_PATH, STATE_SYS_SHARED_WORKSPACE_PATH, STATE_SYS_THREAD_ID, STATE_SYS_VOLUME, STATE_SYS_WORKSPACE_PATH, STATE_SYS_WORKSPACE_ROOT, STATE_SYS_WORKSPACE_URL, STATE_VARIABLE_FILES, STATE_VARIABLE_HUMAN, STATE_VARIABLE_INPUT, STATE_VARIABLE_SYS, STATE_VARIABLE_TITLE_CHANNEL, SandboxManagedServiceErrorCode, SandboxTerminalClientEvent, SandboxTerminalClosedReason, SandboxTerminalErrorCode, SandboxTerminalServerEvent, ScheduleTaskStatus, SecretTokenBindingType, TAG_TARGETS, TASK_DESCRIPTION_PREFIX, TASK_DESCRIPTION_SUFFIX, THREAD_GOAL_STATUS_VALUES, TOOL_NAME_REGEX, TagCategoryEnum, TaskFrequency, TaskListTypeEnum, ToolParameterForm, ToolParameterType, ToolTagEnum, TranslationLanguageMap, 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, clientSecretGrantSourceSchema, codingExecutionViewKey, collectTreeLeaves, configurableStoreNamespace, configurationFromModel, configureProjectPipelineFromForm, configuredModelSource, controlledHandlerSchema, convertToUrlPath, createAgentConnections, createConversationTitleSummaryEvent, createFollowUpConsumedEvent, createMessageAppendContextTracker, createRuntimeSkillCapabilityId, createThreadGoalClearedEvent, createThreadGoalUpdatedEvent, createXpertGraph, createXpertNodes, decodeKnowledgeSeparators, defaultMcpToolApprovalMode, defaultModelConfiguration, deriveXpertMarketplaceTechnicalProfile, discoverableModelTypes, ensureAssistantBindingSkillWorkspacePreference, evidenceDrivenStrategy, executionActivityBatchSchema, executionActivityCapabilitiesSchema, executionActivityItemSchema, executionControlCapabilitiesSchema, executionControlEvidenceSchema, executionControlProtocols, executionRuntimeTargetSchema, executionRuntimeTargetsEqual, figureOutXpert, filterAssistantBindingDisabledSkillIds, filterAssistantBindingDisabledTools, filterMessageText, findStartNodes, forecastProjectTasks, genJSONParseKey, genJSONStringifyKey, genListOperatorKey, genPipelineChunkerKey, genPipelineKnowledgeBaseKey, genPipelineProcessorKey, genPipelineSourceKey, genPipelineUnderstandingKey, genVariableAggregatorKey, genXpertDBDeleteKey, genXpertDBInsertKey, genXpertDBQueryKey, genXpertDBSqlKey, genXpertDBUpdateKey, genXpertIteratorKey, genXpertMiddlewareKey, genXpertSkillKey, genXpertStartKey, genXpertTriggerKey, generateCronExpression, getAgentMiddlewareNodes, getAgentVarGroup, getAssistantBindingDisabledSkillIds, getAssistantBindingDisabledTools, getAssistantManagement, getCurrentGraph, getEnabledTools, getPluginApplicationScopes, getStoreNamespace, getSwarmPartners, getTagTargets, getToolCallFromConfig, getToolCallIdFromConfig, getToolLabel, getVariableSchema, getWorkflowTriggers, getWorkspaceFromRunnable, getXpertAgentRecursionLimit, getXpertWorkspaceVisibility, hasEnabledKnowledgeRetrievalSource, inferMessageAppendContext, isAgentKey, isAgentWorkflowNode, isAgentWorkflowNodeType, isAssistantBindingSkillEnabled, isAssistantBindingToolEnabled, isAssistantBindingToolPreferencesEmpty, isAudioType, isBlank, isConfiguredModelAvailable, isContextCompressionComponentData, isDiscoverableModelType, isDocumentKnowledgebaseType, isDocumentSheet, isEnableTool, isEnterpriseH5Platform, isEvidenceProposal, isImageType, isInterruptMessage, isIteratingKey, isIteratorKey, isKnowledgeDocumentVisible, isKnowledgeTableMetadata, isKnowledgeWikiChunkMetadata, isKnowledgeWikiPageContributionPayload, isKnowledgeWikiPageSourcePayload, isLearningProposal, isMessageGroup, isMiddlewareToolEnabled, isNativeKnowledgeTableDocument, isNil$1 as isNil, isOrganizationSharedXpertWorkspace, isOutputTokenParameter, isPluginApplicationScope, isPreparedCandidate, isProjectPipelineApplicable, 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, mcpExecutionCapabilitySchema, mcpExecutionControlRequestSchema, mcpExecutionReceiptSchema, mcpExecutionToolDeclarationSchema, mcpOperationIdentitySchema, mcpTaskAcknowledgementSchema, mcpTaskResultSchema, mcpTaskStartResultSchema, mergeMessageContentForDisplay, messageContentText, modelConfigurationSchema, modelExecutionEntry, modelExecutionParametersSchema, 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, projectPipelineProjectTypesSchema, projectPipelineProjectionEdgeSchema, projectPipelineProjectionNodeSchema, projectPipelineProjectionSchema, projectPipelineProviderActionCommandSchema, projectPipelineProviderActionDescriptorSchema, projectPipelineProviderActionReceiptSchema, projectPipelineProviderActionTargetSchema, projectPipelineProviderActionViewSchema, projectPipelineProviderActionsSchema, projectPipelineRefSchema, projectPipelineResourceClaimSchema, projectPipelineResourceClaimsSchema, projectPipelineResourceReservationSchema, projectPipelineRetrySchema, projectPipelineRoleSchema, projectPipelineRoundSchema, projectPipelineRunSchema, projectPipelineRuntimeExecutionSchema, projectPipelineRuntimeInputSchema, projectPipelineRuntimeSelectionSchema, projectPipelineSavedConfigurationSchema, projectPipelineStageSchema, projectPipelineStartSchema, projectPipelineStatistics, projectPipelineStatisticsSchema, projectPipelineSubjectVersionSchema, projectPipelineTaskProjectionSchema, projectPipelineWorkContextSchema, projectPipelineWorkCountsSchema, projectTaskDecisionInputSchema, projectTaskDecisionSchema, projectTaskDispatchInputSchema, projectTaskDispatchReceiptSchema, projectTaskDispatchToolInputSchema, projectTaskEvidenceReferenceSchema, projectTaskExecutionContextSchema, projectTaskExecutionPurposeSchema, projectTaskExecutionReferenceSchema, projectTaskReviewReportSchema, projectTaskSpecificationDigestSchema, projectTaskSpecificationSchema, projectTaskSpecificationSnapshotSchema, providerCredentialCheckSchema, providerCredentialValidationTargetSchema, readModelConfiguration, replaceAgentInDraft, resolveDraftPrimaryAgent, resolveDraftRuntimeGraph, resolveI18nText, resolveMessageAppendContext, resolveModelParameterOptions, resolvePromptWorkflowCapabilities, resolveRuntimeXpert, sandboxEvidence, sandboxJobRetryReferenceSchema, sandboxRuntimeEvidenceSchema, sandboxRuntimeTargetSchema, sandboxTargetsEqual, selectedPipelineAttemptFacts, setStateVariable, shortTitle, stringifyMessageContent, templateActivityReadSchema, templateDependencyLocksSchema, templateDependencyVersionsSchema, templateFilePathSchema, templateFilesSchema, templateManifestSchema, templateManifestV1Schema, templatePreferenceValuesSchema, templatePublicationInputSchema, templateSetupUpdateSchema, templateUpgradeActionSchema, templateUpgradeInputSchema, templateUpgradeSectionSchema, threadControlActionsSchema, threadControlViewSchema, transformInstallation, unknownExecutionControl, updateAssistantBindingSkillPreferences, updateAssistantBindingToolPreferences, usesConfiguredModelCatalog, uuid, validateProjectPipelineConfigurationForm, validateProjectPipelineDefinition, validateProjectTaskGraph, workflowNodeIdentifier, workspaceConnectorAuthorizationSchema, workspaceConnectorConnectPayloadSchema, xpertLabel };
|