Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Feat: Add LlamaIndex provider for TS SDK (#2029)
Musthaq Ahamad committed
Oct 6, 2025 at 17:08 UTC
ea84142ae58828b71c14987891561ef719cfd9e7
17 files changed
+1693
-333
.changeset/tough-trains-listen.md
new
+5
@@ -0,0 +1,5 @@
1
+---
2
+'@composio/llamaindex': patch
3
+---
4
+
5
+Add Llamaindex provider for TS
fern/package.json
+3
@@ -44,11 +44,14 @@
44
"@composio/core": "workspace:*",
45
"@composio/google": "workspace:*",
46
"@composio/langchain": "workspace:*",
47
+ "@composio/llamaindex": "workspace:*",
48
"@composio/openai": "workspace:*",
49
"@composio/vercel": "workspace:*",
50
"@google/genai": "^1.1.0",
51
"@langchain/langgraph": "^0.2.72",
52
"@langchain/openai": "^0.5.10",
53
+ "@llamaindex/openai": "^0.4.20",
54
+ "@llamaindex/workflow": "^1.1.24",
55
"@types/convict": "^6.1.6",
56
"@types/glob": "^8.1.0",
57
"@types/node": "^20.17.57",
fern/pages/src/providers/llamaindex.mdx
+18
@@ -13,6 +13,9 @@ The LlamaIndex Provider transforms Composio tools into a format compatible with
13
```bash title="Python" for="python"
14
pip install composio_llamaindex==0.8.0 llama-index
15
```
16
+```bash title="TypeScript" for="typescript"
17
+npm install @composio/llamaindex @llamaindex/openai @llamaindex/workflow
18
+```
19
</CodeGroup>
20
21
## Usage
@@ -22,4 +25,19 @@ pip install composio_llamaindex==0.8.0 llama-index
25
src="fern/snippets/providers/python/llamaindex-provider.py"
26
title="Python"
27
/>
28
+<SnippetCode
29
+ src="fern/snippets/providers/typescript/llamaindex-provider.ts"
30
+ title="TypeScript"
31
+/>
32
+</CodeGroup>
33
+
34
+## Advanced Usage
35
+
36
+### Streaming Agent with Multiple Toolkits
37
+
38
+<CodeGroup>
39
+<SnippetCode
40
+ src="fern/snippets/providers/typescript/llamaindex-streaming.ts"
41
+ title="TypeScript"
42
+/>
43
</CodeGroup>
\ No newline at end of file
fern/snippets/providers/typescript/llamaindex-provider.ts
new
+36
@@ -0,0 +1,36 @@
1
+import { Composio } from '@composio/core';
2
+import { LlamaindexProvider } from '@composio/llamaindex';
3
+import { openai } from '@llamaindex/openai';
4
+import { agent } from '@llamaindex/workflow';
5
+import 'dotenv/config';
6
+
7
+// Initialize Composio with LlamaIndex provider
8
+const composio = new Composio({
9
+ apiKey: process.env.COMPOSIO_API_KEY,
10
+ provider: new LlamaindexProvider(),
11
+});
12
+
13
+async function main() {
14
+ // Get tools
15
+ const tools = await composio.tools.get('user@acme.com', {
16
+ tools: ['GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER'],
17
+ });
18
+
19
+ // Create LlamaIndex agent with Composio tools
20
+ const githubAgent = agent({
21
+ name: 'GitHub Agent',
22
+ description: 'An agent that performs GitHub actions',
23
+ llm: openai({ model: 'gpt-4o-mini' }),
24
+ systemPrompt: 'You are an agent that performs github actions.',
25
+ tools,
26
+ });
27
+
28
+ // Run the agent
29
+ const result = await githubAgent.run(
30
+ 'Hello! I would like to star a repo composiohq/composio on GitHub'
31
+ );
32
+
33
+ console.log(result);
34
+}
35
+
36
+main().catch(console.error);
fern/snippets/providers/typescript/llamaindex-streaming.ts
new
+53
@@ -0,0 +1,53 @@
1
+import { Composio } from '@composio/core';
2
+import { LlamaindexProvider } from '@composio/llamaindex';
3
+import { openai } from '@llamaindex/openai';
4
+import { agent, agentStreamEvent } from '@llamaindex/workflow';
5
+import 'dotenv/config';
6
+
7
+const composio = new Composio({
8
+ apiKey: process.env.COMPOSIO_API_KEY,
9
+ provider: new LlamaindexProvider(),
10
+});
11
+
12
+async function streamingExample() {
13
+ // Get tools from multiple toolkits with execution modifiers
14
+ const tools = await composio.tools.get(
15
+ 'default',
16
+ {
17
+ toolkits: ['gmail', 'googlecalendar', 'slack'],
18
+ limit: 20,
19
+ },
20
+ {
21
+ beforeExecute: ({ toolSlug, params }) => {
22
+ console.log(`🔄 Executing ${toolSlug} with:`, params);
23
+ return params;
24
+ },
25
+ afterExecute: ({ toolSlug, result }) => {
26
+ console.log(`✅ ${toolSlug} completed:`, result);
27
+ return result;
28
+ },
29
+ }
30
+ );
31
+
32
+ // Create streaming agent
33
+ const assistantAgent = agent({
34
+ name: 'Personal Assistant',
35
+ description: 'A helpful personal assistant',
36
+ llm: openai({ model: 'gpt-4o-mini' }),
37
+ systemPrompt: 'You are a helpful personal assistant that can manage emails, calendar events, and slack messages.',
38
+ tools,
39
+ });
40
+
41
+ // Stream the response
42
+ const stream = await assistantAgent.runStream(
43
+ 'Schedule a meeting for tomorrow at 2 PM and send a slack message about it'
44
+ );
45
+
46
+ for await (const event of stream) {
47
+ if (agentStreamEvent.include(event)) {
48
+ process.stdout.write(event.data.delta);
49
+ }
50
+ }
51
+}
52
+
53
+streamingExample().catch(console.error);
pnpm-lock.yaml
+670
-333
@@ -110,7 +110,7 @@ importers:
110
devDependencies:
111
'@ai-sdk/anthropic':
112
specifier: ^1.2.12
113
- version: 1.2.12(zod@4.1.9)
113
+ version: 1.2.12(zod@3.25.76)
114
'@anthropic-ai/sdk':
115
specifier: ^0.52.0
116
version: 0.52.0
@@ -123,6 +123,9 @@ importers:
123
'@composio/langchain':
124
specifier: workspace:*
125
version: link:../ts/packages/providers/langchain
126
+ '@composio/llamaindex':
127
+ specifier: workspace:*
128
+ version: link:../ts/packages/providers/llamaindex
129
'@composio/openai':
130
specifier: workspace:*
131
version: link:../ts/packages/providers/openai
@@ -134,10 +137,16 @@ importers:
137
version: 1.19.0(@modelcontextprotocol/sdk@1.18.0)
138
'@langchain/langgraph':
139
specifier: ^0.2.72
137
- version: 0.2.74(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(react@18.3.1)(zod-to-json-schema@3.24.6(zod@4.1.9))
140
+ version: 0.2.74(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(react@18.3.1)(zod-to-json-schema@3.24.6(zod@3.25.76))
141
'@langchain/openai':
142
specifier: ^0.5.10
140
- version: 0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(ws@8.18.2)
143
+ version: 0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(ws@8.18.2)
144
+ '@llamaindex/openai':
145
+ specifier: ^0.4.20
146
+ version: 0.4.20(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(ws@8.18.2)(zod@3.25.76)
147
+ '@llamaindex/workflow':
148
+ specifier: ^1.1.24
149
+ version: 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.8.0)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)
150
'@types/convict':
151
specifier: ^6.1.6
152
version: 6.1.6
@@ -155,10 +164,10 @@ importers:
164
version: 1.9.7
165
ai:
166
specifier: 'catalog:'
158
- version: 5.0.44(zod@4.1.9)
167
+ version: 5.0.44(zod@3.25.76)
168
composio-core:
169
specifier: ^0.5.39
161
- version: 0.5.39(@ai-sdk/openai@2.0.35(zod@4.1.9))(@cloudflare/workers-types@4.20250917.0)(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(@langchain/openai@0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(ws@8.18.2))(ai@5.0.44(zod@4.1.9))(langchain@0.3.28(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(axios@1.10.0)(openai@4.104.0(ws@8.18.2)(zod@4.1.9))(ws@8.18.2))(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
170
+ version: 0.5.39(@ai-sdk/openai@2.0.35(zod@3.25.76))(@cloudflare/workers-types@4.20250917.0)(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(@langchain/openai@0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(ws@8.18.2))(ai@5.0.44(zod@3.25.76))(langchain@0.3.28(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(axios@1.10.0)(openai@4.104.0(ws@8.18.2)(zod@3.25.76))(ws@8.18.2))(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
171
hono:
172
specifier: ^4.7.11
173
version: 4.8.0
@@ -173,7 +182,7 @@ importers:
182
version: 1.2.1
183
openai:
184
specifier: ^4.94.0
176
- version: 4.104.0(ws@8.18.2)(zod@4.1.9)
185
+ version: 4.104.0(ws@8.18.2)(zod@3.25.76)
186
react:
187
specifier: ^18.3.1
188
version: 18.3.1
@@ -265,7 +274,7 @@ importers:
274
version: 5.9.2
275
vitest:
276
specifier: 'catalog:'
268
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
277
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
278
wrangler:
279
specifier: 'catalog:'
280
version: 4.37.1(@cloudflare/workers-types@4.20250917.0)
@@ -375,7 +384,7 @@ importers:
384
version: 16.5.0
385
zod-to-json-schema:
386
specifier: ^3.24.5
378
- version: 3.24.5(zod@4.1.9)
387
+ version: 3.24.5(zod@3.25.76)
388
devDependencies:
389
'@types/bun':
390
specifier: ^1.2.9
@@ -415,6 +424,34 @@ importers:
424
specifier: 'catalog:'
425
version: 5.9.2
426
427
+ ts/examples/llamaindex:
428
+ dependencies:
429
+ '@composio/core':
430
+ specifier: workspace:*
431
+ version: link:../../packages/core
432
+ '@composio/llamaindex':
433
+ specifier: workspace:*
434
+ version: link:../../packages/providers/llamaindex
435
+ '@llamaindex/openai':
436
+ specifier: ^0.4.20
437
+ version: 0.4.20(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(ws@8.18.2)(zod@3.25.76)
438
+ '@llamaindex/workflow':
439
+ specifier: ^1.1.24
440
+ version: 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)
441
+ dotenv:
442
+ specifier: ^16.4.1
443
+ version: 16.6.1
444
+ llamaindex:
445
+ specifier: ^0.12.0
446
+ version: 0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.76)
447
+ devDependencies:
448
+ '@types/bun':
449
+ specifier: ^1.2.9
450
+ version: 1.2.16
451
+ typescript:
452
+ specifier: 'catalog:'
453
+ version: 5.9.2
454
+
455
ts/examples/mastra:
456
dependencies:
457
'@ai-sdk/openai':
@@ -450,7 +487,7 @@ importers:
487
dependencies:
488
'@ai-sdk/openai':
489
specifier: ^2.0.35
453
- version: 2.0.35(zod@4.1.9)
490
+ version: 2.0.35(zod@3.25.76)
491
'@composio/core':
492
specifier: workspace:*
493
version: link:../../packages/core
@@ -462,7 +499,7 @@ importers:
499
version: 1.18.0
500
ai:
501
specifier: 'catalog:'
465
- version: 5.0.44(zod@4.1.9)
502
+ version: 5.0.44(zod@3.25.76)
503
dotenv:
504
specifier: ^16.4.1
505
version: 16.6.1
@@ -478,7 +515,7 @@ importers:
515
dependencies:
516
'@ai-sdk/openai':
517
specifier: ^1.3.16
481
- version: 1.3.22(zod@4.1.9)
518
+ version: 1.3.22(zod@3.25.76)
519
'@composio/core':
520
specifier: workspace:*
521
version: link:../../packages/core
@@ -487,7 +524,7 @@ importers:
524
version: link:../../packages/providers/vercel
525
ai:
526
specifier: 'catalog:'
490
- version: 5.0.44(zod@4.1.9)
527
+ version: 5.0.44(zod@3.25.76)
528
devDependencies:
529
'@types/bun':
530
specifier: ^1.2.9
@@ -553,7 +590,7 @@ importers:
590
dependencies:
591
'@ai-sdk/openai':
592
specifier: ^1.3.16
556
- version: 1.3.22(zod@4.1.9)
593
+ version: 1.3.22(zod@3.25.76)
594
'@composio/core':
595
specifier: workspace:*
596
version: link:../../packages/core
@@ -562,7 +599,7 @@ importers:
599
version: link:../../packages/providers/vercel
600
ai:
601
specifier: 'catalog:'
565
- version: 5.0.44(zod@4.1.9)
602
+ version: 5.0.44(zod@3.25.76)
603
devDependencies:
604
'@types/bun':
605
specifier: ^1.2.9
@@ -581,10 +618,10 @@ importers:
618
version: 16.5.0
619
openai:
620
specifier: ^5.19.1
584
- version: 5.19.1(ws@8.18.2)(zod@4.1.9)
621
+ version: 5.19.1(ws@8.18.2)(zod@3.25.76)
622
zod-to-json-schema:
623
specifier: ^3.24.5
587
- version: 3.24.5(zod@4.1.9)
624
+ version: 3.24.5(zod@3.25.76)
625
devDependencies:
626
'@types/bun':
627
specifier: ^1.2.9
@@ -613,7 +650,7 @@ importers:
650
dependencies:
651
'@ai-sdk/openai':
652
specifier: ^2.0.16
616
- version: 2.0.16(zod@4.1.9)
653
+ version: 2.0.16(zod@3.25.76)
654
'@composio/core':
655
specifier: workspace:*
656
version: link:../../packages/core
@@ -625,7 +662,7 @@ importers:
662
version: 1.18.0
663
ai:
664
specifier: 'catalog:'
628
- version: 5.0.44(zod@4.1.9)
665
+ version: 5.0.44(zod@3.25.76)
666
dotenv:
667
specifier: ^16.5.0
668
version: 16.5.0
@@ -748,7 +785,7 @@ importers:
785
version: 5.9.2
786
vitest:
787
specifier: 'catalog:'
751
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
788
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
789
790
ts/packages/core:
791
dependencies:
@@ -794,7 +831,7 @@ importers:
831
version: 5.9.2
832
vitest:
833
specifier: 'catalog:'
797
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
834
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
835
zod:
836
specifier: 'catalog:'
837
version: 3.25.76
@@ -830,7 +867,7 @@ importers:
867
version: 0.52.0
868
'@mastra/mcp':
869
specifier: ^0.12.0
833
- version: 0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@4.1.9))(@types/json-schema@7.0.15)(zod@4.1.9)
870
+ version: 0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76))(@types/json-schema@7.0.15)(zod@3.25.76)
871
devDependencies:
872
'@composio/core':
873
specifier: workspace:*
@@ -843,7 +880,7 @@ importers:
880
version: 5.9.2
881
vitest:
882
specifier: 'catalog:'
846
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
883
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
884
885
ts/packages/providers/cloudflare:
886
dependencies:
@@ -862,7 +899,7 @@ importers:
899
version: 5.9.2
900
vitest:
901
specifier: 'catalog:'
865
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
902
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
903
904
ts/packages/providers/google:
905
dependencies:
@@ -897,11 +934,27 @@ importers:
934
version: 5.9.2
935
vitest:
936
specifier: 'catalog:'
900
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
937
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
938
zod:
939
specifier: 'catalog:'
940
version: 3.25.76
941
942
+ ts/packages/providers/llamaindex:
943
+ dependencies:
944
+ llamaindex:
945
+ specifier: ^0.12.0
946
+ version: 0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.1.9)
947
+ devDependencies:
948
+ '@composio/core':
949
+ specifier: workspace:*
950
+ version: link:../../core
951
+ tsup:
952
+ specifier: 'catalog:'
953
+ version: 8.5.0(jiti@1.21.7)(postcss@8.5.6)(tsx@4.20.5)(typescript@5.9.2)(yaml@2.8.1)
954
+ typescript:
955
+ specifier: 'catalog:'
956
+ version: 5.9.2
957
+
958
ts/packages/providers/mastra:
959
dependencies:
960
'@mastra/core':
@@ -922,7 +975,7 @@ importers:
975
version: 5.9.2
976
vitest:
977
specifier: ^3.1.4
925
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
978
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
979
zod:
980
specifier: 'catalog:'
981
version: 3.25.76
@@ -944,7 +997,7 @@ importers:
997
version: 5.9.2
998
vitest:
999
specifier: 'catalog:'
947
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
1000
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
1001
1002
ts/packages/providers/openai-agents:
1003
devDependencies:
@@ -962,7 +1015,7 @@ importers:
1015
version: 5.9.2
1016
vitest:
1017
specifier: 'catalog:'
965
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
1018
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
1019
zod:
1020
specifier: 'catalog:'
1021
version: 3.25.76
@@ -983,7 +1036,7 @@ importers:
1036
version: 5.9.2
1037
vitest:
1038
specifier: 'catalog:'
986
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
1039
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
1040
zod:
1041
specifier: 'catalog:'
1042
version: 3.25.76
@@ -1005,7 +1058,7 @@ importers:
1058
version: 8.5.0(jiti@1.21.7)(postcss@8.5.6)(tsx@4.20.5)(typescript@5.9.2)(yaml@2.8.1)
1059
vitest:
1060
specifier: 'catalog:'
1008
- version: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
1061
+ version: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
1062
1063
packages:
1064
@@ -1121,6 +1174,17 @@ packages:
1174
peerDependencies:
1175
'@types/json-schema': ^7.0.15
1176
1177
+ '@aws-crypto/sha256-js@5.2.0':
1178
+ resolution: {integrity: sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==}
1179
+ engines: {node: '>=16.0.0'}
1180
+
1181
+ '@aws-crypto/util@5.2.0':
1182
+ resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==}
1183
+
1184
+ '@aws-sdk/types@3.901.0':
1185
+ resolution: {integrity: sha512-FfEM25hLEs4LoXsLXQ/q6X6L4JmKkKkbVFpKD4mwfVHtRVQG6QxJiCPcrkcPISquiy6esbwK2eh64TWbiD60cg==}
1186
+ engines: {node: '>=18.0.0'}
1187
+
1188
'@babel/code-frame@7.27.1':
1189
resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
1190
engines: {node: '>=6.9.0'}
@@ -1724,6 +1788,11 @@ packages:
1788
resolution: {integrity: sha512-4SaFZCNfJqvk/kenHpI8xvN42DMaoycy4PzKc5otHxRswww1kAt82OlBuwRVLofCACCTZEcla2Ydxv8scMXaTg==}
1789
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
1790
1791
+ '@finom/zod-to-json-schema@3.24.11':
1792
+ resolution: {integrity: sha512-fL656yBPiWebtfGItvtXLWrFNGlF1NcDFS0WdMQXMs9LluVg0CfT5E2oXYp0pidl0vVG53XkW55ysijNkU5/hA==}
1793
+ peerDependencies:
1794
+ zod: ^4.0.14
1795
+
1796
'@gerrit0/mini-shiki@3.6.0':
1797
resolution: {integrity: sha512-KaeJvPNofTEZR9EzVNp/GQzbQqkGfjiu6k3CXKvhVTX+8OoAKSX/k7qxLKOX3B0yh2XqVAc93rsOu48CGt2Qug==}
1798
@@ -2204,6 +2273,63 @@ packages:
2273
peerDependencies:
2274
'@langchain/core': '>=0.2.21 <0.4.0'
2275
2276
+ '@llamaindex/core@0.6.22':
2277
+ resolution: {integrity: sha512-/BXyemkvpxMaUhOkbwJ2PTvzKjSWkL8+6QLpz/n+pk8xBwMMe1GVBgli/J57gCyi8GbrlBafBj6GaPOgWub2Eg==}
2278
+
2279
+ '@llamaindex/env@0.1.30':
2280
+ resolution: {integrity: sha512-y6kutMcCevzbmexUgz+HXf7KiZemzAoFEYSjAILfR+cG6FmYSF8XvLbGOB34Kx8mlRi7EI8rZXpezJ5qCqOyZg==}
2281
+ peerDependencies:
2282
+ '@huggingface/transformers': ^3.5.0
2283
+ gpt-tokenizer: ^2.5.0
2284
+ peerDependenciesMeta:
2285
+ '@huggingface/transformers':
2286
+ optional: true
2287
+ gpt-tokenizer:
2288
+ optional: true
2289
+
2290
+ '@llamaindex/node-parser@2.0.22':
2291
+ resolution: {integrity: sha512-uj5O89WShAAyiSZ8f8tU7hnLJ6pSmlY2a6hkAOs8odkUgT87dEqaPHpsK7w0iJdEFiob7GoLeRhv2K624FooXg==}
2292
+ peerDependencies:
2293
+ '@llamaindex/core': 0.6.22
2294
+ '@llamaindex/env': 0.1.30
2295
+ tree-sitter: ^0.22.0
2296
+ web-tree-sitter: ^0.24.3
2297
+
2298
+ '@llamaindex/openai@0.4.20':
2299
+ resolution: {integrity: sha512-b2wTBkSELAszdJ6Eh2KrLHZvcDQ5UUotaThyNq76b22rYEBs2YOgVbbLUBXXWOLxkEHntVRt99ZcVtsOYlLg+w==}
2300
+ peerDependencies:
2301
+ '@llamaindex/core': 0.6.22
2302
+ '@llamaindex/env': 0.1.30
2303
+
2304
+ '@llamaindex/workflow-core@1.3.3':
2305
+ resolution: {integrity: sha512-WJIcD4K2suGbNkwU5CC70jKKrA5tARba42nMs8Pou1RGzmoxqg+K+b7vyLBmiDtImR8P40YLmkayCIRVQPBmsg==}
2306
+ peerDependencies:
2307
+ '@modelcontextprotocol/sdk': ^1.7.0
2308
+ hono: ^4.7.4
2309
+ next: ^15.2.2
2310
+ p-retry: ^6.2.1
2311
+ rxjs: ^7.8.2
2312
+ zod: ^3.25.0 || ^4.0.0
2313
+ peerDependenciesMeta:
2314
+ '@modelcontextprotocol/sdk':
2315
+ optional: true
2316
+ hono:
2317
+ optional: true
2318
+ next:
2319
+ optional: true
2320
+ p-retry:
2321
+ optional: true
2322
+ rxjs:
2323
+ optional: true
2324
+ zod:
2325
+ optional: true
2326
+
2327
+ '@llamaindex/workflow@1.1.24':
2328
+ resolution: {integrity: sha512-VyKsbRkFlnT5dRNKbgLXQV+ZpQ+CAFgmC9LaZv6hD/fIKo6wq1wQW/ZqLZgZt569xeHgxmrXPB6KHdqn/AhPbQ==}
2329
+ peerDependencies:
2330
+ '@llamaindex/core': 0.6.22
2331
+ '@llamaindex/env': 0.1.30
2332
+
2333
'@manypkg/find-root@1.1.0':
2334
resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==}
2335
@@ -3093,6 +3219,9 @@ packages:
3219
cpu: [x64]
3220
os: [win32]
3221
3222
+ '@selderee/plugin-htmlparser2@0.11.0':
3223
+ resolution: {integrity: sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==}
3224
+
3225
'@shikijs/engine-oniguruma@3.6.0':
3226
resolution: {integrity: sha512-nmOhIZ9yT3Grd+2plmW/d8+vZ2pcQmo/UnVwXMUXAKTXdi+LK0S08Ancrz5tQQPkxvjBalpMW2aKvwXfelauvA==}
3227
@@ -3120,6 +3249,22 @@ packages:
3249
resolution: {integrity: sha512-doH1gimEu3A46VX6aVxpHTeHrytJAG6HgdxntYnCFiIFHEM/ZGpG8KiZGBChchjQmG0XFIBL552kBTjVcMZXwQ==}
3250
engines: {node: '>=12'}
3251
3252
+ '@smithy/is-array-buffer@2.2.0':
3253
+ resolution: {integrity: sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==}
3254
+ engines: {node: '>=14.0.0'}
3255
+
3256
+ '@smithy/types@4.6.0':
3257
+ resolution: {integrity: sha512-4lI9C8NzRPOv66FaY1LL1O/0v0aLVrq/mXP/keUa9mJOApEeae43LsLd2kZRUJw91gxOQfLIrV3OvqPgWz1YsA==}
3258
+ engines: {node: '>=18.0.0'}
3259
+
3260
+ '@smithy/util-buffer-from@2.2.0':
3261
+ resolution: {integrity: sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==}
3262
+ engines: {node: '>=14.0.0'}
3263
+
3264
+ '@smithy/util-utf8@2.3.0':
3265
+ resolution: {integrity: sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==}
3266
+ engines: {node: '>=14.0.0'}
3267
+
3268
'@speed-highlight/core@1.2.7':
3269
resolution: {integrity: sha512-0dxmVj4gxg3Jg879kvFS/msl4s9F3T9UXC1InxgOf7t5NvcPD97u/WTA5vL/IxWHMn7qSxBozqrnnE2wvl1m8g==}
3270
@@ -3195,6 +3340,9 @@ packages:
3340
'@types/json-schema@7.0.15':
3341
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
3342
3343
+ '@types/lodash@4.17.20':
3344
+ resolution: {integrity: sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==}
3345
+
3346
'@types/memcached@2.2.10':
3347
resolution: {integrity: sha512-AM9smvZN55Gzs2wRrqeMHVP7KE8KWgCJO/XL5yCly2xF6EKa4YlbpK+cLSAH4NG/Ah64HrlegmGqW8kYws7Vxg==}
3348
@@ -3228,6 +3376,9 @@ packages:
3376
'@types/node@24.0.3':
3377
resolution: {integrity: sha512-R4I/kzCYAdRLzfiCabn9hxWfbuHS573x+r0dJMkkzThEa7pbrcDWK+9zu3e7aBOouf+rQAciqPFMnxwr0aWgKg==}
3378
3379
+ '@types/node@24.6.2':
3380
+ resolution: {integrity: sha512-d2L25Y4j+W3ZlNAeMKcy7yDsK425ibcAOO2t7aPTz6gNMH0z2GThtwENCDc0d/Pw9wgyRqE5Px1wkV7naz8ang==}
3381
+
3382
'@types/oracledb@6.5.2':
3383
resolution: {integrity: sha512-kK1eBS/Adeyis+3OlBDMeQQuasIDLUYXsi2T15ccNJ0iyUpQ4xDF7svFu3+bGVrI0CMBUclPciz+lsQR3JX3TQ==}
3384
@@ -3893,6 +4044,10 @@ packages:
4044
deep-is@0.1.4:
4045
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
4046
4047
+ deepmerge@4.3.1:
4048
+ resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
4049
+ engines: {node: '>=0.10.0'}
4050
+
4051
default-browser-id@5.0.0:
4052
resolution: {integrity: sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==}
4053
engines: {node: '>=18'}
@@ -3961,6 +4116,19 @@ packages:
4116
dlv@1.1.3:
4117
resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
4118
4119
+ dom-serializer@2.0.0:
4120
+ resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
4121
+
4122
+ domelementtype@2.3.0:
4123
+ resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
4124
+
4125
+ domhandler@5.0.3:
4126
+ resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
4127
+ engines: {node: '>= 4'}
4128
+
4129
+ domutils@3.2.2:
4130
+ resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
4131
+
4132
dotenv@16.5.0:
4133
resolution: {integrity: sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==}
4134
engines: {node: '>=12'}
@@ -4516,6 +4684,13 @@ packages:
4684
resolution: {integrity: sha512-t4Te6ERzIaC48W3x4hJmBwgNlLhmiEdEE5ViYb02ffw4ignHNHa5IBtPjmbKstmtKa8X6C35iWwK4HaqvrzG9w==}
4685
engines: {node: '>=16.9.0'}
4686
4687
+ html-to-text@9.0.5:
4688
+ resolution: {integrity: sha512-qY60FjREgVZL03vJU6IfMV4GDjGBIoOyvuFdpBDIX9yTlDw0TjxVBQp+P8NvpdIXNJvfWBTNul7fsAQJq2FNpg==}
4689
+ engines: {node: '>=14'}
4690
+
4691
+ htmlparser2@8.0.2:
4692
+ resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==}
4693
+
4694
http-errors@2.0.0:
4695
resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==}
4696
engines: {node: '>= 0.8'}
@@ -4875,6 +5050,9 @@ packages:
5050
openai:
5051
optional: true
5052
5053
+ leac@0.6.0:
5054
+ resolution: {integrity: sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==}
5055
+
5056
levn@0.4.1:
5057
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
5058
engines: {node: '>= 0.8.0'}
@@ -4898,6 +5076,10 @@ packages:
5076
resolution: {integrity: sha512-LWzX2KsqcB1wqQ4AHgYb4RsDXauQiqhjLk+6hjbaeHG4zpjjVAB6wC/gz6X0l+Du1cN3pUB5ZlrvTbhGSNnUQQ==}
5077
engines: {node: '>=18.0.0'}
5078
5079
+ llamaindex@0.12.0:
5080
+ resolution: {integrity: sha512-PoN3BMSr4F5h7ThQjXRZppyiCxuENIm/Set6hDk/DGLZrvIDgTuA2YSS29OSd2dXOQEtux5xGPl1d46nJ6w+Fw==}
5081
+ engines: {node: '>=18.0.0'}
5082
+
5083
load-tsconfig@0.2.5:
5084
resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==}
5085
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
@@ -4922,6 +5104,9 @@ packages:
5104
lodash.startcase@4.4.0:
5105
resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==}
5106
5107
+ lodash@4.17.21:
5108
+ resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
5109
+
5110
log-update@6.1.0:
5111
resolution: {integrity: sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==}
5112
engines: {node: '>=18'}
@@ -4942,6 +5127,9 @@ packages:
5127
lunr@2.3.9:
5128
resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==}
5129
5130
+ magic-bytes.js@1.12.1:
5131
+ resolution: {integrity: sha512-ThQLOhN86ZkJ7qemtVRGYM+gRgR8GEXNli9H/PMvpnZsE44Xfh3wx9kGJaldg314v85m+bFW6WBMaVHJc/c3zA==}
5132
+
5133
magic-string@0.30.17:
5134
resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}
5135
@@ -5132,6 +5320,10 @@ packages:
5320
node-addon-api@7.1.1:
5321
resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==}
5322
5323
+ node-addon-api@8.5.0:
5324
+ resolution: {integrity: sha512-/bRZty2mXUIFY/xU5HLvveNHlswNJej+RnxBjOMkidWfwZzgTbPG1E3K5TOxRLOR+5hX7bSofy8yf1hZevMS8A==}
5325
+ engines: {node: ^18 || ^20 || >= 21}
5326
+
5327
node-domexception@1.0.0:
5328
resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}
5329
engines: {node: '>=10.5.0'}
@@ -5150,6 +5342,10 @@ packages:
5342
resolution: {integrity: sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==}
5343
hasBin: true
5344
5345
+ node-gyp-build@4.8.4:
5346
+ resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==}
5347
+ hasBin: true
5348
+
5349
normalize-path@3.0.0:
5350
resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
5351
engines: {node: '>=0.10.0'}
@@ -5334,6 +5530,9 @@ packages:
5530
resolution: {integrity: sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==}
5531
engines: {node: '>=18'}
5532
5533
+ parseley@0.12.1:
5534
+ resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==}
5535
+
5536
parseurl@1.3.3:
5537
resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}
5538
engines: {node: '>= 0.8'}
@@ -5382,6 +5581,9 @@ packages:
5581
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
5582
engines: {node: '>=8'}
5583
5584
+ pathe@1.1.2:
5585
+ resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}
5586
+
5587
pathe@2.0.3:
5588
resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}
5589
@@ -5389,6 +5591,9 @@ packages:
5591
resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==}
5592
engines: {node: '>= 14.16'}
5593
5594
+ peberminta@0.9.0:
5595
+ resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==}
5596
+
5597
pend@1.2.0:
5598
resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==}
5599
@@ -5771,6 +5976,9 @@ packages:
5976
resolution: {integrity: sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ==}
5977
hasBin: true
5978
5979
+ selderee@0.11.0:
5980
+ resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==}
5981
+
5982
semver@7.7.2:
5983
resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==}
5984
engines: {node: '>=10'}
@@ -6098,6 +6306,9 @@ packages:
6306
resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
6307
hasBin: true
6308
6309
+ tree-sitter@0.22.4:
6310
+ resolution: {integrity: sha512-usbHZP9/oxNsUY65MQUsduGRqDHQOou1cagUSwjhoSYAmSahjQDAVsh9s+SlZkn8X8+O1FULRGwHu7AFP3kjzg==}
6311
+
6312
ts-api-utils@2.1.0:
6313
resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==}
6314
engines: {node: '>=18.12'}
@@ -6251,6 +6462,9 @@ packages:
6462
undici-types@6.21.0:
6463
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
6464
6465
+ undici-types@7.13.0:
6466
+ resolution: {integrity: sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ==}
6467
+
6468
undici-types@7.8.0:
6469
resolution: {integrity: sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==}
6470
@@ -6388,6 +6602,9 @@ packages:
6602
resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==}
6603
engines: {node: '>= 14'}
6604
6605
+ web-tree-sitter@0.24.7:
6606
+ resolution: {integrity: sha512-CdC/TqVFbXqR+C51v38hv6wOPatKEUGxa39scAeFSm98wIhZxAYonhRQPSMmfZ2w7JDI0zQDdzdmgtNk06/krQ==}
6607
+
6608
webidl-conversions@3.0.1:
6609
resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
6610
@@ -6574,11 +6791,11 @@ snapshots:
6791
transitivePeerDependencies:
6792
- supports-color
6793
6577
- '@ai-sdk/anthropic@1.2.12(zod@4.1.9)':
6794
+ '@ai-sdk/anthropic@1.2.12(zod@3.25.76)':
6795
dependencies:
6796
'@ai-sdk/provider': 1.1.3
6580
- '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
6581
- zod: 4.1.9
6797
+ '@ai-sdk/provider-utils': 2.2.8(zod@3.25.76)
6798
+ zod: 3.25.76
6799
6800
'@ai-sdk/gateway@1.0.15(zod@3.25.76)':
6801
dependencies:
@@ -6586,47 +6803,29 @@ snapshots:
6803
'@ai-sdk/provider-utils': 3.0.7(zod@3.25.76)
6804
zod: 3.25.76
6805
6589
- '@ai-sdk/gateway@1.0.15(zod@4.1.9)':
6590
- dependencies:
6591
- '@ai-sdk/provider': 2.0.0
6592
- '@ai-sdk/provider-utils': 3.0.7(zod@4.1.9)
6593
- zod: 4.1.9
6594
-
6806
'@ai-sdk/gateway@1.0.23(zod@3.25.76)':
6807
dependencies:
6808
'@ai-sdk/provider': 2.0.0
6809
'@ai-sdk/provider-utils': 3.0.9(zod@3.25.76)
6810
zod: 3.25.76
6811
6601
- '@ai-sdk/gateway@1.0.23(zod@4.1.9)':
6602
- dependencies:
6603
- '@ai-sdk/provider': 2.0.0
6604
- '@ai-sdk/provider-utils': 3.0.9(zod@4.1.9)
6605
- zod: 4.1.9
6606
-
6812
'@ai-sdk/openai@1.3.22(zod@3.25.76)':
6813
dependencies:
6814
'@ai-sdk/provider': 1.1.3
6815
'@ai-sdk/provider-utils': 2.2.8(zod@3.25.76)
6816
zod: 3.25.76
6817
6613
- '@ai-sdk/openai@1.3.22(zod@4.1.9)':
6614
- dependencies:
6615
- '@ai-sdk/provider': 1.1.3
6616
- '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
6617
- zod: 4.1.9
6618
-
6619
- '@ai-sdk/openai@2.0.16(zod@4.1.9)':
6818
+ '@ai-sdk/openai@2.0.16(zod@3.25.76)':
6819
dependencies:
6820
'@ai-sdk/provider': 2.0.0
6622
- '@ai-sdk/provider-utils': 3.0.4(zod@4.1.9)
6623
- zod: 4.1.9
6821
+ '@ai-sdk/provider-utils': 3.0.4(zod@3.25.76)
6822
+ zod: 3.25.76
6823
6625
- '@ai-sdk/openai@2.0.35(zod@4.1.9)':
6824
+ '@ai-sdk/openai@2.0.35(zod@3.25.76)':
6825
dependencies:
6826
'@ai-sdk/provider': 2.0.0
6628
- '@ai-sdk/provider-utils': 3.0.9(zod@4.1.9)
6629
- zod: 4.1.9
6827
+ '@ai-sdk/provider-utils': 3.0.9(zod@3.25.76)
6828
+ zod: 3.25.76
6829
6830
'@ai-sdk/provider-utils@2.2.8(zod@3.25.76)':
6831
dependencies:
@@ -6635,20 +6834,13 @@ snapshots:
6834
secure-json-parse: 2.7.0
6835
zod: 3.25.76
6836
6638
- '@ai-sdk/provider-utils@2.2.8(zod@4.1.9)':
6639
- dependencies:
6640
- '@ai-sdk/provider': 1.1.3
6641
- nanoid: 3.3.11
6642
- secure-json-parse: 2.7.0
6643
- zod: 4.1.9
6644
-
6645
- '@ai-sdk/provider-utils@3.0.4(zod@4.1.9)':
6837
+ '@ai-sdk/provider-utils@3.0.4(zod@3.25.76)':
6838
dependencies:
6839
'@ai-sdk/provider': 2.0.0
6840
'@standard-schema/spec': 1.0.0
6841
eventsource-parser: 3.0.3
6650
- zod: 4.1.9
6651
- zod-to-json-schema: 3.24.6(zod@4.1.9)
6842
+ zod: 3.25.76
6843
+ zod-to-json-schema: 3.24.6(zod@3.25.76)
6844
6845
'@ai-sdk/provider-utils@3.0.5(zod@3.25.76)':
6846
dependencies:
@@ -6658,14 +6850,6 @@ snapshots:
6850
zod: 3.25.76
6851
zod-to-json-schema: 3.24.6(zod@3.25.76)
6852
6661
- '@ai-sdk/provider-utils@3.0.5(zod@4.1.9)':
6662
- dependencies:
6663
- '@ai-sdk/provider': 2.0.0
6664
- '@standard-schema/spec': 1.0.0
6665
- eventsource-parser: 3.0.6
6666
- zod: 4.1.9
6667
- zod-to-json-schema: 3.24.6(zod@4.1.9)
6668
-
6853
'@ai-sdk/provider-utils@3.0.7(zod@3.25.76)':
6854
dependencies:
6855
'@ai-sdk/provider': 2.0.0
@@ -6673,13 +6857,6 @@ snapshots:
6857
eventsource-parser: 3.0.6
6858
zod: 3.25.76
6859
6676
- '@ai-sdk/provider-utils@3.0.7(zod@4.1.9)':
6677
- dependencies:
6678
- '@ai-sdk/provider': 2.0.0
6679
- '@standard-schema/spec': 1.0.0
6680
- eventsource-parser: 3.0.6
6681
- zod: 4.1.9
6682
-
6860
'@ai-sdk/provider-utils@3.0.9(zod@3.25.76)':
6861
dependencies:
6862
'@ai-sdk/provider': 2.0.0
@@ -6687,13 +6864,6 @@ snapshots:
6864
eventsource-parser: 3.0.6
6865
zod: 3.25.76
6866
6690
- '@ai-sdk/provider-utils@3.0.9(zod@4.1.9)':
6691
- dependencies:
6692
- '@ai-sdk/provider': 2.0.0
6693
- '@standard-schema/spec': 1.0.0
6694
- eventsource-parser: 3.0.6
6695
- zod: 4.1.9
6696
-
6867
'@ai-sdk/provider@1.1.3':
6868
dependencies:
6869
json-schema: 0.4.0
@@ -6712,16 +6882,6 @@ snapshots:
6882
optionalDependencies:
6883
zod: 3.25.76
6884
6715
- '@ai-sdk/react@1.2.12(react@18.3.1)(zod@4.1.9)':
6716
- dependencies:
6717
- '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
6718
- '@ai-sdk/ui-utils': 1.2.11(zod@4.1.9)
6719
- react: 18.3.1
6720
- swr: 2.3.3(react@18.3.1)
6721
- throttleit: 2.1.0
6722
- optionalDependencies:
6723
- zod: 4.1.9
6724
-
6885
'@ai-sdk/ui-utils@1.2.11(zod@3.25.76)':
6886
dependencies:
6887
'@ai-sdk/provider': 1.1.3
@@ -6729,13 +6889,6 @@ snapshots:
6889
zod: 3.25.76
6890
zod-to-json-schema: 3.24.6(zod@3.25.76)
6891
6732
- '@ai-sdk/ui-utils@1.2.11(zod@4.1.9)':
6733
- dependencies:
6734
- '@ai-sdk/provider': 1.1.3
6735
- '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
6736
- zod: 4.1.9
6737
- zod-to-json-schema: 3.24.6(zod@4.1.9)
6738
-
6892
'@alloc/quick-lru@5.2.0': {}
6893
6894
'@anthropic-ai/sdk@0.52.0': {}
@@ -6751,6 +6904,23 @@ snapshots:
6904
'@types/json-schema': 7.0.15
6905
js-yaml: 4.1.0
6906
6907
+ '@aws-crypto/sha256-js@5.2.0':
6908
+ dependencies:
6909
+ '@aws-crypto/util': 5.2.0
6910
+ '@aws-sdk/types': 3.901.0
6911
+ tslib: 2.8.1
6912
+
6913
+ '@aws-crypto/util@5.2.0':
6914
+ dependencies:
6915
+ '@aws-sdk/types': 3.901.0
6916
+ '@smithy/util-utf8': 2.3.0
6917
+ tslib: 2.8.1
6918
+
6919
+ '@aws-sdk/types@3.901.0':
6920
+ dependencies:
6921
+ '@smithy/types': 4.6.0
6922
+ tslib: 2.8.1
6923
+
6924
'@babel/code-frame@7.27.1':
6925
dependencies:
6926
'@babel/helper-validator-identifier': 7.27.1
@@ -6935,7 +7105,7 @@ snapshots:
7105
devalue: 5.3.2
7106
miniflare: 4.20250913.0
7107
semver: 7.7.2
6938
- vitest: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
7108
+ vitest: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
7109
wrangler: 4.37.1(@cloudflare/workers-types@4.20250917.0)
7110
zod: 3.25.76
7111
transitivePeerDependencies:
@@ -7083,7 +7253,7 @@ snapshots:
7253
'@effect/vitest@0.23.8(effect@3.16.16)(vitest@3.2.4)':
7254
dependencies:
7255
effect: 3.16.16
7086
- vitest: 3.2.4(@types/node@24.0.3)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
7256
+ vitest: 3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
7257
7258
'@effect/workflow@0.2.4(@effect/platform@0.85.2(effect@3.16.16))(@effect/rpc@0.62.4(@effect/platform@0.85.2(effect@3.16.16))(effect@3.16.16))(effect@3.16.16)':
7259
dependencies:
@@ -7294,6 +7464,10 @@ snapshots:
7464
'@eslint/core': 0.15.0
7465
levn: 0.4.1
7466
7467
+ '@finom/zod-to-json-schema@3.24.11(zod@4.1.9)':
7468
+ dependencies:
7469
+ zod: 4.1.9
7470
+
7471
'@gerrit0/mini-shiki@3.6.0':
7472
dependencies:
7473
'@shikijs/engine-oniguruma': 3.6.0
@@ -7671,23 +7845,6 @@ snapshots:
7845
transitivePeerDependencies:
7846
- openai
7847
7674
- '@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))':
7675
- dependencies:
7676
- '@cfworker/json-schema': 4.1.1
7677
- ansi-styles: 5.2.0
7678
- camelcase: 6.3.0
7679
- decamelize: 1.2.0
7680
- js-tiktoken: 1.0.20
7681
- langsmith: 0.3.33(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
7682
- mustache: 4.2.0
7683
- p-queue: 6.6.2
7684
- p-retry: 4.6.2
7685
- uuid: 10.0.0
7686
- zod: 3.25.76
7687
- zod-to-json-schema: 3.24.6(zod@3.25.76)
7688
- transitivePeerDependencies:
7689
- - openai
7690
-
7848
'@langchain/core@0.3.63(openai@5.20.3(ws@8.18.2)(zod@3.25.76))':
7849
dependencies:
7850
'@cfworker/json-schema': 4.1.1
@@ -7710,19 +7867,14 @@ snapshots:
7867
'@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
7868
uuid: 10.0.0
7869
7713
- '@langchain/langgraph-checkpoint@0.0.18(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))':
7714
- dependencies:
7715
- '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
7716
- uuid: 10.0.0
7717
-
7718
- '@langchain/langgraph-sdk@0.0.84(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(react@18.3.1)':
7870
+ '@langchain/langgraph-sdk@0.0.84(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(react@18.3.1)':
7871
dependencies:
7872
'@types/json-schema': 7.0.15
7873
p-queue: 6.6.2
7874
p-retry: 4.6.2
7875
uuid: 9.0.1
7876
optionalDependencies:
7725
- '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
7877
+ '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
7878
react: 18.3.1
7879
7880
'@langchain/langgraph-sdk@0.0.95(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(react-dom@19.1.0(react@18.3.1))(react@18.3.1)':
@@ -7736,15 +7888,15 @@ snapshots:
7888
react: 18.3.1
7889
react-dom: 19.1.0(react@18.3.1)
7890
7739
- '@langchain/langgraph@0.2.74(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(react@18.3.1)(zod-to-json-schema@3.24.6(zod@4.1.9))':
7891
+ '@langchain/langgraph@0.2.74(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(react@18.3.1)(zod-to-json-schema@3.24.6(zod@3.25.76))':
7892
dependencies:
7741
- '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
7742
- '@langchain/langgraph-checkpoint': 0.0.18(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))
7743
- '@langchain/langgraph-sdk': 0.0.84(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(react@18.3.1)
7893
+ '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
7894
+ '@langchain/langgraph-checkpoint': 0.0.18(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))
7895
+ '@langchain/langgraph-sdk': 0.0.84(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(react@18.3.1)
7896
uuid: 10.0.0
7897
zod: 3.25.76
7898
optionalDependencies:
7747
- zod-to-json-schema: 3.24.6(zod@4.1.9)
7899
+ zod-to-json-schema: 3.24.6(zod@3.25.76)
7900
transitivePeerDependencies:
7901
- react
7902
@@ -7761,9 +7913,9 @@ snapshots:
7913
- react
7914
- react-dom
7915
7764
- '@langchain/openai@0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(ws@8.18.2)':
7916
+ '@langchain/openai@0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(ws@8.18.2)':
7917
dependencies:
7766
- '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
7918
+ '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
7919
js-tiktoken: 1.0.20
7920
openai: 4.104.0(ws@8.18.2)(zod@3.25.32)
7921
zod: 3.25.32
@@ -7771,9 +7923,9 @@ snapshots:
7923
- encoding
7924
- ws
7925
7774
- '@langchain/openai@0.5.18(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(ws@8.18.2)':
7926
+ '@langchain/openai@0.5.18(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(ws@8.18.2)':
7927
dependencies:
7776
- '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
7928
+ '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
7929
js-tiktoken: 1.0.21
7930
openai: 5.20.3(ws@8.18.2)(zod@3.25.76)
7931
zod: 3.25.76
@@ -7789,10 +7941,107 @@ snapshots:
7941
transitivePeerDependencies:
7942
- ws
7943
7792
- '@langchain/textsplitters@0.1.0(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))':
7944
+ '@langchain/textsplitters@0.1.0(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))':
7945
+ dependencies:
7946
+ '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
7947
+ js-tiktoken: 1.0.21
7948
+
7949
+ '@llamaindex/core@0.6.22':
7950
+ dependencies:
7951
+ '@finom/zod-to-json-schema': 3.24.11(zod@4.1.9)
7952
+ '@llamaindex/env': 0.1.30
7953
+ '@types/node': 24.6.2
7954
+ magic-bytes.js: 1.12.1
7955
+ zod: 4.1.9
7956
+ transitivePeerDependencies:
7957
+ - '@huggingface/transformers'
7958
+ - gpt-tokenizer
7959
+
7960
+ '@llamaindex/env@0.1.30':
7961
dependencies:
7794
- '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
7962
+ '@aws-crypto/sha256-js': 5.2.0
7963
js-tiktoken: 1.0.21
7964
+ pathe: 1.1.2
7965
+
7966
+ '@llamaindex/node-parser@2.0.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)':
7967
+ dependencies:
7968
+ '@llamaindex/core': 0.6.22
7969
+ '@llamaindex/env': 0.1.30
7970
+ html-to-text: 9.0.5
7971
+ tree-sitter: 0.22.4
7972
+ web-tree-sitter: 0.24.7
7973
+
7974
+ '@llamaindex/openai@0.4.20(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(ws@8.18.2)(zod@3.25.76)':
7975
+ dependencies:
7976
+ '@llamaindex/core': 0.6.22
7977
+ '@llamaindex/env': 0.1.30
7978
+ openai: 5.20.3(ws@8.18.2)(zod@3.25.76)
7979
+ transitivePeerDependencies:
7980
+ - ws
7981
+ - zod
7982
+
7983
+ '@llamaindex/workflow-core@1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.8.0)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)':
7984
+ optionalDependencies:
7985
+ '@modelcontextprotocol/sdk': 1.18.0
7986
+ hono: 4.8.0
7987
+ next: 15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1)
7988
+ rxjs: 7.8.2
7989
+ zod: 3.25.76
7990
+
7991
+ '@llamaindex/workflow-core@1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)':
7992
+ optionalDependencies:
7993
+ '@modelcontextprotocol/sdk': 1.18.0
7994
+ hono: 4.9.7
7995
+ next: 15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1)
7996
+ rxjs: 7.8.2
7997
+ zod: 3.25.76
7998
+
7999
+ '@llamaindex/workflow-core@1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@4.1.9)':
8000
+ optionalDependencies:
8001
+ '@modelcontextprotocol/sdk': 1.18.0
8002
+ hono: 4.9.7
8003
+ next: 15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1)
8004
+ rxjs: 7.8.2
8005
+ zod: 4.1.9
8006
+
8007
+ '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.8.0)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)':
8008
+ dependencies:
8009
+ '@llamaindex/core': 0.6.22
8010
+ '@llamaindex/env': 0.1.30
8011
+ '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.8.0)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)
8012
+ transitivePeerDependencies:
8013
+ - '@modelcontextprotocol/sdk'
8014
+ - hono
8015
+ - next
8016
+ - p-retry
8017
+ - rxjs
8018
+ - zod
8019
+
8020
+ '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)':
8021
+ dependencies:
8022
+ '@llamaindex/core': 0.6.22
8023
+ '@llamaindex/env': 0.1.30
8024
+ '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)
8025
+ transitivePeerDependencies:
8026
+ - '@modelcontextprotocol/sdk'
8027
+ - hono
8028
+ - next
8029
+ - p-retry
8030
+ - rxjs
8031
+ - zod
8032
+
8033
+ '@llamaindex/workflow@1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@4.1.9)':
8034
+ dependencies:
8035
+ '@llamaindex/core': 0.6.22
8036
+ '@llamaindex/env': 0.1.30
8037
+ '@llamaindex/workflow-core': 1.3.3(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@4.1.9)
8038
+ transitivePeerDependencies:
8039
+ - '@modelcontextprotocol/sdk'
8040
+ - hono
8041
+ - next
8042
+ - p-retry
8043
+ - rxjs
8044
+ - zod
8045
8046
'@manypkg/find-root@1.1.0':
8047
dependencies:
@@ -7867,64 +8116,7 @@ snapshots:
8116
- valibot
8117
- zod-openapi
8118
7870
- '@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@4.1.9)':
7871
- dependencies:
7872
- '@a2a-js/sdk': 0.2.5
7873
- '@ai-sdk/provider': 1.1.3
7874
- '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
7875
- '@ai-sdk/provider-utils-v5': '@ai-sdk/provider-utils@3.0.5(zod@4.1.9)'
7876
- '@ai-sdk/provider-v5': '@ai-sdk/provider@2.0.0'
7877
- '@ai-sdk/ui-utils': 1.2.11(zod@4.1.9)
7878
- '@mastra/schema-compat': 0.11.3(ai@4.3.19(react@18.3.1)(zod@4.1.9))(zod@4.1.9)
7879
- '@opentelemetry/api': 1.9.0
7880
- '@opentelemetry/auto-instrumentations-node': 0.62.1(@opentelemetry/api@1.9.0)(@opentelemetry/core@2.0.1(@opentelemetry/api@1.9.0))
7881
- '@opentelemetry/core': 2.0.1(@opentelemetry/api@1.9.0)
7882
- '@opentelemetry/exporter-trace-otlp-grpc': 0.203.0(@opentelemetry/api@1.9.0)
7883
- '@opentelemetry/exporter-trace-otlp-http': 0.203.0(@opentelemetry/api@1.9.0)
7884
- '@opentelemetry/otlp-exporter-base': 0.203.0(@opentelemetry/api@1.9.0)
7885
- '@opentelemetry/otlp-transformer': 0.203.0(@opentelemetry/api@1.9.0)
7886
- '@opentelemetry/resources': 2.0.1(@opentelemetry/api@1.9.0)
7887
- '@opentelemetry/sdk-metrics': 2.0.1(@opentelemetry/api@1.9.0)
7888
- '@opentelemetry/sdk-node': 0.203.0(@opentelemetry/api@1.9.0)
7889
- '@opentelemetry/sdk-trace-base': 2.0.1(@opentelemetry/api@1.9.0)
7890
- '@opentelemetry/sdk-trace-node': 2.0.1(@opentelemetry/api@1.9.0)
7891
- '@opentelemetry/semantic-conventions': 1.36.0
7892
- '@sindresorhus/slugify': 2.2.1
7893
- ai: 4.3.19(react@18.3.1)(zod@4.1.9)
7894
- ai-v5: ai@5.0.28(zod@4.1.9)
7895
- date-fns: 3.6.0
7896
- dotenv: 16.6.1
7897
- hono: 4.9.7
7898
- hono-openapi: 0.4.8(effect@3.16.16)(hono@4.9.7)(openapi-types@12.1.3)(zod@4.1.9)
7899
- js-tiktoken: 1.0.20
7900
- json-schema: 0.4.0
7901
- json-schema-to-zod: 2.6.1
7902
- p-map: 7.0.3
7903
- pino: 9.7.0
7904
- pino-pretty: 13.0.0
7905
- radash: 12.1.1
7906
- sift: 17.1.3
7907
- xstate: 5.20.2
7908
- zod: 4.1.9
7909
- zod-to-json-schema: 3.24.6(zod@4.1.9)
7910
- transitivePeerDependencies:
7911
- - '@hono/arktype-validator'
7912
- - '@hono/effect-validator'
7913
- - '@hono/typebox-validator'
7914
- - '@hono/valibot-validator'
7915
- - '@hono/zod-validator'
7916
- - '@sinclair/typebox'
7917
- - '@valibot/to-json-schema'
7918
- - arktype
7919
- - effect
7920
- - encoding
7921
- - openapi-types
7922
- - react
7923
- - supports-color
7924
- - valibot
7925
- - zod-openapi
7926
-
7927
- '@mastra/mcp@0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76))(@types/json-schema@7.0.15)(zod@3.25.76)':
8119
+ '@mastra/mcp@0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76))(@types/json-schema@7.0.15)(zod@3.25.76)':
8120
dependencies:
8121
'@apidevtools/json-schema-ref-parser': 14.2.1(@types/json-schema@7.0.15)
8122
'@mastra/core': 0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.76)
@@ -7940,22 +8132,6 @@ snapshots:
8132
- '@types/json-schema'
8133
- supports-color
8134
7943
- '@mastra/mcp@0.12.0(@mastra/core@0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@4.1.9))(@types/json-schema@7.0.15)(zod@4.1.9)':
7944
- dependencies:
7945
- '@apidevtools/json-schema-ref-parser': 14.2.1(@types/json-schema@7.0.15)
7946
- '@mastra/core': 0.16.3(effect@3.16.16)(openapi-types@12.1.3)(react@18.3.1)(zod@4.1.9)
7947
- '@modelcontextprotocol/sdk': 1.18.0
7948
- date-fns: 4.1.0
7949
- exit-hook: 4.0.0
7950
- fast-deep-equal: 3.1.3
7951
- uuid: 11.1.0
7952
- zod: 4.1.9
7953
- zod-from-json-schema: 0.5.0
7954
- zod-from-json-schema-v3: zod-from-json-schema@0.0.5
7955
- transitivePeerDependencies:
7956
- - '@types/json-schema'
7957
- - supports-color
7958
-
8135
'@mastra/schema-compat@0.11.3(ai@4.3.19(react@18.3.1)(zod@3.25.76))(zod@3.25.76)':
8136
dependencies:
8137
ai: 4.3.19(react@18.3.1)(zod@3.25.76)
@@ -7965,15 +8141,6 @@ snapshots:
8141
zod-from-json-schema-v3: zod-from-json-schema@0.0.5
8142
zod-to-json-schema: 3.24.6(zod@3.25.76)
8143
7968
- '@mastra/schema-compat@0.11.3(ai@4.3.19(react@18.3.1)(zod@4.1.9))(zod@4.1.9)':
7969
- dependencies:
7970
- ai: 4.3.19(react@18.3.1)(zod@4.1.9)
7971
- json-schema: 0.4.0
7972
- zod: 4.1.9
7973
- zod-from-json-schema: 0.5.0
7974
- zod-from-json-schema-v3: zod-from-json-schema@0.0.5
7975
- zod-to-json-schema: 3.24.6(zod@4.1.9)
7976
-
8144
'@modelcontextprotocol/sdk@1.18.0':
8145
dependencies:
8146
ajv: 6.12.6
@@ -9002,6 +9169,11 @@ snapshots:
9169
'@rollup/rollup-win32-x64-msvc@4.43.0':
9170
optional: true
9171
9172
+ '@selderee/plugin-htmlparser2@0.11.0':
9173
+ dependencies:
9174
+ domhandler: 5.0.3
9175
+ selderee: 0.11.0
9176
+
9177
'@shikijs/engine-oniguruma@3.6.0':
9178
dependencies:
9179
'@shikijs/types': 3.6.0
@@ -9033,6 +9205,24 @@ snapshots:
9205
dependencies:
9206
escape-string-regexp: 5.0.0
9207
9208
+ '@smithy/is-array-buffer@2.2.0':
9209
+ dependencies:
9210
+ tslib: 2.8.1
9211
+
9212
+ '@smithy/types@4.6.0':
9213
+ dependencies:
9214
+ tslib: 2.8.1
9215
+
9216
+ '@smithy/util-buffer-from@2.2.0':
9217
+ dependencies:
9218
+ '@smithy/is-array-buffer': 2.2.0
9219
+ tslib: 2.8.1
9220
+
9221
+ '@smithy/util-utf8@2.3.0':
9222
+ dependencies:
9223
+ '@smithy/util-buffer-from': 2.2.0
9224
+ tslib: 2.8.1
9225
+
9226
'@speed-highlight/core@1.2.7': {}
9227
9228
'@standard-schema/spec@1.0.0': {}
@@ -9056,7 +9246,7 @@ snapshots:
9246
'@types/body-parser@1.19.6':
9247
dependencies:
9248
'@types/connect': 3.4.38
9059
- '@types/node': 24.0.3
9249
+ '@types/node': 24.6.2
9250
9251
'@types/bun@1.2.16':
9252
dependencies:
@@ -9064,7 +9254,7 @@ snapshots:
9254
9255
'@types/bunyan@1.8.11':
9256
dependencies:
9067
- '@types/node': 24.0.3
9257
+ '@types/node': 24.6.2
9258
9259
'@types/chai@5.2.2':
9260
dependencies:
@@ -9072,7 +9262,7 @@ snapshots:
9262
9263
'@types/connect@3.4.38':
9264
dependencies:
9075
- '@types/node': 24.0.3
9265
+ '@types/node': 24.6.2
9266
9267
'@types/convict@6.1.6':
9268
dependencies:
@@ -9080,7 +9270,7 @@ snapshots:
9270
9271
'@types/cors@2.8.19':
9272
dependencies:
9083
- '@types/node': 24.0.3
9273
+ '@types/node': 24.6.2
9274
9275
'@types/decompress@4.2.7':
9276
dependencies:
@@ -9096,7 +9286,7 @@ snapshots:
9286
9287
'@types/express-serve-static-core@4.19.6':
9288
dependencies:
9099
- '@types/node': 24.0.3
9289
+ '@types/node': 24.6.2
9290
'@types/qs': 6.14.0
9291
'@types/range-parser': 1.2.7
9292
'@types/send': 0.17.5
@@ -9121,9 +9311,11 @@ snapshots:
9311
9312
'@types/json-schema@7.0.15': {}
9313
9314
+ '@types/lodash@4.17.20': {}
9315
+
9316
'@types/memcached@2.2.10':
9317
dependencies:
9126
- '@types/node': 24.0.3
9318
+ '@types/node': 24.6.2
9319
9320
'@types/mime@1.3.5': {}
9321
@@ -9131,15 +9323,15 @@ snapshots:
9323
9324
'@types/mute-stream@0.0.4':
9325
dependencies:
9134
- '@types/node': 24.0.3
9326
+ '@types/node': 24.6.2
9327
9328
'@types/mysql@2.15.27':
9329
dependencies:
9138
- '@types/node': 24.0.3
9330
+ '@types/node': 24.6.2
9331
9332
'@types/node-fetch@2.6.12':
9333
dependencies:
9142
- '@types/node': 20.19.1
9334
+ '@types/node': 24.6.2
9335
form-data: 4.0.3
9336
9337
'@types/node@12.20.55': {}
@@ -9160,9 +9352,13 @@ snapshots:
9352
dependencies:
9353
undici-types: 7.8.0
9354
9355
+ '@types/node@24.6.2':
9356
+ dependencies:
9357
+ undici-types: 7.13.0
9358
+
9359
'@types/oracledb@6.5.2':
9360
dependencies:
9165
- '@types/node': 24.0.3
9361
+ '@types/node': 24.6.2
9362
9363
'@types/pg-pool@2.0.6':
9364
dependencies:
@@ -9170,13 +9366,13 @@ snapshots:
9366
9367
'@types/pg@8.15.4':
9368
dependencies:
9173
- '@types/node': 24.0.3
9369
+ '@types/node': 24.6.2
9370
pg-protocol: 1.10.1
9371
pg-types: 2.2.0
9372
9373
'@types/pg@8.6.1':
9374
dependencies:
9179
- '@types/node': 24.0.3
9375
+ '@types/node': 24.6.2
9376
pg-protocol: 1.10.1
9377
pg-types: 2.2.0
9378
@@ -9198,17 +9394,17 @@ snapshots:
9394
'@types/send@0.17.5':
9395
dependencies:
9396
'@types/mime': 1.3.5
9201
- '@types/node': 24.0.3
9397
+ '@types/node': 24.6.2
9398
9399
'@types/serve-static@1.15.8':
9400
dependencies:
9401
'@types/http-errors': 2.0.5
9206
- '@types/node': 24.0.3
9402
+ '@types/node': 24.6.2
9403
'@types/send': 0.17.5
9404
9405
'@types/tedious@4.0.14':
9406
dependencies:
9211
- '@types/node': 24.0.3
9407
+ '@types/node': 24.6.2
9408
9409
'@types/unist@3.0.3': {}
9410
@@ -9218,7 +9414,7 @@ snapshots:
9414
9415
'@types/ws@8.18.1':
9416
dependencies:
9221
- '@types/node': 24.0.3
9417
+ '@types/node': 24.6.2
9418
9419
'@types/yaml@1.9.7':
9420
dependencies:
@@ -9324,6 +9520,14 @@ snapshots:
9520
chai: 5.2.0
9521
tinyrainbow: 2.0.0
9522
9523
+ '@vitest/mocker@3.2.4(vite@6.3.5(@types/node@20.19.1)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.0))':
9524
+ dependencies:
9525
+ '@vitest/spy': 3.2.4
9526
+ estree-walker: 3.0.3
9527
+ magic-string: 0.30.17
9528
+ optionalDependencies:
9529
+ vite: 6.3.5(@types/node@20.19.1)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.0)
9530
+
9531
'@vitest/mocker@3.2.4(vite@6.3.5(@types/node@22.15.32)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))':
9532
dependencies:
9533
'@vitest/spy': 3.2.4
@@ -9332,6 +9536,22 @@ snapshots:
9536
optionalDependencies:
9537
vite: 6.3.5(@types/node@22.15.32)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
9538
9539
+ '@vitest/mocker@3.2.4(vite@6.3.5(@types/node@24.0.3)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))':
9540
+ dependencies:
9541
+ '@vitest/spy': 3.2.4
9542
+ estree-walker: 3.0.3
9543
+ magic-string: 0.30.17
9544
+ optionalDependencies:
9545
+ vite: 6.3.5(@types/node@24.0.3)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
9546
+
9547
+ '@vitest/mocker@3.2.4(vite@6.3.5(@types/node@24.6.2)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))':
9548
+ dependencies:
9549
+ '@vitest/spy': 3.2.4
9550
+ estree-walker: 3.0.3
9551
+ magic-string: 0.30.17
9552
+ optionalDependencies:
9553
+ vite: 6.3.5(@types/node@24.6.2)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
9554
+
9555
'@vitest/pretty-format@3.2.4':
9556
dependencies:
9557
tinyrainbow: 2.0.0
@@ -9361,7 +9581,7 @@ snapshots:
9581
sirv: 3.0.1
9582
tinyglobby: 0.2.14
9583
tinyrainbow: 2.0.0
9364
- vitest: 3.2.4(@types/node@22.15.32)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
9584
+ vitest: 3.2.4(@types/node@20.19.1)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.0)
9585
9586
'@vitest/utils@3.2.4':
9587
dependencies:
@@ -9415,18 +9635,6 @@ snapshots:
9635
optionalDependencies:
9636
react: 18.3.1
9637
9418
- ai@4.3.19(react@18.3.1)(zod@4.1.9):
9419
- dependencies:
9420
- '@ai-sdk/provider': 1.1.3
9421
- '@ai-sdk/provider-utils': 2.2.8(zod@4.1.9)
9422
- '@ai-sdk/react': 1.2.12(react@18.3.1)(zod@4.1.9)
9423
- '@ai-sdk/ui-utils': 1.2.11(zod@4.1.9)
9424
- '@opentelemetry/api': 1.9.0
9425
- jsondiffpatch: 0.6.0
9426
- zod: 4.1.9
9427
- optionalDependencies:
9428
- react: 18.3.1
9429
-
9638
ai@5.0.28(zod@3.25.76):
9639
dependencies:
9640
'@ai-sdk/gateway': 1.0.15(zod@3.25.76)
@@ -9435,14 +9643,6 @@ snapshots:
9643
'@opentelemetry/api': 1.9.0
9644
zod: 3.25.76
9645
9438
- ai@5.0.28(zod@4.1.9):
9439
- dependencies:
9440
- '@ai-sdk/gateway': 1.0.15(zod@4.1.9)
9441
- '@ai-sdk/provider': 2.0.0
9442
- '@ai-sdk/provider-utils': 3.0.7(zod@4.1.9)
9443
- '@opentelemetry/api': 1.9.0
9444
- zod: 4.1.9
9445
-
9646
ai@5.0.44(zod@3.25.76):
9647
dependencies:
9648
'@ai-sdk/gateway': 1.0.23(zod@3.25.76)
@@ -9451,14 +9651,6 @@ snapshots:
9651
'@opentelemetry/api': 1.9.0
9652
zod: 3.25.76
9653
9454
- ai@5.0.44(zod@4.1.9):
9455
- dependencies:
9456
- '@ai-sdk/gateway': 1.0.23(zod@4.1.9)
9457
- '@ai-sdk/provider': 2.0.0
9458
- '@ai-sdk/provider-utils': 3.0.9(zod@4.1.9)
9459
- '@opentelemetry/api': 1.9.0
9460
- zod: 4.1.9
9461
-
9654
ajv@6.12.6:
9655
dependencies:
9656
fast-deep-equal: 3.1.3
@@ -9766,23 +9958,23 @@ snapshots:
9958
has-own-prop: 2.0.0
9959
repeat-string: 1.6.1
9960
9769
- composio-core@0.5.39(@ai-sdk/openai@2.0.35(zod@4.1.9))(@cloudflare/workers-types@4.20250917.0)(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(@langchain/openai@0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(ws@8.18.2))(ai@5.0.44(zod@4.1.9))(langchain@0.3.28(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(axios@1.10.0)(openai@4.104.0(ws@8.18.2)(zod@4.1.9))(ws@8.18.2))(openai@4.104.0(ws@8.18.2)(zod@4.1.9)):
9961
+ composio-core@0.5.39(@ai-sdk/openai@2.0.35(zod@3.25.76))(@cloudflare/workers-types@4.20250917.0)(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(@langchain/openai@0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(ws@8.18.2))(ai@5.0.44(zod@3.25.76))(langchain@0.3.28(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(axios@1.10.0)(openai@4.104.0(ws@8.18.2)(zod@3.25.76))(ws@8.18.2))(openai@4.104.0(ws@8.18.2)(zod@3.25.76)):
9962
dependencies:
9771
- '@ai-sdk/openai': 2.0.35(zod@4.1.9)
9963
+ '@ai-sdk/openai': 2.0.35(zod@3.25.76)
9964
'@cloudflare/workers-types': 4.20250917.0
9965
'@composio/mcp': 1.0.3-0
9966
'@hey-api/client-axios': 0.2.12(axios@1.10.0)
9775
- '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
9776
- '@langchain/openai': 0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(ws@8.18.2)
9777
- ai: 5.0.44(zod@4.1.9)
9967
+ '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
9968
+ '@langchain/openai': 0.5.13(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(ws@8.18.2)
9969
+ ai: 5.0.44(zod@3.25.76)
9970
axios: 1.10.0
9971
chalk: 4.1.2
9972
cli-progress: 3.12.0
9973
commander: 12.1.0
9974
inquirer: 10.2.2
9783
- langchain: 0.3.28(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(axios@1.10.0)(openai@4.104.0(ws@8.18.2)(zod@4.1.9))(ws@8.18.2)
9975
+ langchain: 0.3.28(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(axios@1.10.0)(openai@4.104.0(ws@8.18.2)(zod@3.25.76))(ws@8.18.2)
9976
open: 8.4.2
9785
- openai: 4.104.0(ws@8.18.2)(zod@4.1.9)
9977
+ openai: 4.104.0(ws@8.18.2)(zod@3.25.76)
9978
pusher-js: 8.4.0-rc2
9979
resolve-package-path: 4.0.3
9980
uuid: 10.0.0
@@ -9910,6 +10102,8 @@ snapshots:
10102
10103
deep-is@0.1.4: {}
10104
10105
+ deepmerge@4.3.1: {}
10106
+
10107
default-browser-id@5.0.0: {}
10108
10109
default-browser@5.2.1:
@@ -9955,6 +10149,24 @@ snapshots:
10149
10150
dlv@1.1.3: {}
10151
10152
+ dom-serializer@2.0.0:
10153
+ dependencies:
10154
+ domelementtype: 2.3.0
10155
+ domhandler: 5.0.3
10156
+ entities: 4.5.0
10157
+
10158
+ domelementtype@2.3.0: {}
10159
+
10160
+ domhandler@5.0.3:
10161
+ dependencies:
10162
+ domelementtype: 2.3.0
10163
+
10164
+ domutils@3.2.2:
10165
+ dependencies:
10166
+ dom-serializer: 2.0.0
10167
+ domelementtype: 2.3.0
10168
+ domhandler: 5.0.3
10169
+
10170
dotenv@16.5.0: {}
10171
10172
dotenv@16.6.1: {}
@@ -10587,19 +10799,25 @@ snapshots:
10799
hono: 4.9.7
10800
zod: 3.25.76
10801
10590
- hono-openapi@0.4.8(effect@3.16.16)(hono@4.9.7)(openapi-types@12.1.3)(zod@4.1.9):
10591
- dependencies:
10592
- json-schema-walker: 2.0.0
10593
- openapi-types: 12.1.3
10594
- optionalDependencies:
10595
- effect: 3.16.16
10596
- hono: 4.9.7
10597
- zod: 4.1.9
10598
-
10802
hono@4.8.0: {}
10803
10804
hono@4.9.7: {}
10805
10806
+ html-to-text@9.0.5:
10807
+ dependencies:
10808
+ '@selderee/plugin-htmlparser2': 0.11.0
10809
+ deepmerge: 4.3.1
10810
+ dom-serializer: 2.0.0
10811
+ htmlparser2: 8.0.2
10812
+ selderee: 0.11.0
10813
+
10814
+ htmlparser2@8.0.2:
10815
+ dependencies:
10816
+ domelementtype: 2.3.0
10817
+ domhandler: 5.0.3
10818
+ domutils: 3.2.2
10819
+ entities: 4.5.0
10820
+
10821
http-errors@2.0.0:
10822
dependencies:
10823
depd: 2.0.0
@@ -10833,15 +11051,15 @@ snapshots:
11051
11052
kleur@4.1.5: {}
11053
10836
- langchain@0.3.28(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(axios@1.10.0)(openai@4.104.0(ws@8.18.2)(zod@4.1.9))(ws@8.18.2):
11054
+ langchain@0.3.28(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(axios@1.10.0)(openai@4.104.0(ws@8.18.2)(zod@3.25.76))(ws@8.18.2):
11055
dependencies:
10838
- '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
10839
- '@langchain/openai': 0.5.18(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))(ws@8.18.2)
10840
- '@langchain/textsplitters': 0.1.0(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@4.1.9)))
11056
+ '@langchain/core': 0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
11057
+ '@langchain/openai': 0.5.18(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))(ws@8.18.2)
11058
+ '@langchain/textsplitters': 0.1.0(@langchain/core@0.3.63(openai@4.104.0(ws@8.18.2)(zod@3.25.76)))
11059
js-tiktoken: 1.0.21
11060
js-yaml: 4.1.0
11061
jsonpointer: 5.0.1
10844
- langsmith: 0.3.68(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(openai@4.104.0(ws@8.18.2)(zod@4.1.9))
11062
+ langsmith: 0.3.68(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(openai@4.104.0(ws@8.18.2)(zod@3.25.76))
11063
openapi-types: 12.1.3
11064
p-retry: 4.6.2
11065
uuid: 10.0.0
@@ -10868,18 +11086,6 @@ snapshots:
11086
optionalDependencies:
11087
openai: 4.104.0(ws@8.18.2)(zod@3.25.76)
11088
10871
- langsmith@0.3.33(openai@4.104.0(ws@8.18.2)(zod@4.1.9)):
10872
- dependencies:
10873
- '@types/uuid': 10.0.0
10874
- chalk: 4.1.2
10875
- console-table-printer: 2.14.3
10876
- p-queue: 6.6.2
10877
- p-retry: 4.6.2
10878
- semver: 7.7.2
10879
- uuid: 10.0.0
10880
- optionalDependencies:
10881
- openai: 4.104.0(ws@8.18.2)(zod@4.1.9)
10882
-
11089
langsmith@0.3.33(openai@5.20.3(ws@8.18.2)(zod@3.25.76)):
11090
dependencies:
11091
'@types/uuid': 10.0.0
@@ -10892,7 +11098,7 @@ snapshots:
11098
optionalDependencies:
11099
openai: 5.20.3(ws@8.18.2)(zod@3.25.76)
11100
10895
- langsmith@0.3.68(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(openai@4.104.0(ws@8.18.2)(zod@4.1.9)):
11101
+ langsmith@0.3.68(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.203.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.0.1(@opentelemetry/api@1.9.0))(openai@4.104.0(ws@8.18.2)(zod@3.25.76)):
11102
dependencies:
11103
'@types/uuid': 10.0.0
11104
chalk: 4.1.2
@@ -10905,7 +11111,9 @@ snapshots:
11111
'@opentelemetry/api': 1.9.0
11112
'@opentelemetry/exporter-trace-otlp-proto': 0.203.0(@opentelemetry/api@1.9.0)
11113
'@opentelemetry/sdk-trace-base': 2.0.1(@opentelemetry/api@1.9.0)
10908
- openai: 4.104.0(ws@8.18.2)(zod@4.1.9)
11114
+ openai: 4.104.0(ws@8.18.2)(zod@3.25.76)
11115
+
11116
+ leac@0.6.0: {}
11117
11118
levn@0.4.1:
11119
dependencies:
@@ -10944,6 +11152,50 @@ snapshots:
11152
rfdc: 1.4.1
11153
wrap-ansi: 9.0.0
11154
11155
+ llamaindex@0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.76):
11156
+ dependencies:
11157
+ '@llamaindex/core': 0.6.22
11158
+ '@llamaindex/env': 0.1.30
11159
+ '@llamaindex/node-parser': 2.0.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)
11160
+ '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@3.25.76)
11161
+ '@types/lodash': 4.17.20
11162
+ '@types/node': 24.6.2
11163
+ lodash: 4.17.21
11164
+ magic-bytes.js: 1.12.1
11165
+ transitivePeerDependencies:
11166
+ - '@huggingface/transformers'
11167
+ - '@modelcontextprotocol/sdk'
11168
+ - gpt-tokenizer
11169
+ - hono
11170
+ - next
11171
+ - p-retry
11172
+ - rxjs
11173
+ - tree-sitter
11174
+ - web-tree-sitter
11175
+ - zod
11176
+
11177
+ llamaindex@0.12.0(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@4.1.9):
11178
+ dependencies:
11179
+ '@llamaindex/core': 0.6.22
11180
+ '@llamaindex/env': 0.1.30
11181
+ '@llamaindex/node-parser': 2.0.22(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)
11182
+ '@llamaindex/workflow': 1.1.24(@llamaindex/core@0.6.22)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.18.0)(hono@4.9.7)(next@15.3.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@18.3.1))(react@18.3.1))(rxjs@7.8.2)(zod@4.1.9)
11183
+ '@types/lodash': 4.17.20
11184
+ '@types/node': 24.6.2
11185
+ lodash: 4.17.21
11186
+ magic-bytes.js: 1.12.1
11187
+ transitivePeerDependencies:
11188
+ - '@huggingface/transformers'
11189
+ - '@modelcontextprotocol/sdk'
11190
+ - gpt-tokenizer
11191
+ - hono
11192
+ - next
11193
+ - p-retry
11194
+ - rxjs
11195
+ - tree-sitter
11196
+ - web-tree-sitter
11197
+ - zod
11198
+
11199
load-tsconfig@0.2.5: {}
11200
11201
locate-path@5.0.0:
@@ -10962,6 +11214,8 @@ snapshots:
11214
11215
lodash.startcase@4.4.0: {}
11216
11217
+ lodash@4.17.21: {}
11218
+
11219
log-update@6.1.0:
11220
dependencies:
11221
ansi-escapes: 7.0.0
@@ -10982,6 +11236,8 @@ snapshots:
11236
11237
lunr@2.3.9: {}
11238
11239
+ magic-bytes.js@1.12.1: {}
11240
+
11241
magic-string@0.30.17:
11242
dependencies:
11243
'@jridgewell/sourcemap-codec': 1.5.0
@@ -11161,6 +11417,8 @@ snapshots:
11417
11418
node-addon-api@7.1.1: {}
11419
11420
+ node-addon-api@8.5.0: {}
11421
+
11422
node-domexception@1.0.0: {}
11423
11424
node-fetch@2.7.0:
@@ -11172,6 +11430,8 @@ snapshots:
11430
detect-libc: 2.0.4
11431
optional: true
11432
11433
+ node-gyp-build@4.8.4: {}
11434
+
11435
normalize-path@3.0.0: {}
11436
11437
npm-run-path@5.3.0:
@@ -11251,30 +11511,15 @@ snapshots:
11511
transitivePeerDependencies:
11512
- encoding
11513
11254
- openai@4.104.0(ws@8.18.2)(zod@4.1.9):
11255
- dependencies:
11256
- '@types/node': 18.19.112
11257
- '@types/node-fetch': 2.6.12
11258
- abort-controller: 3.0.0
11259
- agentkeepalive: 4.6.0
11260
- form-data-encoder: 1.7.2
11261
- formdata-node: 4.4.1
11262
- node-fetch: 2.7.0
11263
- optionalDependencies:
11264
- ws: 8.18.2
11265
- zod: 4.1.9
11266
- transitivePeerDependencies:
11267
- - encoding
11268
-
11514
openai@5.16.0(ws@8.18.2)(zod@3.25.76):
11515
optionalDependencies:
11516
ws: 8.18.2
11517
zod: 3.25.76
11518
11274
- openai@5.19.1(ws@8.18.2)(zod@4.1.9):
11519
+ openai@5.19.1(ws@8.18.2)(zod@3.25.76):
11520
optionalDependencies:
11521
ws: 8.18.2
11277
- zod: 4.1.9
11522
+ zod: 3.25.76
11523
11524
openai@5.20.3(ws@8.18.2)(zod@3.25.76):
11525
optionalDependencies:
@@ -11364,6 +11609,11 @@ snapshots:
11609
index-to-position: 1.1.0
11610
type-fest: 4.41.0
11611
11612
+ parseley@0.12.1:
11613
+ dependencies:
11614
+ leac: 0.6.0
11615
+ peberminta: 0.9.0
11616
+
11617
parseurl@1.3.3: {}
11618
11619
path-browserify@1.0.1: {}
@@ -11395,10 +11645,14 @@ snapshots:
11645
11646
path-type@4.0.0: {}
11647
11648
+ pathe@1.1.2: {}
11649
+
11650
pathe@2.0.3: {}
11651
11652
pathval@2.0.0: {}
11653
11654
+ peberminta@0.9.0: {}
11655
+
11656
pend@1.2.0: {}
11657
11658
pg-int8@1.0.1: {}
@@ -11571,7 +11825,7 @@ snapshots:
11825
'@protobufjs/path': 1.1.2
11826
'@protobufjs/pool': 1.1.0
11827
'@protobufjs/utf8': 1.1.0
11574
- '@types/node': 24.0.3
11828
+ '@types/node': 24.6.2
11829
long: 5.3.2
11830
11831
proxy-addr@2.0.7:
@@ -11780,6 +12034,10 @@ snapshots:
12034
dependencies:
12035
commander: 2.20.3
12036
12037
+ selderee@0.11.0:
12038
+ dependencies:
12039
+ parseley: 0.12.1
12040
+
12041
semver@7.7.2: {}
12042
12043
send@0.19.0:
@@ -12202,6 +12460,11 @@ snapshots:
12460
12461
tree-kill@1.2.2: {}
12462
12463
+ tree-sitter@0.22.4:
12464
+ dependencies:
12465
+ node-addon-api: 8.5.0
12466
+ node-gyp-build: 4.8.4
12467
+
12468
ts-api-utils@2.1.0(typescript@5.9.2):
12469
dependencies:
12470
typescript: 5.9.2
@@ -12350,6 +12613,8 @@ snapshots:
12613
12614
undici-types@6.21.0: {}
12615
12616
+ undici-types@7.13.0: {}
12617
+
12618
undici-types@7.8.0: {}
12619
12620
undici@7.14.0: {}
@@ -12457,6 +12722,27 @@ snapshots:
12722
- tsx
12723
- yaml
12724
12725
+ vite-node@3.2.4(@types/node@24.6.2)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1):
12726
+ dependencies:
12727
+ cac: 6.7.14
12728
+ debug: 4.4.1(supports-color@10.0.0)
12729
+ es-module-lexer: 1.7.0
12730
+ pathe: 2.0.3
12731
+ vite: 6.3.5(@types/node@24.6.2)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
12732
+ transitivePeerDependencies:
12733
+ - '@types/node'
12734
+ - jiti
12735
+ - less
12736
+ - lightningcss
12737
+ - sass
12738
+ - sass-embedded
12739
+ - stylus
12740
+ - sugarss
12741
+ - supports-color
12742
+ - terser
12743
+ - tsx
12744
+ - yaml
12745
+
12746
vite@6.3.5(@types/node@20.19.1)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.0):
12747
dependencies:
12748
esbuild: 0.25.5
@@ -12502,11 +12788,26 @@ snapshots:
12788
tsx: 4.20.5
12789
yaml: 2.8.1
12790
12791
+ vite@6.3.5(@types/node@24.6.2)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1):
12792
+ dependencies:
12793
+ esbuild: 0.25.5
12794
+ fdir: 6.4.6(picomatch@4.0.2)
12795
+ picomatch: 4.0.2
12796
+ postcss: 8.5.6
12797
+ rollup: 4.43.0
12798
+ tinyglobby: 0.2.14
12799
+ optionalDependencies:
12800
+ '@types/node': 24.6.2
12801
+ fsevents: 2.3.3
12802
+ jiti: 1.21.7
12803
+ tsx: 4.20.5
12804
+ yaml: 2.8.1
12805
+
12806
vitest@3.2.4(@types/node@20.19.1)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.0):
12807
dependencies:
12808
'@types/chai': 5.2.2
12809
'@vitest/expect': 3.2.4
12509
- '@vitest/mocker': 3.2.4(vite@6.3.5(@types/node@22.15.32)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))
12810
+ '@vitest/mocker': 3.2.4(vite@6.3.5(@types/node@20.19.1)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.0))
12811
'@vitest/pretty-format': 3.2.4
12812
'@vitest/runner': 3.2.4
12813
'@vitest/snapshot': 3.2.4
@@ -12590,7 +12891,7 @@ snapshots:
12891
dependencies:
12892
'@types/chai': 5.2.2
12893
'@vitest/expect': 3.2.4
12593
- '@vitest/mocker': 3.2.4(vite@6.3.5(@types/node@22.15.32)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))
12894
+ '@vitest/mocker': 3.2.4(vite@6.3.5(@types/node@24.0.3)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))
12895
'@vitest/pretty-format': 3.2.4
12896
'@vitest/runner': 3.2.4
12897
'@vitest/snapshot': 3.2.4
@@ -12628,8 +12929,52 @@ snapshots:
12929
- tsx
12930
- yaml
12931
12932
+ vitest@3.2.4(@types/node@24.6.2)(@vitest/ui@3.2.4)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1):
12933
+ dependencies:
12934
+ '@types/chai': 5.2.2
12935
+ '@vitest/expect': 3.2.4
12936
+ '@vitest/mocker': 3.2.4(vite@6.3.5(@types/node@24.6.2)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1))
12937
+ '@vitest/pretty-format': 3.2.4
12938
+ '@vitest/runner': 3.2.4
12939
+ '@vitest/snapshot': 3.2.4
12940
+ '@vitest/spy': 3.2.4
12941
+ '@vitest/utils': 3.2.4
12942
+ chai: 5.2.0
12943
+ debug: 4.4.1(supports-color@10.0.0)
12944
+ expect-type: 1.2.1
12945
+ magic-string: 0.30.17
12946
+ pathe: 2.0.3
12947
+ picomatch: 4.0.2
12948
+ std-env: 3.9.0
12949
+ tinybench: 2.9.0
12950
+ tinyexec: 0.3.2
12951
+ tinyglobby: 0.2.14
12952
+ tinypool: 1.1.1
12953
+ tinyrainbow: 2.0.0
12954
+ vite: 6.3.5(@types/node@24.6.2)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
12955
+ vite-node: 3.2.4(@types/node@24.6.2)(jiti@1.21.7)(tsx@4.20.5)(yaml@2.8.1)
12956
+ why-is-node-running: 2.3.0
12957
+ optionalDependencies:
12958
+ '@types/node': 24.6.2
12959
+ '@vitest/ui': 3.2.4(vitest@3.2.4)
12960
+ transitivePeerDependencies:
12961
+ - jiti
12962
+ - less
12963
+ - lightningcss
12964
+ - msw
12965
+ - sass
12966
+ - sass-embedded
12967
+ - stylus
12968
+ - sugarss
12969
+ - supports-color
12970
+ - terser
12971
+ - tsx
12972
+ - yaml
12973
+
12974
web-streams-polyfill@4.0.0-beta.3: {}
12975
12976
+ web-tree-sitter@0.24.7: {}
12977
+
12978
webidl-conversions@3.0.1: {}
12979
12980
webidl-conversions@4.0.2: {}
@@ -12785,18 +13130,10 @@ snapshots:
13130
dependencies:
13131
zod: 3.25.76
13132
12788
- zod-to-json-schema@3.24.5(zod@4.1.9):
12789
- dependencies:
12790
- zod: 4.1.9
12791
-
13133
zod-to-json-schema@3.24.6(zod@3.25.76):
13134
dependencies:
13135
zod: 3.25.76
13136
12796
- zod-to-json-schema@3.24.6(zod@4.1.9):
12797
- dependencies:
12798
- zod: 4.1.9
12799
-
13137
zod@3.22.3: {}
13138
13139
zod@3.25.32: {}
ts/examples/llamaindex/.env.example
new
+6
@@ -0,0 +1,6 @@
1
+# Composio API Key - Get it from https://app.composio.dev
2
+COMPOSIO_API_KEY=your_composio_api_key_here
3
+
4
+# Add other environment variables as needed for your example
5
+# OPENAI_API_KEY=your_openai_api_key_here
6
+# ANTHROPIC_API_KEY=your_anthropic_api_key_here
ts/examples/llamaindex/README.md
new
+53
@@ -0,0 +1,53 @@
1
+# Llamaindex Example
2
+
3
+This example demonstrates how to use Composio SDK for llamaindex.
4
+
5
+## Setup
6
+
7
+1. **Install dependencies:**
8
+ ```bash
9
+ pnpm install
10
+ ```
11
+
12
+2. **Configure environment:**
13
+ ```bash
14
+ cp .env.example .env
15
+ ```
16
+
17
+ Then edit `.env` and add your API keys:
18
+ - `COMPOSIO_API_KEY`: Get it from [Composio Dashboard](https://app.composio.dev)
19
+
20
+## Running the Example
21
+
22
+```bash
23
+# Run the example
24
+pnpm start
25
+
26
+# Run in development mode (with file watching)
27
+pnpm dev
28
+```
29
+
30
+## What This Example Does
31
+
32
+- Initializes Composio SDK
33
+- Fetches available tools
34
+- Demonstrates basic usage patterns
35
+
36
+## Customization
37
+
38
+Edit `src/index.ts` to:
39
+- Add specific apps you want to integrate with
40
+- Implement your business logic
41
+- Add error handling and logging
42
+
43
+## Related Examples
44
+
45
+- [OpenAI Example](../openai) - Shows integration with OpenAI
46
+- [LangChain Example](../langchain) - Shows integration with LangChain
47
+- [More Examples](../) - Browse all available examples
48
+
49
+## Support
50
+
51
+- [Documentation](https://docs.composio.dev)
52
+- [Discord Community](https://discord.gg/composio)
53
+- [GitHub Issues](https://github.com/composio/composio/issues)
ts/examples/llamaindex/package.json
new
+32
@@ -0,0 +1,32 @@
1
+{
2
+ "name": "llamaindex-example",
3
+ "private": true,
4
+ "version": "0.1.0",
5
+ "description": "Example project for Llamaindex",
6
+ "main": "src/index.ts",
7
+ "scripts": {
8
+ "start": "bun src/index.ts",
9
+ "dev": "bun --watch src/index.ts",
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ },
12
+ "keywords": [
13
+ "composio",
14
+ "example",
15
+ "llamaindex"
16
+ ],
17
+ "author": "",
18
+ "license": "ISC",
19
+ "packageManager": "pnpm@10.17.0",
20
+ "dependencies": {
21
+ "@composio/core": "workspace:*",
22
+ "@composio/llamaindex": "workspace:*",
23
+ "@llamaindex/openai": "^0.4.20",
24
+ "@llamaindex/workflow": "^1.1.24",
25
+ "dotenv": "^16.4.1",
26
+ "llamaindex": "^0.12.0"
27
+ },
28
+ "devDependencies": {
29
+ "@types/bun": "^1.2.9",
30
+ "typescript": "catalog:"
31
+ }
32
+}
ts/examples/llamaindex/src/index.ts
new
+78
@@ -0,0 +1,78 @@
1
+/**
2
+ * Llamaindex Example
3
+ *
4
+ * This example demonstrates how to use Composio SDK for llamaindex.
5
+ *
6
+ * Prerequisites:
7
+ * 1. Set up your COMPOSIO_API_KEY in the .env file
8
+ * 3. Run the example: pnpm start
9
+ */
10
+
11
+import { Composio } from '@composio/core';
12
+import { LlamaindexProvider } from '@composio/llamaindex';
13
+import { openai } from '@llamaindex/openai';
14
+import { agent, agentStreamEvent } from '@llamaindex/workflow';
15
+import 'dotenv/config';
16
+
17
+/**
18
+ * Initialize Composio
19
+ */
20
+const composio = new Composio({
21
+ apiKey: process.env.COMPOSIO_API_KEY,
22
+ provider: new LlamaindexProvider(),
23
+});
24
+
25
+/**
26
+ * Main function to run the example
27
+ */
28
+async function main() {
29
+ try {
30
+ console.log('🚀 Starting Llamaindex Example...');
31
+
32
+ // Get available tools
33
+ const tools = await composio.tools.get(
34
+ 'default',
35
+ {
36
+ // Specify the apps you want to use
37
+ toolkits: ['hackernews'],
38
+ limit: 10,
39
+ },
40
+ {
41
+ beforeExecute: ({ toolSlug, toolkitSlug, params }) => {
42
+ console.log(`🔄 Executing tool ${toolSlug}/${toolkitSlug} with params:`, { params });
43
+ return params;
44
+ },
45
+ afterExecute: ({ toolSlug, toolkitSlug, result }) => {
46
+ console.log(`✅ Executed tool ${toolSlug}/${toolkitSlug} with result:`, { result });
47
+ return result;
48
+ },
49
+ }
50
+ );
51
+
52
+ console.log(`✅ Found ${tools.length} tools`);
53
+
54
+ // TODO: Add your example implementation here
55
+ console.log('📝 Fetching posts from hackernews!');
56
+ const hackernewsAgent = agent({
57
+ name: 'Hackernews Agent',
58
+ description: 'A helpful hackernews assistant',
59
+ llm: openai({ model: 'gpt-4o-mini' }),
60
+ systemPrompt:
61
+ 'You are a helpful hackernews assistant that helps users with their queries related to hackernews',
62
+ tools,
63
+ });
64
+
65
+ const stream = await hackernewsAgent.runStream('Summarize the front page of hackernews');
66
+
67
+ for await (const event of stream) {
68
+ if (agentStreamEvent.include(event)) {
69
+ process.stdout.write(event.data.delta);
70
+ }
71
+ }
72
+ } catch (error) {
73
+ console.error('❌ Error running example:', error);
74
+ }
75
+}
76
+
77
+// Run the example
78
+main().catch(console.error);
ts/examples/llamaindex/tsconfig.json
new
+16
@@ -0,0 +1,16 @@
1
+{
2
+ "compilerOptions": {
3
+ "target": "es2022",
4
+ "module": "esnext",
5
+ "declaration": true,
6
+ "declarationDir": "./dist",
7
+ "outDir": "./dist",
8
+ "rootDir": "./src",
9
+ "strict": true,
10
+ "esModuleInterop": true,
11
+ "moduleResolution": "bundler",
12
+ "skipLibCheck": true,
13
+ "resolveJsonModule": true
14
+ },
15
+ "include": ["src"]
16
+}
ts/packages/providers/llamaindex/README.md
new
+243
@@ -0,0 +1,243 @@
1
+# @composio/llamaindex
2
+
3
+Agentic Provider for Llamaindex in Composio SDK.
4
+
5
+## Features
6
+
7
+- **Seamless LlamaIndex Integration**: Tools are automatically compatible with LlamaIndex agents and workflows
8
+- **Full Modifier Support**: Support for both schema and execution modifiers with beforeExecute/afterExecute hooks
9
+- **Streaming Support**: Works with LlamaIndex streaming agents using `agentStreamEvent`
10
+- **Tool Execution**: Execute tools with proper parameter handling and JSON schema validation
11
+- **Type Safety**: Full TypeScript support with proper type definitions
12
+- **Zod Schema Integration**: Automatic conversion from JSON Schema to Zod for LlamaIndex compatibility
13
+
14
+## Installation
15
+
16
+```bash
17
+npm install @composio/llamaindex
18
+# or
19
+yarn add @composio/llamaindex
20
+# or
21
+pnpm add @composio/llamaindex
22
+```
23
+
24
+## Quick Start
25
+
26
+```typescript
27
+import { Composio } from '@composio/core';
28
+import { LlamaindexProvider } from '@composio/llamaindex';
29
+
30
+// Initialize Composio with Llamaindex provider
31
+const composio = new Composio({
32
+ apiKey: 'your-composio-api-key',
33
+ provider: new LlamaindexProvider(),
34
+});
35
+
36
+// Get available tools
37
+const tools = await composio.tools.get('user123', {
38
+ toolkits: ['gmail', 'googlecalendar'],
39
+ limit: 10,
40
+});
41
+```
42
+
43
+## Prerequisites
44
+
45
+Before using the LlamaIndex provider, make sure you have:
46
+
47
+1. **Composio API Key**: Get your API key from [Composio Dashboard](https://app.composio.dev)
48
+2. **Environment Setup**: Set up your environment variables
49
+3. **LlamaIndex Dependencies**: Install required LlamaIndex packages
50
+
51
+```bash
52
+# Install LlamaIndex dependencies
53
+npm install @llamaindex/openai @llamaindex/workflow
54
+```
55
+
56
+```bash
57
+# Set up environment variables
58
+export COMPOSIO_API_KEY="your-composio-api-key"
59
+export OPENAI_API_KEY="your-openai-api-key" # For LlamaIndex OpenAI integration
60
+```
61
+
62
+## Usage Examples
63
+
64
+### Basic Example
65
+
66
+```typescript
67
+import { Composio } from '@composio/core';
68
+import { LlamaindexProvider } from '@composio/llamaindex';
69
+
70
+// Initialize Composio
71
+const composio = new Composio({
72
+ apiKey: process.env.COMPOSIO_API_KEY,
73
+ provider: new LlamaindexProvider(),
74
+});
75
+
76
+// Get tools
77
+const tools = await composio.tools.get('default', {
78
+ toolkits: ['gmail'],
79
+ limit: 10,
80
+});
81
+
82
+console.log(`Found ${tools.length} tools`);
83
+```
84
+
85
+### Complete Agent Example with HackerNews
86
+
87
+```typescript
88
+import { Composio } from '@composio/core';
89
+import { LlamaindexProvider } from '@composio/llamaindex';
90
+import { openai } from '@llamaindex/openai';
91
+import { agent, agentStreamEvent } from '@llamaindex/workflow';
92
+import 'dotenv/config';
93
+
94
+// Initialize Composio with LlamaIndex provider
95
+const composio = new Composio({
96
+ apiKey: process.env.COMPOSIO_API_KEY,
97
+ provider: new LlamaindexProvider(),
98
+});
99
+
100
+async function main() {
101
+ try {
102
+ console.log('🚀 Starting LlamaIndex Example...');
103
+
104
+ // Get available tools with modifiers
105
+ const tools = await composio.tools.get(
106
+ 'default',
107
+ {
108
+ toolkits: ['hackernews'],
109
+ limit: 10,
110
+ },
111
+ {
112
+ beforeExecute: ({ toolSlug, toolkitSlug, params }) => {
113
+ console.log(`🔄 Executing tool ${toolSlug}/${toolkitSlug} with params:`, { params });
114
+ return params;
115
+ },
116
+ afterExecute: ({ toolSlug, toolkitSlug, result }) => {
117
+ console.log(`✅ Executed tool ${toolSlug}/${toolkitSlug} with result:`, { result });
118
+ return result;
119
+ },
120
+ }
121
+ );
122
+
123
+ console.log(`✅ Found ${tools.length} tools`);
124
+
125
+ // Create LlamaIndex agent with Composio tools
126
+ const hackernewsAgent = agent({
127
+ name: 'Hackernews Agent',
128
+ description: 'A helpful hackernews assistant',
129
+ llm: openai({ model: 'gpt-4o-mini' }),
130
+ systemPrompt:
131
+ 'You are a helpful hackernews assistant that helps users with their queries related to hackernews',
132
+ tools, // Composio tools are automatically compatible with LlamaIndex
133
+ });
134
+
135
+ // Run the agent with streaming
136
+ const stream = await hackernewsAgent.runStream('Summarize the front page of hackernews');
137
+
138
+ for await (const event of stream) {
139
+ if (agentStreamEvent.include(event)) {
140
+ process.stdout.write(event.data.delta);
141
+ }
142
+ }
143
+ } catch (error) {
144
+ console.error('❌ Error running example:', error);
145
+ }
146
+}
147
+
148
+main().catch(console.error);
149
+```
150
+
151
+### Using Tools with Different Toolkits
152
+
153
+```typescript
154
+import { Composio } from '@composio/core';
155
+import { LlamaindexProvider } from '@composio/llamaindex';
156
+import { openai } from '@llamaindex/openai';
157
+import { agent } from '@llamaindex/workflow';
158
+
159
+const composio = new Composio({
160
+ apiKey: process.env.COMPOSIO_API_KEY,
161
+ provider: new LlamaindexProvider(),
162
+});
163
+
164
+// Get tools from multiple toolkits
165
+const tools = await composio.tools.get('default', {
166
+ toolkits: ['gmail', 'googlecalendar', 'slack'],
167
+ limit: 20,
168
+});
169
+
170
+// Create a multi-purpose agent
171
+const assistantAgent = agent({
172
+ name: 'Personal Assistant',
173
+ description: 'A helpful personal assistant',
174
+ llm: openai({ model: 'gpt-4' }),
175
+ systemPrompt:
176
+ 'You are a helpful personal assistant that can manage emails, calendar events, and slack messages.',
177
+ tools,
178
+});
179
+
180
+// Use the agent
181
+const response = await assistantAgent.run(
182
+ 'Schedule a meeting for tomorrow at 2 PM and send a slack message about it'
183
+);
184
+console.log(response);
185
+```
186
+
187
+## API Reference
188
+
189
+### LlamaindexProvider Class
190
+
191
+The `LlamaindexProvider` class extends `BaseAgenticProvider` and provides llamaindex-specific functionality.
192
+
193
+#### Methods
194
+
195
+##### `wrapTool(tool: Tool, executeTool: ExecuteToolFn): LlamaindexTool`
196
+
197
+Wraps a single Composio tool in the LlamaIndex format with proper Zod schema conversion.
198
+
199
+```typescript
200
+const llamaindexTool = provider.wrapTool(composioTool, executeTool);
201
+
202
+// The wrapped tool has LlamaIndex-compatible structure:
203
+// - metadata.name: Tool slug
204
+// - metadata.description: Tool description
205
+// - metadata.parameters: Zod schema for parameters
206
+// - call(): Function to execute the tool
207
+```
208
+
209
+##### `wrapTools(tools: Tool[], executeTool: ExecuteToolFn): LlamaindexTool[]`
210
+
211
+Wraps multiple Composio tools for use with LlamaIndex agents.
212
+
213
+```typescript
214
+const llamaindexTools = provider.wrapTools(composioTools, executeTool);
215
+
216
+// Use directly with LlamaIndex agents
217
+const agent = agent({
218
+ name: 'My Agent',
219
+ llm: openai({ model: 'gpt-4' }),
220
+ tools: llamaindexTools, // Ready to use!
221
+});
222
+```
223
+
224
+##### `wrapMcpServerResponse(data: McpUrlResponse): McpServerGetResponse`
225
+
226
+Transforms MCP URL responses into the standard format with URL objects.
227
+
228
+```typescript
229
+const mcpServers = provider.wrapMcpServerResponse(urlResponse);
230
+// Returns: [{ url: URL, name: string }, ...]
231
+```
232
+
233
+## Contributing
234
+
235
+We welcome contributions! Please see our [Contributing Guide](../../CONTRIBUTING.md) for more details.
236
+
237
+## License
238
+
239
+ISC License
240
+
241
+## Support
242
+
243
+For support, please visit our [Documentation](https://docs.composio.dev) or join our [Discord Community](https://discord.gg/composio).
ts/packages/providers/llamaindex/package.json
new
+44
@@ -0,0 +1,44 @@
1
+{
2
+ "name": "@composio/llamaindex",
3
+ "version": "0.1.53",
4
+ "description": "Agentic Provider for llamaindex in Composio SDK",
5
+ "main": "src/index.ts",
6
+ "type": "module",
7
+ "publishConfig": {
8
+ "access": "public",
9
+ "main": "dist/index.js",
10
+ "types": "dist/index.d.ts"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "require": "./dist/index.cjs"
17
+ }
18
+ },
19
+ "files": [
20
+ "README.md",
21
+ "dist"
22
+ ],
23
+ "scripts": {
24
+ "build": "tsup",
25
+ "test": "vitest run"
26
+ },
27
+ "keywords": [
28
+ "composio",
29
+ "provider",
30
+ "llamaindex"
31
+ ],
32
+ "author": "",
33
+ "license": "ISC",
34
+ "packageManager": "pnpm@10.17.0",
35
+ "peerDependencies": {
36
+ "@composio/core": "^0.1.0",
37
+ "llamaindex": "^0.12.0"
38
+ },
39
+ "devDependencies": {
40
+ "@composio/core": "workspace:*",
41
+ "tsup": "catalog:",
42
+ "typescript": "catalog:"
43
+ }
44
+}
ts/packages/providers/llamaindex/src/index.ts
new
+72
@@ -0,0 +1,72 @@
1
+/**
2
+ * Llamaindex Provider
3
+ *
4
+ * This provider provides a set of tools for interacting with Llamaindex.
5
+ *
6
+ * @packageDocumentation
7
+ * @module providers/llamaindex
8
+ */
9
+import {
10
+ BaseAgenticProvider,
11
+ Tool,
12
+ ExecuteToolFn,
13
+ McpServerGetResponse,
14
+ McpUrlResponse,
15
+ jsonSchemaToZodSchema,
16
+} from '@composio/core';
17
+import { tool as createLlamaindexTool, JSONValue } from 'llamaindex';
18
+
19
+export type LlamaindexTool = ReturnType<typeof createLlamaindexTool>;
20
+export type LlamaindexToolCollection = Array<LlamaindexTool>;
21
+
22
+export class LlamaindexProvider extends BaseAgenticProvider<
23
+ Array<LlamaindexTool>,
24
+ LlamaindexTool,
25
+ McpServerGetResponse
26
+> {
27
+ readonly name = 'llamaindex';
28
+
29
+ /**
30
+ * Wrap a tool in the llamaindex format.
31
+ * @param tool - The tool to wrap.
32
+ * @returns The wrapped tool.
33
+ */
34
+ wrapTool(tool: Tool, executeTool: ExecuteToolFn): LlamaindexTool {
35
+ const inputParams = tool.inputParameters;
36
+ const inputParametersSchema = jsonSchemaToZodSchema(inputParams ?? {});
37
+ return createLlamaindexTool({
38
+ name: tool.slug,
39
+ description: tool.description ?? tool.name ?? '',
40
+ parameters: inputParametersSchema,
41
+ execute: async input => {
42
+ const result = await executeTool(tool.slug, input as Record<string, unknown>);
43
+ return JSON.stringify(result);
44
+ },
45
+ });
46
+ }
47
+
48
+ /**
49
+ * Wrap a list of tools in the llamaindex format.
50
+ * @param tools - The tools to wrap.
51
+ * @returns The wrapped tools.
52
+ */
53
+ wrapTools(tools: Tool[], executeTool: ExecuteToolFn): LlamaindexToolCollection {
54
+ return tools.map(tool => this.wrapTool(tool, executeTool));
55
+ }
56
+
57
+ /**
58
+ * Transform MCP URL response into Anthropic-specific format.
59
+ * By default, Anthropic uses the standard format (same as default),
60
+ * but this method is here to show providers can customize if needed.
61
+ *
62
+ * @param data - The MCP URL response data
63
+ * @returns Standard MCP server response format
64
+ */
65
+ wrapMcpServerResponse(data: McpUrlResponse): McpServerGetResponse {
66
+ // Anthropic uses the standard format
67
+ return data.map(item => ({
68
+ url: new URL(item.url),
69
+ name: item.name,
70
+ })) as McpServerGetResponse;
71
+ }
72
+}
ts/packages/providers/llamaindex/test/llamaindex.test.ts
new
+338
@@ -0,0 +1,338 @@
1
+import { describe, it, expect, beforeEach, vi } from 'vitest';
2
+import { LlamaindexProvider, LlamaindexTool } from '../src';
3
+import { Tool } from '@composio/core';
4
+
5
+// Mock the llamaindex module
6
+vi.mock('llamaindex', () => {
7
+ return {
8
+ tool: vi.fn().mockImplementation(config => ({
9
+ metadata: {
10
+ name: config.name,
11
+ description: config.description,
12
+ parameters: config.parameters,
13
+ },
14
+ call: config.execute,
15
+ // Mock LlamaIndex tool properties
16
+ _type: 'llamaindex_tool',
17
+ _config: config,
18
+ })),
19
+ JSONValue: {},
20
+ };
21
+});
22
+
23
+describe('LlamaindexProvider', () => {
24
+ let provider: LlamaindexProvider;
25
+ let sampleTool: Tool;
26
+ let executeToolFn: (toolSlug: string, params: Record<string, unknown>) => Promise<any>;
27
+
28
+ beforeEach(() => {
29
+ provider = new LlamaindexProvider();
30
+
31
+ // Create a real execute function that simulates tool execution
32
+ executeToolFn = vi
33
+ .fn()
34
+ .mockImplementation(async (toolSlug: string, params: Record<string, unknown>) => {
35
+ // Simulate actual tool execution with realistic response
36
+ return {
37
+ data: { toolSlug, params },
38
+ error: null,
39
+ successful: true,
40
+ };
41
+ });
42
+
43
+ // Create a real sample tool that matches actual tool structure
44
+ sampleTool = {
45
+ slug: 'SEARCH_TOOL',
46
+ name: 'Search Tool',
47
+ description: 'Search for information in the knowledge base',
48
+ version: '20250909_00',
49
+ availableVersions: ['20250909_00', '20250901_00'],
50
+ inputParameters: {
51
+ type: 'object',
52
+ properties: {
53
+ query: {
54
+ type: 'string',
55
+ description: 'The search query',
56
+ },
57
+ },
58
+ required: ['query'],
59
+ additionalProperties: false,
60
+ },
61
+ toolkit: {
62
+ slug: 'search_toolkit',
63
+ name: 'Search Toolkit',
64
+ },
65
+ tags: ['search', 'knowledge'],
66
+ };
67
+ });
68
+
69
+ describe('Provider Configuration', () => {
70
+ it('should be properly initialized with correct name', () => {
71
+ expect(provider.name).toBe('llamaindex');
72
+ });
73
+
74
+ it('should be marked as agentic', () => {
75
+ expect(provider._isAgentic).toBe(true);
76
+ });
77
+ });
78
+
79
+ describe('Tool Wrapping', () => {
80
+ it('should successfully wrap a valid tool into LlamaIndex format', () => {
81
+ const wrappedTool = provider.wrapTool(sampleTool, executeToolFn);
82
+
83
+ // Verify the wrapped tool has the correct structure
84
+ expect(wrappedTool.metadata.name).toBe(sampleTool.slug);
85
+ expect(wrappedTool.metadata.description).toBe(sampleTool.description);
86
+ expect(wrappedTool).toHaveProperty('metadata');
87
+ expect(wrappedTool).toHaveProperty('call');
88
+ expect(typeof wrappedTool.call).toBe('function');
89
+ });
90
+
91
+ it('should wrap a tool that can be executed with parameters', async () => {
92
+ const wrappedTool = provider.wrapTool(sampleTool, executeToolFn);
93
+ const searchParams = { query: 'test search' };
94
+
95
+ const result = await wrappedTool.call(searchParams);
96
+ const parsedResult = JSON.parse(result as string);
97
+
98
+ expect(parsedResult).toEqual({
99
+ data: {
100
+ toolSlug: sampleTool.slug,
101
+ params: searchParams,
102
+ },
103
+ error: null,
104
+ successful: true,
105
+ });
106
+ });
107
+
108
+ it('should handle tools without input parameters', () => {
109
+ const toolWithoutParams = { ...sampleTool, inputParameters: undefined };
110
+
111
+ const wrappedTool = provider.wrapTool(toolWithoutParams, executeToolFn);
112
+
113
+ expect(wrappedTool.metadata.name).toBe(toolWithoutParams.slug);
114
+ expect(wrappedTool.metadata.description).toBe(toolWithoutParams.description);
115
+ expect(wrappedTool.metadata).toHaveProperty('parameters');
116
+ });
117
+
118
+ it('should handle tools without description', () => {
119
+ const toolWithoutDescription = { ...sampleTool, description: undefined };
120
+
121
+ const wrappedTool = provider.wrapTool(toolWithoutDescription, executeToolFn);
122
+
123
+ expect(wrappedTool.metadata.name).toBe(toolWithoutDescription.slug);
124
+ expect(wrappedTool.metadata.description).toBe(toolWithoutDescription.name); // Falls back to tool name
125
+ expect(wrappedTool.metadata).toHaveProperty('parameters');
126
+ });
127
+
128
+ it('should handle tools without description and name', () => {
129
+ const toolWithoutDescriptionAndName = {
130
+ ...sampleTool,
131
+ description: undefined,
132
+ name: '', // Empty name to test final fallback
133
+ };
134
+
135
+ const wrappedTool = provider.wrapTool(toolWithoutDescriptionAndName, executeToolFn);
136
+
137
+ expect(wrappedTool.metadata.name).toBe(toolWithoutDescriptionAndName.slug);
138
+ expect(wrappedTool.metadata.description).toBe(''); // Final fallback to empty string
139
+ expect(wrappedTool.metadata).toHaveProperty('parameters');
140
+ });
141
+ });
142
+
143
+ describe('Multiple Tools Wrapping', () => {
144
+ it('should wrap multiple tools correctly', () => {
145
+ const anotherTool: Tool = {
146
+ ...sampleTool,
147
+ slug: 'WEATHER_TOOL',
148
+ name: 'Weather Tool',
149
+ description: 'Get weather information',
150
+ inputParameters: {
151
+ type: 'object',
152
+ properties: {
153
+ location: {
154
+ type: 'string',
155
+ description: 'Location to get weather for',
156
+ },
157
+ },
158
+ required: ['location'],
159
+ additionalProperties: false,
160
+ },
161
+ };
162
+
163
+ const tools = [sampleTool, anotherTool];
164
+ const wrappedTools = provider.wrapTools(tools, executeToolFn);
165
+
166
+ expect(wrappedTools).toHaveLength(2);
167
+ expect(wrappedTools[0].metadata.name).toBe('SEARCH_TOOL');
168
+ expect(wrappedTools[1].metadata.name).toBe('WEATHER_TOOL');
169
+ expect(wrappedTools.every(tool => typeof tool.call === 'function')).toBe(true);
170
+ });
171
+
172
+ it('should handle empty tools array', () => {
173
+ const wrappedTools = provider.wrapTools([], executeToolFn);
174
+ expect(wrappedTools).toEqual([]);
175
+ });
176
+ });
177
+
178
+ describe('LlamaIndex Integration', () => {
179
+ it('should produce tools that can be used with LlamaIndex', async () => {
180
+ const wrappedTool = provider.wrapTool(sampleTool, executeToolFn);
181
+
182
+ // Verify the tool has all required LlamaIndex properties
183
+ expect(wrappedTool).toHaveProperty('metadata');
184
+ expect(wrappedTool.metadata).toHaveProperty('name');
185
+ expect(wrappedTool.metadata).toHaveProperty('description');
186
+ expect(wrappedTool.metadata).toHaveProperty('parameters');
187
+ expect(wrappedTool).toHaveProperty('call');
188
+
189
+ // Test actual execution through LlamaIndex interface
190
+ const result = await wrappedTool.call({ query: 'test query' });
191
+ expect(typeof result).toBe('string');
192
+ expect(() => JSON.parse(result as string)).not.toThrow();
193
+ });
194
+
195
+ it('should return JSONValue from call function', async () => {
196
+ const wrappedTool = provider.wrapTool(sampleTool, executeToolFn);
197
+ const result = await wrappedTool.call({ query: 'test' });
198
+
199
+ // Should be a JSON string (JSONValue)
200
+ expect(typeof result).toBe('string');
201
+ const parsed = JSON.parse(result as string);
202
+ expect(parsed).toHaveProperty('data');
203
+ expect(parsed).toHaveProperty('successful');
204
+ });
205
+
206
+ it('should handle execution errors gracefully', async () => {
207
+ const errorExecuteFn = vi.fn().mockRejectedValue(new Error('Tool execution failed'));
208
+ const wrappedTool = provider.wrapTool(sampleTool, errorExecuteFn);
209
+
210
+ await expect(wrappedTool.call({ query: 'test' })).rejects.toThrow('Tool execution failed');
211
+ });
212
+ });
213
+
214
+ describe('MCP Server Response Transformation', () => {
215
+ it('should transform McpUrlResponse to standard format with URL objects', () => {
216
+ const mcpResponse = [
217
+ { name: 'server-1', url: 'https://mcp1.example.com' },
218
+ { name: 'server-2', url: 'https://mcp2.example.com' },
219
+ { name: 'server-3', url: 'https://mcp3.example.com' },
220
+ ];
221
+
222
+ const result = provider.wrapMcpServerResponse(mcpResponse);
223
+
224
+ expect(Array.isArray(result)).toBe(true);
225
+ expect(result).toHaveLength(3);
226
+ expect(result[0]).toEqual({
227
+ url: new URL('https://mcp1.example.com'),
228
+ name: 'server-1',
229
+ });
230
+ expect(result[1]).toEqual({
231
+ url: new URL('https://mcp2.example.com'),
232
+ name: 'server-2',
233
+ });
234
+ expect(result[2]).toEqual({
235
+ url: new URL('https://mcp3.example.com'),
236
+ name: 'server-3',
237
+ });
238
+ });
239
+
240
+ it('should handle empty array', () => {
241
+ const mcpResponse: Array<{ name: string; url: string }> = [];
242
+
243
+ const result = provider.wrapMcpServerResponse(mcpResponse);
244
+
245
+ expect(Array.isArray(result)).toBe(true);
246
+ expect(result).toHaveLength(0);
247
+ });
248
+
249
+ it('should handle single item array', () => {
250
+ const mcpResponse = [{ name: 'single-server', url: 'https://single.example.com' }];
251
+
252
+ const result = provider.wrapMcpServerResponse(mcpResponse);
253
+
254
+ expect(Array.isArray(result)).toBe(true);
255
+ expect(result).toHaveLength(1);
256
+ expect(result[0]).toEqual({
257
+ url: new URL('https://single.example.com'),
258
+ name: 'single-server',
259
+ });
260
+ });
261
+
262
+ it('should create proper URL objects from string URLs', () => {
263
+ const mcpResponse = [
264
+ { name: 'http-server', url: 'http://insecure.example.com' },
265
+ { name: 'https-server', url: 'https://secure.example.com' },
266
+ { name: 'port-server', url: 'https://example.com:8080/path' },
267
+ { name: 'query-server', url: 'https://example.com?param=value' },
268
+ { name: 'fragment-server', url: 'https://example.com#section' },
269
+ ];
270
+
271
+ const result = provider.wrapMcpServerResponse(mcpResponse);
272
+
273
+ expect(result).toHaveLength(5);
274
+
275
+ // Verify URLs are proper URL objects
276
+ expect(result[0].url).toBeInstanceOf(URL);
277
+ expect(result[1].url).toBeInstanceOf(URL);
278
+ expect(result[2].url).toBeInstanceOf(URL);
279
+ expect(result[3].url).toBeInstanceOf(URL);
280
+ expect(result[4].url).toBeInstanceOf(URL);
281
+
282
+ // Verify URL values
283
+ expect(result[0].url.href).toBe('http://insecure.example.com/');
284
+ expect(result[1].url.href).toBe('https://secure.example.com/');
285
+ expect(result[2].url.href).toBe('https://example.com:8080/path');
286
+ expect(result[3].url.href).toBe('https://example.com/?param=value');
287
+ expect(result[4].url.href).toBe('https://example.com/#section');
288
+ });
289
+ });
290
+
291
+ describe('Edge Cases and Error Handling', () => {
292
+ it('should handle tools with complex input parameters', () => {
293
+ const complexTool: Tool = {
294
+ ...sampleTool,
295
+ slug: 'COMPLEX_TOOL',
296
+ inputParameters: {
297
+ type: 'object',
298
+ properties: {
299
+ stringParam: { type: 'string' },
300
+ numberParam: { type: 'number' },
301
+ booleanParam: { type: 'boolean' },
302
+ arrayParam: { type: 'array', items: { type: 'string' } },
303
+ objectParam: {
304
+ type: 'object',
305
+ properties: {
306
+ nestedString: { type: 'string' },
307
+ nestedNumber: { type: 'number' },
308
+ },
309
+ },
310
+ },
311
+ required: ['stringParam', 'numberParam'],
312
+ },
313
+ };
314
+
315
+ const wrappedTool = provider.wrapTool(complexTool, executeToolFn);
316
+
317
+ expect(wrappedTool.metadata.name).toBe('COMPLEX_TOOL');
318
+ expect(wrappedTool.metadata).toHaveProperty('parameters');
319
+ });
320
+
321
+ it('should handle execution with various parameter types', async () => {
322
+ const wrappedTool = provider.wrapTool(sampleTool, executeToolFn);
323
+ const complexParams = {
324
+ query: 'test search',
325
+ options: {
326
+ limit: 10,
327
+ includeMetadata: true,
328
+ },
329
+ tags: ['search', 'test'],
330
+ };
331
+
332
+ const result = await wrappedTool.call(complexParams);
333
+ const parsedResult = JSON.parse(result as string);
334
+
335
+ expect(parsedResult.data.params).toEqual(complexParams);
336
+ });
337
+ });
338
+});
ts/packages/providers/llamaindex/tsconfig.json
new
+16
@@ -0,0 +1,16 @@
1
+{
2
+ "extends": "../../../../tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "target": "es2022",
5
+ "module": "esnext",
6
+ "declaration": true,
7
+ "declarationDir": "./dist",
8
+ "outDir": "./dist",
9
+ "strict": true,
10
+ "esModuleInterop": true,
11
+ "moduleResolution": "bundler",
12
+ "skipLibCheck": true,
13
+ "resolveJsonModule": true
14
+ },
15
+ "include": ["src"]
16
+}
ts/packages/providers/llamaindex/tsup.config.ts
new
+10
@@ -0,0 +1,10 @@
1
+import { defineConfig } from 'tsup';
2
+
3
+export default defineConfig({
4
+ entry: ['src/index.ts'],
5
+ format: ['esm', 'cjs'],
6
+ dts: true,
7
+ clean: true,
8
+ minify: false,
9
+ outDir: 'dist',
10
+});