diff --git a/README.md b/README.md index c9ed6dbfb..9a81e74ef 100644 --- a/README.md +++ b/README.md @@ -3,17 +3,6 @@ Mem0 - The Memory Layer for Personalized AI

- -

- - Mem0 OSS Halloween Happy Hour: The People Who Read the Source. Tuesday, Oct 27, 5:00 PM, San Francisco. Costumes encouraged. - -
- ๐ŸŽƒ Register here โ†’ ยท Contributors get priority -

- - -

mem0ai%2Fmem0 | Trendshift diff --git a/cli/node/package.json b/cli/node/package.json index 62797eca5..b2f57b09f 100644 --- a/cli/node/package.json +++ b/cli/node/package.json @@ -40,7 +40,7 @@ "typescript": "^5.4.0", "tsup": "^8.0.0", "tsx": "^4.7.0", - "vite": "^6.4.4", + "vite": "^6.0.0", "vitest": "^4.1.11", "@biomejs/biome": "^1.7.0", "@types/node": "^20.0.0" @@ -52,8 +52,7 @@ "tar-fs@>=2.0.0 <2.1.4": "^2.1.4", "picomatch@<2.3.2": "^2.3.2", "esbuild": ">=0.28.1", - "postcss@<8.5.18": ">=8.5.18 <9.0.0", - "source-map-js@<1.2.2": ">=1.2.2 <2.0.0" + "postcss@<8.5.18": ">=8.5.18 <9.0.0" } } } diff --git a/cli/node/pnpm-lock.yaml b/cli/node/pnpm-lock.yaml index 50ad5a518..968075cc7 100644 --- a/cli/node/pnpm-lock.yaml +++ b/cli/node/pnpm-lock.yaml @@ -11,7 +11,6 @@ overrides: picomatch@<2.3.2: ^2.3.2 esbuild: '>=0.28.1' postcss@<8.5.18: '>=8.5.18 <9.0.0' - source-map-js@<1.2.2: '>=1.2.2 <2.0.0' importers: @@ -49,11 +48,11 @@ importers: specifier: ^5.4.0 version: 5.9.3 vite: - specifier: ^6.4.4 - version: 6.4.5(@types/node@20.19.37)(tsx@4.21.0) + specifier: ^6.0.0 + version: 6.4.3(@types/node@20.19.37)(tsx@4.21.0) vitest: specifier: ^4.1.11 - version: 4.1.11(@types/node@20.19.37)(vite@6.4.5(@types/node@20.19.37)(tsx@4.21.0)) + version: 4.1.11(@types/node@20.19.37)(vite@6.4.3(@types/node@20.19.37)(tsx@4.21.0)) packages: @@ -757,8 +756,8 @@ packages: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} - source-map-js@1.2.2: - resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} source-map@0.7.6: @@ -871,8 +870,8 @@ packages: undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} - vite@6.4.5: - resolution: {integrity: sha512-4enwjFfi4IwtEh0w+jPzpLVOFQiPHmmzPxcHXQOyEur47o6u0jE573DmGpjA+7irXoMLYRZD5ZaFUEneS3abPg==} + vite@6.4.3: + resolution: {integrity: sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: @@ -1196,13 +1195,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.0 - '@vitest/mocker@4.1.11(vite@6.4.5(@types/node@20.19.37)(tsx@4.21.0))': + '@vitest/mocker@4.1.11(vite@6.4.3(@types/node@20.19.37)(tsx@4.21.0))': dependencies: '@vitest/spy': 4.1.11 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 6.4.5(@types/node@20.19.37)(tsx@4.21.0) + vite: 6.4.3(@types/node@20.19.37)(tsx@4.21.0) '@vitest/pretty-format@4.1.11': dependencies: @@ -1453,7 +1452,7 @@ snapshots: dependencies: nanoid: 3.3.16 picocolors: 1.1.1 - source-map-js: 1.2.2 + source-map-js: 1.2.1 readdirp@4.1.2: {} @@ -1501,7 +1500,7 @@ snapshots: signal-exit@4.1.0: {} - source-map-js@1.2.2: {} + source-map-js@1.2.1: {} source-map@0.7.6: {} @@ -1615,7 +1614,7 @@ snapshots: undici-types@6.21.0: {} - vite@6.4.5(@types/node@20.19.37)(tsx@4.21.0): + vite@6.4.3(@types/node@20.19.37)(tsx@4.21.0): dependencies: esbuild: 0.28.1 fdir: 6.5.0(picomatch@4.0.4) @@ -1628,10 +1627,10 @@ snapshots: fsevents: 2.3.3 tsx: 4.21.0 - vitest@4.1.11(@types/node@20.19.37)(vite@6.4.5(@types/node@20.19.37)(tsx@4.21.0)): + vitest@4.1.11(@types/node@20.19.37)(vite@6.4.3(@types/node@20.19.37)(tsx@4.21.0)): dependencies: '@vitest/expect': 4.1.11 - '@vitest/mocker': 4.1.11(vite@6.4.5(@types/node@20.19.37)(tsx@4.21.0)) + '@vitest/mocker': 4.1.11(vite@6.4.3(@types/node@20.19.37)(tsx@4.21.0)) '@vitest/pretty-format': 4.1.11 '@vitest/runner': 4.1.11 '@vitest/snapshot': 4.1.11 @@ -1648,7 +1647,7 @@ snapshots: tinyexec: 1.2.4 tinyglobby: 0.2.15 tinyrainbow: 3.1.0 - vite: 6.4.5(@types/node@20.19.37)(tsx@4.21.0) + vite: 6.4.3(@types/node@20.19.37)(tsx@4.21.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.19.37 diff --git a/cli/node/pnpm-workspace.yaml b/cli/node/pnpm-workspace.yaml index bc1c71b28..daadb240e 100644 --- a/cli/node/pnpm-workspace.yaml +++ b/cli/node/pnpm-workspace.yaml @@ -12,4 +12,3 @@ overrides: picomatch@<2.3.2: ^2.3.2 "esbuild": ">=0.28.1" "postcss@<8.5.18": ">=8.5.18 <9.0.0" - "source-map-js@<1.2.2": ">=1.2.2 <2.0.0" diff --git a/docs/core-concepts/memory-operations/delete.mdx b/docs/core-concepts/memory-operations/delete.mdx index ddd86a8e3..eb8f4c8c9 100644 --- a/docs/core-concepts/memory-operations/delete.mdx +++ b/docs/core-concepts/memory-operations/delete.mdx @@ -137,10 +137,6 @@ You can also filter by other parameters such as: **Breaking change:** `delete_all` previously wiped all project memories when called with no filters. It now **raises an error** if no filters are provided. Use `"*"` wildcards for intentional bulk deletion (see below). - - Pass entity IDs as top-level arguments (`user_id="alice"` or `userId: "alice"`). `delete_all` does not accept `filters`. An empty or whitespace-only ID such as `user_id=""` matches every memory in the project, so the SDKs raise an error before sending the request. `delete_users` and `deleteUsers` apply the same check. - - ### Wildcard deletes Setting a filter to `"*"` deletes **all memories** for that entity type across the entire project. This is an intentionally explicit opt-in to bulk deletion. diff --git a/docs/docs.json b/docs/docs.json index b694e288a..4371c1ffe 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -87,8 +87,7 @@ "platform/advanced-memory-operations", "platform/features/custom-instructions", "platform/features/memory-decay", - "platform/features/dream", - "platform/features/byok" + "platform/features/dream" ] }, { @@ -116,8 +115,7 @@ "group": "Support", "icon": "life-buoy", "pages": [ - "platform/faqs", - "platform/pricing" + "platform/faqs" ] }, { diff --git a/docs/images/halloween-happy-hour.png b/docs/images/halloween-happy-hour.png deleted file mode 100644 index 8b5ab3874..000000000 Binary files a/docs/images/halloween-happy-hour.png and /dev/null differ diff --git a/docs/images/platform/byok-accuracy-vs-cost.png b/docs/images/platform/byok-accuracy-vs-cost.png deleted file mode 100644 index 020c40fc0..000000000 Binary files a/docs/images/platform/byok-accuracy-vs-cost.png and /dev/null differ diff --git a/docs/images/platform/byok-picks.png b/docs/images/platform/byok-picks.png deleted file mode 100644 index f09b9b2af..000000000 Binary files a/docs/images/platform/byok-picks.png and /dev/null differ diff --git a/docs/integrations/deepseek-plugin.mdx b/docs/integrations/deepseek-plugin.mdx index 0242496e1..49fc526ce 100644 --- a/docs/integrations/deepseek-plugin.mdx +++ b/docs/integrations/deepseek-plugin.mdx @@ -5,7 +5,7 @@ description: "Add persistent memory to DeepSeek Harness with automatic recall, a Add persistent memory to the [**DeepSeek Harness**](https://github.com/deepseek-ai/deepseek-harness) with `@mem0/deepseek-plugin`. The plugin recalls relevant context before a model request, captures completed turns, and provides explicit Mem0 tools when the agent needs them. -Current package version: `0.3.0`. +Current package version: `0.3.2`. Sidekick is available only in the [Claude Code plugin](/integrations/claude-code#sidekick-agent). @@ -32,7 +32,7 @@ A Cordis plugin is a module exporting `apply(ctx, config)`. This plugin waits fo Cordis removes the listeners and tools when the plugin unmounts. Memory failures are fail-open, so a Mem0 outage does not stop the agent from completing its normal work. -DeepSeek Harness provides subagents through separate host-composition packages. This Mem0 package does not register a named Sidekick or claim child filesystem isolation. A Harness child uses Mem0 only when its own agent preset includes the Mem0 plugin. +DeepSeek Harness provides subagents through separate host-composition packages. This Mem0 package does not register a named Sidekick or claim child filesystem isolation. Memory availability in children depends on the Harness composition and service scope. ## Prerequisites @@ -40,25 +40,27 @@ DeepSeek Harness provides subagents through separate host-composition packages. - Sign up at app.mem0.ai - Get your API key (starts with `m0-`) -2. The DeepSeek Harness installed. +2. The DeepSeek Harness installed and a funded model-provider credential (`DEEPSEEK_API_KEY` for the official DeepSeek provider). This is separate from your Mem0 key. -3. Your API key exported in your shell: +3. Your Mem0 key and a stable user identity exported in the shell that launches Harness: ```bash zsh echo 'export MEM0_API_KEY="m0-your-api-key"' >> ~/.zshrc +echo 'export MEM0_USER_ID="your-user-id"' >> ~/.zshrc source ~/.zshrc ``` ```bash bash echo 'export MEM0_API_KEY="m0-your-api-key"' >> ~/.bashrc +echo 'export MEM0_USER_ID="your-user-id"' >> ~/.bashrc source ~/.bashrc ``` ## Try it locally -1. Build and pack the plugin: +1. Build and pack the plugin from the full repository (the source imports the sibling shared core): ```sh cd integrations/deepseek-plugin pnpm install --frozen-lockfile @@ -67,36 +69,35 @@ source ~/.bashrc pnpm pack --pack-destination /tmp/mem0-deepseek-plugin ``` -2. Install it into a disposable Harness profile so Harness supplies its peer dependencies: +2. Install it into a disposable Harness profile so Harness supplies its peer dependencies. This needs pnpm 10 or newer, because the profile's `pnpm-workspace.yaml` settings are ignored by pnpm 9 and the install fails on an unpublished internal package: ```sh DSH_HOME=/tmp/mem0-dsh-dev pnpm dlx @deepseek-ai/dsh@0.1.1-rc.2 \ - plugin --profile headless add /tmp/mem0-deepseek-plugin/mem0-deepseek-plugin-0.3.0.tgz + plugin --profile web add /tmp/mem0-deepseek-plugin/mem0-deepseek-plugin-0.3.2.tgz ``` -3. Copy `cordis.example.yml`, set its installed package path and your `userId`, then load it with the same profile: +3. Launch the same profile. The package's `dsh.bundle` activates Mem0 automatically: ```sh DSH_HOME=/tmp/mem0-dsh-dev pnpm dlx @deepseek-ai/dsh@0.1.1-rc.2 \ - web --patch ./integrations/deepseek-plugin/cordis.example.yml + web ``` -4. Open the web UI and ask the agent to remember something, then recall it in a later turn. +4. Open the web UI, select a workspace, and state a synthetic preference without mentioning Mem0. Allow extraction to finish, start a fresh session, and ask for that preference without tools. Inspect the `mem0:recall` context to confirm automatic recall. -The `cordis.yml` entry looks like this: +`pnpm pack` builds the package automatically and ships its activation patch. To customize it, copy `cordis.example.yml` and launch with `web --patch /absolute/path/to/cordis.yml`. The override updates the existing bundle row: ```yaml -- name: "@deepseek-ai/dsh-system-prompt" -- name: "@deepseek-ai/dsh-tools" -- insert: - - id: mem0 - name: "/tmp/mem0-dsh-dev/profiles/headless/node_modules/@mem0/deepseek-plugin/dist/index.js" - config: - # apiKey is read from MEM0_API_KEY when omitted here. - userId: "your-user-id" - autoRecall: true - autoCapture: true - # host: "https://your-onprem.mem0.ai" # optional: Platform on-prem / dedicated base URL +- id: mem0 + config: + # A config override replaces the whole config, so restate userId. + userId: !!js process.env.MEM0_USER_ID + memoryScope: workspace + autoRecall: true + autoCapture: true + # host: "https://your-onprem.mem0.ai" # optional: Platform dedicated base URL ``` +When upgrading from a manual installation, remove the old patch that inserts a `mem0` row; the bundle now inserts it. Keep custom settings as an override by `id`. + For a Mem0 Platform on-prem or dedicated deployment, point `config.host` at that base URL (defaults to `api.mem0.ai`). `host` is a Platform base-URL override, not a switch to self-hosted Mem0 OSS. ## Configuration @@ -105,12 +106,27 @@ For a Mem0 Platform on-prem or dedicated deployment, point `config.host` at that |---|---|---|---| | `apiKey` | no | `$MEM0_API_KEY` | Mem0 platform API key | | `userId` | yes | | Default entity that owns the memories | +| `memoryScope` | no | `user` | `user` shares memory across workspaces; `workspace` isolates automatic and explicit memory operations | | `allowUserOverride` | no | `false` | Permit model-selected access to a different user only in a trusted multi-user deployment | | `host` | no | `api.mem0.ai` | Platform base URL (on-prem / dedicated) | | `autoRecall` | no | `true` | Recall relevant memory before model requests | | `autoCapture` | no | `true` | Store completed human and assistant turns | -Both tools also accept optional per-call `userId`, `agentId`, and `runId` params so a single install can partition memory by entity, agent, or session; `userId` defaults to the configured user, while `agentId` and `runId` are omitted unless supplied. Automatic recall and capture use the configured user without an agent, repository, or session filter. Automatic capture preserves full redacted user and assistant message text without a per-message character cutoff. +Both tools also accept optional per-call `userId`, `agentId`, and `runId` params so a single install can partition memory by entity, agent, or session; `userId` defaults to the configured user, while `agentId` and `runId` are omitted unless supplied. Automatic capture preserves full redacted user and assistant message text without a per-message character cutoff. + +## Workspace scope + +By default, automatic capture and recall use the configured user across all workspaces. This is intentional compatibility behavior. To isolate workspaces, set `memoryScope: workspace` as shown above. All writes then attach an `appId` derived from the canonical absolute session workspace path; all searches require its matching `app_id`. The model cannot override that workspace filter. + +Symlink aliases share a scope. Different directories, clones, or worktrees have different scopes; moving a directory changes its scope. Missing or invalid workspace paths skip automatic memory operations and reject explicit tools without falling back to user-wide access. Existing user-only memories are not migrated into workspace scopes. + +User scope searches all memories belonging to the user, including workspace-tagged memories. Workspace isolation applies only when workspace scope is configured; it is application filtering, not a separate Mem0 account or credential. + +## Extraction and recall limits + +Capture sends the full redacted turn to Mem0 for asynchronous extraction. A queued write, or even an initially nonempty memory list, does not mean every extracted fact is ready. Allow processing to finish and inspect stored memories before diagnosing lost preferences or missing filenames and numeric constraints. Exact extraction remains model-dependent; a one-off request should not automatically become a standing preference. + +Automatic recall is a shallow first pass: up to five results, 4,000 context characters, and a two-second wait. The explicit `search_memory` tool can use a more focused query and returns up to ten results by default. ## Telemetry @@ -124,6 +140,6 @@ Writes are tagged `source="DEEPSEEK_HARNESS"` so Mem0 can attribute usage to thi - **`MISSING_CREDENTIAL` for `deepseek-official`**: Configure `DEEPSEEK_API_KEY` through Harness's Models page or export it in the shell that launches Harness. - **`EMFILE: too many open files, watch` on macOS**: Launch Harness with `CHOKIDAR_USEPOLLING=1`. -- **Mem0 tools do not appear**: Run Harness with `--dump-config` and confirm the final composition contains the `mem0` row and the installed `dist/index.js` path. +- **Mem0 tools do not appear**: Run Harness with `--dump-config` for the same profile used at installation and confirm it contains a `mem0` row naming `@mem0/deepseek-plugin`. Export `MEM0_USER_ID` and `MEM0_API_KEY` before launching. Per-call `userId` overrides are rejected unless the operator enables `allowUserOverride: true`. Automatic recall and capture always use the configured user. diff --git a/docs/llms.txt b/docs/llms.txt index f13e2fc07..c511033ce 100644 --- a/docs/llms.txt +++ b/docs/llms.txt @@ -209,7 +209,6 @@ If the user is on a pre-current major (Python < 2, TS < 3, or a Platform call st - [Custom Instructions](https://docs.mem0.ai/platform/features/custom-instructions) [Platform]: Use when tailoring what Mem0 extracts and stores on Platform. - [Memory Decay](https://docs.mem0.ai/platform/features/memory-decay) [Platform]: Use when search results should boost recently-reinforced memories and dampen stale ones. Opt in per project; applies at search time and never filters candidates out. - [Dream](https://docs.mem0.ai/platform/features/dream) [Platform]: Use when long-lived user memory should stay coherent on its own - synthesizing recurring patterns, superseding outdated facts, and merging duplicates in the background. Synthesis is opt-in (Pro+); Supersede and Merge are always on. -- [Bring Your Own Key (BYOK)](https://docs.mem0.ai/platform/features/byok) [Platform]: Use when connecting your own OpenAI, Anthropic, OpenRouter or Azure OpenAI key so memories are created on your model - setup, key-check errors, failed adds, rate limits and choosing a model. - [Advanced Memory Operations](https://docs.mem0.ai/platform/advanced-memory-operations) [Platform]: Use when basic CRUD is not enough - batch ops, complex filters, workflows. ### Features - Data Management @@ -225,7 +224,6 @@ If the user is on a pre-current major (Python < 2, TS < 3, or a Platform call st ### Support & Migration - [FAQs](https://docs.mem0.ai/platform/faqs) [Platform]: Use when answering common Platform questions. -- [Pricing FAQ](https://docs.mem0.ai/platform/pricing) [Platform]: Use when a user asks how the October 26, 2026 pricing change affects their plan - existing Starter, Growth and Pro plans, free plan limits and the 30-day period, connecting their own LLM key, Vercel accounts and usage-based billing. - [Contribute to Platform](https://docs.mem0.ai/platform/contribute) [Platform]: Use when a user wants to contribute to Platform docs or code. - [OSS to Platform Migration](https://docs.mem0.ai/migration/oss-to-platform) [Both]: Use when moving from self-hosted to managed. - [OSS v2 to v3 Migration](https://docs.mem0.ai/migration/oss-v2-to-v3) [OSS]: Use when upgrading a self-hosted deployment across major versions. diff --git a/docs/migration/platform-v2-to-v3.mdx b/docs/migration/platform-v2-to-v3.mdx index 8a16dde57..8cc9690da 100644 --- a/docs/migration/platform-v2-to-v3.mdx +++ b/docs/migration/platform-v2-to-v3.mdx @@ -136,8 +136,8 @@ curl -X POST 'https://api.mem0.ai/v3/memories/?page=1&page_size=50' \ | Parameter | V1/V2 | V3 | Notes | |---|---|---|---| | `top_k` | Supported | Supported (1-1000, default 10) | No change | -| `threshold` | Default: `0.3` (v2) | Default: `0.1` | Pass `0.3` to keep the v2 cutoff, or `0.0` to disable | -| `rerank` | Default: `false` | Default: `false` | No change. Pass `true` to enable (adds latency) | +| `threshold` | Default: none | Default: `0.1` | Pass `0.0` to disable | +| `rerank` | Default: `true` | Default: `false` | Pass `true` to enable (adds latency) | | Entity IDs in `search` / `get_all` | Top-level | Inside `filters` dict | Top-level raises 400 | ### Response Format @@ -265,10 +265,10 @@ If your application previously read graph relations from the API response (`rela - The default `threshold` is now `0.1` (it was `0.3` on v2), so lower-scoring matches that v2 hid can now appear. Scores are computed differently in v3, so retune against representative queries. To keep a stricter cutoff, pass an explicit `threshold` in your search calls, or pass `threshold=0.0` to disable filtering. + The default `threshold` is now `0.1` (previously no threshold). If your application was relying on unfiltered results, explicitly pass `threshold=0.0` in your search calls to preserve the old behavior. In most cases, the new default is better: it filters out low-relevance noise. - Reranking is `false` by default, the same as on v2. If your application depends on reranked results, pass `rerank=True` to your search calls. Note that reranking adds latency (~200-400ms) but can improve ordering quality for complex queries. + Reranking is now `false` by default. If your application depended on reranked results, add `rerank=True` to your search calls. Note that reranking adds latency (~200-400ms) but can improve ordering quality for complex queries. The top-level `score` field continues to work as before. It is now a combined multi-signal score (semantic + keyword + entity) rather than pure cosine similarity, so the absolute numbers will differ. Relative ranking remains comparable: if you have threshold-based filtering in your app, retune on a representative query set. diff --git a/docs/platform/features/async-client.mdx b/docs/platform/features/async-client.mdx index 964fb1ce5..6effd9995 100644 --- a/docs/platform/features/async-client.mdx +++ b/docs/platform/features/async-client.mdx @@ -124,7 +124,7 @@ await client.deleteAll({ userId: "alice" }); - At least one filter (`user_id`, `agent_id`, `app_id`, or `run_id`) is required: calling `delete_all` with no filters raises an error to prevent accidental data loss. You can pass `"*"` as a value to delete all memories for a given entity type (e.g., `user_id="*"` removes memories for every user). A full project wipe requires all four filters set to `"*"`. When multiple entity filters are combined on a single `delete_all` call, only one is currently guaranteed to be honored; scope each call to a single entity id to be safe. Entity IDs are top-level arguments, not `filters`, and an empty or whitespace-only ID raises an error instead of matching every memory. + At least one filter (`user_id`, `agent_id`, `app_id`, or `run_id`) is required: calling `delete_all` with no filters raises an error to prevent accidental data loss. You can pass `"*"` as a value to delete all memories for a given entity type (e.g., `user_id="*"` removes memories for every user). A full project wipe requires all four filters set to `"*"`. When multiple entity filters are combined on a single `delete_all` call, only one is currently guaranteed to be honored; scope each call to a single entity id to be safe. ### History diff --git a/docs/platform/features/byok.mdx b/docs/platform/features/byok.mdx deleted file mode 100644 index 6a57c6cd8..000000000 --- a/docs/platform/features/byok.mdx +++ /dev/null @@ -1,126 +0,0 @@ ---- -title: "Bring Your Own Key (BYOK)" -sidebarTitle: "BYOK" -description: "Run memory creation on your own LLM provider and model, billed to your own API key." ---- - -## Overview - -With Bring Your Own Key (BYOK), Mem0 runs the LLM calls that turn your messages into memories on a model you choose, using your own API key. Mem0 sends your message text to that provider under your account, and your provider bills you directly. If your key stops working, Mem0 doesn't switch to its own key. The add fails and shows why. Embeddings, search and reranking still run on Mem0. - -## Where to find it - -BYOK is set per organization, in **Settings โ†’ BYOK** in the [Mem0 dashboard](https://app.mem0.ai/dashboard/settings?tab=org-llm). Only organization owners see this tab. One key covers every project in the organization. - - - Organizations created through the Vercel Marketplace are managed from Vercel and can't use BYOK. - - -## Supported providers - -| Provider | What you need | Model | -|---|---|---| -| OpenAI | An OpenAI API key | Pick from the list or enter any OpenAI model ID. GPT-6 Luna is recommended for best value. | -| Anthropic | An Anthropic API key | Pick from the list or enter any Claude model ID. Claude Haiku 5.5 is recommended for best value. | -| OpenRouter | An OpenRouter API key | Pick from the list or enter any OpenRouter model ID, such as `deepseek/deepseek-v4.1-flash`. DeepSeek V4.1 Flash is recommended for best value. | -| Azure OpenAI | An API key and your endpoint URL | Your deployment name | - -For Azure OpenAI, use your resource's endpoint from the Azure portal, such as `https://your-resource.openai.azure.com/`. - -## Set up BYOK - - - -Go to **Settings โ†’ BYOK** in the dashboard. - - -Pick OpenAI, Anthropic, OpenRouter or Azure OpenAI from the **Provider** list. - - -The **Model** list shows the models we tested, with a **Recommended** tag on our pick for that provider. Under the model, the tab shows its estimated cost per 1,000 adds on your provider account. - -To use a model that isn't in the list, choose **Other model ID** and type the model ID exactly as your provider names it. For Azure OpenAI, type your deployment name in **Deployment / Model**. - - -Paste your key into **API key**. For Azure OpenAI, also fill in **Endpoint URL**. - - -Click **Save key**. Mem0 sends a short test request to your provider with your key and model, then saves them. When the test passes, the top of the tab shows your provider and model, such as **Running on OpenAI ยท gpt-6-luna**. - - - -Mem0 encrypts your key and never shows it again. To change only the model, pick the new model and leave **API key** empty to keep the saved key. To stop using BYOK, click **Remove key**. New adds then run on Mem0's default model, within your plan's limits. - -## Errors and rate limits - -### When you save a key - -If the test request finds one of these problems, Mem0 doesn't save the key: - -| Message | What to check | -|---|---| -| The provider rejected the API key. Double-check the key and try again. | The key is wrong, revoked, or from a different provider. | -| The provider couldn't find that model or deployment. Double-check the Model name and try again. | The model ID is misspelled, your account can't use that model, or the Azure deployment doesn't exist on that resource. | -| Could not reach the endpoint. Double-check the Endpoint URL and try again. | The Azure OpenAI **Endpoint URL** is misspelled, doesn't exist, or isn't reachable. | -| The Endpoint URL responded unexpectedly (HTTP โ€ฆ). Double-check the Endpoint URL and try again. | The Azure OpenAI **Endpoint URL** doesn't point to an Azure OpenAI resource. | -| Could not reach the provider. Try again in a moment. | Mem0 couldn't connect to your provider. This is usually brief. | -| The provider responded unexpectedly (HTTP โ€ฆ). Try again in a moment. | Your provider returned an error Mem0 didn't expect. | - -Some problems don't stop the save, because they can be fixed on your provider's side without changing anything in Mem0. In that case Mem0 saves the key and shows a warning at the top of the tab that names your provider. For example, with an OpenAI key: - -- **No credit:** "Key saved, but OpenAI says this account has no credit. Adds will fail until you add credit with OpenAI." -- **Rate limited:** "Key saved, but OpenAI is rate limiting requests right now. Adds may fail until the limit resets." - -After you add credit or the limit resets, click **Check again** to run the test again on the saved key. - -### When an add fails - -Adds run in the background. Each add returns an `event_id`, and you can follow it with [Get Event](/api-reference/events/get-event). When an add fails for one of the reasons below, the event ends as `FAILED` and its `error` field says why: - -```json -{ - "id": "6f1d3a2e-8c4b-4f6a-9d2e-1b7c5a9e0f42", - "event_type": "ADD", - "status": "FAILED", - "error": "The configured LLM provider account is out of quota or credits." -} -``` - -| `error` | What to do | -|---|---| -| The configured LLM provider rejected the API credentials. | Save a valid key in **Settings โ†’ BYOK**. | -| The configured LLM provider account is out of quota or credits. | Add credit with your provider. | -| The configured LLM model or deployment was not found. | Pick a model your account can use, or fix the Azure deployment name. | -| The configured LLM provider returned a response that could not be parsed. | Switch to a model from the **Model** list. This model replied in a format Mem0 couldn't read. | -| The configured LLM credentials could not be read. Please re-save your provider settings. | Save your key again in **Settings โ†’ BYOK**. | -| Input exceeds the model's context window. | Send shorter messages, or pick a model with a larger context window. | - -In the dashboard, open the failed add on the **Requests** page to see the same reason. Mem0 doesn't retry these adds, so send them again after you fix the cause. - -### Rate limits and temporary errors - -When your provider rate limits a request, times out or returns a server error, Mem0 retries it automatically, so the add can take longer to finish. If this happens often, raise the rate limits on your provider account. - -## Choose a model - -Three things decide which model fits: - -- **Accuracy:** how well the memories a model writes answer questions later. -- **Cost:** what your provider charges for the calls behind one add. -- **Latency:** how long it takes from sending an add until its memories show up in search. - -We measured these on [LoCoMo](https://github.com/snap-research/locomo), a public benchmark of long conversations, for a limited set of popular models. Your own data can give different results. Based on what we measured, these are our picks: **Best value** balances accuracy and price, **Best under \$1** is the most accurate model under \$1 per 1,000 add requests, and **Best quality** has the highest accuracy. - - - The three picks. Best value: DeepSeek V4.1 Flash, open weights, on OpenRouter: 92.9% accuracy, $5.34 per 1,000 add requests, 18.5 s latency at p95. Best under $1: Amazon Nova Micro, closed, on OpenRouter: 88.0% accuracy, $0.86 per 1,000 add requests, 10.2 s latency at p95. Best quality: Claude Opus 5.5, closed, on Anthropic, OpenRouter: 93.5% accuracy, $158.55 per 1,000 add requests, 18.1 s latency at p95. - - - -The latency above is for adds, which run asynchronously: the add call returns an event ID right away, and the memories become searchable once processing finishes. Search doesn't use your model, and its server-side latency is about 270 ms at p50 and 640 ms at p95. - - -Accuracy against cost for every model we tested. The green line marks the best accuracy available at each price, the gold area holds the models under $2 per 1,000 add requests, and the gray dashed line is Mem0's default model, at 92.5%. - - - Scatter chart of accuracy against cost per 1,000 add requests on a log scale, one ring per model, each labelled with its accuracy. Mistral Nemo sits at the far left at $0.68 and 84.1%; Claude Opus 5.5 at the far right at $158.55 and 93.5%. A dashed gray line marks Mem0's default model (free tier) at 92.5%. A green shaded region holds the models above it for under $10 per 1,000 add requests, a gold one the models under $2 per 1,000 add requests, and a dashed green line marks the best accuracy available at each price. Tags mark our picks: best value, DeepSeek V4.1 Flash; best under $1, Amazon Nova Micro; best quality, Claude Opus 5.5. - diff --git a/docs/platform/features/custom-instructions.mdx b/docs/platform/features/custom-instructions.mdx index 9acd741f2..8b5b1f35e 100644 --- a/docs/platform/features/custom-instructions.mdx +++ b/docs/platform/features/custom-instructions.mdx @@ -153,7 +153,7 @@ Both fields are also accepted per request, overriding the project setting for th ```python Python client.add( messages, - agent_id="support-agent", + filters={"agent_id": "support-agent"}, agent_custom_instructions="Only remember which tools errored and why.", ) ``` diff --git a/docs/platform/pricing.mdx b/docs/platform/pricing.mdx deleted file mode 100644 index 5d27d8252..000000000 --- a/docs/platform/pricing.mdx +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: "Pricing FAQ" -sidebarTitle: "Pricing" -description: "Frequently asked questions about Mem0's plans, limits and using your own LLM key." -icon: "credit-card" ---- - -## Existing paid plans - - - - Nothing. Your price, limits, extra usage and billing date stay the same, and you can still turn extra usage on or off from your dashboard. These plans are no longer sold to new accounts. - - - Plan changes now go through our team. If you need higher limits or more features, [talk to us](https://app.mem0.ai/enterprise?ref=docs) and we'll set up a custom plan. If you cancel, your account moves to the free plan, any extra usage up to then is billed on your last invoice, and the old plan can't be restarted. - - - -## Free plan - - - - For your first 30 days, Mem0 pays for the model calls, with limits of 10,000 adds and 1,000 retrievals a month. After that, connect your own LLM key to keep adding memories, and your limits go up to 50,000 adds and 10,000 retrievals a month at no charge from Mem0. You can connect a key at any time, including during your first 30 days. - - - If you signed up before October 26, 2026, you have until November 25, 2026. Otherwise, your 30 days start on the day you sign up. - - - Your memories stay, and searches keep working up to 1,000 a month. New adds return an error until you connect a key. - - - Calls past the limit return an error until your limits reset next month. - - - Yes. We email the organization owner at 50%, 80% and 100% of each monthly limit, and of your usage-based billing cap. - - - -## Your own LLM key - - - - Adding a memory runs language model calls that extract and organize it. With your key, those calls bill to your provider account. That is how we keep the free plan free at higher limits. - - - It depends on the model. Our recommended models cost about \$3.55 to \$5.34 per 1,000 adds: GPT-6 Luna on OpenAI, Claude Haiku 5.5 on Anthropic and DeepSeek V4.1 Flash on OpenRouter. The [BYOK guide](/platform/features/byok#choose-a-model) compares accuracy and cost across every model we tested. - - - OpenAI, Anthropic, Azure OpenAI and OpenRouter. - - - Yes. The text you add is sent to your provider under your account and its terms. Mem0 stores your key encrypted, never shows it again after you save it, and you can remove it at any time. - - - Organization owners, in **Settings โ†’ BYOK**. One key covers every project in the organization. - - - Adds fail with a reason you can see in the dashboard, and we email the organization owner, at most once a day. Mem0 doesn't switch to its own key, so send the failed adds again once the key works. Searches keep working. - - - Your limits go back to the ones without a key, and usage-based billing stops until you connect a key again. Anything you used before removing it is still billed on your next invoice. - - - -## Vercel - - - - Nothing changes. Your plan is billed through Vercel. Organizations created through the Vercel Marketplace are managed from Vercel and can't use BYOK. - - - -## Need more - - - - Once you've connected your own key, you can turn on usage-based billing from your dashboard and set a monthly spending cap. For SSO, an SLA or a contract, [talk to us](https://app.mem0.ai/enterprise?ref=docs). - - - You pay only for adds and retrievals above your free limits, billed once a month. The rate is shown when you turn it on, and those extra calls stop when you reach your monthly cap. - - - Yes, at any time from your dashboard. If you turn it off, you're still billed for what you used before. - - - -## Learn more - - - - Connect your provider key, pick a model and fix failed adds. - - - Accuracy, cost and latency for every model we tested. - - diff --git a/examples/mem0-demo/package.json b/examples/mem0-demo/package.json index 32366bb8b..ef1f8d20a 100644 --- a/examples/mem0-demo/package.json +++ b/examples/mem0-demo/package.json @@ -28,7 +28,7 @@ "clsx": "^2.1.1", "js-cookie": "^3.0.6", "lucide-react": "^0.477.0", - "next": "15.5.28", + "next": "15.5.24", "react": "^19.0.0", "react-dom": "^19.0.0", "react-markdown": "^10.0.1", diff --git a/integrations/agent-plugin-core/typescript/src/lifecycle.ts b/integrations/agent-plugin-core/typescript/src/lifecycle.ts index 738ccc1c7..5fb527b0c 100644 --- a/integrations/agent-plugin-core/typescript/src/lifecycle.ts +++ b/integrations/agent-plugin-core/typescript/src/lifecycle.ts @@ -75,6 +75,8 @@ interface RecallOptions { maxChars?: number; seenIds?: Set; timeoutMs?: number; + /** Gate for marking memories as seen. Return false when the context will not reach the model. */ + canDeliver?: () => boolean; } interface MemoryLifecycleOptions { @@ -110,12 +112,14 @@ class MemoryLifecycle { prompt: string, enabled: boolean, search: (query: string) => Promise<{ results?: unknown[] }>, + canDeliver?: () => boolean, ): Promise { return buildRecallContext(prompt, enabled, search, { heading: this.#options.recallHeading, maxChars: this.#options.maxContextChars, seenIds: this.#seenMemoryIds, timeoutMs: this.#options.recallTimeoutMs, + canDeliver, }); } } @@ -156,6 +160,7 @@ export async function buildRecallContext( const suffix = "\n"; const maxChars = options.maxChars ?? DEFAULT_MAX_CONTEXT_CHARS; const lines: string[] = []; + const includedIds: string[] = []; for (const memory of unseen) { const line = `${lines.length + 1}. ${redactSecrets(formatMemoryCompact(memory)) .replace(/\s+/g, " ") @@ -164,15 +169,20 @@ export async function buildRecallContext( if (candidate.length > maxChars) { if (!lines.length) { const available = maxChars - prefix.length - suffix.length; - if (available > 1) lines.push(`${line.slice(0, available - 1).trimEnd()}โ€ฆ`); + if (available > 1) { + lines.push(`${line.slice(0, available - 1).trimEnd()}โ€ฆ`); + includedIds.push(memory.id); + } } break; } lines.push(line); - options.seenIds?.add(memory.id); + includedIds.push(memory.id); } if (!lines.length) return ""; - if (unseen[0] && !options.seenIds?.has(unseen[0].id)) options.seenIds?.add(unseen[0].id); + if (options.canDeliver?.() ?? true) { + for (const id of includedIds) options.seenIds?.add(id); + } return prefix + lines.join("\n") + suffix; } catch { return ""; diff --git a/integrations/agent-plugin-core/typescript/tests/lifecycle.test.ts b/integrations/agent-plugin-core/typescript/tests/lifecycle.test.ts index 7e1776eae..a24d084a5 100644 --- a/integrations/agent-plugin-core/typescript/tests/lifecycle.test.ts +++ b/integrations/agent-plugin-core/typescript/tests/lifecycle.test.ts @@ -20,6 +20,15 @@ test("one lifecycle owns recall state and resets it for a new session", async () assert.match(await lifecycle.recall("package manager", true, search), /Use pnpm/); }); +test("recall leaves memories unseen when delivery is not allowed", async () => { + const lifecycle = createMemoryLifecycle({ recallTimeoutMs: 50 }); + const search = async () => ({ results: [{ id: "m1", memory: "Use pnpm" }] }); + + assert.match(await lifecycle.recall("package manager", true, search, () => false), /Use pnpm/); + assert.match(await lifecycle.recall("package manager", true, search), /Use pnpm/); + assert.equal(await lifecycle.recall("package manager", true, search), ""); +}); + test("one lifecycle owns capture preparation", () => { const lifecycle = createMemoryLifecycle(); diff --git a/integrations/deepseek-plugin/README.md b/integrations/deepseek-plugin/README.md index d5cb3345a..1219e7758 100644 --- a/integrations/deepseek-plugin/README.md +++ b/integrations/deepseek-plugin/README.md @@ -13,7 +13,7 @@ It gives a Harness agent automatic long-term memory plus two explicit memory too Unlike the local/file-based memory plugins in the ecosystem, Mem0 is a managed backend: server-side extraction, semantic dedup and conflict resolution, and memories that other agents can retrieve when their user and entity filters match. -Current package version: `0.3.0`. +Current package version: `0.3.2`. Sidekick is available only in the [Claude Code plugin](../claude-code-plugin/README.md#sonnet-sidekick-agent). @@ -47,21 +47,27 @@ Cordis owns listener and tool cleanup when the plugin unmounts. Every automatic mkdir -p /tmp/mem0-deepseek-plugin pnpm pack --pack-destination /tmp/mem0-deepseek-plugin ``` -2. Set your Mem0 key: +2. Set your Mem0 key, a stable user identity, and a funded model API key: ```sh export MEM0_API_KEY=... + export MEM0_USER_ID=your-user-id + export DEEPSEEK_API_KEY=... ``` -3. Install it into a disposable Harness profile: +3. Install it into a disposable Harness profile (requires pnpm 10 or newer; pnpm 9 ignores the profile's `pnpm-workspace.yaml` settings and the install fails on an unpublished internal package): ```sh DSH_HOME=/tmp/mem0-dsh-dev pnpm dlx @deepseek-ai/dsh@0.1.1-rc.2 \ - plugin --profile headless add /tmp/mem0-deepseek-plugin/mem0-deepseek-plugin-0.3.0.tgz + plugin --profile web add /tmp/mem0-deepseek-plugin/mem0-deepseek-plugin-0.3.2.tgz ``` -4. Copy `cordis.example.yml`, set its installed package path and your `userId`, then run Harness with the same profile: +4. Run Harness with the same profile. The installed bundle activates Mem0 automatically: ```sh DSH_HOME=/tmp/mem0-dsh-dev pnpm dlx @deepseek-ai/dsh@0.1.1-rc.2 \ - web --patch ./integrations/deepseek-plugin/cordis.example.yml + web ``` -5. Open http://127.0.0.1:3080 and ask the agent to remember something, then recall it in a later turn. +5. Open http://127.0.0.1:3080, select a workspace, and state a synthetic preference without mentioning Mem0. Wait for asynchronous extraction to finish, then start a fresh session and ask for that preference without tools. Inspect the `mem0:recall` context to verify automatic recall. + +Build from the full repository: the source imports the sibling shared core. `pnpm pack` runs the build and includes the activation patch. An installed tarball is self-contained. For custom settings, copy `cordis.example.yml` and pass its absolute path with `--patch`. When upgrading from the old manual setup, remove the old patch that **inserts** a `mem0` row; the bundle now inserts it. + +On macOS, set `CHOKIDAR_USEPOLLING=1` if Harness reports `EMFILE`. The Mem0 key and model-provider key are separate credentials. For a Mem0 Platform on-prem or dedicated deployment, point `config.host` at that base URL (defaults to `api.mem0.ai`). `host` overrides the Platform base URL. It does not support the self-hosted Mem0 OSS API. @@ -71,6 +77,7 @@ For a Mem0 Platform on-prem or dedicated deployment, point `config.host` at that |---|---|---|---| | `apiKey` | no | `$MEM0_API_KEY` | Mem0 platform API key | | `userId` | yes | | Entity that owns the memories | +| `memoryScope` | no | `user` | `user` shares memory across workspaces; `workspace` isolates all automatic and explicit operations by the session workspace | | `allowUserOverride` | no | `false` | Permit model-selected access to a different user only in a trusted multi-user deployment | | `host` | no | `api.mem0.ai` | Platform base URL (on-prem / dedicated) | | `autoRecall` | no | `true` | Recall relevant memory before model requests | @@ -80,10 +87,20 @@ For a Mem0 Platform on-prem or dedicated deployment, point `config.host` at that Automatic capture and recall use the configured `userId` across sessions. Automatic writes do not attach a repository ID or `runId`. +This cross-workspace sharing is intentional compatibility behavior. Set `memoryScope: workspace` in the profile patch to isolate memory. The plugin then adds an `appId` derived from the canonical absolute session workspace path to every write and the matching `app_id` to every search. Symlink aliases share a scope; different directories (including separate clones or worktrees) do not. Moving a workspace changes its scope. Tools cannot override it. Missing or invalid workspace paths skip automatic memory operations and reject explicit tools, without falling back to user-wide access. + +Workspace scope does not migrate existing user-only memories. User scope still searches all memories for that user, including workspace-tagged memories; isolation applies when the plugin is configured with workspace scope. These filters are application-level separation, not separate Mem0 credentials. + Both `search_memory` and `add_memory` accept optional `agentId` and `runId`. On search, these narrow the returned memories; on add, they attach those identities to the stored memory. Pass a known `runId` to search memories explicitly saved with that session ID. This does not include automatically captured user-only memories or identify the session making the request. Per-call `userId` overrides are rejected unless the operator enables `allowUserOverride: true`. Automatic recall and capture always use the configured user. +## Extraction and recall limits + +The plugin sends full redacted completed turns to Mem0; Mem0 extracts the memories asynchronously. A queued write is not proof that every extracted fact is already searchable. Even an initial nonempty memory list can be incomplete. Check the stored memories after processing before diagnosing extraction loss. + +Automatic recall is a bounded first pass (up to five results, 4,000 context characters, and a two-second wait). `search_memory` uses a focused query and returns up to ten results by default. Exact preference extraction remains model-dependent; include filenames and numeric constraints in release tests, and distinguish standing preferences from one-off requests. + ## Telemetry Writes are tagged `source="DEEPSEEK_HARNESS"`. That value has to exist in the backend's `EventSource` enum for usage to surface by name; until it does, these writes read as `OTHERS`. It is added by [mem0ai/platform#3602](https://github.com/mem0ai/platform/pull/3602), which has to ship before this claim is true. diff --git a/integrations/deepseek-plugin/cordis.example.yml b/integrations/deepseek-plugin/cordis.example.yml index 5ed84b162..d5541e48a 100644 --- a/integrations/deepseek-plugin/cordis.example.yml +++ b/integrations/deepseek-plugin/cordis.example.yml @@ -1,17 +1,11 @@ -# Example DeepSeek Harness config that loads deepseek-plugin alongside the built-in -# tools plugin. Load with: -# -# DSH_HOME=/tmp/mem0-dsh-dev pnpm dlx @deepseek-ai/dsh@0.1.1-rc.2 \ -# web --patch ./integrations/deepseek-plugin/cordis.example.yml -# -- insert: - - id: mem0 - # Install the packed plugin into this disposable profile first; loading - # raw dist bypasses Harness's peer dependency installation. - name: "/tmp/mem0-dsh-dev/profiles/headless/node_modules/@mem0/deepseek-plugin/dist/index.js" - config: - # apiKey is read from the MEM0_API_KEY env var when omitted here. - userId: "your-user-id" - # autoRecall: true # optional; enabled by default - # autoCapture: true # optional; enabled by default - # host: "https://your-onprem.mem0.ai" # optional: Platform on-prem / dedicated base URL +# Optional override for the mem0 row installed by dsh.bundle. +# Copy this file, then use: dsh web --patch /absolute/path/to/cordis.yml +- id: mem0 + config: + # Replacing a row's config requires restating its userId. + # apiKey is read from MEM0_API_KEY when omitted here. + userId: !!js process.env.MEM0_USER_ID + memoryScope: workspace # optional; default is user (shared across workspaces) + # autoRecall: true + # autoCapture: true + # host: "https://your-onprem.mem0.ai" # Mem0 Platform dedicated deployment diff --git a/integrations/deepseek-plugin/cordis.patch.yml b/integrations/deepseek-plugin/cordis.patch.yml new file mode 100644 index 000000000..2c40d5a10 --- /dev/null +++ b/integrations/deepseek-plugin/cordis.patch.yml @@ -0,0 +1,6 @@ +- insert: + - id: mem0 + name: "@mem0/deepseek-plugin" + config: + # Credentials stay in the process environment, not the bundle. + userId: !!js process.env.MEM0_USER_ID diff --git a/integrations/deepseek-plugin/package.json b/integrations/deepseek-plugin/package.json index 3de2d4f13..aa97c76d4 100644 --- a/integrations/deepseek-plugin/package.json +++ b/integrations/deepseek-plugin/package.json @@ -29,13 +29,21 @@ "publishConfig": { "access": "public" }, + "dsh": { + "bundle": { + "patch": "./cordis.patch.yml" + } + }, "files": [ "dist", + "cordis.patch.yml", + "cordis.example.yml", "README.md", "LICENSE" ], "scripts": { "build": "tsup", + "prepack": "pnpm build", "test": "vitest run", "test:watch": "vitest", "typecheck": "tsc --noEmit" @@ -60,12 +68,5 @@ "tsup": "^8.5.0", "typescript": "^5.6.0", "vitest": "^4.1.7" - }, - "pnpm": { - "overrides": { - "axios@<1.20.0": ">=1.20.0 <2.0.0", - "follow-redirects@<1.16.2": ">=1.16.2 <2.0.0", - "vite@>=8.2.0 <8.2.4": ">=8.2.4 <9.0.0" - } } } diff --git a/integrations/deepseek-plugin/pnpm-lock.yaml b/integrations/deepseek-plugin/pnpm-lock.yaml index e56466e4a..1444b53d4 100644 --- a/integrations/deepseek-plugin/pnpm-lock.yaml +++ b/integrations/deepseek-plugin/pnpm-lock.yaml @@ -4,11 +4,6 @@ settings: autoInstallPeers: false excludeLinksFromLockfile: false -overrides: - axios@<1.20.0: '>=1.20.0 <2.0.0' - follow-redirects@<1.16.2: '>=1.16.2 <2.0.0' - vite@>=8.2.0 <8.2.4: '>=8.2.4 <9.0.0' - importers: .: @@ -37,7 +32,7 @@ importers: version: 22.20.1 tsup: specifier: ^8.5.0 - version: 8.5.1(postcss@8.5.32)(typescript@5.9.3) + version: 8.5.1(postcss@8.5.26)(typescript@5.9.3) typescript: specifier: ^5.6.0 version: 5.9.3 @@ -282,95 +277,95 @@ packages: cpu: [x64] os: [linux] - '@oxc-project/types@0.156.0': - resolution: {integrity: sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==} + '@oxc-project/types@0.146.0': + resolution: {integrity: sha512-XC0QsnnhVe7sLIWmYmdPw7x5P0h4W8vUU3Nv1ySgWXtvCz8NizoAEpGXA0sOYoJQV2Rl13LgURAHQ5cI5ILCSA==} - '@rolldown/binding-android-arm-eabi@1.2.16': - resolution: {integrity: sha512-ia3DwAs0OsMGS7+IConptSiyk9pEXkOx/AbJ2n/lAGxH3QkWQus1t8d7gnAT38FCU2sQu8lUbeR6AiZFv4JxaA==} + '@rolldown/binding-android-arm-eabi@1.2.5': + resolution: {integrity: sha512-DLe/i+l8ynIBY7XEQ191TeZvCoowIGa18R+dIV30GW7DiOtp74i/xX8hs8GUjW5ARV7VZuie3d6AumSmCwbeRA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@rolldown/binding-android-arm64@1.2.16': - resolution: {integrity: sha512-kx5wBiMB6E7TEvpl2B9gjLU004BkvEm2Dr941BFjx/SontPwSzNuQUIoVKxHHoSjpFIfHMmcguyLOtyn0hObRg==} + '@rolldown/binding-android-arm64@1.2.5': + resolution: {integrity: sha512-zXcwKlQApYAOELHd8PwKDFkagYF9Wy4e0RJ+0qnzl9Pjnpj75TEG8ufv40p2J7kCEfwZAsNiuzRIyNNMWT38ig==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.2.16': - resolution: {integrity: sha512-qslZrXnKJU4cUpjoAmtAo/KQM9e2IRMlmpig6Zpwj+8KWxW8v+nkAf9216Bsek9lOC1jvg2yCjygCFo2f83msQ==} + '@rolldown/binding-darwin-arm64@1.2.5': + resolution: {integrity: sha512-dK4QakI42nzWgJT5sm4y4y/O//D4OxM75/cH28RLV+nzIN9AY+YsbuUVrUTjlLjXR6vpyxFbSsbmNuJ6BP9sww==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.2.16': - resolution: {integrity: sha512-FdF+y48ND13eAyM2mQn+85kvAqNlvRWROy2rhgA463X/0Gv4vGtazZtfaF1mRBLscYvtOlh4QnLjOWiFzX69OQ==} + '@rolldown/binding-darwin-x64@1.2.5': + resolution: {integrity: sha512-fqSALaUu1Wjd1nK2uW2kJDWdLCc8lx1IcY+MTY26Aurfdx19anlzhqXOgCFbBFQnlFDTn4TC1/7Nz4Bl2mLP3A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.2.16': - resolution: {integrity: sha512-ddjqFM5e95AgLbUPtKIS7V1KTVlA0RUgCVr5mn+/IEhsdy3pr+Vuj/HZ7nlMN2FyxIwUktOH1LEPIQXO1v9y1Q==} + '@rolldown/binding-freebsd-x64@1.2.5': + resolution: {integrity: sha512-/vCnNxlkxs9tKxNDcyWUePpJ/PgTzxIaVhoM5SmG8UV+GR/IcPam4VYxi7GIMo7PSDuNqlJqvprqii9NqqVCMw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.2.16': - resolution: {integrity: sha512-tHdKWbFkFBI687iim3LIyIvyL7j66VvQYkDPss5Stn/qyE2tWkR1YD0dXmXPFKKqT/o5ZEJVsaRsWS2meQwGOA==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.5': + resolution: {integrity: sha512-abk0NLA519LxRCszmbE0jYKuQ9YPocOXTiOXOo6Yr+YAT95VH+PtqYAjOJvGKt3viEd/x4qzabAlwd5bHOOARg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.2.16': - resolution: {integrity: sha512-FJiLGAblPBMlBEdbOqw6kW6QcXDWAf/oJu7gYs9ZJZwmg+K+/zjFLxPTIY9izJUzxzc24FHvmseyA0IvJSl17w==} + '@rolldown/binding-linux-arm64-gnu@1.2.5': + resolution: {integrity: sha512-Y7eALiJ8lr0M2HH103Js+g7V34wf6snlpZLAsHI90uLhr3PVlNsbFVAXJC9d/V6BnPyKtpSwI+NcB/RLxsQxuA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - '@rolldown/binding-linux-arm64-musl@1.2.16': - resolution: {integrity: sha512-hrJpblMsrQ58U9veWpbXzkhV5zStunds6HWLprqq1qauvgBr1E6P+24kLj6lSLI9vjRn/RYpjprhkHQPKGWpNg==} + '@rolldown/binding-linux-arm64-musl@1.2.5': + resolution: {integrity: sha512-xMvZgnbZg4YVnR/AX2b3oOPDTFYJvUVaJg5FedA/LuvexAtXibZQej4cnTkw3rjsJ/ggUROB64TdtETiim+FYA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - '@rolldown/binding-linux-ppc64-gnu@1.2.16': - resolution: {integrity: sha512-qJd/dC6j6CwLG9/s/RP2nb1RZ0GIgj7Ioj7x/SYa3RzjVrlzrmH0fhIOpfvqQDeIsdP0loi+kHaMhJzY1PBIaA==} + '@rolldown/binding-linux-ppc64-gnu@1.2.5': + resolution: {integrity: sha512-GRjeqTUDHTo5GwntsLaAMcBahG3nlpjftXWZLN73HiYQlhwEowvarFgQnRnQZtIp4keXX7quXFbG38uPZBa2EA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] - '@rolldown/binding-linux-s390x-gnu@1.2.16': - resolution: {integrity: sha512-Vx7Xg5uUJuNcujJjI70OICaH0EYj80BtOLZTSN7uOYg8QOLlyKnaG0IW7Fn/J0IpJsaKzmDKMhOQv1JBM9m9vg==} + '@rolldown/binding-linux-s390x-gnu@1.2.5': + resolution: {integrity: sha512-vLNTR45F2Uwc8AufkNXPmB4VliaXs+FvcheEogIzOXzO4l+LzieXF5A/TWxLy5HtqpsRCHUfd0lPVrrdgXdLHQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] - '@rolldown/binding-linux-x64-gnu@1.2.16': - resolution: {integrity: sha512-TNKhgE3uJTsTzatUSSYt0Kgo+Oa2uSlSjz4r1aEIea7HX6ULBym4fAlYUhG1i6pjNf2njfCUAfKwr6C3E9Xg1w==} + '@rolldown/binding-linux-x64-gnu@1.2.5': + resolution: {integrity: sha512-Mgj59/HTuYeK9Gz2MA+mBWKnHsAgkBSec15ZMb1st3oIfFbX7gCjOae7GydHhzcyQi9Z/7M1QuN9bR3oFqF0jQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - '@rolldown/binding-linux-x64-musl@1.2.16': - resolution: {integrity: sha512-7chXdpjXZ8qG0+mIxECN3cT9kvhZ3/oZhMX6Pp876P7CDrIy8nJswva6Mq357JR7eYXfuskwZxMeV1SzoZdHrA==} + '@rolldown/binding-linux-x64-musl@1.2.5': + resolution: {integrity: sha512-mY8AP0/ichsbhAxGnLa3d3+MwV0EfgrPND2bplI3Ym8T6R2pJ0N87bvrKVwNXmdy3jnr6eQBecdqx/HMknBmpA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - '@rolldown/binding-openharmony-arm64@1.2.16': - resolution: {integrity: sha512-Kwjt+7uNTJK5/MDkGWGVO2KQPnj8yAV75dMpfwyHZrJSXWHrniOB0aUEWlVYf3H1hOqFLIStLdM5QXq6bnKmOQ==} + '@rolldown/binding-openharmony-arm64@1.2.5': + resolution: {integrity: sha512-8SLssA2oweAxyRgDp789ACfRb/3P+zNRJpzZxSizxF9m8NUDQ4+3xjo8ttjhVGGw6Qxb70oZiEtIjaKikCO7Yw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-win32-arm64-msvc@1.2.16': - resolution: {integrity: sha512-/LH6WfjDRXXJz/p5xl4TmU+jpcnwcxbKEQBW/GZE0JHfN0lGIyTtsUEGaQ/q/GikkGJ2yLKe6pwm7AnEWO8pdw==} + '@rolldown/binding-win32-arm64-msvc@1.2.5': + resolution: {integrity: sha512-vGbruD5zquhoc8D9SViXgN2FBJtNdTyQ4DtG+SWiEGlJiAzoKcZ2xp+xuXCffhubVdt0NJlTZqkeRuERy7g8Cw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.2.16': - resolution: {integrity: sha512-1lv1KvX0Z871zfk7vw+dnXMMnHNyDwMzWG8Kv3HxDXMOhzCX4SHc7HK319fInP0i+0p9D8brkfzL7pJOaGl+tw==} + '@rolldown/binding-win32-x64-msvc@1.2.5': + resolution: {integrity: sha512-e/SXpgISz+IoqVcSSI0rx/d/he8zqLex+/rCWpnHpmVfmPIUjag9H6P7zotf0gJHwPUhQxZ/mF8tr6acebT9yw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -531,7 +526,7 @@ packages: resolution: {integrity: sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==} peerDependencies: msw: ^2.4.9 - vite: '>=8.2.4 <9.0.0' + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: msw: optional: true @@ -580,8 +575,8 @@ packages: asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - axios@1.20.0: - resolution: {integrity: sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==} + axios@1.19.0: + resolution: {integrity: sha512-ht/iuYZXEjFxLH/Hkezgd7m6JKlHHXEUSneaDz8uZe1Gj5QZtCnpyDsckvAiEnT89OEbCLmnte4R4sn7P0EKFw==} bundle-require@5.1.0: resolution: {integrity: sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==} @@ -691,8 +686,8 @@ packages: fix-dts-default-cjs-exports@1.0.1: resolution: {integrity: sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==} - follow-redirects@1.16.2: - resolution: {integrity: sha512-/kVP2U8z596Ia0gwFrwyIeo74ta5aVmSeU1FfAUMAmcEP5EP7zydmag3SLiN64NaRKef3lxsq7i/g7ltJQDGow==} + follow-redirects@1.16.0: + resolution: {integrity: sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -977,8 +972,8 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nanoid@3.3.20: - resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==} + nanoid@3.3.18: + resolution: {integrity: sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -1026,10 +1021,6 @@ packages: resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==} engines: {node: '>=12'} - picomatch@4.0.7: - resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} - engines: {node: '>=12'} - pirates@4.0.7: resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} engines: {node: '>= 6'} @@ -1055,8 +1046,8 @@ packages: yaml: optional: true - postcss@8.5.32: - resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} + postcss@8.5.26: + resolution: {integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==} engines: {node: ^10 || ^12 || >=14} proxy-from-env@2.1.0: @@ -1071,8 +1062,8 @@ packages: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} - rolldown@1.2.16: - resolution: {integrity: sha512-bWvlMpFKiTfDKfnK7FC2MPgPeWCf/Kpwsq49ApdW+FQaBZb6O6dZ4MAPbPUjp7hYQrw/RobqCzn64BRrQecGHw==} + rolldown@1.2.5: + resolution: {integrity: sha512-VD2IE5PUG4Oj8zz2VGykiYd5wbnjdIiSsNQb8Qu5B+noEp+A78mu2iVvpp27g8es14Tk9rofNs5Tku9iQCS4fA==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -1084,8 +1075,8 @@ packages: siginfo@2.0.0: resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} - source-map-js@1.2.2: - resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} source-map@0.7.6: @@ -1175,13 +1166,13 @@ packages: resolution: {integrity: sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==} hasBin: true - vite@8.3.6: - resolution: {integrity: sha512-UI7dK29NnS54Fk+mmo7o+jI6U8Fp7hDl+X5Q1k45WH+d4dSlbLVUETGQ+hfkNgvLQGyoElPj837nZyv4MBc0VA==} + vite@8.2.2: + resolution: {integrity: sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.7.1 || ^0.8.0 + '@vitejs/devtools': ^0.4.0 || ^0.5.0 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -1408,51 +1399,51 @@ snapshots: '@napi-rs/lzma-linux-x64-gnu@1.5.1': optional: true - '@oxc-project/types@0.156.0': {} + '@oxc-project/types@0.146.0': {} - '@rolldown/binding-android-arm-eabi@1.2.16': + '@rolldown/binding-android-arm-eabi@1.2.5': optional: true - '@rolldown/binding-android-arm64@1.2.16': + '@rolldown/binding-android-arm64@1.2.5': optional: true - '@rolldown/binding-darwin-arm64@1.2.16': + '@rolldown/binding-darwin-arm64@1.2.5': optional: true - '@rolldown/binding-darwin-x64@1.2.16': + '@rolldown/binding-darwin-x64@1.2.5': optional: true - '@rolldown/binding-freebsd-x64@1.2.16': + '@rolldown/binding-freebsd-x64@1.2.5': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.2.16': + '@rolldown/binding-linux-arm-gnueabihf@1.2.5': optional: true - '@rolldown/binding-linux-arm64-gnu@1.2.16': + '@rolldown/binding-linux-arm64-gnu@1.2.5': optional: true - '@rolldown/binding-linux-arm64-musl@1.2.16': + '@rolldown/binding-linux-arm64-musl@1.2.5': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.2.16': + '@rolldown/binding-linux-ppc64-gnu@1.2.5': optional: true - '@rolldown/binding-linux-s390x-gnu@1.2.16': + '@rolldown/binding-linux-s390x-gnu@1.2.5': optional: true - '@rolldown/binding-linux-x64-gnu@1.2.16': + '@rolldown/binding-linux-x64-gnu@1.2.5': optional: true - '@rolldown/binding-linux-x64-musl@1.2.16': + '@rolldown/binding-linux-x64-musl@1.2.5': optional: true - '@rolldown/binding-openharmony-arm64@1.2.16': + '@rolldown/binding-openharmony-arm64@1.2.5': optional: true - '@rolldown/binding-win32-arm64-msvc@1.2.16': + '@rolldown/binding-win32-arm64-msvc@1.2.5': optional: true - '@rolldown/binding-win32-x64-msvc@1.2.16': + '@rolldown/binding-win32-x64-msvc@1.2.5': optional: true '@rolldown/pluginutils@1.0.1': {} @@ -1565,13 +1556,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.1 - '@vitest/mocker@4.1.11(vite@8.3.6(@types/node@22.20.1)(esbuild@0.27.7))': + '@vitest/mocker@4.1.11(vite@8.2.2(@types/node@22.20.1)(esbuild@0.27.7))': dependencies: '@vitest/spy': 4.1.11 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 8.3.6(@types/node@22.20.1)(esbuild@0.27.7) + vite: 8.2.2(@types/node@22.20.1)(esbuild@0.27.7) '@vitest/pretty-format@4.1.11': dependencies: @@ -1619,9 +1610,9 @@ snapshots: asynckit@0.4.0: {} - axios@1.20.0: + axios@1.19.0: dependencies: - follow-redirects: 1.16.2 + follow-redirects: 1.16.0 form-data: 4.0.6 https-proxy-agent: 5.0.1 proxy-from-env: 2.1.0 @@ -1737,7 +1728,7 @@ snapshots: mlly: 1.8.2 rollup: 4.62.5 - follow-redirects@1.16.2: {} + follow-redirects@1.16.0: {} form-data-encoder@1.7.2: {} @@ -1865,7 +1856,7 @@ snapshots: mem0ai@3.1.6: dependencies: - axios: 1.20.0 + axios: 1.19.0 openai: 4.104.0(zod@3.25.76) uuid: 11.1.1 zod: 3.25.76 @@ -1896,7 +1887,7 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nanoid@3.3.20: {} + nanoid@3.3.18: {} node-domexception@1.0.0: {} @@ -1928,8 +1919,6 @@ snapshots: picomatch@4.0.5: {} - picomatch@4.0.7: {} - pirates@4.0.7: {} pkg-types@1.3.1: @@ -1938,17 +1927,17 @@ snapshots: mlly: 1.8.2 pathe: 2.0.3 - postcss-load-config@6.0.1(postcss@8.5.32): + postcss-load-config@6.0.1(postcss@8.5.26): dependencies: lilconfig: 3.1.3 optionalDependencies: - postcss: 8.5.32 + postcss: 8.5.26 - postcss@8.5.32: + postcss@8.5.26: dependencies: - nanoid: 3.3.20 + nanoid: 3.3.18 picocolors: 1.1.1 - source-map-js: 1.2.2 + source-map-js: 1.2.1 proxy-from-env@2.1.0: {} @@ -1956,26 +1945,26 @@ snapshots: resolve-from@5.0.0: {} - rolldown@1.2.16: + rolldown@1.2.5: dependencies: - '@oxc-project/types': 0.156.0 + '@oxc-project/types': 0.146.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm-eabi': 1.2.16 - '@rolldown/binding-android-arm64': 1.2.16 - '@rolldown/binding-darwin-arm64': 1.2.16 - '@rolldown/binding-darwin-x64': 1.2.16 - '@rolldown/binding-freebsd-x64': 1.2.16 - '@rolldown/binding-linux-arm-gnueabihf': 1.2.16 - '@rolldown/binding-linux-arm64-gnu': 1.2.16 - '@rolldown/binding-linux-arm64-musl': 1.2.16 - '@rolldown/binding-linux-ppc64-gnu': 1.2.16 - '@rolldown/binding-linux-s390x-gnu': 1.2.16 - '@rolldown/binding-linux-x64-gnu': 1.2.16 - '@rolldown/binding-linux-x64-musl': 1.2.16 - '@rolldown/binding-openharmony-arm64': 1.2.16 - '@rolldown/binding-win32-arm64-msvc': 1.2.16 - '@rolldown/binding-win32-x64-msvc': 1.2.16 + '@rolldown/binding-android-arm-eabi': 1.2.5 + '@rolldown/binding-android-arm64': 1.2.5 + '@rolldown/binding-darwin-arm64': 1.2.5 + '@rolldown/binding-darwin-x64': 1.2.5 + '@rolldown/binding-freebsd-x64': 1.2.5 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.5 + '@rolldown/binding-linux-arm64-gnu': 1.2.5 + '@rolldown/binding-linux-arm64-musl': 1.2.5 + '@rolldown/binding-linux-ppc64-gnu': 1.2.5 + '@rolldown/binding-linux-s390x-gnu': 1.2.5 + '@rolldown/binding-linux-x64-gnu': 1.2.5 + '@rolldown/binding-linux-x64-musl': 1.2.5 + '@rolldown/binding-openharmony-arm64': 1.2.5 + '@rolldown/binding-win32-arm64-msvc': 1.2.5 + '@rolldown/binding-win32-x64-msvc': 1.2.5 rollup@4.62.5: dependencies: @@ -2011,7 +2000,7 @@ snapshots: siginfo@2.0.0: {} - source-map-js@1.2.2: {} + source-map-js@1.2.1: {} source-map@0.7.6: {} @@ -2056,7 +2045,7 @@ snapshots: ts-interface-checker@0.1.13: {} - tsup@8.5.1(postcss@8.5.32)(typescript@5.9.3): + tsup@8.5.1(postcss@8.5.26)(typescript@5.9.3): dependencies: bundle-require: 5.1.0(esbuild@0.27.7) cac: 6.7.14 @@ -2067,7 +2056,7 @@ snapshots: fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(postcss@8.5.32) + postcss-load-config: 6.0.1(postcss@8.5.26) resolve-from: 5.0.0 rollup: 4.62.5 source-map: 0.7.6 @@ -2076,7 +2065,7 @@ snapshots: tinyglobby: 0.2.17 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.5.32 + postcss: 8.5.26 typescript: 5.9.3 transitivePeerDependencies: - jiti @@ -2094,12 +2083,12 @@ snapshots: uuid@11.1.1: {} - vite@8.3.6(@types/node@22.20.1)(esbuild@0.27.7): + vite@8.2.2(@types/node@22.20.1)(esbuild@0.27.7): dependencies: lightningcss: 1.33.0 - picomatch: 4.0.7 - postcss: 8.5.32 - rolldown: 1.2.16 + picomatch: 4.0.5 + postcss: 8.5.26 + rolldown: 1.2.5 tinyglobby: 0.2.17 optionalDependencies: '@types/node': 22.20.1 @@ -2109,7 +2098,7 @@ snapshots: vitest@4.1.11(@types/node@22.20.1)(esbuild@0.27.7): dependencies: '@vitest/expect': 4.1.11 - '@vitest/mocker': 4.1.11(vite@8.3.6(@types/node@22.20.1)(esbuild@0.27.7)) + '@vitest/mocker': 4.1.11(vite@8.2.2(@types/node@22.20.1)(esbuild@0.27.7)) '@vitest/pretty-format': 4.1.11 '@vitest/runner': 4.1.11 '@vitest/snapshot': 4.1.11 @@ -2126,7 +2115,7 @@ snapshots: tinyexec: 1.3.0 tinyglobby: 0.2.17 tinyrainbow: 3.1.1 - vite: 8.3.6(@types/node@22.20.1)(esbuild@0.27.7) + vite: 8.2.2(@types/node@22.20.1)(esbuild@0.27.7) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.20.1 diff --git a/integrations/deepseek-plugin/src/index.ts b/integrations/deepseek-plugin/src/index.ts index c5eb64390..abc846a0d 100644 --- a/integrations/deepseek-plugin/src/index.ts +++ b/integrations/deepseek-plugin/src/index.ts @@ -18,7 +18,7 @@ import { defineTool } from "@deepseek-ai/dsh-tools"; import { MemoryClient } from "mem0ai"; import { formatMemoryList, formatAddResult } from "./formatting.ts"; import { truncateOutput } from "./output.ts"; -import { resolveSearchFilters, resolveAddParams } from "./scoping.ts"; +import { resolveSearchFilters, resolveAddParams, resolveWorkspaceId } from "./scoping.ts"; import { captureEvent, errorKind } from "./telemetry.ts"; import { createMemoryLifecycle } from "../../agent-plugin-core/typescript/src/lifecycle.ts"; import { @@ -48,6 +48,7 @@ interface HarnessMessage { interface SessionState { lifecycle: ReturnType; messages: HarnessMessage[]; + currentPrompt?: string; } export interface Config { @@ -55,6 +56,8 @@ export interface Config { apiKey?: string; /** Default entity that owns the memories (Mem0 user scope). */ userId: string; + /** Share user memory across workspaces (default), or isolate by session workspace. */ + memoryScope?: "user" | "workspace"; /** Explicitly allow model-selected cross-user access. Defaults to false. */ allowUserOverride?: boolean; /** Optional Mem0 Platform base-URL override (on-prem / dedicated); defaults to api.mem0.ai. Not a switch to self-hosted OSS. */ @@ -102,6 +105,19 @@ export function apply(ctx: Context, config: Config): void { if (!userId || /^\*+$/.test(userId)) { throw new Error("deepseek-plugin: config.userId is required"); } + if (config.memoryScope !== undefined && !["user", "workspace"].includes(config.memoryScope)) { + throw new Error("deepseek-plugin: config.memoryScope must be user or workspace"); + } + const workspaceId = (session?: { header: { cwd?: string } }) => + config.memoryScope === "workspace" ? resolveWorkspaceId(session?.header.cwd) : undefined; + const searchFilters = (params: Parameters[0], session?: { header: { cwd?: string } }) => { + const appId = workspaceId(session); + return { ...resolveSearchFilters(params, userId), ...(appId ? { app_id: appId } : {}) }; + }; + const addParams = (params: Parameters[0], session?: { header: { cwd?: string } }) => { + const appId = workspaceId(session); + return { ...resolveAddParams(params, userId), ...(appId ? { appId } : {}) }; + }; const client = new MemoryClient({ apiKey, @@ -127,13 +143,20 @@ export function apply(ctx: Context, config: Config): void { }, client); if (config.autoRecall !== false) { + // Harness assembles the prompt before appending claimed messages to history. + ctx.on("agent/inbox/claimed", ({ agent, message }) => { + if (message.source.kind !== "user") return; + const state = stateFor(agent.session); + state.currentPrompt = state.lifecycle.prepareConversation([message]).at(-1)?.content; + }); + ctx.on("system-prompt/assemble", async (_input, context, next): Promise => { const assembly = await next(); const { agent, signal } = context; if (!agent || signal?.aborted) return assembly; const state = stateFor(agent.session); - const prompt = state.lifecycle.prepareConversation( + const prompt = state.currentPrompt ?? state.lifecycle.prepareConversation( agent.session .deriveMessages() .filter((message) => message.role === "user" && message.source?.kind === "user"), @@ -144,7 +167,7 @@ export function apply(ctx: Context, config: Config): void { const started = Date.now(); try { const result = await client.search(query, { - filters: resolveSearchFilters({}, userId), + filters: searchFilters({}, agent.session), topK: AUTO_RECALL_LIMIT, }); captureEvent("deepseek.recall.auto", { @@ -161,7 +184,7 @@ export function apply(ctx: Context, config: Config): void { }, client); throw err; } - }); + }, () => !signal?.aborted); if (!memoryContext || signal?.aborted) return assembly; return { ...assembly, @@ -183,8 +206,8 @@ export function apply(ctx: Context, config: Config): void { const conversation = state.lifecycle.prepareConversation(state.messages); state.messages = []; if (event.data.reason.kind !== "completed" || conversation.length === 0) return; - void client - .add(conversation, { userId, source: SOURCE }) + void Promise.resolve() + .then(() => client.add(conversation, { ...addParams({}, session), source: SOURCE })) .then(() => captureEvent("deepseek.capture.auto", { success: true, message_count: conversation.length, @@ -212,12 +235,12 @@ export function apply(ctx: Context, config: Config): void { ...scopeParams, }, output: textOutput, - async execute({ query, limit, userId: u, agentId, runId }) { + async execute({ query, limit, userId: u, agentId, runId }, exec) { if (u?.trim() && u.trim() !== userId && config.allowUserOverride !== true) { throw new Error("Cross-user access requires allowUserOverride in plugin configuration."); } const safeQuery = toolLifecycle.prepareUserText(query); - const filters = resolveSearchFilters({ userId: u, agentId, runId }, userId); + const filters = searchFilters({ userId: u, agentId, runId }, exec.agent?.session); const topK = limit && limit > 0 ? limit : DEFAULT_SEARCH_LIMIT; const started = Date.now(); try { @@ -265,17 +288,17 @@ export function apply(ctx: Context, config: Config): void { ...scopeParams, }, output: textOutput, - async execute({ text, userId: u, agentId, runId }) { + async execute({ text, userId: u, agentId, runId }, exec) { if (u?.trim() && u.trim() !== userId && config.allowUserOverride !== true) { throw new Error("Cross-user access requires allowUserOverride in plugin configuration."); } - const addParams = resolveAddParams({ userId: u, agentId, runId }, userId); + const params = addParams({ userId: u, agentId, runId }, exec.agent?.session); const started = Date.now(); try { const result = await client.add( [{ role: "user", content: toolLifecycle.prepareUserText(text) }], { - ...addParams, + ...params, source: SOURCE, }, ); diff --git a/integrations/deepseek-plugin/src/scoping.ts b/integrations/deepseek-plugin/src/scoping.ts index ac471b0aa..8c87d73bb 100644 --- a/integrations/deepseek-plugin/src/scoping.ts +++ b/integrations/deepseek-plugin/src/scoping.ts @@ -1,5 +1,16 @@ +import { createHash } from "node:crypto"; +import { realpathSync } from "node:fs"; +import { isAbsolute } from "node:path"; + export { entityAddParams as resolveAddParams, entitySearchFilters as resolveSearchFilters, } from "../../agent-plugin-core/typescript/src/identity.ts"; export type { EntityParams } from "../../agent-plugin-core/typescript/src/identity.ts"; + +export function resolveWorkspaceId(cwd: string | undefined): string { + if (!cwd || !isAbsolute(cwd)) { + throw new Error("Workspace memory scope requires an absolute session workspace path."); + } + return `deepseek-workspace-${createHash("sha256").update(realpathSync(cwd)).digest("hex")}`; +} diff --git a/integrations/deepseek-plugin/tests/apply.test.ts b/integrations/deepseek-plugin/tests/apply.test.ts index 797b69695..9184cc6a2 100644 --- a/integrations/deepseek-plugin/tests/apply.test.ts +++ b/integrations/deepseek-plugin/tests/apply.test.ts @@ -1,4 +1,7 @@ import { describe, it, expect, vi, beforeEach, afterEach } from "vitest"; +import { mkdtempSync, mkdirSync, rmSync, symlinkSync } from "node:fs"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; // Offline mock of the Mem0 SDK so these tests never touch the network. const mockSearch = vi.fn(); @@ -75,6 +78,11 @@ describe("apply() config validation", () => { expect(() => applyAndCollect({ apiKey: "k", userId: "" } as Config)).toThrow(/userId/); }); + it("rejects unknown memory scope instead of silently using user-wide access", () => { + expect(() => applyAndCollect({ apiKey: "k", userId: "u", memoryScope: "typo" } as unknown as Config)) + .toThrow(/memoryScope/); + }); + it("registers both memory tools", () => { const tools = applyAndCollect({ apiKey: "k", userId: "u" }); expect([...tools.keys()].sort()).toEqual(["add_memory", "search_memory"]); @@ -82,6 +90,65 @@ describe("apply() config validation", () => { }); describe("Harness lifecycle", () => { + it("delivers a recalled memory on retry after the first attempt was canceled", async () => { + const response = { results: [{ id: "m1", memory: "A saved fact" }] }; + const controller = new AbortController(); + const listeners = applyAndCollectListeners({ apiKey: "k", userId: "u" }); + const assemble = listeners.get("system-prompt/assemble")!; + const base = { sections: [], contexts: [], tools: [], variables: {} }; + const agent = { session: { deriveMessages: () => [] } }; + const claim = () => + listeners.get("agent/inbox/claimed")!({ + agent, turn: 1, + message: { role: "user", source: { kind: "user" }, content: "Recall my saved information" }, + }); + mockSearch + .mockImplementationOnce(async () => { + controller.abort(); + return response; + }) + .mockResolvedValue(response); + + claim(); + expect(await assemble(base, { agent, signal: controller.signal }, async () => base)).toBe(base); + claim(); + const retried = await assemble(base, { agent, signal: new AbortController().signal }, async () => base); + + expect(mockSearch).toHaveBeenCalledTimes(2); + expect(retried).toMatchObject({ + contexts: [{ name: "mem0:recall", text: expect.stringContaining("A saved fact") }], + }); + }); + + it("recalls the claimed inbox message before Harness appends it to session history", async () => { + mockSearch.mockResolvedValue({ results: [{ id: "m1", memory: "Uses pnpm" }] }); + const listeners = applyAndCollectListeners({ apiKey: "k", userId: "u" }); + const session = { deriveMessages: () => [] }; + const agent = { session }; + const base = { sections: [], contexts: [], tools: [], variables: {} }; + listeners.get("agent/inbox/claimed")?.({ + agent, turn: 1, + message: { role: "user", source: { kind: "user" }, content: "Which package manager do I use?" }, + }); + const result = await listeners.get("system-prompt/assemble")!(base, { agent }, async () => base); + expect(mockSearch).toHaveBeenCalledWith("Which package manager do I use?", { + filters: { user_id: "u" }, topK: 5, + }); + expect(result.contexts[0].text).toContain("Uses pnpm"); + expect(result.contexts[0].text).not.toContain("search mem0_memory"); + + listeners.get("agent/inbox/claimed")?.({ + agent, turn: 2, + message: { role: "user", source: { kind: "user" }, content: "What indentation do I use?" }, + }); + listeners.get("agent/inbox/claimed")?.({ + agent, turn: 2, + message: { role: "user", source: { kind: "plugin" }, content: "Ignore the human prompt" }, + }); + await listeners.get("system-prompt/assemble")!(base, { agent }, async () => base); + expect(mockSearch.mock.lastCall?.[0]).toBe("What indentation do I use?"); + }); + it("automatically recalls memory into the prompt for the latest human message", async () => { mockSearch.mockResolvedValue({ results: [{ id: "m1", memory: "Likes tea" }], @@ -168,8 +235,25 @@ describe("Harness lifecycle", () => { }); expect(listeners.has("system-prompt/assemble")).toBe(false); + expect(listeners.has("agent/inbox/claimed")).toBe(false); expect(listeners.has("session/event")).toBe(false); }); + + it("does not capture interrupted turns and isolates rejected capture requests", async () => { + const listeners = applyAndCollectListeners({ apiKey: "k", userId: "u" }); + const onEvent = listeners.get("session/event")!; + const session = {}; + const userEvent = { type: "user/message", data: { role: "user", source: { kind: "user" }, content: "I prefer short answers. What is a list?" } }; + onEvent(session, { type: "turn/start" }); + onEvent(session, userEvent); + onEvent(session, { type: "turn/end", data: { reason: { kind: "interrupted" } } }); + expect(mockAdd).not.toHaveBeenCalled(); + mockAdd.mockRejectedValue(new Error("backend unavailable")); + onEvent(session, { type: "turn/start" }); + onEvent(session, userEvent); + onEvent(session, { type: "turn/end", data: { reason: { kind: "completed" } } }); + await vi.waitFor(() => expect(mockAdd).toHaveBeenCalledOnce()); + }); }); describe("search_memory tool", () => { @@ -272,3 +356,62 @@ describe("tool user ownership", () => { expect(mockAdd).not.toHaveBeenCalled(); }); }); + +describe("workspace scope", () => { + it("isolates both tools and automatic paths by canonical session workspace", async () => { + const root = mkdtempSync(join(tmpdir(), "mem0-dsh-scope-")); + try { + mkdirSync(join(root, "a")); + mkdirSync(join(root, "b")); + symlinkSync(join(root, "a"), join(root, "alias")); + const config: Config = { apiKey: "k", userId: "u", memoryScope: "workspace" }; + const tools = applyAndCollect(config); + mockAdd.mockResolvedValue([]); + mockSearch.mockResolvedValue({ results: [] }); + const session = (name: string) => ({ + header: { cwd: join(root, name) }, + deriveMessages: () => [{ role: "user", source: { kind: "user" }, content: "preferences" }], + }); + const a = session("a"); + await tools.get("add_memory")!.execute({ text: "Uses pnpm" }, { agent: { session: a } }); + const appId = mockAdd.mock.lastCall?.[1].appId; + expect(appId).toMatch(/^deepseek-workspace-[a-f0-9]{64}$/); + await tools.get("search_memory")!.execute({ query: "preferences" }, { agent: { session: session("alias") } }); + expect(mockSearch.mock.lastCall?.[1].filters).toEqual({ user_id: "u", app_id: appId }); + await tools.get("search_memory")!.execute({ query: "preferences" }, { agent: { session: session("b") } }); + expect(mockSearch.mock.lastCall?.[1].filters.app_id).not.toBe(appId); + + const listeners = applyAndCollectListeners(config); + const base = { sections: [], contexts: [], tools: [], variables: {} }; + await listeners.get("system-prompt/assemble")!(base, { agent: { session: a } }, async () => base); + expect(mockSearch.mock.lastCall?.[1].filters).toEqual({ user_id: "u", app_id: appId }); + const onEvent = listeners.get("session/event")!; + mockAdd.mockClear(); + onEvent(a, { type: "turn/start" }); + onEvent(a, { type: "user/message", data: { role: "user", source: { kind: "user" }, content: "I prefer short answers. What is a list?" } }); + onEvent(a, { type: "turn/end", data: { reason: { kind: "completed" } } }); + await vi.waitFor(() => expect(mockAdd.mock.lastCall?.[1]).toMatchObject({ userId: "u", appId })); + expect(mockAdd).toHaveBeenCalledOnce(); + expect(mockAdd.mock.lastCall?.[0]).toEqual([ + { role: "user", content: "I prefer short answers. What is a list?" }, + ]); + } finally { rmSync(root, { recursive: true, force: true }); } + }); + + it("fails closed without a workspace while automatic paths leave the agent running", async () => { + const config: Config = { apiKey: "k", userId: "u", memoryScope: "workspace" }; + const tools = applyAndCollect(config); + await expect(tools.get("add_memory")!.execute({ text: "x" }, {})).rejects.toThrow(/workspace/); + await expect(tools.get("search_memory")!.execute({ query: "x" }, {})).rejects.toThrow(/workspace/); + const listeners = applyAndCollectListeners(config); + const session = { header: {}, deriveMessages: () => [{ role: "user", source: { kind: "user" }, content: "hello" }] }; + const base = { sections: [], contexts: [], tools: [], variables: {} }; + expect(await listeners.get("system-prompt/assemble")!(base, { agent: { session } }, async () => base)).toBe(base); + const onEvent = listeners.get("session/event")!; + onEvent(session, { type: "user/message", data: { role: "user", source: { kind: "user" }, content: "hello" } }); + expect(() => onEvent(session, { type: "turn/end", data: { reason: { kind: "completed" } } })).not.toThrow(); + await new Promise((resolve) => setImmediate(resolve)); + expect(mockAdd).not.toHaveBeenCalled(); + expect(mockSearch).not.toHaveBeenCalled(); + }); +}); diff --git a/integrations/deepseek-plugin/tests/package.test.ts b/integrations/deepseek-plugin/tests/package.test.ts new file mode 100644 index 000000000..0604dc3e0 --- /dev/null +++ b/integrations/deepseek-plugin/tests/package.test.ts @@ -0,0 +1,14 @@ +import { readFileSync, existsSync } from "node:fs"; +import { describe, expect, it } from "vitest"; + +describe("installable Harness bundle", () => { + it("ships a native activation patch and builds before packing", () => { + const root = new URL("../", import.meta.url); + const manifest = JSON.parse(readFileSync(new URL("package.json", root), "utf8")); + expect(manifest.scripts.prepack).toBe("pnpm build"); + expect(manifest.dsh.bundle.patch).toBe("./cordis.patch.yml"); + expect(manifest.files).toContain("cordis.patch.yml"); + expect(existsSync(new URL(manifest.dsh.bundle.patch, root))).toBe(true); + expect(readFileSync(new URL(manifest.dsh.bundle.patch, root), "utf8")).toContain("@mem0/deepseek-plugin"); + }); +}); diff --git a/integrations/n8n-nodes-mem0/package.json b/integrations/n8n-nodes-mem0/package.json index 08fd754ae..207dbbc7c 100644 --- a/integrations/n8n-nodes-mem0/package.json +++ b/integrations/n8n-nodes-mem0/package.json @@ -74,9 +74,8 @@ "brace-expansion@<1.1.16": ">=1.1.16 <2.0.0", "brace-expansion@>=2.0.0 <2.1.2": ">=2.1.2 <3.0.0", "brace-expansion@>=5.0.0 <5.0.8": ">=5.0.8", - "js-yaml@<3.15.2": ">=3.15.2 <4.0.0", - "js-yaml@>=4.0.0 <4.3.2": ">=4.3.2 <5.0.0", - "handlebars@<4.7.10": ">=4.7.10 <5.0.0" + "js-yaml@<3.15.1": ">=3.15.1 <4.0.0", + "js-yaml@>=4.0.0 <4.3.1": ">=4.3.1 <5.0.0" } } } diff --git a/integrations/n8n-nodes-mem0/pnpm-lock.yaml b/integrations/n8n-nodes-mem0/pnpm-lock.yaml index b802536a2..41440b3ca 100644 --- a/integrations/n8n-nodes-mem0/pnpm-lock.yaml +++ b/integrations/n8n-nodes-mem0/pnpm-lock.yaml @@ -11,9 +11,8 @@ overrides: brace-expansion@<1.1.16: '>=1.1.16 <2.0.0' brace-expansion@>=2.0.0 <2.1.2: '>=2.1.2 <3.0.0' brace-expansion@>=5.0.0 <5.0.8: '>=5.0.8' - js-yaml@<3.15.2: '>=3.15.2 <4.0.0' - js-yaml@>=4.0.0 <4.3.2: '>=4.3.2 <5.0.0' - handlebars@<4.7.10: '>=4.7.10 <5.0.0' + js-yaml@<3.15.1: '>=3.15.1 <4.0.0' + js-yaml@>=4.0.0 <4.3.1: '>=4.3.1 <5.0.0' importers: @@ -1147,8 +1146,8 @@ packages: resolution: {integrity: sha512-V2FaKiOhpR3DRXZuYdRLn/qiY0yI5XmqbTKrYbdemJ+xOh2d2MOweI/XFgMzd/9+1twdvMwllnZbWZNJ+BOm4A==} engines: {node: '>= 10.13.0'} - handlebars@4.7.10: - resolution: {integrity: sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==} + handlebars@4.7.9: + resolution: {integrity: sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==} engines: {node: '>=0.4.7'} hasBin: true @@ -1495,12 +1494,12 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-yaml@3.15.2: - resolution: {integrity: sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==} + js-yaml@3.15.1: + resolution: {integrity: sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==} hasBin: true - js-yaml@4.3.2: - resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==} + js-yaml@4.3.1: + resolution: {integrity: sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==} hasBin: true jsesc@3.1.0: @@ -2507,7 +2506,7 @@ snapshots: globals: 13.24.0 ignore: 5.3.2 import-fresh: 3.3.1 - js-yaml: 4.3.2 + js-yaml: 4.3.1 minimatch: 3.1.5 strip-json-comments: 3.1.1 transitivePeerDependencies: @@ -2547,7 +2546,7 @@ snapshots: camelcase: 5.3.1 find-up: 4.1.0 get-package-type: 0.1.0 - js-yaml: 3.15.2 + js-yaml: 3.15.1 resolve-from: 5.0.0 '@istanbuljs/schema@0.1.6': {} @@ -3354,7 +3353,7 @@ snapshots: imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 - js-yaml: 4.3.2 + js-yaml: 4.3.1 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash.merge: 4.6.2 @@ -3659,7 +3658,7 @@ snapshots: dependencies: glogg: 2.2.0 - handlebars@4.7.10: + handlebars@4.7.9: dependencies: minimist: 1.2.8 neo-async: 2.6.2 @@ -4174,12 +4173,12 @@ snapshots: js-tokens@4.0.0: {} - js-yaml@3.15.2: + js-yaml@3.15.1: dependencies: argparse: 1.0.10 esprima: 4.0.1 - js-yaml@4.3.2: + js-yaml@4.3.1: dependencies: argparse: 2.0.1 @@ -4759,7 +4758,7 @@ snapshots: dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - handlebars: 4.7.10 + handlebars: 4.7.9 jest: 29.7.0(@types/node@20.19.43) json5: 2.2.3 lodash.memoize: 4.1.2 diff --git a/integrations/openclaw/package.json b/integrations/openclaw/package.json index 33e315314..df01be01a 100644 --- a/integrations/openclaw/package.json +++ b/integrations/openclaw/package.json @@ -59,26 +59,23 @@ "@vitest/coverage-v8": "^4.1.11", "tsup": "^8.5.0", "typescript": "^5.8.3", - "vite": "^8.1.6", + "vite": "^8.0.5", "vitest": "^4.1.11" }, "pnpm": { "overrides": { - "@azure/identity@<4.14.1": ">=4.14.1 <5.0.0", "form-data@<4.0.6": ">=4.0.6", "protobufjs@<7.6.5": ">=7.6.5 <8.0.0", - "vite": "^8.1.6", + "vite": "^8.0.5", "langsmith@<0.6.0": "^0.6.0", "picomatch@<2.3.2": "^2.3.2", "@qdrant/js-client-rest": "^1.18.0", "uuid@<11.1.1": ">=11.1.1", "esbuild": ">=0.28.1", - "undici@<7.30.1": ">=7.30.1 <8.0.0", - "axios@<1.20.0": ">=1.20.0 <2.0.0", + "undici@<7.29.1": ">=7.29.1 <8.0.0", + "axios@<1.18.0": ">=1.18.0 <2.0.0", "postcss@<8.5.18": ">=8.5.18 <9.0.0", - "mongoose@>=9.0.0 <9.7.2": ">=9.7.2 <10.0.0", - "follow-redirects@<1.16.2": ">=1.16.2 <2.0.0", - "source-map-js@<1.2.2": ">=1.2.2 <2.0.0" + "mongoose@>=9.0.0 <9.7.2": ">=9.7.2 <10.0.0" } } } diff --git a/integrations/openclaw/pnpm-lock.yaml b/integrations/openclaw/pnpm-lock.yaml index cce1cf61c..6e8729d46 100644 --- a/integrations/openclaw/pnpm-lock.yaml +++ b/integrations/openclaw/pnpm-lock.yaml @@ -5,21 +5,18 @@ settings: excludeLinksFromLockfile: false overrides: - '@azure/identity@<4.14.1': '>=4.14.1 <5.0.0' form-data@<4.0.6: '>=4.0.6' protobufjs@<7.6.5: '>=7.6.5 <8.0.0' - vite: ^8.1.6 + vite: ^8.0.5 langsmith@<0.6.0: ^0.6.0 picomatch@<2.3.2: ^2.3.2 '@qdrant/js-client-rest': ^1.18.0 uuid@<11.1.1: '>=11.1.1' esbuild: '>=0.28.1' - undici@<7.30.1: '>=7.30.1 <8.0.0' - axios@<1.20.0: '>=1.20.0 <2.0.0' + undici@<7.29.1: '>=7.29.1 <8.0.0' + axios@<1.18.0: '>=1.18.0 <2.0.0' postcss@<8.5.18: '>=8.5.18 <9.0.0' mongoose@>=9.0.0 <9.7.2: '>=9.7.2 <10.0.0' - follow-redirects@<1.16.2: '>=1.16.2 <2.0.0' - source-map-js@<1.2.2: '>=1.2.2 <2.0.0' importers: @@ -30,7 +27,7 @@ importers: version: 0.34.47 mem0ai: specifier: 3.0.7 - version: 3.0.7(@anthropic-ai/sdk@0.40.1)(@azure/identity@4.14.1)(@azure/search-documents@12.2.0)(@cloudflare/workers-types@4.20260610.1)(@google/genai@1.52.0)(@langchain/core@1.1.48(openai@4.104.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))(@mistralai/mistralai@1.15.1)(@qdrant/js-client-rest@1.18.0(typescript@5.9.3))(@supabase/supabase-js@2.108.1)(@types/jest@29.5.14)(@types/pg@8.11.0)(better-sqlite3@12.10.0)(cloudflare@4.5.0)(compromise@14.15.1)(groq-sdk@0.3.0)(natural@8.1.1)(ollama@0.5.18)(pg@8.11.3)(redis@5.12.1)(ws@8.21.0) + version: 3.0.7(@anthropic-ai/sdk@0.40.1)(@azure/identity@4.13.1)(@azure/search-documents@12.2.0)(@cloudflare/workers-types@4.20260610.1)(@google/genai@1.52.0)(@langchain/core@1.1.48(openai@4.104.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))(@mistralai/mistralai@1.15.1)(@qdrant/js-client-rest@1.18.0(typescript@5.9.3))(@supabase/supabase-js@2.108.1)(@types/jest@29.5.14)(@types/pg@8.11.0)(better-sqlite3@12.10.0)(cloudflare@4.5.0)(compromise@14.15.1)(groq-sdk@0.3.0)(natural@8.1.1)(ollama@0.5.18)(pg@8.11.3)(redis@5.12.1)(ws@8.21.0) devDependencies: '@qdrant/js-client-rest': specifier: ^1.18.0 @@ -43,16 +40,16 @@ importers: version: 4.1.11(vitest@4.1.11) tsup: specifier: ^8.5.0 - version: 8.5.1(postcss@8.5.32)(typescript@5.9.3) + version: 8.5.1(postcss@8.5.23)(typescript@5.9.3) typescript: specifier: ^5.8.3 version: 5.9.3 vite: - specifier: ^8.1.6 - version: 8.3.6(@types/node@22.19.20)(esbuild@0.28.1) + specifier: ^8.0.5 + version: 8.0.16(@types/node@22.19.20)(esbuild@0.28.1) vitest: specifier: ^4.1.11 - version: 4.1.11(@types/node@22.19.20)(@vitest/coverage-v8@4.1.11)(vite@8.3.6(@types/node@22.19.20)(esbuild@0.28.1)) + version: 4.1.11(@types/node@22.19.20)(@vitest/coverage-v8@4.1.11)(vite@8.0.16(@types/node@22.19.20)(esbuild@0.28.1)) packages: @@ -82,10 +79,6 @@ packages: resolution: {integrity: sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA==} engines: {node: '>=18.0.0'} - '@azure/core-process@1.0.0': - resolution: {integrity: sha512-/shnJ+ooO8WPxDhPEeI/2oRQuubn16gZ6CvlbpWbEswZfzwI9tI/sMAHmF3x1LuQ9yZYXfLW3TjzGMLEC5blKg==} - engines: {node: '>=22.0.0'} - '@azure/core-rest-pipeline@1.24.0': resolution: {integrity: sha512-PpLsoDQ3AMmKZ0VU+0GrmqMxgp/sExjlVm4R+nLWngeoEGAzOIPVifaxKGU5gMv+nWELUoHfvrolWD+ZS/nFJg==} engines: {node: '>=20.0.0'} @@ -98,9 +91,9 @@ packages: resolution: {integrity: sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==} engines: {node: '>=20.0.0'} - '@azure/identity@4.14.1': - resolution: {integrity: sha512-HHuuFrmN1uuF9D5A6aAo5eHzNFNX4Q+P4SksZqDKse5YaJFFy/zDLG3wXHEV2FVGgetZ3QM8jGURNBtnQYf1NQ==} - engines: {node: '>=22.0.0'} + '@azure/identity@4.13.1': + resolution: {integrity: sha512-5C/2WD5Vb1lHnZS16dNQRPMjN6oV/Upba+C9nBIs15PmOi6A3ZGs4Lr2u60zw4S04gi+u3cEXiqTVP7M4Pz3kw==} + engines: {node: '>=20.0.0'} '@azure/logger@1.3.0': resolution: {integrity: sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==} @@ -110,16 +103,12 @@ packages: resolution: {integrity: sha512-eNf2aqx1C6I0yT1GEu5ukblFrmaBXGfe1bivpmlfqvK7giPZvoXLa404C8EfeHVsy6EIryfQuPRzuW1fPxWlHg==} engines: {node: '>=0.8.0'} - '@azure/msal-common@16.16.0': - resolution: {integrity: sha512-EZgd8h5nczsdRAQAgXA0A0pC5L/zj43n1jePXvUMgdwXMbH2zhb7b7Hp+Oe7ZOODK/sch2x+soD6FOrtgUbx/w==} - engines: {node: '>=0.8.0'} - '@azure/msal-common@16.7.0': resolution: {integrity: sha512-Jb8Y7pX6KM42SIT7KWP6YbY3+vLbwB5b5m+tpiiOzMU1QeyelQzs9lO8jv1e7/Uj9r7tg7VjPvW4T0KB1jF3UQ==} engines: {node: '>=0.8.0'} - '@azure/msal-node@7.2.0': - resolution: {integrity: sha512-Y87VJsMWF4jiqLqq8XYLb1o+rGc/HacwS3Zydi3bDtaVm5Sa8FlB7YrKrBFKRIYj27RJXAaDkErImMAqtM10Pg==} + '@azure/msal-node@5.2.3': + resolution: {integrity: sha512-YYX4TchEVddVBiybKvKhV9QO/q22jgewP+BVxKG7Uh115voPcviGlypbKERDsqQdAiSTJrwi80gcWFjYKdo8+Q==} engines: {node: '>=20'} '@azure/search-documents@12.2.0': @@ -157,6 +146,15 @@ packages: '@cloudflare/workers-types@4.20260610.1': resolution: {integrity: sha512-Mk/f3lUygeIHzQ4HnJjU/JvGg/kllgp9gISty9nylHE/2M2MFeKO+hgAKSgiPpmwUbuhewdYGgqFGgT/ADK0/g==} + '@emnapi/core@1.10.0': + resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==} + + '@emnapi/runtime@1.10.0': + resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==} + + '@emnapi/wasi-threads@1.2.1': + resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==} + '@esbuild/aix-ppc64@0.28.1': resolution: {integrity: sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==} engines: {node: '>=18'} @@ -357,8 +355,14 @@ packages: '@mongodb-js/saslprep@1.4.11': resolution: {integrity: sha512-o9rAHc0IpIjuPSxRutWpE1F62x7n+4mVS4rCNHkzhIUMQcc18bb6xEq5wd2NdN0WjepIyXIppRshYI2kQDOZVA==} - '@oxc-project/types@0.156.0': - resolution: {integrity: sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==} + '@napi-rs/wasm-runtime@1.1.5': + resolution: {integrity: sha512-AWPoBRJ9tsnVhor4sjO7rkni+7p+2IAEFj6cx06UgP10jkQHqay/36uRV/bFkgrh18D9vb4cr8Q0Pthskgzy+Q==} + peerDependencies: + '@emnapi/core': ^1.7.1 + '@emnapi/runtime': ^1.7.1 + + '@oxc-project/types@0.133.0': + resolution: {integrity: sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA==} '@protobufjs/aspromise@1.1.2': resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} @@ -433,98 +437,97 @@ packages: peerDependencies: '@redis/client': ^5.12.1 - '@rolldown/binding-android-arm-eabi@1.2.16': - resolution: {integrity: sha512-ia3DwAs0OsMGS7+IConptSiyk9pEXkOx/AbJ2n/lAGxH3QkWQus1t8d7gnAT38FCU2sQu8lUbeR6AiZFv4JxaA==} - engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm] - os: [android] - - '@rolldown/binding-android-arm64@1.2.16': - resolution: {integrity: sha512-kx5wBiMB6E7TEvpl2B9gjLU004BkvEm2Dr941BFjx/SontPwSzNuQUIoVKxHHoSjpFIfHMmcguyLOtyn0hObRg==} + '@rolldown/binding-android-arm64@1.0.3': + resolution: {integrity: sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.2.16': - resolution: {integrity: sha512-qslZrXnKJU4cUpjoAmtAo/KQM9e2IRMlmpig6Zpwj+8KWxW8v+nkAf9216Bsek9lOC1jvg2yCjygCFo2f83msQ==} + '@rolldown/binding-darwin-arm64@1.0.3': + resolution: {integrity: sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.2.16': - resolution: {integrity: sha512-FdF+y48ND13eAyM2mQn+85kvAqNlvRWROy2rhgA463X/0Gv4vGtazZtfaF1mRBLscYvtOlh4QnLjOWiFzX69OQ==} + '@rolldown/binding-darwin-x64@1.0.3': + resolution: {integrity: sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.2.16': - resolution: {integrity: sha512-ddjqFM5e95AgLbUPtKIS7V1KTVlA0RUgCVr5mn+/IEhsdy3pr+Vuj/HZ7nlMN2FyxIwUktOH1LEPIQXO1v9y1Q==} + '@rolldown/binding-freebsd-x64@1.0.3': + resolution: {integrity: sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.2.16': - resolution: {integrity: sha512-tHdKWbFkFBI687iim3LIyIvyL7j66VvQYkDPss5Stn/qyE2tWkR1YD0dXmXPFKKqT/o5ZEJVsaRsWS2meQwGOA==} + '@rolldown/binding-linux-arm-gnueabihf@1.0.3': + resolution: {integrity: sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.2.16': - resolution: {integrity: sha512-FJiLGAblPBMlBEdbOqw6kW6QcXDWAf/oJu7gYs9ZJZwmg+K+/zjFLxPTIY9izJUzxzc24FHvmseyA0IvJSl17w==} + '@rolldown/binding-linux-arm64-gnu@1.0.3': + resolution: {integrity: sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.2.16': - resolution: {integrity: sha512-hrJpblMsrQ58U9veWpbXzkhV5zStunds6HWLprqq1qauvgBr1E6P+24kLj6lSLI9vjRn/RYpjprhkHQPKGWpNg==} + '@rolldown/binding-linux-arm64-musl@1.0.3': + resolution: {integrity: sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.2.16': - resolution: {integrity: sha512-qJd/dC6j6CwLG9/s/RP2nb1RZ0GIgj7Ioj7x/SYa3RzjVrlzrmH0fhIOpfvqQDeIsdP0loi+kHaMhJzY1PBIaA==} + '@rolldown/binding-linux-ppc64-gnu@1.0.3': + resolution: {integrity: sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.2.16': - resolution: {integrity: sha512-Vx7Xg5uUJuNcujJjI70OICaH0EYj80BtOLZTSN7uOYg8QOLlyKnaG0IW7Fn/J0IpJsaKzmDKMhOQv1JBM9m9vg==} + '@rolldown/binding-linux-s390x-gnu@1.0.3': + resolution: {integrity: sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.2.16': - resolution: {integrity: sha512-TNKhgE3uJTsTzatUSSYt0Kgo+Oa2uSlSjz4r1aEIea7HX6ULBym4fAlYUhG1i6pjNf2njfCUAfKwr6C3E9Xg1w==} + '@rolldown/binding-linux-x64-gnu@1.0.3': + resolution: {integrity: sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.2.16': - resolution: {integrity: sha512-7chXdpjXZ8qG0+mIxECN3cT9kvhZ3/oZhMX6Pp876P7CDrIy8nJswva6Mq357JR7eYXfuskwZxMeV1SzoZdHrA==} + '@rolldown/binding-linux-x64-musl@1.0.3': + resolution: {integrity: sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.2.16': - resolution: {integrity: sha512-Kwjt+7uNTJK5/MDkGWGVO2KQPnj8yAV75dMpfwyHZrJSXWHrniOB0aUEWlVYf3H1hOqFLIStLdM5QXq6bnKmOQ==} + '@rolldown/binding-openharmony-arm64@1.0.3': + resolution: {integrity: sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-win32-arm64-msvc@1.2.16': - resolution: {integrity: sha512-/LH6WfjDRXXJz/p5xl4TmU+jpcnwcxbKEQBW/GZE0JHfN0lGIyTtsUEGaQ/q/GikkGJ2yLKe6pwm7AnEWO8pdw==} + '@rolldown/binding-wasm32-wasi@1.0.3': + resolution: {integrity: sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [wasm32] + + '@rolldown/binding-win32-arm64-msvc@1.0.3': + resolution: {integrity: sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.2.16': - resolution: {integrity: sha512-1lv1KvX0Z871zfk7vw+dnXMMnHNyDwMzWG8Kv3HxDXMOhzCX4SHc7HK319fInP0i+0p9D8brkfzL7pJOaGl+tw==} + '@rolldown/binding-win32-x64-msvc@1.0.3': + resolution: {integrity: sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -706,6 +709,9 @@ packages: resolution: {integrity: sha512-V/1hRKLSCJ0zEL+9QFRBUtivvePfOsaAYQmC0HhFNSHC2F3xFs4jSF3YhkLmzex6E4V4FGvmBDOP72D/53NnZA==} engines: {node: '>=20.0.0'} + '@tybys/wasm-util@0.10.2': + resolution: {integrity: sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==} + '@types/chai@5.2.3': resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} @@ -777,7 +783,7 @@ packages: resolution: {integrity: sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==} peerDependencies: msw: ^2.4.9 - vite: ^8.1.6 + vite: ^8.0.5 peerDependenciesMeta: msw: optional: true @@ -851,8 +857,8 @@ packages: asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - axios@1.20.0: - resolution: {integrity: sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==} + axios@1.18.1: + resolution: {integrity: sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==} base-64@0.1.0: resolution: {integrity: sha512-Y5gU45svrR5tI2Vt/X9GPd3L0HNIKzGu202EjxrXMpuc2V2CiKgemAbUUsqYmZJvPtCXoUKjNZwBJzsNScUbXA==} @@ -995,8 +1001,8 @@ packages: resolution: {integrity: sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==} engines: {node: '>=18'} - default-browser@5.5.1: - resolution: {integrity: sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==} + default-browser@5.5.0: + resolution: {integrity: sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==} engines: {node: '>=18'} define-lazy-prop@3.0.0: @@ -1116,8 +1122,8 @@ packages: fix-dts-default-cjs-exports@1.0.1: resolution: {integrity: sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==} - follow-redirects@1.16.2: - resolution: {integrity: sha512-/kVP2U8z596Ia0gwFrwyIeo74ta5aVmSeU1FfAUMAmcEP5EP7zydmag3SLiN64NaRKef3lxsq7i/g7ltJQDGow==} + follow-redirects@1.16.0: + resolution: {integrity: sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -1247,10 +1253,6 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} hasBin: true - is-in-ssh@1.0.0: - resolution: {integrity: sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==} - engines: {node: '>=20'} - is-inside-container@1.0.0: resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} engines: {node: '>=14.16'} @@ -1346,78 +1348,78 @@ packages: ws: optional: true - lightningcss-android-arm64@1.33.0: - resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==} + lightningcss-android-arm64@1.32.0: + resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [android] - lightningcss-darwin-arm64@1.33.0: - resolution: {integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==} + lightningcss-darwin-arm64@1.32.0: + resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] - lightningcss-darwin-x64@1.33.0: - resolution: {integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==} + lightningcss-darwin-x64@1.32.0: + resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] - lightningcss-freebsd-x64@1.33.0: - resolution: {integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==} + lightningcss-freebsd-x64@1.32.0: + resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [freebsd] - lightningcss-linux-arm-gnueabihf@1.33.0: - resolution: {integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==} + lightningcss-linux-arm-gnueabihf@1.32.0: + resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] - lightningcss-linux-arm64-gnu@1.33.0: - resolution: {integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==} + lightningcss-linux-arm64-gnu@1.32.0: + resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] libc: [glibc] - lightningcss-linux-arm64-musl@1.33.0: - resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==} + lightningcss-linux-arm64-musl@1.32.0: + resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] libc: [musl] - lightningcss-linux-x64-gnu@1.33.0: - resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==} + lightningcss-linux-x64-gnu@1.32.0: + resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] libc: [glibc] - lightningcss-linux-x64-musl@1.33.0: - resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==} + lightningcss-linux-x64-musl@1.32.0: + resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] libc: [musl] - lightningcss-win32-arm64-msvc@1.33.0: - resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==} + lightningcss-win32-arm64-msvc@1.32.0: + resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [win32] - lightningcss-win32-x64-msvc@1.33.0: - resolution: {integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==} + lightningcss-win32-x64-msvc@1.32.0: + resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] - lightningcss@1.33.0: - resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==} + lightningcss@1.32.0: + resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==} engines: {node: '>= 12.0.0'} lilconfig@3.1.3: @@ -1477,7 +1479,7 @@ packages: engines: {node: '>=18'} peerDependencies: '@anthropic-ai/sdk': ^0.40.1 - '@azure/identity': '>=4.14.1 <5.0.0' + '@azure/identity': ^4.0.0 '@azure/search-documents': ^12.0.0 '@cloudflare/workers-types': ^4.20250504.0 '@google/genai': ^1.40.0 @@ -1581,8 +1583,8 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nanoid@3.3.20: - resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==} + nanoid@3.3.16: + resolution: {integrity: sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -1632,9 +1634,9 @@ packages: once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - open@11.0.4: - resolution: {integrity: sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg==} - engines: {node: '>=20'} + open@10.2.0: + resolution: {integrity: sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==} + engines: {node: '>=18'} openai@4.104.0: resolution: {integrity: sha512-p99EFNsA/yX6UhVO93f5kJsDRLAg+CTA2RBqdHK4RtK8u5IJw32Hyb2dTGKbnnFmnuoBv5r7Z2CURI9sGZpSuA==} @@ -1732,10 +1734,6 @@ packages: resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} engines: {node: '>=12'} - picomatch@4.0.7: - resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} - engines: {node: '>=12'} - pirates@4.0.7: resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} engines: {node: '>= 6'} @@ -1761,8 +1759,8 @@ packages: yaml: optional: true - postcss@8.5.32: - resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} + postcss@8.5.23: + resolution: {integrity: sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==} engines: {node: ^10 || ^12 || >=14} postgres-array@2.0.0: @@ -1800,10 +1798,6 @@ packages: postgres-range@1.1.4: resolution: {integrity: sha512-i/hbxIE9803Alj/6ytL7UHQxRvZkI9O4Sy+J3HGc4F4oo/2eQAjTSNJ0bfxyse3bH0nuVesCk+3IRLaMtG3H6w==} - powershell-utils@0.2.1: - resolution: {integrity: sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==} - engines: {node: '>=20'} - prebuild-install@7.1.3: resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==} engines: {node: '>=10'} @@ -1856,8 +1850,8 @@ packages: resolution: {integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==} engines: {node: '>= 4'} - rolldown@1.2.16: - resolution: {integrity: sha512-bWvlMpFKiTfDKfnK7FC2MPgPeWCf/Kpwsq49ApdW+FQaBZb6O6dZ4MAPbPUjp7hYQrw/RobqCzn64BRrQecGHw==} + rolldown@1.0.3: + resolution: {integrity: sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -1898,8 +1892,8 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - source-map-js@1.2.2: - resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} source-map@0.7.6: @@ -2042,8 +2036,8 @@ packages: undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} - undici@7.30.2: - resolution: {integrity: sha512-mLyPQnHwUxaM/rideoK/+KL8DaAJLRl4aBCfmX444aCSLnIaomqPLtNRe2jdCYcsk5wZzXrDIQC8ZeYNRAYyIA==} + undici@7.30.0: + resolution: {integrity: sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==} engines: {node: '>=20.18.1'} util-deprecate@1.0.2: @@ -2057,13 +2051,13 @@ packages: resolution: {integrity: sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==} hasBin: true - vite@8.3.6: - resolution: {integrity: sha512-UI7dK29NnS54Fk+mmo7o+jI6U8Fp7hDl+X5Q1k45WH+d4dSlbLVUETGQ+hfkNgvLQGyoElPj837nZyv4MBc0VA==} + vite@8.0.16: + resolution: {integrity: sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.7.1 || ^0.8.0 + '@vitejs/devtools': ^0.1.18 esbuild: '>=0.28.1' jiti: '>=1.21.0' less: ^4.0.0 @@ -2116,7 +2110,7 @@ packages: '@vitest/ui': 4.1.11 happy-dom: '*' jsdom: '*' - vite: ^8.1.6 + vite: ^8.0.5 peerDependenciesMeta: '@edge-runtime/vm': optional: true @@ -2190,9 +2184,9 @@ packages: utf-8-validate: optional: true - wsl-utils@1.0.1: - resolution: {integrity: sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ==} - engines: {node: '>=20'} + wsl-utils@0.1.0: + resolution: {integrity: sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==} + engines: {node: '>=18'} xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} @@ -2257,8 +2251,6 @@ snapshots: dependencies: tslib: 2.8.1 - '@azure/core-process@1.0.0': {} - '@azure/core-rest-pipeline@1.24.0': dependencies: '@azure/abort-controller': 2.1.2 @@ -2283,19 +2275,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@azure/identity@4.14.1': + '@azure/identity@4.13.1': dependencies: '@azure/abort-controller': 2.1.2 '@azure/core-auth': 1.10.1 '@azure/core-client': 1.10.2 - '@azure/core-process': 1.0.0 '@azure/core-rest-pipeline': 1.24.0 '@azure/core-tracing': 1.3.1 '@azure/core-util': 1.13.1 '@azure/logger': 1.3.0 '@azure/msal-browser': 5.12.0 - '@azure/msal-node': 7.2.0 - open: 11.0.4 + '@azure/msal-node': 5.2.3 + open: 10.2.0 tslib: 2.8.1 transitivePeerDependencies: - supports-color @@ -2311,13 +2302,11 @@ snapshots: dependencies: '@azure/msal-common': 16.7.0 - '@azure/msal-common@16.16.0': {} - '@azure/msal-common@16.7.0': {} - '@azure/msal-node@7.2.0': + '@azure/msal-node@5.2.3': dependencies: - '@azure/msal-common': 16.16.0 + '@azure/msal-common': 16.7.0 jsonwebtoken: 9.0.3 '@azure/search-documents@12.2.0': @@ -2360,6 +2349,22 @@ snapshots: '@cloudflare/workers-types@4.20260610.1': {} + '@emnapi/core@1.10.0': + dependencies: + '@emnapi/wasi-threads': 1.2.1 + tslib: 2.8.1 + optional: true + + '@emnapi/runtime@1.10.0': + dependencies: + tslib: 2.8.1 + optional: true + + '@emnapi/wasi-threads@1.2.1': + dependencies: + tslib: 2.8.1 + optional: true + '@esbuild/aix-ppc64@0.28.1': optional: true @@ -2509,7 +2514,14 @@ snapshots: dependencies: sparse-bitfield: 3.0.3 - '@oxc-project/types@0.156.0': {} + '@napi-rs/wasm-runtime@1.1.5(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': + dependencies: + '@emnapi/core': 1.10.0 + '@emnapi/runtime': 1.10.0 + '@tybys/wasm-util': 0.10.2 + optional: true + + '@oxc-project/types@0.133.0': {} '@protobufjs/aspromise@1.1.2': {} @@ -2535,7 +2547,7 @@ snapshots: dependencies: '@qdrant/openapi-typescript-fetch': 1.2.6 typescript: 5.9.3 - undici: 7.30.2 + undici: 7.30.0 '@qdrant/openapi-typescript-fetch@1.2.6': {} @@ -2559,49 +2571,53 @@ snapshots: dependencies: '@redis/client': 5.12.1 - '@rolldown/binding-android-arm-eabi@1.2.16': + '@rolldown/binding-android-arm64@1.0.3': optional: true - '@rolldown/binding-android-arm64@1.2.16': + '@rolldown/binding-darwin-arm64@1.0.3': optional: true - '@rolldown/binding-darwin-arm64@1.2.16': + '@rolldown/binding-darwin-x64@1.0.3': optional: true - '@rolldown/binding-darwin-x64@1.2.16': + '@rolldown/binding-freebsd-x64@1.0.3': optional: true - '@rolldown/binding-freebsd-x64@1.2.16': + '@rolldown/binding-linux-arm-gnueabihf@1.0.3': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.2.16': + '@rolldown/binding-linux-arm64-gnu@1.0.3': optional: true - '@rolldown/binding-linux-arm64-gnu@1.2.16': + '@rolldown/binding-linux-arm64-musl@1.0.3': optional: true - '@rolldown/binding-linux-arm64-musl@1.2.16': + '@rolldown/binding-linux-ppc64-gnu@1.0.3': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.2.16': + '@rolldown/binding-linux-s390x-gnu@1.0.3': optional: true - '@rolldown/binding-linux-s390x-gnu@1.2.16': + '@rolldown/binding-linux-x64-gnu@1.0.3': optional: true - '@rolldown/binding-linux-x64-gnu@1.2.16': + '@rolldown/binding-linux-x64-musl@1.0.3': optional: true - '@rolldown/binding-linux-x64-musl@1.2.16': + '@rolldown/binding-openharmony-arm64@1.0.3': optional: true - '@rolldown/binding-openharmony-arm64@1.2.16': + '@rolldown/binding-wasm32-wasi@1.0.3': + dependencies: + '@emnapi/core': 1.10.0 + '@emnapi/runtime': 1.10.0 + '@napi-rs/wasm-runtime': 1.1.5(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) optional: true - '@rolldown/binding-win32-arm64-msvc@1.2.16': + '@rolldown/binding-win32-arm64-msvc@1.0.3': optional: true - '@rolldown/binding-win32-x64-msvc@1.2.16': + '@rolldown/binding-win32-x64-msvc@1.0.3': optional: true '@rolldown/pluginutils@1.0.1': {} @@ -2719,6 +2735,11 @@ snapshots: '@supabase/realtime-js': 2.108.1 '@supabase/storage-js': 2.108.1 + '@tybys/wasm-util@0.10.2': + dependencies: + tslib: 2.8.1 + optional: true + '@types/chai@5.2.3': dependencies: '@types/deep-eql': 4.0.2 @@ -2798,7 +2819,7 @@ snapshots: obug: 2.1.2 std-env: 4.1.0 tinyrainbow: 3.1.0 - vitest: 4.1.11(@types/node@22.19.20)(@vitest/coverage-v8@4.1.11)(vite@8.3.6(@types/node@22.19.20)(esbuild@0.28.1)) + vitest: 4.1.11(@types/node@22.19.20)(@vitest/coverage-v8@4.1.11)(vite@8.0.16(@types/node@22.19.20)(esbuild@0.28.1)) '@vitest/expect@4.1.11': dependencies: @@ -2809,13 +2830,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.0 - '@vitest/mocker@4.1.11(vite@8.3.6(@types/node@22.19.20)(esbuild@0.28.1))': + '@vitest/mocker@4.1.11(vite@8.0.16(@types/node@22.19.20)(esbuild@0.28.1))': dependencies: '@vitest/spy': 4.1.11 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 8.3.6(@types/node@22.19.20)(esbuild@0.28.1) + vite: 8.0.16(@types/node@22.19.20)(esbuild@0.28.1) '@vitest/pretty-format@4.1.11': dependencies: @@ -2885,9 +2906,9 @@ snapshots: asynckit@0.4.0: {} - axios@1.20.0: + axios@1.18.1: dependencies: - follow-redirects: 1.16.2 + follow-redirects: 1.16.0 form-data: 4.0.6 https-proxy-agent: 5.0.1 proxy-from-env: 2.1.0 @@ -3018,7 +3039,7 @@ snapshots: default-browser-id@5.0.1: {} - default-browser@5.5.1: + default-browser@5.5.0: dependencies: bundle-name: 4.1.0 default-browser-id: 5.0.1 @@ -3147,7 +3168,7 @@ snapshots: mlly: 1.8.2 rollup: 4.61.1 - follow-redirects@1.16.2: {} + follow-redirects@1.16.0: {} form-data-encoder@1.7.2: {} @@ -3295,8 +3316,6 @@ snapshots: is-docker@3.0.0: {} - is-in-ssh@1.0.0: {} - is-inside-container@1.0.0: dependencies: is-docker: 3.0.0 @@ -3404,54 +3423,54 @@ snapshots: openai: 4.104.0(ws@8.21.0)(zod@3.25.76) ws: 8.21.0 - lightningcss-android-arm64@1.33.0: + lightningcss-android-arm64@1.32.0: optional: true - lightningcss-darwin-arm64@1.33.0: + lightningcss-darwin-arm64@1.32.0: optional: true - lightningcss-darwin-x64@1.33.0: + lightningcss-darwin-x64@1.32.0: optional: true - lightningcss-freebsd-x64@1.33.0: + lightningcss-freebsd-x64@1.32.0: optional: true - lightningcss-linux-arm-gnueabihf@1.33.0: + lightningcss-linux-arm-gnueabihf@1.32.0: optional: true - lightningcss-linux-arm64-gnu@1.33.0: + lightningcss-linux-arm64-gnu@1.32.0: optional: true - lightningcss-linux-arm64-musl@1.33.0: + lightningcss-linux-arm64-musl@1.32.0: optional: true - lightningcss-linux-x64-gnu@1.33.0: + lightningcss-linux-x64-gnu@1.32.0: optional: true - lightningcss-linux-x64-musl@1.33.0: + lightningcss-linux-x64-musl@1.32.0: optional: true - lightningcss-win32-arm64-msvc@1.33.0: + lightningcss-win32-arm64-msvc@1.32.0: optional: true - lightningcss-win32-x64-msvc@1.33.0: + lightningcss-win32-x64-msvc@1.32.0: optional: true - lightningcss@1.33.0: + lightningcss@1.32.0: dependencies: detect-libc: 2.1.2 optionalDependencies: - lightningcss-android-arm64: 1.33.0 - lightningcss-darwin-arm64: 1.33.0 - lightningcss-darwin-x64: 1.33.0 - lightningcss-freebsd-x64: 1.33.0 - lightningcss-linux-arm-gnueabihf: 1.33.0 - lightningcss-linux-arm64-gnu: 1.33.0 - lightningcss-linux-arm64-musl: 1.33.0 - lightningcss-linux-x64-gnu: 1.33.0 - lightningcss-linux-x64-musl: 1.33.0 - lightningcss-win32-arm64-msvc: 1.33.0 - lightningcss-win32-x64-msvc: 1.33.0 + lightningcss-android-arm64: 1.32.0 + lightningcss-darwin-arm64: 1.32.0 + lightningcss-darwin-x64: 1.32.0 + lightningcss-freebsd-x64: 1.32.0 + lightningcss-linux-arm-gnueabihf: 1.32.0 + lightningcss-linux-arm64-gnu: 1.32.0 + lightningcss-linux-arm64-musl: 1.32.0 + lightningcss-linux-x64-gnu: 1.32.0 + lightningcss-linux-x64-musl: 1.32.0 + lightningcss-win32-arm64-msvc: 1.32.0 + lightningcss-win32-x64-msvc: 1.32.0 lilconfig@3.1.3: {} @@ -3483,7 +3502,7 @@ snapshots: dependencies: '@babel/parser': 7.29.7 '@babel/types': 7.29.7 - source-map-js: 1.2.2 + source-map-js: 1.2.1 make-dir@4.0.0: dependencies: @@ -3497,10 +3516,10 @@ snapshots: crypt: 0.0.2 is-buffer: 1.1.6 - mem0ai@3.0.7(@anthropic-ai/sdk@0.40.1)(@azure/identity@4.14.1)(@azure/search-documents@12.2.0)(@cloudflare/workers-types@4.20260610.1)(@google/genai@1.52.0)(@langchain/core@1.1.48(openai@4.104.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))(@mistralai/mistralai@1.15.1)(@qdrant/js-client-rest@1.18.0(typescript@5.9.3))(@supabase/supabase-js@2.108.1)(@types/jest@29.5.14)(@types/pg@8.11.0)(better-sqlite3@12.10.0)(cloudflare@4.5.0)(compromise@14.15.1)(groq-sdk@0.3.0)(natural@8.1.1)(ollama@0.5.18)(pg@8.11.3)(redis@5.12.1)(ws@8.21.0): + mem0ai@3.0.7(@anthropic-ai/sdk@0.40.1)(@azure/identity@4.13.1)(@azure/search-documents@12.2.0)(@cloudflare/workers-types@4.20260610.1)(@google/genai@1.52.0)(@langchain/core@1.1.48(openai@4.104.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))(@mistralai/mistralai@1.15.1)(@qdrant/js-client-rest@1.18.0(typescript@5.9.3))(@supabase/supabase-js@2.108.1)(@types/jest@29.5.14)(@types/pg@8.11.0)(better-sqlite3@12.10.0)(cloudflare@4.5.0)(compromise@14.15.1)(groq-sdk@0.3.0)(natural@8.1.1)(ollama@0.5.18)(pg@8.11.3)(redis@5.12.1)(ws@8.21.0): dependencies: '@anthropic-ai/sdk': 0.40.1 - '@azure/identity': 4.14.1 + '@azure/identity': 4.13.1 '@azure/search-documents': 12.2.0 '@cloudflare/workers-types': 4.20260610.1 '@google/genai': 1.52.0 @@ -3510,7 +3529,7 @@ snapshots: '@supabase/supabase-js': 2.108.1 '@types/jest': 29.5.14 '@types/pg': 8.11.0 - axios: 1.20.0 + axios: 1.18.1 better-sqlite3: 12.10.0 cloudflare: 4.5.0 compromise: 14.15.1 @@ -3599,7 +3618,7 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nanoid@3.3.20: {} + nanoid@3.3.16: {} napi-build-utils@2.0.0: {} @@ -3661,14 +3680,12 @@ snapshots: dependencies: wrappy: 1.0.2 - open@11.0.4: + open@10.2.0: dependencies: - default-browser: 5.5.1 + default-browser: 5.5.0 define-lazy-prop: 3.0.0 - is-in-ssh: 1.0.0 is-inside-container: 1.0.0 - powershell-utils: 0.2.1 - wsl-utils: 1.0.1 + wsl-utils: 0.1.0 openai@4.104.0(ws@8.21.0)(zod@3.25.76): dependencies: @@ -3774,8 +3791,6 @@ snapshots: picomatch@4.0.4: {} - picomatch@4.0.7: {} - pirates@4.0.7: {} pkg-types@1.3.1: @@ -3784,17 +3799,17 @@ snapshots: mlly: 1.8.2 pathe: 2.0.3 - postcss-load-config@6.0.1(postcss@8.5.32): + postcss-load-config@6.0.1(postcss@8.5.23): dependencies: lilconfig: 3.1.3 optionalDependencies: - postcss: 8.5.32 + postcss: 8.5.23 - postcss@8.5.32: + postcss@8.5.23: dependencies: - nanoid: 3.3.20 + nanoid: 3.3.16 picocolors: 1.1.1 - source-map-js: 1.2.2 + source-map-js: 1.2.1 postgres-array@2.0.0: {} @@ -3818,8 +3833,6 @@ snapshots: postgres-range@1.1.4: {} - powershell-utils@0.2.1: {} - prebuild-install@7.1.3: dependencies: detect-libc: 2.1.2 @@ -3896,26 +3909,26 @@ snapshots: retry@0.13.1: {} - rolldown@1.2.16: + rolldown@1.0.3: dependencies: - '@oxc-project/types': 0.156.0 + '@oxc-project/types': 0.133.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm-eabi': 1.2.16 - '@rolldown/binding-android-arm64': 1.2.16 - '@rolldown/binding-darwin-arm64': 1.2.16 - '@rolldown/binding-darwin-x64': 1.2.16 - '@rolldown/binding-freebsd-x64': 1.2.16 - '@rolldown/binding-linux-arm-gnueabihf': 1.2.16 - '@rolldown/binding-linux-arm64-gnu': 1.2.16 - '@rolldown/binding-linux-arm64-musl': 1.2.16 - '@rolldown/binding-linux-ppc64-gnu': 1.2.16 - '@rolldown/binding-linux-s390x-gnu': 1.2.16 - '@rolldown/binding-linux-x64-gnu': 1.2.16 - '@rolldown/binding-linux-x64-musl': 1.2.16 - '@rolldown/binding-openharmony-arm64': 1.2.16 - '@rolldown/binding-win32-arm64-msvc': 1.2.16 - '@rolldown/binding-win32-x64-msvc': 1.2.16 + '@rolldown/binding-android-arm64': 1.0.3 + '@rolldown/binding-darwin-arm64': 1.0.3 + '@rolldown/binding-darwin-x64': 1.0.3 + '@rolldown/binding-freebsd-x64': 1.0.3 + '@rolldown/binding-linux-arm-gnueabihf': 1.0.3 + '@rolldown/binding-linux-arm64-gnu': 1.0.3 + '@rolldown/binding-linux-arm64-musl': 1.0.3 + '@rolldown/binding-linux-ppc64-gnu': 1.0.3 + '@rolldown/binding-linux-s390x-gnu': 1.0.3 + '@rolldown/binding-linux-x64-gnu': 1.0.3 + '@rolldown/binding-linux-x64-musl': 1.0.3 + '@rolldown/binding-openharmony-arm64': 1.0.3 + '@rolldown/binding-wasm32-wasi': 1.0.3 + '@rolldown/binding-win32-arm64-msvc': 1.0.3 + '@rolldown/binding-win32-x64-msvc': 1.0.3 rollup@4.61.1: dependencies: @@ -3970,7 +3983,7 @@ snapshots: slash@3.0.0: {} - source-map-js@1.2.2: {} + source-map-js@1.2.1: {} source-map@0.7.6: {} @@ -4066,7 +4079,7 @@ snapshots: tslib@2.8.1: {} - tsup@8.5.1(postcss@8.5.32)(typescript@5.9.3): + tsup@8.5.1(postcss@8.5.23)(typescript@5.9.3): dependencies: bundle-require: 5.1.0(esbuild@0.28.1) cac: 6.7.14 @@ -4077,7 +4090,7 @@ snapshots: fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(postcss@8.5.32) + postcss-load-config: 6.0.1(postcss@8.5.23) resolve-from: 5.0.0 rollup: 4.61.1 source-map: 0.7.6 @@ -4086,7 +4099,7 @@ snapshots: tinyglobby: 0.2.17 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.5.32 + postcss: 8.5.23 typescript: 5.9.3 transitivePeerDependencies: - jiti @@ -4108,7 +4121,7 @@ snapshots: undici-types@6.21.0: {} - undici@7.30.2: {} + undici@7.30.0: {} util-deprecate@1.0.2: {} @@ -4116,22 +4129,22 @@ snapshots: uuid@14.0.0: {} - vite@8.3.6(@types/node@22.19.20)(esbuild@0.28.1): + vite@8.0.16(@types/node@22.19.20)(esbuild@0.28.1): dependencies: - lightningcss: 1.33.0 - picomatch: 4.0.7 - postcss: 8.5.32 - rolldown: 1.2.16 + lightningcss: 1.32.0 + picomatch: 4.0.4 + postcss: 8.5.23 + rolldown: 1.0.3 tinyglobby: 0.2.17 optionalDependencies: '@types/node': 22.19.20 esbuild: 0.28.1 fsevents: 2.3.3 - vitest@4.1.11(@types/node@22.19.20)(@vitest/coverage-v8@4.1.11)(vite@8.3.6(@types/node@22.19.20)(esbuild@0.28.1)): + vitest@4.1.11(@types/node@22.19.20)(@vitest/coverage-v8@4.1.11)(vite@8.0.16(@types/node@22.19.20)(esbuild@0.28.1)): dependencies: '@vitest/expect': 4.1.11 - '@vitest/mocker': 4.1.11(vite@8.3.6(@types/node@22.19.20)(esbuild@0.28.1)) + '@vitest/mocker': 4.1.11(vite@8.0.16(@types/node@22.19.20)(esbuild@0.28.1)) '@vitest/pretty-format': 4.1.11 '@vitest/runner': 4.1.11 '@vitest/snapshot': 4.1.11 @@ -4148,7 +4161,7 @@ snapshots: tinyexec: 1.2.4 tinyglobby: 0.2.17 tinyrainbow: 3.1.0 - vite: 8.3.6(@types/node@22.19.20)(esbuild@0.28.1) + vite: 8.0.16(@types/node@22.19.20)(esbuild@0.28.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.19.20 @@ -4187,10 +4200,9 @@ snapshots: ws@8.21.0: {} - wsl-utils@1.0.1: + wsl-utils@0.1.0: dependencies: is-wsl: 3.1.1 - powershell-utils: 0.2.1 xtend@4.0.2: {} diff --git a/integrations/openclaw/pnpm-workspace.yaml b/integrations/openclaw/pnpm-workspace.yaml index 5d33b5e7b..34e812fa8 100644 --- a/integrations/openclaw/pnpm-workspace.yaml +++ b/integrations/openclaw/pnpm-workspace.yaml @@ -13,18 +13,15 @@ onlyBuiltDependencies: - protobufjs overrides: - "@azure/identity@<4.14.1": ">=4.14.1 <5.0.0" "form-data@<4.0.6": ">=4.0.6" "protobufjs@<7.6.5": ">=7.6.5 <8.0.0" - "vite": "^8.1.6" + "vite": "^8.0.5" "langsmith@<0.6.0": "^0.6.0" "picomatch@<2.3.2": "^2.3.2" "@qdrant/js-client-rest": "^1.18.0" "uuid@<11.1.1": ">=11.1.1" "esbuild": ">=0.28.1" - "undici@<7.30.1": ">=7.30.1 <8.0.0" - "axios@<1.20.0": ">=1.20.0 <2.0.0" + "undici@<7.29.1": ">=7.29.1 <8.0.0" + "axios@<1.18.0": ">=1.18.0 <2.0.0" "postcss@<8.5.18": ">=8.5.18 <9.0.0" "mongoose@>=9.0.0 <9.7.2": ">=9.7.2 <10.0.0" - "follow-redirects@<1.16.2": ">=1.16.2 <2.0.0" - "source-map-js@<1.2.2": ">=1.2.2 <2.0.0" diff --git a/integrations/pi-agent-plugin/package.json b/integrations/pi-agent-plugin/package.json index ed7b70b6c..56952c42f 100644 --- a/integrations/pi-agent-plugin/package.json +++ b/integrations/pi-agent-plugin/package.json @@ -69,19 +69,16 @@ }, "pnpm": { "overrides": { - "@azure/identity@<4.14.1": ">=4.14.1 <5.0.0", "form-data@<4.0.6": ">=4.0.6", "uuid@<11.1.1": ">=11.1.1", "esbuild": ">=0.28.1", - "undici@<7.30.1": ">=7.30.1 <8.0.0", - "undici@>=8.0.0 <8.12.2": ">=8.12.2 <9.0.0", - "axios@<1.20.0": ">=1.20.0 <2.0.0", + "undici@<7.29.1": ">=7.29.1 <8.0.0", + "undici@>=8.0.0 <8.10.2": ">=8.10.2 <9.0.0", + "axios@<1.18.0": ">=1.18.0 <2.0.0", "brace-expansion@>=3.0.0 <5.0.8": ">=5.0.8 <6.0.0", "postcss@<8.5.18": ">=8.5.18 <9.0.0", "mongoose@>=9.0.0 <9.7.2": ">=9.7.2 <10.0.0", - "protobufjs@<7.6.5": ">=7.6.5 <8.0.0", - "follow-redirects@<1.16.2": ">=1.16.2 <2.0.0", - "vite": "^8.1.6" + "protobufjs@<7.6.5": ">=7.6.5 <8.0.0" } } } diff --git a/integrations/pi-agent-plugin/pnpm-lock.yaml b/integrations/pi-agent-plugin/pnpm-lock.yaml index dfb76912f..0a4100fc8 100644 --- a/integrations/pi-agent-plugin/pnpm-lock.yaml +++ b/integrations/pi-agent-plugin/pnpm-lock.yaml @@ -5,19 +5,16 @@ settings: excludeLinksFromLockfile: false overrides: - '@azure/identity@<4.14.1': '>=4.14.1 <5.0.0' form-data@<4.0.6: '>=4.0.6' uuid@<11.1.1: '>=11.1.1' esbuild: '>=0.28.1' - undici@<7.30.1: '>=7.30.1 <8.0.0' - undici@>=8.0.0 <8.12.2: '>=8.12.2 <9.0.0' - axios@<1.20.0: '>=1.20.0 <2.0.0' + undici@<7.29.1: '>=7.29.1 <8.0.0' + undici@>=8.0.0 <8.10.2: '>=8.10.2 <9.0.0' + axios@<1.18.0: '>=1.18.0 <2.0.0' brace-expansion@>=3.0.0 <5.0.8: '>=5.0.8 <6.0.0' postcss@<8.5.18: '>=8.5.18 <9.0.0' mongoose@>=9.0.0 <9.7.2: '>=9.7.2 <10.0.0' protobufjs@<7.6.5: '>=7.6.5 <8.0.0' - follow-redirects@<1.16.2: '>=1.16.2 <2.0.0' - vite: ^8.1.6 importers: @@ -25,7 +22,7 @@ importers: dependencies: mem0ai: specifier: ^3.0.7 - version: 3.0.7(@anthropic-ai/sdk@0.91.1(zod@3.25.76))(@azure/identity@4.14.1)(@azure/search-documents@12.2.0)(@cloudflare/workers-types@4.20260610.1)(@google/genai@1.52.0)(@langchain/core@1.1.48(openai@6.26.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))(@mistralai/mistralai@2.2.1)(@qdrant/js-client-rest@1.18.0(typescript@6.0.3))(@supabase/supabase-js@2.108.1)(@types/jest@29.5.14)(@types/pg@8.11.0)(better-sqlite3@12.10.0)(cloudflare@4.5.0)(compromise@14.15.1)(groq-sdk@0.3.0)(natural@8.1.1)(ollama@0.5.18)(pg@8.11.3)(redis@5.12.1)(ws@8.21.0) + version: 3.0.7(@anthropic-ai/sdk@0.91.1(zod@3.25.76))(@azure/identity@4.13.1)(@azure/search-documents@12.2.0)(@cloudflare/workers-types@4.20260610.1)(@google/genai@1.52.0)(@langchain/core@1.1.48(openai@6.26.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))(@mistralai/mistralai@2.2.1)(@qdrant/js-client-rest@1.18.0(typescript@6.0.3))(@supabase/supabase-js@2.108.1)(@types/jest@29.5.14)(@types/pg@8.11.0)(better-sqlite3@12.10.0)(cloudflare@4.5.0)(compromise@14.15.1)(groq-sdk@0.3.0)(natural@8.1.1)(ollama@0.5.18)(pg@8.11.3)(redis@5.12.1)(ws@8.21.0) devDependencies: '@earendil-works/pi-ai': specifier: ^0.79.0 @@ -38,7 +35,7 @@ importers: version: 25.9.2 tsup: specifier: ^8.5.0 - version: 8.5.1(jiti@2.7.0)(postcss@8.5.32)(typescript@6.0.3)(yaml@2.9.0) + version: 8.5.1(jiti@2.7.0)(postcss@8.5.23)(typescript@6.0.3)(yaml@2.9.0) typebox: specifier: ^1.2.3 version: 1.2.8 @@ -47,7 +44,7 @@ importers: version: 6.0.3 vitest: specifier: ^4.1.11 - version: 4.1.11(@types/node@25.9.2)(vite@8.3.6(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0)) + version: 4.1.11(@types/node@25.9.2)(vite@8.0.16(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0)) packages: @@ -184,10 +181,6 @@ packages: resolution: {integrity: sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA==} engines: {node: '>=18.0.0'} - '@azure/core-process@1.0.0': - resolution: {integrity: sha512-/shnJ+ooO8WPxDhPEeI/2oRQuubn16gZ6CvlbpWbEswZfzwI9tI/sMAHmF3x1LuQ9yZYXfLW3TjzGMLEC5blKg==} - engines: {node: '>=22.0.0'} - '@azure/core-rest-pipeline@1.24.0': resolution: {integrity: sha512-PpLsoDQ3AMmKZ0VU+0GrmqMxgp/sExjlVm4R+nLWngeoEGAzOIPVifaxKGU5gMv+nWELUoHfvrolWD+ZS/nFJg==} engines: {node: '>=20.0.0'} @@ -200,9 +193,9 @@ packages: resolution: {integrity: sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==} engines: {node: '>=20.0.0'} - '@azure/identity@4.14.1': - resolution: {integrity: sha512-HHuuFrmN1uuF9D5A6aAo5eHzNFNX4Q+P4SksZqDKse5YaJFFy/zDLG3wXHEV2FVGgetZ3QM8jGURNBtnQYf1NQ==} - engines: {node: '>=22.0.0'} + '@azure/identity@4.13.1': + resolution: {integrity: sha512-5C/2WD5Vb1lHnZS16dNQRPMjN6oV/Upba+C9nBIs15PmOi6A3ZGs4Lr2u60zw4S04gi+u3cEXiqTVP7M4Pz3kw==} + engines: {node: '>=20.0.0'} '@azure/logger@1.3.0': resolution: {integrity: sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==} @@ -212,16 +205,12 @@ packages: resolution: {integrity: sha512-eNf2aqx1C6I0yT1GEu5ukblFrmaBXGfe1bivpmlfqvK7giPZvoXLa404C8EfeHVsy6EIryfQuPRzuW1fPxWlHg==} engines: {node: '>=0.8.0'} - '@azure/msal-common@16.16.0': - resolution: {integrity: sha512-EZgd8h5nczsdRAQAgXA0A0pC5L/zj43n1jePXvUMgdwXMbH2zhb7b7Hp+Oe7ZOODK/sch2x+soD6FOrtgUbx/w==} - engines: {node: '>=0.8.0'} - '@azure/msal-common@16.7.0': resolution: {integrity: sha512-Jb8Y7pX6KM42SIT7KWP6YbY3+vLbwB5b5m+tpiiOzMU1QeyelQzs9lO8jv1e7/Uj9r7tg7VjPvW4T0KB1jF3UQ==} engines: {node: '>=0.8.0'} - '@azure/msal-node@7.2.0': - resolution: {integrity: sha512-Y87VJsMWF4jiqLqq8XYLb1o+rGc/HacwS3Zydi3bDtaVm5Sa8FlB7YrKrBFKRIYj27RJXAaDkErImMAqtM10Pg==} + '@azure/msal-node@5.2.3': + resolution: {integrity: sha512-YYX4TchEVddVBiybKvKhV9QO/q22jgewP+BVxKG7Uh115voPcviGlypbKERDsqQdAiSTJrwi80gcWFjYKdo8+Q==} engines: {node: '>=20'} '@azure/search-documents@12.2.0': @@ -264,6 +253,15 @@ packages: resolution: {integrity: sha512-YvZCMfSE0YDSLNklAwMY6LC6SyEgnP0zMOoioTLNnXFNdexrCexMJdee7iDJsNcFlKt7+DVLccomuURtZS1C6g==} engines: {node: '>=22.19.0'} + '@emnapi/core@1.10.0': + resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==} + + '@emnapi/runtime@1.10.0': + resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==} + + '@emnapi/wasi-threads@1.2.1': + resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==} + '@esbuild/aix-ppc64@0.28.1': resolution: {integrity: sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==} engines: {node: '>=18'} @@ -532,11 +530,17 @@ packages: '@mongodb-js/saslprep@1.4.11': resolution: {integrity: sha512-o9rAHc0IpIjuPSxRutWpE1F62x7n+4mVS4rCNHkzhIUMQcc18bb6xEq5wd2NdN0WjepIyXIppRshYI2kQDOZVA==} + '@napi-rs/wasm-runtime@1.1.5': + resolution: {integrity: sha512-AWPoBRJ9tsnVhor4sjO7rkni+7p+2IAEFj6cx06UgP10jkQHqay/36uRV/bFkgrh18D9vb4cr8Q0Pthskgzy+Q==} + peerDependencies: + '@emnapi/core': ^1.7.1 + '@emnapi/runtime': ^1.7.1 + '@nodable/entities@2.1.1': resolution: {integrity: sha512-Pig3HxDIoMgjdEH8OCf/dkcTmLFjJRjWuq8jSnklu284/TKOPibSRERmOykiwmyXTtv61mP+44f3GMx0tLAyjg==} - '@oxc-project/types@0.156.0': - resolution: {integrity: sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==} + '@oxc-project/types@0.133.0': + resolution: {integrity: sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA==} '@protobufjs/aspromise@1.1.2': resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} @@ -611,98 +615,97 @@ packages: peerDependencies: '@redis/client': ^5.12.1 - '@rolldown/binding-android-arm-eabi@1.2.16': - resolution: {integrity: sha512-ia3DwAs0OsMGS7+IConptSiyk9pEXkOx/AbJ2n/lAGxH3QkWQus1t8d7gnAT38FCU2sQu8lUbeR6AiZFv4JxaA==} - engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm] - os: [android] - - '@rolldown/binding-android-arm64@1.2.16': - resolution: {integrity: sha512-kx5wBiMB6E7TEvpl2B9gjLU004BkvEm2Dr941BFjx/SontPwSzNuQUIoVKxHHoSjpFIfHMmcguyLOtyn0hObRg==} + '@rolldown/binding-android-arm64@1.0.3': + resolution: {integrity: sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.2.16': - resolution: {integrity: sha512-qslZrXnKJU4cUpjoAmtAo/KQM9e2IRMlmpig6Zpwj+8KWxW8v+nkAf9216Bsek9lOC1jvg2yCjygCFo2f83msQ==} + '@rolldown/binding-darwin-arm64@1.0.3': + resolution: {integrity: sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.2.16': - resolution: {integrity: sha512-FdF+y48ND13eAyM2mQn+85kvAqNlvRWROy2rhgA463X/0Gv4vGtazZtfaF1mRBLscYvtOlh4QnLjOWiFzX69OQ==} + '@rolldown/binding-darwin-x64@1.0.3': + resolution: {integrity: sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.2.16': - resolution: {integrity: sha512-ddjqFM5e95AgLbUPtKIS7V1KTVlA0RUgCVr5mn+/IEhsdy3pr+Vuj/HZ7nlMN2FyxIwUktOH1LEPIQXO1v9y1Q==} + '@rolldown/binding-freebsd-x64@1.0.3': + resolution: {integrity: sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.2.16': - resolution: {integrity: sha512-tHdKWbFkFBI687iim3LIyIvyL7j66VvQYkDPss5Stn/qyE2tWkR1YD0dXmXPFKKqT/o5ZEJVsaRsWS2meQwGOA==} + '@rolldown/binding-linux-arm-gnueabihf@1.0.3': + resolution: {integrity: sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.2.16': - resolution: {integrity: sha512-FJiLGAblPBMlBEdbOqw6kW6QcXDWAf/oJu7gYs9ZJZwmg+K+/zjFLxPTIY9izJUzxzc24FHvmseyA0IvJSl17w==} + '@rolldown/binding-linux-arm64-gnu@1.0.3': + resolution: {integrity: sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.2.16': - resolution: {integrity: sha512-hrJpblMsrQ58U9veWpbXzkhV5zStunds6HWLprqq1qauvgBr1E6P+24kLj6lSLI9vjRn/RYpjprhkHQPKGWpNg==} + '@rolldown/binding-linux-arm64-musl@1.0.3': + resolution: {integrity: sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.2.16': - resolution: {integrity: sha512-qJd/dC6j6CwLG9/s/RP2nb1RZ0GIgj7Ioj7x/SYa3RzjVrlzrmH0fhIOpfvqQDeIsdP0loi+kHaMhJzY1PBIaA==} + '@rolldown/binding-linux-ppc64-gnu@1.0.3': + resolution: {integrity: sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.2.16': - resolution: {integrity: sha512-Vx7Xg5uUJuNcujJjI70OICaH0EYj80BtOLZTSN7uOYg8QOLlyKnaG0IW7Fn/J0IpJsaKzmDKMhOQv1JBM9m9vg==} + '@rolldown/binding-linux-s390x-gnu@1.0.3': + resolution: {integrity: sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.2.16': - resolution: {integrity: sha512-TNKhgE3uJTsTzatUSSYt0Kgo+Oa2uSlSjz4r1aEIea7HX6ULBym4fAlYUhG1i6pjNf2njfCUAfKwr6C3E9Xg1w==} + '@rolldown/binding-linux-x64-gnu@1.0.3': + resolution: {integrity: sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.2.16': - resolution: {integrity: sha512-7chXdpjXZ8qG0+mIxECN3cT9kvhZ3/oZhMX6Pp876P7CDrIy8nJswva6Mq357JR7eYXfuskwZxMeV1SzoZdHrA==} + '@rolldown/binding-linux-x64-musl@1.0.3': + resolution: {integrity: sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.2.16': - resolution: {integrity: sha512-Kwjt+7uNTJK5/MDkGWGVO2KQPnj8yAV75dMpfwyHZrJSXWHrniOB0aUEWlVYf3H1hOqFLIStLdM5QXq6bnKmOQ==} + '@rolldown/binding-openharmony-arm64@1.0.3': + resolution: {integrity: sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-win32-arm64-msvc@1.2.16': - resolution: {integrity: sha512-/LH6WfjDRXXJz/p5xl4TmU+jpcnwcxbKEQBW/GZE0JHfN0lGIyTtsUEGaQ/q/GikkGJ2yLKe6pwm7AnEWO8pdw==} + '@rolldown/binding-wasm32-wasi@1.0.3': + resolution: {integrity: sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [wasm32] + + '@rolldown/binding-win32-arm64-msvc@1.0.3': + resolution: {integrity: sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.2.16': - resolution: {integrity: sha512-1lv1KvX0Z871zfk7vw+dnXMMnHNyDwMzWG8Kv3HxDXMOhzCX4SHc7HK319fInP0i+0p9D8brkfzL7pJOaGl+tw==} + '@rolldown/binding-win32-x64-msvc@1.0.3': + resolution: {integrity: sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -924,6 +927,9 @@ packages: resolution: {integrity: sha512-V/1hRKLSCJ0zEL+9QFRBUtivvePfOsaAYQmC0HhFNSHC2F3xFs4jSF3YhkLmzex6E4V4FGvmBDOP72D/53NnZA==} engines: {node: '>=20.0.0'} + '@tybys/wasm-util@0.10.2': + resolution: {integrity: sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==} + '@types/chai@5.2.3': resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} @@ -986,7 +992,7 @@ packages: resolution: {integrity: sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==} peerDependencies: msw: ^2.4.9 - vite: ^8.1.6 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: msw: optional: true @@ -1060,8 +1066,8 @@ packages: asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - axios@1.20.0: - resolution: {integrity: sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==} + axios@1.18.1: + resolution: {integrity: sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==} balanced-match@4.0.4: resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} @@ -1223,8 +1229,8 @@ packages: resolution: {integrity: sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==} engines: {node: '>=18'} - default-browser@5.5.1: - resolution: {integrity: sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==} + default-browser@5.5.0: + resolution: {integrity: sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==} engines: {node: '>=18'} define-lazy-prop@3.0.0: @@ -1355,8 +1361,8 @@ packages: fix-dts-default-cjs-exports@1.0.1: resolution: {integrity: sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==} - follow-redirects@1.16.2: - resolution: {integrity: sha512-/kVP2U8z596Ia0gwFrwyIeo74ta5aVmSeU1FfAUMAmcEP5EP7zydmag3SLiN64NaRKef3lxsq7i/g7ltJQDGow==} + follow-redirects@1.16.0: + resolution: {integrity: sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -1502,10 +1508,6 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} hasBin: true - is-in-ssh@1.0.0: - resolution: {integrity: sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==} - engines: {node: '>=20'} - is-inside-container@1.0.0: resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} engines: {node: '>=14.16'} @@ -1597,78 +1599,78 @@ packages: ws: optional: true - lightningcss-android-arm64@1.33.0: - resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==} + lightningcss-android-arm64@1.32.0: + resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [android] - lightningcss-darwin-arm64@1.33.0: - resolution: {integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==} + lightningcss-darwin-arm64@1.32.0: + resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] - lightningcss-darwin-x64@1.33.0: - resolution: {integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==} + lightningcss-darwin-x64@1.32.0: + resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] - lightningcss-freebsd-x64@1.33.0: - resolution: {integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==} + lightningcss-freebsd-x64@1.32.0: + resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [freebsd] - lightningcss-linux-arm-gnueabihf@1.33.0: - resolution: {integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==} + lightningcss-linux-arm-gnueabihf@1.32.0: + resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] - lightningcss-linux-arm64-gnu@1.33.0: - resolution: {integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==} + lightningcss-linux-arm64-gnu@1.32.0: + resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] libc: [glibc] - lightningcss-linux-arm64-musl@1.33.0: - resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==} + lightningcss-linux-arm64-musl@1.32.0: + resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] libc: [musl] - lightningcss-linux-x64-gnu@1.33.0: - resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==} + lightningcss-linux-x64-gnu@1.32.0: + resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] libc: [glibc] - lightningcss-linux-x64-musl@1.33.0: - resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==} + lightningcss-linux-x64-musl@1.32.0: + resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] libc: [musl] - lightningcss-win32-arm64-msvc@1.33.0: - resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==} + lightningcss-win32-arm64-msvc@1.32.0: + resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [win32] - lightningcss-win32-x64-msvc@1.33.0: - resolution: {integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==} + lightningcss-win32-x64-msvc@1.32.0: + resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] - lightningcss@1.33.0: - resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==} + lightningcss@1.32.0: + resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==} engines: {node: '>= 12.0.0'} lilconfig@3.1.3: @@ -1730,7 +1732,7 @@ packages: engines: {node: '>=18'} peerDependencies: '@anthropic-ai/sdk': ^0.40.1 - '@azure/identity': '>=4.14.1 <5.0.0' + '@azure/identity': ^4.0.0 '@azure/search-documents': ^12.0.0 '@cloudflare/workers-types': ^4.20250504.0 '@google/genai': ^1.40.0 @@ -1842,8 +1844,8 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nanoid@3.3.20: - resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==} + nanoid@3.3.16: + resolution: {integrity: sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -1893,9 +1895,9 @@ packages: once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - open@11.0.4: - resolution: {integrity: sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg==} - engines: {node: '>=20'} + open@10.2.0: + resolution: {integrity: sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==} + engines: {node: '>=18'} openai@4.104.0: resolution: {integrity: sha512-p99EFNsA/yX6UhVO93f5kJsDRLAg+CTA2RBqdHK4RtK8u5IJw32Hyb2dTGKbnnFmnuoBv5r7Z2CURI9sGZpSuA==} @@ -2020,10 +2022,6 @@ packages: resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} engines: {node: '>=12'} - picomatch@4.0.7: - resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} - engines: {node: '>=12'} - pirates@4.0.7: resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} engines: {node: '>= 6'} @@ -2049,8 +2047,8 @@ packages: yaml: optional: true - postcss@8.5.32: - resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} + postcss@8.5.23: + resolution: {integrity: sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==} engines: {node: ^10 || ^12 || >=14} postgres-array@2.0.0: @@ -2088,10 +2086,6 @@ packages: postgres-range@1.1.4: resolution: {integrity: sha512-i/hbxIE9803Alj/6ytL7UHQxRvZkI9O4Sy+J3HGc4F4oo/2eQAjTSNJ0bfxyse3bH0nuVesCk+3IRLaMtG3H6w==} - powershell-utils@0.2.1: - resolution: {integrity: sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==} - engines: {node: '>=20'} - prebuild-install@7.1.3: resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==} engines: {node: '>=10'} @@ -2151,8 +2145,8 @@ packages: resolution: {integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==} engines: {node: '>= 4'} - rolldown@1.2.16: - resolution: {integrity: sha512-bWvlMpFKiTfDKfnK7FC2MPgPeWCf/Kpwsq49ApdW+FQaBZb6O6dZ4MAPbPUjp7hYQrw/RobqCzn64BRrQecGHw==} + rolldown@1.0.3: + resolution: {integrity: sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -2204,8 +2198,8 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - source-map-js@1.2.2: - resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} source-map@0.7.6: @@ -2360,12 +2354,12 @@ packages: undici-types@7.24.6: resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==} - undici@7.30.2: - resolution: {integrity: sha512-mLyPQnHwUxaM/rideoK/+KL8DaAJLRl4aBCfmX444aCSLnIaomqPLtNRe2jdCYcsk5wZzXrDIQC8ZeYNRAYyIA==} + undici@7.30.0: + resolution: {integrity: sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==} engines: {node: '>=20.18.1'} - undici@8.12.4: - resolution: {integrity: sha512-8Mx+uNKKER2bA4AdtedkqRbwUCIJFr2nJckXRe5yrDqzePqwLP7VNcctN8/XdmDSbF7mS+jJKIszlL+vbam1VA==} + undici@8.11.2: + resolution: {integrity: sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==} engines: {node: '>=22.19.0'} util-deprecate@1.0.2: @@ -2379,13 +2373,13 @@ packages: resolution: {integrity: sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==} hasBin: true - vite@8.3.6: - resolution: {integrity: sha512-UI7dK29NnS54Fk+mmo7o+jI6U8Fp7hDl+X5Q1k45WH+d4dSlbLVUETGQ+hfkNgvLQGyoElPj837nZyv4MBc0VA==} + vite@8.0.16: + resolution: {integrity: sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.7.1 || ^0.8.0 + '@vitejs/devtools': ^0.1.18 esbuild: '>=0.28.1' jiti: '>=1.21.0' less: ^4.0.0 @@ -2438,7 +2432,7 @@ packages: '@vitest/ui': 4.1.11 happy-dom: '*' jsdom: '*' - vite: ^8.1.6 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: '@edge-runtime/vm': optional: true @@ -2517,9 +2511,9 @@ packages: utf-8-validate: optional: true - wsl-utils@1.0.1: - resolution: {integrity: sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ==} - engines: {node: '>=20'} + wsl-utils@0.1.0: + resolution: {integrity: sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==} + engines: {node: '>=18'} xml-naming@0.1.0: resolution: {integrity: sha512-k8KO9hrMyNk6tUWqUfkTEZbezRRpONVOzUTnc97VnCvyj6Tf9lyUR9EDAIeiVLv56jsMcoXEwjW8Kv5yPY52lw==} @@ -2810,8 +2804,6 @@ snapshots: dependencies: tslib: 2.8.1 - '@azure/core-process@1.0.0': {} - '@azure/core-rest-pipeline@1.24.0': dependencies: '@azure/abort-controller': 2.1.2 @@ -2836,19 +2828,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@azure/identity@4.14.1': + '@azure/identity@4.13.1': dependencies: '@azure/abort-controller': 2.1.2 '@azure/core-auth': 1.10.1 '@azure/core-client': 1.10.2 - '@azure/core-process': 1.0.0 '@azure/core-rest-pipeline': 1.24.0 '@azure/core-tracing': 1.3.1 '@azure/core-util': 1.13.1 '@azure/logger': 1.3.0 '@azure/msal-browser': 5.12.0 - '@azure/msal-node': 7.2.0 - open: 11.0.4 + '@azure/msal-node': 5.2.3 + open: 10.2.0 tslib: 2.8.1 transitivePeerDependencies: - supports-color @@ -2864,13 +2855,11 @@ snapshots: dependencies: '@azure/msal-common': 16.7.0 - '@azure/msal-common@16.16.0': {} - '@azure/msal-common@16.7.0': {} - '@azure/msal-node@7.2.0': + '@azure/msal-node@5.2.3': dependencies: - '@azure/msal-common': 16.16.0 + '@azure/msal-common': 16.7.0 jsonwebtoken: 9.0.3 '@azure/search-documents@12.2.0': @@ -2953,7 +2942,7 @@ snapshots: minimatch: 10.2.5 proper-lockfile: 4.1.2 typebox: 1.1.38 - undici: 8.12.4 + undici: 8.11.2 yaml: 2.9.0 optionalDependencies: '@mariozechner/clipboard': 0.3.9 @@ -2970,6 +2959,22 @@ snapshots: get-east-asian-width: 1.6.0 marked: 15.0.12 + '@emnapi/core@1.10.0': + dependencies: + '@emnapi/wasi-threads': 1.2.1 + tslib: 2.8.1 + optional: true + + '@emnapi/runtime@1.10.0': + dependencies: + tslib: 2.8.1 + optional: true + + '@emnapi/wasi-threads@1.2.1': + dependencies: + tslib: 2.8.1 + optional: true + '@esbuild/aix-ppc64@0.28.1': optional: true @@ -3163,9 +3168,16 @@ snapshots: dependencies: sparse-bitfield: 3.0.3 + '@napi-rs/wasm-runtime@1.1.5(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': + dependencies: + '@emnapi/core': 1.10.0 + '@emnapi/runtime': 1.10.0 + '@tybys/wasm-util': 0.10.2 + optional: true + '@nodable/entities@2.1.1': {} - '@oxc-project/types@0.156.0': {} + '@oxc-project/types@0.133.0': {} '@protobufjs/aspromise@1.1.2': {} @@ -3191,7 +3203,7 @@ snapshots: dependencies: '@qdrant/openapi-typescript-fetch': 1.2.6 typescript: 6.0.3 - undici: 7.30.2 + undici: 7.30.0 '@qdrant/openapi-typescript-fetch@1.2.6': {} @@ -3215,49 +3227,53 @@ snapshots: dependencies: '@redis/client': 5.12.1 - '@rolldown/binding-android-arm-eabi@1.2.16': + '@rolldown/binding-android-arm64@1.0.3': optional: true - '@rolldown/binding-android-arm64@1.2.16': + '@rolldown/binding-darwin-arm64@1.0.3': optional: true - '@rolldown/binding-darwin-arm64@1.2.16': + '@rolldown/binding-darwin-x64@1.0.3': optional: true - '@rolldown/binding-darwin-x64@1.2.16': + '@rolldown/binding-freebsd-x64@1.0.3': optional: true - '@rolldown/binding-freebsd-x64@1.2.16': + '@rolldown/binding-linux-arm-gnueabihf@1.0.3': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.2.16': + '@rolldown/binding-linux-arm64-gnu@1.0.3': optional: true - '@rolldown/binding-linux-arm64-gnu@1.2.16': + '@rolldown/binding-linux-arm64-musl@1.0.3': optional: true - '@rolldown/binding-linux-arm64-musl@1.2.16': + '@rolldown/binding-linux-ppc64-gnu@1.0.3': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.2.16': + '@rolldown/binding-linux-s390x-gnu@1.0.3': optional: true - '@rolldown/binding-linux-s390x-gnu@1.2.16': + '@rolldown/binding-linux-x64-gnu@1.0.3': optional: true - '@rolldown/binding-linux-x64-gnu@1.2.16': + '@rolldown/binding-linux-x64-musl@1.0.3': optional: true - '@rolldown/binding-linux-x64-musl@1.2.16': + '@rolldown/binding-openharmony-arm64@1.0.3': optional: true - '@rolldown/binding-openharmony-arm64@1.2.16': + '@rolldown/binding-wasm32-wasi@1.0.3': + dependencies: + '@emnapi/core': 1.10.0 + '@emnapi/runtime': 1.10.0 + '@napi-rs/wasm-runtime': 1.1.5(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) optional: true - '@rolldown/binding-win32-arm64-msvc@1.2.16': + '@rolldown/binding-win32-arm64-msvc@1.0.3': optional: true - '@rolldown/binding-win32-x64-msvc@1.2.16': + '@rolldown/binding-win32-x64-msvc@1.0.3': optional: true '@rolldown/pluginutils@1.0.1': {} @@ -3429,6 +3445,11 @@ snapshots: '@supabase/realtime-js': 2.108.1 '@supabase/storage-js': 2.108.1 + '@tybys/wasm-util@0.10.2': + dependencies: + tslib: 2.8.1 + optional: true + '@types/chai@5.2.3': dependencies: '@types/deep-eql': 4.0.2 @@ -3505,13 +3526,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.0 - '@vitest/mocker@4.1.11(vite@8.3.6(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0))': + '@vitest/mocker@4.1.11(vite@8.0.16(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0))': dependencies: '@vitest/spy': 4.1.11 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 8.3.6(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0) + vite: 8.0.16(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0) '@vitest/pretty-format@4.1.11': dependencies: @@ -3577,9 +3598,9 @@ snapshots: asynckit@0.4.0: {} - axios@1.20.0: + axios@1.18.1: dependencies: - follow-redirects: 1.16.2 + follow-redirects: 1.16.0 form-data: 4.0.6 https-proxy-agent: 5.0.1 proxy-from-env: 2.1.0 @@ -3726,7 +3747,7 @@ snapshots: default-browser-id@5.0.1: {} - default-browser@5.5.1: + default-browser@5.5.0: dependencies: bundle-name: 4.1.0 default-browser-id: 5.0.1 @@ -3869,7 +3890,7 @@ snapshots: mlly: 1.8.2 rollup: 4.61.1 - follow-redirects@1.16.2: {} + follow-redirects@1.16.0: {} form-data-encoder@1.7.2: {} @@ -4031,8 +4052,6 @@ snapshots: is-docker@3.0.0: {} - is-in-ssh@1.0.0: {} - is-inside-container@1.0.0: dependencies: is-docker: 3.0.0 @@ -4134,54 +4153,54 @@ snapshots: openai: 6.26.0(ws@8.21.0)(zod@3.25.76) ws: 8.21.0 - lightningcss-android-arm64@1.33.0: + lightningcss-android-arm64@1.32.0: optional: true - lightningcss-darwin-arm64@1.33.0: + lightningcss-darwin-arm64@1.32.0: optional: true - lightningcss-darwin-x64@1.33.0: + lightningcss-darwin-x64@1.32.0: optional: true - lightningcss-freebsd-x64@1.33.0: + lightningcss-freebsd-x64@1.32.0: optional: true - lightningcss-linux-arm-gnueabihf@1.33.0: + lightningcss-linux-arm-gnueabihf@1.32.0: optional: true - lightningcss-linux-arm64-gnu@1.33.0: + lightningcss-linux-arm64-gnu@1.32.0: optional: true - lightningcss-linux-arm64-musl@1.33.0: + lightningcss-linux-arm64-musl@1.32.0: optional: true - lightningcss-linux-x64-gnu@1.33.0: + lightningcss-linux-x64-gnu@1.32.0: optional: true - lightningcss-linux-x64-musl@1.33.0: + lightningcss-linux-x64-musl@1.32.0: optional: true - lightningcss-win32-arm64-msvc@1.33.0: + lightningcss-win32-arm64-msvc@1.32.0: optional: true - lightningcss-win32-x64-msvc@1.33.0: + lightningcss-win32-x64-msvc@1.32.0: optional: true - lightningcss@1.33.0: + lightningcss@1.32.0: dependencies: detect-libc: 2.1.2 optionalDependencies: - lightningcss-android-arm64: 1.33.0 - lightningcss-darwin-arm64: 1.33.0 - lightningcss-darwin-x64: 1.33.0 - lightningcss-freebsd-x64: 1.33.0 - lightningcss-linux-arm-gnueabihf: 1.33.0 - lightningcss-linux-arm64-gnu: 1.33.0 - lightningcss-linux-arm64-musl: 1.33.0 - lightningcss-linux-x64-gnu: 1.33.0 - lightningcss-linux-x64-musl: 1.33.0 - lightningcss-win32-arm64-msvc: 1.33.0 - lightningcss-win32-x64-msvc: 1.33.0 + lightningcss-android-arm64: 1.32.0 + lightningcss-darwin-arm64: 1.32.0 + lightningcss-darwin-x64: 1.32.0 + lightningcss-freebsd-x64: 1.32.0 + lightningcss-linux-arm-gnueabihf: 1.32.0 + lightningcss-linux-arm64-gnu: 1.32.0 + lightningcss-linux-arm64-musl: 1.32.0 + lightningcss-linux-x64-gnu: 1.32.0 + lightningcss-linux-x64-musl: 1.32.0 + lightningcss-win32-arm64-msvc: 1.32.0 + lightningcss-win32-x64-msvc: 1.32.0 lilconfig@3.1.3: {} @@ -4221,10 +4240,10 @@ snapshots: crypt: 0.0.2 is-buffer: 1.1.6 - mem0ai@3.0.7(@anthropic-ai/sdk@0.91.1(zod@3.25.76))(@azure/identity@4.14.1)(@azure/search-documents@12.2.0)(@cloudflare/workers-types@4.20260610.1)(@google/genai@1.52.0)(@langchain/core@1.1.48(openai@6.26.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))(@mistralai/mistralai@2.2.1)(@qdrant/js-client-rest@1.18.0(typescript@6.0.3))(@supabase/supabase-js@2.108.1)(@types/jest@29.5.14)(@types/pg@8.11.0)(better-sqlite3@12.10.0)(cloudflare@4.5.0)(compromise@14.15.1)(groq-sdk@0.3.0)(natural@8.1.1)(ollama@0.5.18)(pg@8.11.3)(redis@5.12.1)(ws@8.21.0): + mem0ai@3.0.7(@anthropic-ai/sdk@0.91.1(zod@3.25.76))(@azure/identity@4.13.1)(@azure/search-documents@12.2.0)(@cloudflare/workers-types@4.20260610.1)(@google/genai@1.52.0)(@langchain/core@1.1.48(openai@6.26.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))(@mistralai/mistralai@2.2.1)(@qdrant/js-client-rest@1.18.0(typescript@6.0.3))(@supabase/supabase-js@2.108.1)(@types/jest@29.5.14)(@types/pg@8.11.0)(better-sqlite3@12.10.0)(cloudflare@4.5.0)(compromise@14.15.1)(groq-sdk@0.3.0)(natural@8.1.1)(ollama@0.5.18)(pg@8.11.3)(redis@5.12.1)(ws@8.21.0): dependencies: '@anthropic-ai/sdk': 0.91.1(zod@3.25.76) - '@azure/identity': 4.14.1 + '@azure/identity': 4.13.1 '@azure/search-documents': 12.2.0 '@cloudflare/workers-types': 4.20260610.1 '@google/genai': 1.52.0 @@ -4234,7 +4253,7 @@ snapshots: '@supabase/supabase-js': 2.108.1 '@types/jest': 29.5.14 '@types/pg': 8.11.0 - axios: 1.20.0 + axios: 1.18.1 better-sqlite3: 12.10.0 cloudflare: 4.5.0 compromise: 14.15.1 @@ -4329,7 +4348,7 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nanoid@3.3.20: {} + nanoid@3.3.16: {} napi-build-utils@2.0.0: {} @@ -4391,14 +4410,12 @@ snapshots: dependencies: wrappy: 1.0.2 - open@11.0.4: + open@10.2.0: dependencies: - default-browser: 5.5.1 + default-browser: 5.5.0 define-lazy-prop: 3.0.0 - is-in-ssh: 1.0.0 is-inside-container: 1.0.0 - powershell-utils: 0.2.1 - wsl-utils: 1.0.1 + wsl-utils: 0.1.0 openai@4.104.0(ws@8.21.0)(zod@3.25.76): dependencies: @@ -4520,8 +4537,6 @@ snapshots: picomatch@4.0.4: {} - picomatch@4.0.7: {} - pirates@4.0.7: {} pkg-types@1.3.1: @@ -4530,19 +4545,19 @@ snapshots: mlly: 1.8.2 pathe: 2.0.3 - postcss-load-config@6.0.1(jiti@2.7.0)(postcss@8.5.32)(yaml@2.9.0): + postcss-load-config@6.0.1(jiti@2.7.0)(postcss@8.5.23)(yaml@2.9.0): dependencies: lilconfig: 3.1.3 optionalDependencies: jiti: 2.7.0 - postcss: 8.5.32 + postcss: 8.5.23 yaml: 2.9.0 - postcss@8.5.32: + postcss@8.5.23: dependencies: - nanoid: 3.3.20 + nanoid: 3.3.16 picocolors: 1.1.1 - source-map-js: 1.2.2 + source-map-js: 1.2.1 postgres-array@2.0.0: {} @@ -4566,8 +4581,6 @@ snapshots: postgres-range@1.1.4: {} - powershell-utils@0.2.1: {} - prebuild-install@7.1.3: dependencies: detect-libc: 2.1.2 @@ -4652,26 +4665,26 @@ snapshots: retry@0.13.1: {} - rolldown@1.2.16: + rolldown@1.0.3: dependencies: - '@oxc-project/types': 0.156.0 + '@oxc-project/types': 0.133.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm-eabi': 1.2.16 - '@rolldown/binding-android-arm64': 1.2.16 - '@rolldown/binding-darwin-arm64': 1.2.16 - '@rolldown/binding-darwin-x64': 1.2.16 - '@rolldown/binding-freebsd-x64': 1.2.16 - '@rolldown/binding-linux-arm-gnueabihf': 1.2.16 - '@rolldown/binding-linux-arm64-gnu': 1.2.16 - '@rolldown/binding-linux-arm64-musl': 1.2.16 - '@rolldown/binding-linux-ppc64-gnu': 1.2.16 - '@rolldown/binding-linux-s390x-gnu': 1.2.16 - '@rolldown/binding-linux-x64-gnu': 1.2.16 - '@rolldown/binding-linux-x64-musl': 1.2.16 - '@rolldown/binding-openharmony-arm64': 1.2.16 - '@rolldown/binding-win32-arm64-msvc': 1.2.16 - '@rolldown/binding-win32-x64-msvc': 1.2.16 + '@rolldown/binding-android-arm64': 1.0.3 + '@rolldown/binding-darwin-arm64': 1.0.3 + '@rolldown/binding-darwin-x64': 1.0.3 + '@rolldown/binding-freebsd-x64': 1.0.3 + '@rolldown/binding-linux-arm-gnueabihf': 1.0.3 + '@rolldown/binding-linux-arm64-gnu': 1.0.3 + '@rolldown/binding-linux-arm64-musl': 1.0.3 + '@rolldown/binding-linux-ppc64-gnu': 1.0.3 + '@rolldown/binding-linux-s390x-gnu': 1.0.3 + '@rolldown/binding-linux-x64-gnu': 1.0.3 + '@rolldown/binding-linux-x64-musl': 1.0.3 + '@rolldown/binding-openharmony-arm64': 1.0.3 + '@rolldown/binding-wasm32-wasi': 1.0.3 + '@rolldown/binding-win32-arm64-msvc': 1.0.3 + '@rolldown/binding-win32-x64-msvc': 1.0.3 rollup@4.61.1: dependencies: @@ -4734,7 +4747,7 @@ snapshots: slash@3.0.0: {} - source-map-js@1.2.2: {} + source-map-js@1.2.1: {} source-map@0.7.6: {} @@ -4836,7 +4849,7 @@ snapshots: tslib@2.8.1: {} - tsup@8.5.1(jiti@2.7.0)(postcss@8.5.32)(typescript@6.0.3)(yaml@2.9.0): + tsup@8.5.1(jiti@2.7.0)(postcss@8.5.23)(typescript@6.0.3)(yaml@2.9.0): dependencies: bundle-require: 5.1.0(esbuild@0.28.1) cac: 6.7.14 @@ -4847,7 +4860,7 @@ snapshots: fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(jiti@2.7.0)(postcss@8.5.32)(yaml@2.9.0) + postcss-load-config: 6.0.1(jiti@2.7.0)(postcss@8.5.23)(yaml@2.9.0) resolve-from: 5.0.0 rollup: 4.61.1 source-map: 0.7.6 @@ -4856,7 +4869,7 @@ snapshots: tinyglobby: 0.2.17 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.5.32 + postcss: 8.5.23 typescript: 6.0.3 transitivePeerDependencies: - jiti @@ -4882,9 +4895,9 @@ snapshots: undici-types@7.24.6: {} - undici@7.30.2: {} + undici@7.30.0: {} - undici@8.12.4: {} + undici@8.11.2: {} util-deprecate@1.0.2: {} @@ -4892,12 +4905,12 @@ snapshots: uuid@14.0.0: {} - vite@8.3.6(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0): + vite@8.0.16(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0): dependencies: - lightningcss: 1.33.0 - picomatch: 4.0.7 - postcss: 8.5.32 - rolldown: 1.2.16 + lightningcss: 1.32.0 + picomatch: 4.0.4 + postcss: 8.5.23 + rolldown: 1.0.3 tinyglobby: 0.2.17 optionalDependencies: '@types/node': 25.9.2 @@ -4906,10 +4919,10 @@ snapshots: jiti: 2.7.0 yaml: 2.9.0 - vitest@4.1.11(@types/node@25.9.2)(vite@8.3.6(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0)): + vitest@4.1.11(@types/node@25.9.2)(vite@8.0.16(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0)): dependencies: '@vitest/expect': 4.1.11 - '@vitest/mocker': 4.1.11(vite@8.3.6(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0)) + '@vitest/mocker': 4.1.11(vite@8.0.16(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0)) '@vitest/pretty-format': 4.1.11 '@vitest/runner': 4.1.11 '@vitest/snapshot': 4.1.11 @@ -4926,7 +4939,7 @@ snapshots: tinyexec: 1.2.4 tinyglobby: 0.2.17 tinyrainbow: 3.1.0 - vite: 8.3.6(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0) + vite: 8.0.16(@types/node@25.9.2)(esbuild@0.28.1)(jiti@2.7.0)(yaml@2.9.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 25.9.2 @@ -4968,10 +4981,9 @@ snapshots: ws@8.21.0: {} - wsl-utils@1.0.1: + wsl-utils@0.1.0: dependencies: is-wsl: 3.1.1 - powershell-utils: 0.2.1 xml-naming@0.1.0: {} diff --git a/integrations/pi-agent-plugin/pnpm-workspace.yaml b/integrations/pi-agent-plugin/pnpm-workspace.yaml index 9e9b6e4ba..071ea6a55 100644 --- a/integrations/pi-agent-plugin/pnpm-workspace.yaml +++ b/integrations/pi-agent-plugin/pnpm-workspace.yaml @@ -2,16 +2,13 @@ packages: - '.' overrides: - "@azure/identity@<4.14.1": ">=4.14.1 <5.0.0" "form-data@<4.0.6": ">=4.0.6" "uuid@<11.1.1": ">=11.1.1" "esbuild": ">=0.28.1" - "undici@<7.30.1": ">=7.30.1 <8.0.0" - "undici@>=8.0.0 <8.12.2": ">=8.12.2 <9.0.0" - "axios@<1.20.0": ">=1.20.0 <2.0.0" + "undici@<7.29.1": ">=7.29.1 <8.0.0" + "undici@>=8.0.0 <8.10.2": ">=8.10.2 <9.0.0" + "axios@<1.18.0": ">=1.18.0 <2.0.0" "brace-expansion@>=3.0.0 <5.0.8": ">=5.0.8 <6.0.0" "postcss@<8.5.18": ">=8.5.18 <9.0.0" "mongoose@>=9.0.0 <9.7.2": ">=9.7.2 <10.0.0" "protobufjs@<7.6.5": ">=7.6.5 <8.0.0" - "follow-redirects@<1.16.2": ">=1.16.2 <2.0.0" - "vite": "^8.1.6" diff --git a/integrations/vercel-ai-sdk/package.json b/integrations/vercel-ai-sdk/package.json index 959d69eb7..1165c3f92 100644 --- a/integrations/vercel-ai-sdk/package.json +++ b/integrations/vercel-ai-sdk/package.json @@ -88,10 +88,9 @@ "esbuild": ">=0.28.1", "brace-expansion@<1.1.16": ">=1.1.16 <2.0.0", "brace-expansion@>=3.0.0 <5.0.8": ">=5.0.8 <6.0.0", - "js-yaml@<3.15.2": ">=3.15.2 <4.0.0", - "js-yaml@>=4.0.0 <4.3.2": ">=4.3.2 <5.0.0", - "browserslist@<4.28.7": ">=4.28.7 <5.0.0", - "handlebars@<4.7.10": ">=4.7.10 <5.0.0" + "js-yaml@<3.15.1": ">=3.15.1 <4.0.0", + "js-yaml@>=4.0.0 <4.3.1": ">=4.3.1 <5.0.0", + "browserslist@<4.28.7": ">=4.28.7 <5.0.0" } } } diff --git a/integrations/vercel-ai-sdk/pnpm-lock.yaml b/integrations/vercel-ai-sdk/pnpm-lock.yaml index dfdf09ab3..f8208a36a 100644 --- a/integrations/vercel-ai-sdk/pnpm-lock.yaml +++ b/integrations/vercel-ai-sdk/pnpm-lock.yaml @@ -14,10 +14,9 @@ overrides: esbuild: '>=0.28.1' brace-expansion@<1.1.16: '>=1.1.16 <2.0.0' brace-expansion@>=3.0.0 <5.0.8: '>=5.0.8 <6.0.0' - js-yaml@<3.15.2: '>=3.15.2 <4.0.0' - js-yaml@>=4.0.0 <4.3.2: '>=4.3.2 <5.0.0' + js-yaml@<3.15.1: '>=3.15.1 <4.0.0' + js-yaml@>=4.0.0 <4.3.1: '>=4.3.1 <5.0.0' browserslist@<4.28.7: '>=4.28.7 <5.0.0' - handlebars@<4.7.10: '>=4.7.10 <5.0.0' importers: @@ -1116,8 +1115,8 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - handlebars@4.7.10: - resolution: {integrity: sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==} + handlebars@4.7.9: + resolution: {integrity: sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==} engines: {node: '>=0.4.7'} hasBin: true @@ -1357,8 +1356,8 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-yaml@3.15.2: - resolution: {integrity: sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==} + js-yaml@3.15.1: + resolution: {integrity: sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==} hasBin: true jsesc@3.1.0: @@ -2232,7 +2231,7 @@ snapshots: camelcase: 5.3.1 find-up: 4.1.0 get-package-type: 0.1.0 - js-yaml: 3.15.2 + js-yaml: 3.15.1 resolve-from: 5.0.0 '@istanbuljs/schema@0.1.6': {} @@ -2944,7 +2943,7 @@ snapshots: graceful-fs@4.2.11: {} - handlebars@4.7.10: + handlebars@4.7.9: dependencies: minimist: 1.2.8 neo-async: 2.6.2 @@ -3361,7 +3360,7 @@ snapshots: js-tokens@4.0.0: {} - js-yaml@3.15.2: + js-yaml@3.15.1: dependencies: argparse: 1.0.10 esprima: 4.0.1 @@ -3722,7 +3721,7 @@ snapshots: dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - handlebars: 4.7.10 + handlebars: 4.7.9 jest: 29.7.0(@types/node@18.19.130)(ts-node@10.9.2(@types/node@18.19.130)(typescript@5.9.3)) json5: 2.2.3 lodash.memoize: 4.1.2 diff --git a/integrations/vercel-ai-sdk/pnpm-workspace.yaml b/integrations/vercel-ai-sdk/pnpm-workspace.yaml index db4fa06a6..93ff161d8 100644 --- a/integrations/vercel-ai-sdk/pnpm-workspace.yaml +++ b/integrations/vercel-ai-sdk/pnpm-workspace.yaml @@ -15,7 +15,6 @@ overrides: "esbuild": ">=0.28.1" "brace-expansion@<1.1.16": ">=1.1.16 <2.0.0" "brace-expansion@>=3.0.0 <5.0.8": ">=5.0.8 <6.0.0" - "js-yaml@<3.15.2": ">=3.15.2 <4.0.0" - "js-yaml@>=4.0.0 <4.3.2": ">=4.3.2 <5.0.0" + "js-yaml@<3.15.1": ">=3.15.1 <4.0.0" + "js-yaml@>=4.0.0 <4.3.1": ">=4.3.1 <5.0.0" "browserslist@<4.28.7": ">=4.28.7 <5.0.0" - "handlebars@<4.7.10": ">=4.7.10 <5.0.0" diff --git a/integrations/zapier-mem0/package.json b/integrations/zapier-mem0/package.json index f2b245d35..b33e01b53 100644 --- a/integrations/zapier-mem0/package.json +++ b/integrations/zapier-mem0/package.json @@ -72,8 +72,7 @@ "undici@<7.29.0": ">=7.29.0 <8.0.0", "undici@>=8.0.0 <8.9.0": ">=8.9.0 <9.0.0", "brace-expansion@<1.1.16": ">=1.1.16 <2.0.0", - "js-yaml@<3.15.2": ">=3.15.2 <4.0.0", - "handlebars@<4.7.10": ">=4.7.10 <5.0.0" + "js-yaml@<3.15.1": ">=3.15.1 <4.0.0" } } } diff --git a/integrations/zapier-mem0/pnpm-lock.yaml b/integrations/zapier-mem0/pnpm-lock.yaml index 04aed747c..703de111d 100644 --- a/integrations/zapier-mem0/pnpm-lock.yaml +++ b/integrations/zapier-mem0/pnpm-lock.yaml @@ -11,8 +11,7 @@ overrides: undici@<7.29.0: '>=7.29.0 <8.0.0' undici@>=8.0.0 <8.9.0: '>=8.9.0 <9.0.0' brace-expansion@<1.1.16: '>=1.1.16 <2.0.0' - js-yaml@<3.15.2: '>=3.15.2 <4.0.0' - handlebars@<4.7.10: '>=4.7.10 <5.0.0' + js-yaml@<3.15.1: '>=3.15.1 <4.0.0' importers: @@ -705,8 +704,8 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - handlebars@4.7.10: - resolution: {integrity: sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==} + handlebars@4.7.9: + resolution: {integrity: sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==} engines: {node: '>=0.4.7'} hasBin: true @@ -952,8 +951,8 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-yaml@3.15.2: - resolution: {integrity: sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==} + js-yaml@3.15.1: + resolution: {integrity: sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==} hasBin: true jsesc@3.1.0: @@ -1655,7 +1654,7 @@ snapshots: camelcase: 5.3.1 find-up: 4.1.0 get-package-type: 0.1.0 - js-yaml: 3.15.2 + js-yaml: 3.15.1 resolve-from: 5.0.0 '@istanbuljs/schema@0.1.6': {} @@ -2288,7 +2287,7 @@ snapshots: graceful-fs@4.2.11: {} - handlebars@4.7.10: + handlebars@4.7.9: dependencies: minimist: 1.2.8 neo-async: 2.6.2 @@ -2715,7 +2714,7 @@ snapshots: js-tokens@4.0.0: {} - js-yaml@3.15.2: + js-yaml@3.15.1: dependencies: argparse: 1.0.10 esprima: 4.0.1 @@ -3033,7 +3032,7 @@ snapshots: dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - handlebars: 4.7.10 + handlebars: 4.7.9 jest: 29.7.0(@types/node@22.20.1) json5: 2.2.3 lodash.memoize: 4.1.2 diff --git a/integrations/zapier-mem0/pnpm-workspace.yaml b/integrations/zapier-mem0/pnpm-workspace.yaml index 8b131a6c6..e19a69b83 100644 --- a/integrations/zapier-mem0/pnpm-workspace.yaml +++ b/integrations/zapier-mem0/pnpm-workspace.yaml @@ -8,5 +8,4 @@ overrides: "undici@<7.29.0": ">=7.29.0 <8.0.0" "undici@>=8.0.0 <8.9.0": ">=8.9.0 <9.0.0" "brace-expansion@<1.1.16": ">=1.1.16 <2.0.0" - "js-yaml@<3.15.2": ">=3.15.2 <4.0.0" - "handlebars@<4.7.10": ">=4.7.10 <5.0.0" + "js-yaml@<3.15.1": ">=3.15.1 <4.0.0" diff --git a/mem0-ts/package.json b/mem0-ts/package.json index 8a20df517..c34192188 100644 --- a/mem0-ts/package.json +++ b/mem0-ts/package.json @@ -104,7 +104,7 @@ "@types/jest": "^29.5.14" }, "dependencies": { - "axios": "^1.20.0", + "axios": "^1.18.0", "openai": "^4.93.0", "uuid": "^11.1.1", "zod": "^3.24.1" @@ -281,14 +281,13 @@ "better-sqlite3" ], "overrides": { - "@azure/identity@<4.14.1": ">=4.14.1 <5.0.0", "form-data@<4.0.6": ">=4.0.6", "picomatch@<2.3.2": "^2.3.2", "picomatch@>=4.0.0 <4.0.4": "^4.0.4", "jws@4.0.0": "4.0.1", - "js-yaml@<3.15.2": ">=3.15.2 <4.0.0", - "js-yaml@>=4.0.0 <4.3.2": ">=4.3.2 <5.0.0", - "sharp@<0.35.4": ">=0.35.4 <0.36.0", + "js-yaml@<3.15.1": ">=3.15.1 <4.0.0", + "js-yaml@>=4.0.0 <4.3.1": ">=4.3.1 <5.0.0", + "sharp@<0.35.0": ">=0.35.0 <0.36.0", "adm-zip@<0.6.1": ">=0.6.1 <0.7.0", "langsmith@<0.6.0": "^0.6.0", "minimatch@<3.1.3": "^3.1.3", @@ -304,12 +303,12 @@ "glob@>=10.2.0 <10.5.0": "^10.5.0", "@modelcontextprotocol/sdk": "^1.25.4", "esbuild": ">=0.28.1", - "undici@<7.30.1": ">=7.30.1 <8.0.0", + "undici@<7.29.1": ">=7.29.1 <8.0.0", "@aws-sdk/client-bedrock-runtime": "3.967.0", "@aws-sdk/client-neptune-graph": "3.966.0", - "axios@<1.20.0": ">=1.20.0 <2.0.0", + "axios@<1.18.0": ">=1.18.0 <2.0.0", "brace-expansion@<1.1.16": ">=1.1.16 <2.0.0", - "brace-expansion@>=2.0.0 <2.1.6": ">=2.1.6 <3.0.0", + "brace-expansion@>=2.0.0 <2.1.4": ">=2.1.4 <3.0.0", "brace-expansion@>=3.0.0 <5.0.8": ">=5.0.8 <6.0.0", "fast-xml-parser@>=5.0.0 <5.10.1": ">=5.10.1 <6.0.0", "tar@<7.5.21": ">=7.5.21 <8.0.0", @@ -318,11 +317,7 @@ "protobufjs@<7.6.5": ">=7.6.5 <8.0.0", "ip-address@<10.5.1": ">=10.5.1 <11.0.0", "browserslist@<4.28.7": ">=4.28.7 <5.0.0", - "mysql2@<3.23.1": ">=3.23.1 <4.0.0", - "basic-ftp@<6.2.1": ">=6.2.1 <7.0.0", - "@grpc/grpc-js@>=1.14.0 <1.14.5": ">=1.14.5 <2.0.0", - "handlebars@<4.7.10": ">=4.7.10 <5.0.0", - "follow-redirects@<1.16.2": ">=1.16.2 <2.0.0" + "mysql2@<3.23.1": ">=3.23.1 <4.0.0" } } } diff --git a/mem0-ts/pnpm-lock.yaml b/mem0-ts/pnpm-lock.yaml index b4a57fa45..27e0811f7 100644 --- a/mem0-ts/pnpm-lock.yaml +++ b/mem0-ts/pnpm-lock.yaml @@ -5,14 +5,13 @@ settings: excludeLinksFromLockfile: false overrides: - '@azure/identity@<4.14.1': '>=4.14.1 <5.0.0' form-data@<4.0.6: '>=4.0.6' picomatch@<2.3.2: ^2.3.2 picomatch@>=4.0.0 <4.0.4: ^4.0.4 jws@4.0.0: 4.0.1 - js-yaml@<3.15.2: '>=3.15.2 <4.0.0' - js-yaml@>=4.0.0 <4.3.2: '>=4.3.2 <5.0.0' - sharp@<0.35.4: '>=0.35.4 <0.36.0' + js-yaml@<3.15.1: '>=3.15.1 <4.0.0' + js-yaml@>=4.0.0 <4.3.1: '>=4.3.1 <5.0.0' + sharp@<0.35.0: '>=0.35.0 <0.36.0' adm-zip@<0.6.1: '>=0.6.1 <0.7.0' langsmith@<0.6.0: ^0.6.0 minimatch@<3.1.3: ^3.1.3 @@ -28,12 +27,12 @@ overrides: glob@>=10.2.0 <10.5.0: ^10.5.0 '@modelcontextprotocol/sdk': ^1.25.4 esbuild: '>=0.28.1' - undici@<7.30.1: '>=7.30.1 <8.0.0' + undici@<7.29.1: '>=7.29.1 <8.0.0' '@aws-sdk/client-bedrock-runtime': 3.967.0 '@aws-sdk/client-neptune-graph': 3.966.0 - axios@<1.20.0: '>=1.20.0 <2.0.0' + axios@<1.18.0: '>=1.18.0 <2.0.0' brace-expansion@<1.1.16: '>=1.1.16 <2.0.0' - brace-expansion@>=2.0.0 <2.1.6: '>=2.1.6 <3.0.0' + brace-expansion@>=2.0.0 <2.1.4: '>=2.1.4 <3.0.0' brace-expansion@>=3.0.0 <5.0.8: '>=5.0.8 <6.0.0' fast-xml-parser@>=5.0.0 <5.10.1: '>=5.10.1 <6.0.0' tar@<7.5.21: '>=7.5.21 <8.0.0' @@ -43,10 +42,6 @@ overrides: ip-address@<10.5.1: '>=10.5.1 <11.0.0' browserslist@<4.28.7: '>=4.28.7 <5.0.0' mysql2@<3.23.1: '>=3.23.1 <4.0.0' - basic-ftp@<6.2.1: '>=6.2.1 <7.0.0' - '@grpc/grpc-js@>=1.14.0 <1.14.5': '>=1.14.5 <2.0.0' - handlebars@<4.7.10: '>=4.7.10 <5.0.0' - follow-redirects@<1.16.2: '>=1.16.2 <2.0.0' patchedDependencies: tar@7.5.22: @@ -70,8 +65,8 @@ importers: specifier: 3.967.0 version: 3.967.0 '@azure/identity': - specifier: '>=4.14.1 <5.0.0' - version: 4.14.1 + specifier: ^4.0.0 + version: 4.13.1 '@azure/search-documents': specifier: ^12.0.0 version: 12.2.0 @@ -124,8 +119,8 @@ importers: specifier: ^2.4.0 || ^3.0.0 version: 3.0.3 axios: - specifier: ^1.20.0 - version: 1.20.0 + specifier: ^1.18.0 + version: 1.18.1 better-sqlite3: specifier: ^12.6.2 version: 12.10.0 @@ -580,10 +575,6 @@ packages: resolution: {integrity: sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA==} engines: {node: '>=18.0.0'} - '@azure/core-process@1.0.0': - resolution: {integrity: sha512-/shnJ+ooO8WPxDhPEeI/2oRQuubn16gZ6CvlbpWbEswZfzwI9tI/sMAHmF3x1LuQ9yZYXfLW3TjzGMLEC5blKg==} - engines: {node: '>=22.0.0'} - '@azure/core-rest-pipeline@1.24.0': resolution: {integrity: sha512-PpLsoDQ3AMmKZ0VU+0GrmqMxgp/sExjlVm4R+nLWngeoEGAzOIPVifaxKGU5gMv+nWELUoHfvrolWD+ZS/nFJg==} engines: {node: '>=20.0.0'} @@ -596,9 +587,9 @@ packages: resolution: {integrity: sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==} engines: {node: '>=20.0.0'} - '@azure/identity@4.14.1': - resolution: {integrity: sha512-HHuuFrmN1uuF9D5A6aAo5eHzNFNX4Q+P4SksZqDKse5YaJFFy/zDLG3wXHEV2FVGgetZ3QM8jGURNBtnQYf1NQ==} - engines: {node: '>=22.0.0'} + '@azure/identity@4.13.1': + resolution: {integrity: sha512-5C/2WD5Vb1lHnZS16dNQRPMjN6oV/Upba+C9nBIs15PmOi6A3ZGs4Lr2u60zw4S04gi+u3cEXiqTVP7M4Pz3kw==} + engines: {node: '>=20.0.0'} '@azure/logger@1.3.0': resolution: {integrity: sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==} @@ -608,16 +599,12 @@ packages: resolution: {integrity: sha512-Ea23x0U8XNFY+qJ9T44zO2BbY+AHdb+WdjmYnx36OhJ/KO+PGU5pmsNHf1DCElYX+6wyVRJz1HFeCPC/cHbRug==} engines: {node: '>=0.8.0'} - '@azure/msal-common@16.16.0': - resolution: {integrity: sha512-EZgd8h5nczsdRAQAgXA0A0pC5L/zj43n1jePXvUMgdwXMbH2zhb7b7Hp+Oe7ZOODK/sch2x+soD6FOrtgUbx/w==} - engines: {node: '>=0.8.0'} - '@azure/msal-common@16.8.0': resolution: {integrity: sha512-5S4RHOcInL2Nu2U217tDZbWGI6StMfcWCrA7TWvWdJmXQ+cYrrIqr84AsN62fGh2MDBysiBJPt6CfWceJfloEA==} engines: {node: '>=0.8.0'} - '@azure/msal-node@7.2.0': - resolution: {integrity: sha512-Y87VJsMWF4jiqLqq8XYLb1o+rGc/HacwS3Zydi3bDtaVm5Sa8FlB7YrKrBFKRIYj27RJXAaDkErImMAqtM10Pg==} + '@azure/msal-node@5.2.4': + resolution: {integrity: sha512-rpBUg9dA8UpC2WiFt3KeDKVQmmmVrfxdRnW+F1ebgou/jX/0tAvYuonaq5RUo8OaqzOrj4x/HaI8DmY56RXZ2Q==} engines: {node: '>=20'} '@azure/search-documents@12.2.0': @@ -874,8 +861,8 @@ packages: resolution: {integrity: sha512-L38Ax21uF2OPUmCRWycZ/dZdMYf7gMrtClcxvVrqJVFmn8ET2M++GYmFGJpLqOHS1beATxOXLWe7y2ijSQz/ng==} engines: {node: '>=20'} - '@emnapi/runtime@1.11.3': - resolution: {integrity: sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==} + '@emnapi/runtime@1.11.2': + resolution: {integrity: sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==} '@esbuild/aix-ppc64@0.28.1': resolution: {integrity: sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==} @@ -1051,8 +1038,8 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@grpc/grpc-js@1.14.5': - resolution: {integrity: sha512-7VZM+SVdEcUUqSQeNI3zM8Qs/BhQKZndPo2h5VkYkAM8Iz0wJIa8mKV5ekQGqG8UUsnkQ0NMxIxwkIHYvj0qOw==} + '@grpc/grpc-js@1.14.4': + resolution: {integrity: sha512-k9Dj3DV/itK9D06Y8f190Qgop7/Ui+D0njFV3LHMPwPT75DpXLQohE9Wmz0QElrJnzsjB7KPWiKJbOl7IPDArQ==} engines: {node: '>=12.10.0'} '@grpc/proto-loader@0.8.1': @@ -1088,144 +1075,144 @@ packages: resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==} engines: {node: '>=18'} - '@img/sharp-darwin-arm64@0.35.5': - resolution: {integrity: sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==} + '@img/sharp-darwin-arm64@0.35.3': + resolution: {integrity: sha512-RMnFX7YQsMoh7lWfcM4NEHHymBX/rLuKNPVM84XE9ONPcaSCDgE7CHIHpSgPcO2xcRthgBy1HfNO319mwhIAkg==} engines: {node: '>=20.9.0'} cpu: [arm64] os: [darwin] - '@img/sharp-darwin-x64@0.35.5': - resolution: {integrity: sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==} + '@img/sharp-darwin-x64@0.35.3': + resolution: {integrity: sha512-Xo+5uFBtLN0BKqieTxiFzFPQAUlBbbH5iBKyRX/z1JrbnYsHTfKJnUfL8+p2TPXr1pXqao4eeL4Rl144uDpK9w==} engines: {node: '>=20.9.0'} cpu: [x64] os: [darwin] - '@img/sharp-freebsd-wasm32@0.35.5': - resolution: {integrity: sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==} + '@img/sharp-freebsd-wasm32@0.35.3': + resolution: {integrity: sha512-lUxcqWIj2wMQ9BrwNjngcr1gWUr5xgaGThBRqPPalIC2n67Cqj1uPh8NnA/ZhAg8hUbKl+kVHKwgUIwe6ZYPrg==} engines: {node: '>=20.9.0'} os: [freebsd] - '@img/sharp-libvips-darwin-arm64@1.3.4': - resolution: {integrity: sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==} + '@img/sharp-libvips-darwin-arm64@1.3.2': + resolution: {integrity: sha512-9J6ypZFpQBj4YnePGoq/S38w6nz+vqg5WZLrLGY4YuSemdMq47GMLBPO42MzwdGwpg/agZ7xzZcFHa48xlywfg==} cpu: [arm64] os: [darwin] - '@img/sharp-libvips-darwin-x64@1.3.4': - resolution: {integrity: sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==} + '@img/sharp-libvips-darwin-x64@1.3.2': + resolution: {integrity: sha512-m2pW1n6cns9VaubNwsZ+c3CRYjxNQWgJ5gPlnL1nbBcpkBvFm6SCFN5o0psFHI8w9n11NKhFkeEDns98tiqbEw==} cpu: [x64] os: [darwin] - '@img/sharp-libvips-linux-arm64@1.3.4': - resolution: {integrity: sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==} + '@img/sharp-libvips-linux-arm64@1.3.2': + resolution: {integrity: sha512-dqVSFynCox4C/J8kT16V7SIFAns0IjgLwkvYT7p8LQVmJ5OS5b6tI9IGflxTeuBS//zXeFIUbwt5dwxyZ17cnA==} cpu: [arm64] os: [linux] - '@img/sharp-libvips-linux-arm@1.3.4': - resolution: {integrity: sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==} + '@img/sharp-libvips-linux-arm@1.3.2': + resolution: {integrity: sha512-1eMLzy92I4J6rmi4mAT8yC3HxOtniyGELlzGbNMLLeqe052ahFQ0h6LFq+lh5DsDIdYViIDst08abvSbcEdLXQ==} cpu: [arm] os: [linux] - '@img/sharp-libvips-linux-ppc64@1.3.4': - resolution: {integrity: sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==} + '@img/sharp-libvips-linux-ppc64@1.3.2': + resolution: {integrity: sha512-3z0NHDxD6n5I9gc05U1eW1AyRm+Gznzq3naMrthPNqE6oYykcogW0l/jfpJdjYnuNl8R7yI9pNbE1XiUeyq0Aw==} cpu: [ppc64] os: [linux] - '@img/sharp-libvips-linux-riscv64@1.3.4': - resolution: {integrity: sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==} + '@img/sharp-libvips-linux-riscv64@1.3.2': + resolution: {integrity: sha512-bsb4rI+NldGOsXuej2r8OdSS8+zXDVaCWxyWrcv6kneTOlgAHtZABRzBBCwdsPiD90J4myNJuHpg6kA20ImW/w==} cpu: [riscv64] os: [linux] - '@img/sharp-libvips-linux-s390x@1.3.4': - resolution: {integrity: sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==} + '@img/sharp-libvips-linux-s390x@1.3.2': + resolution: {integrity: sha512-/ABshyj8gCpyIrNXnHn4LorDJ0HHm1VhXPBlxZ8zAtfVPAaSafXPGn+sUSIRiwaSBy0mmFjSjiXI5mkcwdChKQ==} cpu: [s390x] os: [linux] - '@img/sharp-libvips-linux-x64@1.3.4': - resolution: {integrity: sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==} + '@img/sharp-libvips-linux-x64@1.3.2': + resolution: {integrity: sha512-ITPEtgffGJ0S6G9dRyw/366tJQqFRcHWPHhC+Stpg3Z8AEMrDrTr2lhdz4f/Y/HMbRh//7Z5mBzEpVdi62Oc3w==} cpu: [x64] os: [linux] - '@img/sharp-libvips-linuxmusl-arm64@1.3.4': - resolution: {integrity: sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==} + '@img/sharp-libvips-linuxmusl-arm64@1.3.2': + resolution: {integrity: sha512-zE9EdiUzUmg5mDT5a1rk5fYJ6GWPloTwWBYDS14naqHsL+EaMpDj1AWnpLgh3u0YCORv2Tt50wrcrpYqkP97Kw==} cpu: [arm64] os: [linux] - '@img/sharp-libvips-linuxmusl-x64@1.3.4': - resolution: {integrity: sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==} + '@img/sharp-libvips-linuxmusl-x64@1.3.2': + resolution: {integrity: sha512-m0lrLiUt+lBYnCFr8qV/65yMR4E/c7/wf78I5eKTdkEakFAlZ9QlzEM3QIhhAwVeUhLAHLcCq7a7Vszq/oFNZQ==} cpu: [x64] os: [linux] - '@img/sharp-linux-arm64@0.35.5': - resolution: {integrity: sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==} + '@img/sharp-linux-arm64@0.35.3': + resolution: {integrity: sha512-QgKDspHPnrU+GQ55XPhGwyhC8acLVOOSyAvo1oVfFmrIXLkDNmGWzAfDZ4xK8oSA1qBQrALcHX0G5UZni/SuFQ==} engines: {node: '>=20.9.0'} cpu: [arm64] os: [linux] - '@img/sharp-linux-arm@0.35.5': - resolution: {integrity: sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==} + '@img/sharp-linux-arm@0.35.3': + resolution: {integrity: sha512-affVWCTLooy8TSxbDx2qkzuDeaWLNVBA+P//FNBirHsXpP2fuBhk5AuboYUnrDnzoXes8GFjpTx0SBFOCRg+FA==} engines: {node: '>=20.9.0'} cpu: [arm] os: [linux] - '@img/sharp-linux-ppc64@0.35.5': - resolution: {integrity: sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==} + '@img/sharp-linux-ppc64@0.35.3': + resolution: {integrity: sha512-sMd8rDxmpLOwv/7N44klFjOD5DUO7FLdjiXDI0hoxYaf7Ar262dQIEkosE98bps+5HPLtp/EvNqeqQtOycP/IA==} engines: {node: '>=20.9.0'} cpu: [ppc64] os: [linux] - '@img/sharp-linux-riscv64@0.35.5': - resolution: {integrity: sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==} + '@img/sharp-linux-riscv64@0.35.3': + resolution: {integrity: sha512-0Eob78yjlYPfL5vMNWAW55l3R9Y6BQS/gOfe0ZcP9mEz9ohhKSt4im1hayiknXgf8AWrFqMvJcKIdmLmEe7yeQ==} engines: {node: '>=20.9.0'} cpu: [riscv64] os: [linux] - '@img/sharp-linux-s390x@0.35.5': - resolution: {integrity: sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==} + '@img/sharp-linux-s390x@0.35.3': + resolution: {integrity: sha512-KgAxQ0DxpNOq1rG2t5cgTgShJFGSuU7XO45cqC+1NVOuZnP6tlgZRuSYOfNupGkHID0o3cJOsw4DVeJpMovcGw==} engines: {node: '>=20.9.0'} cpu: [s390x] os: [linux] - '@img/sharp-linux-x64@0.35.5': - resolution: {integrity: sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==} + '@img/sharp-linux-x64@0.35.3': + resolution: {integrity: sha512-8pqvxubL2PGdhlPy6GLqzDYMUjyRmKAwKHYKixpdJYBUK7PJ0C029XdsnpFIdgRZG68fZiGdHVWcKPvtiPB4cA==} engines: {node: '>=20.9.0'} cpu: [x64] os: [linux] - '@img/sharp-linuxmusl-arm64@0.35.5': - resolution: {integrity: sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==} + '@img/sharp-linuxmusl-arm64@0.35.3': + resolution: {integrity: sha512-Vz0iQjzzcSX3HCbfwFfCSG/9SCIqyO0mH2sXyiHaAYfBk0cRsCWXRyQYX0ovCK/PAQBbTzQ0dsPQHh5MAFL59w==} engines: {node: '>=20.9.0'} cpu: [arm64] os: [linux] - '@img/sharp-linuxmusl-x64@0.35.5': - resolution: {integrity: sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==} + '@img/sharp-linuxmusl-x64@0.35.3': + resolution: {integrity: sha512-6O1NPKcDVj9QEdg7Hx549EX8U0rp6yXQERqru6yRN7fGBn32UvIRJUlWnk+8xDCiG76hXVBbX82NZ/ZKr0euIg==} engines: {node: '>=20.9.0'} cpu: [x64] os: [linux] - '@img/sharp-wasm32@0.35.5': - resolution: {integrity: sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==} + '@img/sharp-wasm32@0.35.3': + resolution: {integrity: sha512-cZ0XkcYGpHZkqW6iCkqTcmUC0CD9DhD5d/qeZlZkfRBn6GnHniZXLUo5+9xw8Iv76YE6LQFN9YNBlKREcCG76w==} engines: {node: '>=20.9.0'} - '@img/sharp-webcontainers-wasm32@0.35.5': - resolution: {integrity: sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==} + '@img/sharp-webcontainers-wasm32@0.35.3': + resolution: {integrity: sha512-2rnq7bX3NzeR2T4YWgz8qiG4h3TSdMe+vN1iQXpJleSJ3SM5zQ8Fy2SyyXAWlbxpEZ2Y+Z4u1BePgJEYbSy80Q==} engines: {node: '>=20.9.0'} cpu: [wasm32] - '@img/sharp-win32-arm64@0.35.5': - resolution: {integrity: sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==} + '@img/sharp-win32-arm64@0.35.3': + resolution: {integrity: sha512-4bPwFdMbeC4JQ8L8LOyWp6nsHcboP5fxkp6iPOXz2Vg49R42TuMs2whkJ5OAP4/Ul035qOzy0AecOF9VOscn4w==} engines: {node: '>=20.9.0'} cpu: [arm64] os: [win32] - '@img/sharp-win32-ia32@0.35.5': - resolution: {integrity: sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==} + '@img/sharp-win32-ia32@0.35.3': + resolution: {integrity: sha512-r53mXsBN6lFUDiST764SvgwUdHAqM4rPAiDzAmf4fLoB6X/rkfyTrLCg6+g17wJJiCmB3JYgHuUldCWUIRFSXw==} engines: {node: ^20.9.0} cpu: [ia32] os: [win32] - '@img/sharp-win32-x64@0.35.5': - resolution: {integrity: sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==} + '@img/sharp-win32-x64@0.35.3': + resolution: {integrity: sha512-D4y1vNeZrIIJCN+uHaWVtH86B+aCrdMYYjicy9pXHvbGZeGYLLSd3wdVuC37FxVXlU1ARsk84eKWfWMXGYEqvA==} engines: {node: '>=20.9.0'} cpu: [x64] os: [win32] @@ -2120,8 +2107,8 @@ packages: aws4@1.13.2: resolution: {integrity: sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==} - axios@1.20.0: - resolution: {integrity: sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==} + axios@1.18.1: + resolution: {integrity: sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==} babel-jest@29.7.0: resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} @@ -2166,8 +2153,8 @@ packages: engines: {node: '>=6.0.0'} hasBin: true - basic-ftp@6.2.1: - resolution: {integrity: sha512-bK67isD+lKq46AU8vNtjvMaT2ZqAOAmNCbxUHlFBRD4k15NWxyEjmaKtZPlgce58So4BNTjITGQOVTjL9y0ECA==} + basic-ftp@5.3.1: + resolution: {integrity: sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw==} engines: {node: '>=10.0.0'} better-sqlite3@12.10.0: @@ -2197,8 +2184,8 @@ packages: brace-expansion@1.1.16: resolution: {integrity: sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==} - brace-expansion@2.1.7: - resolution: {integrity: sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==} + brace-expansion@2.1.4: + resolution: {integrity: sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==} brace-expansion@5.0.8: resolution: {integrity: sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==} @@ -2525,8 +2512,8 @@ packages: resolution: {integrity: sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==} engines: {node: '>=18'} - default-browser@5.5.1: - resolution: {integrity: sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==} + default-browser@5.5.0: + resolution: {integrity: sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==} engines: {node: '>=18'} define-data-property@1.1.4: @@ -2783,8 +2770,8 @@ packages: fn.name@1.1.0: resolution: {integrity: sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==} - follow-redirects@1.16.2: - resolution: {integrity: sha512-/kVP2U8z596Ia0gwFrwyIeo74ta5aVmSeU1FfAUMAmcEP5EP7zydmag3SLiN64NaRKef3lxsq7i/g7ltJQDGow==} + follow-redirects@1.16.0: + resolution: {integrity: sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -2949,8 +2936,8 @@ packages: guid-typescript@1.0.9: resolution: {integrity: sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ==} - handlebars@4.7.10: - resolution: {integrity: sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==} + handlebars@4.7.9: + resolution: {integrity: sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==} engines: {node: '>=0.4.7'} hasBin: true @@ -3091,10 +3078,6 @@ packages: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} - is-in-ssh@1.0.0: - resolution: {integrity: sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==} - engines: {node: '>=20'} - is-inside-container@1.0.0: resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} engines: {node: '>=14.16'} @@ -3299,8 +3282,8 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-yaml@3.15.2: - resolution: {integrity: sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==} + js-yaml@3.15.1: + resolution: {integrity: sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==} hasBin: true jsesc@3.1.0: @@ -3789,9 +3772,9 @@ packages: onnxruntime-web@1.26.0-dev.20260416-b7804b056c: resolution: {integrity: sha512-MD6Ss4GSpQBo6zqoJzyT9LRbKYs7x/JVN23FT24EcEvlqF4VuzPOeH6X38orZPKHQDbprn7K+SBpu0/mj2CQiw==} - open@11.0.4: - resolution: {integrity: sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg==} - engines: {node: '>=20'} + open@10.2.0: + resolution: {integrity: sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==} + engines: {node: '>=18'} open@8.4.2: resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} @@ -4020,10 +4003,6 @@ packages: postgres-range@1.1.4: resolution: {integrity: sha512-i/hbxIE9803Alj/6ytL7UHQxRvZkI9O4Sy+J3HGc4F4oo/2eQAjTSNJ0bfxyse3bH0nuVesCk+3IRLaMtG3H6w==} - powershell-utils@0.2.1: - resolution: {integrity: sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==} - engines: {node: '>=20'} - prebuild-install@7.1.3: resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==} engines: {node: '>=10'} @@ -4230,8 +4209,8 @@ packages: resolution: {integrity: sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==} engines: {node: '>=10'} - sharp@0.35.5: - resolution: {integrity: sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==} + sharp@0.35.3: + resolution: {integrity: sha512-ej0zVHuZGHCiABXcNxeYhpRnPNPAcvbG8RMdBAhDAxLKkCRVSpK3Iyu7qbqw3JMzoj0REeM6f3tJLtVwl0023Q==} engines: {node: '>=20.9.0'} peerDependencies: '@types/node': '*' @@ -4630,8 +4609,8 @@ packages: undici-types@7.24.6: resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==} - undici@7.30.2: - resolution: {integrity: sha512-mLyPQnHwUxaM/rideoK/+KL8DaAJLRl4aBCfmX444aCSLnIaomqPLtNRe2jdCYcsk5wZzXrDIQC8ZeYNRAYyIA==} + undici@7.30.0: + resolution: {integrity: sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==} engines: {node: '>=20.18.1'} update-browserslist-db@1.3.2: @@ -4763,9 +4742,9 @@ packages: utf-8-validate: optional: true - wsl-utils@1.0.1: - resolution: {integrity: sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ==} - engines: {node: '>=20'} + wsl-utils@0.1.0: + resolution: {integrity: sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==} + engines: {node: '>=18'} xml-naming@0.1.0: resolution: {integrity: sha512-k8KO9hrMyNk6tUWqUfkTEZbezRRpONVOzUTnc97VnCvyj6Tf9lyUR9EDAIeiVLv56jsMcoXEwjW8Kv5yPY52lw==} @@ -5809,8 +5788,6 @@ snapshots: dependencies: tslib: 2.8.1 - '@azure/core-process@1.0.0': {} - '@azure/core-rest-pipeline@1.24.0': dependencies: '@azure/abort-controller': 2.1.2 @@ -5835,19 +5812,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@azure/identity@4.14.1': + '@azure/identity@4.13.1': dependencies: '@azure/abort-controller': 2.1.2 '@azure/core-auth': 1.10.1 '@azure/core-client': 1.10.2 - '@azure/core-process': 1.0.0 '@azure/core-rest-pipeline': 1.24.0 '@azure/core-tracing': 1.3.1 '@azure/core-util': 1.13.1 '@azure/logger': 1.3.0 '@azure/msal-browser': 5.13.0 - '@azure/msal-node': 7.2.0 - open: 11.0.4 + '@azure/msal-node': 5.2.4 + open: 10.2.0 tslib: 2.8.1 transitivePeerDependencies: - supports-color @@ -5863,13 +5839,11 @@ snapshots: dependencies: '@azure/msal-common': 16.8.0 - '@azure/msal-common@16.16.0': {} - '@azure/msal-common@16.8.0': {} - '@azure/msal-node@7.2.0': + '@azure/msal-node@5.2.4': dependencies: - '@azure/msal-common': 16.16.0 + '@azure/msal-common': 16.8.0 jsonwebtoken: 9.0.3 '@azure/search-documents@12.2.0': @@ -6164,11 +6138,11 @@ snapshots: ms: 2.1.3 secure-json-parse: 4.1.0 tslib: 2.8.1 - undici: 7.30.2 + undici: 7.30.0 transitivePeerDependencies: - supports-color - '@emnapi/runtime@1.11.3': + '@emnapi/runtime@1.11.2': dependencies: tslib: 2.8.1 optional: true @@ -6272,7 +6246,7 @@ snapshots: dependencies: graphql: 16.14.2 - '@grpc/grpc-js@1.14.5': + '@grpc/grpc-js@1.14.4': dependencies: '@grpc/proto-loader': 0.8.1 '@js-sdsl/ordered-map': 4.4.2 @@ -6305,7 +6279,7 @@ snapshots: '@huggingface/tokenizers': 0.1.3 onnxruntime-node: 1.24.3 onnxruntime-web: 1.26.0-dev.20260416-b7804b056c - sharp: 0.35.5(@types/node@22.19.21) + sharp: 0.35.3(@types/node@22.19.21) transitivePeerDependencies: - '@types/node' @@ -6316,108 +6290,108 @@ snapshots: '@img/colour@1.1.0': {} - '@img/sharp-darwin-arm64@0.35.5': + '@img/sharp-darwin-arm64@0.35.3': optionalDependencies: - '@img/sharp-libvips-darwin-arm64': 1.3.4 + '@img/sharp-libvips-darwin-arm64': 1.3.2 optional: true - '@img/sharp-darwin-x64@0.35.5': + '@img/sharp-darwin-x64@0.35.3': optionalDependencies: - '@img/sharp-libvips-darwin-x64': 1.3.4 + '@img/sharp-libvips-darwin-x64': 1.3.2 optional: true - '@img/sharp-freebsd-wasm32@0.35.5': + '@img/sharp-freebsd-wasm32@0.35.3': dependencies: - '@img/sharp-wasm32': 0.35.5 + '@img/sharp-wasm32': 0.35.3 optional: true - '@img/sharp-libvips-darwin-arm64@1.3.4': + '@img/sharp-libvips-darwin-arm64@1.3.2': optional: true - '@img/sharp-libvips-darwin-x64@1.3.4': + '@img/sharp-libvips-darwin-x64@1.3.2': optional: true - '@img/sharp-libvips-linux-arm64@1.3.4': + '@img/sharp-libvips-linux-arm64@1.3.2': optional: true - '@img/sharp-libvips-linux-arm@1.3.4': + '@img/sharp-libvips-linux-arm@1.3.2': optional: true - '@img/sharp-libvips-linux-ppc64@1.3.4': + '@img/sharp-libvips-linux-ppc64@1.3.2': optional: true - '@img/sharp-libvips-linux-riscv64@1.3.4': + '@img/sharp-libvips-linux-riscv64@1.3.2': optional: true - '@img/sharp-libvips-linux-s390x@1.3.4': + '@img/sharp-libvips-linux-s390x@1.3.2': optional: true - '@img/sharp-libvips-linux-x64@1.3.4': + '@img/sharp-libvips-linux-x64@1.3.2': optional: true - '@img/sharp-libvips-linuxmusl-arm64@1.3.4': + '@img/sharp-libvips-linuxmusl-arm64@1.3.2': optional: true - '@img/sharp-libvips-linuxmusl-x64@1.3.4': + '@img/sharp-libvips-linuxmusl-x64@1.3.2': optional: true - '@img/sharp-linux-arm64@0.35.5': + '@img/sharp-linux-arm64@0.35.3': optionalDependencies: - '@img/sharp-libvips-linux-arm64': 1.3.4 + '@img/sharp-libvips-linux-arm64': 1.3.2 optional: true - '@img/sharp-linux-arm@0.35.5': + '@img/sharp-linux-arm@0.35.3': optionalDependencies: - '@img/sharp-libvips-linux-arm': 1.3.4 + '@img/sharp-libvips-linux-arm': 1.3.2 optional: true - '@img/sharp-linux-ppc64@0.35.5': + '@img/sharp-linux-ppc64@0.35.3': optionalDependencies: - '@img/sharp-libvips-linux-ppc64': 1.3.4 + '@img/sharp-libvips-linux-ppc64': 1.3.2 optional: true - '@img/sharp-linux-riscv64@0.35.5': + '@img/sharp-linux-riscv64@0.35.3': optionalDependencies: - '@img/sharp-libvips-linux-riscv64': 1.3.4 + '@img/sharp-libvips-linux-riscv64': 1.3.2 optional: true - '@img/sharp-linux-s390x@0.35.5': + '@img/sharp-linux-s390x@0.35.3': optionalDependencies: - '@img/sharp-libvips-linux-s390x': 1.3.4 + '@img/sharp-libvips-linux-s390x': 1.3.2 optional: true - '@img/sharp-linux-x64@0.35.5': + '@img/sharp-linux-x64@0.35.3': optionalDependencies: - '@img/sharp-libvips-linux-x64': 1.3.4 + '@img/sharp-libvips-linux-x64': 1.3.2 optional: true - '@img/sharp-linuxmusl-arm64@0.35.5': + '@img/sharp-linuxmusl-arm64@0.35.3': optionalDependencies: - '@img/sharp-libvips-linuxmusl-arm64': 1.3.4 + '@img/sharp-libvips-linuxmusl-arm64': 1.3.2 optional: true - '@img/sharp-linuxmusl-x64@0.35.5': + '@img/sharp-linuxmusl-x64@0.35.3': optionalDependencies: - '@img/sharp-libvips-linuxmusl-x64': 1.3.4 + '@img/sharp-libvips-linuxmusl-x64': 1.3.2 optional: true - '@img/sharp-wasm32@0.35.5': + '@img/sharp-wasm32@0.35.3': dependencies: - '@emnapi/runtime': 1.11.3 + '@emnapi/runtime': 1.11.2 optional: true - '@img/sharp-webcontainers-wasm32@0.35.5': + '@img/sharp-webcontainers-wasm32@0.35.3': dependencies: - '@img/sharp-wasm32': 0.35.5 + '@img/sharp-wasm32': 0.35.3 optional: true - '@img/sharp-win32-arm64@0.35.5': + '@img/sharp-win32-arm64@0.35.3': optional: true - '@img/sharp-win32-ia32@0.35.5': + '@img/sharp-win32-ia32@0.35.3': optional: true - '@img/sharp-win32-x64@0.35.5': + '@img/sharp-win32-x64@0.35.3': optional: true '@iovalkey/commands@0.1.0': {} @@ -6440,7 +6414,7 @@ snapshots: camelcase: 5.3.1 find-up: 4.1.0 get-package-type: 0.1.0 - js-yaml: 3.15.2 + js-yaml: 3.15.1 resolve-from: 5.0.0 '@istanbuljs/schema@0.1.6': {} @@ -6732,7 +6706,7 @@ snapshots: dependencies: '@qdrant/openapi-typescript-fetch': 1.2.6 typescript: 5.5.4 - undici: 7.30.2 + undici: 7.30.0 '@qdrant/openapi-typescript-fetch@1.2.6': {} @@ -7204,7 +7178,7 @@ snapshots: '@turbopuffer/turbopuffer@2.5.0': dependencies: pako: 2.2.0 - undici: 7.30.2 + undici: 7.30.0 '@types/babel__core@7.20.5': dependencies: @@ -7346,7 +7320,7 @@ snapshots: '@zilliz/milvus2-sdk-node@3.0.3': dependencies: - '@grpc/grpc-js': 1.14.5 + '@grpc/grpc-js': 1.14.4 '@grpc/proto-loader': 0.8.1 '@opentelemetry/api': 1.9.1 '@petamoriken/float16': 3.9.3 @@ -7458,9 +7432,9 @@ snapshots: aws4@1.13.2: {} - axios@1.20.0: + axios@1.18.1: dependencies: - follow-redirects: 1.16.2 + follow-redirects: 1.16.0 form-data: 4.0.6 https-proxy-agent: 5.0.1 proxy-from-env: 2.1.0 @@ -7533,7 +7507,7 @@ snapshots: baseline-browser-mapping@2.11.21: {} - basic-ftp@6.2.1: {} + basic-ftp@5.3.1: {} better-sqlite3@12.10.0: dependencies: @@ -7563,7 +7537,7 @@ snapshots: balanced-match: 1.0.2 concat-map: 0.0.1 - brace-expansion@2.1.7: + brace-expansion@2.1.4: dependencies: balanced-match: 1.0.2 @@ -7868,7 +7842,7 @@ snapshots: default-browser-id@5.0.1: {} - default-browser@5.5.1: + default-browser@5.5.0: dependencies: bundle-name: 4.1.0 default-browser-id: 5.0.1 @@ -8142,7 +8116,7 @@ snapshots: fn.name@1.1.0: {} - follow-redirects@1.16.2: {} + follow-redirects@1.16.0: {} foreground-child@3.3.1: dependencies: @@ -8233,7 +8207,7 @@ snapshots: get-uri@6.0.5: dependencies: - basic-ftp: 6.2.1 + basic-ftp: 5.3.1 data-uri-to-buffer: 6.0.2 debug: 4.4.3(supports-color@5.5.0) transitivePeerDependencies: @@ -8302,7 +8276,7 @@ snapshots: google-gax@5.0.7: dependencies: - '@grpc/grpc-js': 1.14.5 + '@grpc/grpc-js': 1.14.4 '@grpc/proto-loader': 0.8.1 duplexify: 4.1.3 google-auth-library: 10.5.0 @@ -8357,7 +8331,7 @@ snapshots: guid-typescript@1.0.9: {} - handlebars@4.7.10: + handlebars@4.7.9: dependencies: minimist: 1.2.8 neo-async: 2.6.2 @@ -8489,8 +8463,6 @@ snapshots: dependencies: is-extglob: 2.1.1 - is-in-ssh@1.0.0: {} - is-inside-container@1.0.0: dependencies: is-docker: 3.0.0 @@ -8535,7 +8507,7 @@ snapshots: '@babel/parser': 7.29.7 '@istanbuljs/schema': 0.1.6 istanbul-lib-coverage: 3.2.2 - semver: 7.8.5 + semver: 7.8.4 transitivePeerDependencies: - supports-color @@ -8883,7 +8855,7 @@ snapshots: js-tokens@4.0.0: {} - js-yaml@3.15.2: + js-yaml@3.15.1: dependencies: argparse: 1.0.10 esprima: 4.0.1 @@ -8917,7 +8889,7 @@ snapshots: lodash.isstring: 4.0.1 lodash.once: 4.1.1 ms: 2.1.3 - semver: 7.8.5 + semver: 7.8.4 jwa@2.0.1: dependencies: @@ -9033,7 +9005,7 @@ snapshots: make-dir@4.0.0: dependencies: - semver: 7.8.5 + semver: 7.8.4 make-error@1.3.6: {} @@ -9091,7 +9063,7 @@ snapshots: minimatch@9.0.9: dependencies: - brace-expansion: 2.1.7 + brace-expansion: 2.1.4 minimist@1.2.8: {} @@ -9228,7 +9200,7 @@ snapshots: nice-grpc@2.1.16: dependencies: - '@grpc/grpc-js': 1.14.5 + '@grpc/grpc-js': 1.14.4 abort-controller-x: 0.5.0 nice-grpc-common: 2.0.3 @@ -9332,14 +9304,12 @@ snapshots: platform: 1.3.6 protobufjs: 7.6.5 - open@11.0.4: + open@10.2.0: dependencies: - default-browser: 5.5.1 + default-browser: 5.5.0 define-lazy-prop: 3.0.0 - is-in-ssh: 1.0.0 is-inside-container: 1.0.0 - powershell-utils: 0.2.1 - wsl-utils: 1.0.1 + wsl-utils: 0.1.0 open@8.4.2: dependencies: @@ -9554,8 +9524,6 @@ snapshots: postgres-range@1.1.4: {} - powershell-utils@0.2.1: {} - prebuild-install@7.1.3: dependencies: detect-libc: 2.1.2 @@ -9802,37 +9770,37 @@ snapshots: dependencies: type-fest: 0.13.1 - sharp@0.35.5(@types/node@22.19.21): + sharp@0.35.3(@types/node@22.19.21): dependencies: '@img/colour': 1.1.0 detect-libc: 2.1.2 semver: 7.8.5 optionalDependencies: - '@img/sharp-darwin-arm64': 0.35.5 - '@img/sharp-darwin-x64': 0.35.5 - '@img/sharp-freebsd-wasm32': 0.35.5 - '@img/sharp-libvips-darwin-arm64': 1.3.4 - '@img/sharp-libvips-darwin-x64': 1.3.4 - '@img/sharp-libvips-linux-arm': 1.3.4 - '@img/sharp-libvips-linux-arm64': 1.3.4 - '@img/sharp-libvips-linux-ppc64': 1.3.4 - '@img/sharp-libvips-linux-riscv64': 1.3.4 - '@img/sharp-libvips-linux-s390x': 1.3.4 - '@img/sharp-libvips-linux-x64': 1.3.4 - '@img/sharp-libvips-linuxmusl-arm64': 1.3.4 - '@img/sharp-libvips-linuxmusl-x64': 1.3.4 - '@img/sharp-linux-arm': 0.35.5 - '@img/sharp-linux-arm64': 0.35.5 - '@img/sharp-linux-ppc64': 0.35.5 - '@img/sharp-linux-riscv64': 0.35.5 - '@img/sharp-linux-s390x': 0.35.5 - '@img/sharp-linux-x64': 0.35.5 - '@img/sharp-linuxmusl-arm64': 0.35.5 - '@img/sharp-linuxmusl-x64': 0.35.5 - '@img/sharp-webcontainers-wasm32': 0.35.5 - '@img/sharp-win32-arm64': 0.35.5 - '@img/sharp-win32-ia32': 0.35.5 - '@img/sharp-win32-x64': 0.35.5 + '@img/sharp-darwin-arm64': 0.35.3 + '@img/sharp-darwin-x64': 0.35.3 + '@img/sharp-freebsd-wasm32': 0.35.3 + '@img/sharp-libvips-darwin-arm64': 1.3.2 + '@img/sharp-libvips-darwin-x64': 1.3.2 + '@img/sharp-libvips-linux-arm': 1.3.2 + '@img/sharp-libvips-linux-arm64': 1.3.2 + '@img/sharp-libvips-linux-ppc64': 1.3.2 + '@img/sharp-libvips-linux-riscv64': 1.3.2 + '@img/sharp-libvips-linux-s390x': 1.3.2 + '@img/sharp-libvips-linux-x64': 1.3.2 + '@img/sharp-libvips-linuxmusl-arm64': 1.3.2 + '@img/sharp-libvips-linuxmusl-x64': 1.3.2 + '@img/sharp-linux-arm': 0.35.3 + '@img/sharp-linux-arm64': 0.35.3 + '@img/sharp-linux-ppc64': 0.35.3 + '@img/sharp-linux-riscv64': 0.35.3 + '@img/sharp-linux-s390x': 0.35.3 + '@img/sharp-linux-x64': 0.35.3 + '@img/sharp-linuxmusl-arm64': 0.35.3 + '@img/sharp-linuxmusl-x64': 0.35.3 + '@img/sharp-webcontainers-wasm32': 0.35.3 + '@img/sharp-win32-arm64': 0.35.3 + '@img/sharp-win32-ia32': 0.35.3 + '@img/sharp-win32-x64': 0.35.3 '@types/node': 22.19.21 shebang-command@2.0.0: @@ -10109,7 +10077,7 @@ snapshots: dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - handlebars: 4.7.10 + handlebars: 4.7.9 jest: 29.7.0(@types/node@22.19.21)(ts-node@10.9.2(@types/node@22.19.21)(typescript@5.5.4)) json5: 2.2.3 lodash.memoize: 4.1.2 @@ -10214,7 +10182,7 @@ snapshots: undici-types@7.24.6: {} - undici@7.30.2: {} + undici@7.30.0: {} update-browserslist-db@1.3.2(browserslist@4.28.9): dependencies: @@ -10342,10 +10310,9 @@ snapshots: ws@8.21.0: {} - wsl-utils@1.0.1: + wsl-utils@0.1.0: dependencies: is-wsl: 3.1.1 - powershell-utils: 0.2.1 xml-naming@0.1.0: {} diff --git a/mem0-ts/pnpm-workspace.yaml b/mem0-ts/pnpm-workspace.yaml index 4a75a2cdc..61017d969 100644 --- a/mem0-ts/pnpm-workspace.yaml +++ b/mem0-ts/pnpm-workspace.yaml @@ -6,14 +6,13 @@ onlyBuiltDependencies: - better-sqlite3 overrides: - "@azure/identity@<4.14.1": ">=4.14.1 <5.0.0" "form-data@<4.0.6": ">=4.0.6" "picomatch@<2.3.2": "^2.3.2" "picomatch@>=4.0.0 <4.0.4": "^4.0.4" "jws@4.0.0": "4.0.1" - "js-yaml@<3.15.2": ">=3.15.2 <4.0.0" - "js-yaml@>=4.0.0 <4.3.2": ">=4.3.2 <5.0.0" - "sharp@<0.35.4": ">=0.35.4 <0.36.0" + "js-yaml@<3.15.1": ">=3.15.1 <4.0.0" + "js-yaml@>=4.0.0 <4.3.1": ">=4.3.1 <5.0.0" + "sharp@<0.35.0": ">=0.35.0 <0.36.0" "adm-zip@<0.6.1": ">=0.6.1 <0.7.0" "langsmith@<0.6.0": "^0.6.0" "minimatch@<3.1.3": "^3.1.3" @@ -28,10 +27,10 @@ overrides: "glob@>=10.2.0 <10.5.0": "^10.5.0" "@modelcontextprotocol/sdk": "^1.25.4" "esbuild": ">=0.28.1" - "undici@<7.30.1": ">=7.30.1 <8.0.0" - "axios@<1.20.0": ">=1.20.0 <2.0.0" + "undici@<7.29.1": ">=7.29.1 <8.0.0" + "axios@<1.18.0": ">=1.18.0 <2.0.0" "brace-expansion@<1.1.16": ">=1.1.16 <2.0.0" - "brace-expansion@>=2.0.0 <2.1.6": ">=2.1.6 <3.0.0" + "brace-expansion@>=2.0.0 <2.1.4": ">=2.1.4 <3.0.0" "brace-expansion@>=3.0.0 <5.0.8": ">=5.0.8 <6.0.0" "fast-xml-parser@>=5.0.0 <5.10.1": ">=5.10.1 <6.0.0" "tar@<7.5.21": ">=7.5.21 <8.0.0" @@ -41,10 +40,6 @@ overrides: "ip-address@<10.5.1": ">=10.5.1 <11.0.0" "browserslist@<4.28.7": ">=4.28.7 <5.0.0" "mysql2@<3.23.1": ">=3.23.1 <4.0.0" - "basic-ftp@<6.2.1": ">=6.2.1 <7.0.0" - "@grpc/grpc-js@>=1.14.0 <1.14.5": ">=1.14.5 <2.0.0" - "handlebars@<4.7.10": ">=4.7.10 <5.0.0" - "follow-redirects@<1.16.2": ">=1.16.2 <2.0.0" patchedDependencies: "tar@7.5.22": "patches/tar@7.5.22.patch" diff --git a/mem0-ts/src/client/mem0.ts b/mem0-ts/src/client/mem0.ts index c386be323..0f8725164 100644 --- a/mem0-ts/src/client/mem0.ts +++ b/mem0-ts/src/client/mem0.ts @@ -74,34 +74,6 @@ function rejectTopLevelEntityParams( } } -function rejectFilters( - options: Record | undefined, - methodName: string, -): void { - if (options?.filters != null) { - throw new Error( - `filters is not supported in ${methodName}(). ` + - `Pass entity IDs at the top level, e.g. userId: "...".`, - ); - } -} - -/** Throws on an empty entity ID, which the API treats as matching every memory. */ -function rejectBlankEntityIds(options: Record | undefined): void { - for (const [key, value] of Object.entries(options ?? {})) { - if ( - ENTITY_PARAMS.includes(key) && - typeof value === "string" && - value.trim() === "" - ) { - throw new Error( - `${key} cannot be empty or whitespace-only: an empty ID would match every memory in the project. ` + - `To delete everything on purpose, call deleteAll() with "*" explicitly.`, - ); - } - } -} - function encodePathSegment(value: unknown): string { return encodeURIComponent(String(value)); } @@ -424,7 +396,6 @@ export default class MemoryClient { if (!messages || (Array.isArray(messages) && messages.length === 0)) { throw new Error("Cannot process an empty messages payload."); } - rejectFilters(options, "add"); const payload = this._preparePayload(messages, options); const payloadKeys = Object.keys(payload); @@ -569,8 +540,6 @@ export default class MemoryClient { async deleteAll( options: DeleteAllMemoryOptions = {}, ): Promise<{ message: string }> { - rejectFilters(options, "deleteAll"); - rejectBlankEntityIds(options); const payloadKeys = Object.keys(options || {}); this._captureEvent("delete_all", [payloadKeys]); const snakeOptions = camelToSnakeKeys(this._prepareParams(options)); @@ -642,7 +611,6 @@ export default class MemoryClient { runId?: string; } = {}, ): Promise<{ message: string }> { - rejectBlankEntityIds(params); let to_delete: Array<{ type: string; name: string }> = []; const { userId, agentId, appId, runId } = params; diff --git a/mem0-ts/src/client/tests/memoryClient.entityGuards.test.ts b/mem0-ts/src/client/tests/memoryClient.entityGuards.test.ts deleted file mode 100644 index 463284852..000000000 --- a/mem0-ts/src/client/tests/memoryClient.entityGuards.test.ts +++ /dev/null @@ -1,234 +0,0 @@ -/** MemoryClient unit tests for entity ID handling in add, deleteAll, and deleteUsers. */ -import { MemoryClient } from "../mem0"; -import { createMockAllUsers, createMockUser, TEST_API_KEY } from "./helpers"; -import { - setupMockFetch, - findFetchCall, - getFetchBody, - installConsoleSuppression, -} from "./setup"; - -installConsoleSuppression(); - -const BLANK_IDS = ["", " ", "\t\n"]; -const ENTITY_KEYS = [ - "userId", - "agentId", - "appId", - "runId", - "user_id", - "agent_id", - "app_id", - "run_id", -]; - -function mockDeleteAll() { - const extra = new Map(); - extra.set("/v1/memories/", { status: 200, body: { message: "Deleted" } }); - return setupMockFetch(extra); -} - -describe("MemoryClient - deleteAll() blank entity IDs", () => { - test.each( - ENTITY_KEYS.flatMap((key) => BLANK_IDS.map((blank) => [key, blank])), - )("rejects %s=%j without sending a request", async (key, blank) => { - const mock = mockDeleteAll(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await expect(client.deleteAll({ [key]: blank } as never)).rejects.toThrow( - key, - ); - - expect(findFetchCall(mock, "/v1/memories/", "DELETE")).toBeUndefined(); - }); - - test("rejects a blank ID next to a valid ID", async () => { - const mock = mockDeleteAll(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await expect( - client.deleteAll({ userId: "u1", agentId: "" }), - ).rejects.toThrow("agentId"); - - expect(findFetchCall(mock, "/v1/memories/", "DELETE")).toBeUndefined(); - }); - - test("error explains the risk and the wildcard", async () => { - mockDeleteAll(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await expect(client.deleteAll({ userId: "" })).rejects.toThrow( - /every memory in the project.*"\*"/, - ); - }); -}); - -describe("MemoryClient - deleteAll() valid inputs", () => { - test("sends the entity ID as a query param", async () => { - const mock = mockDeleteAll(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await client.deleteAll({ userId: "u1" }); - - const call = findFetchCall(mock, "/v1/memories/?", "DELETE"); - expect(call![0]).toContain("user_id=u1"); - }); - - test("still allows the explicit wildcard", async () => { - const mock = mockDeleteAll(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await client.deleteAll({ userId: "*" }); - - const call = findFetchCall(mock, "/v1/memories/?", "DELETE"); - expect(call![0]).toContain("user_id=*"); - }); - - test("ignores undefined entity IDs", async () => { - const mock = mockDeleteAll(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await client.deleteAll({ userId: "u1", agentId: undefined }); - - const call = findFetchCall(mock, "/v1/memories/?", "DELETE"); - expect(call![0]).not.toContain("agent_id"); - }); -}); - -describe("MemoryClient - deleteAll() rejects filters", () => { - test("throws and sends no request", async () => { - const mock = mockDeleteAll(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await expect( - client.deleteAll({ filters: { user_id: "u1" } } as never), - ).rejects.toThrow(/filters.*userId/); - - expect(findFetchCall(mock, "/v1/memories/", "DELETE")).toBeUndefined(); - }); -}); - -describe("MemoryClient - deleteUsers() blank entity IDs", () => { - test.each( - ["userId", "agentId", "appId", "runId"].flatMap((key) => - BLANK_IDS.map((blank) => [key, blank]), - ), - )("rejects %s=%j before any request", async (key, blank) => { - const extra = new Map(); - extra.set("/v1/entities/", { - status: 200, - body: createMockAllUsers([createMockUser()]), - }); - const mock = setupMockFetch(extra); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await expect(client.deleteUsers({ [key]: blank })).rejects.toThrow(key); - - expect(findFetchCall(mock, "/v1/entities/")).toBeUndefined(); - expect(findFetchCall(mock, "/v2/entities/", "DELETE")).toBeUndefined(); - }); -}); - -describe("MemoryClient - deleteUsers() valid inputs", () => { - test("deletes the named entity", async () => { - const extra = new Map(); - extra.set("/v2/entities/user/u1/", { - status: 200, - body: { message: "ok" }, - }); - const mock = setupMockFetch(extra); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await client.deleteUsers({ userId: "u1" }); - - expect( - findFetchCall(mock, "/v2/entities/user/u1/", "DELETE"), - ).toBeDefined(); - }); - - test("with no IDs still deletes every listed entity", async () => { - const extra = new Map(); - extra.set("/v1/entities/", { - status: 200, - body: createMockAllUsers([ - createMockUser({ name: "u1", type: "user" }), - createMockUser({ name: "a1", type: "agent" }), - ]), - }); - extra.set("/v2/entities/user/u1/", { - status: 200, - body: { message: "ok" }, - }); - extra.set("/v2/entities/agent/a1/", { - status: 200, - body: { message: "ok" }, - }); - const mock = setupMockFetch(extra); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await client.deleteUsers(); - - expect( - findFetchCall(mock, "/v2/entities/user/u1/", "DELETE"), - ).toBeDefined(); - expect( - findFetchCall(mock, "/v2/entities/agent/a1/", "DELETE"), - ).toBeDefined(); - }); -}); - -describe("MemoryClient - add() entity IDs", () => { - function mockAdd() { - const extra = new Map(); - extra.set("/v3/memories/add/", { status: 200, body: [] }); - return setupMockFetch(extra); - } - - test("rejects filters and sends no request", async () => { - const mock = mockAdd(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await expect( - client.add([{ role: "user", content: "hi" }], { - filters: { user_id: "u1" }, - }), - ).rejects.toThrow(/filters.*userId/); - - expect(findFetchCall(mock, "/v3/memories/add/", "POST")).toBeUndefined(); - }); - - test("treats filters: undefined as not provided", async () => { - const mock = mockAdd(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await client.add([{ role: "user", content: "hi" }], { - userId: "u1", - filters: undefined, - }); - - const call = findFetchCall(mock, "/v3/memories/add/", "POST"); - expect(getFetchBody(call!).user_id).toBe("u1"); - }); - - test("sends top-level entity IDs in the body", async () => { - const mock = mockAdd(); - const client = new MemoryClient({ apiKey: TEST_API_KEY }); - - await client.add([{ role: "user", content: "hi" }], { - userId: "u1", - agentId: "a1", - appId: "p1", - runId: "r1", - }); - - const body = getFetchBody( - findFetchCall(mock, "/v3/memories/add/", "POST")!, - ); - expect(body).toMatchObject({ - user_id: "u1", - agent_id: "a1", - app_id: "p1", - run_id: "r1", - }); - }); -}); diff --git a/mem0-ts/src/oss/src/memory/index.ts b/mem0-ts/src/oss/src/memory/index.ts index 00fdc7d97..1efbc3e45 100644 --- a/mem0-ts/src/oss/src/memory/index.ts +++ b/mem0-ts/src/oss/src/memory/index.ts @@ -768,9 +768,7 @@ export class Memory { has_filters: !!config.filters, infer: config.infer, }); - // Copy: scope keys are written into this object below, and the caller's next add() must not inherit them (#6796). - const filters: SearchFilters = { ...(config.filters ?? {}) }; - const { infer = true } = config; + const { filters = {}, infer = true } = config; const metadata = stripIdentityKeys(config.metadata); // Validate and trim entity IDs @@ -1990,15 +1988,7 @@ export class Memory { updatedAt: new Date().toISOString(), }; - const updated = await this.vectorStore.update( - memoryId, - embedding, - newMetadata, - ); - // The memory was deleted between the get above and this write. - if (updated === false) { - throw new Error(`Memory with ID ${memoryId} not found`); - } + await this.vectorStore.update(memoryId, embedding, newMetadata); await this.db.addHistory( memoryId, prevValue, diff --git a/mem0-ts/src/oss/src/tests/chroma.test.ts b/mem0-ts/src/oss/src/tests/chroma.test.ts index 6efb2df2f..3b51e7eef 100644 --- a/mem0-ts/src/oss/src/tests/chroma.test.ts +++ b/mem0-ts/src/oss/src/tests/chroma.test.ts @@ -271,47 +271,14 @@ describe("get", () => { describe("update", () => { it("updates a single record with embedding and metadata", async () => { - __mocks__.get.mockResolvedValue({ ids: ["vec-1"], metadatas: [{}] }); const db = await initDb(); - expect(await db.update("vec-1", [1, 2, 3], { text: "updated" })).toBe(true); + await db.update("vec-1", [1, 2, 3], { text: "updated" }); expect(__mocks__.update).toHaveBeenCalledWith({ ids: ["vec-1"], embeddings: [[1, 2, 3]], metadatas: [{ text: "updated" }], }); }); - - it("returns false and inserts nothing when the id does not exist", async () => { - const db = await initDb(); - expect(await db.update("missing", [1, 2, 3], { text: "x" })).toBe(false); - expect(__mocks__.get).toHaveBeenCalledWith({ - ids: ["missing"], - include: [], - }); - expect(__mocks__.add).not.toHaveBeenCalled(); - expect(__mocks__.upsert).not.toHaveBeenCalled(); - }); - - it("returns undefined, not an error, when the read-back after a landed update fails", async () => { - const warn = jest.spyOn(console, "warn").mockImplementation(() => {}); - const db = await initDb(); - __mocks__.get.mockRejectedValueOnce(new Error("chroma unavailable")); - expect(await db.update("vec-1", [1, 2, 3], { text: "x" })).toBeUndefined(); - expect(__mocks__.update).toHaveBeenCalledTimes(1); - expect(warn).toHaveBeenCalled(); - warn.mockRestore(); - }); - - it("supports a payload-only update", async () => { - __mocks__.get.mockResolvedValue({ ids: ["vec-1"], metadatas: [{}] }); - const db = await initDb(); - expect(await db.update("vec-1", null as any, { text: "only" })).toBe(true); - expect(__mocks__.update).toHaveBeenCalledWith({ - ids: ["vec-1"], - embeddings: undefined, - metadatas: [{ text: "only" }], - }); - }); }); describe("delete", () => { diff --git a/mem0-ts/src/oss/src/tests/mongodb.test.ts b/mem0-ts/src/oss/src/tests/mongodb.test.ts index d6600bf04..fe847b56c 100644 --- a/mem0-ts/src/oss/src/tests/mongodb.test.ts +++ b/mem0-ts/src/oss/src/tests/mongodb.test.ts @@ -330,9 +330,7 @@ describe("MongoDB Vector Store", () => { it("should update document correctly", async () => { mockUpdateOne.mockResolvedValue({ matchedCount: 1 }); - expect( - await store.update("id1", [0.1, 0.2, 0.3, 0.4], { name: "new-alice" }), - ).toBe(true); + await store.update("id1", [0.1, 0.2, 0.3, 0.4], { name: "new-alice" }); expect(mockUpdateOne).toHaveBeenCalledWith( { _id: "id1" }, @@ -345,32 +343,6 @@ describe("MongoDB Vector Store", () => { ); }); - it("should return false and not insert when updating a missing id", async () => { - mockUpdateOne.mockResolvedValue({ matchedCount: 0, modifiedCount: 0 }); - await store.initialize(); - mockInsertOne.mockClear(); - - expect(await store.update("missing", [0.1, 0.2, 0.3, 0.4], {})).toBe(false); - expect(mockUpdateOne.mock.calls[0][2]?.upsert).toBeFalsy(); - expect(mockInsertOne).not.toHaveBeenCalled(); - expect(mockInsertMany).not.toHaveBeenCalled(); - }); - - it("should return undefined when the write is unacknowledged", async () => { - mockUpdateOne.mockResolvedValue({ acknowledged: false, matchedCount: 0 }); - expect(await store.update("id1", [0.1, 0.2, 0.3, 0.4], {})).toBeUndefined(); - }); - - it("should merge a payload-only update without touching the embedding", async () => { - mockUpdateOne.mockResolvedValue({ matchedCount: 1 }); - - expect(await store.update("id1", null as any, { name: "bob" })).toBe(true); - expect(mockUpdateOne).toHaveBeenCalledWith( - { _id: "id1" }, - { $set: { "payload.name": "bob" } }, - ); - }); - it("should delete document correctly", async () => { mockDeleteOne.mockResolvedValue({ deletedCount: 1 }); diff --git a/mem0-ts/src/oss/src/tests/pinecone.test.ts b/mem0-ts/src/oss/src/tests/pinecone.test.ts index 5342d7a49..3c008538e 100644 --- a/mem0-ts/src/oss/src/tests/pinecone.test.ts +++ b/mem0-ts/src/oss/src/tests/pinecone.test.ts @@ -9,13 +9,12 @@ // so `beforeEach` can reach them before the lazy import has fired; the factory, // which runs on first use, just returns a reference to the Pinecone class mock. const upsert = jest.fn().mockResolvedValue(undefined); -const update = jest.fn().mockResolvedValue(undefined); const query = jest.fn().mockResolvedValue({ matches: [] }); const fetch = jest.fn().mockResolvedValue({ records: {} }); const deleteOne = jest.fn().mockResolvedValue(undefined); const deleteAll = jest.fn().mockResolvedValue(undefined); -const nsHandle = { upsert, update, query, fetch, deleteOne, deleteAll }; +const nsHandle = { upsert, query, fetch, deleteOne, deleteAll }; const namespace = jest.fn().mockReturnValue(nsHandle); const describeIndexStats = jest @@ -27,7 +26,6 @@ const indexHandle = { describeIndexStats, // expose ops directly for the no-namespace path upsert, - update, query, fetch, deleteOne, @@ -47,7 +45,6 @@ const Pinecone = jest.fn().mockImplementation(() => ({ const __mocks__ = { upsert, - update, query, fetch, deleteOne, @@ -107,7 +104,6 @@ beforeEach(() => { const nsHandle = { upsert: __mocks__.upsert, - update: __mocks__.update, query: __mocks__.query, fetch: __mocks__.fetch, deleteOne: __mocks__.deleteOne, @@ -118,7 +114,6 @@ beforeEach(() => { namespace: __mocks__.namespace, describeIndexStats: __mocks__.describeIndexStats, upsert: __mocks__.upsert, - update: __mocks__.update, query: __mocks__.query, fetch: __mocks__.fetch, deleteOne: __mocks__.deleteOne, @@ -404,27 +399,14 @@ describe("get", () => { }); describe("update", () => { - it("updates by id and never upserts", async () => { + it("upserts a single record", async () => { const db = await initDb(); - await expect( - db.update("vec-1", [1, 2, 3, 4], { text: "updated" }), - ).resolves.toBeUndefined(); - expect(__mocks__.update).toHaveBeenCalledWith({ - id: "vec-1", - values: [1, 2, 3, 4], - metadata: { text: "updated" }, + await db.update("vec-1", [1, 2, 3, 4], { text: "updated" }); + expect(__mocks__.upsert).toHaveBeenCalledWith({ + records: [ + { id: "vec-1", values: [1, 2, 3, 4], metadata: { text: "updated" } }, + ], }); - expect(__mocks__.upsert).not.toHaveBeenCalled(); - }); - - it("payload-only update leaves the vector values alone", async () => { - const db = await initDb(); - await db.update("vec-1", null as any, { text: "renamed" }); - expect(__mocks__.update).toHaveBeenCalledWith({ - id: "vec-1", - metadata: { text: "renamed" }, - }); - expect(__mocks__.upsert).not.toHaveBeenCalled(); }); }); diff --git a/mem0-ts/src/oss/src/vector_stores/azure_ai_search.ts b/mem0-ts/src/oss/src/vector_stores/azure_ai_search.ts index 84117718b..52576aca0 100644 --- a/mem0-ts/src/oss/src/vector_stores/azure_ai_search.ts +++ b/mem0-ts/src/oss/src/vector_stores/azure_ai_search.ts @@ -474,7 +474,7 @@ export class AzureAISearch implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); const document: Record = { id: vectorId }; @@ -493,19 +493,15 @@ export class AzureAISearch implements VectorStore { } } - const response = await this.searchClient.mergeDocuments([document]); + const response = await this.searchClient.mergeOrUploadDocuments([document]); for (const result of response.results) { - if (result.statusCode === 404) { - return false; - } if (!result.succeeded) { throw new Error( `Update failed for document ${vectorId}: ${result.errorMessage}`, ); } } - return true; } /** diff --git a/mem0-ts/src/oss/src/vector_stores/azure_mysql.ts b/mem0-ts/src/oss/src/vector_stores/azure_mysql.ts index d525fcca7..123767484 100644 --- a/mem0-ts/src/oss/src/vector_stores/azure_mysql.ts +++ b/mem0-ts/src/oss/src/vector_stores/azure_mysql.ts @@ -1,4 +1,4 @@ -import type { Pool, ResultSetHeader, RowDataPacket } from "mysql2/promise"; +import type { Pool, RowDataPacket } from "mysql2/promise"; import { VectorStore } from "./base"; import { SearchFilters, VectorStoreConfig, VectorStoreResult } from "../types"; import { loadPeer } from "../utils/load_peer"; @@ -275,18 +275,16 @@ export class AzureMySQLDB implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); const conn = await this.pool!.getConnection(); try { await conn.beginTransaction(); - // mysql2 sets CLIENT_FOUND_ROWS by default, so affectedRows counts matched rows. - const [result] = await conn.execute( + await conn.execute( `UPDATE ${this.col()} SET vector = ?, payload = ? WHERE id = ?`, [JSON.stringify(vector), JSON.stringify(payload), vectorId], ); await conn.commit(); - return result.affectedRows > 0; } catch (err) { await conn.rollback(); throw err; diff --git a/mem0-ts/src/oss/src/vector_stores/base.ts b/mem0-ts/src/oss/src/vector_stores/base.ts index 970981274..975541cf8 100644 --- a/mem0-ts/src/oss/src/vector_stores/base.ts +++ b/mem0-ts/src/oss/src/vector_stores/base.ts @@ -17,12 +17,11 @@ export interface VectorStore { filters?: SearchFilters, ): Promise; get(vectorId: string): Promise; - /** Must not create a record. true: record changed; false: id does not exist; void: the store cannot tell. */ update( vectorId: string, vector: number[], payload: Record, - ): Promise; + ): Promise; delete(vectorId: string): Promise; deleteCol(): Promise; list( diff --git a/mem0-ts/src/oss/src/vector_stores/chroma.ts b/mem0-ts/src/oss/src/vector_stores/chroma.ts index 994b0a596..bec0e961a 100644 --- a/mem0-ts/src/oss/src/vector_stores/chroma.ts +++ b/mem0-ts/src/oss/src/vector_stores/chroma.ts @@ -186,24 +186,13 @@ export class ChromaDB implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { const collection = await this.getCollection(); await collection.update({ ids: [vectorId], embeddings: vector ? [vector] : undefined, metadatas: payload ? [payload] : undefined, } as any); - // Chroma skips unknown ids on update without an error, so check existence after the write. - try { - const existing = await collection.get({ ids: [vectorId], include: [] }); - return existing.ids.length > 0; - } catch (error) { - // The write already ran; failing here would surface an error for a landed update. - console.warn( - `Chroma update of '${vectorId}' could not be confirmed:`, - error, - ); - } } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/databricks.ts b/mem0-ts/src/oss/src/vector_stores/databricks.ts index f09e8f2b5..627e522ee 100644 --- a/mem0-ts/src/oss/src/vector_stores/databricks.ts +++ b/mem0-ts/src/oss/src/vector_stores/databricks.ts @@ -665,7 +665,7 @@ export class DatabricksVectorStore implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); this.assertVectorDimension(vector, "Vector"); @@ -673,8 +673,7 @@ export class DatabricksVectorStore implements VectorStore { // are written once at insert(). Mirror Python's `excluded_keys`: update() must never rewrite // them from the payload -- a partial payload that omits these keys would otherwise SET them to // NULL and hide the row from every session-scoped search and list(). - // A Delta UPDATE returns one row with num_affected_rows; without it we cannot tell. - const rows = await this.executeSql(` + await this.executeSql(` UPDATE ${this.fullTableName} SET embedding = ${formatSqlValue(vector)}, payload = ${formatSqlValue(JSON.stringify(payload || {}))}, @@ -682,10 +681,6 @@ export class DatabricksVectorStore implements VectorStore { WHERE memory_id = ${formatSqlValue(vectorId)} `); this.requestIndexSync(); - const raw = extractRowValue(rows[0] ?? {}, ["num_affected_rows"]); - // Number(null) and Number("") are 0, which would read as "missing". - const affected = raw == null || raw === "" ? NaN : Number(raw); - if (Number.isFinite(affected)) return affected > 0; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/elasticsearch.ts b/mem0-ts/src/oss/src/vector_stores/elasticsearch.ts index c8a5d0e5b..27ec5dde6 100644 --- a/mem0-ts/src/oss/src/vector_stores/elasticsearch.ts +++ b/mem0-ts/src/oss/src/vector_stores/elasticsearch.ts @@ -236,24 +236,17 @@ export class ElasticsearchDB implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); const doc: Record = {}; if (vector) doc.vector = vector; if (payload) doc.metadata = payload; - const request = this.client.update({ + await this.client.update({ index: this.collectionName, id: vectorId, doc, }); - try { - await request; - } catch (error: any) { - if (error?.meta?.statusCode === 404) return false; - throw error; - } - return true; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/memory.ts b/mem0-ts/src/oss/src/vector_stores/memory.ts index bbbbabaf7..7969194f0 100644 --- a/mem0-ts/src/oss/src/vector_stores/memory.ts +++ b/mem0-ts/src/oss/src/vector_stores/memory.ts @@ -407,17 +407,16 @@ export class MemoryVectorStore implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { if (vector.length !== this.dimension) { throw new Error( `Vector dimension mismatch. Expected ${this.dimension}, got ${vector.length}`, ); } const vectorBuffer = Buffer.from(new Float32Array(vector).buffer); - const result = this.db + this.db .prepare(`UPDATE vectors SET vector = ?, payload = ? WHERE id = ?`) .run(vectorBuffer, JSON.stringify(payload), vectorId); - return result.changes > 0; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/mongodb.ts b/mem0-ts/src/oss/src/vector_stores/mongodb.ts index 776bf7138..a3bcecf21 100644 --- a/mem0-ts/src/oss/src/vector_stores/mongodb.ts +++ b/mem0-ts/src/oss/src/vector_stores/mongodb.ts @@ -379,7 +379,7 @@ export class MongoDB implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); const updateFields: any = {}; if (vector) { @@ -397,12 +397,9 @@ export class MongoDB implements VectorStore { { _id: vectorId as any }, { $set: updateFields }, ); - // An unacknowledged write reports no real matchedCount. - if (result.acknowledged === false) return; if (result.matchedCount === 0) { console.warn(`No document found with ID '${vectorId}' to update.`); } - return result.matchedCount > 0; } catch (error) { console.error("Error updating document:", error); throw error; diff --git a/mem0-ts/src/oss/src/vector_stores/neptune_analytics.ts b/mem0-ts/src/oss/src/vector_stores/neptune_analytics.ts index f569ed24e..79f6e5c9a 100644 --- a/mem0-ts/src/oss/src/vector_stores/neptune_analytics.ts +++ b/mem0-ts/src/oss/src/vector_stores/neptune_analytics.ts @@ -173,7 +173,7 @@ export class NeptuneAnalyticsVectorStore implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { if (vector.length > 0) { this.assertVectorDimension(vector, "Vector"); } @@ -195,7 +195,7 @@ export class NeptuneAnalyticsVectorStore implements VectorStore { if (hasPayload) { const properties = this.buildStoredPayload(payload); - const payloadResults = await this.executeQuery( + await this.executeQuery( ` MATCH (n:${this.collectionLabelExpr} {\`~id\`: $vectorId}) SET n = $properties @@ -206,7 +206,6 @@ export class NeptuneAnalyticsVectorStore implements VectorStore { properties, }, ); - if (payloadResults.length === 0) return false; } if (hasVector) { @@ -225,7 +224,6 @@ export class NeptuneAnalyticsVectorStore implements VectorStore { }, ); this.assertSuccessfulResults(updateResults, "Update"); - if (updateResults.length === 0) return false; } catch (error) { if (priorResult) { try { @@ -251,7 +249,6 @@ export class NeptuneAnalyticsVectorStore implements VectorStore { throw error; } } - if (hasPayload || hasVector) return true; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/opensearch.ts b/mem0-ts/src/oss/src/vector_stores/opensearch.ts index b16717c6f..10f42e46a 100644 --- a/mem0-ts/src/oss/src/vector_stores/opensearch.ts +++ b/mem0-ts/src/oss/src/vector_stores/opensearch.ts @@ -367,13 +367,13 @@ export class OpenSearchDB implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); if (vector) { this.validateVector(vector, 0); } - const request = this.client.update({ + await this.client.update({ index: this.collectionName, id: vectorId, body: { @@ -385,15 +385,6 @@ export class OpenSearchDB implements VectorStore { }, refresh: this.autoRefresh, }); - try { - await request; - } catch (error: any) { - if (error?.statusCode === 404 || error?.meta?.statusCode === 404) { - return false; - } - throw error; - } - return true; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/oracledb.ts b/mem0-ts/src/oss/src/vector_stores/oracledb.ts index 08c2d12a3..46cf016b8 100644 --- a/mem0-ts/src/oss/src/vector_stores/oracledb.ts +++ b/mem0-ts/src/oss/src/vector_stores/oracledb.ts @@ -654,7 +654,7 @@ export class OracleAIVectorSearch implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); const assignments: string[] = []; @@ -670,7 +670,7 @@ export class OracleAIVectorSearch implements VectorStore { } if (assignments.length === 0) return; - const result = await this.withConnection( + await this.withConnection( (connection) => connection.execute( `UPDATE ${this.collectionName} SET ${assignments.join(", ")} WHERE id = :vector_id`, @@ -678,8 +678,6 @@ export class OracleAIVectorSearch implements VectorStore { ), true, ); - const affected = result.rowsAffected; - return typeof affected === "number" ? affected > 0 : undefined; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/pgvector.ts b/mem0-ts/src/oss/src/vector_stores/pgvector.ts index 1bd4d9a2c..b7f2c2f69 100644 --- a/mem0-ts/src/oss/src/vector_stores/pgvector.ts +++ b/mem0-ts/src/oss/src/vector_stores/pgvector.ts @@ -464,10 +464,10 @@ export class PGVector implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); const vectorStr = `[${vector.join(",")}]`; - const result = await this.client.query( + await this.client.query( ` UPDATE ${this.col()} SET vector = $1::vector, payload = $2::jsonb @@ -475,7 +475,6 @@ export class PGVector implements VectorStore { `, [vectorStr, payload, vectorId], ); - return (result.rowCount ?? 0) > 0; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/pinecone.ts b/mem0-ts/src/oss/src/vector_stores/pinecone.ts index ed6f9eb96..3d8f4e851 100644 --- a/mem0-ts/src/oss/src/vector_stores/pinecone.ts +++ b/mem0-ts/src/oss/src/vector_stores/pinecone.ts @@ -305,11 +305,8 @@ export class PineconeDB implements VectorStore { payload: Record, ): Promise { await this.initialize(); - // update() never creates a missing id but does not report whether it existed. - await this.namespacedIndex().update({ - id: vectorId, - ...(vector ? { values: vector } : {}), - metadata: payload, + await this.namespacedIndex().upsert({ + records: [{ id: vectorId, values: vector, metadata: payload }], }); } diff --git a/mem0-ts/src/oss/src/vector_stores/qdrant.ts b/mem0-ts/src/oss/src/vector_stores/qdrant.ts index 99f72b20c..e84a138f1 100644 --- a/mem0-ts/src/oss/src/vector_stores/qdrant.ts +++ b/mem0-ts/src/oss/src/vector_stores/qdrant.ts @@ -319,13 +319,9 @@ export class Qdrant implements VectorStore { // named-vector and BM25-inference shapes are not typed. private async upsertPoints( points: { id: string | number; vector: any; payload?: any }[], - options: { update_mode?: "update_only" } = {}, ): Promise { try { - await this.client.upsert(this.collectionName, { - points: points as any, - ...options, - }); + await this.client.upsert(this.collectionName, { points: points as any }); } catch (error) { if (!this._hasBm25Slot) { throw error; @@ -342,7 +338,6 @@ export class Qdrant implements VectorStore { })); await this.client.upsert(this.collectionName, { points: denseOnly as any, - ...options, }); } } @@ -435,7 +430,7 @@ export class Qdrant implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); const point = { id: vectorId, @@ -444,15 +439,7 @@ export class Qdrant implements VectorStore { payload, }; - // One write keeps the vector and payload of concurrent updates together. - // update_only (Qdrant 1.17+) never creates a point; older servers upsert as before. - await this.upsertPoints([point], { update_mode: "update_only" }); - const found = await this.client.retrieve(this.collectionName, { - ids: [vectorId], - with_payload: false, - with_vector: false, - }); - return found.length > 0; + await this.upsertPoints([point]); } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/redis.ts b/mem0-ts/src/oss/src/vector_stores/redis.ts index be016bada..ecb326ac2 100644 --- a/mem0-ts/src/oss/src/vector_stores/redis.ts +++ b/mem0-ts/src/oss/src/vector_stores/redis.ts @@ -122,11 +122,6 @@ const EXCLUDED_KEYS = new Set([ "updated_at", ]); -// HSET alone creates a missing hash; the script checks and writes atomically. -const HSET_IF_EXISTS = - "if redis.call('EXISTS', KEYS[1]) == 0 then return 0 end " + - "redis.call('HSET', KEYS[1], unpack(ARGV)) return 1"; - // Utility function to convert object keys to snake_case function toSnakeCase(obj: Record): Record { if (typeof obj !== "object" || obj === null) return obj; @@ -579,7 +574,7 @@ export class RedisDB implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); const snakePayload = toSnakeCase(payload); const createdAt = snakePayload.created_at @@ -594,8 +589,8 @@ export class RedisDB implements VectorStore { memory: snakePayload.data ?? "", created_at: createdAt, updated_at: updatedAt, + embedding: Buffer.from(new Float32Array(vector).buffer), }; - if (vector) entry.embedding = Buffer.from(new Float32Array(vector).buffer); // Add optional fields ["agent_id", "run_id", "user_id"].forEach((field) => { @@ -611,40 +606,8 @@ export class RedisDB implements VectorStore { ), ); - const key = `${this.indexPrefix}:${vectorId}`; try { - const updated = await this.client - .sendCommand([ - "EVAL", - HSET_IF_EXISTS, - "1", - key, - ...Object.entries(entry).flatMap(([field, value]) => [ - field, - typeof value === "number" ? String(value) : value, - ]), - ]) - .catch(async (error: Error) => { - // ACL users without +@scripting: WATCH/MULTI is also atomic, but needs its own connection. - if (!String(error?.message).includes("NOPERM")) throw error; - const { WatchError } = await import("redis"); - return this.client.executeIsolated(async (conn) => { - for (;;) { - await conn.watch(key); - if (!(await conn.exists(key))) { - await conn.unwatch(); - return 0; - } - try { - await conn.multi().hSet(key, entry).exec(); - return 1; - } catch (e) { - if (!(e instanceof WatchError)) throw e; - } - } - }); - }); - return updated === 1; + await this.client.hSet(`${this.indexPrefix}:${vectorId}`, entry); } catch (error) { console.error("Error during vector update:", error); throw error; diff --git a/mem0-ts/src/oss/src/vector_stores/upstash_vector.ts b/mem0-ts/src/oss/src/vector_stores/upstash_vector.ts index bd627f409..2fa539dd6 100644 --- a/mem0-ts/src/oss/src/vector_stores/upstash_vector.ts +++ b/mem0-ts/src/oss/src/vector_stores/upstash_vector.ts @@ -141,19 +141,19 @@ export class UpstashVector implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); - const { updated } = await this.client.update( + // Upstash's `update` can't set the vector and metadata in one call (its + // payload is a discriminated union of vector | data | metadata), so a + // single `upsert` replaces both atomically, the same way insert() writes. + await this.client.upsert( { id: vectorId, - ...(vector ? { vector } : {}), + vector, metadata: payload, - metadataUpdateMode: "OVERWRITE", }, { namespace: this.collectionName }, ); - // 0 is not documented as "missing" and can come back for an existing id. - return typeof updated === "number" && updated > 0 ? true : undefined; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/valkey.ts b/mem0-ts/src/oss/src/vector_stores/valkey.ts index 61c557551..cd4f85920 100644 --- a/mem0-ts/src/oss/src/vector_stores/valkey.ts +++ b/mem0-ts/src/oss/src/vector_stores/valkey.ts @@ -14,16 +14,6 @@ interface ValkeyClient { set: (key: string, value: string) => Promise<"OK">; quit: () => Promise<"OK">; on: (event: string, listener: (...args: any[]) => void) => void; - duplicate: () => ValkeyClient; - watch: (key: string) => Promise<"OK">; - unwatch: () => Promise<"OK">; - multi: () => { - hset: ( - key: string, - data: Record, - ) => { exec: () => Promise<[Error | null, unknown][] | null> }; - }; - disconnect: () => void; } /** @@ -46,11 +36,6 @@ const EXCLUDED_KEYS = new Set([ "updated_at", ]); -// HSET alone creates a missing hash; the script checks and writes atomically. -const HSET_IF_EXISTS = - "if redis.call('EXISTS', KEYS[1]) == 0 then return 0 end " + - "redis.call('HSET', KEYS[1], unpack(ARGV)) return 1"; - function toSnakeCase(obj: Record): Record { if (typeof obj !== "object" || obj === null) return obj; return Object.fromEntries( @@ -518,7 +503,7 @@ export class ValkeyDB implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { const snakePayload = toSnakeCase(payload); const key = `${this.indexPrefix}:${vectorId}`; @@ -533,15 +518,13 @@ export class ValkeyDB implements VectorStore { created_at: String( Math.floor(new Date(snakePayload.created_at).getTime() / 1000), ), + embedding: Buffer.from(new Float32Array(vector).buffer), metadata: JSON.stringify( Object.fromEntries( Object.entries(snakePayload).filter(([k]) => !EXCLUDED_KEYS.has(k)), ), ), }; - if (vector) { - hashData.embedding = Buffer.from(new Float32Array(vector).buffer); - } if (snakePayload.updated_at) { hashData.updated_at = String( @@ -555,31 +538,7 @@ export class ValkeyDB implements VectorStore { } } - const updated = await this.client - .call("EVAL", HSET_IF_EXISTS, 1, key, ...Object.entries(hashData).flat()) - .catch(async (error: Error) => { - // ACL users without +@scripting: WATCH/MULTI is also atomic, but needs its own connection. - if (!String(error?.message).includes("NOPERM")) throw error; - const conn = this.client.duplicate(); - try { - for (;;) { - await conn.watch(key); - if (!(await conn.exists(key))) { - await conn.unwatch(); - return 0; - } - // exec() resolves to null when a watched key changed: retry. - const replies = await conn.multi().hset(key, hashData).exec(); - if (!replies) continue; - const failed = replies.find(([err]) => err); - if (failed) throw failed[0]; - return 1; - } - } finally { - conn.disconnect(); - } - }); - return updated === 1; + await this.client.hset(key, hashData); } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/src/vector_stores/weaviate.ts b/mem0-ts/src/oss/src/vector_stores/weaviate.ts index ff0a6f95c..3c7d51246 100644 --- a/mem0-ts/src/oss/src/vector_stores/weaviate.ts +++ b/mem0-ts/src/oss/src/vector_stores/weaviate.ts @@ -189,20 +189,13 @@ export class WeaviateDB implements VectorStore { vectorId: string, vector: number[], payload: Record, - ): Promise { + ): Promise { await this.initialize(); - const request = this._col.data.update({ + await this._col.data.update({ id: vectorId, properties: payload, vectors: vector, }); - try { - await request; - } catch (error: any) { - if (error?.code === 404) return false; - throw error; - } - return true; } async delete(vectorId: string): Promise { diff --git a/mem0-ts/src/oss/tests/elasticsearch.unit.test.ts b/mem0-ts/src/oss/tests/elasticsearch.unit.test.ts index dbffc4c33..2793bf6a5 100644 --- a/mem0-ts/src/oss/tests/elasticsearch.unit.test.ts +++ b/mem0-ts/src/oss/tests/elasticsearch.unit.test.ts @@ -365,9 +365,7 @@ describe("ElasticsearchDB", () => { host: "localhost", }); - expect(await store.update("id-1", [1, 2, 3, 4], { key: "val" })).toBe( - true, - ); + await store.update("id-1", [1, 2, 3, 4], { key: "val" }); expect(mockUpdate).toHaveBeenCalledWith({ index: "mem0", @@ -375,35 +373,6 @@ describe("ElasticsearchDB", () => { doc: { vector: [1, 2, 3, 4], metadata: { key: "val" } }, }); }); - - it("returns false and inserts nothing when the document is missing", async () => { - mockUpdate.mockRejectedValue({ meta: { statusCode: 404 } }); - const store = new ElasticsearchDB({ - collectionName: "mem0", - embeddingModelDims: 4, - host: "localhost", - }); - - expect(await store.update("missing", [1, 2, 3, 4], { k: "v" })).toBe( - false, - ); - expect(mockUpdate.mock.calls[0][0]).not.toHaveProperty("doc_as_upsert"); - expect(mockUpdate.mock.calls[0][0]).not.toHaveProperty("upsert"); - expect(mockIndex_).not.toHaveBeenCalled(); - }); - - it("sends only metadata on a payload-only update", async () => { - const store = new ElasticsearchDB({ - collectionName: "mem0", - embeddingModelDims: 4, - host: "localhost", - }); - - expect(await store.update("id-1", null, { key: "new" })).toBe(true); - expect(mockUpdate.mock.calls[0][0].doc).toEqual({ - metadata: { key: "new" }, - }); - }); }); describe("delete", () => { diff --git a/mem0-ts/src/oss/tests/memory.add-filters-isolation.test.ts b/mem0-ts/src/oss/tests/memory.add-filters-isolation.test.ts deleted file mode 100644 index a23926e41..000000000 --- a/mem0-ts/src/oss/tests/memory.add-filters-isolation.test.ts +++ /dev/null @@ -1,115 +0,0 @@ -/// -/** - * add() writes the resolved scope (user_id / agent_id / run_id) into its - * filters object. If that object is the caller's, the scope survives the call - * and leaks into the next add() that reuses it, which also defeats the - * "one of userId, agentId or runId is required" guard. - * - * search() and getAll() already build a fresh object from config.filters. - */ -jest.mock("../src/utils/telemetry", () => ({ - captureClientEvent: jest.fn().mockResolvedValue(undefined), - isTelemetryEnabled: jest.fn(() => false), -})); - -import { Memory } from "../src/memory"; - -const DIM = 1536; -let seq = 0; - -function createMemory(): Memory { - const m = new Memory({ - disableHistory: true, - vectorStore: { - provider: "memory", - config: { - collectionName: `test-add-filters-${seq++}`, - dimension: DIM, - dbPath: ":memory:", - }, - }, - historyDbPath: ":memory:", - embedder: { provider: "openai", config: { apiKey: "test-key" } }, - llm: { provider: "openai", config: { apiKey: "test-key" } }, - } as any); - - // infer:false is enough to exercise the scope handling, so the LLM is never - // called; the embedder just has to return a well-formed vector. - (m as any).embedder = { - embed: async () => new Array(DIM).fill(0.1), - embedBatch: async (texts: string[]) => - texts.map(() => new Array(DIM).fill(0.1)), - }; - return m; -} - -describe("add() does not mutate the caller's filters object", () => { - it("leaves the caller's object untouched", async () => { - const memory = createMemory(); - const filters: Record = {}; - - await memory.add([{ role: "user", content: "alice note" }], { - userId: "alice", - infer: false, - filters, - }); - - expect(filters).toEqual({}); - }); - - it("still throws when a reused object is the only source of scope", async () => { - const memory = createMemory(); - const filters: Record = {}; - - await memory.add([{ role: "user", content: "alice note" }], { - userId: "alice", - infer: false, - filters, - }); - - // No userId/agentId/runId on this call, so the required-scope guard must - // fire rather than reading a value left behind by the previous call. - await expect( - memory.add([{ role: "user", content: "bob note" }], { - infer: false, - filters, - }), - ).rejects.toThrow( - "One of the filters: userId, agentId or runId is required!", - ); - }); - - it("does not store one user's memory under another user's scope", async () => { - const memory = createMemory(); - const filters: Record = {}; - - await memory.add([{ role: "user", content: "alice note" }], { - userId: "alice", - infer: false, - filters, - }); - // A second caller reuses the object and supplies no scope of its own. This - // must not be silently attributed to alice. - await memory - .add([{ role: "user", content: "bob note" }], { - infer: false, - filters, - }) - .catch(() => undefined); - - const alice = await memory.getAll({ filters: { user_id: "alice" } }); - expect(alice.results.map((r) => r.memory)).toEqual(["alice note"]); - }); - - it("keeps scope keys the caller passed in", async () => { - const memory = createMemory(); - - await memory.add([{ role: "user", content: "scoped note" }], { - infer: false, - filters: { user_id: "carol" }, - }); - - const carol = await memory.getAll({ filters: { user_id: "carol" } }); - expect(carol.results.map((r) => r.memory)).toEqual(["scoped note"]); - }); -}); diff --git a/mem0-ts/src/oss/tests/memory.crud.test.ts b/mem0-ts/src/oss/tests/memory.crud.test.ts index 35f3a54f2..6e45eaa01 100644 --- a/mem0-ts/src/oss/tests/memory.crud.test.ts +++ b/mem0-ts/src/oss/tests/memory.crud.test.ts @@ -165,30 +165,6 @@ describe("Memory - update()", () => { expect(result.message).toBe("Memory updated successfully!"); }); - test("a delete that lands between get and update is not undone", async () => { - const addResult: SearchResult = await memory.add("Race me", { - userId, - infer: false, - }); - const id = addResult.results[0].id; - const store = (memory as any).vectorStore; - const realUpdate = store.update.bind(store); - const updateSpy = jest - .spyOn(store, "update") - .mockImplementationOnce(async (...args: any[]) => { - await memory.delete(id); - return realUpdate(...args); - }); - - await expect(memory.update(id, { text: "Resurrected" })).rejects.toThrow( - `Memory with ID ${id} not found`, - ); - updateSpy.mockRestore(); - expect(await memory.get(id)).toBeNull(); - const actions = (await memory.history(id)).map((h) => h.action); - expect(actions).toEqual(["DELETE", "ADD"]); - }); - test("persists the updated text", async () => { const addResult: SearchResult = await memory.add("Before update", { userId, diff --git a/mem0-ts/src/oss/tests/opensearch.unit.test.ts b/mem0-ts/src/oss/tests/opensearch.unit.test.ts index 145f5cc8b..e53a1dbc0 100644 --- a/mem0-ts/src/oss/tests/opensearch.unit.test.ts +++ b/mem0-ts/src/oss/tests/opensearch.unit.test.ts @@ -154,46 +154,6 @@ describe("OpenSearchDB", () => { await expect(store.get("missing")).resolves.toBeNull(); }); - it("update returns false and inserts nothing when the document is missing (404)", async () => { - const client = createClient({ - update: jest.fn().mockRejectedValue({ meta: { statusCode: 404 } }), - }); - const store = await createStore(client); - - await expect( - store.update("missing", [0.1, 0.2, 0.3], { data: "x" }), - ).resolves.toBe(false); - expect(client.update.mock.calls[0][0].body).not.toHaveProperty( - "doc_as_upsert", - ); - expect(client.index).not.toHaveBeenCalled(); - expect(client.bulk).not.toHaveBeenCalled(); - }); - - it("update returns true and sends the same partial doc for an existing document", async () => { - const client = createClient(); - const store = await createStore(client); - - await expect( - store.update("mem-1", [0.1, 0.2, 0.3], { data: "new" }), - ).resolves.toBe(true); - expect(client.update.mock.calls[0][0].body).toEqual({ - doc: { - vector_field: [0.1, 0.2, 0.3], - payload: { data: "new" }, - id: "mem-1", - }, - }); - - await expect( - store.update("mem-1", null as any, { data: "only" }), - ).resolves.toBe(true); - expect(client.update.mock.calls[1][0].body.doc).toEqual({ - payload: { data: "only" }, - id: "mem-1", - }); - }); - it("keywordSearch queries lemmatized payload fields", async () => { const client = createClient(); const store = await createStore(client); diff --git a/mem0-ts/src/oss/tests/oracledb.unit.test.ts b/mem0-ts/src/oss/tests/oracledb.unit.test.ts index 90e8fee5b..3afdbac6e 100644 --- a/mem0-ts/src/oss/tests/oracledb.unit.test.ts +++ b/mem0-ts/src/oss/tests/oracledb.unit.test.ts @@ -411,44 +411,6 @@ describe("OracleAIVectorSearch SQL", () => { expect(results).toEqual([]); expect(count).toBe(0); }); - - function storeWithRowsAffected(calls: Call[], rowsAffected: number) { - const connection: any = fakeConnection(calls, []); - const execute = connection.execute; - connection.execute = async (sql: string, binds: any = {}) => ({ - ...(await execute(sql, binds)), - rowsAffected, - }); - return makeStore(calls, [], { client: connection }); - } - - it("returns false from update and inserts nothing when the id is missing", async () => { - const calls: Call[] = []; - const store = storeWithRowsAffected(calls, 0); - expect(await store.update("missing", [1, 2, 3], { a: 1 })).toBe(false); - expect(calls.some((c) => /^(INSERT|MERGE)/.test(c.sql))).toBe(false); - }); - - it("returns undefined from update when the driver gives no rowsAffected", async () => { - const store = storeWithRowsAffected([], undefined as any); - expect(await store.update("id-1", [1, 2, 3], { a: 1 })).toBeUndefined(); - }); - - it("returns true from update and binds the same values for an existing id", async () => { - const calls: Call[] = []; - const store = storeWithRowsAffected(calls, 1); - expect(await store.update("id-1", [1, 2, 3], { a: 1 })).toBe(true); - expect(await store.update("id-1", null as any, { b: 2 })).toBe(true); - const updates = calls.filter((c) => c.sql.startsWith("UPDATE")); - expect(updates[0].sql).toBe( - 'UPDATE "mem0" SET vector = :vector, payload = :payload WHERE id = :vector_id', - ); - expect(updates[0].binds.vector.val).toEqual(new Float32Array([1, 2, 3])); - expect(updates[0].binds.payload.val).toEqual({ a: 1 }); - expect(updates[1].sql).toBe( - 'UPDATE "mem0" SET payload = :payload WHERE id = :vector_id', - ); - }); }); describe("OracleAIVectorSearch initialization failure", () => { diff --git a/mem0-ts/src/oss/tests/pgvector.unit.test.ts b/mem0-ts/src/oss/tests/pgvector.unit.test.ts index eb3035aee..f6f75701f 100644 --- a/mem0-ts/src/oss/tests/pgvector.unit.test.ts +++ b/mem0-ts/src/oss/tests/pgvector.unit.test.ts @@ -241,29 +241,4 @@ describe("PGVector", () => { ["[1,0,0]", 4], ); }); - - test("update returns rowCount > 0 and only ever issues an UPDATE", async () => { - const store = new PGVector({ - collectionName: "memories", - connectionString: "postgresql://postgres:postgres@localhost:5432/db", - embeddingModelDims: 3, - dimension: 3, - } as any); - await store.initialize(); - const client = require("pg").__mock.clients[0]; - client.query.mockClear(); - - client.query.mockResolvedValueOnce({ rows: [], rowCount: 0 }); - expect(await store.update("missing", [1, 0, 0], { data: "x" })).toBe(false); - client.query.mockResolvedValueOnce({ rows: [], rowCount: 1 }); - expect(await store.update("a", [0, 1, 0], { data: "y" })).toBe(true); - - const queries = getClientQueries(client); - expect(queries).toHaveLength(2); - expect(queries.every((sql) => sql.trim().startsWith("UPDATE"))).toBe(true); - expect(client.query).toHaveBeenLastCalledWith( - expect.stringContaining("SET vector = $1::vector, payload = $2::jsonb"), - ["[0,1,0]", { data: "y" }, "a"], - ); - }); }); diff --git a/mem0-ts/src/oss/tests/qdrant-keyword-search.test.ts b/mem0-ts/src/oss/tests/qdrant-keyword-search.test.ts index a8d1ccd31..2746238cc 100644 --- a/mem0-ts/src/oss/tests/qdrant-keyword-search.test.ts +++ b/mem0-ts/src/oss/tests/qdrant-keyword-search.test.ts @@ -283,27 +283,6 @@ describe("Qdrant BM25 keyword search โ€” insert / update", () => { expect(point.vector.bm25).toBeUndefined(); }); - it("update writes vector and payload in one update_only upsert", async () => { - const { store, client } = await freshStore(); - client.retrieve.mockResolvedValueOnce([{ id: "mem-1" }]); - const payload = { data: "new", user_id: "u" }; - - await expect(store.update("mem-1", [0.4], payload)).resolves.toBe(true); - expect(client.upsert).toHaveBeenCalledTimes(1); - const body = client.upsert.mock.calls[0][1]; - expect(body.update_mode).toBe("update_only"); - expect(body.points[0]).toMatchObject({ id: "mem-1", payload }); - }); - - it("update returns false when the point is gone after the write", async () => { - const { store, client } = await freshStore(); - client.retrieve.mockResolvedValueOnce([]); - - await expect(store.update("gone", [0.1], { data: "x" })).resolves.toBe( - false, - ); - }); - it("inserts a plain dense vector (no named/sparse) on legacy collections", async () => { const client = buildMockClient( { createCollection: jest.fn().mockRejectedValue({ status: 409 }) }, @@ -506,7 +485,6 @@ describe("Qdrant BM25 keyword search โ€” reactive downgrade on upsert failure", expect(upsert).toHaveBeenCalledTimes(2); const retryPoint = upsert.mock.calls[1][1].points[0]; expect(retryPoint.vector).toEqual([0.4, 0.5]); - expect(upsert.mock.calls[1][1].update_mode).toBe("update_only"); expect(warnSpy).toHaveBeenCalledTimes(1); expect(await store.keywordSearch("updat")).toBeNull(); }); diff --git a/mem0-ts/src/oss/tests/redis.unit.test.ts b/mem0-ts/src/oss/tests/redis.unit.test.ts index c3a458860..03343b501 100644 --- a/mem0-ts/src/oss/tests/redis.unit.test.ts +++ b/mem0-ts/src/oss/tests/redis.unit.test.ts @@ -1,7 +1,6 @@ import { RedisDB } from "../src/vector_stores/redis"; jest.mock("redis", () => ({ - WatchError: class WatchError extends Error {}, createClient: jest.fn(() => ({ connect: jest.fn(), on: jest.fn(), @@ -13,8 +12,6 @@ jest.mock("redis", () => ({ _list: jest.fn().mockResolvedValue([]), }, hSet: jest.fn(), - sendCommand: jest.fn().mockResolvedValue(1), - executeIsolated: jest.fn(), hGetAll: jest.fn(), del: jest.fn(), exists: jest.fn(), @@ -22,13 +19,6 @@ jest.mock("redis", () => ({ })), })); -// update() sends EVAL