@livx.cc/agentx 0.95.1 → 0.95.2
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/{Agent-1DRfsYaK.d.ts → Agent-DRe91tAy.d.ts} +5 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +578 -421
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +387 -232
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AgentOptions, H as Hooks, h as RunResult, A as Agent } from './Agent-
|
|
2
|
-
export { C as ChatFragment, D as DEFAULT_MUTATING, b as Decision, P as PermissionOptions, c as PermissionPolicy, d as PermissionRule, e as PreToolUseDecision, R as ReasoningEffort, f as RecordingHooks, g as RecordingLifecycle, T as ToolUse, i as ToolUseMeta, j as composeHooks, p as planMode, r as reasoningToChatFragment } from './Agent-
|
|
1
|
+
import { a as AgentOptions, H as Hooks, h as RunResult, A as Agent } from './Agent-DRe91tAy.js';
|
|
2
|
+
export { C as ChatFragment, D as DEFAULT_MUTATING, b as Decision, P as PermissionOptions, c as PermissionPolicy, d as PermissionRule, e as PreToolUseDecision, R as ReasoningEffort, f as RecordingHooks, g as RecordingLifecycle, T as ToolUse, i as ToolUseMeta, j as composeHooks, p as planMode, r as reasoningToChatFragment } from './Agent-DRe91tAy.js';
|
|
3
3
|
import { IFilesystem, FileMetadata } from '@livx.cc/wcli/core';
|
|
4
4
|
export { CommandExecutor, FileMetadata, IFilesystem, IndexedDbFilesystem, MemFilesystem, registerHeadlessCommands } from '@livx.cc/wcli/core';
|
|
5
5
|
import { BodDB } from '@bod.ee/db';
|
|
@@ -1035,6 +1035,9 @@ interface TaskToolOptions {
|
|
|
1035
1035
|
maxParallel?: number;
|
|
1036
1036
|
/** Parent hooks — `onSubagentStop` fires with each child's summary when it finishes. */
|
|
1037
1037
|
hooks?: Hooks;
|
|
1038
|
+
/** Origin-anchored real-disk dir for child transcript traces (see `AgentOptions.traceDir`). Passed
|
|
1039
|
+
* down UNCHANGED to nested children so every level writes to the same origin `.agent`. */
|
|
1040
|
+
traceDir?: string;
|
|
1038
1041
|
}
|
|
1039
1042
|
/**
|
|
1040
1043
|
* `Task` tool — spawn a CHILD agent over the same VFS with its own step budget,
|