@livx.cc/agentx 0.99.48 → 0.99.49
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 +1 -1
- package/dist/{Agent-BeoEFl2T.d.ts → Agent-CXkPfYX2.d.ts} +14 -2
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +28 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +28 -4
- package/dist/index.js.map +1 -1
- package/dist/{mcp-DjYZzGGW.d.ts → mcp-CSLRyvEp.d.ts} +1 -1
- package/dist/mcp.client.d.ts +2 -2
- package/dist/{tools-MNdqlJIa.d.ts → tools-HsbxgqjF.d.ts} +6 -1
- package/dist/tools.shell.d.ts +1 -1
- package/dist/tools.shell.js +6 -1
- package/dist/tools.shell.js.map +1 -1
- package/package.json +3 -3
package/dist/mcp.client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as McpToolSearchOptions, f as McpToolSpec } from './mcp-
|
|
2
|
-
import { A as AgentTool } from './tools-
|
|
1
|
+
import { e as McpToolSearchOptions, f as McpToolSpec } from './mcp-CSLRyvEp.js';
|
|
2
|
+
import { A as AgentTool } from './tools-HsbxgqjF.js';
|
|
3
3
|
import '@livx.cc/wcli/core';
|
|
4
4
|
|
|
5
5
|
/** Hard cap for `tools/call`. NOT the 30s protocol timeout: a tool call is real work (an image render, a crawl)
|
|
@@ -310,7 +310,12 @@ declare class JobRegistryOptions {
|
|
|
310
310
|
maxBuffer: number;
|
|
311
311
|
/** Idle window per kind: no output/progress/CPU for this long ⇒ stuck. Kinds without an activity channel
|
|
312
312
|
* (host, native) are absent on purpose — silence is all they can ever show, so it proves nothing; their
|
|
313
|
-
* bound is the hard cap. Explicit `background:true` shell jobs opt out per job (a quiet server is healthy).
|
|
313
|
+
* bound is the hard cap. Explicit `background:true` shell jobs opt out per job (a quiet server is healthy).
|
|
314
|
+
* NOTE the asymmetry that default hides: for a HOST job silence really is uninformative (the caller holds
|
|
315
|
+
* the pending dispatch promise — independent proof it is alive), but a NATIVE job has no such proof AND it
|
|
316
|
+
* suppresses the stall watchdog, i.e. it turns the provider's own silence into permission to keep ignoring
|
|
317
|
+
* that provider's silence. So Agent passes an explicit per-job `idleMs` (nativeHoldMs) for `native`: the
|
|
318
|
+
* provider must keep re-proving liveness with `running` events or forfeit the hold. See Agent.nativeHoldMs. */
|
|
314
319
|
idleMs: Record<string, number>;
|
|
315
320
|
/** Absolute ceiling per kind (0/absent = none). */
|
|
316
321
|
hardCapMs: Record<string, number>;
|
package/dist/tools.shell.d.ts
CHANGED
package/dist/tools.shell.js
CHANGED
|
@@ -540,7 +540,12 @@ var JobRegistryOptions = class {
|
|
|
540
540
|
maxBuffer = 256 * 1024;
|
|
541
541
|
/** Idle window per kind: no output/progress/CPU for this long ⇒ stuck. Kinds without an activity channel
|
|
542
542
|
* (host, native) are absent on purpose — silence is all they can ever show, so it proves nothing; their
|
|
543
|
-
* bound is the hard cap. Explicit `background:true` shell jobs opt out per job (a quiet server is healthy).
|
|
543
|
+
* bound is the hard cap. Explicit `background:true` shell jobs opt out per job (a quiet server is healthy).
|
|
544
|
+
* NOTE the asymmetry that default hides: for a HOST job silence really is uninformative (the caller holds
|
|
545
|
+
* the pending dispatch promise — independent proof it is alive), but a NATIVE job has no such proof AND it
|
|
546
|
+
* suppresses the stall watchdog, i.e. it turns the provider's own silence into permission to keep ignoring
|
|
547
|
+
* that provider's silence. So Agent passes an explicit per-job `idleMs` (nativeHoldMs) for `native`: the
|
|
548
|
+
* provider must keep re-proving liveness with `running` events or forfeit the hold. See Agent.nativeHoldMs. */
|
|
544
549
|
idleMs = { shell: 10 * 6e4, mcp: 10 * 6e4 };
|
|
545
550
|
/** Absolute ceiling per kind (0/absent = none). */
|
|
546
551
|
hardCapMs = { mcp: 30 * 6e4 };
|