From dccb8163d89455609131e69786c8549c465cac70 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Sun, 28 Apr 2024 18:35:33 -0500 Subject: [PATCH] fix(core): polyfill Web Stream APIs (#777) --- examples/agent/step_wise_openai.ts | 18 +- examples/agent/stream_openai_agent.ts | 8 +- examples/agent/wiki.ts | 6 +- examples/tsconfig.json | 1 + packages/core/e2e/node/snapshot/agent.snap | 227 ++------- .../core/e2e/node/snapshot/agent_stream.snap | 56 +- .../agent_with_object_function_call.snap | 6 +- .../snapshot/agent_with_object_retriever.snap | 6 +- .../core/e2e/node/snapshot/gpt-4-turbo.snap | 75 +-- packages/core/e2e/node/snapshot/llm.snap | 378 +------------- .../snapshot/openai_agent_system_prompt.snap | 8 +- .../snapshot/queryEngine_subquestion.snap | 72 +-- packages/core/e2e/package.json | 1 + packages/core/package.json | 1 - packages/core/src/agent/base.ts | 10 +- packages/core/src/agent/openai.ts | 7 +- packages/core/src/agent/types.ts | 1 + packages/core/src/agent/utils.ts | 26 +- packages/core/src/llm/openai.ts | 26 +- packages/core/src/llm/types.ts | 10 +- packages/env/src/index.polyfill.ts | 13 +- packages/env/src/index.ts | 16 +- packages/env/src/type.ts | 3 +- packages/env/src/utils.ts | 26 +- pnpm-lock.yaml | 479 ++++++++++-------- tsconfig.json | 4 +- 26 files changed, 488 insertions(+), 996 deletions(-) diff --git a/examples/agent/step_wise_openai.ts b/examples/agent/step_wise_openai.ts index d487f74a3d..74c0834009 100644 --- a/examples/agent/step_wise_openai.ts +++ b/examples/agent/step_wise_openai.ts @@ -1,4 +1,5 @@ import { FunctionTool, OpenAIAgent } from "llamaindex"; +import { ReadableStream } from "node:stream/web"; // Define a function to sum two numbers function sumNumbers({ a, b }: { a: number; b: number }) { @@ -69,11 +70,24 @@ async function main() { for await (const stepOutput of task) { console.log(`Runnning step ${count++}`); console.log(`======== OUTPUT ==========`); - console.log(stepOutput.output.message.content); + const output = stepOutput.output; + if (output instanceof ReadableStream) { + for await (const chunk of output) { + process.stdout.write(chunk.delta); + } + } else { + console.log(output); + } console.log(`==========================`); if (stepOutput.isLast) { - console.log(stepOutput.output.message.content); + if (stepOutput.output instanceof ReadableStream) { + for await (const chunk of stepOutput.output) { + process.stdout.write(chunk.delta); + } + } else { + console.log(stepOutput.output); + } } } } diff --git a/examples/agent/stream_openai_agent.ts b/examples/agent/stream_openai_agent.ts index 0a1d89dfb4..111853fba8 100644 --- a/examples/agent/stream_openai_agent.ts +++ b/examples/agent/stream_openai_agent.ts @@ -66,8 +66,12 @@ async function main() { stream: true, }); - for await (const chunk of stream.response) { - process.stdout.write(chunk.response); + console.log("Response:"); + + for await (const { + response: { delta }, + } of stream) { + process.stdout.write(delta); } } diff --git a/examples/agent/wiki.ts b/examples/agent/wiki.ts index de2e1f90d1..379c6cdacd 100644 --- a/examples/agent/wiki.ts +++ b/examples/agent/wiki.ts @@ -16,8 +16,10 @@ async function main() { stream: true, }); - for await (const chunk of response.response) { - process.stdout.write(chunk.response); + for await (const { + response: { delta }, + } of response) { + process.stdout.write(delta); } } diff --git a/examples/tsconfig.json b/examples/tsconfig.json index b87cae7085..600c6fe725 100644 --- a/examples/tsconfig.json +++ b/examples/tsconfig.json @@ -8,6 +8,7 @@ "strict": true, "skipLibCheck": true, "lib": ["ES2022"], + "types": ["node"], "outDir": "./lib", "tsBuildInfoFile": "./lib/.tsbuildinfo", "incremental": true, diff --git a/packages/core/e2e/node/snapshot/agent.snap b/packages/core/e2e/node/snapshot/agent.snap index 11cb01b924..8bde56d7a2 100644 --- a/packages/core/e2e/node/snapshot/agent.snap +++ b/packages/core/e2e/node/snapshot/agent.snap @@ -4,8 +4,8 @@ "id": "PRESERVE_0", "messages": [ { - "content": "What is the weather in San Francisco?", - "role": "user" + "role": "user", + "content": "What is the weather in San Francisco?" } ] }, @@ -13,15 +13,15 @@ "id": "PRESERVE_1", "messages": [ { - "content": "What is the weather in San Francisco?", - "role": "user" + "role": "user", + "content": "What is the weather in San Francisco?" }, { "content": "", "role": "assistant", "options": { "toolCall": { - "id": "HIDDEN", + "id": "call_Enrc7RhNts0qxGaEATOEhV6F", "name": "Weather", "input": "{\"location\":\"San Francisco\"}" } @@ -32,8 +32,9 @@ "role": "user", "options": { "toolResult": { - "id": "HIDDEN", - "isError": false + "result": "35 degrees and sunny in San Francisco", + "isError": false, + "id": "call_Enrc7RhNts0qxGaEATOEhV6F" } } } @@ -43,8 +44,8 @@ "id": "PRESERVE_2", "messages": [ { - "content": "My name is Alex Yang. What is my unique id?", - "role": "user" + "role": "user", + "content": "My name is Alex Yang. What is my unique id?" } ] }, @@ -52,15 +53,15 @@ "id": "PRESERVE_3", "messages": [ { - "content": "My name is Alex Yang. What is my unique id?", - "role": "user" + "role": "user", + "content": "My name is Alex Yang. What is my unique id?" }, { "content": "", "role": "assistant", "options": { "toolCall": { - "id": "HIDDEN", + "id": "call_OYo81prrpK2RLOS9d0Y6kiXB", "name": "unique_id", "input": "{\"firstName\":\"Alex\",\"lastName\":\"Yang\"}" } @@ -71,8 +72,9 @@ "role": "user", "options": { "toolResult": { - "id": "HIDDEN", - "isError": false + "result": "123456789", + "isError": false, + "id": "call_OYo81prrpK2RLOS9d0Y6kiXB" } } } @@ -82,8 +84,8 @@ "id": "PRESERVE_4", "messages": [ { - "content": "how much is 1 + 1?", - "role": "user" + "role": "user", + "content": "how much is 1 + 1?" } ] }, @@ -91,15 +93,15 @@ "id": "PRESERVE_5", "messages": [ { - "content": "how much is 1 + 1?", - "role": "user" + "role": "user", + "content": "how much is 1 + 1?" }, { "content": "", "role": "assistant", "options": { "toolCall": { - "id": "HIDDEN", + "id": "call_YUXowHKwOJ6GIWV4EA59x8iF", "name": "sumNumbers", "input": "{\"a\":1,\"b\":1}" } @@ -110,8 +112,9 @@ "role": "user", "options": { "toolResult": { - "id": "HIDDEN", - "isError": false + "result": "2", + "isError": false, + "id": "call_YUXowHKwOJ6GIWV4EA59x8iF" } } } @@ -122,45 +125,13 @@ { "id": "PRESERVE_0", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "HIDDEN", - "type": "function", - "function": { - "name": "Weather", - "arguments": "{\"location\":\"San Francisco\"}" - } - } - ] - }, - "logprobs": null, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 49, - "completion_tokens": 15, - "total_tokens": 64 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "", "role": "assistant", "options": { "toolCall": { - "id": "HIDDEN", + "id": "call_Enrc7RhNts0qxGaEATOEhV6F", "name": "Weather", "input": "{\"location\":\"San Francisco\"}" } @@ -171,29 +142,7 @@ { "id": "PRESERVE_1", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "The weather in San Francisco is currently 35 degrees and sunny." - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 78, - "completion_tokens": 14, - "total_tokens": 92 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "The weather in San Francisco is currently 35 degrees and sunny.", "role": "assistant", @@ -204,45 +153,13 @@ { "id": "PRESERVE_2", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "HIDDEN", - "type": "function", - "function": { - "name": "unique_id", - "arguments": "{\"firstName\":\"Alex\",\"lastName\":\"Yang\"}" - } - } - ] - }, - "logprobs": null, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 59, - "completion_tokens": 18, - "total_tokens": 77 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "", "role": "assistant", "options": { "toolCall": { - "id": "HIDDEN", + "id": "call_OYo81prrpK2RLOS9d0Y6kiXB", "name": "unique_id", "input": "{\"firstName\":\"Alex\",\"lastName\":\"Yang\"}" } @@ -253,29 +170,7 @@ { "id": "PRESERVE_3", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "Your unique id is 123456789." - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 88, - "completion_tokens": 10, - "total_tokens": 98 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "Your unique id is 123456789.", "role": "assistant", @@ -286,45 +181,13 @@ { "id": "PRESERVE_4", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "HIDDEN", - "type": "function", - "function": { - "name": "sumNumbers", - "arguments": "{\"a\":1,\"b\":1}" - } - } - ] - }, - "logprobs": null, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 70, - "completion_tokens": 18, - "total_tokens": 88 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "", "role": "assistant", "options": { "toolCall": { - "id": "HIDDEN", + "id": "call_YUXowHKwOJ6GIWV4EA59x8iF", "name": "sumNumbers", "input": "{\"a\":1,\"b\":1}" } @@ -335,31 +198,9 @@ { "id": "PRESERVE_5", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "1 + 1 is equal to 2." - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 97, - "completion_tokens": 11, - "total_tokens": 108 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { - "content": "1 + 1 is equal to 2.", + "content": "The sum of 1 + 1 is 2.", "role": "assistant", "options": {} } diff --git a/packages/core/e2e/node/snapshot/agent_stream.snap b/packages/core/e2e/node/snapshot/agent_stream.snap index be29a6826d..70dcdf2985 100644 --- a/packages/core/e2e/node/snapshot/agent_stream.snap +++ b/packages/core/e2e/node/snapshot/agent_stream.snap @@ -22,8 +22,11 @@ "options": { "toolCall": { "name": "divideNumbers", - "id": "call_t0vy4M815ncAQnfRqoflW5hn", - "input": "{\"a\": 16, \"b\": 2}" + "id": "call_QQh8uKzGHbgBlrhqxZNoWiQT", + "input": { + "a": 16, + "b": 2 + } } } }, @@ -34,7 +37,7 @@ "toolResult": { "result": "8", "isError": false, - "id": "call_t0vy4M815ncAQnfRqoflW5hn" + "id": "call_QQh8uKzGHbgBlrhqxZNoWiQT" } } }, @@ -44,7 +47,7 @@ "options": { "toolCall": { "name": "sumNumbers", - "id": "call_08QNOtWYlDoqPPXHMtbvr7A2", + "id": "call_C03ASSDxIFTrYmzSuTxCrItd", "input": "{\"a\": 8, \"b\": 20}" } } @@ -56,7 +59,7 @@ "toolResult": { "result": "28", "isError": false, - "id": "call_08QNOtWYlDoqPPXHMtbvr7A2" + "id": "call_C03ASSDxIFTrYmzSuTxCrItd" } } } @@ -74,7 +77,7 @@ "options": { "toolCall": { "name": "sumNumbers", - "id": "call_08QNOtWYlDoqPPXHMtbvr7A2", + "id": "call_C03ASSDxIFTrYmzSuTxCrItd", "input": "{\"a\": 8, \"b\": 20}" } } @@ -101,8 +104,8 @@ "options": { "toolCall": { "name": "divideNumbers", - "id": "call_t0vy4M815ncAQnfRqoflW5hn", - "input": "{\"a\": 16, \"b\": 2}" + "id": "call_QQh8uKzGHbgBlrhqxZNoWiQT", + "input": "" } }, "delta": "" @@ -115,8 +118,8 @@ "options": { "toolCall": { "name": "divideNumbers", - "id": "call_t0vy4M815ncAQnfRqoflW5hn", - "input": "{\"a\": 16, \"b\": 2}" + "id": "call_QQh8uKzGHbgBlrhqxZNoWiQT", + "input": "{\"a\"" } }, "delta": "" @@ -129,8 +132,8 @@ "options": { "toolCall": { "name": "divideNumbers", - "id": "call_t0vy4M815ncAQnfRqoflW5hn", - "input": "{\"a\": 16, \"b\": 2}" + "id": "call_QQh8uKzGHbgBlrhqxZNoWiQT", + "input": "{\"a\": 16," } }, "delta": "" @@ -143,8 +146,8 @@ "options": { "toolCall": { "name": "divideNumbers", - "id": "call_t0vy4M815ncAQnfRqoflW5hn", - "input": "{\"a\": 16, \"b\": 2}" + "id": "call_QQh8uKzGHbgBlrhqxZNoWiQT", + "input": "{\"a\": 16, \"b\": " } }, "delta": "" @@ -157,7 +160,7 @@ "options": { "toolCall": { "name": "divideNumbers", - "id": "call_t0vy4M815ncAQnfRqoflW5hn", + "id": "call_QQh8uKzGHbgBlrhqxZNoWiQT", "input": "{\"a\": 16, \"b\": 2}" } }, @@ -170,9 +173,12 @@ "raw": null, "options": { "toolCall": { - "name": "sumNumbers", - "id": "call_08QNOtWYlDoqPPXHMtbvr7A2", - "input": "{\"a\": 8, \"b\": 20}" + "name": "divideNumbers", + "id": "call_QQh8uKzGHbgBlrhqxZNoWiQT", + "input": { + "a": 16, + "b": 2 + } } }, "delta": "" @@ -185,8 +191,8 @@ "options": { "toolCall": { "name": "sumNumbers", - "id": "call_08QNOtWYlDoqPPXHMtbvr7A2", - "input": "{\"a\": 8, \"b\": 20}" + "id": "call_C03ASSDxIFTrYmzSuTxCrItd", + "input": "{\"a\"" } }, "delta": "" @@ -199,8 +205,8 @@ "options": { "toolCall": { "name": "sumNumbers", - "id": "call_08QNOtWYlDoqPPXHMtbvr7A2", - "input": "{\"a\": 8, \"b\": 20}" + "id": "call_C03ASSDxIFTrYmzSuTxCrItd", + "input": "{\"a\": 8, " } }, "delta": "" @@ -213,8 +219,8 @@ "options": { "toolCall": { "name": "sumNumbers", - "id": "call_08QNOtWYlDoqPPXHMtbvr7A2", - "input": "{\"a\": 8, \"b\": 20}" + "id": "call_C03ASSDxIFTrYmzSuTxCrItd", + "input": "{\"a\": 8, \"b\": 2" } }, "delta": "" @@ -227,7 +233,7 @@ "options": { "toolCall": { "name": "sumNumbers", - "id": "call_08QNOtWYlDoqPPXHMtbvr7A2", + "id": "call_C03ASSDxIFTrYmzSuTxCrItd", "input": "{\"a\": 8, \"b\": 20}" } }, diff --git a/packages/core/e2e/node/snapshot/agent_with_object_function_call.snap b/packages/core/e2e/node/snapshot/agent_with_object_function_call.snap index 1e3f61974e..f5d2b5b2e1 100644 --- a/packages/core/e2e/node/snapshot/agent_with_object_function_call.snap +++ b/packages/core/e2e/node/snapshot/agent_with_object_function_call.snap @@ -21,7 +21,7 @@ "role": "assistant", "options": { "toolCall": { - "id": "call_lR2r0rpfqNX11jukJvEUdByv", + "id": "call_iY0VO4HvXDT2PtR3CvRSY1uK", "name": "get_weather", "input": "{\"location\":\"San Francisco\"}" } @@ -39,7 +39,7 @@ "rain_prediction": 0.89 }, "isError": false, - "id": "call_lR2r0rpfqNX11jukJvEUdByv" + "id": "call_iY0VO4HvXDT2PtR3CvRSY1uK" } } } @@ -56,7 +56,7 @@ "role": "assistant", "options": { "toolCall": { - "id": "call_lR2r0rpfqNX11jukJvEUdByv", + "id": "call_iY0VO4HvXDT2PtR3CvRSY1uK", "name": "get_weather", "input": "{\"location\":\"San Francisco\"}" } diff --git a/packages/core/e2e/node/snapshot/agent_with_object_retriever.snap b/packages/core/e2e/node/snapshot/agent_with_object_retriever.snap index 627dac39da..353cfa0d14 100644 --- a/packages/core/e2e/node/snapshot/agent_with_object_retriever.snap +++ b/packages/core/e2e/node/snapshot/agent_with_object_retriever.snap @@ -38,7 +38,7 @@ "role": "assistant", "options": { "toolCall": { - "id": "call_EVThrsiOylO0p6ZmGdsA31x9", + "id": "call_VfgZS1NPKpbtzqhM3o1Buzx8", "name": "summary_tool", "input": "{\"query\": \"Alex\"}" } @@ -51,7 +51,7 @@ "toolResult": { "result": "Alex is not in Brazil.", "isError": false, - "id": "call_EVThrsiOylO0p6ZmGdsA31x9" + "id": "call_VfgZS1NPKpbtzqhM3o1Buzx8" } } } @@ -68,7 +68,7 @@ "role": "assistant", "options": { "toolCall": { - "id": "call_EVThrsiOylO0p6ZmGdsA31x9", + "id": "call_VfgZS1NPKpbtzqhM3o1Buzx8", "name": "summary_tool", "input": "{\"query\": \"Alex\"}" } diff --git a/packages/core/e2e/node/snapshot/gpt-4-turbo.snap b/packages/core/e2e/node/snapshot/gpt-4-turbo.snap index 2e5658921d..af377c329a 100644 --- a/packages/core/e2e/node/snapshot/gpt-4-turbo.snap +++ b/packages/core/e2e/node/snapshot/gpt-4-turbo.snap @@ -4,8 +4,8 @@ "id": "PRESERVE_0", "messages": [ { - "content": "What is the weather in San Jose?", - "role": "user" + "role": "user", + "content": "What is the weather in San Jose?" } ] }, @@ -13,15 +13,15 @@ "id": "PRESERVE_1", "messages": [ { - "content": "What is the weather in San Jose?", - "role": "user" + "role": "user", + "content": "What is the weather in San Jose?" }, { "content": "", "role": "assistant", "options": { "toolCall": { - "id": "HIDDEN", + "id": "call_TRC5kpzyVaV5n2R91sJsBAF1", "name": "Weather", "input": "{\"location\":\"San Jose\"}" } @@ -32,8 +32,9 @@ "role": "user", "options": { "toolResult": { - "id": "HIDDEN", - "isError": false + "result": "45 degrees and sunny in San Jose", + "isError": false, + "id": "call_TRC5kpzyVaV5n2R91sJsBAF1" } } } @@ -44,45 +45,13 @@ { "id": "PRESERVE_0", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": null, - "tool_calls": [ - { - "id": "HIDDEN", - "type": "function", - "function": { - "name": "Weather", - "arguments": "{\"location\":\"San Jose\"}" - } - } - ] - }, - "logprobs": null, - "finish_reason": "tool_calls" - } - ], - "usage": { - "prompt_tokens": 49, - "completion_tokens": 15, - "total_tokens": 64 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "", "role": "assistant", "options": { "toolCall": { - "id": "HIDDEN", + "id": "call_TRC5kpzyVaV5n2R91sJsBAF1", "name": "Weather", "input": "{\"location\":\"San Jose\"}" } @@ -93,29 +62,7 @@ { "id": "PRESERVE_1", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "The weather in San Jose is currently 45 degrees and sunny." - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 78, - "completion_tokens": 14, - "total_tokens": 92 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "The weather in San Jose is currently 45 degrees and sunny.", "role": "assistant", diff --git a/packages/core/e2e/node/snapshot/llm.snap b/packages/core/e2e/node/snapshot/llm.snap index 0f3854035d..df38af48ac 100644 --- a/packages/core/e2e/node/snapshot/llm.snap +++ b/packages/core/e2e/node/snapshot/llm.snap @@ -23,29 +23,7 @@ { "id": "PRESERVE_0", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "Hello! How can I assist you today?" - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 8, - "completion_tokens": 9, - "total_tokens": 17 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "Hello! How can I assist you today?", "role": "assistant", @@ -56,197 +34,7 @@ { "id": "PRESERVE_1", "response": { - "raw": [ - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": "Hello" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": "Hello" - }, - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": "!" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": "!" - }, - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " How" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": " How" - }, - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " can" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": " can" - }, - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " I" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": " I" - }, - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " assist" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": " assist" - }, - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " you" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": " you" - }, - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " today" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": " today" - }, - { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": "?" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, - "options": {}, - "delta": "?" - } - ], + "raw": null, "message": { "content": "Hello! How can I assist you today?", "role": "assistant", @@ -259,23 +47,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": "Hello" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": "Hello" } @@ -283,23 +55,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": "!" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": "!" } @@ -307,23 +63,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " How" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": " How" } @@ -331,23 +71,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " can" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": " can" } @@ -355,23 +79,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " I" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": " I" } @@ -379,23 +87,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " assist" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": " assist" } @@ -403,23 +95,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " you" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": " you" } @@ -427,23 +103,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": " today" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": " today" } @@ -451,23 +111,7 @@ { "id": "PRESERVE_1", "chunk": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion.chunk", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "system_fingerprint": "HIDDEN", - "choices": [ - { - "index": 0, - "delta": { - "content": "?" - }, - "logprobs": null, - "finish_reason": null - } - ] - }, + "raw": null, "options": {}, "delta": "?" } diff --git a/packages/core/e2e/node/snapshot/openai_agent_system_prompt.snap b/packages/core/e2e/node/snapshot/openai_agent_system_prompt.snap index eaa9dbecc1..751ba04c9e 100644 --- a/packages/core/e2e/node/snapshot/openai_agent_system_prompt.snap +++ b/packages/core/e2e/node/snapshot/openai_agent_system_prompt.snap @@ -29,7 +29,7 @@ "role": "assistant", "options": { "toolCall": { - "id": "call_h4gSNrz7MhhkOod7W4WKZ1iZ", + "id": "call_loaXnCH3WRnbnROZzNbrRkHS", "name": "getWeather", "input": "{\"city\":\"San Francisco\"}" } @@ -42,7 +42,7 @@ "toolResult": { "result": "The weather in San Francisco is 72 degrees", "isError": false, - "id": "call_h4gSNrz7MhhkOod7W4WKZ1iZ" + "id": "call_loaXnCH3WRnbnROZzNbrRkHS" } } } @@ -59,7 +59,7 @@ "role": "assistant", "options": { "toolCall": { - "id": "call_h4gSNrz7MhhkOod7W4WKZ1iZ", + "id": "call_loaXnCH3WRnbnROZzNbrRkHS", "name": "getWeather", "input": "{\"city\":\"San Francisco\"}" } @@ -72,7 +72,7 @@ "response": { "raw": null, "message": { - "content": "Arhgs the weather in San Francisco be 72 degrees.", + "content": "Arhgs! The weather in San Francisco is 72 degrees.", "role": "assistant", "options": {} } diff --git a/packages/core/e2e/node/snapshot/queryEngine_subquestion.snap b/packages/core/e2e/node/snapshot/queryEngine_subquestion.snap index b63a4d2e84..bcadd820dd 100644 --- a/packages/core/e2e/node/snapshot/queryEngine_subquestion.snap +++ b/packages/core/e2e/node/snapshot/queryEngine_subquestion.snap @@ -32,29 +32,7 @@ { "id": "PRESERVE_0", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "```json\n[\n {\n \"subQuestion\": \"What is Bill Gates' idea\",\n \"toolName\": \"bill_gates_idea\"\n }\n]\n```" - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 290, - "completion_tokens": 35, - "total_tokens": 325 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "```json\n[\n {\n \"subQuestion\": \"What is Bill Gates' idea\",\n \"toolName\": \"bill_gates_idea\"\n }\n]\n```", "role": "assistant", @@ -65,29 +43,7 @@ { "id": "PRESERVE_1", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "Bill Gates' idea was to steal from Apple." - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 53, - "completion_tokens": 10, - "total_tokens": 63 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "Bill Gates' idea was to steal from Apple.", "role": "assistant", @@ -98,29 +54,7 @@ { "id": "PRESERVE_2", "response": { - "raw": { - "id": "HIDDEN", - "object": "chat.completion", - "created": 114514, - "model": "gpt-3.5-turbo-0125", - "choices": [ - { - "index": 0, - "message": { - "role": "assistant", - "content": "Bill Gates stole from Apple." - }, - "logprobs": null, - "finish_reason": "stop" - } - ], - "usage": { - "prompt_tokens": 62, - "completion_tokens": 6, - "total_tokens": 68 - }, - "system_fingerprint": "HIDDEN" - }, + "raw": null, "message": { "content": "Bill Gates stole from Apple.", "role": "assistant", diff --git a/packages/core/e2e/package.json b/packages/core/e2e/package.json index aeb858f525..afd638e606 100644 --- a/packages/core/e2e/package.json +++ b/packages/core/e2e/package.json @@ -10,6 +10,7 @@ }, "devDependencies": { "@faker-js/faker": "^8.4.1", + "@types/node": "^20.12.7", "consola": "^3.2.3", "llamaindex": "workspace:*", "tsx": "^4.7.2" diff --git a/packages/core/package.json b/packages/core/package.json index 0417d3a8d3..23d6b6b75e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -16,7 +16,6 @@ "@pinecone-database/pinecone": "^2.2.0", "@qdrant/js-client-rest": "^1.8.2", "@types/lodash": "^4.17.0", - "@types/node": "^20.12.7", "@types/papaparse": "^5.3.14", "@types/pg": "^8.11.5", "@xenova/transformers": "^2.17.1", diff --git a/packages/core/src/agent/base.ts b/packages/core/src/agent/base.ts index 019518a951..57d6d9e421 100644 --- a/packages/core/src/agent/base.ts +++ b/packages/core/src/agent/base.ts @@ -1,4 +1,9 @@ -import { pipeline, randomUUID } from "@llamaindex/env"; +import { + ReadableStream, + TransformStream, + pipeline, + randomUUID, +} from "@llamaindex/env"; import { type ChatEngine, type ChatEngineParamsNonStreaming, @@ -104,8 +109,7 @@ export async function* createTaskImpl< export type AgentStreamChatResponse = { response: ChatResponseChunk; - // sources of the response, will emit when new tool outputs are available - sources?: ToolOutput[]; + sources: ToolOutput[]; }; export type AgentChatResponse = { diff --git a/packages/core/src/agent/openai.ts b/packages/core/src/agent/openai.ts index bf753ad8a2..6e569c9a7c 100644 --- a/packages/core/src/agent/openai.ts +++ b/packages/core/src/agent/openai.ts @@ -1,13 +1,14 @@ -import { pipeline } from "@llamaindex/env"; -import { Settings } from "../Settings.js"; +import { pipeline, ReadableStream } from "@llamaindex/env"; import { stringifyJSONToMessageContent } from "../internal/utils.js"; import type { ChatResponseChunk, + PartialToolCall, ToolCall, ToolCallLLMMessageOptions, } from "../llm/index.js"; import { OpenAI } from "../llm/openai.js"; import { ObjectRetriever } from "../objects/index.js"; +import { Settings } from "../Settings.js"; import type { BaseToolWithCall } from "../types.js"; import { AgentRunner, AgentWorker, type AgentParamsBase } from "./base.js"; import type { TaskHandler } from "./types.js"; @@ -133,7 +134,7 @@ export class OpenAIAgent extends AgentRunner { async ( iter: AsyncIterable>, ) => { - const toolCalls = new Map(); + const toolCalls = new Map(); for await (const chunk of iter) { if (chunk.options && "toolCall" in chunk.options) { const toolCall = chunk.options.toolCall; diff --git a/packages/core/src/agent/types.ts b/packages/core/src/agent/types.ts index c49dac0c35..f523a047dd 100644 --- a/packages/core/src/agent/types.ts +++ b/packages/core/src/agent/types.ts @@ -1,3 +1,4 @@ +import { ReadableStream } from "@llamaindex/env"; import type { BaseEvent } from "../internal/type.js"; import type { ChatMessage, diff --git a/packages/core/src/agent/utils.ts b/packages/core/src/agent/utils.ts index 2cb6117ecd..7688408c8e 100644 --- a/packages/core/src/agent/utils.ts +++ b/packages/core/src/agent/utils.ts @@ -1,22 +1,28 @@ +import { ReadableStream } from "@llamaindex/env"; import { getCallbackManager } from "../internal/settings/CallbackManager.js"; import { isAsyncIterable, prettifyError } from "../internal/utils.js"; import type { ChatMessage, ChatResponseChunk, + PartialToolCall, TextChatMessage, ToolCall, } from "../llm/index.js"; -import type { BaseTool, JSONValue, ToolOutput } from "../types.js"; +import type { BaseTool, JSONObject, JSONValue, ToolOutput } from "../types.js"; export async function callTool( tool: BaseTool | undefined, - toolCall: ToolCall, + toolCall: ToolCall | PartialToolCall, ): Promise { + const input: JSONObject = + typeof toolCall.input === "string" + ? JSON.parse(toolCall.input) + : toolCall.input; if (!tool) { const output = `Tool ${toolCall.name} does not exist.`; return { tool, - input: toolCall.input, + input, output, isError: true, }; @@ -27,31 +33,27 @@ export async function callTool( output = `Tool ${tool.metadata.name} (remote:${toolCall.name}) does not have a implementation.`; return { tool, - input: toolCall.input, + input, output, isError: true, }; } try { - let input = toolCall.input; - if (typeof input === "string") { - input = JSON.parse(input); - } getCallbackManager().dispatchEvent("llm-tool-call", { payload: { - toolCall: { ...toolCall }, + toolCall: { ...toolCall, input }, }, }); output = await call.call(tool, input); const toolOutput: ToolOutput = { tool, - input: toolCall.input, + input, output, isError: false, }; getCallbackManager().dispatchEvent("llm-tool-result", { payload: { - toolCall: { ...toolCall }, + toolCall: { ...toolCall, input }, toolResult: { ...toolOutput }, }, }); @@ -61,7 +63,7 @@ export async function callTool( } return { tool, - input: toolCall.input, + input, output, isError: true, }; diff --git a/packages/core/src/llm/openai.ts b/packages/core/src/llm/openai.ts index 5941f522b1..22d486587b 100644 --- a/packages/core/src/llm/openai.ts +++ b/packages/core/src/llm/openai.ts @@ -38,7 +38,7 @@ import type { LLMChatParamsStreaming, LLMMetadata, MessageType, - ToolCall, + PartialToolCall, ToolCallLLMMessageOptions, } from "./types.js"; import { extractText, wrapLLMEvent } from "./utils.js"; @@ -389,6 +389,7 @@ export class OpenAI extends ToolCallLLM { }; } + // todo: this wrapper is ugly, refactor it @wrapEventCaller protected async *streamChat( baseRequestParams: OpenAILLM.Chat.ChatCompletionCreateParams, @@ -403,24 +404,15 @@ export class OpenAI extends ToolCallLLM { //Indices let idxCounter: number = 0; // this will be used to keep track of the current tool call, make sure input are valid json object. - let currentToolCall: - | (Omit & { - input: string; - }) - | null = null; - const toolCallMap = new Map< - string, - Omit & { - input: string; - } - >(); + let currentToolCall: PartialToolCall | null = null; + const toolCallMap = new Map(); for await (const part of stream) { if (part.choices.length === 0) continue; const choice = part.choices[0]; // skip parts that don't have any content if (!(choice.delta.content || choice.delta.tool_calls)) continue; - let shouldEmitToolCall: ToolCall | null = null; + let shouldEmitToolCall: PartialToolCall | null = null; if ( choice.delta.tool_calls?.[0].id && currentToolCall && @@ -463,7 +455,13 @@ export class OpenAI extends ToolCallLLM { yield { raw: part, - options: shouldEmitToolCall ? shouldEmitToolCall : {}, + options: shouldEmitToolCall + ? { toolCall: shouldEmitToolCall } + : currentToolCall + ? { + toolCall: currentToolCall, + } + : {}, delta: choice.delta.content ?? "", }; } diff --git a/packages/core/src/llm/types.ts b/packages/core/src/llm/types.ts index 204be288f5..c33291b82b 100644 --- a/packages/core/src/llm/types.ts +++ b/packages/core/src/llm/types.ts @@ -189,6 +189,14 @@ export type ToolCall = { id: string; }; +// happened in streaming response, the tool call is not ready yet +export type PartialToolCall = { + name: string; + id: string; + // input is not ready yet, JSON.parse(input) will throw an error + input: string; +}; + export type ToolResult = { id: string; result: string; @@ -196,7 +204,7 @@ export type ToolResult = { }; export type ToolCallOptions = { - toolCall: ToolCall; + toolCall: ToolCall | PartialToolCall; }; export type ToolResultOptions = { diff --git a/packages/env/src/index.polyfill.ts b/packages/env/src/index.polyfill.ts index f911741c92..2b127ee10e 100644 --- a/packages/env/src/index.polyfill.ts +++ b/packages/env/src/index.polyfill.ts @@ -2,7 +2,9 @@ import { Sha256 } from "@aws-crypto/sha256-js"; import pathe from "pathe"; import { InMemoryFileSystem, type CompleteFileSystem } from "./type.js"; // @ts-expect-error -import { pipeline } from "readable-stream"; +import { promises } from "readable-stream"; + +const { pipeline } = promises; export { pathe as path, pipeline }; @@ -41,4 +43,13 @@ export function randomUUID(): string { return crypto.randomUUID(); } export * from "./type.js"; + +// @ts-expect-error +const ReadableStream = globalThis.ReadableStream; +// @ts-expect-error +const TransformStream = globalThis.TransformStream; +// @ts-expect-error +const WritableStream = globalThis.WritableStream; + export { AsyncLocalStorage, CustomEvent, getEnv } from "./utils.js"; +export { ReadableStream, TransformStream, WritableStream }; diff --git a/packages/env/src/index.ts b/packages/env/src/index.ts index 72333d0955..e0df9744c5 100644 --- a/packages/env/src/index.ts +++ b/packages/env/src/index.ts @@ -4,6 +4,11 @@ import fs from "node:fs/promises"; import { EOL } from "node:os"; import path from "node:path"; import { pipeline } from "node:stream/promises"; +import { + ReadableStream, + TransformStream, + WritableStream, +} from "node:stream/web"; import type { SHA256 } from "./index.polyfill.js"; import type { CompleteFileSystem } from "./type.js"; @@ -37,4 +42,13 @@ export const defaultFS: CompleteFileSystem = { export type * from "./type.js"; export { AsyncLocalStorage, CustomEvent, getEnv } from "./utils.js"; -export { EOL, ok, path, pipeline, randomUUID }; +export { + EOL, + ReadableStream, + TransformStream, + WritableStream, + ok, + path, + pipeline, + randomUUID, +}; diff --git a/packages/env/src/type.ts b/packages/env/src/type.ts index 303676dada..c8e80295b0 100644 --- a/packages/env/src/type.ts +++ b/packages/env/src/type.ts @@ -3,8 +3,7 @@ import _ from "lodash"; /** * A filesystem interface that is meant to be compatible with * the 'fs' module from Node.js. - * Allows for the use of similar inteface implementation on - * browsers. + * Allows for the use of similar interface implementation on different JS runtimes. */ export type GenericFileSystem = { writeFile(path: string, content: string): Promise; diff --git a/packages/env/src/utils.ts b/packages/env/src/utils.ts index fd5e70a0ff..1051ac054d 100644 --- a/packages/env/src/utils.ts +++ b/packages/env/src/utils.ts @@ -11,9 +11,21 @@ export function getEnv(name: string): string | undefined { return process.env[name]; } -// Browser doesn't support AsyncLocalStorage +interface EventInit { + bubbles?: boolean; + cancelable?: boolean; + composed?: boolean; +} + +interface CustomEventInit extends EventInit { + detail?: T; +} + +// Async Local Storage is available cross different JS runtimes export { AsyncLocalStorage } from "node:async_hooks"; +// Node.js 18 doesn't have CustomEvent by default +// Refs: https://github.com/nodejs/node/issues/40678 class CustomEvent extends Event { readonly #detail: T; get detail(): T { @@ -23,10 +35,16 @@ class CustomEvent extends Event { super(event, options); this.#detail = options?.detail; } + + /** + * @deprecated This method is not supported + */ + initCustomEvent() { + throw new Error("initCustomEvent is not supported"); + } } -// Node.js doesn't have CustomEvent by default -// Refs: https://github.com/nodejs/node/issues/40678 -const defaultCustomEvent = globalThis.CustomEvent || CustomEvent; +const defaultCustomEvent: typeof CustomEvent = + (globalThis as any).CustomEvent || CustomEvent; export { defaultCustomEvent as CustomEvent }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e1197727c4..fa548316e1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ importers: version: 2.27.1 '@typescript-eslint/eslint-plugin': specifier: ^7.7.0 - version: 7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5) + version: 7.7.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -57,7 +57,7 @@ importers: dependencies: '@docusaurus/core': specifier: ^3.2.1 - version: 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + version: 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) '@docusaurus/remark-plugin-npm2yarn': specifier: ^3.2.1 version: 3.2.1 @@ -91,16 +91,16 @@ importers: devDependencies: '@docusaurus/module-type-aliases': specifier: 3.2.0 - version: 3.2.0(react-dom@18.2.0)(react@18.2.0) + version: 3.2.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@docusaurus/preset-classic': specifier: ^3.2.1 - version: 3.2.1(@algolia/client-search@4.23.3)(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.5) + version: 3.2.1(@algolia/client-search@4.23.3)(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.5) '@docusaurus/theme-classic': specifier: ^3.2.1 - version: 3.2.1(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + version: 3.2.1(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) '@docusaurus/types': specifier: ^3.2.1 - version: 3.2.1(react-dom@18.2.0)(react@18.2.0) + version: 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@tsconfig/docusaurus': specifier: ^2.0.3 version: 2.0.3 @@ -109,13 +109,13 @@ importers: version: 20.12.7 docusaurus-plugin-typedoc: specifier: ^0.22.0 - version: 0.22.0(typedoc-plugin-markdown@3.17.1)(typedoc@0.25.13) + version: 0.22.0(typedoc-plugin-markdown@3.17.1(typedoc@0.25.13(typescript@5.4.5)))(typedoc@0.25.13(typescript@5.4.5)) typedoc: specifier: ^0.25.13 version: 0.25.13(typescript@5.4.5) typedoc-plugin-markdown: specifier: ^3.17.1 - version: 3.17.1(typedoc@0.25.13) + version: 3.17.1(typedoc@0.25.13(typescript@5.4.5)) typescript: specifier: ^5.4.4 version: 5.4.5 @@ -130,7 +130,7 @@ importers: version: 1.1.0 '@notionhq/client': specifier: ^2.2.15 - version: 2.2.15 + version: 2.2.15(encoding@0.1.13) '@pinecone-database/pinecone': specifier: ^1.1.3 version: 1.1.3 @@ -139,7 +139,7 @@ importers: version: 2.4.1 chromadb: specifier: ^1.8.1 - version: 1.8.1 + version: 1.8.1(@google/generative-ai@0.8.0)(cohere-ai@7.9.5(encoding@0.1.13))(encoding@0.1.13)(openai@4.38.5(encoding@0.1.13)) commander: specifier: ^11.1.0 version: 11.1.0 @@ -164,7 +164,7 @@ importers: version: 20.12.7 ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.12.7)(typescript@5.4.5) + version: 10.9.2(@swc/core@1.5.0(@swc/helpers@0.5.2))(@types/node@20.12.7)(typescript@5.4.5) tsx: specifier: ^4.7.2 version: 4.7.3 @@ -192,7 +192,7 @@ importers: dependencies: '@anthropic-ai/sdk': specifier: ^0.20.6 - version: 0.20.7 + version: 0.20.7(encoding@0.1.13) '@aws-crypto/sha256-js': specifier: ^5.2.0 version: 5.2.0 @@ -207,13 +207,13 @@ importers: version: 1.10.6 '@llamaindex/cloud': specifier: 0.0.5 - version: 0.0.5 + version: 0.0.5(node-fetch@2.7.0(encoding@0.1.13)) '@llamaindex/env': specifier: workspace:* version: link:../env '@mistralai/mistralai': specifier: ^0.1.3 - version: 0.1.3 + version: 0.1.3(encoding@0.1.13) '@pinecone-database/pinecone': specifier: ^2.2.0 version: 2.2.0 @@ -223,9 +223,6 @@ importers: '@types/lodash': specifier: ^4.17.0 version: 4.17.0 - '@types/node': - specifier: ^20.12.7 - version: 20.12.7 '@types/papaparse': specifier: ^5.3.14 version: 5.3.14 @@ -246,10 +243,10 @@ importers: version: 4.4.1 chromadb: specifier: ~1.7.3 - version: 1.7.3(@google/generative-ai@0.8.0)(cohere-ai@7.9.5)(openai@4.38.5) + version: 1.7.3(@google/generative-ai@0.8.0)(cohere-ai@7.9.5(encoding@0.1.13))(encoding@0.1.13)(openai@4.38.5(encoding@0.1.13)) cohere-ai: specifier: ^7.9.5 - version: 7.9.5 + version: 7.9.5(encoding@0.1.13) js-tiktoken: specifier: ^1.0.11 version: 1.0.11 @@ -270,13 +267,13 @@ importers: version: 6.5.0 notion-md-crawler: specifier: ^1.0.0 - version: 1.0.0 + version: 1.0.0(encoding@0.1.13) ollama: specifier: ^0.5.0 version: 0.5.0 openai: specifier: ^4.38.0 - version: 4.38.5 + version: 4.38.5(encoding@0.1.13) papaparse: specifier: ^5.4.1 version: 5.4.1 @@ -310,13 +307,13 @@ importers: devDependencies: '@notionhq/client': specifier: ^2.2.15 - version: 2.2.15 + version: 2.2.15(encoding@0.1.13) '@swc/cli': specifier: ^0.3.12 - version: 0.3.12(@swc/core@1.5.0) + version: 0.3.12(@swc/core@1.5.0(@swc/helpers@0.5.2))(chokidar@3.6.0) '@swc/core': specifier: ^1.4.16 - version: 1.5.0 + version: 1.5.0(@swc/helpers@0.5.2) concurrently: specifier: ^8.2.2 version: 8.2.2 @@ -335,6 +332,9 @@ importers: '@faker-js/faker': specifier: ^8.4.1 version: 8.4.1 + '@types/node': + specifier: ^20.12.7 + version: 20.12.7 consola: specifier: ^3.2.3 version: 3.2.3 @@ -352,13 +352,13 @@ importers: version: link:.. vitest: specifier: ^1.3.1 - version: 1.5.2 + version: 1.5.2(@types/node@20.12.7)(terser@5.30.4) packages/edge: dependencies: '@anthropic-ai/sdk': specifier: ^0.20.6 - version: 0.20.7 + version: 0.20.7(encoding@0.1.13) '@aws-crypto/sha256-js': specifier: ^5.2.0 version: 5.2.0 @@ -373,13 +373,13 @@ importers: version: 1.10.6 '@llamaindex/cloud': specifier: 0.0.5 - version: 0.0.5 + version: 0.0.5(node-fetch@2.7.0(encoding@0.1.13)) '@llamaindex/env': specifier: workspace:* version: link:../env '@mistralai/mistralai': specifier: ^0.1.3 - version: 0.1.3 + version: 0.1.3(encoding@0.1.13) '@pinecone-database/pinecone': specifier: ^2.2.0 version: 2.2.0 @@ -412,10 +412,10 @@ importers: version: 4.4.1 chromadb: specifier: ~1.7.3 - version: 1.7.3(@google/generative-ai@0.8.0)(cohere-ai@7.9.5)(openai@4.38.5) + version: 1.7.3(@google/generative-ai@0.8.0)(cohere-ai@7.9.5(encoding@0.1.13))(encoding@0.1.13)(openai@4.38.5(encoding@0.1.13)) cohere-ai: specifier: ^7.9.5 - version: 7.9.5 + version: 7.9.5(encoding@0.1.13) js-tiktoken: specifier: ^1.0.11 version: 1.0.11 @@ -436,13 +436,13 @@ importers: version: 6.5.0 notion-md-crawler: specifier: ^1.0.0 - version: 1.0.0 + version: 1.0.0(encoding@0.1.13) ollama: specifier: ^0.5.0 version: 0.5.0 openai: specifier: ^4.38.0 - version: 4.38.5 + version: 4.38.5(encoding@0.1.13) papaparse: specifier: ^5.4.1 version: 5.4.1 @@ -476,13 +476,13 @@ importers: devDependencies: '@notionhq/client': specifier: ^2.2.15 - version: 2.2.15 + version: 2.2.15(encoding@0.1.13) '@swc/cli': specifier: ^0.3.12 - version: 0.3.12(@swc/core@1.5.0) + version: 0.3.12(@swc/core@1.5.0(@swc/helpers@0.5.2))(chokidar@3.6.0) '@swc/core': specifier: ^1.4.16 - version: 1.5.0 + version: 1.5.0(@swc/helpers@0.5.2) concurrently: specifier: ^8.2.2 version: 8.2.2 @@ -503,7 +503,7 @@ importers: version: link:../.. next: specifier: 14.1.3 - version: 14.1.3(react-dom@18.2.0)(react@18.2.0) + version: 14.1.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: specifier: ^18 version: 18.2.0 @@ -541,10 +541,10 @@ importers: version: 5.2.0 '@swc/cli': specifier: ^0.3.9 - version: 0.3.12(@swc/core@1.5.0) + version: 0.3.12(@swc/core@1.5.0(@swc/helpers@0.5.2))(chokidar@3.6.0) '@swc/core': specifier: ^1.4.2 - version: 1.5.0 + version: 1.5.0(@swc/helpers@0.5.2) concurrently: specifier: ^8.2.2 version: 8.2.2 @@ -578,10 +578,10 @@ importers: version: 5.2.0 '@swc/cli': specifier: ^0.3.9 - version: 0.3.12(@swc/core@1.5.0) + version: 0.3.12(@swc/core@1.5.0(@swc/helpers@0.5.2))(chokidar@3.6.0) '@swc/core': specifier: ^1.4.2 - version: 1.5.0 + version: 1.5.0(@swc/helpers@0.5.2) '@types/jsonpath': specifier: ^0.2.4 version: 0.2.4 @@ -603,10 +603,10 @@ importers: devDependencies: '@swc/cli': specifier: ^0.3.9 - version: 0.3.12(@swc/core@1.5.0) + version: 0.3.12(@swc/core@1.5.0(@swc/helpers@0.5.2))(chokidar@3.6.0) '@swc/core': specifier: ^1.4.2 - version: 1.5.0 + version: 1.5.0(@swc/helpers@0.5.2) assemblyscript: specifier: ^0.19.9 version: 0.19.23 @@ -8783,7 +8783,7 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@anthropic-ai/sdk@0.20.7': + '@anthropic-ai/sdk@0.20.7(encoding@0.1.13)': dependencies: '@types/node': 18.19.31 '@types/node-fetch': 2.6.11 @@ -9788,20 +9788,21 @@ snapshots: '@docsearch/css@3.6.0': {} - '@docsearch/react@3.6.0(@algolia/client-search@4.23.3)(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)': + '@docsearch/react@3.6.0(@algolia/client-search@4.23.3)(@types/react@18.2.79)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(search-insights@2.13.0)': dependencies: '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.23.3)(algoliasearch@4.23.3)(search-insights@2.13.0) '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.23.3)(algoliasearch@4.23.3) '@docsearch/css': 3.6.0 - '@types/react': 18.2.79 algoliasearch: 4.23.3 + optionalDependencies: + '@types/react': 18.2.79 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) search-insights: 2.13.0 transitivePeerDependencies: - '@algolia/client-search' - '@docusaurus/core@3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/core@3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: '@babel/core': 7.24.4 '@babel/generator': 7.24.4 @@ -9815,11 +9816,11 @@ snapshots: '@babel/traverse': 7.23.2 '@docusaurus/cssnano-preset': 3.2.1 '@docusaurus/logger': 3.2.1 - '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1)(react-dom@18.2.0)(react@18.2.0) + '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@docusaurus/react-loadable': 5.5.2(react@18.2.0) - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) '@svgr/webpack': 6.5.1 autoprefixer: 10.4.19(postcss@8.4.38) babel-loader: 9.1.3(@babel/core@7.24.4)(webpack@5.91.0) @@ -9856,11 +9857,11 @@ snapshots: react: 18.2.0 react-dev-utils: 12.0.1(eslint@8.57.0)(typescript@5.4.5)(webpack@5.91.0) react-dom: 18.2.0(react@18.2.0) - react-helmet-async: 1.3.0(react-dom@18.2.0)(react@18.2.0) + react-helmet-async: 1.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react-loadable: '@docusaurus/react-loadable@5.5.2(react@18.2.0)' - react-loadable-ssr-addon-v5-slorber: 1.0.1(@docusaurus/react-loadable@5.5.2)(webpack@5.91.0) + react-loadable-ssr-addon-v5-slorber: 1.0.1(@docusaurus/react-loadable@5.5.2(react@18.2.0))(webpack@5.91.0) react-router: 5.3.4(react@18.2.0) - react-router-config: 5.1.1(react-router@5.3.4)(react@18.2.0) + react-router-config: 5.1.1(react-router@5.3.4(react@18.2.0))(react@18.2.0) react-router-dom: 5.3.4(react@18.2.0) rtl-detect: 1.1.2 semver: 7.6.0 @@ -9869,7 +9870,7 @@ snapshots: terser-webpack-plugin: 5.3.10(webpack@5.91.0) tslib: 2.6.2 update-notifier: 6.0.2 - url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.91.0) + url-loader: 4.1.1(file-loader@6.2.0(webpack@5.91.0))(webpack@5.91.0) webpack: 5.91.0 webpack-bundle-analyzer: 4.10.2 webpack-dev-server: 4.15.2(webpack@5.91.0) @@ -9906,11 +9907,11 @@ snapshots: chalk: 4.1.2 tslib: 2.6.2 - '@docusaurus/mdx-loader@3.2.1(@docusaurus/types@3.2.1)(react-dom@18.2.0)(react@18.2.0)': + '@docusaurus/mdx-loader@3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@docusaurus/logger': 3.2.1 - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) '@mdx-js/mdx': 3.0.1 '@slorber/remark-comment': 1.0.0 escape-html: 1.0.3 @@ -9931,7 +9932,7 @@ snapshots: tslib: 2.6.2 unified: 11.0.4 unist-util-visit: 5.0.0 - url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.91.0) + url-loader: 4.1.1(file-loader@6.2.0(webpack@5.91.0))(webpack@5.91.0) vfile: 6.0.1 webpack: 5.91.0 transitivePeerDependencies: @@ -9942,17 +9943,17 @@ snapshots: - uglify-js - webpack-cli - '@docusaurus/module-type-aliases@3.2.0(react-dom@18.2.0)(react@18.2.0)': + '@docusaurus/module-type-aliases@3.2.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@docusaurus/react-loadable': 5.5.2(react@18.2.0) - '@docusaurus/types': 3.2.0(react-dom@18.2.0)(react@18.2.0) + '@docusaurus/types': 3.2.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@types/history': 4.7.11 '@types/react': 18.2.79 '@types/react-router-config': 5.0.11 '@types/react-router-dom': 5.3.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-helmet-async: 2.0.4(react-dom@18.2.0)(react@18.2.0) + react-helmet-async: 2.0.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react-loadable: '@docusaurus/react-loadable@5.5.2(react@18.2.0)' transitivePeerDependencies: - '@swc/core' @@ -9961,17 +9962,17 @@ snapshots: - uglify-js - webpack-cli - '@docusaurus/module-type-aliases@3.2.1(react-dom@18.2.0)(react@18.2.0)': + '@docusaurus/module-type-aliases@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@docusaurus/react-loadable': 5.5.2(react@18.2.0) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@types/history': 4.7.11 '@types/react': 18.2.79 '@types/react-router-config': 5.0.11 '@types/react-router-dom': 5.3.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-helmet-async: 2.0.4(react-dom@18.2.0)(react@18.2.0) + react-helmet-async: 2.0.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react-loadable: '@docusaurus/react-loadable@5.5.2(react@18.2.0)' transitivePeerDependencies: - '@swc/core' @@ -9980,15 +9981,15 @@ snapshots: - uglify-js - webpack-cli - '@docusaurus/plugin-content-blog@3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/plugin-content-blog@3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) '@docusaurus/logger': 3.2.1 - '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1)(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) cheerio: 1.0.0-rc.12 feed: 4.2.2 fs-extra: 11.2.0 @@ -10019,16 +10020,16 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/plugin-content-docs@3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/plugin-content-docs@3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) '@docusaurus/logger': 3.2.1 - '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1)(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/module-type-aliases': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/module-type-aliases': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) '@types/react-router-config': 5.0.11 combine-promises: 1.2.0 fs-extra: 11.2.0 @@ -10057,13 +10058,13 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/plugin-content-pages@3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/plugin-content-pages@3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1)(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) fs-extra: 11.2.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -10087,11 +10088,11 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/plugin-debug@3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/plugin-debug@3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) fs-extra: 11.2.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -10115,11 +10116,11 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/plugin-google-analytics@3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/plugin-google-analytics@3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) tslib: 2.6.2 @@ -10141,11 +10142,11 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/plugin-google-gtag@3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/plugin-google-gtag@3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) '@types/gtag.js': 0.0.12 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -10168,11 +10169,11 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/plugin-google-tag-manager@3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/plugin-google-tag-manager@3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) tslib: 2.6.2 @@ -10194,14 +10195,14 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/plugin-sitemap@3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/plugin-sitemap@3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) '@docusaurus/logger': 3.2.1 - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) fs-extra: 11.2.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -10225,21 +10226,21 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/preset-classic@3.2.1(@algolia/client-search@4.23.3)(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.5)': - dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-content-blog': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-content-docs': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-content-pages': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-debug': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-google-analytics': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-google-gtag': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-google-tag-manager': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-sitemap': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/theme-classic': 3.2.1(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/theme-common': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/theme-search-algolia': 3.2.1(@algolia/client-search@4.23.3)(@docusaurus/types@3.2.1)(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.5) - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) + '@docusaurus/preset-classic@3.2.1(@algolia/client-search@4.23.3)(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.5)': + dependencies: + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-content-blog': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-content-docs': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-content-pages': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-debug': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-google-analytics': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-google-gtag': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-google-tag-manager': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-sitemap': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/theme-classic': 3.2.1(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/theme-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/theme-search-algolia': 3.2.1(@algolia/client-search@4.23.3)(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.5) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) transitivePeerDependencies: @@ -10279,20 +10280,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@docusaurus/theme-classic@3.2.1(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/theme-classic@3.2.1(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1)(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/module-type-aliases': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/plugin-content-blog': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-content-docs': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-content-pages': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/theme-common': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/module-type-aliases': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/plugin-content-blog': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-content-docs': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-content-pages': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/theme-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) '@docusaurus/theme-translations': 3.2.1 - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) '@mdx-js/react': 3.0.1(@types/react@18.2.79)(react@18.2.0) clsx: 2.1.1 copy-text-to-clipboard: 3.2.0 @@ -10327,15 +10328,15 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/theme-common@3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)': + '@docusaurus/theme-common@3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5)': dependencies: - '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1)(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/module-type-aliases': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/plugin-content-blog': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-content-docs': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/plugin-content-pages': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/mdx-loader': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/module-type-aliases': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@docusaurus/plugin-content-blog': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-content-docs': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-content-pages': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) '@types/history': 4.7.11 '@types/react': 18.2.79 '@types/react-router-config': 5.0.11 @@ -10365,16 +10366,16 @@ snapshots: - vue-template-compiler - webpack-cli - '@docusaurus/theme-search-algolia@3.2.1(@algolia/client-search@4.23.3)(@docusaurus/types@3.2.1)(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.5)': + '@docusaurus/theme-search-algolia@3.2.1(@algolia/client-search@4.23.3)(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.79)(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.5)': dependencies: - '@docsearch/react': 3.6.0(@algolia/client-search@4.23.3)(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0) - '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@docsearch/react': 3.6.0(@algolia/client-search@4.23.3)(@types/react@18.2.79)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(search-insights@2.13.0) + '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) '@docusaurus/logger': 3.2.1 - '@docusaurus/plugin-content-docs': 3.2.1(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) - '@docusaurus/theme-common': 3.2.1(@docusaurus/types@3.2.1)(eslint@8.57.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@docusaurus/plugin-content-docs': 3.2.1(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) + '@docusaurus/theme-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(eslint@8.57.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.4.5) '@docusaurus/theme-translations': 3.2.1 - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-validation': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) algoliasearch: 4.23.3 algoliasearch-helper: 3.18.0(algoliasearch@4.23.3) clsx: 2.1.1 @@ -10412,7 +10413,7 @@ snapshots: fs-extra: 11.2.0 tslib: 2.6.2 - '@docusaurus/types@3.2.0(react-dom@18.2.0)(react@18.2.0)': + '@docusaurus/types@3.2.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@mdx-js/mdx': 3.0.1 '@types/history': 4.7.11 @@ -10421,7 +10422,7 @@ snapshots: joi: 17.13.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-helmet-async: 1.3.0(react-dom@18.2.0)(react@18.2.0) + react-helmet-async: 1.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) utility-types: 3.11.0 webpack: 5.91.0 webpack-merge: 5.10.0 @@ -10432,7 +10433,7 @@ snapshots: - uglify-js - webpack-cli - '@docusaurus/types@3.2.1(react-dom@18.2.0)(react@18.2.0)': + '@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@mdx-js/mdx': 3.0.1 '@types/history': 4.7.11 @@ -10441,7 +10442,7 @@ snapshots: joi: 17.13.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-helmet-async: 1.3.0(react-dom@18.2.0)(react@18.2.0) + react-helmet-async: 1.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) utility-types: 3.11.0 webpack: 5.91.0 webpack-merge: 5.10.0 @@ -10452,16 +10453,17 @@ snapshots: - uglify-js - webpack-cli - '@docusaurus/utils-common@3.2.1(@docusaurus/types@3.2.1)': + '@docusaurus/utils-common@3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))': dependencies: - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) tslib: 2.6.2 + optionalDependencies: + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@docusaurus/utils-validation@3.2.1(@docusaurus/types@3.2.1)': + '@docusaurus/utils-validation@3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))': dependencies: '@docusaurus/logger': 3.2.1 - '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1) - '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/utils': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) joi: 17.13.0 js-yaml: 4.1.0 tslib: 2.6.2 @@ -10473,11 +10475,10 @@ snapshots: - uglify-js - webpack-cli - '@docusaurus/utils@3.2.1(@docusaurus/types@3.2.1)': + '@docusaurus/utils@3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0))': dependencies: '@docusaurus/logger': 3.2.1 - '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) - '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1) + '@docusaurus/utils-common': 3.2.1(@docusaurus/types@3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) '@svgr/webpack': 6.5.1 escape-string-regexp: 4.0.0 file-loader: 6.2.0(webpack@5.91.0) @@ -10493,8 +10494,10 @@ snapshots: resolve-pathname: 3.0.0 shelljs: 0.8.5 tslib: 2.6.2 - url-loader: 4.1.1(file-loader@6.2.0)(webpack@5.91.0) + url-loader: 4.1.1(file-loader@6.2.0(webpack@5.91.0))(webpack@5.91.0) webpack: 5.91.0 + optionalDependencies: + '@docusaurus/types': 3.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) transitivePeerDependencies: - '@swc/core' - esbuild @@ -10754,12 +10757,14 @@ snapshots: '@leichtgewicht/ip-codec@2.0.5': {} - '@llamaindex/cloud@0.0.5': + '@llamaindex/cloud@0.0.5(node-fetch@2.7.0(encoding@0.1.13))': dependencies: '@types/qs': 6.9.15 form-data: 4.0.0 js-base64: 3.7.7 qs: 6.12.1 + optionalDependencies: + node-fetch: 2.7.0(encoding@0.1.13) '@manypkg/find-root@1.1.0': dependencies: @@ -10811,7 +10816,7 @@ snapshots: '@types/react': 18.2.79 react: 18.2.0 - '@mistralai/mistralai@0.1.3': + '@mistralai/mistralai@0.1.3(encoding@0.1.13)': dependencies: node-fetch: 2.7.0(encoding@0.1.13) transitivePeerDependencies: @@ -10877,7 +10882,7 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@notionhq/client@2.2.15': + '@notionhq/client@2.2.15(encoding@0.1.13)': dependencies: '@types/node-fetch': 2.6.11 node-fetch: 2.7.0(encoding@0.1.13) @@ -11130,10 +11135,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@swc/cli@0.3.12(@swc/core@1.5.0)': + '@swc/cli@0.3.12(@swc/core@1.5.0(@swc/helpers@0.5.2))(chokidar@3.6.0)': dependencies: '@mole-inc/bin-wrapper': 8.0.1 - '@swc/core': 1.5.0 + '@swc/core': 1.5.0(@swc/helpers@0.5.2) '@swc/counter': 0.1.3 commander: 8.3.0 fast-glob: 3.3.2 @@ -11142,6 +11147,8 @@ snapshots: semver: 7.6.0 slash: 3.0.0 source-map: 0.7.4 + optionalDependencies: + chokidar: 3.6.0 '@swc/core-darwin-arm64@1.5.0': optional: true @@ -11173,7 +11180,7 @@ snapshots: '@swc/core-win32-x64-msvc@1.5.0': optional: true - '@swc/core@1.5.0': + '@swc/core@1.5.0(@swc/helpers@0.5.2)': dependencies: '@swc/counter': 0.1.3 '@swc/types': 0.1.6 @@ -11188,6 +11195,7 @@ snapshots: '@swc/core-win32-arm64-msvc': 1.5.0 '@swc/core-win32-ia32-msvc': 1.5.0 '@swc/core-win32-x64-msvc': 1.5.0 + '@swc/helpers': 0.5.2 '@swc/counter@0.1.3': {} @@ -11464,7 +11472,7 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@7.7.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.10.0 '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) @@ -11479,6 +11487,7 @@ snapshots: natural-compare: 1.4.0 semver: 7.6.0 ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -11491,6 +11500,7 @@ snapshots: '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 8.57.0 + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -11503,6 +11513,7 @@ snapshots: '@typescript-eslint/visitor-keys': 7.7.1 debug: 4.3.4 eslint: 8.57.0 + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -11524,6 +11535,7 @@ snapshots: debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -11543,6 +11555,7 @@ snapshots: is-glob: 4.0.3 semver: 7.6.0 tsutils: 3.21.0(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -11557,6 +11570,7 @@ snapshots: minimatch: 9.0.3 semver: 7.6.0 ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -11571,6 +11585,7 @@ snapshots: minimatch: 9.0.4 semver: 7.6.0 ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -11769,7 +11784,7 @@ snapshots: indent-string: 4.0.0 ajv-formats@2.1.1(ajv@8.12.0): - dependencies: + optionalDependencies: ajv: 8.12.0 ajv-keywords@3.5.2(ajv@6.12.6): @@ -12342,20 +12357,25 @@ snapshots: chownr@1.1.4: {} - chromadb@1.7.3(@google/generative-ai@0.8.0)(cohere-ai@7.9.5)(openai@4.38.5): + chromadb@1.7.3(@google/generative-ai@0.8.0)(cohere-ai@7.9.5(encoding@0.1.13))(encoding@0.1.13)(openai@4.38.5(encoding@0.1.13)): dependencies: - '@google/generative-ai': 0.8.0 cliui: 8.0.1 - cohere-ai: 7.9.5 - isomorphic-fetch: 3.0.0 - openai: 4.38.5 + isomorphic-fetch: 3.0.0(encoding@0.1.13) + optionalDependencies: + '@google/generative-ai': 0.8.0 + cohere-ai: 7.9.5(encoding@0.1.13) + openai: 4.38.5(encoding@0.1.13) transitivePeerDependencies: - encoding - chromadb@1.8.1: + chromadb@1.8.1(@google/generative-ai@0.8.0)(cohere-ai@7.9.5(encoding@0.1.13))(encoding@0.1.13)(openai@4.38.5(encoding@0.1.13)): dependencies: cliui: 8.0.1 - isomorphic-fetch: 3.0.0 + isomorphic-fetch: 3.0.0(encoding@0.1.13) + optionalDependencies: + '@google/generative-ai': 0.8.0 + cohere-ai: 7.9.5(encoding@0.1.13) + openai: 4.38.5(encoding@0.1.13) transitivePeerDependencies: - encoding @@ -12424,7 +12444,7 @@ snapshots: dependencies: rfdc: 1.3.1 - cohere-ai@7.9.5: + cohere-ai@7.9.5(encoding@0.1.13): dependencies: form-data: 4.0.0 js-base64: 3.7.2 @@ -12605,6 +12625,7 @@ snapshots: js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 + optionalDependencies: typescript: 5.4.5 create-require@1.1.1: {} @@ -12645,11 +12666,11 @@ snapshots: postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 semver: 7.6.0 + optionalDependencies: webpack: 5.91.0 css-minimizer-webpack-plugin@4.2.2(clean-css@5.3.3)(webpack@5.91.0): dependencies: - clean-css: 5.3.3 cssnano: 5.1.15(postcss@8.4.38) jest-worker: 29.7.0 postcss: 8.4.38 @@ -12657,6 +12678,8 @@ snapshots: serialize-javascript: 6.0.2 source-map: 0.6.1 webpack: 5.91.0 + optionalDependencies: + clean-css: 5.3.3 css-select@4.3.0: dependencies: @@ -12964,10 +12987,10 @@ snapshots: dependencies: esutils: 2.0.3 - docusaurus-plugin-typedoc@0.22.0(typedoc-plugin-markdown@3.17.1)(typedoc@0.25.13): + docusaurus-plugin-typedoc@0.22.0(typedoc-plugin-markdown@3.17.1(typedoc@0.25.13(typescript@5.4.5)))(typedoc@0.25.13(typescript@5.4.5)): dependencies: typedoc: 0.25.13(typescript@5.4.5) - typedoc-plugin-markdown: 3.17.1(typedoc@0.25.13) + typedoc-plugin-markdown: 3.17.1(typedoc@0.25.13(typescript@5.4.5)) dom-converter@0.2.0: dependencies: @@ -13256,11 +13279,12 @@ snapshots: '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.8.0(eslint@8.57.0) eslint-plugin-react: 7.34.1(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.57.0) + optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: - eslint-import-resolver-webpack @@ -13283,13 +13307,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0): dependencies: debug: 4.3.4 enhanced-resolve: 5.16.0 eslint: 8.57.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.3 is-core-module: 2.13.1 @@ -13300,28 +13324,29 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.5) debug: 3.2.7 + optionalDependencies: + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.7.1)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): dependencies: - '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) debug: 3.2.7 + optionalDependencies: + '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0): dependencies: - '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 @@ -13330,7 +13355,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.7.1)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -13340,6 +13365,8 @@ snapshots: object.values: 1.2.0 semver: 6.3.1 tsconfig-paths: 3.15.0 + optionalDependencies: + '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -13813,7 +13840,6 @@ snapshots: chokidar: 3.6.0 cosmiconfig: 6.0.0 deepmerge: 4.3.1 - eslint: 8.57.0 fs-extra: 9.1.0 glob: 7.2.3 memfs: 3.5.3 @@ -13823,6 +13849,8 @@ snapshots: tapable: 1.1.3 typescript: 5.4.5 webpack: 5.91.0 + optionalDependencies: + eslint: 8.57.0 form-data-encoder@1.7.2: {} @@ -14277,6 +14305,7 @@ snapshots: lodash: 4.17.21 pretty-error: 4.0.0 tapable: 2.2.1 + optionalDependencies: webpack: 5.91.0 htmlparser2@6.1.0: @@ -14316,12 +14345,13 @@ snapshots: http-proxy-middleware@2.0.6(@types/express@4.17.21): dependencies: - '@types/express': 4.17.21 '@types/http-proxy': 1.17.14 http-proxy: 1.18.1 is-glob: 4.0.3 is-plain-obj: 3.0.0 micromatch: 4.0.5 + optionalDependencies: + '@types/express': 4.17.21 transitivePeerDependencies: - debug @@ -14627,7 +14657,7 @@ snapshots: isobject@3.0.1: {} - isomorphic-fetch@3.0.0: + isomorphic-fetch@3.0.0(encoding@0.1.13): dependencies: node-fetch: 2.7.0(encoding@0.1.13) whatwg-fetch: 3.6.20 @@ -14968,8 +14998,9 @@ snapshots: rc: 1.2.8 stream-to-array: 2.3.0 ts-graphviz: 1.8.2 - typescript: 5.4.5 walkdir: 0.4.1 + optionalDependencies: + typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -15644,7 +15675,7 @@ snapshots: neo-async@2.6.2: {} - next@14.1.3(react-dom@18.2.0)(react@18.2.0): + next@14.1.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@next/env': 14.1.3 '@swc/helpers': 0.5.2 @@ -15700,8 +15731,9 @@ snapshots: node-fetch@2.7.0(encoding@0.1.13): dependencies: - encoding: 0.1.13 whatwg-url: 5.0.0 + optionalDependencies: + encoding: 0.1.13 node-forge@1.3.1: {} @@ -15729,9 +15761,9 @@ snapshots: normalize-url@8.0.1: {} - notion-md-crawler@1.0.0: + notion-md-crawler@1.0.0(encoding@0.1.13): dependencies: - '@notionhq/client': 2.2.15 + '@notionhq/client': 2.2.15(encoding@0.1.13) md-utils-ts: 2.0.0 transitivePeerDependencies: - encoding @@ -15856,7 +15888,7 @@ snapshots: is-docker: 2.2.1 is-wsl: 2.2.0 - openai@4.38.5: + openai@4.38.5(encoding@0.1.13): dependencies: '@types/node': 18.19.31 '@types/node-fetch': 2.6.11 @@ -16655,8 +16687,9 @@ snapshots: shell-quote: 1.8.1 strip-ansi: 6.0.1 text-table: 0.2.0 - typescript: 5.4.5 webpack: 5.91.0 + optionalDependencies: + typescript: 5.4.5 transitivePeerDependencies: - eslint - supports-color @@ -16672,7 +16705,7 @@ snapshots: react-fast-compare@3.2.2: {} - react-helmet-async@1.3.0(react-dom@18.2.0)(react@18.2.0): + react-helmet-async@1.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.24.4 invariant: 2.2.4 @@ -16682,7 +16715,7 @@ snapshots: react-fast-compare: 3.2.2 shallowequal: 1.1.0 - react-helmet-async@2.0.4(react-dom@18.2.0)(react@18.2.0): + react-helmet-async@2.0.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: invariant: 2.2.4 react: 18.2.0 @@ -16698,13 +16731,13 @@ snapshots: dependencies: react: 18.2.0 - react-loadable-ssr-addon-v5-slorber@1.0.1(@docusaurus/react-loadable@5.5.2)(webpack@5.91.0): + react-loadable-ssr-addon-v5-slorber@1.0.1(@docusaurus/react-loadable@5.5.2(react@18.2.0))(webpack@5.91.0): dependencies: '@babel/runtime': 7.24.4 react-loadable: '@docusaurus/react-loadable@5.5.2(react@18.2.0)' webpack: 5.91.0 - react-router-config@5.1.1(react-router@5.3.4)(react@18.2.0): + react-router-config@5.1.1(react-router@5.3.4(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.24.4 react: 18.2.0 @@ -17742,7 +17775,7 @@ snapshots: ts-graphviz@1.8.2: {} - ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5): + ts-node@10.9.2(@swc/core@1.5.0(@swc/helpers@0.5.2))(@types/node@20.12.7)(typescript@5.4.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -17759,6 +17792,8 @@ snapshots: typescript: 5.4.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + optionalDependencies: + '@swc/core': 1.5.0(@swc/helpers@0.5.2) tsconfig-paths@3.15.0: dependencies: @@ -17897,7 +17932,7 @@ snapshots: dependencies: is-typedarray: 1.0.0 - typedoc-plugin-markdown@3.17.1(typedoc@0.25.13): + typedoc-plugin-markdown@3.17.1(typedoc@0.25.13(typescript@5.4.5)): dependencies: handlebars: 4.7.8 typedoc: 0.25.13(typescript@5.4.5) @@ -18030,13 +18065,14 @@ snapshots: url-join@4.0.1: {} - url-loader@4.1.1(file-loader@6.2.0)(webpack@5.91.0): + url-loader@4.1.1(file-loader@6.2.0(webpack@5.91.0))(webpack@5.91.0): dependencies: - file-loader: 6.2.0(webpack@5.91.0) loader-utils: 2.0.4 mime-types: 2.1.35 schema-utils: 3.3.0 webpack: 5.91.0 + optionalDependencies: + file-loader: 6.2.0(webpack@5.91.0) url-parse@1.5.10: dependencies: @@ -18082,13 +18118,13 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite-node@1.5.2: + vite-node@1.5.2(@types/node@20.12.7)(terser@5.30.4): dependencies: cac: 6.7.14 debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.10 + vite: 5.2.10(@types/node@20.12.7)(terser@5.30.4) transitivePeerDependencies: - '@types/node' - less @@ -18099,15 +18135,17 @@ snapshots: - supports-color - terser - vite@5.2.10: + vite@5.2.10(@types/node@20.12.7)(terser@5.30.4): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.16.4 optionalDependencies: + '@types/node': 20.12.7 fsevents: 2.3.3 + terser: 5.30.4 - vitest@1.5.2: + vitest@1.5.2(@types/node@20.12.7)(terser@5.30.4): dependencies: '@vitest/expect': 1.5.2 '@vitest/runner': 1.5.2 @@ -18126,9 +18164,11 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.10 - vite-node: 1.5.2 + vite: 5.2.10(@types/node@20.12.7)(terser@5.30.4) + vite-node: 1.5.2(@types/node@20.12.7)(terser@5.30.4) why-is-node-running: 2.2.2 + optionalDependencies: + '@types/node': 20.12.7 transitivePeerDependencies: - less - lightningcss @@ -18224,9 +18264,10 @@ snapshots: serve-index: 1.9.1 sockjs: 0.3.24 spdy: 4.0.2 - webpack: 5.91.0 webpack-dev-middleware: 5.3.4(webpack@5.91.0) ws: 8.16.0 + optionalDependencies: + webpack: 5.91.0 transitivePeerDependencies: - bufferutil - debug diff --git a/tsconfig.json b/tsconfig.json index f2cac2115f..a3d6e122e4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,9 @@ "outDir": "./lib", "tsBuildInfoFile": "./lib/.tsbuildinfo", "incremental": true, - "composite": true + "composite": true, + "types": [], + "lib": ["ES2022"] }, "files": [], "references": [