@yinaoxiong/paseo-plugin 0.18.2-personal.1 → 0.18.2-personal.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.
- package/build-info.json +6 -6
- package/dist/client/contracts.d.ts +7 -0
- package/package.json +3 -3
package/build-info.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"upstreamVersion": "0.18.2",
|
|
4
|
-
"revision":
|
|
5
|
-
"version": "0.18.2-personal.
|
|
4
|
+
"revision": 2,
|
|
5
|
+
"version": "0.18.2-personal.2",
|
|
6
6
|
"appVersion": "0.18.2",
|
|
7
|
-
"androidVersionCode":
|
|
8
|
-
"iosBuildNumber": "
|
|
9
|
-
"sourceSha": "
|
|
7
|
+
"androidVersionCode": 18002002,
|
|
8
|
+
"iosBuildNumber": "18002002",
|
|
9
|
+
"sourceSha": "96a72e49e867e89043fe70bbac4afe6921d1f477",
|
|
10
10
|
"lockSha256": "8bcf4983ccfa57cfa444ec7ecbad301c8fef0fcc2c495df5176758cf1e2f2faa",
|
|
11
11
|
"nodeVersion": "v24.21.0",
|
|
12
12
|
"npmVersion": "11.19.0",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"arch": "x64",
|
|
15
15
|
"signature": "unsigned",
|
|
16
16
|
"packageName": "@yinaoxiong/paseo-plugin",
|
|
17
|
-
"desktopVersion": "0.18.2+personal.
|
|
17
|
+
"desktopVersion": "0.18.2+personal.2"
|
|
18
18
|
}
|
|
@@ -194,6 +194,8 @@ interface PluginClientContextAliases {
|
|
|
194
194
|
}
|
|
195
195
|
export interface PluginClientContext extends PluginCommandCapabilities, PluginClientContextAliases {
|
|
196
196
|
readonly i18n: import("./translations.js").PluginI18n;
|
|
197
|
+
/** In-memory plugin state retained across transport replacement for an unchanged bundle. */
|
|
198
|
+
readonly transientState?: Map<string, unknown>;
|
|
197
199
|
/** Play a base64-encoded audio file on this client; resolves when playback ends. */
|
|
198
200
|
playAudio(source: {
|
|
199
201
|
base64: string;
|
|
@@ -235,9 +237,12 @@ export type PluginWorkspacePanelContribution<Text extends PluginText = string> =
|
|
|
235
237
|
/** @deprecated Register with `addAgentPanel`. */
|
|
236
238
|
context: "agent";
|
|
237
239
|
Component: ComponentType<PluginAgentPanelProps>;
|
|
240
|
+
onClose?(agentId: string): boolean | Promise<boolean>;
|
|
238
241
|
});
|
|
239
242
|
export interface PluginAgentPanelContribution<Text extends PluginText = string> extends PluginWorkspacePanelBase<Text> {
|
|
240
243
|
Component: ComponentType<PluginAgentPanelProps>;
|
|
244
|
+
/** Called when the user closes this panel. Return false to keep the tab. */
|
|
245
|
+
onClose?(agentId: string): boolean | Promise<boolean>;
|
|
241
246
|
}
|
|
242
247
|
export interface PluginSettingsScreenContribution<Text extends PluginText = string> {
|
|
243
248
|
id: string;
|
|
@@ -343,6 +348,8 @@ export type PluginClientSlashCommandContribution<Text extends PluginText = strin
|
|
|
343
348
|
}): void | Promise<void>;
|
|
344
349
|
}) | (PluginClientSlashCommandBase<Text> & {
|
|
345
350
|
context: "agent";
|
|
351
|
+
/** Restrict the command to agents with this provider id. */
|
|
352
|
+
provider?: string;
|
|
346
353
|
onSubmit(context: PluginAgentCommandContext & {
|
|
347
354
|
args: string;
|
|
348
355
|
}): void | Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yinaoxiong/paseo-plugin",
|
|
3
|
-
"version": "0.18.2-personal.
|
|
3
|
+
"version": "0.18.2-personal.2",
|
|
4
4
|
"description": "Paseo plugin SDK package",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"@agentclientprotocol/sdk": "1.4.0",
|
|
76
76
|
"i18next": "26.3.0",
|
|
77
77
|
"use-sync-external-store": "1.6.0",
|
|
78
|
-
"@getpaseo/client": "npm:@yinaoxiong/paseo-client@0.18.2-personal.
|
|
79
|
-
"@getpaseo/protocol": "npm:@yinaoxiong/paseo-protocol@0.18.2-personal.
|
|
78
|
+
"@getpaseo/client": "npm:@yinaoxiong/paseo-client@0.18.2-personal.2",
|
|
79
|
+
"@getpaseo/protocol": "npm:@yinaoxiong/paseo-protocol@0.18.2-personal.2"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"react": ">=19.1.0 <20",
|