@getpaseo/protocol 0.1.100 → 0.1.101
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/messages.d.ts +42 -0
- package/dist/messages.js +17 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -826,6 +826,10 @@ export declare const DaemonGetPairingOfferRequestSchema: z.ZodObject<{
|
|
|
826
826
|
type: z.ZodLiteral<"daemon.get_pairing_offer.request">;
|
|
827
827
|
requestId: z.ZodString;
|
|
828
828
|
}, z.core.$strip>;
|
|
829
|
+
export declare const DiagnosticsRequestSchema: z.ZodObject<{
|
|
830
|
+
type: z.ZodLiteral<"diagnostics.request">;
|
|
831
|
+
requestId: z.ZodString;
|
|
832
|
+
}, z.core.$strip>;
|
|
829
833
|
export declare const GetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
830
834
|
type: z.ZodLiteral<"get_daemon_config_request">;
|
|
831
835
|
requestId: z.ZodString;
|
|
@@ -2334,6 +2338,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2334
2338
|
}, z.core.$strip>, z.ZodObject<{
|
|
2335
2339
|
type: z.ZodLiteral<"daemon.get_pairing_offer.request">;
|
|
2336
2340
|
requestId: z.ZodString;
|
|
2341
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2342
|
+
type: z.ZodLiteral<"diagnostics.request">;
|
|
2343
|
+
requestId: z.ZodString;
|
|
2337
2344
|
}, z.core.$strip>, z.ZodObject<{
|
|
2338
2345
|
type: z.ZodLiteral<"get_daemon_config_request">;
|
|
2339
2346
|
requestId: z.ZodString;
|
|
@@ -3609,6 +3616,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3609
3616
|
worktreeRestore: z.ZodOptional<z.ZodBoolean>;
|
|
3610
3617
|
providerUsageList: z.ZodOptional<z.ZodBoolean>;
|
|
3611
3618
|
agentDetach: z.ZodOptional<z.ZodBoolean>;
|
|
3619
|
+
daemonDiagnostics: z.ZodOptional<z.ZodBoolean>;
|
|
3612
3620
|
}, z.core.$strip>>;
|
|
3613
3621
|
}, z.core.$loose>, z.ZodTransform<{
|
|
3614
3622
|
hostname: string | null;
|
|
@@ -3642,6 +3650,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3642
3650
|
worktreeRestore?: boolean | undefined;
|
|
3643
3651
|
providerUsageList?: boolean | undefined;
|
|
3644
3652
|
agentDetach?: boolean | undefined;
|
|
3653
|
+
daemonDiagnostics?: boolean | undefined;
|
|
3645
3654
|
} | undefined;
|
|
3646
3655
|
}, {
|
|
3647
3656
|
[x: string]: unknown;
|
|
@@ -3676,6 +3685,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3676
3685
|
worktreeRestore?: boolean | undefined;
|
|
3677
3686
|
providerUsageList?: boolean | undefined;
|
|
3678
3687
|
agentDetach?: boolean | undefined;
|
|
3688
|
+
daemonDiagnostics?: boolean | undefined;
|
|
3679
3689
|
} | undefined;
|
|
3680
3690
|
}>>;
|
|
3681
3691
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -7889,6 +7899,13 @@ export declare const DaemonGetPairingOfferResponseSchema: z.ZodObject<{
|
|
|
7889
7899
|
relayEnabled: z.ZodBoolean;
|
|
7890
7900
|
}, z.core.$loose>;
|
|
7891
7901
|
}, z.core.$strip>;
|
|
7902
|
+
export declare const DiagnosticsResponseSchema: z.ZodObject<{
|
|
7903
|
+
type: z.ZodLiteral<"diagnostics.response">;
|
|
7904
|
+
payload: z.ZodObject<{
|
|
7905
|
+
requestId: z.ZodString;
|
|
7906
|
+
diagnostic: z.ZodString;
|
|
7907
|
+
}, z.core.$loose>;
|
|
7908
|
+
}, z.core.$strip>;
|
|
7892
7909
|
export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
7893
7910
|
type: z.ZodLiteral<"set_daemon_config_response">;
|
|
7894
7911
|
payload: z.ZodObject<{
|
|
@@ -13074,6 +13091,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13074
13091
|
qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13075
13092
|
relayEnabled: z.ZodBoolean;
|
|
13076
13093
|
}, z.core.$loose>;
|
|
13094
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13095
|
+
type: z.ZodLiteral<"diagnostics.response">;
|
|
13096
|
+
payload: z.ZodObject<{
|
|
13097
|
+
requestId: z.ZodString;
|
|
13098
|
+
diagnostic: z.ZodString;
|
|
13099
|
+
}, z.core.$loose>;
|
|
13077
13100
|
}, z.core.$strip>, z.ZodObject<{
|
|
13078
13101
|
type: z.ZodLiteral<"get_daemon_config_response">;
|
|
13079
13102
|
payload: z.ZodObject<{
|
|
@@ -16121,6 +16144,7 @@ export type ListProviderFeaturesResponseMessage = z.infer<typeof ListProviderFea
|
|
|
16121
16144
|
export type ListAvailableProvidersResponse = z.infer<typeof ListAvailableProvidersResponseSchema>;
|
|
16122
16145
|
export type DaemonGetStatusResponse = z.infer<typeof DaemonGetStatusResponseSchema>;
|
|
16123
16146
|
export type DaemonGetPairingOfferResponse = z.infer<typeof DaemonGetPairingOfferResponseSchema>;
|
|
16147
|
+
export type DiagnosticsResponse = z.infer<typeof DiagnosticsResponseSchema>;
|
|
16124
16148
|
export type GetProvidersSnapshotResponseMessage = z.infer<typeof GetProvidersSnapshotResponseMessageSchema>;
|
|
16125
16149
|
export type ProvidersSnapshotUpdateMessage = z.infer<typeof ProvidersSnapshotUpdateMessageSchema>;
|
|
16126
16150
|
export type RefreshProvidersSnapshotResponseMessage = z.infer<typeof RefreshProvidersSnapshotResponseMessageSchema>;
|
|
@@ -16588,6 +16612,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16588
16612
|
}, z.core.$strip>, z.ZodObject<{
|
|
16589
16613
|
type: z.ZodLiteral<"daemon.get_pairing_offer.request">;
|
|
16590
16614
|
requestId: z.ZodString;
|
|
16615
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16616
|
+
type: z.ZodLiteral<"diagnostics.request">;
|
|
16617
|
+
requestId: z.ZodString;
|
|
16591
16618
|
}, z.core.$strip>, z.ZodObject<{
|
|
16592
16619
|
type: z.ZodLiteral<"get_daemon_config_request">;
|
|
16593
16620
|
requestId: z.ZodString;
|
|
@@ -20702,6 +20729,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20702
20729
|
qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20703
20730
|
relayEnabled: z.ZodBoolean;
|
|
20704
20731
|
}, z.core.$loose>;
|
|
20732
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20733
|
+
type: z.ZodLiteral<"diagnostics.response">;
|
|
20734
|
+
payload: z.ZodObject<{
|
|
20735
|
+
requestId: z.ZodString;
|
|
20736
|
+
diagnostic: z.ZodString;
|
|
20737
|
+
}, z.core.$loose>;
|
|
20705
20738
|
}, z.core.$strip>, z.ZodObject<{
|
|
20706
20739
|
type: z.ZodLiteral<"get_daemon_config_response">;
|
|
20707
20740
|
payload: z.ZodObject<{
|
|
@@ -23943,6 +23976,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
23943
23976
|
}, z.core.$strip>, z.ZodObject<{
|
|
23944
23977
|
type: z.ZodLiteral<"daemon.get_pairing_offer.request">;
|
|
23945
23978
|
requestId: z.ZodString;
|
|
23979
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23980
|
+
type: z.ZodLiteral<"diagnostics.request">;
|
|
23981
|
+
requestId: z.ZodString;
|
|
23946
23982
|
}, z.core.$strip>, z.ZodObject<{
|
|
23947
23983
|
type: z.ZodLiteral<"get_daemon_config_request">;
|
|
23948
23984
|
requestId: z.ZodString;
|
|
@@ -28059,6 +28095,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
28059
28095
|
qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28060
28096
|
relayEnabled: z.ZodBoolean;
|
|
28061
28097
|
}, z.core.$loose>;
|
|
28098
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28099
|
+
type: z.ZodLiteral<"diagnostics.response">;
|
|
28100
|
+
payload: z.ZodObject<{
|
|
28101
|
+
requestId: z.ZodString;
|
|
28102
|
+
diagnostic: z.ZodString;
|
|
28103
|
+
}, z.core.$loose>;
|
|
28062
28104
|
}, z.core.$strip>, z.ZodObject<{
|
|
28063
28105
|
type: z.ZodLiteral<"get_daemon_config_response">;
|
|
28064
28106
|
payload: z.ZodObject<{
|
package/dist/messages.js
CHANGED
|
@@ -859,6 +859,10 @@ export const DaemonGetPairingOfferRequestSchema = z.object({
|
|
|
859
859
|
type: z.literal("daemon.get_pairing_offer.request"),
|
|
860
860
|
requestId: z.string(),
|
|
861
861
|
});
|
|
862
|
+
export const DiagnosticsRequestSchema = z.object({
|
|
863
|
+
type: z.literal("diagnostics.request"),
|
|
864
|
+
requestId: z.string(),
|
|
865
|
+
});
|
|
862
866
|
export const GetDaemonConfigRequestMessageSchema = z.object({
|
|
863
867
|
type: z.literal("get_daemon_config_request"),
|
|
864
868
|
requestId: z.string(),
|
|
@@ -1696,6 +1700,7 @@ export const SessionInboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
1696
1700
|
WaitForFinishRequestSchema,
|
|
1697
1701
|
DaemonGetStatusRequestSchema,
|
|
1698
1702
|
DaemonGetPairingOfferRequestSchema,
|
|
1703
|
+
DiagnosticsRequestSchema,
|
|
1699
1704
|
GetDaemonConfigRequestMessageSchema,
|
|
1700
1705
|
SetDaemonConfigRequestMessageSchema,
|
|
1701
1706
|
ReadProjectConfigRequestMessageSchema,
|
|
@@ -1970,6 +1975,8 @@ export const ServerInfoStatusPayloadSchema = z
|
|
|
1970
1975
|
providerUsageList: z.boolean().optional(),
|
|
1971
1976
|
// COMPAT(agentDetach): added in v0.1.98, remove gate after 2026-12-19 once daemon floor >= v0.1.98.
|
|
1972
1977
|
agentDetach: z.boolean().optional(),
|
|
1978
|
+
// COMPAT(daemonDiagnostics): added in v0.1.100, remove gate after 2026-12-25 once daemon floor >= v0.1.100.
|
|
1979
|
+
daemonDiagnostics: z.boolean().optional(),
|
|
1973
1980
|
})
|
|
1974
1981
|
.optional(),
|
|
1975
1982
|
})
|
|
@@ -2614,6 +2621,15 @@ export const DaemonGetPairingOfferResponseSchema = z.object({
|
|
|
2614
2621
|
})
|
|
2615
2622
|
.passthrough(),
|
|
2616
2623
|
});
|
|
2624
|
+
export const DiagnosticsResponseSchema = z.object({
|
|
2625
|
+
type: z.literal("diagnostics.response"),
|
|
2626
|
+
payload: z
|
|
2627
|
+
.object({
|
|
2628
|
+
requestId: z.string(),
|
|
2629
|
+
diagnostic: z.string(),
|
|
2630
|
+
})
|
|
2631
|
+
.passthrough(),
|
|
2632
|
+
});
|
|
2617
2633
|
export const SetDaemonConfigResponseMessageSchema = z.object({
|
|
2618
2634
|
type: z.literal("set_daemon_config_response"),
|
|
2619
2635
|
payload: z
|
|
@@ -3592,6 +3608,7 @@ export const SessionOutboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
3592
3608
|
SetVoiceModeResponseMessageSchema,
|
|
3593
3609
|
DaemonGetStatusResponseSchema,
|
|
3594
3610
|
DaemonGetPairingOfferResponseSchema,
|
|
3611
|
+
DiagnosticsResponseSchema,
|
|
3595
3612
|
GetDaemonConfigResponseMessageSchema,
|
|
3596
3613
|
SetDaemonConfigResponseMessageSchema,
|
|
3597
3614
|
ReadProjectConfigResponseMessageSchema,
|