@mjasnikovs/pi-task 0.12.0 → 0.13.0
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.
|
@@ -199,6 +199,13 @@ export function summarizeToolArgs(toolName, args) {
|
|
|
199
199
|
if (toolName === 'bash' && typeof a.command === 'string') {
|
|
200
200
|
return a.command.replace(/\s+/g, ' ').trim();
|
|
201
201
|
}
|
|
202
|
+
if (toolName === 'pi-worker-docs' &&
|
|
203
|
+
typeof a.module === 'string' &&
|
|
204
|
+
typeof a.query === 'string') {
|
|
205
|
+
const q = a.query.replace(/\s+/g, ' ').trim();
|
|
206
|
+
const truncated = q.length > 60 ? q.slice(0, 59) + '…' : q;
|
|
207
|
+
return `${a.module} "${truncated}"`;
|
|
208
|
+
}
|
|
202
209
|
if (typeof a.file_path === 'string')
|
|
203
210
|
return a.file_path;
|
|
204
211
|
if (typeof a.path === 'string')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjasnikovs/pi-task",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Deterministic spec-orchestration for local models, with a bundled real-time remote web view and web/docs/fetch/worker subagent tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|