@getpaseo/protocol 0.2.5 → 0.3.0-beta.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/binary-frames/terminal.d.ts +4 -0
- package/dist/binary-frames/terminal.js +1 -0
- package/dist/client-capabilities.d.ts +1 -0
- package/dist/client-capabilities.js +4 -0
- package/dist/generated/validation/ws-outbound.aot.js +36589 -35443
- package/dist/messages.d.ts +1441 -14
- package/dist/messages.js +148 -1
- package/dist/provider-snapshot-codec.d.ts +18 -0
- package/dist/provider-snapshot-codec.js +71 -0
- package/dist/terminal-input-mode.d.ts +4 -0
- package/dist/terminal-input-mode.js +35 -6
- package/dist/terminal-key-input.js +15 -6
- package/dist/validation/ws-outbound-schema-metadata.d.ts +266 -3
- package/package.json +1 -1
|
@@ -3,6 +3,10 @@ import { TerminalStateSchema } from "../messages.js";
|
|
|
3
3
|
export declare const TerminalStreamResizeSchema: z.ZodObject<{
|
|
4
4
|
rows: z.ZodNumber;
|
|
5
5
|
cols: z.ZodNumber;
|
|
6
|
+
intent: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
claim: "claim";
|
|
8
|
+
update: "update";
|
|
9
|
+
}>>;
|
|
6
10
|
}, z.core.$strip>;
|
|
7
11
|
export declare const TerminalStreamOpcode: {
|
|
8
12
|
readonly Output: 1;
|
|
@@ -3,6 +3,7 @@ import { TerminalStateSchema } from "../messages.js";
|
|
|
3
3
|
export const TerminalStreamResizeSchema = z.object({
|
|
4
4
|
rows: z.number().int().positive(),
|
|
5
5
|
cols: z.number().int().positive(),
|
|
6
|
+
intent: z.enum(["claim", "update"]).optional(),
|
|
6
7
|
});
|
|
7
8
|
export const TerminalStreamOpcode = {
|
|
8
9
|
Output: 0x01,
|
|
@@ -5,6 +5,7 @@ export declare const CLIENT_CAPS: {
|
|
|
5
5
|
readonly terminalReflowableSnapshot: "terminal_reflowable_snapshot";
|
|
6
6
|
readonly providerSubagents: "provider_subagents";
|
|
7
7
|
readonly projectUpdates: "project_updates";
|
|
8
|
+
readonly compactProviderSnapshots: "compact_provider_snapshots";
|
|
8
9
|
readonly browserHost: "browser_host";
|
|
9
10
|
};
|
|
10
11
|
export type ClientCapability = (typeof CLIENT_CAPS)[keyof typeof CLIENT_CAPS];
|
|
@@ -20,6 +20,10 @@ export const CLIENT_CAPS = {
|
|
|
20
20
|
providerSubagents: "provider_subagents",
|
|
21
21
|
// COMPAT(projectUpdates): added in v0.1.109, remove gate after 2027-01-15.
|
|
22
22
|
projectUpdates: "project_updates",
|
|
23
|
+
// COMPAT(compactProviderSnapshots): added in v0.2.X. Capable clients receive
|
|
24
|
+
// provider catalogs with shared thinking sets and may revalidate by content hash.
|
|
25
|
+
// Remove the legacy snapshot encoding after 2027-02-04.
|
|
26
|
+
compactProviderSnapshots: "compact_provider_snapshots",
|
|
23
27
|
browserHost: "browser_host",
|
|
24
28
|
};
|
|
25
29
|
//# sourceMappingURL=client-capabilities.js.map
|