agent-devkit 0.8.2 → 0.8.3
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/dist/main.js +12 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "agent-devkit",
|
|
9
|
-
version: "0.8.
|
|
9
|
+
version: "0.8.3",
|
|
10
10
|
description: "Agent DevKit CLI and TUI runtime for specialist AI agents, capabilities and provider-aware workflows.",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
type: "module",
|
|
@@ -20504,7 +20504,11 @@ function startSpinner(label) {
|
|
|
20504
20504
|
}
|
|
20505
20505
|
let currentLabel = label;
|
|
20506
20506
|
let frame = 0;
|
|
20507
|
+
let stopped = false;
|
|
20507
20508
|
const render = () => {
|
|
20509
|
+
if (stopped) {
|
|
20510
|
+
return;
|
|
20511
|
+
}
|
|
20508
20512
|
process.stderr.write(`${clearLine}${frames[frame % frames.length]} ${currentLabel}`);
|
|
20509
20513
|
frame += 1;
|
|
20510
20514
|
};
|
|
@@ -20512,10 +20516,17 @@ function startSpinner(label) {
|
|
|
20512
20516
|
const timer = setInterval(render, intervalMs);
|
|
20513
20517
|
return {
|
|
20514
20518
|
stop: () => {
|
|
20519
|
+
if (stopped) {
|
|
20520
|
+
return;
|
|
20521
|
+
}
|
|
20522
|
+
stopped = true;
|
|
20515
20523
|
clearInterval(timer);
|
|
20516
20524
|
process.stderr.write(clearLine);
|
|
20517
20525
|
},
|
|
20518
20526
|
update: (nextLabel) => {
|
|
20527
|
+
if (stopped) {
|
|
20528
|
+
return;
|
|
20529
|
+
}
|
|
20519
20530
|
currentLabel = nextLabel;
|
|
20520
20531
|
}
|
|
20521
20532
|
};
|