@ycodium-ai/agent-claude 0.2.2694 → 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 +6 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -98,7 +98,12 @@ var CLAUDE_CARD = {
98
98
  contextCompaction: "native",
99
99
  turnSteering: true,
100
100
  // 子代理、workflow 与其成员经 SDK 的 task_* 系统消息报成 task.*(claudeInstance.ts)。
101
- reportsSpawnedAgents: true
101
+ reportsSpawnedAgents: true,
102
+ // 出处:Anthropic Messages API 的视觉文档——单张图片 5 MB、宽高各不超过 8000 像素,超了
103
+ // API 直接拒掉整轮。5 MB 量的是 base64 之后的长度(SDK 把图片以 base64 块发出),所以
104
+ // 原始字节上限是它的 3/4。宿主据此把更大的图退化成路径(Claude 自己的 Read 工具会读那个
105
+ // 路径)。mimeTypes 缺席 = 宿主认的四种,与 types.ts 的 SUPPORTED_CLAUDE_IMAGE_MIME_TYPES 一致。
106
+ inlineImages: { maxBytes: Math.floor(5 * 1024 * 1024 * 3 / 4), maxEdgePixels: 8e3 }
102
107
  },
103
108
  credentialSources: [
104
109
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-claude",
3
- "version": "0.2.2694",
3
+ "version": "0.2.2698",
4
4
  "description": "Claude executor: Claude Code CLI via @anthropic-ai/claude-agent-sdk.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -24,9 +24,9 @@
24
24
  "@types/node": "24.12.4",
25
25
  "esbuild": "0.28.1",
26
26
  "vite-plus": "0.2.2",
27
- "ycodium-executor-testing": "0.0.0",
28
- "@ycodium-ai/plugin-api": "0.2.2694",
29
- "ycodium-jsonl-stream": "0.0.0"
27
+ "@ycodium-ai/plugin-api": "0.2.2698",
28
+ "ycodium-jsonl-stream": "0.0.0",
29
+ "ycodium-executor-testing": "0.0.0"
30
30
  },
31
31
  "ycodium": {
32
32
  "plugin": "./dist/index.js",