@hydra-acp/cli 0.1.94 → 0.1.95
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 +300 -300
- package/dist/index.d.ts +26 -5
- package/dist/index.js +60 -60
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2983,6 +2983,7 @@ declare class Session {
|
|
|
2983
2983
|
private closed;
|
|
2984
2984
|
private closing;
|
|
2985
2985
|
private closeInFlight;
|
|
2986
|
+
private deleteRecordIntent;
|
|
2986
2987
|
private closeHandlers;
|
|
2987
2988
|
private titleHandlers;
|
|
2988
2989
|
private scheduleSynopsisHook?;
|
|
@@ -3006,8 +3007,8 @@ declare class Session {
|
|
|
3006
3007
|
private internalPromptCapture;
|
|
3007
3008
|
private idleTimeoutMs;
|
|
3008
3009
|
private idleTimer;
|
|
3009
|
-
private idleEventTimer;
|
|
3010
3010
|
private idleEventTimeoutMs;
|
|
3011
|
+
private idleHandlers;
|
|
3011
3012
|
private lastRecordedAt;
|
|
3012
3013
|
private spawnReplacementAgent;
|
|
3013
3014
|
private mintMcpServersForSwap;
|
|
@@ -3023,6 +3024,9 @@ declare class Session {
|
|
|
3023
3024
|
private extensionCommands;
|
|
3024
3025
|
private extensionCommandsUnsub;
|
|
3025
3026
|
private pendingClaims;
|
|
3027
|
+
private toolCompletionSeen;
|
|
3028
|
+
private toolCallKind;
|
|
3029
|
+
private filesEditedSeen;
|
|
3026
3030
|
private agentChangeHandlers;
|
|
3027
3031
|
private agentAdvertisedCommands;
|
|
3028
3032
|
private agentAdvertisedModes;
|
|
@@ -3064,6 +3068,7 @@ declare class Session {
|
|
|
3064
3068
|
get turnStartedAt(): number | undefined;
|
|
3065
3069
|
get awaitingInput(): boolean;
|
|
3066
3070
|
isQuiescedForSwap(): Promise<boolean>;
|
|
3071
|
+
isQuiescedSync(): boolean;
|
|
3067
3072
|
swapUpstream(opts: {
|
|
3068
3073
|
artifact: SessionSynopsis;
|
|
3069
3074
|
title?: string;
|
|
@@ -3115,9 +3120,17 @@ declare class Session {
|
|
|
3115
3120
|
cancel(clientId: string): Promise<void>;
|
|
3116
3121
|
addTransformer(ref: TransformerRef): void;
|
|
3117
3122
|
forwardRequest(method: string, params: unknown, originatedBy?: Set<string>, startIdx?: number, tailKind?: "request" | "notification"): Promise<unknown>;
|
|
3123
|
+
runAgentRequestChain(method: string, params: unknown, originatedBy?: Set<string>, startIdx?: number): Promise<{
|
|
3124
|
+
shortCircuit: false;
|
|
3125
|
+
envelope: unknown;
|
|
3126
|
+
} | {
|
|
3127
|
+
shortCircuit: true;
|
|
3128
|
+
payload: unknown;
|
|
3129
|
+
}>;
|
|
3118
3130
|
dischargeClaim(token: string, result: unknown): boolean;
|
|
3119
3131
|
keepAliveClaim(token: string, estimatedRemainingMs?: number): boolean;
|
|
3120
3132
|
emitToChain(emitterName: string, method: string, envelope: unknown): Promise<unknown>;
|
|
3133
|
+
emitToQueue(emitterName: string, envelope: unknown): Promise<unknown>;
|
|
3121
3134
|
private rewriteForAgent;
|
|
3122
3135
|
close(opts?: CloseOptions): Promise<void>;
|
|
3123
3136
|
private doClose;
|
|
@@ -3247,8 +3260,14 @@ declare class Session {
|
|
|
3247
3260
|
private armIdleTimer;
|
|
3248
3261
|
private checkIdle;
|
|
3249
3262
|
private cancelIdleTimer;
|
|
3250
|
-
|
|
3251
|
-
|
|
3263
|
+
onIdle(fn: (s: Session) => void, opts?: {
|
|
3264
|
+
once?: boolean;
|
|
3265
|
+
debounceMs?: number;
|
|
3266
|
+
}): () => void;
|
|
3267
|
+
onceIdle(fn: (s: Session) => void): () => void;
|
|
3268
|
+
private dispatchIdle;
|
|
3269
|
+
private disposeIdleHandlers;
|
|
3270
|
+
private maybeEmitToolEdges;
|
|
3252
3271
|
private notifyChain;
|
|
3253
3272
|
private rewriteForClient;
|
|
3254
3273
|
private recordAndBroadcast;
|
|
@@ -3756,12 +3775,14 @@ declare class SessionManager {
|
|
|
3756
3775
|
private defaultCwd;
|
|
3757
3776
|
private synopsisCoordinator;
|
|
3758
3777
|
private pendingDeletions;
|
|
3759
|
-
private
|
|
3778
|
+
private pendingSwapDisposers;
|
|
3760
3779
|
private rollbackLocks;
|
|
3761
3780
|
private compactionTailK;
|
|
3762
3781
|
private agentCatalog;
|
|
3763
3782
|
constructor(registry: Registry, spawner?: AgentSpawner, store?: SessionStore, options?: SessionManagerOptions);
|
|
3764
|
-
private
|
|
3783
|
+
private dispatchCompactionSwap;
|
|
3784
|
+
private onIdleAttemptSwap;
|
|
3785
|
+
private performCompactionSwap;
|
|
3765
3786
|
private refreshAgentCatalog;
|
|
3766
3787
|
create(params: CreateSessionParams): Promise<Session>;
|
|
3767
3788
|
resurrect(params: ResurrectParams): Promise<Session>;
|