diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ddaad7..6336d72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,22 @@ Format follows [Keep a Changelog](https://keepachangelog.com/). Versions follow --- +## [0.8.1] - 2026-04-10 + +### Changed + +- **@opencode-ai/sdk and plugin upgrade** (dependency): + - Upgrade @opencode-ai/plugin: 1.3.14 → 1.4.3 + - Upgrade @opencode-ai/sdk: 1.3.14 → 1.4.3 + - Evidence: + - Spec: N/A (dependency bump) + - Code: package.json, Dockerfile.opencode (OpenCode 1.4.3) + - Tests: test:verify (199 pass), test:e2e (all pass) + - Surface: internal-dependency + - Fixes N/A + +--- + ## [0.8.0] - 2026-04-09 ### Added diff --git a/Dockerfile.opencode b/Dockerfile.opencode index 3f1b3fc..eab266a 100644 --- a/Dockerfile.opencode +++ b/Dockerfile.opencode @@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ripgrep \ && rm -rf /var/lib/apt/lists/* -RUN curl -fsSL https://opencode.ai/install | bash -s -- --version 1.3.14 +RUN curl -fsSL https://opencode.ai/install | bash -s -- --version 1.4.3 ENV PATH="/root/.opencode/bin:${PATH}" diff --git a/README.md b/README.md index b288fe4..6829901 100644 --- a/README.md +++ b/README.md @@ -199,5 +199,5 @@ See [CHANGELOG.md](CHANGELOG.md) for all changes. - **Issues**: Submit errors or requests on [GitHub Issues](https://github.com/tryweb/lancedb-opencode-pro/issues). - **License**: MIT License - see [LICENSE](LICENSE). -**Last Updated**: 2026-04-09 -**Latest Version**: v0.8.0 +**Last Updated**: 2026-04-10 +**Latest Version**: v0.8.1 diff --git a/README_zh.md b/README_zh.md index ea69c20..0a0876b 100644 --- a/README_zh.md +++ b/README_zh.md @@ -192,5 +192,5 @@ _[舊版歷史請參閱 CHANGELOG.md]_ - **報告問題**: 軟體錯誤回報或功能請求,請至 [GitHub Issues](https://github.com/tryweb/lancedb-opencode-pro/issues) 提交。 - **授權協議**: MIT License - 詳見 [LICENSE](LICENSE)。 -**最後更新**: 2026-04-09 -**最新版本**: v0.8.0 +**最後更新**: 2026-04-10 +**最新版本**: v0.8.1 diff --git a/bun.lock b/bun.lock index 84e8de6..262ed5e 100644 --- a/bun.lock +++ b/bun.lock @@ -6,8 +6,8 @@ "name": "lancedb-opencode-pro", "dependencies": { "@lancedb/lancedb": "^0.27.2", - "@opencode-ai/plugin": "1.3.14", - "@opencode-ai/sdk": "1.3.14", + "@opencode-ai/plugin": "1.4.3", + "@opencode-ai/sdk": "1.4.3", }, "devDependencies": { "@types/node": "^22.13.9", @@ -32,9 +32,9 @@ "@lancedb/lancedb-win32-x64-msvc": ["@lancedb/lancedb-win32-x64-msvc@0.27.2", "", { "os": "win32", "cpu": "x64" }, "sha512-XlwiI6CK2Gkqq+FFVAStHojao/XjIJpDPTm7Tb9SpLL64IlwGw3yaT2hnWKTm90W4KlSrpfSldPly+s+y4U7JQ=="], - "@opencode-ai/plugin": ["@opencode-ai/plugin@1.3.14", "", { "dependencies": { "@opencode-ai/sdk": "1.3.14", "zod": "4.1.8" }, "peerDependencies": { "@opentui/core": ">=0.1.96", "@opentui/solid": ">=0.1.96" }, "optionalPeers": ["@opentui/core", "@opentui/solid"] }, "sha512-dIEko9B4KytL1pABotkSw2Rm3/BKXb+5Z4g4c/aXjVd2cu86UIsFz8orgMB4zsQOa0bECzESaQzHOKTn3gMEMw=="], + "@opencode-ai/plugin": ["@opencode-ai/plugin@1.4.3", "", { "dependencies": { "@opencode-ai/sdk": "1.4.3", "zod": "4.1.8" }, "peerDependencies": { "@opentui/core": ">=0.1.97", "@opentui/solid": ">=0.1.97" }, "optionalPeers": ["@opentui/core", "@opentui/solid"] }, "sha512-Ob/3tVSIeuMRJBr2O23RtrnC5djRe01Lglx+TwGEmjrH9yDBJ2tftegYLnNEjRoMuzITgq9LD8168p4pzv+U/A=="], - "@opencode-ai/sdk": ["@opencode-ai/sdk@1.3.14", "", { "dependencies": { "cross-spawn": "7.0.6" } }, "sha512-8sNOFYB86d3b2KiIiL6wtio4V9U0mKEiJAlehzuaigZWiZMsI11Gq1Fdq+tIf9RWNQNsZSMYFuofLabPWQs7qA=="], + "@opencode-ai/sdk": ["@opencode-ai/sdk@1.4.3", "", { "dependencies": { "cross-spawn": "7.0.6" } }, "sha512-X0CAVbwoGAjTY2iecpWkx2B+GAa2jSaQKYpJ+xILopeF/OGKZUN15mjqci+L7cEuwLHV5wk3x2TStUOVCa5p0A=="], "@swc/helpers": ["@swc/helpers@0.5.19", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-QamiFeIK3txNjgUTNppE6MiG3p7TdninpZu0E0PbqVh1a9FNLT2FRhisaa4NcaX52XVhA5l7Pk58Ft7Sqi/2sA=="], diff --git a/bunfig.toml b/bunfig.toml new file mode 100644 index 0000000..a7b455a --- /dev/null +++ b/bunfig.toml @@ -0,0 +1,4 @@ +[test] +# Exclude compiled JS output (dist-test/) - these are run via node --test in package.json scripts. +# Excluding benchmark tests - they require a high timeout and are run via benchmark:latency script. +pathIgnorePatterns = ["dist-test/**", "test/benchmark/**"] diff --git a/package.json b/package.json index 6de98af..b606679 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lancedb-opencode-pro", - "version": "0.8.0", + "version": "0.8.1", "description": "LanceDB-backed long-term memory provider for OpenCode", "type": "module", "main": "dist/index.js", @@ -57,8 +57,8 @@ }, "dependencies": { "@lancedb/lancedb": "^0.27.2", - "@opencode-ai/plugin": "1.3.14", - "@opencode-ai/sdk": "1.3.14" + "@opencode-ai/plugin": "1.4.3", + "@opencode-ai/sdk": "1.4.3" }, "devDependencies": { "@types/node": "^22.13.9", @@ -69,4 +69,4 @@ "test": "test" }, "author": "" -} +} \ No newline at end of file diff --git a/test/unit/task-type.test.ts b/test/unit/task-type.test.ts index 5864aa4..8a353c0 100644 --- a/test/unit/task-type.test.ts +++ b/test/unit/task-type.test.ts @@ -2,7 +2,7 @@ import assert from "node:assert"; import test from "node:test"; const CODING_KEYWORDS = ["bug", "error", "function", "refactor", "implement", "fix", "code", "class", "module", "import", "export", "async", "await", "typescript", "javascript", "python", "debug", "stack", "trace"]; -const DOCS_KEYWORDS = ["document", "readme", "explain", "describe", "what is", "how to", "guide", "tutorial", "reference", "api", "specification", "write", "create doc"]; +const DOCS_KEYWORDS = ["document", "readme", "explain", "describe", "guide", "tutorial", "reference", "api", "specification", "write", "create doc"]; const REVIEW_KEYWORDS = ["review", "pr", "pull request", "check", "approve", "reject", "comment", "feedback", "lgtm", "nitpick"]; const RELEASE_KEYWORDS = ["deploy", "release", "version", "build", "publish", "npm", "docker", "ci", "cd", "pipeline", "rollback"];