@clwnd/opencode 0.4.1 → 0.4.3

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 +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -345,8 +345,7 @@ function streamCall(msg) {
345
345
  }
346
346
  function isAuxiliaryCall(opts) {
347
347
  const hasTools = Array.isArray(opts.tools) && opts.tools.length > 0;
348
- const hasSystem = opts.prompt.some((m) => m.role === "system");
349
- return !hasTools && !hasSystem;
348
+ return !hasTools;
350
349
  }
351
350
  function extractText(prompt) {
352
351
  for (let i = prompt.length - 1; i >= 0; i--) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clwnd/opencode",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "clwnd for opencode",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",