@zhushanwen/pi-canvas 0.4.3 → 0.4.5
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhushanwen/pi-canvas",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "Problem-solving canvas toolface for pi: six deferred canvas_* tools bridging the agent to the taiji runtime CanvasService via the CANVAS_MARKER select channel (problem-solve-canvas)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"vitest": "^4.1.8"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@zhushanwen/extension-protocol": "0.
|
|
58
|
+
"@zhushanwen/extension-protocol": "0.25.0",
|
|
59
59
|
"@zhushanwen/pi-ext-guards": "0.5.0",
|
|
60
60
|
"@zhushanwen/pi-extension-logger": "0.6.2",
|
|
61
|
-
"@zhushanwen/subagent-core": "2.
|
|
61
|
+
"@zhushanwen/subagent-core": "2.1.1"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"typecheck": "npx tsc --noEmit",
|
|
65
|
-
"test": "vitest run"
|
|
65
|
+
"test": "vitest run --pool=threads"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -64,5 +64,8 @@ describe("renderCanvasToolResult", () => {
|
|
|
64
64
|
const sample = { content: [{ type: "text", text: "raw" }], details: { summary: 'Entered canvas "n"' } };
|
|
65
65
|
expect(render(enter.renderResult, sample)).toContain('Entered canvas "n"');
|
|
66
66
|
expect(render(list.renderResult, sample)).toContain('Entered canvas "n"');
|
|
67
|
-
});
|
|
67
|
+
}, 30_000);
|
|
68
|
+
// ↑ timeout:harness 动态 import 重初始化(六工具注册链)裸跑已 ~4s,插桩(coverage)
|
|
69
|
+
// 口径超 vitest 默认 5s 预算——纯耗时贴边,非断言回归;DOWNSTREAM 联动门禁把本包
|
|
70
|
+
// 带进插桩跑后暴露(#52 先例:门禁拦的基线测试债分支内当场修复)。
|
|
68
71
|
});
|