@livx.cc/agentx 0.99.81 → 0.99.83

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/index.js CHANGED
@@ -5501,7 +5501,7 @@ var Agent = class _Agent {
5501
5501
  const nj = a.id ? this.nativeJobs.get(a.id) : void 0;
5502
5502
  if (a.status === "running") {
5503
5503
  if (nj) nj.touch();
5504
- 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 }));
5504
+ 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 }));
5505
5505
  } else {
5506
5506
  if (nj) {
5507
5507
  if (typeof a.output === "string") nj.chunk(a.output.slice(-4e3));