dexto 1.6.16 → 1.6.17

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.
@@ -0,0 +1,18 @@
1
+ import { type AgentEventMap } from '@dexto/core';
2
+ import { type TuiAgentBackend } from '@dexto/tui';
3
+ import { createDeployClient } from './commands/deploy/client.js';
4
+ export interface StartCloudChatCliOptions {
5
+ cloudAgentId?: string;
6
+ initialPrompt?: string;
7
+ resume?: string;
8
+ continueMostRecent?: boolean;
9
+ workspaceRoot?: string;
10
+ }
11
+ type DeployClient = ReturnType<typeof createDeployClient>;
12
+ type CloudApprovalDecision = Parameters<DeployClient['submitCloudAgentApproval']>[2];
13
+ type CloudChatBackend = TuiAgentBackend;
14
+ export declare function buildCloudApprovalDecision(approval: AgentEventMap['approval:response']): CloudApprovalDecision | null;
15
+ export declare function createCloudAgentBackend(client: DeployClient, cloudAgentId: string): CloudChatBackend;
16
+ export declare function startCloudChatCli(options: StartCloudChatCliOptions): Promise<void>;
17
+ export {};
18
+ //# sourceMappingURL=cloud-chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-chat.d.ts","sourceRoot":"","sources":["../../src/cli/cloud-chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,aAAa,EASrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGjE,MAAM,WAAW,wBAAwB;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAK1D,KAAK,qBAAqB,GAAG,UAAU,CAAC,YAAY,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AASrF,KAAK,gBAAgB,GAAG,eAAe,CAAC;AAkNxC,wBAAgB,0BAA0B,CACtC,QAAQ,EAAE,aAAa,CAAC,mBAAmB,CAAC,GAC7C,qBAAqB,GAAG,IAAI,CA8B9B;AA4CD,wBAAgB,uBAAuB,CACnC,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,MAAM,GACrB,gBAAgB,CAqhBlB;AAED,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiBxF"}