remote-pi-app 0.7.1 → 0.7.2

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,7 +6,7 @@ export type QueuedMessageItem = {
6
6
  editable: boolean;
7
7
  created_at: number;
8
8
  };
9
- export type ExtensionUiMethod = "select" | "confirm" | "input" | "editor" | "notify";
9
+ export type ExtensionUiMethod = "select" | "confirm" | "input" | "editor" | "notify" | "setStatus" | "setWidget" | "setTitle" | "set_editor_text";
10
10
  export type AskQuestionWireType = "single" | "multi" | "preview";
11
11
  export interface AskOptionWire {
12
12
  value: string;
@@ -104,6 +104,29 @@ export type ExtensionUiRequestWire = {
104
104
  method: "notify";
105
105
  message: string;
106
106
  notify_type?: "info" | "warning" | "error";
107
+ } | {
108
+ type: "extension_ui_request";
109
+ id: string;
110
+ method: "setStatus";
111
+ status_key: string;
112
+ status_text?: string;
113
+ } | {
114
+ type: "extension_ui_request";
115
+ id: string;
116
+ method: "setWidget";
117
+ widget_key: string;
118
+ widget_lines?: string[];
119
+ widget_placement?: "aboveEditor" | "belowEditor";
120
+ } | {
121
+ type: "extension_ui_request";
122
+ id: string;
123
+ method: "setTitle";
124
+ title: string;
125
+ } | {
126
+ type: "extension_ui_request";
127
+ id: string;
128
+ method: "set_editor_text";
129
+ text: string;
107
130
  };
108
131
  /** ClientMessage: response to an extension_ui_request. Mirrors
109
132
  * RpcExtensionUIResponse (value / confirmed / cancelled). The `ask` envelope
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remote-pi-app",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Mobile remote control and local agent mesh for the Pi coding agent. Pair your phone via QR over a relay, watch tool calls in real time, run multi-Pi sessions over a local Unix Domain Socket broker, and let agents talk to each other through structured request/reply.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",