codebuff 1.0.148 → 1.0.150

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.d.ts CHANGED
@@ -17,25 +17,42 @@ export declare class CLI {
17
17
  private pastedContent;
18
18
  private isPasting;
19
19
  constructor(readyPromise: Promise<[void, ProjectFileContext]>, { git, costMode }: CliOptions);
20
+ private setupSignalHandlers;
21
+ private initReadlineInterface;
22
+ private completer;
23
+ private setPrompt;
24
+ printInitialPrompt(initialInput?: string): Promise<void>;
25
+ printDiff(): Promise<void>;
26
+ private handleLine;
27
+ private handleUserInput;
28
+ /**
29
+ * Checks if the input matches a built-in command.
30
+ * Returns true if the command has been handled.
31
+ */
32
+ private processCommand;
33
+ /**
34
+ * Processes regular user input (non-command) by gathering file changes and scraped content,
35
+ * sending the consolidated user message, and then applying assistant response changes.
36
+ */
37
+ private forwardUserInput;
20
38
  private returnControlToUser;
21
39
  private onWebSocketError;
22
40
  private onWebSocketReconnect;
23
- private detectPasting;
24
- private handleInput;
25
- private setPrompt;
26
- printInitialPrompt(initialInput?: string): Promise<void>;
41
+ private sendUserInputAndAwaitResponse;
27
42
  private handleUndo;
28
43
  private handleRedo;
29
44
  private navigateFileVersion;
30
- private handleStopResponse;
31
- private restoreCursor;
32
- private handleExit;
33
- private handleEscKey;
34
45
  private applyAndDisplayCurrentFileVersion;
35
46
  private startLoadingAnimation;
36
47
  private stopLoadingAnimation;
48
+ private rewriteLine;
49
+ private restoreCursor;
50
+ private handleKeyPress;
51
+ private handleSigint;
52
+ private handleEscKey;
53
+ private handleStopResponse;
54
+ private handleExit;
55
+ private detectPasting;
37
56
  private autoCommitChanges;
38
57
  private handleDiff;
39
- private handleUserInput;
40
- private sendUserInputAndAwaitResponse;
41
58
  }