@selesai/code 0.1.14 → 0.1.15
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.
|
@@ -6,6 +6,10 @@ import { type ImageContent } from "@earendil-works/pi-ai/compat";
|
|
|
6
6
|
import { type AgentSessionRuntime } from "../../core/agent-session-runtime.ts";
|
|
7
7
|
import { SessionManager } from "../../core/session-manager.ts";
|
|
8
8
|
import { type LatestPiRelease } from "../../utils/version-check.ts";
|
|
9
|
+
type PendingUserInput = {
|
|
10
|
+
text: string;
|
|
11
|
+
images?: ImageContent[];
|
|
12
|
+
};
|
|
9
13
|
export declare function formatResumeCommand(sessionManager: SessionManager): string | undefined;
|
|
10
14
|
export declare function isApiKeyLoginProvider(providerId: string, oauthProviderIds: ReadonlySet<string>, builtInProviderIds?: ReadonlySet<string>): boolean;
|
|
11
15
|
/**
|
|
@@ -47,6 +51,7 @@ export declare class InteractiveMode {
|
|
|
47
51
|
private isInitialized;
|
|
48
52
|
private onInputCallback?;
|
|
49
53
|
private pendingUserInputs;
|
|
54
|
+
private pendingInputImages;
|
|
50
55
|
private loadingAnimation;
|
|
51
56
|
private workingMessage;
|
|
52
57
|
private workingVisible;
|
|
@@ -239,6 +244,7 @@ export declare class InteractiveMode {
|
|
|
239
244
|
private showExtensionError;
|
|
240
245
|
private setupKeyHandlers;
|
|
241
246
|
private handleClipboardImagePaste;
|
|
247
|
+
private consumePendingInputImages;
|
|
242
248
|
private setupEditorSubmitHandler;
|
|
243
249
|
private subscribeToAgent;
|
|
244
250
|
private handleEvent;
|
|
@@ -261,7 +267,7 @@ export declare class InteractiveMode {
|
|
|
261
267
|
private renderSessionContext;
|
|
262
268
|
renderInitialMessages(): void;
|
|
263
269
|
private renderProjectTrustWarningIfNeeded;
|
|
264
|
-
getUserInput(): Promise<
|
|
270
|
+
getUserInput(): Promise<PendingUserInput>;
|
|
265
271
|
private rebuildChatFromMessages;
|
|
266
272
|
private handleCtrlC;
|
|
267
273
|
private handleCtrlD;
|
|
@@ -378,4 +384,5 @@ export declare class InteractiveMode {
|
|
|
378
384
|
private handleCompactCommand;
|
|
379
385
|
stop(): void;
|
|
380
386
|
}
|
|
387
|
+
export {};
|
|
381
388
|
//# sourceMappingURL=interactive-mode.d.ts.map
|