@valerypopoff/rivet2-core 2.4.0 → 2.6.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 +1800 -753
- package/dist/cjs/bundle.cjs.map +4 -4
- package/dist/cjs/interpolationRuntime.cjs +1578 -0
- package/dist/cjs/interpolationRuntime.cjs.map +7 -0
- package/dist/cjs/interpolationSyntax.cjs +186 -0
- package/dist/cjs/interpolationSyntax.cjs.map +7 -0
- package/dist/cjs/webAppRuntime.cjs.map +2 -2
- package/dist/esm/exports.js +2 -1
- package/dist/esm/integrations/CodeRunner.js +5 -0
- package/dist/esm/integrations/mcp/MCPBase.js +16 -6
- package/dist/esm/interpolationRuntime.js +5 -0
- package/dist/esm/model/AgentResponseTrace.js +8 -3
- package/dist/esm/model/GraphBoundaryCache.js +0 -6
- package/dist/esm/model/GraphBoundaryEffects.js +5 -1
- package/dist/esm/model/GraphOutputSelection.js +34 -0
- package/dist/esm/model/GraphProcessor.js +177 -50
- package/dist/esm/model/ProcessContextBuilder.js +4 -1
- package/dist/esm/model/RecordingPlayer.js +46 -14
- package/dist/esm/model/SplitRunProcessor.js +37 -16
- package/dist/esm/model/StoredValueStore.js +4 -3
- package/dist/esm/model/UiGraphRendererStyles.js +20 -0
- package/dist/esm/model/chat/aiSdkStreaming.js +3 -2
- package/dist/esm/model/chat-v2/aiSdkBridge.js +63 -5
- package/dist/esm/model/chat-v2/chatV2Pipeline.js +66 -3
- package/dist/esm/model/chat-v2/llmInvocationResultProjector.js +20 -7
- package/dist/esm/model/chat-v2/llmProfileFallback.js +12 -4
- package/dist/esm/model/nodes/CodeNewNode.js +16 -16
- package/dist/esm/model/nodes/DestructureNode.js +2 -2
- package/dist/esm/model/nodes/ExpressionNode.js +16 -16
- package/dist/esm/model/nodes/ExtractObjectPathNode.js +2 -2
- package/dist/esm/model/nodes/ExtractYamlNode.js +5 -5
- package/dist/esm/model/nodes/JSFilterNode.js +3 -1
- package/dist/esm/model/nodes/JSMapNode.js +3 -1
- package/dist/esm/model/nodes/LLMChatV2Node.js +30 -4
- package/dist/esm/model/nodes/MCPGetPromptNode.js +6 -2
- package/dist/esm/model/nodes/MCPToolCallNode.js +6 -2
- package/dist/esm/model/nodes/ObjectNode.js +19 -20
- package/dist/esm/model/nodes/PromptNode.js +10 -11
- package/dist/esm/model/nodes/ReferencedGraphAliasNode.js +2 -40
- package/dist/esm/model/nodes/SubGraphNode.js +40 -26
- package/dist/esm/model/nodes/TextNode.js +11 -32
- package/dist/esm/model/nodes/ToTreeNode.js +6 -13
- package/dist/esm/model/nodes/ToolNode.js +33 -16
- package/dist/esm/model/nodes/jsListCallbackHelpers.js +19 -15
- package/dist/esm/model/nodes/jsValueInterpolation.js +83 -30
- package/dist/esm/model/nodes/nodeBodyPreview.js +23 -0
- package/dist/esm/plugins/openai/nodes/ThreadMessageNode.js +14 -11
- package/dist/esm/recording/ExecutionRecorder.js +55 -23
- package/dist/esm/utils/index.js +2 -0
- package/dist/esm/utils/interpolation.js +478 -221
- package/dist/esm/utils/interpolationSyntax.js +175 -0
- package/dist/esm/utils/jsonPath.js +129 -0
- package/dist/types/exports.d.ts +3 -1
- package/dist/types/integrations/CodeRunnerOptions.d.ts +9 -0
- package/dist/types/integrations/mcp/MCPBase.d.ts +3 -1
- package/dist/types/interpolationRuntime.d.ts +5 -0
- package/dist/types/model/AgentResponseTrace.d.ts +2 -0
- package/dist/types/model/ExecutorProtocol.d.ts +4 -0
- package/dist/types/model/GraphBoundaryCache.d.ts +0 -2
- package/dist/types/model/GraphOutputSelection.d.ts +8 -0
- package/dist/types/model/GraphProcessor.d.ts +12 -3
- package/dist/types/model/ProcessContext.d.ts +9 -2
- package/dist/types/model/ProcessContextBuilder.d.ts +2 -1
- package/dist/types/model/SplitRunProcessor.d.ts +2 -1
- package/dist/types/model/UiGraphRendererStyles.d.ts +1 -1
- package/dist/types/model/chat/aiSdkStreaming.d.ts +1 -1
- package/dist/types/model/chat-v2/chatV2RequestPlan.d.ts +1 -1
- package/dist/types/model/chat-v2/chatV2Types.d.ts +29 -0
- package/dist/types/model/chat-v2/llmInvocationResultProjector.d.ts +5 -1
- package/dist/types/model/nodes/ObjectNode.d.ts +1 -1
- package/dist/types/model/nodes/SubGraphNode.d.ts +2 -0
- package/dist/types/model/nodes/ToTreeNode.d.ts +5 -2
- package/dist/types/model/nodes/ToolNode.d.ts +13 -1
- package/dist/types/model/nodes/jsValueInterpolation.d.ts +16 -8
- package/dist/types/model/nodes/nodeBodyPreview.d.ts +7 -0
- package/dist/types/recording/ExecutionRecorder.d.ts +6 -1
- package/dist/types/recording/RecordedEvents.d.ts +2 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/interpolation.d.ts +93 -8
- package/dist/types/utils/interpolationSyntax.d.ts +21 -0
- package/dist/types/utils/jsonPath.d.ts +15 -0
- package/package.json +11 -1
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utils/interpolationSyntax.ts
|
|
21
|
+
var interpolationSyntax_exports = {};
|
|
22
|
+
__export(interpolationSyntax_exports, {
|
|
23
|
+
isInterpolationRegexLiteralStart: () => isInterpolationRegexLiteralStart,
|
|
24
|
+
isInterpolationSyntaxCharacterEscaped: () => isInterpolationSyntaxCharacterEscaped,
|
|
25
|
+
scanInterpolationTokenSpans: () => scanInterpolationTokenSpans
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(interpolationSyntax_exports);
|
|
28
|
+
var REGEX_LITERAL_PREFIX_CHARACTERS = /* @__PURE__ */ new Set([
|
|
29
|
+
"(",
|
|
30
|
+
"[",
|
|
31
|
+
"{",
|
|
32
|
+
":",
|
|
33
|
+
";",
|
|
34
|
+
",",
|
|
35
|
+
"=",
|
|
36
|
+
"!",
|
|
37
|
+
"~",
|
|
38
|
+
"?",
|
|
39
|
+
"&",
|
|
40
|
+
"|",
|
|
41
|
+
"+",
|
|
42
|
+
"-",
|
|
43
|
+
"*",
|
|
44
|
+
"%",
|
|
45
|
+
"^",
|
|
46
|
+
"<",
|
|
47
|
+
">"
|
|
48
|
+
]);
|
|
49
|
+
function isInterpolationSyntaxCharacterEscaped(value, index) {
|
|
50
|
+
let backslashCount = 0;
|
|
51
|
+
for (let cursor = index - 1; cursor >= 0 && value[cursor] === "\\"; cursor -= 1) {
|
|
52
|
+
backslashCount += 1;
|
|
53
|
+
}
|
|
54
|
+
return backslashCount % 2 === 1;
|
|
55
|
+
}
|
|
56
|
+
function isInterpolationRegexLiteralStart(value, index) {
|
|
57
|
+
if (value[index] !== "/") {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
let previousIndex = index - 1;
|
|
61
|
+
while (previousIndex >= 0 && /\s/.test(value[previousIndex])) {
|
|
62
|
+
previousIndex -= 1;
|
|
63
|
+
}
|
|
64
|
+
return previousIndex < 0 || REGEX_LITERAL_PREFIX_CHARACTERS.has(value[previousIndex]);
|
|
65
|
+
}
|
|
66
|
+
function getEscapedTripleTokenEnd(template, start) {
|
|
67
|
+
for (let cursor = start + 3; cursor < template.length - 2; cursor += 1) {
|
|
68
|
+
if (template[cursor] === "}" && template[cursor + 1] === "}" && template[cursor + 2] === "}") {
|
|
69
|
+
return cursor + 3;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return void 0;
|
|
73
|
+
}
|
|
74
|
+
function scanInterpolationToken(template, start) {
|
|
75
|
+
let quote;
|
|
76
|
+
let regex = false;
|
|
77
|
+
let regexCharacterClass = false;
|
|
78
|
+
let bracketDepth = 0;
|
|
79
|
+
let parenthesisDepth = 0;
|
|
80
|
+
let braceDepth = 0;
|
|
81
|
+
for (let cursor = start + 2; cursor < template.length; cursor += 1) {
|
|
82
|
+
const character = template[cursor];
|
|
83
|
+
if (regex) {
|
|
84
|
+
if (character === "[" && !isInterpolationSyntaxCharacterEscaped(template, cursor)) {
|
|
85
|
+
regexCharacterClass = true;
|
|
86
|
+
} else if (character === "]" && !isInterpolationSyntaxCharacterEscaped(template, cursor)) {
|
|
87
|
+
regexCharacterClass = false;
|
|
88
|
+
} else if (character === "/" && !regexCharacterClass && !isInterpolationSyntaxCharacterEscaped(template, cursor)) {
|
|
89
|
+
regex = false;
|
|
90
|
+
}
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
if (quote) {
|
|
94
|
+
if (character === quote && !isInterpolationSyntaxCharacterEscaped(template, cursor)) {
|
|
95
|
+
quote = void 0;
|
|
96
|
+
}
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
if (character === "/" && isInterpolationRegexLiteralStart(template, cursor)) {
|
|
100
|
+
regex = true;
|
|
101
|
+
regexCharacterClass = false;
|
|
102
|
+
continue;
|
|
103
|
+
}
|
|
104
|
+
if (character === '"' || character === "'" || character === "`") {
|
|
105
|
+
quote = character;
|
|
106
|
+
continue;
|
|
107
|
+
}
|
|
108
|
+
if (character === "{" && template[cursor + 1] === "{") {
|
|
109
|
+
return { kind: "nested", start: cursor };
|
|
110
|
+
}
|
|
111
|
+
if (character === "[") {
|
|
112
|
+
bracketDepth += 1;
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
if (character === "]" && bracketDepth > 0) {
|
|
116
|
+
bracketDepth -= 1;
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
if (character === "(") {
|
|
120
|
+
parenthesisDepth += 1;
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
if (character === ")" && parenthesisDepth > 0) {
|
|
124
|
+
parenthesisDepth -= 1;
|
|
125
|
+
continue;
|
|
126
|
+
}
|
|
127
|
+
if (character === "{") {
|
|
128
|
+
braceDepth += 1;
|
|
129
|
+
continue;
|
|
130
|
+
}
|
|
131
|
+
if (character === "}") {
|
|
132
|
+
if (braceDepth > 0) {
|
|
133
|
+
braceDepth -= 1;
|
|
134
|
+
continue;
|
|
135
|
+
}
|
|
136
|
+
if (template[cursor + 1] === "}" && bracketDepth === 0 && parenthesisDepth === 0) {
|
|
137
|
+
return { kind: "closed", end: cursor + 2 };
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return { kind: "unclosed" };
|
|
142
|
+
}
|
|
143
|
+
function scanInterpolationTokenSpans(template) {
|
|
144
|
+
const spans = [];
|
|
145
|
+
let searchIndex = 0;
|
|
146
|
+
while (searchIndex < template.length) {
|
|
147
|
+
const start = template.indexOf("{{", searchIndex);
|
|
148
|
+
if (start === -1) {
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
if (template[start + 2] === "{") {
|
|
152
|
+
const escapedEnd = getEscapedTripleTokenEnd(template, start);
|
|
153
|
+
if (escapedEnd !== void 0) {
|
|
154
|
+
searchIndex = escapedEnd;
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
const scanResult = scanInterpolationToken(template, start);
|
|
159
|
+
if (scanResult.kind === "nested") {
|
|
160
|
+
searchIndex = scanResult.start;
|
|
161
|
+
continue;
|
|
162
|
+
}
|
|
163
|
+
if (scanResult.kind === "unclosed") {
|
|
164
|
+
const nextStart = template.indexOf("{{", start + 2);
|
|
165
|
+
if (nextStart === -1) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
searchIndex = nextStart;
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
spans.push({
|
|
172
|
+
start,
|
|
173
|
+
end: scanResult.end,
|
|
174
|
+
rawInner: template.slice(start + 2, scanResult.end - 2)
|
|
175
|
+
});
|
|
176
|
+
searchIndex = scanResult.end;
|
|
177
|
+
}
|
|
178
|
+
return spans;
|
|
179
|
+
}
|
|
180
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
181
|
+
0 && (module.exports = {
|
|
182
|
+
isInterpolationRegexLiteralStart,
|
|
183
|
+
isInterpolationSyntaxCharacterEscaped,
|
|
184
|
+
scanInterpolationTokenSpans
|
|
185
|
+
});
|
|
186
|
+
//# sourceMappingURL=interpolationSyntax.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/interpolationSyntax.ts"],
|
|
4
|
+
"sourcesContent": ["export type InterpolationTokenSpan = {\n start: number;\n end: number;\n rawInner: string;\n};\n\nconst REGEX_LITERAL_PREFIX_CHARACTERS = new Set([\n '(',\n '[',\n '{',\n ':',\n ';',\n ',',\n '=',\n '!',\n '~',\n '?',\n '&',\n '|',\n '+',\n '-',\n '*',\n '%',\n '^',\n '<',\n '>',\n]);\n\nexport function isInterpolationSyntaxCharacterEscaped(value: string, index: number): boolean {\n let backslashCount = 0;\n\n for (let cursor = index - 1; cursor >= 0 && value[cursor] === '\\\\'; cursor -= 1) {\n backslashCount += 1;\n }\n\n return backslashCount % 2 === 1;\n}\n\n/**\n * JSONPath filters can contain JavaScript regex literals. Treat their contents\n * as opaque while looking for an interpolation terminator or processor pipe;\n * otherwise a `]` or `|` inside the regex can be mistaken for JSONPath syntax.\n */\nexport function isInterpolationRegexLiteralStart(value: string, index: number): boolean {\n if (value[index] !== '/') {\n return false;\n }\n\n let previousIndex = index - 1;\n while (previousIndex >= 0 && /\\s/.test(value[previousIndex]!)) {\n previousIndex -= 1;\n }\n\n return previousIndex < 0 || REGEX_LITERAL_PREFIX_CHARACTERS.has(value[previousIndex]!);\n}\n\nfunction getEscapedTripleTokenEnd(template: string, start: number): number | undefined {\n for (let cursor = start + 3; cursor < template.length - 2; cursor += 1) {\n if (template[cursor] === '}' && template[cursor + 1] === '}' && template[cursor + 2] === '}') {\n return cursor + 3;\n }\n }\n\n return undefined;\n}\n\ntype TokenScanResult = { kind: 'closed'; end: number } | { kind: 'nested'; start: number } | { kind: 'unclosed' };\n\n/** Finds a matching `}}` while allowing JSONPath filters, quotes, and braces. */\nfunction scanInterpolationToken(template: string, start: number): TokenScanResult {\n let quote: '\"' | \"'\" | '`' | undefined;\n let regex = false;\n let regexCharacterClass = false;\n let bracketDepth = 0;\n let parenthesisDepth = 0;\n let braceDepth = 0;\n\n for (let cursor = start + 2; cursor < template.length; cursor += 1) {\n const character = template[cursor]!;\n\n if (regex) {\n if (character === '[' && !isInterpolationSyntaxCharacterEscaped(template, cursor)) {\n regexCharacterClass = true;\n } else if (character === ']' && !isInterpolationSyntaxCharacterEscaped(template, cursor)) {\n regexCharacterClass = false;\n } else if (character === '/' && !regexCharacterClass && !isInterpolationSyntaxCharacterEscaped(template, cursor)) {\n regex = false;\n }\n continue;\n }\n\n if (quote) {\n if (character === quote && !isInterpolationSyntaxCharacterEscaped(template, cursor)) {\n quote = undefined;\n }\n continue;\n }\n\n if (character === '/' && isInterpolationRegexLiteralStart(template, cursor)) {\n regex = true;\n regexCharacterClass = false;\n continue;\n }\n\n if (character === '\"' || character === \"'\" || character === '`') {\n quote = character;\n continue;\n }\n\n // A second opener always starts recovery outside quoted or regex syntax.\n // JSONPath object literals use single `{` characters; a literal `{{` is\n // not valid JSONPath syntax and should not swallow a later valid token.\n if (character === '{' && template[cursor + 1] === '{') {\n return { kind: 'nested', start: cursor };\n }\n\n if (character === '[') {\n bracketDepth += 1;\n continue;\n }\n\n if (character === ']' && bracketDepth > 0) {\n bracketDepth -= 1;\n continue;\n }\n\n if (character === '(') {\n parenthesisDepth += 1;\n continue;\n }\n\n if (character === ')' && parenthesisDepth > 0) {\n parenthesisDepth -= 1;\n continue;\n }\n\n if (character === '{') {\n braceDepth += 1;\n continue;\n }\n\n if (character === '}') {\n if (braceDepth > 0) {\n braceDepth -= 1;\n continue;\n }\n\n if (template[cursor + 1] === '}' && bracketDepth === 0 && parenthesisDepth === 0) {\n return { kind: 'closed', end: cursor + 2 };\n }\n }\n }\n\n return { kind: 'unclosed' };\n}\n\n/**\n * Scans token boundaries without parsing expressions or resolving values.\n *\n * This deliberately has no evaluator dependencies, so editor-only surfaces\n * can share Core's malformed-token recovery rules without loading JSONPath or\n * the rest of the execution runtime. The returned spans are fresh data and\n * exclude escaped triple-brace tokens.\n */\nexport function scanInterpolationTokenSpans(template: string): InterpolationTokenSpan[] {\n const spans: InterpolationTokenSpan[] = [];\n let searchIndex = 0;\n\n while (searchIndex < template.length) {\n const start = template.indexOf('{{', searchIndex);\n\n if (start === -1) {\n break;\n }\n\n if (template[start + 2] === '{') {\n const escapedEnd = getEscapedTripleTokenEnd(template, start);\n if (escapedEnd !== undefined) {\n searchIndex = escapedEnd;\n continue;\n }\n }\n\n const scanResult = scanInterpolationToken(template, start);\n\n if (scanResult.kind === 'nested') {\n searchIndex = scanResult.start;\n continue;\n }\n\n if (scanResult.kind === 'unclosed') {\n // A malformed outer token can leave the scanner inside an unterminated\n // quote or filter. Resume at a later opener so a valid following token\n // is still discovered. Properly closed outer tokens return above, so\n // valid quoted `{{` content remains part of that outer token.\n const nextStart = template.indexOf('{{', start + 2);\n if (nextStart === -1) {\n break;\n }\n searchIndex = nextStart;\n continue;\n }\n\n spans.push({\n start,\n end: scanResult.end,\n rawInner: template.slice(start + 2, scanResult.end - 2),\n });\n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