From 98651fe06a35cbc93c54cc7a703b2aee5ac3b961 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 10:42:29 +0800 Subject: [PATCH 01/29] build(deps): bump hashgraph-online/ai-plugin-scanner-action (#176) Bumps [hashgraph-online/ai-plugin-scanner-action](https://github.com/hashgraph-online/ai-plugin-scanner-action) from 1.2.792 to 1.2.804. - [Release notes](https://github.com/hashgraph-online/ai-plugin-scanner-action/releases) - [Commits](https://github.com/hashgraph-online/ai-plugin-scanner-action/compare/4a44de6c18b68ec258fcc3e0cec5261fc8ea63fd...59f2f1867207d2751c373fafbd1a9b7a4a23377f) --- updated-dependencies: - dependency-name: hashgraph-online/ai-plugin-scanner-action dependency-version: 1.2.804 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/plugin-security-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/plugin-security-scan.yml b/.github/workflows/plugin-security-scan.yml index edd3fea7..775ea29c 100644 --- a/.github/workflows/plugin-security-scan.yml +++ b/.github/workflows/plugin-security-scan.yml @@ -16,7 +16,7 @@ jobs: persist-credentials: false - name: Scan plugin - uses: hashgraph-online/ai-plugin-scanner-action@4a44de6c18b68ec258fcc3e0cec5261fc8ea63fd # v1.2.792 + uses: hashgraph-online/ai-plugin-scanner-action@59f2f1867207d2751c373fafbd1a9b7a4a23377f # v1.2.804 with: plugin_dir: "." min_score: 80 From 4c4bf807e85c7b5290d8ae4eefc1e9180abf9ab5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 10:42:34 +0800 Subject: [PATCH 02/29] build(deps-dev): bump @opencode-ai/plugin from 1.19.3 to 1.19.4 (#178) Bumps @opencode-ai/plugin from 1.19.3 to 1.19.4. --- updated-dependencies: - dependency-name: "@opencode-ai/plugin" dependency-version: 1.19.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index b9c29570..f24ea0cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1698,14 +1698,14 @@ } }, "node_modules/@opencode-ai/plugin": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.19.3.tgz", - "integrity": "sha512-FBN2OREfg9xiIvrxrxjZt6CCg6kn8WzKdwsD/6+a10R/M4hrdRTounUgg0LUR4cOXcI/XMKPeIWdfdaXBdmZEw==", + "version": "1.19.4", + "resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.19.4.tgz", + "integrity": "sha512-VN71q/OmfggxIhiDbuzYDYmZcQMsNyVSw1o91e7LD6WUn/9jx4usI9ZpoPbC5p/Prpo/Umzpd+38+EuLoKRr+A==", "dev": true, "license": "MIT", "dependencies": { "@ai-sdk/provider": "3.0.8", - "@opencode-ai/sdk": "1.19.3", + "@opencode-ai/sdk": "1.19.4", "effect": "4.0.0-beta.83", "zod": "4.1.8" }, @@ -1727,9 +1727,9 @@ } }, "node_modules/@opencode-ai/sdk": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.19.3.tgz", - "integrity": "sha512-G63bZD2r6plqgjFdenWVj3HBFWmLQSVuG9CXMQuTjakzA5aL6wFLmI23Biz5ESE4lQQ08UTHcY2N4NOShJFb2w==", + "version": "1.19.4", + "resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.19.4.tgz", + "integrity": "sha512-3Wuc4t8gEuWKHbX1Na9oDK6PgOveid70l4Ks5RCjRIo2RcP8FQN3NS6Mg3XWc2+WiUfpfrmvBWlh5u1zeQfDQw==", "dev": true, "license": "MIT", "dependencies": { From dbb6b6221bdf2586872e39b1a72f695c41bbcf07 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 10:42:39 +0800 Subject: [PATCH 03/29] build(deps-dev): bump typescript-eslint from 8.71.2 to 8.72.0 (#179) Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.71.2 to 8.72.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-version: 8.72.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 128 +++++++++++++++++++++++----------------------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/package-lock.json b/package-lock.json index f24ea0cd..bbf18d3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2882,17 +2882,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.71.2.tgz", - "integrity": "sha512-K72/pvT7qpm8q3k8G5u93NCSN1RcLxX5h7Gw0bQpbMXviBHeY6Nx1WEwmk9wP+eKTSQ8ecxvcgt/ZX/rB938xQ==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.0.tgz", + "integrity": "sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.71.2", - "@typescript-eslint/type-utils": "8.71.2", - "@typescript-eslint/utils": "8.71.2", - "@typescript-eslint/visitor-keys": "8.71.2", + "@typescript-eslint/scope-manager": "8.72.0", + "@typescript-eslint/type-utils": "8.72.0", + "@typescript-eslint/utils": "8.72.0", + "@typescript-eslint/visitor-keys": "8.72.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -2905,15 +2905,15 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.71.2", + "@typescript-eslint/parser": "^8.72.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz", - "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==", + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.14.tgz", + "integrity": "sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==", "dev": true, "license": "MIT", "engines": { @@ -2921,16 +2921,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.71.2.tgz", - "integrity": "sha512-aTtmZjp/x3gsGHkDs04/1I8kNogBJkpQaeGaN0PfiG43NzDEmW2n+OP5im9wfsvyX0yP1UZWBrAGtDBfH9jEVw==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.0.tgz", + "integrity": "sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.71.2", - "@typescript-eslint/types": "8.71.2", - "@typescript-eslint/typescript-estree": "8.71.2", - "@typescript-eslint/visitor-keys": "8.71.2", + "@typescript-eslint/scope-manager": "8.72.0", + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/typescript-estree": "8.72.0", + "@typescript-eslint/visitor-keys": "8.72.0", "debug": "^4.4.3" }, "engines": { @@ -2946,14 +2946,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.71.2.tgz", - "integrity": "sha512-Pd68GsLVh5ZXlcEccFPdhSOvtHZ/2WU0XsA8zmXOS3F158lVlcTLhfQ6qvtL1RzbMie0Kp8xtbVwAg4nejKPHw==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.0.tgz", + "integrity": "sha512-bzHngBbmIgzj6TsTjVUCntGx6FFLgE7mPjpO0PzHycOaZHXqS43XnrkFIHRS16LLr/xO6FHSXG3GJFo/F4bSBQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.71.2", - "@typescript-eslint/types": "^8.71.2", + "@typescript-eslint/tsconfig-utils": "^8.72.0", + "@typescript-eslint/types": "^8.72.0", "debug": "^4.4.3" }, "engines": { @@ -2968,14 +2968,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.71.2.tgz", - "integrity": "sha512-YF4wgg5iUX5Obywoac27B56FhozMNFhdJSbh11H5GBAwmBtfyRhmgTQqW9tRNNmHDvsZ2CX6UGzoz+YfYn2Leg==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.0.tgz", + "integrity": "sha512-JewPyJOYcXBSAS7PIgufscHOwZqhTGyBRiQJhhuDln66tMchxvvt7nJ90JKKIoOelmdHA3kAQbm9cEUHc4JSEA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.71.2", - "@typescript-eslint/visitor-keys": "8.71.2" + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/visitor-keys": "8.72.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2986,9 +2986,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.71.2.tgz", - "integrity": "sha512-jz49TAWokm/7yWD9/o837nYax9DyALxIPOImdImvVzo6canBCZYzin8zJyqNR5k1j9K1DE0bVvr0XYB+99uAdg==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.0.tgz", + "integrity": "sha512-0vbxCf7xLVPSjcOdm6eQbgViH8EDJ8xnl1laLT9yoqSz2YmcSfSg5Vdl0JUvZf6rcuJ0ZivJIuMD4edTg8obaA==", "dev": true, "license": "MIT", "engines": { @@ -3003,15 +3003,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.71.2.tgz", - "integrity": "sha512-cC8UaalCViJkb3rH/xLIvidEwoFRtMZMUqDjjJMGEKaTFwYRHYBcoczlEGHuvkHEO8svRDrgZ0yQgOArFmwang==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.0.tgz", + "integrity": "sha512-gEXxmmbSTSOVTC37IYYvremOM31v+UN2W772bJxmVYPhAOPSUxtacyb7wkm1EhkYKU6KzFJsdU44DCV4to0LWw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.71.2", - "@typescript-eslint/typescript-estree": "8.71.2", - "@typescript-eslint/utils": "8.71.2", + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/typescript-estree": "8.72.0", + "@typescript-eslint/utils": "8.72.0", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -3028,9 +3028,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.71.2.tgz", - "integrity": "sha512-y5Ukl3oVp7e/VGxqIoEXoeb/Roj71PAJ4WG/N/RGj+eeDvKRLM15kGr9MijLbN0i03S52zxu31Z98E5gWChJKw==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.0.tgz", + "integrity": "sha512-Adfoy59kxNEjT5E5fnyrp7GpHYuWs8ONbdohu4ez6IU46qDq8LltG90tLmkucZB2uhYL8mqBjtXqGd8yhfjXqQ==", "dev": true, "license": "MIT", "engines": { @@ -3042,16 +3042,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.71.2.tgz", - "integrity": "sha512-DgNOEsl4pdYzwSL+N/Cl33tX1Hlw3FvId73LnKXfq7jnrF2viOEn7X+P7RBkkSWCVm92gnWd28GIC5vJuLREeA==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.0.tgz", + "integrity": "sha512-gwLfFgWcw15tN2KXDCJvxEOQjPn+P3j/n3eSqkZ5sX4VpW9Cosodr+tWwBZRvJT3TcKx6HnPRGZMCNAiP1Xhug==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.71.2", - "@typescript-eslint/tsconfig-utils": "8.71.2", - "@typescript-eslint/types": "8.71.2", - "@typescript-eslint/visitor-keys": "8.71.2", + "@typescript-eslint/project-service": "8.72.0", + "@typescript-eslint/tsconfig-utils": "8.72.0", + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/visitor-keys": "8.72.0", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -3070,16 +3070,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.71.2.tgz", - "integrity": "sha512-RyKa1G1M9rKHDhrk+HJtiF1MvLD5Ux2JW3TSkzw+02pRALdpJb+QzG1Y5em+LvCgzGwgg8H7mBRFKljNz7ImPw==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.0.tgz", + "integrity": "sha512-0up3oArJZBYnzOaEXKo8DmI43QvMZyPoFEt9LWzRJcyl/RcJjfKKPebknN1VbTgXBf3M/KggUh5uUMdURLnseg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.71.2", - "@typescript-eslint/types": "8.71.2", - "@typescript-eslint/typescript-estree": "8.71.2" + "@typescript-eslint/scope-manager": "8.72.0", + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/typescript-estree": "8.72.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3094,13 +3094,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.71.2.tgz", - "integrity": "sha512-zozlN0UA32bSG2zkKAgQyRYSbEISVoyU6vvkKYo2aSny74D8Jh4e+POkJ6Lk0dlezZi5x7TtD+88Xb06IB8nhg==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.0.tgz", + "integrity": "sha512-E2mroviasaWecDzTGiGMtuEguuLVOeRggnrIn93CJuxYJzQBHbyymlT08aVQydbBal5538o+JkBKXh2sRuCyIA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.71.2", + "@typescript-eslint/types": "8.72.0", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -6366,16 +6366,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.71.2", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.71.2.tgz", - "integrity": "sha512-Rz4effbMy2g9wnvOJZG6SbVavX313Lap1vNEbk1RUochzickvzP8P4HB+bkNg5e50eVz1hQGjh9K1omI1xB4Bw==", + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.0.tgz", + "integrity": "sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.71.2", - "@typescript-eslint/parser": "8.71.2", - "@typescript-eslint/typescript-estree": "8.71.2", - "@typescript-eslint/utils": "8.71.2" + "@typescript-eslint/eslint-plugin": "8.72.0", + "@typescript-eslint/parser": "8.72.0", + "@typescript-eslint/typescript-estree": "8.72.0", + "@typescript-eslint/utils": "8.72.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" From e8a0c394283ff34c6c55729086034d43f71310b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 10:46:26 +0800 Subject: [PATCH 04/29] build(deps): bump @opencode/plugin from 2.0.32 to 2.1.4 (#177) * build(deps): bump @opencode/plugin from 2.0.32 to 2.1.4 Bumps [@opencode/plugin](https://github.com/anomalyco/opencode/tree/HEAD/packages/plugin) from 2.0.32 to 2.1.4. - [Release notes](https://github.com/anomalyco/opencode/releases) - [Changelog](https://github.com/anomalyco/opencode/blob/dev/CHANGELOG.md) - [Commits](https://github.com/anomalyco/opencode/commits/v2.1.4/packages/plugin) --- updated-dependencies: - dependency-name: "@opencode/plugin" dependency-version: 2.1.4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore: update bun lockfile for opencode plugin 2.1.4 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: yuhp --- bun.lock | 14 +-- package-lock.json | 274 +++++++++++++++++++++++----------------------- package.json | 2 +- 3 files changed, 146 insertions(+), 144 deletions(-) diff --git a/bun.lock b/bun.lock index 8b67637c..40cd6c38 100644 --- a/bun.lock +++ b/bun.lock @@ -5,7 +5,7 @@ "": { "name": "opencode-model-discovery", "dependencies": { - "@opencode/plugin": "2.0.32", + "@opencode/plugin": "2.1.4", "xdg-basedir": "^5.1.0", }, "devDependencies": { @@ -244,17 +244,17 @@ "@opencode-ai/sdk": ["@opencode-ai/sdk@1.18.34", "", { "dependencies": { "cross-spawn": "7.0.6" } }, "sha512-R9QWUpcngtdQ6FCixz7NC6n1WsSho6CEuRUzYHz/CzZcp3miSklDzXkm0oDwXVCnuEu+ANoeM0f6RDp51kOMzQ=="], - "@opencode/ai": ["@opencode/ai@2.0.32", "", { "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", "@opencode/schema": "2.0.32", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", "effect": "4.0.1", "google-auth-library": "10.5.0" } }, "sha512-NMquAbwiFupqoXuRuvY8jPwNAiCVlQcKDQlOTbULWN283gTp4LI3NQJqrpSWpLporxomDJsjU7soN8TCPv3BKQ=="], + "@opencode/ai": ["@opencode/ai@2.1.4", "", { "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", "@opencode/schema": "2.1.4", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", "effect": "4.0.1", "google-auth-library": "10.5.0" } }, "sha512-980bht1i8xv6hN/TQ+3tGujHuxfduje3jW69SKBvmiDxQBZ468Mk7sR4ztOy3NB/4fbI8iWEYhrcc3GbWWMxrw=="], - "@opencode/client": ["@opencode/client@2.0.32", "", { "dependencies": { "@opencode/protocol": "2.0.32", "@opencode/schema": "2.0.32" }, "peerDependencies": { "effect": "4.0.1", "solid-js": ">=1.9.0" }, "optionalPeers": ["effect", "solid-js"] }, "sha512-QjejcJTOC5v51gCMt7cRZJJsIydT1uGUowtiNkXWlIhKD7+/260PyqQ3S/2StnmwXucPOq6YNNkLLPv2gio6Iw=="], + "@opencode/client": ["@opencode/client@2.1.4", "", { "dependencies": { "@opencode/protocol": "2.1.4", "@opencode/schema": "2.1.4" }, "peerDependencies": { "effect": "4.0.1", "solid-js": ">=1.9.0" }, "optionalPeers": ["effect", "solid-js"] }, "sha512-xNHP8Xu4wcq4G849Xnbb8IxYxMTzF0TqvohWVUQZH5aURrVHIIbHMfXbZY6s4i4C9kpVbwjXFFwWAo6KIK3oiw=="], - "@opencode/plugin": ["@opencode/plugin@2.0.32", "", { "dependencies": { "@ai-sdk/provider": "3.0.8", "@opencode/ai": "2.0.32", "@opencode/client": "2.0.32", "@opencode/protocol": "2.0.32", "@opencode/schema": "2.0.32", "@opencode/util": "2.0.32", "effect": "4.0.1" }, "peerDependencies": { "@opencode/theme": "2.0.32", "@opentui/core": ">=0.5.17", "@opentui/solid": ">=0.5.17", "solid-js": ">=1.9.0" }, "optionalPeers": ["@opencode/theme", "@opentui/core", "@opentui/solid", "solid-js"] }, "sha512-S83qCwl6VTiRxtpqEmrNr5SHXJDS2FHP9XarTazlSWoccKpefDOdWxwCzF/qkgwQRq09T2t9vVbzv4UuzgFXEw=="], + "@opencode/plugin": ["@opencode/plugin@2.1.4", "", { "dependencies": { "@ai-sdk/provider": "3.0.8", "@opencode/ai": "2.1.4", "@opencode/client": "2.1.4", "@opencode/protocol": "2.1.4", "@opencode/schema": "2.1.4", "@opencode/util": "2.1.4", "effect": "4.0.1" }, "peerDependencies": { "@opencode/theme": "2.1.4", "@opentui/core": ">=0.6.8", "@opentui/solid": ">=0.6.8", "solid-js": ">=1.9.0" }, "optionalPeers": ["@opencode/theme", "@opentui/core", "@opentui/solid", "solid-js"] }, "sha512-SGAkdGp0VRxos2BEkRiyRl75G7DtuvP0ywgiEiHz1PbdUwUe2EAURMrzFgLCYCpWEm/zaNrguxPDVL0carrCsA=="], - "@opencode/protocol": ["@opencode/protocol@2.0.32", "", { "dependencies": { "@opencode/schema": "2.0.32", "effect": "4.0.1" } }, "sha512-aF0oW0T6vBUO+EfD0po5gNz9YzQnT+b3InhKaOGg3p8K1S1A1tVkEoOBR7gKWQjAmlpfAPP8zWx4Fgsc7nsCbQ=="], + "@opencode/protocol": ["@opencode/protocol@2.1.4", "", { "dependencies": { "@opencode/schema": "2.1.4", "effect": "4.0.1" } }, "sha512-dnifgvY6p4xdHkXRH3PEaobfCqrHb1AhihKxPNRNkGn5SueRCFCfK2pZW1GkeC36fGCmcLxlfihuIMaQL1BVzA=="], - "@opencode/schema": ["@opencode/schema@2.0.32", "", { "dependencies": { "@standard-schema/spec": "1.1.0", "effect": "4.0.1" } }, "sha512-FQOHjPUZwoEflWXFTaNirICglfOi+simArwm9UMj0/aFjYobsZbNh6l7AS8/sslZB+pkR8NB/JWEu29MlJpDeA=="], + "@opencode/schema": ["@opencode/schema@2.1.4", "", { "dependencies": { "@standard-schema/spec": "1.1.0", "effect": "4.0.1" } }, "sha512-PLr8eFW81Yz6U7YsSgfSUClUUH//8omh3HiXu/L08VX5arorWNAu2uSjoXyHIGkm7TaTbdXBGPmmDfpvrDM2wQ=="], - "@opencode/util": ["@opencode/util@2.0.32", "", { "dependencies": { "@effect/opentelemetry": "4.0.1", "@effect/platform-node": "4.0.1", "@effect/platform-node-shared": "4.0.1", "@npmcli/arborist": "9.4.0", "@npmcli/config": "10.8.1", "@opentelemetry/api": "1.9.0", "@opentelemetry/api-logs": "0.219.0", "@opentelemetry/context-async-hooks": "2.8.0", "@opentelemetry/exporter-trace-otlp-http": "0.219.0", "@opentelemetry/resources": "2.8.0", "@opentelemetry/sdk-logs": "0.219.0", "@opentelemetry/sdk-metrics": "2.8.0", "@opentelemetry/sdk-trace-base": "2.8.0", "@opentelemetry/sdk-trace-node": "2.8.0", "cross-spawn": "7.0.6", "effect": "4.0.1", "glob": "13.0.5", "mime-types": "3.0.2", "minimatch": "10.2.5", "npm-package-arg": "13.0.2", "open": "11.0.4", "pacote": "21.5.1" } }, "sha512-74uOWUInvMvCHjBQ25DlGjiZIcl35iyfuVRnw0KQA9mOUSgWGKiI8GV9crpw7vVMzdPSwqsmmH/W6XCX7NCUUA=="], + "@opencode/util": ["@opencode/util@2.1.4", "", { "dependencies": { "@effect/opentelemetry": "4.0.1", "@effect/platform-node": "4.0.1", "@effect/platform-node-shared": "4.0.1", "@npmcli/arborist": "9.4.0", "@npmcli/config": "10.8.1", "@opentelemetry/api": "1.9.0", "@opentelemetry/api-logs": "0.219.0", "@opentelemetry/context-async-hooks": "2.8.0", "@opentelemetry/exporter-trace-otlp-http": "0.219.0", "@opentelemetry/resources": "2.8.0", "@opentelemetry/sdk-logs": "0.219.0", "@opentelemetry/sdk-metrics": "2.8.0", "@opentelemetry/sdk-trace-base": "2.8.0", "@opentelemetry/sdk-trace-node": "2.8.0", "cross-spawn": "7.0.6", "effect": "4.0.1", "glob": "13.0.5", "mime-types": "3.0.2", "minimatch": "10.2.5", "npm-package-arg": "13.0.2", "open": "11.0.4", "pacote": "21.5.1" } }, "sha512-Ihj6DqbnnovgUYSXki4PgvGxNbmB1wggDySIdM55Rz+sTfwFZ+zwROh3PrC4a8Vx/cJ6xQg41Uxa4nbcTbGI4A=="], "@opentelemetry/api": ["@opentelemetry/api@1.9.0", "", {}, "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg=="], diff --git a/package-lock.json b/package-lock.json index bbf18d3a..33c96521 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.1.0", "license": "MIT", "dependencies": { - "@opencode/plugin": "2.0.32", + "@opencode/plugin": "2.1.4", "xdg-basedir": "^5.1.0" }, "devDependencies": { @@ -180,15 +180,15 @@ } }, "node_modules/@aws-sdk/core": { - "version": "3.978.3", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.978.3.tgz", - "integrity": "sha512-nslpzUCTI9b2IQMWSd6mSAXldBexPc8rr0d3dXUutXYFLFaTdsHa2GD7sJdsn3PhyjK0O5K8ypd6zi+RXXPVlg==", + "version": "3.978.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.978.5.tgz", + "integrity": "sha512-ruI0AWqcrfL20XDS6SwZIJFPOBZ6N0ADa9nLzWlBhxk1aoUjbUX3JkTR9vEmk7o35XpAHi68ahZ4T6RE2U9XyA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "^3.974.6", + "@aws-sdk/types": "^3.975.0", "@aws-sdk/xml-builder": "^3.972.41", "@aws/lambda-invoke-store": "^0.3.0", - "@smithy/core": "^3.35.2", + "@smithy/core": "^3.36.1", "@smithy/signature-v4": "^5.7.4", "@smithy/types": "^4.19.0", "bowser": "^2.11.0", @@ -199,14 +199,14 @@ } }, "node_modules/@aws-sdk/credential-provider-cognito-identity": { - "version": "3.972.73", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.972.73.tgz", - "integrity": "sha512-m4NXseF9dURaZISxetzArUAE+GfaFfbMitL0QyV4F2VH93pnhb+LHcNM5yzbvHutFDTT/kV5HfJ+JZWivumFeA==", + "version": "3.972.75", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.972.75.tgz", + "integrity": "sha512-aJdScAJeeXC1cdMDCk8/3eDoHch8o0z+oxlqFALqBK2+hbtSz+hZQ9DhfarXJmva9+FM2gmC5PUJ8BB/HbAqXQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/nested-clients": "^3.997.48", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -215,14 +215,14 @@ } }, "node_modules/@aws-sdk/credential-provider-env": { - "version": "3.972.74", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.74.tgz", - "integrity": "sha512-rsRJcW2iFUhCgclyD6OSbMEaPl8Eu0qSeRZb2uuCK1ViZ66hl5wOe/p6Vr6MO3b+ydyKgFeqza2p6tZThvILlw==", + "version": "3.972.76", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.76.tgz", + "integrity": "sha512-YxmL1Ar7bV9ZkJvtv+lj+MF6le76NnZnbmgySyZuxpZaCv0/1lZ3KxKy6RIj1h9ui2hWnVjZxbmTMeO0y/NrQA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -231,14 +231,14 @@ } }, "node_modules/@aws-sdk/credential-provider-http": { - "version": "3.972.76", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.76.tgz", - "integrity": "sha512-pnKdh0Br7OJPj+7qKjzgTfDTFW0RhEMKXNDR2jv9CAM4oHuG/4z3hRh8KtutLfpmItuRtDbKBmwWkDqHwwAWXw==", + "version": "3.972.78", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.78.tgz", + "integrity": "sha512-3VHknDRngoebsaqyT1iR75b5cBT2zfEtODK6yYmYltljkK1HEAQLs2FEd1IpWqAeOYdMGaG9wikngWLTufY7RA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", @@ -249,21 +249,21 @@ } }, "node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.973.19", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.19.tgz", - "integrity": "sha512-kcjvAxqQEV8yuwkX58RelNn3ne65o7JgRWf3Z/gVvbi7Xuw1qSDLJlatrLD76+40cmRxmNkLxBoyp/vAQChQ5g==", + "version": "3.973.21", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.21.tgz", + "integrity": "sha512-aLx9hbCX6mGAyv4ZZd8UagJ4RASHVJw6BFDSIyuKmLkqNL6H47EjBPK6qaJ4B5TDV6mc+vMa0SJFYyo4mkvVQg==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/credential-provider-env": "^3.972.74", - "@aws-sdk/credential-provider-http": "^3.972.76", - "@aws-sdk/credential-provider-login": "^3.972.81", - "@aws-sdk/credential-provider-process": "^3.972.74", - "@aws-sdk/credential-provider-sso": "^3.973.18", - "@aws-sdk/credential-provider-web-identity": "^3.972.80", - "@aws-sdk/nested-clients": "^3.997.48", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/credential-provider-env": "^3.972.76", + "@aws-sdk/credential-provider-http": "^3.972.78", + "@aws-sdk/credential-provider-login": "^3.972.83", + "@aws-sdk/credential-provider-process": "^3.972.76", + "@aws-sdk/credential-provider-sso": "^3.973.20", + "@aws-sdk/credential-provider-web-identity": "^3.972.82", + "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/credential-provider-imds": "^4.5.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" @@ -273,15 +273,15 @@ } }, "node_modules/@aws-sdk/credential-provider-login": { - "version": "3.972.81", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.81.tgz", - "integrity": "sha512-CeQHSbE2CnVdaHIJ/NayRaCecIER+Pm9faUPkmRATO54rCoMTEPSbVieGHzEwvm1dZM2HIs6qQZCznhayNTWJQ==", + "version": "3.972.83", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.83.tgz", + "integrity": "sha512-9bJU6FjRacF4FK/QHf8Dyxhur7B1grRj8C1Yh4IkpoFW2exQflPdCv0VrbemLW9ZctLNle+AE7TETs9KNvuLYg==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/nested-clients": "^3.997.48", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -290,19 +290,19 @@ } }, "node_modules/@aws-sdk/credential-provider-node": { - "version": "3.972.86", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.86.tgz", - "integrity": "sha512-WNttSyr6e8innPtBSty//CdnqJcgZN6eAbtw3v/CR2IObz6MYZEo8eusdtuCHJ2ujwFqC2bSPHVyhXGHx8HruQ==", + "version": "3.972.88", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.88.tgz", + "integrity": "sha512-AG0KID5qhQPzrFkh5b0Cws1Amytvzo0L0Xj6hMgJXEwD6ZXAqninDhSNAWJiN5zU4YVVZnuidnqwPwYJ04IamA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/credential-provider-env": "^3.972.74", - "@aws-sdk/credential-provider-http": "^3.972.76", - "@aws-sdk/credential-provider-ini": "^3.973.19", - "@aws-sdk/credential-provider-process": "^3.972.74", - "@aws-sdk/credential-provider-sso": "^3.973.18", - "@aws-sdk/credential-provider-web-identity": "^3.972.80", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/credential-provider-env": "^3.972.76", + "@aws-sdk/credential-provider-http": "^3.972.78", + "@aws-sdk/credential-provider-ini": "^3.973.21", + "@aws-sdk/credential-provider-process": "^3.972.76", + "@aws-sdk/credential-provider-sso": "^3.973.20", + "@aws-sdk/credential-provider-web-identity": "^3.972.82", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/credential-provider-imds": "^4.5.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" @@ -312,14 +312,14 @@ } }, "node_modules/@aws-sdk/credential-provider-process": { - "version": "3.972.74", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.74.tgz", - "integrity": "sha512-Yj6kZFJQdbR+PygTkqdVLPHHpdDpOS9GCYVcDCuweCRRig9LF24ELQBMfyUw1vspvrZJUfnOGVyMjhaL094ahw==", + "version": "3.972.76", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.76.tgz", + "integrity": "sha512-pdhKFTXv1zPYhh92MTlp0jVbLWvUEV9v+rziuEkoskGGQ2iJskxHTO38nA8UAbT/N4IM3n8OZJ9rIY5IBO15/A==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -328,16 +328,16 @@ } }, "node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.973.18", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.18.tgz", - "integrity": "sha512-FnpPhdY4qUGtX/8X6eKxh+uD+9Y19i9FYibgk4SBe0M935s9vocHkHzaxaMNk+YkHmvzgdu8cHA5SCoeU+kkew==", + "version": "3.973.20", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.20.tgz", + "integrity": "sha512-DlxrAB3MnjNLx/da7b89W+3DyJQYso/q7Ns15MsST2IV2nkAYQOYTUCaffNSjgrpMP99Dm2mV2jxzcbyF94ZfA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/nested-clients": "^3.997.48", - "@aws-sdk/token-providers": "3.1150.0", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/token-providers": "3.1155.0", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -346,15 +346,15 @@ } }, "node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.972.80", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.80.tgz", - "integrity": "sha512-TJF25Ndwy2HxcVj6oxMgp8qVlJAawlExHYBXqhuC6Zt2m+A7WpdkjBD6QglNbiArlteYljZHEY3R7KKmno6ISA==", + "version": "3.972.82", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.82.tgz", + "integrity": "sha512-LUo46IqPTJ4xKBsrLuoaxiv/D2GTBCcFDMD1y3jKIqPR/p7Rw14RJFZ0iRWftqZtyLPQX9JMGnSi3mBu4y/pNA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/nested-clients": "^3.997.48", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -391,15 +391,15 @@ } }, "node_modules/@aws-sdk/nested-clients": { - "version": "3.997.48", - "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.48.tgz", - "integrity": "sha512-B01jdXJtAW/XOiUzGdI2mz67WyEHbGEc9X6Euzw3bjLAa+txTqdZDER4X2FsIEcXzV2ABqudVZ5thali8tCCzQ==", + "version": "3.997.50", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.50.tgz", + "integrity": "sha512-nKb8qu4QsnpZTq/6JIXc72mzuzfh7BK4sUQkpQznPec2z4W7Ob2xYkcM4i5e1yGTBnbJVeFv/0sf3jcz85hclA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/signature-v4-multi-region": "^3.996.48", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/signature-v4-multi-region": "^3.996.49", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", @@ -410,12 +410,12 @@ } }, "node_modules/@aws-sdk/signature-v4-multi-region": { - "version": "3.996.48", - "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.48.tgz", - "integrity": "sha512-cFDXfEbXaGwbnpvR/DyqfxfjxpjXVRVthQLgkwvcfDS5u3+8G9WSj1X1Ag/pTRg/QOeOno1Tq3ycEdrKsCUcOA==", + "version": "3.996.49", + "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.49.tgz", + "integrity": "sha512-nvuAZNRrRRVCiARRKsYlQ0VnXiEQiq7vXPH+UA+LSo+kN3Djl9eo/V2r0udkw85PnsNshmv2Em1clld5M3j67w==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "^3.974.6", + "@aws-sdk/types": "^3.975.0", "@smithy/signature-v4": "^5.7.4", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" @@ -425,15 +425,15 @@ } }, "node_modules/@aws-sdk/token-providers": { - "version": "3.1150.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1150.0.tgz", - "integrity": "sha512-wDU36ofhabZYu+d2KSriyDbwzxNoaOp+4dG0p3qkabk7HeALR5nIWyQbjoyJZLn3iqWkv/xNdyUfbfevDVDzzg==", + "version": "3.1155.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1155.0.tgz", + "integrity": "sha512-iIcQnYLhWuq9qOLQbIWFrxF3PF0svVeZvHnUS4DUnO4zUFmFHIyGyjqrntXG+e/5PUgfavV0pYfDIKHxTzN2LA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.3", - "@aws-sdk/nested-clients": "^3.997.48", - "@aws-sdk/types": "^3.974.6", - "@smithy/core": "^3.35.2", + "@aws-sdk/core": "^3.978.5", + "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/types": "^3.975.0", + "@smithy/core": "^3.36.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -442,9 +442,9 @@ } }, "node_modules/@aws-sdk/types": { - "version": "3.974.6", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.974.6.tgz", - "integrity": "sha512-v/clNZzZnDxGyvpHMOGpJKVXFAExJzUNAAjaWGdcx8QAcXLGwTaOkw33p5SHAi0YAioK32xB3hWwOekRVfmfKg==", + "version": "3.975.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.975.0.tgz", + "integrity": "sha512-WQlhs6juByzWOzj5fwxOx0mPJaEqMcG/sDpl3Id61B3XhKE63xY+0QWcnG+sWR/sCfprmreyUo1lM7IKZmHMzw==", "license": "Apache-2.0", "dependencies": { "@smithy/types": "^4.19.0", @@ -1737,13 +1737,13 @@ } }, "node_modules/@opencode/ai": { - "version": "2.0.32", - "resolved": "https://registry.npmjs.org/@opencode/ai/-/ai-2.0.32.tgz", - "integrity": "sha512-NMquAbwiFupqoXuRuvY8jPwNAiCVlQcKDQlOTbULWN283gTp4LI3NQJqrpSWpLporxomDJsjU7soN8TCPv3BKQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@opencode/ai/-/ai-2.1.4.tgz", + "integrity": "sha512-980bht1i8xv6hN/TQ+3tGujHuxfduje3jW69SKBvmiDxQBZ468Mk7sR4ztOy3NB/4fbI8iWEYhrcc3GbWWMxrw==", "license": "MIT", "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", - "@opencode/schema": "2.0.32", + "@opencode/schema": "2.1.4", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", @@ -1758,23 +1758,23 @@ "license": "MIT" }, "node_modules/@opencode/plugin": { - "version": "2.0.32", - "resolved": "https://registry.npmjs.org/@opencode/plugin/-/plugin-2.0.32.tgz", - "integrity": "sha512-S83qCwl6VTiRxtpqEmrNr5SHXJDS2FHP9XarTazlSWoccKpefDOdWxwCzF/qkgwQRq09T2t9vVbzv4UuzgFXEw==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@opencode/plugin/-/plugin-2.1.4.tgz", + "integrity": "sha512-SGAkdGp0VRxos2BEkRiyRl75G7DtuvP0ywgiEiHz1PbdUwUe2EAURMrzFgLCYCpWEm/zaNrguxPDVL0carrCsA==", "license": "MIT", "dependencies": { "@ai-sdk/provider": "3.0.8", - "@opencode/ai": "2.0.32", - "@opencode/client": "2.0.32", - "@opencode/protocol": "2.0.32", - "@opencode/schema": "2.0.32", - "@opencode/util": "2.0.32", + "@opencode/ai": "2.1.4", + "@opencode/client": "2.1.4", + "@opencode/protocol": "2.1.4", + "@opencode/schema": "2.1.4", + "@opencode/util": "2.1.4", "effect": "4.0.1" }, "peerDependencies": { - "@opencode/theme": "2.0.32", - "@opentui/core": ">=0.5.17", - "@opentui/solid": ">=0.5.17", + "@opencode/theme": "2.1.4", + "@opentui/core": ">=0.6.8", + "@opentui/solid": ">=0.6.8", "solid-js": ">=1.9.0" }, "peerDependenciesMeta": { @@ -1793,13 +1793,13 @@ } }, "node_modules/@opencode/plugin/node_modules/@opencode/client": { - "version": "2.0.32", - "resolved": "https://registry.npmjs.org/@opencode/client/-/client-2.0.32.tgz", - "integrity": "sha512-QjejcJTOC5v51gCMt7cRZJJsIydT1uGUowtiNkXWlIhKD7+/260PyqQ3S/2StnmwXucPOq6YNNkLLPv2gio6Iw==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@opencode/client/-/client-2.1.4.tgz", + "integrity": "sha512-xNHP8Xu4wcq4G849Xnbb8IxYxMTzF0TqvohWVUQZH5aURrVHIIbHMfXbZY6s4i4C9kpVbwjXFFwWAo6KIK3oiw==", "license": "MIT", "dependencies": { - "@opencode/protocol": "2.0.32", - "@opencode/schema": "2.0.32" + "@opencode/protocol": "2.1.4", + "@opencode/schema": "2.1.4" }, "peerDependencies": { "effect": "4.0.1", @@ -1821,12 +1821,12 @@ "license": "MIT" }, "node_modules/@opencode/protocol": { - "version": "2.0.32", - "resolved": "https://registry.npmjs.org/@opencode/protocol/-/protocol-2.0.32.tgz", - "integrity": "sha512-aF0oW0T6vBUO+EfD0po5gNz9YzQnT+b3InhKaOGg3p8K1S1A1tVkEoOBR7gKWQjAmlpfAPP8zWx4Fgsc7nsCbQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@opencode/protocol/-/protocol-2.1.4.tgz", + "integrity": "sha512-dnifgvY6p4xdHkXRH3PEaobfCqrHb1AhihKxPNRNkGn5SueRCFCfK2pZW1GkeC36fGCmcLxlfihuIMaQL1BVzA==", "license": "MIT", "dependencies": { - "@opencode/schema": "2.0.32", + "@opencode/schema": "2.1.4", "effect": "4.0.1" } }, @@ -1837,9 +1837,9 @@ "license": "MIT" }, "node_modules/@opencode/schema": { - "version": "2.0.32", - "resolved": "https://registry.npmjs.org/@opencode/schema/-/schema-2.0.32.tgz", - "integrity": "sha512-FQOHjPUZwoEflWXFTaNirICglfOi+simArwm9UMj0/aFjYobsZbNh6l7AS8/sslZB+pkR8NB/JWEu29MlJpDeA==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@opencode/schema/-/schema-2.1.4.tgz", + "integrity": "sha512-PLr8eFW81Yz6U7YsSgfSUClUUH//8omh3HiXu/L08VX5arorWNAu2uSjoXyHIGkm7TaTbdXBGPmmDfpvrDM2wQ==", "license": "MIT", "dependencies": { "@standard-schema/spec": "1.1.0", @@ -1853,9 +1853,9 @@ "license": "MIT" }, "node_modules/@opencode/util": { - "version": "2.0.32", - "resolved": "https://registry.npmjs.org/@opencode/util/-/util-2.0.32.tgz", - "integrity": "sha512-74uOWUInvMvCHjBQ25DlGjiZIcl35iyfuVRnw0KQA9mOUSgWGKiI8GV9crpw7vVMzdPSwqsmmH/W6XCX7NCUUA==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@opencode/util/-/util-2.1.4.tgz", + "integrity": "sha512-Ihj6DqbnnovgUYSXki4PgvGxNbmB1wggDySIdM55Rz+sTfwFZ+zwROh3PrC4a8Vx/cJ6xQg41Uxa4nbcTbGI4A==", "license": "MIT", "dependencies": { "@effect/opentelemetry": "4.0.1", @@ -1984,9 +1984,9 @@ } }, "node_modules/@opencode/util/node_modules/undici": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.2.tgz", - "integrity": "sha512-XtuDWVdqTLr3NAxm2ly9/hU6kUsJOgGh1RASzMBbsw6aWCOaQzHdW+QQDfdERjfJ2V5vL5pRPa4RetO9UfivDg==", + "version": "8.12.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", + "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", "license": "MIT", "engines": { "node": ">=22.19.0" @@ -2149,6 +2149,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.8.0.tgz", "integrity": "sha512-mhU4jp+vW0mGbFRd+GeXHvmfA4aDqWjBjLC3pE5XMpLs0IE2ryYb019Ts2AQrOq67gaTF25D91+fgvEHDZEnuQ==", + "deprecated": "Use @opentelemetry/sdk-trace package", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "2.8.0", @@ -2166,6 +2167,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-node/-/sdk-trace-node-2.8.0.tgz", "integrity": "sha512-nZt9OGufioAc3AfoLTqA9bsAeaMJAictYDdI2VcNQ+PmT+3rfKjAZDZvgPfd8VPX0O5Bw1hdQF6kDK8VSpZiWg==", + "deprecated": "Use @opentelemetry/sdk-trace package", "license": "Apache-2.0", "dependencies": { "@opentelemetry/context-async-hooks": "2.8.0", @@ -2654,9 +2656,9 @@ } }, "node_modules/@smithy/core": { - "version": "3.36.0", - "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.36.0.tgz", - "integrity": "sha512-3hJiwG1F5t1SoXqp/yOCmYXziyx7ZVqF63S5W6YU201e/qwVaHPex+E/3vvyY9a3ORq/b+BydeNZpP2saQ9X2g==", + "version": "3.36.2", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.36.2.tgz", + "integrity": "sha512-oRw0rB9QSUiCZfEs23G5F4Af+b2rQt1lItIICWu5IejFNd+uPM8SWqiKLMpQ6bX1Q7slsLbjuoE2niErFtkVPQ==", "license": "Apache-2.0", "dependencies": { "@smithy/types": "^4.19.0", @@ -5678,9 +5680,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", - "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.7.tgz", + "integrity": "sha512-wWBro/7hJ40ye6TPiXkUQoXKCw23xSsjriUvqd7Uls9Sso3oLiON1flc18cCdnjgCRXw4fBVqUJJeOdDTh3P3g==", "license": "MIT", "dependencies": { "cssesc": "^3.0.0", diff --git a/package.json b/package.json index c9816cfd..cfb1cccb 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "url": "git+https://github.com/yuhp/opencode-models-discovery.git" }, "dependencies": { - "@opencode/plugin": "2.0.32", + "@opencode/plugin": "2.1.4", "xdg-basedir": "^5.1.0" }, "peerDependencies": { From 4f74c9429d0f3dce0916be139d1aee638c87e312 Mon Sep 17 00:00:00 2001 From: yuhp Date: Mon, 2 Nov 2026 10:56:01 +0800 Subject: [PATCH 05/29] docs: update OpenCode v2 compatibility badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef31655f..106a9ebc 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![release](https://github.com/yuhp/opencode-models-discovery/actions/workflows/release.yml/badge.svg)](https://github.com/yuhp/opencode-models-discovery/actions/workflows/release.yml) [![license](https://img.shields.io/github/license/yuhp/opencode-models-discovery)](https://github.com/yuhp/opencode-models-discovery/blob/main/LICENSE) [![OpenCode v1](https://img.shields.io/badge/OpenCode%20v1-%3E%3D1.18.29-blueviolet)](https://opencode.ai/docs) -[![OpenCode v2](https://img.shields.io/badge/OpenCode%20v2-%3E%3D2.0.32-blueviolet)](https://opencode.ai/v2/docs/) +[![OpenCode v2](https://img.shields.io/badge/OpenCode%20v2-%3E%3D2.1.4-blueviolet)](https://opencode.ai/v2/docs/) > A universal OpenCode plugin for dynamic model discovery across any OpenAI-compatible provider. From 9260644f290bf73a6bd032b49a1aabc19ddb50dc Mon Sep 17 00:00:00 2001 From: Haipeng Yu Date: Wed, 4 Nov 2026 10:00:13 +0800 Subject: [PATCH 06/29] docs: streamline README (#187) --- README.md | 433 +++++++++--------------------------------------------- 1 file changed, 73 insertions(+), 360 deletions(-) diff --git a/README.md b/README.md index 106a9ebc..818b4683 100644 --- a/README.md +++ b/README.md @@ -7,28 +7,23 @@ [![OpenCode v1](https://img.shields.io/badge/OpenCode%20v1-%3E%3D1.18.29-blueviolet)](https://opencode.ai/docs) [![OpenCode v2](https://img.shields.io/badge/OpenCode%20v2-%3E%3D2.1.4-blueviolet)](https://opencode.ai/v2/docs/) -> A universal OpenCode plugin for dynamic model discovery across any OpenAI-compatible provider. +> Discover models from OpenAI-compatible providers and add them to OpenCode automatically. -Originally inspired by [opencode-lmstudio](https://github.com/agustif/opencode-lmstudio), this project has been refactored into a general-purpose model discovery plugin with provider-level discovery controls, model filtering, metadata enrichment, and `/connect`-backed credential support. +This plugin queries a provider's model endpoint, applies optional filters, and injects the discovered models into OpenCode. It supports OpenCode v2 as the primary integration and keeps a separate OpenCode v1 adapter for legacy configurations. ## Features -- Works with any OpenAI-compatible provider -- Discovers models dynamically from provider model endpoints -- Injects discovered models into OpenCode provider config automatically -- Supports provider-level enablement, endpoint overrides, and model filters -- Supports regex-based model id filtering and raw provider field equality filtering -- Can enrich model limits and reasoning metadata from provider-specific endpoints -- Supports OpenCode v1 and v2 `/connect` credentials for custom providers without requiring API keys in configuration -- Optionally caches discovered provider models in plugin-owned XDG data files on OpenCode v1 or host-provided storage on OpenCode v2 +- Dynamic model discovery from `/v1/models` or a configured endpoint +- Provider-level enablement, endpoint overrides, timeouts, and model filters +- Optional human-friendly model names +- Optional metadata enrichment for limits, reasoning, tools, attachments, structured output, and modalities +- OpenCode v2 `/connect` credentials, host-managed storage, refresh commands, and model console +- OpenCode v1 XDG caching, helper commands, and compatibility with Mimocode +- Works with any provider that returns an OpenAI-compatible model-list response -**OpenCode v2 is the primary stable integration.** The package also contains a separate OpenCode v1 legacy adapter. V2 uses a different configuration schema and provides native `/connect` credentials, host-provided storage caching, real-time event updates, TUI operations, RPC handlers, and agent tools. +## OpenCode v2 (recommended) -## OpenCode v2 configuration (stable) - -OpenCode v2 uses **`plugins`** (an array of package names) and **`providers`** (a map). Configure discovery under `providers..settings.modelsDiscovery`; it runs only when `enabled` is explicitly `true`. OpenCode v1 instead uses `plugin`, `provider`, and `options` (see [OpenCode v1 quick start](#opencode-v1-quick-start)). - -Add the plugin package to your OpenCode v2 `opencode.json` (or `opencode.jsonc`). OpenCode resolves and loads the package automatically: +OpenCode v2 uses `plugins` and `providers`. Discovery settings belong under `providers..settings.modelsDiscovery` and require `enabled: true` for that provider. ```jsonc { @@ -37,24 +32,17 @@ Add the plugin package to your OpenCode v2 `opencode.json` (or `opencode.jsonc`) "opencode-models-discovery@2.1.0" ], "providers": { - "gateway-custom": { - "name": "Gateway Custom", + "gateway": { + "name": "My Gateway", "package": "@opencode/ai/providers/openai-compatible", "settings": { "baseURL": "https://gateway.example.com/v1", - // Optional: omit if managing credentials interactively via OpenCode '/connect' "apiKey": "{env:GATEWAY_API_KEY}", "modelsDiscovery": { "enabled": true, - "modelInfoFormat": "models.dev", "smartModelName": true, - "cache": { - "enabled": true, - "ttlSeconds": 86400 - }, "models": { - "includeBy": [{ "field": "id", "match": "^(gpt|gemini)" }], - "excludeBy": [{ "field": "id", "match": "image" }] + "includeBy": [{ "field": "id", "match": "^(gpt|gemini)" }] } } } @@ -63,211 +51,38 @@ Add the plugin package to your OpenCode v2 `opencode.json` (or `opencode.jsonc`) } ``` -Set `GATEWAY_API_KEY` in the environment used to start OpenCode; the `{env:GATEWAY_API_KEY}` placeholder is resolved by the OpenCode v2 host. Alternatively, omit `apiKey` from `opencode.json` and configure credentials interactively with OpenCode's native `/connect` command. If your endpoint needs no credential, omit `apiKey`. Use the same provider package shown above for OpenAI-compatible discovery. The provider needs a `baseURL`; the plugin fetches its models from `/v1/models` by default (relative to the URL's **origin**). For providers that expose `/models` instead, set `"endpoint": "/models"` inside `modelsDiscovery`. - -### Credentials - -OpenCode v2 providers can use API keys managed through the native `/connect` -workflow. To use this flow, omit `settings.apiKey` from the provider -configuration, run `/connect`, select the provider, and enter its API key. - -The plugin resolves the credential through the host Integration API and uses it -in memory for model discovery and runtime requests. Resolved keys are not -written to `opencode.json`, discovery cache records, diagnostics, or logs. -Credential changes and revocation are picked up through OpenCode v2 Integration -events without requiring a restart. - -See [Connect and Auth Documentation](docs/connect-and-auth.md) for credential -resolution, lifecycle handling, and security details. +The plugin requests `/v1/models` by default. For a provider that exposes `/models`, set `"endpoint": "/models"`. The endpoint is resolved from the provider URL's origin. -`modelInfoFormat` and `smartModelName` are optional: without them, discovered names remain the model IDs and no external metadata is fetched. Supported metadata formats are `aiproxy`, `models.dev`, `bifrost`, `litellm`, `vllm`, `lmstudio`, `llama-swap`, `omniroute`, `openrouter`, and `ollama`. `models.dev` fetches `https://models.dev/models.json` by default; `modelInfoEndpoint` can override the catalog URL. The `aiproxy` format composes that catalog with inline metadata from AIProxy's model list. The `openrouter` format reads OpenRouter's inline `/v1/models` metadata without another request. The `ollama` format reads per-model context lengths and capabilities from Ollama's native `/api/show` endpoint. `filterNonChat` defaults to `true`; it can filter non-chat models when the selected metadata source supplies that information. `timeoutMs` defaults to 5000 ms. Models returned by discovery are added alongside explicitly configured models. +You can omit `apiKey` and manage credentials with OpenCode's native `/connect` command. Resolved credentials are used in memory and are not written to configuration, caches, or logs. -For a local build, run `npm run compile` and replace the package value above with `"file:///absolute/path/to/opencode-models-discovery/dist"`. OpenCode v2 expects a **directory**, not a path to `index.js` or `server.js`. After rebuilding plugin code, run `opencode service restart` so the background service loads the new bundle. Discovery runs when the plugin initializes. The native TUI commands are `/models-discovery-refresh` and `/models-discovery-console`; the console combines Provider → model → model details browsing with cache inspection and clearing. Use `/models-discovery-console status --provider ` to filter the browser. The OpenCode v2 agent tools `models_discovery_refresh` and `models_discovery_status` remain available for automation. Pass `rawCache: true` to `models_discovery_status` to include cached raw models and enrichment results. +For the complete V2 configuration reference, see [Configuration Guide](docs/configuration.md#opencode-v2-configuration-stable-support). -OpenCode v2 does not use the OpenCode v1 `modelsDiscovery.cache` disk-cache format, auth.json/`OPENCODE_AUTH_CONTENT` fallback, or `/models-discovery:config` and `/models-discovery:migrate` commands. When enabled, V2 caching stores raw discovery responses and enrichment results through the host-provided `ctx.storage` API. V2 cache is disabled by default and uses a 24-hour TTL when `ttlSeconds` is omitted. Per-model V2 overrides are stored separately under `overrides::` and can be edited from the model console. See [OpenCode v2 design notes](docs/v2_prd.md) for the OpenCode v2 implementation details. +### V2 commands and tools -## Support levels +- `/models-discovery-refresh` refreshes discovered models. +- `/models-discovery-console` browses providers, models, metadata, and caches. +- `models_discovery_refresh` and `models_discovery_status` are available as agent tools. +- Pass `rawCache: true` to `models_discovery_status` to inspect cached raw models and enrichment results. -| Host generation | Support level | Configuration | Storage and credentials | -|---|---|---|---| -| OpenCode v2 | Stable / primary | `plugins` and `providers` | Host `ctx.storage` and `ctx.integration` | -| OpenCode v1 | Legacy compatibility | `plugin` and `provider` | V1 XDG cache and auth-store fallback | +V2 caching is disabled by default and uses OpenCode's host-provided storage when enabled. After rebuilding a local plugin, restart the background service with `opencode service restart`. -OpenCode v1 remains supported for compatibility, security fixes, and severe regressions. New discovery, TUI, RPC, cache, and override features target OpenCode v2 first. +## OpenCode v1 (legacy compatibility) -## OpenCode v1 quick start - -For OpenCode v1 (1.18.29+), add the plugin to your `opencode.json`: +For OpenCode v1 (`1.18.29+`), use `plugin`, `provider`, and `options`: ```json { "$schema": "https://opencode.ai/config.json", - "plugin": [ - "opencode-models-discovery@2.1.0" - ], + "plugin": ["opencode-models-discovery@2.1.0"], "provider": { "lmstudio": { "npm": "@ai-sdk/openai-compatible", - "name": "LM Studio (local)", + "name": "LM Studio", "options": { "baseURL": "http://127.0.0.1:1234/v1", - "modelsDiscovery": { - "enabled": true - } - } - } - } -} -``` - -On startup, the plugin will query the provider's models endpoint and merge discovered models into the active OpenCode config. - -### Slow Providers - -Discovery requests time out after `3000` milliseconds by default. For a slow local server or gateway, set a larger timeout for that provider: - -```json -{ - "modelsDiscovery": { - "timeoutMs": 15000 - } -} -``` - -The setting applies to that provider's models endpoint and provider-specific metadata endpoint. OpenCode normally waits up to `5000` milliseconds for discovery during startup; when a provider configures a larger `timeoutMs`, the plugin raises that wait budget to the largest configured provider timeout so its discovered models can be injected before startup continues. - -See the [configuration guide](docs/configuration.md#provider-level-configuration) for the full provider configuration. - -## OpenCode v1 configuration boundary - -Version `1.0.0` uses provider-level discovery configuration only. Put discovery settings under `provider..options.modelsDiscovery`. - -Plugin-level global discovery options are still detected for migration help, but they are no longer applied at runtime: - -Deprecated plugin-level options: - -- `discovery.enabled` -- `providers.include` -- `providers.exclude` -- `models.includeRegex` -- `models.excludeRegex` -- `smartModelName` - -Configuration should live on each provider instead: - -```json -{ - "provider": { - "lmstudio": { - "options": { - "modelsDiscovery": { - "enabled": true, - "models": { - "includeBy": [ - { "field": "id", "match": "^llama" } - ], - "excludeBy": [ - { "field": "available", "equals": false }, - { "field": "id", "match": "embedding" } - ] - }, - "smartModelName": true, - "modelInfoFormat": "models.dev" - } - } - } - } -} -``` - -Only add the fields you need. For example, do not add filters unless you actually want filtering. - -- Discovery remains enabled by default for providers unless disabled. -- Set `provider..options.modelsDiscovery.enabled = false` to disable discovery for one provider. -- Set `OPENCODE_MODELS_DISCOVERY_DEFAULT_ENABLED=false` to make providers without explicit `modelsDiscovery.enabled` default to disabled. -- Explicit provider-level `modelsDiscovery.enabled` always wins over the environment default. - -When legacy global config is detected, the plugin logs a warning, shows a migration toast, and injects `/models-discovery:migrate` into OpenCode commands. - -Prefer `models.includeBy` and `models.excludeBy` for model filtering. They filter top-level raw fields returned by a provider's `/v1/models` response. Each field rule uses either `equals` for strict equality or `match` for regex matching against string field values. Use `{ "field": "id", "match": "..." }` for id/name regex filtering. `includeBy` and `excludeBy` are cumulative, and `excludeBy` wins over `includeBy`. `models.includeRegex` and `models.excludeRegex` are retained as legacy id-only shortcuts; when `includeRegex` is configured, `excludeRegex` is not applied. Provider-specific fields such as `available` are not part of the generic OpenAI-compatible contract, so configure these filters only when your provider returns those fields. - -## OpenCode v1 helper commands - -The plugin injects helper commands into OpenCode's runtime command list. - -### `/models-discovery:config` - -Opens an assistant-guided configuration flow using OpenCode's `customize-opencode` skill. Use this when setting up the plugin, adding provider-level discovery config, enabling metadata enrichment, disabling discovery for a provider, or managing a persisted discovery cache and its model overrides. - -This command is available whenever the plugin is loaded. - -## OpenCode v1 persisted model discovery cache - -Caching is opt-in per provider. When enabled, the plugin stores the last successful filtered and metadata-enriched discovered model configuration under its own XDG data directory and reuses it until its TTL expires. A fresh cache avoids model-endpoint requests, credential resolution, and enrichment requests. Expired cached models are never used if a refresh fails. - -```json -{ - "provider": { - "local-vllm": { - "options": { - "baseURL": "http://127.0.0.1:8000/v1", - "modelsDiscovery": { - "enabled": true, - "cache": { - "enabled": true, - "ttlSeconds": 86400 - } - } - } - } - } -} -``` - -The cache lives at `${XDG_DATA_HOME}/opencode-models-discovery/providers/provider-.json`, using `xdg-basedir`'s data-directory fallback when `XDG_DATA_HOME` is unset. It contains only models that passed discovery filters and enrichment eligibility checks, including their resulting OpenCode capability metadata. These files never contain credentials, auth headers, or OpenCode/Mimocode auth data. Saved per-model overrides are managed through `/models-discovery:config`; they are applied only to models present in the latest valid cached model set. Matching explicit `provider..models` configuration is recursively merged last, while explicit models not returned by discovery remain standalone. Explicit config is never written to the cache. See [model assembly and customization](docs/configuration.md#model-assembly-and-customization) and [persisted model discovery cache](docs/persisted-model-discovery.md) for details. - -### `/models-discovery:migrate` - -Opens an assistant-guided migration flow using OpenCode's `customize-opencode` skill. It looks for OpenCode config files that declare this plugin and moves legacy plugin-level discovery options into `provider..options.modelsDiscovery` where safe. - -This command is injected only when legacy global discovery config is detected. - -The migration assistant is instructed to inspect project config, user global config, and `OPENCODE_CONFIG` when present. It should not edit managed or organization-controlled config unless you explicitly ask it to. - -## Model metadata enrichment examples - -Discovery adds model ids to your OpenCode provider config. Some providers only expose minimal `/models` responses, so the plugin can optionally enrich discovered models with OpenCode-compatible capability metadata such as context limits, output limits, reasoning, tool calling, attachments, structured output, temperature support, and modalities. - -Metadata enrichment is explicit. The plugin does not contact external metadata sources unless configured. - -For models.dev enrichment: - -```json -{ - "modelsDiscovery": { - "enabled": true, - "modelInfoFormat": "models.dev", - "modelInfoEndpoint": "https://your-mirror.example/models.json" - } -} -``` - -`modelInfoEndpoint` is optional for `models.dev`; it must be a complete URL and defaults to `https://models.dev/models.json`. Use it to configure an accessible mirror or proxy. For LiteLLM and LM Studio, it accepts either an origin-relative path or a complete URL. - -For AIProxy's inline model-list metadata, use `modelInfoFormat: "aiproxy"`: - -```json -{ - "providers": { - "aiproxy": { - "package": "@opencode/ai/providers/openai-compatible", - "settings": { - "baseURL": "https://aiproxy.example/api", - "apiKey": "{env:AIPROXY_API_KEY}", "modelsDiscovery": { "enabled": true, - "endpoint": "/api/models", - "modelInfoFormat": "aiproxy" + "smartModelName": true } } } @@ -275,184 +90,80 @@ For AIProxy's inline model-list metadata, use `modelInfoFormat: "aiproxy"`: } ``` -This format does not make an additional request to AIProxy. It enriches each discovered entry from its inline `limits` and `pricing` fields, and composes those values over models.dev metadata. `modelInfoEndpoint`, if set, overrides the models.dev URL for this format; it does not change the AIProxy model-list endpoint. - -AIProxy `limits.max_input_tokens` and `limits.max_output_tokens` map to OpenCode's input and output limits only when a valid context limit is already available. The plugin does not infer total context by adding input and output limits. Pricing fields `input_per_1m_usd`, `output_per_1m_usd`, and `cache_read_per_1m_usd` are already USD per million tokens and map directly; explicit zero prices are preserved. The duration-specific `cache_write_5m_per_1m_usd` field is currently ignored until its semantics can be represented without ambiguity. - -For reasoning variants, AIProxy can include an explicit per-model capability list: - -```json -{ - "capabilities": { - "reasoning": true, - "effort_tiers": ["low", "medium", "high", "xhigh", "max"] - } -} -``` - -The plugin maps the supported OpenAI efforts `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max` to OpenCode variants. It does not infer `xhigh` or `max` from model names. If `effort_tiers` is absent, the AIProxy enricher adds no variants (OpenCode V2's existing low/medium/high fallback can still apply when the model is otherwise marked as reasoning); if it is present, only listed, recognized tiers are exposed. **AIProxy's currently tested `/api/models` response does not include `capabilities.effort_tiers`, so automatic `xhigh`/`max` discovery requires AIProxy to add that field.** - -For LiteLLM-compatible model info endpoints, `/v1/model/info` is used by default: - -```json -{ - "modelsDiscovery": { - "enabled": true, - "modelInfoFormat": "litellm" - } -} -``` - -For OpenRouter's inline `/v1/models` metadata, without another metadata request: - -```json -{ - "modelsDiscovery": { - "enabled": true, - "modelInfoFormat": "openrouter" - } -} -``` - -For Bifrost AI Gateway's inline `/v1/models` metadata, without another metadata request: - -```json -{ - "modelsDiscovery": { - "enabled": true, - "modelInfoFormat": "bifrost" - } -} -``` - -For LM Studio 0.4.0+'s native v1 REST inventory endpoint: - -```json -{ - "modelsDiscovery": { - "enabled": true, - "modelInfoFormat": "lmstudio" - } -} -``` +V1 discovery is configured per provider at `provider..options.modelsDiscovery`. V1 remains supported for compatibility, security fixes, and severe regressions; new discovery, TUI, RPC, cache, and override features target V2 first. -For Ollama's native `/api/show` per-model metadata: +For V1 migration, helper commands, disk caching, filters, and legacy configuration details, see: -```json -{ - "modelsDiscovery": { - "enabled": true, - "modelInfoFormat": "ollama" - } -} -``` +- [Configuration Guide](docs/configuration.md) +- [Migrating from V1 to V2](docs/migrate-v1-to-v2.md) +- [Persisted Model Discovery Cache](docs/persisted-model-discovery.md) +- [Upgrade Guide](docs/upgrading.md) -For vLLM's inline `max_model_len` metadata, without another metadata request: +## Metadata enrichment -```json -{ - "modelsDiscovery": { - "enabled": true, - "modelInfoFormat": "vllm" - } -} -``` +Enrichment is opt-in. Without `modelInfoFormat`, the plugin does not contact external metadata sources and leaves unknown fields unset. -For llama-swap's inline `/v1/models` metadata, without another metadata request: +Supported formats include: -```json -{ - "modelsDiscovery": { - "enabled": true, - "modelInfoFormat": "llama-swap" - } -} -``` +`aiproxy`, `bifrost`, `litellm`, `lmstudio`, `llama-swap`, `models.dev`, `ollama`, `omniroute`, `openrouter`, and `vllm`. -For OmniRoute's inline `/v1/models` metadata, without another metadata request: +Example using `models.dev`: ```json { "modelsDiscovery": { "enabled": true, - "modelInfoFormat": "omniroute" + "modelInfoFormat": "models.dev" } } ``` -If metadata cannot be fetched or matched safely, discovery still succeeds and the plugin leaves unknown capability fields unset rather than guessing defaults. See [model metadata enrichment](docs/configuration.md#model-metadata-enrichment) for format-specific behavior and configuration. - -## Upgrade note - -For OpenCode v1, after upgrading the plugin, refresh the OpenCode plugin cache and restart OpenCode before testing the new version. This avoids stale cached plugin packages being used after an npm upgrade. - -For the upgrade checklist and Desktop-specific loading notes, see the [upgrade guide](docs/upgrading.md). - -For OpenCode v1, after changing `opencode.json`, restart OpenCode. OpenCode loads config at startup, so command and provider changes are not guaranteed to take effect in an already-running session. For OpenCode v2, restart its background service after changing the plugin bundle; the V2 plugin also listens for `config.updated` to refresh discovery. - -## OpenCode v1 `/connect` support - -For custom OpenAI-compatible providers, you still define the provider in `opencode.json` so OpenCode and this plugin know the provider id, npm package, and `baseURL`. - -If the API credential is managed through OpenCode `/connect`, you do not need to duplicate the same key in `provider..options.apiKey`. +`models.dev` uses `https://models.dev/models.json` by default and supports a custom `modelInfoEndpoint`. Provider-specific formats read metadata from the provider's own response or endpoint. See [Model Metadata Enrichment](docs/configuration.md#model-metadata-enrichment) for format-specific paths and behavior. -Discovery auth precedence is: +## Common options -1. `provider..options.apiKey` -2. OpenCode resolved provider key, when available during plugin startup -3. OpenCode `/connect` auth store for same-id `type: "api"` credentials +All options are provider-scoped. The exact configuration path depends on the host: -Details and examples: [`docs/connect-and-auth.md`](docs/connect-and-auth.md) +| Host | Configuration path | +|---|---| +| OpenCode v2 | `providers..settings.modelsDiscovery` | +| OpenCode v1 | `provider..options.modelsDiscovery` | -## Mimocode compatibility (OpenCode v1 adapter) +Frequently used options: -This plugin is also compatible with Mimocode as an OpenCode-compatible host. +| Option | Description | +|---|---| +| `enabled` | Enable or disable discovery for one provider | +| `endpoint` | Model-list endpoint; defaults to `/v1/models` | +| `timeoutMs` | Per-request timeout; V2 defaults to 5000 ms and V1 to 3000 ms | +| `models.includeBy` / `excludeBy` | Filter raw top-level provider fields with `equals` or `match` | +| `smartModelName` | Use provider-supplied human-friendly names when available | +| `modelInfoFormat` | Enable provider-specific metadata enrichment | +| `cache.enabled` | Enable provider model caching; disabled by default | -When startup-time discovery needs to recover `/connect`-managed API credentials from the local auth store, the plugin selects the host data directory from runtime environment markers: - -- `OPENCODE=1` or no host marker: `~/.local/share/opencode/auth.json` -- `MIMOCODE=1`: `~/.local/share/mimocode/auth.json` - -This keeps the same provider configuration model while allowing the plugin to work in both OpenCode and Mimocode environments. +See the [full configuration reference](docs/configuration.md) for defaults, filter semantics, cache behavior, model assembly, and V1/V2 differences. ## Documentation -- Configuration guide: [`docs/configuration.md`](docs/configuration.md) -- OpenCode v1 to v2 configuration migration: [`docs/migrate-v1-to-v2.md`](docs/migrate-v1-to-v2.md) -- Persisted model discovery cache: [`docs/persisted-model-discovery.md`](docs/persisted-model-discovery.md) -- `/connect` credentials and auth-backed discovery: [`docs/connect-and-auth.md`](docs/connect-and-auth.md) -- Community provider examples: [`docs/config_example/`](docs/config_example/) -- Provider compatibility and detection rules: [`docs/providers.md`](docs/providers.md) -- Upgrade notes: [`docs/upgrading.md`](docs/upgrading.md) -- OpenCode v2 configuration: [section above](#opencode-v2-configuration-stable) - -Provider users are welcome to contribute community-maintained configuration examples under [`docs/config_example/`](docs/config_example/). Please target the `community/config-examples` branch and keep example PRs scoped to a new example file plus its README link. +- [Configuration Guide](docs/configuration.md) +- [Provider Compatibility](docs/providers.md) +- [Connect and Auth](docs/connect-and-auth.md) +- [Migrate V1 to V2](docs/migrate-v1-to-v2.md) +- [Persisted Model Discovery Cache](docs/persisted-model-discovery.md) +- [Upgrade Guide](docs/upgrading.md) +- [Community configuration examples](docs/config_example/) ## Requirements - OpenCode with plugin support -- At least one OpenAI-compatible provider running locally or remotely -- Provider API accessible through either a `/v1`-style base URL or an explicitly configured discovery endpoint - -## Logging - -When available, the plugin writes logs through OpenCode's structured server log API via `client.app.log(...)` using the service name `opencode-models-discovery`. - -If structured logging is unavailable in the runtime, the plugin falls back to prefixed `console.*` output. Key log categories are emitted through metadata such as `plugin`, `config`, `discovery`, `event`, and `filtering` to make local debugging easier with `opencode --print-logs`. +- At least one local or remote OpenAI-compatible provider +- A provider model-list endpoint returning an OpenAI-compatible response -## Star History - - - - - - Star History Chart - - +For local plugin development, run `npm run compile` and reference the generated directory with `file:///absolute/path/to/opencode-models-discovery/dist`. OpenCode v2 expects a directory rather than a direct JavaScript entry file. ## Contributing -Contributions are welcome. Please feel free to submit a Pull Request. +Contributions are welcome. Please feel free to submit a pull request. Community provider examples should be added under [`docs/config_example/`](docs/config_example/) on the `community/config-examples` branch. ## License @@ -460,6 +171,8 @@ MIT ## Disclaimer -This project is not built by the OpenCode team and is not affiliated with OpenCode in any way. +This project is not built by the OpenCode team and is not affiliated with OpenCode. It is also not affiliated with, endorsed by, or sponsored by [models.dev](https://models.dev/). The optional models.dev metadata source is used only when explicitly configured. -This project is not affiliated with, endorsed by, or sponsored by [models.dev](https://models.dev/). Optional models.dev metadata enrichment uses the public models.dev index only when explicitly configured by the user. + + Star History Chart + From d15cf5cddcda7596731fcb5ae2760371ab3b41b9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 10:04:31 +0800 Subject: [PATCH 07/29] build(deps-dev): bump @types/node from 26.6.5 to 26.6.6 (#181) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.6.5 to 26.6.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 26.6.6 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 33c96521..0fd7aacc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2866,9 +2866,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "26.6.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.5.tgz", - "integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==", + "version": "26.6.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.6.tgz", + "integrity": "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==", "license": "MIT", "dependencies": { "undici-types": "~8.9.0" From b33844062ab7172076da2eaba2134883ce7d5b06 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 10:04:36 +0800 Subject: [PATCH 08/29] build(deps-dev): bump @opencode-ai/plugin from 1.19.4 to 1.19.5 (#182) Bumps @opencode-ai/plugin from 1.19.4 to 1.19.5. --- updated-dependencies: - dependency-name: "@opencode-ai/plugin" dependency-version: 1.19.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0fd7aacc..185e5984 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1698,14 +1698,14 @@ } }, "node_modules/@opencode-ai/plugin": { - "version": "1.19.4", - "resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.19.4.tgz", - "integrity": "sha512-VN71q/OmfggxIhiDbuzYDYmZcQMsNyVSw1o91e7LD6WUn/9jx4usI9ZpoPbC5p/Prpo/Umzpd+38+EuLoKRr+A==", + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.19.5.tgz", + "integrity": "sha512-79PY+pxcJajHReWv2OP2SYTdlx1f7zOmq2hIaReOJnovsxNaSvxVyQHx+6Yq22T5UcS4z3Qgws4KB4lQOaIbdQ==", "dev": true, "license": "MIT", "dependencies": { "@ai-sdk/provider": "3.0.8", - "@opencode-ai/sdk": "1.19.4", + "@opencode-ai/sdk": "1.19.5", "effect": "4.0.0-beta.83", "zod": "4.1.8" }, @@ -1727,9 +1727,9 @@ } }, "node_modules/@opencode-ai/sdk": { - "version": "1.19.4", - "resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.19.4.tgz", - "integrity": "sha512-3Wuc4t8gEuWKHbX1Na9oDK6PgOveid70l4Ks5RCjRIo2RcP8FQN3NS6Mg3XWc2+WiUfpfrmvBWlh5u1zeQfDQw==", + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.19.5.tgz", + "integrity": "sha512-+bqu8gHiwmq96T9q5G34uLNHWCInIMsrE3hytCNHj1cVaxjY0AGJyNCT1rkeeZwgPU7A5TMTNwN+0XxCO2vqDg==", "dev": true, "license": "MIT", "dependencies": { From d9cf92f13adcb545ebbf7f37b44078462e54ab52 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 10:04:42 +0800 Subject: [PATCH 09/29] build(deps-dev): bump typescript-eslint from 8.72.0 to 8.72.1 (#183) Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.72.0 to 8.72.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-version: 8.72.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 122 +++++++++++++++++++++++----------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/package-lock.json b/package-lock.json index 185e5984..08618cf0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2884,17 +2884,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.0.tgz", - "integrity": "sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.1.tgz", + "integrity": "sha512-5CokTWXpmbylfFabsbvHC0CAw3XLaGnoa+nFJX5FR592h/LoZsENUE6p/rg5xvkKrFEXz6pYmgI29AgXc2N3BQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.72.0", - "@typescript-eslint/type-utils": "8.72.0", - "@typescript-eslint/utils": "8.72.0", - "@typescript-eslint/visitor-keys": "8.72.0", + "@typescript-eslint/scope-manager": "8.72.1", + "@typescript-eslint/type-utils": "8.72.1", + "@typescript-eslint/utils": "8.72.1", + "@typescript-eslint/visitor-keys": "8.72.1", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -2907,7 +2907,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.72.0", + "@typescript-eslint/parser": "^8.72.1", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } @@ -2923,16 +2923,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.0.tgz", - "integrity": "sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.1.tgz", + "integrity": "sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.72.0", - "@typescript-eslint/types": "8.72.0", - "@typescript-eslint/typescript-estree": "8.72.0", - "@typescript-eslint/visitor-keys": "8.72.0", + "@typescript-eslint/scope-manager": "8.72.1", + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/typescript-estree": "8.72.1", + "@typescript-eslint/visitor-keys": "8.72.1", "debug": "^4.4.3" }, "engines": { @@ -2948,14 +2948,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.0.tgz", - "integrity": "sha512-bzHngBbmIgzj6TsTjVUCntGx6FFLgE7mPjpO0PzHycOaZHXqS43XnrkFIHRS16LLr/xO6FHSXG3GJFo/F4bSBQ==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.1.tgz", + "integrity": "sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.72.0", - "@typescript-eslint/types": "^8.72.0", + "@typescript-eslint/tsconfig-utils": "^8.72.1", + "@typescript-eslint/types": "^8.72.1", "debug": "^4.4.3" }, "engines": { @@ -2970,14 +2970,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.0.tgz", - "integrity": "sha512-JewPyJOYcXBSAS7PIgufscHOwZqhTGyBRiQJhhuDln66tMchxvvt7nJ90JKKIoOelmdHA3kAQbm9cEUHc4JSEA==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.1.tgz", + "integrity": "sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.0", - "@typescript-eslint/visitor-keys": "8.72.0" + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/visitor-keys": "8.72.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2988,9 +2988,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.0.tgz", - "integrity": "sha512-0vbxCf7xLVPSjcOdm6eQbgViH8EDJ8xnl1laLT9yoqSz2YmcSfSg5Vdl0JUvZf6rcuJ0ZivJIuMD4edTg8obaA==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.1.tgz", + "integrity": "sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==", "dev": true, "license": "MIT", "engines": { @@ -3005,15 +3005,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.0.tgz", - "integrity": "sha512-gEXxmmbSTSOVTC37IYYvremOM31v+UN2W772bJxmVYPhAOPSUxtacyb7wkm1EhkYKU6KzFJsdU44DCV4to0LWw==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.1.tgz", + "integrity": "sha512-iY2wlmyrXJmx4yxUGP3aYCFF3cA/6ShddOKmLU2dx7LnEykbAM8WThlxZEfd1NddqceF6eJmZUayxx9oKIYNlg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.0", - "@typescript-eslint/typescript-estree": "8.72.0", - "@typescript-eslint/utils": "8.72.0", + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/typescript-estree": "8.72.1", + "@typescript-eslint/utils": "8.72.1", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -3030,9 +3030,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.0.tgz", - "integrity": "sha512-Adfoy59kxNEjT5E5fnyrp7GpHYuWs8ONbdohu4ez6IU46qDq8LltG90tLmkucZB2uhYL8mqBjtXqGd8yhfjXqQ==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.1.tgz", + "integrity": "sha512-LmE5IhQet1BWOWEXqBrVtBPsMAOQ6Nzk35d+WLh3mk4EUF33sqlfxjio1MdYeSvKSG5skactKKuixBIKXhL4Rw==", "dev": true, "license": "MIT", "engines": { @@ -3044,16 +3044,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.0.tgz", - "integrity": "sha512-gwLfFgWcw15tN2KXDCJvxEOQjPn+P3j/n3eSqkZ5sX4VpW9Cosodr+tWwBZRvJT3TcKx6HnPRGZMCNAiP1Xhug==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.1.tgz", + "integrity": "sha512-DAlUoUV93hIvrtIQLwCbmZQYVZwOMhiHJrOVUUIWicFZaIYjTRqlY3I/NZevfkLmSqkNHRu2qYDcq9lrn16oOQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.72.0", - "@typescript-eslint/tsconfig-utils": "8.72.0", - "@typescript-eslint/types": "8.72.0", - "@typescript-eslint/visitor-keys": "8.72.0", + "@typescript-eslint/project-service": "8.72.1", + "@typescript-eslint/tsconfig-utils": "8.72.1", + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/visitor-keys": "8.72.1", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -3072,16 +3072,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.0.tgz", - "integrity": "sha512-0up3oArJZBYnzOaEXKo8DmI43QvMZyPoFEt9LWzRJcyl/RcJjfKKPebknN1VbTgXBf3M/KggUh5uUMdURLnseg==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.1.tgz", + "integrity": "sha512-5v5liypurJBFHCBNqh/RjsymAD+VWcE0djuGY/BUqp5fC3Qn+luWDEksjuTtWjPn6i5zQlUtkZCRG/CYG0yCkA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.72.0", - "@typescript-eslint/types": "8.72.0", - "@typescript-eslint/typescript-estree": "8.72.0" + "@typescript-eslint/scope-manager": "8.72.1", + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/typescript-estree": "8.72.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3096,13 +3096,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.0.tgz", - "integrity": "sha512-E2mroviasaWecDzTGiGMtuEguuLVOeRggnrIn93CJuxYJzQBHbyymlT08aVQydbBal5538o+JkBKXh2sRuCyIA==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.1.tgz", + "integrity": "sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/types": "8.72.1", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -6368,16 +6368,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.72.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.0.tgz", - "integrity": "sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A==", + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.1.tgz", + "integrity": "sha512-3Li9FfPmQp45nxEtFD1ZCrYFI3cYK5kpyNtmm1H7lMagm8u9sy6PTjy3ytwQZs7KNukOyKFHAZ6z6GjYFeaeXw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.72.0", - "@typescript-eslint/parser": "8.72.0", - "@typescript-eslint/typescript-estree": "8.72.0", - "@typescript-eslint/utils": "8.72.0" + "@typescript-eslint/eslint-plugin": "8.72.1", + "@typescript-eslint/parser": "8.72.1", + "@typescript-eslint/typescript-estree": "8.72.1", + "@typescript-eslint/utils": "8.72.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" From 1385495396f7660d06995f94a00c10fdde41c996 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 10:04:48 +0800 Subject: [PATCH 10/29] build(deps): bump hashgraph-online/ai-plugin-scanner-action (#184) Bumps [hashgraph-online/ai-plugin-scanner-action](https://github.com/hashgraph-online/ai-plugin-scanner-action) from 1.2.804 to 1.2.813. - [Release notes](https://github.com/hashgraph-online/ai-plugin-scanner-action/releases) - [Commits](https://github.com/hashgraph-online/ai-plugin-scanner-action/compare/59f2f1867207d2751c373fafbd1a9b7a4a23377f...8c2dd4f9cc381ad56496ca44aab10ce19f6bdd0f) --- updated-dependencies: - dependency-name: hashgraph-online/ai-plugin-scanner-action dependency-version: 1.2.813 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/plugin-security-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/plugin-security-scan.yml b/.github/workflows/plugin-security-scan.yml index 775ea29c..98b333c2 100644 --- a/.github/workflows/plugin-security-scan.yml +++ b/.github/workflows/plugin-security-scan.yml @@ -16,7 +16,7 @@ jobs: persist-credentials: false - name: Scan plugin - uses: hashgraph-online/ai-plugin-scanner-action@59f2f1867207d2751c373fafbd1a9b7a4a23377f # v1.2.804 + uses: hashgraph-online/ai-plugin-scanner-action@8c2dd4f9cc381ad56496ca44aab10ce19f6bdd0f # v1.2.813 with: plugin_dir: "." min_score: 80 From 9aef71782f9fd9c09c57afd7022a8f666bbb9b95 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 10:04:54 +0800 Subject: [PATCH 11/29] build(deps-dev): bump eslint from 10.13.0 to 10.14.0 (#186) Bumps [eslint](https://github.com/eslint/eslint) from 10.13.0 to 10.14.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v10.13.0...v10.14.0) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.14.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 08618cf0..f94d3b5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3741,9 +3741,9 @@ } }, "node_modules/eslint": { - "version": "10.13.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.13.0.tgz", - "integrity": "sha512-UohDjD4zSzEwhf58M3O7vc/ycc8O1I7dNlhtD0WxE8Px8EHNJKtUwzBqrzeGhisRuv2ag4sAYswszCJRgKXYUg==", + "version": "10.14.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.14.0.tgz", + "integrity": "sha512-T0pNsxkb9IKmtQjhpK3d7nWOpFv+YHuMbTJnSVMoQblF0onvXfErrtp4V1jHtsQPan7dKaGVD0q1WCXnzMF31A==", "dev": true, "license": "MIT", "workspaces": [ @@ -3756,7 +3756,7 @@ "@eslint/config-helpers": "^0.7.0", "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.3", - "@humanfs/node": "^0.16.6", + "@humanfs/node": "^0.16.8", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", @@ -3777,7 +3777,7 @@ "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "minimatch": "^10.2.5", + "minimatch": "^10.2.6", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, From 51ee63d8586557648c60caf43a95f7abfca75dbe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 10:16:46 +0800 Subject: [PATCH 12/29] build(deps): bump @opencode/plugin from 2.1.4 to 2.2.5 (#185) * build(deps): bump @opencode/plugin from 2.1.4 to 2.2.5 Bumps [@opencode/plugin](https://github.com/anomalyco/opencode/tree/HEAD/packages/plugin) from 2.1.4 to 2.2.5. - [Release notes](https://github.com/anomalyco/opencode/releases) - [Changelog](https://github.com/anomalyco/opencode/blob/dev/CHANGELOG.md) - [Commits](https://github.com/anomalyco/opencode/commits/v2.2.5/packages/plugin) --- updated-dependencies: - dependency-name: "@opencode/plugin" dependency-version: 2.2.5 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore: update lockfile and OpenCode v2 compatibility --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: yuhp --- README.md | 2 +- bun.lock | 38 ++-- package-lock.json | 533 +++++++++++++++++++++------------------------- package.json | 2 +- 4 files changed, 267 insertions(+), 308 deletions(-) diff --git a/README.md b/README.md index 818b4683..81155e82 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![release](https://github.com/yuhp/opencode-models-discovery/actions/workflows/release.yml/badge.svg)](https://github.com/yuhp/opencode-models-discovery/actions/workflows/release.yml) [![license](https://img.shields.io/github/license/yuhp/opencode-models-discovery)](https://github.com/yuhp/opencode-models-discovery/blob/main/LICENSE) [![OpenCode v1](https://img.shields.io/badge/OpenCode%20v1-%3E%3D1.18.29-blueviolet)](https://opencode.ai/docs) -[![OpenCode v2](https://img.shields.io/badge/OpenCode%20v2-%3E%3D2.1.4-blueviolet)](https://opencode.ai/v2/docs/) +[![OpenCode v2](https://img.shields.io/badge/OpenCode%20v2-%3E%3D2.2.5-blueviolet)](https://opencode.ai/v2/docs/) > Discover models from OpenAI-compatible providers and add them to OpenCode automatically. diff --git a/bun.lock b/bun.lock index 40cd6c38..d2766871 100644 --- a/bun.lock +++ b/bun.lock @@ -5,7 +5,7 @@ "": { "name": "opencode-model-discovery", "dependencies": { - "@opencode/plugin": "2.1.4", + "@opencode/plugin": "2.2.5", "xdg-basedir": "^5.1.0", }, "devDependencies": { @@ -90,11 +90,11 @@ "@cacheable/utils": ["@cacheable/utils@2.5.0", "", { "dependencies": { "hashery": "^1.5.1", "keyv": "^5.6.0" } }, "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA=="], - "@effect/opentelemetry": ["@effect/opentelemetry@4.0.1", "", { "peerDependencies": { "@opentelemetry/api": ">=1.9.0 <2.0.0", "@opentelemetry/api-logs": ">=0.203.0 <0.300.0", "@opentelemetry/resources": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-logs": ">=0.203.0 <0.300.0", "@opentelemetry/sdk-metrics": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-base": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-node": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-web": ">=2.0.0 <3.0.0", "@opentelemetry/semantic-conventions": ">=1.33.0 <2.0.0", "effect": "^4.0.1" }, "optionalPeers": ["@opentelemetry/api", "@opentelemetry/api-logs", "@opentelemetry/resources", "@opentelemetry/sdk-logs", "@opentelemetry/sdk-metrics", "@opentelemetry/sdk-trace-base", "@opentelemetry/sdk-trace-node", "@opentelemetry/sdk-trace-web"] }, "sha512-MZ7M1a1dxMqTqeNwIGSECjO7RrReEgeEwHo8BnbOqP+8IfVpdiJi/iPCmkFVWlAxanMl4qhsq69e0Hkul9t+bA=="], + "@effect/opentelemetry": ["@effect/opentelemetry@4.0.6", "", { "peerDependencies": { "@opentelemetry/api": ">=1.9.0 <2.0.0", "@opentelemetry/api-logs": ">=0.203.0 <0.300.0", "@opentelemetry/resources": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-logs": ">=0.203.0 <0.300.0", "@opentelemetry/sdk-metrics": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-base": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-node": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-web": ">=2.0.0 <3.0.0", "@opentelemetry/semantic-conventions": ">=1.33.0 <2.0.0", "effect": "^4.0.6" }, "optionalPeers": ["@opentelemetry/api", "@opentelemetry/api-logs", "@opentelemetry/resources", "@opentelemetry/sdk-logs", "@opentelemetry/sdk-metrics", "@opentelemetry/sdk-trace-base", "@opentelemetry/sdk-trace-node", "@opentelemetry/sdk-trace-web"] }, "sha512-xhLR1EN4ZNaKM7Bx59SCFiRNduFzgH8LZXDrCpPN8MpQ93V0GQcFHTBah5T3EXO2v+5HTEacdTgetIA0Creqvw=="], - "@effect/platform-node": ["@effect/platform-node@4.0.1", "", { "dependencies": { "@effect/platform-node-shared": "^4.0.1", "undici": "^8.11.2" }, "peerDependencies": { "effect": "^4.0.1", "redis": ">=5.0.0 <7.0.0" } }, "sha512-FT0Fu5LO0/XP9zBpj0HqrtJNLluK4StNKqf6TSulUsjp8FPBsDVXGJiDuyoN5J2yVMT7tgvhxSwaDcObWVRIaQ=="], + "@effect/platform-node": ["@effect/platform-node@4.0.6", "", { "dependencies": { "@effect/platform-node-shared": "^4.0.6", "undici": "^8.12.2" }, "peerDependencies": { "effect": "^4.0.6", "redis": ">=5.0.0 <7.0.0" } }, "sha512-gXvGHAy0/8PZbWvMMguloDUyeSP+rzYEo3FSEqUuGduxo9ORcGioDxPI+GOLCIFfam7VuNkmSUxBOiRMIrMrBw=="], - "@effect/platform-node-shared": ["@effect/platform-node-shared@4.0.1", "", { "dependencies": { "@types/ws": "^8.18.1", "ws": "^8.22.0" }, "peerDependencies": { "effect": "^4.0.1" } }, "sha512-VanaejudEhKJ4mpmqnEzdncVUhN6sGSO9ZDND54mRxAlZxj+4dYAWjDTYAy9o4tJo9aALeP2U8cVcOFzEdSeLg=="], + "@effect/platform-node-shared": ["@effect/platform-node-shared@4.0.6", "", { "dependencies": { "@types/ws": "^8.18.2", "ws": "^8.22.0" }, "peerDependencies": { "effect": "^4.0.6" } }, "sha512-0PhyC4uG30xGtsajnxjkcBWfTjNRzUh4ZKl1Kvo/MNyCTb+W2O+fBzf7wCRCoqt+nLudiq4V7vX40Q8XIBuMaQ=="], "@emnapi/core": ["@emnapi/core@1.9.2", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" } }, "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA=="], @@ -244,17 +244,17 @@ "@opencode-ai/sdk": ["@opencode-ai/sdk@1.18.34", "", { "dependencies": { "cross-spawn": "7.0.6" } }, "sha512-R9QWUpcngtdQ6FCixz7NC6n1WsSho6CEuRUzYHz/CzZcp3miSklDzXkm0oDwXVCnuEu+ANoeM0f6RDp51kOMzQ=="], - "@opencode/ai": ["@opencode/ai@2.1.4", "", { "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", "@opencode/schema": "2.1.4", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", "effect": "4.0.1", "google-auth-library": "10.5.0" } }, "sha512-980bht1i8xv6hN/TQ+3tGujHuxfduje3jW69SKBvmiDxQBZ468Mk7sR4ztOy3NB/4fbI8iWEYhrcc3GbWWMxrw=="], + "@opencode/ai": ["@opencode/ai@2.2.5", "", { "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", "@opencode/schema": "2.2.5", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", "effect": "4.0.6", "google-auth-library": "10.5.0" } }, "sha512-TolUvNR615vpkc6FPf2np5PbAbO7k1gaVlrtZ5Wx5tN7Y8K2uSer0BZEiajJ2uBsF6RXJFfjjX1GZbcf85GtGQ=="], - "@opencode/client": ["@opencode/client@2.1.4", "", { "dependencies": { "@opencode/protocol": "2.1.4", "@opencode/schema": "2.1.4" }, "peerDependencies": { "effect": "4.0.1", "solid-js": ">=1.9.0" }, "optionalPeers": ["effect", "solid-js"] }, "sha512-xNHP8Xu4wcq4G849Xnbb8IxYxMTzF0TqvohWVUQZH5aURrVHIIbHMfXbZY6s4i4C9kpVbwjXFFwWAo6KIK3oiw=="], + "@opencode/client": ["@opencode/client@2.2.5", "", { "dependencies": { "@opencode/protocol": "2.2.5", "@opencode/schema": "2.2.5" }, "peerDependencies": { "effect": "4.0.6", "solid-js": ">=1.9.0" }, "optionalPeers": ["effect", "solid-js"] }, "sha512-EjYrFGWHURsIbjtmQdIsGSPmYZGaulxqwEfYxQH5t9838508BCIvDX9f7/ZsgNGHYXM0punA3W8hTt6GjxIEaw=="], - "@opencode/plugin": ["@opencode/plugin@2.1.4", "", { "dependencies": { "@ai-sdk/provider": "3.0.8", "@opencode/ai": "2.1.4", "@opencode/client": "2.1.4", "@opencode/protocol": "2.1.4", "@opencode/schema": "2.1.4", "@opencode/util": "2.1.4", "effect": "4.0.1" }, "peerDependencies": { "@opencode/theme": "2.1.4", "@opentui/core": ">=0.6.8", "@opentui/solid": ">=0.6.8", "solid-js": ">=1.9.0" }, "optionalPeers": ["@opencode/theme", "@opentui/core", "@opentui/solid", "solid-js"] }, "sha512-SGAkdGp0VRxos2BEkRiyRl75G7DtuvP0ywgiEiHz1PbdUwUe2EAURMrzFgLCYCpWEm/zaNrguxPDVL0carrCsA=="], + "@opencode/plugin": ["@opencode/plugin@2.2.5", "", { "dependencies": { "@ai-sdk/provider": "3.0.8", "@opencode/ai": "2.2.5", "@opencode/client": "2.2.5", "@opencode/protocol": "2.2.5", "@opencode/schema": "2.2.5", "@opencode/util": "2.2.5", "effect": "4.0.6" }, "peerDependencies": { "@opencode/theme": "2.2.5", "@opentui/core": ">=0.8.0", "@opentui/solid": ">=0.8.0", "electron": "*", "solid-js": ">=1.9.0", "vite": ">=6", "vite-plugin-solid": ">=2.11" }, "optionalPeers": ["@opencode/theme", "@opentui/core", "@opentui/solid", "electron", "solid-js", "vite", "vite-plugin-solid"] }, "sha512-DHtmC55UM5NbtZwyayLxI/ygTMt3n+6xXYYBkOdNxmZ+rLcIbpjmeJvySqdxFmT3K7Pk/2pHsuocxhquu6sysA=="], - "@opencode/protocol": ["@opencode/protocol@2.1.4", "", { "dependencies": { "@opencode/schema": "2.1.4", "effect": "4.0.1" } }, "sha512-dnifgvY6p4xdHkXRH3PEaobfCqrHb1AhihKxPNRNkGn5SueRCFCfK2pZW1GkeC36fGCmcLxlfihuIMaQL1BVzA=="], + "@opencode/protocol": ["@opencode/protocol@2.2.5", "", { "dependencies": { "@opencode/schema": "2.2.5", "effect": "4.0.6" } }, "sha512-T3ET0kS1kj8sv7/d+c1T2he7TXoZ4Rki7zTqHuv8b0kWhg3Vk6o0t+T9KsEQdEat7PFksgH5haC2iSSdJOB7/w=="], - "@opencode/schema": ["@opencode/schema@2.1.4", "", { "dependencies": { "@standard-schema/spec": "1.1.0", "effect": "4.0.1" } }, "sha512-PLr8eFW81Yz6U7YsSgfSUClUUH//8omh3HiXu/L08VX5arorWNAu2uSjoXyHIGkm7TaTbdXBGPmmDfpvrDM2wQ=="], + "@opencode/schema": ["@opencode/schema@2.2.5", "", { "dependencies": { "@standard-schema/spec": "1.1.0", "effect": "4.0.6" } }, "sha512-hlKk6cX28BwvOMOVG3Mtt4tEHxwY68Z6Gz5/cL32N8qfZexykCKsZai49Jms4/2gD8BzvVuBERnnlLDbdLstUA=="], - "@opencode/util": ["@opencode/util@2.1.4", "", { "dependencies": { "@effect/opentelemetry": "4.0.1", "@effect/platform-node": "4.0.1", "@effect/platform-node-shared": "4.0.1", "@npmcli/arborist": "9.4.0", "@npmcli/config": "10.8.1", "@opentelemetry/api": "1.9.0", "@opentelemetry/api-logs": "0.219.0", "@opentelemetry/context-async-hooks": "2.8.0", "@opentelemetry/exporter-trace-otlp-http": "0.219.0", "@opentelemetry/resources": "2.8.0", "@opentelemetry/sdk-logs": "0.219.0", "@opentelemetry/sdk-metrics": "2.8.0", "@opentelemetry/sdk-trace-base": "2.8.0", "@opentelemetry/sdk-trace-node": "2.8.0", "cross-spawn": "7.0.6", "effect": "4.0.1", "glob": "13.0.5", "mime-types": "3.0.2", "minimatch": "10.2.5", "npm-package-arg": "13.0.2", "open": "11.0.4", "pacote": "21.5.1" } }, "sha512-Ihj6DqbnnovgUYSXki4PgvGxNbmB1wggDySIdM55Rz+sTfwFZ+zwROh3PrC4a8Vx/cJ6xQg41Uxa4nbcTbGI4A=="], + "@opencode/util": ["@opencode/util@2.2.5", "", { "dependencies": { "@effect/opentelemetry": "4.0.6", "@effect/platform-node": "4.0.6", "@effect/platform-node-shared": "4.0.6", "@npmcli/arborist": "9.4.0", "@npmcli/config": "10.8.1", "@opentelemetry/api": "1.9.0", "@opentelemetry/api-logs": "0.219.0", "@opentelemetry/context-async-hooks": "2.8.0", "@opentelemetry/exporter-trace-otlp-http": "0.219.0", "@opentelemetry/resources": "2.8.0", "@opentelemetry/sdk-logs": "0.219.0", "@opentelemetry/sdk-metrics": "2.8.0", "@opentelemetry/sdk-trace-base": "2.8.0", "@opentelemetry/sdk-trace-node": "2.8.0", "cross-spawn": "7.0.6", "effect": "4.0.6", "glob": "13.0.5", "mime-types": "3.0.2", "minimatch": "10.2.5", "npm-package-arg": "13.0.2", "open": "11.0.4", "pacote": "21.5.1" } }, "sha512-RqbJ2EwxOs6oQMH1P4Yenkejit0oiAyxBTPXhzx4n6j4SOV0+Duz6lhftlJkAjTbq7Rw2b0Mzx4duOJUdw6s5A=="], "@opentelemetry/api": ["@opentelemetry/api@1.9.0", "", {}, "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg=="], @@ -382,7 +382,7 @@ "@types/node": ["@types/node@26.5.1", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-CzNm2FezW4VR/LjG6yUdiEgLE/rAQ9Slj5gCu/C2VrdcW7I0ahNZ8DRbHT7zOZ6r3ONgd/bsQIeSaoDGrd1C6g=="], - "@types/ws": ["@types/ws@8.18.1", "", { "dependencies": { "@types/node": "*" } }, "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg=="], + "@types/ws": ["@types/ws@8.18.2", "", { "dependencies": { "@types/node": "*" } }, "sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w=="], "@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.70.0", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.70.0", "@typescript-eslint/type-utils": "8.70.0", "@typescript-eslint/utils": "8.70.0", "@typescript-eslint/visitor-keys": "8.70.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.70.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-/v8HZt6RlyIZxB3ntehELOcUcfxKPVGWXnQdJuHRmzrqgF8nQypcC/oxGW+Ot4VGKDq81XugPKxx0n5PBtf9PA=="], @@ -922,11 +922,11 @@ "@aws-crypto/util/@smithy/util-utf8": ["@smithy/util-utf8@2.3.0", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="], - "@effect/opentelemetry/effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="], + "@effect/opentelemetry/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], - "@effect/platform-node/effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="], + "@effect/platform-node/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], - "@effect/platform-node-shared/effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="], + "@effect/platform-node-shared/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], "@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], @@ -940,15 +940,15 @@ "@npmcli/promise-spawn/which": ["which@6.0.1", "", { "dependencies": { "isexe": "^4.0.0" }, "bin": { "node-which": "bin/which.js" } }, "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg=="], - "@opencode/ai/effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="], + "@opencode/ai/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], - "@opencode/plugin/effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="], + "@opencode/plugin/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], - "@opencode/protocol/effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="], + "@opencode/protocol/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], - "@opencode/schema/effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="], + "@opencode/schema/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], - "@opencode/util/effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="], + "@opencode/util/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], "@opencode/util/minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], diff --git a/package-lock.json b/package-lock.json index f94d3b5e..9a754b3e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.1.0", "license": "MIT", "dependencies": { - "@opencode/plugin": "2.1.4", + "@opencode/plugin": "2.2.5", "xdg-basedir": "^5.1.0" }, "devDependencies": { @@ -180,16 +180,16 @@ } }, "node_modules/@aws-sdk/core": { - "version": "3.978.5", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.978.5.tgz", - "integrity": "sha512-ruI0AWqcrfL20XDS6SwZIJFPOBZ6N0ADa9nLzWlBhxk1aoUjbUX3JkTR9vEmk7o35XpAHi68ahZ4T6RE2U9XyA==", + "version": "3.979.1", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.979.1.tgz", + "integrity": "sha512-ayOlV1VhLNMiq8PW9ZkVobG4gkldnUoHjG69yy2b8j+VYFlhz/uAL7ZdYQAoQ+eShtGUdNDnnG5rxDg6yUJrOg==", "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.975.0", - "@aws-sdk/xml-builder": "^3.972.41", + "@aws-sdk/xml-builder": "^3.972.42", "@aws/lambda-invoke-store": "^0.3.0", - "@smithy/core": "^3.36.1", - "@smithy/signature-v4": "^5.7.4", + "@smithy/core": "^3.38.0", + "@smithy/signature-v4": "^5.7.5", "@smithy/types": "^4.19.0", "bowser": "^2.11.0", "tslib": "^2.6.2" @@ -199,14 +199,14 @@ } }, "node_modules/@aws-sdk/credential-provider-cognito-identity": { - "version": "3.972.75", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.972.75.tgz", - "integrity": "sha512-aJdScAJeeXC1cdMDCk8/3eDoHch8o0z+oxlqFALqBK2+hbtSz+hZQ9DhfarXJmva9+FM2gmC5PUJ8BB/HbAqXQ==", + "version": "3.972.79", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.972.79.tgz", + "integrity": "sha512-T64OD+bN7izbhAuPVu+FATwEvki3IsjXICjKrNlhuIijUXuWMfmMU5irN4ytQq2d31Z3rJp5L8sEjZ5L8wMAmg==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/nested-clients": "^3.997.54", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -215,14 +215,14 @@ } }, "node_modules/@aws-sdk/credential-provider-env": { - "version": "3.972.76", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.76.tgz", - "integrity": "sha512-YxmL1Ar7bV9ZkJvtv+lj+MF6le76NnZnbmgySyZuxpZaCv0/1lZ3KxKy6RIj1h9ui2hWnVjZxbmTMeO0y/NrQA==", + "version": "3.972.80", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.80.tgz", + "integrity": "sha512-uO5TiSvb6j1w9RTe5z28OaOmsrOxVQUPaC5+wZl50RfOXcrYD/KgnS8I9lfyGXc7sGbkCopK6VnhNIAoLqfewQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", + "@aws-sdk/core": "^3.979.1", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -231,16 +231,16 @@ } }, "node_modules/@aws-sdk/credential-provider-http": { - "version": "3.972.78", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.78.tgz", - "integrity": "sha512-3VHknDRngoebsaqyT1iR75b5cBT2zfEtODK6yYmYltljkK1HEAQLs2FEd1IpWqAeOYdMGaG9wikngWLTufY7RA==", + "version": "3.972.82", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.82.tgz", + "integrity": "sha512-vQzlDHlC24Yz42p+rT4NBoP/5VdetkBoujbOLq9h6QYWC8THuZSPYnXIR9OP3XcOrdMgPBBipOrdssfxnIiWUg==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", + "@aws-sdk/core": "^3.979.1", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/fetch-http-handler": "^5.8.0", - "@smithy/node-http-handler": "^4.12.1", + "@smithy/node-http-handler": "^4.14.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -249,21 +249,21 @@ } }, "node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.973.21", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.21.tgz", - "integrity": "sha512-aLx9hbCX6mGAyv4ZZd8UagJ4RASHVJw6BFDSIyuKmLkqNL6H47EjBPK6qaJ4B5TDV6mc+vMa0SJFYyo4mkvVQg==", + "version": "3.973.25", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.25.tgz", + "integrity": "sha512-b5xl71uCRdWsu7P1VeGpiGuCf6zfYETsSNOv8AmYVTrsgbvTJRXdmmOPVfxkvGGVNsiKkGctClQW3jAn0SZLug==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", - "@aws-sdk/credential-provider-env": "^3.972.76", - "@aws-sdk/credential-provider-http": "^3.972.78", - "@aws-sdk/credential-provider-login": "^3.972.83", - "@aws-sdk/credential-provider-process": "^3.972.76", - "@aws-sdk/credential-provider-sso": "^3.973.20", - "@aws-sdk/credential-provider-web-identity": "^3.972.82", - "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/core": "^3.979.1", + "@aws-sdk/credential-provider-env": "^3.972.80", + "@aws-sdk/credential-provider-http": "^3.972.82", + "@aws-sdk/credential-provider-login": "^3.972.87", + "@aws-sdk/credential-provider-process": "^3.972.80", + "@aws-sdk/credential-provider-sso": "^3.973.24", + "@aws-sdk/credential-provider-web-identity": "^3.972.86", + "@aws-sdk/nested-clients": "^3.997.54", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/credential-provider-imds": "^4.5.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" @@ -273,15 +273,15 @@ } }, "node_modules/@aws-sdk/credential-provider-login": { - "version": "3.972.83", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.83.tgz", - "integrity": "sha512-9bJU6FjRacF4FK/QHf8Dyxhur7B1grRj8C1Yh4IkpoFW2exQflPdCv0VrbemLW9ZctLNle+AE7TETs9KNvuLYg==", + "version": "3.972.87", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.87.tgz", + "integrity": "sha512-C4ZFmcwM+Zj14Z8huVUk54Gv4uzT1ZdzG9cY3Gdh8FePakq7Bss1OFsgZjAhWFOkFOGpBvFBeu0OWjWf8HNKRQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", - "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/core": "^3.979.1", + "@aws-sdk/nested-clients": "^3.997.54", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -290,19 +290,19 @@ } }, "node_modules/@aws-sdk/credential-provider-node": { - "version": "3.972.88", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.88.tgz", - "integrity": "sha512-AG0KID5qhQPzrFkh5b0Cws1Amytvzo0L0Xj6hMgJXEwD6ZXAqninDhSNAWJiN5zU4YVVZnuidnqwPwYJ04IamA==", + "version": "3.972.92", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.92.tgz", + "integrity": "sha512-jC3zmOo7Qxlk+oBivvSsS1Ph7sFGm0QfuhqDGbqgRXi4cxUYMG+dWtBwS2XYYXgc8TIVXJiwgQ65sbNpbYupTA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/credential-provider-env": "^3.972.76", - "@aws-sdk/credential-provider-http": "^3.972.78", - "@aws-sdk/credential-provider-ini": "^3.973.21", - "@aws-sdk/credential-provider-process": "^3.972.76", - "@aws-sdk/credential-provider-sso": "^3.973.20", - "@aws-sdk/credential-provider-web-identity": "^3.972.82", + "@aws-sdk/credential-provider-env": "^3.972.80", + "@aws-sdk/credential-provider-http": "^3.972.82", + "@aws-sdk/credential-provider-ini": "^3.973.25", + "@aws-sdk/credential-provider-process": "^3.972.80", + "@aws-sdk/credential-provider-sso": "^3.973.24", + "@aws-sdk/credential-provider-web-identity": "^3.972.86", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/credential-provider-imds": "^4.5.2", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" @@ -312,14 +312,14 @@ } }, "node_modules/@aws-sdk/credential-provider-process": { - "version": "3.972.76", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.76.tgz", - "integrity": "sha512-pdhKFTXv1zPYhh92MTlp0jVbLWvUEV9v+rziuEkoskGGQ2iJskxHTO38nA8UAbT/N4IM3n8OZJ9rIY5IBO15/A==", + "version": "3.972.80", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.80.tgz", + "integrity": "sha512-xqfixO5aclje7tbQJDias+iNND5wp/3QZixCdZcVQpgWPTZ0V5DfTW9A804A5Z7ezu7sH3WRO+vzUjtiJBA8yg==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", + "@aws-sdk/core": "^3.979.1", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -328,16 +328,16 @@ } }, "node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.973.20", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.20.tgz", - "integrity": "sha512-DlxrAB3MnjNLx/da7b89W+3DyJQYso/q7Ns15MsST2IV2nkAYQOYTUCaffNSjgrpMP99Dm2mV2jxzcbyF94ZfA==", + "version": "3.973.24", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.24.tgz", + "integrity": "sha512-nlg3BKG03Cgzvv/dMnhxvDJPhAhQSpaN0RUdwgU7ziwkasoev7iI8el8Xy4Rd5sqzgaDUbV269fOXck5SargqA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", - "@aws-sdk/nested-clients": "^3.997.50", - "@aws-sdk/token-providers": "3.1155.0", + "@aws-sdk/core": "^3.979.1", + "@aws-sdk/nested-clients": "^3.997.54", + "@aws-sdk/token-providers": "3.1161.0", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -346,15 +346,15 @@ } }, "node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.972.82", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.82.tgz", - "integrity": "sha512-LUo46IqPTJ4xKBsrLuoaxiv/D2GTBCcFDMD1y3jKIqPR/p7Rw14RJFZ0iRWftqZtyLPQX9JMGnSi3mBu4y/pNA==", + "version": "3.972.86", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.86.tgz", + "integrity": "sha512-zKTyLJBEyfQBVlYqT6Jt+mYV4r8kGbWM7dn6v4Y4MRARizhYafjDXP/iMu76UMRhToSPNmIKX1XAb24gtpBFIA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", - "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/core": "^3.979.1", + "@aws-sdk/nested-clients": "^3.997.54", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -391,17 +391,17 @@ } }, "node_modules/@aws-sdk/nested-clients": { - "version": "3.997.50", - "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.50.tgz", - "integrity": "sha512-nKb8qu4QsnpZTq/6JIXc72mzuzfh7BK4sUQkpQznPec2z4W7Ob2xYkcM4i5e1yGTBnbJVeFv/0sf3jcz85hclA==", + "version": "3.997.54", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.54.tgz", + "integrity": "sha512-/OczlavsS7U5sOodRO10Ug4R/AKFVZiXTstKipWe68EfjPkmdDFNXNl9FCJyXWkg1DG6RBm3qAuVB8FNW9O8KQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", - "@aws-sdk/signature-v4-multi-region": "^3.996.49", + "@aws-sdk/core": "^3.979.1", + "@aws-sdk/signature-v4-multi-region": "^3.996.51", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/fetch-http-handler": "^5.8.0", - "@smithy/node-http-handler": "^4.12.1", + "@smithy/node-http-handler": "^4.14.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -410,13 +410,13 @@ } }, "node_modules/@aws-sdk/signature-v4-multi-region": { - "version": "3.996.49", - "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.49.tgz", - "integrity": "sha512-nvuAZNRrRRVCiARRKsYlQ0VnXiEQiq7vXPH+UA+LSo+kN3Djl9eo/V2r0udkw85PnsNshmv2Em1clld5M3j67w==", + "version": "3.996.51", + "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.51.tgz", + "integrity": "sha512-+aHvUugVBuMPXxgkPfWnTMyGdE/yWS8GHi5+qQ37HowS0YqzrbuaDLznj+Dtmtu5jgCdqz36gXmujOToUhNNWw==", "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.975.0", - "@smithy/signature-v4": "^5.7.4", + "@smithy/signature-v4": "^5.7.5", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -425,15 +425,15 @@ } }, "node_modules/@aws-sdk/token-providers": { - "version": "3.1155.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1155.0.tgz", - "integrity": "sha512-iIcQnYLhWuq9qOLQbIWFrxF3PF0svVeZvHnUS4DUnO4zUFmFHIyGyjqrntXG+e/5PUgfavV0pYfDIKHxTzN2LA==", + "version": "3.1161.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1161.0.tgz", + "integrity": "sha512-ypbXSofNcSHwf/KA40bFCXJb0MLaAKrfT7sot4dFaA+2lsuXNah4zLRJIAU7Qmvs9PFJ6rnY0bZFEC+mE7attA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.978.5", - "@aws-sdk/nested-clients": "^3.997.50", + "@aws-sdk/core": "^3.979.1", + "@aws-sdk/nested-clients": "^3.997.54", "@aws-sdk/types": "^3.975.0", - "@smithy/core": "^3.36.1", + "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -467,9 +467,9 @@ } }, "node_modules/@aws-sdk/xml-builder": { - "version": "3.972.41", - "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.41.tgz", - "integrity": "sha512-ctjVSyCMegrWfXlx6VqzSBFI6UqmQ5ZlnfMhdLIiWmhoH8UAQxSCP5N3OpG7X3k4LnS7ou74C4mt20+bfTW2aQ==", + "version": "3.972.42", + "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.42.tgz", + "integrity": "sha512-smX8/gNP8Kjq+CWTBMZQLQ912vOQjiWExzwzvMO+eujPB5RY8IbtF0AGdUUXHKN7KoDWK9dIcuW0WG269kiP6w==", "license": "Apache-2.0", "dependencies": { "@smithy/types": "^4.19.0", @@ -577,7 +577,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -594,7 +593,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -611,7 +609,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -628,7 +625,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -645,7 +641,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -662,7 +657,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -679,7 +673,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -696,7 +689,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -713,7 +705,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -730,7 +721,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -747,7 +737,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -764,7 +753,6 @@ "cpu": [ "loong64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -781,7 +769,6 @@ "cpu": [ "mips64el" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -798,7 +785,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -815,7 +801,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -832,7 +817,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -849,7 +833,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -866,7 +849,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -883,7 +865,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -900,7 +881,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -917,7 +897,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -934,7 +913,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -951,7 +929,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -968,7 +945,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -985,7 +961,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1002,7 +977,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1625,9 +1599,9 @@ } }, "node_modules/@npmcli/promise-spawn": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-9.0.1.tgz", - "integrity": "sha512-OLUaoqBuyxeTqUvjA3FZFiXUfYC1alp3Sa99gW3EUDz3tZ3CbXDdcZ7qWKBzicrJleIgucoWamWH1saAmH/l2Q==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-9.0.2.tgz", + "integrity": "sha512-h7b1j0egrruBm/32eVA6/zMw5VJxxaB3vT+uVGGQ4SAAMrQVFHNuzL4+EAXn66j+huj0jApINc1fW3fC+kVoeA==", "license": "ISC", "dependencies": { "which": "^6.0.0" @@ -1737,45 +1711,48 @@ } }, "node_modules/@opencode/ai": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@opencode/ai/-/ai-2.1.4.tgz", - "integrity": "sha512-980bht1i8xv6hN/TQ+3tGujHuxfduje3jW69SKBvmiDxQBZ468Mk7sR4ztOy3NB/4fbI8iWEYhrcc3GbWWMxrw==", + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@opencode/ai/-/ai-2.2.5.tgz", + "integrity": "sha512-TolUvNR615vpkc6FPf2np5PbAbO7k1gaVlrtZ5Wx5tN7Y8K2uSer0BZEiajJ2uBsF6RXJFfjjX1GZbcf85GtGQ==", "license": "MIT", "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", - "@opencode/schema": "2.1.4", + "@opencode/schema": "2.2.5", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", - "effect": "4.0.1", + "effect": "4.0.6", "google-auth-library": "10.5.0" } }, "node_modules/@opencode/ai/node_modules/effect": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.1.tgz", - "integrity": "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", + "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", "license": "MIT" }, "node_modules/@opencode/plugin": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@opencode/plugin/-/plugin-2.1.4.tgz", - "integrity": "sha512-SGAkdGp0VRxos2BEkRiyRl75G7DtuvP0ywgiEiHz1PbdUwUe2EAURMrzFgLCYCpWEm/zaNrguxPDVL0carrCsA==", + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@opencode/plugin/-/plugin-2.2.5.tgz", + "integrity": "sha512-DHtmC55UM5NbtZwyayLxI/ygTMt3n+6xXYYBkOdNxmZ+rLcIbpjmeJvySqdxFmT3K7Pk/2pHsuocxhquu6sysA==", "license": "MIT", "dependencies": { "@ai-sdk/provider": "3.0.8", - "@opencode/ai": "2.1.4", - "@opencode/client": "2.1.4", - "@opencode/protocol": "2.1.4", - "@opencode/schema": "2.1.4", - "@opencode/util": "2.1.4", - "effect": "4.0.1" + "@opencode/ai": "2.2.5", + "@opencode/client": "2.2.5", + "@opencode/protocol": "2.2.5", + "@opencode/schema": "2.2.5", + "@opencode/util": "2.2.5", + "effect": "4.0.6" }, "peerDependencies": { - "@opencode/theme": "2.1.4", - "@opentui/core": ">=0.6.8", - "@opentui/solid": ">=0.6.8", - "solid-js": ">=1.9.0" + "@opencode/theme": "2.2.5", + "@opentui/core": ">=0.8.0", + "@opentui/solid": ">=0.8.0", + "electron": "*", + "solid-js": ">=1.9.0", + "vite": ">=6", + "vite-plugin-solid": ">=2.11" }, "peerDependenciesMeta": { "@opencode/theme": { @@ -1787,22 +1764,31 @@ "@opentui/solid": { "optional": true }, + "electron": { + "optional": true + }, "solid-js": { "optional": true + }, + "vite": { + "optional": true + }, + "vite-plugin-solid": { + "optional": true } } }, "node_modules/@opencode/plugin/node_modules/@opencode/client": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@opencode/client/-/client-2.1.4.tgz", - "integrity": "sha512-xNHP8Xu4wcq4G849Xnbb8IxYxMTzF0TqvohWVUQZH5aURrVHIIbHMfXbZY6s4i4C9kpVbwjXFFwWAo6KIK3oiw==", + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@opencode/client/-/client-2.2.5.tgz", + "integrity": "sha512-EjYrFGWHURsIbjtmQdIsGSPmYZGaulxqwEfYxQH5t9838508BCIvDX9f7/ZsgNGHYXM0punA3W8hTt6GjxIEaw==", "license": "MIT", "dependencies": { - "@opencode/protocol": "2.1.4", - "@opencode/schema": "2.1.4" + "@opencode/protocol": "2.2.5", + "@opencode/schema": "2.2.5" }, "peerDependencies": { - "effect": "4.0.1", + "effect": "4.0.6", "solid-js": ">=1.9.0" }, "peerDependenciesMeta": { @@ -1815,52 +1801,52 @@ } }, "node_modules/@opencode/plugin/node_modules/effect": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.1.tgz", - "integrity": "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", + "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", "license": "MIT" }, "node_modules/@opencode/protocol": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@opencode/protocol/-/protocol-2.1.4.tgz", - "integrity": "sha512-dnifgvY6p4xdHkXRH3PEaobfCqrHb1AhihKxPNRNkGn5SueRCFCfK2pZW1GkeC36fGCmcLxlfihuIMaQL1BVzA==", + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@opencode/protocol/-/protocol-2.2.5.tgz", + "integrity": "sha512-T3ET0kS1kj8sv7/d+c1T2he7TXoZ4Rki7zTqHuv8b0kWhg3Vk6o0t+T9KsEQdEat7PFksgH5haC2iSSdJOB7/w==", "license": "MIT", "dependencies": { - "@opencode/schema": "2.1.4", - "effect": "4.0.1" + "@opencode/schema": "2.2.5", + "effect": "4.0.6" } }, "node_modules/@opencode/protocol/node_modules/effect": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.1.tgz", - "integrity": "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", + "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", "license": "MIT" }, "node_modules/@opencode/schema": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@opencode/schema/-/schema-2.1.4.tgz", - "integrity": "sha512-PLr8eFW81Yz6U7YsSgfSUClUUH//8omh3HiXu/L08VX5arorWNAu2uSjoXyHIGkm7TaTbdXBGPmmDfpvrDM2wQ==", + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@opencode/schema/-/schema-2.2.5.tgz", + "integrity": "sha512-hlKk6cX28BwvOMOVG3Mtt4tEHxwY68Z6Gz5/cL32N8qfZexykCKsZai49Jms4/2gD8BzvVuBERnnlLDbdLstUA==", "license": "MIT", "dependencies": { "@standard-schema/spec": "1.1.0", - "effect": "4.0.1" + "effect": "4.0.6" } }, "node_modules/@opencode/schema/node_modules/effect": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.1.tgz", - "integrity": "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", + "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", "license": "MIT" }, "node_modules/@opencode/util": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@opencode/util/-/util-2.1.4.tgz", - "integrity": "sha512-Ihj6DqbnnovgUYSXki4PgvGxNbmB1wggDySIdM55Rz+sTfwFZ+zwROh3PrC4a8Vx/cJ6xQg41Uxa4nbcTbGI4A==", + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@opencode/util/-/util-2.2.5.tgz", + "integrity": "sha512-RqbJ2EwxOs6oQMH1P4Yenkejit0oiAyxBTPXhzx4n6j4SOV0+Duz6lhftlJkAjTbq7Rw2b0Mzx4duOJUdw6s5A==", "license": "MIT", "dependencies": { - "@effect/opentelemetry": "4.0.1", - "@effect/platform-node": "4.0.1", - "@effect/platform-node-shared": "4.0.1", + "@effect/opentelemetry": "4.0.6", + "@effect/platform-node": "4.0.6", + "@effect/platform-node-shared": "4.0.6", "@npmcli/arborist": "9.4.0", "@npmcli/config": "10.8.1", "@opentelemetry/api": "1.9.0", @@ -1873,7 +1859,7 @@ "@opentelemetry/sdk-trace-base": "2.8.0", "@opentelemetry/sdk-trace-node": "2.8.0", "cross-spawn": "7.0.6", - "effect": "4.0.1", + "effect": "4.0.6", "glob": "13.0.5", "mime-types": "3.0.2", "minimatch": "10.2.5", @@ -1883,9 +1869,9 @@ } }, "node_modules/@opencode/util/node_modules/@effect/opentelemetry": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@effect/opentelemetry/-/opentelemetry-4.0.1.tgz", - "integrity": "sha512-MZ7M1a1dxMqTqeNwIGSECjO7RrReEgeEwHo8BnbOqP+8IfVpdiJi/iPCmkFVWlAxanMl4qhsq69e0Hkul9t+bA==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@effect/opentelemetry/-/opentelemetry-4.0.6.tgz", + "integrity": "sha512-xhLR1EN4ZNaKM7Bx59SCFiRNduFzgH8LZXDrCpPN8MpQ93V0GQcFHTBah5T3EXO2v+5HTEacdTgetIA0Creqvw==", "license": "MIT", "engines": { "node": ">=18.0.0" @@ -1900,7 +1886,7 @@ "@opentelemetry/sdk-trace-node": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-web": ">=2.0.0 <3.0.0", "@opentelemetry/semantic-conventions": ">=1.33.0 <2.0.0", - "effect": "^4.0.1" + "effect": "^4.0.6" }, "peerDependenciesMeta": { "@opentelemetry/api": { @@ -1930,42 +1916,42 @@ } }, "node_modules/@opencode/util/node_modules/@effect/platform-node": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@effect/platform-node/-/platform-node-4.0.1.tgz", - "integrity": "sha512-FT0Fu5LO0/XP9zBpj0HqrtJNLluK4StNKqf6TSulUsjp8FPBsDVXGJiDuyoN5J2yVMT7tgvhxSwaDcObWVRIaQ==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@effect/platform-node/-/platform-node-4.0.6.tgz", + "integrity": "sha512-gXvGHAy0/8PZbWvMMguloDUyeSP+rzYEo3FSEqUuGduxo9ORcGioDxPI+GOLCIFfam7VuNkmSUxBOiRMIrMrBw==", "license": "MIT", "dependencies": { - "@effect/platform-node-shared": "^4.0.1", - "undici": "^8.11.2" + "@effect/platform-node-shared": "^4.0.6", + "undici": "^8.12.2" }, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "effect": "^4.0.1", + "effect": "^4.0.6", "redis": ">=5.0.0 <7.0.0" } }, "node_modules/@opencode/util/node_modules/@effect/platform-node-shared": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@effect/platform-node-shared/-/platform-node-shared-4.0.1.tgz", - "integrity": "sha512-VanaejudEhKJ4mpmqnEzdncVUhN6sGSO9ZDND54mRxAlZxj+4dYAWjDTYAy9o4tJo9aALeP2U8cVcOFzEdSeLg==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@effect/platform-node-shared/-/platform-node-shared-4.0.6.tgz", + "integrity": "sha512-0PhyC4uG30xGtsajnxjkcBWfTjNRzUh4ZKl1Kvo/MNyCTb+W2O+fBzf7wCRCoqt+nLudiq4V7vX40Q8XIBuMaQ==", "license": "MIT", "dependencies": { - "@types/ws": "^8.18.1", + "@types/ws": "^8.18.2", "ws": "^8.22.0" }, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "effect": "^4.0.1" + "effect": "^4.0.6" } }, "node_modules/@opencode/util/node_modules/effect": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.1.tgz", - "integrity": "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", + "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", "license": "MIT" }, "node_modules/@opencode/util/node_modules/minimatch": { @@ -2182,9 +2168,9 @@ } }, "node_modules/@opentelemetry/semantic-conventions": { - "version": "1.43.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.43.0.tgz", - "integrity": "sha512-eSYWTm620tTk45EKSedaUL8MFYI8hW164hIXsgIHyxu3VobUB3fFCu5t0hQby6OoWRPsG1KkKUG2M5UadiLiVg==", + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.44.0.tgz", + "integrity": "sha512-E3JkOlMBi3N8OGGkbl7tFyqk2MAS6/lySRZBK3Mu7AzjF1fT8oIChH9ChE48SUWzDn9Kdwta+G/p5LJ4xW4CLQ==", "license": "Apache-2.0", "engines": { "node": ">=14" @@ -2194,7 +2180,7 @@ "version": "0.154.0", "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.154.0.tgz", "integrity": "sha512-KYOUGQFlLWR+s4QMV2Q9ko38TZm7EdO87Qm7rvZLqk/webse/cDjtyxKhg/47l0byCbs/k46LT8qc4PKjAikzA==", - "dev": true, + "devOptional": true, "license": "MIT", "peer": true, "funding": { @@ -2212,22 +2198,22 @@ } }, "node_modules/@redis/bloom": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@redis/bloom/-/bloom-6.3.0.tgz", - "integrity": "sha512-NQ5poYpZr0jv6zazN1cy6JY5kIipKFZ3R9GTL4kOUTX3a9YAfY29U8bsE4lWhVQEM+G4V0BXVC57mubIdDijeA==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@redis/bloom/-/bloom-6.3.1.tgz", + "integrity": "sha512-dpF9j2yJDoPzSCaZn0MSB3xzmnXQVJeTSAWJcQVcgbmluwhpFeemmII0cF1t+WYfoVS+shEFq79+MmUItgzJLg==", "license": "MIT", "peer": true, "engines": { "node": ">= 20.0.0" }, "peerDependencies": { - "@redis/client": "^6.3.0" + "@redis/client": "^6.3.1" } }, "node_modules/@redis/client": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@redis/client/-/client-6.3.0.tgz", - "integrity": "sha512-fHrjwGCBvAANGi+TuRuwKi83sIOzgHr8eh+Uf48w3fSX7Hhrz174NrWqfJhAC2vnN0d/tfaZpdr6+o6JC3QHwg==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@redis/client/-/client-6.3.1.tgz", + "integrity": "sha512-masbfVKULdoAofwddepZxRhWa4w6zvBHn6TRn90TRPrRkVIlGCur3pFqwWaCbMxtYI9twepkz63e/T/tEH8GjA==", "license": "MIT", "peer": true, "engines": { @@ -2247,42 +2233,42 @@ } }, "node_modules/@redis/json": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@redis/json/-/json-6.3.0.tgz", - "integrity": "sha512-yt6vRfPBXtW/3qm53cF81TSQpLMjWdW4/2E9WQ2GgbvsKkuCKCFQIcMiKlil1ZMnezK+IQuS795xKU5psbaegw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@redis/json/-/json-6.3.1.tgz", + "integrity": "sha512-fMz4kUwJzEftcU9EMaqsjZcUwzpTQLOYRqhQsAD6uKvZWeamblK13ZhgO5SzVSZVk31jmwLeTRpU5GAl5egfUw==", "license": "MIT", "peer": true, "engines": { "node": ">= 20.0.0" }, "peerDependencies": { - "@redis/client": "^6.3.0" + "@redis/client": "^6.3.1" } }, "node_modules/@redis/search": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@redis/search/-/search-6.3.0.tgz", - "integrity": "sha512-RPXAZmKjZZG7Tm7m1w9keFdXzbL91PiSHQBfQRe9xwW40jNsTRbG0FwhIz4QlHPU4gKDAsCy8IQHj4yZl4H9rw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@redis/search/-/search-6.3.1.tgz", + "integrity": "sha512-T67pvPUpW82VrZLvihO8O2DFMC7eY2oMAzMzapCbiPZn7mdWqHMEIlohYim12gIawT5kn6qT/Cvmm4WulKB+kQ==", "license": "MIT", "peer": true, "engines": { "node": ">= 20.0.0" }, "peerDependencies": { - "@redis/client": "^6.3.0" + "@redis/client": "^6.3.1" } }, "node_modules/@redis/time-series": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@redis/time-series/-/time-series-6.3.0.tgz", - "integrity": "sha512-+fJOB8mN1z5WRakCJNh5lVdz1KqvHGSOistsKeitD24QsCtPwyRQXWC0iq6T/i/ubLE/YcguZqPm8F598MKk4A==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@redis/time-series/-/time-series-6.3.1.tgz", + "integrity": "sha512-MNDgrm+i63M/1a+XA+HcDsScwt4uBh/fGGJ84swTQZTFK5K5wMmxdlTRa4ZgmNJzjxMaszW/ipPScMUGV3aAMg==", "license": "MIT", "peer": true, "engines": { "node": ">= 20.0.0" }, "peerDependencies": { - "@redis/client": "^6.3.0" + "@redis/client": "^6.3.1" } }, "node_modules/@rolldown/binding-android-arm-eabi": { @@ -2292,7 +2278,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2310,7 +2295,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2328,7 +2312,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2346,7 +2329,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2364,7 +2346,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2382,7 +2363,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2400,7 +2380,6 @@ "cpu": [ "arm64" ], - "dev": true, "libc": [ "glibc" ], @@ -2421,7 +2400,6 @@ "cpu": [ "arm64" ], - "dev": true, "libc": [ "musl" ], @@ -2442,7 +2420,6 @@ "cpu": [ "ppc64" ], - "dev": true, "libc": [ "glibc" ], @@ -2463,7 +2440,6 @@ "cpu": [ "s390x" ], - "dev": true, "libc": [ "glibc" ], @@ -2484,7 +2460,6 @@ "cpu": [ "x64" ], - "dev": true, "libc": [ "glibc" ], @@ -2505,7 +2480,6 @@ "cpu": [ "x64" ], - "dev": true, "libc": [ "musl" ], @@ -2526,7 +2500,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2544,7 +2517,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2562,7 +2534,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2577,7 +2548,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", - "dev": true, + "devOptional": true, "license": "MIT", "peer": true }, @@ -2656,9 +2627,9 @@ } }, "node_modules/@smithy/core": { - "version": "3.36.2", - "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.36.2.tgz", - "integrity": "sha512-oRw0rB9QSUiCZfEs23G5F4Af+b2rQt1lItIICWu5IejFNd+uPM8SWqiKLMpQ6bX1Q7slsLbjuoE2niErFtkVPQ==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.38.1.tgz", + "integrity": "sha512-U/mB2XiwTLaf+NSgLSWwJfptsMT/H8aBi0aTAA/E5e2/TagFeGCqAyhKGG0w0A9IWTkm4qYEmLoD/HB6aYfnRA==", "license": "Apache-2.0", "dependencies": { "@smithy/types": "^4.19.0", @@ -2724,13 +2695,13 @@ } }, "node_modules/@smithy/node-http-handler": { - "version": "4.12.1", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.12.1.tgz", - "integrity": "sha512-ThMkboGeONWXAelq9FvGsuJC4rOi+qyC4/zhUF58xYpxUg5sQKx2VXZYJmtNjr4dSuBJ1HeJXETQILCz3wOHvw==", + "version": "4.14.1", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.1.tgz", + "integrity": "sha512-/T6E1jzCL0fErS9uq8JqES/5yYQQ4ppVmmYHwXw2nlov8KFzLb+3QqHR5iAun1BsuAB50IPxZliV8YMgghLwhA==", "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.33.3", - "@smithy/types": "^4.18.0", + "@smithy/core": "^3.38.1", + "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, "engines": { @@ -2738,12 +2709,12 @@ } }, "node_modules/@smithy/signature-v4": { - "version": "5.7.4", - "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.7.4.tgz", - "integrity": "sha512-tHy0K0VtqNd5Y7Y41h0a0Lhh0L1GzC08dTWg0F7vRJWFtTENg7IZikf3wQkanYIRdb7ngoIPMTmqgUi401fEeQ==", + "version": "5.7.5", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.7.5.tgz", + "integrity": "sha512-WPjdr5oWOk1LArpI4pavu+fSo+/evi0Re1olxGvqwuZopd4gYR1UGCi+Soyn/IjmafqbWs+ZC+3AKxJS3ZpwUg==", "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.35.0", + "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" }, @@ -3262,9 +3233,9 @@ } }, "node_modules/ansi-regex": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", - "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.5.0.tgz", + "integrity": "sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ==", "license": "MIT", "engines": { "node": ">=12" @@ -3352,9 +3323,9 @@ } }, "node_modules/bin-links": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-6.0.2.tgz", - "integrity": "sha512-frE1t78WOwJ45PKV2cF2tNPjTcs9L1J9s6VkrV59wanRP4GlaomuxYPVma7BwthMg8WnfSory4w5PTE6FZZ81w==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-6.0.3.tgz", + "integrity": "sha512-Qg5FD7/YSReWJB1zaM8VIi1l4O637JKK/WPaF/JzJGy/9FcMDWtSklF0dOX5S9X2OMrPGhifIHIKuwtHG0IGFg==", "license": "ISC", "dependencies": { "cmd-shim": "^8.0.0", @@ -3368,9 +3339,9 @@ } }, "node_modules/bowser": { - "version": "2.14.1", - "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.14.1.tgz", - "integrity": "sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.15.0.tgz", + "integrity": "sha512-xic6KSZglg/I4ymp45fdM4GWfYpBK79Fxd/TOvJktlaPgQqqDxvmGwOPZl2V0dyeS3Lj5c180bLhXF43iyAjZQ==", "license": "MIT" }, "node_modules/brace-expansion": { @@ -3623,7 +3594,7 @@ }, "node_modules/detect-libc": { "version": "2.1.2", - "dev": true, + "devOptional": true, "license": "Apache-2.0", "engines": { "node": ">=8" @@ -3689,7 +3660,7 @@ "version": "0.28.2", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", - "dev": true, + "devOptional": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -4108,7 +4079,6 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -4385,9 +4355,9 @@ } }, "node_modules/ip-address": { - "version": "10.7.4", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.4.tgz", - "integrity": "sha512-DWBMKyeM25D70nrIiTkgQth59/G+naKOTep6huF9j+GmeK3DMD60Zvxg5d5qQnz+38AHgou6ean2LECX+lrKDg==", + "version": "10.7.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.5.tgz", + "integrity": "sha512-t2v0rkILYv9WXmSL7TpAaU3HXgaFYOPUcH3QHgwQ++gpJuH3bqyMy4Fvt/DJCTKwzH3Cf+bAp5W/mFL39KPLzA==", "license": "MIT", "engines": { "node": ">= 12" @@ -4635,7 +4605,7 @@ "version": "1.33.0", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", - "dev": true, + "devOptional": true, "license": "MPL-2.0", "peer": true, "dependencies": { @@ -4669,7 +4639,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4691,7 +4660,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4713,7 +4681,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4735,7 +4702,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4757,7 +4723,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4779,7 +4744,6 @@ "cpu": [ "arm64" ], - "dev": true, "libc": [ "glibc" ], @@ -4804,7 +4768,6 @@ "cpu": [ "arm64" ], - "dev": true, "libc": [ "musl" ], @@ -4829,7 +4792,6 @@ "cpu": [ "x64" ], - "dev": true, "libc": [ "glibc" ], @@ -4854,7 +4816,6 @@ "cpu": [ "x64" ], - "dev": true, "libc": [ "musl" ], @@ -4879,7 +4840,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4901,7 +4861,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -5198,7 +5157,7 @@ "version": "3.3.20", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", - "dev": true, + "devOptional": true, "funding": [ { "type": "github", @@ -5633,7 +5592,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "dev": true, + "devOptional": true, "license": "ISC", "peer": true }, @@ -5653,7 +5612,7 @@ "version": "8.5.30", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.30.tgz", "integrity": "sha512-zkd+e9S1AQHhmaBKye9zlFHWjOwVgqXl1q3ECYy8561K7qxR2cREf/STLskulBFd78k6AOFeA+ff1TtEzk9bAA==", - "dev": true, + "devOptional": true, "funding": [ { "type": "opencollective", @@ -5807,17 +5766,17 @@ } }, "node_modules/redis": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/redis/-/redis-6.3.0.tgz", - "integrity": "sha512-XFQbPie1lGpKeUZ8ySYY43yLnQy/iIQtHNvIr/1XdaABpb96rUSdm3Mfl+98FEVbv9ZJIzINMno5s0Nh8E5LEw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/redis/-/redis-6.3.1.tgz", + "integrity": "sha512-mV96ZKxQ4CGn3SyEGaY0Lb9YA443mdVey3c+mdr0NAUaBxiOZGoYCWX8PoM55kictSOmxlJRtZJxIsmZm3jL+w==", "license": "MIT", "peer": true, "dependencies": { - "@redis/bloom": "6.3.0", - "@redis/client": "6.3.0", - "@redis/json": "6.3.0", - "@redis/search": "6.3.0", - "@redis/time-series": "6.3.0" + "@redis/bloom": "6.3.1", + "@redis/client": "6.3.1", + "@redis/json": "6.3.1", + "@redis/search": "6.3.1", + "@redis/time-series": "6.3.1" }, "engines": { "node": ">= 20.0.0" @@ -5915,7 +5874,7 @@ "version": "1.2.14", "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.14.tgz", "integrity": "sha512-eTBTTqMR6uHKLgcUqpJP8ntzDI6V4LYA8negAMBEI7gkgVvOdrx6VsvS2Ym+83KhOPdLCHWJu0w7UQFJZhHKNw==", - "dev": true, + "devOptional": true, "license": "MIT", "peer": true, "dependencies": { @@ -6085,7 +6044,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", - "dev": true, + "devOptional": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -6323,9 +6282,9 @@ } }, "node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", "license": "0BSD" }, "node_modules/tuf-js": { @@ -6449,7 +6408,7 @@ "version": "8.3.4", "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.4.tgz", "integrity": "sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==", - "dev": true, + "devOptional": true, "license": "MIT", "peer": true, "dependencies": { @@ -6765,9 +6724,9 @@ } }, "node_modules/ws": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz", - "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==", + "version": "8.22.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz", + "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -6826,7 +6785,7 @@ "version": "2.9.0", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", - "dev": true, + "devOptional": true, "license": "ISC", "bin": { "yaml": "bin.mjs" diff --git a/package.json b/package.json index cfb1cccb..05802e6d 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "url": "git+https://github.com/yuhp/opencode-models-discovery.git" }, "dependencies": { - "@opencode/plugin": "2.1.4", + "@opencode/plugin": "2.2.5", "xdg-basedir": "^5.1.0" }, "peerDependencies": { From f0fefdf96361a8d03c4e5d1b4fc5a731805ee945 Mon Sep 17 00:00:00 2001 From: Haipeng Yu Date: Wed, 4 Nov 2026 12:14:10 +0800 Subject: [PATCH 13/29] docs: update plugin examples to v2.1.1 (#189) --- README.md | 4 ++-- docs/config_example/a2agent.md | 2 +- docs/config_example/ai-router.md | 2 +- docs/config_example/deepseek.md | 2 +- docs/configuration.md | 6 +++--- docs/connect-and-auth.md | 4 ++-- docs/migrate-v1-to-v2.md | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 81155e82..f3a41337 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ OpenCode v2 uses `plugins` and `providers`. Discovery settings belong under `pro { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "gateway": { @@ -73,7 +73,7 @@ For OpenCode v1 (`1.18.29+`), use `plugin`, `provider`, and `options`: ```json { "$schema": "https://opencode.ai/config.json", - "plugin": ["opencode-models-discovery@2.1.0"], + "plugin": ["opencode-models-discovery@2.1.1"], "provider": { "lmstudio": { "npm": "@ai-sdk/openai-compatible", diff --git a/docs/config_example/a2agent.md b/docs/config_example/a2agent.md index 8f37b36f..9e6580d4 100644 --- a/docs/config_example/a2agent.md +++ b/docs/config_example/a2agent.md @@ -12,7 +12,7 @@ This project is not affiliated with, endorsed by, or sponsored by [A2Agent](http { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "a2agent": { diff --git a/docs/config_example/ai-router.md b/docs/config_example/ai-router.md index 0daf6c8a..aad8e85f 100644 --- a/docs/config_example/ai-router.md +++ b/docs/config_example/ai-router.md @@ -12,7 +12,7 @@ This project is not affiliated with, endorsed by, or sponsored by [AI-ROUTER](ht { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "ai-router": { diff --git a/docs/config_example/deepseek.md b/docs/config_example/deepseek.md index 7a8a54c9..42b8a8e2 100644 --- a/docs/config_example/deepseek.md +++ b/docs/config_example/deepseek.md @@ -12,7 +12,7 @@ This project is not affiliated with, endorsed by, or sponsored by DeepSeek. { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "deepseek": { diff --git a/docs/configuration.md b/docs/configuration.md index 7b6db6ce..5618b8d8 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -14,7 +14,7 @@ OpenCode v2 uses `plugins` and `providers`. The plugin can be declared directly { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "my-provider": { @@ -727,7 +727,7 @@ For providers with custom metadata paths or non-standard behavior: { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "lmstudio": { @@ -776,7 +776,7 @@ In this example: { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "ollama": { diff --git a/docs/connect-and-auth.md b/docs/connect-and-auth.md index 564081b2..24f80946 100644 --- a/docs/connect-and-auth.md +++ b/docs/connect-and-auth.md @@ -18,7 +18,7 @@ OpenCode v2 features a first-class Integration subsystem (`ctx.integration`) and { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "deepseek-custom": { @@ -83,7 +83,7 @@ OpenCode v1 does not have the V2 plugin integration API. Instead, the V1 adapter { "$schema": "https://opencode.ai/config.json", "plugin": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "provider": { "test_provider": { diff --git a/docs/migrate-v1-to-v2.md b/docs/migrate-v1-to-v2.md index bfda6025..080c170d 100644 --- a/docs/migrate-v1-to-v2.md +++ b/docs/migrate-v1-to-v2.md @@ -9,7 +9,7 @@ OpenCode v2 is the stable, primary integration. The package contains separate ad | OpenCode v1 | OpenCode v2 | |---|---| | `plugin` | `plugins` | -| `plugin: ["opencode-models-discovery"]` | `plugins: ["opencode-models-discovery@2.1.0"]` | +| `plugin: ["opencode-models-discovery"]` | `plugins: ["opencode-models-discovery@2.1.1"]` | | `provider` | `providers` | | `provider..npm` | `providers..package` | | `provider..options` | `providers..settings` | @@ -64,7 +64,7 @@ The V1 package commonly uses: { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.1" ], "providers": { "gateway": { From 8592be0b7f669d7360a34b9ee743e0d7ce49ad5d Mon Sep 17 00:00:00 2001 From: Simone Scarduzio Date: Fri, 6 Nov 2026 23:07:05 +0100 Subject: [PATCH 14/29] feat: add opt-in pruneMissing for models the provider no longer lists Discovery only adds models, so built-in catalog entries stay listed after the provider drops them. pruneMissing removes them, and an empty inventory never prunes. Co-Authored-By: Claude Opus 5.5 --- docs/configuration.md | 1 + src/v2/catalog.ts | 7 +++++- src/v2/index.ts | 1 + src/v2/provider-config.ts | 2 ++ test/v2/catalog.test.ts | 50 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 60 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 5618b8d8..046c2147 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -119,6 +119,7 @@ Each provider can configure discovery behavior through `provider..options. | `provider..options.modelsDiscovery.modelInfoEndpoint` | `string` | Override a format-specific metadata endpoint as an origin-relative path or complete URL. Defaults to `/v1/model/info` for `"litellm"`, `/api/v1/models` for `"lmstudio"`, and `/api/show` for `"ollama"`; for `"aiproxy"`, it overrides the models.dev fallback URL | | `provider..options.modelsDiscovery.modelInfoFormat` | `string` | Model info response format. Currently supports `"aiproxy"`, `"bifrost"`, `"litellm"`, `"models.dev"`, `"vllm"`, `"lmstudio"`, `"llama-swap"`, `"omniroute"`, `"openrouter"`, and `"ollama"` | | `provider..options.modelsDiscovery.filterNonChat` | `boolean` | When model info is available, skip models whose `model_info.mode` is not `chat`. Defaults to `true` | +| `provider..options.modelsDiscovery.pruneMissing` | `boolean` | OpenCode v2 only. Remove built-in catalog models that the provider's models endpoint doesn't list, including ones excluded by the filters below. Models declared in your config stay. A failed refresh reuses the last successful list, and nothing is removed until one succeeds. Defaults to `false` | | `provider..options.modelsDiscovery.models.includeRegex` | `string[]` | Shortcut regex allow-list for discovered model ids only | | `provider..options.modelsDiscovery.models.excludeRegex` | `string[]` | Shortcut regex deny-list for discovered model ids only | | `provider..options.modelsDiscovery.models.includeBy` | `{ field: string, equals: string \| number \| boolean \| null }[]` or `{ field: string, match: string }[]` | Allow-list for top-level raw provider model fields | diff --git a/src/v2/catalog.ts b/src/v2/catalog.ts index ab15a58b..78d7e969 100644 --- a/src/v2/catalog.ts +++ b/src/v2/catalog.ts @@ -34,6 +34,7 @@ export interface ConfiguredProvider { readonly package: string readonly settings: Record readonly apiKey?: string + readonly pruneMissing?: boolean } type ProviderContext = Pick @@ -101,7 +102,11 @@ export function createProviderController( const models = inventory.get(provider.id) if (!models) continue const source = editor.get(providerID) - const existing = source ? [...source.models.values()] : [] + const sourceModels = source ? [...source.models.values()] : [] + // An empty inventory is what a failed first request looks like, so it must never prune. + const existing = provider.pruneMissing && models.size > 0 + ? sourceModels.filter((model) => models.has(String(model.id))) + : sourceModels const existingIDs = new Set(existing.map((model) => String(model.id))) editor.models.set(providerID, [ ...existing, diff --git a/src/v2/index.ts b/src/v2/index.ts index a775cd53..a93f8f9f 100644 --- a/src/v2/index.ts +++ b/src/v2/index.ts @@ -53,6 +53,7 @@ async function configuredProviders(ctx: Plugin.Context): Promise<{ name: typeof entry.name === "string" ? entry.name : undefined, package: entry.package, settings, + pruneMissing: parsed.pruneMissing, }) discovery.set(entry.id, parsed) } diff --git a/src/v2/provider-config.ts b/src/v2/provider-config.ts index 3b69e786..e12d5e8c 100644 --- a/src/v2/provider-config.ts +++ b/src/v2/provider-config.ts @@ -18,6 +18,7 @@ export interface ProviderDiscoveryOptions { readonly modelInfoFormat?: ModelInfoFormat readonly modelInfoEndpoint?: string readonly filterNonChat: boolean + readonly pruneMissing: boolean readonly cache?: { readonly enabled: boolean readonly ttlSeconds: number @@ -106,6 +107,7 @@ export function parseProviderDiscoveryOptions(raw: unknown): ProviderDiscoveryOp modelInfoFormat, modelInfoEndpoint, filterNonChat, + pruneMissing: value.pruneMissing === true, cache, } } diff --git a/test/v2/catalog.test.ts b/test/v2/catalog.test.ts index 9a4b750c..10527682 100644 --- a/test/v2/catalog.test.ts +++ b/test/v2/catalog.test.ts @@ -66,6 +66,56 @@ describe("V2 provider controller", () => { expect(added[0]?.info.settings).toBeUndefined() }) + describe("pruneMissing", () => { + function run(pruneMissing: boolean) { + const set = vi.fn() + const kept = { id: "both", modelID: "both" } + const stale = { id: "stale", modelID: "stale" } + const controller = createProviderController( + { provider: { reload: vi.fn() } } as never, + [{ ...provider(), pruneMissing }], + (id) => `integration.${id}`, + ) + const editor = { + get: vi.fn().mockReturnValue({ + provider: { id: "local" }, + models: new Map([["both", kept], ["stale", stale]]), + }), + add: vi.fn(), + update: vi.fn(), + models: { set }, + } + return { controller, editor, set, kept, stale } + } + + function discovered(...ids: string[]): Inventory { + const models = inventory(ids[0]).get("local")! + for (const id of ids.slice(1)) models.set(id, { ...models.get(ids[0])!, id, modelID: id }) + return new Map([["local", models]]) + } + + it("removes source models the provider no longer lists and keeps source metadata for the rest", async () => { + const { controller, editor, set, kept } = run(true) + await controller.replaceInventory(discovered("both", "new")) + controller.transform(editor as never) + expect(set).toHaveBeenCalledWith("local", [kept, expect.objectContaining({ modelID: "new" })]) + }) + + it("keeps source models when the option is off", async () => { + const { controller, editor, set, kept, stale } = run(false) + await controller.replaceInventory(discovered("both")) + controller.transform(editor as never) + expect(set).toHaveBeenCalledWith("local", [kept, stale]) + }) + + it("does not prune when the inventory is empty, as after a failed first request", async () => { + const { controller, editor, set, kept, stale } = run(true) + await controller.replaceInventory(new Map([["local", new Map()]])) + controller.transform(editor as never) + expect(set).toHaveBeenCalledWith("local", [kept, stale]) + }) + }) + it("preserves existing source models when adding discovered models", async () => { const set = vi.fn() const existing = { modelID: "explicit-model" } From d690b034ca8ecee66e63ef265a97e1dbecf3ae76 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Nov 2026 10:58:33 +0800 Subject: [PATCH 15/29] build(deps): bump hashgraph-online/ai-plugin-scanner-action (#193) Bumps [hashgraph-online/ai-plugin-scanner-action](https://github.com/hashgraph-online/ai-plugin-scanner-action) from 1.2.813 to 1.2.816. - [Release notes](https://github.com/hashgraph-online/ai-plugin-scanner-action/releases) - [Commits](https://github.com/hashgraph-online/ai-plugin-scanner-action/compare/8c2dd4f9cc381ad56496ca44aab10ce19f6bdd0f...9b169fc65d09b24726b66d70b3563ab563158b58) --- updated-dependencies: - dependency-name: hashgraph-online/ai-plugin-scanner-action dependency-version: 1.2.816 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/plugin-security-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/plugin-security-scan.yml b/.github/workflows/plugin-security-scan.yml index 98b333c2..c9e8a353 100644 --- a/.github/workflows/plugin-security-scan.yml +++ b/.github/workflows/plugin-security-scan.yml @@ -16,7 +16,7 @@ jobs: persist-credentials: false - name: Scan plugin - uses: hashgraph-online/ai-plugin-scanner-action@8c2dd4f9cc381ad56496ca44aab10ce19f6bdd0f # v1.2.813 + uses: hashgraph-online/ai-plugin-scanner-action@9b169fc65d09b24726b66d70b3563ab563158b58 # v1.2.816 with: plugin_dir: "." min_score: 80 From 205efa00313058c237fc67a1152652ef5f10519a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Nov 2026 10:59:44 +0800 Subject: [PATCH 16/29] build(deps-dev): bump globals from 17.13.0 to 17.14.0 (#195) Bumps [globals](https://github.com/sindresorhus/globals) from 17.13.0 to 17.14.0. - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](https://github.com/sindresorhus/globals/compare/v17.13.0...v17.14.0) --- updated-dependencies: - dependency-name: globals dependency-version: 17.14.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index fb42169a..8666fe92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4173,9 +4173,9 @@ } }, "node_modules/globals": { - "version": "17.13.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.13.0.tgz", - "integrity": "sha512-RwMTC61u7hrG3ZJMkZQOK4JLJrKS8QtoTii63EmWvFXHqycY9FObBJQCbsLxSO8kjKhWE5kV1GC+Vb1g3RI0Zg==", + "version": "17.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.14.0.tgz", + "integrity": "sha512-UtdkTVyAJePQv0J2M9Xe4L0ruNSDV314XiIJsADI2Zf40bcdAonE/D/OhAU8AT99oij9mhLByb+NvA3QWZYgCg==", "dev": true, "license": "MIT", "engines": { From 861e938d8104918bcc4644ba9402ce7358fb2ced Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Nov 2026 11:00:24 +0800 Subject: [PATCH 17/29] build(deps-dev): bump vitest from 5.0.5 to 5.1.0 (#197) Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 5.0.5 to 5.1.0. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 5.1.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 66 +++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8666fe92..58f3792a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3085,15 +3085,15 @@ } }, "node_modules/@vitest/coverage-v8": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.0.5.tgz", - "integrity": "sha512-4KpkGdIrSqBihx/JyP/e+S+IKB98etg1XDQiLAxksLfcShnwi1VReGeOT9NI43hLHbknosKp/1CCLn9Zgcs8mg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.1.0.tgz", + "integrity": "sha512-OY9aShBQG5KOIw2zCo9fDoCHI9RHliNHJ//nM7m6jGg41Hyke9JOGWmeMlK74xYErsxMoK8mIB3gAeEyFVA7LA==", "dev": true, "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^1.0.2", - "@vitest/istanbul-lib-coverage": "^1.0.2", - "@vitest/istanbul-lib-report": "^1.0.2", + "@vitest/istanbul-lib-coverage": "^2.1.0", + "@vitest/istanbul-lib-report": "^2.1.0", "ast-v8-to-istanbul": "^1.0.7", "magicast": "^0.5.5", "obug": "^3.0.0", @@ -3104,8 +3104,8 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "@vitest/browser": "5.0.5", - "vitest": "5.0.5" + "@vitest/browser": "5.1.0", + "vitest": "5.1.0" }, "peerDependenciesMeta": { "@vitest/browser": { @@ -3114,9 +3114,9 @@ } }, "node_modules/@vitest/istanbul-lib-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.2.tgz", - "integrity": "sha512-9J/JMwOf9AoJhAywhrn7ScKTL38hsWQP/qPG60OtaAFcQ5OXPwKsxZFlbnuCKmZ61m8/lGgHYnFpdyQZUvG/iA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-2.1.0.tgz", + "integrity": "sha512-WOjuS+xcjSIy7ruYBQ+9BUcV7XZQ0FyVcbWbWxW9TRx/kLGx5SQaeFRIFDJxjNplb6YsT7SpKo2zuXXUo91OIQ==", "dev": true, "license": "MIT", "engines": { @@ -3124,27 +3124,27 @@ } }, "node_modules/@vitest/istanbul-lib-report": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-1.0.2.tgz", - "integrity": "sha512-gUsfXZJbzPamoIY5TvHFiMMoXESBrUMo+xqaj+rYrWI69+EnvRlYBlP96ZnHPY4vX8kyUpgAnFUCg5wZG/HkDQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-2.1.0.tgz", + "integrity": "sha512-+ZFta25nWtGCOBG9/IET8w1RO5Oawsd6H8Uf6AJ9EA/StFuKVtKAEJEJ6uRt84OH+T4YkI0ASmIHAhRA+0KVxw==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/istanbul-lib-coverage": "1.0.2" + "@vitest/istanbul-lib-coverage": "2.1.0" }, "engines": { "node": ">=22" } }, "node_modules/@vitest/mocker": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.5.tgz", - "integrity": "sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.1.0.tgz", + "integrity": "sha512-5umB9/jlWcqVS6fsrFmv5Gdnpu6wAUio/lEOwAmvB7v+lFo/IW2B9FhAD0p19GCULTgMzLCdUmuCDCnAzWgppQ==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.31", - "@vitest/spy": "5.0.5", + "@vitest/spy": "5.1.0", "estree-walker": "^3.0.3", "magic-string": "^1.4.3" }, @@ -3165,9 +3165,9 @@ } }, "node_modules/@vitest/spy": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.0.5.tgz", - "integrity": "sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.1.0.tgz", + "integrity": "sha512-2DPO5OMHWKrBngC+fCmTQqemNF0gidRhp3lxbBmRhW+M1XJrfgPpqNqWVevXtn2f2ufD5ZaR1B6B641aAlcX5A==", "dev": true, "license": "MIT", "funding": { @@ -4901,9 +4901,9 @@ } }, "node_modules/magic-string": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.3.tgz", - "integrity": "sha512-z12OxmaPGE0F4xlpGdjuAUckipLpQlTAuAmyGhNoD7ODpYUzvDfvtxUbjM/jwznyP178oju/KDdyi220wNJ0RQ==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.5.tgz", + "integrity": "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==", "dev": true, "license": "MIT", "dependencies": { @@ -6484,14 +6484,14 @@ } }, "node_modules/vitest": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.0.5.tgz", - "integrity": "sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.1.0.tgz", + "integrity": "sha512-MzmNFnrwa8v8lF1bLxw3UJ4EREwVOVb75VqJZmUDRjJ6EluK/x9th7qTbaeDk41WxE1GxWqmTXcdsfobfH5sOA==", "dev": true, "license": "MIT", "dependencies": { "@types/chai": "^5.2.2", - "@vitest/mocker": "5.0.5", + "@vitest/mocker": "5.1.0", "chai": "^6.3.0", "es-module-lexer": "^2.3.2", "expect-type": "^1.4.0", @@ -6517,12 +6517,12 @@ "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^22.0.0 || >=24.0.0", - "@vitest/browser-playwright": "5.0.5", - "@vitest/browser-preview": "5.0.5", + "@vitest/browser-playwright": "5.1.0", + "@vitest/browser-preview": "5.1.0", "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", - "@vitest/coverage-istanbul": "5.0.5", - "@vitest/coverage-v8": "5.0.5", - "@vitest/ui": "5.0.5", + "@vitest/coverage-istanbul": "5.1.0", + "@vitest/coverage-v8": "5.1.0", + "@vitest/ui": "5.1.0", "happy-dom": "*", "jsdom": "*", "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" From 7ae61232c62178d892ab7bcaf209c27f1bff0ef4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Nov 2026 11:48:49 +0800 Subject: [PATCH 18/29] build(deps): bump @opencode/plugin from 2.2.5 to 2.2.6 (#196) * build(deps): bump @opencode/plugin from 2.2.5 to 2.2.6 Bumps [@opencode/plugin](https://github.com/anomalyco/opencode/tree/HEAD/packages/plugin) from 2.2.5 to 2.2.6. - [Release notes](https://github.com/anomalyco/opencode/releases) - [Changelog](https://github.com/anomalyco/opencode/blob/dev/CHANGELOG.md) - [Commits](https://github.com/anomalyco/opencode/commits/v2.2.6/packages/plugin) --- updated-dependencies: - dependency-name: "@opencode/plugin" dependency-version: 2.2.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * chore: update bun lockfile for plugin 2.2.6 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: yuhp --- bun.lock | 36 +++--- package-lock.json | 322 +++++++++++++++++++++++----------------------- package.json | 2 +- 3 files changed, 180 insertions(+), 180 deletions(-) diff --git a/bun.lock b/bun.lock index d2766871..2b1205c6 100644 --- a/bun.lock +++ b/bun.lock @@ -5,7 +5,7 @@ "": { "name": "opencode-model-discovery", "dependencies": { - "@opencode/plugin": "2.2.5", + "@opencode/plugin": "2.2.6", "xdg-basedir": "^5.1.0", }, "devDependencies": { @@ -90,11 +90,11 @@ "@cacheable/utils": ["@cacheable/utils@2.5.0", "", { "dependencies": { "hashery": "^1.5.1", "keyv": "^5.6.0" } }, "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA=="], - "@effect/opentelemetry": ["@effect/opentelemetry@4.0.6", "", { "peerDependencies": { "@opentelemetry/api": ">=1.9.0 <2.0.0", "@opentelemetry/api-logs": ">=0.203.0 <0.300.0", "@opentelemetry/resources": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-logs": ">=0.203.0 <0.300.0", "@opentelemetry/sdk-metrics": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-base": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-node": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-web": ">=2.0.0 <3.0.0", "@opentelemetry/semantic-conventions": ">=1.33.0 <2.0.0", "effect": "^4.0.6" }, "optionalPeers": ["@opentelemetry/api", "@opentelemetry/api-logs", "@opentelemetry/resources", "@opentelemetry/sdk-logs", "@opentelemetry/sdk-metrics", "@opentelemetry/sdk-trace-base", "@opentelemetry/sdk-trace-node", "@opentelemetry/sdk-trace-web"] }, "sha512-xhLR1EN4ZNaKM7Bx59SCFiRNduFzgH8LZXDrCpPN8MpQ93V0GQcFHTBah5T3EXO2v+5HTEacdTgetIA0Creqvw=="], + "@effect/opentelemetry": ["@effect/opentelemetry@4.1.0", "", { "peerDependencies": { "@opentelemetry/api": ">=1.9.0 <2.0.0", "@opentelemetry/api-logs": ">=0.203.0 <0.300.0", "@opentelemetry/resources": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-logs": ">=0.203.0 <0.300.0", "@opentelemetry/sdk-metrics": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-base": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-node": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-web": ">=2.0.0 <3.0.0", "@opentelemetry/semantic-conventions": ">=1.33.0 <2.0.0", "effect": "^4.1.0" }, "optionalPeers": ["@opentelemetry/api", "@opentelemetry/api-logs", "@opentelemetry/resources", "@opentelemetry/sdk-logs", "@opentelemetry/sdk-metrics", "@opentelemetry/sdk-trace-base", "@opentelemetry/sdk-trace-node", "@opentelemetry/sdk-trace-web"] }, "sha512-j9bNzQaoQvcnimBFMG0i3piEW20E8HjkXAQHTJN/XqG2e4uJ9zCv53/HCNzD7+ooFn5S4nwQy/BOXeNReMIe+A=="], - "@effect/platform-node": ["@effect/platform-node@4.0.6", "", { "dependencies": { "@effect/platform-node-shared": "^4.0.6", "undici": "^8.12.2" }, "peerDependencies": { "effect": "^4.0.6", "redis": ">=5.0.0 <7.0.0" } }, "sha512-gXvGHAy0/8PZbWvMMguloDUyeSP+rzYEo3FSEqUuGduxo9ORcGioDxPI+GOLCIFfam7VuNkmSUxBOiRMIrMrBw=="], + "@effect/platform-node": ["@effect/platform-node@4.1.0", "", { "dependencies": { "@effect/platform-node-shared": "^4.1.0", "undici": "^8.12.2" }, "peerDependencies": { "effect": "^4.1.0", "redis": ">=5.0.0 <7.0.0" } }, "sha512-v+X7moGVF9k5oMVvz0slA+NgtEod+W+oygeI285MDJgSlUCW3JcqElj+cD3rlijFZtpKhC7RLkU1GuCxjGHTpA=="], - "@effect/platform-node-shared": ["@effect/platform-node-shared@4.0.6", "", { "dependencies": { "@types/ws": "^8.18.2", "ws": "^8.22.0" }, "peerDependencies": { "effect": "^4.0.6" } }, "sha512-0PhyC4uG30xGtsajnxjkcBWfTjNRzUh4ZKl1Kvo/MNyCTb+W2O+fBzf7wCRCoqt+nLudiq4V7vX40Q8XIBuMaQ=="], + "@effect/platform-node-shared": ["@effect/platform-node-shared@4.1.0", "", { "dependencies": { "@types/ws": "^8.18.2", "ws": "^8.22.0" }, "peerDependencies": { "effect": "^4.1.0" } }, "sha512-uYQfFRoxWLo8fIhiSeBcmz/R1ooOfE3HF3cWHFgxz82tZMk2Wn02BGABcdLmaAch9VpDLbtWnuhSxNyBsGMUFg=="], "@emnapi/core": ["@emnapi/core@1.9.2", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" } }, "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA=="], @@ -244,17 +244,17 @@ "@opencode-ai/sdk": ["@opencode-ai/sdk@1.18.34", "", { "dependencies": { "cross-spawn": "7.0.6" } }, "sha512-R9QWUpcngtdQ6FCixz7NC6n1WsSho6CEuRUzYHz/CzZcp3miSklDzXkm0oDwXVCnuEu+ANoeM0f6RDp51kOMzQ=="], - "@opencode/ai": ["@opencode/ai@2.2.5", "", { "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", "@opencode/schema": "2.2.5", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", "effect": "4.0.6", "google-auth-library": "10.5.0" } }, "sha512-TolUvNR615vpkc6FPf2np5PbAbO7k1gaVlrtZ5Wx5tN7Y8K2uSer0BZEiajJ2uBsF6RXJFfjjX1GZbcf85GtGQ=="], + "@opencode/ai": ["@opencode/ai@2.2.6", "", { "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", "@opencode/schema": "2.2.6", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", "effect": "4.1.0", "google-auth-library": "10.5.0" } }, "sha512-VRes4ACJj1Lw8tpAgWwOy8+QPeXTko/KkJA8NDGVgVtl+MmzV/J5tlrpnpAI6zAgUARYV3GDFYj6EHn1V5ndLQ=="], - "@opencode/client": ["@opencode/client@2.2.5", "", { "dependencies": { "@opencode/protocol": "2.2.5", "@opencode/schema": "2.2.5" }, "peerDependencies": { "effect": "4.0.6", "solid-js": ">=1.9.0" }, "optionalPeers": ["effect", "solid-js"] }, "sha512-EjYrFGWHURsIbjtmQdIsGSPmYZGaulxqwEfYxQH5t9838508BCIvDX9f7/ZsgNGHYXM0punA3W8hTt6GjxIEaw=="], + "@opencode/client": ["@opencode/client@2.2.6", "", { "dependencies": { "@opencode/protocol": "2.2.6", "@opencode/schema": "2.2.6" }, "peerDependencies": { "effect": "4.1.0", "solid-js": ">=1.9.0" }, "optionalPeers": ["effect", "solid-js"] }, "sha512-o90b8Z6tk62U3MiRK1g6r7WmNWLzHzIHme75/MCWa9/XmOREMzY4W1N01wAuHwU3J6UH/PlUDNKvLkeX5qCyeA=="], - "@opencode/plugin": ["@opencode/plugin@2.2.5", "", { "dependencies": { "@ai-sdk/provider": "3.0.8", "@opencode/ai": "2.2.5", "@opencode/client": "2.2.5", "@opencode/protocol": "2.2.5", "@opencode/schema": "2.2.5", "@opencode/util": "2.2.5", "effect": "4.0.6" }, "peerDependencies": { "@opencode/theme": "2.2.5", "@opentui/core": ">=0.8.0", "@opentui/solid": ">=0.8.0", "electron": "*", "solid-js": ">=1.9.0", "vite": ">=6", "vite-plugin-solid": ">=2.11" }, "optionalPeers": ["@opencode/theme", "@opentui/core", "@opentui/solid", "electron", "solid-js", "vite", "vite-plugin-solid"] }, "sha512-DHtmC55UM5NbtZwyayLxI/ygTMt3n+6xXYYBkOdNxmZ+rLcIbpjmeJvySqdxFmT3K7Pk/2pHsuocxhquu6sysA=="], + "@opencode/plugin": ["@opencode/plugin@2.2.6", "", { "dependencies": { "@ai-sdk/provider": "3.0.8", "@opencode/ai": "2.2.6", "@opencode/client": "2.2.6", "@opencode/protocol": "2.2.6", "@opencode/schema": "2.2.6", "@opencode/util": "2.2.6", "effect": "4.1.0" }, "peerDependencies": { "@opencode/theme": "2.2.6", "@opentui/core": ">=0.8.1", "@opentui/solid": ">=0.8.1", "electron": "*", "solid-js": ">=1.9.0", "vite": ">=6", "vite-plugin-solid": ">=2.11" }, "optionalPeers": ["@opencode/theme", "@opentui/core", "@opentui/solid", "electron", "solid-js", "vite", "vite-plugin-solid"] }, "sha512-PbQD4aN8YJ8w3gM5L9h2msXppxEAUVj8Ejbaj6MMNb+99jPm7/XM+g2ugZomSNs1XXuab2IlrIKDgbiI49VfLw=="], - "@opencode/protocol": ["@opencode/protocol@2.2.5", "", { "dependencies": { "@opencode/schema": "2.2.5", "effect": "4.0.6" } }, "sha512-T3ET0kS1kj8sv7/d+c1T2he7TXoZ4Rki7zTqHuv8b0kWhg3Vk6o0t+T9KsEQdEat7PFksgH5haC2iSSdJOB7/w=="], + "@opencode/protocol": ["@opencode/protocol@2.2.6", "", { "dependencies": { "@opencode/schema": "2.2.6", "effect": "4.1.0" } }, "sha512-XBAgz2qnhFS/EI4P3pgC9A6HJTHnFiaQXkqux3liXwE7hZh5wEzRZ551nQZD95rkrH00EnryUSaKI2y/O2Bt6w=="], - "@opencode/schema": ["@opencode/schema@2.2.5", "", { "dependencies": { "@standard-schema/spec": "1.1.0", "effect": "4.0.6" } }, "sha512-hlKk6cX28BwvOMOVG3Mtt4tEHxwY68Z6Gz5/cL32N8qfZexykCKsZai49Jms4/2gD8BzvVuBERnnlLDbdLstUA=="], + "@opencode/schema": ["@opencode/schema@2.2.6", "", { "dependencies": { "@standard-schema/spec": "1.1.0", "effect": "4.1.0" } }, "sha512-TaLr30ktFFVsuReorFNbqYvybTVxV/4M44qm5XzRjUqq6deR0jH4h4Wt1gB0NTkXDFL0LMH+Ul1oVBnp5w9TRg=="], - "@opencode/util": ["@opencode/util@2.2.5", "", { "dependencies": { "@effect/opentelemetry": "4.0.6", "@effect/platform-node": "4.0.6", "@effect/platform-node-shared": "4.0.6", "@npmcli/arborist": "9.4.0", "@npmcli/config": "10.8.1", "@opentelemetry/api": "1.9.0", "@opentelemetry/api-logs": "0.219.0", "@opentelemetry/context-async-hooks": "2.8.0", "@opentelemetry/exporter-trace-otlp-http": "0.219.0", "@opentelemetry/resources": "2.8.0", "@opentelemetry/sdk-logs": "0.219.0", "@opentelemetry/sdk-metrics": "2.8.0", "@opentelemetry/sdk-trace-base": "2.8.0", "@opentelemetry/sdk-trace-node": "2.8.0", "cross-spawn": "7.0.6", "effect": "4.0.6", "glob": "13.0.5", "mime-types": "3.0.2", "minimatch": "10.2.5", "npm-package-arg": "13.0.2", "open": "11.0.4", "pacote": "21.5.1" } }, "sha512-RqbJ2EwxOs6oQMH1P4Yenkejit0oiAyxBTPXhzx4n6j4SOV0+Duz6lhftlJkAjTbq7Rw2b0Mzx4duOJUdw6s5A=="], + "@opencode/util": ["@opencode/util@2.2.6", "", { "dependencies": { "@effect/opentelemetry": "4.1.0", "@effect/platform-node": "4.1.0", "@effect/platform-node-shared": "4.1.0", "@npmcli/arborist": "9.4.0", "@npmcli/config": "10.8.1", "@opentelemetry/api": "1.9.0", "@opentelemetry/api-logs": "0.219.0", "@opentelemetry/context-async-hooks": "2.8.0", "@opentelemetry/exporter-trace-otlp-http": "0.219.0", "@opentelemetry/resources": "2.8.0", "@opentelemetry/sdk-logs": "0.219.0", "@opentelemetry/sdk-metrics": "2.8.0", "@opentelemetry/sdk-trace-base": "2.8.0", "@opentelemetry/sdk-trace-node": "2.8.0", "cross-spawn": "7.0.6", "effect": "4.1.0", "glob": "13.0.5", "mime-types": "3.0.2", "minimatch": "10.2.5", "npm-package-arg": "13.0.2", "open": "11.0.4", "pacote": "21.5.1" } }, "sha512-mOj2x3Aqw66sYzXq8MrypJVksFiO7GmFoSi5zi65TLtePbZCxvS/2TMbjgfa5MfWQp8YOl2327iv4W2rg6QQag=="], "@opentelemetry/api": ["@opentelemetry/api@1.9.0", "", {}, "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg=="], @@ -922,11 +922,11 @@ "@aws-crypto/util/@smithy/util-utf8": ["@smithy/util-utf8@2.3.0", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="], - "@effect/opentelemetry/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], + "@effect/opentelemetry/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - "@effect/platform-node/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], + "@effect/platform-node/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - "@effect/platform-node-shared/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], + "@effect/platform-node-shared/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], "@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], @@ -940,15 +940,15 @@ "@npmcli/promise-spawn/which": ["which@6.0.1", "", { "dependencies": { "isexe": "^4.0.0" }, "bin": { "node-which": "bin/which.js" } }, "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg=="], - "@opencode/ai/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], + "@opencode/ai/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - "@opencode/plugin/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], + "@opencode/plugin/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - "@opencode/protocol/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], + "@opencode/protocol/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - "@opencode/schema/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], + "@opencode/schema/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - "@opencode/util/effect": ["effect@4.0.6", "", {}, "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw=="], + "@opencode/util/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], "@opencode/util/minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], diff --git a/package-lock.json b/package-lock.json index 58f3792a..f6ac3376 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.1.1", "license": "MIT", "dependencies": { - "@opencode/plugin": "2.2.5", + "@opencode/plugin": "2.2.6", "xdg-basedir": "^5.1.0" }, "devDependencies": { @@ -180,9 +180,9 @@ } }, "node_modules/@aws-sdk/core": { - "version": "3.979.1", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.979.1.tgz", - "integrity": "sha512-ayOlV1VhLNMiq8PW9ZkVobG4gkldnUoHjG69yy2b8j+VYFlhz/uAL7ZdYQAoQ+eShtGUdNDnnG5rxDg6yUJrOg==", + "version": "3.980.1", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.980.1.tgz", + "integrity": "sha512-W7jDWUPucezIUjFZpr8MudQQtz/m6yPMyAFrOyyQcHjuF4UrZdcCdP8eV1js06U9sH3dxp0AbhN+s9uHwQyXzQ==", "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.975.0", @@ -199,12 +199,12 @@ } }, "node_modules/@aws-sdk/credential-provider-cognito-identity": { - "version": "3.972.79", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.972.79.tgz", - "integrity": "sha512-T64OD+bN7izbhAuPVu+FATwEvki3IsjXICjKrNlhuIijUXuWMfmMU5irN4ytQq2d31Z3rJp5L8sEjZ5L8wMAmg==", + "version": "3.972.81", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.972.81.tgz", + "integrity": "sha512-WS8AKP5qS6SzDN7bNZBd3ECmjeHkBbHgBmZjtFvHo7zdnSn5v+U9hSRuQLDQ9aueU2/ToH0x56mC7UgtLueBiA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/nested-clients": "^3.997.54", + "@aws-sdk/nested-clients": "^3.998.1", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", @@ -215,12 +215,12 @@ } }, "node_modules/@aws-sdk/credential-provider-env": { - "version": "3.972.80", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.80.tgz", - "integrity": "sha512-uO5TiSvb6j1w9RTe5z28OaOmsrOxVQUPaC5+wZl50RfOXcrYD/KgnS8I9lfyGXc7sGbkCopK6VnhNIAoLqfewQ==", + "version": "3.972.82", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.82.tgz", + "integrity": "sha512-sAfysgoFWKg/CJvufYM7lhvMUfJpTsuwjCLzp843Vtw8NlQh2PW9/+upUFrsoQK46pJcv3u1a+st7qJ4jfSODw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", + "@aws-sdk/core": "^3.980.1", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", @@ -231,12 +231,12 @@ } }, "node_modules/@aws-sdk/credential-provider-http": { - "version": "3.972.82", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.82.tgz", - "integrity": "sha512-vQzlDHlC24Yz42p+rT4NBoP/5VdetkBoujbOLq9h6QYWC8THuZSPYnXIR9OP3XcOrdMgPBBipOrdssfxnIiWUg==", + "version": "3.972.84", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.84.tgz", + "integrity": "sha512-6xFe7tGPZedfak01TLUxuExU2Xhqw0VtoVvcS/+1OLjPB8If5vulTpCaR0TKTA/J6sAhTOjZHb6+4R1e1KRMKg==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", + "@aws-sdk/core": "^3.980.1", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/fetch-http-handler": "^5.8.0", @@ -249,19 +249,19 @@ } }, "node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.973.25", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.25.tgz", - "integrity": "sha512-b5xl71uCRdWsu7P1VeGpiGuCf6zfYETsSNOv8AmYVTrsgbvTJRXdmmOPVfxkvGGVNsiKkGctClQW3jAn0SZLug==", + "version": "3.973.27", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.27.tgz", + "integrity": "sha512-geyao3+s46HIo8C0vyLz7cQ1qaOM1H6wrP/nNWTr5SoR4r97qlWrubi+a7Sg128KmvRZIFbwXTvkbKawBeysqg==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", - "@aws-sdk/credential-provider-env": "^3.972.80", - "@aws-sdk/credential-provider-http": "^3.972.82", - "@aws-sdk/credential-provider-login": "^3.972.87", - "@aws-sdk/credential-provider-process": "^3.972.80", - "@aws-sdk/credential-provider-sso": "^3.973.24", - "@aws-sdk/credential-provider-web-identity": "^3.972.86", - "@aws-sdk/nested-clients": "^3.997.54", + "@aws-sdk/core": "^3.980.1", + "@aws-sdk/credential-provider-env": "^3.972.82", + "@aws-sdk/credential-provider-http": "^3.972.84", + "@aws-sdk/credential-provider-login": "^3.972.89", + "@aws-sdk/credential-provider-process": "^3.972.82", + "@aws-sdk/credential-provider-sso": "^3.973.26", + "@aws-sdk/credential-provider-web-identity": "^3.972.88", + "@aws-sdk/nested-clients": "^3.998.1", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/credential-provider-imds": "^4.5.2", @@ -273,13 +273,13 @@ } }, "node_modules/@aws-sdk/credential-provider-login": { - "version": "3.972.87", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.87.tgz", - "integrity": "sha512-C4ZFmcwM+Zj14Z8huVUk54Gv4uzT1ZdzG9cY3Gdh8FePakq7Bss1OFsgZjAhWFOkFOGpBvFBeu0OWjWf8HNKRQ==", + "version": "3.972.89", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.89.tgz", + "integrity": "sha512-5kcIZkMMs6eYvU6psqZkmeWsS3EGES53S6xUJFCC6eoJak3BQCCaF8yLU1bN6LTAOr2a9RWw+m1XBGen7Jcq+Q==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", - "@aws-sdk/nested-clients": "^3.997.54", + "@aws-sdk/core": "^3.980.1", + "@aws-sdk/nested-clients": "^3.998.1", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", @@ -290,17 +290,17 @@ } }, "node_modules/@aws-sdk/credential-provider-node": { - "version": "3.972.92", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.92.tgz", - "integrity": "sha512-jC3zmOo7Qxlk+oBivvSsS1Ph7sFGm0QfuhqDGbqgRXi4cxUYMG+dWtBwS2XYYXgc8TIVXJiwgQ65sbNpbYupTA==", + "version": "3.972.94", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.94.tgz", + "integrity": "sha512-qZzjRq45j0S0rI4XjHKGL63gGSFGPDYRe18Crp7l4Zk3Yr6PG4PjIixZEtsGIliOjtZ/h+ATExgjE54JQJeZMQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/credential-provider-env": "^3.972.80", - "@aws-sdk/credential-provider-http": "^3.972.82", - "@aws-sdk/credential-provider-ini": "^3.973.25", - "@aws-sdk/credential-provider-process": "^3.972.80", - "@aws-sdk/credential-provider-sso": "^3.973.24", - "@aws-sdk/credential-provider-web-identity": "^3.972.86", + "@aws-sdk/credential-provider-env": "^3.972.82", + "@aws-sdk/credential-provider-http": "^3.972.84", + "@aws-sdk/credential-provider-ini": "^3.973.27", + "@aws-sdk/credential-provider-process": "^3.972.82", + "@aws-sdk/credential-provider-sso": "^3.973.26", + "@aws-sdk/credential-provider-web-identity": "^3.972.88", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/credential-provider-imds": "^4.5.2", @@ -312,12 +312,12 @@ } }, "node_modules/@aws-sdk/credential-provider-process": { - "version": "3.972.80", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.80.tgz", - "integrity": "sha512-xqfixO5aclje7tbQJDias+iNND5wp/3QZixCdZcVQpgWPTZ0V5DfTW9A804A5Z7ezu7sH3WRO+vzUjtiJBA8yg==", + "version": "3.972.82", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.82.tgz", + "integrity": "sha512-VsFOXU7gYDWqYwRis7Rif3CrE+c7xMNxp0L3XqGPuvF6JO2K93FYjhLlEphW5uEMpHEXkOOutZ5USGErgfKaog==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", + "@aws-sdk/core": "^3.980.1", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", @@ -328,14 +328,14 @@ } }, "node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.973.24", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.24.tgz", - "integrity": "sha512-nlg3BKG03Cgzvv/dMnhxvDJPhAhQSpaN0RUdwgU7ziwkasoev7iI8el8Xy4Rd5sqzgaDUbV269fOXck5SargqA==", + "version": "3.973.26", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.26.tgz", + "integrity": "sha512-IIrqv0iFNwO8Cd5EigbwILsnsvmprCAw5/BPfRvP/EiLQtBfv3PI9KpyUj2+qsJhYcpmKad+ugaS0+izle8OqQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", - "@aws-sdk/nested-clients": "^3.997.54", - "@aws-sdk/token-providers": "3.1161.0", + "@aws-sdk/core": "^3.980.1", + "@aws-sdk/nested-clients": "^3.998.1", + "@aws-sdk/token-providers": "3.1164.0", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", @@ -346,13 +346,13 @@ } }, "node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.972.86", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.86.tgz", - "integrity": "sha512-zKTyLJBEyfQBVlYqT6Jt+mYV4r8kGbWM7dn6v4Y4MRARizhYafjDXP/iMu76UMRhToSPNmIKX1XAb24gtpBFIA==", + "version": "3.972.88", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.88.tgz", + "integrity": "sha512-RmeE04naP7gWzux9l1vqNQPzuo2OkH0Ca9WDtX5Zf4NERoBLeWZNU2g1ka7aJ4Fc9fqBxBLtGL89vYEfFP1LHw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", - "@aws-sdk/nested-clients": "^3.997.54", + "@aws-sdk/core": "^3.980.1", + "@aws-sdk/nested-clients": "^3.998.1", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", @@ -391,12 +391,12 @@ } }, "node_modules/@aws-sdk/nested-clients": { - "version": "3.997.54", - "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.54.tgz", - "integrity": "sha512-/OczlavsS7U5sOodRO10Ug4R/AKFVZiXTstKipWe68EfjPkmdDFNXNl9FCJyXWkg1DG6RBm3qAuVB8FNW9O8KQ==", + "version": "3.998.1", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.998.1.tgz", + "integrity": "sha512-KPw5W6LN3waUskfDCRXRcyBEHAev5PVlMOjMq74OIivFYbgPvq39QeFege7IOFPncO425/AQK0qxdfaoeGejYQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", + "@aws-sdk/core": "^3.980.1", "@aws-sdk/signature-v4-multi-region": "^3.996.51", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", @@ -425,13 +425,13 @@ } }, "node_modules/@aws-sdk/token-providers": { - "version": "3.1161.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1161.0.tgz", - "integrity": "sha512-ypbXSofNcSHwf/KA40bFCXJb0MLaAKrfT7sot4dFaA+2lsuXNah4zLRJIAU7Qmvs9PFJ6rnY0bZFEC+mE7attA==", + "version": "3.1164.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1164.0.tgz", + "integrity": "sha512-9LPRWfev5QZH1EnNn9O/Y++iCRpfxrJs4EIsJuOAKYZ0DY/kZ3aOx0qWzmN1OUOd8JlUk6Mjy1tJ8b7ul5tuVw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "^3.979.1", - "@aws-sdk/nested-clients": "^3.997.54", + "@aws-sdk/core": "^3.980.1", + "@aws-sdk/nested-clients": "^3.998.1", "@aws-sdk/types": "^3.975.0", "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", @@ -1711,44 +1711,44 @@ } }, "node_modules/@opencode/ai": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/@opencode/ai/-/ai-2.2.5.tgz", - "integrity": "sha512-TolUvNR615vpkc6FPf2np5PbAbO7k1gaVlrtZ5Wx5tN7Y8K2uSer0BZEiajJ2uBsF6RXJFfjjX1GZbcf85GtGQ==", + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/@opencode/ai/-/ai-2.2.6.tgz", + "integrity": "sha512-VRes4ACJj1Lw8tpAgWwOy8+QPeXTko/KkJA8NDGVgVtl+MmzV/J5tlrpnpAI6zAgUARYV3GDFYj6EHn1V5ndLQ==", "license": "MIT", "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", - "@opencode/schema": "2.2.5", + "@opencode/schema": "2.2.6", "@smithy/eventstream-codec": "4.2.14", "@smithy/util-utf8": "4.2.2", "aws4fetch": "1.0.20", - "effect": "4.0.6", + "effect": "4.1.0", "google-auth-library": "10.5.0" } }, "node_modules/@opencode/ai/node_modules/effect": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", - "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", + "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", "license": "MIT" }, "node_modules/@opencode/plugin": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/@opencode/plugin/-/plugin-2.2.5.tgz", - "integrity": "sha512-DHtmC55UM5NbtZwyayLxI/ygTMt3n+6xXYYBkOdNxmZ+rLcIbpjmeJvySqdxFmT3K7Pk/2pHsuocxhquu6sysA==", + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/@opencode/plugin/-/plugin-2.2.6.tgz", + "integrity": "sha512-PbQD4aN8YJ8w3gM5L9h2msXppxEAUVj8Ejbaj6MMNb+99jPm7/XM+g2ugZomSNs1XXuab2IlrIKDgbiI49VfLw==", "license": "MIT", "dependencies": { "@ai-sdk/provider": "3.0.8", - "@opencode/ai": "2.2.5", - "@opencode/client": "2.2.5", - "@opencode/protocol": "2.2.5", - "@opencode/schema": "2.2.5", - "@opencode/util": "2.2.5", - "effect": "4.0.6" + "@opencode/ai": "2.2.6", + "@opencode/client": "2.2.6", + "@opencode/protocol": "2.2.6", + "@opencode/schema": "2.2.6", + "@opencode/util": "2.2.6", + "effect": "4.1.0" }, "peerDependencies": { - "@opencode/theme": "2.2.5", - "@opentui/core": ">=0.8.0", - "@opentui/solid": ">=0.8.0", + "@opencode/theme": "2.2.6", + "@opentui/core": ">=0.8.1", + "@opentui/solid": ">=0.8.1", "electron": "*", "solid-js": ">=1.9.0", "vite": ">=6", @@ -1779,16 +1779,16 @@ } }, "node_modules/@opencode/plugin/node_modules/@opencode/client": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/@opencode/client/-/client-2.2.5.tgz", - "integrity": "sha512-EjYrFGWHURsIbjtmQdIsGSPmYZGaulxqwEfYxQH5t9838508BCIvDX9f7/ZsgNGHYXM0punA3W8hTt6GjxIEaw==", + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/@opencode/client/-/client-2.2.6.tgz", + "integrity": "sha512-o90b8Z6tk62U3MiRK1g6r7WmNWLzHzIHme75/MCWa9/XmOREMzY4W1N01wAuHwU3J6UH/PlUDNKvLkeX5qCyeA==", "license": "MIT", "dependencies": { - "@opencode/protocol": "2.2.5", - "@opencode/schema": "2.2.5" + "@opencode/protocol": "2.2.6", + "@opencode/schema": "2.2.6" }, "peerDependencies": { - "effect": "4.0.6", + "effect": "4.1.0", "solid-js": ">=1.9.0" }, "peerDependenciesMeta": { @@ -1801,52 +1801,52 @@ } }, "node_modules/@opencode/plugin/node_modules/effect": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", - "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", + "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", "license": "MIT" }, "node_modules/@opencode/protocol": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/@opencode/protocol/-/protocol-2.2.5.tgz", - "integrity": "sha512-T3ET0kS1kj8sv7/d+c1T2he7TXoZ4Rki7zTqHuv8b0kWhg3Vk6o0t+T9KsEQdEat7PFksgH5haC2iSSdJOB7/w==", + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/@opencode/protocol/-/protocol-2.2.6.tgz", + "integrity": "sha512-XBAgz2qnhFS/EI4P3pgC9A6HJTHnFiaQXkqux3liXwE7hZh5wEzRZ551nQZD95rkrH00EnryUSaKI2y/O2Bt6w==", "license": "MIT", "dependencies": { - "@opencode/schema": "2.2.5", - "effect": "4.0.6" + "@opencode/schema": "2.2.6", + "effect": "4.1.0" } }, "node_modules/@opencode/protocol/node_modules/effect": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", - "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", + "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", "license": "MIT" }, "node_modules/@opencode/schema": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/@opencode/schema/-/schema-2.2.5.tgz", - "integrity": "sha512-hlKk6cX28BwvOMOVG3Mtt4tEHxwY68Z6Gz5/cL32N8qfZexykCKsZai49Jms4/2gD8BzvVuBERnnlLDbdLstUA==", + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/@opencode/schema/-/schema-2.2.6.tgz", + "integrity": "sha512-TaLr30ktFFVsuReorFNbqYvybTVxV/4M44qm5XzRjUqq6deR0jH4h4Wt1gB0NTkXDFL0LMH+Ul1oVBnp5w9TRg==", "license": "MIT", "dependencies": { "@standard-schema/spec": "1.1.0", - "effect": "4.0.6" + "effect": "4.1.0" } }, "node_modules/@opencode/schema/node_modules/effect": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", - "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", + "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", "license": "MIT" }, "node_modules/@opencode/util": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/@opencode/util/-/util-2.2.5.tgz", - "integrity": "sha512-RqbJ2EwxOs6oQMH1P4Yenkejit0oiAyxBTPXhzx4n6j4SOV0+Duz6lhftlJkAjTbq7Rw2b0Mzx4duOJUdw6s5A==", + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/@opencode/util/-/util-2.2.6.tgz", + "integrity": "sha512-mOj2x3Aqw66sYzXq8MrypJVksFiO7GmFoSi5zi65TLtePbZCxvS/2TMbjgfa5MfWQp8YOl2327iv4W2rg6QQag==", "license": "MIT", "dependencies": { - "@effect/opentelemetry": "4.0.6", - "@effect/platform-node": "4.0.6", - "@effect/platform-node-shared": "4.0.6", + "@effect/opentelemetry": "4.1.0", + "@effect/platform-node": "4.1.0", + "@effect/platform-node-shared": "4.1.0", "@npmcli/arborist": "9.4.0", "@npmcli/config": "10.8.1", "@opentelemetry/api": "1.9.0", @@ -1859,7 +1859,7 @@ "@opentelemetry/sdk-trace-base": "2.8.0", "@opentelemetry/sdk-trace-node": "2.8.0", "cross-spawn": "7.0.6", - "effect": "4.0.6", + "effect": "4.1.0", "glob": "13.0.5", "mime-types": "3.0.2", "minimatch": "10.2.5", @@ -1869,12 +1869,12 @@ } }, "node_modules/@opencode/util/node_modules/@effect/opentelemetry": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@effect/opentelemetry/-/opentelemetry-4.0.6.tgz", - "integrity": "sha512-xhLR1EN4ZNaKM7Bx59SCFiRNduFzgH8LZXDrCpPN8MpQ93V0GQcFHTBah5T3EXO2v+5HTEacdTgetIA0Creqvw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@effect/opentelemetry/-/opentelemetry-4.1.0.tgz", + "integrity": "sha512-j9bNzQaoQvcnimBFMG0i3piEW20E8HjkXAQHTJN/XqG2e4uJ9zCv53/HCNzD7+ooFn5S4nwQy/BOXeNReMIe+A==", "license": "MIT", "engines": { - "node": ">=18.0.0" + "node": ">=22.19.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.9.0 <2.0.0", @@ -1886,7 +1886,7 @@ "@opentelemetry/sdk-trace-node": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-web": ">=2.0.0 <3.0.0", "@opentelemetry/semantic-conventions": ">=1.33.0 <2.0.0", - "effect": "^4.0.6" + "effect": "^4.1.0" }, "peerDependenciesMeta": { "@opentelemetry/api": { @@ -1916,42 +1916,42 @@ } }, "node_modules/@opencode/util/node_modules/@effect/platform-node": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@effect/platform-node/-/platform-node-4.0.6.tgz", - "integrity": "sha512-gXvGHAy0/8PZbWvMMguloDUyeSP+rzYEo3FSEqUuGduxo9ORcGioDxPI+GOLCIFfam7VuNkmSUxBOiRMIrMrBw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@effect/platform-node/-/platform-node-4.1.0.tgz", + "integrity": "sha512-v+X7moGVF9k5oMVvz0slA+NgtEod+W+oygeI285MDJgSlUCW3JcqElj+cD3rlijFZtpKhC7RLkU1GuCxjGHTpA==", "license": "MIT", "dependencies": { - "@effect/platform-node-shared": "^4.0.6", + "@effect/platform-node-shared": "^4.1.0", "undici": "^8.12.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.19.0" }, "peerDependencies": { - "effect": "^4.0.6", + "effect": "^4.1.0", "redis": ">=5.0.0 <7.0.0" } }, "node_modules/@opencode/util/node_modules/@effect/platform-node-shared": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@effect/platform-node-shared/-/platform-node-shared-4.0.6.tgz", - "integrity": "sha512-0PhyC4uG30xGtsajnxjkcBWfTjNRzUh4ZKl1Kvo/MNyCTb+W2O+fBzf7wCRCoqt+nLudiq4V7vX40Q8XIBuMaQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@effect/platform-node-shared/-/platform-node-shared-4.1.0.tgz", + "integrity": "sha512-uYQfFRoxWLo8fIhiSeBcmz/R1ooOfE3HF3cWHFgxz82tZMk2Wn02BGABcdLmaAch9VpDLbtWnuhSxNyBsGMUFg==", "license": "MIT", "dependencies": { "@types/ws": "^8.18.2", "ws": "^8.22.0" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.19.0" }, "peerDependencies": { - "effect": "^4.0.6" + "effect": "^4.1.0" } }, "node_modules/@opencode/util/node_modules/effect": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.6.tgz", - "integrity": "sha512-Tc3mkzuLR6t6P9dhLt0D2GrxYtmU5td4XEJEiXCmILz53IRIfJyHsKZWjTA3xEjiwpNTtXBgI4iqYPxMztBDrw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", + "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", "license": "MIT" }, "node_modules/@opencode/util/node_modules/minimatch": { @@ -1970,9 +1970,9 @@ } }, "node_modules/@opencode/util/node_modules/undici": { - "version": "8.12.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", - "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", + "version": "8.12.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.4.tgz", + "integrity": "sha512-8Mx+uNKKER2bA4AdtedkqRbwUCIJFr2nJckXRe5yrDqzePqwLP7VNcctN8/XdmDSbF7mS+jJKIszlL+vbam1VA==", "license": "MIT", "engines": { "node": ">=22.19.0" @@ -2168,9 +2168,9 @@ } }, "node_modules/@opentelemetry/semantic-conventions": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.44.0.tgz", - "integrity": "sha512-E3JkOlMBi3N8OGGkbl7tFyqk2MAS6/lySRZBK3Mu7AzjF1fT8oIChH9ChE48SUWzDn9Kdwta+G/p5LJ4xW4CLQ==", + "version": "1.45.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.45.0.tgz", + "integrity": "sha512-aOP45mbcOKbQVvFWfQmgoOPT8R2iwbbbgl83k4CujGV9BrJhFr3qG55MFpwFs4YLabpuW3HhzUY9eQxPlDqaZw==", "license": "Apache-2.0", "engines": { "node": ">=14" @@ -2627,12 +2627,12 @@ } }, "node_modules/@smithy/core": { - "version": "3.38.1", - "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.38.1.tgz", - "integrity": "sha512-U/mB2XiwTLaf+NSgLSWwJfptsMT/H8aBi0aTAA/E5e2/TagFeGCqAyhKGG0w0A9IWTkm4qYEmLoD/HB6aYfnRA==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.39.0.tgz", + "integrity": "sha512-JJ/46AWQ4ipS1N2eZmUj7yzIhH8NhQIfAE+dce7NSB6dmFh+7hvD4pbofcoT4I0Xzfy/LNhZx3V2QhwYyAiqdg==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.19.0", + "@smithy/types": "^4.20.0", "tslib": "^2.6.2" }, "engines": { @@ -2669,13 +2669,13 @@ } }, "node_modules/@smithy/fetch-http-handler": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.8.0.tgz", - "integrity": "sha512-ycSJu3tFAQ4v04CBB0agqFMVsSQ1iG3yw+SpgxRqKfaURpQD4CZ8Wn0zPMmSnOuTpTh65Vz+EA0rMrw089wvkA==", + "version": "5.8.1", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.8.1.tgz", + "integrity": "sha512-h8BdMUrUBhMhMaeK7QqAdINRZezCGuYOCpcOZZ1ewxbHST9rdTd09xwNpvLTYfzDRehxQiReK4SKbdYZxBA+ew==", "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.33.3", - "@smithy/types": "^4.18.0", + "@smithy/core": "^3.39.0", + "@smithy/types": "^4.20.0", "tslib": "^2.6.2" }, "engines": { @@ -2695,13 +2695,13 @@ } }, "node_modules/@smithy/node-http-handler": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.1.tgz", - "integrity": "sha512-/T6E1jzCL0fErS9uq8JqES/5yYQQ4ppVmmYHwXw2nlov8KFzLb+3QqHR5iAun1BsuAB50IPxZliV8YMgghLwhA==", + "version": "4.14.2", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.2.tgz", + "integrity": "sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w==", "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.38.1", - "@smithy/types": "^4.19.0", + "@smithy/core": "^3.39.0", + "@smithy/types": "^4.20.0", "tslib": "^2.6.2" }, "engines": { @@ -2723,9 +2723,9 @@ } }, "node_modules/@smithy/types": { - "version": "4.19.0", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.19.0.tgz", - "integrity": "sha512-r7jh49VJxGerfAcTQA6gXcKc+98zOp/tqRwzYjgOE+iSQsP6cEU1hq2QzbuipmP68QtYdY9wKEhiCQZIzHgZ4Q==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.20.0.tgz", + "integrity": "sha512-lCA6QG22dPk9ecHbv91jDQZsmtPUjdS1aE2Il6NNPqe7DrYc0dZQi6DhcESk2KYXH2sp5xbAcGdYMZDFnuzA2A==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -4355,9 +4355,9 @@ } }, "node_modules/ip-address": { - "version": "10.7.5", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.5.tgz", - "integrity": "sha512-t2v0rkILYv9WXmSL7TpAaU3HXgaFYOPUcH3QHgwQ++gpJuH3bqyMy4Fvt/DJCTKwzH3Cf+bAp5W/mFL39KPLzA==", + "version": "10.7.6", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.6.tgz", + "integrity": "sha512-00LYkM6byILa9eQIx6qoaXCM40xTLd56AZ4vyaPW3YTyb49VZYPo5xsiAq4tuQ54GH4R7gVdYScJ1B7B77PuTg==", "license": "MIT", "engines": { "node": ">= 12" diff --git a/package.json b/package.json index 631f9f64..0d596413 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "url": "git+https://github.com/yuhp/opencode-models-discovery.git" }, "dependencies": { - "@opencode/plugin": "2.2.5", + "@opencode/plugin": "2.2.6", "xdg-basedir": "^5.1.0" }, "peerDependencies": { From 599e0423e722c15da8f21082032bc48c98f5b8df Mon Sep 17 00:00:00 2001 From: Penguin Secret Agency <155616440+PSA-Team-source@users.noreply.github.com> Date: Wed, 11 Nov 2026 10:55:44 +0700 Subject: [PATCH 19/29] docs: add UberLLM provider configuration example (#198) --- docs/config_example/README.md | 1 + docs/config_example/uberllm.md | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 docs/config_example/uberllm.md diff --git a/docs/config_example/README.md b/docs/config_example/README.md index 5284b471..42558b7b 100644 --- a/docs/config_example/README.md +++ b/docs/config_example/README.md @@ -35,6 +35,7 @@ Do not paste secrets into public issues or pull requests. Configure provider cre - [A2Agent](a2agent.md) - [AI-ROUTER](ai-router.md) - [DeepSeek](deepseek.md) +- [UberLLM](uberllm.md) ## Community Example PR Scope diff --git a/docs/config_example/uberllm.md b/docs/config_example/uberllm.md new file mode 100644 index 00000000..78c46aa9 --- /dev/null +++ b/docs/config_example/uberllm.md @@ -0,0 +1,40 @@ +# UberLLM Configuration Example + +This example uses the primary OpenCode v2 configuration shape. For legacy OpenCode v1, adapt using the [migration guide](../migrate-v1-to-v2.md). + +## Disclaimer + +This project is not affiliated with, endorsed by, or sponsored by [UberLLM](https://uberllm.dev/). + +## Example + +```jsonc +{ + "$schema": "https://opencode.ai/config.json", + "plugins": [ + "opencode-models-discovery@2.1.0" + ], + "providers": { + "uberllm": { + "package": "@opencode/ai/providers/openai-compatible", + "settings": { + "baseURL": "https://api.uberllm.dev/v1", + // Optional: omit if managing credentials interactively via OpenCode '/connect' + "apiKey": "example_api_key", + "modelsDiscovery": { + "enabled": true, + "modelInfoFormat": "openrouter" + } + } + } + } +} +``` + +## Notes + +- Configure credentials with OpenCode `/connect` when possible, or through local private configuration. +- This uses the plugin's standard `/v1/models` discovery path, which resolves to `https://api.uberllm.dev/v1/models`. That endpoint lists chat models only; image, video and music models are not returned there. +- The `/v1/models` response carries OpenRouter-style inline fields (`context_length`, `top_provider.max_completion_tokens`, `architecture` modalities, `supported_parameters`, `pricing`), so `modelInfoFormat: "openrouter"` fills limits, modalities, tool-call support and cost from the same response without another request. Remove it if you do not want the plugin to set per-model costs. +- The example intentionally does not declare a static model list or filters. Returned models depend on the current API response. +- Verify the current API base URL, model availability, pricing, terms of service, data handling, and regional availability before use. From 60f42888bfb8d168f2f960b8417e45295017a34c Mon Sep 17 00:00:00 2001 From: yuhp Date: Wed, 11 Nov 2026 12:29:45 +0800 Subject: [PATCH 20/29] docs: update plugin examples to v2.1.2 --- README.md | 4 ++-- docs/config_example/a2agent.md | 2 +- docs/config_example/ai-router.md | 2 +- docs/config_example/deepseek.md | 2 +- docs/config_example/uberllm.md | 2 +- docs/configuration.md | 6 +++--- docs/connect-and-auth.md | 4 ++-- docs/migrate-v1-to-v2.md | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f3a41337..aa8c6c06 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ OpenCode v2 uses `plugins` and `providers`. Discovery settings belong under `pro { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "gateway": { @@ -73,7 +73,7 @@ For OpenCode v1 (`1.18.29+`), use `plugin`, `provider`, and `options`: ```json { "$schema": "https://opencode.ai/config.json", - "plugin": ["opencode-models-discovery@2.1.1"], + "plugin": ["opencode-models-discovery@2.1.2"], "provider": { "lmstudio": { "npm": "@ai-sdk/openai-compatible", diff --git a/docs/config_example/a2agent.md b/docs/config_example/a2agent.md index 9e6580d4..f05c319c 100644 --- a/docs/config_example/a2agent.md +++ b/docs/config_example/a2agent.md @@ -12,7 +12,7 @@ This project is not affiliated with, endorsed by, or sponsored by [A2Agent](http { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "a2agent": { diff --git a/docs/config_example/ai-router.md b/docs/config_example/ai-router.md index aad8e85f..ff637ad5 100644 --- a/docs/config_example/ai-router.md +++ b/docs/config_example/ai-router.md @@ -12,7 +12,7 @@ This project is not affiliated with, endorsed by, or sponsored by [AI-ROUTER](ht { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "ai-router": { diff --git a/docs/config_example/deepseek.md b/docs/config_example/deepseek.md index 42b8a8e2..b0403ef2 100644 --- a/docs/config_example/deepseek.md +++ b/docs/config_example/deepseek.md @@ -12,7 +12,7 @@ This project is not affiliated with, endorsed by, or sponsored by DeepSeek. { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "deepseek": { diff --git a/docs/config_example/uberllm.md b/docs/config_example/uberllm.md index 78c46aa9..6fab1aef 100644 --- a/docs/config_example/uberllm.md +++ b/docs/config_example/uberllm.md @@ -12,7 +12,7 @@ This project is not affiliated with, endorsed by, or sponsored by [UberLLM](http { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.0" + "opencode-models-discovery@2.1.2" ], "providers": { "uberllm": { diff --git a/docs/configuration.md b/docs/configuration.md index 5618b8d8..f70ad283 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -14,7 +14,7 @@ OpenCode v2 uses `plugins` and `providers`. The plugin can be declared directly { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "my-provider": { @@ -727,7 +727,7 @@ For providers with custom metadata paths or non-standard behavior: { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "lmstudio": { @@ -776,7 +776,7 @@ In this example: { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "ollama": { diff --git a/docs/connect-and-auth.md b/docs/connect-and-auth.md index 24f80946..d5704097 100644 --- a/docs/connect-and-auth.md +++ b/docs/connect-and-auth.md @@ -18,7 +18,7 @@ OpenCode v2 features a first-class Integration subsystem (`ctx.integration`) and { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "deepseek-custom": { @@ -83,7 +83,7 @@ OpenCode v1 does not have the V2 plugin integration API. Instead, the V1 adapter { "$schema": "https://opencode.ai/config.json", "plugin": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "provider": { "test_provider": { diff --git a/docs/migrate-v1-to-v2.md b/docs/migrate-v1-to-v2.md index 080c170d..987158f2 100644 --- a/docs/migrate-v1-to-v2.md +++ b/docs/migrate-v1-to-v2.md @@ -9,7 +9,7 @@ OpenCode v2 is the stable, primary integration. The package contains separate ad | OpenCode v1 | OpenCode v2 | |---|---| | `plugin` | `plugins` | -| `plugin: ["opencode-models-discovery"]` | `plugins: ["opencode-models-discovery@2.1.1"]` | +| `plugin: ["opencode-models-discovery"]` | `plugins: ["opencode-models-discovery@2.1.2"]` | | `provider` | `providers` | | `provider..npm` | `providers..package` | | `provider..options` | `providers..settings` | @@ -64,7 +64,7 @@ The V1 package commonly uses: { "$schema": "https://opencode.ai/config.json", "plugins": [ - "opencode-models-discovery@2.1.1" + "opencode-models-discovery@2.1.2" ], "providers": { "gateway": { From d0396d917a8f0e0bd3b9369645cc6b21ec617ec7 Mon Sep 17 00:00:00 2001 From: yuhp Date: Wed, 11 Nov 2026 12:39:52 +0800 Subject: [PATCH 21/29] docs: update OpenCode v2 compatibility badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa8c6c06..7831fc40 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![release](https://github.com/yuhp/opencode-models-discovery/actions/workflows/release.yml/badge.svg)](https://github.com/yuhp/opencode-models-discovery/actions/workflows/release.yml) [![license](https://img.shields.io/github/license/yuhp/opencode-models-discovery)](https://github.com/yuhp/opencode-models-discovery/blob/main/LICENSE) [![OpenCode v1](https://img.shields.io/badge/OpenCode%20v1-%3E%3D1.18.29-blueviolet)](https://opencode.ai/docs) -[![OpenCode v2](https://img.shields.io/badge/OpenCode%20v2-%3E%3D2.2.5-blueviolet)](https://opencode.ai/v2/docs/) +[![OpenCode v2](https://img.shields.io/badge/OpenCode%20v2-%3E%3D2.2.6-blueviolet)](https://opencode.ai/v2/docs/) > Discover models from OpenAI-compatible providers and add them to OpenCode automatically. From af371fef96e3facdc0981d4dbd93c25e2fbb6543 Mon Sep 17 00:00:00 2001 From: yuhp Date: Wed, 11 Nov 2026 12:43:27 +0800 Subject: [PATCH 22/29] docs: fix OpenCode v1 docs link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7831fc40..5087032b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![npm downloads](https://img.shields.io/npm/dt/opencode-models-discovery.svg)](https://www.npmjs.com/package/opencode-models-discovery) [![release](https://github.com/yuhp/opencode-models-discovery/actions/workflows/release.yml/badge.svg)](https://github.com/yuhp/opencode-models-discovery/actions/workflows/release.yml) [![license](https://img.shields.io/github/license/yuhp/opencode-models-discovery)](https://github.com/yuhp/opencode-models-discovery/blob/main/LICENSE) -[![OpenCode v1](https://img.shields.io/badge/OpenCode%20v1-%3E%3D1.18.29-blueviolet)](https://opencode.ai/docs) +[![OpenCode v1](https://img.shields.io/badge/OpenCode%20v1-%3E%3D1.18.29-blueviolet)](https://opencode.ai/v1/docs) [![OpenCode v2](https://img.shields.io/badge/OpenCode%20v2-%3E%3D2.2.6-blueviolet)](https://opencode.ai/v2/docs/) > Discover models from OpenAI-compatible providers and add them to OpenCode automatically. From 7a275ea8b6d4f909fe048b54c69f1b00a42b52a7 Mon Sep 17 00:00:00 2001 From: Simone Scarduzio Date: Wed, 11 Nov 2026 12:39:48 +0100 Subject: [PATCH 23/29] fix: keep pruned-catalog models whose modelID is listed; correct config docs A source model can alias a listed upstream model under its own catalog id, so pruneMissing now keeps models matching the inventory by id or modelID. The plugin cannot tell config-declared models from built-in ones, so the docs no longer promise that config models always survive. Co-Authored-By: Claude Opus 5.5 --- docs/configuration.md | 2 +- src/v2/catalog.ts | 4 +++- test/v2/catalog.test.ts | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 046c2147..9ea6aeca 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -119,7 +119,7 @@ Each provider can configure discovery behavior through `provider..options. | `provider..options.modelsDiscovery.modelInfoEndpoint` | `string` | Override a format-specific metadata endpoint as an origin-relative path or complete URL. Defaults to `/v1/model/info` for `"litellm"`, `/api/v1/models` for `"lmstudio"`, and `/api/show` for `"ollama"`; for `"aiproxy"`, it overrides the models.dev fallback URL | | `provider..options.modelsDiscovery.modelInfoFormat` | `string` | Model info response format. Currently supports `"aiproxy"`, `"bifrost"`, `"litellm"`, `"models.dev"`, `"vllm"`, `"lmstudio"`, `"llama-swap"`, `"omniroute"`, `"openrouter"`, and `"ollama"` | | `provider..options.modelsDiscovery.filterNonChat` | `boolean` | When model info is available, skip models whose `model_info.mode` is not `chat`. Defaults to `true` | -| `provider..options.modelsDiscovery.pruneMissing` | `boolean` | OpenCode v2 only. Remove built-in catalog models that the provider's models endpoint doesn't list, including ones excluded by the filters below. Models declared in your config stay. A failed refresh reuses the last successful list, and nothing is removed until one succeeds. Defaults to `false` | +| `provider..options.modelsDiscovery.pruneMissing` | `boolean` | OpenCode v2 only. Remove models from the provider's catalog when the provider's models endpoint doesn't list them by `id` or `modelID`, including ones excluded by the filters below. The plugin can't tell config-declared models from built-in ones, so any model it sees is pruned the same way; on OpenCode 2.2.5, models declared in `provider..models` were applied after the plugin and stayed. A failed refresh reuses the last successful list, and nothing is removed until one succeeds. Defaults to `false` | | `provider..options.modelsDiscovery.models.includeRegex` | `string[]` | Shortcut regex allow-list for discovered model ids only | | `provider..options.modelsDiscovery.models.excludeRegex` | `string[]` | Shortcut regex deny-list for discovered model ids only | | `provider..options.modelsDiscovery.models.includeBy` | `{ field: string, equals: string \| number \| boolean \| null }[]` or `{ field: string, match: string }[]` | Allow-list for top-level raw provider model fields | diff --git a/src/v2/catalog.ts b/src/v2/catalog.ts index 78d7e969..a64136cb 100644 --- a/src/v2/catalog.ts +++ b/src/v2/catalog.ts @@ -104,8 +104,10 @@ export function createProviderController( const source = editor.get(providerID) const sourceModels = source ? [...source.models.values()] : [] // An empty inventory is what a failed first request looks like, so it must never prune. + // Match on either key: a source model can alias a listed upstream model under its own id. + const listed = new Set([...models.values()].flatMap((model) => [model.id, model.modelID])) const existing = provider.pruneMissing && models.size > 0 - ? sourceModels.filter((model) => models.has(String(model.id))) + ? sourceModels.filter((model) => listed.has(String(model.id)) || listed.has(String((model as { modelID?: unknown }).modelID))) : sourceModels const existingIDs = new Set(existing.map((model) => String(model.id))) editor.models.set(providerID, [ diff --git a/test/v2/catalog.test.ts b/test/v2/catalog.test.ts index 10527682..ba98f6b4 100644 --- a/test/v2/catalog.test.ts +++ b/test/v2/catalog.test.ts @@ -101,6 +101,28 @@ describe("V2 provider controller", () => { expect(set).toHaveBeenCalledWith("local", [kept, expect.objectContaining({ modelID: "new" })]) }) + it("keeps a source model whose modelID is listed under a different catalog id", async () => { + const set = vi.fn() + const alias = { id: "alias", modelID: "listed" } + const hidden = { id: "other", modelID: "hidden" } + const controller = createProviderController( + { provider: { reload: vi.fn() } } as never, + [{ ...provider(), pruneMissing: true }], + (id) => `integration.${id}`, + ) + const editor = { + get: vi.fn().mockReturnValue({ provider: { id: "local" }, models: new Map([["alias", alias], ["other", hidden]]) }), + add: vi.fn(), + update: vi.fn(), + models: { set }, + } + await controller.replaceInventory(discovered("listed")) + controller.transform(editor as never) + const ids = set.mock.calls[0]![1].map((model: { id: string }) => model.id) + expect(ids).toContain("alias") + expect(ids).not.toContain("other") + }) + it("keeps source models when the option is off", async () => { const { controller, editor, set, kept, stale } = run(false) await controller.replaceInventory(discovered("both")) From 0ed478bde7f65d919dcf89cff8f7022f4abf38da Mon Sep 17 00:00:00 2001 From: Realmagnum Date: Fri, 13 Nov 2026 16:01:45 +0300 Subject: [PATCH 24/29] feat(models.dev): prefer provider-advertised token limits Gateways that front several upstreams advertise the limits they actually accept on GET /v1/models. Keep those values authoritative for the context window and output budget, then fill any remaining gap from models.dev, instead of letting the static catalog override the live endpoint. Reads context_length/max_context_length and max_completion_tokens/max_output_tokens, ignores malformed values, and applies the same precedence to the aiproxy format that builds on this enricher. --- docs/configuration.md | 6 +- src/utils/model-info/models-dev.ts | 30 +++++++- test/aiproxy-model-info.test.ts | 16 +++++ test/models-dev-model-info.test.ts | 107 +++++++++++++++++++++++++++++ 4 files changed, 154 insertions(+), 5 deletions(-) create mode 100644 test/models-dev-model-info.test.ts diff --git a/docs/configuration.md b/docs/configuration.md index f70ad283..ef69844e 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -362,7 +362,7 @@ The plugin currently supports ten model info formats: | `"aiproxy"` | AIProxy's discovered `/models` entries plus models.dev | No | Maps inline AIProxy limits, pricing, and declared effort tiers; models.dev supplies general metadata | | `"bifrost"` | Fields in Bifrost's `/v1/models` response | No | Reads Bifrost inline limits, modalities, and base pricing when present | | `"litellm"` | Provider-specific model info endpoint | No | Uses `/v1/model/info` by default; set `modelInfoEndpoint` to override it | -| `"models.dev"` | `https://models.dev/models.json` | No | Uses the public models.dev metadata index | +| `"models.dev"` | `https://models.dev/models.json` | No | Uses the public models.dev metadata index; limits advertised inline by the provider take precedence | | `"vllm"` | Fields in the provider's `/v1/models` response | No | Reads vLLM-style `max_model_len` when present | | `"lmstudio"` | LM Studio 0.4.0+ `/api/v1/models` inventory | No | Uses `/api/v1/models` by default; set `modelInfoEndpoint` for another path | | `"llama-swap"` | Fields in llama-swap's `/v1/models` response | No | Reads inline context, modalities, and function-calling metadata when present | @@ -374,7 +374,7 @@ The plugin currently supports ten model info formats: ### AIProxy Metadata -Use `modelInfoFormat: "aiproxy"` when the configured model-list endpoint returns AIProxy's inline `limits` and `pricing` fields. The plugin makes no second request to AIProxy. It also fetches models.dev for general metadata and display names, then overlays valid AIProxy values. Explicit model configuration remains highest priority. +Use `modelInfoFormat: "aiproxy"` when the configured model-list endpoint returns AIProxy's inline `limits` and `pricing` fields. The plugin makes no second request to AIProxy. It also fetches models.dev for general metadata and display names, then overlays valid AIProxy values. Limits advertised inline in the model-list entry are kept as the base, so they win over models.dev before the AIProxy `limits` block is applied. Explicit model configuration remains highest priority. ```jsonc { @@ -689,6 +689,8 @@ When a discovered model can be matched to models.dev metadata, the plugin may po The current models.dev data uses a flat `provider/model`-keyed object. Its `limit` object is singular, and its `context`, `input`, and `output` fields are independently optional. `structured_output` and `temperature` may also be omitted; the plugin leaves omitted fields unset rather than inferring `false`. The current models.dev dataset does not provide `variants` metadata. +Limits advertised inline by the provider's `/v1/models` entry take precedence over matching models.dev limits. The plugin reads `context_length` or `max_context_length` for the context window and `max_completion_tokens` or `max_output_tokens` for the output budget, then fills any remaining gap from models.dev. This keeps gateways that front several upstreams (for example CLIProxyAPI or a LiteLLM pool) authoritative for what their own routes accept, while models.dev still supplies names and capabilities. + Matching is intentionally conservative: - Exact model ids are preferred. diff --git a/src/utils/model-info/models-dev.ts b/src/utils/model-info/models-dev.ts index 2a1a1475..4e7b505f 100644 --- a/src/utils/model-info/models-dev.ts +++ b/src/utils/model-info/models-dev.ts @@ -1,19 +1,43 @@ import { lookupModelsDevData, type ModelsDevModel } from '../models-dev-fetcher' import type { ModelEnricher } from '../../core/model-enrichment' -import { createModelLimits } from '../../core/model-types' +import { createModelLimits, type DiscoveredRawModel } from '../../core/model-types' function hasUsableNumber(value: unknown): value is number { return typeof value === 'number' && Number.isFinite(value) && value > 0 } +function firstUsableNumber(...values: readonly unknown[]): number | undefined { + return values.find(hasUsableNumber) +} + +/** + * Reads token limits advertised inline by an OpenAI-compatible /v1/models entry. + * + * Gateways that front several upstreams (CLIProxyAPI, LiteLLM poolers, custom + * routers) advertise the limits they actually accept. Those values describe the + * live endpoint, so they take precedence over the static models.dev catalog, + * which can lag behind or overstate what a specific route enforces. + */ +function advertisedProviderLimits(model: DiscoveredRawModel): { context?: number; output?: number } | undefined { + const context = firstUsableNumber(model.context_length, model.max_context_length) + const output = firstUsableNumber(model.max_completion_tokens, model.max_output_tokens) + if (context === undefined && output === undefined) return undefined + return { + ...(context !== undefined ? { context } : {}), + ...(output !== undefined ? { output } : {}), + } +} + export function createModelsDevEnricher(data: unknown): ModelEnricher { const cache = data instanceof Map ? data as Map : new Map() return { enrich(model) { const info = lookupModelsDevData(model.id, cache) - const contextLimit = hasUsableNumber(info?.limit?.context) ? info?.limit?.context : info?.limit?.input + const advertised = advertisedProviderLimits(model) + const infoContext = hasUsableNumber(info?.limit?.context) ? info?.limit?.context : info?.limit?.input + const contextLimit = advertised?.context ?? infoContext const limits = hasUsableNumber(contextLimit) - ? createModelLimits(contextLimit, info?.limit?.output, info?.limit?.input) + ? createModelLimits(contextLimit, advertised?.output ?? info?.limit?.output, info?.limit?.input) : undefined return { metadataName: info?.name, diff --git a/test/aiproxy-model-info.test.ts b/test/aiproxy-model-info.test.ts index b98b3de6..acc951a3 100644 --- a/test/aiproxy-model-info.test.ts +++ b/test/aiproxy-model-info.test.ts @@ -60,4 +60,20 @@ describe('native AIProxy model enricher', () => { capabilities: { effort_tiers: ['unsupported'] }, }, { filterNonChat: true })).toEqual({ variants: {} }) }) + + it('keeps provider-advertised limits as the base that inline limits overlay', () => { + const enricher = createAIProxyEnricher(new Map([['gpt-6-luna', { + id: 'gpt-6-luna', + limit: { context: 1_050_000, output: 32_000 }, + }]])) + + const result = enricher.enrich({ + id: 'gpt-6-luna', + context_length: 272_000, + max_completion_tokens: 128_000, + limits: { max_output_tokens: 64_000 }, + }, { filterNonChat: true }) + + expect(result.limit).toEqual({ context: 272_000, output: 64_000 }) + }) }) diff --git a/test/models-dev-model-info.test.ts b/test/models-dev-model-info.test.ts new file mode 100644 index 00000000..be27a865 --- /dev/null +++ b/test/models-dev-model-info.test.ts @@ -0,0 +1,107 @@ +import { describe, expect, it } from 'vitest' +import { createModelsDevEnricher } from '../src/utils/model-info/models-dev' + +function catalog(id: string, limit: { context?: number; input?: number; output?: number }, extra: Record = {}) { + return new Map([[id, { id, limit, ...extra }]]) +} + +describe('models.dev model enricher', () => { + it('prefers limits advertised by the provider over the models.dev catalog', () => { + const enricher = createModelsDevEnricher(catalog('deepseek/deepseek-v4.1-flash', { + context: 1_048_576, + output: 393_216, + })) + + const result = enricher.enrich({ + id: 'deepseek/deepseek-v4.1-flash', + context_length: 1_000_000, + max_completion_tokens: 384_000, + }, { filterNonChat: true }) + + expect(result.limit).toEqual({ context: 1_000_000, output: 384_000 }) + }) + + it('accepts max_context_length and max_output_tokens aliases', () => { + const enricher = createModelsDevEnricher(catalog('custom-model', { + context: 1_000_000, + output: 384_000, + })) + + const result = enricher.enrich({ + id: 'custom-model', + max_context_length: 262_144, + max_output_tokens: 65_536, + }, { filterNonChat: true }) + + expect(result.limit).toEqual({ context: 262_144, output: 65_536 }) + }) + + it('fills missing provider fields from the models.dev catalog', () => { + const enricher = createModelsDevEnricher(catalog('custom-model', { + context: 1_000_000, + input: 900_000, + output: 32_000, + })) + + const result = enricher.enrich({ + id: 'custom-model', + context_length: 200_000, + }, { filterNonChat: true }) + + expect(result.limit).toEqual({ context: 200_000, input: 900_000, output: 32_000 }) + }) + + it('keeps the models.dev context when the provider advertises output only', () => { + const enricher = createModelsDevEnricher(catalog('custom-model', { + context: 1_000_000, + output: 393_216, + })) + + const result = enricher.enrich({ + id: 'custom-model', + max_completion_tokens: 128_000, + }, { filterNonChat: true }) + + expect(result.limit).toEqual({ context: 1_000_000, output: 128_000 }) + }) + + it('ignores malformed provider limits', () => { + const enricher = createModelsDevEnricher(catalog('custom-model', { + context: 128_000, + output: 16_384, + })) + + const result = enricher.enrich({ + id: 'custom-model', + context_length: '128000', + max_context_length: 0, + max_completion_tokens: Number.POSITIVE_INFINITY, + max_output_tokens: -1, + }, { filterNonChat: true }) + + expect(result.limit).toEqual({ context: 128_000, output: 16_384 }) + }) + + it('uses advertised context for models missing from the models.dev catalog', () => { + const enricher = createModelsDevEnricher(new Map()) + + const result = enricher.enrich({ + id: 'gateway-only-model', + context_length: 64_000, + }, { filterNonChat: true }) + + expect(result.limit).toEqual({ context: 64_000, output: 32_000 }) + }) + + it('clamps advertised output to the advertised context', () => { + const enricher = createModelsDevEnricher(new Map()) + + const result = enricher.enrich({ + id: 'gateway-only-model', + context_length: 64_000, + max_completion_tokens: 128_000, + }, { filterNonChat: true }) + + expect(result.limit).toEqual({ context: 64_000, output: 64_000 }) + }) +}) From 7e20ccad394e38ef998ef6bd0e4405c42b4ade80 Mon Sep 17 00:00:00 2001 From: rene <71117880+stiwa-wrre@users.noreply.github.com> Date: Mon, 16 Nov 2026 11:46:52 +0000 Subject: [PATCH 25/29] perf: bundle the plugin SDKs so installs skip the dependency tree Hosts unpack every installed dependency as individual files into the plugin cache. With the SDKs external, one install materialized ~30k files / ~450 MB (AWS SDK, redis, OpenTelemetry, effect, npm internals pulled in transitively) - painfully slow on Windows with antivirus scanning. esbuild now statically bundles @opencode/plugin (and the type-only @opencode-ai/plugin) into dist/*.js; the published manifest keeps zero dependencies/peerDependencies, and hosts import the plugin as a self-contained package (29,852 -> 64 files per cached install). - compile:runtime / compile:tui drop --packages=external - new test/node-loadable.test.ts proves the bundles import under plain Node - scripts/check-bundle-deps.ts guards external imports + manifest fields, wired into build / validate:package / CI - hand-written types/*.d.ts keep the published `types` entries self-contained (src/*.ts import SDKs that are no longer installed); test/types-consumer.test.ts typechecks a clean consumer against the packed tarball - scripts/bundle-notices.ts regenerates dist/THIRD-PARTY-NOTICES.md from the esbuild metafiles on every compile; check-bundle-deps --notices keeps it in sync; scripts/release.ts records bundled SDK versions in the release notes --- .github/workflows/ci.yml | 5 + .gitignore | 1 + RELEASE.md | 16 ++ bun.lock | 27 +-- package-lock.json | 371 +++++++++++++++++++++++++++++++-- package.json | 34 ++- scripts/bundle-notices.ts | 190 +++++++++++++++++ scripts/check-bundle-deps.ts | 169 +++++++++++++++ scripts/release.ts | 38 ++++ test/bundle-deps-guard.test.ts | 111 ++++++++++ test/bundle-notices.test.ts | 167 +++++++++++++++ test/node-loadable.test.ts | 26 +-- test/types-consumer.test.ts | 117 +++++++++++ types/index.d.ts | 43 ++++ types/server.d.ts | 7 + types/tui.d.ts | 27 +++ 16 files changed, 1271 insertions(+), 78 deletions(-) create mode 100644 scripts/bundle-notices.ts create mode 100644 scripts/check-bundle-deps.ts create mode 100644 test/bundle-deps-guard.test.ts create mode 100644 test/bundle-notices.test.ts create mode 100644 test/types-consumer.test.ts create mode 100644 types/index.d.ts create mode 100644 types/server.d.ts create mode 100644 types/tui.d.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ba42b95..a41ed1d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,5 +50,10 @@ jobs: - name: Build distribution run: npm run compile + - name: Bundle dependency guards + run: | + npm run check:bundle + npm run check:notices + - name: Inspect npm package run: npm pack --dry-run --ignore-scripts diff --git a/.gitignore b/.gitignore index 19a1f2c6..bf393c85 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules/ dist/ +meta/ .worktrees/ *.log .DS_Store diff --git a/RELEASE.md b/RELEASE.md index b3d94486..1b82ee30 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -20,6 +20,22 @@ feature branches -> dev -> release/vX.Y.Z -> main -> publish Release branches are short-lived per-version branches. There is no long-lived `release` branch. +## Bundled Dependencies + +`dist/runtime.js` and `dist/tui.js` bundle the OpenCode plugin SDKs (`@opencode/plugin`, and the type-only `@opencode-ai/plugin`) at build time, so the published package declares **no runtime or peer dependencies** and hosts install it without unpacking a dependency tree. Consequences for releases: + +1. Bump the `@opencode/plugin` / `@opencode-ai/plugin` devDependencies when preparing a release if you want the published plugin to track a newer SDK; the bundled copy is otherwise frozen at the last bump. +2. Do not add entries to `dependencies`, `peerDependencies`, or `optionalDependencies`. Hosts materialize every installed dependency as individual files in their plugin cache (a previous external-SDK setup unpacked ~30k files per install). `npm run check:bundle` fails the build if a bundled output keeps an external import or the manifest declares installable dependencies again. +3. `npm run compile` regenerates `dist/THIRD-PARTY-NOTICES.md` from the esbuild metafiles: an inventory of every bundled package with its exact version and full license text, shipped inside the tarball. `npm run check:notices` (part of `validate:package`) fails if the file is stale or a bundled package has no license classification, and `scripts/release.ts` embeds the SDK versions it lists into the GitHub release notes. + +## Release Validation + +`npm run validate:package` (run by the publish path) checks the release contract introduced with the bundling change: + +- `npm run check:bundle` — zero installable dependencies, SDKs bundled into the runtime. +- `npm run check:notices` — `dist/THIRD-PARTY-NOTICES.md` matches what the bundles actually contain. +- `test/types-consumer.test.ts` (via the test suites) — a clean consumer typechecks against the published package with nothing but ambient Node types installed. + ## What the Workflows Do ### Release Workflow diff --git a/bun.lock b/bun.lock index 2b1205c6..9c9d7fbd 100644 --- a/bun.lock +++ b/bun.lock @@ -4,13 +4,10 @@ "workspaces": { "": { "name": "opencode-model-discovery", - "dependencies": { - "@opencode/plugin": "2.2.6", - "xdg-basedir": "^5.1.0", - }, "devDependencies": { "@eslint/js": "^10.0.1", "@opencode-ai/plugin": "^1.18.29", + "@opencode/plugin": "2.2.6", "@types/node": "^26.5.1", "@vitest/coverage-v8": "^5.0.0", "esbuild": "^0.28.2", @@ -19,9 +16,7 @@ "typescript": "^5.9.3", "typescript-eslint": "^8.70.0", "vitest": "^5.0.0", - }, - "peerDependencies": { - "@opencode-ai/plugin": ">=1.18.29", + "xdg-basedir": "^5.1.0", }, }, }, @@ -90,12 +85,6 @@ "@cacheable/utils": ["@cacheable/utils@2.5.0", "", { "dependencies": { "hashery": "^1.5.1", "keyv": "^5.6.0" } }, "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA=="], - "@effect/opentelemetry": ["@effect/opentelemetry@4.1.0", "", { "peerDependencies": { "@opentelemetry/api": ">=1.9.0 <2.0.0", "@opentelemetry/api-logs": ">=0.203.0 <0.300.0", "@opentelemetry/resources": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-logs": ">=0.203.0 <0.300.0", "@opentelemetry/sdk-metrics": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-base": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-node": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-web": ">=2.0.0 <3.0.0", "@opentelemetry/semantic-conventions": ">=1.33.0 <2.0.0", "effect": "^4.1.0" }, "optionalPeers": ["@opentelemetry/api", "@opentelemetry/api-logs", "@opentelemetry/resources", "@opentelemetry/sdk-logs", "@opentelemetry/sdk-metrics", "@opentelemetry/sdk-trace-base", "@opentelemetry/sdk-trace-node", "@opentelemetry/sdk-trace-web"] }, "sha512-j9bNzQaoQvcnimBFMG0i3piEW20E8HjkXAQHTJN/XqG2e4uJ9zCv53/HCNzD7+ooFn5S4nwQy/BOXeNReMIe+A=="], - - "@effect/platform-node": ["@effect/platform-node@4.1.0", "", { "dependencies": { "@effect/platform-node-shared": "^4.1.0", "undici": "^8.12.2" }, "peerDependencies": { "effect": "^4.1.0", "redis": ">=5.0.0 <7.0.0" } }, "sha512-v+X7moGVF9k5oMVvz0slA+NgtEod+W+oygeI285MDJgSlUCW3JcqElj+cD3rlijFZtpKhC7RLkU1GuCxjGHTpA=="], - - "@effect/platform-node-shared": ["@effect/platform-node-shared@4.1.0", "", { "dependencies": { "@types/ws": "^8.18.2", "ws": "^8.22.0" }, "peerDependencies": { "effect": "^4.1.0" } }, "sha512-uYQfFRoxWLo8fIhiSeBcmz/R1ooOfE3HF3cWHFgxz82tZMk2Wn02BGABcdLmaAch9VpDLbtWnuhSxNyBsGMUFg=="], - "@emnapi/core": ["@emnapi/core@1.9.2", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" } }, "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA=="], "@emnapi/runtime": ["@emnapi/runtime@1.9.2", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw=="], @@ -922,12 +911,6 @@ "@aws-crypto/util/@smithy/util-utf8": ["@smithy/util-utf8@2.3.0", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="], - "@effect/opentelemetry/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - - "@effect/platform-node/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - - "@effect/platform-node-shared/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], - "@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], "@jridgewell/trace-mapping/@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], @@ -948,6 +931,12 @@ "@opencode/schema/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], + "@opencode/util/@effect/opentelemetry": ["@effect/opentelemetry@4.1.0", "", { "peerDependencies": { "@opentelemetry/api": ">=1.9.0 <2.0.0", "@opentelemetry/api-logs": ">=0.203.0 <0.300.0", "@opentelemetry/resources": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-logs": ">=0.203.0 <0.300.0", "@opentelemetry/sdk-metrics": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-base": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-node": ">=2.0.0 <3.0.0", "@opentelemetry/sdk-trace-web": ">=2.0.0 <3.0.0", "@opentelemetry/semantic-conventions": ">=1.33.0 <2.0.0", "effect": "^4.1.0" }, "optionalPeers": ["@opentelemetry/api", "@opentelemetry/api-logs", "@opentelemetry/resources", "@opentelemetry/sdk-logs", "@opentelemetry/sdk-metrics", "@opentelemetry/sdk-trace-base", "@opentelemetry/sdk-trace-node", "@opentelemetry/sdk-trace-web"] }, "sha512-j9bNzQaoQvcnimBFMG0i3piEW20E8HjkXAQHTJN/XqG2e4uJ9zCv53/HCNzD7+ooFn5S4nwQy/BOXeNReMIe+A=="], + + "@opencode/util/@effect/platform-node": ["@effect/platform-node@4.1.0", "", { "dependencies": { "@effect/platform-node-shared": "^4.1.0", "undici": "^8.12.2" }, "peerDependencies": { "effect": "^4.1.0", "redis": ">=5.0.0 <7.0.0" } }, "sha512-v+X7moGVF9k5oMVvz0slA+NgtEod+W+oygeI285MDJgSlUCW3JcqElj+cD3rlijFZtpKhC7RLkU1GuCxjGHTpA=="], + + "@opencode/util/@effect/platform-node-shared": ["@effect/platform-node-shared@4.1.0", "", { "dependencies": { "@types/ws": "^8.18.2", "ws": "^8.22.0" }, "peerDependencies": { "effect": "^4.1.0" } }, "sha512-uYQfFRoxWLo8fIhiSeBcmz/R1ooOfE3HF3cWHFgxz82tZMk2Wn02BGABcdLmaAch9VpDLbtWnuhSxNyBsGMUFg=="], + "@opencode/util/effect": ["effect@4.1.0", "", {}, "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q=="], "@opencode/util/minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], diff --git a/package-lock.json b/package-lock.json index 2848e3d6..f578443e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,13 +8,10 @@ "name": "opencode-models-discovery", "version": "2.1.2", "license": "MIT", - "dependencies": { - "@opencode/plugin": "2.2.6", - "xdg-basedir": "^5.1.0" - }, "devDependencies": { "@eslint/js": "^10.0.1", "@opencode-ai/plugin": "^1.18.29", + "@opencode/plugin": "2.2.6", "@types/node": "^26.5.1", "@vitest/coverage-v8": "^5.0.0", "esbuild": "^0.28.2", @@ -22,19 +19,18 @@ "globals": "^17.12.0", "typescript": "^5.9.3", "typescript-eslint": "^8.70.0", - "vitest": "^5.0.0" + "vitest": "^5.0.0", + "xdg-basedir": "^5.1.0" }, "engines": { "opencode": ">=1.18.29" - }, - "peerDependencies": { - "@opencode-ai/plugin": ">=1.18.29" } }, "node_modules/@ai-sdk/provider": { "version": "3.0.8", "resolved": "https://registry.npmjs.org/@ai-sdk/provider/-/provider-3.0.8.tgz", "integrity": "sha512-oGMAgGoQdBXbZqNG0Ze56CHjDZ1IDYOwGYxYjO5KLSlz5HiNQ9udIXsPZ61VWaHGZ5XW/jyjmr6t2xz2jGVwbQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "json-schema": "^0.4.0" @@ -47,6 +43,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-5.2.0.tgz", "integrity": "sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^5.2.0", @@ -61,6 +58,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-5.2.0.tgz", "integrity": "sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-js": "^5.2.0", @@ -76,6 +74,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.2.0", @@ -89,6 +88,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.2.0", @@ -102,6 +102,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz", "integrity": "sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^5.2.0", @@ -116,6 +117,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-5.2.0.tgz", "integrity": "sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -125,6 +127,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-5.2.0.tgz", "integrity": "sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.222.0", @@ -136,6 +139,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.2.0", @@ -149,6 +153,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.2.0", @@ -162,6 +167,7 @@ "version": "3.1057.0", "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.1057.0.tgz", "integrity": "sha512-5MliYkp2u0+2arTp5fZIaxl+xmm90LEKv/VeSxhfNQW4t0fvWJrNO429/jchWQenNoDRrOGE59VfbuZUfwFujg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", @@ -183,6 +189,7 @@ "version": "3.980.1", "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.980.1.tgz", "integrity": "sha512-W7jDWUPucezIUjFZpr8MudQQtz/m6yPMyAFrOyyQcHjuF4UrZdcCdP8eV1js06U9sH3dxp0AbhN+s9uHwQyXzQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.975.0", @@ -202,6 +209,7 @@ "version": "3.972.81", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.972.81.tgz", "integrity": "sha512-WS8AKP5qS6SzDN7bNZBd3ECmjeHkBbHgBmZjtFvHo7zdnSn5v+U9hSRuQLDQ9aueU2/ToH0x56mC7UgtLueBiA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/nested-clients": "^3.998.1", @@ -218,6 +226,7 @@ "version": "3.972.82", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.82.tgz", "integrity": "sha512-sAfysgoFWKg/CJvufYM7lhvMUfJpTsuwjCLzp843Vtw8NlQh2PW9/+upUFrsoQK46pJcv3u1a+st7qJ4jfSODw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -234,6 +243,7 @@ "version": "3.972.84", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.84.tgz", "integrity": "sha512-6xFe7tGPZedfak01TLUxuExU2Xhqw0VtoVvcS/+1OLjPB8If5vulTpCaR0TKTA/J6sAhTOjZHb6+4R1e1KRMKg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -252,6 +262,7 @@ "version": "3.973.27", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.27.tgz", "integrity": "sha512-geyao3+s46HIo8C0vyLz7cQ1qaOM1H6wrP/nNWTr5SoR4r97qlWrubi+a7Sg128KmvRZIFbwXTvkbKawBeysqg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -276,6 +287,7 @@ "version": "3.972.89", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.89.tgz", "integrity": "sha512-5kcIZkMMs6eYvU6psqZkmeWsS3EGES53S6xUJFCC6eoJak3BQCCaF8yLU1bN6LTAOr2a9RWw+m1XBGen7Jcq+Q==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -293,6 +305,7 @@ "version": "3.972.94", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.94.tgz", "integrity": "sha512-qZzjRq45j0S0rI4XjHKGL63gGSFGPDYRe18Crp7l4Zk3Yr6PG4PjIixZEtsGIliOjtZ/h+ATExgjE54JQJeZMQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/credential-provider-env": "^3.972.82", @@ -315,6 +328,7 @@ "version": "3.972.82", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.82.tgz", "integrity": "sha512-VsFOXU7gYDWqYwRis7Rif3CrE+c7xMNxp0L3XqGPuvF6JO2K93FYjhLlEphW5uEMpHEXkOOutZ5USGErgfKaog==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -331,6 +345,7 @@ "version": "3.973.26", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.26.tgz", "integrity": "sha512-IIrqv0iFNwO8Cd5EigbwILsnsvmprCAw5/BPfRvP/EiLQtBfv3PI9KpyUj2+qsJhYcpmKad+ugaS0+izle8OqQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -349,6 +364,7 @@ "version": "3.972.88", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.88.tgz", "integrity": "sha512-RmeE04naP7gWzux9l1vqNQPzuo2OkH0Ca9WDtX5Zf4NERoBLeWZNU2g1ka7aJ4Fc9fqBxBLtGL89vYEfFP1LHw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -366,6 +382,7 @@ "version": "3.1057.0", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.1057.0.tgz", "integrity": "sha512-rbrEHtz11g0kxsSkYr3fx2HABNNblp4AhB2MgPvJHgYOWfJ2eBviU7Mvoaef0PW8QH6lbZDfJcnM7eKvtvz3sw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-cognito-identity": "3.1057.0", @@ -394,6 +411,7 @@ "version": "3.998.1", "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.998.1.tgz", "integrity": "sha512-KPw5W6LN3waUskfDCRXRcyBEHAev5PVlMOjMq74OIivFYbgPvq39QeFege7IOFPncO425/AQK0qxdfaoeGejYQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -413,6 +431,7 @@ "version": "3.996.51", "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.51.tgz", "integrity": "sha512-+aHvUugVBuMPXxgkPfWnTMyGdE/yWS8GHi5+qQ37HowS0YqzrbuaDLznj+Dtmtu5jgCdqz36gXmujOToUhNNWw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.975.0", @@ -428,6 +447,7 @@ "version": "3.1164.0", "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1164.0.tgz", "integrity": "sha512-9LPRWfev5QZH1EnNn9O/Y++iCRpfxrJs4EIsJuOAKYZ0DY/kZ3aOx0qWzmN1OUOd8JlUk6Mjy1tJ8b7ul5tuVw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-sdk/core": "^3.980.1", @@ -445,6 +465,7 @@ "version": "3.975.0", "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.975.0.tgz", "integrity": "sha512-WQlhs6juByzWOzj5fwxOx0mPJaEqMcG/sDpl3Id61B3XhKE63xY+0QWcnG+sWR/sCfprmreyUo1lM7IKZmHMzw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/types": "^4.19.0", @@ -458,6 +479,7 @@ "version": "3.965.10", "resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.965.10.tgz", "integrity": "sha512-ycwH6Zd2GhuSqdXX9ihbCjeGTB6xOJs+O3+Jb8/zDG9978XU80qs75dfkPJRMNKe5MvBZPuNeFpd4JZKPoUF4g==", + "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -470,6 +492,7 @@ "version": "3.972.42", "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.42.tgz", "integrity": "sha512-smX8/gNP8Kjq+CWTBMZQLQ912vOQjiWExzwzvMO+eujPB5RY8IbtF0AGdUUXHKN7KoDWK9dIcuW0WG269kiP6w==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/types": "^4.19.0", @@ -483,6 +506,7 @@ "version": "0.3.0", "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.3.0.tgz", "integrity": "sha512-sl4Bm6yiMNYrZKkqqDFWN0UfnWhlS8ivKxrYl+6t0gCLrqr8y3B2IqZZbFRkfaVVp7C/baApyh71P+LeE1A2sQ==", + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=18.0.0" @@ -577,6 +601,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -593,6 +618,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -609,6 +635,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -625,6 +652,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -641,6 +669,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -657,6 +686,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -673,6 +703,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -689,6 +720,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -705,6 +737,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -721,6 +754,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -737,6 +771,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -753,6 +788,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -769,6 +805,7 @@ "cpu": [ "mips64el" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -785,6 +822,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -801,6 +839,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -817,6 +856,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -833,6 +873,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -849,6 +890,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -865,6 +907,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -881,6 +924,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -897,6 +941,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -913,6 +958,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -929,6 +975,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -945,6 +992,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -961,6 +1009,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -977,6 +1026,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1118,6 +1168,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/@gar/promise-retry/-/promise-retry-1.0.3.tgz", "integrity": "sha512-GmzA9ckNokPypTg10pgpeHNQe7ph+iIKKmhKu3Ob9ANkswreCx7R3cKmY781K8QK3AqVL3xVh9A42JvIAbkkSA==", + "dev": true, "license": "MIT", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -1193,6 +1244,7 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, "license": "ISC", "dependencies": { "string-width": "^5.1.2", @@ -1210,6 +1262,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "dev": true, "license": "ISC", "dependencies": { "minipass": "^7.0.4" @@ -1222,6 +1275,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz", "integrity": "sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ==", + "dev": true, "license": "ISC" }, "node_modules/@jridgewell/resolve-uri": { @@ -1364,6 +1418,7 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-4.0.2.tgz", "integrity": "sha512-EUEuWAxnL07Sp5/iC/1X6Xj+XThUvnbei9zfRWZdEXa7lss9RTHMhAHBeg+MZ5To9s/gGaSI+UwZTPdYMvKSeg==", + "dev": true, "license": "ISC", "dependencies": { "agent-base": "^7.1.0", @@ -1380,6 +1435,7 @@ "version": "9.4.0", "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-9.4.0.tgz", "integrity": "sha512-4Bm8hNixJG/sii1PMnag0V9i/sGOX9VRzFrUiZMSBJpGlLR38f+Btl85d07G9GL56xO0l0OZjvrGNYsDYp0xKA==", + "dev": true, "license": "ISC", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", @@ -1427,6 +1483,7 @@ "version": "10.8.1", "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-10.8.1.tgz", "integrity": "sha512-MAYk9IlIGiyC0c9fnjdBSQfIFPZT0g1MfeSiD1UXTq2zJOLX55jS9/sETJHqw/7LN18JjITrhYfgCfapbmZHiQ==", + "dev": true, "license": "ISC", "dependencies": { "@npmcli/map-workspaces": "^5.0.0", @@ -1446,6 +1503,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz", "integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -1455,6 +1513,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-5.0.0.tgz", "integrity": "sha512-7OsC1gNORBEawOa5+j2pXN9vsicaIOH5cPXxoR6fJOmH6/EXpJB2CajXOu1fPRFun2m1lktEFX11+P89hqO/og==", + "dev": true, "license": "ISC", "dependencies": { "semver": "^7.3.5" @@ -1467,6 +1526,7 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-7.0.2.tgz", "integrity": "sha512-oeolHDjExNAJAnlYP2qzNjMX/Xi9bmu78C9dIGr4xjobrSKbuMYCph8lTzn4vnW3NjIqVmw/f8BCfouqyJXlRg==", + "dev": true, "license": "ISC", "dependencies": { "@gar/promise-retry": "^1.0.0", @@ -1486,6 +1546,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz", "integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -1495,6 +1556,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-4.0.0.tgz", "integrity": "sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": ">=20" @@ -1504,6 +1566,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/which/-/which-6.0.1.tgz", "integrity": "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg==", + "dev": true, "license": "ISC", "dependencies": { "isexe": "^4.0.0" @@ -1519,6 +1582,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-4.0.0.tgz", "integrity": "sha512-yNyAdkBxB72gtZ4GrwXCM0ZUedo9nIbOMKfGjt6Cu6DXf0p8y1PViZAKDC8q8kv/fufx0WTjRBdSlyrvnP7hmA==", + "dev": true, "license": "ISC", "dependencies": { "npm-bundled": "^5.0.0", @@ -1535,6 +1599,7 @@ "version": "5.0.3", "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-5.0.3.tgz", "integrity": "sha512-o2grssXo1e774E5OtEwwrgoszYRh0lqkJH+Pb9r78UcqdGJRDRfhpM8DvZPjzNLLNYeD/rNbjOKM3Ss5UABROw==", + "dev": true, "license": "ISC", "dependencies": { "@npmcli/name-from-folder": "^4.0.0", @@ -1550,6 +1615,7 @@ "version": "9.0.3", "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-9.0.3.tgz", "integrity": "sha512-94GLSYhLXF2t2LAC7pDwLaM4uCARzxShyAQKsirmlNcpidH89VA4/+K1LbJmRMgz5gy65E/QBBWQdUvGLe2Frg==", + "dev": true, "license": "ISC", "dependencies": { "cacache": "^20.0.0", @@ -1566,6 +1632,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-4.0.0.tgz", "integrity": "sha512-qfrhVlOSqmKM8i6rkNdZzABj8MKEITGFAY+4teqBziksCQAOLutiAxM1wY2BKEd8KjUSpWmWCYxvXr0y4VTlPg==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -1575,6 +1642,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-5.0.0.tgz", "integrity": "sha512-uuG5HZFXLfyFKqg8QypsmgLQW7smiRjVc45bqD/ofZZcR/uxEjgQU8qDPv0s9TEeMUiAAU/GC5bR6++UdTirIQ==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -1584,6 +1652,7 @@ "version": "7.0.5", "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-7.0.5.tgz", "integrity": "sha512-iVuTlG3ORq2iaVa1IWUxAO/jIp77tUKBhoMjuzYW2kL4MLN1bi/ofqkZ7D7OOwh8coAx1/S2ge0rMdGv8sLSOQ==", + "dev": true, "license": "ISC", "dependencies": { "@npmcli/git": "^7.0.0", @@ -1602,6 +1671,7 @@ "version": "9.0.2", "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-9.0.2.tgz", "integrity": "sha512-h7b1j0egrruBm/32eVA6/zMw5VJxxaB3vT+uVGGQ4SAAMrQVFHNuzL4+EAXn66j+huj0jApINc1fW3fC+kVoeA==", + "dev": true, "license": "ISC", "dependencies": { "which": "^6.0.0" @@ -1614,6 +1684,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-4.0.0.tgz", "integrity": "sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": ">=20" @@ -1623,6 +1694,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/which/-/which-6.0.1.tgz", "integrity": "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg==", + "dev": true, "license": "ISC", "dependencies": { "isexe": "^4.0.0" @@ -1638,6 +1710,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/@npmcli/query/-/query-5.0.0.tgz", "integrity": "sha512-8TZWfTQOsODpLqo9SVhVjHovmKXNpevHU0gO9e+y4V4fRIOneiXy0u0sMP9LmS71XivrEWfZWg50ReH4WRT4aQ==", + "dev": true, "license": "ISC", "dependencies": { "postcss-selector-parser": "^7.0.0" @@ -1650,6 +1723,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/@npmcli/redact/-/redact-4.0.0.tgz", "integrity": "sha512-gOBg5YHMfZy+TfHArfVogwgfBeQnKbbGo3pSUyK/gSI0AVu+pEiDVcKlQb0D8Mg1LNRZILZ6XG8I5dJ4KuAd9Q==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -1659,6 +1733,7 @@ "version": "10.0.4", "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-10.0.4.tgz", "integrity": "sha512-mGUWr1uMnf0le2TwfOZY4SFxZGXGfm4Jtay/nwAa2FLNAKXUoUwaGwBMNH36UHPtinWfTSJ3nqFQr0091CxVGg==", + "dev": true, "license": "ISC", "dependencies": { "@npmcli/node-gyp": "^5.0.0", @@ -1714,6 +1789,7 @@ "version": "2.2.6", "resolved": "https://registry.npmjs.org/@opencode/ai/-/ai-2.2.6.tgz", "integrity": "sha512-VRes4ACJj1Lw8tpAgWwOy8+QPeXTko/KkJA8NDGVgVtl+MmzV/J5tlrpnpAI6zAgUARYV3GDFYj6EHn1V5ndLQ==", + "dev": true, "license": "MIT", "dependencies": { "@aws-sdk/credential-providers": "3.1057.0", @@ -1729,12 +1805,14 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", + "dev": true, "license": "MIT" }, "node_modules/@opencode/plugin": { "version": "2.2.6", "resolved": "https://registry.npmjs.org/@opencode/plugin/-/plugin-2.2.6.tgz", "integrity": "sha512-PbQD4aN8YJ8w3gM5L9h2msXppxEAUVj8Ejbaj6MMNb+99jPm7/XM+g2ugZomSNs1XXuab2IlrIKDgbiI49VfLw==", + "dev": true, "license": "MIT", "dependencies": { "@ai-sdk/provider": "3.0.8", @@ -1782,6 +1860,7 @@ "version": "2.2.6", "resolved": "https://registry.npmjs.org/@opencode/client/-/client-2.2.6.tgz", "integrity": "sha512-o90b8Z6tk62U3MiRK1g6r7WmNWLzHzIHme75/MCWa9/XmOREMzY4W1N01wAuHwU3J6UH/PlUDNKvLkeX5qCyeA==", + "dev": true, "license": "MIT", "dependencies": { "@opencode/protocol": "2.2.6", @@ -1804,12 +1883,14 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", + "dev": true, "license": "MIT" }, "node_modules/@opencode/protocol": { "version": "2.2.6", "resolved": "https://registry.npmjs.org/@opencode/protocol/-/protocol-2.2.6.tgz", "integrity": "sha512-XBAgz2qnhFS/EI4P3pgC9A6HJTHnFiaQXkqux3liXwE7hZh5wEzRZ551nQZD95rkrH00EnryUSaKI2y/O2Bt6w==", + "dev": true, "license": "MIT", "dependencies": { "@opencode/schema": "2.2.6", @@ -1820,12 +1901,14 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", + "dev": true, "license": "MIT" }, "node_modules/@opencode/schema": { "version": "2.2.6", "resolved": "https://registry.npmjs.org/@opencode/schema/-/schema-2.2.6.tgz", "integrity": "sha512-TaLr30ktFFVsuReorFNbqYvybTVxV/4M44qm5XzRjUqq6deR0jH4h4Wt1gB0NTkXDFL0LMH+Ul1oVBnp5w9TRg==", + "dev": true, "license": "MIT", "dependencies": { "@standard-schema/spec": "1.1.0", @@ -1836,12 +1919,14 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", + "dev": true, "license": "MIT" }, "node_modules/@opencode/util": { "version": "2.2.6", "resolved": "https://registry.npmjs.org/@opencode/util/-/util-2.2.6.tgz", "integrity": "sha512-mOj2x3Aqw66sYzXq8MrypJVksFiO7GmFoSi5zi65TLtePbZCxvS/2TMbjgfa5MfWQp8YOl2327iv4W2rg6QQag==", + "dev": true, "license": "MIT", "dependencies": { "@effect/opentelemetry": "4.1.0", @@ -1872,6 +1957,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/@effect/opentelemetry/-/opentelemetry-4.1.0.tgz", "integrity": "sha512-j9bNzQaoQvcnimBFMG0i3piEW20E8HjkXAQHTJN/XqG2e4uJ9zCv53/HCNzD7+ooFn5S4nwQy/BOXeNReMIe+A==", + "dev": true, "license": "MIT", "engines": { "node": ">=22.19.0" @@ -1919,6 +2005,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/@effect/platform-node/-/platform-node-4.1.0.tgz", "integrity": "sha512-v+X7moGVF9k5oMVvz0slA+NgtEod+W+oygeI285MDJgSlUCW3JcqElj+cD3rlijFZtpKhC7RLkU1GuCxjGHTpA==", + "dev": true, "license": "MIT", "dependencies": { "@effect/platform-node-shared": "^4.1.0", @@ -1936,6 +2023,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/@effect/platform-node-shared/-/platform-node-shared-4.1.0.tgz", "integrity": "sha512-uYQfFRoxWLo8fIhiSeBcmz/R1ooOfE3HF3cWHFgxz82tZMk2Wn02BGABcdLmaAch9VpDLbtWnuhSxNyBsGMUFg==", + "dev": true, "license": "MIT", "dependencies": { "@types/ws": "^8.18.2", @@ -1952,12 +2040,14 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/effect/-/effect-4.1.0.tgz", "integrity": "sha512-lGx2MJJyrXA8RZb2UpQ/0Nkb5Utaimby7oD92+18noBxLPE85IFOvptdzau8dvcxAOwfwHo9iqapbKeFzqQM/Q==", + "dev": true, "license": "MIT" }, "node_modules/@opencode/util/node_modules/minimatch": { "version": "10.2.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "brace-expansion": "^5.0.5" @@ -1973,6 +2063,7 @@ "version": "8.12.4", "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.4.tgz", "integrity": "sha512-8Mx+uNKKER2bA4AdtedkqRbwUCIJFr2nJckXRe5yrDqzePqwLP7VNcctN8/XdmDSbF7mS+jJKIszlL+vbam1VA==", + "dev": true, "license": "MIT", "engines": { "node": ">=22.19.0" @@ -1982,6 +2073,7 @@ "version": "1.9.0", "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=8.0.0" @@ -1991,6 +2083,7 @@ "version": "0.219.0", "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.219.0.tgz", "integrity": "sha512-FFx7YnaYJlIjqWW/AG/yAZ0L/NEY724PipXXXQLdtZPbLwBGbUMTGL1i/esI56TWfTUXxhLfpgrnWJCG8aUJyg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0" @@ -2003,6 +2096,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-2.8.0.tgz", "integrity": "sha512-/3FIraneMcng67SUJCxvyInk/oxzwsxyadufk0wwfOBLf5wqtAGX4MoQASwSbndBPeARzBryUM9Azr5kHIdWLw==", + "dev": true, "license": "Apache-2.0", "engines": { "node": "^18.19.0 || >=20.6.0" @@ -2015,6 +2109,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-2.8.0.tgz", "integrity": "sha512-hd1Lfh8p545nNz+jq1Ejfz+Mn1hyLuxYn1YzTfFNrxr8urEWMNQLPf1Th8kjOH+HxwawCrtgBp8JpBUR4ZSgww==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/semantic-conventions": "^1.29.0" @@ -2030,6 +2125,7 @@ "version": "0.219.0", "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-http/-/exporter-trace-otlp-http-0.219.0.tgz", "integrity": "sha512-9t6SvBXXBEjOBcIzgozvBbd3jWrv3Gt3ngGhl1fhdZ/zRc7oZDVOFEqbi2zlBpW9BXhgDMKv422J0DL/3iQWfw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "2.8.0", @@ -2049,6 +2145,7 @@ "version": "0.219.0", "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-exporter-base/-/otlp-exporter-base-0.219.0.tgz", "integrity": "sha512-zvIxQX/AZUVKDU+hCuYx+7UkiP7GRdnk1ZbFQRYzHvYp47cAWR4j3IhoPhV9KaeXEv2xdGq3IA6PnpzDmLcmSA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "2.8.0", @@ -2065,6 +2162,7 @@ "version": "0.219.0", "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-transformer/-/otlp-transformer-0.219.0.tgz", "integrity": "sha512-aaYKAyXhw9VchKZVGOopD3Gw/kPsyrX2c6IQ0AW32mTjqmZOh5Y6Gf5OYqTNqVktAeBjmFinhyFaCwW6GYK9YQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/api-logs": "0.219.0", @@ -2085,6 +2183,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-2.8.0.tgz", "integrity": "sha512-qmXQ27ilDbUK/vGMqwL8D4/rhn76C+sherM4wTbjlfknR8Nvfc/hCxjRJPhkzZzUsPiNg16SA31NxMabwttRjg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "2.8.0", @@ -2101,6 +2200,7 @@ "version": "0.219.0", "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-logs/-/sdk-logs-0.219.0.tgz", "integrity": "sha512-s6lTKRakaPClvKoWHRChxnXjDMkM/TQ30ff78jN6EBGf7MI7VzANE5PU3f4z9qDUudWjvZjOLHG0rBnBKYvoXA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/api-logs": "0.219.0", @@ -2119,6 +2219,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-2.8.0.tgz", "integrity": "sha512-UDBGaj6W0Rgy5rTTaoxs8gVGF/aGkAKyjurJv7se6wjRxJu7FoquTLT/vt54DZfo4crbprYfhX/SOK9+BPw1qg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "2.8.0", @@ -2136,6 +2237,7 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.8.0.tgz", "integrity": "sha512-mhU4jp+vW0mGbFRd+GeXHvmfA4aDqWjBjLC3pE5XMpLs0IE2ryYb019Ts2AQrOq67gaTF25D91+fgvEHDZEnuQ==", "deprecated": "Use @opentelemetry/sdk-trace package", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "2.8.0", @@ -2154,6 +2256,7 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-node/-/sdk-trace-node-2.8.0.tgz", "integrity": "sha512-nZt9OGufioAc3AfoLTqA9bsAeaMJAictYDdI2VcNQ+PmT+3rfKjAZDZvgPfd8VPX0O5Bw1hdQF6kDK8VSpZiWg==", "deprecated": "Use @opentelemetry/sdk-trace package", + "dev": true, "license": "Apache-2.0", "dependencies": { "@opentelemetry/context-async-hooks": "2.8.0", @@ -2171,6 +2274,7 @@ "version": "1.45.0", "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.45.0.tgz", "integrity": "sha512-aOP45mbcOKbQVvFWfQmgoOPT8R2iwbbbgl83k4CujGV9BrJhFr3qG55MFpwFs4YLabpuW3HhzUY9eQxPlDqaZw==", + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=14" @@ -2180,7 +2284,7 @@ "version": "0.154.0", "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.154.0.tgz", "integrity": "sha512-KYOUGQFlLWR+s4QMV2Q9ko38TZm7EdO87Qm7rvZLqk/webse/cDjtyxKhg/47l0byCbs/k46LT8qc4PKjAikzA==", - "devOptional": true, + "dev": true, "license": "MIT", "peer": true, "funding": { @@ -2191,6 +2295,7 @@ "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, "license": "MIT", "optional": true, "engines": { @@ -2201,6 +2306,7 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/@redis/bloom/-/bloom-6.3.1.tgz", "integrity": "sha512-dpF9j2yJDoPzSCaZn0MSB3xzmnXQVJeTSAWJcQVcgbmluwhpFeemmII0cF1t+WYfoVS+shEFq79+MmUItgzJLg==", + "dev": true, "license": "MIT", "peer": true, "engines": { @@ -2214,6 +2320,7 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/@redis/client/-/client-6.3.1.tgz", "integrity": "sha512-masbfVKULdoAofwddepZxRhWa4w6zvBHn6TRn90TRPrRkVIlGCur3pFqwWaCbMxtYI9twepkz63e/T/tEH8GjA==", + "dev": true, "license": "MIT", "peer": true, "engines": { @@ -2236,6 +2343,7 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/@redis/json/-/json-6.3.1.tgz", "integrity": "sha512-fMz4kUwJzEftcU9EMaqsjZcUwzpTQLOYRqhQsAD6uKvZWeamblK13ZhgO5SzVSZVk31jmwLeTRpU5GAl5egfUw==", + "dev": true, "license": "MIT", "peer": true, "engines": { @@ -2249,6 +2357,7 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/@redis/search/-/search-6.3.1.tgz", "integrity": "sha512-T67pvPUpW82VrZLvihO8O2DFMC7eY2oMAzMzapCbiPZn7mdWqHMEIlohYim12gIawT5kn6qT/Cvmm4WulKB+kQ==", + "dev": true, "license": "MIT", "peer": true, "engines": { @@ -2262,6 +2371,7 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/@redis/time-series/-/time-series-6.3.1.tgz", "integrity": "sha512-MNDgrm+i63M/1a+XA+HcDsScwt4uBh/fGGJ84swTQZTFK5K5wMmxdlTRa4ZgmNJzjxMaszW/ipPScMUGV3aAMg==", + "dev": true, "license": "MIT", "peer": true, "engines": { @@ -2278,6 +2388,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2295,6 +2406,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2312,6 +2424,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2329,6 +2442,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2346,6 +2460,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2363,6 +2478,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2380,6 +2496,7 @@ "cpu": [ "arm64" ], + "dev": true, "libc": [ "glibc" ], @@ -2400,6 +2517,7 @@ "cpu": [ "arm64" ], + "dev": true, "libc": [ "musl" ], @@ -2420,6 +2538,7 @@ "cpu": [ "ppc64" ], + "dev": true, "libc": [ "glibc" ], @@ -2440,6 +2559,7 @@ "cpu": [ "s390x" ], + "dev": true, "libc": [ "glibc" ], @@ -2460,6 +2580,7 @@ "cpu": [ "x64" ], + "dev": true, "libc": [ "glibc" ], @@ -2480,6 +2601,7 @@ "cpu": [ "x64" ], + "dev": true, "libc": [ "musl" ], @@ -2500,6 +2622,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2517,6 +2640,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2534,6 +2658,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2548,7 +2673,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", - "devOptional": true, + "dev": true, "license": "MIT", "peer": true }, @@ -2556,6 +2681,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-4.0.0.tgz", "integrity": "sha512-NwCl5Y0V6Di0NexvkTqdoVfmjTaQwoLM236r89KEojGmq/jMls8S+zb7yOwAPdXvbwfKDlP+lmXgAL4vKSQT+A==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@sigstore/protobuf-specs": "^0.5.0" @@ -2568,6 +2694,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/@sigstore/core/-/core-3.2.1.tgz", "integrity": "sha512-qRsxPnCrbC/puegGxKuynfnxgLiHqWStrSjxkoB4YKqq3Z3s4cyZyj42ZdWFAEblNP65C+rBH8EuREHIXoi83g==", + "dev": true, "license": "Apache-2.0", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -2577,6 +2704,7 @@ "version": "0.5.2", "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.5.2.tgz", "integrity": "sha512-SQqvFMt4V78fdjcDdYX6HbiVSOR4QK3ZgwCa2KOsopAgPIHy1rU5UDUmzLl02r5oyyaYcYHR1hpwDRk/yUe+Mw==", + "dev": true, "license": "Apache-2.0", "engines": { "node": "^18.17.0 || >=20.5.0" @@ -2586,6 +2714,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-4.1.1.tgz", "integrity": "sha512-Hf4xglukg0XXQ2RiD5vSoLjdPe8OBUPA8XeVjUObheuDcWdYWrnH/BNmxZCzkAy68MzmNCxXLeurJvs6hcP2OQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@gar/promise-retry": "^1.0.2", @@ -2603,6 +2732,7 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-4.0.2.tgz", "integrity": "sha512-TCAzTy0xzdP79EnxSjq9KQ3eaR7+FmudLC6eRKknVKZbV7ZNlGLClAAQb/HMNJ5n2OBNk2GT1tEmU0xuPr+SLQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@sigstore/protobuf-specs": "^0.5.0", @@ -2616,6 +2746,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/@sigstore/verify/-/verify-3.1.1.tgz", "integrity": "sha512-qv7+G3J2cc6wwFj3yKvXOamzqhMwSk1ogPGmhpS8iXllcPrJaIIBA+4HbttlHVu1pqWTdmaCH/WE7UOC51kdoA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@sigstore/bundle": "^4.0.0", @@ -2630,6 +2761,7 @@ "version": "3.39.0", "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.39.0.tgz", "integrity": "sha512-JJ/46AWQ4ipS1N2eZmUj7yzIhH8NhQIfAE+dce7NSB6dmFh+7hvD4pbofcoT4I0Xzfy/LNhZx3V2QhwYyAiqdg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/types": "^4.20.0", @@ -2643,6 +2775,7 @@ "version": "4.5.2", "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.5.2.tgz", "integrity": "sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/core": "^3.33.2", @@ -2657,6 +2790,7 @@ "version": "4.2.14", "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-4.2.14.tgz", "integrity": "sha512-erZq0nOIpzfeZdCyzZjdJb4nVSKLUmSkaQUVkRGQTXs30gyUGeKnrYEg+Xe1W5gE3aReS7IgsvANwVPxSzY6Pw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/crc32": "5.2.0", @@ -2672,6 +2806,7 @@ "version": "5.8.1", "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.8.1.tgz", "integrity": "sha512-h8BdMUrUBhMhMaeK7QqAdINRZezCGuYOCpcOZZ1ewxbHST9rdTd09xwNpvLTYfzDRehxQiReK4SKbdYZxBA+ew==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/core": "^3.39.0", @@ -2686,6 +2821,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -2698,6 +2834,7 @@ "version": "4.14.2", "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.2.tgz", "integrity": "sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/core": "^3.39.0", @@ -2712,6 +2849,7 @@ "version": "5.7.5", "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.7.5.tgz", "integrity": "sha512-WPjdr5oWOk1LArpI4pavu+fSo+/evi0Re1olxGvqwuZopd4gYR1UGCi+Soyn/IjmafqbWs+ZC+3AKxJS3ZpwUg==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/core": "^3.38.0", @@ -2726,6 +2864,7 @@ "version": "4.20.0", "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.20.0.tgz", "integrity": "sha512-lCA6QG22dPk9ecHbv91jDQZsmtPUjdS1aE2Il6NNPqe7DrYc0dZQi6DhcESk2KYXH2sp5xbAcGdYMZDFnuzA2A==", + "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -2738,6 +2877,7 @@ "version": "4.5.2", "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-4.5.2.tgz", "integrity": "sha512-nxu3SgmAw9JXT2CtkU0m/XNLWpP9MsaBx1zAGAypCbYj15tIFlmcYwpF+Oh18le83d+IM9PT7ENdXnE4C+d5mA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/core": "^3.33.2", @@ -2751,6 +2891,7 @@ "version": "4.5.2", "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-4.5.2.tgz", "integrity": "sha512-iq+cW3mAb7vfcxEEpYi3zXKpDtbrIFyanWjQl4zBq4seWD4OSxXDWSfespZxenX6aEaighn+NR3u1nU1DSvs3w==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/core": "^3.33.2", @@ -2764,6 +2905,7 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.2.2.tgz", "integrity": "sha512-75MeYpjdWRe8M5E3AW0O4Cx3UadweS+cwdXjwYGBW5h/gxxnbeZ877sLPX/ZJA9GVTlL/qG0dXP29JWFCD1Ayw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^4.2.2", @@ -2775,12 +2917,14 @@ }, "node_modules/@standard-schema/spec": { "version": "1.1.0", + "dev": true, "license": "MIT" }, "node_modules/@tufjs/canonical-json": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz", "integrity": "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==", + "dev": true, "license": "MIT", "engines": { "node": "^16.14.0 || >=18.0.0" @@ -2790,6 +2934,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-4.1.0.tgz", "integrity": "sha512-Y8cK9aggNRsqJVaKUlEYs4s7CvQ1b1ta2DVPyAimb0I2qhzjNk+A+mxvll/klL0RlfuIUei8BF7YWiua4kQqww==", + "dev": true, "license": "MIT", "dependencies": { "@tufjs/canonical-json": "2.0.0", @@ -2840,6 +2985,7 @@ "version": "26.6.6", "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.6.tgz", "integrity": "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==", + "dev": true, "license": "MIT", "dependencies": { "undici-types": "~8.9.0" @@ -2849,6 +2995,7 @@ "version": "8.18.2", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.2.tgz", "integrity": "sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*" @@ -3178,6 +3325,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-4.0.0.tgz", "integrity": "sha512-a1wflyaL0tHtJSmLSOVybYhy22vRih4eduhhrkcjgrWGnRfrZtovJ2FRjxuTtkkj47O/baf0R86QU5OuYpz8fA==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -3210,6 +3358,7 @@ "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, "license": "MIT", "engines": { "node": ">= 14" @@ -3236,6 +3385,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.5.0.tgz", "integrity": "sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -3248,6 +3398,7 @@ "version": "6.2.3", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -3282,12 +3433,14 @@ "version": "1.0.20", "resolved": "https://registry.npmjs.org/aws4fetch/-/aws4fetch-1.0.20.tgz", "integrity": "sha512-/djoAN709iY65ETD6LKCtyyEI04XIBP5xVvfmNxsEP0uJB5tyaGBztSryRr4HqMStr9R06PisQE7m9zDTXKu6g==", + "dev": true, "license": "MIT" }, "node_modules/balanced-match": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, "license": "MIT", "engines": { "node": "18 || 20 || >=22" @@ -3297,6 +3450,7 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, "funding": [ { "type": "github", @@ -3317,6 +3471,7 @@ "version": "9.3.1", "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.3.1.tgz", "integrity": "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==", + "dev": true, "license": "MIT", "engines": { "node": "*" @@ -3326,6 +3481,7 @@ "version": "6.0.3", "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-6.0.3.tgz", "integrity": "sha512-Qg5FD7/YSReWJB1zaM8VIi1l4O637JKK/WPaF/JzJGy/9FcMDWtSklF0dOX5S9X2OMrPGhifIHIKuwtHG0IGFg==", + "dev": true, "license": "ISC", "dependencies": { "cmd-shim": "^8.0.0", @@ -3342,12 +3498,14 @@ "version": "2.15.0", "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.15.0.tgz", "integrity": "sha512-xic6KSZglg/I4ymp45fdM4GWfYpBK79Fxd/TOvJktlaPgQqqDxvmGwOPZl2V0dyeS3Lj5c180bLhXF43iyAjZQ==", + "dev": true, "license": "MIT" }, "node_modules/brace-expansion": { "version": "5.0.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^4.0.2" @@ -3360,12 +3518,14 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "dev": true, "license": "BSD-3-Clause" }, "node_modules/bundle-name": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.1.tgz", "integrity": "sha512-DdH81/zPLVS11EUgWq3tEu/xn+EzljlMYooDNdzWEnFha3R3NBMpMV1UqYIpjYHV/SgpFKMIX1Oh7o06SjM/oA==", + "dev": true, "license": "MIT", "dependencies": { "run-applescript": "^7.0.0" @@ -3381,6 +3541,7 @@ "version": "20.0.4", "resolved": "https://registry.npmjs.org/cacache/-/cacache-20.0.4.tgz", "integrity": "sha512-M3Lab8NPYlZU2exsL3bMVvMrMqgwCnMWfdZbK28bn3pK6APT/Te/I8hjRPNu1uwORY9a1eEQoifXbKPQMfMTOA==", + "dev": true, "license": "ISC", "dependencies": { "@npmcli/fs": "^5.0.0", @@ -3426,6 +3587,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": ">=18" @@ -3435,6 +3597,7 @@ "version": "4.4.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz", "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==", + "dev": true, "funding": [ { "type": "github", @@ -3450,6 +3613,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-8.0.0.tgz", "integrity": "sha512-Jk/BK6NCapZ58BKUxlSI+ouKRbjH1NLZCgJkYoab+vEHUY3f6OzpNBN9u7HFSv9J6TRDGs4PLOHezoKGaFRSCA==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -3459,6 +3623,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -3471,12 +3636,14 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, "license": "MIT" }, "node_modules/common-ancestor-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/common-ancestor-path/-/common-ancestor-path-2.0.0.tgz", "integrity": "sha512-dnN3ibLeoRf2HNC+OlCiNc5d2zxbLJXOtiZUudNFSXZrNSydxcCsSpRzXwfu7BBWCIfHPw+xTayeBvJCP/D8Ng==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": ">= 18" @@ -3486,6 +3653,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -3497,6 +3665,7 @@ }, "node_modules/cross-spawn": { "version": "7.0.6", + "dev": true, "license": "MIT", "dependencies": { "path-key": "^3.1.0", @@ -3511,6 +3680,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, "license": "MIT", "bin": { "cssesc": "bin/cssesc" @@ -3523,6 +3693,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "dev": true, "license": "MIT", "engines": { "node": ">= 12" @@ -3532,6 +3703,7 @@ "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -3556,6 +3728,7 @@ "version": "5.5.1", "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.1.tgz", "integrity": "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==", + "dev": true, "license": "MIT", "dependencies": { "bundle-name": "^4.1.0", @@ -3572,6 +3745,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -3584,6 +3758,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -3594,7 +3769,7 @@ }, "node_modules/detect-libc": { "version": "2.1.2", - "devOptional": true, + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=8" @@ -3604,12 +3779,14 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, "license": "MIT" }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" @@ -3638,12 +3815,14 @@ "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, "license": "MIT" }, "node_modules/env-paths": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -3660,7 +3839,7 @@ "version": "0.28.2", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", - "devOptional": true, + "dev": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -3890,12 +4069,14 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.3.tgz", "integrity": "sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==", + "dev": true, "license": "Apache-2.0" }, "node_modules/extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true, "license": "MIT" }, "node_modules/fast-check": { @@ -3946,6 +4127,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12.0.0" @@ -3963,6 +4145,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "dev": true, "funding": [ { "type": "github", @@ -4039,6 +4222,7 @@ "version": "3.3.1", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dev": true, "license": "ISC", "dependencies": { "cross-spawn": "^7.0.6", @@ -4055,6 +4239,7 @@ "version": "4.0.10", "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "dev": true, "license": "MIT", "dependencies": { "fetch-blob": "^3.1.2" @@ -4067,6 +4252,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, "license": "ISC", "dependencies": { "minipass": "^7.0.3" @@ -4079,6 +4265,7 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -4094,6 +4281,7 @@ "version": "7.3.1", "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-7.3.1.tgz", "integrity": "sha512-kB3rzJV7d9juLZh8/56QTXCwQfxyhdOMdyYk1HdQKFtF8TJTDTZQJtixWIwXdE9Jji91mC41DUNpjleo4L4eAQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "extend": "^3.0.2", @@ -4108,6 +4296,7 @@ "version": "8.1.4", "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-8.1.4.tgz", "integrity": "sha512-iJ9KMsiu+xKtNRX0PmGLSaIU3bUBAyzWTyqKemKPzNPsmmsBCQYmlNg+brEbES7IHSXtdVwzBPzx1vz3FAaipw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "gaxios": "7.1.3", @@ -4122,6 +4311,7 @@ "version": "7.1.3", "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-7.1.3.tgz", "integrity": "sha512-YGGyuEdVIjqxkxVH1pUTMY/XtmmsApXrCVv5EU25iX6inEPbV+VakJfLealkBtJN69AQmh1eGOdCl9Sm1UP6XQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "extend": "^3.0.2", @@ -4137,6 +4327,7 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-1.1.3.tgz", "integrity": "sha512-eAmLkjDjAFCVXg7A1unxHsLf961m6y17QFqXqAXGj/gVkKFrEICfStRfwUlGNfeCEjNRa32JEWOUTlYXPyyKvA==", + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=14" @@ -4146,6 +4337,7 @@ "version": "13.0.5", "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.5.tgz", "integrity": "sha512-BzXxZg24Ibra1pbQ/zE7Kys4Ua1ks7Bn6pKLkVPZ9FZe4JQS6/Q7ef3LG1H+k7lUf5l4T3PLSyYyYJVYUvfgTw==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "minimatch": "^10.2.1", @@ -4189,6 +4381,7 @@ "version": "10.5.0", "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-10.5.0.tgz", "integrity": "sha512-7ABviyMOlX5hIVD60YOfHw4/CxOfBhyduaYB+wbFWCWoni4N7SLcV46hrVRktuBbZjFC9ONyqamZITN7q3n32w==", + "dev": true, "license": "Apache-2.0", "dependencies": { "base64-js": "^1.3.0", @@ -4207,6 +4400,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-1.2.0.tgz", "integrity": "sha512-WE9av4wKDZgRjBwgVUabocx8T6/7o3Ca1Fat46FXDhXVAFibzNadedcOXrdgd1Kzmk8tsk/9ZH89Wyf/SqeZ3A==", + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=18" @@ -4216,12 +4410,14 @@ "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, "license": "ISC" }, "node_modules/gtoken": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-8.0.0.tgz", "integrity": "sha512-+CqsMbHPiSTdtSO14O51eMNlrp9N79gmeqmXeouJOhfucAedHw9noVe/n5uJk3tbKE6a+6ZCQg3RPhVhHByAIw==", + "dev": true, "license": "MIT", "dependencies": { "gaxios": "^7.0.0", @@ -4255,6 +4451,7 @@ "version": "9.0.3", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.3.tgz", "integrity": "sha512-Hc+ghLoSt6QaYZUv0WBiIvmMDZuZZ7oaDvdH8MbfOO4lOsxdXLEvuC6ePoGs9H1X9oCLyq6+NVN0MKqD+ydxyg==", + "dev": true, "license": "ISC", "dependencies": { "lru-cache": "^11.1.0" @@ -4267,12 +4464,14 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz", "integrity": "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==", + "dev": true, "license": "BSD-2-Clause" }, "node_modules/http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.0", @@ -4286,6 +4485,7 @@ "version": "7.0.6", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.2", @@ -4299,6 +4499,7 @@ "version": "0.7.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -4326,6 +4527,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-8.0.0.tgz", "integrity": "sha512-FCeMZT4NiRQGh+YkeKMtWrOmBgWjHjMJ26WQWrRQyoyzqevdaGSakUaJW5xQYmjLlUVk2qUnCjYVBax9EKKg8A==", + "dev": true, "license": "ISC", "dependencies": { "minimatch": "^10.0.3" @@ -4358,6 +4560,7 @@ "version": "10.7.6", "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.6.tgz", "integrity": "sha512-00LYkM6byILa9eQIx6qoaXCM40xTLd56AZ4vyaPW3YTyb49VZYPo5xsiAq4tuQ54GH4R7gVdYScJ1B7B77PuTg==", + "dev": true, "license": "MIT", "engines": { "node": ">= 12" @@ -4367,6 +4570,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, "license": "MIT", "bin": { "is-docker": "cli.js" @@ -4392,6 +4596,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -4414,6 +4619,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz", "integrity": "sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==", + "dev": true, "license": "MIT", "engines": { "node": ">=20" @@ -4426,6 +4632,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, "license": "MIT", "dependencies": { "is-docker": "^3.0.0" @@ -4444,6 +4651,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", + "dev": true, "license": "MIT", "dependencies": { "is-inside-container": "^1.0.0" @@ -4457,12 +4665,14 @@ }, "node_modules/isexe": { "version": "2.0.0", + "dev": true, "license": "ISC" }, "node_modules/jackspeak": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" @@ -4485,6 +4695,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "dev": true, "license": "MIT", "dependencies": { "bignumber.js": "^9.0.0" @@ -4494,6 +4705,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-5.0.0.tgz", "integrity": "sha512-ZF1nxZ28VhQouRWhUcVlUIN3qwSgPuswK05s/HIaoetAoE/9tngVmCHjSxmSQPav1nd+lPtTL0YZ/2AFdR/iYQ==", + "dev": true, "license": "MIT", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -4503,6 +4715,7 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true, "license": "(AFL-2.1 OR BSD-3-Clause)" }, "node_modules/json-schema-traverse": { @@ -4523,6 +4736,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz", "integrity": "sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==", + "dev": true, "license": "ISC", "funding": { "url": "https://github.com/sponsors/isaacs" @@ -4532,6 +4746,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true, "engines": [ "node >= 0.2.0" ], @@ -4541,18 +4756,21 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-6.0.2.tgz", "integrity": "sha512-S59eriX5u3/QhMNq3v/gm8Kd0w8OS6Tz2FS1NG4blv+z0MuQcBRJyFWjdovM0Rad4/P4aUPFtnkNjMjyMlMSYA==", + "dev": true, "license": "MIT" }, "node_modules/just-diff-apply": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-5.5.0.tgz", "integrity": "sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw==", + "dev": true, "license": "MIT" }, "node_modules/jwa": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", + "dev": true, "license": "MIT", "dependencies": { "buffer-equal-constant-time": "^1.0.1", @@ -4564,6 +4782,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", + "dev": true, "license": "MIT", "dependencies": { "jwa": "^2.0.1", @@ -4605,7 +4824,7 @@ "version": "1.33.0", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", - "devOptional": true, + "dev": true, "license": "MPL-2.0", "peer": true, "dependencies": { @@ -4639,6 +4858,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4660,6 +4880,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4681,6 +4902,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4702,6 +4924,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4723,6 +4946,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4744,6 +4968,7 @@ "cpu": [ "arm64" ], + "dev": true, "libc": [ "glibc" ], @@ -4768,6 +4993,7 @@ "cpu": [ "arm64" ], + "dev": true, "libc": [ "musl" ], @@ -4792,6 +5018,7 @@ "cpu": [ "x64" ], + "dev": true, "libc": [ "glibc" ], @@ -4816,6 +5043,7 @@ "cpu": [ "x64" ], + "dev": true, "libc": [ "musl" ], @@ -4840,6 +5068,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4861,6 +5090,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4895,6 +5125,7 @@ "version": "11.5.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": "20 || >=22" @@ -4926,6 +5157,7 @@ "version": "15.0.6", "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-15.0.6.tgz", "integrity": "sha512-Je0fLJ0F5atA7F+eIlLzk+Wkcl57JDf4kf+EW8xiP5E31xOQxkIxTbgf1Oi1Lw9tRI9UEMRdI5Vz2xTzoNU1Jw==", + "dev": true, "license": "ISC", "dependencies": { "@gar/promise-retry": "^1.0.0", @@ -4949,6 +5181,7 @@ "version": "1.54.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -4958,6 +5191,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, "license": "MIT", "dependencies": { "mime-db": "^1.54.0" @@ -4974,6 +5208,7 @@ "version": "10.2.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "brace-expansion": "^5.0.8" @@ -4989,6 +5224,7 @@ "version": "7.1.3", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": ">=16 || 14 >=14.17" @@ -4998,6 +5234,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", + "dev": true, "license": "ISC", "dependencies": { "minipass": "^7.0.3" @@ -5010,6 +5247,7 @@ "version": "5.0.2", "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-5.0.2.tgz", "integrity": "sha512-2d0q2a8eCi2IRg/IGubCNRJoYbA1+YPXAzQVRFmB45gdGZafyivnZ5YSEfo3JikbjGxOdntGFvBQGqaSMXlAFQ==", + "dev": true, "license": "MIT", "dependencies": { "minipass": "^7.0.3", @@ -5027,6 +5265,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.7.tgz", "integrity": "sha512-TbqTz9cUwWyHS2Dy89P3ocAGUGxKjjLuR9z8w4WUTGAVgEj17/4nhgo2Du56i0Fm3Pm30g4iA8Lcqctc76jCzA==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "minipass": "^3.0.0" @@ -5039,6 +5278,7 @@ "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, "license": "ISC", "dependencies": { "yallist": "^4.0.0" @@ -5051,12 +5291,14 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, "license": "ISC" }, "node_modules/minipass-pipeline": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "dev": true, "license": "ISC", "dependencies": { "minipass": "^3.0.0" @@ -5069,6 +5311,7 @@ "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, "license": "ISC", "dependencies": { "yallist": "^4.0.0" @@ -5081,12 +5324,14 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, "license": "ISC" }, "node_modules/minipass-sized": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-2.0.0.tgz", "integrity": "sha512-zSsHhto5BcUVM2m1LurnXY6M//cGhVaegT71OfOXoprxT6o780GZd792ea6FfrQkuU4usHZIUczAQMRUE2plzA==", + "dev": true, "license": "ISC", "dependencies": { "minipass": "^7.1.2" @@ -5099,6 +5344,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", + "dev": true, "license": "MIT", "dependencies": { "minipass": "^7.1.2" @@ -5111,6 +5357,7 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, "license": "MIT" }, "node_modules/msgpackr": { @@ -5157,7 +5404,7 @@ "version": "3.3.20", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", - "devOptional": true, + "dev": true, "funding": [ { "type": "github", @@ -5184,6 +5431,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz", "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==", + "dev": true, "license": "MIT", "dependencies": { "content-type": "^2.1.0" @@ -5201,6 +5449,7 @@ "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", "deprecated": "Use your platform's native DOMException instead", + "dev": true, "funding": [ { "type": "github", @@ -5220,6 +5469,7 @@ "version": "3.3.2", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "dev": true, "license": "MIT", "dependencies": { "data-uri-to-buffer": "^4.0.0", @@ -5238,6 +5488,7 @@ "version": "12.4.0", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-12.4.0.tgz", "integrity": "sha512-OMcPNvqTCFUnNaBlmdgq+lfNqY7gTiSmNRDjY3uAXRyudeKZEZxu3CLtjMQrx4zZxCX2b/mpNqTtwuCJgXhHkw==", + "dev": true, "license": "MIT", "dependencies": { "env-paths": "^2.2.0", @@ -5278,6 +5529,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-4.0.0.tgz", "integrity": "sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": ">=20" @@ -5287,6 +5539,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/which/-/which-6.0.1.tgz", "integrity": "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg==", + "dev": true, "license": "ISC", "dependencies": { "isexe": "^4.0.0" @@ -5302,6 +5555,7 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-9.0.0.tgz", "integrity": "sha512-Zhq3a+yFKrYwSBluL4H9XP3m3y5uvQkB/09CwDruCiRmR/UJYnn9W4R48ry0uGC70aeTPKLynBtscP9efFFcPw==", + "dev": true, "license": "ISC", "dependencies": { "abbrev": "^4.0.0" @@ -5317,6 +5571,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-5.0.0.tgz", "integrity": "sha512-JLSpbzh6UUXIEoqPsYBvVNVmyrjVZ1fzEFbqxKkTJQkWBO3xFzFT+KDnSKQWwOQNbuWRwt5LSD6HOTLGIWzfrw==", + "dev": true, "license": "ISC", "dependencies": { "npm-normalize-package-bin": "^5.0.0" @@ -5329,6 +5584,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-8.0.0.tgz", "integrity": "sha512-ScAUdMpyzkbpxoNekQ3tNRdFI8SJ86wgKZSQZdUxT+bj0wVFpsEMWnkXP0twVe1gJyNF5apBWDJhhIbgrIViRA==", + "dev": true, "license": "BSD-2-Clause", "dependencies": { "semver": "^7.1.1" @@ -5341,6 +5597,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-5.0.0.tgz", "integrity": "sha512-CJi3OS4JLsNMmr2u07OJlhcrPxCeOeP/4xq67aWNai6TNWWbTrlNDgl8NcFKVlcBKp18GPj+EzbNIgrBfZhsag==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -5350,6 +5607,7 @@ "version": "13.0.2", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-13.0.2.tgz", "integrity": "sha512-IciCE3SY3uE84Ld8WZU23gAPPV9rIYod4F+rc+vJ7h7cwAJt9Vk6TVsK60ry7Uj3SRS3bqRRIGuTp9YVlk6WNA==", + "dev": true, "license": "ISC", "dependencies": { "hosted-git-info": "^9.0.0", @@ -5365,6 +5623,7 @@ "version": "10.0.4", "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-10.0.4.tgz", "integrity": "sha512-uMW73iajD8hiH4ZBxEV3HC+eTnppIqwakjOYuvgddnalIw2lJguKviK1pcUJDlIWm1wSJkchpDZDSVVsZEYRng==", + "dev": true, "license": "ISC", "dependencies": { "ignore-walk": "^8.0.0", @@ -5378,6 +5637,7 @@ "version": "11.0.3", "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-11.0.3.tgz", "integrity": "sha512-buzyCfeoGY/PxKqmBqn1IUJrZnUi1VVJTdSSRPGI60tJdUhUoSQFhs0zycJokDdOznQentgrpf8LayEHyyYlqQ==", + "dev": true, "license": "ISC", "dependencies": { "npm-install-checks": "^8.0.0", @@ -5393,6 +5653,7 @@ "version": "19.1.1", "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-19.1.1.tgz", "integrity": "sha512-TakBap6OM1w0H73VZVDf44iFXsOS3h+L4wVMXmbWOQroZgFhMch0juN6XSzBNlD965yIKvWg2dfu7NSiaYLxtw==", + "dev": true, "license": "ISC", "dependencies": { "@npmcli/redact": "^4.0.0", @@ -5426,6 +5687,7 @@ "version": "11.0.4", "resolved": "https://registry.npmjs.org/open/-/open-11.0.4.tgz", "integrity": "sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg==", + "dev": true, "license": "MIT", "dependencies": { "default-browser": "^5.5.1", @@ -5496,6 +5758,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.1.1.tgz", "integrity": "sha512-6Lh3jQPLthYujSrlw6ccWXBGZTkoTCz27Hd92g79LH/kjAbgoEu0t442cCCNbegPSJsA0lwDX8z0bcKtkpA32g==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -5508,12 +5771,14 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, "license": "BlueOak-1.0.0" }, "node_modules/pacote": { "version": "21.5.1", "resolved": "https://registry.npmjs.org/pacote/-/pacote-21.5.1.tgz", "integrity": "sha512-KvcJ9iy3crysCsgqc4+PknH/w6jkrp8JN36mpZBPwNaDRwTfMZD37YzRazNstiZUOhuF5pno9f78n9mEJBavwg==", + "dev": true, "license": "ISC", "dependencies": { "@gar/promise-retry": "^1.0.0", @@ -5545,6 +5810,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-5.0.1.tgz", "integrity": "sha512-ZHEmNKMq1wyJXNwLxyHnluPfRAFSIliBvbK/UiOceROt4Xh9Pz0fq49NytIaeaCUf5VR86hwQ/34FCcNU5/LKQ==", + "dev": true, "license": "ISC", "dependencies": { "json-parse-even-better-errors": "^5.0.0", @@ -5567,6 +5833,7 @@ }, "node_modules/path-key": { "version": "3.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -5576,6 +5843,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^11.0.0", @@ -5592,7 +5860,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "devOptional": true, + "dev": true, "license": "ISC", "peer": true }, @@ -5600,6 +5868,7 @@ "version": "4.0.7", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -5612,7 +5881,7 @@ "version": "8.5.30", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.30.tgz", "integrity": "sha512-zkd+e9S1AQHhmaBKye9zlFHWjOwVgqXl1q3ECYy8561K7qxR2cREf/STLskulBFd78k6AOFeA+ff1TtEzk9bAA==", - "devOptional": true, + "dev": true, "funding": [ { "type": "opencollective", @@ -5642,6 +5911,7 @@ "version": "7.1.7", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.7.tgz", "integrity": "sha512-wWBro/7hJ40ye6TPiXkUQoXKCw23xSsjriUvqd7Uls9Sso3oLiON1flc18cCdnjgCRXw4fBVqUJJeOdDTh3P3g==", + "dev": true, "license": "MIT", "dependencies": { "cssesc": "^3.0.0", @@ -5655,6 +5925,7 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.2.1.tgz", "integrity": "sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==", + "dev": true, "license": "MIT", "engines": { "node": ">=20" @@ -5677,6 +5948,7 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-6.1.0.tgz", "integrity": "sha512-iG+GYldRf2BQ0UDUAd6JQ/RwzaQy6mXmsk/IzlYyal4A4SNFw54MeH4/tLkF4I5WoWG9SQwuqWzS99jaFQHBuQ==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -5686,6 +5958,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/proggy/-/proggy-4.0.0.tgz", "integrity": "sha512-MbA4R+WQT76ZBm/5JUpV9yqcJt92175+Y0Bodg3HgiXzrmKu7Ggq+bpn6y6wHH+gN9NcyKn3yg1+d47VaKwNAQ==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -5695,6 +5968,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz", "integrity": "sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==", + "dev": true, "license": "ISC", "funding": { "url": "https://github.com/sponsors/isaacs" @@ -5704,6 +5978,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-3.0.2.tgz", "integrity": "sha512-mRPQO2T1QQVw11E7+UdCJu7S61eJVWknzml9sC1heAdj1jxl0fWMBypIt9ZOcLFf8FkG995ZD7RnVk7HH72fZw==", + "dev": true, "license": "ISC", "funding": { "url": "https://github.com/sponsors/isaacs" @@ -5760,6 +6035,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-6.0.0.tgz", "integrity": "sha512-1zM5HuOfagXCBWMN83fuFI/x+T/UhZ7k+KIzhrHXcQoeX5+7gmaDYjELQHmmzIodumBHeByBJT4QYS7ufAgs7A==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -5769,6 +6045,7 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/redis/-/redis-6.3.1.tgz", "integrity": "sha512-mV96ZKxQ4CGn3SyEGaY0Lb9YA443mdVey3c+mdr0NAUaBxiOZGoYCWX8PoM55kictSOmxlJRtZJxIsmZm3jL+w==", + "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -5786,6 +6063,7 @@ "version": "5.0.10", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", + "dev": true, "license": "ISC", "dependencies": { "glob": "^10.3.7" @@ -5801,12 +6079,14 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, "license": "MIT" }, "node_modules/rimraf/node_modules/brace-expansion": { "version": "2.1.7", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz", "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" @@ -5817,6 +6097,7 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", @@ -5837,12 +6118,14 @@ "version": "10.4.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, "license": "ISC" }, "node_modules/rimraf/node_modules/minimatch": { "version": "9.0.9", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^2.0.2" @@ -5858,6 +6141,7 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^10.2.0", @@ -5874,7 +6158,7 @@ "version": "1.2.14", "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.14.tgz", "integrity": "sha512-eTBTTqMR6uHKLgcUqpJP8ntzDI6V4LYA8negAMBEI7gkgVvOdrx6VsvS2Ym+83KhOPdLCHWJu0w7UQFJZhHKNw==", - "devOptional": true, + "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -5909,6 +6193,7 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -5921,6 +6206,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, "funding": [ { "type": "github", @@ -5941,6 +6227,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, "license": "MIT", "optional": true }, @@ -5948,6 +6235,7 @@ "version": "7.8.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -5958,6 +6246,7 @@ }, "node_modules/shebang-command": { "version": "2.0.0", + "dev": true, "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" @@ -5968,6 +6257,7 @@ }, "node_modules/shebang-regex": { "version": "3.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -5977,6 +6267,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, "license": "ISC", "engines": { "node": ">=14" @@ -5989,6 +6280,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-4.1.1.tgz", "integrity": "sha512-endqECJkfhozrXMK5ngu/UAA0xVcVEFdnHJCElGaExypjW+HK5i6zu3NteLoaX/iFbRUbC3+DjttQs0GARr+5w==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@sigstore/bundle": "^4.0.0", @@ -6006,6 +6298,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true, "license": "MIT", "engines": { "node": ">= 6.0.0", @@ -6016,6 +6309,7 @@ "version": "2.8.10", "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.10.tgz", "integrity": "sha512-e0VyvkVTwVYViNovRkZ9aodhxVlyoMn7eJhVUPxZ+eK9P/7CBkxvvsBOHqFPEH416726W8tLXXXjKwqgTErrCQ==", + "dev": true, "license": "MIT", "dependencies": { "ip-address": "^10.1.1", @@ -6030,6 +6324,7 @@ "version": "8.0.5", "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.2", @@ -6044,7 +6339,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -6054,12 +6349,14 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true, "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", + "dev": true, "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", @@ -6070,12 +6367,14 @@ "version": "3.0.24", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.24.tgz", "integrity": "sha512-cLS9TtWkIQFyLkJ3/5aFQAOHOSKTlOs/7WDut/XPSdjom1fJhUdkepeJAKXa9Y05+FabHd0sti+Et559vDtkpQ==", + "dev": true, "license": "CC0-1.0" }, "node_modules/ssri": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-13.0.1.tgz", "integrity": "sha512-QUiRf1+u9wPTL/76GTYlKttDEBWV1ga9ZXW8BG6kfdeyyM8LGPix9gROyg9V2+P0xNyF3X2Go526xKFdMZrHSQ==", + "dev": true, "license": "ISC", "dependencies": { "minipass": "^7.0.3" @@ -6095,6 +6394,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", @@ -6113,6 +6413,7 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -6127,6 +6428,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -6136,12 +6438,14 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, "license": "MIT" }, "node_modules/string-width-cjs/node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -6154,6 +6458,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^6.2.2" @@ -6170,6 +6475,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -6182,6 +6488,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -6191,6 +6498,7 @@ "version": "7.5.22", "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz", "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/fs-minipass": "^4.0.0", @@ -6227,6 +6535,7 @@ "version": "0.2.17", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, "license": "MIT", "dependencies": { "fdir": "^6.5.0", @@ -6263,6 +6572,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-3.0.0.tgz", "integrity": "sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ==", + "dev": true, "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -6285,12 +6595,14 @@ "version": "2.9.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", + "dev": true, "license": "0BSD" }, "node_modules/tuf-js": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-4.1.0.tgz", "integrity": "sha512-50QV99kCKH5P/Vs4E2Gzp7BopNV+KzTXqWeaxrfu5IQJBOULRsTIS9seSsOVT8ZnGXzCyx55nYWAi4qJzpZKEQ==", + "dev": true, "license": "MIT", "dependencies": { "@tufjs/models": "4.1.0", @@ -6354,6 +6666,7 @@ "version": "6.29.1", "resolved": "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz", "integrity": "sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA==", + "dev": true, "license": "MIT", "engines": { "node": ">=18.17" @@ -6363,6 +6676,7 @@ "version": "8.9.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "dev": true, "license": "MIT" }, "node_modules/uri-js": { @@ -6379,6 +6693,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, "license": "MIT" }, "node_modules/uuid": { @@ -6399,6 +6714,7 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-7.0.2.tgz", "integrity": "sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A==", + "dev": true, "license": "ISC", "engines": { "node": "^20.17.0 || >=22.9.0" @@ -6408,7 +6724,7 @@ "version": "8.3.4", "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.4.tgz", "integrity": "sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==", - "devOptional": true, + "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -6570,6 +6886,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-4.0.0.tgz", "integrity": "sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==", + "dev": true, "license": "ISC", "engines": { "node": "20 || >=22" @@ -6579,6 +6896,7 @@ "version": "3.3.3", "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "dev": true, "license": "MIT", "engines": { "node": ">= 8" @@ -6586,6 +6904,7 @@ }, "node_modules/which": { "version": "2.0.2", + "dev": true, "license": "ISC", "dependencies": { "isexe": "^2.0.0" @@ -6624,6 +6943,7 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^6.1.0", @@ -6642,6 +6962,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -6659,6 +6980,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -6668,6 +6990,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -6683,12 +7006,14 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -6703,6 +7028,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -6715,6 +7041,7 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-7.0.1.tgz", "integrity": "sha512-OTIk8iR8/aCRWBqvxrzxR0hgxWpnYBblY1S5hDWBQfk/VFmJwzmJgQFN3WsoUKHISv2eAwe+PpbUzyL1CKTLXg==", + "dev": true, "license": "ISC", "dependencies": { "signal-exit": "^4.0.1" @@ -6727,6 +7054,7 @@ "version": "8.22.1", "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz", "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==", + "dev": true, "license": "MIT", "engines": { "node": ">=10.0.0" @@ -6748,6 +7076,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-1.0.1.tgz", "integrity": "sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ==", + "dev": true, "license": "MIT", "dependencies": { "is-wsl": "^3.1.0", @@ -6764,6 +7093,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-5.1.0.tgz", "integrity": "sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -6776,6 +7106,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": ">=18" @@ -6785,7 +7116,7 @@ "version": "2.9.0", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", - "devOptional": true, + "dev": true, "license": "ISC", "bin": { "yaml": "bin.mjs" diff --git a/package.json b/package.json index 5c118975..d7bc2511 100644 --- a/package.json +++ b/package.json @@ -5,24 +5,24 @@ "description": "OpenCode plugin for auto-discovery of OpenAI-compatible models with dynamic provider configuration", "type": "module", "main": "./dist/index.js", - "types": "./src/index.ts", + "types": "./types/index.d.ts", "exports": { ".": { - "types": "./src/index.ts", + "types": "./types/index.d.ts", "default": "./dist/index.js" }, "./server": { - "types": "./src/server.ts", + "types": "./types/server.d.ts", "default": "./dist/server.js" }, "./tui": { - "types": "./src/tui.ts", + "types": "./types/tui.d.ts", "default": "./dist/tui.js" } }, "files": [ "dist", - "src" + "types" ], "scripts": { "typecheck": "tsc --noEmit", @@ -32,15 +32,17 @@ "test:watch": "vitest watch", "lint": "eslint src", "lint:fix": "eslint src --fix", - "compile": "npm run compile:runtime && npm run compile:root && npm run compile:server && npm run compile:tui", - "compile:runtime": "esbuild src/runtime.ts --bundle --format=esm --platform=node --packages=external --target=node18 --sourcemap --keep-names --outfile=dist/runtime.js", + "compile": "npm run compile:runtime && npm run compile:root && npm run compile:server && npm run compile:tui && bun scripts/bundle-notices.ts", + "compile:runtime": "esbuild src/runtime.ts --bundle --format=esm --platform=node --target=node18 --sourcemap --keep-names --metafile=meta/runtime.meta.json --outfile=dist/runtime.js", "compile:root": "esbuild src/index.ts --format=esm --platform=node --packages=external --target=node18 --sourcemap --keep-names --outfile=dist/index.js", "compile:server": "esbuild src/server.ts --format=esm --platform=node --packages=external --target=node18 --sourcemap --keep-names --outfile=dist/server.js", - "compile:tui": "esbuild src/tui.ts --bundle --format=esm --platform=node --packages=external --target=node18 --sourcemap --keep-names --outfile=dist/tui.js", - "build": "npm run lint && npm run typecheck && npm run test:run && npm run compile", + "compile:tui": "esbuild src/tui.ts --bundle --format=esm --platform=node --target=node18 --sourcemap --keep-names --metafile=meta/tui.meta.json --outfile=dist/tui.js", + "build": "npm run lint && npm run typecheck && npm run test:run && npm run compile && npm run check:bundle && npm run check:notices", + "check:bundle": "bun scripts/check-bundle-deps.ts meta/runtime.meta.json meta/tui.meta.json", + "check:notices": "bun scripts/check-bundle-deps.ts --notices meta/runtime.meta.json meta/tui.meta.json", "test:v1": "vitest run test/plugin.test.ts test/v1-v2-isolation.test.ts", "test:v2": "vitest run test/v2", - "validate:package": "npm run compile && npm pack --dry-run --ignore-scripts", + "validate:package": "npm run compile && npm run check:bundle && npm run check:notices && npm pack --dry-run --ignore-scripts", "validate": "npm run lint && npm run typecheck && npm run test:run", "validate:config": "bun scripts/validate-config.ts", "release": "bun scripts/release.ts", @@ -66,16 +68,11 @@ "type": "git", "url": "git+https://github.com/yuhp/opencode-models-discovery.git" }, - "dependencies": { - "@opencode/plugin": "2.2.6", - "xdg-basedir": "^5.1.0" - }, - "peerDependencies": { - "@opencode-ai/plugin": ">=1.18.29" - }, + "dependencies": {}, "devDependencies": { "@eslint/js": "^10.0.1", "@opencode-ai/plugin": "^1.18.29", + "@opencode/plugin": "2.2.6", "@types/node": "^26.5.1", "@vitest/coverage-v8": "^5.0.0", "esbuild": "^0.28.2", @@ -83,6 +80,7 @@ "globals": "^17.12.0", "typescript": "^5.9.3", "typescript-eslint": "^8.70.0", - "vitest": "^5.0.0" + "vitest": "^5.0.0", + "xdg-basedir": "^5.1.0" } } diff --git a/scripts/bundle-notices.ts b/scripts/bundle-notices.ts new file mode 100644 index 00000000..a000fb64 --- /dev/null +++ b/scripts/bundle-notices.ts @@ -0,0 +1,190 @@ +#!/usr/bin/env bun +/** + * Generates dist/THIRD-PARTY-NOTICES.md covering every package whose code + * (or types) are bundled into the published distribution. + * + * Bundling the SDKs removes the installed node_modules tree but keeps the + * bundled packages under their own licenses (MIT etc.), which still require + * attribution when redistributed. The esbuild metafiles (written by + * compile:runtime/compile:tui) list exactly which packages ended up in the + * bundles, so the inventory stays accurate without manual bookkeeping. It + * also doubles as the source of truth for scripts/gen-types.ts, which must + * inline the same package set into the shipped .d.ts files. + * + * Usage: bun scripts/bundle-notices.ts [meta/runtime.meta.json meta/tui.meta.json] + */ + +import { existsSync, readFileSync, writeFileSync } from 'node:fs' +import path from 'node:path' + +export interface EsbuildMetafile { + outputs: Record }> +} + +export interface PackageManifestLite { + version: string + license?: string +} + +export interface BundlePackage { + name: string + dir: string + version: string + license: string +} + +const NODE_MODULES_SEGMENT = 'node_modules/' + +function packageDirsFor(inputPath: string): { dir: string; name: string }[] { + const dirs: { dir: string; name: string }[] = [] + let searchFrom = 0 + for (;;) { + const index = inputPath.indexOf(NODE_MODULES_SEGMENT, searchFrom) + if (index === -1) return dirs + const after = index + NODE_MODULES_SEGMENT.length + const first = inputPath.indexOf('/', after) + if (first === -1) return dirs + const firstSegment = inputPath.slice(after, first) + const nameEnd = firstSegment.startsWith('@') ? inputPath.indexOf('/', first + 1) : first + if (nameEnd === -1) return dirs + const name = inputPath.slice(after, nameEnd) + dirs.push({ dir: inputPath.slice(0, nameEnd), name }) + searchFrom = nameEnd + 1 + } +} + +/** Innermost package directory containing an input file (nested installs win). */ +function innermostPackage(inputPath: string): { dir: string; name: string } | null { + const dirs = packageDirsFor(inputPath) + return dirs.length > 0 ? dirs[dirs.length - 1] : null +} + +function allInputs(metafile: EsbuildMetafile): string[] { + return Object.values(metafile.outputs).flatMap((output) => Object.keys(output.inputs ?? {})) +} + +/** Sorted unique package names whose files were bundled. */ +export function bundledPackageNames(metafile: EsbuildMetafile): string[] { + const names = new Set() + for (const input of allInputs(metafile)) { + const innermost = innermostPackage(input) + if (innermost) names.add(innermost.name) + } + return [...names].sort() +} + +/** Resolves a package directory (e.g. 'node_modules/effect') to its manifest. */ +export type PackageManifestReader = (packageDir: string) => PackageManifestLite | null + +/** One entry per distinct bundled package, sorted by name then version. */ +export function collectBundledPackages( + metafile: EsbuildMetafile, + readPackage: PackageManifestReader +): BundlePackage[] { + const byKey = new Map() + for (const input of allInputs(metafile)) { + const innermost = innermostPackage(input) + if (!innermost) continue + const manifest = readPackage(innermost.dir) + if (!manifest) continue + const license = manifest.license ?? 'UNKNOWN' + const key = `${innermost.dir}@${manifest.version}` + if (!byKey.has(key)) { + byKey.set(key, { name: innermost.name, dir: innermost.dir, version: manifest.version, license }) + } + } + return [...byKey.values()].sort( + (a, b) => a.name.localeCompare(b.name) || a.version.localeCompare(b.version) || a.dir.localeCompare(b.dir) + ) +} + +/** Renderer for license texts, given a collected package entry. */ +export type LicenseTextReader = (pkg: BundlePackage) => string | undefined + +export function renderNoticesMd( + packages: BundlePackage[], + readLicenseText: LicenseTextReader +): string { + const lines: string[] = [ + '# Third-party notices', + '', + 'This distribution statically bundles the following packages (plus their', + 'transitive code and type declarations) into `dist/runtime.js`, `dist/tui.js`,', + 'and the generated `.d.ts` files. They are listed with the exact versions that', + 'were bundled; the full license text of each is reproduced below.', + '', + '## Bundled packages', + '', + ] + for (const pkg of packages) { + lines.push(`- ${pkg.name}@${pkg.version} (${pkg.license})`) + } + lines.push('') + for (const pkg of packages) { + lines.push(`## ${pkg.name}@${pkg.version}`, '', `License: ${pkg.license}`, '') + const text = readLicenseText(pkg) + if (text) { + lines.push(text.trim(), '') + } else { + lines.push('_No license text file was found in the published package; see the license field above and the upstream repository._', '') + } + } + return lines.join('\n') +} + +const LICENSE_FILENAMES = ['LICENSE', 'LICENSE.md', 'LICENSE.txt', 'LICENCE', 'LICENCE.md', 'COPYING'] + +function main(metaPaths: string[]): void { + const root = path.resolve(import.meta.dirname ?? '.', '..') + const readPackage: PackageManifestReader = (packageDir) => { + const manifestPath = path.join(root, packageDir, 'package.json') + if (!existsSync(manifestPath)) return null + const manifest = JSON.parse(readFileSync(manifestPath, 'utf-8')) as { + version?: string + license?: string | { type?: string } + } + const license = + typeof manifest.license === 'string' + ? manifest.license + : typeof manifest.license?.type === 'string' + ? manifest.license.type + : undefined + return { version: manifest.version ?? '0.0.0-unknown', license } + } + const readLicenseText: LicenseTextReader = (pkg) => { + for (const name of LICENSE_FILENAMES) { + const candidate = path.join(root, pkg.dir, name) + if (existsSync(candidate)) return readFileSync(candidate, 'utf-8') + } + return undefined + } + + const byKey = new Map() + for (const metaPath of metaPaths) { + for (const pkg of collectBundledPackages(JSON.parse(readFileSync(path.resolve(root, metaPath), 'utf-8')), readPackage)) { + const key = `${pkg.name}@${pkg.version}` + if (!byKey.has(key)) byKey.set(key, pkg) + } + } + const packages = [...byKey.values()].sort( + (a, b) => a.name.localeCompare(b.name) || a.version.localeCompare(b.version) + ) + + const outFile = path.join(root, 'dist', 'THIRD-PARTY-NOTICES.md') + writeFileSync(outFile, renderNoticesMd(packages, readLicenseText)) + const tracked = packages.filter((pkg) => + ['@opencode/plugin', '@opencode-ai/plugin', 'effect'].includes(pkg.name) + ) + console.log( + `bundle-notices: ${packages.length} packages -> ${path.relative(root, outFile)} ` + + `(bundled ${tracked.map((pkg) => `${pkg.name}@${pkg.version}`).join(', ')})` + ) +} + +const invokedDirectly = + import.meta.main || + (process.argv[1] !== undefined && import.meta.filename === path.resolve(process.argv[1])) +if (invokedDirectly) { + const args = process.argv.slice(2) + main(args.length > 0 ? args : ['meta/runtime.meta.json', 'meta/tui.meta.json']) +} diff --git a/scripts/check-bundle-deps.ts b/scripts/check-bundle-deps.ts new file mode 100644 index 00000000..ad7a84ff --- /dev/null +++ b/scripts/check-bundle-deps.ts @@ -0,0 +1,169 @@ +#!/usr/bin/env bun +/** + * Fails the build when a plugin install would materialize a dependency tree. + * + * Checks three invariants that keep the host's plugin cache small: + * 1. Bundled outputs (esbuild metafiles passed as CLI args) contain no + * external imports - every dependency must be bundled and tree-shaken. + * 2. package.json declares no dependencies, peerDependencies, or + * optionalDependencies: hosts like OpenCode install plugins into a + * versioned cache directory and materialize every one of them as real + * files, which is how this package once shipped ~30k files per install. + * 3. With --notices, dist/THIRD-PARTY-NOTICES.md (written by + * scripts/bundle-notices.ts during `npm run compile`) must list exactly + * the packages the bundles contain, each with a license classification. + * + * Usage: bun scripts/check-bundle-deps.ts [--notices] dist/runtime.meta.json dist/tui.meta.json + */ + +import { existsSync, readdirSync, readFileSync } from 'node:fs' +import { builtinModules } from 'node:module' +import path from 'node:path' + +import { collectBundledPackages, type EsbuildMetafile as InputsMetafile } from './bundle-notices.ts' + +export interface EsbuildMetafile { + outputs: Record< + string, + { + imports?: { path: string; kind: string; external?: boolean }[] + } + > +} + +export interface DependencyManifest { + dependencies?: Record + peerDependencies?: Record + optionalDependencies?: Record +} + +const INSTALLED_FIELDS = ['dependencies', 'peerDependencies', 'optionalDependencies'] as const + +const BUILTIN_MODULES = new Set(builtinModules) + +function isNodeBuiltin(specifier: string): boolean { + return specifier.startsWith('node:') || BUILTIN_MODULES.has(specifier) +} + +/** Violations for outputs that still resolve packages outside the bundle. */ +export function findExternalImports(metafile: EsbuildMetafile): string[] { + const violations: string[] = [] + for (const [output, info] of Object.entries(metafile.outputs)) { + for (const entry of info.imports ?? []) { + if (entry.external && !isNodeBuiltin(entry.path)) { + violations.push(`${output}: external import "${entry.path}" (${entry.kind})`) + } + } + } + return violations +} + +/** Violations for dependency fields a package manager would install for hosts. */ +export function findPackagedRuntimeDependencies(manifest: DependencyManifest): string[] { + const violations: string[] = [] + for (const field of INSTALLED_FIELDS) { + for (const name of Object.keys(manifest[field] ?? {})) { + violations.push(`${field}: ${name}`) + } + } + return violations.sort() +} + +function main(argv: string[]): void { + const violations: string[] = [] + for (const metafilePath of argv) { + const metafile = JSON.parse(readFileSync(metafilePath, 'utf-8')) as EsbuildMetafile + violations.push(...findExternalImports(metafile)) + } + const manifestPath = path.resolve(import.meta.dirname ?? '.', '..', 'package.json') + violations.push(...findPackagedRuntimeDependencies(JSON.parse(readFileSync(manifestPath, 'utf-8')))) + + if (violations.length > 0) { + console.error('check-bundle-deps: plugin install would materialize dependencies:') + for (const violation of violations) console.error(` - ${violation}`) + process.exit(1) + } + console.log(`check-bundle-deps: OK (${argv.length} metafile(s), no external imports, no packaged dependencies)`) +} + +const ROOT = path.resolve(import.meta.dirname ?? '.', '..') + +/** Violations for a THIRD-PARTY-NOTICES.md that diverged from the bundles. */ +export function findNoticeViolations( + noticesMarkdown: string, + metafiles: InputsMetafile[], + readPackage: (packageDir: string) => { version: string; license?: string } | null +): string[] { + const byKey = new Map() + for (const metafile of metafiles) { + for (const pkg of collectBundledPackages(metafile, readPackage)) { + const key = `${pkg.name}@${pkg.version}` + if (!byKey.has(key)) byKey.set(key, { name: pkg.name, version: pkg.version, license: pkg.license }) + } + } + + // Greedy match splits at the last "@", so scoped names stay intact. + const listed = new Set( + [...noticesMarkdown.matchAll(/^- (\S+)@(\S+) \(([^)]+)\)$/gm)].map((m) => `${m[1]}@${m[2]}`) + ) + const violations: string[] = [] + for (const pkg of byKey.values()) { + const key = `${pkg.name}@${pkg.version}` + if (!listed.has(key)) violations.push(`${key} is bundled but missing from THIRD-PARTY-NOTICES.md`) + if (pkg.license === 'UNKNOWN') violations.push(`${key} has no license classification`) + } + for (const entry of listed) { + if (![...byKey.keys()].includes(entry)) { + violations.push(`${entry} is listed in THIRD-PARTY-NOTICES.md but is not bundled`) + } + } + return violations +} + +function checkNotices(metafiles: string[]): void { + const noticesPath = path.join(ROOT, 'dist', 'THIRD-PARTY-NOTICES.md') + if (!existsSync(noticesPath)) { + console.error('check-bundle-deps: dist/THIRD-PARTY-NOTICES.md is missing; run `npm run compile` first') + process.exit(1) + } + const readPackage = (packageDir: string) => { + const manifestPath = path.join(ROOT, packageDir, 'package.json') + if (!existsSync(manifestPath)) return null + const manifest = JSON.parse(readFileSync(manifestPath, 'utf-8')) as { + version?: string + license?: string | { type?: string } + } + const license = + typeof manifest.license === 'string' + ? manifest.license + : typeof manifest.license?.type === 'string' + ? manifest.license.type + : undefined + return { version: manifest.version ?? '0.0.0-unknown', license } + } + const parsed = metafiles.map( + (metaPath) => JSON.parse(readFileSync(path.resolve(ROOT, metaPath), 'utf-8')) as InputsMetafile + ) + const violations = findNoticeViolations(readFileSync(noticesPath, 'utf-8'), parsed, readPackage) + if (violations.length > 0) { + console.error('check-bundle-deps: third-party notices are out of sync:') + for (const violation of violations) console.error(` - ${violation}`) + process.exit(1) + } + console.log(`check-bundle-deps: OK (THIRD-PARTY-NOTICES.md matches the bundled packages)`) +} + +if (import.meta.main || import.meta.filename === path.resolve(process.argv[1] ?? '')) { + const argv = process.argv.slice(2) + const noticesMode = argv[0] === '--notices' + const metafiles = noticesMode ? argv.slice(1) : argv + const target = noticesMode ? checkNotices : main + if (metafiles.length > 0) { + target(metafiles) + } else { + const discovered = readdirSync(path.join(ROOT, 'meta')) + .filter((file) => file.endsWith('.meta.json')) + .map((file) => `meta/${file}`) + target(discovered) + } +} diff --git a/scripts/release.ts b/scripts/release.ts index d20ebc97..bef28837 100644 --- a/scripts/release.ts +++ b/scripts/release.ts @@ -174,6 +174,42 @@ function groupCommits(commits: CommitEntry[]): Array<{ title: string; commits: C return grouped } +/** + * Summarizes the versions that were actually bundled into dist/ by reading + * THIRD-PARTY-NOTICES.md, which `npm run compile` regenerates from the esbuild + * metafiles on every build (see scripts/bundle-notices.ts). + */ +function bundledDependencySection(): string { + const noticesPath = 'dist/THIRD-PARTY-NOTICES.md' + if (!existsSync(noticesPath)) { + return '### Bundled dependencies\n\n- dist/THIRD-PARTY-NOTICES.md is missing; run `npm run compile` before releasing.' + } + + const inventory = readFileSync(noticesPath, 'utf-8') + .split('\n') + .slice(0, 40) // inventory lines live before the first license section + .filter((line) => line.startsWith('- ') && /@[^ ]+ \([^)]+\)$/.test(line)) + + if (inventory.length === 0) { + return '### Bundled dependencies\n\n- THIRD-PARTY-NOTICES.md lists no bundled packages; the build may be broken.' + } + + const sdkNames = ['@opencode/plugin', '@opencode-ai/plugin'] + const sdk = inventory + .map((line) => line.slice(2)) + .filter((entry) => sdkNames.some((name) => entry.startsWith(`${name}@`))) + + return [ + '### Bundled dependencies', + '', + 'The plugin SDKs are statically bundled (the published package installs no runtime dependencies):', + '', + ...(sdk.length > 0 ? sdk.map((entry) => `- ${entry}`) : ['- _No SDK entries found in THIRD-PARTY-NOTICES.md._']), + '', + `The exact versions bundled into this release are recorded in \`dist/THIRD-PARTY-NOTICES.md\` (${inventory.length} packages).`, + ].join('\n') +} + function generateReleaseNotes(version: string): string { const { name } = getPackageInfo() const previousTag = getPreviousTag() @@ -194,6 +230,8 @@ ${compareText} ${changesSection} +${bundledDependencySection()} + ### Installation \`\`\`bash diff --git a/test/bundle-deps-guard.test.ts b/test/bundle-deps-guard.test.ts new file mode 100644 index 00000000..292377cf --- /dev/null +++ b/test/bundle-deps-guard.test.ts @@ -0,0 +1,111 @@ +/** + * Guard against re-introducing the multi-thousand-file install tree. + * + * OpenCode installs plugins into a versioned cache directory and materializes + * every runtime/peer dependency as real files. Historically this package kept + * `@opencode/plugin` external, so installing the plugin unpacked ~30k files + * (the whole OpenCode SDK tree plus AWS/Redis/OpenTelemetry transitives). + * The SDK is now bundled into `dist/runtime.js` and `dist/tui.js`, so these + * tests pin the two properties that keep installs tiny: + * 1. bundled outputs must not keep any external imports, and + * 2. the published manifest must not declare installed dependencies. + */ +import { readFileSync } from 'node:fs' +import path from 'node:path' +import { fileURLToPath } from 'node:url' +import { describe, expect, it } from 'vitest' +import { + findExternalImports, + findPackagedRuntimeDependencies, +} from '../scripts/check-bundle-deps.ts' + +const repoRoot = path.resolve(fileURLToPath(new URL('.', import.meta.url)), '..') + +function metafile(outputs: Record) { + return { + outputs: Object.fromEntries( + Object.entries(outputs).map(([output, imports]) => [ + output, + { bytes: 1, inputs: { 'src/entry.ts': { bytes: 1 } }, imports }, + ]) + ), + } +} + +describe('findExternalImports', () => { + it('flags an output that keeps an external import', () => { + const violations = findExternalImports( + metafile({ 'dist/runtime.js': [{ path: '@opencode/plugin', kind: 'import-statement', external: true }] }) + ) + expect(violations).toEqual(['dist/runtime.js: external import "@opencode/plugin" (import-statement)']) + }) + + it('flags external requires, not just import statements', () => { + const violations = findExternalImports( + metafile({ 'dist/tui.js': [{ path: 'some-package', kind: 'require-call', external: true }] }) + ) + expect(violations).toEqual(['dist/tui.js: external import "some-package" (require-call)']) + }) + + it('accepts bundled outputs whose imports are internal', () => { + const violations = findExternalImports( + metafile({ + 'dist/runtime.js': [ + { path: 'src/plugin/index.ts', kind: 'import-statement' }, + { path: './runtime.js', kind: 'import-statement' }, + ], + }) + ) + expect(violations).toEqual([]) + }) + + it('exempts node builtins, with or without the node: prefix', () => { + const violations = findExternalImports( + metafile({ + 'dist/runtime.js': [ + { path: 'node:http', kind: 'import-statement', external: true }, + { path: 'os', kind: 'import-statement', external: true }, + ], + }) + ) + expect(violations).toEqual([]) + }) +}) + +describe('findPackagedRuntimeDependencies', () => { + it('flags runtime dependencies with their manifest field', () => { + const violations = findPackagedRuntimeDependencies({ + dependencies: { 'xdg-basedir': '^5.1.0', '@opencode/plugin': '2.2.6' }, + }) + expect(violations).toEqual([ + 'dependencies: @opencode/plugin', + 'dependencies: xdg-basedir', + ]) + }) + + it('flags peer and optional dependencies because package managers auto-install them', () => { + const violations = findPackagedRuntimeDependencies({ + peerDependencies: { '@opencode-ai/plugin': '>=1.18.29' }, + optionalDependencies: { fsevents: '2.3.3' }, + }) + expect(violations).toEqual([ + 'optionalDependencies: fsevents', + 'peerDependencies: @opencode-ai/plugin', + ]) + }) + + it('accepts a manifest with nothing to install', () => { + expect( + findPackagedRuntimeDependencies({ + devDependencies: { vitest: '^5.0.0' }, + }) + ).toEqual([]) + }) +}) + +describe('published manifest regression', () => { + it('ships no dependencies a plugin host would have to install', () => { + const manifest = JSON.parse(readFileSync(path.join(repoRoot, 'package.json'), 'utf-8')) + expect(findPackagedRuntimeDependencies(manifest)).toEqual([]) + }) +}) diff --git a/test/bundle-notices.test.ts b/test/bundle-notices.test.ts new file mode 100644 index 00000000..36495efc --- /dev/null +++ b/test/bundle-notices.test.ts @@ -0,0 +1,167 @@ +/** + * Tests for the third-party notices generator that documents (and feeds the + * type-inlining list to) whatever the esbuild bundles pull in. + */ +import { execFileSync } from 'node:child_process' +import { existsSync, readFileSync } from 'node:fs' +import path from 'node:path' +import { fileURLToPath } from 'node:url' +import { beforeAll, describe, expect, it } from 'vitest' +import { + bundledPackageNames, + collectBundledPackages, + renderNoticesMd, +} from '../scripts/bundle-notices.ts' +import { findNoticeViolations } from '../scripts/check-bundle-deps.ts' + +const repoRoot = path.resolve(fileURLToPath(new URL('.', import.meta.url)), '..') + +function metafile(...inputPaths: string[]) { + return { + outputs: { + 'dist/runtime.js': { + bytes: 1, + inputs: Object.fromEntries(inputPaths.map((p) => [p, { bytes: 1 }])), + imports: [], + }, + }, + } +} + +describe('bundledPackageNames', () => { + it('lists unique node_modules packages and ignores src files', () => { + const names = bundledPackageNames( + metafile( + 'src/index.ts', + 'node_modules/effect/dist/x.js', + 'node_modules/@opencode/plugin/a.ts', + 'node_modules/@opencode/plugin/node_modules/@opencode/client/b.js', + 'node_modules/@opencode/ai/y.js' + ) + ) + expect(names).toEqual([ + '@opencode/ai', + '@opencode/client', + '@opencode/plugin', + 'effect', + ]) + }) +}) + +describe('collectBundledPackages', () => { + it('attributes each input to its innermost containing package', () => { + const manifests: Record = { + 'node_modules/a': { version: '1.0.0', license: 'MIT' }, + 'node_modules/a/node_modules/b': { version: '9.9.9', license: 'ISC' }, + } + const collected = collectBundledPackages( + metafile('node_modules/a/o.js', 'node_modules/a/node_modules/b/i.js'), + (packageDir) => manifests[packageDir] ?? null + ) + expect(collected).toEqual([ + { name: 'a', dir: 'node_modules/a', version: '1.0.0', license: 'MIT' }, + { name: 'b', dir: 'node_modules/a/node_modules/b', version: '9.9.9', license: 'ISC' }, + ]) + }) + + it('defaults a missing license field to UNKNOWN', () => { + const collected = collectBundledPackages( + metafile('node_modules/m/x.js'), + () => ({ version: '0.1.0' }) + ) + expect(collected).toEqual([{ name: 'm', dir: 'node_modules/m', version: '0.1.0', license: 'UNKNOWN' }]) + }) + + it('deduplicates inputs pointing into the same package version', () => { + const collected = collectBundledPackages( + metafile('node_modules/m/x.js', 'node_modules/m/y.js', 'node_modules/m/z.js'), + () => ({ version: '0.1.0', license: 'MIT' }) + ) + expect(collected).toHaveLength(1) + }) + + it('skips inputs whose package manifest cannot be read', () => { + expect(collectBundledPackages(metafile('node_modules/g/x.js'), () => null)).toEqual([]) + }) +}) + +describe('renderNoticesMd', () => { + it('renders an inventory plus the license text of each package', () => { + const md = renderNoticesMd( + [{ name: 'effect', dir: 'node_modules/effect', version: '4.1.0', license: 'MIT' }], + () => 'MIT License text' + ) + expect(md).toContain('effect@4.1.0 (MIT)') + expect(md).toContain('## effect@4.1.0') + expect(md).toContain('MIT License text') + }) + + it('notes when no license text file ships with a package', () => { + const md = renderNoticesMd( + [{ name: 'mystery', dir: 'node_modules/mystery', version: '1.0.0', license: 'UNKNOWN' }], + () => undefined + ) + expect(md).toContain('No license text file was found') + }) +}) + +describe('findNoticeViolations', () => { + const meta = metafile('node_modules/@opencode/plugin/a.js', 'node_modules/effect/x.js') + const reader = (dir: string) => + dir.endsWith('@opencode/plugin') ? { version: '2.2.6', license: 'MIT' } : { version: '4.1.0', license: 'MIT' } + const complete = '# notices\n\n- @opencode/plugin@2.2.6 (MIT)\n- effect@4.1.0 (MIT)\n' + + it('passes when the inventory matches the bundles', () => { + expect(findNoticeViolations(complete, [meta], reader)).toEqual([]) + }) + + it('flags bundled packages missing from the notices', () => { + expect(findNoticeViolations('# notices\n\n- effect@4.1.0 (MIT)\n', [meta], reader)).toEqual([ + '@opencode/plugin@2.2.6 is bundled but missing from THIRD-PARTY-NOTICES.md', + ]) + }) + + it('flags listed packages that are not bundled', () => { + const extra = `${complete}- ghost@1.0.0 (MIT)\n` + expect(findNoticeViolations(extra, [meta], reader)).toEqual([ + 'ghost@1.0.0 is listed in THIRD-PARTY-NOTICES.md but is not bundled', + ]) + }) + + it('flags bundled packages without a license classification', () => { + const violations = findNoticeViolations(complete, [meta], (dir) => + dir.endsWith('@opencode/plugin') ? { version: '2.2.6' } : { version: '4.1.0', license: 'MIT' } + ) + expect(violations).toEqual(['@opencode/plugin@2.2.6 has no license classification']) + }) +}) + +describe('generated notices for this build', () => { + beforeAll(() => { + if (!existsSync(path.join(repoRoot, 'meta/runtime.meta.json'))) { + execFileSync('npm', ['run', 'compile'], { cwd: repoRoot, stdio: 'pipe' }) + } + }, 120_000) + + it('lists every package bundled into dist/runtime.js', () => { + const runtimeMeta = JSON.parse(readFileSync(path.join(repoRoot, 'meta/runtime.meta.json'), 'utf-8')) + const fsReader = (packageDir: string) => { + const manifestPath = path.join(repoRoot, packageDir, 'package.json') + if (!existsSync(manifestPath)) return null + const manifest = JSON.parse(readFileSync(manifestPath, 'utf-8')) + return { version: manifest.version as string, license: typeof manifest.license === 'string' ? manifest.license : undefined } + } + const packages = collectBundledPackages(runtimeMeta, fsReader) + const byName = new Map(packages.map((p) => [p.name, p])) + + const sdk = byName.get('@opencode/plugin') + expect(sdk, '@opencode/plugin must appear in the bundled inventory').toBeDefined() + const pinnedVersion = JSON.parse(readFileSync(path.join(repoRoot, 'package.json'), 'utf-8')) + .devDependencies['@opencode/plugin'] + expect(sdk?.version, 'inventory records the exact bundled SDK version').toBe(pinnedVersion) + expect(sdk?.license).not.toBe('UNKNOWN') + + // Every listed package must have a license classification + for (const pkg of packages) expect(pkg.license, `${pkg.name} license`).toBeTruthy() + }) +}) diff --git a/test/node-loadable.test.ts b/test/node-loadable.test.ts index 25d3ccbc..b06e5a4a 100644 --- a/test/node-loadable.test.ts +++ b/test/node-loadable.test.ts @@ -15,7 +15,7 @@ * step the Desktop plugin loader performs. */ import { execFileSync } from 'node:child_process' -import { existsSync, mkdtempSync, mkdirSync, readdirSync, readFileSync, rmSync, renameSync, cpSync, writeFileSync } from 'node:fs' +import { existsSync, mkdtempSync, mkdirSync, readdirSync, readFileSync, rmSync, renameSync, writeFileSync } from 'node:fs' import { tmpdir } from 'node:os' import path from 'node:path' import { fileURLToPath } from 'node:url' @@ -101,26 +101,10 @@ describe('Node host compatibility (OpenCode Desktop)', () => { rmSync(stagedPkgDir, { recursive: true, force: true }) renameSync(path.join(stagedRoot, 'package'), stagedPkgDir) - // Provide the runtime dependency the host would install alongside the plugin. - const depSource = path.join(repoRoot, 'node_modules', 'xdg-basedir') - if (existsSync(depSource)) { - cpSync(depSource, path.join(stagedRoot, 'node_modules', 'xdg-basedir'), { recursive: true }) - } - - // The combined V1/V2 entrypoint has an external V2 SDK dependency. Install - // production dependencies in the temporary consumer just like a package - // manager would for a published plugin. - const dependencyRoot = path.join(workDir, 'runtime-dependencies') - mkdirSync(dependencyRoot, { recursive: true }) - execFileSync('npm', [ - 'install', - '--prefix', dependencyRoot, - '--ignore-scripts', - '--no-package-lock', - '--omit=dev', - '@opencode/plugin@2.0.26', - ], { stdio: 'pipe', env: cleanNpmEnv() }) - cpSync(path.join(dependencyRoot, 'node_modules'), path.join(stagedRoot, 'node_modules'), { recursive: true }) + // The published package bundles its SDK dependencies, so no runtime + // dependencies are installed alongside it. Staging the tarball alone + // proves the entries load self-contained, exactly as a host with an + // empty dependency tree would load them. }, 180_000) afterAll(() => { diff --git a/test/types-consumer.test.ts b/test/types-consumer.test.ts new file mode 100644 index 00000000..3fa50a94 --- /dev/null +++ b/test/types-consumer.test.ts @@ -0,0 +1,117 @@ +/** + * Clean-consumer typecheck regression for the bundled distribution. + * + * The package's `types` entries must be self-contained: the runtime SDKs are + * bundled into dist/*.js and no longer published as installable dependencies, + * so a consumer that installs ONLY this package (plus ambient Node types, + * which any Node-based TypeScript consumer has) must typecheck against the + * shipped declarations. Historically the `types` entries pointed at + * src/*.ts, which import '@opencode/plugin' - keeping that layout after the + * dependency removal made clean-consumer `tsc` fail with TS2307. + */ +import { execFileSync } from 'node:child_process' +import { cpSync, existsSync, mkdirSync, mkdtempSync, readdirSync, renameSync, rmSync, writeFileSync } from 'node:fs' +import { tmpdir } from 'node:os' +import path from 'node:path' +import { fileURLToPath } from 'node:url' +import { afterAll, beforeAll, describe, expect, it } from 'vitest' + +const repoRoot = path.resolve(fileURLToPath(new URL('.', import.meta.url)), '..') + +function cleanNpmEnv(): NodeJS.ProcessEnv { + const env = { ...process.env } + for (const key of Object.keys(env)) { + if (key.startsWith('npm_config_')) delete env[key] + } + return env +} + +const CONSUMER_SOURCE = `import combined, { ModelDiscoveryPlugin, setupV2 } from 'opencode-models-discovery' +import serverDefault from 'opencode-models-discovery/server' +import tuiDefault, { defineTuiPlugin, type TuiCleanup, type TuiPluginDefinition } from 'opencode-models-discovery/tui' + +const pluginId: string = combined.id +const serverId: string = serverDefault.id +const tuiId: string = tuiDefault.id +const cleanup: TuiCleanup = () => undefined + +const definition: TuiPluginDefinition = defineTuiPlugin({ + id: 'consumer-check', + setup: async () => cleanup, +}) + +export const checked = [pluginId, serverId, tuiId, definition.id, ModelDiscoveryPlugin, setupV2] as const +` + +describe('clean-consumer typecheck', () => { + let workDir: string + let stagedRoot: string + + beforeAll(() => { + workDir = mkdtempSync(path.join(tmpdir(), 'omd-types-consumer-')) + stagedRoot = path.join(workDir, 'consumer') + const consumerNodeModules = path.join(stagedRoot, 'node_modules') + mkdirSync(path.join(consumerNodeModules, '@types'), { recursive: true }) + + execFileSync('npm', ['run', 'compile'], { cwd: repoRoot, stdio: 'pipe', env: cleanNpmEnv() }) + execFileSync('npm', ['pack', '--pack-destination', workDir, '--ignore-scripts'], { + cwd: repoRoot, + stdio: 'pipe', + env: cleanNpmEnv(), + }) + const tarball = readdirSync(workDir).find((f) => f.endsWith('.tgz')) + if (!tarball) throw new Error('npm pack produced no tarball') + execFileSync('tar', ['-xzf', path.join(workDir, tarball), '-C', consumerNodeModules], { stdio: 'pipe' }) + const extracted = path.join(consumerNodeModules, 'package') + const pkgDir = path.join(consumerNodeModules, 'opencode-models-discovery') + rmSync(pkgDir, { recursive: true, force: true }) + renameSync(extracted, pkgDir) + + // Ambient Node types stand for what any Node-based consumer already has; + // nothing else (no SDK, no effect) is provided. + for (const [sourceName, destName] of [ + ['@types/node', '@types/node'], + ['undici-types', 'undici-types'], + ] as const) { + const source = path.join(repoRoot, 'node_modules', sourceName) + if (existsSync(source)) { + cpSync(source, path.join(consumerNodeModules, destName), { recursive: true }) + } + } + + writeFileSync(path.join(stagedRoot, 'consumer.ts'), CONSUMER_SOURCE) + }, 300_000) + + afterAll(() => { + if (workDir) rmSync(workDir, { recursive: true, force: true }) + }) + + it('typechecks a consumer that installed only this package', () => { + const tscBin = path.join(repoRoot, 'node_modules', 'typescript', 'bin', 'tsc') + let status = 0 + let output = '' + try { + output = execFileSync( + process.execPath, + [ + tscBin, + '--noEmit', + '--strict', + '--target', 'es2022', + '--module', 'esnext', + '--moduleResolution', 'bundler', + 'consumer.ts', + ], + { cwd: stagedRoot, stdio: 'pipe', encoding: 'utf-8', env: cleanNpmEnv() } + ) + } catch (error) { + const e = error as { status?: number; stdout?: string; stderr?: string } + status = e.status ?? 1 + output = `${e.stdout ?? ''}${e.stderr ?? ''}` + } + expect( + { status, output: output.trim().slice(0, 2000) }, + 'tsc against the published types must succeed with only this package installed' + ).toEqual({ status: 0, output: '' }) + }, 240_000) +}) diff --git a/types/index.d.ts b/types/index.d.ts new file mode 100644 index 00000000..ce400f79 --- /dev/null +++ b/types/index.d.ts @@ -0,0 +1,43 @@ +/** + * Self-contained public types for opencode-models-discovery. + * + * The runtime SDKs (@opencode/plugin, @opencode-ai/plugin) are bundled into + * dist/*.js at build time and the published package declares no installable + * dependencies, so these declarations describe the plugin contract + * structurally instead of importing SDK types: consumers typecheck against + * this package alone (proven by test/types-consumer.test.ts). Keep the shapes + * below in sync with src/index.ts / src/runtime.ts; test/node-loadable.test.ts + * verifies the runtime side of the same contract against a plain Node host. + */ + +/** + * Minimal structural view of the OpenCode v2 plugin context. Hosts pass a + * rich context object (providers, tui, storage, ...); only `id`/`setup` + * consumption is contract-relevant, so unknown host members are preserved. + */ +export interface PluginContext { + readonly [key: string]: unknown; +} + +/** Cleanup callback returned by plugin setup hooks. */ +export type Cleanup = () => Promise | void; + +/** OpenCode V1 server plugin factory (a function per @opencode-ai/plugin). */ +export type ServerPluginFactory = (context: unknown) => unknown; + +/** The combined adapter consumed by both OpenCode V1 and V2 hosts. */ +export interface CombinedPlugin { + readonly id: string; + readonly setup: (context: PluginContext) => Promise | Cleanup | void; + readonly server: ServerPluginFactory; +} + +/** V1 server plugin factory exported for hosts that load this package directly. */ +export declare const ModelDiscoveryPlugin: ServerPluginFactory; + +/** V2 setup entry point exported for hosts that wire it into their own plugin. */ +export declare function setupV2(context: PluginContext): Promise; + +declare const combinedPlugin: CombinedPlugin; + +export default combinedPlugin; diff --git a/types/server.d.ts b/types/server.d.ts new file mode 100644 index 00000000..10d29201 --- /dev/null +++ b/types/server.d.ts @@ -0,0 +1,7 @@ +/** + * Self-contained types for the `opencode-models-discovery/server` entry. + * The runtime default is the same combined adapter as the root entry. + */ +import combinedPlugin from './index.js'; + +export default combinedPlugin; diff --git a/types/tui.d.ts b/types/tui.d.ts new file mode 100644 index 00000000..3cd20d76 --- /dev/null +++ b/types/tui.d.ts @@ -0,0 +1,27 @@ +/** + * Self-contained public types for the `opencode-models-discovery/tui` entry. + * Described structurally (see types/index.d.ts for the rationale); keep in + * sync with src/tui.ts. test/types-consumer.test.ts verifies consumers can + * implement TuiPluginDefinition and call defineTuiPlugin against these types. + */ + +/** Minimal structural view of the OpenCode V2 TUI plugin context. */ +export interface TuiPluginContext { + readonly [key: string]: unknown; +} + +/** Cleanup callback a TUI plugin's setup may return. */ +export type TuiCleanup = () => Promise | void; + +/** Definition shape accepted by defineTuiPlugin. */ +export interface TuiPluginDefinition { + readonly id: string; + readonly setup: (context: TuiPluginContext) => Promise | TuiCleanup | void; +} + +/** Identity helper that registers a TUI plugin definition. */ +export declare function defineTuiPlugin(plugin: TuiPluginDefinition): TuiPluginDefinition; + +declare const tuiPlugin: TuiPluginDefinition; + +export default tuiPlugin; From 0cb09b51d2eaa6ebe85f62b0d595a40ba4785cb4 Mon Sep 17 00:00:00 2001 From: yuhp Date: Tue, 17 Nov 2026 19:00:41 +0800 Subject: [PATCH 26/29] build: omit source maps from npm releases --- RELEASE.md | 1 + package.json | 11 +++++++++-- scripts/release.ts | 2 +- scripts/remove-source-maps.ts | 12 ++++++++++++ 4 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 scripts/remove-source-maps.ts diff --git a/RELEASE.md b/RELEASE.md index 1b82ee30..a911125e 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -27,6 +27,7 @@ Release branches are short-lived per-version branches. There is no long-lived `r 1. Bump the `@opencode/plugin` / `@opencode-ai/plugin` devDependencies when preparing a release if you want the published plugin to track a newer SDK; the bundled copy is otherwise frozen at the last bump. 2. Do not add entries to `dependencies`, `peerDependencies`, or `optionalDependencies`. Hosts materialize every installed dependency as individual files in their plugin cache (a previous external-SDK setup unpacked ~30k files per install). `npm run check:bundle` fails the build if a bundled output keeps an external import or the manifest declares installable dependencies again. 3. `npm run compile` regenerates `dist/THIRD-PARTY-NOTICES.md` from the esbuild metafiles: an inventory of every bundled package with its exact version and full license text, shipped inside the tarball. `npm run check:notices` (part of `validate:package`) fails if the file is stale or a bundled package has no license classification, and `scripts/release.ts` embeds the SDK versions it lists into the GitHub release notes. +4. Development builds (`npm run build`) retain source maps for debugging. Release publishing uses `npm run build:release`, which compiles without source maps and removes stale `.map` files before packaging. The `files` allowlist also excludes source maps as a final packaging safeguard. ## Release Validation diff --git a/package.json b/package.json index d7bc2511..5daa7b78 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ } }, "files": [ - "dist", + "dist/*.js", + "dist/THIRD-PARTY-NOTICES.md", "types" ], "scripts": { @@ -33,11 +34,17 @@ "lint": "eslint src", "lint:fix": "eslint src --fix", "compile": "npm run compile:runtime && npm run compile:root && npm run compile:server && npm run compile:tui && bun scripts/bundle-notices.ts", + "compile:release": "npm run compile:runtime:release && npm run compile:root:release && npm run compile:server:release && npm run compile:tui:release && bun scripts/remove-source-maps.ts && bun scripts/bundle-notices.ts", "compile:runtime": "esbuild src/runtime.ts --bundle --format=esm --platform=node --target=node18 --sourcemap --keep-names --metafile=meta/runtime.meta.json --outfile=dist/runtime.js", + "compile:runtime:release": "esbuild src/runtime.ts --bundle --format=esm --platform=node --target=node18 --keep-names --metafile=meta/runtime.meta.json --outfile=dist/runtime.js", "compile:root": "esbuild src/index.ts --format=esm --platform=node --packages=external --target=node18 --sourcemap --keep-names --outfile=dist/index.js", + "compile:root:release": "esbuild src/index.ts --format=esm --platform=node --packages=external --target=node18 --keep-names --outfile=dist/index.js", "compile:server": "esbuild src/server.ts --format=esm --platform=node --packages=external --target=node18 --sourcemap --keep-names --outfile=dist/server.js", + "compile:server:release": "esbuild src/server.ts --format=esm --platform=node --packages=external --target=node18 --keep-names --outfile=dist/server.js", "compile:tui": "esbuild src/tui.ts --bundle --format=esm --platform=node --target=node18 --sourcemap --keep-names --metafile=meta/tui.meta.json --outfile=dist/tui.js", + "compile:tui:release": "esbuild src/tui.ts --bundle --format=esm --platform=node --target=node18 --keep-names --metafile=meta/tui.meta.json --outfile=dist/tui.js", "build": "npm run lint && npm run typecheck && npm run test:run && npm run compile && npm run check:bundle && npm run check:notices", + "build:release": "npm run lint && npm run typecheck && npm run test:run && npm run compile:release && npm run check:bundle && npm run check:notices", "check:bundle": "bun scripts/check-bundle-deps.ts meta/runtime.meta.json meta/tui.meta.json", "check:notices": "bun scripts/check-bundle-deps.ts --notices meta/runtime.meta.json meta/tui.meta.json", "test:v1": "vitest run test/plugin.test.ts test/v1-v2-isolation.test.ts", @@ -46,7 +53,7 @@ "validate": "npm run lint && npm run typecheck && npm run test:run", "validate:config": "bun scripts/validate-config.ts", "release": "bun scripts/release.ts", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build:release" }, "keywords": [ "opencode", diff --git a/scripts/release.ts b/scripts/release.ts index bef28837..bf511528 100644 --- a/scripts/release.ts +++ b/scripts/release.ts @@ -295,7 +295,7 @@ function publishCurrentVersion(): void { console.log(`\nšŸš€ Publishing release ${tagName}`) - runCommand('npm', ['run', 'build'], 'Running build and tests') + runCommand('npm', ['run', 'build:release'], 'Running release build and tests') const releaseNotes = generateReleaseNotes(newVersion) const notesFile = `/tmp/release-notes-${newVersion}.md` diff --git a/scripts/remove-source-maps.ts b/scripts/remove-source-maps.ts new file mode 100644 index 00000000..077f3817 --- /dev/null +++ b/scripts/remove-source-maps.ts @@ -0,0 +1,12 @@ +#!/usr/bin/env bun + +import { existsSync, readdirSync, unlinkSync } from 'node:fs' +import path from 'node:path' + +const dist = path.resolve(import.meta.dirname ?? '.', '..', 'dist') + +if (existsSync(dist)) { + for (const entry of readdirSync(dist)) { + if (entry.endsWith('.map')) unlinkSync(path.join(dist, entry)) + } +} From 6a54428a4783bd26a917c55a1a0b5ef2ba8b4f00 Mon Sep 17 00:00:00 2001 From: yuhp Date: Tue, 17 Nov 2026 19:01:27 +0800 Subject: [PATCH 27/29] chore: ignore local agent instructions --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index bf393c85..d5b9f65e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ opencode-debug.log .cache/ coverage/ opencode.json* +AGENTS.md docs/articles/ From 8c8133f5e7aac8764d158a883f230a80a63ab594 Mon Sep 17 00:00:00 2001 From: yuhp Date: Tue, 17 Nov 2026 19:17:46 +0800 Subject: [PATCH 28/29] fix: normalize provider model limits consistently --- docs/configuration.md | 2 +- src/core/model-types.ts | 7 +++++-- src/utils/model-info/aiproxy.ts | 11 ++++++----- test/aiproxy-model-info.test.ts | 4 ++-- test/core/model-types.test.ts | 5 +++++ test/models-dev-model-info.test.ts | 4 ++-- 6 files changed, 21 insertions(+), 12 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 06426599..13e06e59 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -690,7 +690,7 @@ When a discovered model can be matched to models.dev metadata, the plugin may po The current models.dev data uses a flat `provider/model`-keyed object. Its `limit` object is singular, and its `context`, `input`, and `output` fields are independently optional. `structured_output` and `temperature` may also be omitted; the plugin leaves omitted fields unset rather than inferring `false`. The current models.dev dataset does not provide `variants` metadata. -Limits advertised inline by the provider's `/v1/models` entry take precedence over matching models.dev limits. The plugin reads `context_length` or `max_context_length` for the context window and `max_completion_tokens` or `max_output_tokens` for the output budget, then fills any remaining gap from models.dev. This keeps gateways that front several upstreams (for example CLIProxyAPI or a LiteLLM pool) authoritative for what their own routes accept, while models.dev still supplies names and capabilities. +For gateways that expose inline limits on their `/v1/models` entries, those values take precedence over matching models.dev limits. The plugin reads `context_length` or `max_context_length` for the context window and `max_completion_tokens` or `max_output_tokens` for the output budget, then fills any remaining gap from models.dev. This keeps gateways that front several upstreams (for example a LiteLLM pool or a custom router) authoritative for what their own routes accept, while models.dev still supplies names and capabilities. A models.dev input limit is bounded by the effective context window. Matching is intentionally conservative: diff --git a/src/core/model-types.ts b/src/core/model-types.ts index cfddfef8..f994e3a3 100644 --- a/src/core/model-types.ts +++ b/src/core/model-types.ts @@ -45,7 +45,7 @@ export interface NormalizedModelLimit { /** * Creates a normalized limit object. * - requires a positive context window - * - preserves valid explicit output limits, bounded by the context limit + * - preserves valid explicit output and input limits, bounded by the context limit * - falls back to Math.min(context, DEFAULT_OUTPUT_TOKEN_LIMIT) when output is missing or non-positive */ export function createModelLimits( @@ -58,11 +58,14 @@ export function createModelLimits( const output = typeof explicitOutput === 'number' && Number.isFinite(explicitOutput) && explicitOutput > 0 ? Math.min(explicitOutput, context) : Math.min(context, DEFAULT_OUTPUT_TOKEN_LIMIT) + const normalizedInput = typeof input === 'number' && Number.isFinite(input) && input > 0 + ? Math.min(input, context) + : undefined return { context, output, - ...(typeof input === 'number' && Number.isFinite(input) && input > 0 ? { input } : {}), + ...(normalizedInput !== undefined ? { input: normalizedInput } : {}), } } diff --git a/src/utils/model-info/aiproxy.ts b/src/utils/model-info/aiproxy.ts index a2fcd92e..b4ee03b1 100644 --- a/src/utils/model-info/aiproxy.ts +++ b/src/utils/model-info/aiproxy.ts @@ -1,4 +1,5 @@ import type { ModelEnricher, ModelEnrichmentResult } from '../../core/model-enrichment' +import { createModelLimits } from '../../core/model-types' import { createModelsDevEnricher } from './models-dev' const REASONING_EFFORTS = new Set(['none', 'minimal', 'low', 'medium', 'high', 'xhigh', 'max']) @@ -46,11 +47,11 @@ export function createAIProxyEnricher(data: unknown): ModelEnricher { const outputLimit = limits?.max_output_tokens const existingLimit = result.limit if (existingLimit && positiveNumber(existingLimit.context) && (positiveNumber(inputLimit) || positiveNumber(outputLimit))) { - result.limit = { - ...existingLimit, - ...(positiveNumber(inputLimit) ? { input: inputLimit } : {}), - ...(positiveNumber(outputLimit) ? { output: outputLimit } : {}), - } + result.limit = createModelLimits( + existingLimit.context, + positiveNumber(outputLimit) ? outputLimit : existingLimit.output, + positiveNumber(inputLimit) ? inputLimit : existingLimit.input, + ) } const pricing = object(model.pricing) diff --git a/test/aiproxy-model-info.test.ts b/test/aiproxy-model-info.test.ts index acc951a3..2e27d030 100644 --- a/test/aiproxy-model-info.test.ts +++ b/test/aiproxy-model-info.test.ts @@ -71,9 +71,9 @@ describe('native AIProxy model enricher', () => { id: 'gpt-6-luna', context_length: 272_000, max_completion_tokens: 128_000, - limits: { max_output_tokens: 64_000 }, + limits: { max_input_tokens: 500_000, max_output_tokens: 64_000 }, }, { filterNonChat: true }) - expect(result.limit).toEqual({ context: 272_000, output: 64_000 }) + expect(result.limit).toEqual({ context: 272_000, input: 272_000, output: 64_000 }) }) }) diff --git a/test/core/model-types.test.ts b/test/core/model-types.test.ts index 585829ae..9f53d9b0 100644 --- a/test/core/model-types.test.ts +++ b/test/core/model-types.test.ts @@ -115,4 +115,9 @@ describe('Model limit normalization (createModelLimits)', () => { const limits = createModelLimits(32768, 4096, 28000) expect(limits).toEqual({ context: 32768, output: 4096, input: 28000 }) }) + + it('bounds explicit input limits so they do not exceed context', () => { + const limits = createModelLimits(32768, 4096, 64000) + expect(limits).toEqual({ context: 32768, output: 4096, input: 32768 }) + }) }) diff --git a/test/models-dev-model-info.test.ts b/test/models-dev-model-info.test.ts index be27a865..fa374705 100644 --- a/test/models-dev-model-info.test.ts +++ b/test/models-dev-model-info.test.ts @@ -36,7 +36,7 @@ describe('models.dev model enricher', () => { expect(result.limit).toEqual({ context: 262_144, output: 65_536 }) }) - it('fills missing provider fields from the models.dev catalog', () => { + it('fills missing provider fields and bounds catalog input to provider context', () => { const enricher = createModelsDevEnricher(catalog('custom-model', { context: 1_000_000, input: 900_000, @@ -48,7 +48,7 @@ describe('models.dev model enricher', () => { context_length: 200_000, }, { filterNonChat: true }) - expect(result.limit).toEqual({ context: 200_000, input: 900_000, output: 32_000 }) + expect(result.limit).toEqual({ context: 200_000, input: 200_000, output: 32_000 }) }) it('keeps the models.dev context when the provider advertises output only', () => { From 4b7dbb46680b38422c23cbb0eb802f1c927cbb41 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2026 11:46:23 +0000 Subject: [PATCH 29/29] chore: bump version to 2.2.0-rc.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f578443e..8f9e3d8d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "opencode-models-discovery", - "version": "2.1.2", + "version": "2.2.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "opencode-models-discovery", - "version": "2.1.2", + "version": "2.2.0-rc.1", "license": "MIT", "devDependencies": { "@eslint/js": "^10.0.1", diff --git a/package.json b/package.json index 5daa7b78..e5710f83 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "opencode-models-discovery", - "version": "2.1.2", + "version": "2.2.0-rc.1", "description": "OpenCode plugin for auto-discovery of OpenAI-compatible models with dynamic provider configuration", "type": "module", "main": "./dist/index.js",