@xpert-ai/contracts 3.34.0 → 3.36.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/context-event.cjs.default.js +1 -0
- package/context-event.cjs.js +26 -0
- package/context-event.cjs.mjs +2 -0
- package/context-event.d.ts +1 -0
- package/context-event.esm.js +24 -0
- package/index.cjs.default.js +1 -0
- package/index.cjs.js +670 -319
- package/index.cjs.mjs +2 -0
- package/index.esm.js +637 -318
- package/package.json +18 -2
- package/src/agent-event.model.d.ts +88 -0
- package/src/agent-event.schema.d.ts +120 -0
- package/src/agent-plugin.d.ts +4 -29
- package/src/ai/agent-output-delivery.model.d.ts +22 -1
- package/src/ai/agent-runtime.model.d.ts +4 -4
- package/src/ai/assistant-capability.model.d.ts +0 -1
- package/src/ai/assistant-template-manifest.model.d.ts +316 -352
- package/src/ai/assistant-template-overview.model.d.ts +0 -4
- package/src/ai/assistant-template-setup.model.d.ts +8 -8
- package/src/ai/assistant-template.model.d.ts +0 -4
- package/src/ai/bosi.model.d.ts +1 -1
- package/src/ai/chat-activity.model.d.ts +8 -0
- package/src/ai/chat-message.model.d.ts +0 -11
- package/src/ai/chat.model.d.ts +1 -0
- package/src/ai/cli-execution.model.d.ts +88 -0
- package/src/ai/conversation-trail.model.d.ts +274 -274
- package/src/ai/copilot-store.model.d.ts +0 -13
- package/src/ai/evolution/entities.d.ts +164 -0
- package/src/ai/evolution/evaluation.d.ts +7 -0
- package/src/ai/evolution/execution-review.d.ts +68 -0
- package/src/ai/evolution/index.d.ts +2 -0
- package/src/ai/evolution/provider.d.ts +1 -0
- package/src/ai/evolution/target.d.ts +5 -0
- package/src/ai/execution-activity.model.d.ts +362 -362
- package/src/ai/execution-control-evidence.schema.d.ts +22 -22
- package/src/ai/execution-observability.model.d.ts +196 -196
- package/src/ai/execution-source.model.d.ts +45 -0
- package/src/ai/index.d.ts +4 -0
- package/src/ai/mcp-execution-control.schema.d.ts +2 -2
- package/src/ai/middleware.model.d.ts +1 -0
- package/src/ai/model-execution.model.d.ts +7 -108
- package/src/ai/model-replacement.model.d.ts +18 -18
- package/src/ai/project-configuration-view.model.d.ts +78 -0
- package/src/ai/project-pipeline/analytics.d.ts +192 -192
- package/src/ai/project-pipeline/budget.schema.d.ts +38 -0
- package/src/ai/project-pipeline/commands.schema.d.ts +543 -500
- package/src/ai/project-pipeline/configuration-form.d.ts +1980 -1836
- package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
- package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
- package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
- package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
- package/src/ai/project-pipeline/graph.model.d.ts +5 -0
- package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
- package/src/ai/project-pipeline/index.d.ts +1 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
- package/src/ai/project-pipeline/node.schema.d.ts +57 -44
- package/src/ai/project-pipeline/operation.schema.d.ts +338 -338
- package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +152 -0
- package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
- package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
- package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +112 -112
- package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
- package/src/ai/project-pipeline/runtime.schema.d.ts +62 -62
- package/src/ai/project-pipeline/statistics.d.ts +100 -100
- package/src/ai/project-task-runtime.model.d.ts +969 -242
- package/src/ai/project-type-configuration.model.d.ts +48 -0
- package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
- package/src/ai/template-installation.model.d.ts +18 -18
- package/src/ai/template-lifecycle.model.d.ts +6 -6
- package/src/ai/thread-control-view.schema.d.ts +4 -4
- package/src/ai/xpert-agent-execution.model.d.ts +4 -0
- package/src/ai/xpert-project-type.model.d.ts +3 -0
- package/src/ai/xpert-project.model.d.ts +4 -1
- package/src/ai/xpert-task.model.d.ts +16 -0
- package/src/ai/xpert.model.d.ts +0 -34
- package/src/ai/xpert.utils.d.ts +0 -1
- package/src/analytics/analysis-evidence.model.d.ts +29 -0
- package/src/analytics/analytics-certification.model.d.ts +17 -0
- package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
- package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
- package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
- package/src/analytics/index.d.ts +7 -0
- package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
- package/src/app-platform.d.ts +16 -16
- package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
- package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
- package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
- package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
- package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
- package/src/artifacts/index.d.ts +5 -0
- package/src/collaboration.model.d.ts +31 -11
- package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
- package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
- package/src/content/content-transfer.model.d.ts +21 -0
- package/src/content/index.d.ts +4 -0
- package/src/execution-control-admission.schema.d.ts +2 -2
- package/src/index.d.ts +5 -14
- package/src/plugin-management.d.ts +13 -0
- package/src/plugin.d.ts +2 -0
- package/src/user-notification.schema.d.ts +75 -28
- package/src/view-extension/client-commands.d.ts +24 -0
- package/src/view-extension/context-event.d.ts +66 -0
- package/src/view-extension/index.d.ts +1 -0
- /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
- /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
package/index.cjs.js
CHANGED
|
@@ -4,6 +4,50 @@ var v3 = require('zod/v3');
|
|
|
4
4
|
var zod = require('zod');
|
|
5
5
|
var ShortUniqueId = require('short-unique-id');
|
|
6
6
|
var chatkitTypes = require('@xpert-ai/chatkit-types');
|
|
7
|
+
var contextEvent = require('./context-event.cjs.js');
|
|
8
|
+
|
|
9
|
+
var key$4 = v3.z.string().min(1).max(256).refine(function(value) {
|
|
10
|
+
return !value.includes("\x00");
|
|
11
|
+
});
|
|
12
|
+
var agentEventRefSchema = v3.z.object({
|
|
13
|
+
kind: key$4,
|
|
14
|
+
key: key$4
|
|
15
|
+
}).strict();
|
|
16
|
+
var pluginAgentEventSchema = v3.z.object({
|
|
17
|
+
sourceEventId: key$4,
|
|
18
|
+
bindingRevision: v3.z.number().int().positive(),
|
|
19
|
+
type: key$4,
|
|
20
|
+
schemaVersion: v3.z.number().int().positive(),
|
|
21
|
+
occurredAt: v3.z.string().datetime({
|
|
22
|
+
offset: true
|
|
23
|
+
}),
|
|
24
|
+
subject: agentEventRefSchema,
|
|
25
|
+
fact: v3.z.object({
|
|
26
|
+
key: key$4,
|
|
27
|
+
revision: key$4,
|
|
28
|
+
sha256: v3.z.string().regex(/^[0-9a-f]{64}$/)
|
|
29
|
+
}).strict()
|
|
30
|
+
}).strict();
|
|
31
|
+
var reasonCode = v3.z.string().regex(/^[a-z][a-z0-9_]{0,79}$/);
|
|
32
|
+
var agentEventDecisionSchema = v3.z.discriminatedUnion("status", [
|
|
33
|
+
v3.z.object({
|
|
34
|
+
status: v3.z.literal("handled"),
|
|
35
|
+
operationKey: key$4,
|
|
36
|
+
resultRef: agentEventRefSchema
|
|
37
|
+
}).strict(),
|
|
38
|
+
v3.z.object({
|
|
39
|
+
status: v3.z.literal("ignored"),
|
|
40
|
+
reasonCode: reasonCode
|
|
41
|
+
}).strict(),
|
|
42
|
+
v3.z.object({
|
|
43
|
+
status: v3.z.literal("blocked"),
|
|
44
|
+
reasonCode: reasonCode
|
|
45
|
+
}).strict()
|
|
46
|
+
]);
|
|
47
|
+
|
|
48
|
+
var EVENT_INBOX_FEATURE = "platform.event-inbox";
|
|
49
|
+
var USER_EVENT_INBOX_SLOT = "user.event-inbox";
|
|
50
|
+
var EVENT_INBOX_VIEW_KEY = "platform.event-inbox__inbox";
|
|
7
51
|
|
|
8
52
|
exports.AiModelTypeEnum = void 0;
|
|
9
53
|
(function(AiModelTypeEnum) {
|
|
@@ -19,7 +63,7 @@ exports.AiModelTypeEnum = void 0;
|
|
|
19
63
|
AiModelTypeEnum["VIDEO"] = "video";
|
|
20
64
|
})(exports.AiModelTypeEnum || (exports.AiModelTypeEnum = {}));
|
|
21
65
|
|
|
22
|
-
function _define_property$
|
|
66
|
+
function _define_property$t(obj, key, value) {
|
|
23
67
|
if (key in obj) {
|
|
24
68
|
Object.defineProperty(obj, key, {
|
|
25
69
|
value: value,
|
|
@@ -32,7 +76,7 @@ function _define_property$s(obj, key, value) {
|
|
|
32
76
|
}
|
|
33
77
|
return obj;
|
|
34
78
|
}
|
|
35
|
-
function _object_spread$
|
|
79
|
+
function _object_spread$t(target) {
|
|
36
80
|
for(var i = 1; i < arguments.length; i++){
|
|
37
81
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
38
82
|
var ownKeys = Object.keys(source);
|
|
@@ -42,12 +86,12 @@ function _object_spread$s(target) {
|
|
|
42
86
|
}));
|
|
43
87
|
}
|
|
44
88
|
ownKeys.forEach(function(key) {
|
|
45
|
-
_define_property$
|
|
89
|
+
_define_property$t(target, key, source[key]);
|
|
46
90
|
});
|
|
47
91
|
}
|
|
48
92
|
return target;
|
|
49
93
|
}
|
|
50
|
-
function ownKeys$
|
|
94
|
+
function ownKeys$m(object, enumerableOnly) {
|
|
51
95
|
var keys = Object.keys(object);
|
|
52
96
|
if (Object.getOwnPropertySymbols) {
|
|
53
97
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -55,12 +99,12 @@ function ownKeys$l(object, enumerableOnly) {
|
|
|
55
99
|
}
|
|
56
100
|
return keys;
|
|
57
101
|
}
|
|
58
|
-
function _object_spread_props$
|
|
102
|
+
function _object_spread_props$m(target, source) {
|
|
59
103
|
source = source != null ? source : {};
|
|
60
104
|
if (Object.getOwnPropertyDescriptors) {
|
|
61
105
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
62
106
|
} else {
|
|
63
|
-
ownKeys$
|
|
107
|
+
ownKeys$m(Object(source)).forEach(function(key) {
|
|
64
108
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
65
109
|
});
|
|
66
110
|
}
|
|
@@ -83,7 +127,7 @@ var appPlatformAppSchema = v3.z.object({
|
|
|
83
127
|
configurationRef: key$3,
|
|
84
128
|
dependsOn: v3.z.array(key$3).max(32).default([])
|
|
85
129
|
}).strict().transform(function(app) {
|
|
86
|
-
return _object_spread_props$
|
|
130
|
+
return _object_spread_props$m(_object_spread$t({}, app), {
|
|
87
131
|
key: app.key,
|
|
88
132
|
required: app.required,
|
|
89
133
|
configurationRef: app.configurationRef,
|
|
@@ -1754,7 +1798,7 @@ exports.OrganizationDemoNetworkEnum = void 0;
|
|
|
1754
1798
|
resourceType: "conversation_snapshot"
|
|
1755
1799
|
};
|
|
1756
1800
|
|
|
1757
|
-
function _define_property$
|
|
1801
|
+
function _define_property$s(obj, key, value) {
|
|
1758
1802
|
if (key in obj) {
|
|
1759
1803
|
Object.defineProperty(obj, key, {
|
|
1760
1804
|
value: value,
|
|
@@ -1767,7 +1811,7 @@ function _define_property$r(obj, key, value) {
|
|
|
1767
1811
|
}
|
|
1768
1812
|
return obj;
|
|
1769
1813
|
}
|
|
1770
|
-
function _object_spread$
|
|
1814
|
+
function _object_spread$s(target) {
|
|
1771
1815
|
for(var i = 1; i < arguments.length; i++){
|
|
1772
1816
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
1773
1817
|
var ownKeys = Object.keys(source);
|
|
@@ -1777,12 +1821,12 @@ function _object_spread$r(target) {
|
|
|
1777
1821
|
}));
|
|
1778
1822
|
}
|
|
1779
1823
|
ownKeys.forEach(function(key) {
|
|
1780
|
-
_define_property$
|
|
1824
|
+
_define_property$s(target, key, source[key]);
|
|
1781
1825
|
});
|
|
1782
1826
|
}
|
|
1783
1827
|
return target;
|
|
1784
1828
|
}
|
|
1785
|
-
function ownKeys$
|
|
1829
|
+
function ownKeys$l(object, enumerableOnly) {
|
|
1786
1830
|
var keys = Object.keys(object);
|
|
1787
1831
|
if (Object.getOwnPropertySymbols) {
|
|
1788
1832
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -1790,12 +1834,12 @@ function ownKeys$k(object, enumerableOnly) {
|
|
|
1790
1834
|
}
|
|
1791
1835
|
return keys;
|
|
1792
1836
|
}
|
|
1793
|
-
function _object_spread_props$
|
|
1837
|
+
function _object_spread_props$l(target, source) {
|
|
1794
1838
|
source = source != null ? source : {};
|
|
1795
1839
|
if (Object.getOwnPropertyDescriptors) {
|
|
1796
1840
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1797
1841
|
} else {
|
|
1798
|
-
ownKeys$
|
|
1842
|
+
ownKeys$l(Object(source)).forEach(function(key) {
|
|
1799
1843
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1800
1844
|
});
|
|
1801
1845
|
}
|
|
@@ -1823,7 +1867,7 @@ function parseSelectionSet(value) {
|
|
|
1823
1867
|
if (plugins !== undefined && (!isObject(plugins) || !("nodeKeys" in plugins) || !isStringList(plugins.nodeKeys))) return null;
|
|
1824
1868
|
if (subAgents !== undefined && (!isObject(subAgents) || !("nodeKeys" in subAgents) || !isStringList(subAgents.nodeKeys))) return null;
|
|
1825
1869
|
if (connectors !== undefined && (!isObject(connectors) || !("bindingIds" in connectors) || !isStringList(connectors.bindingIds))) return null;
|
|
1826
|
-
return _object_spread$
|
|
1870
|
+
return _object_spread$s(_object_spread_props$l(_object_spread$s({}, value), {
|
|
1827
1871
|
skills: skills === undefined ? {
|
|
1828
1872
|
ids: []
|
|
1829
1873
|
} : skills,
|
|
@@ -1842,7 +1886,7 @@ function parsePromptCapabilitySelection(value) {
|
|
|
1842
1886
|
var selection = parseSelectionSet(value);
|
|
1843
1887
|
var recommended = "recommended" in value && value.recommended != null ? parseSelectionSet(value.recommended) : undefined;
|
|
1844
1888
|
if (!selection || recommended === null) return null;
|
|
1845
|
-
return _object_spread$
|
|
1889
|
+
return _object_spread$s(_object_spread_props$l(_object_spread$s({}, selection), {
|
|
1846
1890
|
mode: "allowlist"
|
|
1847
1891
|
}), "inheritUnselected" in value && typeof value.inheritUnselected === "boolean" ? {
|
|
1848
1892
|
inheritUnselected: value.inheritUnselected
|
|
@@ -1894,7 +1938,7 @@ function parsePromptCapabilityConfig(value) {
|
|
|
1894
1938
|
}
|
|
1895
1939
|
}
|
|
1896
1940
|
}
|
|
1897
|
-
return _object_spread_props$
|
|
1941
|
+
return _object_spread_props$l(_object_spread$s({}, value), {
|
|
1898
1942
|
type: "expert_scoped_capabilities",
|
|
1899
1943
|
version: 1,
|
|
1900
1944
|
defaults: defaults,
|
|
@@ -2026,7 +2070,7 @@ exports.ChatMessageStepCategory = void 0;
|
|
|
2026
2070
|
ChatMessageStepCategory["Knowledges"] = "knowledges";
|
|
2027
2071
|
})(exports.ChatMessageStepCategory || (exports.ChatMessageStepCategory = {}));
|
|
2028
2072
|
|
|
2029
|
-
function _define_property$
|
|
2073
|
+
function _define_property$r(obj, key, value) {
|
|
2030
2074
|
if (key in obj) {
|
|
2031
2075
|
Object.defineProperty(obj, key, {
|
|
2032
2076
|
value: value,
|
|
@@ -2046,7 +2090,7 @@ function _instanceof$1(left, right) {
|
|
|
2046
2090
|
return left instanceof right;
|
|
2047
2091
|
}
|
|
2048
2092
|
}
|
|
2049
|
-
function _object_spread$
|
|
2093
|
+
function _object_spread$r(target) {
|
|
2050
2094
|
for(var i = 1; i < arguments.length; i++){
|
|
2051
2095
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
2052
2096
|
var ownKeys = Object.keys(source);
|
|
@@ -2056,7 +2100,7 @@ function _object_spread$q(target) {
|
|
|
2056
2100
|
}));
|
|
2057
2101
|
}
|
|
2058
2102
|
ownKeys.forEach(function(key) {
|
|
2059
|
-
_define_property$
|
|
2103
|
+
_define_property$r(target, key, source[key]);
|
|
2060
2104
|
});
|
|
2061
2105
|
}
|
|
2062
2106
|
return target;
|
|
@@ -2067,12 +2111,12 @@ var CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY = "conversation_title_summary";
|
|
|
2067
2111
|
var CHAT_EVENT_TYPE_THREAD_GOAL_UPDATED = "thread_goal_updated";
|
|
2068
2112
|
var CHAT_EVENT_TYPE_THREAD_GOAL_CLEARED = "thread_goal_cleared";
|
|
2069
2113
|
function createConversationTitleSummaryEvent(event) {
|
|
2070
|
-
return _object_spread$
|
|
2114
|
+
return _object_spread$r({
|
|
2071
2115
|
type: CHAT_EVENT_TYPE_CONVERSATION_TITLE_SUMMARY
|
|
2072
2116
|
}, event);
|
|
2073
2117
|
}
|
|
2074
2118
|
function createFollowUpConsumedEvent(event) {
|
|
2075
|
-
return _object_spread$
|
|
2119
|
+
return _object_spread$r({
|
|
2076
2120
|
type: CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED
|
|
2077
2121
|
}, event);
|
|
2078
2122
|
}
|
|
@@ -2118,7 +2162,7 @@ function _array_with_holes$j(arr) {
|
|
|
2118
2162
|
function _array_without_holes$j(arr) {
|
|
2119
2163
|
if (Array.isArray(arr)) return _array_like_to_array$w(arr);
|
|
2120
2164
|
}
|
|
2121
|
-
function _define_property$
|
|
2165
|
+
function _define_property$q(obj, key, value) {
|
|
2122
2166
|
if (key in obj) {
|
|
2123
2167
|
Object.defineProperty(obj, key, {
|
|
2124
2168
|
value: value,
|
|
@@ -2164,7 +2208,7 @@ function _non_iterable_rest$j() {
|
|
|
2164
2208
|
function _non_iterable_spread$j() {
|
|
2165
2209
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2166
2210
|
}
|
|
2167
|
-
function _object_spread$
|
|
2211
|
+
function _object_spread$q(target) {
|
|
2168
2212
|
for(var i = 1; i < arguments.length; i++){
|
|
2169
2213
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
2170
2214
|
var ownKeys = Object.keys(source);
|
|
@@ -2174,12 +2218,12 @@ function _object_spread$p(target) {
|
|
|
2174
2218
|
}));
|
|
2175
2219
|
}
|
|
2176
2220
|
ownKeys.forEach(function(key) {
|
|
2177
|
-
_define_property$
|
|
2221
|
+
_define_property$q(target, key, source[key]);
|
|
2178
2222
|
});
|
|
2179
2223
|
}
|
|
2180
2224
|
return target;
|
|
2181
2225
|
}
|
|
2182
|
-
function ownKeys$
|
|
2226
|
+
function ownKeys$k(object, enumerableOnly) {
|
|
2183
2227
|
var keys = Object.keys(object);
|
|
2184
2228
|
if (Object.getOwnPropertySymbols) {
|
|
2185
2229
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -2187,12 +2231,12 @@ function ownKeys$j(object, enumerableOnly) {
|
|
|
2187
2231
|
}
|
|
2188
2232
|
return keys;
|
|
2189
2233
|
}
|
|
2190
|
-
function _object_spread_props$
|
|
2234
|
+
function _object_spread_props$k(target, source) {
|
|
2191
2235
|
source = source != null ? source : {};
|
|
2192
2236
|
if (Object.getOwnPropertyDescriptors) {
|
|
2193
2237
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
2194
2238
|
} else {
|
|
2195
|
-
ownKeys$
|
|
2239
|
+
ownKeys$k(Object(source)).forEach(function(key) {
|
|
2196
2240
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
2197
2241
|
});
|
|
2198
2242
|
}
|
|
@@ -2311,7 +2355,7 @@ function normalizeAssistantBindingToolPreferences(value) {
|
|
|
2311
2355
|
if (!Object.keys(toolsets).length && !Object.keys(middlewares).length && !Object.keys(skills).length) {
|
|
2312
2356
|
return null;
|
|
2313
2357
|
}
|
|
2314
|
-
return _object_spread$
|
|
2358
|
+
return _object_spread$q({
|
|
2315
2359
|
version: 1
|
|
2316
2360
|
}, Object.keys(toolsets).length ? {
|
|
2317
2361
|
toolsets: toolsets
|
|
@@ -2389,8 +2433,8 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
|
|
|
2389
2433
|
}) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$j(disabledTools).concat([
|
|
2390
2434
|
normalizedToolName
|
|
2391
2435
|
]));
|
|
2392
|
-
var toolsets = normalizedPreferences.toolsets ? _object_spread$
|
|
2393
|
-
var middlewares = normalizedPreferences.middlewares ? _object_spread$
|
|
2436
|
+
var toolsets = normalizedPreferences.toolsets ? _object_spread$q({}, normalizedPreferences.toolsets) : undefined;
|
|
2437
|
+
var middlewares = normalizedPreferences.middlewares ? _object_spread$q({}, normalizedPreferences.middlewares) : undefined;
|
|
2394
2438
|
if (sourceType === "toolset") {
|
|
2395
2439
|
var toolsetName = "toolsetName" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.toolsetName) : "";
|
|
2396
2440
|
if (!toolsetName) {
|
|
@@ -2406,14 +2450,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
|
|
|
2406
2450
|
} else {
|
|
2407
2451
|
delete nextToolsets[normalizedNodeKey];
|
|
2408
2452
|
}
|
|
2409
|
-
return normalizeAssistantBindingToolPreferences(_object_spread$
|
|
2453
|
+
return normalizeAssistantBindingToolPreferences(_object_spread$q({
|
|
2410
2454
|
version: 1
|
|
2411
2455
|
}, Object.keys(nextToolsets).length ? {
|
|
2412
2456
|
toolsets: nextToolsets
|
|
2413
2457
|
} : {}, middlewares && Object.keys(middlewares).length ? {
|
|
2414
2458
|
middlewares: middlewares
|
|
2415
2459
|
} : {}, normalizedPreferences.skills ? {
|
|
2416
|
-
skills: _object_spread$
|
|
2460
|
+
skills: _object_spread$q({}, normalizedPreferences.skills)
|
|
2417
2461
|
} : {}));
|
|
2418
2462
|
}
|
|
2419
2463
|
var provider = "provider" in metadata ? normalizeAssistantBindingPreferenceKey(metadata.provider) : "";
|
|
@@ -2429,14 +2473,14 @@ function updateAssistantBindingToolPreferences(preferences, sourceType, nodeKey,
|
|
|
2429
2473
|
} else {
|
|
2430
2474
|
delete nextMiddlewares[normalizedNodeKey];
|
|
2431
2475
|
}
|
|
2432
|
-
return normalizeAssistantBindingToolPreferences(_object_spread$
|
|
2476
|
+
return normalizeAssistantBindingToolPreferences(_object_spread$q({
|
|
2433
2477
|
version: 1
|
|
2434
2478
|
}, toolsets && Object.keys(toolsets).length ? {
|
|
2435
2479
|
toolsets: toolsets
|
|
2436
2480
|
} : {}, Object.keys(nextMiddlewares).length ? {
|
|
2437
2481
|
middlewares: nextMiddlewares
|
|
2438
2482
|
} : {}, normalizedPreferences.skills ? {
|
|
2439
|
-
skills: _object_spread$
|
|
2483
|
+
skills: _object_spread$q({}, normalizedPreferences.skills)
|
|
2440
2484
|
} : {}));
|
|
2441
2485
|
}
|
|
2442
2486
|
function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillId, enabled) {
|
|
@@ -2454,7 +2498,7 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
|
|
|
2454
2498
|
}) : normalizeAssistantBindingPreferenceIds(_to_consumable_array$j(disabledSkillIds).concat([
|
|
2455
2499
|
normalizedSkillId
|
|
2456
2500
|
]));
|
|
2457
|
-
var skills = normalizedPreferences.skills ? _object_spread$
|
|
2501
|
+
var skills = normalizedPreferences.skills ? _object_spread$q({}, normalizedPreferences.skills) : {};
|
|
2458
2502
|
if (nextDisabledSkillIds.length) {
|
|
2459
2503
|
skills[normalizedWorkspaceId] = {
|
|
2460
2504
|
workspaceId: normalizedWorkspaceId,
|
|
@@ -2463,12 +2507,12 @@ function updateAssistantBindingSkillPreferences(preferences, workspaceId, skillI
|
|
|
2463
2507
|
} else {
|
|
2464
2508
|
delete skills[normalizedWorkspaceId];
|
|
2465
2509
|
}
|
|
2466
|
-
return normalizeAssistantBindingToolPreferences(_object_spread$
|
|
2510
|
+
return normalizeAssistantBindingToolPreferences(_object_spread$q({
|
|
2467
2511
|
version: 1
|
|
2468
2512
|
}, normalizedPreferences.toolsets ? {
|
|
2469
|
-
toolsets: _object_spread$
|
|
2513
|
+
toolsets: _object_spread$q({}, normalizedPreferences.toolsets)
|
|
2470
2514
|
} : {}, normalizedPreferences.middlewares ? {
|
|
2471
|
-
middlewares: _object_spread$
|
|
2515
|
+
middlewares: _object_spread$q({}, normalizedPreferences.middlewares)
|
|
2472
2516
|
} : {}, Object.keys(skills).length ? {
|
|
2473
2517
|
skills: skills
|
|
2474
2518
|
} : {}));
|
|
@@ -2486,14 +2530,14 @@ function ensureAssistantBindingSkillWorkspacePreference(preferences, workspaceId
|
|
|
2486
2530
|
var currentSkills = (_normalizedPreferences_skills = normalizedPreferences.skills) !== null && _normalizedPreferences_skills !== void 0 ? _normalizedPreferences_skills : {};
|
|
2487
2531
|
var currentWorkspacePreference = currentSkills[normalizedWorkspaceId];
|
|
2488
2532
|
var _currentWorkspacePreference_disabledSkillIds;
|
|
2489
|
-
return _object_spread_props$
|
|
2533
|
+
return _object_spread_props$k(_object_spread$q({
|
|
2490
2534
|
version: 1
|
|
2491
2535
|
}, normalizedPreferences.toolsets ? {
|
|
2492
|
-
toolsets: _object_spread$
|
|
2536
|
+
toolsets: _object_spread$q({}, normalizedPreferences.toolsets)
|
|
2493
2537
|
} : {}, normalizedPreferences.middlewares ? {
|
|
2494
|
-
middlewares: _object_spread$
|
|
2538
|
+
middlewares: _object_spread$q({}, normalizedPreferences.middlewares)
|
|
2495
2539
|
} : {}), {
|
|
2496
|
-
skills: _object_spread_props$
|
|
2540
|
+
skills: _object_spread_props$k(_object_spread$q({}, currentSkills), _define_property$q({}, normalizedWorkspaceId, {
|
|
2497
2541
|
workspaceId: normalizeAssistantBindingPreferenceKey(currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.workspaceId) || normalizedWorkspaceId,
|
|
2498
2542
|
disabledSkillIds: (_currentWorkspacePreference_disabledSkillIds = currentWorkspacePreference === null || currentWorkspacePreference === void 0 ? void 0 : currentWorkspacePreference.disabledSkillIds) !== null && _currentWorkspacePreference_disabledSkillIds !== void 0 ? _currentWorkspacePreference_disabledSkillIds : []
|
|
2499
2543
|
}))
|
|
@@ -2825,7 +2869,7 @@ function _array_like_to_array$t(arr, len) {
|
|
|
2825
2869
|
function _array_without_holes$h(arr) {
|
|
2826
2870
|
if (Array.isArray(arr)) return _array_like_to_array$t(arr);
|
|
2827
2871
|
}
|
|
2828
|
-
function _define_property$
|
|
2872
|
+
function _define_property$p(obj, key, value) {
|
|
2829
2873
|
if (key in obj) {
|
|
2830
2874
|
Object.defineProperty(obj, key, {
|
|
2831
2875
|
value: value,
|
|
@@ -2844,7 +2888,7 @@ function _iterable_to_array$j(iter) {
|
|
|
2844
2888
|
function _non_iterable_spread$h() {
|
|
2845
2889
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2846
2890
|
}
|
|
2847
|
-
function _object_spread$
|
|
2891
|
+
function _object_spread$p(target) {
|
|
2848
2892
|
for(var i = 1; i < arguments.length; i++){
|
|
2849
2893
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
2850
2894
|
var ownKeys = Object.keys(source);
|
|
@@ -2854,12 +2898,12 @@ function _object_spread$o(target) {
|
|
|
2854
2898
|
}));
|
|
2855
2899
|
}
|
|
2856
2900
|
ownKeys.forEach(function(key) {
|
|
2857
|
-
_define_property$
|
|
2901
|
+
_define_property$p(target, key, source[key]);
|
|
2858
2902
|
});
|
|
2859
2903
|
}
|
|
2860
2904
|
return target;
|
|
2861
2905
|
}
|
|
2862
|
-
function ownKeys$
|
|
2906
|
+
function ownKeys$j(object, enumerableOnly) {
|
|
2863
2907
|
var keys = Object.keys(object);
|
|
2864
2908
|
if (Object.getOwnPropertySymbols) {
|
|
2865
2909
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -2867,12 +2911,12 @@ function ownKeys$i(object, enumerableOnly) {
|
|
|
2867
2911
|
}
|
|
2868
2912
|
return keys;
|
|
2869
2913
|
}
|
|
2870
|
-
function _object_spread_props$
|
|
2914
|
+
function _object_spread_props$j(target, source) {
|
|
2871
2915
|
source = source != null ? source : {};
|
|
2872
2916
|
if (Object.getOwnPropertyDescriptors) {
|
|
2873
2917
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
2874
2918
|
} else {
|
|
2875
|
-
ownKeys$
|
|
2919
|
+
ownKeys$j(Object(source)).forEach(function(key) {
|
|
2876
2920
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
2877
2921
|
});
|
|
2878
2922
|
}
|
|
@@ -2901,20 +2945,20 @@ var common$1 = {
|
|
|
2901
2945
|
maxConcurrency: positiveInteger.max(1000)
|
|
2902
2946
|
};
|
|
2903
2947
|
/** Saved model configuration is explicit; name heuristics are only discovery suggestions. */ var modelConfigurationSchema = zod.z.discriminatedUnion("modelType", [
|
|
2904
|
-
zod.z.object(_object_spread_props$
|
|
2948
|
+
zod.z.object(_object_spread_props$j(_object_spread$p({
|
|
2905
2949
|
modelType: zod.z.literal(exports.AiModelTypeEnum.LLM)
|
|
2906
2950
|
}, common$1), {
|
|
2907
2951
|
maxOutputTokens: positiveInteger,
|
|
2908
2952
|
defaultMaxTokens: positiveInteger,
|
|
2909
2953
|
features: zod.z.array(zod.z.nativeEnum(exports.ModelFeature)).max(20)
|
|
2910
2954
|
})).strict(),
|
|
2911
|
-
zod.z.object(_object_spread_props$
|
|
2955
|
+
zod.z.object(_object_spread_props$j(_object_spread$p({
|
|
2912
2956
|
modelType: zod.z.literal(exports.AiModelTypeEnum.TEXT_EMBEDDING)
|
|
2913
2957
|
}, common$1), {
|
|
2914
2958
|
dimensions: positiveInteger.optional(),
|
|
2915
2959
|
batchSize: positiveInteger.max(2048)
|
|
2916
2960
|
})).strict(),
|
|
2917
|
-
zod.z.object(_object_spread$
|
|
2961
|
+
zod.z.object(_object_spread$p({
|
|
2918
2962
|
modelType: zod.z.literal(exports.AiModelTypeEnum.RERANK)
|
|
2919
2963
|
}, common$1)).strict()
|
|
2920
2964
|
]).superRefine(function(value, ctx) {
|
|
@@ -2946,7 +2990,7 @@ function defaultModelConfiguration(modelType) {
|
|
|
2946
2990
|
};
|
|
2947
2991
|
switch(modelType){
|
|
2948
2992
|
case exports.AiModelTypeEnum.LLM:
|
|
2949
|
-
return _object_spread_props$
|
|
2993
|
+
return _object_spread_props$j(_object_spread$p({
|
|
2950
2994
|
modelType: modelType
|
|
2951
2995
|
}, common), {
|
|
2952
2996
|
maxOutputTokens: 2048,
|
|
@@ -2954,13 +2998,13 @@ function defaultModelConfiguration(modelType) {
|
|
|
2954
2998
|
features: []
|
|
2955
2999
|
});
|
|
2956
3000
|
case exports.AiModelTypeEnum.TEXT_EMBEDDING:
|
|
2957
|
-
return _object_spread_props$
|
|
3001
|
+
return _object_spread_props$j(_object_spread$p({
|
|
2958
3002
|
modelType: modelType
|
|
2959
3003
|
}, common), {
|
|
2960
3004
|
batchSize: DEFAULT_EMBEDDING_BATCH_SIZE
|
|
2961
3005
|
});
|
|
2962
3006
|
case exports.AiModelTypeEnum.RERANK:
|
|
2963
|
-
return _object_spread$
|
|
3007
|
+
return _object_spread$p({
|
|
2964
3008
|
modelType: modelType
|
|
2965
3009
|
}, common);
|
|
2966
3010
|
}
|
|
@@ -3121,9 +3165,6 @@ var MIN_COPILOT_CHECKPOINT_RETENTION_DAYS = 1;
|
|
|
3121
3165
|
var DEFAULT_COPILOT_CHECKPOINT_RETENTION_DAYS = 60;
|
|
3122
3166
|
var MAX_COPILOT_CHECKPOINT_RETENTION_DAYS = 3650;
|
|
3123
3167
|
|
|
3124
|
-
var MEMORY_QA_PROMPT = "Summarize the experience of the above conversation and output a short question and answer.";
|
|
3125
|
-
var MEMORY_PROFILE_PROMPT = "Extract new user profile information from the above conversation in one short sentence. If no new information is available, return nothing.";
|
|
3126
|
-
|
|
3127
3168
|
var USAGE_HOUR_FORMAT = "yyyy-MM-dd HH";
|
|
3128
3169
|
|
|
3129
3170
|
/** @deprecated Use DefaultModelRole for default assignments; connections have no default purpose. */ exports.AiProviderRole = void 0;
|
|
@@ -3573,7 +3614,7 @@ function workflowNodeIdentifier(node) {
|
|
|
3573
3614
|
return node.title || node.key;
|
|
3574
3615
|
}
|
|
3575
3616
|
|
|
3576
|
-
function _define_property$
|
|
3617
|
+
function _define_property$o(obj, key, value) {
|
|
3577
3618
|
if (key in obj) {
|
|
3578
3619
|
Object.defineProperty(obj, key, {
|
|
3579
3620
|
value: value,
|
|
@@ -3586,7 +3627,7 @@ function _define_property$n(obj, key, value) {
|
|
|
3586
3627
|
}
|
|
3587
3628
|
return obj;
|
|
3588
3629
|
}
|
|
3589
|
-
function _object_spread$
|
|
3630
|
+
function _object_spread$o(target) {
|
|
3590
3631
|
for(var i = 1; i < arguments.length; i++){
|
|
3591
3632
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3592
3633
|
var ownKeys = Object.keys(source);
|
|
@@ -3596,12 +3637,12 @@ function _object_spread$n(target) {
|
|
|
3596
3637
|
}));
|
|
3597
3638
|
}
|
|
3598
3639
|
ownKeys.forEach(function(key) {
|
|
3599
|
-
_define_property$
|
|
3640
|
+
_define_property$o(target, key, source[key]);
|
|
3600
3641
|
});
|
|
3601
3642
|
}
|
|
3602
3643
|
return target;
|
|
3603
3644
|
}
|
|
3604
|
-
function ownKeys$
|
|
3645
|
+
function ownKeys$i(object, enumerableOnly) {
|
|
3605
3646
|
var keys = Object.keys(object);
|
|
3606
3647
|
if (Object.getOwnPropertySymbols) {
|
|
3607
3648
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -3609,12 +3650,12 @@ function ownKeys$h(object, enumerableOnly) {
|
|
|
3609
3650
|
}
|
|
3610
3651
|
return keys;
|
|
3611
3652
|
}
|
|
3612
|
-
function _object_spread_props$
|
|
3653
|
+
function _object_spread_props$i(target, source) {
|
|
3613
3654
|
source = source != null ? source : {};
|
|
3614
3655
|
if (Object.getOwnPropertyDescriptors) {
|
|
3615
3656
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
3616
3657
|
} else {
|
|
3617
|
-
ownKeys$
|
|
3658
|
+
ownKeys$i(Object(source)).forEach(function(key) {
|
|
3618
3659
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3619
3660
|
});
|
|
3620
3661
|
}
|
|
@@ -3687,15 +3728,10 @@ function normalizeXpertAgentConfig(agentConfig) {
|
|
|
3687
3728
|
var _ref = agentConfig !== null && agentConfig !== void 0 ? agentConfig : {}; _ref.maxConcurrency; var config = _object_without_properties$2(_ref, [
|
|
3688
3729
|
"maxConcurrency"
|
|
3689
3730
|
]);
|
|
3690
|
-
return _object_spread_props$
|
|
3731
|
+
return _object_spread_props$i(_object_spread$o({}, config), {
|
|
3691
3732
|
recursionLimit: getXpertAgentRecursionLimit(agentConfig)
|
|
3692
3733
|
});
|
|
3693
3734
|
}
|
|
3694
|
-
exports.LongTermMemoryTypeEnum = void 0;
|
|
3695
|
-
(function(LongTermMemoryTypeEnum) {
|
|
3696
|
-
LongTermMemoryTypeEnum["PROFILE"] = "profile";
|
|
3697
|
-
LongTermMemoryTypeEnum["QA"] = "qa";
|
|
3698
|
-
})(exports.LongTermMemoryTypeEnum || (exports.LongTermMemoryTypeEnum = {}));
|
|
3699
3735
|
exports.XpertParameterTypeEnum = void 0;
|
|
3700
3736
|
(function(XpertParameterTypeEnum) {
|
|
3701
3737
|
/**
|
|
@@ -3781,7 +3817,7 @@ function _array_like_to_array$s(arr, len) {
|
|
|
3781
3817
|
function _array_with_holes$h(arr) {
|
|
3782
3818
|
if (Array.isArray(arr)) return arr;
|
|
3783
3819
|
}
|
|
3784
|
-
function _define_property$
|
|
3820
|
+
function _define_property$n(obj, key, value) {
|
|
3785
3821
|
if (key in obj) {
|
|
3786
3822
|
Object.defineProperty(obj, key, {
|
|
3787
3823
|
value: value,
|
|
@@ -3821,7 +3857,7 @@ function _iterable_to_array_limit$f(arr, i) {
|
|
|
3821
3857
|
function _non_iterable_rest$h() {
|
|
3822
3858
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3823
3859
|
}
|
|
3824
|
-
function _object_spread$
|
|
3860
|
+
function _object_spread$n(target) {
|
|
3825
3861
|
for(var i = 1; i < arguments.length; i++){
|
|
3826
3862
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3827
3863
|
var ownKeys = Object.keys(source);
|
|
@@ -3831,12 +3867,12 @@ function _object_spread$m(target) {
|
|
|
3831
3867
|
}));
|
|
3832
3868
|
}
|
|
3833
3869
|
ownKeys.forEach(function(key) {
|
|
3834
|
-
_define_property$
|
|
3870
|
+
_define_property$n(target, key, source[key]);
|
|
3835
3871
|
});
|
|
3836
3872
|
}
|
|
3837
3873
|
return target;
|
|
3838
3874
|
}
|
|
3839
|
-
function ownKeys$
|
|
3875
|
+
function ownKeys$h(object, enumerableOnly) {
|
|
3840
3876
|
var keys = Object.keys(object);
|
|
3841
3877
|
if (Object.getOwnPropertySymbols) {
|
|
3842
3878
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -3844,12 +3880,12 @@ function ownKeys$g(object, enumerableOnly) {
|
|
|
3844
3880
|
}
|
|
3845
3881
|
return keys;
|
|
3846
3882
|
}
|
|
3847
|
-
function _object_spread_props$
|
|
3883
|
+
function _object_spread_props$h(target, source) {
|
|
3848
3884
|
source = source != null ? source : {};
|
|
3849
3885
|
if (Object.getOwnPropertyDescriptors) {
|
|
3850
3886
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
3851
3887
|
} else {
|
|
3852
|
-
ownKeys$
|
|
3888
|
+
ownKeys$h(Object(source)).forEach(function(key) {
|
|
3853
3889
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3854
3890
|
});
|
|
3855
3891
|
}
|
|
@@ -3949,7 +3985,7 @@ function configurableStoreNamespace(configurable) {
|
|
|
3949
3985
|
var _varName_split = _sliced_to_array$f(varName.split("."), 2), agentChannelName = _varName_split[0], variableName = _varName_split[1];
|
|
3950
3986
|
if (variableName) {
|
|
3951
3987
|
var _state_agentChannelName;
|
|
3952
|
-
state[agentChannelName] = _object_spread_props$
|
|
3988
|
+
state[agentChannelName] = _object_spread_props$h(_object_spread$n({}, (_state_agentChannelName = state[agentChannelName]) !== null && _state_agentChannelName !== void 0 ? _state_agentChannelName : {}), _define_property$n({}, variableName, value));
|
|
3953
3989
|
} else {
|
|
3954
3990
|
state[agentChannelName] = value;
|
|
3955
3991
|
}
|
|
@@ -4040,7 +4076,7 @@ function getWorkflowTriggers(graph, from) {
|
|
|
4040
4076
|
});
|
|
4041
4077
|
}
|
|
4042
4078
|
|
|
4043
|
-
function _define_property$
|
|
4079
|
+
function _define_property$m(obj, key, value) {
|
|
4044
4080
|
if (key in obj) {
|
|
4045
4081
|
Object.defineProperty(obj, key, {
|
|
4046
4082
|
value: value,
|
|
@@ -4053,7 +4089,7 @@ function _define_property$l(obj, key, value) {
|
|
|
4053
4089
|
}
|
|
4054
4090
|
return obj;
|
|
4055
4091
|
}
|
|
4056
|
-
function _object_spread$
|
|
4092
|
+
function _object_spread$m(target) {
|
|
4057
4093
|
for(var i = 1; i < arguments.length; i++){
|
|
4058
4094
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
4059
4095
|
var ownKeys = Object.keys(source);
|
|
@@ -4063,12 +4099,12 @@ function _object_spread$l(target) {
|
|
|
4063
4099
|
}));
|
|
4064
4100
|
}
|
|
4065
4101
|
ownKeys.forEach(function(key) {
|
|
4066
|
-
_define_property$
|
|
4102
|
+
_define_property$m(target, key, source[key]);
|
|
4067
4103
|
});
|
|
4068
4104
|
}
|
|
4069
4105
|
return target;
|
|
4070
4106
|
}
|
|
4071
|
-
function ownKeys$
|
|
4107
|
+
function ownKeys$g(object, enumerableOnly) {
|
|
4072
4108
|
var keys = Object.keys(object);
|
|
4073
4109
|
if (Object.getOwnPropertySymbols) {
|
|
4074
4110
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -4076,12 +4112,12 @@ function ownKeys$f(object, enumerableOnly) {
|
|
|
4076
4112
|
}
|
|
4077
4113
|
return keys;
|
|
4078
4114
|
}
|
|
4079
|
-
function _object_spread_props$
|
|
4115
|
+
function _object_spread_props$g(target, source) {
|
|
4080
4116
|
source = source != null ? source : {};
|
|
4081
4117
|
if (Object.getOwnPropertyDescriptors) {
|
|
4082
4118
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
4083
4119
|
} else {
|
|
4084
|
-
ownKeys$
|
|
4120
|
+
ownKeys$g(Object(source)).forEach(function(key) {
|
|
4085
4121
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
4086
4122
|
});
|
|
4087
4123
|
}
|
|
@@ -4169,11 +4205,11 @@ var KNOWLEDGEBASE_FAQ_RETRIEVAL_MODES = [
|
|
|
4169
4205
|
return candidate === requestedMode;
|
|
4170
4206
|
}) ? requestedMode : DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.mode;
|
|
4171
4207
|
var _recall_fusion2, _recall_fusion_mode, _recall_fusion_weights;
|
|
4172
|
-
return _object_spread_props$
|
|
4208
|
+
return _object_spread_props$g(_object_spread$m({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL, recall !== null && recall !== void 0 ? recall : {}), {
|
|
4173
4209
|
mode: mode,
|
|
4174
|
-
fusion: _object_spread_props$
|
|
4210
|
+
fusion: _object_spread_props$g(_object_spread$m({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion, (_recall_fusion2 = recall === null || recall === void 0 ? void 0 : recall.fusion) !== null && _recall_fusion2 !== void 0 ? _recall_fusion2 : {}), {
|
|
4175
4211
|
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,
|
|
4176
|
-
weights: _object_spread_props$
|
|
4212
|
+
weights: _object_spread_props$g(_object_spread$m({}, DEFAULT_KNOWLEDGEBASE_FAQ_RECALL.fusion.weights, (_recall_fusion_weights = recall === null || recall === void 0 ? void 0 : (_recall_fusion1 = recall.fusion) === null || _recall_fusion1 === void 0 ? void 0 : _recall_fusion1.weights) !== null && _recall_fusion_weights !== void 0 ? _recall_fusion_weights : {}), {
|
|
4177
4213
|
graph: 0
|
|
4178
4214
|
})
|
|
4179
4215
|
})
|
|
@@ -4342,7 +4378,7 @@ function _array_like_to_array$q(arr, len) {
|
|
|
4342
4378
|
function _array_without_holes$f(arr) {
|
|
4343
4379
|
if (Array.isArray(arr)) return _array_like_to_array$q(arr);
|
|
4344
4380
|
}
|
|
4345
|
-
function _define_property$
|
|
4381
|
+
function _define_property$l(obj, key, value) {
|
|
4346
4382
|
if (key in obj) {
|
|
4347
4383
|
Object.defineProperty(obj, key, {
|
|
4348
4384
|
value: value,
|
|
@@ -4361,7 +4397,7 @@ function _iterable_to_array$h(iter) {
|
|
|
4361
4397
|
function _non_iterable_spread$f() {
|
|
4362
4398
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
4363
4399
|
}
|
|
4364
|
-
function _object_spread$
|
|
4400
|
+
function _object_spread$l(target) {
|
|
4365
4401
|
for(var i = 1; i < arguments.length; i++){
|
|
4366
4402
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
4367
4403
|
var ownKeys = Object.keys(source);
|
|
@@ -4371,7 +4407,7 @@ function _object_spread$k(target) {
|
|
|
4371
4407
|
}));
|
|
4372
4408
|
}
|
|
4373
4409
|
ownKeys.forEach(function(key) {
|
|
4374
|
-
_define_property$
|
|
4410
|
+
_define_property$l(target, key, source[key]);
|
|
4375
4411
|
});
|
|
4376
4412
|
}
|
|
4377
4413
|
return target;
|
|
@@ -4389,12 +4425,12 @@ function _unsupported_iterable_to_array$q(o, minLen) {
|
|
|
4389
4425
|
}
|
|
4390
4426
|
/** Only copy configured defaults; do not turn built-in defaults into document overrides. */ function knowledgebaseDocumentParserDefaults(config, documentType) {
|
|
4391
4427
|
if (!config) return {};
|
|
4392
|
-
return _object_spread$
|
|
4393
|
-
spreadsheet: _object_spread$
|
|
4428
|
+
return _object_spread$l({}, config.spreadsheet ? {
|
|
4429
|
+
spreadsheet: _object_spread$l({}, config.spreadsheet)
|
|
4394
4430
|
} : {}, config.tableMetadataRequirements !== undefined ? {
|
|
4395
4431
|
tableMetadataRequirements: config.tableMetadataRequirements
|
|
4396
4432
|
} : {}, config.questionGeneration ? {
|
|
4397
|
-
questionGeneration: _object_spread$
|
|
4433
|
+
questionGeneration: _object_spread$l({}, config.questionGeneration)
|
|
4398
4434
|
} : {}, config.chunkLanguageHint !== undefined ? {
|
|
4399
4435
|
chunkLanguageHint: config.chunkLanguageHint
|
|
4400
4436
|
} : {}, config.maxChunkTokens !== undefined ? {
|
|
@@ -4408,7 +4444,7 @@ function _unsupported_iterable_to_array$q(o, minLen) {
|
|
|
4408
4444
|
} : {}, config.textSplitterType ? {
|
|
4409
4445
|
textSplitterType: config.textSplitterType
|
|
4410
4446
|
} : {}, config.textSplitter || config.chunkSize != null || config.chunkOverlap != null ? {
|
|
4411
|
-
textSplitter: _object_spread$
|
|
4447
|
+
textSplitter: _object_spread$l({}, config.chunkSize != null ? {
|
|
4412
4448
|
chunkSize: config.chunkSize
|
|
4413
4449
|
} : {}, config.chunkOverlap != null ? {
|
|
4414
4450
|
chunkOverlap: config.chunkOverlap
|
|
@@ -4420,7 +4456,7 @@ function _unsupported_iterable_to_array$q(o, minLen) {
|
|
|
4420
4456
|
} : {}, config.imageUnderstandingType ? {
|
|
4421
4457
|
imageUnderstandingType: config.imageUnderstandingType
|
|
4422
4458
|
} : {}, config.imageUnderstanding ? {
|
|
4423
|
-
imageUnderstanding: _object_spread$
|
|
4459
|
+
imageUnderstanding: _object_spread$l({}, config.imageUnderstanding)
|
|
4424
4460
|
} : {}, knowledgebaseParserSelection(config, documentType !== null && documentType !== void 0 ? documentType : ""));
|
|
4425
4461
|
}
|
|
4426
4462
|
/** Arrays are the canonical ordered format; retain the plugin's legacy comma syntax. */ function decodeKnowledgeSeparators(value) {
|
|
@@ -4485,7 +4521,7 @@ function genPipelineKnowledgeBaseKey() {
|
|
|
4485
4521
|
return letterStartSUID("KnowledgeBase_");
|
|
4486
4522
|
}
|
|
4487
4523
|
|
|
4488
|
-
function _define_property$
|
|
4524
|
+
function _define_property$k(obj, key, value) {
|
|
4489
4525
|
if (key in obj) {
|
|
4490
4526
|
Object.defineProperty(obj, key, {
|
|
4491
4527
|
value: value,
|
|
@@ -4498,7 +4534,7 @@ function _define_property$j(obj, key, value) {
|
|
|
4498
4534
|
}
|
|
4499
4535
|
return obj;
|
|
4500
4536
|
}
|
|
4501
|
-
function _object_spread$
|
|
4537
|
+
function _object_spread$k(target) {
|
|
4502
4538
|
for(var i = 1; i < arguments.length; i++){
|
|
4503
4539
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
4504
4540
|
var ownKeys = Object.keys(source);
|
|
@@ -4508,7 +4544,7 @@ function _object_spread$j(target) {
|
|
|
4508
4544
|
}));
|
|
4509
4545
|
}
|
|
4510
4546
|
ownKeys.forEach(function(key) {
|
|
4511
|
-
_define_property$
|
|
4547
|
+
_define_property$k(target, key, source[key]);
|
|
4512
4548
|
});
|
|
4513
4549
|
}
|
|
4514
4550
|
return target;
|
|
@@ -4528,7 +4564,7 @@ function _object_spread$j(target) {
|
|
|
4528
4564
|
* @deprecated use DocumentSourceProviderCategoryEnum local file type instead
|
|
4529
4565
|
*/ DocumentTypeEnum["FILE"] = "file";
|
|
4530
4566
|
})(exports.DocumentTypeEnum || (exports.DocumentTypeEnum = {}));
|
|
4531
|
-
var KDocumentSourceType = _object_spread$
|
|
4567
|
+
var KDocumentSourceType = _object_spread$k({}, exports.DocumentSourceProviderCategoryEnum, exports.DocumentTypeEnum);
|
|
4532
4568
|
/**
|
|
4533
4569
|
* Document type category, determine how to process the document.
|
|
4534
4570
|
*/ exports.KBDocumentCategoryEnum = void 0;
|
|
@@ -5414,7 +5450,7 @@ function _array_like_to_array$o(arr, len) {
|
|
|
5414
5450
|
function _array_without_holes$d(arr) {
|
|
5415
5451
|
if (Array.isArray(arr)) return _array_like_to_array$o(arr);
|
|
5416
5452
|
}
|
|
5417
|
-
function _define_property$
|
|
5453
|
+
function _define_property$j(obj, key, value) {
|
|
5418
5454
|
if (key in obj) {
|
|
5419
5455
|
Object.defineProperty(obj, key, {
|
|
5420
5456
|
value: value,
|
|
@@ -5433,7 +5469,7 @@ function _iterable_to_array$f(iter) {
|
|
|
5433
5469
|
function _non_iterable_spread$d() {
|
|
5434
5470
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5435
5471
|
}
|
|
5436
|
-
function _object_spread$
|
|
5472
|
+
function _object_spread$j(target) {
|
|
5437
5473
|
for(var i = 1; i < arguments.length; i++){
|
|
5438
5474
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
5439
5475
|
var ownKeys = Object.keys(source);
|
|
@@ -5443,12 +5479,12 @@ function _object_spread$i(target) {
|
|
|
5443
5479
|
}));
|
|
5444
5480
|
}
|
|
5445
5481
|
ownKeys.forEach(function(key) {
|
|
5446
|
-
_define_property$
|
|
5482
|
+
_define_property$j(target, key, source[key]);
|
|
5447
5483
|
});
|
|
5448
5484
|
}
|
|
5449
5485
|
return target;
|
|
5450
5486
|
}
|
|
5451
|
-
function ownKeys$
|
|
5487
|
+
function ownKeys$f(object, enumerableOnly) {
|
|
5452
5488
|
var keys = Object.keys(object);
|
|
5453
5489
|
if (Object.getOwnPropertySymbols) {
|
|
5454
5490
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -5456,12 +5492,12 @@ function ownKeys$e(object, enumerableOnly) {
|
|
|
5456
5492
|
}
|
|
5457
5493
|
return keys;
|
|
5458
5494
|
}
|
|
5459
|
-
function _object_spread_props$
|
|
5495
|
+
function _object_spread_props$f(target, source) {
|
|
5460
5496
|
source = source != null ? source : {};
|
|
5461
5497
|
if (Object.getOwnPropertyDescriptors) {
|
|
5462
5498
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
5463
5499
|
} else {
|
|
5464
|
-
ownKeys$
|
|
5500
|
+
ownKeys$f(Object(source)).forEach(function(key) {
|
|
5465
5501
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
5466
5502
|
});
|
|
5467
5503
|
}
|
|
@@ -5542,7 +5578,7 @@ function resolveRuntimeXpert(xpert, isDraft) {
|
|
|
5542
5578
|
var graph = resolveDraftRuntimeGraph(xpert, draft);
|
|
5543
5579
|
var agent = resolveDraftPrimaryAgent(xpert, draft, graph);
|
|
5544
5580
|
var _draft_team5, _draft_team_workspaceId, _draft_team_agentConfig, _draft_team_commandProfile, _draft_team_features, _draft_team_options;
|
|
5545
|
-
return _object_spread_props$
|
|
5581
|
+
return _object_spread_props$f(_object_spread$j({}, xpert, (_draft_team5 = draft.team) !== null && _draft_team5 !== void 0 ? _draft_team5 : {}), {
|
|
5546
5582
|
id: xpert.id,
|
|
5547
5583
|
tenantId: xpert.tenantId,
|
|
5548
5584
|
organizationId: xpert.organizationId,
|
|
@@ -5826,9 +5862,9 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
|
|
|
5826
5862
|
if (node.type === "agent" && node.key === sourceKey) {
|
|
5827
5863
|
replacedNode = true;
|
|
5828
5864
|
var _node_entity;
|
|
5829
|
-
return _object_spread_props$
|
|
5865
|
+
return _object_spread_props$f(_object_spread$j({}, node), {
|
|
5830
5866
|
key: targetKey,
|
|
5831
|
-
entity: _object_spread_props$
|
|
5867
|
+
entity: _object_spread_props$f(_object_spread$j({}, (_node_entity = node.entity) !== null && _node_entity !== void 0 ? _node_entity : {}, agent), {
|
|
5832
5868
|
key: targetKey
|
|
5833
5869
|
})
|
|
5834
5870
|
});
|
|
@@ -5844,17 +5880,17 @@ function replaceAgentInDraft(draft, sourceKey, agent, options) {
|
|
|
5844
5880
|
if (from === connection.from && to === connection.to) {
|
|
5845
5881
|
return connection;
|
|
5846
5882
|
}
|
|
5847
|
-
return _object_spread_props$
|
|
5883
|
+
return _object_spread_props$f(_object_spread$j({}, connection), {
|
|
5848
5884
|
from: from,
|
|
5849
5885
|
to: to,
|
|
5850
5886
|
key: "".concat(from, "/").concat(to)
|
|
5851
5887
|
});
|
|
5852
5888
|
});
|
|
5853
|
-
return _object_spread_props$
|
|
5854
|
-
team: draft.team ? _object_spread_props$
|
|
5855
|
-
agent: draft.team.agent ? _object_spread_props$
|
|
5889
|
+
return _object_spread_props$f(_object_spread$j({}, draft), {
|
|
5890
|
+
team: draft.team ? _object_spread_props$f(_object_spread$j({}, draft.team), {
|
|
5891
|
+
agent: draft.team.agent ? _object_spread_props$f(_object_spread$j({}, draft.team.agent, agent), {
|
|
5856
5892
|
key: targetKey
|
|
5857
|
-
}) : _object_spread_props$
|
|
5893
|
+
}) : _object_spread_props$f(_object_spread$j({}, agent), {
|
|
5858
5894
|
key: targetKey
|
|
5859
5895
|
})
|
|
5860
5896
|
}) : draft.team,
|
|
@@ -6002,6 +6038,148 @@ var GENERAL_PROJECT_TYPE = {
|
|
|
6002
6038
|
projectTypeKey: "space"
|
|
6003
6039
|
};
|
|
6004
6040
|
|
|
6041
|
+
function _define_property$i(obj, key, value) {
|
|
6042
|
+
if (key in obj) {
|
|
6043
|
+
Object.defineProperty(obj, key, {
|
|
6044
|
+
value: value,
|
|
6045
|
+
enumerable: true,
|
|
6046
|
+
configurable: true,
|
|
6047
|
+
writable: true
|
|
6048
|
+
});
|
|
6049
|
+
} else {
|
|
6050
|
+
obj[key] = value;
|
|
6051
|
+
}
|
|
6052
|
+
return obj;
|
|
6053
|
+
}
|
|
6054
|
+
function _object_spread$i(target) {
|
|
6055
|
+
for(var i = 1; i < arguments.length; i++){
|
|
6056
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
6057
|
+
var ownKeys = Object.keys(source);
|
|
6058
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
6059
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
6060
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
6061
|
+
}));
|
|
6062
|
+
}
|
|
6063
|
+
ownKeys.forEach(function(key) {
|
|
6064
|
+
_define_property$i(target, key, source[key]);
|
|
6065
|
+
});
|
|
6066
|
+
}
|
|
6067
|
+
return target;
|
|
6068
|
+
}
|
|
6069
|
+
function ownKeys$e(object, enumerableOnly) {
|
|
6070
|
+
var keys = Object.keys(object);
|
|
6071
|
+
if (Object.getOwnPropertySymbols) {
|
|
6072
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
6073
|
+
keys.push.apply(keys, symbols);
|
|
6074
|
+
}
|
|
6075
|
+
return keys;
|
|
6076
|
+
}
|
|
6077
|
+
function _object_spread_props$e(target, source) {
|
|
6078
|
+
source = source != null ? source : {};
|
|
6079
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
6080
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6081
|
+
} else {
|
|
6082
|
+
ownKeys$e(Object(source)).forEach(function(key) {
|
|
6083
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6084
|
+
});
|
|
6085
|
+
}
|
|
6086
|
+
return target;
|
|
6087
|
+
}
|
|
6088
|
+
var valueSchema = v3.z.lazy(function() {
|
|
6089
|
+
return v3.z.union([
|
|
6090
|
+
v3.z.string(),
|
|
6091
|
+
v3.z.number().finite(),
|
|
6092
|
+
v3.z.boolean(),
|
|
6093
|
+
v3.z.null(),
|
|
6094
|
+
v3.z.array(valueSchema),
|
|
6095
|
+
v3.z.record(valueSchema)
|
|
6096
|
+
]);
|
|
6097
|
+
});
|
|
6098
|
+
var projectConfigurationValuesSchema = v3.z.record(valueSchema).refine(function(values) {
|
|
6099
|
+
return JSON.stringify(values).length <= 65536;
|
|
6100
|
+
}, "Project configuration is too large");
|
|
6101
|
+
var projectConfigurationUpdateSchema = v3.z.object({
|
|
6102
|
+
revision: v3.z.number().int().nonnegative(),
|
|
6103
|
+
values: projectConfigurationValuesSchema
|
|
6104
|
+
}).strict();
|
|
6105
|
+
/** Reserved host setting; custom type settings remain uninterpreted by the runtime. */ var projectTaskDurationSchema = v3.z.number().int().min(60).max(86400);
|
|
6106
|
+
function projectTaskConfigurationSchema(defaultSeconds) {
|
|
6107
|
+
return {
|
|
6108
|
+
type: "object",
|
|
6109
|
+
additionalProperties: false,
|
|
6110
|
+
properties: {
|
|
6111
|
+
taskExecutionMaxDurationSeconds: _object_spread_props$e(_object_spread$i({
|
|
6112
|
+
type: "integer",
|
|
6113
|
+
minimum: 60,
|
|
6114
|
+
maximum: 86400
|
|
6115
|
+
}, defaultSeconds === undefined ? {} : {
|
|
6116
|
+
default: defaultSeconds
|
|
6117
|
+
}), {
|
|
6118
|
+
title: {
|
|
6119
|
+
en_US: "Task execution limit (seconds)",
|
|
6120
|
+
zh_Hans: "单次任务执行上限(秒)"
|
|
6121
|
+
},
|
|
6122
|
+
description: {
|
|
6123
|
+
en_US: "7200 seconds is 2 hours. Applies to new implementation and review attempts, within the tenant limit.",
|
|
6124
|
+
zh_Hans: "7200 秒为 2 小时。在租户允许的上限内,对新的开发和验收执行生效。"
|
|
6125
|
+
}
|
|
6126
|
+
})
|
|
6127
|
+
}
|
|
6128
|
+
};
|
|
6129
|
+
}
|
|
6130
|
+
|
|
6131
|
+
var PROJECT_CONFIGURATION_PROVIDER = "platform.project-configuration";
|
|
6132
|
+
var PROJECT_CONFIGURATION_VIEW = "".concat(PROJECT_CONFIGURATION_PROVIDER, "__configuration");
|
|
6133
|
+
var projectConfigurationSectionSchema = v3.z.enum([
|
|
6134
|
+
"type",
|
|
6135
|
+
"experts",
|
|
6136
|
+
"members",
|
|
6137
|
+
"skills",
|
|
6138
|
+
"connectors",
|
|
6139
|
+
"automations",
|
|
6140
|
+
"delete"
|
|
6141
|
+
]);
|
|
6142
|
+
var PROJECT_CONFIGURATION_ACTION_HANDLERS = {
|
|
6143
|
+
"type": "editors",
|
|
6144
|
+
"type-save": "editors",
|
|
6145
|
+
"experts": "editors",
|
|
6146
|
+
"expert-add": "editors",
|
|
6147
|
+
"expert-remove": "editors",
|
|
6148
|
+
"members": "editors",
|
|
6149
|
+
"member-add": "editors",
|
|
6150
|
+
"member-role": "editors",
|
|
6151
|
+
"member-remove": "editors",
|
|
6152
|
+
"member-owner": "editors",
|
|
6153
|
+
"member-invite": "editors",
|
|
6154
|
+
"invitation-revoke": "editors",
|
|
6155
|
+
"skill-catalog": "editors",
|
|
6156
|
+
"skill-install": "editors",
|
|
6157
|
+
"skill-toggle": "editors",
|
|
6158
|
+
"skill-remove": "editors",
|
|
6159
|
+
"connectors": "connectors",
|
|
6160
|
+
"connector-add": "connectors",
|
|
6161
|
+
"connector-remove": "connectors",
|
|
6162
|
+
"connector-connect": "connectors",
|
|
6163
|
+
"connector-status": "connectors",
|
|
6164
|
+
"connector-cancel": "connectors",
|
|
6165
|
+
"automations": "automations",
|
|
6166
|
+
"automation-save": "automations",
|
|
6167
|
+
"automation-options": "automations",
|
|
6168
|
+
"automation-pause": "automations",
|
|
6169
|
+
"automation-resume": "automations",
|
|
6170
|
+
"automation-delete": "automations",
|
|
6171
|
+
"automation-propose": "automations",
|
|
6172
|
+
"automation-accept": "automations",
|
|
6173
|
+
"automation-connectors": "automations",
|
|
6174
|
+
"delete": "editors"
|
|
6175
|
+
};
|
|
6176
|
+
var projectConfigurationActionSchema = v3.z.custom(function(value) {
|
|
6177
|
+
return typeof value === "string" && Object.prototype.hasOwnProperty.call(PROJECT_CONFIGURATION_ACTION_HANDLERS, value);
|
|
6178
|
+
});
|
|
6179
|
+
var PROJECT_CONFIGURATION_ACTIONS = Object.keys(PROJECT_CONFIGURATION_ACTION_HANDLERS).map(function(key) {
|
|
6180
|
+
return projectConfigurationActionSchema.parse(key);
|
|
6181
|
+
});
|
|
6182
|
+
|
|
6005
6183
|
/**
|
|
6006
6184
|
* Build a hierarchical tree structure from a flat list of DocumentInterface objects,
|
|
6007
6185
|
* preserving explicit chunkIndex order whenever it is available.
|
|
@@ -6665,6 +6843,7 @@ function _object_spread_props$c(target, source) {
|
|
|
6665
6843
|
}
|
|
6666
6844
|
var LEGACY_SANDBOX_COMPRESSION_MIDDLEWARE_NAME = "SandboxCompressionMiddleware";
|
|
6667
6845
|
var CONTEXT_COMPRESSION_MIDDLEWARE_NAME = "ContextCompressionMiddleware";
|
|
6846
|
+
var XPERT_FILE_MEMORY_MIDDLEWARE_NAME = "XpertFileMemoryMiddleware";
|
|
6668
6847
|
var SKILLS_MIDDLEWARE_NAME = "skillsMiddleware";
|
|
6669
6848
|
function isMiddlewareToolEnabled(config) {
|
|
6670
6849
|
if (typeof config === "boolean") {
|
|
@@ -7756,20 +7935,27 @@ var AGENT_OUTPUT_MAX_PATHS = 128;
|
|
|
7756
7935
|
}, "Expected a relative file path");
|
|
7757
7936
|
/** An export selection is a list of exact files, never a filesystem search. */ var deliveryPathsSchema = v3.z.array(agentResultPathSchema.refine(function(path) {
|
|
7758
7937
|
return !/[*?\[\]{}]/.test(path);
|
|
7759
|
-
}, "Delivery paths must be exact relative file paths, without wildcards.
|
|
7760
|
-
/** Omission means no
|
|
7938
|
+
}, "Delivery paths must be exact relative file paths, without wildcards. Select paths explicitly when they are known.")).min(1).max(AGENT_OUTPUT_MAX_PATHS).optional().describe("Exact file paths relative to the task working directory. No wildcards/globs or directories. If filenames are determined during execution, collect them with delivery recovery once the exact paths are known.");
|
|
7939
|
+
/** Omission means no file delivery. A report file is optional and independent of artifact export mode. */ var agentOutputDeliverySchema = v3.z.discriminatedUnion("mode", [
|
|
7761
7940
|
v3.z.object({
|
|
7762
|
-
mode: v3.z.literal("none")
|
|
7941
|
+
mode: v3.z.literal("none"),
|
|
7942
|
+
reportPath: agentResultPathSchema.optional()
|
|
7763
7943
|
}).strict(),
|
|
7764
7944
|
v3.z.object({
|
|
7765
7945
|
mode: v3.z.literal("files"),
|
|
7766
|
-
paths: deliveryPathsSchema
|
|
7946
|
+
paths: deliveryPathsSchema,
|
|
7947
|
+
reportPath: agentResultPathSchema.optional()
|
|
7767
7948
|
}).strict(),
|
|
7768
7949
|
v3.z.object({
|
|
7769
7950
|
mode: v3.z.literal("archive"),
|
|
7770
|
-
paths: deliveryPathsSchema
|
|
7951
|
+
paths: deliveryPathsSchema,
|
|
7952
|
+
reportPath: agentResultPathSchema.optional()
|
|
7771
7953
|
}).strict()
|
|
7772
7954
|
]);
|
|
7955
|
+
/** A delivery retry cannot relaunch the executor or change its originally selected report. */ var agentDeliveryRecoverySchema = v3.z.object({
|
|
7956
|
+
expectedRevision: v3.z.number().int().nonnegative(),
|
|
7957
|
+
paths: deliveryPathsSchema
|
|
7958
|
+
}).strict();
|
|
7773
7959
|
|
|
7774
7960
|
var projectTaskSpecificationDigestSchema = v3.z.string().regex(/^sha256:[a-f0-9]{64}$/);
|
|
7775
7961
|
/** Only requirements belong here; status, progress, assignment and generic revision do not. */ var projectTaskSpecificationSchema = v3.z.object({
|
|
@@ -7807,18 +7993,71 @@ var projectTaskSpecificationDigestSchema = v3.z.string().regex(/^sha256:[a-f0-9]
|
|
|
7807
7993
|
digest: projectTaskSpecificationDigestSchema
|
|
7808
7994
|
}).strict()
|
|
7809
7995
|
]);
|
|
7810
|
-
var
|
|
7996
|
+
var projectTaskReviewerSchema = v3.z.object({
|
|
7997
|
+
bindingId: v3.z.string().uuid(),
|
|
7998
|
+
mode: v3.z.enum([
|
|
7999
|
+
"evidence_only",
|
|
8000
|
+
"execution"
|
|
8001
|
+
])
|
|
8002
|
+
}).strict();
|
|
8003
|
+
/** Host-owned identity of a review work item; retries cannot change its candidate. */ var projectTaskReviewSubjectSchema = v3.z.object({
|
|
8004
|
+
implementationTaskId: v3.z.string().uuid(),
|
|
8005
|
+
implementationExecutionId: v3.z.string().uuid(),
|
|
8006
|
+
specificationDigest: projectTaskSpecificationDigestSchema
|
|
8007
|
+
}).strict();
|
|
8008
|
+
var projectTaskReworkSchema = v3.z.object({
|
|
8009
|
+
reviewExecutionId: v3.z.string().uuid(),
|
|
8010
|
+
feedback: v3.z.string().trim().min(1).max(16000).describe("Concrete rework instructions based on the referenced Markdown review.")
|
|
8011
|
+
}).strict();
|
|
8012
|
+
/** Relative paths are references, never access grants. Runtimes own snapshot exclusions and containment. */ var projectTaskRelativePathSchema = v3.z.string().min(1).max(1000).refine(function(value) {
|
|
8013
|
+
return !/^(?:\/|[a-zA-Z]:)/.test(value) && !value.includes("\\") && !/[\x00-\x1f\x7f]/.test(value) && value.split("/").every(function(part) {
|
|
8014
|
+
return part.length > 0 && part !== "." && part !== "..";
|
|
8015
|
+
});
|
|
8016
|
+
});
|
|
8017
|
+
var projectTaskCandidatePathSchema = projectTaskRelativePathSchema.describe("Candidate path relative to the authorized project workspace.");
|
|
8018
|
+
var projectTaskEvidencePathSchema = projectTaskRelativePathSchema.describe("Evidence path relative to the review workspace.");
|
|
8019
|
+
var projectTaskExecutionPurposeFieldsSchema = v3.z.discriminatedUnion("type", [
|
|
7811
8020
|
v3.z.object({
|
|
7812
|
-
type: v3.z.literal("implementation")
|
|
8021
|
+
type: v3.z.literal("implementation"),
|
|
8022
|
+
reviewer: projectTaskReviewerSchema.optional(),
|
|
8023
|
+
coordination: v3.z.object({
|
|
8024
|
+
taskId: v3.z.string().uuid(),
|
|
8025
|
+
specificationDigest: projectTaskSpecificationDigestSchema
|
|
8026
|
+
}).strict().optional(),
|
|
8027
|
+
rework: projectTaskReworkSchema.optional()
|
|
7813
8028
|
}).strict(),
|
|
7814
8029
|
v3.z.object({
|
|
7815
8030
|
type: v3.z.literal("review"),
|
|
8031
|
+
mode: v3.z.enum([
|
|
8032
|
+
"evidence_only",
|
|
8033
|
+
"execution"
|
|
8034
|
+
]).optional(),
|
|
8035
|
+
candidatePaths: v3.z.array(projectTaskCandidatePathSchema).min(1).max(64).optional(),
|
|
7816
8036
|
implementationExecutionId: v3.z.string().uuid(),
|
|
8037
|
+
implementationTaskId: v3.z.string().uuid().optional(),
|
|
7817
8038
|
implementationInvocationId: v3.z.string().uuid(),
|
|
7818
8039
|
specificationDigest: projectTaskSpecificationDigestSchema,
|
|
7819
8040
|
evidence: v3.z.array(projectTaskEvidenceReferenceSchema).min(1).max(64)
|
|
7820
8041
|
}).strict()
|
|
7821
8042
|
]);
|
|
8043
|
+
function validateReviewCandidate(purpose, context) {
|
|
8044
|
+
if (purpose.type !== "review") return;
|
|
8045
|
+
if (purpose.mode === "execution" !== Boolean(purpose.candidatePaths)) context.addIssue({
|
|
8046
|
+
code: "custom",
|
|
8047
|
+
path: [
|
|
8048
|
+
"candidatePaths"
|
|
8049
|
+
],
|
|
8050
|
+
message: "Execution review requires candidate paths; evidence-only review does not use a workspace."
|
|
8051
|
+
});
|
|
8052
|
+
if (purpose.candidatePaths && new Set(purpose.candidatePaths).size !== purpose.candidatePaths.length) context.addIssue({
|
|
8053
|
+
code: "custom",
|
|
8054
|
+
path: [
|
|
8055
|
+
"candidatePaths"
|
|
8056
|
+
],
|
|
8057
|
+
message: "Candidate paths must be unique."
|
|
8058
|
+
});
|
|
8059
|
+
}
|
|
8060
|
+
var projectTaskExecutionPurposeSchema = projectTaskExecutionPurposeFieldsSchema.superRefine(validateReviewCandidate);
|
|
7822
8061
|
var projectTaskExecutionReferenceSchema = v3.z.object({
|
|
7823
8062
|
projectId: v3.z.string().uuid(),
|
|
7824
8063
|
projectTaskId: v3.z.string().uuid(),
|
|
@@ -7862,6 +8101,7 @@ var projectTaskExecutionReferenceSchema = v3.z.object({
|
|
|
7862
8101
|
participantId: v3.z.string().uuid()
|
|
7863
8102
|
}).strict().optional(),
|
|
7864
8103
|
purpose: projectTaskExecutionPurposeSchema.optional(),
|
|
8104
|
+
reviewAsSubtask: v3.z.boolean().optional().describe("Create or resume a review subtask for the pinned implementation. taskId identifies the implementation task."),
|
|
7865
8105
|
delivery: agentOutputDeliverySchema.optional(),
|
|
7866
8106
|
instructions: v3.z.string().trim().max(16000).default("")
|
|
7867
8107
|
}).strict();
|
|
@@ -7871,19 +8111,29 @@ var hasOneDispatchTarget = function(input) {
|
|
|
7871
8111
|
var projectTaskDispatchInputSchema = projectTaskDispatchFieldsSchema.refine(hasOneDispatchTarget, "Choose exactly one Runtime binding or group member");
|
|
7872
8112
|
var projectTaskDispatchToolInputSchema = projectTaskDispatchFieldsSchema.omit({
|
|
7873
8113
|
requestId: true
|
|
8114
|
+
}).extend({
|
|
8115
|
+
purpose: v3.z.discriminatedUnion("type", [
|
|
8116
|
+
projectTaskExecutionPurposeFieldsSchema.options[0].omit({
|
|
8117
|
+
coordination: true
|
|
8118
|
+
}),
|
|
8119
|
+
projectTaskExecutionPurposeFieldsSchema.options[1].omit({
|
|
8120
|
+
implementationTaskId: true
|
|
8121
|
+
})
|
|
8122
|
+
]).superRefine(validateReviewCandidate).optional()
|
|
7874
8123
|
}).refine(hasOneDispatchTarget, "Choose exactly one Runtime binding or group member");
|
|
7875
|
-
/**
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
8124
|
+
/** Markdown is authored evidence. Only an explicit coordinator decision accepts a task. */ var projectTaskReviewReportSchema = v3.z.object({
|
|
8125
|
+
format: v3.z.literal("markdown"),
|
|
8126
|
+
markdown: v3.z.string().min(1)
|
|
8127
|
+
}).strict();
|
|
8128
|
+
// Agent-facing references bind an observed candidate; authorization remains with the host.
|
|
8129
|
+
var projectTaskDecisionToolInputSchema = v3.z.object({
|
|
8130
|
+
decisionRef: v3.z.string().max(200).regex(/^pd1\/[0-9a-f-]{36}\/[0-9a-f-]{36}\/[0-9a-f]{64}$/),
|
|
8131
|
+
outcome: v3.z.enum([
|
|
8132
|
+
"accept",
|
|
8133
|
+
"rework"
|
|
7881
8134
|
]),
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
evidence: v3.z.array(projectTaskEvidenceReferenceSchema).min(1).max(64),
|
|
7885
|
-
findings: v3.z.array(v3.z.string().trim().min(1).max(4000)).min(1).max(64),
|
|
7886
|
-
limitations: v3.z.array(v3.z.string().trim().min(1).max(4000)).max(64)
|
|
8135
|
+
rationale: v3.z.string().trim().min(1).max(8000),
|
|
8136
|
+
checks: v3.z.array(v3.z.string().trim().min(1).max(4000)).max(64).optional()
|
|
7887
8137
|
}).strict();
|
|
7888
8138
|
var projectTaskDecisionInputSchema = v3.z.object({
|
|
7889
8139
|
requestId: v3.z.string().uuid(),
|
|
@@ -7898,7 +8148,7 @@ var projectTaskDecisionInputSchema = v3.z.object({
|
|
|
7898
8148
|
"rework"
|
|
7899
8149
|
]),
|
|
7900
8150
|
rationale: v3.z.string().trim().min(1).max(8000),
|
|
7901
|
-
checks: v3.z.array(v3.z.string().trim().min(1).max(4000)).
|
|
8151
|
+
checks: v3.z.array(v3.z.string().trim().min(1).max(4000)).max(64)
|
|
7902
8152
|
}).strict();
|
|
7903
8153
|
var projectTaskDecisionSchema = projectTaskDecisionInputSchema.extend({
|
|
7904
8154
|
actorId: v3.z.string().uuid(),
|
|
@@ -7908,6 +8158,11 @@ var projectTaskDecisionSchema = projectTaskDecisionInputSchema.extend({
|
|
|
7908
8158
|
"project_agent"
|
|
7909
8159
|
]),
|
|
7910
8160
|
executionId: v3.z.string().uuid().optional(),
|
|
8161
|
+
reviewResult: v3.z.object({
|
|
8162
|
+
invocationId: v3.z.string().uuid(),
|
|
8163
|
+
revision: v3.z.number().int().nonnegative(),
|
|
8164
|
+
sha256: v3.z.string().regex(/^[a-f0-9]{64}$/)
|
|
8165
|
+
}).strict().optional(),
|
|
7911
8166
|
decidedAt: v3.z.string().datetime(),
|
|
7912
8167
|
taskRevision: v3.z.number().int().positive()
|
|
7913
8168
|
}).strict();
|
|
@@ -8064,6 +8319,9 @@ var outcomes = v3.z.array(projectPipelineKeySchema).min(2).max(32);
|
|
|
8064
8319
|
v3.z.object(_object_spread_props$a(_object_spread$e({}, base$1), {
|
|
8065
8320
|
kind: v3.z.literal("work"),
|
|
8066
8321
|
laneKey: projectPipelineKeySchema,
|
|
8322
|
+
presentation: v3.z.object({
|
|
8323
|
+
foldIntoApproval: projectPipelineKeySchema
|
|
8324
|
+
}).strict().optional(),
|
|
8067
8325
|
operationRef: projectPipelineRefSchema,
|
|
8068
8326
|
executorSlot: projectPipelineKeySchema,
|
|
8069
8327
|
completionRef: projectPipelineRefSchema,
|
|
@@ -8575,9 +8833,24 @@ function _unsupported_iterable_to_array$j(o, minLen) {
|
|
|
8575
8833
|
if (!byKey.has(edge.from) || !byKey.has(edge.to)) issue("EDGE_NODE_NOT_FOUND", "edges", index);
|
|
8576
8834
|
});
|
|
8577
8835
|
nodes.forEach(function(node, index) {
|
|
8578
|
-
var _roles_get, _incoming_get;
|
|
8836
|
+
var _node_presentation, _roles_get, _incoming_get;
|
|
8579
8837
|
if (!stages.has(node.stageKey)) issue("STAGE_NOT_FOUND", "nodes", index, "stageKey");
|
|
8580
8838
|
if ("laneKey" in node && !lanes.has(node.laneKey)) issue("LANE_NOT_FOUND", "nodes", index, "laneKey");
|
|
8839
|
+
if (node.kind === "work" && ((_node_presentation = node.presentation) === null || _node_presentation === void 0 ? void 0 : _node_presentation.foldIntoApproval)) {
|
|
8840
|
+
var _roles_get1;
|
|
8841
|
+
var approval = byKey.get(node.presentation.foldIntoApproval);
|
|
8842
|
+
var _incoming_get1;
|
|
8843
|
+
var entries = (_incoming_get1 = incoming.get(node.key)) !== null && _incoming_get1 !== void 0 ? _incoming_get1 : [];
|
|
8844
|
+
if ((approval === null || approval === void 0 ? void 0 : approval.kind) !== "human_gate" || !entries.length || entries.some(function(edge) {
|
|
8845
|
+
return edge.from !== approval.key;
|
|
8846
|
+
})) {
|
|
8847
|
+
issue("APPROVAL_STEP_PARENT_INVALID", "nodes", index, "presentation", "foldIntoApproval");
|
|
8848
|
+
}
|
|
8849
|
+
var lane = lanes.get(node.laneKey);
|
|
8850
|
+
if (lane && !((_roles_get1 = roles.get(lane.roleKey)) === null || _roles_get1 === void 0 ? void 0 : _roles_get1.allowedKinds.includes("service"))) {
|
|
8851
|
+
issue("APPROVAL_STEP_SERVICE_REQUIRED", "nodes", index, "presentation", "foldIntoApproval");
|
|
8852
|
+
}
|
|
8853
|
+
}
|
|
8581
8854
|
if (node.kind === "human_gate" && !((_roles_get = roles.get(node.candidateRoleKey)) === null || _roles_get === void 0 ? void 0 : _roles_get.allowedKinds.includes("human"))) {
|
|
8582
8855
|
issue("HUMAN_ROLE_REQUIRED", "nodes", index, "candidateRoleKey");
|
|
8583
8856
|
}
|
|
@@ -8891,6 +9164,19 @@ var projectPipelineDefinitionSchema = projectPipelineDefinitionShapeSchema.super
|
|
|
8891
9164
|
]
|
|
8892
9165
|
});
|
|
8893
9166
|
});
|
|
9167
|
+
/** Human management command. maxTokens is the new total ceiling, not an additional allowance. */ var projectPipelineModelBudgetIncreaseSchema = v3.z.object({
|
|
9168
|
+
instanceId: v3.z.string().uuid(),
|
|
9169
|
+
requestId: v3.z.string().uuid(),
|
|
9170
|
+
expectedRevision: v3.z.number().int().nonnegative().safe(),
|
|
9171
|
+
maxTokens: v3.z.number().int().min(1).max(1000000000000),
|
|
9172
|
+
reason: v3.z.string().trim().min(1).max(2000)
|
|
9173
|
+
}).strict();
|
|
9174
|
+
var projectPipelineModelBudgetIncreaseRecordSchema = v3.z.object({
|
|
9175
|
+
requestId: v3.z.string().uuid(),
|
|
9176
|
+
previousMaxTokens: v3.z.number().int().min(1).max(1000000000000),
|
|
9177
|
+
maxTokens: v3.z.number().int().min(1).max(1000000000000),
|
|
9178
|
+
reason: v3.z.string().trim().min(1).max(2000)
|
|
9179
|
+
}).strict();
|
|
8894
9180
|
var projectPipelineNativeModelBudgetStatusSchema = v3.z.object({
|
|
8895
9181
|
scope: v3.z.literal("instance_native_llm"),
|
|
8896
9182
|
policy: projectPipelineNativeModelBudgetSchema,
|
|
@@ -9096,8 +9382,11 @@ var projectPipelineBindingSchema = v3.z.object({
|
|
|
9096
9382
|
var _step_value1 = _sliced_to_array$b(_step3.value, 2), index = _step_value1[0], node = _step_value1[1];
|
|
9097
9383
|
var _binding_roleBindings_node_candidateRoleKey;
|
|
9098
9384
|
if (node.kind === "work") {
|
|
9099
|
-
var _binding_executorBindings1, _lanes_get;
|
|
9385
|
+
var _binding_executorBindings1, _node_presentation, _lanes_get;
|
|
9100
9386
|
var executor = (_binding_executorBindings1 = binding.executorBindings) === null || _binding_executorBindings1 === void 0 ? void 0 : _binding_executorBindings1[node.executorSlot];
|
|
9387
|
+
if (((_node_presentation = node.presentation) === null || _node_presentation === void 0 ? void 0 : _node_presentation.foldIntoApproval) && executor && executor.kind !== "service") {
|
|
9388
|
+
issue("APPROVAL_STEP_SERVICE_REQUIRED", "binding", "executorBindings", node.executorSlot);
|
|
9389
|
+
}
|
|
9101
9390
|
// Native Assistant/file tools need a separate enforcement bridge before opting in.
|
|
9102
9391
|
if (node.resourceResolverRef && (executor === null || executor === void 0 ? void 0 : executor.kind) !== "service") {
|
|
9103
9392
|
issue("RESOURCE_EXECUTOR_UNSUPPORTED", "template", "nodes", index, "resourceResolverRef");
|
|
@@ -12866,6 +13155,33 @@ var projectPipelineContributionSchema = v3.z.object({
|
|
|
12866
13155
|
});
|
|
12867
13156
|
});
|
|
12868
13157
|
|
|
13158
|
+
/** Portable node contract. Only the host executes installation; plugins supply immutable inputs. */ var projectPluginDeploymentRefs = {
|
|
13159
|
+
operation: "platform.plugin-deployment@1",
|
|
13160
|
+
request: "platform.plugin-deployment-request@1",
|
|
13161
|
+
receipt: "platform.plugin-deployment-receipt@1",
|
|
13162
|
+
evidence: "platform.plugin-deployment-evidence@1"
|
|
13163
|
+
};
|
|
13164
|
+
var projectPluginDeploymentRequestSchema = v3.z.object({
|
|
13165
|
+
target: v3.z.literal("current-instance"),
|
|
13166
|
+
artifactId: v3.z.string().uuid(),
|
|
13167
|
+
artifactVersionId: v3.z.string().uuid(),
|
|
13168
|
+
sha256: v3.z.string().regex(/^[a-f0-9]{64}$/),
|
|
13169
|
+
fileName: v3.z.string().min(1).max(240).regex(/^[^/\\\u0000]+$/),
|
|
13170
|
+
packageName: v3.z.string().min(1).max(240),
|
|
13171
|
+
packageVersion: v3.z.string().min(1).max(80),
|
|
13172
|
+
allowReplace: v3.z.boolean(),
|
|
13173
|
+
allowRestart: v3.z.boolean()
|
|
13174
|
+
}).strict();
|
|
13175
|
+
var projectPluginDeploymentReceiptSchema = v3.z.object({
|
|
13176
|
+
operationId: v3.z.string().uuid(),
|
|
13177
|
+
request: projectPluginDeploymentRequestSchema,
|
|
13178
|
+
approval: projectPipelineEvidenceRefSchema,
|
|
13179
|
+
scopeKey: v3.z.string().min(1),
|
|
13180
|
+
runtimeRevision: v3.z.string().min(1),
|
|
13181
|
+
installed: v3.z.literal(true),
|
|
13182
|
+
loaded: v3.z.literal(true)
|
|
13183
|
+
}).strict();
|
|
13184
|
+
|
|
12869
13185
|
var templateDependencyVersionsSchema = zod.z.array(zod.z.object({
|
|
12870
13186
|
pluginName: zod.z.string().min(1).max(214),
|
|
12871
13187
|
version: zod.z.string().min(1).max(100)
|
|
@@ -13062,10 +13378,6 @@ var templateFilesSchema = zod.z.object({
|
|
|
13062
13378
|
/** Versioned, credential-free declarations. Missing manifest preserves the legacy template contract. */ var templateManifestV1Schema = zod.z.object({
|
|
13063
13379
|
schemaVersion: zod.z.literal(1),
|
|
13064
13380
|
version: text$1,
|
|
13065
|
-
memory: zod.z.object({
|
|
13066
|
-
seed: zod.z.boolean(),
|
|
13067
|
-
preferences: zod.z.array(key$1).max(50).default([])
|
|
13068
|
-
}).strict().optional(),
|
|
13069
13381
|
skills: zod.z.array(zod.z.object({
|
|
13070
13382
|
pluginName: text$1.optional(),
|
|
13071
13383
|
componentKey: key$1
|
|
@@ -13128,7 +13440,6 @@ var templateFilesSchema = zod.z.object({
|
|
|
13128
13440
|
}).strict().optional()
|
|
13129
13441
|
}).strict();
|
|
13130
13442
|
/** V2 keeps only initialization and requirements that the DSL cannot express. */ var assistantTemplateManifestSchema = templateManifestV1Schema.omit({
|
|
13131
|
-
memory: true,
|
|
13132
13443
|
skills: true,
|
|
13133
13444
|
execution: true
|
|
13134
13445
|
}).extend({
|
|
@@ -14488,10 +14799,144 @@ exports.DataSourceTypeEnum = void 0;
|
|
|
14488
14799
|
DataSourceTypeEnum["NONE"] = "NONE";
|
|
14489
14800
|
})(exports.DataSourceTypeEnum || (exports.DataSourceTypeEnum = {}));
|
|
14490
14801
|
|
|
14491
|
-
|
|
14492
|
-
(
|
|
14493
|
-
|
|
14494
|
-
|
|
14802
|
+
function _array_like_to_array$2(arr, len) {
|
|
14803
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
14804
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14805
|
+
return arr2;
|
|
14806
|
+
}
|
|
14807
|
+
function _array_with_holes$2(arr) {
|
|
14808
|
+
if (Array.isArray(arr)) return arr;
|
|
14809
|
+
}
|
|
14810
|
+
function _define_property$3(obj, key, value) {
|
|
14811
|
+
if (key in obj) {
|
|
14812
|
+
Object.defineProperty(obj, key, {
|
|
14813
|
+
value: value,
|
|
14814
|
+
enumerable: true,
|
|
14815
|
+
configurable: true,
|
|
14816
|
+
writable: true
|
|
14817
|
+
});
|
|
14818
|
+
} else {
|
|
14819
|
+
obj[key] = value;
|
|
14820
|
+
}
|
|
14821
|
+
return obj;
|
|
14822
|
+
}
|
|
14823
|
+
function _iterable_to_array_limit$2(arr, i) {
|
|
14824
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
14825
|
+
if (_i == null) return;
|
|
14826
|
+
var _arr = [];
|
|
14827
|
+
var _n = true;
|
|
14828
|
+
var _d = false;
|
|
14829
|
+
var _s, _e;
|
|
14830
|
+
try {
|
|
14831
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
14832
|
+
_arr.push(_s.value);
|
|
14833
|
+
if (i && _arr.length === i) break;
|
|
14834
|
+
}
|
|
14835
|
+
} catch (err) {
|
|
14836
|
+
_d = true;
|
|
14837
|
+
_e = err;
|
|
14838
|
+
} finally{
|
|
14839
|
+
try {
|
|
14840
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
14841
|
+
} finally{
|
|
14842
|
+
if (_d) throw _e;
|
|
14843
|
+
}
|
|
14844
|
+
}
|
|
14845
|
+
return _arr;
|
|
14846
|
+
}
|
|
14847
|
+
function _non_iterable_rest$2() {
|
|
14848
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14849
|
+
}
|
|
14850
|
+
function _object_spread$3(target) {
|
|
14851
|
+
for(var i = 1; i < arguments.length; i++){
|
|
14852
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
14853
|
+
var ownKeys = Object.keys(source);
|
|
14854
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
14855
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
14856
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
14857
|
+
}));
|
|
14858
|
+
}
|
|
14859
|
+
ownKeys.forEach(function(key) {
|
|
14860
|
+
_define_property$3(target, key, source[key]);
|
|
14861
|
+
});
|
|
14862
|
+
}
|
|
14863
|
+
return target;
|
|
14864
|
+
}
|
|
14865
|
+
function _sliced_to_array$2(arr, i) {
|
|
14866
|
+
return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$2(arr, i) || _non_iterable_rest$2();
|
|
14867
|
+
}
|
|
14868
|
+
function _unsupported_iterable_to_array$2(o, minLen) {
|
|
14869
|
+
if (!o) return;
|
|
14870
|
+
if (typeof o === "string") return _array_like_to_array$2(o, minLen);
|
|
14871
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14872
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14873
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14874
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
|
|
14875
|
+
}
|
|
14876
|
+
// Public diagnostics are authored separately from driver errors. This is defense in depth,
|
|
14877
|
+
// not a sanitizer for arbitrary logs: producers must never copy raw exceptions into message.
|
|
14878
|
+
var privateText = /[\u0000-\u001f\u007f]|(?:https?|jdbc|postgres(?:ql)?|mysql):|\b(?:password|passwd|pwd|secret|token|authorization|cookie|api[_-]?key)\s*[:=]|\bBearer\s|-----BEGIN|\b(?:SELECT|WITH)\b[\s\S]*\bFROM\b|\b(?:INSERT\s+INTO|UPDATE\s+\S+\s+SET|DELETE\s+FROM)\b|<\/?[a-z][^>]*>|(?:\/Users\/|\/home\/|\/private\/|[A-Z]:\\)|\bat\s+\S+\s*\(/i;
|
|
14879
|
+
var publicText = v3.z.string().trim().min(1).max(600).refine(function(value) {
|
|
14880
|
+
return !privateText.test(value);
|
|
14881
|
+
});
|
|
14882
|
+
var reference = v3.z.string().regex(/^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$/);
|
|
14883
|
+
/** Portable HTTP/provider failure contract. No arbitrary details, cause, query or connection fields. */ var analyticsDiagnosticSchema = v3.z.object({
|
|
14884
|
+
schema: v3.z.literal("xpert.analytics.diagnostic"),
|
|
14885
|
+
version: v3.z.literal(1),
|
|
14886
|
+
code: v3.z.string().regex(/^[A-Z][A-Z0-9_-]{2,79}$/),
|
|
14887
|
+
stage: v3.z.enum([
|
|
14888
|
+
"request",
|
|
14889
|
+
"source",
|
|
14890
|
+
"validation",
|
|
14891
|
+
"authorization",
|
|
14892
|
+
"execution",
|
|
14893
|
+
"result",
|
|
14894
|
+
"dependency"
|
|
14895
|
+
]),
|
|
14896
|
+
message: publicText,
|
|
14897
|
+
retryable: v3.z.boolean(),
|
|
14898
|
+
upstreamExecutionId: reference.optional(),
|
|
14899
|
+
auditRef: reference.optional()
|
|
14900
|
+
}).strict().refine(function(value) {
|
|
14901
|
+
return !value.retryable || value.stage === "execution" || value.stage === "dependency";
|
|
14902
|
+
});
|
|
14903
|
+
/** Invalid provider diagnostics fail closed; never return Zod errors containing received input. */ function parseAnalyticsDiagnostic(value) {
|
|
14904
|
+
try {
|
|
14905
|
+
if (!value || typeof value !== "object") return undefined;
|
|
14906
|
+
var properties = Object.getOwnPropertyDescriptors(value);
|
|
14907
|
+
if (Object.values(properties).some(function(property) {
|
|
14908
|
+
return !("value" in property);
|
|
14909
|
+
})) return undefined;
|
|
14910
|
+
var parsed = analyticsDiagnosticSchema.safeParse(Object.fromEntries(Object.entries(properties).map(function(param) {
|
|
14911
|
+
var _param = _sliced_to_array$2(param, 2), key = _param[0], property = _param[1];
|
|
14912
|
+
return [
|
|
14913
|
+
key,
|
|
14914
|
+
property.value
|
|
14915
|
+
];
|
|
14916
|
+
})));
|
|
14917
|
+
if (!parsed.success) return undefined;
|
|
14918
|
+
var _parsed_data = parsed.data, schema = _parsed_data.schema, version = _parsed_data.version, code = _parsed_data.code, stage = _parsed_data.stage, message = _parsed_data.message, retryable = _parsed_data.retryable, upstreamExecutionId = _parsed_data.upstreamExecutionId, auditRef = _parsed_data.auditRef;
|
|
14919
|
+
return _object_spread$3({
|
|
14920
|
+
schema: schema,
|
|
14921
|
+
version: version,
|
|
14922
|
+
code: code,
|
|
14923
|
+
stage: stage,
|
|
14924
|
+
message: message,
|
|
14925
|
+
retryable: retryable
|
|
14926
|
+
}, upstreamExecutionId ? {
|
|
14927
|
+
upstreamExecutionId: upstreamExecutionId
|
|
14928
|
+
} : {}, auditRef ? {
|
|
14929
|
+
auditRef: auditRef
|
|
14930
|
+
} : {});
|
|
14931
|
+
} catch (e) {
|
|
14932
|
+
return undefined;
|
|
14933
|
+
}
|
|
14934
|
+
}
|
|
14935
|
+
|
|
14936
|
+
exports.DataSourceSyntaxEnum = void 0;
|
|
14937
|
+
(function(DataSourceSyntaxEnum) {
|
|
14938
|
+
DataSourceSyntaxEnum["SQL"] = "sql";
|
|
14939
|
+
DataSourceSyntaxEnum["MDX"] = "mdx";
|
|
14495
14940
|
})(exports.DataSourceSyntaxEnum || (exports.DataSourceSyntaxEnum = {}));
|
|
14496
14941
|
exports.DataSourceProtocolEnum = void 0;
|
|
14497
14942
|
(function(DataSourceProtocolEnum) {
|
|
@@ -14769,6 +15214,8 @@ exports.RequestScopeLevel = void 0;
|
|
|
14769
15214
|
* Embedded/group credentials never become source-management authority and no login token is returned to the View.
|
|
14770
15215
|
*/ var ARTIFACT_USE_GRANT_MANAGE_COMMAND = "artifact.use-grants.manage";
|
|
14771
15216
|
|
|
15217
|
+
/** Host-owned opening avoids inheriting a remote component's iframe sandbox. */ var ARTIFACT_PRESENTATION_OPEN_COMMAND = "artifact.presentation.open";
|
|
15218
|
+
|
|
14772
15219
|
exports.BusinessType = void 0;
|
|
14773
15220
|
(function(BusinessType) {
|
|
14774
15221
|
BusinessType["SEMANTIC_MODEL"] = "SEMANTIC_MODEL";
|
|
@@ -14776,15 +15223,15 @@ exports.BusinessType = void 0;
|
|
|
14776
15223
|
BusinessType["INDICATOR"] = "INDICATOR";
|
|
14777
15224
|
})(exports.BusinessType || (exports.BusinessType = {}));
|
|
14778
15225
|
|
|
14779
|
-
function _array_like_to_array$
|
|
15226
|
+
function _array_like_to_array$1(arr, len) {
|
|
14780
15227
|
if (len == null || len > arr.length) len = arr.length;
|
|
14781
15228
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14782
15229
|
return arr2;
|
|
14783
15230
|
}
|
|
14784
|
-
function _array_with_holes$
|
|
15231
|
+
function _array_with_holes$1(arr) {
|
|
14785
15232
|
if (Array.isArray(arr)) return arr;
|
|
14786
15233
|
}
|
|
14787
|
-
function _iterable_to_array_limit$
|
|
15234
|
+
function _iterable_to_array_limit$1(arr, i) {
|
|
14788
15235
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
14789
15236
|
if (_i == null) return;
|
|
14790
15237
|
var _arr = [];
|
|
@@ -14808,19 +15255,19 @@ function _iterable_to_array_limit$2(arr, i) {
|
|
|
14808
15255
|
}
|
|
14809
15256
|
return _arr;
|
|
14810
15257
|
}
|
|
14811
|
-
function _non_iterable_rest$
|
|
15258
|
+
function _non_iterable_rest$1() {
|
|
14812
15259
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14813
15260
|
}
|
|
14814
|
-
function _sliced_to_array$
|
|
14815
|
-
return _array_with_holes$
|
|
15261
|
+
function _sliced_to_array$1(arr, i) {
|
|
15262
|
+
return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest$1();
|
|
14816
15263
|
}
|
|
14817
|
-
function _unsupported_iterable_to_array$
|
|
15264
|
+
function _unsupported_iterable_to_array$1(o, minLen) {
|
|
14818
15265
|
if (!o) return;
|
|
14819
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
15266
|
+
if (typeof o === "string") return _array_like_to_array$1(o, minLen);
|
|
14820
15267
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14821
15268
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14822
15269
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14823
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
15270
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
|
|
14824
15271
|
}
|
|
14825
15272
|
exports.ScheduleTaskStatus = void 0;
|
|
14826
15273
|
(function(ScheduleTaskStatus) {
|
|
@@ -14843,7 +15290,7 @@ exports.TaskFrequency = void 0;
|
|
|
14843
15290
|
* @returns
|
|
14844
15291
|
*/ function generateCronExpression(schedule) {
|
|
14845
15292
|
if (!schedule.time) throw new Error("Time is required for scheduling");
|
|
14846
|
-
var _schedule_time_split = _sliced_to_array$
|
|
15293
|
+
var _schedule_time_split = _sliced_to_array$1(schedule.time.split(":"), 2), hourStr = _schedule_time_split[0], minuteStr = _schedule_time_split[1];
|
|
14847
15294
|
var hour = parseInt(hourStr, 10);
|
|
14848
15295
|
var minute = parseInt(minuteStr, 10);
|
|
14849
15296
|
if (isNaN(hour) || isNaN(minute) || hour < 0 || hour > 23 || minute < 0 || minute > 59) {
|
|
@@ -14901,6 +15348,7 @@ var WORKBENCH_EXTENSION_VIEW_TARGET = "workbench.view";
|
|
|
14901
15348
|
var WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET = "knowledgebase.documents";
|
|
14902
15349
|
/** Resolve the Project's application entry through its registered type and current access checks. */ var WORKBENCH_PROJECT_APPLICATION_TARGET = "project.application";
|
|
14903
15350
|
/** Open full Project pipeline management in the configured platform. */ var WORKBENCH_PROJECT_PIPELINES_TARGET = "project.pipelines";
|
|
15351
|
+
/** Host-owned browser persistence. Plugins never choose an account/storage namespace. */ var WORKBENCH_CONTENT_DRAFT_COMMAND = "workbench.content.draft";
|
|
14904
15352
|
|
|
14905
15353
|
// Preserve existing imports while client-command contracts live in their own module.
|
|
14906
15354
|
var XPERT_VIEW_PROJECT_ID_HEADER = "x-xpert-view-project-id";
|
|
@@ -14917,15 +15365,15 @@ var AGENT_PROFILE_TABS_SLOT = "agent.profile.tabs";
|
|
|
14917
15365
|
];
|
|
14918
15366
|
/** Platform-provided navigation, available without Assistant middleware. */ var CONVERSATION_MAP_FEATURE = "platform.conversation-map";
|
|
14919
15367
|
|
|
14920
|
-
/** Live-only UI request. Project scope is mandatory; history playback must not reopen Views. */ function _array_like_to_array
|
|
15368
|
+
/** Live-only UI request. Project scope is mandatory; history playback must not reopen Views. */ function _array_like_to_array(arr, len) {
|
|
14921
15369
|
if (len == null || len > arr.length) len = arr.length;
|
|
14922
15370
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14923
15371
|
return arr2;
|
|
14924
15372
|
}
|
|
14925
|
-
function _array_with_holes
|
|
15373
|
+
function _array_with_holes(arr) {
|
|
14926
15374
|
if (Array.isArray(arr)) return arr;
|
|
14927
15375
|
}
|
|
14928
|
-
function _define_property$
|
|
15376
|
+
function _define_property$2(obj, key, value) {
|
|
14929
15377
|
if (key in obj) {
|
|
14930
15378
|
Object.defineProperty(obj, key, {
|
|
14931
15379
|
value: value,
|
|
@@ -14938,7 +15386,7 @@ function _define_property$3(obj, key, value) {
|
|
|
14938
15386
|
}
|
|
14939
15387
|
return obj;
|
|
14940
15388
|
}
|
|
14941
|
-
function _iterable_to_array_limit
|
|
15389
|
+
function _iterable_to_array_limit(arr, i) {
|
|
14942
15390
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
14943
15391
|
if (_i == null) return;
|
|
14944
15392
|
var _arr = [];
|
|
@@ -14962,10 +15410,10 @@ function _iterable_to_array_limit$1(arr, i) {
|
|
|
14962
15410
|
}
|
|
14963
15411
|
return _arr;
|
|
14964
15412
|
}
|
|
14965
|
-
function _non_iterable_rest
|
|
15413
|
+
function _non_iterable_rest() {
|
|
14966
15414
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14967
15415
|
}
|
|
14968
|
-
function _object_spread$
|
|
15416
|
+
function _object_spread$2(target) {
|
|
14969
15417
|
for(var i = 1; i < arguments.length; i++){
|
|
14970
15418
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
14971
15419
|
var ownKeys = Object.keys(source);
|
|
@@ -14975,21 +15423,21 @@ function _object_spread$3(target) {
|
|
|
14975
15423
|
}));
|
|
14976
15424
|
}
|
|
14977
15425
|
ownKeys.forEach(function(key) {
|
|
14978
|
-
_define_property$
|
|
15426
|
+
_define_property$2(target, key, source[key]);
|
|
14979
15427
|
});
|
|
14980
15428
|
}
|
|
14981
15429
|
return target;
|
|
14982
15430
|
}
|
|
14983
|
-
function _sliced_to_array
|
|
14984
|
-
return _array_with_holes
|
|
15431
|
+
function _sliced_to_array(arr, i) {
|
|
15432
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
14985
15433
|
}
|
|
14986
|
-
function _unsupported_iterable_to_array
|
|
15434
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
14987
15435
|
if (!o) return;
|
|
14988
|
-
if (typeof o === "string") return _array_like_to_array
|
|
15436
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
14989
15437
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14990
15438
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14991
15439
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14992
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array
|
|
15440
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
14993
15441
|
}
|
|
14994
15442
|
var WORKBENCH_VIEW_OPEN_EVENT = "workbench.view.open";
|
|
14995
15443
|
/**
|
|
@@ -15008,7 +15456,7 @@ var WORKBENCH_VIEW_OPEN_EVENT = "workbench.view.open";
|
|
|
15008
15456
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
15009
15457
|
try {
|
|
15010
15458
|
for(var _iterator = Object.entries(value.parameters)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
15011
|
-
var _step_value = _sliced_to_array
|
|
15459
|
+
var _step_value = _sliced_to_array(_step.value, 2), key = _step_value[0], item = _step_value[1];
|
|
15012
15460
|
if (isViewScalar(item)) parameters[key] = item;
|
|
15013
15461
|
else if (Array.isArray(item) && item.every(isViewScalar)) parameters[key] = item;
|
|
15014
15462
|
else return null;
|
|
@@ -15028,7 +15476,7 @@ var WORKBENCH_VIEW_OPEN_EVENT = "workbench.view.open";
|
|
|
15028
15476
|
}
|
|
15029
15477
|
}
|
|
15030
15478
|
}
|
|
15031
|
-
return _object_spread$
|
|
15479
|
+
return _object_spread$2({
|
|
15032
15480
|
type: WORKBENCH_VIEW_OPEN_EVENT,
|
|
15033
15481
|
viewKey: value.viewKey,
|
|
15034
15482
|
projectId: value.projectId
|
|
@@ -15047,7 +15495,7 @@ function isViewScalar(value) {
|
|
|
15047
15495
|
return value === null || typeof value === "string" || typeof value === "boolean" || typeof value === "number" && Number.isFinite(value);
|
|
15048
15496
|
}
|
|
15049
15497
|
|
|
15050
|
-
function _define_property$
|
|
15498
|
+
function _define_property$1(obj, key, value) {
|
|
15051
15499
|
if (key in obj) {
|
|
15052
15500
|
Object.defineProperty(obj, key, {
|
|
15053
15501
|
value: value,
|
|
@@ -15060,7 +15508,7 @@ function _define_property$2(obj, key, value) {
|
|
|
15060
15508
|
}
|
|
15061
15509
|
return obj;
|
|
15062
15510
|
}
|
|
15063
|
-
function _object_spread$
|
|
15511
|
+
function _object_spread$1(target) {
|
|
15064
15512
|
for(var i = 1; i < arguments.length; i++){
|
|
15065
15513
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
15066
15514
|
var ownKeys = Object.keys(source);
|
|
@@ -15070,7 +15518,7 @@ function _object_spread$2(target) {
|
|
|
15070
15518
|
}));
|
|
15071
15519
|
}
|
|
15072
15520
|
ownKeys.forEach(function(key) {
|
|
15073
|
-
_define_property$
|
|
15521
|
+
_define_property$1(target, key, source[key]);
|
|
15074
15522
|
});
|
|
15075
15523
|
}
|
|
15076
15524
|
return target;
|
|
@@ -15083,14 +15531,14 @@ var hasIntegrationMethod = function(value) {
|
|
|
15083
15531
|
return !value.integrationId || !!value.authMethodId;
|
|
15084
15532
|
};
|
|
15085
15533
|
/** An integration reference must name the Connector authentication method that consumes it. */ var workspaceConnectorAuthorizationSchema = v3.z.object(authorizationFields).strict().refine(hasIntegrationMethod);
|
|
15086
|
-
/** Intent only: the host resolves workspace identity, permissions and available Connector definitions. */ var workspaceConnectorConnectPayloadSchema = v3.z.object(_object_spread$
|
|
15534
|
+
/** Intent only: the host resolves workspace identity, permissions and available Connector definitions. */ var workspaceConnectorConnectPayloadSchema = v3.z.object(_object_spread$1({
|
|
15087
15535
|
provider: v3.z.string().regex(/^[a-z][a-z0-9_-]{0,63}$/)
|
|
15088
15536
|
}, authorizationFields)).strict().refine(hasIntegrationMethod);
|
|
15089
15537
|
|
|
15090
15538
|
var RUNTIME_RESTART_CONFIRMATION = "RESTART";
|
|
15091
15539
|
/** Terminal transport interruption; it does not indicate that the background task completed or failed. */ var RUNTIME_STREAM_INTERRUPTED_EVENT = "runtime-interrupted";
|
|
15092
15540
|
|
|
15093
|
-
function _define_property
|
|
15541
|
+
function _define_property(obj, key, value) {
|
|
15094
15542
|
if (key in obj) {
|
|
15095
15543
|
Object.defineProperty(obj, key, {
|
|
15096
15544
|
value: value,
|
|
@@ -15103,7 +15551,7 @@ function _define_property$1(obj, key, value) {
|
|
|
15103
15551
|
}
|
|
15104
15552
|
return obj;
|
|
15105
15553
|
}
|
|
15106
|
-
function _object_spread
|
|
15554
|
+
function _object_spread(target) {
|
|
15107
15555
|
for(var i = 1; i < arguments.length; i++){
|
|
15108
15556
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
15109
15557
|
var ownKeys = Object.keys(source);
|
|
@@ -15113,7 +15561,7 @@ function _object_spread$1(target) {
|
|
|
15113
15561
|
}));
|
|
15114
15562
|
}
|
|
15115
15563
|
ownKeys.forEach(function(key) {
|
|
15116
|
-
_define_property
|
|
15564
|
+
_define_property(target, key, source[key]);
|
|
15117
15565
|
});
|
|
15118
15566
|
}
|
|
15119
15567
|
return target;
|
|
@@ -15161,7 +15609,7 @@ var anchor = {
|
|
|
15161
15609
|
threadId: v3.z.string().optional(),
|
|
15162
15610
|
executionId: v3.z.string().optional()
|
|
15163
15611
|
};
|
|
15164
|
-
var trailStepSchema = v3.z.object(_object_spread_props(_object_spread
|
|
15612
|
+
var trailStepSchema = v3.z.object(_object_spread_props(_object_spread({
|
|
15165
15613
|
id: v3.z.string(),
|
|
15166
15614
|
laneId: v3.z.string(),
|
|
15167
15615
|
kind: v3.z.enum([
|
|
@@ -15182,7 +15630,7 @@ var trailStepSchema = v3.z.object(_object_spread_props(_object_spread$1({
|
|
|
15182
15630
|
input: v3.z.string().optional(),
|
|
15183
15631
|
output: v3.z.string().optional()
|
|
15184
15632
|
}));
|
|
15185
|
-
var trailLaneSchema = v3.z.object(_object_spread_props(_object_spread
|
|
15633
|
+
var trailLaneSchema = v3.z.object(_object_spread_props(_object_spread({
|
|
15186
15634
|
id: v3.z.string(),
|
|
15187
15635
|
parentId: v3.z.string().nullable(),
|
|
15188
15636
|
spawnStepId: v3.z.string().optional(),
|
|
@@ -15336,142 +15784,6 @@ var executionActivityBatchSchema = v3.z.object({
|
|
|
15336
15784
|
var ASSISTANT_CONTENT_REVIEW_COMMAND = "assistant.content.review";
|
|
15337
15785
|
var CONTENT_EDITOR_STATUS_COMMAND = "workbench.content.status";
|
|
15338
15786
|
|
|
15339
|
-
/** Host-owned opening avoids inheriting a remote component's iframe sandbox. */ var ARTIFACT_PRESENTATION_OPEN_COMMAND = "artifact.presentation.open";
|
|
15340
|
-
|
|
15341
|
-
function _array_like_to_array(arr, len) {
|
|
15342
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
15343
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
15344
|
-
return arr2;
|
|
15345
|
-
}
|
|
15346
|
-
function _array_with_holes(arr) {
|
|
15347
|
-
if (Array.isArray(arr)) return arr;
|
|
15348
|
-
}
|
|
15349
|
-
function _define_property(obj, key, value) {
|
|
15350
|
-
if (key in obj) {
|
|
15351
|
-
Object.defineProperty(obj, key, {
|
|
15352
|
-
value: value,
|
|
15353
|
-
enumerable: true,
|
|
15354
|
-
configurable: true,
|
|
15355
|
-
writable: true
|
|
15356
|
-
});
|
|
15357
|
-
} else {
|
|
15358
|
-
obj[key] = value;
|
|
15359
|
-
}
|
|
15360
|
-
return obj;
|
|
15361
|
-
}
|
|
15362
|
-
function _iterable_to_array_limit(arr, i) {
|
|
15363
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
15364
|
-
if (_i == null) return;
|
|
15365
|
-
var _arr = [];
|
|
15366
|
-
var _n = true;
|
|
15367
|
-
var _d = false;
|
|
15368
|
-
var _s, _e;
|
|
15369
|
-
try {
|
|
15370
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
15371
|
-
_arr.push(_s.value);
|
|
15372
|
-
if (i && _arr.length === i) break;
|
|
15373
|
-
}
|
|
15374
|
-
} catch (err) {
|
|
15375
|
-
_d = true;
|
|
15376
|
-
_e = err;
|
|
15377
|
-
} finally{
|
|
15378
|
-
try {
|
|
15379
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
15380
|
-
} finally{
|
|
15381
|
-
if (_d) throw _e;
|
|
15382
|
-
}
|
|
15383
|
-
}
|
|
15384
|
-
return _arr;
|
|
15385
|
-
}
|
|
15386
|
-
function _non_iterable_rest() {
|
|
15387
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15388
|
-
}
|
|
15389
|
-
function _object_spread(target) {
|
|
15390
|
-
for(var i = 1; i < arguments.length; i++){
|
|
15391
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
15392
|
-
var ownKeys = Object.keys(source);
|
|
15393
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
15394
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
15395
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
15396
|
-
}));
|
|
15397
|
-
}
|
|
15398
|
-
ownKeys.forEach(function(key) {
|
|
15399
|
-
_define_property(target, key, source[key]);
|
|
15400
|
-
});
|
|
15401
|
-
}
|
|
15402
|
-
return target;
|
|
15403
|
-
}
|
|
15404
|
-
function _sliced_to_array(arr, i) {
|
|
15405
|
-
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
15406
|
-
}
|
|
15407
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
15408
|
-
if (!o) return;
|
|
15409
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
15410
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
15411
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
15412
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
15413
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
15414
|
-
}
|
|
15415
|
-
// Public diagnostics are authored separately from driver errors. This is defense in depth,
|
|
15416
|
-
// not a sanitizer for arbitrary logs: producers must never copy raw exceptions into message.
|
|
15417
|
-
var privateText = /[\u0000-\u001f\u007f]|(?:https?|jdbc|postgres(?:ql)?|mysql):|\b(?:password|passwd|pwd|secret|token|authorization|cookie|api[_-]?key)\s*[:=]|\bBearer\s|-----BEGIN|\b(?:SELECT|WITH)\b[\s\S]*\bFROM\b|\b(?:INSERT\s+INTO|UPDATE\s+\S+\s+SET|DELETE\s+FROM)\b|<\/?[a-z][^>]*>|(?:\/Users\/|\/home\/|\/private\/|[A-Z]:\\)|\bat\s+\S+\s*\(/i;
|
|
15418
|
-
var publicText = v3.z.string().trim().min(1).max(600).refine(function(value) {
|
|
15419
|
-
return !privateText.test(value);
|
|
15420
|
-
});
|
|
15421
|
-
var reference = v3.z.string().regex(/^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$/);
|
|
15422
|
-
/** Portable HTTP/provider failure contract. No arbitrary details, cause, query or connection fields. */ var analyticsDiagnosticSchema = v3.z.object({
|
|
15423
|
-
schema: v3.z.literal("xpert.analytics.diagnostic"),
|
|
15424
|
-
version: v3.z.literal(1),
|
|
15425
|
-
code: v3.z.string().regex(/^[A-Z][A-Z0-9_-]{2,79}$/),
|
|
15426
|
-
stage: v3.z.enum([
|
|
15427
|
-
"request",
|
|
15428
|
-
"source",
|
|
15429
|
-
"validation",
|
|
15430
|
-
"authorization",
|
|
15431
|
-
"execution",
|
|
15432
|
-
"result",
|
|
15433
|
-
"dependency"
|
|
15434
|
-
]),
|
|
15435
|
-
message: publicText,
|
|
15436
|
-
retryable: v3.z.boolean(),
|
|
15437
|
-
upstreamExecutionId: reference.optional(),
|
|
15438
|
-
auditRef: reference.optional()
|
|
15439
|
-
}).strict().refine(function(value) {
|
|
15440
|
-
return !value.retryable || value.stage === "execution" || value.stage === "dependency";
|
|
15441
|
-
});
|
|
15442
|
-
/** Invalid provider diagnostics fail closed; never return Zod errors containing received input. */ function parseAnalyticsDiagnostic(value) {
|
|
15443
|
-
try {
|
|
15444
|
-
if (!value || typeof value !== "object") return undefined;
|
|
15445
|
-
var properties = Object.getOwnPropertyDescriptors(value);
|
|
15446
|
-
if (Object.values(properties).some(function(property) {
|
|
15447
|
-
return !("value" in property);
|
|
15448
|
-
})) return undefined;
|
|
15449
|
-
var parsed = analyticsDiagnosticSchema.safeParse(Object.fromEntries(Object.entries(properties).map(function(param) {
|
|
15450
|
-
var _param = _sliced_to_array(param, 2), key = _param[0], property = _param[1];
|
|
15451
|
-
return [
|
|
15452
|
-
key,
|
|
15453
|
-
property.value
|
|
15454
|
-
];
|
|
15455
|
-
})));
|
|
15456
|
-
if (!parsed.success) return undefined;
|
|
15457
|
-
var _parsed_data = parsed.data, schema = _parsed_data.schema, version = _parsed_data.version, code = _parsed_data.code, stage = _parsed_data.stage, message = _parsed_data.message, retryable = _parsed_data.retryable, upstreamExecutionId = _parsed_data.upstreamExecutionId, auditRef = _parsed_data.auditRef;
|
|
15458
|
-
return _object_spread({
|
|
15459
|
-
schema: schema,
|
|
15460
|
-
version: version,
|
|
15461
|
-
code: code,
|
|
15462
|
-
stage: stage,
|
|
15463
|
-
message: message,
|
|
15464
|
-
retryable: retryable
|
|
15465
|
-
}, upstreamExecutionId ? {
|
|
15466
|
-
upstreamExecutionId: upstreamExecutionId
|
|
15467
|
-
} : {}, auditRef ? {
|
|
15468
|
-
auditRef: auditRef
|
|
15469
|
-
} : {});
|
|
15470
|
-
} catch (e) {
|
|
15471
|
-
return undefined;
|
|
15472
|
-
}
|
|
15473
|
-
}
|
|
15474
|
-
|
|
15475
15787
|
var CONTENT_CATALOG_PROVIDER = "platform.content.catalog";
|
|
15476
15788
|
|
|
15477
15789
|
/** Negotiated Xpert extension. MCP cancellation acknowledgements are not exit evidence. */ var MCP_EXECUTION_CONTROL_EXTENSION_ID = "ai.xpert/execution-control";
|
|
@@ -15662,6 +15974,15 @@ var notificationSourceSchema = v3.z.object({
|
|
|
15662
15974
|
assistantId: v3.z.string().uuid(),
|
|
15663
15975
|
conversationId: v3.z.string().uuid()
|
|
15664
15976
|
}).strict();
|
|
15977
|
+
var scheduledNotificationOriginSchema = notificationSourceSchema.extend({
|
|
15978
|
+
threadId: v3.z.string().uuid().optional()
|
|
15979
|
+
});
|
|
15980
|
+
var openConversationActionSchema = v3.z.object({
|
|
15981
|
+
type: v3.z.literal("open_conversation"),
|
|
15982
|
+
assistantId: v3.z.string().uuid(),
|
|
15983
|
+
conversationId: v3.z.string().uuid(),
|
|
15984
|
+
threadId: v3.z.string().uuid().nullable()
|
|
15985
|
+
}).strict();
|
|
15665
15986
|
var userNotificationSchema = v3.z.object({
|
|
15666
15987
|
id: v3.z.string().uuid(),
|
|
15667
15988
|
kind: v3.z.literal("agent.completed"),
|
|
@@ -15672,12 +15993,7 @@ var userNotificationSchema = v3.z.object({
|
|
|
15672
15993
|
readAt: v3.z.string().datetime({
|
|
15673
15994
|
offset: true
|
|
15674
15995
|
}).nullable(),
|
|
15675
|
-
action:
|
|
15676
|
-
type: v3.z.literal("open_conversation"),
|
|
15677
|
-
assistantId: v3.z.string().uuid(),
|
|
15678
|
-
conversationId: v3.z.string().uuid(),
|
|
15679
|
-
threadId: v3.z.string().uuid().nullable()
|
|
15680
|
-
}).strict()
|
|
15996
|
+
action: openConversationActionSchema
|
|
15681
15997
|
}).strict();
|
|
15682
15998
|
var notificationSnapshotSchema = v3.z.object({
|
|
15683
15999
|
supported: v3.z.literal(true),
|
|
@@ -15707,7 +16023,7 @@ var notificationOutboxPayloadSchema = v3.z.discriminatedUnion("type", [
|
|
|
15707
16023
|
}).strict(),
|
|
15708
16024
|
v3.z.object({
|
|
15709
16025
|
type: v3.z.literal("agent.completed"),
|
|
15710
|
-
source:
|
|
16026
|
+
source: scheduledNotificationOriginSchema
|
|
15711
16027
|
}).strict()
|
|
15712
16028
|
]);
|
|
15713
16029
|
// The contracts declaration build uses strictNullChecks=false, which makes Zod's emitted
|
|
@@ -15715,6 +16031,9 @@ var notificationOutboxPayloadSchema = v3.z.discriminatedUnion("type", [
|
|
|
15715
16031
|
function parseAnnouncement(value) {
|
|
15716
16032
|
return announcementSchema.parse(value);
|
|
15717
16033
|
}
|
|
16034
|
+
function parseOpenConversationAction(value) {
|
|
16035
|
+
return openConversationActionSchema.parse(value);
|
|
16036
|
+
}
|
|
15718
16037
|
function parseUserNotification(value) {
|
|
15719
16038
|
return userNotificationSchema.parse(value);
|
|
15720
16039
|
}
|
|
@@ -15772,6 +16091,7 @@ Object.defineProperty(exports, "upsertResourceCardContent", {
|
|
|
15772
16091
|
enumerable: true,
|
|
15773
16092
|
get: function () { return chatkitTypes.upsertResourceCardContent; }
|
|
15774
16093
|
});
|
|
16094
|
+
exports.viewContextEventSchema = contextEvent.viewContextEventSchema;
|
|
15775
16095
|
exports.AGENT_OUTPUT_MAX_PATHS = AGENT_OUTPUT_MAX_PATHS;
|
|
15776
16096
|
exports.AGENT_PROFILE_TABS_SLOT = AGENT_PROFILE_TABS_SLOT;
|
|
15777
16097
|
exports.AGENT_WORKBENCH_SLOT = AGENT_WORKBENCH_SLOT;
|
|
@@ -15839,6 +16159,8 @@ exports.DEFAULT_XPERT_WORKSPACE_DATA_SCOPE = DEFAULT_XPERT_WORKSPACE_DATA_SCOPE;
|
|
|
15839
16159
|
exports.DEPRECATED_ROLE_PERMISSIONS = DEPRECATED_ROLE_PERMISSIONS;
|
|
15840
16160
|
exports.DefaultModelRole = DefaultModelRole;
|
|
15841
16161
|
exports.ENTERPRISE_H5_PLATFORMS = ENTERPRISE_H5_PLATFORMS;
|
|
16162
|
+
exports.EVENT_INBOX_FEATURE = EVENT_INBOX_FEATURE;
|
|
16163
|
+
exports.EVENT_INBOX_VIEW_KEY = EVENT_INBOX_VIEW_KEY;
|
|
15842
16164
|
exports.FEEDBACK_LEARNING_STRATEGY = FEEDBACK_LEARNING_STRATEGY;
|
|
15843
16165
|
exports.FILE_VARIABLES = FILE_VARIABLES;
|
|
15844
16166
|
exports.GENERAL_PROJECT_TYPE = GENERAL_PROJECT_TYPE;
|
|
@@ -15932,8 +16254,6 @@ exports.MCP_TOOL_IDEMPOTENCY = MCP_TOOL_IDEMPOTENCY;
|
|
|
15932
16254
|
exports.MCP_TOOL_RISKS = MCP_TOOL_RISKS;
|
|
15933
16255
|
exports.MCP_TOOL_SIDE_EFFECTS = MCP_TOOL_SIDE_EFFECTS;
|
|
15934
16256
|
exports.MEMBERSHIP_CNY_PER_POINT_SETTING = MEMBERSHIP_CNY_PER_POINT_SETTING;
|
|
15935
|
-
exports.MEMORY_PROFILE_PROMPT = MEMORY_PROFILE_PROMPT;
|
|
15936
|
-
exports.MEMORY_QA_PROMPT = MEMORY_QA_PROMPT;
|
|
15937
16257
|
exports.MIN_COPILOT_CHECKPOINT_RETENTION_DAYS = MIN_COPILOT_CHECKPOINT_RETENTION_DAYS;
|
|
15938
16258
|
exports.MIN_MODEL_GATEWAY_BODY_RETENTION_DAYS = MIN_MODEL_GATEWAY_BODY_RETENTION_DAYS;
|
|
15939
16259
|
exports.MIN_MODEL_GATEWAY_CALL_RETENTION_DAYS = MIN_MODEL_GATEWAY_CALL_RETENTION_DAYS;
|
|
@@ -15963,6 +16283,10 @@ exports.PLUGIN_RESOURCE_ERROR_CODE = PLUGIN_RESOURCE_ERROR_CODE;
|
|
|
15963
16283
|
exports.PLUGIN_RESOURCE_INSTALLATION_STATUS = PLUGIN_RESOURCE_INSTALLATION_STATUS;
|
|
15964
16284
|
exports.PLUGIN_RESOURCE_RUNTIME_TYPE = PLUGIN_RESOURCE_RUNTIME_TYPE;
|
|
15965
16285
|
exports.PLUGIN_SOURCE = PLUGIN_SOURCE;
|
|
16286
|
+
exports.PROJECT_CONFIGURATION_ACTIONS = PROJECT_CONFIGURATION_ACTIONS;
|
|
16287
|
+
exports.PROJECT_CONFIGURATION_ACTION_HANDLERS = PROJECT_CONFIGURATION_ACTION_HANDLERS;
|
|
16288
|
+
exports.PROJECT_CONFIGURATION_PROVIDER = PROJECT_CONFIGURATION_PROVIDER;
|
|
16289
|
+
exports.PROJECT_CONFIGURATION_VIEW = PROJECT_CONFIGURATION_VIEW;
|
|
15966
16290
|
exports.PROJECT_TASK_ICON_NAMES = PROJECT_TASK_ICON_NAMES;
|
|
15967
16291
|
exports.PermissionGroups = PermissionGroups;
|
|
15968
16292
|
exports.ROLE_PERMISSION_CATALOG = ROLE_PERMISSION_CATALOG;
|
|
@@ -15999,6 +16323,7 @@ exports.TOOL_NAME_REGEX = TOOL_NAME_REGEX;
|
|
|
15999
16323
|
exports.TranslationLanguageMap = TranslationLanguageMap;
|
|
16000
16324
|
exports.UNWIRED_AI_PERMISSIONS = UNWIRED_AI_PERMISSIONS;
|
|
16001
16325
|
exports.USAGE_HOUR_FORMAT = USAGE_HOUR_FORMAT;
|
|
16326
|
+
exports.USER_EVENT_INBOX_SLOT = USER_EVENT_INBOX_SLOT;
|
|
16002
16327
|
exports.USER_ORGANIZATION_ENTRY_GUIDE_CLAWXPERT = USER_ORGANIZATION_ENTRY_GUIDE_CLAWXPERT;
|
|
16003
16328
|
exports.VariableOperations = VariableOperations;
|
|
16004
16329
|
exports.WORKBENCH_AGENT_EVOLUTION_CHANGE_TARGET = WORKBENCH_AGENT_EVOLUTION_CHANGE_TARGET;
|
|
@@ -16006,6 +16331,7 @@ exports.WORKBENCH_AGENT_EVOLUTION_TARGET = WORKBENCH_AGENT_EVOLUTION_TARGET;
|
|
|
16006
16331
|
exports.WORKBENCH_ASSISTANT_CONVERSATION_TARGET = WORKBENCH_ASSISTANT_CONVERSATION_TARGET;
|
|
16007
16332
|
exports.WORKBENCH_ASSISTANT_EXECUTION_TARGET = WORKBENCH_ASSISTANT_EXECUTION_TARGET;
|
|
16008
16333
|
exports.WORKBENCH_ASSISTANT_PROJECT_TARGET = WORKBENCH_ASSISTANT_PROJECT_TARGET;
|
|
16334
|
+
exports.WORKBENCH_CONTENT_DRAFT_COMMAND = WORKBENCH_CONTENT_DRAFT_COMMAND;
|
|
16009
16335
|
exports.WORKBENCH_EXTENSION_VIEW_TARGET = WORKBENCH_EXTENSION_VIEW_TARGET;
|
|
16010
16336
|
exports.WORKBENCH_FILE_OPEN_COMMAND = WORKBENCH_FILE_OPEN_COMMAND;
|
|
16011
16337
|
exports.WORKBENCH_GROUP_MESSAGE_TARGET = WORKBENCH_GROUP_MESSAGE_TARGET;
|
|
@@ -16017,6 +16343,7 @@ exports.WORKBENCH_RESOURCE_OPEN_COMMAND = WORKBENCH_RESOURCE_OPEN_COMMAND;
|
|
|
16017
16343
|
exports.WORKBENCH_VIEW_OPEN_EVENT = WORKBENCH_VIEW_OPEN_EVENT;
|
|
16018
16344
|
exports.WORKSPACE_PUBLIC_SKILL_REPOSITORY_NAME = WORKSPACE_PUBLIC_SKILL_REPOSITORY_NAME;
|
|
16019
16345
|
exports.WORKSPACE_PUBLIC_SKILL_SOURCE_PROVIDER = WORKSPACE_PUBLIC_SKILL_SOURCE_PROVIDER;
|
|
16346
|
+
exports.XPERT_FILE_MEMORY_MIDDLEWARE_NAME = XPERT_FILE_MEMORY_MIDDLEWARE_NAME;
|
|
16020
16347
|
exports.XPERT_REMOTE_COMPONENT_INVOKE_CLIENT_COMMAND_MESSAGE_TYPE = XPERT_REMOTE_COMPONENT_INVOKE_CLIENT_COMMAND_MESSAGE_TYPE;
|
|
16021
16348
|
exports.XPERT_TASK_SCHEDULE_IDEMPOTENCY_KEY = XPERT_TASK_SCHEDULE_IDEMPOTENCY_KEY;
|
|
16022
16349
|
exports.XPERT_TASK_SCHEDULE_PROPERTY_PREFIX = XPERT_TASK_SCHEDULE_PROPERTY_PREFIX;
|
|
@@ -16025,6 +16352,9 @@ exports.XPERT_VIEW_PROJECT_ID_HEADER = XPERT_VIEW_PROJECT_ID_HEADER;
|
|
|
16025
16352
|
exports.XpertMarketplaceBusinessCategories = XpertMarketplaceBusinessCategories;
|
|
16026
16353
|
exports.XpertMarketplaceCollaborationModes = XpertMarketplaceCollaborationModes;
|
|
16027
16354
|
exports.XpertMarketplaceTechnicalCategories = XpertMarketplaceTechnicalCategories;
|
|
16355
|
+
exports.agentDeliveryRecoverySchema = agentDeliveryRecoverySchema;
|
|
16356
|
+
exports.agentEventDecisionSchema = agentEventDecisionSchema;
|
|
16357
|
+
exports.agentEventRefSchema = agentEventRefSchema;
|
|
16028
16358
|
exports.agentInvocationStatusSchema = agentInvocationStatusSchema;
|
|
16029
16359
|
exports.agentInvocationTerminalStatusSchema = agentInvocationTerminalStatusSchema;
|
|
16030
16360
|
exports.agentLabel = agentLabel;
|
|
@@ -16266,11 +16596,13 @@ exports.notificationOutboxPayloadSchema = notificationOutboxPayloadSchema;
|
|
|
16266
16596
|
exports.notificationSnapshotSchema = notificationSnapshotSchema;
|
|
16267
16597
|
exports.notificationSourceSchema = notificationSourceSchema;
|
|
16268
16598
|
exports.omitXpertRelations = omitXpertRelations;
|
|
16599
|
+
exports.openConversationActionSchema = openConversationActionSchema;
|
|
16269
16600
|
exports.orderAssistantXperts = orderAssistantXperts;
|
|
16270
16601
|
exports.parseAnalyticsDiagnostic = parseAnalyticsDiagnostic;
|
|
16271
16602
|
exports.parseAnnouncement = parseAnnouncement;
|
|
16272
16603
|
exports.parseGithubSkillInstallCommand = parseGithubSkillInstallCommand;
|
|
16273
16604
|
exports.parseNotificationSnapshot = parseNotificationSnapshot;
|
|
16605
|
+
exports.parseOpenConversationAction = parseOpenConversationAction;
|
|
16274
16606
|
exports.parseProjectPipelineParameters = parseProjectPipelineParameters;
|
|
16275
16607
|
exports.parsePromptCapabilityConfig = parsePromptCapabilityConfig;
|
|
16276
16608
|
exports.parsePromptCapabilitySelection = parsePromptCapabilitySelection;
|
|
@@ -16293,6 +16625,11 @@ exports.pipelineModelUsageStatisticsSchema = pipelineModelUsageStatisticsSchema;
|
|
|
16293
16625
|
exports.pipelineNodeNeedsHuman = pipelineNodeNeedsHuman;
|
|
16294
16626
|
exports.pipelineQueueStatistics = pipelineQueueStatistics;
|
|
16295
16627
|
exports.pipelineQueueStatisticsSchema = pipelineQueueStatisticsSchema;
|
|
16628
|
+
exports.pluginAgentEventSchema = pluginAgentEventSchema;
|
|
16629
|
+
exports.projectConfigurationActionSchema = projectConfigurationActionSchema;
|
|
16630
|
+
exports.projectConfigurationSectionSchema = projectConfigurationSectionSchema;
|
|
16631
|
+
exports.projectConfigurationUpdateSchema = projectConfigurationUpdateSchema;
|
|
16632
|
+
exports.projectConfigurationValuesSchema = projectConfigurationValuesSchema;
|
|
16296
16633
|
exports.projectPipelineAnalytics = projectPipelineAnalytics;
|
|
16297
16634
|
exports.projectPipelineAnalyticsInputSchema = projectPipelineAnalyticsInputSchema;
|
|
16298
16635
|
exports.projectPipelineAnalyticsSchema = projectPipelineAnalyticsSchema;
|
|
@@ -16325,6 +16662,8 @@ exports.projectPipelineInstanceSchema = projectPipelineInstanceSchema;
|
|
|
16325
16662
|
exports.projectPipelineJsonSchema = projectPipelineJsonSchema;
|
|
16326
16663
|
exports.projectPipelineKeySchema = projectPipelineKeySchema;
|
|
16327
16664
|
exports.projectPipelineLaneSchema = projectPipelineLaneSchema;
|
|
16665
|
+
exports.projectPipelineModelBudgetIncreaseRecordSchema = projectPipelineModelBudgetIncreaseRecordSchema;
|
|
16666
|
+
exports.projectPipelineModelBudgetIncreaseSchema = projectPipelineModelBudgetIncreaseSchema;
|
|
16328
16667
|
exports.projectPipelineNativeDispatchSchema = projectPipelineNativeDispatchSchema;
|
|
16329
16668
|
exports.projectPipelineNativeModelBudgetSchema = projectPipelineNativeModelBudgetSchema;
|
|
16330
16669
|
exports.projectPipelineNativeModelBudgetStatusSchema = projectPipelineNativeModelBudgetStatusSchema;
|
|
@@ -16374,16 +16713,27 @@ exports.projectPipelineSubjectVersionSchema = projectPipelineSubjectVersionSchem
|
|
|
16374
16713
|
exports.projectPipelineTaskProjectionSchema = projectPipelineTaskProjectionSchema;
|
|
16375
16714
|
exports.projectPipelineWorkContextSchema = projectPipelineWorkContextSchema;
|
|
16376
16715
|
exports.projectPipelineWorkCountsSchema = projectPipelineWorkCountsSchema;
|
|
16716
|
+
exports.projectPluginDeploymentReceiptSchema = projectPluginDeploymentReceiptSchema;
|
|
16717
|
+
exports.projectPluginDeploymentRefs = projectPluginDeploymentRefs;
|
|
16718
|
+
exports.projectPluginDeploymentRequestSchema = projectPluginDeploymentRequestSchema;
|
|
16719
|
+
exports.projectTaskCandidatePathSchema = projectTaskCandidatePathSchema;
|
|
16720
|
+
exports.projectTaskConfigurationSchema = projectTaskConfigurationSchema;
|
|
16377
16721
|
exports.projectTaskDecisionInputSchema = projectTaskDecisionInputSchema;
|
|
16378
16722
|
exports.projectTaskDecisionSchema = projectTaskDecisionSchema;
|
|
16723
|
+
exports.projectTaskDecisionToolInputSchema = projectTaskDecisionToolInputSchema;
|
|
16379
16724
|
exports.projectTaskDispatchInputSchema = projectTaskDispatchInputSchema;
|
|
16380
16725
|
exports.projectTaskDispatchReceiptSchema = projectTaskDispatchReceiptSchema;
|
|
16381
16726
|
exports.projectTaskDispatchToolInputSchema = projectTaskDispatchToolInputSchema;
|
|
16727
|
+
exports.projectTaskDurationSchema = projectTaskDurationSchema;
|
|
16728
|
+
exports.projectTaskEvidencePathSchema = projectTaskEvidencePathSchema;
|
|
16382
16729
|
exports.projectTaskEvidenceReferenceSchema = projectTaskEvidenceReferenceSchema;
|
|
16383
16730
|
exports.projectTaskExecutionContextSchema = projectTaskExecutionContextSchema;
|
|
16384
16731
|
exports.projectTaskExecutionPurposeSchema = projectTaskExecutionPurposeSchema;
|
|
16385
16732
|
exports.projectTaskExecutionReferenceSchema = projectTaskExecutionReferenceSchema;
|
|
16386
16733
|
exports.projectTaskReviewReportSchema = projectTaskReviewReportSchema;
|
|
16734
|
+
exports.projectTaskReviewSubjectSchema = projectTaskReviewSubjectSchema;
|
|
16735
|
+
exports.projectTaskReviewerSchema = projectTaskReviewerSchema;
|
|
16736
|
+
exports.projectTaskReworkSchema = projectTaskReworkSchema;
|
|
16387
16737
|
exports.projectTaskSpecificationDigestSchema = projectTaskSpecificationDigestSchema;
|
|
16388
16738
|
exports.projectTaskSpecificationSchema = projectTaskSpecificationSchema;
|
|
16389
16739
|
exports.projectTaskSpecificationSnapshotSchema = projectTaskSpecificationSnapshotSchema;
|
|
@@ -16406,6 +16756,7 @@ exports.sandboxRuntimeEvidenceSchema = sandboxRuntimeEvidenceSchema;
|
|
|
16406
16756
|
exports.sandboxRuntimeTargetSchema = sandboxRuntimeTargetSchema;
|
|
16407
16757
|
exports.sandboxTargetsEqual = sandboxTargetsEqual;
|
|
16408
16758
|
exports.saveRoleDefaultsSchema = saveRoleDefaultsSchema;
|
|
16759
|
+
exports.scheduledNotificationOriginSchema = scheduledNotificationOriginSchema;
|
|
16409
16760
|
exports.selectedPipelineAttemptFacts = selectedPipelineAttemptFacts;
|
|
16410
16761
|
exports.setStateVariable = setStateVariable;
|
|
16411
16762
|
exports.shortTitle = shortTitle;
|