@alisio/plugin-opencode-go 0.1.0-alpha.6 → 0.1.0-alpha.7

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/provider.js +3 -3
  2. package/package.json +3 -3
package/dist/provider.js CHANGED
@@ -265,7 +265,7 @@ export class OpenCodeGatewayProvider {
265
265
  if (completed.some((call) => !call.id || !call.name))
266
266
  throw new Error("Incomplete tool call");
267
267
  if (finish === "length" && !text.trim())
268
- throw new Error("OpenCode chat response cut off by max output tokens before any usable content; raise limits.maxOutputTokens");
268
+ throw new Error("OpenCode chat response cut off by max output tokens before any usable content; raise limits.maxOutputTokens (/settings → Agent max output tokens)");
269
269
  yield {
270
270
  type: "completed",
271
271
  message: {
@@ -341,7 +341,7 @@ export class OpenCodeGatewayProvider {
341
341
  .map((item) => item.text)
342
342
  .join("");
343
343
  if (!text.trim())
344
- throw new Error("OpenCode Responses response cut off by max output tokens before any usable content; raise limits.maxOutputTokens");
344
+ throw new Error("OpenCode Responses response cut off by max output tokens before any usable content; raise limits.maxOutputTokens (/settings → Agent max output tokens)");
345
345
  if (calls.some((call) => !call.id || !call.name))
346
346
  throw new Error("Incomplete tool call");
347
347
  const u = event.response.usage;
@@ -522,7 +522,7 @@ export class OpenCodeGatewayProvider {
522
522
  }
523
523
  if (truncated) {
524
524
  if (!text.trim())
525
- throw new Error("OpenCode Messages response cut off by max output tokens before any usable content; raise limits.maxOutputTokens");
525
+ throw new Error("OpenCode Messages response cut off by max output tokens before any usable content; raise limits.maxOutputTokens (/settings → Agent max output tokens)");
526
526
  yield {
527
527
  type: "completed",
528
528
  message: { role: "assistant", text, calls, providerData: blocks, truncated: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alisio/plugin-opencode-go",
3
- "version": "0.1.0-alpha.6",
3
+ "version": "0.1.0-alpha.7",
4
4
  "description": "Built-in OpenCode Go model provider for Alisio.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,10 +21,10 @@
21
21
  "node": ">=22.16"
22
22
  },
23
23
  "peerDependencies": {
24
- "@alisio/sdk": "^0.1.0-alpha.5"
24
+ "@alisio/sdk": "^0.1.0-alpha.6"
25
25
  },
26
26
  "devDependencies": {
27
- "@alisio/sdk": "0.1.0-alpha.5"
27
+ "@alisio/sdk": "0.1.0-alpha.6"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public",