@yinaoxiong/paseo-protocol 0.11.4-personal.3 → 0.12.0-personal.3
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 +8 -8
- package/dist/agent-message.d.ts +18 -0
- package/dist/agent-message.js +11 -0
- package/dist/agent-types.d.ts +2 -0
- package/dist/browser-automation/rpc-schemas.d.ts +3 -3
- package/dist/generated/validation/ws-outbound-schema-metadata.d.ts +13211 -0
- package/dist/generated/validation/ws-outbound-schema-metadata.js +231 -0
- package/dist/generated/validation/ws-outbound.aot.d.ts +457 -1
- package/dist/generated/validation/ws-outbound.aot.js +93225 -82835
- package/dist/messages.d.ts +723 -24
- package/dist/messages.js +47 -7
- package/dist/paseo-tool-call-detail.d.ts +1 -14
- package/dist/paseo-tool-call-detail.js +2 -304
- package/dist/paseo-tool-presentation/agent-message.d.ts +10 -0
- package/dist/paseo-tool-presentation/agent-message.js +22 -0
- package/dist/paseo-tool-presentation/catalog.d.ts +309 -0
- package/dist/paseo-tool-presentation/catalog.js +315 -0
- package/dist/paseo-tool-presentation/detail-sections.d.ts +15 -0
- package/dist/paseo-tool-presentation/detail-sections.js +161 -0
- package/dist/paseo-tool-presentation/index.d.ts +22 -0
- package/dist/paseo-tool-presentation/index.js +62 -0
- package/dist/paseo-tool-presentation/summary-text.d.ts +7 -0
- package/dist/paseo-tool-presentation/summary-text.js +22 -0
- package/dist/provider-icon-names.js +3 -0
- package/dist/terminal-snapshot.js +6 -0
- package/dist/tool-call-display.d.ts +3 -1
- package/dist/tool-call-display.js +16 -8
- package/dist/validation/ws-outbound-envelope.d.ts +12530 -0
- package/dist/validation/ws-outbound-envelope.js +17 -0
- package/dist/validation/ws-outbound.d.ts +3 -3
- package/dist/validation/ws-outbound.js +34 -4
- package/dist/websocket-message-limit.d.ts +5 -0
- package/dist/websocket-message-limit.js +5 -0
- package/package.json +1 -1
- package/dist/validation/ws-outbound-schema-metadata.d.ts +0 -12392
- package/dist/validation/ws-outbound-schema-metadata.js +0 -3
package/build-info.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"upstreamVersion": "0.
|
|
3
|
+
"upstreamVersion": "0.12.0",
|
|
4
4
|
"revision": 3,
|
|
5
|
-
"version": "0.
|
|
6
|
-
"appVersion": "0.
|
|
7
|
-
"androidVersionCode":
|
|
8
|
-
"iosBuildNumber": "
|
|
9
|
-
"sourceSha": "
|
|
10
|
-
"lockSha256": "
|
|
5
|
+
"version": "0.12.0-personal.3",
|
|
6
|
+
"appVersion": "0.12.0",
|
|
7
|
+
"androidVersionCode": 12000003,
|
|
8
|
+
"iosBuildNumber": "12000999",
|
|
9
|
+
"sourceSha": "265cd0d737785927d12dcf4823ba589b7d915181",
|
|
10
|
+
"lockSha256": "8c06c8f63d1daa401ae65ad10b40bed66d7ee5247e65b38a0e30fc67f36b7417",
|
|
11
11
|
"nodeVersion": "v24.21.0",
|
|
12
12
|
"npmVersion": "11.19.0",
|
|
13
13
|
"platform": "linux",
|
|
14
14
|
"arch": "x64",
|
|
15
15
|
"signature": "unsigned",
|
|
16
16
|
"packageName": "@yinaoxiong/paseo-protocol",
|
|
17
|
-
"desktopVersion": "0.
|
|
17
|
+
"desktopVersion": "0.12.0+personal.3"
|
|
18
18
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Semantic provenance, independent of provider envelopes and timeline presentation. */
|
|
3
|
+
export declare const AgentMessageSchema: z.ZodObject<{
|
|
4
|
+
event: z.ZodEnum<{
|
|
5
|
+
finished: "finished";
|
|
6
|
+
closed: "closed";
|
|
7
|
+
message: "message";
|
|
8
|
+
errored: "errored";
|
|
9
|
+
"permission-required": "permission-required";
|
|
10
|
+
}>;
|
|
11
|
+
sender: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
title: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
text: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type AgentMessage = z.infer<typeof AgentMessageSchema>;
|
|
18
|
+
//# sourceMappingURL=agent-message.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Semantic provenance, independent of provider envelopes and timeline presentation. */
|
|
3
|
+
export const AgentMessageSchema = z.object({
|
|
4
|
+
event: z.enum(["message", "finished", "errored", "permission-required", "closed"]),
|
|
5
|
+
sender: z.object({
|
|
6
|
+
id: z.string().min(1),
|
|
7
|
+
title: z.string().min(1).optional(),
|
|
8
|
+
}),
|
|
9
|
+
text: z.string(),
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=agent-message.js.map
|
package/dist/agent-types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AgentMessage } from "./agent-message.js";
|
|
1
2
|
import type { AgentAttachment } from "./messages.js";
|
|
2
3
|
export type AgentProvider = string;
|
|
3
4
|
export interface AgentMetadata {
|
|
@@ -258,6 +259,7 @@ export type ToolCallDetail = {
|
|
|
258
259
|
output: unknown;
|
|
259
260
|
};
|
|
260
261
|
interface ToolCallBase {
|
|
262
|
+
agentMessage?: AgentMessage;
|
|
261
263
|
[key: string]: unknown;
|
|
262
264
|
type: "tool_call";
|
|
263
265
|
callId: string;
|
|
@@ -423,8 +423,8 @@ export declare const BrowserAutomationWaitResultSchema: z.ZodObject<{
|
|
|
423
423
|
command: z.ZodLiteral<"wait">;
|
|
424
424
|
browserId: z.ZodString;
|
|
425
425
|
matched: z.ZodEnum<{
|
|
426
|
-
url: "url";
|
|
427
426
|
text: "text";
|
|
427
|
+
url: "url";
|
|
428
428
|
}>;
|
|
429
429
|
}, z.core.$strip>;
|
|
430
430
|
export declare const BrowserAutomationTypeResultSchema: z.ZodObject<{
|
|
@@ -604,8 +604,8 @@ export declare const BrowserAutomationResultSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
604
604
|
command: z.ZodLiteral<"wait">;
|
|
605
605
|
browserId: z.ZodString;
|
|
606
606
|
matched: z.ZodEnum<{
|
|
607
|
-
url: "url";
|
|
608
607
|
text: "text";
|
|
608
|
+
url: "url";
|
|
609
609
|
}>;
|
|
610
610
|
}, z.core.$strip>, z.ZodObject<{
|
|
611
611
|
command: z.ZodLiteral<"type">;
|
|
@@ -946,8 +946,8 @@ export declare const BrowserAutomationExecuteResponseSchema: z.ZodObject<{
|
|
|
946
946
|
command: z.ZodLiteral<"wait">;
|
|
947
947
|
browserId: z.ZodString;
|
|
948
948
|
matched: z.ZodEnum<{
|
|
949
|
-
url: "url";
|
|
950
949
|
text: "text";
|
|
950
|
+
url: "url";
|
|
951
951
|
}>;
|
|
952
952
|
}, z.core.$strip>, z.ZodObject<{
|
|
953
953
|
command: z.ZodLiteral<"type">;
|