@xyd-js/mcp 0.0.0-build-2acf05c-20251207022018 → 0.0.0-build-8a0317f-20251214165542
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/index.js +471 -298
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -24600,7 +24600,7 @@ var init_solarized_light = __esm(() => {
|
|
|
24600
24600
|
o114 = { name: e238, tokenColors: t234, colors: n230, semanticHighlighting: true };
|
|
24601
24601
|
});
|
|
24602
24602
|
|
|
24603
|
-
// ../../node_modules/.pnpm/react@19.2.
|
|
24603
|
+
// ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.development.js
|
|
24604
24604
|
var require_react_development = __commonJS((exports, module) => {
|
|
24605
24605
|
(function() {
|
|
24606
24606
|
function defineDeprecationWarning(methodName, info) {
|
|
@@ -25418,12 +25418,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
25418
25418
|
exports.useTransition = function() {
|
|
25419
25419
|
return resolveDispatcher().useTransition();
|
|
25420
25420
|
};
|
|
25421
|
-
exports.version = "19.2.
|
|
25421
|
+
exports.version = "19.2.3";
|
|
25422
25422
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
25423
25423
|
})();
|
|
25424
25424
|
});
|
|
25425
25425
|
|
|
25426
|
-
// ../../node_modules/.pnpm/react@19.2.
|
|
25426
|
+
// ../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js
|
|
25427
25427
|
var require_react = __commonJS((exports, module) => {
|
|
25428
25428
|
var react_development = __toESM(require_react_development());
|
|
25429
25429
|
if (false) {} else {
|
|
@@ -25431,7 +25431,7 @@ var require_react = __commonJS((exports, module) => {
|
|
|
25431
25431
|
}
|
|
25432
25432
|
});
|
|
25433
25433
|
|
|
25434
|
-
// ../../node_modules/.pnpm/react@19.2.
|
|
25434
|
+
// ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
25435
25435
|
var require_react_jsx_runtime_development = __commonJS((exports) => {
|
|
25436
25436
|
var React = __toESM(require_react());
|
|
25437
25437
|
(function() {
|
|
@@ -25650,7 +25650,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
25650
25650
|
})();
|
|
25651
25651
|
});
|
|
25652
25652
|
|
|
25653
|
-
// ../../node_modules/.pnpm/react@19.2.
|
|
25653
|
+
// ../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js
|
|
25654
25654
|
var require_jsx_runtime = __commonJS((exports, module) => {
|
|
25655
25655
|
var react_jsx_runtime_development = __toESM(require_react_jsx_runtime_development());
|
|
25656
25656
|
if (false) {} else {
|
|
@@ -25658,7 +25658,7 @@ var require_jsx_runtime = __commonJS((exports, module) => {
|
|
|
25658
25658
|
}
|
|
25659
25659
|
});
|
|
25660
25660
|
|
|
25661
|
-
// ../../node_modules/.pnpm/react-dom@19.2.
|
|
25661
|
+
// ../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom.development.js
|
|
25662
25662
|
var require_react_dom_development = __commonJS((exports) => {
|
|
25663
25663
|
var React = __toESM(require_react());
|
|
25664
25664
|
(function() {
|
|
@@ -25836,12 +25836,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
25836
25836
|
exports.useFormStatus = function() {
|
|
25837
25837
|
return resolveDispatcher().useHostTransitionStatus();
|
|
25838
25838
|
};
|
|
25839
|
-
exports.version = "19.2.
|
|
25839
|
+
exports.version = "19.2.3";
|
|
25840
25840
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
25841
25841
|
})();
|
|
25842
25842
|
});
|
|
25843
25843
|
|
|
25844
|
-
// ../../node_modules/.pnpm/react-dom@19.2.
|
|
25844
|
+
// ../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js
|
|
25845
25845
|
var require_react_dom = __commonJS((exports, module) => {
|
|
25846
25846
|
var react_dom_development = __toESM(require_react_dom_development());
|
|
25847
25847
|
if (false) {} else {
|
|
@@ -25849,7 +25849,7 @@ var require_react_dom = __commonJS((exports, module) => {
|
|
|
25849
25849
|
}
|
|
25850
25850
|
});
|
|
25851
25851
|
|
|
25852
|
-
// ../../node_modules/.pnpm/react-dom@19.2.
|
|
25852
|
+
// ../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js
|
|
25853
25853
|
var require_react_dom_server_legacy_node_development = __commonJS((exports) => {
|
|
25854
25854
|
var React = __toESM(require_react());
|
|
25855
25855
|
var ReactDOM = __toESM(require_react_dom());
|
|
@@ -31507,11 +31507,11 @@ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))
|
|
|
31507
31507
|
exports.renderToString = function(children, options) {
|
|
31508
31508
|
return renderToStringImpl(children, options, false, 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server');
|
|
31509
31509
|
};
|
|
31510
|
-
exports.version = "19.2.
|
|
31510
|
+
exports.version = "19.2.3";
|
|
31511
31511
|
})();
|
|
31512
31512
|
});
|
|
31513
31513
|
|
|
31514
|
-
// ../../node_modules/.pnpm/react-dom@19.2.
|
|
31514
|
+
// ../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server.node.development.js
|
|
31515
31515
|
import * as util from "util";
|
|
31516
31516
|
import * as crypto2 from "crypto";
|
|
31517
31517
|
import * as async_hooks from "async_hooks";
|
|
@@ -36224,10 +36224,10 @@ Check the top-level render call using <` + componentName + ">.");
|
|
|
36224
36224
|
}
|
|
36225
36225
|
function ensureCorrectIsomorphicReactVersion() {
|
|
36226
36226
|
var isomorphicReactPackageVersion = React.version;
|
|
36227
|
-
if (isomorphicReactPackageVersion !== "19.2.
|
|
36227
|
+
if (isomorphicReactPackageVersion !== "19.2.3")
|
|
36228
36228
|
throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
36229
36229
|
- react: ` + (isomorphicReactPackageVersion + `
|
|
36230
|
-
- react-dom: 19.2.
|
|
36230
|
+
- react-dom: 19.2.3
|
|
36231
36231
|
Learn more: https://react.dev/warnings/version-mismatch`));
|
|
36232
36232
|
}
|
|
36233
36233
|
function createDrainHandler(destination, request) {
|
|
@@ -37562,7 +37562,7 @@ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))
|
|
|
37562
37562
|
}
|
|
37563
37563
|
};
|
|
37564
37564
|
};
|
|
37565
|
-
exports.version = "19.2.
|
|
37565
|
+
exports.version = "19.2.3";
|
|
37566
37566
|
})();
|
|
37567
37567
|
});
|
|
37568
37568
|
|
|
@@ -42208,7 +42208,7 @@ var init_solarized_light2 = __esm(() => {
|
|
|
42208
42208
|
o234 = { name: e485, tokenColors: t478, colors: n468, semanticHighlighting: true };
|
|
42209
42209
|
});
|
|
42210
42210
|
|
|
42211
|
-
// ../../node_modules/.pnpm/react@19.2.
|
|
42211
|
+
// ../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
|
42212
42212
|
var require_react_jsx_dev_runtime_development = __commonJS((exports) => {
|
|
42213
42213
|
var React15 = __toESM(require_react());
|
|
42214
42214
|
(function() {
|
|
@@ -42423,7 +42423,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
42423
42423
|
})();
|
|
42424
42424
|
});
|
|
42425
42425
|
|
|
42426
|
-
// ../../node_modules/.pnpm/react@19.2.
|
|
42426
|
+
// ../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-dev-runtime.js
|
|
42427
42427
|
var require_jsx_dev_runtime = __commonJS((exports, module) => {
|
|
42428
42428
|
var react_jsx_dev_runtime_development = __toESM(require_react_jsx_dev_runtime_development());
|
|
42429
42429
|
if (false) {} else {
|
|
@@ -97655,7 +97655,7 @@ function splitSurroundingWhitespace(content) {
|
|
|
97655
97655
|
// ../xyd-components/dist/coder/themes/classic.js
|
|
97656
97656
|
var t236 = { name: "classic", type: "from-css", colors: { "list.focusForeground": "var(--syntax1)", "scrollbar.shadow": "var(--syntax2)", "tab.activeBorder": "var(--syntax1)", "widget.shadow": "var(--syntax2)", "activityBar.border": "var(--syntax3)", "editorGroup.border": "var(--syntax3)", "editorGroupHeader.tabsBorder": "var(--syntax3)", "editorWidget.border": "var(--syntax3)", "editorWidget.resizeBorder": "var(--syntax3)", "input.border": "var(--syntax3)", "notificationCenter.border": "var(--syntax3)", "notifications.border": "var(--syntax3)", "panel.border": "var(--syntax3)", "sideBar.border": "var(--syntax3)", "statusBar.border": "var(--syntax3)", "tab.border": "var(--syntax3)", "activityBar.background": "var(--syntax4)", "statusBar.background": "var(--syntax4)", "statusBar.noFolderBackground": "var(--syntax4)", "statusBar.debuggingBackground": "var(--syntax4)", "editorGroupHeader.tabsBackground": "var(--syntax5)", "editorWidget.background": "var(--syntax5)", "sideBar.background": "var(--syntax5)", "sideBarSectionHeader.background": "var(--syntax5)", "tab.inactiveBackground": "var(--syntax5)", "activityBarBadge.background": "var(--syntax6)", "activityBar.foreground": "var(--syntax6)", "statusBar.foreground": "var(--syntax7)", "input.placeholderForeground": "var(--syntax8)", "editorLineNumber.foreground": "var(--syntax9)", "editorLineNumber.activeForeground": "var(--syntax6)", foreground: "var(--syntax6)", "panelTitle.activeForeground": "var(--syntax6)", "sideBarTitle.foreground": "var(--syntax6)", "sideBarSectionHeader.foreground": "var(--syntax6)", "panelTitle.inactiveForeground": "var(--syntax10)", "tab.inactiveForeground": "var(--syntax10)", "list.highlightForeground": "var(--syntax10)", "editor.lineHighlightBackground": "var(--syntax11)", focusBorder: "var(--syntax12)", "button.background": "var(--syntax13)", "list.activeSelectionBackground": "var(--syntax13)", "list.focusBackground": "var(--syntax13)", "selection.background": "#B3D7FF", "list.inactiveSelectionBackground": "var(--syntax14)", "terminal.ansiBlack": "var(--syntax15)", "terminal.ansiBrightBlack": "var(--syntax15)", "terminal.ansiRed": "var(--syntax16)", "terminal.ansiBrightRed": "var(--syntax16)", "terminal.ansiGreen": "var(--syntax17)", "terminal.ansiBrightGreen": "var(--syntax17)", "terminal.ansiYellow": "var(--syntax18)", "terminal.ansiBrightYellow": "var(--syntax18)", "terminal.ansiBlue": "var(--syntax19)", "terminal.ansiBrightBlue": "var(--syntax19)", "terminal.ansiMagenta": "var(--syntax20)", "terminal.ansiBrightMagenta": "var(--syntax20)", "terminal.ansiCyan": "var(--syntax21)", "terminal.ansiBrightCyan": "var(--syntax21)" }, tokenColors: [{ scope: "new.expr entity.name", settings: { foreground: "var(--syntax15)" } }, { name: "Comments", scope: ["comment", "comment storage.type"], settings: { foreground: "var(--syntax23)", fontStyle: "italic" } }, { name: "CSS", scope: ["entity.other.attribute-name.pseudo-class.css", "entity.other.attribute-name.pseudo-class.scss", "entity.other.attribute-name.pseudo-element.css", "entity.other.attribute-name.pseudo-element.scss", "support.function.calc.css", "support.function.calc.scss", "support.type.property-name.css", "support.type.property-name.scss", "support.type.vendored.property-name.css", "support.type.vendored.property-name.scss", "meta.property-value.css support.constant", "meta.property-value.scss support.constant", "meta.property-value.css support.constant.property-value", "meta.property-value.scss support.constant.property-value", "support.function.transform.css", "support.function.transform.scss"], settings: { foreground: "var(--syntax20)" } }, { name: "Decorator", scope: ["meta.decorator", "meta.decorator punctuation.decorator", "meta.decorator variable.other.readwrite", "meta.decorator meta.function-call entity.name.function"], settings: { foreground: "var(--syntax18)" } }, { name: "Doctype", scope: ["meta.tag.sgml.html"], settings: { foreground: "var(--syntax9)" } }, { name: "Functions", scope: ["entity.name.function", "support.function"], settings: { foreground: "var(--syntax15)" } }, { name: "Keys (general)", scope: ["meta.property-list meta.property-name", "support.type.property-name", "support.type.map.key", "entity.name.tag.yaml"], settings: { foreground: "var(--syntax15)" } }, { name: "Object Keys", scope: ["meta.object-literal.key", "meta.object-literal.key string.quoted.double", "meta.object-literal.key string.quoted.single", "meta.object-literal.key punctuation.definition.string.begin", "meta.object-literal.key punctuation.definition.string.end", "support.type.property-name.json"], settings: { foreground: "var(--syntax16)" } }, { name: "Keywords", scope: ["keyword.control", "keyword.declaration", "keyword.expressions-and-types", "keyword.operator.new", "keyword.reserved", "keyword.statement", "storage.type", "storage.modifier", "constant.language", "variable.language.super", "variable.language.this", "text.html entity.name.tag", "meta.tag entity.name.tag", "meta.tag support.class", "string.regexp keyword.other"], settings: { foreground: "var(--syntax24)", fontStyle: "bold" } }, { name: "Operators", scope: ["storage.type.function.arrow", "meta.template.expression punctuation", "punctuation.separator.key-value", "meta.object-literal.key meta.brace.square", "meta.template.expression keyword.operator", "keyword.operator.or.regexp", "keyword.operator.quantifier", "punctuation.definition.group.regexp", "punctuation.definition.character-class"], settings: { foreground: "var(--syntax15)" } }, { scope: ["meta.tag entity.other.attribute-name", "constant.character.escape.backslash"], settings: { foreground: "var(--syntax26)" } }, { name: "Numbers", scope: ["constant.numeric", "keyword.other.unit", "constant.other.color"], settings: { foreground: "var(--syntax19)" } }, { name: "Strings", scope: ["string", "variable.parameter.url.scss", "markup.heading.markdown", "beginning.punctuation.definition.list.markdown", "meta.template.expression meta.embedded punctuation.definition.string.begin", "meta.template.expression meta.embedded punctuation.definition.string.end"], settings: { foreground: "var(--syntax27)" } }, { name: "Types", scope: ["meta.type", "meta.return.type", "entity.name.type", "support.type.primitive"], settings: { foreground: "var(--syntax15)" } }, { name: "Variables", scope: ["meta.objectliteral variable.other.object", "entity.name.type.module", "entity.other.inherited-class", "variable.scss", "variable.other.bracket.shell", "entity.name.function.scss"], settings: { foreground: "var(--syntax21)" } }, { name: "Keywords", scope: ["keyword.control.at-rule", "meta.import variable.other.readwrite", "meta.definition.variable variable.other.readwrite", "meta.definition.variable variable.other.constant", "meta.template.expression variable.other.readwrite", "meta.template.expression variable.other.constant", "support.constant.property-value"], settings: { foreground: "var(--syntax15)" } }] };
|
|
97657
97657
|
|
|
97658
|
-
// ../../node_modules/.pnpm/react-dom@19.2.
|
|
97658
|
+
// ../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/server.node.js
|
|
97659
97659
|
var react_dom_server_legacy_node_development = __toESM(require_react_dom_server_legacy_node_development(), 1);
|
|
97660
97660
|
var react_dom_server_node_development = __toESM(require_react_dom_server_node_development(), 1);
|
|
97661
97661
|
var l26;
|
|
@@ -97676,10 +97676,10 @@ var $resume = s91.resume;
|
|
|
97676
97676
|
var e487 = __toESM(require_react(), 1);
|
|
97677
97677
|
var import_react5 = __toESM(require_react(), 1);
|
|
97678
97678
|
|
|
97679
|
-
// ../xyd-atlas/dist/VideoGuide-
|
|
97679
|
+
// ../xyd-atlas/dist/VideoGuide-Bn9CpMS8-BBrzFJLW.js
|
|
97680
97680
|
var import_react4 = __toESM(require_react(), 1);
|
|
97681
97681
|
|
|
97682
|
-
// ../../node_modules/.pnpm/openux-js@0.0.0-pre.1_react-dom@19.2.
|
|
97682
|
+
// ../../node_modules/.pnpm/openux-js@0.0.0-pre.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/openux-js/dist/index.js
|
|
97683
97683
|
var import_react = __toESM(require_react(), 1);
|
|
97684
97684
|
var UXAnalyticsContext = import_react.createContext(undefined);
|
|
97685
97685
|
var UXNodeContext = import_react.createContext(undefined);
|
|
@@ -97747,14 +97747,14 @@ function collectContext(node) {
|
|
|
97747
97747
|
return [...collectContext(node.parent), { name: node.name, props: node.props }];
|
|
97748
97748
|
}
|
|
97749
97749
|
|
|
97750
|
-
// ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19.
|
|
97750
|
+
// ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._vrijsupjqixawruberrfb56pbm/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
97751
97751
|
var React4 = __toESM(require_react(), 1);
|
|
97752
97752
|
var ReactDOM = __toESM(require_react_dom(), 1);
|
|
97753
97753
|
|
|
97754
|
-
// ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.7_react@19.2.
|
|
97754
|
+
// ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
97755
97755
|
var React3 = __toESM(require_react(), 1);
|
|
97756
97756
|
|
|
97757
|
-
// ../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.2.7_react@19.2.
|
|
97757
|
+
// ../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
97758
97758
|
var React2 = __toESM(require_react(), 1);
|
|
97759
97759
|
function setRef(ref, value) {
|
|
97760
97760
|
if (typeof ref === "function") {
|
|
@@ -97791,7 +97791,7 @@ function useComposedRefs(...refs) {
|
|
|
97791
97791
|
return React2.useCallback(composeRefs(...refs), refs);
|
|
97792
97792
|
}
|
|
97793
97793
|
|
|
97794
|
-
// ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.7_react@19.2.
|
|
97794
|
+
// ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
97795
97795
|
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
|
|
97796
97796
|
function createSlot(ownerName) {
|
|
97797
97797
|
const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
|
|
@@ -97875,7 +97875,7 @@ function getElementRef(element) {
|
|
|
97875
97875
|
return element.props.ref || element.ref;
|
|
97876
97876
|
}
|
|
97877
97877
|
|
|
97878
|
-
// ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19.
|
|
97878
|
+
// ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._vrijsupjqixawruberrfb56pbm/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
97879
97879
|
var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
|
|
97880
97880
|
var NODES = [
|
|
97881
97881
|
"a",
|
|
@@ -97910,7 +97910,7 @@ var Primitive = NODES.reduce((primitive, node) => {
|
|
|
97910
97910
|
return { ...primitive, [node]: Node2 };
|
|
97911
97911
|
}, {});
|
|
97912
97912
|
|
|
97913
|
-
// ../../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.7_react@19.2.
|
|
97913
|
+
// ../../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
97914
97914
|
var React5 = __toESM(require_react(), 1);
|
|
97915
97915
|
var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
|
|
97916
97916
|
function createContextScope(scopeName, createContextScopeDeps = []) {
|
|
@@ -97971,7 +97971,7 @@ function composeContextScopes(...scopes) {
|
|
|
97971
97971
|
return createScope;
|
|
97972
97972
|
}
|
|
97973
97973
|
|
|
97974
|
-
// ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@
|
|
97974
|
+
// ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19_3vqfgunzp4tkkuqnqgefg7qsai/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
97975
97975
|
var import_react2 = __toESM(require_react(), 1);
|
|
97976
97976
|
var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
|
|
97977
97977
|
var import_react3 = __toESM(require_react(), 1);
|
|
@@ -98344,14 +98344,14 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
|
|
|
98344
98344
|
};
|
|
98345
98345
|
}
|
|
98346
98346
|
|
|
98347
|
-
// ../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.2.7_react@19.2.
|
|
98347
|
+
// ../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
98348
98348
|
var React8 = __toESM(require_react(), 1);
|
|
98349
98349
|
|
|
98350
|
-
// ../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.7_react@19.2.
|
|
98350
|
+
// ../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
98351
98351
|
var React7 = __toESM(require_react(), 1);
|
|
98352
98352
|
var useLayoutEffect2 = globalThis?.document ? React7.useLayoutEffect : () => {};
|
|
98353
98353
|
|
|
98354
|
-
// ../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.2.7_react@19.2.
|
|
98354
|
+
// ../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
98355
98355
|
var React23 = __toESM(require_react(), 1);
|
|
98356
98356
|
var useInsertionEffect = React8[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
98357
98357
|
function useControllableState({
|
|
@@ -98413,7 +98413,7 @@ function isFunction(value) {
|
|
|
98413
98413
|
}
|
|
98414
98414
|
var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
|
|
98415
98415
|
|
|
98416
|
-
// ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19.
|
|
98416
|
+
// ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19.2_g7nvzcflnhogkdp32witcuayfy/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
98417
98417
|
var React24 = __toESM(require_react(), 1);
|
|
98418
98418
|
var React9 = __toESM(require_react(), 1);
|
|
98419
98419
|
"use client";
|
|
@@ -98540,7 +98540,7 @@ function getElementRef2(element) {
|
|
|
98540
98540
|
return element.props.ref || element.ref;
|
|
98541
98541
|
}
|
|
98542
98542
|
|
|
98543
|
-
// ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.7_react@19.2.
|
|
98543
|
+
// ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
98544
98544
|
var React10 = __toESM(require_react(), 1);
|
|
98545
98545
|
var useReactId = React10[" useId ".trim().toString()] || (() => {
|
|
98546
98546
|
return;
|
|
@@ -98555,7 +98555,7 @@ function useId(deterministicId) {
|
|
|
98555
98555
|
return deterministicId || (id ? `radix-${id}` : "");
|
|
98556
98556
|
}
|
|
98557
98557
|
|
|
98558
|
-
// ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.7_react@19.2.
|
|
98558
|
+
// ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
98559
98559
|
var React11 = __toESM(require_react(), 1);
|
|
98560
98560
|
var import_jsx_runtime6 = __toESM(require_jsx_runtime(), 1);
|
|
98561
98561
|
var DirectionContext = React11.createContext(undefined);
|
|
@@ -98564,7 +98564,7 @@ function useDirection(localDir) {
|
|
|
98564
98564
|
return localDir || globalDir || "ltr";
|
|
98565
98565
|
}
|
|
98566
98566
|
|
|
98567
|
-
// ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.7_react@19.2.
|
|
98567
|
+
// ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.7_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
98568
98568
|
var React12 = __toESM(require_react(), 1);
|
|
98569
98569
|
function useCallbackRef(callback) {
|
|
98570
98570
|
const callbackRef = React12.useRef(callback);
|
|
@@ -98574,7 +98574,7 @@ function useCallbackRef(callback) {
|
|
|
98574
98574
|
return React12.useMemo(() => (...args) => callbackRef.current?.(...args), []);
|
|
98575
98575
|
}
|
|
98576
98576
|
|
|
98577
|
-
// ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.7__@types+
|
|
98577
|
+
// ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react_olorlwzqifzjwjsjwfg7df3ffe/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
|
|
98578
98578
|
var React13 = __toESM(require_react(), 1);
|
|
98579
98579
|
var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
|
|
98580
98580
|
"use client";
|
|
@@ -98769,7 +98769,7 @@ function wrapArray(array, startIndex) {
|
|
|
98769
98769
|
var Root = RovingFocusGroup;
|
|
98770
98770
|
var Item = RovingFocusGroupItem;
|
|
98771
98771
|
|
|
98772
|
-
// ../../node_modules/.pnpm/@radix-ui+react-tabs@1.1.13_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19.2.
|
|
98772
|
+
// ../../node_modules/.pnpm/@radix-ui+react-tabs@1.1.13_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19.2.7__fbkxvc433yjydgxfag37xlk56m/node_modules/@radix-ui/react-tabs/dist/index.mjs
|
|
98773
98773
|
var exports_dist = {};
|
|
98774
98774
|
__export(exports_dist, {
|
|
98775
98775
|
createTabsScope: () => createTabsScope,
|
|
@@ -98932,7 +98932,7 @@ var List = TabsList;
|
|
|
98932
98932
|
var Trigger = TabsTrigger;
|
|
98933
98933
|
var Content = TabsContent;
|
|
98934
98934
|
|
|
98935
|
-
// ../../node_modules/.pnpm/lucide-react@0.447.0_react@19.2.
|
|
98935
|
+
// ../../node_modules/.pnpm/lucide-react@0.447.0_react@19.2.3/node_modules/lucide-react/dist/cjs/lucide-react.js
|
|
98936
98936
|
var react = __toESM(require_react(), 1);
|
|
98937
98937
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
98938
98938
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
@@ -111566,7 +111566,7 @@ var $ChevronLeft = ChevronLeft;
|
|
|
111566
111566
|
var $ChevronRight = ChevronRight;
|
|
111567
111567
|
var $Copy = Copy;
|
|
111568
111568
|
|
|
111569
|
-
// ../xyd-atlas/dist/VideoGuide-
|
|
111569
|
+
// ../xyd-atlas/dist/VideoGuide-Bn9CpMS8-BBrzFJLW.js
|
|
111570
111570
|
function f2(e241, t238) {
|
|
111571
111571
|
(t238 == null || t238 > e241.length) && (t238 = e241.length);
|
|
111572
111572
|
for (var r161 = 0, n232 = Array(t238);r161 < t238; r161++)
|
|
@@ -118637,23 +118637,23 @@ var ke2 = "a1ud1m37";
|
|
|
118637
118637
|
var xe2 = "a1fjyrqx";
|
|
118638
118638
|
var we2 = "a12sxrry";
|
|
118639
118639
|
var Ne2 = "a1hrqzjh";
|
|
118640
|
-
var
|
|
118641
|
-
var
|
|
118640
|
+
var Se2 = "a1ofrsp8";
|
|
118641
|
+
var je2 = "amjvvs5";
|
|
118642
118642
|
var Ce2 = "a9u79h5";
|
|
118643
118643
|
var _e2 = "a16o3qrr";
|
|
118644
118644
|
var Pe2 = "a1ln4qwr";
|
|
118645
118645
|
function Oe2(e488) {
|
|
118646
118646
|
var t481, r325 = e488.properties;
|
|
118647
118647
|
return import_react5.default.createElement("ul", { className: fe2 }, (t481 = qe2(r325)) === null || t481 === undefined ? undefined : t481.map(function(e489, t482) {
|
|
118648
|
-
var r326, a443 = e489.name, o237 = e489.type, i314 =
|
|
118649
|
-
return import_react5.default.createElement("atlas-apiref-prop", { className: he2, key: t482 }, a443 || o237 ? import_react5.default.createElement("dl", { className: ye2 }, import_react5.default.createElement(Re2, { property: e489, meta: e489.meta || [] }), import_react5.default.createElement(
|
|
118648
|
+
var r326, a443 = e489.name, o237 = e489.type, i314 = ze2(e489), l52 = ((r326 = e489.ofProperty) === null || r326 === undefined ? undefined : r326.description) || e489.description || "", c105 = Ue2(e489.meta);
|
|
118649
|
+
return import_react5.default.createElement("atlas-apiref-prop", { className: he2, key: t482 }, a443 || o237 ? import_react5.default.createElement("dl", { className: ye2 }, import_react5.default.createElement(Re2, { property: e489, meta: e489.meta || [] }), import_react5.default.createElement(Be2, { property: e489 }), import_react5.default.createElement(Le2, { metas: e489.meta || [] })) : null, l52 || c105 ? import_react5.default.createElement("atlas-apiref-propdescription", { className: ge2 }, import_react5.default.createElement(import_react5.default.Fragment, null, import_react5.default.createElement("div", null, l52), import_react5.default.createElement("div", null, Ue2(e489.meta)))) : null, (i314 == null ? undefined : i314.length) > 0 ? import_react5.default.createElement(Te2, { parent: e489, properties: i314 }) : null);
|
|
118650
118650
|
}));
|
|
118651
118651
|
}
|
|
118652
118652
|
function Re2(e488) {
|
|
118653
118653
|
var t481 = e488.property.name;
|
|
118654
118654
|
return t481 ? import_react5.default.createElement("atlas-apiref-propname", null, import_react5.default.createElement("dd", null, import_react5.default.createElement("code", { "data-parent-choice-type": e488.parentChoiceType ? "true" : undefined, className: Ee2 }, t481))) : null;
|
|
118655
118655
|
}
|
|
118656
|
-
function
|
|
118656
|
+
function Be2(e488) {
|
|
118657
118657
|
var t481 = e488.property, r325 = import_react5.useContext(ne2).Link, o237 = r325 === undefined ? "a" : r325, i314 = function(e489) {
|
|
118658
118658
|
var n470, t482, r326 = function() {
|
|
118659
118659
|
var e490 = import_react5.useContext(ne2);
|
|
@@ -118671,7 +118671,7 @@ function Ae2(e488) {
|
|
|
118671
118671
|
}(t481), l52 = Ie2(t481);
|
|
118672
118672
|
return l52 ? (i314 && (l52 = import_react5.default.createElement(o237, { className: ke2, href: i314 }, l52)), import_react5.default.createElement("atlas-apiref-proptype", null, import_react5.default.createElement("dd", null, import_react5.default.createElement("code", { className: be2 }, l52)))) : null;
|
|
118673
118673
|
}
|
|
118674
|
-
function
|
|
118674
|
+
function Ae2(e488) {
|
|
118675
118675
|
var t481 = e488.value;
|
|
118676
118676
|
switch (e488.name) {
|
|
118677
118677
|
case "required":
|
|
@@ -118701,11 +118701,11 @@ function Le2(e488) {
|
|
|
118701
118701
|
return ((t482 = r325[e489.name]) !== null && t482 !== undefined ? t482 : 3) - ((a444 = r325[n470.name]) !== null && a444 !== undefined ? a444 : 3);
|
|
118702
118702
|
});
|
|
118703
118703
|
return import_react5.default.createElement(import_react5.default.Fragment, null, a443.map(function(e489, t482) {
|
|
118704
|
-
return import_react5.default.createElement(
|
|
118704
|
+
return import_react5.default.createElement(Ae2, v2({ key: t482 }, e489));
|
|
118705
118705
|
}));
|
|
118706
118706
|
}
|
|
118707
118707
|
function Te2(e488) {
|
|
118708
|
-
var r325, a443 = e488.parent, o237 = e488.properties, i314 = import_react5.useState(false), l52 = S2(i314, 2), c105 = l52[0], u28 = l52[1], s187 = qe2(o237 || []), m82 =
|
|
118708
|
+
var r325, a443 = e488.parent, o237 = e488.properties, i314 = import_react5.useState(false), l52 = S2(i314, 2), c105 = l52[0], u28 = l52[1], s187 = qe2(o237 || []), m82 = Me2(a443), v4 = function() {
|
|
118709
118709
|
var e489;
|
|
118710
118710
|
return ((a443 == null ? undefined : a443.type) !== DEFINED_DEFINITION_PROPERTY_TYPE.ARRAY || ((e489 = a443 == null ? undefined : a443.ofProperty) === null || e489 === undefined ? undefined : e489.type) !== DEFINED_DEFINITION_PROPERTY_TYPE.ENUM) && (a443 == null ? undefined : a443.type) !== DEFINED_DEFINITION_PROPERTY_TYPE.ENUM && s187.every(function(e490) {
|
|
118711
118711
|
var n470, t481;
|
|
@@ -118719,22 +118719,22 @@ function Te2(e488) {
|
|
|
118719
118719
|
});
|
|
118720
118720
|
return import_react5.default.createElement(import_react5.default.Fragment, null, (s187 == null ? undefined : s187.length) ? import_react5.default.createElement(Fe2, { choiceType: m82, isArgument: p28, onClick: function() {
|
|
118721
118721
|
return u28(!c105);
|
|
118722
|
-
}, isExpanded: c105 }) : null, import_react5.default.createElement("div", { className: "".concat(xe2, " ").concat(c105 && we2) }, import_react5.default.createElement("div", { className: Ne2 }, import_react5.default.createElement("ul", { role: "list", className:
|
|
118723
|
-
var r326, a444 = e489.name, o238 = e489.type, i315 =
|
|
118724
|
-
return import_react5.default.createElement("atlas-apiref-prop", { className:
|
|
118722
|
+
}, isExpanded: c105 }) : null, import_react5.default.createElement("div", { className: "".concat(xe2, " ").concat(c105 && we2) }, import_react5.default.createElement("div", { className: Ne2 }, import_react5.default.createElement("ul", { role: "list", className: Se2 }, s187 == null ? undefined : s187.map(function(e489, t481) {
|
|
118723
|
+
var r326, a444 = e489.name, o238 = e489.type, i315 = ze2(e489), l53 = ((r326 = e489.ofProperty) === null || r326 === undefined ? undefined : r326.description) || e489.description || "", c106 = Ue2(e489.meta);
|
|
118724
|
+
return import_react5.default.createElement("atlas-apiref-prop", { className: je2, key: t481 }, a444 || o238 ? import_react5.default.createElement("dl", { className: ye2 }, import_react5.default.createElement(Re2, { property: e489, meta: e489.meta || [], parentChoiceType: m82 || !!p28 }), import_react5.default.createElement(Be2, { property: e489 }), import_react5.default.createElement(Le2, { metas: e489.meta || [] })) : null, l53 || c106 ? import_react5.default.createElement("atlas-apiref-propdescription", { className: ge2 }, import_react5.default.createElement(import_react5.default.Fragment, null, import_react5.default.createElement("div", null, l53), import_react5.default.createElement("div", null, Ue2(e489.meta)))) : null, (i315 == null ? undefined : i315.length) ? import_react5.default.createElement(Te2, { parent: e489, properties: i315 }) : null);
|
|
118725
118725
|
})))));
|
|
118726
118726
|
}
|
|
118727
118727
|
function Fe2(e488) {
|
|
118728
118728
|
var t481 = e488.isExpanded ? "Hide properties" : "Show properties";
|
|
118729
118729
|
return e488.choiceType ? t481 = e488.isExpanded ? "Hide possible types" : "Show possible types" : e488.isArgument && (t481 = e488.isExpanded ? "Hide possible arguments" : "Show possible arguments"), import_react5.default.createElement("button", { "aria-expanded": e488.isExpanded, "aria-controls": "chat/object-usage_table", onClick: e488.onClick, className: Ce2 }, import_react5.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "currentColor", viewBox: "0 0 24 24" }, import_react5.default.createElement("path", { fillRule: "evenodd", d: e488.isExpanded ? "M12 8a1 1 0 0 1 .707.293l7 7a1 1 0 0 1-1.414 1.414L12 10.414l-6.293 6.293a1 1 0 0 1-1.414-1.414l7-7A1 1 0 0 1 12 8Z" : "M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414Z", clipRule: "evenodd" })), import_react5.default.createElement("span", { className: _e2 }, t481));
|
|
118730
118730
|
}
|
|
118731
|
-
function
|
|
118731
|
+
function Me2(e488) {
|
|
118732
118732
|
var n470;
|
|
118733
|
-
return e488.type === DEFINED_DEFINITION_PROPERTY_TYPE.ARRAY && ((n470 = e488.ofProperty) === null || n470 === undefined ? undefined : n470.type) === DEFINED_DEFINITION_PROPERTY_TYPE.ENUM || (e488.ofProperty ?
|
|
118733
|
+
return e488.type === DEFINED_DEFINITION_PROPERTY_TYPE.ARRAY && ((n470 = e488.ofProperty) === null || n470 === undefined ? undefined : n470.type) === DEFINED_DEFINITION_PROPERTY_TYPE.ENUM || (e488.ofProperty ? Me2(e488.ofProperty) : [DEFINED_DEFINITION_PROPERTY_TYPE.UNION, DEFINED_DEFINITION_PROPERTY_TYPE.XOR, DEFINED_DEFINITION_PROPERTY_TYPE.ENUM].includes(e488.type));
|
|
118734
118734
|
}
|
|
118735
|
-
function
|
|
118735
|
+
function ze2(e488) {
|
|
118736
118736
|
var n470;
|
|
118737
|
-
return ((n470 = e488.properties) === null || n470 === undefined ? undefined : n470.length) ? e488.properties : e488.ofProperty ?
|
|
118737
|
+
return ((n470 = e488.properties) === null || n470 === undefined ? undefined : n470.length) ? e488.properties : e488.ofProperty ? ze2(e488.ofProperty) : [];
|
|
118738
118738
|
}
|
|
118739
118739
|
function qe2(e488) {
|
|
118740
118740
|
return e488.filter(function(e489) {
|
|
@@ -118787,26 +118787,26 @@ function Ie2(e488) {
|
|
|
118787
118787
|
switch (n471.type) {
|
|
118788
118788
|
case (DEFINED_DEFINITION_PROPERTY_TYPE.UNION, DEFINED_DEFINITION_PROPERTY_TYPE.XOR):
|
|
118789
118789
|
if ((u28 = n471.properties) === null || u28 === undefined ? undefined : u28.length) {
|
|
118790
|
-
var x4, w4 = {}, N6 = [],
|
|
118790
|
+
var x4, w4 = {}, N6 = [], S4 = m41(n471.properties);
|
|
118791
118791
|
try {
|
|
118792
|
-
for (
|
|
118793
|
-
var
|
|
118794
|
-
C4.ofProperty && _8.length > 1 && (_8 = [[_8[0]].concat(k2(_8.slice(1, _8.length))).join("")]), (
|
|
118792
|
+
for (S4.s();!(x4 = S4.n()).done; ) {
|
|
118793
|
+
var j4, C4 = x4.value, _8 = e(C4);
|
|
118794
|
+
C4.ofProperty && _8.length > 1 && (_8 = [[_8[0]].concat(k2(_8.slice(1, _8.length))).join("")]), (j4 = N6).push.apply(j4, k2(_8));
|
|
118795
118795
|
}
|
|
118796
118796
|
} catch (e489) {
|
|
118797
|
-
|
|
118797
|
+
S4.e(e489);
|
|
118798
118798
|
} finally {
|
|
118799
|
-
|
|
118799
|
+
S4.f();
|
|
118800
118800
|
}
|
|
118801
118801
|
var P4, O4 = false, R8 = m41(N6);
|
|
118802
118802
|
try {
|
|
118803
118803
|
for (R8.s();!(P4 = R8.n()).done; ) {
|
|
118804
|
-
var
|
|
118805
|
-
if (
|
|
118804
|
+
var B4 = P4.value;
|
|
118805
|
+
if (B4.trim() === "or") {
|
|
118806
118806
|
O4 = true;
|
|
118807
118807
|
break;
|
|
118808
118808
|
}
|
|
118809
|
-
w4[
|
|
118809
|
+
w4[B4] = true;
|
|
118810
118810
|
}
|
|
118811
118811
|
} catch (e489) {
|
|
118812
118812
|
R8.e(e489);
|
|
@@ -119018,7 +119018,7 @@ var vn = (un || (un = 1, sn.exports = (cn || (cn = 1, function() {
|
|
|
119018
119018
|
if (n470 == null)
|
|
119019
119019
|
return null;
|
|
119020
119020
|
if (typeof n470 == "function")
|
|
119021
|
-
return n470.$$typeof ===
|
|
119021
|
+
return n470.$$typeof === j4 ? null : n470.displayName || n470.name || null;
|
|
119022
119022
|
if (typeof n470 == "string")
|
|
119023
119023
|
return n470;
|
|
119024
119024
|
switch (n470) {
|
|
@@ -119032,7 +119032,7 @@ var vn = (un || (un = 1, sn.exports = (cn || (cn = 1, function() {
|
|
|
119032
119032
|
return "Suspense";
|
|
119033
119033
|
case x4:
|
|
119034
119034
|
return "SuspenseList";
|
|
119035
|
-
case
|
|
119035
|
+
case S4:
|
|
119036
119036
|
return "Activity";
|
|
119037
119037
|
}
|
|
119038
119038
|
if (X3(n470) === "object")
|
|
@@ -119142,17 +119142,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
119142
119142
|
function u28(e489) {
|
|
119143
119143
|
return X3(e489) === "object" && e489 !== null && e489.$$typeof === m82;
|
|
119144
119144
|
}
|
|
119145
|
-
var s187, d29 = import_react5.default, m82 = Symbol.for("react.transitional.element"), v4 = Symbol.for("react.portal"), p28 = Symbol.for("react.fragment"), f4 = Symbol.for("react.strict_mode"), h6 = Symbol.for("react.profiler"), g6 = Symbol.for("react.consumer"), y4 = Symbol.for("react.context"), E8 = Symbol.for("react.forward_ref"), k4 = Symbol.for("react.suspense"), x4 = Symbol.for("react.suspense_list"), w4 = Symbol.for("react.memo"), N6 = Symbol.for("react.lazy"),
|
|
119145
|
+
var s187, d29 = import_react5.default, m82 = Symbol.for("react.transitional.element"), v4 = Symbol.for("react.portal"), p28 = Symbol.for("react.fragment"), f4 = Symbol.for("react.strict_mode"), h6 = Symbol.for("react.profiler"), g6 = Symbol.for("react.consumer"), y4 = Symbol.for("react.context"), E8 = Symbol.for("react.forward_ref"), k4 = Symbol.for("react.suspense"), x4 = Symbol.for("react.suspense_list"), w4 = Symbol.for("react.memo"), N6 = Symbol.for("react.lazy"), S4 = Symbol.for("react.activity"), j4 = Symbol.for("react.client.reference"), C4 = d29.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, _8 = Object.prototype.hasOwnProperty, P4 = Array.isArray, O4 = console.createTask ? console.createTask : function() {
|
|
119146
119146
|
return null;
|
|
119147
|
-
}, R8 = {},
|
|
119147
|
+
}, R8 = {}, B4 = (d29 = { react_stack_bottom_frame: function(e489) {
|
|
119148
119148
|
return e489();
|
|
119149
|
-
} }).react_stack_bottom_frame.bind(d29, o237)(),
|
|
119149
|
+
} }).react_stack_bottom_frame.bind(d29, o237)(), A8 = O4(a443(o237)), L4 = {};
|
|
119150
119150
|
mn.Fragment = p28, mn.jsx = function(e489, n470, t482) {
|
|
119151
119151
|
var r326 = 1e4 > C4.recentlyCreatedOwnerStacks++;
|
|
119152
|
-
return l52(e489, n470, t482, false, r326 ? Error("react-stack-top-frame") :
|
|
119152
|
+
return l52(e489, n470, t482, false, r326 ? Error("react-stack-top-frame") : B4, r326 ? O4(a443(e489)) : A8);
|
|
119153
119153
|
}, mn.jsxs = function(e489, n470, t482) {
|
|
119154
119154
|
var r326 = 1e4 > C4.recentlyCreatedOwnerStacks++;
|
|
119155
|
-
return l52(e489, n470, t482, true, r326 ? Error("react-stack-top-frame") :
|
|
119155
|
+
return l52(e489, n470, t482, true, r326 ? Error("react-stack-top-frame") : B4, r326 ? O4(a443(e489)) : A8);
|
|
119156
119156
|
};
|
|
119157
119157
|
}()), mn)), sn.exports);
|
|
119158
119158
|
function pn(e488, n470, t481) {
|
|
@@ -119197,7 +119197,7 @@ var kn = ["lineNumber", "totalLines", "indentation", "data", "annotation"];
|
|
|
119197
119197
|
var xn = ["merge"];
|
|
119198
119198
|
var wn = ["_stack"];
|
|
119199
119199
|
var Nn = ["value", "data"];
|
|
119200
|
-
var
|
|
119200
|
+
var Sn = function(e488) {
|
|
119201
119201
|
var n470 = fn(e488.merge, H2(e488, hn)), t481 = n470._stack, r325 = H2(n470, gn), a443 = G2(t481), o237 = a443[0], i314 = N3(a443).slice(1);
|
|
119202
119202
|
if (o237)
|
|
119203
119203
|
return vn.jsx(o237, B2({ _stack: i314 }, r325));
|
|
@@ -119206,7 +119206,7 @@ var jn = function(e488) {
|
|
|
119206
119206
|
var c105 = r325.children, u28 = H2(r325, yn);
|
|
119207
119207
|
return vn.jsx("pre", B2(B2({}, u28), {}, { ref: l52, "data-ch": true, children: vn.jsx("div", { style: { minWidth: "fit-content" }, children: c105 }) }));
|
|
119208
119208
|
};
|
|
119209
|
-
var
|
|
119209
|
+
var jn = function(e488) {
|
|
119210
119210
|
var n470 = fn(e488.merge, H2(e488, En)), t481 = n470._stack, r325 = H2(n470, bn), a443 = G2(t481), o237 = a443[0], i314 = N3(a443).slice(1);
|
|
119211
119211
|
if (o237) {
|
|
119212
119212
|
var { Component: l52, annotation: c105 } = o237;
|
|
@@ -119229,7 +119229,7 @@ var Cn = function(e488) {
|
|
|
119229
119229
|
};
|
|
119230
119230
|
var _n = function(e488) {
|
|
119231
119231
|
var n470 = import_react5.useRef(null), t481 = e488._ref || n470;
|
|
119232
|
-
return vn.jsx(
|
|
119232
|
+
return vn.jsx(Sn, { merge: e488, _ref: t481 });
|
|
119233
119233
|
};
|
|
119234
119234
|
function Pn(e488, n470) {
|
|
119235
119235
|
var t481 = [n470.fromColumn, n470.toColumn], r325 = On(e488, t481[0]);
|
|
@@ -119265,13 +119265,13 @@ function On(e488, n470) {
|
|
|
119265
119265
|
function Rn(e488) {
|
|
119266
119266
|
return e488.content !== undefined;
|
|
119267
119267
|
}
|
|
119268
|
-
function
|
|
119268
|
+
function Bn(e488) {
|
|
119269
119269
|
var { content: n470, handlers: t481, annotationStack: r325 } = e488;
|
|
119270
119270
|
return n470.map(function(e489, n471) {
|
|
119271
|
-
return Rn(e489) ? vn.jsx(Ln, { annotationStack: r325, handlers: t481, group: e489 }, n471) : e489.style ? vn.jsx(
|
|
119271
|
+
return Rn(e489) ? vn.jsx(Ln, { annotationStack: r325, handlers: t481, group: e489 }, n471) : e489.style ? vn.jsx(An, { annotationStack: r325, handlers: t481, token: e489 }, n471) : e489.value;
|
|
119272
119272
|
});
|
|
119273
119273
|
}
|
|
119274
|
-
function
|
|
119274
|
+
function An(e488) {
|
|
119275
119275
|
var { handlers: n470, token: t481 } = e488, r325 = function(e489, n471) {
|
|
119276
119276
|
var t482 = [];
|
|
119277
119277
|
return e489.forEach(function(e490) {
|
|
@@ -119288,7 +119288,7 @@ function Bn(e488) {
|
|
|
119288
119288
|
return vn.jsx(Cn, { merge: { _stack: r325, style: t481.style, value: t481.value } });
|
|
119289
119289
|
}
|
|
119290
119290
|
function Ln(e488) {
|
|
119291
|
-
var n470, t481 = e488.group, r325 = e488.handlers, a443 = e488.annotationStack, o237 = t481.annotation, i314 = t481.content, l52 = o237.name, c105 =
|
|
119291
|
+
var n470, t481 = e488.group, r325 = e488.handlers, a443 = e488.annotationStack, o237 = t481.annotation, i314 = t481.content, l52 = o237.name, c105 = Bn({ content: i314, handlers: r325, annotationStack: [].concat(z2(a443), [o237]) }), u28 = (n470 = r325.find(function(e489) {
|
|
119292
119292
|
return e489.name === l52;
|
|
119293
119293
|
})) === null || n470 === undefined ? undefined : n470.Inline;
|
|
119294
119294
|
return u28 ? vn.jsx(u28, { annotation: o237, children: c105 }) : c105;
|
|
@@ -119303,7 +119303,7 @@ function Tn(e488, n470) {
|
|
|
119303
119303
|
}
|
|
119304
119304
|
function Fn(e488, n470) {
|
|
119305
119305
|
var t481 = e488.findIndex(function(e489) {
|
|
119306
|
-
return
|
|
119306
|
+
return Mn(e489) && e489.range[0] < n470 && n470 <= e489.range[1];
|
|
119307
119307
|
});
|
|
119308
119308
|
if (t481 === -1)
|
|
119309
119309
|
return e488;
|
|
@@ -119312,13 +119312,13 @@ function Fn(e488, n470) {
|
|
|
119312
119312
|
e489.range[1] < n470 ? o237.push(e489) : i314.push(e489);
|
|
119313
119313
|
}), [].concat(z2(e488.slice(0, t481)), [B2(B2({}, r325), {}, { lines: o237, range: [r325.range[0], n470 - 1] }), B2(B2({}, r325), {}, { lines: i314, range: [n470, r325.range[1]] })], z2(e488.slice(t481 + 1)));
|
|
119314
119314
|
}
|
|
119315
|
-
function
|
|
119315
|
+
function Mn(e488) {
|
|
119316
119316
|
return e488.annotation !== undefined;
|
|
119317
119317
|
}
|
|
119318
|
-
function
|
|
119318
|
+
function zn(e488) {
|
|
119319
119319
|
var { linesOrGroups: n470, handlers: t481, inlineAnnotations: r325, annotationStack: a443 } = e488, o237 = a443 === undefined ? [] : a443;
|
|
119320
119320
|
return n470.map(function(e489) {
|
|
119321
|
-
return
|
|
119321
|
+
return Mn(e489) ? vn.jsx(In, { group: e489, handlers: t481, inlineAnnotations: r325, annotationStack: o237 }, e489.range[0]) : vn.jsx(qn, { line: e489, handlers: t481, inlineAnnotations: r325, annotationStack: o237 }, e489.lineNumber);
|
|
119322
119322
|
});
|
|
119323
119323
|
}
|
|
119324
119324
|
function qn(e488) {
|
|
@@ -119340,13 +119340,13 @@ function qn(e488) {
|
|
|
119340
119340
|
t482.push({ Component: a444, annotation: e491 });
|
|
119341
119341
|
}));
|
|
119342
119342
|
}), t482;
|
|
119343
|
-
}(t481, o237), m82 =
|
|
119344
|
-
return vn.jsx(
|
|
119343
|
+
}(t481, o237), m82 = Bn({ content: s187, handlers: t481, annotationStack: o237 }), v4 = { lineNumber: i314, indentation: c105, totalLines: l52, _stack: d29 };
|
|
119344
|
+
return vn.jsx(jn, { merge: v4, children: m82 }, i314);
|
|
119345
119345
|
}
|
|
119346
119346
|
function In(e488) {
|
|
119347
119347
|
var n470, t481 = e488.group, r325 = e488.handlers, a443 = e488.inlineAnnotations, o237 = e488.annotationStack, i314 = t481.annotation, l52 = t481.lines, c105 = i314.name, u28 = (n470 = r325.find(function(e489) {
|
|
119348
119348
|
return e489.name === c105;
|
|
119349
|
-
})) === null || n470 === undefined ? undefined : n470.Block, s187 =
|
|
119349
|
+
})) === null || n470 === undefined ? undefined : n470.Block, s187 = zn({ linesOrGroups: l52, handlers: r325, inlineAnnotations: a443, annotationStack: [].concat(z2(o237), [i314]) });
|
|
119350
119350
|
return u28 ? vn.jsx(u28, { annotation: i314, children: s187 }) : s187;
|
|
119351
119351
|
}
|
|
119352
119352
|
var Hn = ["code", "handlers"];
|
|
@@ -119373,7 +119373,7 @@ var $n = import_react5.forwardRef(function(e488, n470) {
|
|
|
119373
119373
|
}).filter(Boolean);
|
|
119374
119374
|
return t482.length > 0 && t482.unshift(_n), [].concat(z2(n471), z2(t482));
|
|
119375
119375
|
}(d29), v4 = { _stack: m82, _ref: n470 };
|
|
119376
|
-
return vn.jsx(
|
|
119376
|
+
return vn.jsx(Sn, B2(B2({ merge: v4, "data-theme": l52, "data-lang": c105 }, o237), {}, { children: vn.jsx(Un, { tokens: i314, handlers: d29, annotations: u28 }) }));
|
|
119377
119377
|
});
|
|
119378
119378
|
function Un(e488) {
|
|
119379
119379
|
var { tokens: n470, handlers: t481, annotations: r325 } = e488, a443 = function(e489) {
|
|
@@ -119404,7 +119404,7 @@ function Un(e488) {
|
|
|
119404
119404
|
t482 = Tn(t482, n471[r326]);
|
|
119405
119405
|
return t482;
|
|
119406
119406
|
}(a443, o237);
|
|
119407
|
-
return
|
|
119407
|
+
return zn({ linesOrGroups: l52, handlers: t481, inlineAnnotations: i314 });
|
|
119408
119408
|
}
|
|
119409
119409
|
function Dn(e488) {
|
|
119410
119410
|
var t481 = e488.size, r325 = t481 === undefined ? "medium" : t481, a443 = e488.className;
|
|
@@ -119542,10 +119542,10 @@ function et2() {
|
|
|
119542
119542
|
return import_react5.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", strokeWidth: 3, stroke: "currentColor", fill: "none", width: 16, strokeLinecap: "round", strokeLinejoin: "round" }, import_react5.default.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), import_react5.default.createElement("path", { d: "M12 12l8 -4.5" }), import_react5.default.createElement("path", { d: "M12 12v9" }), import_react5.default.createElement("path", { d: "M12 12l-8 -4.5" }), import_react5.default.createElement("path", { d: "M12 12l8 4.5" }), import_react5.default.createElement("path", { d: "M12 3v9" }), import_react5.default.createElement("path", { d: "M12 12l-8 4.5" }));
|
|
119543
119543
|
}
|
|
119544
119544
|
Qn.LineNumber = function(e488) {
|
|
119545
|
-
return e488.children && e488.children.length ? import_react5.default.createElement("xyd-code-linenumber", { className: "lyawwu4", style: { minWidth: "".concat(e488.width, "ch") } }, import_react5.default.createElement("span", { part: "line-number" }, e488.lineNumber), import_react5.default.createElement(
|
|
119545
|
+
return e488.children && e488.children.length ? import_react5.default.createElement("xyd-code-linenumber", { className: "lyawwu4", style: { minWidth: "".concat(e488.width, "ch") } }, import_react5.default.createElement("span", { part: "line-number" }, e488.lineNumber), import_react5.default.createElement(jn, { merge: e488 })) : null;
|
|
119546
119546
|
}, Qn.Mark = function(e488) {
|
|
119547
119547
|
var t481, r325, a443, o237;
|
|
119548
|
-
return import_react5.default.createElement("xyd-code-mark", { "data-diff": (t481 = e488.annotation) !== null && t481 !== undefined && t481.diff ? "true" : undefined, "data-query": (r325 = e488.annotation) !== null && r325 !== undefined && r325.diff && (a443 = e488.annotation) !== null && a443 !== undefined && a443.query ? (o237 = e488.annotation) === null || o237 === undefined ? undefined : o237.query : undefined, "data-annotated": String(!!e488.annotation), className: "m1i5ism5" }, import_react5.default.createElement(
|
|
119548
|
+
return import_react5.default.createElement("xyd-code-mark", { "data-diff": (t481 = e488.annotation) !== null && t481 !== undefined && t481.diff ? "true" : undefined, "data-query": (r325 = e488.annotation) !== null && r325 !== undefined && r325.diff && (a443 = e488.annotation) !== null && a443 !== undefined && a443.query ? (o237 = e488.annotation) === null || o237 === undefined ? undefined : o237.query : undefined, "data-annotated": String(!!e488.annotation), className: "m1i5ism5" }, import_react5.default.createElement(jn, { part: "line", merge: e488 }));
|
|
119549
119549
|
}, Qn.MarkInline = function(e488) {
|
|
119550
119550
|
var t481, r325, a443, o237;
|
|
119551
119551
|
return import_react5.default.createElement("xyd-code-mark-inline", { "data-diff": (t481 = e488.annotation) !== null && t481 !== undefined && t481.diff ? "true" : undefined, "data-query": (r325 = e488.annotation) !== null && r325 !== undefined && r325.diff && (a443 = e488.annotation) !== null && a443 !== undefined && a443.query ? (o237 = e488.annotation) === null || o237 === undefined ? undefined : o237.query : undefined, className: "m1fnx2sm" }, e488.children);
|
|
@@ -119575,7 +119575,7 @@ var nt2 = { mark: { name: "mark", Line: function(e488) {
|
|
|
119575
119575
|
return [e488, E4(E4({}, e488), {}, { name: "mark", query: e488.query, diff: true })];
|
|
119576
119576
|
}, Line: function(e488) {
|
|
119577
119577
|
var t481 = e488.annotation, r325 = w2(e488, We2);
|
|
119578
|
-
return import_react5.default.createElement(import_react5.default.Fragment, null, import_react5.default.createElement("div", null, t481 == null ? undefined : t481.query), import_react5.default.createElement(
|
|
119578
|
+
return import_react5.default.createElement(import_react5.default.Fragment, null, import_react5.default.createElement("div", null, t481 == null ? undefined : t481.query), import_react5.default.createElement(jn, { merge: r325 }));
|
|
119579
119579
|
} } };
|
|
119580
119580
|
function tt2(e488) {
|
|
119581
119581
|
var r325 = e488.text, a443 = import_react5.useState(false), o237 = S2(a443, 2), i314 = o237[0], l52 = o237[1], c105 = $t();
|
|
@@ -119702,10 +119702,10 @@ function wt2(e488) {
|
|
|
119702
119702
|
return { value: String(e489.code || ""), lang: String(e489.language || ""), meta: String(e489.context || ""), highlighted: e489.highlighted };
|
|
119703
119703
|
})) || [];
|
|
119704
119704
|
}
|
|
119705
|
-
var
|
|
119705
|
+
var jt2 = "a1cqu14j";
|
|
119706
119706
|
function Ct2(e488) {
|
|
119707
119707
|
var t481 = e488.children;
|
|
119708
|
-
return import_react5.default.createElement("atlas-decorator", { className:
|
|
119708
|
+
return import_react5.default.createElement("atlas-decorator", { className: jt2 }, t481);
|
|
119709
119709
|
}
|
|
119710
119710
|
function _t2(e488) {
|
|
119711
119711
|
var t481;
|
|
@@ -119736,8 +119736,8 @@ function Rt2(n470) {
|
|
|
119736
119736
|
}))));
|
|
119737
119737
|
}), e487.createElement("br", null));
|
|
119738
119738
|
}
|
|
119739
|
-
var
|
|
119740
|
-
function
|
|
119739
|
+
var Bt2 = { track: function() {} };
|
|
119740
|
+
function At2(e488) {
|
|
119741
119741
|
var t481;
|
|
119742
119742
|
t481 = e488.kind === "secondary" ? Ot2 : _t2;
|
|
119743
119743
|
var r325 = e488.references;
|
|
@@ -119748,7 +119748,7 @@ function Bt2(e488) {
|
|
|
119748
119748
|
console.error("Error parsing references", e489);
|
|
119749
119749
|
}
|
|
119750
119750
|
var a443 = e488.analytics ? UXAnalytics : import_react5.default.Fragment;
|
|
119751
|
-
return import_react5.default.createElement(a443, { analytics:
|
|
119751
|
+
return import_react5.default.createElement(a443, { analytics: Bt2 }, import_react5.default.createElement(Ct2, null, import_react5.default.createElement("div", { className: "a5edgc7" }, import_react5.default.createElement(t481, { references: r325, apiRefItemKind: e488.apiRefItemKind }))));
|
|
119752
119752
|
}
|
|
119753
119753
|
|
|
119754
119754
|
// References.tsx
|
|
@@ -119762,7 +119762,7 @@ function References({
|
|
|
119762
119762
|
syntaxHighlight: null,
|
|
119763
119763
|
markdownFormat: true
|
|
119764
119764
|
},
|
|
119765
|
-
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(
|
|
119765
|
+
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(At2, {
|
|
119766
119766
|
kind: "primary",
|
|
119767
119767
|
references,
|
|
119768
119768
|
analytics: true
|
|
@@ -155153,7 +155153,7 @@ async function mcpLLMsResources(server, llmsSources) {
|
|
|
155153
155153
|
console.warn("Failed to add llms.txt resources:", error);
|
|
155154
155154
|
}
|
|
155155
155155
|
}
|
|
155156
|
-
// ../../node_modules/.pnpm/@langchain+openai@1.
|
|
155156
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/utils/errors.js
|
|
155157
155157
|
function addLangChainErrorFields(error, lc_error_code) {
|
|
155158
155158
|
error.lc_error_code = lc_error_code;
|
|
155159
155159
|
error.message = `${error.message}
|
|
@@ -160811,7 +160811,7 @@ var _deployments_endpoints = new Set([
|
|
|
160811
160811
|
"/batches",
|
|
160812
160812
|
"/images/edits"
|
|
160813
160813
|
]);
|
|
160814
|
-
// ../../node_modules/.pnpm/@langchain+openai@1.
|
|
160814
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/utils/client.js
|
|
160815
160815
|
function wrapOpenAIClientError(e488) {
|
|
160816
160816
|
if (!e488 || typeof e488 !== "object")
|
|
160817
160817
|
return e488;
|
|
@@ -160835,7 +160835,7 @@ function wrapOpenAIClientError(e488) {
|
|
|
160835
160835
|
return error2;
|
|
160836
160836
|
}
|
|
160837
160837
|
|
|
160838
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
160838
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/_virtual/rolldown_runtime.js
|
|
160839
160839
|
var __defProp2 = Object.defineProperty;
|
|
160840
160840
|
var __export2 = (target, all2) => {
|
|
160841
160841
|
for (var name in all2)
|
|
@@ -160845,7 +160845,7 @@ var __export2 = (target, all2) => {
|
|
|
160845
160845
|
});
|
|
160846
160846
|
};
|
|
160847
160847
|
|
|
160848
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
160848
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/content/data.js
|
|
160849
160849
|
function isDataContentBlock(content_block) {
|
|
160850
160850
|
return typeof content_block === "object" && content_block !== null && "type" in content_block && typeof content_block.type === "string" && "source_type" in content_block && (content_block.source_type === "url" || content_block.source_type === "base64" || content_block.source_type === "text" || content_block.source_type === "id");
|
|
160851
160851
|
}
|
|
@@ -160942,12 +160942,12 @@ function convertToProviderContentBlock(block2, converter) {
|
|
|
160942
160942
|
throw new Error(`Unable to convert content block type '${block2.type}' to provider-specific format: not recognized.`);
|
|
160943
160943
|
}
|
|
160944
160944
|
|
|
160945
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
160945
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/message.js
|
|
160946
160946
|
function isMessage(message) {
|
|
160947
160947
|
return typeof message === "object" && message !== null && "type" in message && "content" in message && (typeof message.content === "string" || Array.isArray(message.content));
|
|
160948
160948
|
}
|
|
160949
160949
|
|
|
160950
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
160950
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/load/map_keys.js
|
|
160951
160951
|
var import_decamelize = __toESM(require_decamelize(), 1);
|
|
160952
160952
|
var import_camelcase = __toESM(require_camelcase(), 1);
|
|
160953
160953
|
function keyToJson(key, map5) {
|
|
@@ -160961,7 +160961,7 @@ function mapKeys(fields, mapper, map5) {
|
|
|
160961
160961
|
return mapped;
|
|
160962
160962
|
}
|
|
160963
160963
|
|
|
160964
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
160964
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/load/serializable.js
|
|
160965
160965
|
var serializable_exports = {};
|
|
160966
160966
|
__export2(serializable_exports, {
|
|
160967
160967
|
Serializable: () => Serializable,
|
|
@@ -161076,7 +161076,7 @@ var Serializable = class Serializable2 {
|
|
|
161076
161076
|
}
|
|
161077
161077
|
};
|
|
161078
161078
|
|
|
161079
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
161079
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/block_translators/utils.js
|
|
161080
161080
|
function _isContentBlock(block2, type2) {
|
|
161081
161081
|
return _isObject(block2) && block2.type === type2;
|
|
161082
161082
|
}
|
|
@@ -161104,7 +161104,7 @@ function safeParseJson(value) {
|
|
|
161104
161104
|
}
|
|
161105
161105
|
var iife = (fn2) => fn2();
|
|
161106
161106
|
|
|
161107
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
161107
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.js
|
|
161108
161108
|
function convertAnthropicAnnotation(citation) {
|
|
161109
161109
|
if (citation.type === "char_location" && _isString(citation.document_title) && _isNumber(citation.start_char_index) && _isNumber(citation.end_char_index) && _isString(citation.cited_text)) {
|
|
161110
161110
|
const { document_title, start_char_index, end_char_index, cited_text, ...rest } = citation;
|
|
@@ -161420,7 +161420,7 @@ function _isAIMessageChunk(message) {
|
|
|
161420
161420
|
return typeof message?._getType === "function" && typeof message.concat === "function" && message._getType() === "ai";
|
|
161421
161421
|
}
|
|
161422
161422
|
|
|
161423
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
161423
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/block_translators/data.js
|
|
161424
161424
|
function convertToV1FromDataContentBlock(block2) {
|
|
161425
161425
|
if (isURLContentBlock(block2))
|
|
161426
161426
|
return {
|
|
@@ -161494,7 +161494,7 @@ function convertToV1FromOpenAIDataBlock(block2) {
|
|
|
161494
161494
|
return block2;
|
|
161495
161495
|
}
|
|
161496
161496
|
|
|
161497
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
161497
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/block_translators/openai.js
|
|
161498
161498
|
function convertToV1FromChatCompletions(message) {
|
|
161499
161499
|
const blocks = [];
|
|
161500
161500
|
if (typeof message.content === "string")
|
|
@@ -161731,7 +161731,7 @@ var ChatOpenAITranslator = {
|
|
|
161731
161731
|
}
|
|
161732
161732
|
};
|
|
161733
161733
|
|
|
161734
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
161734
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/format.js
|
|
161735
161735
|
function convertToFormattedString(message, format2 = "pretty") {
|
|
161736
161736
|
if (format2 === "pretty")
|
|
161737
161737
|
return convertToPrettyString(message);
|
|
@@ -161753,7 +161753,7 @@ function convertToPrettyString(message) {
|
|
|
161753
161753
|
lines.push(` Call ID: ${tc.id}`);
|
|
161754
161754
|
lines.push(" Args:");
|
|
161755
161755
|
for (const [key, value] of Object.entries(tc.args))
|
|
161756
|
-
lines.push(` ${key}: ${value}`);
|
|
161756
|
+
lines.push(` ${key}: ${typeof value === "object" ? JSON.stringify(value) : value}`);
|
|
161757
161757
|
}
|
|
161758
161758
|
}
|
|
161759
161759
|
}
|
|
@@ -161771,7 +161771,7 @@ function convertToPrettyString(message) {
|
|
|
161771
161771
|
`);
|
|
161772
161772
|
}
|
|
161773
161773
|
|
|
161774
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
161774
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/base.js
|
|
161775
161775
|
var MESSAGE_SYMBOL = Symbol.for("langchain.message");
|
|
161776
161776
|
function mergeContent(firstContent, secondContent) {
|
|
161777
161777
|
if (typeof firstContent === "string") {
|
|
@@ -162047,7 +162047,7 @@ function isBaseMessageChunk(messageLike) {
|
|
|
162047
162047
|
return BaseMessageChunk.isInstance(messageLike);
|
|
162048
162048
|
}
|
|
162049
162049
|
|
|
162050
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162050
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/metadata.js
|
|
162051
162051
|
function mergeResponseMetadata(a443, b8) {
|
|
162052
162052
|
const output = _mergeDicts(a443 ?? {}, b8 ?? {});
|
|
162053
162053
|
return output;
|
|
@@ -162090,7 +162090,7 @@ function mergeUsageMetadata(a443, b8) {
|
|
|
162090
162090
|
};
|
|
162091
162091
|
}
|
|
162092
162092
|
|
|
162093
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162093
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/tool.js
|
|
162094
162094
|
var tool_exports = {};
|
|
162095
162095
|
__export2(tool_exports, {
|
|
162096
162096
|
ToolMessage: () => ToolMessage,
|
|
@@ -162206,7 +162206,7 @@ function isToolMessageChunk(x4) {
|
|
|
162206
162206
|
return x4._getType() === "tool";
|
|
162207
162207
|
}
|
|
162208
162208
|
|
|
162209
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162209
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/chat.js
|
|
162210
162210
|
var ChatMessage = class ChatMessage2 extends BaseMessage {
|
|
162211
162211
|
static lc_name() {
|
|
162212
162212
|
return "ChatMessage";
|
|
@@ -162277,7 +162277,7 @@ function isChatMessageChunk(x4) {
|
|
|
162277
162277
|
return x4._getType() === "generic";
|
|
162278
162278
|
}
|
|
162279
162279
|
|
|
162280
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162280
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/function.js
|
|
162281
162281
|
var FunctionMessage = class extends BaseMessage {
|
|
162282
162282
|
static lc_name() {
|
|
162283
162283
|
return "FunctionMessage";
|
|
@@ -162312,7 +162312,7 @@ function isFunctionMessageChunk(x4) {
|
|
|
162312
162312
|
return x4._getType() === "function";
|
|
162313
162313
|
}
|
|
162314
162314
|
|
|
162315
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162315
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/human.js
|
|
162316
162316
|
var HumanMessage = class extends BaseMessage {
|
|
162317
162317
|
static lc_name() {
|
|
162318
162318
|
return "HumanMessage";
|
|
@@ -162353,7 +162353,7 @@ function isHumanMessageChunk(x4) {
|
|
|
162353
162353
|
return x4.getType() === "human";
|
|
162354
162354
|
}
|
|
162355
162355
|
|
|
162356
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162356
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/modifier.js
|
|
162357
162357
|
var RemoveMessage = class extends BaseMessage {
|
|
162358
162358
|
type = "remove";
|
|
162359
162359
|
id;
|
|
@@ -162375,7 +162375,7 @@ var RemoveMessage = class extends BaseMessage {
|
|
|
162375
162375
|
}
|
|
162376
162376
|
};
|
|
162377
162377
|
|
|
162378
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162378
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/system.js
|
|
162379
162379
|
var SystemMessage = class SystemMessage2 extends BaseMessage {
|
|
162380
162380
|
static lc_name() {
|
|
162381
162381
|
return "SystemMessage";
|
|
@@ -162437,7 +162437,7 @@ function isSystemMessageChunk(x4) {
|
|
|
162437
162437
|
return x4._getType() === "system";
|
|
162438
162438
|
}
|
|
162439
162439
|
|
|
162440
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162440
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/errors/index.js
|
|
162441
162441
|
function addLangChainErrorFields2(error2, lc_error_code) {
|
|
162442
162442
|
error2.lc_error_code = lc_error_code;
|
|
162443
162443
|
error2.message = `${error2.message}
|
|
@@ -162447,7 +162447,7 @@ Troubleshooting URL: https://docs.langchain.com/oss/javascript/langchain/errors/
|
|
|
162447
162447
|
return error2;
|
|
162448
162448
|
}
|
|
162449
162449
|
|
|
162450
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162450
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tools/utils.js
|
|
162451
162451
|
function _isToolCall(toolCall) {
|
|
162452
162452
|
return !!(toolCall && typeof toolCall === "object" && ("type" in toolCall) && toolCall.type === "tool_call");
|
|
162453
162453
|
}
|
|
@@ -162462,7 +162462,7 @@ var ToolInputParsingException = class extends Error {
|
|
|
162462
162462
|
}
|
|
162463
162463
|
};
|
|
162464
162464
|
|
|
162465
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162465
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/json.js
|
|
162466
162466
|
function parseJsonMarkdown(s187, parser = parsePartialJson) {
|
|
162467
162467
|
s187 = s187.trim();
|
|
162468
162468
|
const firstFenceIndex = s187.indexOf("```");
|
|
@@ -162709,7 +162709,7 @@ function parsePartialJson(s187) {
|
|
|
162709
162709
|
}
|
|
162710
162710
|
}
|
|
162711
162711
|
|
|
162712
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162712
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.js
|
|
162713
162713
|
function convertFileFormatToMimeType(format2) {
|
|
162714
162714
|
switch (format2) {
|
|
162715
162715
|
case "csv":
|
|
@@ -162953,7 +162953,7 @@ var ChatBedrockConverseTranslator = {
|
|
|
162953
162953
|
translateContentChunk: convertToV1FromChatBedrockConverseMessage
|
|
162954
162954
|
};
|
|
162955
162955
|
|
|
162956
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
162956
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.js
|
|
162957
162957
|
function convertToV1FromChatGoogleMessage(message) {
|
|
162958
162958
|
function* iterateContent() {
|
|
162959
162959
|
const content3 = typeof message.content === "string" ? [{
|
|
@@ -163021,7 +163021,7 @@ var ChatGoogleGenAITranslator = {
|
|
|
163021
163021
|
translateContentChunk: convertToV1FromChatGoogleMessage
|
|
163022
163022
|
};
|
|
163023
163023
|
|
|
163024
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
163024
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.js
|
|
163025
163025
|
function convertToV1FromChatVertexMessage(message) {
|
|
163026
163026
|
function* iterateContent() {
|
|
163027
163027
|
const content3 = typeof message.content === "string" ? [{
|
|
@@ -163097,7 +163097,7 @@ var ChatVertexTranslator = {
|
|
|
163097
163097
|
translateContentChunk: convertToV1FromChatVertexMessage
|
|
163098
163098
|
};
|
|
163099
163099
|
|
|
163100
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
163100
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/block_translators/index.js
|
|
163101
163101
|
globalThis.lc_block_translators_registry ??= new Map([
|
|
163102
163102
|
["anthropic", ChatAnthropicTranslator],
|
|
163103
163103
|
["bedrock-converse", ChatBedrockConverseTranslator],
|
|
@@ -163109,7 +163109,7 @@ function getTranslator(modelProvider) {
|
|
|
163109
163109
|
return globalThis.lc_block_translators_registry.get(modelProvider);
|
|
163110
163110
|
}
|
|
163111
163111
|
|
|
163112
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
163112
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/ai.js
|
|
163113
163113
|
var AIMessage = class extends BaseMessage {
|
|
163114
163114
|
type = "ai";
|
|
163115
163115
|
tool_calls = [];
|
|
@@ -163330,7 +163330,7 @@ var AIMessageChunk = class extends BaseMessageChunk {
|
|
|
163330
163330
|
}
|
|
163331
163331
|
};
|
|
163332
163332
|
|
|
163333
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
163333
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/utils.js
|
|
163334
163334
|
var iife2 = (fn2) => fn2();
|
|
163335
163335
|
function _coerceToolCall(toolCall) {
|
|
163336
163336
|
if (_isToolCall(toolCall))
|
|
@@ -163579,7 +163579,7 @@ function collapseToolCallChunks(chunks) {
|
|
|
163579
163579
|
};
|
|
163580
163580
|
}
|
|
163581
163581
|
|
|
163582
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
163582
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/singletons/async_local_storage/globals.js
|
|
163583
163583
|
var TRACING_ALS_KEY = Symbol.for("ls:tracing_async_local_storage");
|
|
163584
163584
|
var _CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
|
|
163585
163585
|
var setGlobalAsyncLocalStorageInstance = (instance) => {
|
|
@@ -163589,7 +163589,7 @@ var getGlobalAsyncLocalStorageInstance = () => {
|
|
|
163589
163589
|
return globalThis[TRACING_ALS_KEY];
|
|
163590
163590
|
};
|
|
163591
163591
|
|
|
163592
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
163592
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/env.js
|
|
163593
163593
|
var env_exports = {};
|
|
163594
163594
|
__export2(env_exports, {
|
|
163595
163595
|
getEnv: () => getEnv,
|
|
@@ -163663,7 +163663,7 @@ var validate2 = import_dist.default.validate;
|
|
|
163663
163663
|
var stringify4 = import_dist.default.stringify;
|
|
163664
163664
|
var parse7 = import_dist.default.parse;
|
|
163665
163665
|
|
|
163666
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
163666
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/callbacks/base.js
|
|
163667
163667
|
var base_exports = {};
|
|
163668
163668
|
__export2(base_exports, {
|
|
163669
163669
|
BaseCallbackHandler: () => BaseCallbackHandler,
|
|
@@ -163735,7 +163735,7 @@ var BaseCallbackHandler = class extends BaseCallbackHandlerMethodsClass {
|
|
|
163735
163735
|
static fromMethods(methods) {
|
|
163736
163736
|
|
|
163737
163737
|
class Handler extends BaseCallbackHandler {
|
|
163738
|
-
name =
|
|
163738
|
+
name = v7();
|
|
163739
163739
|
constructor() {
|
|
163740
163740
|
super();
|
|
163741
163741
|
Object.assign(this, methods);
|
|
@@ -163749,7 +163749,7 @@ var isBaseCallbackHandler = (x4) => {
|
|
|
163749
163749
|
return callbackHandler !== undefined && typeof callbackHandler.copy === "function" && typeof callbackHandler.name === "string" && typeof callbackHandler.awaitHandlers === "boolean";
|
|
163750
163750
|
};
|
|
163751
163751
|
|
|
163752
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
163752
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.js
|
|
163753
163753
|
var GEN_AI_OPERATION_NAME = "gen_ai.operation.name";
|
|
163754
163754
|
var GEN_AI_SYSTEM = "gen_ai.system";
|
|
163755
163755
|
var GEN_AI_REQUEST_MODEL = "gen_ai.request.model";
|
|
@@ -163783,7 +163783,7 @@ var LANGSMITH_METADATA = "langsmith.metadata";
|
|
|
163783
163783
|
var LANGSMITH_TAGS = "langsmith.span.tags";
|
|
163784
163784
|
var LANGSMITH_REQUEST_STREAMING = "langsmith.request.streaming";
|
|
163785
163785
|
var LANGSMITH_REQUEST_HEADERS = "langsmith.request.headers";
|
|
163786
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
163786
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.js
|
|
163787
163787
|
var DEFAULT_FETCH_IMPLEMENTATION = (...args) => fetch(...args);
|
|
163788
163788
|
var LANGSMITH_FETCH_IMPLEMENTATION_KEY = Symbol.for("ls:fetch_implementation");
|
|
163789
163789
|
var _globalFetchImplementationIsNodeFetch = () => {
|
|
@@ -163805,11 +163805,11 @@ var _getFetchImplementation = (debug2) => {
|
|
|
163805
163805
|
return res;
|
|
163806
163806
|
};
|
|
163807
163807
|
};
|
|
163808
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
163808
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/project.js
|
|
163809
163809
|
var getDefaultProjectName = () => {
|
|
163810
163810
|
return getLangSmithEnvironmentVariable("PROJECT") ?? getEnvironmentVariable2("LANGCHAIN_SESSION") ?? "default";
|
|
163811
163811
|
};
|
|
163812
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
163812
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/warn.js
|
|
163813
163813
|
var warnedMessages = {};
|
|
163814
163814
|
function warnOnce(message) {
|
|
163815
163815
|
if (!warnedMessages[message]) {
|
|
@@ -163818,7 +163818,7 @@ function warnOnce(message) {
|
|
|
163818
163818
|
}
|
|
163819
163819
|
}
|
|
163820
163820
|
|
|
163821
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
163821
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.js
|
|
163822
163822
|
var UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
163823
163823
|
function assertUuid(str3, which) {
|
|
163824
163824
|
if (!UUID_REGEX.test(str3)) {
|
|
@@ -163831,10 +163831,10 @@ function uuid7FromTime(timestamp2) {
|
|
|
163831
163831
|
const msecs = typeof timestamp2 === "string" ? Date.parse(timestamp2) : timestamp2;
|
|
163832
163832
|
return v7({ msecs, seq: 0 });
|
|
163833
163833
|
}
|
|
163834
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
163835
|
-
var __version__ = "0.3.
|
|
163834
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/index.js
|
|
163835
|
+
var __version__ = "0.3.87";
|
|
163836
163836
|
|
|
163837
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
163837
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/env.js
|
|
163838
163838
|
var globalEnv;
|
|
163839
163839
|
var isBrowser2 = () => typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
163840
163840
|
var isWebWorker2 = () => typeof globalThis === "object" && globalThis.constructor && globalThis.constructor.name === "DedicatedWorkerGlobalScope";
|
|
@@ -163970,7 +163970,7 @@ function getOtelEnabled() {
|
|
|
163970
163970
|
return getEnvironmentVariable2("OTEL_ENABLED") === "true" || getLangSmithEnvironmentVariable("OTEL_ENABLED") === "true";
|
|
163971
163971
|
}
|
|
163972
163972
|
|
|
163973
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
163973
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.js
|
|
163974
163974
|
class MockTracer {
|
|
163975
163975
|
constructor() {
|
|
163976
163976
|
Object.defineProperty(this, "hasWarned", {
|
|
@@ -164079,7 +164079,7 @@ function getDefaultOTLPTracerComponents() {
|
|
|
164079
164079
|
return OTELProviderSingleton.getDefaultOTLPTracerComponents();
|
|
164080
164080
|
}
|
|
164081
164081
|
|
|
164082
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
164082
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.js
|
|
164083
164083
|
var WELL_KNOWN_OPERATION_NAMES = {
|
|
164084
164084
|
llm: "chat",
|
|
164085
164085
|
tool: "execute_tool",
|
|
@@ -164419,7 +164419,7 @@ class LangSmithToOTELTranslator {
|
|
|
164419
164419
|
}
|
|
164420
164420
|
}
|
|
164421
164421
|
|
|
164422
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
164422
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/is-network-error/index.js
|
|
164423
164423
|
var objectToString = Object.prototype.toString;
|
|
164424
164424
|
var isError = (value) => objectToString.call(value) === "[object Error]";
|
|
164425
164425
|
var errorMessages = new Set([
|
|
@@ -164448,7 +164448,7 @@ function isNetworkError(error2) {
|
|
|
164448
164448
|
return errorMessages.has(message);
|
|
164449
164449
|
}
|
|
164450
164450
|
|
|
164451
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
164451
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/p-retry/index.js
|
|
164452
164452
|
function validateRetries(retries) {
|
|
164453
164453
|
if (typeof retries === "number") {
|
|
164454
164454
|
if (retries < 0) {
|
|
@@ -164621,7 +164621,7 @@ async function pRetry(input, options = {}) {
|
|
|
164621
164621
|
throw new Error("Retry attempts exhausted without throwing an error.");
|
|
164622
164622
|
}
|
|
164623
164623
|
|
|
164624
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
164624
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.js
|
|
164625
164625
|
var import_p_queue = __toESM(require_dist3(), 1);
|
|
164626
164626
|
var STATUS_RETRYABLE = [
|
|
164627
164627
|
408,
|
|
@@ -164745,7 +164745,7 @@ class AsyncCaller {
|
|
|
164745
164745
|
}
|
|
164746
164746
|
}
|
|
164747
164747
|
|
|
164748
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
164748
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/messages.js
|
|
164749
164749
|
function isLangChainMessage(message) {
|
|
164750
164750
|
return typeof message?._getType === "function";
|
|
164751
164751
|
}
|
|
@@ -164760,7 +164760,7 @@ function convertLangChainMessageToExample(message) {
|
|
|
164760
164760
|
return converted;
|
|
164761
164761
|
}
|
|
164762
164762
|
|
|
164763
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
164763
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.js
|
|
164764
164764
|
var import_semver = __toESM(require_semver2(), 1);
|
|
164765
164765
|
function parsePromptIdentifier(identifier) {
|
|
164766
164766
|
if (!identifier || identifier.split("/").length > 2 || identifier.startsWith("/") || identifier.endsWith("/") || identifier.split(":").length > 2) {
|
|
@@ -164782,7 +164782,7 @@ function parsePromptIdentifier(identifier) {
|
|
|
164782
164782
|
}
|
|
164783
164783
|
}
|
|
164784
164784
|
|
|
164785
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
164785
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/error.js
|
|
164786
164786
|
class LangSmithConflictError extends Error {
|
|
164787
164787
|
constructor(message) {
|
|
164788
164788
|
super(message);
|
|
@@ -164850,7 +164850,7 @@ function isConflictingEndpointsError(err) {
|
|
|
164850
164850
|
return typeof err === "object" && err !== null && err.code === ERR_CONFLICTING_ENDPOINTS;
|
|
164851
164851
|
}
|
|
164852
164852
|
|
|
164853
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
164853
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js
|
|
164854
164854
|
var LIMIT_REPLACE_NODE = "[...]";
|
|
164855
164855
|
var CIRCULAR_REPLACE_NODE = { result: "[Circular]" };
|
|
164856
164856
|
var arr = [];
|
|
@@ -165002,8 +165002,11 @@ function replaceGetterValues(replacer) {
|
|
|
165002
165002
|
};
|
|
165003
165003
|
}
|
|
165004
165004
|
|
|
165005
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
165006
|
-
function mergeRuntimeEnvIntoRun(run, cachedEnvVars) {
|
|
165005
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/client.js
|
|
165006
|
+
function mergeRuntimeEnvIntoRun(run, cachedEnvVars, omitTracedRuntimeInfo) {
|
|
165007
|
+
if (omitTracedRuntimeInfo) {
|
|
165008
|
+
return run;
|
|
165009
|
+
}
|
|
165007
165010
|
const runtimeEnv = getRuntimeEnvironment2();
|
|
165008
165011
|
const envVars = cachedEnvVars ?? getLangSmithEnvVarsMetadata();
|
|
165009
165012
|
const extra = run.extra ?? {};
|
|
@@ -165223,6 +165226,12 @@ class Client {
|
|
|
165223
165226
|
writable: true,
|
|
165224
165227
|
value: undefined
|
|
165225
165228
|
});
|
|
165229
|
+
Object.defineProperty(this, "omitTracedRuntimeInfo", {
|
|
165230
|
+
enumerable: true,
|
|
165231
|
+
configurable: true,
|
|
165232
|
+
writable: true,
|
|
165233
|
+
value: undefined
|
|
165234
|
+
});
|
|
165226
165235
|
Object.defineProperty(this, "tracingSampleRate", {
|
|
165227
165236
|
enumerable: true,
|
|
165228
165237
|
configurable: true,
|
|
@@ -165378,6 +165387,7 @@ class Client {
|
|
|
165378
165387
|
});
|
|
165379
165388
|
this.hideInputs = config.hideInputs ?? config.anonymizer ?? defaultConfig.hideInputs;
|
|
165380
165389
|
this.hideOutputs = config.hideOutputs ?? config.anonymizer ?? defaultConfig.hideOutputs;
|
|
165390
|
+
this.omitTracedRuntimeInfo = config.omitTracedRuntimeInfo ?? false;
|
|
165381
165391
|
this.autoBatchTracing = config.autoBatchTracing ?? this.autoBatchTracing;
|
|
165382
165392
|
this.autoBatchQueue = new AutoBatchQueue(maxMemory);
|
|
165383
165393
|
this.blockOnRootRunFinalization = config.blockOnRootRunFinalization ?? this.blockOnRootRunFinalization;
|
|
@@ -165708,7 +165718,7 @@ class Client {
|
|
|
165708
165718
|
async processRunOperation(item) {
|
|
165709
165719
|
clearTimeout(this.autoBatchTimeout);
|
|
165710
165720
|
this.autoBatchTimeout = undefined;
|
|
165711
|
-
item.item = mergeRuntimeEnvIntoRun(item.item, this.cachedLSEnvVarsForMetadata);
|
|
165721
|
+
item.item = mergeRuntimeEnvIntoRun(item.item, this.cachedLSEnvVarsForMetadata, this.omitTracedRuntimeInfo);
|
|
165712
165722
|
const itemPromise = this.autoBatchQueue.push(item);
|
|
165713
165723
|
if (this.manualFlushMode) {
|
|
165714
165724
|
return itemPromise;
|
|
@@ -165823,7 +165833,7 @@ class Client {
|
|
|
165823
165833
|
}).catch(console.error);
|
|
165824
165834
|
return;
|
|
165825
165835
|
}
|
|
165826
|
-
const mergedRunCreateParam = mergeRuntimeEnvIntoRun(runCreate, this.cachedLSEnvVarsForMetadata);
|
|
165836
|
+
const mergedRunCreateParam = mergeRuntimeEnvIntoRun(runCreate, this.cachedLSEnvVarsForMetadata, this.omitTracedRuntimeInfo);
|
|
165827
165837
|
if (options?.apiKey !== undefined) {
|
|
165828
165838
|
headers["x-api-key"] = options.apiKey;
|
|
165829
165839
|
}
|
|
@@ -167311,6 +167321,39 @@ Message: ${Array.isArray(result.detail) ? result.detail.join(`
|
|
|
167311
167321
|
return res;
|
|
167312
167322
|
});
|
|
167313
167323
|
}
|
|
167324
|
+
async deleteExamples(exampleIds, options) {
|
|
167325
|
+
exampleIds.forEach((id) => assertUuid(id));
|
|
167326
|
+
if (options?.hardDelete) {
|
|
167327
|
+
const path5 = this._getPlatformEndpointPath("datasets/examples/delete");
|
|
167328
|
+
await this.caller.call(async () => {
|
|
167329
|
+
const res = await this._fetch(`${this.apiUrl}${path5}`, {
|
|
167330
|
+
method: "POST",
|
|
167331
|
+
headers: { ...this.headers, "Content-Type": "application/json" },
|
|
167332
|
+
body: JSON.stringify({
|
|
167333
|
+
example_ids: exampleIds,
|
|
167334
|
+
hard_delete: true
|
|
167335
|
+
}),
|
|
167336
|
+
signal: AbortSignal.timeout(this.timeout_ms),
|
|
167337
|
+
...this.fetchOptions
|
|
167338
|
+
});
|
|
167339
|
+
await raiseForStatus(res, "hard delete examples", true);
|
|
167340
|
+
return res;
|
|
167341
|
+
});
|
|
167342
|
+
} else {
|
|
167343
|
+
const params2 = new URLSearchParams;
|
|
167344
|
+
exampleIds.forEach((id) => params2.append("example_ids", id));
|
|
167345
|
+
await this.caller.call(async () => {
|
|
167346
|
+
const res = await this._fetch(`${this.apiUrl}/examples?${params2.toString()}`, {
|
|
167347
|
+
method: "DELETE",
|
|
167348
|
+
headers: this.headers,
|
|
167349
|
+
signal: AbortSignal.timeout(this.timeout_ms),
|
|
167350
|
+
...this.fetchOptions
|
|
167351
|
+
});
|
|
167352
|
+
await raiseForStatus(res, "delete examples", true);
|
|
167353
|
+
return res;
|
|
167354
|
+
});
|
|
167355
|
+
}
|
|
167356
|
+
}
|
|
167314
167357
|
async updateExample(exampleIdOrUpdate, update) {
|
|
167315
167358
|
let exampleId;
|
|
167316
167359
|
if (update) {
|
|
@@ -168319,7 +168362,7 @@ function isExampleCreate(input) {
|
|
|
168319
168362
|
return "dataset_id" in input || "dataset_name" in input;
|
|
168320
168363
|
}
|
|
168321
168364
|
|
|
168322
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
168365
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/env.js
|
|
168323
168366
|
var isTracingEnabled = (tracingEnabled) => {
|
|
168324
168367
|
if (tracingEnabled !== undefined) {
|
|
168325
168368
|
return tracingEnabled;
|
|
@@ -168328,11 +168371,11 @@ var isTracingEnabled = (tracingEnabled) => {
|
|
|
168328
168371
|
return !!envVars.find((envVar) => getLangSmithEnvironmentVariable(envVar) === "true");
|
|
168329
168372
|
};
|
|
168330
168373
|
|
|
168331
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
168374
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.js
|
|
168332
168375
|
var _LC_CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
|
|
168333
168376
|
var _REPLICA_TRACE_ROOTS_KEY = Symbol.for("langsmith:replica_trace_roots");
|
|
168334
168377
|
|
|
168335
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
168378
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/utils/context_vars.js
|
|
168336
168379
|
function getContextVar(runTree, key) {
|
|
168337
168380
|
if (_LC_CONTEXT_VARIABLES_KEY in runTree) {
|
|
168338
168381
|
const contextVars = runTree[_LC_CONTEXT_VARIABLES_KEY];
|
|
@@ -168346,7 +168389,7 @@ function setContextVar(runTree, key, value) {
|
|
|
168346
168389
|
runTree[_LC_CONTEXT_VARIABLES_KEY] = contextVars;
|
|
168347
168390
|
}
|
|
168348
168391
|
|
|
168349
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
168392
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/run_trees.js
|
|
168350
168393
|
var TIMESTAMP_LENGTH = 36;
|
|
168351
168394
|
var UUID_NAMESPACE_DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
168352
168395
|
function getReplicaKey(replica) {
|
|
@@ -169127,7 +169170,8 @@ function isCallbackManagerLike(x4) {
|
|
|
169127
169170
|
return typeof x4 === "object" && x4 != null && Array.isArray(x4.handlers);
|
|
169128
169171
|
}
|
|
169129
169172
|
function isRunnableConfigLike(x4) {
|
|
169130
|
-
|
|
169173
|
+
const callbacks = x4?.callbacks;
|
|
169174
|
+
return x4 != null && typeof callbacks === "object" && (containsLangChainTracerLike(callbacks?.handlers) || containsLangChainTracerLike(callbacks));
|
|
169131
169175
|
}
|
|
169132
169176
|
function _getWriteReplicasFromEnv() {
|
|
169133
169177
|
const envVar = getEnvironmentVariable2("LANGSMITH_RUNS_ENDPOINTS");
|
|
@@ -169203,7 +169247,7 @@ function _checkEndpointEnvUnset(parsed) {
|
|
|
169203
169247
|
throw new ConflictingEndpointsError;
|
|
169204
169248
|
}
|
|
169205
169249
|
}
|
|
169206
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169250
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tracers/base.js
|
|
169207
169251
|
var base_exports2 = {};
|
|
169208
169252
|
__export2(base_exports2, {
|
|
169209
169253
|
BaseTracer: () => BaseTracer,
|
|
@@ -169268,7 +169312,7 @@ ${error2.stack}` : "");
|
|
|
169268
169312
|
const { dottedOrder: currentDottedOrder, microsecondPrecisionDatestring } = convertToDottedOrderFormat(new Date(run.start_time).getTime(), run.id, run.execution_order);
|
|
169269
169313
|
const storedRun = { ...run };
|
|
169270
169314
|
const parentRun = this.getRunById(storedRun.parent_run_id);
|
|
169271
|
-
if (storedRun.parent_run_id !== undefined)
|
|
169315
|
+
if (storedRun.parent_run_id !== undefined)
|
|
169272
169316
|
if (parentRun) {
|
|
169273
169317
|
this._addChildRun(parentRun, storedRun);
|
|
169274
169318
|
parentRun.child_execution_order = Math.max(parentRun.child_execution_order, storedRun.child_execution_order);
|
|
@@ -169277,8 +169321,9 @@ ${error2.stack}` : "");
|
|
|
169277
169321
|
storedRun.dotted_order = [parentRun.dotted_order, currentDottedOrder].join(".");
|
|
169278
169322
|
storedRun._serialized_start_time = microsecondPrecisionDatestring;
|
|
169279
169323
|
}
|
|
169280
|
-
}
|
|
169281
|
-
|
|
169324
|
+
} else
|
|
169325
|
+
storedRun.parent_run_id = undefined;
|
|
169326
|
+
else {
|
|
169282
169327
|
storedRun.trace_id = storedRun.id;
|
|
169283
169328
|
storedRun.dotted_order = currentDottedOrder;
|
|
169284
169329
|
storedRun._serialized_start_time = microsecondPrecisionDatestring;
|
|
@@ -169640,7 +169685,7 @@ ${error2.stack}` : "");
|
|
|
169640
169685
|
}
|
|
169641
169686
|
};
|
|
169642
169687
|
|
|
169643
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169688
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tracers/console.js
|
|
169644
169689
|
var import_ansi_styles = __toESM(require_ansi_styles(), 1);
|
|
169645
169690
|
var console_exports = {};
|
|
169646
169691
|
__export2(console_exports, { ConsoleCallbackHandler: () => ConsoleCallbackHandler });
|
|
@@ -169751,7 +169796,7 @@ var ConsoleCallbackHandler = class extends BaseTracer {
|
|
|
169751
169796
|
console.log(`${wrap3(color2.blue, "[agent/action]")} [${crumbs}] Agent selected action: ${tryJsonStringify(agentRun.actions[agentRun.actions.length - 1], "[action]")}`);
|
|
169752
169797
|
}
|
|
169753
169798
|
};
|
|
169754
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169799
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/singletons/tracer.js
|
|
169755
169800
|
var client;
|
|
169756
169801
|
var getDefaultLangChainClientSingleton = () => {
|
|
169757
169802
|
if (client === undefined) {
|
|
@@ -169761,7 +169806,7 @@ var getDefaultLangChainClientSingleton = () => {
|
|
|
169761
169806
|
return client;
|
|
169762
169807
|
};
|
|
169763
169808
|
|
|
169764
|
-
// ../../node_modules/.pnpm/langsmith@0.3.
|
|
169809
|
+
// ../../node_modules/.pnpm/langsmith@0.3.87_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/langsmith/dist/singletons/traceable.js
|
|
169765
169810
|
class MockAsyncLocalStorage {
|
|
169766
169811
|
getStore() {
|
|
169767
169812
|
return;
|
|
@@ -169797,7 +169842,7 @@ var ROOT = Symbol.for("langsmith:traceable:root");
|
|
|
169797
169842
|
function isTraceableFunction(x4) {
|
|
169798
169843
|
return typeof x4 === "function" && "langsmith:traceable" in x4;
|
|
169799
169844
|
}
|
|
169800
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169845
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tracers/tracer_langchain.js
|
|
169801
169846
|
var tracer_langchain_exports = {};
|
|
169802
169847
|
__export2(tracer_langchain_exports, { LangChainTracer: () => LangChainTracer });
|
|
169803
169848
|
var LangChainTracer = class LangChainTracer2 extends BaseTracer {
|
|
@@ -169880,7 +169925,7 @@ var LangChainTracer = class LangChainTracer2 extends BaseTracer {
|
|
|
169880
169925
|
}
|
|
169881
169926
|
};
|
|
169882
169927
|
|
|
169883
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169928
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/singletons/callbacks.js
|
|
169884
169929
|
var import_p_queue2 = __toESM(require_dist3(), 1);
|
|
169885
169930
|
var queue;
|
|
169886
169931
|
function createQueue() {
|
|
@@ -169918,14 +169963,14 @@ async function awaitAllCallbacks() {
|
|
|
169918
169963
|
await Promise.allSettled([typeof queue !== "undefined" ? queue.onIdle() : Promise.resolve(), defaultClient.awaitPendingTraceBatches()]);
|
|
169919
169964
|
}
|
|
169920
169965
|
|
|
169921
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169966
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/callbacks/promises.js
|
|
169922
169967
|
var promises_exports = {};
|
|
169923
169968
|
__export2(promises_exports, {
|
|
169924
169969
|
awaitAllCallbacks: () => awaitAllCallbacks,
|
|
169925
169970
|
consumeCallback: () => consumeCallback
|
|
169926
169971
|
});
|
|
169927
169972
|
|
|
169928
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169973
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/callbacks.js
|
|
169929
169974
|
var isTracingEnabled2 = (tracingEnabled) => {
|
|
169930
169975
|
if (tracingEnabled !== undefined)
|
|
169931
169976
|
return tracingEnabled;
|
|
@@ -169938,7 +169983,7 @@ var isTracingEnabled2 = (tracingEnabled) => {
|
|
|
169938
169983
|
return !!envVars.find((envVar) => getEnvironmentVariable(envVar) === "true");
|
|
169939
169984
|
};
|
|
169940
169985
|
|
|
169941
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169986
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/singletons/async_local_storage/context.js
|
|
169942
169987
|
function getContextVariable(name) {
|
|
169943
169988
|
const asyncLocalStorageInstance = getGlobalAsyncLocalStorageInstance();
|
|
169944
169989
|
if (asyncLocalStorageInstance === undefined)
|
|
@@ -169949,7 +169994,7 @@ function getContextVariable(name) {
|
|
|
169949
169994
|
var LC_CONFIGURE_HOOKS_KEY = Symbol("lc:configure_hooks");
|
|
169950
169995
|
var _getConfigureHooks = () => getContextVariable(LC_CONFIGURE_HOOKS_KEY) || [];
|
|
169951
169996
|
|
|
169952
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
169997
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/callbacks/manager.js
|
|
169953
169998
|
var manager_exports = {};
|
|
169954
169999
|
__export2(manager_exports, {
|
|
169955
170000
|
BaseCallbackManager: () => BaseCallbackManager,
|
|
@@ -170219,7 +170264,7 @@ var CallbackManager = class CallbackManager2 extends BaseCallbackManager {
|
|
|
170219
170264
|
}
|
|
170220
170265
|
async handleLLMStart(llm, prompts, runId = undefined, _parentRunId = undefined, extraParams = undefined, _tags = undefined, _metadata = undefined, runName = undefined) {
|
|
170221
170266
|
return Promise.all(prompts.map(async (prompt, idx) => {
|
|
170222
|
-
const runId_ = idx === 0 && runId ? runId :
|
|
170267
|
+
const runId_ = idx === 0 && runId ? runId : v7();
|
|
170223
170268
|
await Promise.all(this.handlers.map((handler) => {
|
|
170224
170269
|
if (handler.ignoreLLM)
|
|
170225
170270
|
return;
|
|
@@ -170241,7 +170286,7 @@ var CallbackManager = class CallbackManager2 extends BaseCallbackManager {
|
|
|
170241
170286
|
}
|
|
170242
170287
|
async handleChatModelStart(llm, messages, runId = undefined, _parentRunId = undefined, extraParams = undefined, _tags = undefined, _metadata = undefined, runName = undefined) {
|
|
170243
170288
|
return Promise.all(messages.map(async (messageGroup, idx) => {
|
|
170244
|
-
const runId_ = idx === 0 && runId ? runId :
|
|
170289
|
+
const runId_ = idx === 0 && runId ? runId : v7();
|
|
170245
170290
|
await Promise.all(this.handlers.map((handler) => {
|
|
170246
170291
|
if (handler.ignoreLLM)
|
|
170247
170292
|
return;
|
|
@@ -170266,7 +170311,7 @@ var CallbackManager = class CallbackManager2 extends BaseCallbackManager {
|
|
|
170266
170311
|
return new CallbackManagerForLLMRun(runId_, this.handlers, this.inheritableHandlers, this.tags, this.inheritableTags, this.metadata, this.inheritableMetadata, this._parentRunId);
|
|
170267
170312
|
}));
|
|
170268
170313
|
}
|
|
170269
|
-
async handleChainStart(chain, inputs, runId =
|
|
170314
|
+
async handleChainStart(chain, inputs, runId = v7(), runType = undefined, _tags = undefined, _metadata = undefined, runName = undefined) {
|
|
170270
170315
|
await Promise.all(this.handlers.map((handler) => {
|
|
170271
170316
|
if (handler.ignoreChain)
|
|
170272
170317
|
return;
|
|
@@ -170285,7 +170330,7 @@ var CallbackManager = class CallbackManager2 extends BaseCallbackManager {
|
|
|
170285
170330
|
}));
|
|
170286
170331
|
return new CallbackManagerForChainRun(runId, this.handlers, this.inheritableHandlers, this.tags, this.inheritableTags, this.metadata, this.inheritableMetadata, this._parentRunId);
|
|
170287
170332
|
}
|
|
170288
|
-
async handleToolStart(tool, input, runId =
|
|
170333
|
+
async handleToolStart(tool, input, runId = v7(), _parentRunId = undefined, _tags = undefined, _metadata = undefined, runName = undefined) {
|
|
170289
170334
|
await Promise.all(this.handlers.map((handler) => {
|
|
170290
170335
|
if (handler.ignoreAgent)
|
|
170291
170336
|
return;
|
|
@@ -170304,7 +170349,7 @@ var CallbackManager = class CallbackManager2 extends BaseCallbackManager {
|
|
|
170304
170349
|
}));
|
|
170305
170350
|
return new CallbackManagerForToolRun(runId, this.handlers, this.inheritableHandlers, this.tags, this.inheritableTags, this.metadata, this.inheritableMetadata, this._parentRunId);
|
|
170306
170351
|
}
|
|
170307
|
-
async handleRetrieverStart(retriever, query, runId =
|
|
170352
|
+
async handleRetrieverStart(retriever, query, runId = v7(), _parentRunId = undefined, _tags = undefined, _metadata = undefined, runName = undefined) {
|
|
170308
170353
|
await Promise.all(this.handlers.map((handler) => {
|
|
170309
170354
|
if (handler.ignoreRetriever)
|
|
170310
170355
|
return;
|
|
@@ -170402,7 +170447,7 @@ var CallbackManager = class CallbackManager2 extends BaseCallbackManager {
|
|
|
170402
170447
|
static fromHandlers(handlers) {
|
|
170403
170448
|
|
|
170404
170449
|
class Handler extends BaseCallbackHandler {
|
|
170405
|
-
name =
|
|
170450
|
+
name = v7();
|
|
170406
170451
|
constructor() {
|
|
170407
170452
|
super();
|
|
170408
170453
|
Object.assign(this, handlers);
|
|
@@ -170486,7 +170531,7 @@ function ensureHandler(handler) {
|
|
|
170486
170531
|
return BaseCallbackHandler.fromMethods(handler);
|
|
170487
170532
|
}
|
|
170488
170533
|
|
|
170489
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
170534
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/singletons/async_local_storage/index.js
|
|
170490
170535
|
var MockAsyncLocalStorage2 = class {
|
|
170491
170536
|
getStore() {
|
|
170492
170537
|
return;
|
|
@@ -170541,7 +170586,7 @@ var AsyncLocalStorageProvider2 = class {
|
|
|
170541
170586
|
};
|
|
170542
170587
|
var AsyncLocalStorageProviderSingleton2 = new AsyncLocalStorageProvider2;
|
|
170543
170588
|
|
|
170544
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
170589
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/singletons/index.js
|
|
170545
170590
|
var singletons_exports = {};
|
|
170546
170591
|
__export2(singletons_exports, {
|
|
170547
170592
|
AsyncLocalStorageProviderSingleton: () => AsyncLocalStorageProviderSingleton2,
|
|
@@ -170549,7 +170594,7 @@ __export2(singletons_exports, {
|
|
|
170549
170594
|
_CONTEXT_VARIABLES_KEY: () => _CONTEXT_VARIABLES_KEY
|
|
170550
170595
|
});
|
|
170551
170596
|
|
|
170552
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
170597
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/config.js
|
|
170553
170598
|
var DEFAULT_RECURSION_LIMIT = 25;
|
|
170554
170599
|
async function getCallbackManagerForConfig(config) {
|
|
170555
170600
|
return CallbackManager._configureSync(config?.callbacks, undefined, config?.tags, undefined, config?.metadata);
|
|
@@ -170661,7 +170706,12 @@ function ensureConfig(config) {
|
|
|
170661
170706
|
if (empty2.timeout !== undefined) {
|
|
170662
170707
|
if (empty2.timeout <= 0)
|
|
170663
170708
|
throw new Error("Timeout must be a positive number");
|
|
170664
|
-
const
|
|
170709
|
+
const originalTimeoutMs = empty2.timeout;
|
|
170710
|
+
const timeoutSignal = AbortSignal.timeout(originalTimeoutMs);
|
|
170711
|
+
if (!empty2.metadata)
|
|
170712
|
+
empty2.metadata = {};
|
|
170713
|
+
if (empty2.metadata.timeoutMs === undefined)
|
|
170714
|
+
empty2.metadata.timeoutMs = originalTimeoutMs;
|
|
170665
170715
|
if (empty2.signal !== undefined) {
|
|
170666
170716
|
if ("any" in AbortSignal)
|
|
170667
170717
|
empty2.signal = AbortSignal.any([empty2.signal, timeoutSignal]);
|
|
@@ -170708,7 +170758,7 @@ function pickRunnableConfigKeys(config) {
|
|
|
170708
170758
|
};
|
|
170709
170759
|
}
|
|
170710
170760
|
|
|
170711
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
170761
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/signal.js
|
|
170712
170762
|
async function raceWithSignal(promise, signal) {
|
|
170713
170763
|
if (signal === undefined)
|
|
170714
170764
|
return promise;
|
|
@@ -170735,7 +170785,7 @@ function getAbortSignalError(signal) {
|
|
|
170735
170785
|
return /* @__PURE__ */ new Error("Aborted");
|
|
170736
170786
|
}
|
|
170737
170787
|
|
|
170738
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
170788
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/stream.js
|
|
170739
170789
|
var stream_exports = {};
|
|
170740
170790
|
__export2(stream_exports, {
|
|
170741
170791
|
AsyncGeneratorWithSetup: () => AsyncGeneratorWithSetup,
|
|
@@ -170925,7 +170975,7 @@ async function pipeGeneratorWithSetup(to, generator, startSetup, signal, ...args
|
|
|
170925
170975
|
};
|
|
170926
170976
|
}
|
|
170927
170977
|
|
|
170928
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
170978
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.js
|
|
170929
170979
|
/*!
|
|
170930
170980
|
* https://github.com/Starcounter-Jack/JSON-Patch
|
|
170931
170981
|
* (c) 2017-2022 Joachim Wester
|
|
@@ -171032,7 +171082,7 @@ var PatchError = class extends Error {
|
|
|
171032
171082
|
}
|
|
171033
171083
|
};
|
|
171034
171084
|
|
|
171035
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
171085
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.js
|
|
171036
171086
|
var core_exports = {};
|
|
171037
171087
|
__export2(core_exports, {
|
|
171038
171088
|
JsonPatchError: () => JsonPatchError,
|
|
@@ -171047,12 +171097,19 @@ __export2(core_exports, {
|
|
|
171047
171097
|
});
|
|
171048
171098
|
var JsonPatchError = PatchError;
|
|
171049
171099
|
var deepClone = _deepClone;
|
|
171100
|
+
function isDangerousKey(key) {
|
|
171101
|
+
return Object.getOwnPropertyNames(Object.prototype).includes(key);
|
|
171102
|
+
}
|
|
171050
171103
|
var objOps = {
|
|
171051
171104
|
add: function(obj, key, document4) {
|
|
171105
|
+
if (isDangerousKey(key))
|
|
171106
|
+
throw new TypeError("JSON-Patch: modifying `__proto__`, `constructor`, or `prototype` prop is banned for security reasons");
|
|
171052
171107
|
obj[key] = this.value;
|
|
171053
171108
|
return { newDocument: document4 };
|
|
171054
171109
|
},
|
|
171055
171110
|
remove: function(obj, key, document4) {
|
|
171111
|
+
if (isDangerousKey(key))
|
|
171112
|
+
throw new TypeError("JSON-Patch: modifying `__proto__`, `constructor`, or `prototype` prop is banned for security reasons");
|
|
171056
171113
|
var removed = obj[key];
|
|
171057
171114
|
delete obj[key];
|
|
171058
171115
|
return {
|
|
@@ -171061,6 +171118,8 @@ var objOps = {
|
|
|
171061
171118
|
};
|
|
171062
171119
|
},
|
|
171063
171120
|
replace: function(obj, key, document4) {
|
|
171121
|
+
if (isDangerousKey(key))
|
|
171122
|
+
throw new TypeError("JSON-Patch: modifying `__proto__`, `constructor`, or `prototype` prop is banned for security reasons");
|
|
171064
171123
|
var removed = obj[key];
|
|
171065
171124
|
obj[key] = this.value;
|
|
171066
171125
|
return {
|
|
@@ -171351,7 +171410,7 @@ function _areEquals(a443, b8) {
|
|
|
171351
171410
|
return a443 !== a443 && b8 !== b8;
|
|
171352
171411
|
}
|
|
171353
171412
|
|
|
171354
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
171413
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.js
|
|
171355
171414
|
function _generate(mirror, obj, patches, path5, invertible) {
|
|
171356
171415
|
if (obj === mirror)
|
|
171357
171416
|
return;
|
|
@@ -171427,7 +171486,7 @@ function compare(tree1, tree2, invertible = false) {
|
|
|
171427
171486
|
return patches;
|
|
171428
171487
|
}
|
|
171429
171488
|
|
|
171430
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
171489
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.js
|
|
171431
171490
|
var fast_json_patch_default = {
|
|
171432
171491
|
...core_exports,
|
|
171433
171492
|
JsonPatchError: PatchError,
|
|
@@ -171436,7 +171495,7 @@ var fast_json_patch_default = {
|
|
|
171436
171495
|
unescapePathComponent
|
|
171437
171496
|
};
|
|
171438
171497
|
|
|
171439
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
171498
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tracers/log_stream.js
|
|
171440
171499
|
var log_stream_exports = {};
|
|
171441
171500
|
__export2(log_stream_exports, {
|
|
171442
171501
|
LogStreamCallbackHandler: () => LogStreamCallbackHandler,
|
|
@@ -171693,7 +171752,7 @@ var LogStreamCallbackHandler = class extends BaseTracer {
|
|
|
171693
171752
|
}
|
|
171694
171753
|
};
|
|
171695
171754
|
|
|
171696
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
171755
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/outputs.js
|
|
171697
171756
|
var outputs_exports = {};
|
|
171698
171757
|
__export2(outputs_exports, {
|
|
171699
171758
|
ChatGenerationChunk: () => ChatGenerationChunk,
|
|
@@ -171736,7 +171795,7 @@ var ChatGenerationChunk = class ChatGenerationChunk2 extends GenerationChunk {
|
|
|
171736
171795
|
}
|
|
171737
171796
|
};
|
|
171738
171797
|
|
|
171739
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
171798
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tracers/event_stream.js
|
|
171740
171799
|
function assignName({ name, serialized }) {
|
|
171741
171800
|
if (name !== undefined)
|
|
171742
171801
|
return name;
|
|
@@ -172113,7 +172172,7 @@ var EventStreamCallbackHandler = class extends BaseTracer {
|
|
|
172113
172172
|
}
|
|
172114
172173
|
};
|
|
172115
172174
|
|
|
172116
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
172175
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/is-network-error/index.js
|
|
172117
172176
|
var objectToString2 = Object.prototype.toString;
|
|
172118
172177
|
var isError2 = (value) => objectToString2.call(value) === "[object Error]";
|
|
172119
172178
|
var errorMessages2 = new Set([
|
|
@@ -172139,7 +172198,7 @@ function isNetworkError2(error2) {
|
|
|
172139
172198
|
return errorMessages2.has(message);
|
|
172140
172199
|
}
|
|
172141
172200
|
|
|
172142
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
172201
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/p-retry/index.js
|
|
172143
172202
|
function validateRetries2(retries) {
|
|
172144
172203
|
if (typeof retries === "number") {
|
|
172145
172204
|
if (retries < 0)
|
|
@@ -172293,7 +172352,7 @@ async function pRetry2(input, options = {}) {
|
|
|
172293
172352
|
throw new Error("Retry attempts exhausted without throwing an error.");
|
|
172294
172353
|
}
|
|
172295
172354
|
|
|
172296
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
172355
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/async_caller.js
|
|
172297
172356
|
var import_p_queue3 = __toESM(require_dist3(), 1);
|
|
172298
172357
|
var async_caller_exports = {};
|
|
172299
172358
|
__export2(async_caller_exports, { AsyncCaller: () => AsyncCaller2 });
|
|
@@ -172366,7 +172425,7 @@ var AsyncCaller2 = class {
|
|
|
172366
172425
|
}
|
|
172367
172426
|
};
|
|
172368
172427
|
|
|
172369
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
172428
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tracers/root_listener.js
|
|
172370
172429
|
var RootListenersTracer = class extends BaseTracer {
|
|
172371
172430
|
name = "RootListenersTracer";
|
|
172372
172431
|
rootId;
|
|
@@ -172402,7 +172461,7 @@ var RootListenersTracer = class extends BaseTracer {
|
|
|
172402
172461
|
}
|
|
172403
172462
|
};
|
|
172404
172463
|
|
|
172405
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
172464
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/utils.js
|
|
172406
172465
|
function isRunnableInterface(thing) {
|
|
172407
172466
|
return thing ? thing.lc_runnable : false;
|
|
172408
172467
|
}
|
|
@@ -182218,7 +182277,7 @@ function isTransforming(_schema, _ctx) {
|
|
|
182218
182277
|
}
|
|
182219
182278
|
// ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/json-schema.js
|
|
182220
182279
|
var exports_json_schema = {};
|
|
182221
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182280
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/types/zod.js
|
|
182222
182281
|
function isZodSchemaV4(schema2) {
|
|
182223
182282
|
if (typeof schema2 !== "object" || schema2 === null)
|
|
182224
182283
|
return false;
|
|
@@ -182540,7 +182599,7 @@ function interopZodTransformInputSchemaImpl(schema2, recursive, cache) {
|
|
|
182540
182599
|
outputSchema = interopZodTransformInputSchemaImpl(schema2._zod.def.in, recursive, cache);
|
|
182541
182600
|
if (recursive) {
|
|
182542
182601
|
if (isZodObjectV4(outputSchema)) {
|
|
182543
|
-
const outputShape =
|
|
182602
|
+
const outputShape = {};
|
|
182544
182603
|
for (const [key, keySchema] of Object.entries(outputSchema._zod.def.shape))
|
|
182545
182604
|
outputShape[key] = interopZodTransformInputSchemaImpl(keySchema, recursive, cache);
|
|
182546
182605
|
outputSchema = clone(outputSchema, {
|
|
@@ -182614,7 +182673,7 @@ function isInteropZodError(e488) {
|
|
|
182614
182673
|
return e488 instanceof Error && (e488.constructor.name === "ZodError" || e488.constructor.name === "$ZodError");
|
|
182615
182674
|
}
|
|
182616
182675
|
|
|
182617
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182676
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/graph_mermaid.js
|
|
182618
182677
|
function _escapeNodeLabel(nodeLabel) {
|
|
182619
182678
|
return nodeLabel.replace(/[^a-zA-Z-_0-9]/g, "_");
|
|
182620
182679
|
}
|
|
@@ -182665,16 +182724,24 @@ graph TD;
|
|
|
182665
182724
|
edgeGroups[commonPrefix].push(edge);
|
|
182666
182725
|
}
|
|
182667
182726
|
const seenSubgraphs = /* @__PURE__ */ new Set;
|
|
182727
|
+
function sortPrefixesByDepth(prefixes) {
|
|
182728
|
+
return [...prefixes].sort((a443, b8) => {
|
|
182729
|
+
return a443.split(":").length - b8.split(":").length;
|
|
182730
|
+
});
|
|
182731
|
+
}
|
|
182668
182732
|
function addSubgraph(edges$1, prefix) {
|
|
182669
182733
|
const selfLoop = edges$1.length === 1 && edges$1[0].source === edges$1[0].target;
|
|
182670
182734
|
if (prefix && !selfLoop) {
|
|
182671
182735
|
const subgraph = prefix.split(":").pop();
|
|
182672
|
-
if (seenSubgraphs.has(
|
|
182673
|
-
throw new Error(`Found duplicate subgraph '${subgraph}' -- this likely means that you're reusing a subgraph node with the same name. Please adjust your graph to have subgraph nodes with unique names.`);
|
|
182674
|
-
seenSubgraphs.add(
|
|
182736
|
+
if (seenSubgraphs.has(prefix))
|
|
182737
|
+
throw new Error(`Found duplicate subgraph '${subgraph}' at '${prefix} -- this likely means that you're reusing a subgraph node with the same name. Please adjust your graph to have subgraph nodes with unique names.`);
|
|
182738
|
+
seenSubgraphs.add(prefix);
|
|
182675
182739
|
mermaidGraph += ` subgraph ${subgraph}
|
|
182676
182740
|
`;
|
|
182677
182741
|
}
|
|
182742
|
+
const nestedPrefixes = sortPrefixesByDepth(Object.keys(edgeGroups).filter((nestedPrefix) => nestedPrefix.startsWith(`${prefix}:`) && nestedPrefix !== prefix && nestedPrefix.split(":").length === prefix.split(":").length + 1));
|
|
182743
|
+
for (const nestedPrefix of nestedPrefixes)
|
|
182744
|
+
addSubgraph(edgeGroups[nestedPrefix], nestedPrefix);
|
|
182678
182745
|
for (const edge of edges$1) {
|
|
182679
182746
|
const { source, target, data, conditional } = edge;
|
|
182680
182747
|
let edgeLabel = "";
|
|
@@ -182689,9 +182756,6 @@ graph TD;
|
|
|
182689
182756
|
mermaidGraph += ` ${_escapeNodeLabel(source)}${edgeLabel}${_escapeNodeLabel(target)};
|
|
182690
182757
|
`;
|
|
182691
182758
|
}
|
|
182692
|
-
for (const nestedPrefix in edgeGroups)
|
|
182693
|
-
if (nestedPrefix.startsWith(`${prefix}:`) && nestedPrefix !== prefix)
|
|
182694
|
-
addSubgraph(edgeGroups[nestedPrefix], nestedPrefix);
|
|
182695
182759
|
if (prefix && !selfLoop)
|
|
182696
182760
|
mermaidGraph += ` end
|
|
182697
182761
|
`;
|
|
@@ -182726,7 +182790,7 @@ async function drawMermaidImage(mermaidSyntax, config2) {
|
|
|
182726
182790
|
return content3;
|
|
182727
182791
|
}
|
|
182728
182792
|
|
|
182729
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182793
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Options.js
|
|
182730
182794
|
var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
182731
182795
|
var defaultOptions3 = {
|
|
182732
182796
|
name: undefined,
|
|
@@ -182760,7 +182824,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
|
|
|
182760
182824
|
...options
|
|
182761
182825
|
};
|
|
182762
182826
|
|
|
182763
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182827
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Refs.js
|
|
182764
182828
|
var getRefs = (options) => {
|
|
182765
182829
|
const _options = getDefaultOptions(options);
|
|
182766
182830
|
const currentPath = _options.name !== undefined ? [
|
|
@@ -182785,7 +182849,7 @@ var getRefs = (options) => {
|
|
|
182785
182849
|
};
|
|
182786
182850
|
};
|
|
182787
182851
|
|
|
182788
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182852
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/getRelativePath.js
|
|
182789
182853
|
var getRelativePath = (pathA, pathB) => {
|
|
182790
182854
|
let i315 = 0;
|
|
182791
182855
|
for (;i315 < pathA.length && i315 < pathB.length; i315++)
|
|
@@ -182794,7 +182858,7 @@ var getRelativePath = (pathA, pathB) => {
|
|
|
182794
182858
|
return [(pathA.length - i315).toString(), ...pathB.slice(i315)].join("/");
|
|
182795
182859
|
};
|
|
182796
182860
|
|
|
182797
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182861
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/any.js
|
|
182798
182862
|
function parseAnyDef(refs) {
|
|
182799
182863
|
if (refs.target !== "openAi")
|
|
182800
182864
|
return {};
|
|
@@ -182807,7 +182871,7 @@ function parseAnyDef(refs) {
|
|
|
182807
182871
|
return { $ref: refs.$refStrategy === "relative" ? getRelativePath(anyDefinitionPath, refs.currentPath) : anyDefinitionPath.join("/") };
|
|
182808
182872
|
}
|
|
182809
182873
|
|
|
182810
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182874
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/errorMessages.js
|
|
182811
182875
|
function addErrorMessage(res, key, errorMessage, refs) {
|
|
182812
182876
|
if (!refs?.errorMessages)
|
|
182813
182877
|
return;
|
|
@@ -182821,7 +182885,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
|
|
|
182821
182885
|
res[key] = value;
|
|
182822
182886
|
addErrorMessage(res, key, errorMessage, refs);
|
|
182823
182887
|
}
|
|
182824
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182888
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/array.js
|
|
182825
182889
|
function parseArrayDef(def, refs) {
|
|
182826
182890
|
const res = { type: "array" };
|
|
182827
182891
|
if (def.type?._def && def.type?._def?.typeName !== ZodFirstPartyTypeKind.ZodAny)
|
|
@@ -182840,7 +182904,7 @@ function parseArrayDef(def, refs) {
|
|
|
182840
182904
|
return res;
|
|
182841
182905
|
}
|
|
182842
182906
|
|
|
182843
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182907
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/bigint.js
|
|
182844
182908
|
function parseBigintDef(def, refs) {
|
|
182845
182909
|
const res = {
|
|
182846
182910
|
type: "integer",
|
|
@@ -182881,22 +182945,22 @@ function parseBigintDef(def, refs) {
|
|
|
182881
182945
|
return res;
|
|
182882
182946
|
}
|
|
182883
182947
|
|
|
182884
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182948
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/boolean.js
|
|
182885
182949
|
function parseBooleanDef() {
|
|
182886
182950
|
return { type: "boolean" };
|
|
182887
182951
|
}
|
|
182888
182952
|
|
|
182889
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182953
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/branded.js
|
|
182890
182954
|
function parseBrandedDef(_def, refs) {
|
|
182891
182955
|
return parseDef(_def.type._def, refs);
|
|
182892
182956
|
}
|
|
182893
182957
|
|
|
182894
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182958
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/catch.js
|
|
182895
182959
|
var parseCatchDef = (def, refs) => {
|
|
182896
182960
|
return parseDef(def.innerType._def, refs);
|
|
182897
182961
|
};
|
|
182898
182962
|
|
|
182899
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
182963
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/date.js
|
|
182900
182964
|
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
182901
182965
|
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
182902
182966
|
if (Array.isArray(strategy))
|
|
@@ -182936,7 +183000,7 @@ var integerDateParser = (def, refs) => {
|
|
|
182936
183000
|
return res;
|
|
182937
183001
|
};
|
|
182938
183002
|
|
|
182939
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183003
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/default.js
|
|
182940
183004
|
function parseDefaultDef(_def, refs) {
|
|
182941
183005
|
return {
|
|
182942
183006
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -182944,12 +183008,12 @@ function parseDefaultDef(_def, refs) {
|
|
|
182944
183008
|
};
|
|
182945
183009
|
}
|
|
182946
183010
|
|
|
182947
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183011
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/effects.js
|
|
182948
183012
|
function parseEffectsDef(_def, refs) {
|
|
182949
183013
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
|
|
182950
183014
|
}
|
|
182951
183015
|
|
|
182952
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183016
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/enum.js
|
|
182953
183017
|
function parseEnumDef(def) {
|
|
182954
183018
|
return {
|
|
182955
183019
|
type: "string",
|
|
@@ -182957,7 +183021,7 @@ function parseEnumDef(def) {
|
|
|
182957
183021
|
};
|
|
182958
183022
|
}
|
|
182959
183023
|
|
|
182960
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183024
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/intersection.js
|
|
182961
183025
|
var isJsonSchema7AllOfType = (type2) => {
|
|
182962
183026
|
if ("type" in type2 && type2.type === "string")
|
|
182963
183027
|
return false;
|
|
@@ -183002,7 +183066,7 @@ function parseIntersectionDef(def, refs) {
|
|
|
183002
183066
|
} : undefined;
|
|
183003
183067
|
}
|
|
183004
183068
|
|
|
183005
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183069
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/literal.js
|
|
183006
183070
|
function parseLiteralDef(def, refs) {
|
|
183007
183071
|
const parsedType4 = typeof def.value;
|
|
183008
183072
|
if (parsedType4 !== "bigint" && parsedType4 !== "number" && parsedType4 !== "boolean" && parsedType4 !== "string")
|
|
@@ -183018,7 +183082,7 @@ function parseLiteralDef(def, refs) {
|
|
|
183018
183082
|
};
|
|
183019
183083
|
}
|
|
183020
183084
|
|
|
183021
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183085
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/string.js
|
|
183022
183086
|
var emojiRegex2 = undefined;
|
|
183023
183087
|
var zodPatterns = {
|
|
183024
183088
|
cuid: /^[cC][^\s-]{8,}$/,
|
|
@@ -183284,7 +183348,7 @@ function stringifyRegExpWithFlags(regex3, refs) {
|
|
|
183284
183348
|
return pattern;
|
|
183285
183349
|
}
|
|
183286
183350
|
|
|
183287
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183351
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/record.js
|
|
183288
183352
|
function parseRecordDef(def, refs) {
|
|
183289
183353
|
if (refs.target === "openAi")
|
|
183290
183354
|
console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
|
|
@@ -183335,7 +183399,7 @@ function parseRecordDef(def, refs) {
|
|
|
183335
183399
|
return schema2;
|
|
183336
183400
|
}
|
|
183337
183401
|
|
|
183338
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183402
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/map.js
|
|
183339
183403
|
function parseMapDef(def, refs) {
|
|
183340
183404
|
if (refs.mapStrategy === "record")
|
|
183341
183405
|
return parseRecordDef(def, refs);
|
|
@@ -183369,7 +183433,7 @@ function parseMapDef(def, refs) {
|
|
|
183369
183433
|
};
|
|
183370
183434
|
}
|
|
183371
183435
|
|
|
183372
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183436
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nativeEnum.js
|
|
183373
183437
|
function parseNativeEnumDef(def) {
|
|
183374
183438
|
const object = def.values;
|
|
183375
183439
|
const actualKeys = Object.keys(def.values).filter((key) => {
|
|
@@ -183383,7 +183447,7 @@ function parseNativeEnumDef(def) {
|
|
|
183383
183447
|
};
|
|
183384
183448
|
}
|
|
183385
183449
|
|
|
183386
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183450
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/never.js
|
|
183387
183451
|
function parseNeverDef(refs) {
|
|
183388
183452
|
return refs.target === "openAi" ? undefined : { not: parseAnyDef({
|
|
183389
183453
|
...refs,
|
|
@@ -183391,7 +183455,7 @@ function parseNeverDef(refs) {
|
|
|
183391
183455
|
}) };
|
|
183392
183456
|
}
|
|
183393
183457
|
|
|
183394
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183458
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/null.js
|
|
183395
183459
|
function parseNullDef(refs) {
|
|
183396
183460
|
return refs.target === "openApi3" ? {
|
|
183397
183461
|
enum: ["null"],
|
|
@@ -183399,7 +183463,7 @@ function parseNullDef(refs) {
|
|
|
183399
183463
|
} : { type: "null" };
|
|
183400
183464
|
}
|
|
183401
183465
|
|
|
183402
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183466
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/union.js
|
|
183403
183467
|
var primitiveMappings = {
|
|
183404
183468
|
ZodString: "string",
|
|
183405
183469
|
ZodNumber: "number",
|
|
@@ -183466,7 +183530,7 @@ var asAnyOf = (def, refs) => {
|
|
|
183466
183530
|
return anyOf.length ? { anyOf } : undefined;
|
|
183467
183531
|
};
|
|
183468
183532
|
|
|
183469
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183533
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nullable.js
|
|
183470
183534
|
function parseNullableDef(def, refs) {
|
|
183471
183535
|
if ([
|
|
183472
183536
|
"ZodString",
|
|
@@ -183508,7 +183572,7 @@ function parseNullableDef(def, refs) {
|
|
|
183508
183572
|
return base && { anyOf: [base, { type: "null" }] };
|
|
183509
183573
|
}
|
|
183510
183574
|
|
|
183511
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183575
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/number.js
|
|
183512
183576
|
function parseNumberDef(def, refs) {
|
|
183513
183577
|
const res = { type: "number" };
|
|
183514
183578
|
if (!def.checks)
|
|
@@ -183550,7 +183614,7 @@ function parseNumberDef(def, refs) {
|
|
|
183550
183614
|
return res;
|
|
183551
183615
|
}
|
|
183552
183616
|
|
|
183553
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183617
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/object.js
|
|
183554
183618
|
function parseObjectDef(def, refs) {
|
|
183555
183619
|
const forceOptionalIntoNullable = refs.target === "openAi";
|
|
183556
183620
|
const result = {
|
|
@@ -183620,7 +183684,7 @@ function safeIsOptional(schema2) {
|
|
|
183620
183684
|
}
|
|
183621
183685
|
}
|
|
183622
183686
|
|
|
183623
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183687
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/optional.js
|
|
183624
183688
|
var parseOptionalDef = (def, refs) => {
|
|
183625
183689
|
if (refs.currentPath.toString() === refs.propertyPath?.toString())
|
|
183626
183690
|
return parseDef(def.innerType._def, refs);
|
|
@@ -183635,7 +183699,7 @@ var parseOptionalDef = (def, refs) => {
|
|
|
183635
183699
|
return innerSchema ? { anyOf: [{ not: parseAnyDef(refs) }, innerSchema] } : parseAnyDef(refs);
|
|
183636
183700
|
};
|
|
183637
183701
|
|
|
183638
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183702
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/pipeline.js
|
|
183639
183703
|
var parsePipelineDef = (def, refs) => {
|
|
183640
183704
|
if (refs.pipeStrategy === "input")
|
|
183641
183705
|
return parseDef(def.in._def, refs);
|
|
@@ -183660,12 +183724,12 @@ var parsePipelineDef = (def, refs) => {
|
|
|
183660
183724
|
return { allOf: [a443, b8].filter((x4) => x4 !== undefined) };
|
|
183661
183725
|
};
|
|
183662
183726
|
|
|
183663
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183727
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/promise.js
|
|
183664
183728
|
function parsePromiseDef(def, refs) {
|
|
183665
183729
|
return parseDef(def.type._def, refs);
|
|
183666
183730
|
}
|
|
183667
183731
|
|
|
183668
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183732
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/set.js
|
|
183669
183733
|
function parseSetDef(def, refs) {
|
|
183670
183734
|
const items = parseDef(def.valueType._def, {
|
|
183671
183735
|
...refs,
|
|
@@ -183683,7 +183747,7 @@ function parseSetDef(def, refs) {
|
|
|
183683
183747
|
return schema2;
|
|
183684
183748
|
}
|
|
183685
183749
|
|
|
183686
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183750
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/tuple.js
|
|
183687
183751
|
function parseTupleDef(def, refs) {
|
|
183688
183752
|
if (def.rest)
|
|
183689
183753
|
return {
|
|
@@ -183718,22 +183782,22 @@ function parseTupleDef(def, refs) {
|
|
|
183718
183782
|
};
|
|
183719
183783
|
}
|
|
183720
183784
|
|
|
183721
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183785
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/undefined.js
|
|
183722
183786
|
function parseUndefinedDef(refs) {
|
|
183723
183787
|
return { not: parseAnyDef(refs) };
|
|
183724
183788
|
}
|
|
183725
183789
|
|
|
183726
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183790
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/unknown.js
|
|
183727
183791
|
function parseUnknownDef(refs) {
|
|
183728
183792
|
return parseAnyDef(refs);
|
|
183729
183793
|
}
|
|
183730
183794
|
|
|
183731
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183795
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/readonly.js
|
|
183732
183796
|
var parseReadonlyDef = (def, refs) => {
|
|
183733
183797
|
return parseDef(def.innerType._def, refs);
|
|
183734
183798
|
};
|
|
183735
183799
|
|
|
183736
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183800
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/selectParser.js
|
|
183737
183801
|
var selectParser2 = (def, typeName, refs) => {
|
|
183738
183802
|
switch (typeName) {
|
|
183739
183803
|
case ZodFirstPartyTypeKind.ZodString:
|
|
@@ -183811,7 +183875,7 @@ var selectParser2 = (def, typeName, refs) => {
|
|
|
183811
183875
|
}
|
|
183812
183876
|
};
|
|
183813
183877
|
|
|
183814
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183878
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parseDef.js
|
|
183815
183879
|
function parseDef(def, refs, forceResolution = false) {
|
|
183816
183880
|
const seenItem = refs.seen.get(def);
|
|
183817
183881
|
if (refs.override) {
|
|
@@ -183866,7 +183930,7 @@ var addMeta = (def, refs, jsonSchema) => {
|
|
|
183866
183930
|
return jsonSchema;
|
|
183867
183931
|
};
|
|
183868
183932
|
|
|
183869
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
183933
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/zodToJsonSchema.js
|
|
183870
183934
|
var zodToJsonSchema = (schema2, options) => {
|
|
183871
183935
|
const refs = getRefs(options);
|
|
183872
183936
|
let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name$1, schema$1]) => ({
|
|
@@ -184999,7 +185063,7 @@ class Validator {
|
|
|
184999
185063
|
}
|
|
185000
185064
|
}
|
|
185001
185065
|
|
|
185002
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
185066
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/json_schema.js
|
|
185003
185067
|
var json_schema_exports = {};
|
|
185004
185068
|
__export2(json_schema_exports, {
|
|
185005
185069
|
Validator: () => Validator,
|
|
@@ -185007,14 +185071,14 @@ __export2(json_schema_exports, {
|
|
|
185007
185071
|
toJsonSchema: () => toJsonSchema,
|
|
185008
185072
|
validatesOnlyStrings: () => validatesOnlyStrings
|
|
185009
185073
|
});
|
|
185010
|
-
function toJsonSchema(schema2) {
|
|
185074
|
+
function toJsonSchema(schema2, params2) {
|
|
185011
185075
|
if (isZodSchemaV4(schema2)) {
|
|
185012
185076
|
const inputSchema = interopZodTransformInputSchema(schema2, true);
|
|
185013
185077
|
if (isZodObjectV4(inputSchema)) {
|
|
185014
185078
|
const strictSchema = interopZodObjectStrict(inputSchema, true);
|
|
185015
|
-
return toJSONSchema3(strictSchema);
|
|
185079
|
+
return toJSONSchema3(strictSchema, params2);
|
|
185016
185080
|
} else
|
|
185017
|
-
return toJSONSchema3(schema2);
|
|
185081
|
+
return toJSONSchema3(schema2, params2);
|
|
185018
185082
|
}
|
|
185019
185083
|
if (isZodSchemaV3(schema2))
|
|
185020
185084
|
return zodToJsonSchema(schema2);
|
|
@@ -185052,7 +185116,7 @@ function validatesOnlyStrings(schema2) {
|
|
|
185052
185116
|
return false;
|
|
185053
185117
|
}
|
|
185054
185118
|
|
|
185055
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
185119
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/graph.js
|
|
185056
185120
|
var graph_exports = {};
|
|
185057
185121
|
__export2(graph_exports, { Graph: () => Graph });
|
|
185058
185122
|
function nodeDataStr(id, data) {
|
|
@@ -185261,7 +185325,7 @@ function _lastNode(graph, exclude = []) {
|
|
|
185261
185325
|
return found.length === 1 ? found[0] : undefined;
|
|
185262
185326
|
}
|
|
185263
185327
|
|
|
185264
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
185328
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/wrappers.js
|
|
185265
185329
|
function convertToHttpEventStream(stream2) {
|
|
185266
185330
|
const encoder2 = new TextEncoder;
|
|
185267
185331
|
const finalStream = new ReadableStream({ async start(controller) {
|
|
@@ -185278,7 +185342,7 @@ data: ${JSON.stringify(chunk)}
|
|
|
185278
185342
|
return IterableReadableStream.fromReadableStream(finalStream);
|
|
185279
185343
|
}
|
|
185280
185344
|
|
|
185281
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
185345
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/iter.js
|
|
185282
185346
|
function isIterableIterator(thing) {
|
|
185283
185347
|
return typeof thing === "object" && thing !== null && typeof thing[Symbol.iterator] === "function" && typeof thing.next === "function";
|
|
185284
185348
|
}
|
|
@@ -185306,7 +185370,7 @@ async function* consumeAsyncIterableInContext(context, iter) {
|
|
|
185306
185370
|
}
|
|
185307
185371
|
}
|
|
185308
185372
|
|
|
185309
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
185373
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/base.js
|
|
185310
185374
|
function _coerceToDict2(value, defaultKey) {
|
|
185311
185375
|
return value && !Array.isArray(value) && !(value instanceof Date) && typeof value === "object" ? value : { [defaultKey]: value };
|
|
185312
185376
|
}
|
|
@@ -186682,7 +186746,7 @@ function convertRunnableToTool(runnable, fields) {
|
|
|
186682
186746
|
});
|
|
186683
186747
|
}
|
|
186684
186748
|
|
|
186685
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
186749
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/transformers.js
|
|
186686
186750
|
var _isMessageType = (msg, types6) => {
|
|
186687
186751
|
const typesAsStrings = [...new Set(types6?.map((t481) => {
|
|
186688
186752
|
if (typeof t481 === "string")
|
|
@@ -187035,7 +187099,7 @@ function defaultTextSplitter(text5) {
|
|
|
187035
187099
|
`), splits[splits.length - 1]]);
|
|
187036
187100
|
}
|
|
187037
187101
|
|
|
187038
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
187102
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/content/tools.js
|
|
187039
187103
|
var KNOWN_BLOCK_TYPES = [
|
|
187040
187104
|
"tool_call",
|
|
187041
187105
|
"tool_call_chunk",
|
|
@@ -187045,7 +187109,7 @@ var KNOWN_BLOCK_TYPES = [
|
|
|
187045
187109
|
"server_tool_call_result"
|
|
187046
187110
|
];
|
|
187047
187111
|
|
|
187048
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
187112
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/content/multimodal.js
|
|
187049
187113
|
var KNOWN_BLOCK_TYPES2 = [
|
|
187050
187114
|
"image",
|
|
187051
187115
|
"video",
|
|
@@ -187054,7 +187118,7 @@ var KNOWN_BLOCK_TYPES2 = [
|
|
|
187054
187118
|
"file"
|
|
187055
187119
|
];
|
|
187056
187120
|
|
|
187057
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
187121
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/content/index.js
|
|
187058
187122
|
var KNOWN_BLOCK_TYPES$2 = [
|
|
187059
187123
|
"text",
|
|
187060
187124
|
"reasoning",
|
|
@@ -187062,7 +187126,7 @@ var KNOWN_BLOCK_TYPES$2 = [
|
|
|
187062
187126
|
...KNOWN_BLOCK_TYPES2
|
|
187063
187127
|
];
|
|
187064
187128
|
|
|
187065
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
187129
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/messages/index.js
|
|
187066
187130
|
var messages_exports = {};
|
|
187067
187131
|
__export2(messages_exports, {
|
|
187068
187132
|
AIMessage: () => AIMessage,
|
|
@@ -187130,10 +187194,10 @@ __export2(messages_exports, {
|
|
|
187130
187194
|
trimMessages: () => trimMessages
|
|
187131
187195
|
});
|
|
187132
187196
|
|
|
187133
|
-
// ../../node_modules/.pnpm/@langchain+openai@1.
|
|
187197
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/utils/misc.js
|
|
187134
187198
|
var iife$1 = (fn2) => fn2();
|
|
187135
187199
|
|
|
187136
|
-
// ../../node_modules/.pnpm/@langchain+openai@1.
|
|
187200
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/utils/azure.js
|
|
187137
187201
|
function getEndpoint(config2) {
|
|
187138
187202
|
const { azureOpenAIApiDeploymentName, azureOpenAIApiInstanceName, azureOpenAIApiKey, azureOpenAIBasePath, baseURL, azureADTokenProvider, azureOpenAIEndpoint } = config2;
|
|
187139
187203
|
if ((azureOpenAIApiKey || azureADTokenProvider) && azureOpenAIBasePath && azureOpenAIApiDeploymentName)
|
|
@@ -187184,7 +187248,7 @@ function getHeadersWithUserAgent(headers, isAzure = false, version3 = "1.0.0") {
|
|
|
187184
187248
|
};
|
|
187185
187249
|
}
|
|
187186
187250
|
|
|
187187
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
187251
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tools/types.js
|
|
187188
187252
|
function isStructuredTool(tool) {
|
|
187189
187253
|
return tool !== undefined && Array.isArray(tool.lc_namespace);
|
|
187190
187254
|
}
|
|
@@ -187205,7 +187269,7 @@ function isLangChainTool(tool) {
|
|
|
187205
187269
|
return isStructuredToolParams(tool) || isRunnableToolLike(tool) || isStructuredTool(tool);
|
|
187206
187270
|
}
|
|
187207
187271
|
|
|
187208
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
187272
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/function_calling.js
|
|
187209
187273
|
var function_calling_exports = {};
|
|
187210
187274
|
__export2(function_calling_exports, {
|
|
187211
187275
|
convertToOpenAIFunction: () => convertToOpenAIFunction,
|
|
@@ -187239,7 +187303,7 @@ function convertToOpenAITool(tool, fields) {
|
|
|
187239
187303
|
return toolDef;
|
|
187240
187304
|
}
|
|
187241
187305
|
|
|
187242
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
187306
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/types/index.js
|
|
187243
187307
|
var types_exports = {};
|
|
187244
187308
|
__export2(types_exports, {
|
|
187245
187309
|
extendInteropZodObject: () => extendInteropZodObject,
|
|
@@ -188542,7 +188606,7 @@ function date5(params2) {
|
|
|
188542
188606
|
config(en_default2());
|
|
188543
188607
|
// ../../node_modules/.pnpm/openai@6.10.0_ws@8.18.3_zod@3.25.76/node_modules/openai/_vendor/zod-to-json-schema/Options.mjs
|
|
188544
188608
|
var ignoreOverride2 = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
188545
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
188609
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/prompt_values.js
|
|
188546
188610
|
var prompt_values_exports = {};
|
|
188547
188611
|
__export2(prompt_values_exports, {
|
|
188548
188612
|
BasePromptValue: () => BasePromptValue,
|
|
@@ -188618,7 +188682,7 @@ var ImagePromptValue = class extends BasePromptValue {
|
|
|
188618
188682
|
}
|
|
188619
188683
|
};
|
|
188620
188684
|
|
|
188621
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
188685
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/js-sha256/hash.js
|
|
188622
188686
|
var HEX_CHARS = "0123456789abcdef".split("");
|
|
188623
188687
|
var EXTRA = [
|
|
188624
188688
|
-2147483648,
|
|
@@ -188968,11 +189032,11 @@ var sha256 = (...strings) => {
|
|
|
188968
189032
|
return new Sha256(false, true).update(strings.join("")).hex();
|
|
188969
189033
|
};
|
|
188970
189034
|
|
|
188971
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
189035
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/hash.js
|
|
188972
189036
|
var hash_exports = {};
|
|
188973
189037
|
__export2(hash_exports, { sha256: () => sha256 });
|
|
188974
189038
|
|
|
188975
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
189039
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/caches/index.js
|
|
188976
189040
|
var caches_exports = {};
|
|
188977
189041
|
__export2(caches_exports, {
|
|
188978
189042
|
BaseCache: () => BaseCache,
|
|
@@ -189280,7 +189344,7 @@ function getEncodingNameForModel(model) {
|
|
|
189280
189344
|
throw new Error("Unknown model");
|
|
189281
189345
|
}
|
|
189282
189346
|
}
|
|
189283
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
189347
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/tiktoken.js
|
|
189284
189348
|
var tiktoken_exports = {};
|
|
189285
189349
|
__export2(tiktoken_exports, {
|
|
189286
189350
|
encodingForModel: () => encodingForModel,
|
|
@@ -189300,7 +189364,7 @@ async function encodingForModel(model) {
|
|
|
189300
189364
|
return getEncoding(getEncodingNameForModel(model));
|
|
189301
189365
|
}
|
|
189302
189366
|
|
|
189303
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
189367
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/language_models/base.js
|
|
189304
189368
|
var base_exports3 = {};
|
|
189305
189369
|
__export2(base_exports3, {
|
|
189306
189370
|
BaseLangChain: () => BaseLangChain,
|
|
@@ -189535,7 +189599,7 @@ var BaseLanguageModel = class extends BaseLangChain {
|
|
|
189535
189599
|
}
|
|
189536
189600
|
};
|
|
189537
189601
|
|
|
189538
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
189602
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/passthrough.js
|
|
189539
189603
|
var RunnablePassthrough = class extends Runnable {
|
|
189540
189604
|
static lc_name() {
|
|
189541
189605
|
return "RunnablePassthrough";
|
|
@@ -189579,7 +189643,7 @@ var RunnablePassthrough = class extends Runnable {
|
|
|
189579
189643
|
}
|
|
189580
189644
|
};
|
|
189581
189645
|
|
|
189582
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
189646
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/language_models/utils.js
|
|
189583
189647
|
var iife3 = (fn2) => fn2();
|
|
189584
189648
|
function castStandardMessageContent(message) {
|
|
189585
189649
|
const Cls = message.constructor;
|
|
@@ -189593,7 +189657,7 @@ function castStandardMessageContent(message) {
|
|
|
189593
189657
|
});
|
|
189594
189658
|
}
|
|
189595
189659
|
|
|
189596
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
189660
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/language_models/chat_models.js
|
|
189597
189661
|
var chat_models_exports = {};
|
|
189598
189662
|
__export2(chat_models_exports, {
|
|
189599
189663
|
BaseChatModel: () => BaseChatModel,
|
|
@@ -190006,7 +190070,7 @@ var SimpleChatModel = class extends BaseChatModel {
|
|
|
190006
190070
|
}
|
|
190007
190071
|
};
|
|
190008
190072
|
|
|
190009
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190073
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/router.js
|
|
190010
190074
|
var RouterRunnable = class extends Runnable {
|
|
190011
190075
|
static lc_name() {
|
|
190012
190076
|
return "RouterRunnable";
|
|
@@ -190052,7 +190116,7 @@ var RouterRunnable = class extends Runnable {
|
|
|
190052
190116
|
}
|
|
190053
190117
|
};
|
|
190054
190118
|
|
|
190055
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190119
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/branch.js
|
|
190056
190120
|
var RunnableBranch = class extends Runnable {
|
|
190057
190121
|
static lc_name() {
|
|
190058
190122
|
return "RunnableBranch";
|
|
@@ -190146,7 +190210,7 @@ var RunnableBranch = class extends Runnable {
|
|
|
190146
190210
|
}
|
|
190147
190211
|
};
|
|
190148
190212
|
|
|
190149
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190213
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/history.js
|
|
190150
190214
|
var RunnableWithMessageHistory = class extends RunnableBinding {
|
|
190151
190215
|
runnable;
|
|
190152
190216
|
inputMessagesKey;
|
|
@@ -190261,7 +190325,7 @@ eg. chain.invoke(${JSON.stringify(exampleInput)}, ${JSON.stringify(exampleConfig
|
|
|
190261
190325
|
}
|
|
190262
190326
|
};
|
|
190263
190327
|
|
|
190264
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190328
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/runnables/index.js
|
|
190265
190329
|
var runnables_exports = {};
|
|
190266
190330
|
__export2(runnables_exports, {
|
|
190267
190331
|
RouterRunnable: () => RouterRunnable,
|
|
@@ -190289,7 +190353,7 @@ __export2(runnables_exports, {
|
|
|
190289
190353
|
raceWithSignal: () => raceWithSignal
|
|
190290
190354
|
});
|
|
190291
190355
|
|
|
190292
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190356
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/base.js
|
|
190293
190357
|
var BaseLLMOutputParser = class extends Runnable {
|
|
190294
190358
|
parseResultWithPrompt(generations, _prompt, callbacks) {
|
|
190295
190359
|
return this.parseResult(generations, callbacks);
|
|
@@ -190344,7 +190408,7 @@ var OutputParserException = class extends Error {
|
|
|
190344
190408
|
}
|
|
190345
190409
|
};
|
|
190346
190410
|
|
|
190347
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190411
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/transform.js
|
|
190348
190412
|
var BaseTransformOutputParser = class extends BaseOutputParser {
|
|
190349
190413
|
async* _transform(inputGenerator) {
|
|
190350
190414
|
for await (const chunk of inputGenerator)
|
|
@@ -190411,14 +190475,14 @@ var BaseCumulativeTransformOutputParser = class extends BaseTransformOutputParse
|
|
|
190411
190475
|
}
|
|
190412
190476
|
};
|
|
190413
190477
|
|
|
190414
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190478
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/json_patch.js
|
|
190415
190479
|
var json_patch_exports = {};
|
|
190416
190480
|
__export2(json_patch_exports, {
|
|
190417
190481
|
applyPatch: () => applyPatch,
|
|
190418
190482
|
compare: () => compare
|
|
190419
190483
|
});
|
|
190420
190484
|
|
|
190421
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190485
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/json.js
|
|
190422
190486
|
var JsonOutputParser = class extends BaseCumulativeTransformOutputParser {
|
|
190423
190487
|
static lc_name() {
|
|
190424
190488
|
return "JsonOutputParser";
|
|
@@ -190452,7 +190516,7 @@ var JsonOutputParser = class extends BaseCumulativeTransformOutputParser {
|
|
|
190452
190516
|
}
|
|
190453
190517
|
};
|
|
190454
190518
|
|
|
190455
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190519
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/bytes.js
|
|
190456
190520
|
var BytesOutputParser = class extends BaseTransformOutputParser {
|
|
190457
190521
|
static lc_name() {
|
|
190458
190522
|
return "BytesOutputParser";
|
|
@@ -190472,7 +190536,7 @@ var BytesOutputParser = class extends BaseTransformOutputParser {
|
|
|
190472
190536
|
}
|
|
190473
190537
|
};
|
|
190474
190538
|
|
|
190475
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190539
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/list.js
|
|
190476
190540
|
var ListOutputParser = class extends BaseTransformOutputParser {
|
|
190477
190541
|
re;
|
|
190478
190542
|
async* _transform(inputGenerator) {
|
|
@@ -190604,7 +190668,7 @@ var MarkdownListOutputParser = class extends ListOutputParser {
|
|
|
190604
190668
|
}
|
|
190605
190669
|
};
|
|
190606
190670
|
|
|
190607
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190671
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/string.js
|
|
190608
190672
|
var StringOutputParser = class extends BaseTransformOutputParser {
|
|
190609
190673
|
static lc_name() {
|
|
190610
190674
|
return "StrOutputParser";
|
|
@@ -190648,7 +190712,7 @@ var StringOutputParser = class extends BaseTransformOutputParser {
|
|
|
190648
190712
|
}
|
|
190649
190713
|
};
|
|
190650
190714
|
|
|
190651
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190715
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/structured.js
|
|
190652
190716
|
var StructuredOutputParser = class extends BaseOutputParser {
|
|
190653
190717
|
static lc_name() {
|
|
190654
190718
|
return "StructuredOutputParser";
|
|
@@ -190784,7 +190848,7 @@ var AsymmetricStructuredOutputParser = class extends BaseOutputParser {
|
|
|
190784
190848
|
}
|
|
190785
190849
|
};
|
|
190786
190850
|
|
|
190787
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
190851
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/sax-js/sax.js
|
|
190788
190852
|
var initializeSax = function() {
|
|
190789
190853
|
const sax$1 = {};
|
|
190790
190854
|
sax$1.parser = function(strict, opt) {
|
|
@@ -192118,7 +192182,7 @@ Actual: ` + parser.attribValue);
|
|
|
192118
192182
|
};
|
|
192119
192183
|
var sax = initializeSax();
|
|
192120
192184
|
|
|
192121
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
192185
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/xml.js
|
|
192122
192186
|
var XML_FORMAT_INSTRUCTIONS = `The output should be formatted as a XML file.
|
|
192123
192187
|
1. Output should conform to the tags below.
|
|
192124
192188
|
2. If tags are not given, make them on your own.
|
|
@@ -192238,7 +192302,7 @@ function parseXMLMarkdown(s187) {
|
|
|
192238
192302
|
return parseParsedResult(parsedResult);
|
|
192239
192303
|
}
|
|
192240
192304
|
|
|
192241
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
192305
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/index.js
|
|
192242
192306
|
var output_parsers_exports = {};
|
|
192243
192307
|
__export2(output_parsers_exports, {
|
|
192244
192308
|
AsymmetricStructuredOutputParser: () => AsymmetricStructuredOutputParser,
|
|
@@ -192264,7 +192328,7 @@ __export2(output_parsers_exports, {
|
|
|
192264
192328
|
parseXMLMarkdown: () => parseXMLMarkdown
|
|
192265
192329
|
});
|
|
192266
192330
|
|
|
192267
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
192331
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/openai_tools/json_output_tools_parsers.js
|
|
192268
192332
|
function parseToolCall3(rawToolCall, options) {
|
|
192269
192333
|
if (rawToolCall.function === undefined)
|
|
192270
192334
|
return;
|
|
@@ -192437,7 +192501,7 @@ var JsonOutputKeyToolsParser = class extends JsonOutputToolsParser {
|
|
|
192437
192501
|
}
|
|
192438
192502
|
};
|
|
192439
192503
|
|
|
192440
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
192504
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/output_parsers/openai_tools/index.js
|
|
192441
192505
|
var openai_tools_exports = {};
|
|
192442
192506
|
__export2(openai_tools_exports, {
|
|
192443
192507
|
JsonOutputKeyToolsParser: () => JsonOutputKeyToolsParser,
|
|
@@ -192447,7 +192511,7 @@ __export2(openai_tools_exports, {
|
|
|
192447
192511
|
parseToolCall: () => parseToolCall3
|
|
192448
192512
|
});
|
|
192449
192513
|
|
|
192450
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
192514
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/language_models/llms.js
|
|
192451
192515
|
var llms_exports = {};
|
|
192452
192516
|
__export2(llms_exports, {
|
|
192453
192517
|
BaseLLM: () => BaseLLM,
|
|
@@ -192686,7 +192750,7 @@ var LLM = class extends BaseLLM {
|
|
|
192686
192750
|
}
|
|
192687
192751
|
};
|
|
192688
192752
|
|
|
192689
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
192753
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/chunk_array.js
|
|
192690
192754
|
var chunk_array_exports = {};
|
|
192691
192755
|
__export2(chunk_array_exports, { chunkArray: () => chunkArray });
|
|
192692
192756
|
var chunkArray = (arr2, chunkSize) => arr2.reduce((chunks, elem, index2) => {
|
|
@@ -192696,7 +192760,7 @@ var chunkArray = (arr2, chunkSize) => arr2.reduce((chunks, elem, index2) => {
|
|
|
192696
192760
|
return chunks;
|
|
192697
192761
|
}, []);
|
|
192698
192762
|
|
|
192699
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
192763
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/embeddings.js
|
|
192700
192764
|
var embeddings_exports = {};
|
|
192701
192765
|
__export2(embeddings_exports, { Embeddings: () => Embeddings2 });
|
|
192702
192766
|
var Embeddings2 = class {
|
|
@@ -192706,7 +192770,7 @@ var Embeddings2 = class {
|
|
|
192706
192770
|
}
|
|
192707
192771
|
};
|
|
192708
192772
|
|
|
192709
|
-
// ../../node_modules/.pnpm/@langchain+openai@1.
|
|
192773
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/embeddings.js
|
|
192710
192774
|
var OpenAIEmbeddings = class extends Embeddings2 {
|
|
192711
192775
|
model = "text-embedding-ada-002";
|
|
192712
192776
|
modelName;
|
|
@@ -192804,7 +192868,7 @@ var OpenAIEmbeddings = class extends Embeddings2 {
|
|
|
192804
192868
|
}
|
|
192805
192869
|
};
|
|
192806
192870
|
|
|
192807
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
192871
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/tools/index.js
|
|
192808
192872
|
var tools_exports = {};
|
|
192809
192873
|
__export2(tools_exports, {
|
|
192810
192874
|
BaseToolkit: () => BaseToolkit,
|
|
@@ -193071,7 +193135,116 @@ function _stringify(content3) {
|
|
|
193071
193135
|
}
|
|
193072
193136
|
}
|
|
193073
193137
|
|
|
193074
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
193138
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/tools/computerUse.js
|
|
193139
|
+
var ComputerUseScreenshotActionSchema = exports_external2.object({ type: exports_external2.literal("screenshot") });
|
|
193140
|
+
var ComputerUseClickActionSchema = exports_external2.object({
|
|
193141
|
+
type: exports_external2.literal("click"),
|
|
193142
|
+
x: exports_external2.number(),
|
|
193143
|
+
y: exports_external2.number(),
|
|
193144
|
+
button: exports_external2.enum([
|
|
193145
|
+
"left",
|
|
193146
|
+
"right",
|
|
193147
|
+
"wheel",
|
|
193148
|
+
"back",
|
|
193149
|
+
"forward"
|
|
193150
|
+
]).default("left")
|
|
193151
|
+
});
|
|
193152
|
+
var ComputerUseDoubleClickActionSchema = exports_external2.object({
|
|
193153
|
+
type: exports_external2.literal("double_click"),
|
|
193154
|
+
x: exports_external2.number(),
|
|
193155
|
+
y: exports_external2.number(),
|
|
193156
|
+
button: exports_external2.enum([
|
|
193157
|
+
"left",
|
|
193158
|
+
"right",
|
|
193159
|
+
"wheel",
|
|
193160
|
+
"back",
|
|
193161
|
+
"forward"
|
|
193162
|
+
]).default("left")
|
|
193163
|
+
});
|
|
193164
|
+
var ComputerUseDragActionSchema = exports_external2.object({
|
|
193165
|
+
type: exports_external2.literal("drag"),
|
|
193166
|
+
path: exports_external2.array(exports_external2.object({
|
|
193167
|
+
x: exports_external2.number(),
|
|
193168
|
+
y: exports_external2.number()
|
|
193169
|
+
}))
|
|
193170
|
+
});
|
|
193171
|
+
var ComputerUseKeypressActionSchema = exports_external2.object({
|
|
193172
|
+
type: exports_external2.literal("keypress"),
|
|
193173
|
+
keys: exports_external2.array(exports_external2.string())
|
|
193174
|
+
});
|
|
193175
|
+
var ComputerUseMoveActionSchema = exports_external2.object({
|
|
193176
|
+
type: exports_external2.literal("move"),
|
|
193177
|
+
x: exports_external2.number(),
|
|
193178
|
+
y: exports_external2.number()
|
|
193179
|
+
});
|
|
193180
|
+
var ComputerUseScrollActionSchema = exports_external2.object({
|
|
193181
|
+
type: exports_external2.literal("scroll"),
|
|
193182
|
+
x: exports_external2.number(),
|
|
193183
|
+
y: exports_external2.number(),
|
|
193184
|
+
scroll_x: exports_external2.number(),
|
|
193185
|
+
scroll_y: exports_external2.number()
|
|
193186
|
+
});
|
|
193187
|
+
var ComputerUseTypeActionSchema = exports_external2.object({
|
|
193188
|
+
type: exports_external2.literal("type"),
|
|
193189
|
+
text: exports_external2.string()
|
|
193190
|
+
});
|
|
193191
|
+
var ComputerUseWaitActionSchema = exports_external2.object({
|
|
193192
|
+
type: exports_external2.literal("wait"),
|
|
193193
|
+
duration: exports_external2.number().optional()
|
|
193194
|
+
});
|
|
193195
|
+
var ComputerUseActionUnionSchema = exports_external2.discriminatedUnion("type", [
|
|
193196
|
+
ComputerUseScreenshotActionSchema,
|
|
193197
|
+
ComputerUseClickActionSchema,
|
|
193198
|
+
ComputerUseDoubleClickActionSchema,
|
|
193199
|
+
ComputerUseDragActionSchema,
|
|
193200
|
+
ComputerUseKeypressActionSchema,
|
|
193201
|
+
ComputerUseMoveActionSchema,
|
|
193202
|
+
ComputerUseScrollActionSchema,
|
|
193203
|
+
ComputerUseTypeActionSchema,
|
|
193204
|
+
ComputerUseWaitActionSchema
|
|
193205
|
+
]);
|
|
193206
|
+
var ComputerUseActionSchema = exports_external2.object({ action: ComputerUseActionUnionSchema });
|
|
193207
|
+
|
|
193208
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/tools/localShell.js
|
|
193209
|
+
var LocalShellExecActionSchema = exports_external2.object({
|
|
193210
|
+
type: exports_external2.literal("exec"),
|
|
193211
|
+
command: exports_external2.array(exports_external2.string()),
|
|
193212
|
+
env: exports_external2.record(exports_external2.string(), exports_external2.string()).optional(),
|
|
193213
|
+
working_directory: exports_external2.string().optional(),
|
|
193214
|
+
timeout_ms: exports_external2.number().optional(),
|
|
193215
|
+
user: exports_external2.string().optional()
|
|
193216
|
+
});
|
|
193217
|
+
var LocalShellActionSchema = exports_external2.discriminatedUnion("type", [LocalShellExecActionSchema]);
|
|
193218
|
+
|
|
193219
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/tools/shell.js
|
|
193220
|
+
var ShellActionSchema = exports_external2.object({
|
|
193221
|
+
commands: exports_external2.array(exports_external2.string()).describe("Array of shell commands to execute"),
|
|
193222
|
+
timeout_ms: exports_external2.number().optional().describe("Optional timeout in milliseconds for the commands"),
|
|
193223
|
+
max_output_length: exports_external2.number().optional().describe("Optional maximum number of characters to return from each command")
|
|
193224
|
+
});
|
|
193225
|
+
|
|
193226
|
+
// ../../node_modules/.pnpm/@langchain+openai@1.2.0_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76___ws@8.18.3/node_modules/@langchain/openai/dist/tools/applyPatch.js
|
|
193227
|
+
var ApplyPatchCreateFileOperationSchema = exports_external2.object({
|
|
193228
|
+
type: exports_external2.literal("create_file"),
|
|
193229
|
+
path: exports_external2.string(),
|
|
193230
|
+
diff: exports_external2.string()
|
|
193231
|
+
});
|
|
193232
|
+
var ApplyPatchUpdateFileOperationSchema = exports_external2.object({
|
|
193233
|
+
type: exports_external2.literal("update_file"),
|
|
193234
|
+
path: exports_external2.string(),
|
|
193235
|
+
diff: exports_external2.string()
|
|
193236
|
+
});
|
|
193237
|
+
var ApplyPatchDeleteFileOperationSchema = exports_external2.object({
|
|
193238
|
+
type: exports_external2.literal("delete_file"),
|
|
193239
|
+
path: exports_external2.string()
|
|
193240
|
+
});
|
|
193241
|
+
var ApplyPatchOperationSchema = exports_external2.discriminatedUnion("type", [
|
|
193242
|
+
ApplyPatchCreateFileOperationSchema,
|
|
193243
|
+
ApplyPatchUpdateFileOperationSchema,
|
|
193244
|
+
ApplyPatchDeleteFileOperationSchema
|
|
193245
|
+
]);
|
|
193246
|
+
|
|
193247
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/documents/document.js
|
|
193075
193248
|
var Document = class {
|
|
193076
193249
|
pageContent;
|
|
193077
193250
|
metadata;
|
|
@@ -193083,7 +193256,7 @@ var Document = class {
|
|
|
193083
193256
|
}
|
|
193084
193257
|
};
|
|
193085
193258
|
|
|
193086
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
193259
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/documents/transformers.js
|
|
193087
193260
|
var BaseDocumentTransformer = class extends Runnable {
|
|
193088
193261
|
lc_namespace = [
|
|
193089
193262
|
"langchain_core",
|
|
@@ -193105,7 +193278,7 @@ var MappingDocumentTransformer = class extends BaseDocumentTransformer {
|
|
|
193105
193278
|
}
|
|
193106
193279
|
};
|
|
193107
193280
|
|
|
193108
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
193281
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/documents/index.js
|
|
193109
193282
|
var documents_exports = {};
|
|
193110
193283
|
__export2(documents_exports, {
|
|
193111
193284
|
BaseDocumentTransformer: () => BaseDocumentTransformer,
|
|
@@ -193113,7 +193286,7 @@ __export2(documents_exports, {
|
|
|
193113
193286
|
MappingDocumentTransformer: () => MappingDocumentTransformer
|
|
193114
193287
|
});
|
|
193115
193288
|
|
|
193116
|
-
// ../../node_modules/.pnpm/@langchain+textsplitters@1.0.1_@langchain+core@1.1.
|
|
193289
|
+
// ../../node_modules/.pnpm/@langchain+textsplitters@1.0.1_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76__/node_modules/@langchain/textsplitters/dist/text_splitter.js
|
|
193117
193290
|
var TextSplitter = class extends BaseDocumentTransformer {
|
|
193118
193291
|
lc_namespace = [
|
|
193119
193292
|
"langchain",
|
|
@@ -193784,7 +193957,7 @@ assembly `,
|
|
|
193784
193957
|
}
|
|
193785
193958
|
};
|
|
193786
193959
|
|
|
193787
|
-
// ../../node_modules/.pnpm/@langchain+classic@1.0.
|
|
193960
|
+
// ../../node_modules/.pnpm/@langchain+classic@1.0.6_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18_zdro5ewglbho3ign2vxlzw7ole/node_modules/@langchain/classic/dist/_virtual/rolldown_runtime.js
|
|
193788
193961
|
var __defProp4 = Object.defineProperty;
|
|
193789
193962
|
var __export3 = (target, all2) => {
|
|
193790
193963
|
for (var name in all2)
|
|
@@ -193794,7 +193967,7 @@ var __export3 = (target, all2) => {
|
|
|
193794
193967
|
});
|
|
193795
193968
|
};
|
|
193796
193969
|
|
|
193797
|
-
// ../../node_modules/.pnpm/@langchain+classic@1.0.
|
|
193970
|
+
// ../../node_modules/.pnpm/@langchain+classic@1.0.6_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18_zdro5ewglbho3ign2vxlzw7ole/node_modules/@langchain/classic/dist/util/ml-distance/similarities.js
|
|
193798
193971
|
function cosine(a443, b8) {
|
|
193799
193972
|
let p28 = 0;
|
|
193800
193973
|
let p29 = 0;
|
|
@@ -193807,7 +193980,7 @@ function cosine(a443, b8) {
|
|
|
193807
193980
|
return p28 / (Math.sqrt(p29) * Math.sqrt(q22));
|
|
193808
193981
|
}
|
|
193809
193982
|
|
|
193810
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
193983
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/retrievers/index.js
|
|
193811
193984
|
var retrievers_exports = {};
|
|
193812
193985
|
__export2(retrievers_exports, { BaseRetriever: () => BaseRetriever });
|
|
193813
193986
|
var BaseRetriever = class extends Runnable {
|
|
@@ -193840,7 +194013,7 @@ var BaseRetriever = class extends Runnable {
|
|
|
193840
194013
|
}
|
|
193841
194014
|
};
|
|
193842
194015
|
|
|
193843
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
194016
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/vectorstores.js
|
|
193844
194017
|
var vectorstores_exports = {};
|
|
193845
194018
|
__export2(vectorstores_exports, {
|
|
193846
194019
|
SaveableVectorStore: () => SaveableVectorStore,
|
|
@@ -193951,7 +194124,7 @@ var SaveableVectorStore = class extends VectorStore {
|
|
|
193951
194124
|
}
|
|
193952
194125
|
};
|
|
193953
194126
|
|
|
193954
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
194127
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/ml-distance/similarities.js
|
|
193955
194128
|
function cosine2(a443, b8) {
|
|
193956
194129
|
let p28 = 0;
|
|
193957
194130
|
let p29 = 0;
|
|
@@ -193964,7 +194137,7 @@ function cosine2(a443, b8) {
|
|
|
193964
194137
|
return p28 / (Math.sqrt(p29) * Math.sqrt(q22));
|
|
193965
194138
|
}
|
|
193966
194139
|
|
|
193967
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
194140
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/ml-distance/distances.js
|
|
193968
194141
|
function innerProduct(a443, b8) {
|
|
193969
194142
|
let ans = 0;
|
|
193970
194143
|
for (let i315 = 0;i315 < a443.length; i315++)
|
|
@@ -193972,7 +194145,7 @@ function innerProduct(a443, b8) {
|
|
|
193972
194145
|
return ans;
|
|
193973
194146
|
}
|
|
193974
194147
|
|
|
193975
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
194148
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/ml-distance-euclidean/euclidean.js
|
|
193976
194149
|
function squaredEuclidean(p28, q4) {
|
|
193977
194150
|
let d29 = 0;
|
|
193978
194151
|
for (let i315 = 0;i315 < p28.length; i315++)
|
|
@@ -193983,7 +194156,7 @@ function euclidean(p28, q4) {
|
|
|
193983
194156
|
return Math.sqrt(squaredEuclidean(p28, q4));
|
|
193984
194157
|
}
|
|
193985
194158
|
|
|
193986
|
-
// ../../node_modules/.pnpm/@langchain+core@1.1.
|
|
194159
|
+
// ../../node_modules/.pnpm/@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18.3_zod@3.25.76_/node_modules/@langchain/core/dist/utils/math.js
|
|
193987
194160
|
var math_exports = {};
|
|
193988
194161
|
__export2(math_exports, {
|
|
193989
194162
|
cosineSimilarity: () => cosineSimilarity,
|
|
@@ -194062,7 +194235,7 @@ function matrixMaxVal(arrays) {
|
|
|
194062
194235
|
return arrays.reduce((acc, array3) => Math.max(acc, argMax(array3).maxValue), 0);
|
|
194063
194236
|
}
|
|
194064
194237
|
|
|
194065
|
-
// ../../node_modules/.pnpm/@langchain+classic@1.0.
|
|
194238
|
+
// ../../node_modules/.pnpm/@langchain+classic@1.0.6_@langchain+core@1.1.5_@opentelemetry+api@1.9.0_openai@6.10.0_ws@8.18_zdro5ewglbho3ign2vxlzw7ole/node_modules/@langchain/classic/dist/vectorstores/memory.js
|
|
194066
194239
|
var memory_exports = {};
|
|
194067
194240
|
__export3(memory_exports, { MemoryVectorStore: () => MemoryVectorStore });
|
|
194068
194241
|
var MemoryVectorStore = class MemoryVectorStore2 extends VectorStore {
|