@ycodium-ai/agent-opencode 0.2.2696 → 0.2.2698

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 +5 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -576,7 +576,11 @@ var OPENCODE_CARD = {
576
576
  // 声明这一位让界面画这双手真有的三档;四档在它身上撞车(auto 与 approval-required
577
577
  // 拼出逐字相同的规则集)。
578
578
  nativeModeSwitch: true,
579
- contextCompaction: "native"
579
+ contextCompaction: "native",
580
+ // 出处不是 provider 文档:OpenCode 背后接哪家模型由用户配,没有统一上限可查。这里沿用
581
+ // 产品此前统一施加的单图上限(10 MiB),它在这条内联路径上一直在用;换了更严的后端
582
+ // 导致拒图时,要在这里调小,而不是在宿主里按 provider 名写死。
583
+ inlineImages: { maxBytes: 10 * 1024 * 1024 }
580
584
  },
581
585
  // OpenCode 凭据由 CLI 自己管在 XDG 目录,probe 从已连接 provider 推断,不读 auth.json。
582
586
  credentialSources: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-opencode",
3
- "version": "0.2.2696",
3
+ "version": "0.2.2698",
4
4
  "description": "OpenCode executor: OpenCode CLI via @opencode-ai/sdk/v2.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -24,7 +24,7 @@
24
24
  "@types/node": "24.12.4",
25
25
  "esbuild": "0.28.1",
26
26
  "vite-plus": "0.2.2",
27
- "@ycodium-ai/plugin-api": "0.2.2696",
27
+ "@ycodium-ai/plugin-api": "0.2.2698",
28
28
  "ycodium-executor-testing": "0.0.0"
29
29
  },
30
30
  "ycodium": {