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