@camerontaylor/paseo-protocol 0.12.0-beta.1.fork.1 → 0.13.0-fork.1
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/addresses.d.ts +6 -0
- package/dist/addresses.js +2 -0
- package/dist/agent-labels.d.ts +4 -0
- package/dist/agent-labels.js +17 -0
- package/dist/agent-message.d.ts +1 -0
- package/dist/agent-message.js +1 -0
- package/dist/binary-frames/demux.d.ts +4 -0
- package/dist/binary-frames/demux.js +5 -0
- package/dist/binary-frames/host-route.d.ts +12 -0
- package/dist/binary-frames/host-route.js +36 -0
- package/dist/binary-frames/index.d.ts +1 -0
- package/dist/binary-frames/index.js +1 -0
- package/dist/browser-automation/capabilities.d.ts +1 -1
- package/dist/browser-automation/rpc-schemas.d.ts +1 -1
- package/dist/client-capabilities.d.ts +1 -0
- package/dist/client-capabilities.js +1 -0
- package/dist/connection-offer.d.ts +2 -0
- package/dist/connection-offer.js +3 -0
- package/dist/daemon-endpoints.js +8 -0
- package/dist/generated/validation/ws-outbound-schema-metadata.d.ts +858 -341
- package/dist/generated/validation/ws-outbound-schema-metadata.js +10 -0
- package/dist/generated/validation/ws-outbound.aot.d.ts +20 -0
- package/dist/generated/validation/ws-outbound.aot.js +117355 -115207
- package/dist/host-target.d.ts +18 -0
- package/dist/host-target.js +118 -0
- package/dist/hosts.d.ts +303 -0
- package/dist/hosts.js +117 -0
- package/dist/messages.d.ts +2698 -540
- package/dist/messages.js +83 -9
- package/dist/paseo-tool-call-detail.d.ts +1 -14
- package/dist/paseo-tool-call-detail.js +2 -306
- 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 +312 -0
- package/dist/paseo-tool-presentation/catalog.js +316 -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/plugin-registry.d.ts +21 -0
- package/dist/plugin-registry.js +11 -1
- package/dist/provider-icon-names.js +3 -0
- package/dist/schedule/rpc-schemas.d.ts +4 -4
- package/dist/schedule/types.d.ts +1 -1
- package/dist/tool-call-display.d.ts +2 -0
- package/dist/tool-call-display.js +15 -11
- package/dist/validation/ws-outbound-envelope.d.ts +587 -100
- package/package.json +5 -1
- package/dist/agent-message-display.d.ts +0 -8
- package/dist/agent-message-display.js +0 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camerontaylor/paseo-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-fork.1",
|
|
4
4
|
"description": "Paseo shared protocol schemas and wire types",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"./*": {
|
|
13
13
|
"types": "./dist/*.d.ts",
|
|
14
14
|
"default": "./dist/*.js"
|
|
15
|
+
},
|
|
16
|
+
"./addresses": {
|
|
17
|
+
"types": "./dist/addresses.d.ts",
|
|
18
|
+
"default": "./dist/addresses.js"
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
21
|
"publishConfig": {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { AgentMessage } from "./agent-message.js";
|
|
2
|
-
import type { ToolCallDetail } from "./agent-types.js";
|
|
3
|
-
/** Presentation shared by clients; never used to encode provider prompts. */
|
|
4
|
-
export declare function buildAgentMessageDisplay(message: AgentMessage): {
|
|
5
|
-
displayName: string;
|
|
6
|
-
detail: ToolCallDetail;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=agent-message-display.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/** Presentation shared by clients; never used to encode provider prompts. */
|
|
2
|
-
export function buildAgentMessageDisplay(message) {
|
|
3
|
-
const sender = message.sender.title ?? message.sender.id;
|
|
4
|
-
const headings = {
|
|
5
|
-
message: `Message from ${sender}`,
|
|
6
|
-
finished: `${sender} finished`,
|
|
7
|
-
errored: `${sender} errored`,
|
|
8
|
-
"permission-required": `${sender} needs permission`,
|
|
9
|
-
closed: `${sender} closed`,
|
|
10
|
-
};
|
|
11
|
-
return {
|
|
12
|
-
displayName: headings[message.event],
|
|
13
|
-
detail: {
|
|
14
|
-
type: "plain_text",
|
|
15
|
-
icon: "bot",
|
|
16
|
-
text: `From agent: ${message.sender.id}\n\n${message.text}`,
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=agent-message-display.js.map
|