@caupulican/pi-adaptative 0.80.3 → 0.80.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.80.4] - 2026-06-02
6
+
7
+ ### Added
8
+
9
+ - Added terminal clipboard image paste attachment handling so pasted images are sent as model image inputs instead of temp-file path text.
10
+
5
11
  ## [0.80.3] - 2026-06-02
6
12
 
7
13
  ### Fixed
@@ -6,6 +6,10 @@ import { type ImageContent } from "@earendil-works/pi-ai";
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 UserInputSubmission = {
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
  /**
@@ -45,6 +49,8 @@ export declare class InteractiveMode {
45
49
  private isInitialized;
46
50
  private onInputCallback?;
47
51
  private pendingUserInputs;
52
+ private pendingClipboardImages;
53
+ private clipboardImageCounter;
48
54
  private loadingAnimation;
49
55
  private workingMessage;
50
56
  private workingVisible;
@@ -241,6 +247,9 @@ export declare class InteractiveMode {
241
247
  private showExtensionError;
242
248
  private setupKeyHandlers;
243
249
  private handleClipboardImagePaste;
250
+ private nextClipboardImageLabel;
251
+ private takeClipboardImagesForText;
252
+ private buildUserInputSubmission;
244
253
  private setupEditorSubmitHandler;
245
254
  private subscribeToAgent;
246
255
  private handleEvent;
@@ -262,7 +271,7 @@ export declare class InteractiveMode {
262
271
  */
263
272
  private renderSessionContext;
264
273
  renderInitialMessages(): void;
265
- getUserInput(): Promise<string>;
274
+ getUserInput(): Promise<UserInputSubmission>;
266
275
  private rebuildChatFromMessages;
267
276
  private handleCtrlC;
268
277
  private handleCtrlD;
@@ -412,4 +421,5 @@ export declare class InteractiveMode {
412
421
  private handleCompactCommand;
413
422
  stop(): void;
414
423
  }
424
+ export {};
415
425
  //# sourceMappingURL=interactive-mode.d.ts.map