Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@langchain/classic
@moonrepo/cli
@langchain/langgraph-checkpoint
dom-to-image-more
Expand All @@ -19,4 +20,4 @@ magic-bytes.js
@swc/core
lightningcss
tar-fs
browserslist
browserslist
51 changes: 27 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
"**/@babel/parser": "7.24.7",
"**/@hapi/mimos/mime-db": "1.53.0",
"**/@hello-pangea/dnd": "18.0.1",
"**/@langchain/core": "0.3.80",
"**/@langchain/google-common": "0.1.8",
"**/@langchain/core": "1.1.31",
"**/@langchain/google-common": "2.1.24",
"**/@types/node": "22.19.1",
"**/@types/prop-types": "15.7.5",
"**/@typescript-eslint/utils": "8.46.3",
Expand All @@ -89,20 +89,23 @@
"**/d3-scale/**/d3-color": "npm:@elastic/kibana-d3-color@2.0.1",
"**/express-rate-limit": "8.3.0",
"**/fast-xml-parser": "5.5.7",
"**/flatted": "3.4.2",
"**/hoist-non-react-statics": "3.3.2",
"**/isomorphic-fetch/node-fetch": "2.7.0",
"**/langchain": "0.3.37",
"**/langchain": "1.2.30",
"**/pixelmatch": "5.3.0",
"**/qs": "6.15.0",
"**/remark-parse/trim": "1.0.1",
"**/sharp": "0.34.4",
"**/typescript": "5.9.3",
"**/util": "0.12.5",
"**/yauzl": "3.2.1",
"**/zod": "3.25.76",
"@aws-sdk/client-bedrock-agent-runtime": "3.747.0",
"@aws-sdk/client-bedrock-runtime": "3.744.0",
"@aws-sdk/client-kendra": "3.744.0",
"@aws-sdk/credential-provider-node": "3.744.0",
"@aws-sdk/client-bedrock-agent-runtime": "3.994.0",
"@aws-sdk/client-bedrock-runtime": "3.994.0",
"@aws-sdk/client-kendra": "3.994.0",
"@aws-sdk/credential-provider-node": "3.972.10",
"@elastic/elasticsearch/@elastic/transport": "9.3.5",
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0",
"@types/react": "18.2.79",
"@types/react-dom": "18.2.25",
Expand All @@ -118,7 +121,7 @@
"@apidevtools/json-schema-ref-parser": "14.1.1",
"@appland/sql-parser": "1.5.1",
"@arizeai/openinference-semantic-conventions": "1.1.0",
"@aws-sdk/client-bedrock-runtime": "3.744.0",
"@aws-sdk/client-bedrock-runtime": "3.994.0",
"@babel/runtime": "7.28.4",
"@dagrejs/dagre": "1.1.5",
"@dnd-kit/core": "6.3.1",
Expand Down Expand Up @@ -1148,16 +1151,16 @@
"@kbn/xstate-utils": "link:src/platform/packages/shared/kbn-xstate-utils",
"@kbn/zod": "link:src/platform/packages/shared/kbn-zod",
"@kbn/zod-helpers": "link:src/platform/packages/shared/kbn-zod-helpers",
"@langchain/aws": "0.1.10",
"@langchain/community": "0.3.45",
"@langchain/core": "0.3.80",
"@langchain/google-common": "0.1.8",
"@langchain/google-genai": "0.1.8",
"@langchain/google-vertexai": "0.1.8",
"@langchain/langgraph": "0.2.74",
"@langchain/langgraph-checkpoint": "0.0.17",
"@langchain/openai": "0.4.4",
"@launchdarkly/node-server-sdk": "9.10.6",
"@langchain/aws": "1.3.1",
"@langchain/classic": "1.0.22",
"@langchain/core": "1.1.31",
"@langchain/google-common": "2.1.24",
"@langchain/google-genai": "2.1.24",
"@langchain/google-vertexai": "2.1.24",
"@langchain/langgraph": "1.2.0",
"@langchain/langgraph-checkpoint": "1.0.0",
"@langchain/openai": "1.2.12",
"@launchdarkly/node-server-sdk": "9.10.8",
"@launchdarkly/openfeature-node-server": "1.1.0",
"@loaders.gl/core": "3.4.7",
"@loaders.gl/json": "3.4.7",
Expand Down Expand Up @@ -1188,9 +1191,9 @@
"@opentelemetry/semantic-conventions": "1.39.0",
"@reduxjs/toolkit": "1.9.7",
"@slack/webhook": "7.0.6",
"@smithy/eventstream-codec": "4.0.1",
"@smithy/eventstream-serde-node": "4.0.1",
"@smithy/middleware-stack": "4.2.0",
"@smithy/eventstream-codec": "4.2.8",
"@smithy/eventstream-serde-node": "4.1.1",
"@smithy/middleware-stack": "4.2.8",
"@smithy/node-http-handler": "4.3.0",
"@smithy/types": "4.12.0",
"@smithy/util-utf8": "4.2.0",
Expand Down Expand Up @@ -1305,9 +1308,9 @@
"jsonwebtoken": "9.0.2",
"jsts": "1.6.2",
"kea": "2.6.0",
"langchain": "0.3.37",
"langsmith": "0.3.72",
"launchdarkly-js-client-sdk": "3.8.1",
"langchain": "1.2.30",
"langsmith": "0.5.7",
"launchdarkly-js-client-sdk": "3.9.0",
"load-json-file": "6.2.0",
"lodash": "4.17.23",
"lru-cache": "11.2.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export async function findUsedNodeModules(options: Options) {
let outputs = 0;
const promise = Rx.lastValueFrom(
path$.pipe(
Rx.filter((path) => Path.extname(path) === '.js'),
Rx.filter((path) => ['.js', '.cjs'].includes(Path.extname(path))),
Rx.distinct(),
Rx.tap(() => {
inputs += 1;
Expand Down
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4036,7 +4036,7 @@
"matchDepNames": [
"langchain",
"@langchain/aws",
"@langchain/community",
"@langchain/classic",
"@langchain/core",
"@langchain/google-common",
"@langchain/google-genai",
Expand Down
3 changes: 3 additions & 0 deletions src/dev/build/tasks/clean_tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ export const CleanExtraFilesFromModules: Task = {
'**/bower.json',
'**/yarn.lock',

// nested package manager artifacts (e.g. pnpm virtual store leaked into published packages)
'**/.pnpm',

// misc
'**/.*ignore',
'**/*.log',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
@babel/generator@7.26.8
@babel/helper-annotate-as-pure@7.24.7
@babel/helper-module-imports@7.25.9
@babel/helper-plugin-utils@7.27.1
@babel/helper-plugin-utils@7.28.6
@babel/helper-string-parser@7.25.9
@babel/helper-validator-identifier@7.27.1
@babel/parser@7.24.7
@babel/plugin-syntax-jsx@7.24.7
@babel/plugin-syntax-jsx@7.28.6
@babel/runtime@7.28.4
@babel/template@7.26.8
@babel/traverse@7.26.8
Expand All @@ -19,7 +19,7 @@
@elastic/eui-theme-common@4.0.0
@elastic/eui@106.6.0-backport.1
@elastic/numeral@2.5.1
@elastic/prismjs-esql@1.1.0
@elastic/prismjs-esql@1.1.2
@emotion/babel-plugin@11.11.0
@emotion/cache@11.11.0
@emotion/hash@0.9.1
Expand All @@ -40,7 +40,7 @@
@jridgewell/resolve-uri@3.1.2
@jridgewell/set-array@1.2.1
@jridgewell/source-map@0.3.5
@jridgewell/sourcemap-codec@1.4.15
@jridgewell/sourcemap-codec@1.5.5
@jridgewell/trace-mapping@0.3.25
@mapbox/hast-util-table-cell-style@0.2.0
@popperjs/core@2.11.8
Expand Down Expand Up @@ -91,7 +91,7 @@
@webassemblyjs/wast-printer@1.12.1
@xtuc/ieee754@1.2.0
@xtuc/long@4.2.2
acorn@8.15.0
acorn@8.16.0
ajv-formats@2.1.1
ajv-keywords@3.5.2
ajv-keywords@5.1.0
Expand Down Expand Up @@ -194,7 +194,7 @@ dunder-proto@1.0.1
electron-to-chromium@1.5.250
elliptic@6.6.1
emoticon@3.2.0
enhanced-resolve@5.18.3
enhanced-resolve@5.20.0
error-ex@1.3.2
error-stack-parser@1.3.6
es-define-property@1.0.1
Expand Down Expand Up @@ -272,7 +272,7 @@ is-arguments@1.1.1
is-arrayish@0.2.1
is-buffer@2.0.3
is-callable@1.2.7
is-core-module@2.13.1
is-core-module@2.16.1
is-decimal@1.0.4
is-generator-function@1.1.0
is-hexadecimal@1.0.1
Expand Down Expand Up @@ -368,7 +368,7 @@ postcss-modules-scope@3.2.0
postcss-modules-values@4.0.0
postcss-selector-parser@6.1.2
postcss-value-parser@4.2.0
postcss@8.5.6
postcss@8.5.8
prismjs@1.27.0
process-nextick-args@2.0.1
process@0.11.10
Expand Down Expand Up @@ -429,14 +429,14 @@ requires-port@1.0.0
reselect@4.1.8
resolve-from@4.0.0
resolve-pathname@2.2.0
resolve@1.22.8
resolve@1.22.11
rimraf@2.7.1
ripemd160@2.0.1
rxjs@7.8.2
safe-buffer@5.1.2
safe-buffer@5.2.1
safe-regex-test@1.1.0
scheduler@0.23.0
scheduler@0.23.2
schema-utils@3.3.0
schema-utils@4.3.2
semver@7.7.4
Expand Down Expand Up @@ -468,7 +468,7 @@ supports-color@8.1.1
supports-preserve-symlinks-flag@1.0.0
symbol-observable@4.0.0
tabbable@5.3.3
tapable@2.2.1
tapable@2.3.0
terser-webpack-plugin@5.3.17
terser@5.40.0
text-diff@1.0.1
Expand Down Expand Up @@ -504,7 +504,7 @@ url-parse@1.5.10
url@0.11.4
use-callback-ref@1.3.0
use-sidecar@1.1.2
use-sync-external-store@1.4.0
use-sync-external-store@1.6.0
util-deprecate@1.0.2
util@0.12.5
utility-types@3.11.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@babel/helper-plugin-utils@7.27.1
@babel/helper-plugin-utils@7.28.6
@babel/plugin-syntax-numeric-separator@7.10.4
@babel/plugin-transform-numeric-separator@7.24.7
@babel/runtime@7.28.4
@jridgewell/gen-mapping@0.3.5
@jridgewell/resolve-uri@3.1.2
@jridgewell/set-array@1.2.1
@jridgewell/source-map@0.3.5
@jridgewell/sourcemap-codec@1.4.15
@jridgewell/sourcemap-codec@1.5.5
@jridgewell/trace-mapping@0.3.25
@types/eslint-scope@3.7.7
@types/eslint@8.44.2
Expand Down Expand Up @@ -34,7 +34,7 @@
@xobotyi/scrollbar-width@1.9.5
@xtuc/ieee754@1.2.0
@xtuc/long@4.2.2
acorn@8.15.0
acorn@8.16.0
ajv-formats@2.1.1
ajv-keywords@3.5.2
ajv-keywords@5.1.0
Expand All @@ -57,7 +57,7 @@ cssesc@3.0.0
csstype@3.1.2
dompurify@3.3.2
electron-to-chromium@1.5.250
enhanced-resolve@5.18.3
enhanced-resolve@5.20.0
error-stack-parser@2.0.6
es-module-lexer@1.5.4
escalade@3.2.0
Expand Down Expand Up @@ -114,7 +114,7 @@ postcss-modules-scope@3.2.0
postcss-modules-values@4.0.0
postcss-selector-parser@6.1.2
postcss-value-parser@4.2.0
postcss@8.5.6
postcss@8.5.8
prettier@2.8.8
punycode@2.3.1
react-universal-interface@0.6.2
Expand All @@ -137,7 +137,7 @@ stacktrace-gps@3.1.2
stacktrace-js@2.0.2
stylis@4.3.6
supports-color@8.1.1
tapable@2.2.1
tapable@2.3.0
terser-webpack-plugin@5.3.17
terser@5.40.0
throttle-debounce@3.0.1
Expand All @@ -151,9 +151,9 @@ uri-js@4.2.2
util-deprecate@1.0.2
vscode-jsonrpc@8.2.0
vscode-languageserver-protocol@3.17.5
vscode-languageserver-textdocument@1.0.7
vscode-languageserver-textdocument@1.0.12
vscode-languageserver-types@3.17.5
vscode-uri@3.0.8
vscode-uri@3.1.0
watchpack@2.4.1
webpack-sources@3.2.3
webpack@5.96.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@jridgewell/resolve-uri@3.1.2
@jridgewell/set-array@1.2.1
@jridgewell/source-map@0.3.5
@jridgewell/sourcemap-codec@1.4.15
@jridgewell/sourcemap-codec@1.5.5
@jridgewell/trace-mapping@0.3.25
@types/eslint-scope@3.7.7
@types/eslint@8.44.2
Expand All @@ -27,7 +27,7 @@
@webassemblyjs/wast-printer@1.12.1
@xtuc/ieee754@1.2.0
@xtuc/long@4.2.2
acorn@8.15.0
acorn@8.16.0
ajv-formats@2.1.1
ajv-keywords@3.5.2
ajv-keywords@5.1.0
Expand All @@ -42,7 +42,7 @@ chrome-trace-event@1.0.2
commander@2.20.3
common-path-prefix@3.0.0
electron-to-chromium@1.5.250
enhanced-resolve@5.18.3
enhanced-resolve@5.20.0
es-module-lexer@1.5.4
escalade@3.2.0
eslint-scope@5.1.1
Expand Down Expand Up @@ -90,7 +90,7 @@ schema-utils@4.3.2
source-map-support@0.5.21
source-map@0.6.1
supports-color@8.1.1
tapable@2.2.1
tapable@2.3.0
terser-webpack-plugin@5.3.17
terser@5.40.0
tslib@1.14.1
Expand All @@ -99,9 +99,9 @@ update-browserslist-db@1.1.4
uri-js@4.2.2
vscode-jsonrpc@8.2.0
vscode-languageserver-protocol@3.17.5
vscode-languageserver-textdocument@1.0.7
vscode-languageserver-textdocument@1.0.12
vscode-languageserver-types@3.17.5
vscode-uri@3.0.8
vscode-uri@3.1.0
watchpack@2.4.1
webpack-sources@3.2.3
webpack@5.96.1
Expand Down
2 changes: 1 addition & 1 deletion src/platform/packages/shared/kbn-test/jest-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ module.exports = {
transformIgnorePatterns: [
// ignore all node_modules except monaco-editor, monaco-yaml which requires babel transforms to handle dynamic import()
// since ESM modules are not natively supported in Jest yet (https://github.com/facebook/jest/issues/4842)
'[/\\\\]node_modules(?![\\/\\\\](byte-size|monaco-editor|monaco-yaml|monaco-languageserver-types|monaco-marker-data-provider|monaco-worker-manager|vscode-languageserver-types|d3-interpolate|d3-color|langchain|langsmith|@cfworker|gpt-tokenizer|flat|@langchain|eventsource-parser|fast-check|@fast-check/jest|@assemblyscript|quickselect|rbush|zod/v4|vega-interpreter|vega-util|vega-tooltip))[/\\\\].+\\.js$',
'[/\\\\]node_modules(?![\\/\\\\](byte-size|monaco-editor|monaco-yaml|monaco-promql|monaco-languageserver-types|monaco-marker-data-provider|monaco-worker-manager|vscode-languageserver-types|d3-interpolate|d3-color|langchain|langsmith|@cfworker|gpt-tokenizer|flat|@langchain|eventsource-parser|fast-check|@fast-check/jest|@assemblyscript|quickselect|rbush|zod/v4|vega-interpreter|vega-util|vega-tooltip|@modelcontextprotocol|pkce-challenge|ansi-styles))[/\\\\].+\\.js$',
'packages/kbn-pm/dist/index.js',
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|@langchain|zod/v4))/dist/[/\\\\].+\\.js$',
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|@langchain|zod/v4))/dist/util/[/\\\\].+\\.js$',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
// An array of regexp pattern strings that are matched against, matched files will skip transformation:
transformIgnorePatterns: [
// since ESM modules are not natively supported in Jest yet (https://github.com/facebook/jest/issues/4842)
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|gpt-tokenizer|flat|@langchain|eventsource-parser|zod/v4))[/\\\\].+\\.js$',
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|gpt-tokenizer|flat|@langchain|eventsource-parser|zod/v4|ansi-styles))[/\\\\].+\\.js$',
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|@langchain|zod/v4))/dist/[/\\\\].+\\.js$',
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|@langchain|zod/v4))/dist/util/[/\\\\].+\\.js$',
],
Expand Down
7 changes: 6 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2439,7 +2439,12 @@
"zod": ["typings/zod/v3"],
"zod/v4": ["typings/zod/v4"],
"vega-lite": ["typings/vega/vega_lite"],
"vega-tooltip": ["typings/vega/vega_tooltip"]
"vega-tooltip": ["typings/vega/vega_tooltip"],
"@langchain/langgraph/prebuilt": ["node_modules/@langchain/langgraph/dist/prebuilt"],
"@langchain/classic/chains": ["node_modules/@langchain/classic/dist/chains"],
"@langchain/classic/evaluation": ["node_modules/@langchain/classic/dist/evaluation"],
"@langchain/classic/document_loaders/fs/directory": ["node_modules/@langchain/classic/dist/document_loaders/fs/directory"],
"@langchain/classic/document_loaders/fs/text": ["node_modules/@langchain/classic/dist/document_loaders/fs/text"]
},
// Support .tsx files and transform JSX into calls to React.createElement
"jsx": "react",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,9 @@ describe('InferenceChatModel', () => {
});

expect(concatChunk.usage_metadata).toEqual({
input_token_details: {},
input_tokens: 5,
output_token_details: {},
output_tokens: 20,
total_tokens: 25,
});
Expand Down
Loading
Loading