diff --git a/.changeset/nervous-trainers-pull.md b/.changeset/nervous-trainers-pull.md new file mode 100644 index 000000000..ad296a275 --- /dev/null +++ b/.changeset/nervous-trainers-pull.md @@ -0,0 +1,6 @@ +--- +"create-llama": patch +"@llamaindex/server": patch +--- + +fix: peer deps and sourcemap issues made ts server start fail diff --git a/packages/create-llama/templates/types/llamaindexserver/nextjs/package.json b/packages/create-llama/templates/types/llamaindexserver/nextjs/package.json index 1a75e8a97..b846c1bd0 100644 --- a/packages/create-llama/templates/types/llamaindexserver/nextjs/package.json +++ b/packages/create-llama/templates/types/llamaindexserver/nextjs/package.json @@ -13,7 +13,7 @@ "@llamaindex/openai": "~0.4.0", "@llamaindex/server": "~0.2.1", "@llamaindex/workflow": "~1.1.8", - "@llamaindex/tools": "~0.0.11", + "@llamaindex/tools": "~0.1.2", "llamaindex": "~0.11.0", "dotenv": "^16.4.7", "zod": "^3.23.8" diff --git a/packages/server/examples/package.json b/packages/server/examples/package.json index f844c1a3a..3a0b50fce 100644 --- a/packages/server/examples/package.json +++ b/packages/server/examples/package.json @@ -10,7 +10,7 @@ "@llamaindex/openai": "~0.4.0", "@llamaindex/readers": "~3.1.4", "@llamaindex/server": "workspace:*", - "@llamaindex/tools": "~0.0.11", + "@llamaindex/tools": "~0.1.2", "dotenv": "^16.4.7", "llamaindex": "~0.11.0", "zod": "^3.24.2" diff --git a/packages/server/package.json b/packages/server/package.json index 5d73c5717..e7456838c 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -60,6 +60,9 @@ "vitest": "^2.1.5" }, "dependencies": { + "@jridgewell/sourcemap-codec": "1.5.0", + "@jridgewell/gen-mapping": "0.3.8", + "@jridgewell/trace-mapping": "0.3.25", "@babel/parser": "^7.27.0", "@babel/standalone": "^7.27.0", "@babel/traverse": "^7.27.0", diff --git a/packages/server/project-config/package.json b/packages/server/project-config/package.json index b69f65a07..f8f5c89dc 100644 --- a/packages/server/project-config/package.json +++ b/packages/server/project-config/package.json @@ -45,7 +45,7 @@ "@llamaindex/env": "~0.1.30", "@llamaindex/openai": "~0.4.0", "@llamaindex/readers": "~3.1.4", - "@llamaindex/tools": "~0.0.11", + "@llamaindex/tools": "~0.1.2", "@llamaindex/workflow": "~1.1.8", "@radix-ui/react-accordion": "^1.2.3", "@radix-ui/react-alert-dialog": "^1.1.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d55040ca..1157fef8b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -177,6 +177,15 @@ importers: '@hookform/resolvers': specifier: ^5.0.1 version: 5.0.1(react-hook-form@7.56.1(react@19.1.0)) + '@jridgewell/gen-mapping': + specifier: 0.3.8 + version: 0.3.8 + '@jridgewell/sourcemap-codec': + specifier: 1.5.0 + version: 1.5.0 + '@jridgewell/trace-mapping': + specifier: 0.3.25 + version: 0.3.25 '@llamaindex/chat-ui': specifier: 0.5.6 version: 0.5.6(@babel/runtime@7.27.0)(@codemirror/autocomplete@6.18.6)(@codemirror/language@6.11.1)(@codemirror/lint@6.8.5)(@codemirror/search@6.5.11)(@codemirror/state@6.5.2)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.37.1)(@lezer/highlight@1.2.1)(@types/react-dom@19.1.2(@types/react@19.1.2))(@types/react@19.1.2)(codemirror@6.0.1)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(yjs@13.6.27) @@ -371,8 +380,8 @@ importers: specifier: workspace:* version: link:.. '@llamaindex/tools': - specifier: ~0.0.11 - version: 0.0.14(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(openapi-types@12.1.3) + specifier: ~0.1.2 + version: 0.1.2(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(openapi-types@12.1.3) dotenv: specifier: ^16.4.7 version: 16.5.0 @@ -1547,10 +1556,10 @@ packages: '@llamaindex/core': 0.6.9 '@llamaindex/env': 0.1.30 - '@llamaindex/tools@0.0.14': - resolution: {integrity: sha512-lok5Yntu3ohWTBvCxMQruVDmKnjuB7w/JAq4QXt07b1Yif5hzO78Do/7OhZFQYA3NLrktC7vp9Me1h85qSYWPg==} + '@llamaindex/tools@0.1.2': + resolution: {integrity: sha512-e9Eg1Yrh6e/yYg1VhoBUXlSM7NYi1WMVCANwYUBG7BLn5S/dwK+Rp8LPDr/T5+P8vK9HQqCz57LLtZrLDP/5Mg==} peerDependencies: - '@llamaindex/core': 0.6.9 + '@llamaindex/core': 0.6.12 '@llamaindex/env': 0.1.30 '@llamaindex/workflow@1.0.3': @@ -1598,6 +1607,10 @@ packages: resolution: {integrity: sha512-KG1CZhZfWg+u8pxeM/mByJDScJSrjjxLc8fwQqbsS8xCjBmQfMNEBTotYdNanKekepnfRI85GtgQlctLFpcYPw==} engines: {node: '>=18'} + '@modelcontextprotocol/sdk@1.13.2': + resolution: {integrity: sha512-Vx7qOcmoKkR3qhaQ9qf3GxiVKCEu+zfJddHv6x3dY/9P6+uIwJnmuAur5aB+4FDXf41rRrDnOEGkviX5oYZ67w==} + engines: {node: '>=18'} + '@napi-rs/wasm-runtime@0.2.9': resolution: {integrity: sha512-OKRBiajrrxB9ATokgEQoG87Z25c67pCpYcCwmXYX8PBftC9pBfN18gnm/fh1wurSLEKIAt+QRFLFCQISrb66Jg==} @@ -7278,6 +7291,9 @@ packages: zod@3.25.13: resolution: {integrity: sha512-Q8mvk2iWi7rTDfpQBsu4ziE7A6AxgzJ5hzRyRYQkoV3A3niYsXVwDaP1Kbz3nWav6S+VZ6k2OznFn8ZyDHvIrg==} + zod@3.25.67: + resolution: {integrity: sha512-idA2YXwpCdqUSKRCACDE6ItZD9TZzy3OZMtpfLoh6oPR47lipysRrJfjzMqFxQ3uJuUPyUeWe1r9vLH33xO/Qw==} + zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} @@ -8661,21 +8677,20 @@ snapshots: - encoding - supports-color - '@llamaindex/tools@0.0.14(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(openapi-types@12.1.3)': + '@llamaindex/tools@0.1.2(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(openapi-types@12.1.3)': dependencies: '@apidevtools/swagger-parser': 10.1.1(openapi-types@12.1.3) '@e2b/code-interpreter': 1.5.0 '@llamaindex/core': 0.6.6 '@llamaindex/env': 0.1.30 - '@modelcontextprotocol/sdk': 1.12.1 - ajv: 8.17.1 + '@modelcontextprotocol/sdk': 1.13.2 duck-duck-scrape: 2.2.7 formdata-node: 6.0.3 got: 14.4.7 marked: 14.1.4 papaparse: 5.5.2 wikipedia: 2.1.2 - zod: 3.25.13 + zod: 3.25.67 transitivePeerDependencies: - debug - openapi-types @@ -8826,6 +8841,23 @@ snapshots: zod-to-json-schema: 3.24.5(zod@3.25.13) transitivePeerDependencies: - supports-color + optional: true + + '@modelcontextprotocol/sdk@1.13.2': + dependencies: + ajv: 6.12.6 + content-type: 1.0.5 + cors: 2.8.5 + cross-spawn: 7.0.6 + eventsource: 3.0.7 + express: 5.1.0 + express-rate-limit: 7.5.0(express@5.1.0) + pkce-challenge: 5.0.0 + raw-body: 3.0.0 + zod: 3.25.67 + zod-to-json-schema: 3.24.5(zod@3.25.67) + transitivePeerDependencies: + - supports-color '@napi-rs/wasm-runtime@0.2.9': dependencies: @@ -10970,10 +11002,6 @@ snapshots: dependencies: ms: 2.1.3 - debug@4.4.0: - dependencies: - ms: 2.1.3 - debug@4.4.0(supports-color@5.5.0): dependencies: ms: 2.1.3 @@ -15288,7 +15316,7 @@ snapshots: dependencies: chalk: 4.1.2 commander: 9.5.0 - debug: 4.4.0 + debug: 4.4.0(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -15431,8 +15459,14 @@ snapshots: dependencies: zod: 3.25.13 + zod-to-json-schema@3.24.5(zod@3.25.67): + dependencies: + zod: 3.25.67 + zod@3.24.3: {} zod@3.25.13: {} + zod@3.25.67: {} + zwitch@2.0.4: {}