@cgasgarth/opencode-for-rust 1.1.14 → 1.1.15-next.2-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,9 @@ var __export = (target, all) => {
4
4
  __defProp(target, name, { get: all[name], enumerable: true });
5
5
  };
6
6
 
7
+ // src/index.ts
8
+ import { tool } from "@opencode-ai/plugin";
9
+
7
10
  // node_modules/zod/v4/classic/external.js
8
11
  var external_exports = {};
9
12
  __export(external_exports, {
@@ -12438,12 +12441,6 @@ function date4(params) {
12438
12441
  // node_modules/zod/v4/classic/external.js
12439
12442
  config(en_default());
12440
12443
 
12441
- // node_modules/@opencode-ai/plugin/dist/tool.js
12442
- function tool(input) {
12443
- return input;
12444
- }
12445
- tool.schema = external_exports;
12446
-
12447
12444
  // src/lib/lookup.ts
12448
12445
  import * as path from "path";
12449
12446
  import * as fs2 from "fs/promises";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgasgarth/opencode-for-rust",
3
- "version": "1.1.14",
3
+ "version": "1.1.15-next.2-next.1",
4
4
  "description": "OpenCode plugin for Rust",
5
5
  "author": {
6
6
  "name": "Sisyphus",
@@ -27,8 +27,8 @@
27
27
  "cgasgarth"
28
28
  ],
29
29
  "dependencies": {
30
- "@opencode-ai/plugin": "1.0.85",
31
- "zod": "^4.0.0"
30
+ "@opencode-ai/plugin": "^1.1.1",
31
+ "zod": "^4.1.8"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@eslint/js": "^9.39.1",
@@ -51,7 +51,7 @@
51
51
  "scripts": {
52
52
  "test": "bun test tests/",
53
53
  "typecheck": "tsc --noEmit",
54
- "build": "esbuild ./src/index.ts --bundle --format=esm --platform=node --target=node16 --outdir=cgasgarth/opencode-for-rust --external:fsevents && tsc --project tsconfig.build.json",
54
+ "build": "esbuild ./src/index.ts --bundle --format=esm --platform=node --target=node16 --outdir=cgasgarth/opencode-for-rust --external:fsevents --external:@opencode-ai/* && tsc --project tsconfig.build.json",
55
55
  "lint": "eslint src --max-warnings 0",
56
56
  "format": "prettier --check .",
57
57
  "prepublishOnly": "npm run build",