Context7 Platform -- Up-to-date docs for AI agents
feat(plugins): add Context7 plugin for OpenCode (#3008)
Fahreddin Özcan07580f10af90
diff --git a/.changeset/opencode-plugin.md b/.changeset/opencode-plugin.mdnew file mode 100644index 00000000..3cd0066a--- /dev/null+++ b/.changeset/opencode-plugin.md@@ -0,0 +1,5 @@+---+"@upstash/context7-opencode": minor+---++Add `@upstash/context7-opencode`, the official Context7 plugin for OpenCode. Installing it registers the hosted Context7 MCP server and the `context7-mcp` skill. Authentication defaults to OAuth and falls back to `CONTEXT7_API_KEY` or an `apiKey` plugin option.diff --git a/docs/clients/opencode.mdx b/docs/clients/opencode.mdxindex d990776a..1e43ddd4 100644--- a/docs/clients/opencode.mdx+++ b/docs/clients/opencode.mdx@@ -19,13 +19,66 @@ npx ctx7 setup --opencodeAuthenticates via OAuth, generates an API key, and installs the appropriate skill. You can choose between CLI or MCP mode.+You can also install Context7 as an OpenCode plugin. It bundles the MCP server with a skill:++```bash+opencode plugin @upstash/context7-opencode+```++Restart OpenCode after installing. On the first lookup, a browser window opens so you can log in to Context7 via OAuth, which gives you your account's rate limits.+For manual MCP installation or other configuration options, see [All MCP Clients](/resources/all-clients).---+## Plugin++The plugin is an alternative to `ctx7 setup` that configures OpenCode in one command. It adds two things:++<CardGroup cols={2}>+<Card title="MCP Server" icon="server">+The tools for fetching documentation (`context7_resolve-library-id`, `context7_query-docs`)+</Card>+<Card title="Skills" icon="sparkles">+`context7-mcp` auto-triggers documentation lookups when you ask about libraries+</Card>+</CardGroup>++You can also add the plugin to your config by hand:++```json opencode.json+{+ "$schema": "https://opencode.ai/config.json",+ "plugin": ["@upstash/context7-opencode"]+}+```++### API Key++The plugin uses OAuth by default and needs no configuration. To use an API key instead, for example on a headless machine, export it before launching OpenCode:++```bash+export CONTEXT7_API_KEY="your-api-key"+```++The plugin picks up `CONTEXT7_API_KEY` automatically and sends it as an `Authorization` header. You can also pass it through the plugin options:++```json opencode.json+{+ "$schema": "https://opencode.ai/config.json",+ "plugin": [["@upstash/context7-opencode", { "apiKey": "your-api-key" }]]+}+```++Create or manage API keys in the [Context7 dashboard](https://context7.com/dashboard).++Everything the plugin adds is additive, and your own configuration always wins. If your `opencode.json` already defines an MCP server named `context7`, the plugin leaves it alone. It is also safe to run both `ctx7 setup` and the plugin, since OpenCode loads the `context7-mcp` skill once.++---+## Using Context7-With `ctx7 setup`, a skill is installed that triggers automatically when you ask about libraries. You can also invoke it explicitly:+With `ctx7 setup` or the plugin, a skill is installed that triggers automatically when you ask about libraries. You can also invoke it explicitly:```use context7 to show me how to set up middleware in Next.js 15diff --git a/packages/opencode/.prettierignore b/packages/opencode/.prettierignorenew file mode 100644index 00000000..ad9d9b17--- /dev/null+++ b/packages/opencode/.prettierignore@@ -0,0 +1,12 @@+# Dependencies+node_modules++# Build outputs+dist++# Logs+*.log++# Environment files+.env+.env.*diff --git a/packages/opencode/LICENSE b/packages/opencode/LICENSEnew file mode 100644index 00000000..0a1f72a6--- /dev/null+++ b/packages/opencode/LICENSE@@ -0,0 +1,21 @@+The MIT License (MIT)++Copyright (c) 2021 Upstash, Inc.++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/opencode/README.md b/packages/opencode/README.mdnew file mode 100644index 00000000..4fa8c0b2--- /dev/null+++ b/packages/opencode/README.md@@ -0,0 +1,92 @@+# Context7 Plugin for OpenCode++Context7 solves a common problem with AI coding assistants: outdated training data and hallucinated APIs. Instead of relying on stale knowledge, Context7 fetches current documentation directly from source repositories.++## What's Included++Installing the plugin adds two things to OpenCode:++- **MCP Server** - The hosted Context7 server, with `context7_resolve-library-id` and `context7_query-docs`+- **Skill** - `context7-mcp` auto-triggers documentation lookups when you ask about libraries++## Installation++```bash+opencode plugin @upstash/context7-opencode+```++The command installs the plugin and adds it to your OpenCode config. You can also add it by hand:++```json opencode.json+{+ "$schema": "https://opencode.ai/config.json",+ "plugin": ["@upstash/context7-opencode"]+}+```++Restart OpenCode after installing. On the first documentation lookup, OpenCode opens a browser window so you can log in to Context7 via OAuth, which gives you your account's rate limits.++## API Key++OAuth is the default and needs no configuration. If you would rather use an API key, for example on a headless machine, create one in the [Context7 dashboard](https://context7.com/dashboard) and export it before launching OpenCode:++```bash+# e.g. in ~/.zshrc or ~/.bashrc+export CONTEXT7_API_KEY="your-api-key"+```++The plugin picks up `CONTEXT7_API_KEY` automatically and sends it as an `Authorization` header instead of running the OAuth flow. You can also pass the key through the plugin options:++```json opencode.json+{+ "$schema": "https://opencode.ai/config.json",+ "plugin": [["@upstash/context7-opencode", { "apiKey": "your-api-key" }]]+}+```++## Overriding What the Plugin Adds++Both entries are additive, and an entry you configure yourself always wins. If your `opencode.json` already defines an MCP server named `context7`, the plugin leaves it untouched.++## Usage++The skill triggers on its own when you ask about a library:++- "How do I set up authentication in Next.js 15?"+- "Show me React Server Components examples"+- "What's the Prisma syntax for relations?"++## Available Tools++### context7_resolve-library-id++Searches for libraries and returns Context7-compatible identifiers.++```+Input: "next.js"+Output: { id: "/vercel/next.js", name: "Next.js", versions: ["v15.1.8", "v14.2.0", ...] }+```++### context7_query-docs++Fetches documentation for a specific library, ranked by relevance to your question.++```+Input: { libraryId: "/vercel/next.js", query: "app router middleware" }+Output: Relevant documentation snippets with code examples+```++## Version Pinning++To get documentation for a specific version, include the version in the library ID:++```+/vercel/next.js/v15.1.8+/supabase/supabase/v2.45.0+```++The `context7_resolve-library-id` tool returns available versions, so you can pick the one that matches your project.++## License++MITdiff --git a/packages/opencode/eslint.config.js b/packages/opencode/eslint.config.jsnew file mode 100644index 00000000..d7802270--- /dev/null+++ b/packages/opencode/eslint.config.js@@ -0,0 +1,39 @@+import { defineConfig } from "eslint/config";+import tseslint from "typescript-eslint";+import eslintPluginPrettier from "eslint-plugin-prettier";++export default defineConfig(+ {+ ignores: ["node_modules/**", "build/**", "dist/**", ".git/**", ".github/**"],+ },+ {+ files: ["**/*.ts", "**/*.tsx"],+ languageOptions: {+ ecmaVersion: 2020,+ sourceType: "module",+ parser: tseslint.parser,+ parserOptions: {+ project: "./tsconfig.json",+ tsconfigRootDir: import.meta.dirname,+ },+ globals: {+ process: "readonly",+ console: "readonly",+ },+ },+ linterOptions: {+ reportUnusedDisableDirectives: true,+ },+ plugins: {+ "@typescript-eslint": tseslint.plugin,+ prettier: eslintPluginPrettier,+ },+ rules: {+ ...tseslint.configs.recommended.rules,+ "@typescript-eslint/explicit-module-boundary-types": "off",+ "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],+ "@typescript-eslint/no-explicit-any": "warn",+ "prettier/prettier": "error",+ },+ }+);diff --git a/packages/opencode/package.json b/packages/opencode/package.jsonnew file mode 100644index 00000000..8d885690--- /dev/null+++ b/packages/opencode/package.json@@ -0,0 +1,59 @@+{+ "name": "@upstash/context7-opencode",+ "version": "0.1.0",+ "description": "Official Context7 plugin for OpenCode — wires up the Context7 MCP server and a documentation skill",+ "type": "module",+ "main": "./dist/index.js",+ "types": "./dist/index.d.ts",+ "exports": {+ ".": {+ "types": "./dist/index.d.ts",+ "import": "./dist/index.js"+ }+ },+ "files": [+ "dist",+ "skills",+ "LICENSE",+ "README.md"+ ],+ "scripts": {+ "build": "tsup",+ "typecheck": "tsc --noEmit",+ "clean": "rm -rf dist node_modules",+ "lint": "eslint . --fix",+ "lint:check": "eslint .",+ "format": "prettier --write .",+ "format:check": "prettier --check ."+ },+ "repository": {+ "type": "git",+ "url": "git+https://github.com/upstash/context7.git",+ "directory": "packages/opencode"+ },+ "keywords": [+ "opencode",+ "opencode-plugin",+ "context7",+ "documentation",+ "upstash",+ "mcp",+ "ai",+ "coding-agent"+ ],+ "author": "Upstash",+ "license": "MIT",+ "bugs": {+ "url": "https://github.com/upstash/context7/issues"+ },+ "homepage": "https://github.com/upstash/context7#readme",+ "publishConfig": {+ "access": "public"+ },+ "devDependencies": {+ "@opencode-ai/plugin": "^1.18.11",+ "@types/node": "^25.9.1",+ "tsup": "^8.5.0",+ "typescript": "^5.9.3"+ }+}diff --git a/packages/opencode/skills/context7-mcp/SKILL.md b/packages/opencode/skills/context7-mcp/SKILL.mdnew file mode 100644index 00000000..90542d4e--- /dev/null+++ b/packages/opencode/skills/context7-mcp/SKILL.md@@ -0,0 +1,56 @@+---+name: context7-mcp+description: This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.+---++When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.++## When to Use This Skill++Activate this skill when the user:++- Asks setup or configuration questions ("How do I configure Next.js middleware?")+- Requests code involving libraries ("Write a Prisma query for...")+- Needs API references ("What are the Supabase auth methods?")+- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)++## How to Fetch Documentation++### Step 1: Resolve the Library ID++Call `resolve-library-id` with:++- `libraryName`: The library name extracted from the user's question+- `query`: What to look up in the library's documentation (improves relevance ranking)++### Step 2: Select the Best Match++From the resolution results, choose based on:++- Exact or closest name match to what the user asked for+- Higher benchmark scores indicate better documentation quality+- If the user mentioned a version (e.g., "React 19"), prefer version-specific IDs++### Step 3: Fetch the Documentation++Call `query-docs` with:++- `libraryId`: The selected Context7 library ID (e.g., `/vercel/next.js`)+- `query`: What to look up in the library's documentation, scoped to a single concept++If the user's question spans multiple distinct concepts (e.g. routing and auth and caching), make a separate `query-docs` call per concept with the same library ID, unless the question is about how the concepts interact — combined queries dilute ranking and return shallow results for each topic.++### Step 4: Use the Documentation++Incorporate the fetched documentation into your response:++- Answer the user's question using current, accurate information+- Include relevant code examples from the docs+- Cite the library version when relevant++## Guidelines++- **Be specific**: Describe what to look up in the library's documentation, but keep each query to a single concept+- **One topic per query**: Split multi-topic questions into separate `query-docs` calls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact+- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step+- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forksdiff --git a/packages/opencode/src/index.ts b/packages/opencode/src/index.tsnew file mode 100644index 00000000..872e9045--- /dev/null+++ b/packages/opencode/src/index.ts@@ -0,0 +1,56 @@+import { fileURLToPath } from "node:url";+import type { Config, PluginModule } from "@opencode-ai/plugin";++const MCP_BASE_URL = "https://mcp.context7.com";+const MCP_URL = `${MCP_BASE_URL}/mcp`;+const MCP_OAUTH_URL = `${MCP_BASE_URL}/mcp/oauth`;+const MCP_SERVER_NAME = "context7";++const SKILLS_DIR = fileURLToPath(new URL("../skills", import.meta.url));++export interface Context7PluginOptions {+ apiKey?: string;+}++/** OpenCode's `Config` type does not declare `skills` yet, but the config schema accepts it. */+type ConfigWithSkills = Config & {+ skills?: { paths?: string[]; urls?: string[] };+};++function nonEmptyString(value: unknown): string | undefined {+ return typeof value === "string" && value.length > 0 ? value : undefined;+}++function applyContext7Config(config: Config, apiKey: string | undefined): void {+ config.mcp ??= {};+ config.mcp[MCP_SERVER_NAME] ??= apiKey+ ? {+ type: "remote",+ url: MCP_URL,+ enabled: true,+ headers: { Authorization: `Bearer ${apiKey}` },+ oauth: false,+ }+ : { type: "remote", url: MCP_OAUTH_URL, enabled: true };++ const withSkills = config as ConfigWithSkills;+ withSkills.skills ??= {};+ const skillPaths = (withSkills.skills.paths ??= []);+ if (!skillPaths.includes(SKILLS_DIR)) {+ skillPaths.push(SKILLS_DIR);+ }+}++/** Only the default export. Any other export is loaded as a second plugin by the legacy loader. */+export default {+ id: "context7",+ server: async (_input, options) => {+ const apiKey = nonEmptyString(options?.apiKey) ?? nonEmptyString(process.env.CONTEXT7_API_KEY);++ return {+ config: async (config) => {+ applyContext7Config(config, apiKey);+ },+ };+ },+} satisfies PluginModule;diff --git a/packages/opencode/tsconfig.json b/packages/opencode/tsconfig.jsonnew file mode 100644index 00000000..b1841110--- /dev/null+++ b/packages/opencode/tsconfig.json@@ -0,0 +1,18 @@+{+ "compilerOptions": {+ "target": "ES2022",+ "module": "ESNext",+ "moduleResolution": "bundler",+ "lib": ["ES2022"],+ "types": ["node"],+ "outDir": "./dist",+ "strict": true,+ "esModuleInterop": true,+ "skipLibCheck": true,+ "forceConsistentCasingInFileNames": true,+ "declaration": true,+ "noEmit": true+ },+ "include": ["src/**/*", "tsup.config.ts", "eslint.config.js"],+ "exclude": ["node_modules", "dist"]+}diff --git a/packages/opencode/tsup.config.ts b/packages/opencode/tsup.config.tsnew file mode 100644index 00000000..7ccfef8b--- /dev/null+++ b/packages/opencode/tsup.config.ts@@ -0,0 +1,11 @@+import { defineConfig } from "tsup";++export default defineConfig({+ entry: ["src/index.ts"],+ format: ["esm"],+ dts: true,+ clean: true,+ sourcemap: true,+ target: "node20",+ external: ["@opencode-ai/plugin"],+});diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e3161a1d..5dc820ac 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -147,6 +147,21 @@ importers:specifier: ^4.1.9version: 4.1.9(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ packages/opencode:+ devDependencies:+ '@opencode-ai/plugin':+ specifier: ^1.18.11+ version: 1.18.11+ '@types/node':+ specifier: ^25.9.1+ version: 25.9.1+ tsup:+ specifier: ^8.5.0+ version: 8.5.1([email protected])([email protected])([email protected])([email protected])([email protected])+ typescript:+ specifier: ^5.9.3+ version: 5.9.3+packages/pi:devDependencies:'@earendil-works/pi-coding-agent':@@ -246,6 +261,10 @@ packages:resolution: {integrity: sha512-HrEmNt/BH/hkQ7zpi2o6N3k1ZR1QTb7z85WYhYygiTxOQuaml4CMtHCWRbric5WPU+RNsYI7r1EpyVQMKO1pYw==}engines: {node: '>=18'}+ '@ai-sdk/[email protected]':+ resolution: {integrity: sha512-oGMAgGoQdBXbZqNG0Ze56CHjDZ1IDYOwGYxYjO5KLSlz5HiNQ9udIXsPZ61VWaHGZ5XW/jyjmr6t2xz2jGVwbQ==}+ engines: {node: '>=18'}+'@anthropic-ai/[email protected]':resolution: {integrity: sha512-LAmu761tSN9r66ixvmciswUj/ZC+1Q4iAfpedTfSVLeswRwnY3n2Nb6Tsk+cLPP28aLOPWeMgIuTuCcMC6W/iw==}hasBin: true@@ -1002,30 +1021,35 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-AGuJdgKsmJdm4Pych7kv3sqe591ERRaAHW3xjLooiFzn8J+PxUyof++7YZrB5Y5tpnTO+K18Og3taj2NpluCRQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [musl]'@mariozechner/[email protected]':resolution: {integrity: sha512-DXBEAiuMpk7dhS1a9NzNxVAFi1vaKoPu7rQNgY8LIDLGrK3lnIp3nT10DUum+PKVJoJppIP+NAA8IZe4DMNDPw==}engines: {node: '>= 10'}cpu: [riscv64]os: [linux]+ libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-WORrMLd6EpElEME7JRKfSaY34nW1P5LbdgK5YNCS1ncG2LqmITsSMEJ8nh2mpvxb3TxqbOOKgY7k9eMJYlW9Mw==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-/DHn+1DrfL6oRaPPWXaOKvonFFrni666fxd+zFqiQEfvBH0tsHVWjq9iqBk0oDp0qaPA72lIMy5BptxISBEhZQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [musl]'@mariozechner/[email protected]':resolution: {integrity: sha512-O5FHD3ErkMwMhNzAfu3ggy0ug4z7btZuoQgwwxlzPrwV2bxlD6WDpqBY4NCgICAgZdDKdp+loUEKVAVt8aYnhQ==}@@ -1078,6 +1102,36 @@ packages:resolution: {integrity: sha512-YhHWdHfpFMQfd0prsEnxKeS3Qz3ytIGmsS0sth4KDjnacIT7hxk6hXHkJ9KysxlkvTM+WZAtQbbcUhdoP4Hvtw==}engines: {node: '>=20'}+ '@msgpackr-extract/[email protected]':+ resolution: {integrity: sha512-LCkGo6JDfaBhgST7UpPWgNgLINpcpabaHfyz5OBx75nUYxBsaEPxjnyNjWpeb/xBup/682QnBfRBy2/LvPutZQ==}+ cpu: [arm64]+ os: [darwin]++ '@msgpackr-extract/[email protected]':+ resolution: {integrity: sha512-zExlW9zUJKZH/tOtVMttwjKa4Xm/3KcNjnE3dPN92uCktwavMxpgCA3MoJK/DOnTWsQgo224OaST27/mPNAf+w==}+ cpu: [x64]+ os: [darwin]++ '@msgpackr-extract/[email protected]':+ resolution: {integrity: sha512-dgX0P/9wGPJeHFBG+ZmhgE6bmtMt7NP5CRBGyyktpopdk/mW4POnrpQsSLtKI1dwpc+pPLuXHDh6vvskyQE/sw==}+ cpu: [arm64]+ os: [linux]++ '@msgpackr-extract/[email protected]':+ resolution: {integrity: sha512-Tg3yX65f5GbtXLkrYEHE5oibZG9epyYWas7FogTTEJeDEF9JlXJzKgXaNhT3UXlTOeA+AfZpYZYZ0uPj7Cfquw==}+ cpu: [arm]+ os: [linux]++ '@msgpackr-extract/[email protected]':+ resolution: {integrity: sha512-8TNXMEjJc3QEy7R/x1INhgiU+XakDAFUzBhaz7+Rbrs8NH5UQeHQxxmzsSBJGyV6I1jW79undiQm8tOI+D+8FQ==}+ cpu: [x64]+ os: [linux]++ '@msgpackr-extract/[email protected]':+ resolution: {integrity: sha512-CmCXPQrkbwExx3j946/PtHWHbYJiCRBRDl4BlkRQcJB/YOwQxJRTpoo7aTsortjgoJ1x7opzTSxn7C+ASSLVjQ==}+ cpu: [x64]+ os: [win32]+'@nodable/[email protected]':resolution: {integrity: sha512-nyT7T3nbMyBI/lvr6L5TyWbFJAI9FTgVRakNoBqCD+PmID8DzFrrNdLLtHMwMszOtqZa8PAOV24ZqDnQrhQINA==}@@ -1093,6 +1147,23 @@ packages:resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}engines: {node: '>= 8'}+ '@opencode-ai/[email protected]':+ resolution: {integrity: sha512-mgn7+YO2J5tM2sWtV8pPBz6Lz6vWZswBOjUWssLvGaxKPuHR60sZ3Py4/tjI9RNl74aB4lhI0NUlanuWZS8NfA==}+ peerDependencies:+ '@opentui/core': '>=0.4.5'+ '@opentui/keymap': '>=0.4.5'+ '@opentui/solid': '>=0.4.5'+ peerDependenciesMeta:+ '@opentui/core':+ optional: true+ '@opentui/keymap':+ optional: true+ '@opentui/solid':+ optional: true++ '@opencode-ai/[email protected]':+ resolution: {integrity: sha512-yDImmNv4PhxdMgtiHVNWQWEVwQlAm7Dr0y4XU7CT4dOIbzgO+VP+9I02lAP7Zva1FhGeyI7oKMI2tzB9RUsWaQ==}+'@opentelemetry/[email protected]':resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==}engines: {node: '>=8.0.0'}@@ -1165,56 +1236,67 @@ packages:resolution: {integrity: sha512-k9oD15soC/Ln6d2Wv/JOFPzZXIAIFLp6B+i14KhxAfnq76ajt0EhYc5YPeX6W1xJkAdItcVT+JhKl1QZh44/qw==}cpu: [arm]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-vTNlKq+N6CK/8UktsrFuc+/7NlEYVxgaEgRXVUVK258Z5ymho29skzW1sutgYjqNnquGwVUObAaxae8rZ6YMhg==}cpu: [arm]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-RGrFLWgMhSxRs/EWJMIFM1O5Mzuz3Xy3/mnxJp/5cVhZ2XoCAxJnmNsEyeMJtpK+wu0FJFWz+QF4mjCA7AUQ3w==}cpu: [arm64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-kASyvfBEWYPEwe0Qv4nfu6pNkITLTb32p4yTgzFCocHnJLAHs+9LjUu9ONIhvfT/5lv4YS5muBHyuV84epBo/A==}cpu: [arm64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-JiuKcp2teLJwQ7vkJ95EwESWkNRFJD7TQgYmCnrPtlu50b4XvT5MOmurWNrCj3IFdyjBQ5p9vnrX4JM6I8OE7g==}cpu: [loong64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-EoGSa8nd6d3T7zLuqdojxC20oBfNT8nexBbB/rkxgKj5T5vhpAQKKnD+h3UkoMuTyXkP5jTjK/ccNRmQrPNDuw==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-4s+Wped2IHXHPnAEbIB0YWBv7SDohqxobiiPA1FIWZpX+w9o2i4LezzH/NkFUl8LRci/8udci6cLq+jJQlh+0g==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-68k2g7+0vs2u9CxDt5ktXTngsxOQkSEV/xBbwlqYcUrAVh6P9EgMZvFsnHy4SEiUl46Xf0IObWVbMvPrr2gw8A==}cpu: [riscv64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-VYsFMpULAz87ZW6BVYw3I6sWesGpsP9OPcyKe8ofdg9LHxSbRMd7zrVrr5xi/3kMZtpWL/wC+UIJWJYVX5uTKg==}cpu: [s390x]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-3EhFi1FU6YL8HTUJZ51imGJWEX//ajQPfqWLI3BQq4TlvHy4X0MOr5q3D2Zof/ka0d5FNdPwZXm3Yyib/UEd+w==}cpu: [x64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-eoROhjcc6HbZCJr+tvVT8X4fW3/5g/WkGvvmwz/88sDtSJzO7r/blvoBDgISDiCjDRZmHpwud7h+6Q9JxFwq1Q==}cpu: [x64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-OueLAWgrNSPGAdUdIjSWXw+u/02BRTcnfw9PN41D2vq/JSEPnJnVuBgw18VkN8wcd4fjUs+jFHVM4t9+kBSNLw==}@@ -1475,11 +1557,6 @@ packages:peerDependencies:acorn: ^6.0.0 || ^7.0.0 || ^8.0.0- resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}- engines: {node: '>=0.4.0'}- hasBin: true-resolution: {integrity: sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==}engines: {node: '>=0.4.0'}@@ -1770,6 +1847,10 @@ packages:resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==}engines: {node: '>=8'}+ resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==}engines: {node: '>=0.3.1'}@@ -1792,6 +1873,9 @@ packages:resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}+ resolution: {integrity: sha512-0wsak8RtgGAr9UWSbVDgJHZcUqMSvicHcvaZv1MbMM7MCGgW4Rn/137J1MHQbwYPcwYGxT/IqehFd+UbYuj78w==}+resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==}@@ -1944,6 +2028,10 @@ packages:resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==}+ resolution: {integrity: sha512-7ms6T7SybUev/PQITciI0yLM2pOSFy5zpG8Ty7tQofcVaQUvrMXp6CBwqF6fThLCLOrfBtuHAtwq6Yu4XPCllg==}+ engines: {node: '>=12.17.0'}+resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}@@ -2003,6 +2091,9 @@ packages:resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==}engines: {node: '>= 0.8'}+ resolution: {integrity: sha512-a85L9ZoXtNAey3Y6Z+eBWW658kO/MwR7zIafkIUPUMf3isZG0NCs2pjW2wtjxAKuJPxMAsHUIP4ZPGv0o5gyTA==}+resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}engines: {node: '>=8'}@@ -2176,6 +2267,10 @@ packages:resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}+ resolution: {integrity: sha512-ifK0CgjALofS5bkrcTy4RaQ9Vx2Knf/eLeIO+NaswQEpH1UblrtTSCIvN71qQDMq0PeQ/SSPojvEJp9vvvfr+w==}+ engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0}+resolution: {integrity: sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==}engines: {node: '>= 12'}@@ -2292,6 +2387,9 @@ packages:resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}+ resolution: {integrity: sha512-Dew1okvhM/SQcIa2rcgujNndZwU8VnSapDgdxlYoB84ZlpAD43U6KLAFqYo17ykSFGHNPrg0qry0bP+GJd9v7Q==}+resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}engines: {node: '>= 0.8.0'}@@ -2397,6 +2495,16 @@ packages:resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}+ resolution: {integrity: sha512-4kmO/MdyUIkLIvTPr8VHLil4AtoKIoniWPIEk5+CDy0xnWC84azhSFmuJ7PxZdsYtiP5kEeQsORAVIeMgxT+Hw==}+ hasBin: true++ resolution: {integrity: sha512-cef05H/dSYpLpqp3sj/qyZh5vhUYCalnaLO7j1yOmpsR0y/XwLVtK7r5gn+U/F7CTEfMowcGhlUQJDLcLf7jcA==}++ resolution: {integrity: sha512-ZPWuMKyv0cSO29f7hozp+k6+crZbQijV8ipMvxNxRf2SwtYGTX1ZX89Kd20VV4H9Znonx+EQn+iy1wGQsJ+b+Q==}+resolution: {integrity: sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==}engines: {node: ^20.17.0 || >=22.9.0}@@ -2425,6 +2533,10 @@ packages:resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ resolution: {integrity: sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==}+ hasBin: true+resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}engines: {node: '>=0.10.0'}@@ -2627,6 +2739,9 @@ packages:resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}engines: {node: '>=6'}+ resolution: {integrity: sha512-vvuOGgcuPJAirlHvuQw1TrOiw7ptaIXXmIbNuiNOY6lNGJJH49PQ1Kj4nd783nPdQhQdicgOjVI2yI/9BD6/Ng==}+resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}engines: {node: '>=0.6'}@@ -2878,6 +2993,10 @@ packages:resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}engines: {node: '>=0.6'}+ resolution: {integrity: sha512-lVb8X9BsPVuH0M4BKeS91tXAmJvCjQ5UIyAbQFaxkKGyUFK2RPkhwaFSQH8vbpl1d23eu/IBH+dwVMHWaq9A5A==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}hasBin: true@@ -2979,6 +3098,10 @@ packages:resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}+ resolution: {integrity: sha512-6ZxzVpzDXDa3bJWaHilVayA+BH/1zmxCJoVgvmqJnid/gPoKHxUrS/aC/T6LGQtNHT+XHG9fXPJB4d+IrU30Ew==}+ hasBin: true+resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}engines: {node: '>= 0.8'}@@ -3136,6 +3259,9 @@ packages:peerDependencies:zod: ^3.25.28 || ^4+ resolution: {integrity: sha512-5R1P+WwQqmmMIEACyzSvo4JXHY5WiAFHRMg+zBZKgKS+Q1viRa0C1hmUKtHltoIFKtIdki3pRxkmpP74jnNYHQ==}+resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==}@@ -3175,6 +3301,10 @@ snapshots:dependencies:json-schema: 0.4.0+ '@ai-sdk/[email protected]':+ dependencies:+ json-schema: 0.4.0+'@anthropic-ai/[email protected]([email protected])':dependencies:json-schema-to-ts: 3.1.1@@ -4129,6 +4259,24 @@ snapshots:'@modelcontextprotocol/core': 2.0.0zod: 4.4.3+ '@msgpackr-extract/[email protected]':+ optional: true++ '@msgpackr-extract/[email protected]':+ optional: true++ '@msgpackr-extract/[email protected]':+ optional: true++ '@msgpackr-extract/[email protected]':+ optional: true++ '@msgpackr-extract/[email protected]':+ optional: true++ '@msgpackr-extract/[email protected]':+ optional: true+'@nodable/[email protected]': {}'@nodelib/[email protected]':@@ -4143,6 +4291,17 @@ snapshots:'@nodelib/fs.scandir': 2.1.5fastq: 1.19.1+ '@opencode-ai/[email protected]':+ dependencies:+ '@ai-sdk/provider': 3.0.8+ '@opencode-ai/sdk': 1.18.11+ effect: 4.0.0-beta.83+ zod: 4.1.8++ '@opencode-ai/[email protected]':+ dependencies:+ cross-spawn: 7.0.6+'@opentelemetry/[email protected]': {}'@pkgr/[email protected]': {}@@ -4557,8 +4716,6 @@ snapshots:dependencies:acorn: 8.16.0- [email protected]: {}-@@ -4811,6 +4968,9 @@ snapshots:+ optional: true+@@ -4831,6 +4991,19 @@ snapshots:+ dependencies:+ '@standard-schema/spec': 1.1.0+ fast-check: 4.9.0+ find-my-way-ts: 0.1.6+ ini: 7.0.0+ kubernetes-types: 1.30.0+ msgpackr: 2.0.5+ multipasta: 0.2.8+ toml: 4.3.0+ uuid: 14.0.1+ yaml: 2.9.0+@@ -5087,6 +5260,10 @@ snapshots:+ dependencies:+ pure-rand: 8.4.2+@@ -5154,6 +5331,8 @@ snapshots:transitivePeerDependencies:- supports-color+ [email protected]: {}+dependencies:locate-path: 5.0.0@@ -5348,6 +5527,8 @@ snapshots:+ [email protected]: {}+optional: true@@ -5444,6 +5625,8 @@ snapshots:dependencies:json-buffer: 3.0.1+ [email protected]: {}+dependencies:prelude-ls: 1.2.1@@ -5519,7 +5702,7 @@ snapshots:dependencies:- acorn: 8.15.0+ acorn: 8.16.0pathe: 2.0.3pkg-types: 1.3.1ufo: 1.6.1@@ -5528,6 +5711,24 @@ snapshots:+ dependencies:+ node-gyp-build-optional-packages: 5.2.2+ optionalDependencies:+ '@msgpackr-extract/msgpackr-extract-darwin-arm64': 3.0.4+ '@msgpackr-extract/msgpackr-extract-darwin-x64': 3.0.4+ '@msgpackr-extract/msgpackr-extract-linux-arm': 3.0.4+ '@msgpackr-extract/msgpackr-extract-linux-arm64': 3.0.4+ '@msgpackr-extract/msgpackr-extract-linux-x64': 3.0.4+ '@msgpackr-extract/msgpackr-extract-win32-x64': 3.0.4+ optional: true++ optionalDependencies:+ msgpackr-extract: 3.0.4++ [email protected]: {}+@@ -5550,6 +5751,11 @@ snapshots:fetch-blob: 3.2.0formdata-polyfill: 4.0.10+ dependencies:+ detect-libc: 2.1.2+ optional: true+@@ -5731,6 +5937,8 @@ snapshots:+ [email protected]: {}+dependencies:side-channel: 1.1.0@@ -6001,6 +6209,8 @@ snapshots:+ [email protected]: {}+@@ -6096,6 +6306,8 @@ snapshots:dependencies:punycode: 2.3.1+ [email protected]: {}+[email protected](@types/[email protected])([email protected])([email protected])([email protected]):@@ -6275,4 +6487,6 @@ snapshots:zod: 4.4.3optional: true+ [email protected]: {}+