@cremini/skillpack 1.2.3 → 1.2.5-beta.1
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/README.md +4 -66
- package/dist/cli.js +836 -152
- package/package.json +2 -2
- package/web/js/chat.js +0 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cremini/skillpack",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5-beta.1",
|
|
4
4
|
"description": "Pack AI Skills into Local Agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -65,4 +65,4 @@
|
|
|
65
65
|
"tsup": "^8.5.1",
|
|
66
66
|
"typescript": "^5.9.3"
|
|
67
67
|
}
|
|
68
|
-
}
|
|
68
|
+
}
|
package/web/js/chat.js
CHANGED
|
@@ -282,21 +282,6 @@ function handleAgentEvent(event) {
|
|
|
282
282
|
hideLoadingIndicator();
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
// Handle bot command results injected by the backend WebSocket response
|
|
286
|
-
if (event.type === "command_result") {
|
|
287
|
-
const textBlock = getOrCreateTextBlock();
|
|
288
|
-
let resText = `Command \`${event.command}\` succeeded.`;
|
|
289
|
-
if (event.errorMessage) {
|
|
290
|
-
resText = `Command \`${event.command}\` failed: ${event.errorMessage}`;
|
|
291
|
-
} else if (event.result) {
|
|
292
|
-
resText = `Command \`${event.command}\` result:\n\n${event.result}`;
|
|
293
|
-
}
|
|
294
|
-
textBlock.dataset.mdContent += resText;
|
|
295
|
-
textBlock.innerHTML = renderMarkdown(textBlock.dataset.mdContent);
|
|
296
|
-
scrollToBottom();
|
|
297
|
-
return;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
285
|
switch (event.type) {
|
|
301
286
|
case "agent_start":
|
|
302
287
|
case "message_start":
|