@junctionpanel/server 0.1.38 → 0.1.39
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/server/client/daemon-client.d.ts +13 -1
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +19 -0
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/daemon-log-tail.d.ts +23 -0
- package/dist/server/server/daemon-log-tail.d.ts.map +1 -0
- package/dist/server/server/daemon-log-tail.js +52 -0
- package/dist/server/server/daemon-log-tail.js.map +1 -0
- package/dist/server/server/session.d.ts +1 -0
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +37 -0
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/shared/messages.d.ts +284 -0
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +18 -0
- package/dist/server/shared/messages.js.map +1 -1
- package/package.json +2 -2
|
@@ -2062,6 +2062,19 @@ export declare const GetDaemonProviderSettingsRequestSchema: z.ZodObject<{
|
|
|
2062
2062
|
type: "get_daemon_provider_settings_request";
|
|
2063
2063
|
requestId: string;
|
|
2064
2064
|
}>;
|
|
2065
|
+
export declare const GetDaemonLogTailRequestSchema: z.ZodObject<{
|
|
2066
|
+
type: z.ZodLiteral<"get_daemon_log_tail_request">;
|
|
2067
|
+
lines: z.ZodOptional<z.ZodNumber>;
|
|
2068
|
+
requestId: z.ZodString;
|
|
2069
|
+
}, "strip", z.ZodTypeAny, {
|
|
2070
|
+
type: "get_daemon_log_tail_request";
|
|
2071
|
+
requestId: string;
|
|
2072
|
+
lines?: number | undefined;
|
|
2073
|
+
}, {
|
|
2074
|
+
type: "get_daemon_log_tail_request";
|
|
2075
|
+
requestId: string;
|
|
2076
|
+
lines?: number | undefined;
|
|
2077
|
+
}>;
|
|
2065
2078
|
export declare const UpdateDaemonProviderSettingsRequestSchema: z.ZodObject<{
|
|
2066
2079
|
type: z.ZodLiteral<"update_daemon_provider_settings_request">;
|
|
2067
2080
|
provider: z.ZodEnum<["claude", "codex", "gemini"]>;
|
|
@@ -3822,6 +3835,18 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3822
3835
|
}, {
|
|
3823
3836
|
type: "get_daemon_provider_settings_request";
|
|
3824
3837
|
requestId: string;
|
|
3838
|
+
}>, z.ZodObject<{
|
|
3839
|
+
type: z.ZodLiteral<"get_daemon_log_tail_request">;
|
|
3840
|
+
lines: z.ZodOptional<z.ZodNumber>;
|
|
3841
|
+
requestId: z.ZodString;
|
|
3842
|
+
}, "strip", z.ZodTypeAny, {
|
|
3843
|
+
type: "get_daemon_log_tail_request";
|
|
3844
|
+
requestId: string;
|
|
3845
|
+
lines?: number | undefined;
|
|
3846
|
+
}, {
|
|
3847
|
+
type: "get_daemon_log_tail_request";
|
|
3848
|
+
requestId: string;
|
|
3849
|
+
lines?: number | undefined;
|
|
3825
3850
|
}>, z.ZodObject<{
|
|
3826
3851
|
type: z.ZodLiteral<"update_daemon_provider_settings_request">;
|
|
3827
3852
|
provider: z.ZodEnum<["claude", "codex", "gemini"]>;
|
|
@@ -11132,6 +11157,51 @@ export declare const GetDaemonProviderSettingsResponseSchema: z.ZodObject<{
|
|
|
11132
11157
|
};
|
|
11133
11158
|
};
|
|
11134
11159
|
}>;
|
|
11160
|
+
export declare const GetDaemonLogTailResponseSchema: z.ZodObject<{
|
|
11161
|
+
type: z.ZodLiteral<"get_daemon_log_tail_response">;
|
|
11162
|
+
payload: z.ZodObject<{
|
|
11163
|
+
logPath: z.ZodNullable<z.ZodString>;
|
|
11164
|
+
content: z.ZodString;
|
|
11165
|
+
truncated: z.ZodBoolean;
|
|
11166
|
+
lineCount: z.ZodNumber;
|
|
11167
|
+
error: z.ZodNullable<z.ZodString>;
|
|
11168
|
+
requestId: z.ZodString;
|
|
11169
|
+
}, "strip", z.ZodTypeAny, {
|
|
11170
|
+
error: string | null;
|
|
11171
|
+
content: string;
|
|
11172
|
+
truncated: boolean;
|
|
11173
|
+
requestId: string;
|
|
11174
|
+
logPath: string | null;
|
|
11175
|
+
lineCount: number;
|
|
11176
|
+
}, {
|
|
11177
|
+
error: string | null;
|
|
11178
|
+
content: string;
|
|
11179
|
+
truncated: boolean;
|
|
11180
|
+
requestId: string;
|
|
11181
|
+
logPath: string | null;
|
|
11182
|
+
lineCount: number;
|
|
11183
|
+
}>;
|
|
11184
|
+
}, "strip", z.ZodTypeAny, {
|
|
11185
|
+
type: "get_daemon_log_tail_response";
|
|
11186
|
+
payload: {
|
|
11187
|
+
error: string | null;
|
|
11188
|
+
content: string;
|
|
11189
|
+
truncated: boolean;
|
|
11190
|
+
requestId: string;
|
|
11191
|
+
logPath: string | null;
|
|
11192
|
+
lineCount: number;
|
|
11193
|
+
};
|
|
11194
|
+
}, {
|
|
11195
|
+
type: "get_daemon_log_tail_response";
|
|
11196
|
+
payload: {
|
|
11197
|
+
error: string | null;
|
|
11198
|
+
content: string;
|
|
11199
|
+
truncated: boolean;
|
|
11200
|
+
requestId: string;
|
|
11201
|
+
logPath: string | null;
|
|
11202
|
+
lineCount: number;
|
|
11203
|
+
};
|
|
11204
|
+
}>;
|
|
11135
11205
|
export declare const UpdateDaemonProviderSettingsResponseSchema: z.ZodObject<{
|
|
11136
11206
|
type: z.ZodLiteral<"update_daemon_provider_settings_response">;
|
|
11137
11207
|
payload: z.ZodObject<{
|
|
@@ -18106,6 +18176,50 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
18106
18176
|
rootDir: string;
|
|
18107
18177
|
};
|
|
18108
18178
|
};
|
|
18179
|
+
}>, z.ZodObject<{
|
|
18180
|
+
type: z.ZodLiteral<"get_daemon_log_tail_response">;
|
|
18181
|
+
payload: z.ZodObject<{
|
|
18182
|
+
logPath: z.ZodNullable<z.ZodString>;
|
|
18183
|
+
content: z.ZodString;
|
|
18184
|
+
truncated: z.ZodBoolean;
|
|
18185
|
+
lineCount: z.ZodNumber;
|
|
18186
|
+
error: z.ZodNullable<z.ZodString>;
|
|
18187
|
+
requestId: z.ZodString;
|
|
18188
|
+
}, "strip", z.ZodTypeAny, {
|
|
18189
|
+
error: string | null;
|
|
18190
|
+
content: string;
|
|
18191
|
+
truncated: boolean;
|
|
18192
|
+
requestId: string;
|
|
18193
|
+
logPath: string | null;
|
|
18194
|
+
lineCount: number;
|
|
18195
|
+
}, {
|
|
18196
|
+
error: string | null;
|
|
18197
|
+
content: string;
|
|
18198
|
+
truncated: boolean;
|
|
18199
|
+
requestId: string;
|
|
18200
|
+
logPath: string | null;
|
|
18201
|
+
lineCount: number;
|
|
18202
|
+
}>;
|
|
18203
|
+
}, "strip", z.ZodTypeAny, {
|
|
18204
|
+
type: "get_daemon_log_tail_response";
|
|
18205
|
+
payload: {
|
|
18206
|
+
error: string | null;
|
|
18207
|
+
content: string;
|
|
18208
|
+
truncated: boolean;
|
|
18209
|
+
requestId: string;
|
|
18210
|
+
logPath: string | null;
|
|
18211
|
+
lineCount: number;
|
|
18212
|
+
};
|
|
18213
|
+
}, {
|
|
18214
|
+
type: "get_daemon_log_tail_response";
|
|
18215
|
+
payload: {
|
|
18216
|
+
error: string | null;
|
|
18217
|
+
content: string;
|
|
18218
|
+
truncated: boolean;
|
|
18219
|
+
requestId: string;
|
|
18220
|
+
logPath: string | null;
|
|
18221
|
+
lineCount: number;
|
|
18222
|
+
};
|
|
18109
18223
|
}>, z.ZodObject<{
|
|
18110
18224
|
type: z.ZodLiteral<"update_daemon_provider_settings_response">;
|
|
18111
18225
|
payload: z.ZodObject<{
|
|
@@ -19175,6 +19289,8 @@ export type ListProviderModelsResponseMessage = z.infer<typeof ListProviderModel
|
|
|
19175
19289
|
export type ListAvailableProvidersResponse = z.infer<typeof ListAvailableProvidersResponseSchema>;
|
|
19176
19290
|
export type RunDaemonDoctorResponse = z.infer<typeof RunDaemonDoctorResponseSchema>;
|
|
19177
19291
|
export type GetDaemonProviderSettingsResponse = z.infer<typeof GetDaemonProviderSettingsResponseSchema>;
|
|
19292
|
+
export type GetDaemonLogTailRequest = z.infer<typeof GetDaemonLogTailRequestSchema>;
|
|
19293
|
+
export type GetDaemonLogTailResponse = z.infer<typeof GetDaemonLogTailResponseSchema>;
|
|
19178
19294
|
export type UpdateDaemonProviderSettingsResponse = z.infer<typeof UpdateDaemonProviderSettingsResponseSchema>;
|
|
19179
19295
|
export type AutoRouteProviderResponse = z.infer<typeof AutoRouteProviderResponseSchema>;
|
|
19180
19296
|
export type UpdateNotificationRelayConfigResponse = z.infer<typeof UpdateNotificationRelayConfigResponseSchema>;
|
|
@@ -20850,6 +20966,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
20850
20966
|
}, {
|
|
20851
20967
|
type: "get_daemon_provider_settings_request";
|
|
20852
20968
|
requestId: string;
|
|
20969
|
+
}>, z.ZodObject<{
|
|
20970
|
+
type: z.ZodLiteral<"get_daemon_log_tail_request">;
|
|
20971
|
+
lines: z.ZodOptional<z.ZodNumber>;
|
|
20972
|
+
requestId: z.ZodString;
|
|
20973
|
+
}, "strip", z.ZodTypeAny, {
|
|
20974
|
+
type: "get_daemon_log_tail_request";
|
|
20975
|
+
requestId: string;
|
|
20976
|
+
lines?: number | undefined;
|
|
20977
|
+
}, {
|
|
20978
|
+
type: "get_daemon_log_tail_request";
|
|
20979
|
+
requestId: string;
|
|
20980
|
+
lines?: number | undefined;
|
|
20853
20981
|
}>, z.ZodObject<{
|
|
20854
20982
|
type: z.ZodLiteral<"update_daemon_provider_settings_request">;
|
|
20855
20983
|
provider: z.ZodEnum<["claude", "codex", "gemini"]>;
|
|
@@ -21484,6 +21612,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21484
21612
|
} | {
|
|
21485
21613
|
type: "get_daemon_provider_settings_request";
|
|
21486
21614
|
requestId: string;
|
|
21615
|
+
} | {
|
|
21616
|
+
type: "get_daemon_log_tail_request";
|
|
21617
|
+
requestId: string;
|
|
21618
|
+
lines?: number | undefined;
|
|
21487
21619
|
} | {
|
|
21488
21620
|
provider: "codex" | "claude" | "gemini";
|
|
21489
21621
|
type: "update_daemon_provider_settings_request";
|
|
@@ -21955,6 +22087,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21955
22087
|
} | {
|
|
21956
22088
|
type: "get_daemon_provider_settings_request";
|
|
21957
22089
|
requestId: string;
|
|
22090
|
+
} | {
|
|
22091
|
+
type: "get_daemon_log_tail_request";
|
|
22092
|
+
requestId: string;
|
|
22093
|
+
lines?: number | undefined;
|
|
21958
22094
|
} | {
|
|
21959
22095
|
provider: "codex" | "claude" | "gemini";
|
|
21960
22096
|
type: "update_daemon_provider_settings_request";
|
|
@@ -27953,6 +28089,50 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27953
28089
|
rootDir: string;
|
|
27954
28090
|
};
|
|
27955
28091
|
};
|
|
28092
|
+
}>, z.ZodObject<{
|
|
28093
|
+
type: z.ZodLiteral<"get_daemon_log_tail_response">;
|
|
28094
|
+
payload: z.ZodObject<{
|
|
28095
|
+
logPath: z.ZodNullable<z.ZodString>;
|
|
28096
|
+
content: z.ZodString;
|
|
28097
|
+
truncated: z.ZodBoolean;
|
|
28098
|
+
lineCount: z.ZodNumber;
|
|
28099
|
+
error: z.ZodNullable<z.ZodString>;
|
|
28100
|
+
requestId: z.ZodString;
|
|
28101
|
+
}, "strip", z.ZodTypeAny, {
|
|
28102
|
+
error: string | null;
|
|
28103
|
+
content: string;
|
|
28104
|
+
truncated: boolean;
|
|
28105
|
+
requestId: string;
|
|
28106
|
+
logPath: string | null;
|
|
28107
|
+
lineCount: number;
|
|
28108
|
+
}, {
|
|
28109
|
+
error: string | null;
|
|
28110
|
+
content: string;
|
|
28111
|
+
truncated: boolean;
|
|
28112
|
+
requestId: string;
|
|
28113
|
+
logPath: string | null;
|
|
28114
|
+
lineCount: number;
|
|
28115
|
+
}>;
|
|
28116
|
+
}, "strip", z.ZodTypeAny, {
|
|
28117
|
+
type: "get_daemon_log_tail_response";
|
|
28118
|
+
payload: {
|
|
28119
|
+
error: string | null;
|
|
28120
|
+
content: string;
|
|
28121
|
+
truncated: boolean;
|
|
28122
|
+
requestId: string;
|
|
28123
|
+
logPath: string | null;
|
|
28124
|
+
lineCount: number;
|
|
28125
|
+
};
|
|
28126
|
+
}, {
|
|
28127
|
+
type: "get_daemon_log_tail_response";
|
|
28128
|
+
payload: {
|
|
28129
|
+
error: string | null;
|
|
28130
|
+
content: string;
|
|
28131
|
+
truncated: boolean;
|
|
28132
|
+
requestId: string;
|
|
28133
|
+
logPath: string | null;
|
|
28134
|
+
lineCount: number;
|
|
28135
|
+
};
|
|
27956
28136
|
}>, z.ZodObject<{
|
|
27957
28137
|
type: z.ZodLiteral<"update_daemon_provider_settings_response">;
|
|
27958
28138
|
payload: z.ZodObject<{
|
|
@@ -29971,6 +30151,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
29971
30151
|
rootDir: string;
|
|
29972
30152
|
};
|
|
29973
30153
|
};
|
|
30154
|
+
} | {
|
|
30155
|
+
type: "get_daemon_log_tail_response";
|
|
30156
|
+
payload: {
|
|
30157
|
+
error: string | null;
|
|
30158
|
+
content: string;
|
|
30159
|
+
truncated: boolean;
|
|
30160
|
+
requestId: string;
|
|
30161
|
+
logPath: string | null;
|
|
30162
|
+
lineCount: number;
|
|
30163
|
+
};
|
|
29974
30164
|
} | {
|
|
29975
30165
|
type: "update_daemon_provider_settings_response";
|
|
29976
30166
|
payload: {
|
|
@@ -31124,6 +31314,16 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
31124
31314
|
rootDir: string;
|
|
31125
31315
|
};
|
|
31126
31316
|
};
|
|
31317
|
+
} | {
|
|
31318
|
+
type: "get_daemon_log_tail_response";
|
|
31319
|
+
payload: {
|
|
31320
|
+
error: string | null;
|
|
31321
|
+
content: string;
|
|
31322
|
+
truncated: boolean;
|
|
31323
|
+
requestId: string;
|
|
31324
|
+
logPath: string | null;
|
|
31325
|
+
lineCount: number;
|
|
31326
|
+
};
|
|
31127
31327
|
} | {
|
|
31128
31328
|
type: "update_daemon_provider_settings_response";
|
|
31129
31329
|
payload: {
|
|
@@ -32842,6 +33042,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
32842
33042
|
}, {
|
|
32843
33043
|
type: "get_daemon_provider_settings_request";
|
|
32844
33044
|
requestId: string;
|
|
33045
|
+
}>, z.ZodObject<{
|
|
33046
|
+
type: z.ZodLiteral<"get_daemon_log_tail_request">;
|
|
33047
|
+
lines: z.ZodOptional<z.ZodNumber>;
|
|
33048
|
+
requestId: z.ZodString;
|
|
33049
|
+
}, "strip", z.ZodTypeAny, {
|
|
33050
|
+
type: "get_daemon_log_tail_request";
|
|
33051
|
+
requestId: string;
|
|
33052
|
+
lines?: number | undefined;
|
|
33053
|
+
}, {
|
|
33054
|
+
type: "get_daemon_log_tail_request";
|
|
33055
|
+
requestId: string;
|
|
33056
|
+
lines?: number | undefined;
|
|
32845
33057
|
}>, z.ZodObject<{
|
|
32846
33058
|
type: z.ZodLiteral<"update_daemon_provider_settings_request">;
|
|
32847
33059
|
provider: z.ZodEnum<["claude", "codex", "gemini"]>;
|
|
@@ -33476,6 +33688,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
33476
33688
|
} | {
|
|
33477
33689
|
type: "get_daemon_provider_settings_request";
|
|
33478
33690
|
requestId: string;
|
|
33691
|
+
} | {
|
|
33692
|
+
type: "get_daemon_log_tail_request";
|
|
33693
|
+
requestId: string;
|
|
33694
|
+
lines?: number | undefined;
|
|
33479
33695
|
} | {
|
|
33480
33696
|
provider: "codex" | "claude" | "gemini";
|
|
33481
33697
|
type: "update_daemon_provider_settings_request";
|
|
@@ -33947,6 +34163,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
33947
34163
|
} | {
|
|
33948
34164
|
type: "get_daemon_provider_settings_request";
|
|
33949
34165
|
requestId: string;
|
|
34166
|
+
} | {
|
|
34167
|
+
type: "get_daemon_log_tail_request";
|
|
34168
|
+
requestId: string;
|
|
34169
|
+
lines?: number | undefined;
|
|
33950
34170
|
} | {
|
|
33951
34171
|
provider: "codex" | "claude" | "gemini";
|
|
33952
34172
|
type: "update_daemon_provider_settings_request";
|
|
@@ -39972,6 +40192,50 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
39972
40192
|
rootDir: string;
|
|
39973
40193
|
};
|
|
39974
40194
|
};
|
|
40195
|
+
}>, z.ZodObject<{
|
|
40196
|
+
type: z.ZodLiteral<"get_daemon_log_tail_response">;
|
|
40197
|
+
payload: z.ZodObject<{
|
|
40198
|
+
logPath: z.ZodNullable<z.ZodString>;
|
|
40199
|
+
content: z.ZodString;
|
|
40200
|
+
truncated: z.ZodBoolean;
|
|
40201
|
+
lineCount: z.ZodNumber;
|
|
40202
|
+
error: z.ZodNullable<z.ZodString>;
|
|
40203
|
+
requestId: z.ZodString;
|
|
40204
|
+
}, "strip", z.ZodTypeAny, {
|
|
40205
|
+
error: string | null;
|
|
40206
|
+
content: string;
|
|
40207
|
+
truncated: boolean;
|
|
40208
|
+
requestId: string;
|
|
40209
|
+
logPath: string | null;
|
|
40210
|
+
lineCount: number;
|
|
40211
|
+
}, {
|
|
40212
|
+
error: string | null;
|
|
40213
|
+
content: string;
|
|
40214
|
+
truncated: boolean;
|
|
40215
|
+
requestId: string;
|
|
40216
|
+
logPath: string | null;
|
|
40217
|
+
lineCount: number;
|
|
40218
|
+
}>;
|
|
40219
|
+
}, "strip", z.ZodTypeAny, {
|
|
40220
|
+
type: "get_daemon_log_tail_response";
|
|
40221
|
+
payload: {
|
|
40222
|
+
error: string | null;
|
|
40223
|
+
content: string;
|
|
40224
|
+
truncated: boolean;
|
|
40225
|
+
requestId: string;
|
|
40226
|
+
logPath: string | null;
|
|
40227
|
+
lineCount: number;
|
|
40228
|
+
};
|
|
40229
|
+
}, {
|
|
40230
|
+
type: "get_daemon_log_tail_response";
|
|
40231
|
+
payload: {
|
|
40232
|
+
error: string | null;
|
|
40233
|
+
content: string;
|
|
40234
|
+
truncated: boolean;
|
|
40235
|
+
requestId: string;
|
|
40236
|
+
logPath: string | null;
|
|
40237
|
+
lineCount: number;
|
|
40238
|
+
};
|
|
39975
40239
|
}>, z.ZodObject<{
|
|
39976
40240
|
type: z.ZodLiteral<"update_daemon_provider_settings_response">;
|
|
39977
40241
|
payload: z.ZodObject<{
|
|
@@ -41990,6 +42254,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
41990
42254
|
rootDir: string;
|
|
41991
42255
|
};
|
|
41992
42256
|
};
|
|
42257
|
+
} | {
|
|
42258
|
+
type: "get_daemon_log_tail_response";
|
|
42259
|
+
payload: {
|
|
42260
|
+
error: string | null;
|
|
42261
|
+
content: string;
|
|
42262
|
+
truncated: boolean;
|
|
42263
|
+
requestId: string;
|
|
42264
|
+
logPath: string | null;
|
|
42265
|
+
lineCount: number;
|
|
42266
|
+
};
|
|
41993
42267
|
} | {
|
|
41994
42268
|
type: "update_daemon_provider_settings_response";
|
|
41995
42269
|
payload: {
|
|
@@ -43143,6 +43417,16 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
43143
43417
|
rootDir: string;
|
|
43144
43418
|
};
|
|
43145
43419
|
};
|
|
43420
|
+
} | {
|
|
43421
|
+
type: "get_daemon_log_tail_response";
|
|
43422
|
+
payload: {
|
|
43423
|
+
error: string | null;
|
|
43424
|
+
content: string;
|
|
43425
|
+
truncated: boolean;
|
|
43426
|
+
requestId: string;
|
|
43427
|
+
logPath: string | null;
|
|
43428
|
+
lineCount: number;
|
|
43429
|
+
};
|
|
43146
43430
|
} | {
|
|
43147
43431
|
type: "update_daemon_provider_settings_response";
|
|
43148
43432
|
payload: {
|