@hydra-acp/cli 0.1.102 → 0.1.104
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 +298 -298
- package/dist/index.d.ts +16 -0
- package/dist/index.js +70 -70
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2002,6 +2002,9 @@ interface SessionCapabilities {
|
|
|
2002
2002
|
attach?: Record<string, never>;
|
|
2003
2003
|
list?: Record<string, never>;
|
|
2004
2004
|
resume?: Record<string, never>;
|
|
2005
|
+
delete?: Record<string, never>;
|
|
2006
|
+
close?: Record<string, never>;
|
|
2007
|
+
fork?: Record<string, never>;
|
|
2005
2008
|
}
|
|
2006
2009
|
interface PromptCapabilities {
|
|
2007
2010
|
image?: boolean;
|
|
@@ -2012,11 +2015,15 @@ interface McpCapabilities {
|
|
|
2012
2015
|
http?: boolean;
|
|
2013
2016
|
sse?: boolean;
|
|
2014
2017
|
}
|
|
2018
|
+
interface AgentAuthCapabilities {
|
|
2019
|
+
logout?: Record<string, never>;
|
|
2020
|
+
}
|
|
2015
2021
|
interface AgentCapabilities {
|
|
2016
2022
|
promptCapabilities?: PromptCapabilities;
|
|
2017
2023
|
mcpCapabilities?: McpCapabilities;
|
|
2018
2024
|
loadSession?: boolean;
|
|
2019
2025
|
sessionCapabilities?: SessionCapabilities;
|
|
2026
|
+
auth?: AgentAuthCapabilities;
|
|
2020
2027
|
}
|
|
2021
2028
|
interface AuthMethod {
|
|
2022
2029
|
id: string;
|
|
@@ -2271,6 +2278,7 @@ declare class TransformerManager extends ChildSupervisor<TransformerConfig> {
|
|
|
2271
2278
|
registerConnection(name: string, connection: JsonRpcConnection, intercepts: string[]): void;
|
|
2272
2279
|
deregisterConnection(name: string): void;
|
|
2273
2280
|
resolveChain(names: string[]): TransformerRef[];
|
|
2281
|
+
interestedIn(intercept: string): TransformerRef[];
|
|
2274
2282
|
}
|
|
2275
2283
|
|
|
2276
2284
|
interface StreamGrepLine {
|
|
@@ -2649,6 +2657,7 @@ declare const SessionRecord: z.ZodObject<{
|
|
|
2649
2657
|
raisedAt: number;
|
|
2650
2658
|
payload?: unknown;
|
|
2651
2659
|
}>, "many">>>;
|
|
2660
|
+
extensionState: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
2652
2661
|
createdAt: z.ZodString;
|
|
2653
2662
|
updatedAt: z.ZodString;
|
|
2654
2663
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2735,6 +2744,7 @@ declare const SessionRecord: z.ZodObject<{
|
|
|
2735
2744
|
raisedAt: number;
|
|
2736
2745
|
payload?: unknown;
|
|
2737
2746
|
}[] | undefined;
|
|
2747
|
+
extensionState?: Record<string, Record<string, unknown>> | undefined;
|
|
2738
2748
|
}, {
|
|
2739
2749
|
sessionId: string;
|
|
2740
2750
|
version: 1;
|
|
@@ -2819,6 +2829,7 @@ declare const SessionRecord: z.ZodObject<{
|
|
|
2819
2829
|
raisedAt: number;
|
|
2820
2830
|
payload?: unknown;
|
|
2821
2831
|
}[] | undefined;
|
|
2832
|
+
extensionState?: Record<string, Record<string, unknown>> | undefined;
|
|
2822
2833
|
}>;
|
|
2823
2834
|
type SessionRecord = z.infer<typeof SessionRecord>;
|
|
2824
2835
|
declare class SessionStore {
|
|
@@ -3884,6 +3895,11 @@ declare class SessionManager {
|
|
|
3884
3895
|
private persistAgentChange;
|
|
3885
3896
|
private persistSnapshot;
|
|
3886
3897
|
private mutateRecord;
|
|
3898
|
+
private static readonly EXTENSION_STATE_CAP_BYTES;
|
|
3899
|
+
getExtensionState(sessionId: string, extName: string): Promise<Record<string, unknown>>;
|
|
3900
|
+
getExtensionStateKey(sessionId: string, extName: string, key: string): Promise<unknown>;
|
|
3901
|
+
setExtensionStateKey(sessionId: string, extName: string, key: string, value: unknown): Promise<void>;
|
|
3902
|
+
deleteExtensionStateKey(sessionId: string, extName: string, key: string): Promise<void>;
|
|
3887
3903
|
private enqueueMetaWrite;
|
|
3888
3904
|
closeAll(): Promise<void>;
|
|
3889
3905
|
flushSynopsis(timeoutMs: number): Promise<void>;
|