@clwnd/opencode 0.18.9 → 0.19.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.
Files changed (2) hide show
  1. package/dist/index.js +0 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1465,22 +1465,6 @@ var clwndPlugin = async (input) => {
1465
1465
  }
1466
1466
  }
1467
1467
  },
1468
- // Suppress OC's builtin tools that clwnd has replaced. We can't remove
1469
- // them from OC's registry, but we can rewrite their descriptions so the
1470
- // model never picks them. Without this, the model sees "edit", "write",
1471
- // "glob", "grep" in the active tool list, tries to call them, and gets
1472
- // an invalid-tool bounce because Claude CLI has --disallowedTools'd them.
1473
- "tool.definition": async (input2, output) => {
1474
- const replaced = {
1475
- edit: "DISABLED \u2014 use do_code instead.",
1476
- write: "DISABLED \u2014 use do_code for code files, do_noncode for non-code files.",
1477
- glob: "DISABLED \u2014 use read with a glob pattern or directory path instead.",
1478
- grep: "DISABLED \u2014 use read with the pattern parameter instead."
1479
- };
1480
- if (replaced[input2.toolID]) {
1481
- output.description = replaced[input2.toolID];
1482
- }
1483
- },
1484
1468
  "chat.headers": async (ctx, output) => {
1485
1469
  output.headers["x-clwnd-agent"] = typeof ctx.agent === "string" ? ctx.agent : ctx.agent?.name ?? JSON.stringify(ctx.agent);
1486
1470
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clwnd/opencode",
3
- "version": "0.18.9",
3
+ "version": "0.19.1",
4
4
  "description": "clwnd for opencode",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",