@valerypopoff/rivet2-core 2.25.0 → 2.26.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/dist/cjs/bundle.cjs +471 -203
- package/dist/cjs/bundle.cjs.map +4 -4
- package/dist/esm/exports.js +1 -0
- package/dist/esm/model/GraphExecutionState.js +1 -1
- package/dist/esm/model/GraphProcessor.js +30 -9
- package/dist/esm/model/LatestDebuggerProtocol.js +156 -0
- package/dist/esm/model/Nodes.js +3 -0
- package/dist/esm/model/RunCostLedger.js +63 -32
- package/dist/esm/model/nodes/AICostNode.js +56 -0
- package/dist/types/exports.d.ts +1 -0
- package/dist/types/model/GraphExecutionState.d.ts +1 -0
- package/dist/types/model/LatestDebuggerProtocol.d.ts +113 -0
- package/dist/types/model/Nodes.d.ts +3 -2
- package/dist/types/model/ProcessContext.d.ts +3 -0
- package/dist/types/model/RunCostLedger.d.ts +12 -2
- package/dist/types/model/nodes/AICostNode.d.ts +15 -0
- package/package.json +1 -1
package/dist/cjs/bundle.cjs
CHANGED
|
@@ -34,6 +34,7 @@ __export(src_exports, {
|
|
|
34
34
|
AGENT_RESPONSE_TRACE_MAX_PROFILE_ATTEMPTS: () => AGENT_RESPONSE_TRACE_MAX_PROFILE_ATTEMPTS,
|
|
35
35
|
AGENT_RESPONSE_TRACE_MAX_TOOL_CALLS: () => AGENT_RESPONSE_TRACE_MAX_TOOL_CALLS,
|
|
36
36
|
AGENT_RESPONSE_TRACE_SCHEMA_VERSION: () => AGENT_RESPONSE_TRACE_SCHEMA_VERSION,
|
|
37
|
+
AICostNodeImpl: () => AICostNodeImpl,
|
|
37
38
|
ALL_CODE_RUNNER_OPTIONS: () => ALL_CODE_RUNNER_OPTIONS,
|
|
38
39
|
AbortGraphNodeImpl: () => AbortGraphNodeImpl,
|
|
39
40
|
AgentResponseTraceCollector: () => AgentResponseTraceCollector,
|
|
@@ -137,6 +138,7 @@ __export(src_exports, {
|
|
|
137
138
|
KnowledgeDocumentNodeImpl: () => KnowledgeDocumentNodeImpl,
|
|
138
139
|
KnowledgeSourceNodeImpl: () => KnowledgeSourceNodeImpl,
|
|
139
140
|
KnowledgeStoreController: () => KnowledgeStoreController,
|
|
141
|
+
LATEST_DEBUGGER_PATH: () => LATEST_DEBUGGER_PATH,
|
|
140
142
|
LIQUID_DEFAULT_CREDENTIAL_NAMES: () => LIQUID_DEFAULT_CREDENTIAL_NAMES,
|
|
141
143
|
LIQUID_SYSTEM_ONE_ENDPOINT: () => LIQUID_SYSTEM_ONE_ENDPOINT,
|
|
142
144
|
LIQUID_TOKEN_PRICING: () => LIQUID_TOKEN_PRICING,
|
|
@@ -245,6 +247,7 @@ __export(src_exports, {
|
|
|
245
247
|
WatchStreamingOutputNodeImpl: () => WatchStreamingOutputNodeImpl,
|
|
246
248
|
abortGraphNode: () => abortGraphNode,
|
|
247
249
|
addWarning: () => addWarning,
|
|
250
|
+
aiCostNode: () => aiCostNode,
|
|
248
251
|
analyzeCodeOutputs: () => analyzeCodeOutputs,
|
|
249
252
|
anthropicCacheControlTtlOptions: () => anthropicCacheControlTtlOptions,
|
|
250
253
|
anthropicEffortOptions: () => anthropicEffortOptions,
|
|
@@ -350,6 +353,9 @@ __export(src_exports, {
|
|
|
350
353
|
createKnowledgeStoreFieldDraftDefaults: () => createKnowledgeStoreFieldDraftDefaults,
|
|
351
354
|
createLLMChatV2NodeData: () => createLLMChatV2NodeData,
|
|
352
355
|
createLLMProfileNodeData: () => createLLMProfileNodeData,
|
|
356
|
+
createLatestDebuggerControlResult: () => createLatestDebuggerControlResult,
|
|
357
|
+
createLatestDebuggerDiagnostic: () => createLatestDebuggerDiagnostic,
|
|
358
|
+
createLatestDebuggerSession: () => createLatestDebuggerSession,
|
|
353
359
|
createProjectBundleRuntime: () => createProjectBundleRuntime,
|
|
354
360
|
createResolvedChatV2Provider: () => createResolvedChatV2Provider,
|
|
355
361
|
createRivetLLMProfileHealthIdentity: () => createRivetLLMProfileHealthIdentity,
|
|
@@ -388,6 +394,7 @@ __export(src_exports, {
|
|
|
388
394
|
documentNode: () => documentNode,
|
|
389
395
|
doubleCheckProject: () => doubleCheckProject,
|
|
390
396
|
emptyNodeGraph: () => emptyNodeGraph,
|
|
397
|
+
encodeLatestDebuggerEnvelope: () => encodeLatestDebuggerEnvelope,
|
|
391
398
|
encodeProjectGlobalVariable: () => encodeProjectGlobalVariable,
|
|
392
399
|
encodeRivetWebAppStorageBinaryFrame: () => encodeRivetWebAppStorageBinaryFrame,
|
|
393
400
|
evaluateJsonPath: () => evaluateJsonPath,
|
|
@@ -571,6 +578,11 @@ __export(src_exports, {
|
|
|
571
578
|
isKnowledgeSourceReference: () => isKnowledgeSourceReference,
|
|
572
579
|
isKnowledgeStoreProviderFieldDefaultValid: () => isKnowledgeStoreProviderFieldDefaultValid,
|
|
573
580
|
isLLMChatV2StructuredResponseFormat: () => isLLMChatV2StructuredResponseFormat,
|
|
581
|
+
isLatestDebuggerControlResult: () => isLatestDebuggerControlResult,
|
|
582
|
+
isLatestDebuggerDiagnostic: () => isLatestDebuggerDiagnostic,
|
|
583
|
+
isLatestDebuggerExecutionMessage: () => isLatestDebuggerExecutionMessage,
|
|
584
|
+
isLatestDebuggerScope: () => isLatestDebuggerScope,
|
|
585
|
+
isLatestDebuggerSession: () => isLatestDebuggerSession,
|
|
574
586
|
isNodePrefabInstanceNode: () => isNodePrefabInstanceNode,
|
|
575
587
|
isNotFunctionDataValue: () => isNotFunctionDataValue,
|
|
576
588
|
isReportedTokenCount: () => isReportedTokenCount,
|
|
@@ -677,6 +689,8 @@ __export(src_exports, {
|
|
|
677
689
|
parseDataBusChannelIndex: () => parseDataBusChannelIndex,
|
|
678
690
|
parseInterpolationExpression: () => parseInterpolationExpression,
|
|
679
691
|
parseInterpolationTemplate: () => parseInterpolationTemplate,
|
|
692
|
+
parseLatestDebuggerPath: () => parseLatestDebuggerPath,
|
|
693
|
+
parseLatestEndpointSegment: () => parseLatestEndpointSegment,
|
|
680
694
|
parseProviderJsonChunk: () => parseProviderJsonChunk,
|
|
681
695
|
parseRivetWebAppBrowserStorageClientMessage: () => parseRivetWebAppBrowserStorageClientMessage,
|
|
682
696
|
parseRivetWebAppBrowserStorageServerMessage: () => parseRivetWebAppBrowserStorageServerMessage,
|
|
@@ -706,6 +720,9 @@ __export(src_exports, {
|
|
|
706
720
|
readFileNode: () => readFileNode,
|
|
707
721
|
readKnowledgeStoreConnectionCredentials: () => readKnowledgeStoreConnectionCredentials,
|
|
708
722
|
readKnowledgeStoreConnectionCredentialsDraft: () => readKnowledgeStoreConnectionCredentialsDraft,
|
|
723
|
+
readLatestDebuggerControl: () => readLatestDebuggerControl,
|
|
724
|
+
readLatestDebuggerEventId: () => readLatestDebuggerEventId,
|
|
725
|
+
readLatestDebuggerExecution: () => readLatestDebuggerExecution,
|
|
709
726
|
reconcileProjectUiGraphBindings: () => reconcileProjectUiGraphBindings,
|
|
710
727
|
reconcileProjectUiGraphButtonBindings: () => reconcileProjectUiGraphButtonBindings,
|
|
711
728
|
reconcileSubgraphTargetBoundary: () => reconcileSubgraphTargetBoundary,
|
|
@@ -829,6 +846,7 @@ __export(exports_exports, {
|
|
|
829
846
|
AGENT_RESPONSE_TRACE_MAX_PROFILE_ATTEMPTS: () => AGENT_RESPONSE_TRACE_MAX_PROFILE_ATTEMPTS,
|
|
830
847
|
AGENT_RESPONSE_TRACE_MAX_TOOL_CALLS: () => AGENT_RESPONSE_TRACE_MAX_TOOL_CALLS,
|
|
831
848
|
AGENT_RESPONSE_TRACE_SCHEMA_VERSION: () => AGENT_RESPONSE_TRACE_SCHEMA_VERSION,
|
|
849
|
+
AICostNodeImpl: () => AICostNodeImpl,
|
|
832
850
|
ALL_CODE_RUNNER_OPTIONS: () => ALL_CODE_RUNNER_OPTIONS,
|
|
833
851
|
AbortGraphNodeImpl: () => AbortGraphNodeImpl,
|
|
834
852
|
AgentResponseTraceCollector: () => AgentResponseTraceCollector,
|
|
@@ -932,6 +950,7 @@ __export(exports_exports, {
|
|
|
932
950
|
KnowledgeDocumentNodeImpl: () => KnowledgeDocumentNodeImpl,
|
|
933
951
|
KnowledgeSourceNodeImpl: () => KnowledgeSourceNodeImpl,
|
|
934
952
|
KnowledgeStoreController: () => KnowledgeStoreController,
|
|
953
|
+
LATEST_DEBUGGER_PATH: () => LATEST_DEBUGGER_PATH,
|
|
935
954
|
LIQUID_DEFAULT_CREDENTIAL_NAMES: () => LIQUID_DEFAULT_CREDENTIAL_NAMES,
|
|
936
955
|
LIQUID_SYSTEM_ONE_ENDPOINT: () => LIQUID_SYSTEM_ONE_ENDPOINT,
|
|
937
956
|
LIQUID_TOKEN_PRICING: () => LIQUID_TOKEN_PRICING,
|
|
@@ -1039,6 +1058,7 @@ __export(exports_exports, {
|
|
|
1039
1058
|
WatchStreamingOutputNodeImpl: () => WatchStreamingOutputNodeImpl,
|
|
1040
1059
|
abortGraphNode: () => abortGraphNode,
|
|
1041
1060
|
addWarning: () => addWarning,
|
|
1061
|
+
aiCostNode: () => aiCostNode,
|
|
1042
1062
|
analyzeCodeOutputs: () => analyzeCodeOutputs,
|
|
1043
1063
|
anthropicCacheControlTtlOptions: () => anthropicCacheControlTtlOptions,
|
|
1044
1064
|
anthropicEffortOptions: () => anthropicEffortOptions,
|
|
@@ -1144,6 +1164,9 @@ __export(exports_exports, {
|
|
|
1144
1164
|
createKnowledgeStoreFieldDraftDefaults: () => createKnowledgeStoreFieldDraftDefaults,
|
|
1145
1165
|
createLLMChatV2NodeData: () => createLLMChatV2NodeData,
|
|
1146
1166
|
createLLMProfileNodeData: () => createLLMProfileNodeData,
|
|
1167
|
+
createLatestDebuggerControlResult: () => createLatestDebuggerControlResult,
|
|
1168
|
+
createLatestDebuggerDiagnostic: () => createLatestDebuggerDiagnostic,
|
|
1169
|
+
createLatestDebuggerSession: () => createLatestDebuggerSession,
|
|
1147
1170
|
createProjectBundleRuntime: () => createProjectBundleRuntime,
|
|
1148
1171
|
createResolvedChatV2Provider: () => createResolvedChatV2Provider,
|
|
1149
1172
|
createRivetLLMProfileHealthIdentity: () => createRivetLLMProfileHealthIdentity,
|
|
@@ -1182,6 +1205,7 @@ __export(exports_exports, {
|
|
|
1182
1205
|
documentNode: () => documentNode,
|
|
1183
1206
|
doubleCheckProject: () => doubleCheckProject,
|
|
1184
1207
|
emptyNodeGraph: () => emptyNodeGraph,
|
|
1208
|
+
encodeLatestDebuggerEnvelope: () => encodeLatestDebuggerEnvelope,
|
|
1185
1209
|
encodeProjectGlobalVariable: () => encodeProjectGlobalVariable,
|
|
1186
1210
|
encodeRivetWebAppStorageBinaryFrame: () => encodeRivetWebAppStorageBinaryFrame,
|
|
1187
1211
|
evaluateJsonPath: () => evaluateJsonPath,
|
|
@@ -1365,6 +1389,11 @@ __export(exports_exports, {
|
|
|
1365
1389
|
isKnowledgeSourceReference: () => isKnowledgeSourceReference,
|
|
1366
1390
|
isKnowledgeStoreProviderFieldDefaultValid: () => isKnowledgeStoreProviderFieldDefaultValid,
|
|
1367
1391
|
isLLMChatV2StructuredResponseFormat: () => isLLMChatV2StructuredResponseFormat,
|
|
1392
|
+
isLatestDebuggerControlResult: () => isLatestDebuggerControlResult,
|
|
1393
|
+
isLatestDebuggerDiagnostic: () => isLatestDebuggerDiagnostic,
|
|
1394
|
+
isLatestDebuggerExecutionMessage: () => isLatestDebuggerExecutionMessage,
|
|
1395
|
+
isLatestDebuggerScope: () => isLatestDebuggerScope,
|
|
1396
|
+
isLatestDebuggerSession: () => isLatestDebuggerSession,
|
|
1368
1397
|
isNodePrefabInstanceNode: () => isNodePrefabInstanceNode,
|
|
1369
1398
|
isNotFunctionDataValue: () => isNotFunctionDataValue,
|
|
1370
1399
|
isReportedTokenCount: () => isReportedTokenCount,
|
|
@@ -1471,6 +1500,8 @@ __export(exports_exports, {
|
|
|
1471
1500
|
parseDataBusChannelIndex: () => parseDataBusChannelIndex,
|
|
1472
1501
|
parseInterpolationExpression: () => parseInterpolationExpression,
|
|
1473
1502
|
parseInterpolationTemplate: () => parseInterpolationTemplate,
|
|
1503
|
+
parseLatestDebuggerPath: () => parseLatestDebuggerPath,
|
|
1504
|
+
parseLatestEndpointSegment: () => parseLatestEndpointSegment,
|
|
1474
1505
|
parseProviderJsonChunk: () => parseProviderJsonChunk,
|
|
1475
1506
|
parseRivetWebAppBrowserStorageClientMessage: () => parseRivetWebAppBrowserStorageClientMessage,
|
|
1476
1507
|
parseRivetWebAppBrowserStorageServerMessage: () => parseRivetWebAppBrowserStorageServerMessage,
|
|
@@ -1500,6 +1531,9 @@ __export(exports_exports, {
|
|
|
1500
1531
|
readFileNode: () => readFileNode,
|
|
1501
1532
|
readKnowledgeStoreConnectionCredentials: () => readKnowledgeStoreConnectionCredentials,
|
|
1502
1533
|
readKnowledgeStoreConnectionCredentialsDraft: () => readKnowledgeStoreConnectionCredentialsDraft,
|
|
1534
|
+
readLatestDebuggerControl: () => readLatestDebuggerControl,
|
|
1535
|
+
readLatestDebuggerEventId: () => readLatestDebuggerEventId,
|
|
1536
|
+
readLatestDebuggerExecution: () => readLatestDebuggerExecution,
|
|
1503
1537
|
reconcileProjectUiGraphBindings: () => reconcileProjectUiGraphBindings,
|
|
1504
1538
|
reconcileProjectUiGraphButtonBindings: () => reconcileProjectUiGraphButtonBindings,
|
|
1505
1539
|
reconcileSubgraphTargetBoundary: () => reconcileSubgraphTargetBoundary,
|
|
@@ -6839,52 +6873,81 @@ function evaluateJsonPath(value, path, wrap = false) {
|
|
|
6839
6873
|
}
|
|
6840
6874
|
|
|
6841
6875
|
// src/model/RunCostLedger.ts
|
|
6842
|
-
var
|
|
6843
|
-
|
|
6844
|
-
|
|
6876
|
+
var emptySummary = () => ({ knownCostUsd: 0, hasKnownCost: false, hasUnknownCost: false });
|
|
6877
|
+
function addCost(summary, cost) {
|
|
6878
|
+
if (cost === null) summary.hasUnknownCost = true;
|
|
6879
|
+
else {
|
|
6880
|
+
summary.knownCostUsd += cost;
|
|
6881
|
+
summary.hasKnownCost = true;
|
|
6882
|
+
}
|
|
6883
|
+
}
|
|
6884
|
+
function readSummary(summary, executionPending = false) {
|
|
6885
|
+
if (!Number.isFinite(summary.knownCostUsd)) return { status: "unknown", knownCostUsd: null };
|
|
6886
|
+
if (!summary.hasUnknownCost && !executionPending) return { status: "complete", knownCostUsd: summary.knownCostUsd };
|
|
6887
|
+
if (!summary.hasKnownCost) return { status: "unknown", knownCostUsd: null };
|
|
6888
|
+
return { status: "partial", knownCostUsd: summary.knownCostUsd };
|
|
6889
|
+
}
|
|
6890
|
+
var RunCostLedger = class _RunCostLedger {
|
|
6891
|
+
#parent;
|
|
6892
|
+
#seenCalls;
|
|
6893
|
+
#costs = { llm: emptySummary(), decisionAI: emptySummary(), total: emptySummary() };
|
|
6894
|
+
constructor(parent) {
|
|
6895
|
+
this.#parent = parent;
|
|
6896
|
+
this.#seenCalls = parent ? parent.#seenCalls : /* @__PURE__ */ new Set();
|
|
6897
|
+
}
|
|
6898
|
+
createProjectScope() {
|
|
6899
|
+
return new _RunCostLedger(this);
|
|
6900
|
+
}
|
|
6845
6901
|
observeChat(event) {
|
|
6846
6902
|
if (typeof event.callId !== "string" || !event.callId) {
|
|
6847
|
-
this.markUnobserved();
|
|
6903
|
+
this.markUnobserved("llm");
|
|
6848
6904
|
return;
|
|
6849
6905
|
}
|
|
6850
|
-
this.#record(`llm:${event.callId}`, event.pricing.status === "known" ? event.pricing.costUsd : void 0);
|
|
6906
|
+
this.#record(`llm:${event.callId}`, "llm", event.pricing.status === "known" ? event.pricing.costUsd : void 0);
|
|
6851
6907
|
}
|
|
6852
6908
|
observeClassifier(event) {
|
|
6853
6909
|
var _a;
|
|
6854
6910
|
if (event.family !== "classifier" || event.attemptIndex === void 0) return;
|
|
6855
6911
|
if (typeof event.eventId !== "string" || !event.eventId || !Number.isSafeInteger(event.attemptIndex) || event.attemptIndex < 0) {
|
|
6856
|
-
this.markUnobserved();
|
|
6912
|
+
this.markUnobserved("decisionAI");
|
|
6857
6913
|
return;
|
|
6858
6914
|
}
|
|
6859
|
-
this.#record(`decision:${event.eventId}`, (_a = event.classifierUsage) == null ? void 0 : _a.estimatedCostUsd);
|
|
6915
|
+
this.#record(`decision:${event.eventId}`, "decisionAI", (_a = event.classifierUsage) == null ? void 0 : _a.estimatedCostUsd);
|
|
6860
6916
|
}
|
|
6861
6917
|
/** Legacy Chat does not expose complete per-attempt accounting. */
|
|
6862
6918
|
observeLegacy(key, value) {
|
|
6863
|
-
if (typeof value === "number" && Number.isFinite(value) && value > 0) this.#record(`legacy:${key}`, value);
|
|
6864
|
-
this.markUnobserved();
|
|
6919
|
+
if (typeof value === "number" && Number.isFinite(value) && value > 0) this.#record(`legacy:${key}`, "llm", value);
|
|
6920
|
+
this.markUnobserved("llm");
|
|
6865
6921
|
}
|
|
6866
|
-
markUnobserved() {
|
|
6867
|
-
this
|
|
6868
|
-
|
|
6869
|
-
snapshot(executionPending = false) {
|
|
6870
|
-
let known = 0;
|
|
6871
|
-
let knownCount = 0;
|
|
6872
|
-
let hasUnknownCost = this.#hasUnobservedWork || executionPending;
|
|
6873
|
-
for (const cost of this.#calls.values()) {
|
|
6874
|
-
if (cost === null) hasUnknownCost = true;
|
|
6922
|
+
markUnobserved(family) {
|
|
6923
|
+
for (let scope = this; scope; scope = scope.#parent) {
|
|
6924
|
+
if (family) scope.#costs[family].hasUnknownCost = true;
|
|
6875
6925
|
else {
|
|
6876
|
-
|
|
6877
|
-
|
|
6926
|
+
scope.#costs.llm.hasUnknownCost = true;
|
|
6927
|
+
scope.#costs.decisionAI.hasUnknownCost = true;
|
|
6878
6928
|
}
|
|
6929
|
+
scope.#costs.total.hasUnknownCost = true;
|
|
6879
6930
|
}
|
|
6880
|
-
if (!Number.isFinite(known)) return { status: "unknown", knownCostUsd: null };
|
|
6881
|
-
if (!hasUnknownCost) return { status: "complete", knownCostUsd: known };
|
|
6882
|
-
if (knownCount === 0) return { status: "unknown", knownCostUsd: null };
|
|
6883
|
-
return { status: "partial", knownCostUsd: known };
|
|
6884
6931
|
}
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6932
|
+
snapshot(executionPending = false) {
|
|
6933
|
+
return readSummary(this.#costs.total, executionPending);
|
|
6934
|
+
}
|
|
6935
|
+
/** Observed amounts now, not a prediction of unfinished or future calls. */
|
|
6936
|
+
breakdown() {
|
|
6937
|
+
return {
|
|
6938
|
+
llm: readSummary(this.#costs.llm),
|
|
6939
|
+
decisionAI: readSummary(this.#costs.decisionAI),
|
|
6940
|
+
total: this.snapshot()
|
|
6941
|
+
};
|
|
6942
|
+
}
|
|
6943
|
+
#record(id, family, value) {
|
|
6944
|
+
if (this.#seenCalls.has(id)) return;
|
|
6945
|
+
this.#seenCalls.add(id);
|
|
6946
|
+
const cost = typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : null;
|
|
6947
|
+
for (let scope = this; scope; scope = scope.#parent) {
|
|
6948
|
+
addCost(scope.#costs.total, cost);
|
|
6949
|
+
addCost(scope.#costs[family], cost);
|
|
6950
|
+
}
|
|
6888
6951
|
}
|
|
6889
6952
|
};
|
|
6890
6953
|
|
|
@@ -6951,7 +7014,7 @@ var GraphInvocationState = class {
|
|
|
6951
7014
|
this.successfulAbortTerminalProcessIds = /* @__PURE__ */ new Set();
|
|
6952
7015
|
this.totalCost = 0;
|
|
6953
7016
|
this.costBreakdown = void 0;
|
|
6954
|
-
this.costLedger = new RunCostLedger();
|
|
7017
|
+
this.costLedger = options2.costLedger ?? new RunCostLedger();
|
|
6955
7018
|
this.nodeAbortControllers = /* @__PURE__ */ new Map();
|
|
6956
7019
|
this.loadedProjects = options2.loadedProjects;
|
|
6957
7020
|
this.graphInputNodeValues = ((_c = options2.sharedOverride) == null ? void 0 : _c.graphInputNodeValues) ?? {};
|
|
@@ -13885,6 +13948,8 @@ var GraphProcessor = class _GraphProcessor {
|
|
|
13885
13948
|
slowMode = false;
|
|
13886
13949
|
#parent;
|
|
13887
13950
|
#recordingProjectScope;
|
|
13951
|
+
/** Captures the caller invocation, independently of lifecycle-parent rewiring. */
|
|
13952
|
+
#projectCostScope;
|
|
13888
13953
|
#abortOwnerOverride;
|
|
13889
13954
|
#sameGraphRunOwnerOverride;
|
|
13890
13955
|
#suppressGraphPartialOutputs = false;
|
|
@@ -14366,7 +14431,8 @@ var GraphProcessor = class _GraphProcessor {
|
|
|
14366
14431
|
processingQueue: new pQueueCompat_default({ concurrency: this.#concurrency.nodeConcurrency }),
|
|
14367
14432
|
createAbortController: () => this.#newAbortController(),
|
|
14368
14433
|
loadedProjects: this.#cacheLoadedProjects && ((_b = this.#runtimeCache) == null ? void 0 : _b.loadedProjects) ? { ...this.#runtimeCache.loadedProjects } : {},
|
|
14369
|
-
sharedOverride: this.#sharedRunStateOverride
|
|
14434
|
+
sharedOverride: this.#sharedRunStateOverride,
|
|
14435
|
+
costLedger: this.#projectCostScope ? this.#projectCostScope.startsProject ? this.#projectCostScope.parentLedger.createProjectScope() : this.#projectCostScope.parentLedger : void 0
|
|
14370
14436
|
});
|
|
14371
14437
|
this.#shared.executionCache ??= /* @__PURE__ */ new Map();
|
|
14372
14438
|
this.#connectedToolContinuationHost.reset();
|
|
@@ -14562,9 +14628,12 @@ var GraphProcessor = class _GraphProcessor {
|
|
|
14562
14628
|
const hostChatV2Observer = this.getRootProcessor().#run.context.onChatV2CallFinished;
|
|
14563
14629
|
const hostLLMChatOutputSnapshotObserver = this.getRootProcessor().#run.context.onLLMChatOutputSnapshot;
|
|
14564
14630
|
const hostLLMProfileAttemptObserver = this.getRootProcessor().#run.context.onLLMProfileAttempt;
|
|
14565
|
-
const costLedger = this
|
|
14631
|
+
const costLedger = this.#run.costLedger;
|
|
14632
|
+
const { rootRunId, graphRunId } = this.#run;
|
|
14633
|
+
const isCurrentInvocation = () => this.#run.rootRunId === rootRunId && this.#run.graphRunId === graphRunId;
|
|
14566
14634
|
this.#run.nodeProcessContextBase = {
|
|
14567
14635
|
...this.#run.context,
|
|
14636
|
+
getRunCostBreakdown: () => costLedger.breakdown(),
|
|
14568
14637
|
abortGraph: (error) => {
|
|
14569
14638
|
void (this.#abortOwnerOverride ?? this).abort(error === void 0, error);
|
|
14570
14639
|
},
|
|
@@ -14585,7 +14654,7 @@ var GraphProcessor = class _GraphProcessor {
|
|
|
14585
14654
|
try {
|
|
14586
14655
|
costLedger.observeChat(event);
|
|
14587
14656
|
} catch {
|
|
14588
|
-
costLedger.markUnobserved();
|
|
14657
|
+
costLedger.markUnobserved("llm");
|
|
14589
14658
|
}
|
|
14590
14659
|
try {
|
|
14591
14660
|
const observerResult = hostChatV2Observer == null ? void 0 : hostChatV2Observer(event);
|
|
@@ -14594,6 +14663,7 @@ var GraphProcessor = class _GraphProcessor {
|
|
|
14594
14663
|
}
|
|
14595
14664
|
} catch {
|
|
14596
14665
|
}
|
|
14666
|
+
if (!isCurrentInvocation()) return;
|
|
14597
14667
|
const { rawUsage: _rawUsage, ...traceEvent } = event;
|
|
14598
14668
|
emitDetached(this.#emitter, "llmCallFinished", this.#withExecution(traceEvent));
|
|
14599
14669
|
},
|
|
@@ -14605,13 +14675,13 @@ var GraphProcessor = class _GraphProcessor {
|
|
|
14605
14675
|
}
|
|
14606
14676
|
} catch {
|
|
14607
14677
|
}
|
|
14608
|
-
emitDetached(this.#emitter, "llmChatOutputSnapshot", this.#withExecution(event));
|
|
14678
|
+
if (isCurrentInvocation()) emitDetached(this.#emitter, "llmChatOutputSnapshot", this.#withExecution(event));
|
|
14609
14679
|
},
|
|
14610
14680
|
onLLMProfileAttempt: (event) => {
|
|
14611
14681
|
try {
|
|
14612
14682
|
costLedger.observeClassifier(event);
|
|
14613
14683
|
} catch {
|
|
14614
|
-
costLedger.markUnobserved();
|
|
14684
|
+
costLedger.markUnobserved("decisionAI");
|
|
14615
14685
|
}
|
|
14616
14686
|
try {
|
|
14617
14687
|
const observerResult = hostLLMProfileAttemptObserver == null ? void 0 : hostLLMProfileAttemptObserver(event);
|
|
@@ -14620,10 +14690,10 @@ var GraphProcessor = class _GraphProcessor {
|
|
|
14620
14690
|
}
|
|
14621
14691
|
} catch {
|
|
14622
14692
|
}
|
|
14623
|
-
emitDetached(this.#emitter, "llmProfileAttempt", this.#withExecution(event));
|
|
14693
|
+
if (isCurrentInvocation()) emitDetached(this.#emitter, "llmProfileAttempt", this.#withExecution(event));
|
|
14624
14694
|
},
|
|
14625
14695
|
onToolCallFinished: (event) => {
|
|
14626
|
-
emitDetached(this.#emitter, "toolCallFinished", this.#withExecution(event));
|
|
14696
|
+
if (isCurrentInvocation()) emitDetached(this.#emitter, "toolCallFinished", this.#withExecution(event));
|
|
14627
14697
|
},
|
|
14628
14698
|
project: this.#project,
|
|
14629
14699
|
raiseEvent: (event, data) => {
|
|
@@ -15937,7 +16007,7 @@ ${errors.map(({ node }) => `- ${node.title} (${node.id})`).join("\n")}`;
|
|
|
15937
16007
|
nodeAbortController.abort(getAbortSignalReason(this.#run.abortController.signal));
|
|
15938
16008
|
}
|
|
15939
16009
|
let continuationFinalized = false;
|
|
15940
|
-
const costLedger = this
|
|
16010
|
+
const costLedger = this.#run.costLedger;
|
|
15941
16011
|
const accountingKey = `${this.#run.graphRunId}:${processId}:${index}`;
|
|
15942
16012
|
let accountingEntered = false;
|
|
15943
16013
|
let observedPhysicalCall = false;
|
|
@@ -16010,10 +16080,10 @@ ${errors.map(({ node }) => `- ${node.title} (${node.id})`).join("\n")}`;
|
|
|
16010
16080
|
const cost = accountingOutputs == null ? void 0 : accountingOutputs["cost"];
|
|
16011
16081
|
costLedger.observeLegacy(accountingKey, (cost == null ? void 0 : cost.type) === "number" ? cost.value : void 0);
|
|
16012
16082
|
} else if ((node.type === "llmChatV2" || node.type === "classifierEvaluate") && !observedPhysicalCall) {
|
|
16013
|
-
costLedger.markUnobserved();
|
|
16083
|
+
costLedger.markUnobserved(node.type === "classifierEvaluate" ? "decisionAI" : "llm");
|
|
16014
16084
|
}
|
|
16015
16085
|
} catch {
|
|
16016
|
-
costLedger.markUnobserved();
|
|
16086
|
+
costLedger.markUnobserved(node.type === "classifierEvaluate" ? "decisionAI" : "llm");
|
|
16017
16087
|
}
|
|
16018
16088
|
}
|
|
16019
16089
|
if (!continuationFinalized) {
|
|
@@ -17338,6 +17408,10 @@ ${errors.map(({ node }) => `- ${node.title} (${node.id})`).join("\n")}`;
|
|
|
17338
17408
|
processor.#externalFunctions = this.#externalFunctions;
|
|
17339
17409
|
processor.#contextValues = this.#contextValues;
|
|
17340
17410
|
processor.#parent = this;
|
|
17411
|
+
processor.#projectCostScope = {
|
|
17412
|
+
parentLedger: this.#run.costLedger,
|
|
17413
|
+
startsProject: ordinary && invocation.startsProject
|
|
17414
|
+
};
|
|
17341
17415
|
processor.#recordingProjectScope = this.#recordingProjectScope;
|
|
17342
17416
|
processor.#graphCallPath = this.#graphCallPath;
|
|
17343
17417
|
processor.#frozenNodeOutputResolver = this.#frozenNodeOutputResolver;
|
|
@@ -17413,7 +17487,8 @@ ${errors.map(({ node }) => `- ${node.title} (${node.id})`).join("\n")}`;
|
|
|
17413
17487
|
kind: "subgraph",
|
|
17414
17488
|
project: subprocessorProject,
|
|
17415
17489
|
graphId: subGraphId,
|
|
17416
|
-
initialExecutionPlan
|
|
17490
|
+
initialExecutionPlan,
|
|
17491
|
+
startsProject: subprocessorProject !== this.#project || node.type === "subGraph" && Boolean(node.data.targetProjectId)
|
|
17417
17492
|
});
|
|
17418
17493
|
} finally {
|
|
17419
17494
|
this.#finishRuntimeProfile("createSubProcessor", createProfileStart);
|
|
@@ -34848,11 +34923,67 @@ var ProjectNameNodeImpl = class extends NodeImpl {
|
|
|
34848
34923
|
};
|
|
34849
34924
|
var projectNameNode = nodeDefinition(ProjectNameNodeImpl, "Project Name");
|
|
34850
34925
|
|
|
34926
|
+
// src/model/nodes/AICostNode.ts
|
|
34927
|
+
var import_non_secure43 = require("nanoid/non-secure");
|
|
34928
|
+
var AICostNodeImpl = class extends NodeImpl {
|
|
34929
|
+
static create() {
|
|
34930
|
+
return {
|
|
34931
|
+
type: "aiCost",
|
|
34932
|
+
title: "AI Cost",
|
|
34933
|
+
id: (0, import_non_secure43.nanoid)(),
|
|
34934
|
+
visualData: { x: 0, y: 0, width: 250 },
|
|
34935
|
+
data: {}
|
|
34936
|
+
};
|
|
34937
|
+
}
|
|
34938
|
+
getInputDefinitions() {
|
|
34939
|
+
return [];
|
|
34940
|
+
}
|
|
34941
|
+
getOutputDefinitions() {
|
|
34942
|
+
return [
|
|
34943
|
+
{ id: "llmCost", title: "LLM cost", dataType: "number" },
|
|
34944
|
+
{ id: "decisionAICost", title: "Decision AI cost", dataType: "number" },
|
|
34945
|
+
{ id: "totalCost", title: "Sum cost", dataType: "number" }
|
|
34946
|
+
];
|
|
34947
|
+
}
|
|
34948
|
+
static getUIData() {
|
|
34949
|
+
return {
|
|
34950
|
+
contextMenuTitle: "AI Cost",
|
|
34951
|
+
infoBoxTitle: "AI Cost",
|
|
34952
|
+
group: ["Debug"],
|
|
34953
|
+
infoBoxBody: "Returns observed AI cost estimates in USD for the current project invocation and projects it calls, excluding callers and sibling invocations. Uses the same accounting as Run statistics. Enable Conditional node to control when it runs; use Did Run to wait for multiple branches. In-flight and future calls are not yet included; unknown prices are not free."
|
|
34954
|
+
};
|
|
34955
|
+
}
|
|
34956
|
+
getBody() {
|
|
34957
|
+
return "Observed AI estimates (USD)\nCurrent project subtree";
|
|
34958
|
+
}
|
|
34959
|
+
getRunActivityDescriptor() {
|
|
34960
|
+
return { primaryOutputPortId: "totalCost" };
|
|
34961
|
+
}
|
|
34962
|
+
async process(_inputs, context) {
|
|
34963
|
+
if (!context.getRunCostBreakdown)
|
|
34964
|
+
throw new Error("AI Cost accounting is unavailable in this execution environment.");
|
|
34965
|
+
const costs = context.getRunCostBreakdown();
|
|
34966
|
+
const value = (cost) => cost.knownCostUsd === null ? { type: "control-flow-excluded", value: void 0 } : { type: "number", value: cost.knownCostUsd };
|
|
34967
|
+
const outputs = {
|
|
34968
|
+
["llmCost"]: value(costs.llm),
|
|
34969
|
+
["decisionAICost"]: value(costs.decisionAI),
|
|
34970
|
+
["totalCost"]: value(costs.total)
|
|
34971
|
+
};
|
|
34972
|
+
if (costs.total.status !== "complete")
|
|
34973
|
+
addWarning(
|
|
34974
|
+
outputs,
|
|
34975
|
+
"Some observed AI costs are unknown. Numeric outputs are known subtotals; unavailable amounts are not zero."
|
|
34976
|
+
);
|
|
34977
|
+
return outputs;
|
|
34978
|
+
}
|
|
34979
|
+
};
|
|
34980
|
+
var aiCostNode = nodeDefinition(AICostNodeImpl, "AI Cost");
|
|
34981
|
+
|
|
34851
34982
|
// src/model/nodes/CoalesceNode.ts
|
|
34852
34983
|
var import_ts_dedent32 = require("ts-dedent");
|
|
34853
34984
|
|
|
34854
34985
|
// src/model/nodes/CoalesceNodeBase.ts
|
|
34855
|
-
var
|
|
34986
|
+
var import_non_secure44 = require("nanoid/non-secure");
|
|
34856
34987
|
var INPUT_PORT_ID_PATTERN = /^input(\d+)$/;
|
|
34857
34988
|
var IGNORE_NULL_LABEL = "Ignore 'null'";
|
|
34858
34989
|
var IGNORE_UNDEFINED_LABEL = "Ignore 'undefined'";
|
|
@@ -34860,7 +34991,7 @@ function createCoalesceNode(type, title) {
|
|
|
34860
34991
|
return {
|
|
34861
34992
|
type,
|
|
34862
34993
|
title,
|
|
34863
|
-
id: (0,
|
|
34994
|
+
id: (0, import_non_secure44.nanoid)(),
|
|
34864
34995
|
data: {
|
|
34865
34996
|
ignoreNull: false,
|
|
34866
34997
|
ignoreUndefined: false
|
|
@@ -35016,14 +35147,14 @@ var CoalesceNewNodeImpl = class extends CoalesceNodeBase {
|
|
|
35016
35147
|
var coalesceNewNode = nodeDefinition(CoalesceNewNodeImpl, "Coalesce");
|
|
35017
35148
|
|
|
35018
35149
|
// src/model/nodes/DidRunNode.ts
|
|
35019
|
-
var
|
|
35150
|
+
var import_non_secure45 = require("nanoid/non-secure");
|
|
35020
35151
|
var DID_RUN_EXPLANATION = 'Outputs true when all connected inputs have run. Falsy or empty values still count as having run, so this is useful for adapting "did this branch run at all?" into a boolean If port.';
|
|
35021
35152
|
var DidRunNodeImpl = class extends NodeImpl {
|
|
35022
35153
|
static create() {
|
|
35023
35154
|
return {
|
|
35024
35155
|
type: "didRun",
|
|
35025
35156
|
title: "Did Run",
|
|
35026
|
-
id: (0,
|
|
35157
|
+
id: (0, import_non_secure45.nanoid)(),
|
|
35027
35158
|
data: {},
|
|
35028
35159
|
visualData: {
|
|
35029
35160
|
x: 0,
|
|
@@ -35091,7 +35222,7 @@ var DidRunNodeImpl = class extends NodeImpl {
|
|
|
35091
35222
|
var didRunNode = nodeDefinition(DidRunNodeImpl, "Did Run");
|
|
35092
35223
|
|
|
35093
35224
|
// src/model/nodes/PassthroughNode.ts
|
|
35094
|
-
var
|
|
35225
|
+
var import_non_secure46 = require("nanoid/non-secure");
|
|
35095
35226
|
var import_ts_dedent34 = require("ts-dedent");
|
|
35096
35227
|
var INPUT_PORT_PATTERN2 = /^input(\d+)$/;
|
|
35097
35228
|
var OUTPUT_PORT_PATTERN2 = /^output(\d+)$/;
|
|
@@ -35115,7 +35246,7 @@ var PassthroughNodeImpl = class extends NodeImpl {
|
|
|
35115
35246
|
const chartNode = {
|
|
35116
35247
|
type: "passthrough",
|
|
35117
35248
|
title: "Passthrough",
|
|
35118
|
-
id: (0,
|
|
35249
|
+
id: (0, import_non_secure46.nanoid)(),
|
|
35119
35250
|
data: {},
|
|
35120
35251
|
visualData: {
|
|
35121
35252
|
x: 0,
|
|
@@ -35176,7 +35307,7 @@ var PassthroughNodeImpl = class extends NodeImpl {
|
|
|
35176
35307
|
var passthroughNode = nodeDefinition(PassthroughNodeImpl, "Passthrough");
|
|
35177
35308
|
|
|
35178
35309
|
// src/model/nodes/DataBusNode.ts
|
|
35179
|
-
var
|
|
35310
|
+
var import_non_secure47 = require("nanoid/non-secure");
|
|
35180
35311
|
var import_ts_dedent35 = require("ts-dedent");
|
|
35181
35312
|
function getConnectedChannelIndices(connections, nodeId) {
|
|
35182
35313
|
const channelIndices = /* @__PURE__ */ new Set();
|
|
@@ -35209,7 +35340,7 @@ var DataBusNodeImpl = class extends NodeImpl {
|
|
|
35209
35340
|
static create = () => ({
|
|
35210
35341
|
type: "dataBus",
|
|
35211
35342
|
title: "Data Bus",
|
|
35212
|
-
id: (0,
|
|
35343
|
+
id: (0, import_non_secure47.nanoid)(),
|
|
35213
35344
|
data: {},
|
|
35214
35345
|
visualData: {
|
|
35215
35346
|
x: 0,
|
|
@@ -35253,13 +35384,13 @@ var DataBusNodeImpl = class extends NodeImpl {
|
|
|
35253
35384
|
var dataBusNode = nodeDefinition(DataBusNodeImpl, "Data Bus");
|
|
35254
35385
|
|
|
35255
35386
|
// src/model/nodes/StartBackgroundBranchNode.ts
|
|
35256
|
-
var
|
|
35387
|
+
var import_non_secure48 = require("nanoid/non-secure");
|
|
35257
35388
|
var import_ts_dedent36 = require("ts-dedent");
|
|
35258
35389
|
var StartBackgroundBranchNodeImpl = class extends NodeImpl {
|
|
35259
35390
|
static create = () => ({
|
|
35260
35391
|
type: "startBackgroundBranch",
|
|
35261
35392
|
title: "Start Async Branch",
|
|
35262
|
-
id: (0,
|
|
35393
|
+
id: (0, import_non_secure48.nanoid)(),
|
|
35263
35394
|
data: {},
|
|
35264
35395
|
visualData: {
|
|
35265
35396
|
x: 0,
|
|
@@ -35310,7 +35441,7 @@ var StartBackgroundBranchNodeImpl = class extends NodeImpl {
|
|
|
35310
35441
|
var startBackgroundBranchNode = nodeDefinition(StartBackgroundBranchNodeImpl, "Start Async Branch");
|
|
35311
35442
|
|
|
35312
35443
|
// src/model/nodes/WatchStreamingOutputNode.ts
|
|
35313
|
-
var
|
|
35444
|
+
var import_non_secure49 = require("nanoid/non-secure");
|
|
35314
35445
|
var import_ts_dedent37 = require("ts-dedent");
|
|
35315
35446
|
var WatchStreamingOutputNodeImpl = class extends NodeImpl {
|
|
35316
35447
|
static create() {
|
|
@@ -35323,7 +35454,7 @@ var WatchStreamingOutputNodeImpl = class extends NodeImpl {
|
|
|
35323
35454
|
maxQueuedUpdates: streamingOutputWatchDefaults.maxQueuedUpdates,
|
|
35324
35455
|
queueOverflowBehavior: streamingOutputWatchDefaults.queueOverflowBehavior
|
|
35325
35456
|
},
|
|
35326
|
-
id: (0,
|
|
35457
|
+
id: (0, import_non_secure49.nanoid)(),
|
|
35327
35458
|
title: "Watch streaming",
|
|
35328
35459
|
type: "watchStreamingOutput",
|
|
35329
35460
|
visualData: { x: 0, y: 0, width: 230 }
|
|
@@ -35433,13 +35564,13 @@ var WatchStreamingOutputNodeImpl = class extends NodeImpl {
|
|
|
35433
35564
|
var watchStreamingOutputNode = nodeDefinition(WatchStreamingOutputNodeImpl, "Watch streaming");
|
|
35434
35565
|
|
|
35435
35566
|
// src/model/nodes/StopWatchingStreamingOutputNode.ts
|
|
35436
|
-
var
|
|
35567
|
+
var import_non_secure50 = require("nanoid/non-secure");
|
|
35437
35568
|
var import_ts_dedent38 = require("ts-dedent");
|
|
35438
35569
|
var StopWatchingStreamingOutputNodeImpl = class extends NodeImpl {
|
|
35439
35570
|
static create() {
|
|
35440
35571
|
return {
|
|
35441
35572
|
data: {},
|
|
35442
|
-
id: (0,
|
|
35573
|
+
id: (0, import_non_secure50.nanoid)(),
|
|
35443
35574
|
title: "Stop watching streaming",
|
|
35444
35575
|
type: "stopWatchingStreamingOutput",
|
|
35445
35576
|
visualData: { x: 0, y: 0, width: 230 }
|
|
@@ -35486,11 +35617,11 @@ var stopWatchingStreamingOutputNode = nodeDefinition(
|
|
|
35486
35617
|
);
|
|
35487
35618
|
|
|
35488
35619
|
// src/model/nodes/StreamValueNode.ts
|
|
35489
|
-
var
|
|
35620
|
+
var import_non_secure51 = require("nanoid/non-secure");
|
|
35490
35621
|
var StreamValueNodeImpl = class extends NodeImpl {
|
|
35491
35622
|
static create() {
|
|
35492
35623
|
return {
|
|
35493
|
-
id: (0,
|
|
35624
|
+
id: (0, import_non_secure51.nanoid)(),
|
|
35494
35625
|
type: "streamValue",
|
|
35495
35626
|
title: "Stream value",
|
|
35496
35627
|
data: {},
|
|
@@ -35523,14 +35654,14 @@ var StreamValueNodeImpl = class extends NodeImpl {
|
|
|
35523
35654
|
var streamValueNode = nodeDefinition(StreamValueNodeImpl, "Stream value");
|
|
35524
35655
|
|
|
35525
35656
|
// src/model/nodes/PopNode.ts
|
|
35526
|
-
var
|
|
35657
|
+
var import_non_secure52 = require("nanoid/non-secure");
|
|
35527
35658
|
var import_ts_dedent39 = require("ts-dedent");
|
|
35528
35659
|
var PopNodeImpl = class extends NodeImpl {
|
|
35529
35660
|
static create() {
|
|
35530
35661
|
const baseNode = {
|
|
35531
35662
|
type: "pop",
|
|
35532
35663
|
title: "Pop",
|
|
35533
|
-
id: (0,
|
|
35664
|
+
id: (0, import_non_secure52.nanoid)(),
|
|
35534
35665
|
visualData: {
|
|
35535
35666
|
x: 0,
|
|
35536
35667
|
y: 0,
|
|
@@ -35611,14 +35742,14 @@ var PopNodeImpl = class extends NodeImpl {
|
|
|
35611
35742
|
var popNode = nodeDefinition(PopNodeImpl, "Pop");
|
|
35612
35743
|
|
|
35613
35744
|
// src/model/nodes/SetGlobalNode.ts
|
|
35614
|
-
var
|
|
35745
|
+
var import_non_secure53 = require("nanoid/non-secure");
|
|
35615
35746
|
var import_ts_dedent40 = require("ts-dedent");
|
|
35616
35747
|
var SetGlobalNodeImpl = class extends NodeImpl {
|
|
35617
35748
|
static create() {
|
|
35618
35749
|
const chartNode = {
|
|
35619
35750
|
type: "setGlobal",
|
|
35620
35751
|
title: "Set Global",
|
|
35621
|
-
id: (0,
|
|
35752
|
+
id: (0, import_non_secure53.nanoid)(),
|
|
35622
35753
|
visualData: {
|
|
35623
35754
|
x: 0,
|
|
35624
35755
|
y: 0,
|
|
@@ -35731,14 +35862,14 @@ var SetGlobalNodeImpl = class extends NodeImpl {
|
|
|
35731
35862
|
var setGlobalNode = nodeDefinition(SetGlobalNodeImpl, "Set Global");
|
|
35732
35863
|
|
|
35733
35864
|
// src/model/nodes/GetGlobalNode.ts
|
|
35734
|
-
var
|
|
35865
|
+
var import_non_secure54 = require("nanoid/non-secure");
|
|
35735
35866
|
var import_ts_dedent41 = require("ts-dedent");
|
|
35736
35867
|
var GetGlobalNodeImpl = class extends NodeImpl {
|
|
35737
35868
|
static create() {
|
|
35738
35869
|
const chartNode = {
|
|
35739
35870
|
type: "getGlobal",
|
|
35740
35871
|
title: "Get Global",
|
|
35741
|
-
id: (0,
|
|
35872
|
+
id: (0, import_non_secure54.nanoid)(),
|
|
35742
35873
|
visualData: {
|
|
35743
35874
|
x: 0,
|
|
35744
35875
|
y: 0,
|
|
@@ -35865,7 +35996,7 @@ var GetGlobalNodeImpl = class extends NodeImpl {
|
|
|
35865
35996
|
var getGlobalNode = nodeDefinition(GetGlobalNodeImpl, "Get Global");
|
|
35866
35997
|
|
|
35867
35998
|
// src/model/nodes/SetStoredValueNode.ts
|
|
35868
|
-
var
|
|
35999
|
+
var import_non_secure55 = require("nanoid/non-secure");
|
|
35869
36000
|
var import_ts_dedent42 = require("ts-dedent");
|
|
35870
36001
|
|
|
35871
36002
|
// src/model/nodes/StoredValueNodeUtils.ts
|
|
@@ -35930,7 +36061,7 @@ var SetStoredValueNodeImpl = class extends NodeImpl {
|
|
|
35930
36061
|
return {
|
|
35931
36062
|
type: "setStoredValue",
|
|
35932
36063
|
title: "Set Stored Value",
|
|
35933
|
-
id: (0,
|
|
36064
|
+
id: (0, import_non_secure55.nanoid)(),
|
|
35934
36065
|
visualData: { x: 0, y: 0, width: 220 },
|
|
35935
36066
|
data: { dataType: "string", key: "key", useKeyInput: false }
|
|
35936
36067
|
};
|
|
@@ -36000,14 +36131,14 @@ var SetStoredValueNodeImpl = class extends NodeImpl {
|
|
|
36000
36131
|
var setStoredValueNode = nodeDefinition(SetStoredValueNodeImpl, "Set Stored Value");
|
|
36001
36132
|
|
|
36002
36133
|
// src/model/nodes/GetStoredValueNode.ts
|
|
36003
|
-
var
|
|
36134
|
+
var import_non_secure56 = require("nanoid/non-secure");
|
|
36004
36135
|
var import_ts_dedent43 = require("ts-dedent");
|
|
36005
36136
|
var GetStoredValueNodeImpl = class extends NodeImpl {
|
|
36006
36137
|
static create() {
|
|
36007
36138
|
return {
|
|
36008
36139
|
type: "getStoredValue",
|
|
36009
36140
|
title: "Get Stored Value",
|
|
36010
|
-
id: (0,
|
|
36141
|
+
id: (0, import_non_secure56.nanoid)(),
|
|
36011
36142
|
visualData: { x: 0, y: 0, width: 220 },
|
|
36012
36143
|
data: { dataType: "string", key: "key", onDemand: false, useKeyInput: false, wait: false }
|
|
36013
36144
|
};
|
|
@@ -36100,12 +36231,12 @@ var GetStoredValueNodeImpl = class extends NodeImpl {
|
|
|
36100
36231
|
var getStoredValueNode = nodeDefinition(GetStoredValueNodeImpl, "Get Stored Value");
|
|
36101
36232
|
|
|
36102
36233
|
// src/model/nodes/WaitForEventNode.ts
|
|
36103
|
-
var
|
|
36234
|
+
var import_non_secure57 = require("nanoid/non-secure");
|
|
36104
36235
|
var import_ts_dedent44 = require("ts-dedent");
|
|
36105
36236
|
var WaitForEventNodeImpl = class extends NodeImpl {
|
|
36106
36237
|
static create() {
|
|
36107
36238
|
return {
|
|
36108
|
-
id: (0,
|
|
36239
|
+
id: (0, import_non_secure57.nanoid)(),
|
|
36109
36240
|
type: "waitForEvent",
|
|
36110
36241
|
title: "Wait For Event",
|
|
36111
36242
|
visualData: { x: 0, y: 0, width: 150 },
|
|
@@ -36180,7 +36311,7 @@ var WaitForEventNodeImpl = class extends NodeImpl {
|
|
|
36180
36311
|
var waitForEventNode = nodeDefinition(WaitForEventNodeImpl, "Wait For Event");
|
|
36181
36312
|
|
|
36182
36313
|
// src/model/nodes/ToolNode.ts
|
|
36183
|
-
var
|
|
36314
|
+
var import_non_secure58 = require("nanoid/non-secure");
|
|
36184
36315
|
var import_ts_dedent45 = require("ts-dedent");
|
|
36185
36316
|
var TOOL_NODE_BODY_PREVIEW_MAX_LINES = 14;
|
|
36186
36317
|
function getToolNodeBodyPreview(data) {
|
|
@@ -36199,7 +36330,7 @@ var GptFunctionNodeImpl = class extends NodeImpl {
|
|
|
36199
36330
|
const chartNode = {
|
|
36200
36331
|
type: "gptFunction",
|
|
36201
36332
|
title: "Tool",
|
|
36202
|
-
id: (0,
|
|
36333
|
+
id: (0, import_non_secure58.nanoid)(),
|
|
36203
36334
|
visualData: {
|
|
36204
36335
|
x: 0,
|
|
36205
36336
|
y: 0,
|
|
@@ -36389,7 +36520,7 @@ var GptFunctionNodeImpl = class extends NodeImpl {
|
|
|
36389
36520
|
var gptFunctionNode = nodeDefinition(GptFunctionNodeImpl, "Tool");
|
|
36390
36521
|
|
|
36391
36522
|
// src/model/nodes/ToYamlNode.ts
|
|
36392
|
-
var
|
|
36523
|
+
var import_non_secure59 = require("nanoid/non-secure");
|
|
36393
36524
|
var import_yaml2 = __toESM(require("yaml"), 1);
|
|
36394
36525
|
var import_ts_dedent46 = require("ts-dedent");
|
|
36395
36526
|
var ToYamlNodeImpl = class extends NodeImpl {
|
|
@@ -36397,7 +36528,7 @@ var ToYamlNodeImpl = class extends NodeImpl {
|
|
|
36397
36528
|
const chartNode = {
|
|
36398
36529
|
type: "toYaml",
|
|
36399
36530
|
title: "To YAML",
|
|
36400
|
-
id: (0,
|
|
36531
|
+
id: (0, import_non_secure59.nanoid)(),
|
|
36401
36532
|
visualData: {
|
|
36402
36533
|
x: 0,
|
|
36403
36534
|
y: 0,
|
|
@@ -36453,7 +36584,7 @@ var ToYamlNodeImpl = class extends NodeImpl {
|
|
|
36453
36584
|
var toYamlNode = nodeDefinition(ToYamlNodeImpl, "To YAML");
|
|
36454
36585
|
|
|
36455
36586
|
// src/model/nodes/GetEmbeddingNode.ts
|
|
36456
|
-
var
|
|
36587
|
+
var import_non_secure60 = require("nanoid/non-secure");
|
|
36457
36588
|
var import_ts_dedent47 = require("ts-dedent");
|
|
36458
36589
|
|
|
36459
36590
|
// src/integrations/integrations.ts
|
|
@@ -36477,7 +36608,7 @@ function getIntegration(type, integrationKey, context) {
|
|
|
36477
36608
|
var GetEmbeddingNodeImpl = class extends NodeImpl {
|
|
36478
36609
|
static create() {
|
|
36479
36610
|
return {
|
|
36480
|
-
id: (0,
|
|
36611
|
+
id: (0, import_non_secure60.nanoid)(),
|
|
36481
36612
|
type: "getEmbedding",
|
|
36482
36613
|
title: "Get Embedding",
|
|
36483
36614
|
visualData: { x: 0, y: 0, width: 250 },
|
|
@@ -36592,12 +36723,12 @@ var GetEmbeddingNodeImpl = class extends NodeImpl {
|
|
|
36592
36723
|
var getEmbeddingNode = nodeDefinition(GetEmbeddingNodeImpl, "Get Embedding");
|
|
36593
36724
|
|
|
36594
36725
|
// src/model/nodes/VectorStoreNode.ts
|
|
36595
|
-
var
|
|
36726
|
+
var import_non_secure61 = require("nanoid/non-secure");
|
|
36596
36727
|
var import_ts_dedent48 = require("ts-dedent");
|
|
36597
36728
|
var VectorStoreNodeImpl = class extends NodeImpl {
|
|
36598
36729
|
static create() {
|
|
36599
36730
|
return {
|
|
36600
|
-
id: (0,
|
|
36731
|
+
id: (0, import_non_secure61.nanoid)(),
|
|
36601
36732
|
type: "vectorStore",
|
|
36602
36733
|
title: "Vector Store",
|
|
36603
36734
|
visualData: { x: 0, y: 0, width: 200 },
|
|
@@ -36715,12 +36846,12 @@ var VectorStoreNodeImpl = class extends NodeImpl {
|
|
|
36715
36846
|
var vectorStoreNode = nodeDefinition(VectorStoreNodeImpl, "Vector Store");
|
|
36716
36847
|
|
|
36717
36848
|
// src/model/nodes/VectorNearestNeighborsNode.ts
|
|
36718
|
-
var
|
|
36849
|
+
var import_non_secure62 = require("nanoid/non-secure");
|
|
36719
36850
|
var import_ts_dedent49 = require("ts-dedent");
|
|
36720
36851
|
var VectorNearestNeighborsNodeImpl = class extends NodeImpl {
|
|
36721
36852
|
static create() {
|
|
36722
36853
|
return {
|
|
36723
|
-
id: (0,
|
|
36854
|
+
id: (0, import_non_secure62.nanoid)(),
|
|
36724
36855
|
type: "vectorNearestNeighbors",
|
|
36725
36856
|
title: "Vector KNN",
|
|
36726
36857
|
visualData: { x: 0, y: 0, width: 200 },
|
|
@@ -36841,12 +36972,12 @@ var VectorNearestNeighborsNodeImpl = class extends NodeImpl {
|
|
|
36841
36972
|
var vectorNearestNeighborsNode = nodeDefinition(VectorNearestNeighborsNodeImpl, "Vector KNN");
|
|
36842
36973
|
|
|
36843
36974
|
// src/model/nodes/KnowledgeSourceNode.ts
|
|
36844
|
-
var
|
|
36975
|
+
var import_non_secure63 = require("nanoid/non-secure");
|
|
36845
36976
|
var import_ts_dedent50 = require("ts-dedent");
|
|
36846
36977
|
var KnowledgeSourceNodeImpl = class extends NodeImpl {
|
|
36847
36978
|
static create() {
|
|
36848
36979
|
return {
|
|
36849
|
-
id: (0,
|
|
36980
|
+
id: (0, import_non_secure63.nanoid)(),
|
|
36850
36981
|
type: "knowledgeSource",
|
|
36851
36982
|
title: "Knowledge Source",
|
|
36852
36983
|
visualData: { x: 0, y: 0, width: 250 },
|
|
@@ -36938,12 +37069,12 @@ var KnowledgeSourceNodeImpl = class extends NodeImpl {
|
|
|
36938
37069
|
var knowledgeSourceNode = nodeDefinition(KnowledgeSourceNodeImpl, "Knowledge Source");
|
|
36939
37070
|
|
|
36940
37071
|
// src/model/nodes/KnowledgeDocumentNode.ts
|
|
36941
|
-
var
|
|
37072
|
+
var import_non_secure64 = require("nanoid/non-secure");
|
|
36942
37073
|
var import_ts_dedent51 = require("ts-dedent");
|
|
36943
37074
|
var KnowledgeDocumentNodeImpl = class extends NodeImpl {
|
|
36944
37075
|
static create() {
|
|
36945
37076
|
return {
|
|
36946
|
-
id: (0,
|
|
37077
|
+
id: (0, import_non_secure64.nanoid)(),
|
|
36947
37078
|
type: "knowledgeDocument",
|
|
36948
37079
|
title: "Knowledge Document",
|
|
36949
37080
|
visualData: { x: 0, y: 0, width: 250 },
|
|
@@ -37020,12 +37151,12 @@ var KnowledgeDocumentNodeImpl = class extends NodeImpl {
|
|
|
37020
37151
|
var knowledgeDocumentNode = nodeDefinition(KnowledgeDocumentNodeImpl, "Knowledge Document");
|
|
37021
37152
|
|
|
37022
37153
|
// src/model/nodes/SyncKnowledgeSourceNode.ts
|
|
37023
|
-
var
|
|
37154
|
+
var import_non_secure65 = require("nanoid/non-secure");
|
|
37024
37155
|
var import_ts_dedent52 = require("ts-dedent");
|
|
37025
37156
|
var SyncKnowledgeSourceNodeImpl = class extends NodeImpl {
|
|
37026
37157
|
static create() {
|
|
37027
37158
|
return {
|
|
37028
|
-
id: (0,
|
|
37159
|
+
id: (0, import_non_secure65.nanoid)(),
|
|
37029
37160
|
type: "syncKnowledgeSource",
|
|
37030
37161
|
title: "Sync Knowledge Source",
|
|
37031
37162
|
visualData: { x: 0, y: 0, width: 290 },
|
|
@@ -37165,11 +37296,11 @@ function normalizeDocumentsInput(value) {
|
|
|
37165
37296
|
var syncKnowledgeSourceNode = nodeDefinition(SyncKnowledgeSourceNodeImpl, "Sync Knowledge Source");
|
|
37166
37297
|
|
|
37167
37298
|
// src/model/nodes/GetKnowledgeSourceStatusNode.ts
|
|
37168
|
-
var
|
|
37299
|
+
var import_non_secure66 = require("nanoid/non-secure");
|
|
37169
37300
|
var GetKnowledgeSourceStatusNodeImpl = class extends NodeImpl {
|
|
37170
37301
|
static create() {
|
|
37171
37302
|
return {
|
|
37172
|
-
id: (0,
|
|
37303
|
+
id: (0, import_non_secure66.nanoid)(),
|
|
37173
37304
|
type: "getKnowledgeSourceStatus",
|
|
37174
37305
|
title: "Get Knowledge Source Status",
|
|
37175
37306
|
visualData: { x: 0, y: 0, width: 300 },
|
|
@@ -37248,12 +37379,12 @@ var getKnowledgeSourceStatusNode = nodeDefinition(
|
|
|
37248
37379
|
);
|
|
37249
37380
|
|
|
37250
37381
|
// src/model/nodes/SearchKnowledgeNode.ts
|
|
37251
|
-
var
|
|
37382
|
+
var import_non_secure67 = require("nanoid/non-secure");
|
|
37252
37383
|
var import_ts_dedent53 = require("ts-dedent");
|
|
37253
37384
|
var SearchKnowledgeNodeImpl = class extends NodeImpl {
|
|
37254
37385
|
static create() {
|
|
37255
37386
|
return {
|
|
37256
|
-
id: (0,
|
|
37387
|
+
id: (0, import_non_secure67.nanoid)(),
|
|
37257
37388
|
type: "searchKnowledge",
|
|
37258
37389
|
title: "Search Knowledge",
|
|
37259
37390
|
visualData: { x: 0, y: 0, width: 270 },
|
|
@@ -37375,12 +37506,12 @@ var SearchKnowledgeNodeImpl = class extends NodeImpl {
|
|
|
37375
37506
|
var searchKnowledgeNode = nodeDefinition(SearchKnowledgeNodeImpl, "Search Knowledge");
|
|
37376
37507
|
|
|
37377
37508
|
// src/model/nodes/BuildKnowledgeContextNode.ts
|
|
37378
|
-
var
|
|
37509
|
+
var import_non_secure68 = require("nanoid/non-secure");
|
|
37379
37510
|
var import_ts_dedent54 = require("ts-dedent");
|
|
37380
37511
|
var BuildKnowledgeContextNodeImpl = class extends NodeImpl {
|
|
37381
37512
|
static create() {
|
|
37382
37513
|
return {
|
|
37383
|
-
id: (0,
|
|
37514
|
+
id: (0, import_non_secure68.nanoid)(),
|
|
37384
37515
|
type: "buildKnowledgeContext",
|
|
37385
37516
|
title: "Build Knowledge Context",
|
|
37386
37517
|
visualData: { x: 0, y: 0, width: 280 },
|
|
@@ -37516,7 +37647,7 @@ function buildMetadataLine(evidence, fields) {
|
|
|
37516
37647
|
var buildKnowledgeContextNode = nodeDefinition(BuildKnowledgeContextNodeImpl, "Build Knowledge Context");
|
|
37517
37648
|
|
|
37518
37649
|
// src/model/nodes/HashNode.ts
|
|
37519
|
-
var
|
|
37650
|
+
var import_non_secure69 = require("nanoid/non-secure");
|
|
37520
37651
|
var crypto = __toESM(require("crypto-js"), 1);
|
|
37521
37652
|
var import_ts_pattern3 = require("ts-pattern");
|
|
37522
37653
|
var import_ts_dedent55 = require("ts-dedent");
|
|
@@ -37526,7 +37657,7 @@ var HashNodeImpl = class extends NodeImpl {
|
|
|
37526
37657
|
const chartNode = {
|
|
37527
37658
|
type: "hash",
|
|
37528
37659
|
title: "Hash",
|
|
37529
|
-
id: (0,
|
|
37660
|
+
id: (0, import_non_secure69.nanoid)(),
|
|
37530
37661
|
visualData: {
|
|
37531
37662
|
x: 0,
|
|
37532
37663
|
y: 0,
|
|
@@ -37605,14 +37736,14 @@ var algorithmDisplayName = {
|
|
|
37605
37736
|
var hashNode = nodeDefinition(HashNodeImpl, "Hash");
|
|
37606
37737
|
|
|
37607
37738
|
// src/model/nodes/AbortGraphNode.ts
|
|
37608
|
-
var
|
|
37739
|
+
var import_non_secure70 = require("nanoid/non-secure");
|
|
37609
37740
|
var import_ts_dedent56 = require("ts-dedent");
|
|
37610
37741
|
var AbortGraphNodeImpl = class extends NodeImpl {
|
|
37611
37742
|
static create() {
|
|
37612
37743
|
const chartNode = {
|
|
37613
37744
|
type: "abortGraph",
|
|
37614
37745
|
title: "Abort Graph",
|
|
37615
|
-
id: (0,
|
|
37746
|
+
id: (0, import_non_secure70.nanoid)(),
|
|
37616
37747
|
visualData: {
|
|
37617
37748
|
x: 0,
|
|
37618
37749
|
y: 0,
|
|
@@ -37694,14 +37825,14 @@ var AbortGraphNodeImpl = class extends NodeImpl {
|
|
|
37694
37825
|
var abortGraphNode = nodeDefinition(AbortGraphNodeImpl, "Abort Graph");
|
|
37695
37826
|
|
|
37696
37827
|
// src/model/nodes/RaceInputsNode.ts
|
|
37697
|
-
var
|
|
37828
|
+
var import_non_secure71 = require("nanoid/non-secure");
|
|
37698
37829
|
var import_ts_dedent57 = require("ts-dedent");
|
|
37699
37830
|
var RaceInputsNodeImpl = class extends NodeImpl {
|
|
37700
37831
|
static create() {
|
|
37701
37832
|
const chartNode = {
|
|
37702
37833
|
type: "raceInputs",
|
|
37703
37834
|
title: "Race Inputs",
|
|
37704
|
-
id: (0,
|
|
37835
|
+
id: (0, import_non_secure71.nanoid)(),
|
|
37705
37836
|
visualData: {
|
|
37706
37837
|
x: 0,
|
|
37707
37838
|
y: 0,
|
|
@@ -37765,14 +37896,14 @@ var RaceInputsNodeImpl = class extends NodeImpl {
|
|
|
37765
37896
|
var raceInputsNode = nodeDefinition(RaceInputsNodeImpl, "Race Inputs");
|
|
37766
37897
|
|
|
37767
37898
|
// src/model/nodes/ToJsonNode.ts
|
|
37768
|
-
var
|
|
37899
|
+
var import_non_secure72 = require("nanoid/non-secure");
|
|
37769
37900
|
var import_ts_dedent58 = require("ts-dedent");
|
|
37770
37901
|
var ToJsonNodeImpl = class extends NodeImpl {
|
|
37771
37902
|
static create() {
|
|
37772
37903
|
const chartNode = {
|
|
37773
37904
|
type: "toJson",
|
|
37774
37905
|
title: "To JSON",
|
|
37775
|
-
id: (0,
|
|
37906
|
+
id: (0, import_non_secure72.nanoid)(),
|
|
37776
37907
|
visualData: {
|
|
37777
37908
|
x: 0,
|
|
37778
37909
|
y: 0,
|
|
@@ -37839,7 +37970,7 @@ var ToJsonNodeImpl = class extends NodeImpl {
|
|
|
37839
37970
|
var toJsonNode = nodeDefinition(ToJsonNodeImpl, "To JSON");
|
|
37840
37971
|
|
|
37841
37972
|
// src/model/nodes/ToBase64Node.ts
|
|
37842
|
-
var
|
|
37973
|
+
var import_non_secure73 = require("nanoid/non-secure");
|
|
37843
37974
|
async function getBytesToEncode(input) {
|
|
37844
37975
|
if (!input) {
|
|
37845
37976
|
throw new Error("No data to encode as base64");
|
|
@@ -37898,7 +38029,7 @@ async function getBytesToEncode(input) {
|
|
|
37898
38029
|
var ToBase64NodeImpl = class extends NodeImpl {
|
|
37899
38030
|
static create() {
|
|
37900
38031
|
return {
|
|
37901
|
-
id: (0,
|
|
38032
|
+
id: (0, import_non_secure73.nanoid)(),
|
|
37902
38033
|
type: "toBase64",
|
|
37903
38034
|
title: "To Base64",
|
|
37904
38035
|
visualData: { x: 0, y: 0, width: 175 },
|
|
@@ -37941,14 +38072,14 @@ var ToBase64NodeImpl = class extends NodeImpl {
|
|
|
37941
38072
|
var toBase64Node = nodeDefinition(ToBase64NodeImpl, "To Base64");
|
|
37942
38073
|
|
|
37943
38074
|
// src/model/nodes/JoinNode.ts
|
|
37944
|
-
var
|
|
38075
|
+
var import_non_secure74 = require("nanoid/non-secure");
|
|
37945
38076
|
var import_ts_dedent59 = require("ts-dedent");
|
|
37946
38077
|
var JoinNodeImpl = class extends NodeImpl {
|
|
37947
38078
|
static create = () => {
|
|
37948
38079
|
const chartNode = {
|
|
37949
38080
|
type: "join",
|
|
37950
38081
|
title: "Join",
|
|
37951
|
-
id: (0,
|
|
38082
|
+
id: (0, import_non_secure74.nanoid)(),
|
|
37952
38083
|
data: {
|
|
37953
38084
|
flatten: true,
|
|
37954
38085
|
joinString: "\n"
|
|
@@ -38047,7 +38178,7 @@ var JoinNodeImpl = class extends NodeImpl {
|
|
|
38047
38178
|
var joinNode = nodeDefinition(JoinNodeImpl, "Coalesce");
|
|
38048
38179
|
|
|
38049
38180
|
// src/model/nodes/FilterNode.ts
|
|
38050
|
-
var
|
|
38181
|
+
var import_non_secure75 = require("nanoid/non-secure");
|
|
38051
38182
|
var import_lodash_es12 = require("lodash");
|
|
38052
38183
|
var import_ts_dedent60 = require("ts-dedent");
|
|
38053
38184
|
var FilterNodeImpl = class extends NodeImpl {
|
|
@@ -38055,7 +38186,7 @@ var FilterNodeImpl = class extends NodeImpl {
|
|
|
38055
38186
|
const chartNode = {
|
|
38056
38187
|
type: "filter",
|
|
38057
38188
|
title: "Filter",
|
|
38058
|
-
id: (0,
|
|
38189
|
+
id: (0, import_non_secure75.nanoid)(),
|
|
38059
38190
|
visualData: {
|
|
38060
38191
|
x: 0,
|
|
38061
38192
|
y: 0,
|
|
@@ -38117,7 +38248,7 @@ var FilterNodeImpl = class extends NodeImpl {
|
|
|
38117
38248
|
var filterNode = nodeDefinition(FilterNodeImpl, "Filter");
|
|
38118
38249
|
|
|
38119
38250
|
// src/model/nodes/JSFilterNode.ts
|
|
38120
|
-
var
|
|
38251
|
+
var import_non_secure76 = require("nanoid/non-secure");
|
|
38121
38252
|
var import_ts_dedent62 = require("ts-dedent");
|
|
38122
38253
|
|
|
38123
38254
|
// src/model/nodes/jsListCallbackHelpers.ts
|
|
@@ -38349,7 +38480,7 @@ var JSFilterNodeImpl = class extends NodeImpl {
|
|
|
38349
38480
|
const chartNode = {
|
|
38350
38481
|
type: "jsFilter",
|
|
38351
38482
|
title: "JS Filter",
|
|
38352
|
-
id: (0,
|
|
38483
|
+
id: (0, import_non_secure76.nanoid)(),
|
|
38353
38484
|
visualData: {
|
|
38354
38485
|
x: 0,
|
|
38355
38486
|
y: 0,
|
|
@@ -38409,7 +38540,7 @@ var JSFilterNodeImpl = class extends NodeImpl {
|
|
|
38409
38540
|
var jsFilterNode = nodeDefinition(JSFilterNodeImpl, "JS Filter");
|
|
38410
38541
|
|
|
38411
38542
|
// src/model/nodes/JSMapNode.ts
|
|
38412
|
-
var
|
|
38543
|
+
var import_non_secure77 = require("nanoid/non-secure");
|
|
38413
38544
|
var import_ts_dedent63 = require("ts-dedent");
|
|
38414
38545
|
var DEFAULT_CALLBACK_BODY2 = "return item;";
|
|
38415
38546
|
var JSMapNodeImpl = class extends NodeImpl {
|
|
@@ -38417,7 +38548,7 @@ var JSMapNodeImpl = class extends NodeImpl {
|
|
|
38417
38548
|
const chartNode = {
|
|
38418
38549
|
type: "jsMap",
|
|
38419
38550
|
title: "JS Map",
|
|
38420
|
-
id: (0,
|
|
38551
|
+
id: (0, import_non_secure77.nanoid)(),
|
|
38421
38552
|
visualData: {
|
|
38422
38553
|
x: 0,
|
|
38423
38554
|
y: 0,
|
|
@@ -38477,7 +38608,7 @@ var JSMapNodeImpl = class extends NodeImpl {
|
|
|
38477
38608
|
var jsMapNode = nodeDefinition(JSMapNodeImpl, "JS Map");
|
|
38478
38609
|
|
|
38479
38610
|
// src/model/nodes/ObjectNode.ts
|
|
38480
|
-
var
|
|
38611
|
+
var import_non_secure78 = require("nanoid/non-secure");
|
|
38481
38612
|
var import_ts_dedent64 = require("ts-dedent");
|
|
38482
38613
|
var DEFAULT_JSON_TEMPLATE = `{
|
|
38483
38614
|
"key": "{{input}}"
|
|
@@ -38566,7 +38697,7 @@ var ObjectNodeImpl = class extends NodeImpl {
|
|
|
38566
38697
|
const chartNode = {
|
|
38567
38698
|
type: "object",
|
|
38568
38699
|
title: "Object",
|
|
38569
|
-
id: (0,
|
|
38700
|
+
id: (0, import_non_secure78.nanoid)(),
|
|
38570
38701
|
visualData: {
|
|
38571
38702
|
x: 0,
|
|
38572
38703
|
y: 0,
|
|
@@ -38667,14 +38798,14 @@ var ObjectNodeImpl = class extends NodeImpl {
|
|
|
38667
38798
|
var objectNode = nodeDefinition(ObjectNodeImpl, "Object");
|
|
38668
38799
|
|
|
38669
38800
|
// src/model/nodes/BooleanNode.ts
|
|
38670
|
-
var
|
|
38801
|
+
var import_non_secure79 = require("nanoid/non-secure");
|
|
38671
38802
|
var import_ts_dedent65 = require("ts-dedent");
|
|
38672
38803
|
var BooleanNodeImpl = class extends NodeImpl {
|
|
38673
38804
|
static create() {
|
|
38674
38805
|
const chartNode = {
|
|
38675
38806
|
type: "boolean",
|
|
38676
38807
|
title: "Bool",
|
|
38677
|
-
id: (0,
|
|
38808
|
+
id: (0, import_non_secure79.nanoid)(),
|
|
38678
38809
|
visualData: {
|
|
38679
38810
|
x: 0,
|
|
38680
38811
|
y: 0,
|
|
@@ -38733,7 +38864,7 @@ var BooleanNodeImpl = class extends NodeImpl {
|
|
|
38733
38864
|
var booleanNode = nodeDefinition(BooleanNodeImpl, "Boolean");
|
|
38734
38865
|
|
|
38735
38866
|
// src/model/nodes/CompareNode.ts
|
|
38736
|
-
var
|
|
38867
|
+
var import_non_secure80 = require("nanoid/non-secure");
|
|
38737
38868
|
var import_lodash_es13 = require("lodash");
|
|
38738
38869
|
var import_ts_pattern4 = require("ts-pattern");
|
|
38739
38870
|
var import_ts_dedent66 = require("ts-dedent");
|
|
@@ -38756,7 +38887,7 @@ var CompareNodeImpl = class extends NodeImpl {
|
|
|
38756
38887
|
const chartNode = {
|
|
38757
38888
|
type: "compare",
|
|
38758
38889
|
title: "Compare",
|
|
38759
|
-
id: (0,
|
|
38890
|
+
id: (0, import_non_secure80.nanoid)(),
|
|
38760
38891
|
visualData: {
|
|
38761
38892
|
x: 0,
|
|
38762
38893
|
y: 0,
|
|
@@ -38856,7 +38987,7 @@ var CompareNodeImpl = class extends NodeImpl {
|
|
|
38856
38987
|
var compareNode = nodeDefinition(CompareNodeImpl, "Compare");
|
|
38857
38988
|
|
|
38858
38989
|
// src/model/nodes/EvaluateNode.ts
|
|
38859
|
-
var
|
|
38990
|
+
var import_non_secure81 = require("nanoid/non-secure");
|
|
38860
38991
|
var import_ts_pattern5 = require("ts-pattern");
|
|
38861
38992
|
var import_ts_dedent67 = require("ts-dedent");
|
|
38862
38993
|
var unaryOperation = ["abs", "negate"];
|
|
@@ -38866,7 +38997,7 @@ var EvaluateNodeImpl = class extends NodeImpl {
|
|
|
38866
38997
|
const chartNode = {
|
|
38867
38998
|
type: "evaluate",
|
|
38868
38999
|
title: "Evaluate",
|
|
38869
|
-
id: (0,
|
|
39000
|
+
id: (0, import_non_secure81.nanoid)(),
|
|
38870
39001
|
visualData: {
|
|
38871
39002
|
x: 0,
|
|
38872
39003
|
y: 0,
|
|
@@ -38980,14 +39111,14 @@ var EvaluateNodeImpl = class extends NodeImpl {
|
|
|
38980
39111
|
var evaluateNode = nodeDefinition(EvaluateNodeImpl, "Evaluate");
|
|
38981
39112
|
|
|
38982
39113
|
// src/model/nodes/NumberNode.ts
|
|
38983
|
-
var
|
|
39114
|
+
var import_non_secure82 = require("nanoid/non-secure");
|
|
38984
39115
|
var import_ts_dedent68 = require("ts-dedent");
|
|
38985
39116
|
var NumberNodeImpl = class extends NodeImpl {
|
|
38986
39117
|
static create() {
|
|
38987
39118
|
const chartNode = {
|
|
38988
39119
|
type: "number",
|
|
38989
39120
|
title: "Number",
|
|
38990
|
-
id: (0,
|
|
39121
|
+
id: (0, import_non_secure82.nanoid)(),
|
|
38991
39122
|
visualData: {
|
|
38992
39123
|
x: 0,
|
|
38993
39124
|
y: 0,
|
|
@@ -39058,7 +39189,7 @@ var NumberNodeImpl = class extends NodeImpl {
|
|
|
39058
39189
|
var numberNode = nodeDefinition(NumberNodeImpl, "Number");
|
|
39059
39190
|
|
|
39060
39191
|
// src/model/nodes/RandomNumberNode.ts
|
|
39061
|
-
var
|
|
39192
|
+
var import_non_secure83 = require("nanoid/non-secure");
|
|
39062
39193
|
var import_ts_dedent69 = require("ts-dedent");
|
|
39063
39194
|
var randomNumberTypeOptions = [
|
|
39064
39195
|
{ value: false, label: "Float" },
|
|
@@ -39069,7 +39200,7 @@ var RandomNumberNodeImpl = class extends NodeImpl {
|
|
|
39069
39200
|
const chartNode = {
|
|
39070
39201
|
type: "randomNumber",
|
|
39071
39202
|
title: "Random number",
|
|
39072
|
-
id: (0,
|
|
39203
|
+
id: (0, import_non_secure83.nanoid)(),
|
|
39073
39204
|
visualData: {
|
|
39074
39205
|
x: 0,
|
|
39075
39206
|
y: 0,
|
|
@@ -39167,7 +39298,7 @@ var RandomNumberNodeImpl = class extends NodeImpl {
|
|
|
39167
39298
|
var randomNumberNode = nodeDefinition(RandomNumberNodeImpl, "Random number");
|
|
39168
39299
|
|
|
39169
39300
|
// src/model/nodes/ShuffleNode.ts
|
|
39170
|
-
var
|
|
39301
|
+
var import_non_secure84 = require("nanoid/non-secure");
|
|
39171
39302
|
var import_lodash_es14 = require("lodash");
|
|
39172
39303
|
var import_ts_dedent70 = require("ts-dedent");
|
|
39173
39304
|
var ShuffleNodeImpl = class extends NodeImpl {
|
|
@@ -39175,7 +39306,7 @@ var ShuffleNodeImpl = class extends NodeImpl {
|
|
|
39175
39306
|
const chartNode = {
|
|
39176
39307
|
type: "shuffle",
|
|
39177
39308
|
title: "Shuffle",
|
|
39178
|
-
id: (0,
|
|
39309
|
+
id: (0, import_non_secure84.nanoid)(),
|
|
39179
39310
|
visualData: {
|
|
39180
39311
|
x: 0,
|
|
39181
39312
|
y: 0,
|
|
@@ -39229,14 +39360,14 @@ var ShuffleNodeImpl = class extends NodeImpl {
|
|
|
39229
39360
|
var shuffleNode = nodeDefinition(ShuffleNodeImpl, "Shuffle");
|
|
39230
39361
|
|
|
39231
39362
|
// src/model/nodes/CommentNode.ts
|
|
39232
|
-
var
|
|
39363
|
+
var import_non_secure85 = require("nanoid/non-secure");
|
|
39233
39364
|
var import_ts_dedent71 = require("ts-dedent");
|
|
39234
39365
|
var CommentNodeImpl = class extends NodeImpl {
|
|
39235
39366
|
static create() {
|
|
39236
39367
|
const chartNode = {
|
|
39237
39368
|
type: "comment",
|
|
39238
39369
|
title: "Comment",
|
|
39239
|
-
id: (0,
|
|
39370
|
+
id: (0, import_non_secure85.nanoid)(),
|
|
39240
39371
|
visualData: {
|
|
39241
39372
|
x: 0,
|
|
39242
39373
|
y: 0,
|
|
@@ -39297,11 +39428,11 @@ var CommentNodeImpl = class extends NodeImpl {
|
|
|
39297
39428
|
var commentNode = nodeDefinition(CommentNodeImpl, "Comment");
|
|
39298
39429
|
|
|
39299
39430
|
// src/model/nodes/ImageNode.ts
|
|
39300
|
-
var
|
|
39431
|
+
var import_non_secure86 = require("nanoid/non-secure");
|
|
39301
39432
|
var ImageNodeImpl = class extends NodeImpl {
|
|
39302
39433
|
static create() {
|
|
39303
39434
|
return {
|
|
39304
|
-
id: (0,
|
|
39435
|
+
id: (0, import_non_secure86.nanoid)(),
|
|
39305
39436
|
type: "image",
|
|
39306
39437
|
title: "Image",
|
|
39307
39438
|
visualData: { x: 0, y: 0, width: 250 },
|
|
@@ -39435,11 +39566,11 @@ var ImageNodeImpl = class extends NodeImpl {
|
|
|
39435
39566
|
var imageNode = nodeDefinition(ImageNodeImpl, "Image");
|
|
39436
39567
|
|
|
39437
39568
|
// src/model/nodes/AudioNode.ts
|
|
39438
|
-
var
|
|
39569
|
+
var import_non_secure87 = require("nanoid/non-secure");
|
|
39439
39570
|
var AudioNodeImpl = class extends NodeImpl {
|
|
39440
39571
|
static create() {
|
|
39441
39572
|
return {
|
|
39442
|
-
id: (0,
|
|
39573
|
+
id: (0, import_non_secure87.nanoid)(),
|
|
39443
39574
|
type: "audio",
|
|
39444
39575
|
title: "Audio",
|
|
39445
39576
|
visualData: { x: 0, y: 0, width: 300 },
|
|
@@ -39532,7 +39663,7 @@ var AudioNodeImpl = class extends NodeImpl {
|
|
|
39532
39663
|
var audioNode = nodeDefinition(AudioNodeImpl, "Audio");
|
|
39533
39664
|
|
|
39534
39665
|
// src/model/nodes/HttpCallNode.ts
|
|
39535
|
-
var
|
|
39666
|
+
var import_non_secure88 = require("nanoid/non-secure");
|
|
39536
39667
|
var REQUEST_FAILED_OUTPUT_ID = "requestFailed";
|
|
39537
39668
|
var REQUEST_ERROR_OUTPUT_ID = "requestError";
|
|
39538
39669
|
var STATUS_CODE_OUTPUT_ID = "statusCode";
|
|
@@ -39740,7 +39871,7 @@ var HttpCallNodeImpl = class extends NodeImpl {
|
|
|
39740
39871
|
const chartNode = {
|
|
39741
39872
|
type: "httpCall",
|
|
39742
39873
|
title: "Http Call",
|
|
39743
|
-
id: (0,
|
|
39874
|
+
id: (0, import_non_secure88.nanoid)(),
|
|
39744
39875
|
visualData: {
|
|
39745
39876
|
x: 0,
|
|
39746
39877
|
y: 0,
|
|
@@ -40086,14 +40217,14 @@ var HttpCallNodeImpl = class extends NodeImpl {
|
|
|
40086
40217
|
var httpCallNode = nodeDefinition(HttpCallNodeImpl, "Http Call");
|
|
40087
40218
|
|
|
40088
40219
|
// src/model/nodes/DelayNode.ts
|
|
40089
|
-
var
|
|
40220
|
+
var import_non_secure89 = require("nanoid/non-secure");
|
|
40090
40221
|
var import_ts_dedent72 = require("ts-dedent");
|
|
40091
40222
|
var DelayNodeImpl = class extends NodeImpl {
|
|
40092
40223
|
static create() {
|
|
40093
40224
|
const chartNode = {
|
|
40094
40225
|
type: "delay",
|
|
40095
40226
|
title: "Delay",
|
|
40096
|
-
id: (0,
|
|
40227
|
+
id: (0, import_non_secure89.nanoid)(),
|
|
40097
40228
|
visualData: {
|
|
40098
40229
|
x: 0,
|
|
40099
40230
|
y: 0,
|
|
@@ -40175,12 +40306,12 @@ var DelayNodeImpl = class extends NodeImpl {
|
|
|
40175
40306
|
var delayNode = nodeDefinition(DelayNodeImpl, "Delay");
|
|
40176
40307
|
|
|
40177
40308
|
// src/model/nodes/AppendToDatasetNode.ts
|
|
40178
|
-
var
|
|
40309
|
+
var import_non_secure90 = require("nanoid/non-secure");
|
|
40179
40310
|
var import_ts_dedent73 = require("ts-dedent");
|
|
40180
40311
|
var AppendToDatasetNodeImpl = class extends NodeImpl {
|
|
40181
40312
|
static create() {
|
|
40182
40313
|
return {
|
|
40183
|
-
id: (0,
|
|
40314
|
+
id: (0, import_non_secure90.nanoid)(),
|
|
40184
40315
|
type: "appendToDataset",
|
|
40185
40316
|
title: "Append to Dataset",
|
|
40186
40317
|
visualData: { x: 0, y: 0, width: 250 },
|
|
@@ -40786,14 +40917,14 @@ var GetDatasetRowNodeImpl = class extends NodeImpl {
|
|
|
40786
40917
|
var getDatasetRowNode = nodeDefinition(GetDatasetRowNodeImpl, "Get Dataset Row");
|
|
40787
40918
|
|
|
40788
40919
|
// src/model/nodes/SliceNode.ts
|
|
40789
|
-
var
|
|
40920
|
+
var import_non_secure91 = require("nanoid/non-secure");
|
|
40790
40921
|
var import_ts_dedent74 = require("ts-dedent");
|
|
40791
40922
|
var SliceNodeImpl = class extends NodeImpl {
|
|
40792
40923
|
static create() {
|
|
40793
40924
|
const chartNode = {
|
|
40794
40925
|
type: "slice",
|
|
40795
40926
|
title: "Slice",
|
|
40796
|
-
id: (0,
|
|
40927
|
+
id: (0, import_non_secure91.nanoid)(),
|
|
40797
40928
|
visualData: {
|
|
40798
40929
|
x: 0,
|
|
40799
40930
|
y: 0,
|
|
@@ -40879,14 +41010,14 @@ var SliceNodeImpl = class extends NodeImpl {
|
|
|
40879
41010
|
var sliceNode = nodeDefinition(SliceNodeImpl, "Slice");
|
|
40880
41011
|
|
|
40881
41012
|
// src/model/nodes/ExtractMarkdownCodeBlocksNode.ts
|
|
40882
|
-
var
|
|
41013
|
+
var import_non_secure92 = require("nanoid/non-secure");
|
|
40883
41014
|
var import_ts_dedent75 = require("ts-dedent");
|
|
40884
41015
|
var ExtractMarkdownCodeBlocksNodeImpl = class extends NodeImpl {
|
|
40885
41016
|
static create() {
|
|
40886
41017
|
const chartNode = {
|
|
40887
41018
|
type: "extractMarkdownCodeBlocks",
|
|
40888
41019
|
title: "Extract Markdown Code Blocks",
|
|
40889
|
-
id: (0,
|
|
41020
|
+
id: (0, import_non_secure92.nanoid)(),
|
|
40890
41021
|
visualData: {
|
|
40891
41022
|
x: 0,
|
|
40892
41023
|
y: 0,
|
|
@@ -40978,7 +41109,7 @@ var extractMarkdownCodeBlocksNode = nodeDefinition(
|
|
|
40978
41109
|
);
|
|
40979
41110
|
|
|
40980
41111
|
// src/model/nodes/AssembleMessageNode.ts
|
|
40981
|
-
var
|
|
41112
|
+
var import_non_secure93 = require("nanoid/non-secure");
|
|
40982
41113
|
var import_lodash_es15 = require("lodash");
|
|
40983
41114
|
var import_ts_pattern6 = require("ts-pattern");
|
|
40984
41115
|
var messageTypeToTitle = {
|
|
@@ -40993,7 +41124,7 @@ var AssembleMessageNodeImpl = class extends NodeImpl {
|
|
|
40993
41124
|
const chartNode = {
|
|
40994
41125
|
type: "assembleMessage",
|
|
40995
41126
|
title: "Assemble Message",
|
|
40996
|
-
id: (0,
|
|
41127
|
+
id: (0, import_non_secure93.nanoid)(),
|
|
40997
41128
|
visualData: {
|
|
40998
41129
|
x: 0,
|
|
40999
41130
|
y: 0,
|
|
@@ -41183,13 +41314,13 @@ var AssembleMessageNodeImpl = class extends NodeImpl {
|
|
|
41183
41314
|
var assembleMessageNode = nodeDefinition(AssembleMessageNodeImpl, "Assemble Prompt");
|
|
41184
41315
|
|
|
41185
41316
|
// src/model/nodes/URLReferenceNode.ts
|
|
41186
|
-
var
|
|
41317
|
+
var import_non_secure94 = require("nanoid/non-secure");
|
|
41187
41318
|
var UrlReferenceNodeImpl = class extends NodeImpl {
|
|
41188
41319
|
static create() {
|
|
41189
41320
|
const chartNode = {
|
|
41190
41321
|
type: "urlReference",
|
|
41191
41322
|
title: "URL Reference",
|
|
41192
|
-
id: (0,
|
|
41323
|
+
id: (0, import_non_secure94.nanoid)(),
|
|
41193
41324
|
visualData: {
|
|
41194
41325
|
x: 0,
|
|
41195
41326
|
y: 0,
|
|
@@ -41258,14 +41389,14 @@ var UrlReferenceNodeImpl = class extends NodeImpl {
|
|
|
41258
41389
|
var urlReferenceNode = nodeDefinition(UrlReferenceNodeImpl, "URL Reference");
|
|
41259
41390
|
|
|
41260
41391
|
// src/model/nodes/DestructureNode.ts
|
|
41261
|
-
var
|
|
41392
|
+
var import_non_secure95 = require("nanoid/non-secure");
|
|
41262
41393
|
var import_ts_dedent76 = require("ts-dedent");
|
|
41263
41394
|
var DestructureNodeImpl = class extends NodeImpl {
|
|
41264
41395
|
static create() {
|
|
41265
41396
|
const chartNode = {
|
|
41266
41397
|
type: "destructure",
|
|
41267
41398
|
title: "Destructure",
|
|
41268
|
-
id: (0,
|
|
41399
|
+
id: (0, import_non_secure95.nanoid)(),
|
|
41269
41400
|
visualData: {
|
|
41270
41401
|
x: 0,
|
|
41271
41402
|
y: 0,
|
|
@@ -41273,7 +41404,7 @@ var DestructureNodeImpl = class extends NodeImpl {
|
|
|
41273
41404
|
},
|
|
41274
41405
|
data: {
|
|
41275
41406
|
paths: ["$.value"],
|
|
41276
|
-
pathPortIds: [(0,
|
|
41407
|
+
pathPortIds: [(0, import_non_secure95.nanoid)()]
|
|
41277
41408
|
}
|
|
41278
41409
|
};
|
|
41279
41410
|
return chartNode;
|
|
@@ -41361,12 +41492,12 @@ var DestructureNodeImpl = class extends NodeImpl {
|
|
|
41361
41492
|
var destructureNode = nodeDefinition(DestructureNodeImpl, "Destructure");
|
|
41362
41493
|
|
|
41363
41494
|
// src/model/nodes/ReplaceDatasetNode.ts
|
|
41364
|
-
var
|
|
41495
|
+
var import_non_secure96 = require("nanoid/non-secure");
|
|
41365
41496
|
var import_ts_dedent77 = require("ts-dedent");
|
|
41366
41497
|
var ReplaceDatasetNodeImpl = class extends NodeImpl {
|
|
41367
41498
|
static create() {
|
|
41368
41499
|
return {
|
|
41369
|
-
id: (0,
|
|
41500
|
+
id: (0, import_non_secure96.nanoid)(),
|
|
41370
41501
|
type: "replaceDataset",
|
|
41371
41502
|
title: "Replace Dataset",
|
|
41372
41503
|
visualData: { x: 0, y: 0, width: 250 },
|
|
@@ -41537,14 +41668,14 @@ var ListGraphsNodeImpl = class extends NodeImpl {
|
|
|
41537
41668
|
var listGraphsNode = nodeDefinition(ListGraphsNodeImpl, "List Graphs");
|
|
41538
41669
|
|
|
41539
41670
|
// src/model/nodes/GraphReferenceNode.ts
|
|
41540
|
-
var
|
|
41671
|
+
var import_non_secure97 = require("nanoid/non-secure");
|
|
41541
41672
|
var import_ts_dedent78 = require("ts-dedent");
|
|
41542
41673
|
var GraphReferenceNodeImpl = class extends NodeImpl {
|
|
41543
41674
|
static create() {
|
|
41544
41675
|
const chartNode = {
|
|
41545
41676
|
type: "graphReference",
|
|
41546
41677
|
title: "Graph Reference",
|
|
41547
|
-
id: (0,
|
|
41678
|
+
id: (0, import_non_secure97.nanoid)(),
|
|
41548
41679
|
visualData: {
|
|
41549
41680
|
x: 0,
|
|
41550
41681
|
y: 0,
|
|
@@ -41659,7 +41790,7 @@ var GraphReferenceNodeImpl = class extends NodeImpl {
|
|
|
41659
41790
|
var graphReferenceNode = nodeDefinition(GraphReferenceNodeImpl, "Graph Reference");
|
|
41660
41791
|
|
|
41661
41792
|
// src/model/nodes/CallGraphNode.ts
|
|
41662
|
-
var
|
|
41793
|
+
var import_non_secure98 = require("nanoid/non-secure");
|
|
41663
41794
|
var import_ts_dedent79 = require("ts-dedent");
|
|
41664
41795
|
|
|
41665
41796
|
// src/api/looseDataValue.ts
|
|
@@ -41686,7 +41817,7 @@ var CallGraphNodeImpl = class extends NodeImpl {
|
|
|
41686
41817
|
const chartNode = {
|
|
41687
41818
|
type: "callGraph",
|
|
41688
41819
|
title: "Call Graph",
|
|
41689
|
-
id: (0,
|
|
41820
|
+
id: (0, import_non_secure98.nanoid)(),
|
|
41690
41821
|
visualData: {
|
|
41691
41822
|
x: 0,
|
|
41692
41823
|
y: 0,
|
|
@@ -41981,11 +42112,11 @@ function getDelegatedToolCallRecords(input) {
|
|
|
41981
42112
|
var delegateFunctionCallNode = nodeDefinition(DelegateFunctionCallNodeImpl, "Delegate Tool Call");
|
|
41982
42113
|
|
|
41983
42114
|
// src/model/nodes/PlayAudioNode.ts
|
|
41984
|
-
var
|
|
42115
|
+
var import_non_secure99 = require("nanoid/non-secure");
|
|
41985
42116
|
var PlayAudioNodeImpl = class extends NodeImpl {
|
|
41986
42117
|
static create() {
|
|
41987
42118
|
return {
|
|
41988
|
-
id: (0,
|
|
42119
|
+
id: (0, import_non_secure99.nanoid)(),
|
|
41989
42120
|
type: "playAudio",
|
|
41990
42121
|
title: "Play Audio",
|
|
41991
42122
|
visualData: { x: 0, y: 0, width: 200 },
|
|
@@ -42039,11 +42170,11 @@ var PlayAudioNodeImpl = class extends NodeImpl {
|
|
|
42039
42170
|
var playAudioNode = nodeDefinition(PlayAudioNodeImpl, "Play Audio");
|
|
42040
42171
|
|
|
42041
42172
|
// src/model/nodes/DocumentNode.ts
|
|
42042
|
-
var
|
|
42173
|
+
var import_non_secure100 = require("nanoid/non-secure");
|
|
42043
42174
|
var DocumentNodeImpl = class extends NodeImpl {
|
|
42044
42175
|
static create() {
|
|
42045
42176
|
return {
|
|
42046
|
-
id: (0,
|
|
42177
|
+
id: (0, import_non_secure100.nanoid)(),
|
|
42047
42178
|
type: "document",
|
|
42048
42179
|
title: "Document",
|
|
42049
42180
|
visualData: { x: 0, y: 0, width: 300 },
|
|
@@ -42209,7 +42340,7 @@ var DocumentNodeImpl = class extends NodeImpl {
|
|
|
42209
42340
|
var documentNode = nodeDefinition(DocumentNodeImpl, "Document");
|
|
42210
42341
|
|
|
42211
42342
|
// src/model/nodes/ChatLoopNode.ts
|
|
42212
|
-
var
|
|
42343
|
+
var import_non_secure101 = require("nanoid/non-secure");
|
|
42213
42344
|
var import_ts_dedent81 = require("ts-dedent");
|
|
42214
42345
|
var chatLoopLegacyDisplayName = "Chat Loop (legacy)";
|
|
42215
42346
|
var ChatLoopNodeImpl = class extends NodeImpl {
|
|
@@ -42217,7 +42348,7 @@ var ChatLoopNodeImpl = class extends NodeImpl {
|
|
|
42217
42348
|
const chartNode = {
|
|
42218
42349
|
type: "chatLoop",
|
|
42219
42350
|
title: chatLoopLegacyDisplayName,
|
|
42220
|
-
id: (0,
|
|
42351
|
+
id: (0, import_non_secure101.nanoid)(),
|
|
42221
42352
|
visualData: {
|
|
42222
42353
|
x: 0,
|
|
42223
42354
|
y: 0,
|
|
@@ -42350,12 +42481,12 @@ var ChatLoopNodeImpl = class extends NodeImpl {
|
|
|
42350
42481
|
var chatLoopNode = nodeDefinition(ChatLoopNodeImpl, chatLoopLegacyDisplayName);
|
|
42351
42482
|
|
|
42352
42483
|
// src/model/nodes/ReadAllFilesNode.ts
|
|
42353
|
-
var
|
|
42484
|
+
var import_non_secure102 = require("nanoid/non-secure");
|
|
42354
42485
|
var import_ts_dedent82 = require("ts-dedent");
|
|
42355
42486
|
var ReadAllFilesNodeImpl = class extends NodeImpl {
|
|
42356
42487
|
static create() {
|
|
42357
42488
|
return {
|
|
42358
|
-
id: (0,
|
|
42489
|
+
id: (0, import_non_secure102.nanoid)(),
|
|
42359
42490
|
type: "readAllFiles",
|
|
42360
42491
|
title: "Read All Files",
|
|
42361
42492
|
visualData: { x: 0, y: 0, width: 250 },
|
|
@@ -42548,14 +42679,14 @@ var ReadAllFilesNodeImpl = class extends NodeImpl {
|
|
|
42548
42679
|
var readAllFilesNode = nodeDefinition(ReadAllFilesNodeImpl, "Read All Files");
|
|
42549
42680
|
|
|
42550
42681
|
// src/model/nodes/ToMarkdownTableNode.ts
|
|
42551
|
-
var
|
|
42682
|
+
var import_non_secure103 = require("nanoid/non-secure");
|
|
42552
42683
|
var import_ts_dedent83 = require("ts-dedent");
|
|
42553
42684
|
var ToMarkdownTableNodeImpl = class extends NodeImpl {
|
|
42554
42685
|
static create() {
|
|
42555
42686
|
const chartNode = {
|
|
42556
42687
|
type: "toMarkdownTable",
|
|
42557
42688
|
title: "To Markdown Table",
|
|
42558
|
-
id: (0,
|
|
42689
|
+
id: (0, import_non_secure103.nanoid)(),
|
|
42559
42690
|
visualData: {
|
|
42560
42691
|
x: 0,
|
|
42561
42692
|
y: 0,
|
|
@@ -42902,7 +43033,7 @@ ${this.data.schedule}`;
|
|
|
42902
43033
|
var cronNode = nodeDefinition(CronNodeImpl, "Cron");
|
|
42903
43034
|
|
|
42904
43035
|
// src/model/nodes/ToTreeNode.ts
|
|
42905
|
-
var
|
|
43036
|
+
var import_non_secure104 = require("nanoid/non-secure");
|
|
42906
43037
|
var import_ts_dedent85 = require("ts-dedent");
|
|
42907
43038
|
var import_lodash_es17 = require("lodash");
|
|
42908
43039
|
var ToTreeNodeImpl = class extends NodeImpl {
|
|
@@ -42910,7 +43041,7 @@ var ToTreeNodeImpl = class extends NodeImpl {
|
|
|
42910
43041
|
const chartNode = {
|
|
42911
43042
|
type: "toTree",
|
|
42912
43043
|
title: "To Tree",
|
|
42913
|
-
id: (0,
|
|
43044
|
+
id: (0, import_non_secure104.nanoid)(),
|
|
42914
43045
|
visualData: {
|
|
42915
43046
|
x: 0,
|
|
42916
43047
|
y: 0,
|
|
@@ -43031,14 +43162,14 @@ var ToTreeNodeImpl = class extends NodeImpl {
|
|
|
43031
43162
|
var toTreeNode = nodeDefinition(ToTreeNodeImpl, "To Tree");
|
|
43032
43163
|
|
|
43033
43164
|
// src/model/nodes/LoopUntilNode.ts
|
|
43034
|
-
var
|
|
43165
|
+
var import_non_secure105 = require("nanoid/non-secure");
|
|
43035
43166
|
var import_ts_dedent86 = require("ts-dedent");
|
|
43036
43167
|
var LoopUntilNodeImpl = class extends NodeImpl {
|
|
43037
43168
|
static create() {
|
|
43038
43169
|
const chartNode = {
|
|
43039
43170
|
type: "loopUntil",
|
|
43040
43171
|
title: "Loop Until",
|
|
43041
|
-
id: (0,
|
|
43172
|
+
id: (0, import_non_secure105.nanoid)(),
|
|
43042
43173
|
visualData: {
|
|
43043
43174
|
x: 0,
|
|
43044
43175
|
y: 0,
|
|
@@ -43547,14 +43678,14 @@ var MCPDiscoveryNodeImpl = class extends NodeImpl {
|
|
|
43547
43678
|
var mcpDiscoveryNode = nodeDefinition(MCPDiscoveryNodeImpl, "MCP Discovery");
|
|
43548
43679
|
|
|
43549
43680
|
// src/model/nodes/MCPToolCallNode.ts
|
|
43550
|
-
var
|
|
43681
|
+
var import_non_secure106 = require("nanoid/non-secure");
|
|
43551
43682
|
var import_ts_dedent87 = require("ts-dedent");
|
|
43552
43683
|
var MCPToolCallNodeImpl = class extends NodeImpl {
|
|
43553
43684
|
static create() {
|
|
43554
43685
|
const chartNode = {
|
|
43555
43686
|
type: "mcpToolCall",
|
|
43556
43687
|
title: "MCP Tool Call",
|
|
43557
|
-
id: (0,
|
|
43688
|
+
id: (0, import_non_secure106.nanoid)(),
|
|
43558
43689
|
visualData: {
|
|
43559
43690
|
x: 0,
|
|
43560
43691
|
y: 0,
|
|
@@ -43723,13 +43854,13 @@ var MCPToolCallNodeImpl = class extends NodeImpl {
|
|
|
43723
43854
|
var mcpToolCallNode = nodeDefinition(MCPToolCallNodeImpl, "MCP Tool Call");
|
|
43724
43855
|
|
|
43725
43856
|
// src/model/nodes/MCPGetPromptNode.ts
|
|
43726
|
-
var
|
|
43857
|
+
var import_non_secure107 = require("nanoid/non-secure");
|
|
43727
43858
|
var MCPGetPromptNodeImpl = class extends NodeImpl {
|
|
43728
43859
|
static create() {
|
|
43729
43860
|
const chartNode = {
|
|
43730
43861
|
type: "mcpGetPrompt",
|
|
43731
43862
|
title: "MCP Get Prompt",
|
|
43732
|
-
id: (0,
|
|
43863
|
+
id: (0, import_non_secure107.nanoid)(),
|
|
43733
43864
|
visualData: {
|
|
43734
43865
|
x: 0,
|
|
43735
43866
|
y: 0,
|
|
@@ -43876,7 +44007,7 @@ var MCPGetPromptNodeImpl = class extends NodeImpl {
|
|
|
43876
44007
|
var mcpGetPromptNode = nodeDefinition(MCPGetPromptNodeImpl, "MCP Get Prompt");
|
|
43877
44008
|
|
|
43878
44009
|
// src/model/nodes/ReferencedGraphAliasNode.ts
|
|
43879
|
-
var
|
|
44010
|
+
var import_non_secure108 = require("nanoid/non-secure");
|
|
43880
44011
|
var import_ts_dedent88 = require("ts-dedent");
|
|
43881
44012
|
var ReferencedGraphAliasNodeImpl = class extends NodeImpl {
|
|
43882
44013
|
static create() {
|
|
@@ -43884,7 +44015,7 @@ var ReferencedGraphAliasNodeImpl = class extends NodeImpl {
|
|
|
43884
44015
|
type: "referencedGraphAlias",
|
|
43885
44016
|
title: "",
|
|
43886
44017
|
// Always set initially by the editor
|
|
43887
|
-
id: (0,
|
|
44018
|
+
id: (0, import_non_secure108.nanoid)(),
|
|
43888
44019
|
visualData: {
|
|
43889
44020
|
x: 0,
|
|
43890
44021
|
y: 0,
|
|
@@ -44052,13 +44183,13 @@ function applyMetricOutputSetting(outputs, outputCostDuration) {
|
|
|
44052
44183
|
}
|
|
44053
44184
|
|
|
44054
44185
|
// src/model/nodes/NodePrefabInstanceNode.ts
|
|
44055
|
-
var
|
|
44186
|
+
var import_non_secure109 = require("nanoid/non-secure");
|
|
44056
44187
|
var NodePrefabInstanceNodeImpl = class extends NodeImpl {
|
|
44057
44188
|
static create() {
|
|
44058
44189
|
return {
|
|
44059
44190
|
type: NODE_PREFAB_INSTANCE_TYPE,
|
|
44060
44191
|
title: "Linked node",
|
|
44061
|
-
id: (0,
|
|
44192
|
+
id: (0, import_non_secure109.nanoid)(),
|
|
44062
44193
|
visualData: {
|
|
44063
44194
|
x: 0,
|
|
44064
44195
|
y: 0,
|
|
@@ -44088,7 +44219,7 @@ var NodePrefabInstanceNodeImpl = class extends NodeImpl {
|
|
|
44088
44219
|
var nodePrefabInstanceNode = nodeDefinition(NodePrefabInstanceNodeImpl, "Linked node");
|
|
44089
44220
|
|
|
44090
44221
|
// src/model/nodes/ClassifierQuestionNode.ts
|
|
44091
|
-
var
|
|
44222
|
+
var import_non_secure110 = require("nanoid/non-secure");
|
|
44092
44223
|
|
|
44093
44224
|
// src/model/classifier/limits.ts
|
|
44094
44225
|
var CLASSIFIER_LIMITS = {
|
|
@@ -44984,17 +45115,17 @@ var entryTypeOptions = [
|
|
|
44984
45115
|
{ value: "object", label: "Object" }
|
|
44985
45116
|
];
|
|
44986
45117
|
function createScoreCriterion() {
|
|
44987
|
-
return { id: (0,
|
|
45118
|
+
return { id: (0, import_non_secure110.nanoid)(), type: "text", text: "", lines: [""], objectTemplate: "{}" };
|
|
44988
45119
|
}
|
|
44989
45120
|
function createChoiceCriterion() {
|
|
44990
|
-
return { id: (0,
|
|
45121
|
+
return { id: (0, import_non_secure110.nanoid)(), key: "", text: "", lines: [""], objectTemplate: "{}" };
|
|
44991
45122
|
}
|
|
44992
45123
|
var ClassifierQuestionNodeImpl = class extends NodeImpl {
|
|
44993
45124
|
static create() {
|
|
44994
45125
|
return {
|
|
44995
45126
|
type: "classifierQuestion",
|
|
44996
45127
|
title: "Decision AI Question",
|
|
44997
|
-
id: (0,
|
|
45128
|
+
id: (0, import_non_secure110.nanoid)(),
|
|
44998
45129
|
visualData: { x: 0, y: 0, width: 280 },
|
|
44999
45130
|
data: {
|
|
45000
45131
|
questionType: "choice",
|
|
@@ -45551,7 +45682,7 @@ function hasClassifierCriteriaValue(value) {
|
|
|
45551
45682
|
var classifierQuestionNode = nodeDefinition(ClassifierQuestionNodeImpl, "Decision AI Question");
|
|
45552
45683
|
|
|
45553
45684
|
// src/model/nodes/ClassifierEvaluateNode.ts
|
|
45554
|
-
var
|
|
45685
|
+
var import_non_secure111 = require("nanoid/non-secure");
|
|
45555
45686
|
|
|
45556
45687
|
// src/model/classifier/credentials.ts
|
|
45557
45688
|
var ClassifierCredentialMissingError = class extends Error {
|
|
@@ -47311,7 +47442,7 @@ var ClassifierEvaluateNodeImpl = class extends NodeImpl {
|
|
|
47311
47442
|
return {
|
|
47312
47443
|
type: "classifierEvaluate",
|
|
47313
47444
|
title: "Decision AI run",
|
|
47314
|
-
id: (0,
|
|
47445
|
+
id: (0, import_non_secure111.nanoid)(),
|
|
47315
47446
|
visualData: { x: 0, y: 0, width: 260 },
|
|
47316
47447
|
// Keep the default model in the provider descriptor rather than
|
|
47317
47448
|
// serializing Jev's model into every new node. A future provider then
|
|
@@ -47628,7 +47759,7 @@ var ClassifierEvaluateNodeImpl = class extends NodeImpl {
|
|
|
47628
47759
|
attempts.push(event);
|
|
47629
47760
|
(_a2 = context.onLLMProfileAttempt) == null ? void 0 : _a2.call(context, {
|
|
47630
47761
|
...structuredClone(event),
|
|
47631
|
-
eventId: (0,
|
|
47762
|
+
eventId: (0, import_non_secure111.nanoid)(),
|
|
47632
47763
|
nodeId: this.chartNode.id,
|
|
47633
47764
|
processId: context.processId
|
|
47634
47765
|
});
|
|
@@ -47713,7 +47844,7 @@ var ClassifierEvaluateNodeImpl = class extends NodeImpl {
|
|
|
47713
47844
|
attempts.push(attempt);
|
|
47714
47845
|
(_a2 = context.onLLMProfileAttempt) == null ? void 0 : _a2.call(context, {
|
|
47715
47846
|
...structuredClone(attempt),
|
|
47716
|
-
eventId: (0,
|
|
47847
|
+
eventId: (0, import_non_secure111.nanoid)(),
|
|
47717
47848
|
nodeId: this.chartNode.id,
|
|
47718
47849
|
processId: context.processId
|
|
47719
47850
|
});
|
|
@@ -47845,13 +47976,13 @@ function flattenQuestions(value, target, check, seen = /* @__PURE__ */ new Set()
|
|
|
47845
47976
|
var classifierEvaluateNode = nodeDefinition(ClassifierEvaluateNodeImpl, "Decision AI run");
|
|
47846
47977
|
|
|
47847
47978
|
// src/model/nodes/ClassifierProfileNode.ts
|
|
47848
|
-
var
|
|
47979
|
+
var import_non_secure112 = require("nanoid/non-secure");
|
|
47849
47980
|
var ClassifierProfileNodeImpl = class extends NodeImpl {
|
|
47850
47981
|
static create() {
|
|
47851
47982
|
return {
|
|
47852
47983
|
type: "classifierProfile",
|
|
47853
47984
|
title: "Decision AI Profile",
|
|
47854
|
-
id: (0,
|
|
47985
|
+
id: (0, import_non_secure112.nanoid)(),
|
|
47855
47986
|
visualData: { x: 0, y: 0, width: 260 },
|
|
47856
47987
|
data: { provider: "jev", responseTimeoutMs: DEFAULT_CLASSIFIER_PROFILE_RESPONSE_TIMEOUT_MS }
|
|
47857
47988
|
};
|
|
@@ -47967,7 +48098,7 @@ var classifierProfileNode = nodeDefinition(ClassifierProfileNodeImpl, "Decision
|
|
|
47967
48098
|
|
|
47968
48099
|
// src/model/Nodes.ts
|
|
47969
48100
|
var registerBuiltInNodes = (registry) => {
|
|
47970
|
-
return registry.register(toYamlNode).register(userInputNode).register(textNode).register(llmChatV2Node).register(llmProfileNode).register(chatNode).register(promptNode).register(extractRegexNode).register(codeNode).register(codeNewNode).register(expressionNode).register(matchNode).register(matchCaseNode).register(ifNode).register(readDirectoryNode).register(readFileNode).register(ifElseNode).register(chunkNode).register(graphInputNode).register(graphOutputNode).register(subGraphNode).register(arrayNode).register(extractJsonNode).register(assemblePromptNode).register(loopControllerNode).register(trimChatMessagesNode).register(extractYamlNode).register(externalCallNode).register(extractObjectPathNode).register(raiseEventNode).register(reportProgressNode).register(contextNode).register(graphCallPathNode).register(projectNameNode).register(coalesceNode).register(coalesceNewNode).register(didRunNode).register(passthroughNode).register(dataBusNode).register(startBackgroundBranchNode).register(watchStreamingOutputNode).register(stopWatchingStreamingOutputNode).register(streamValueNode).register(catchStreamingChunksNode).register(popNode).register(setGlobalNode).register(getGlobalNode).register(setStoredValueNode).register(getStoredValueNode).register(waitForEventNode).register(gptFunctionNode).register(getEmbeddingNode).register(vectorStoreNode).register(vectorNearestNeighborsNode).register(knowledgeSourceNode).register(knowledgeDocumentNode).register(syncKnowledgeSourceNode).register(getKnowledgeSourceStatusNode).register(searchKnowledgeNode).register(buildKnowledgeContextNode).register(hashNode).register(abortGraphNode).register(raceInputsNode).register(toJsonNode).register(toBase64Node).register(joinNode).register(filterNode).register(jsFilterNode).register(jsMapNode).register(objectNode).register(booleanNode).register(compareNode).register(evaluateNode).register(numberNode).register(randomNumberNode).register(shuffleNode).register(commentNode).register(imageNode).register(audioNode).register(httpCallNode).register(delayNode).register(appendToDatasetNode).register(createDatasetNode).register(loadDatasetNode).register(getAllDatasetsNode).register(splitNode).register(datasetNearestNeighborsNode).register(getDatasetRowNode).register(sliceNode).register(extractMarkdownCodeBlocksNode).register(assembleMessageNode).register(urlReferenceNode).register(destructureNode).register(replaceDatasetNode).register(listGraphsNode).register(graphReferenceNode).register(callGraphNode).register(delegateFunctionCallNode).register(playAudioNode).register(documentNode).register(chatLoopNode).register(readAllFilesNode).register(toMarkdownTableNode).register(cronNode).register(toTreeNode).register(loopUntilNode).register(mcpDiscoveryNode).register(mcpToolCallNode).register(mcpGetPromptNode).register(referencedGraphAliasNode).register(classifierQuestionNode).register(classifierEvaluateNode).register(classifierProfileNode).register(nodePrefabInstanceNode);
|
|
48101
|
+
return registry.register(toYamlNode).register(userInputNode).register(textNode).register(llmChatV2Node).register(llmProfileNode).register(chatNode).register(promptNode).register(extractRegexNode).register(codeNode).register(codeNewNode).register(expressionNode).register(matchNode).register(matchCaseNode).register(ifNode).register(readDirectoryNode).register(readFileNode).register(ifElseNode).register(chunkNode).register(graphInputNode).register(graphOutputNode).register(subGraphNode).register(arrayNode).register(extractJsonNode).register(assemblePromptNode).register(loopControllerNode).register(trimChatMessagesNode).register(extractYamlNode).register(externalCallNode).register(extractObjectPathNode).register(raiseEventNode).register(reportProgressNode).register(contextNode).register(graphCallPathNode).register(projectNameNode).register(aiCostNode).register(coalesceNode).register(coalesceNewNode).register(didRunNode).register(passthroughNode).register(dataBusNode).register(startBackgroundBranchNode).register(watchStreamingOutputNode).register(stopWatchingStreamingOutputNode).register(streamValueNode).register(catchStreamingChunksNode).register(popNode).register(setGlobalNode).register(getGlobalNode).register(setStoredValueNode).register(getStoredValueNode).register(waitForEventNode).register(gptFunctionNode).register(getEmbeddingNode).register(vectorStoreNode).register(vectorNearestNeighborsNode).register(knowledgeSourceNode).register(knowledgeDocumentNode).register(syncKnowledgeSourceNode).register(getKnowledgeSourceStatusNode).register(searchKnowledgeNode).register(buildKnowledgeContextNode).register(hashNode).register(abortGraphNode).register(raceInputsNode).register(toJsonNode).register(toBase64Node).register(joinNode).register(filterNode).register(jsFilterNode).register(jsMapNode).register(objectNode).register(booleanNode).register(compareNode).register(evaluateNode).register(numberNode).register(randomNumberNode).register(shuffleNode).register(commentNode).register(imageNode).register(audioNode).register(httpCallNode).register(delayNode).register(appendToDatasetNode).register(createDatasetNode).register(loadDatasetNode).register(getAllDatasetsNode).register(splitNode).register(datasetNearestNeighborsNode).register(getDatasetRowNode).register(sliceNode).register(extractMarkdownCodeBlocksNode).register(assembleMessageNode).register(urlReferenceNode).register(destructureNode).register(replaceDatasetNode).register(listGraphsNode).register(graphReferenceNode).register(callGraphNode).register(delegateFunctionCallNode).register(playAudioNode).register(documentNode).register(chatLoopNode).register(readAllFilesNode).register(toMarkdownTableNode).register(cronNode).register(toTreeNode).register(loopUntilNode).register(mcpDiscoveryNode).register(mcpToolCallNode).register(mcpGetPromptNode).register(referencedGraphAliasNode).register(classifierQuestionNode).register(classifierEvaluateNode).register(classifierProfileNode).register(nodePrefabInstanceNode);
|
|
47971
48102
|
};
|
|
47972
48103
|
var globalRivetNodeRegistry = registerBuiltInNodes(new NodeRegistration());
|
|
47973
48104
|
function resetGlobalRivetNodeRegistry() {
|
|
@@ -49081,7 +49212,7 @@ function isRecord10(value) {
|
|
|
49081
49212
|
}
|
|
49082
49213
|
|
|
49083
49214
|
// src/plugins/anthropic/nodes/ChatAnthropicNode.ts
|
|
49084
|
-
var
|
|
49215
|
+
var import_non_secure113 = require("nanoid/non-secure");
|
|
49085
49216
|
var import_ts_dedent89 = require("ts-dedent");
|
|
49086
49217
|
var import_p_retry2 = __toESM(require("p-retry-4"), 1);
|
|
49087
49218
|
|
|
@@ -49096,7 +49227,7 @@ var ChatAnthropicNodeImpl = {
|
|
|
49096
49227
|
const chartNode = {
|
|
49097
49228
|
type: "chatAnthropic",
|
|
49098
49229
|
title: "Chat (Anthropic, Legacy)",
|
|
49099
|
-
id: (0,
|
|
49230
|
+
id: (0, import_non_secure113.nanoid)(),
|
|
49100
49231
|
visualData: {
|
|
49101
49232
|
x: 0,
|
|
49102
49233
|
y: 0,
|
|
@@ -49846,7 +49977,7 @@ var anthropicPlugin = {
|
|
|
49846
49977
|
var anthropic_default = anthropicPlugin;
|
|
49847
49978
|
|
|
49848
49979
|
// src/plugins/autoevals/AutoEvalsNode.ts
|
|
49849
|
-
var
|
|
49980
|
+
var import_non_secure114 = require("nanoid/non-secure");
|
|
49850
49981
|
var import_ts_dedent90 = require("ts-dedent");
|
|
49851
49982
|
var import_autoevals = require("autoevals");
|
|
49852
49983
|
var import_ts_pattern7 = require("ts-pattern");
|
|
@@ -49866,7 +49997,7 @@ var AutoEvalsNodeImpl = {
|
|
|
49866
49997
|
const chartNode = {
|
|
49867
49998
|
type: "autoevals",
|
|
49868
49999
|
title: "Autoevals",
|
|
49869
|
-
id: (0,
|
|
50000
|
+
id: (0, import_non_secure114.nanoid)(),
|
|
49870
50001
|
visualData: {
|
|
49871
50002
|
x: 0,
|
|
49872
50003
|
y: 0,
|
|
@@ -50063,7 +50194,7 @@ var autoevalsPlugin = {
|
|
|
50063
50194
|
var autoevals_default = autoevalsPlugin;
|
|
50064
50195
|
|
|
50065
50196
|
// src/plugins/assemblyAi/LemurQaNode.ts
|
|
50066
|
-
var
|
|
50197
|
+
var import_non_secure115 = require("nanoid/non-secure");
|
|
50067
50198
|
var import_ts_dedent91 = require("ts-dedent");
|
|
50068
50199
|
|
|
50069
50200
|
// src/plugins/assemblyAi/lemurHelpers.ts
|
|
@@ -50183,7 +50314,7 @@ var LemurQaNodeImpl = {
|
|
|
50183
50314
|
const chartNode = {
|
|
50184
50315
|
type: "assemblyAiLemurQa",
|
|
50185
50316
|
title: "LeMUR Question & Answers",
|
|
50186
|
-
id: (0,
|
|
50317
|
+
id: (0, import_non_secure115.nanoid)(),
|
|
50187
50318
|
visualData: {
|
|
50188
50319
|
x: 0,
|
|
50189
50320
|
y: 0,
|
|
@@ -50320,14 +50451,14 @@ function applyQuestionEditors(data, question) {
|
|
|
50320
50451
|
var lemurQaNode = pluginNodeDefinition(LemurQaNodeImpl, "LeMUR Q&A");
|
|
50321
50452
|
|
|
50322
50453
|
// src/plugins/assemblyAi/TranscribeAudioNode.ts
|
|
50323
|
-
var
|
|
50454
|
+
var import_non_secure116 = require("nanoid/non-secure");
|
|
50324
50455
|
var import_ts_dedent92 = require("ts-dedent");
|
|
50325
50456
|
var TranscribeAudioNodeImpl = {
|
|
50326
50457
|
create() {
|
|
50327
50458
|
const chartNode = {
|
|
50328
50459
|
type: "assemblyAiTranscribeAudio",
|
|
50329
50460
|
title: "Transcribe Audio",
|
|
50330
|
-
id: (0,
|
|
50461
|
+
id: (0, import_non_secure116.nanoid)(),
|
|
50331
50462
|
visualData: {
|
|
50332
50463
|
x: 0,
|
|
50333
50464
|
y: 0,
|
|
@@ -50441,7 +50572,7 @@ function getAdditionalParameters(data) {
|
|
|
50441
50572
|
}
|
|
50442
50573
|
|
|
50443
50574
|
// src/plugins/assemblyAi/LemurSummaryNode.ts
|
|
50444
|
-
var
|
|
50575
|
+
var import_non_secure117 = require("nanoid/non-secure");
|
|
50445
50576
|
var import_ts_dedent93 = require("ts-dedent");
|
|
50446
50577
|
var import_assemblyai3 = require("assemblyai");
|
|
50447
50578
|
var LemurSummaryNodeImpl = {
|
|
@@ -50449,7 +50580,7 @@ var LemurSummaryNodeImpl = {
|
|
|
50449
50580
|
const chartNode = {
|
|
50450
50581
|
type: "assemblyAiLemurSummary",
|
|
50451
50582
|
title: "LeMUR Summary",
|
|
50452
|
-
id: (0,
|
|
50583
|
+
id: (0, import_non_secure117.nanoid)(),
|
|
50453
50584
|
visualData: {
|
|
50454
50585
|
x: 0,
|
|
50455
50586
|
y: 0,
|
|
@@ -50519,7 +50650,7 @@ var LemurSummaryNodeImpl = {
|
|
|
50519
50650
|
var lemurSummaryNode = pluginNodeDefinition(LemurSummaryNodeImpl, "LeMUR Summary");
|
|
50520
50651
|
|
|
50521
50652
|
// src/plugins/assemblyAi/LemurTaskNode.ts
|
|
50522
|
-
var
|
|
50653
|
+
var import_non_secure118 = require("nanoid/non-secure");
|
|
50523
50654
|
var import_ts_dedent94 = require("ts-dedent");
|
|
50524
50655
|
var import_assemblyai4 = require("assemblyai");
|
|
50525
50656
|
var LemurTaskNodeImpl = {
|
|
@@ -50527,7 +50658,7 @@ var LemurTaskNodeImpl = {
|
|
|
50527
50658
|
const chartNode = {
|
|
50528
50659
|
type: "assemblyAiLemurTask",
|
|
50529
50660
|
title: "LeMUR Task",
|
|
50530
|
-
id: (0,
|
|
50661
|
+
id: (0, import_non_secure118.nanoid)(),
|
|
50531
50662
|
visualData: {
|
|
50532
50663
|
x: 0,
|
|
50533
50664
|
y: 0,
|
|
@@ -50598,14 +50729,14 @@ var LemurTaskNodeImpl = {
|
|
|
50598
50729
|
var lemurTaskNode = pluginNodeDefinition(LemurTaskNodeImpl, "LeMUR Task");
|
|
50599
50730
|
|
|
50600
50731
|
// src/plugins/assemblyAi/LemurActionItemsNode.ts
|
|
50601
|
-
var
|
|
50732
|
+
var import_non_secure119 = require("nanoid/non-secure");
|
|
50602
50733
|
var import_ts_dedent95 = require("ts-dedent");
|
|
50603
50734
|
var LemurActionItemsNodeImpl = {
|
|
50604
50735
|
create() {
|
|
50605
50736
|
const chartNode = {
|
|
50606
50737
|
type: "assemblyAiLemurActionItems",
|
|
50607
50738
|
title: "LeMUR Action Items",
|
|
50608
|
-
id: (0,
|
|
50739
|
+
id: (0, import_non_secure119.nanoid)(),
|
|
50609
50740
|
visualData: {
|
|
50610
50741
|
x: 0,
|
|
50611
50742
|
y: 0,
|
|
@@ -50703,12 +50834,12 @@ var assemblyAiPlugin = {
|
|
|
50703
50834
|
var assemblyAi_default = assemblyAiPlugin;
|
|
50704
50835
|
|
|
50705
50836
|
// src/plugins/huggingface/nodes/ChatHuggingFace.ts
|
|
50706
|
-
var
|
|
50837
|
+
var import_non_secure120 = require("nanoid/non-secure");
|
|
50707
50838
|
var import_inference = require("@huggingface/inference");
|
|
50708
50839
|
var ChatHuggingFaceNodeImpl = {
|
|
50709
50840
|
create() {
|
|
50710
50841
|
return {
|
|
50711
|
-
id: (0,
|
|
50842
|
+
id: (0, import_non_secure120.nanoid)(),
|
|
50712
50843
|
type: "chatHuggingFace",
|
|
50713
50844
|
data: {
|
|
50714
50845
|
model: "",
|
|
@@ -50938,13 +51069,13 @@ var ChatHuggingFaceNodeImpl = {
|
|
|
50938
51069
|
var chatHuggingFaceNode = pluginNodeDefinition(ChatHuggingFaceNodeImpl, "Chat (Hugging Face, Legacy)");
|
|
50939
51070
|
|
|
50940
51071
|
// src/plugins/huggingface/nodes/TextToImageHuggingFace.ts
|
|
50941
|
-
var
|
|
51072
|
+
var import_non_secure121 = require("nanoid/non-secure");
|
|
50942
51073
|
var import_inference2 = require("@huggingface/inference");
|
|
50943
51074
|
var import_ts_dedent96 = require("ts-dedent");
|
|
50944
51075
|
var TextToImageHuggingFaceNodeImpl = {
|
|
50945
51076
|
create() {
|
|
50946
51077
|
return {
|
|
50947
|
-
id: (0,
|
|
51078
|
+
id: (0, import_non_secure121.nanoid)(),
|
|
50948
51079
|
type: "textToImageHuggingFace",
|
|
50949
51080
|
data: {
|
|
50950
51081
|
model: "",
|
|
@@ -54625,7 +54756,7 @@ var openAIPlugin = {
|
|
|
54625
54756
|
};
|
|
54626
54757
|
|
|
54627
54758
|
// src/plugins/google/nodes/ChatGoogleNode.ts
|
|
54628
|
-
var
|
|
54759
|
+
var import_non_secure122 = require("nanoid/non-secure");
|
|
54629
54760
|
var import_ts_dedent97 = require("ts-dedent");
|
|
54630
54761
|
var import_p_retry3 = __toESM(require("p-retry-4"), 1);
|
|
54631
54762
|
var import_ts_pattern8 = require("ts-pattern");
|
|
@@ -54653,7 +54784,7 @@ var ChatGoogleNodeImpl = {
|
|
|
54653
54784
|
const chartNode = {
|
|
54654
54785
|
type: "chatGoogle",
|
|
54655
54786
|
title: "Chat (Google, Legacy)",
|
|
54656
|
-
id: (0,
|
|
54787
|
+
id: (0, import_non_secure122.nanoid)(),
|
|
54657
54788
|
visualData: {
|
|
54658
54789
|
x: 0,
|
|
54659
54790
|
y: 0,
|
|
@@ -55698,6 +55829,126 @@ function loadProjectAndAttachedDataFromString(content) {
|
|
|
55698
55829
|
return deserializeProject(content);
|
|
55699
55830
|
}
|
|
55700
55831
|
|
|
55832
|
+
// src/model/LatestDebuggerProtocol.ts
|
|
55833
|
+
var diagnosticCodes = ["history-truncated", "history-gap", "event-too-large", "owner-unavailable"];
|
|
55834
|
+
var LATEST_DEBUGGER_PATH = "/ws/latest-debugger";
|
|
55835
|
+
var managedProcessMessages = {
|
|
55836
|
+
codeConsole: true,
|
|
55837
|
+
nodeStart: true,
|
|
55838
|
+
nodeFinish: true,
|
|
55839
|
+
nodeError: true,
|
|
55840
|
+
nodeExcluded: true,
|
|
55841
|
+
userInput: true,
|
|
55842
|
+
start: true,
|
|
55843
|
+
done: true,
|
|
55844
|
+
abort: true,
|
|
55845
|
+
graphAbort: true,
|
|
55846
|
+
graphStart: true,
|
|
55847
|
+
webAppStoragePatch: true,
|
|
55848
|
+
graphFinish: true,
|
|
55849
|
+
graphOutputsReady: true,
|
|
55850
|
+
partialOutput: true,
|
|
55851
|
+
progress: true,
|
|
55852
|
+
llmCallFinished: true,
|
|
55853
|
+
llmChatOutputSnapshot: true,
|
|
55854
|
+
llmProfileAttempt: true,
|
|
55855
|
+
toolCallFinished: true,
|
|
55856
|
+
nodeOutputsCleared: true,
|
|
55857
|
+
streamingOutputWatchSummary: true,
|
|
55858
|
+
error: true,
|
|
55859
|
+
graphError: true,
|
|
55860
|
+
trace: true,
|
|
55861
|
+
pause: true,
|
|
55862
|
+
resume: true
|
|
55863
|
+
};
|
|
55864
|
+
function isLatestDebuggerExecutionMessage(message2) {
|
|
55865
|
+
return Object.hasOwn(managedProcessMessages, message2) || message2 === "latest-settled" || message2 === "latest-prompt-closed";
|
|
55866
|
+
}
|
|
55867
|
+
function encodeLatestDebuggerEnvelope(serialized, scope, eventId) {
|
|
55868
|
+
if (!scope && !eventId) return serialized;
|
|
55869
|
+
const metadata = JSON.stringify({
|
|
55870
|
+
...eventId ? { rivetEventId: eventId } : {},
|
|
55871
|
+
...scope ? { rivetScope: scope } : {}
|
|
55872
|
+
});
|
|
55873
|
+
return `${metadata.slice(0, -1)},${serialized.slice(1)}`;
|
|
55874
|
+
}
|
|
55875
|
+
function createLatestDebuggerSession(channel) {
|
|
55876
|
+
return { message: "latest-session", data: { protocol: 2, channel, channelIsolation: true, runScopedControls: true } };
|
|
55877
|
+
}
|
|
55878
|
+
function isLatestDebuggerSession(value) {
|
|
55879
|
+
var _a;
|
|
55880
|
+
const frame = value;
|
|
55881
|
+
return (frame == null ? void 0 : frame.message) === "latest-session" && ((_a = frame.data) == null ? void 0 : _a.protocol) === 2 && (frame.data.channel === null || typeof frame.data.channel === "string" && /^[A-Za-z0-9_-]{1,32}$/.test(frame.data.channel)) && frame.data.channelIsolation === true && frame.data.runScopedControls === true;
|
|
55882
|
+
}
|
|
55883
|
+
function readLatestDebuggerExecution(value) {
|
|
55884
|
+
var _a, _b, _c;
|
|
55885
|
+
const frame = value;
|
|
55886
|
+
if (!frame || typeof frame.message !== "string" || !isLatestDebuggerScope(frame.rivetScope)) return;
|
|
55887
|
+
if (!isLatestDebuggerExecutionMessage(frame.message)) return;
|
|
55888
|
+
if (frame.message === "latest-prompt-closed") {
|
|
55889
|
+
const id = (_a = frame.data) == null ? void 0 : _a.promptId;
|
|
55890
|
+
if (typeof id !== "string" || id.length === 0 || id.length > 200) return;
|
|
55891
|
+
}
|
|
55892
|
+
const root = (_c = (_b = frame.data) == null ? void 0 : _b.execution) == null ? void 0 : _c.rootRunId;
|
|
55893
|
+
if (root !== void 0 && root !== frame.rivetScope.rootRunId) return;
|
|
55894
|
+
return value;
|
|
55895
|
+
}
|
|
55896
|
+
function createLatestDebuggerDiagnostic(code) {
|
|
55897
|
+
return { message: "latest-diagnostic", data: { protocol: 1, code } };
|
|
55898
|
+
}
|
|
55899
|
+
function isLatestDebuggerDiagnostic(value) {
|
|
55900
|
+
var _a;
|
|
55901
|
+
const frame = value;
|
|
55902
|
+
return (frame == null ? void 0 : frame.message) === "latest-diagnostic" && ((_a = frame.data) == null ? void 0 : _a.protocol) === 1 && diagnosticCodes.includes(frame.data.code);
|
|
55903
|
+
}
|
|
55904
|
+
function createLatestDebuggerControlResult(commandId, result) {
|
|
55905
|
+
return {
|
|
55906
|
+
message: "latest-control-result",
|
|
55907
|
+
data: { status: result.status, ...result.reason === void 0 ? {} : { reason: result.reason }, commandId }
|
|
55908
|
+
};
|
|
55909
|
+
}
|
|
55910
|
+
function readLatestDebuggerControl(value) {
|
|
55911
|
+
var _a;
|
|
55912
|
+
const message2 = value;
|
|
55913
|
+
const data = message2 == null ? void 0 : message2.data;
|
|
55914
|
+
if ((message2 == null ? void 0 : message2.type) !== "latest-control" || !data || typeof data.commandId !== "string" || !data.commandId || data.commandId.length > 200 || !isLatestDebuggerScope(data.target))
|
|
55915
|
+
return;
|
|
55916
|
+
if (data.action === "pause" || data.action === "resume" || data.action === "abort") return message2;
|
|
55917
|
+
if (data.action === "user-input" && typeof data.promptId === "string" && data.promptId.length > 0 && data.promptId.length <= 200 && ((_a = data.answers) == null ? void 0 : _a.type) === "string[]" && Array.isArray(data.answers.value) && data.answers.value.every((answer) => typeof answer === "string"))
|
|
55918
|
+
return message2;
|
|
55919
|
+
}
|
|
55920
|
+
function readLatestDebuggerEventId(value) {
|
|
55921
|
+
if (!value || typeof value !== "object") return;
|
|
55922
|
+
const id = value.rivetEventId;
|
|
55923
|
+
return typeof id === "string" && /^[a-z0-9:-]{1,200}$/.test(id) ? id : void 0;
|
|
55924
|
+
}
|
|
55925
|
+
function isLatestDebuggerControlResult(value) {
|
|
55926
|
+
var _a;
|
|
55927
|
+
const message2 = value;
|
|
55928
|
+
return (message2 == null ? void 0 : message2.message) === "latest-control-result" && typeof ((_a = message2.data) == null ? void 0 : _a.commandId) === "string" && message2.data.commandId.length > 0 && message2.data.commandId.length <= 200 && ["accepted", "rejected", "outcome-unknown"].includes(message2.data.status) && (message2.data.reason === void 0 || typeof message2.data.reason === "string");
|
|
55929
|
+
}
|
|
55930
|
+
function parseLatestEndpointSegment(segment) {
|
|
55931
|
+
const [endpointName, channel, extra] = segment.split("@");
|
|
55932
|
+
if (!endpointName || !/^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/.test(endpointName) || extra !== void 0 || channel !== void 0 && !/^[A-Za-z0-9_-]{1,32}$/.test(channel))
|
|
55933
|
+
throw new Error("Invalid latest endpoint or debugger channel");
|
|
55934
|
+
return { endpointName, channel: channel ?? null };
|
|
55935
|
+
}
|
|
55936
|
+
function parseLatestDebuggerPath(pathname) {
|
|
55937
|
+
const decoded = decodeURIComponent(pathname);
|
|
55938
|
+
if (decoded === LATEST_DEBUGGER_PATH) return null;
|
|
55939
|
+
if (!decoded.startsWith(`${LATEST_DEBUGGER_PATH}@`)) throw new Error("Invalid latest debugger path");
|
|
55940
|
+
const channel = decoded.slice(LATEST_DEBUGGER_PATH.length + 1);
|
|
55941
|
+
if (!/^[A-Za-z0-9_-]{1,32}$/.test(channel)) throw new Error("Invalid debugger channel");
|
|
55942
|
+
return channel;
|
|
55943
|
+
}
|
|
55944
|
+
function isLatestDebuggerScope(value) {
|
|
55945
|
+
if (!value || typeof value !== "object") return false;
|
|
55946
|
+
const scope = value;
|
|
55947
|
+
return (scope.channel === null || typeof scope.channel === "string" && /^[A-Za-z0-9_-]{1,32}$/.test(scope.channel)) && [scope.rootRunId, scope.projectId, scope.owner, scope.incarnation].every(
|
|
55948
|
+
(v) => typeof v === "string" && v.length > 0 && v.length <= 200
|
|
55949
|
+
) && (scope.promptId === void 0 || typeof scope.promptId === "string" && scope.promptId.length > 0 && scope.promptId.length <= 200) && (scope.admittedAt === void 0 || Number.isSafeInteger(scope.admittedAt) && scope.admittedAt >= 0) && (scope.promptLifecycle === void 0 || scope.promptLifecycle === 1);
|
|
55950
|
+
}
|
|
55951
|
+
|
|
55701
55952
|
// src/index.ts
|
|
55702
55953
|
installCodeRunnerNamespace(exports_exports);
|
|
55703
55954
|
var Rivet = void 0;
|
|
@@ -55707,6 +55958,7 @@ var Rivet = void 0;
|
|
|
55707
55958
|
AGENT_RESPONSE_TRACE_MAX_PROFILE_ATTEMPTS,
|
|
55708
55959
|
AGENT_RESPONSE_TRACE_MAX_TOOL_CALLS,
|
|
55709
55960
|
AGENT_RESPONSE_TRACE_SCHEMA_VERSION,
|
|
55961
|
+
AICostNodeImpl,
|
|
55710
55962
|
ALL_CODE_RUNNER_OPTIONS,
|
|
55711
55963
|
AbortGraphNodeImpl,
|
|
55712
55964
|
AgentResponseTraceCollector,
|
|
@@ -55810,6 +56062,7 @@ var Rivet = void 0;
|
|
|
55810
56062
|
KnowledgeDocumentNodeImpl,
|
|
55811
56063
|
KnowledgeSourceNodeImpl,
|
|
55812
56064
|
KnowledgeStoreController,
|
|
56065
|
+
LATEST_DEBUGGER_PATH,
|
|
55813
56066
|
LIQUID_DEFAULT_CREDENTIAL_NAMES,
|
|
55814
56067
|
LIQUID_SYSTEM_ONE_ENDPOINT,
|
|
55815
56068
|
LIQUID_TOKEN_PRICING,
|
|
@@ -55918,6 +56171,7 @@ var Rivet = void 0;
|
|
|
55918
56171
|
WatchStreamingOutputNodeImpl,
|
|
55919
56172
|
abortGraphNode,
|
|
55920
56173
|
addWarning,
|
|
56174
|
+
aiCostNode,
|
|
55921
56175
|
analyzeCodeOutputs,
|
|
55922
56176
|
anthropicCacheControlTtlOptions,
|
|
55923
56177
|
anthropicEffortOptions,
|
|
@@ -56023,6 +56277,9 @@ var Rivet = void 0;
|
|
|
56023
56277
|
createKnowledgeStoreFieldDraftDefaults,
|
|
56024
56278
|
createLLMChatV2NodeData,
|
|
56025
56279
|
createLLMProfileNodeData,
|
|
56280
|
+
createLatestDebuggerControlResult,
|
|
56281
|
+
createLatestDebuggerDiagnostic,
|
|
56282
|
+
createLatestDebuggerSession,
|
|
56026
56283
|
createProjectBundleRuntime,
|
|
56027
56284
|
createResolvedChatV2Provider,
|
|
56028
56285
|
createRivetLLMProfileHealthIdentity,
|
|
@@ -56061,6 +56318,7 @@ var Rivet = void 0;
|
|
|
56061
56318
|
documentNode,
|
|
56062
56319
|
doubleCheckProject,
|
|
56063
56320
|
emptyNodeGraph,
|
|
56321
|
+
encodeLatestDebuggerEnvelope,
|
|
56064
56322
|
encodeProjectGlobalVariable,
|
|
56065
56323
|
encodeRivetWebAppStorageBinaryFrame,
|
|
56066
56324
|
evaluateJsonPath,
|
|
@@ -56244,6 +56502,11 @@ var Rivet = void 0;
|
|
|
56244
56502
|
isKnowledgeSourceReference,
|
|
56245
56503
|
isKnowledgeStoreProviderFieldDefaultValid,
|
|
56246
56504
|
isLLMChatV2StructuredResponseFormat,
|
|
56505
|
+
isLatestDebuggerControlResult,
|
|
56506
|
+
isLatestDebuggerDiagnostic,
|
|
56507
|
+
isLatestDebuggerExecutionMessage,
|
|
56508
|
+
isLatestDebuggerScope,
|
|
56509
|
+
isLatestDebuggerSession,
|
|
56247
56510
|
isNodePrefabInstanceNode,
|
|
56248
56511
|
isNotFunctionDataValue,
|
|
56249
56512
|
isReportedTokenCount,
|
|
@@ -56350,6 +56613,8 @@ var Rivet = void 0;
|
|
|
56350
56613
|
parseDataBusChannelIndex,
|
|
56351
56614
|
parseInterpolationExpression,
|
|
56352
56615
|
parseInterpolationTemplate,
|
|
56616
|
+
parseLatestDebuggerPath,
|
|
56617
|
+
parseLatestEndpointSegment,
|
|
56353
56618
|
parseProviderJsonChunk,
|
|
56354
56619
|
parseRivetWebAppBrowserStorageClientMessage,
|
|
56355
56620
|
parseRivetWebAppBrowserStorageServerMessage,
|
|
@@ -56379,6 +56644,9 @@ var Rivet = void 0;
|
|
|
56379
56644
|
readFileNode,
|
|
56380
56645
|
readKnowledgeStoreConnectionCredentials,
|
|
56381
56646
|
readKnowledgeStoreConnectionCredentialsDraft,
|
|
56647
|
+
readLatestDebuggerControl,
|
|
56648
|
+
readLatestDebuggerEventId,
|
|
56649
|
+
readLatestDebuggerExecution,
|
|
56382
56650
|
reconcileProjectUiGraphBindings,
|
|
56383
56651
|
reconcileProjectUiGraphButtonBindings,
|
|
56384
56652
|
reconcileSubgraphTargetBoundary,
|