@livx.cc/agentx 0.99.81 → 0.99.82
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/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -5584,7 +5584,7 @@ var Agent = class _Agent {
|
|
|
5584
5584
|
const nj = a.id ? this.nativeJobs.get(a.id) : void 0;
|
|
5585
5585
|
if (a.status === "running") {
|
|
5586
5586
|
if (nj) nj.touch();
|
|
5587
|
-
else if (a.id) this.nativeJobs.set(a.id, this.jobs.track({ kind: "native", label: a.name, holds: true, idleMs: this.nativeHoldMs, hardCapMs: this.toolHoldMs }));
|
|
5587
|
+
else if (a.id) this.nativeJobs.set(a.id, this.jobs.track({ kind: "native", label: a.name === "mcp" && a.input?.toolName ? `mcp:${a.input.toolName}` : a.name, holds: true, idleMs: this.nativeHoldMs, hardCapMs: this.toolHoldMs }));
|
|
5588
5588
|
} else {
|
|
5589
5589
|
if (nj) {
|
|
5590
5590
|
if (typeof a.output === "string") nj.chunk(a.output.slice(-4e3));
|