agent-afk 5.240.1 → 5.240.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/subagent/fork-budget.d.ts +5 -0
- package/dist/agent/subagent/fork-lifecycle.d.ts +8 -0
- package/dist/agent/subagent/fork-types.d.ts +1 -0
- package/dist/agent/subagent.d.ts +1 -0
- package/dist/agent/tools/subagent-executor.lite-snapshot.d.ts +2 -1
- package/dist/cli/commands/interactive/bg-result-notifier.d.ts +1 -0
- package/dist/cli/input/input-surface.d.ts +1 -0
- package/dist/cli.mjs +248 -248
- package/dist/index.mjs +112 -112
- package/dist/skills/mint/_phases/_fork-phase.d.ts +2 -0
- package/dist/skills/mint/_phases/build.d.ts +2 -1
- package/dist/skills/mint/_phases/heal.d.ts +2 -1
- package/dist/skills/mint/_phases/parallelize-dispatch.d.ts +2 -1
- package/dist/skills/mint/_phases/verify.d.ts +2 -1
- package/dist/skills/skill-types.d.ts +1 -0
- package/dist/telegram.mjs +130 -130
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DelegationBudget, SpawnReceipt } from '../tools/delegation-budget.js';
|
|
2
|
+
export { SpawnReceipt };
|
|
3
|
+
export type { DelegationBudget };
|
|
4
|
+
export declare function admitFork(budget: DelegationBudget | undefined, parentId: string): SpawnReceipt | undefined;
|
|
5
|
+
export declare function wrapTerminalWithRelease(base: () => void, receipt: SpawnReceipt | undefined): () => void;
|
|
@@ -20,3 +20,11 @@ export interface AppendForkTelemetryArgs {
|
|
|
20
20
|
effectiveResolvedAgentType: string | undefined;
|
|
21
21
|
}
|
|
22
22
|
export declare function appendForkTelemetry(args: AppendForkTelemetryArgs): Promise<void>;
|
|
23
|
+
export interface EmitSubagentStartedEventArgs {
|
|
24
|
+
subagentId: string;
|
|
25
|
+
effectiveChildModel: AgentModelInput;
|
|
26
|
+
effectiveAgentType: string | undefined;
|
|
27
|
+
promptHead: string | undefined;
|
|
28
|
+
parentId: string | undefined;
|
|
29
|
+
}
|
|
30
|
+
export declare function emitSubagentStartedEvent(sink: ((event: import('../types/session-types.js').OutputEvent) => void) | undefined, args: EmitSubagentStartedEventArgs): void;
|
package/dist/agent/subagent.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare class SubagentManager {
|
|
|
29
29
|
private readonly parentAbortSignal;
|
|
30
30
|
private readonly workspaceStore;
|
|
31
31
|
private readonly sessionLabel;
|
|
32
|
+
private readonly delegationBudget;
|
|
32
33
|
private readonly abortGraph;
|
|
33
34
|
private readonly rootId;
|
|
34
35
|
private rootController;
|
|
@@ -10,6 +10,7 @@ export interface SubagentsLite {
|
|
|
10
10
|
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
11
11
|
startedAt: string;
|
|
12
12
|
label: string | null;
|
|
13
|
+
recentActivity?: string;
|
|
13
14
|
}>;
|
|
14
15
|
}
|
|
15
|
-
export declare function buildSubagentsLite(subagentManager: SubagentManager, backgroundRegistry: BackgroundAgentRegistry | undefined): SubagentsLite;
|
|
16
|
+
export declare function buildSubagentsLite(subagentManager: SubagentManager, backgroundRegistry: BackgroundAgentRegistry | undefined, callerSessionId?: string): SubagentsLite;
|
|
@@ -51,6 +51,7 @@ export declare class InputSurface {
|
|
|
51
51
|
private softStopHandler;
|
|
52
52
|
private taskViewHandler;
|
|
53
53
|
private pauseInterruptHandler;
|
|
54
|
+
onAwaitingInput: (() => void) | null;
|
|
54
55
|
private pendingReadReject;
|
|
55
56
|
private pendingReadResolve;
|
|
56
57
|
private readonly slashRegistryView;
|