@av-pi-studio/protocol 0.0.32 → 0.0.34
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/.tsbuildinfo +1 -1
- package/dist/messages.d.ts +939 -7
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +54 -0
- package/dist/messages.js.map +1 -1
- package/dist/provider-manifest.d.ts +8 -0
- package/dist/provider-manifest.d.ts.map +1 -1
- package/dist/provider-manifest.js +3 -0
- package/dist/provider-manifest.js.map +1 -1
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -870,6 +870,18 @@ export declare const agentStreamEventSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
870
870
|
}, {
|
|
871
871
|
kind: "error";
|
|
872
872
|
message?: string | undefined;
|
|
873
|
+
}>, z.ZodObject<{
|
|
874
|
+
kind: z.ZodLiteral<"queue_update">;
|
|
875
|
+
steering: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
876
|
+
followUp: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
877
|
+
}, "strip", z.ZodTypeAny, {
|
|
878
|
+
kind: "queue_update";
|
|
879
|
+
steering?: string[] | undefined;
|
|
880
|
+
followUp?: string[] | undefined;
|
|
881
|
+
}, {
|
|
882
|
+
kind: "queue_update";
|
|
883
|
+
steering?: string[] | undefined;
|
|
884
|
+
followUp?: string[] | undefined;
|
|
873
885
|
}>]>;
|
|
874
886
|
export type AgentStreamEvent = z.infer<typeof agentStreamEventSchema>;
|
|
875
887
|
export declare const agentStreamSchema: z.ZodObject<{
|
|
@@ -1136,6 +1148,18 @@ export declare const agentStreamSchema: z.ZodObject<{
|
|
|
1136
1148
|
}, {
|
|
1137
1149
|
kind: "error";
|
|
1138
1150
|
message?: string | undefined;
|
|
1151
|
+
}>, z.ZodObject<{
|
|
1152
|
+
kind: z.ZodLiteral<"queue_update">;
|
|
1153
|
+
steering: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1154
|
+
followUp: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1155
|
+
}, "strip", z.ZodTypeAny, {
|
|
1156
|
+
kind: "queue_update";
|
|
1157
|
+
steering?: string[] | undefined;
|
|
1158
|
+
followUp?: string[] | undefined;
|
|
1159
|
+
}, {
|
|
1160
|
+
kind: "queue_update";
|
|
1161
|
+
steering?: string[] | undefined;
|
|
1162
|
+
followUp?: string[] | undefined;
|
|
1139
1163
|
}>]>;
|
|
1140
1164
|
}, "strip", z.ZodTypeAny, {
|
|
1141
1165
|
type: "agent_stream";
|
|
@@ -1205,6 +1229,10 @@ export declare const agentStreamSchema: z.ZodObject<{
|
|
|
1205
1229
|
} | {
|
|
1206
1230
|
kind: "error";
|
|
1207
1231
|
message?: string | undefined;
|
|
1232
|
+
} | {
|
|
1233
|
+
kind: "queue_update";
|
|
1234
|
+
steering?: string[] | undefined;
|
|
1235
|
+
followUp?: string[] | undefined;
|
|
1208
1236
|
};
|
|
1209
1237
|
seq?: number | undefined;
|
|
1210
1238
|
timestamp?: string | number | undefined;
|
|
@@ -1276,6 +1304,10 @@ export declare const agentStreamSchema: z.ZodObject<{
|
|
|
1276
1304
|
} | {
|
|
1277
1305
|
kind: "error";
|
|
1278
1306
|
message?: string | undefined;
|
|
1307
|
+
} | {
|
|
1308
|
+
kind: "queue_update";
|
|
1309
|
+
steering?: string[] | undefined;
|
|
1310
|
+
followUp?: string[] | undefined;
|
|
1279
1311
|
};
|
|
1280
1312
|
seq?: number | undefined;
|
|
1281
1313
|
timestamp?: string | number | undefined;
|
|
@@ -1790,6 +1822,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
1790
1822
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1791
1823
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1792
1824
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1825
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
1826
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
1827
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1793
1828
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1794
1829
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
1795
1830
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -1831,6 +1866,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
1831
1866
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1832
1867
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1833
1868
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1869
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
1870
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
1871
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1834
1872
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1835
1873
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
1836
1874
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -1872,6 +1910,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
1872
1910
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1873
1911
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1874
1912
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1913
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
1914
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
1915
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1875
1916
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1876
1917
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1877
1918
|
type: z.ZodLiteral<"agent_session_stats_response">;
|
|
@@ -1917,6 +1958,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
1917
1958
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1918
1959
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1919
1960
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1961
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
1962
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
1963
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1920
1964
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1921
1965
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
1922
1966
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -1958,6 +2002,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
1958
2002
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1959
2003
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1960
2004
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
2005
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
2006
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
2007
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1961
2008
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1962
2009
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
1963
2010
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -1999,6 +2046,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
1999
2046
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
2000
2047
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2001
2048
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
2049
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
2050
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
2051
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2002
2052
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2003
2053
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2004
2054
|
type: z.ZodLiteral<"agent_session_stats_response">;
|
|
@@ -2044,6 +2094,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
2044
2094
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
2045
2095
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2046
2096
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
2097
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
2098
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
2099
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2047
2100
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2048
2101
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2049
2102
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -2085,6 +2138,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
2085
2138
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
2086
2139
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2087
2140
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
2141
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
2142
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
2143
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2088
2144
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2089
2145
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2090
2146
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -2126,6 +2182,9 @@ export declare const agentSessionStatsResponseSchema: z.ZodObject<{
|
|
|
2126
2182
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
2127
2183
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2128
2184
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
2185
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
2186
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
2187
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2129
2188
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2130
2189
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2131
2190
|
export type AgentSessionStatsResponse = z.infer<typeof agentSessionStatsResponseSchema>;
|
|
@@ -2766,6 +2825,140 @@ export declare const agentLastAssistantTextResponseSchema: z.ZodObject<{
|
|
|
2766
2825
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2767
2826
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2768
2827
|
export type AgentLastAssistantTextResponse = z.infer<typeof agentLastAssistantTextResponseSchema>;
|
|
2828
|
+
export declare const steerAgentRequestSchema: z.ZodObject<{
|
|
2829
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
2830
|
+
requestId: z.ZodString;
|
|
2831
|
+
agentId: z.ZodString;
|
|
2832
|
+
message: z.ZodString;
|
|
2833
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2834
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2835
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2836
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2837
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2838
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2839
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2840
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2841
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2842
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2843
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
2844
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2845
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
2846
|
+
requestId: z.ZodString;
|
|
2847
|
+
agentId: z.ZodString;
|
|
2848
|
+
message: z.ZodString;
|
|
2849
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2850
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2851
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2852
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2853
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2854
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2855
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2856
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2859
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2861
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
2862
|
+
requestId: z.ZodString;
|
|
2863
|
+
agentId: z.ZodString;
|
|
2864
|
+
message: z.ZodString;
|
|
2865
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2866
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2869
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2872
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2873
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2874
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2875
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
2876
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2877
|
+
export type SteerAgentRequest = z.infer<typeof steerAgentRequestSchema>;
|
|
2878
|
+
export declare const steerAgentResponseSchema: z.ZodObject<{
|
|
2879
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
2880
|
+
requestId: z.ZodString;
|
|
2881
|
+
agentId: z.ZodString;
|
|
2882
|
+
ok: z.ZodBoolean;
|
|
2883
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2884
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
2885
|
+
requestId: z.ZodString;
|
|
2886
|
+
agentId: z.ZodString;
|
|
2887
|
+
ok: z.ZodBoolean;
|
|
2888
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2889
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
2890
|
+
requestId: z.ZodString;
|
|
2891
|
+
agentId: z.ZodString;
|
|
2892
|
+
ok: z.ZodBoolean;
|
|
2893
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2894
|
+
export type SteerAgentResponse = z.infer<typeof steerAgentResponseSchema>;
|
|
2895
|
+
export declare const followUpAgentRequestSchema: z.ZodObject<{
|
|
2896
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
2897
|
+
requestId: z.ZodString;
|
|
2898
|
+
agentId: z.ZodString;
|
|
2899
|
+
message: z.ZodString;
|
|
2900
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2901
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2902
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2903
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2904
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2905
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2906
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2907
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2908
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2909
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2910
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
2911
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2912
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
2913
|
+
requestId: z.ZodString;
|
|
2914
|
+
agentId: z.ZodString;
|
|
2915
|
+
message: z.ZodString;
|
|
2916
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2917
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2919
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2920
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2921
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2922
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2923
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2924
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2925
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2926
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
2927
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2928
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
2929
|
+
requestId: z.ZodString;
|
|
2930
|
+
agentId: z.ZodString;
|
|
2931
|
+
message: z.ZodString;
|
|
2932
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2933
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2934
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2935
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2936
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2937
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2938
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2939
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2940
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2941
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2942
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
2943
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2944
|
+
export type FollowUpAgentRequest = z.infer<typeof followUpAgentRequestSchema>;
|
|
2945
|
+
export declare const followUpAgentResponseSchema: z.ZodObject<{
|
|
2946
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
2947
|
+
requestId: z.ZodString;
|
|
2948
|
+
agentId: z.ZodString;
|
|
2949
|
+
ok: z.ZodBoolean;
|
|
2950
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2951
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
2952
|
+
requestId: z.ZodString;
|
|
2953
|
+
agentId: z.ZodString;
|
|
2954
|
+
ok: z.ZodBoolean;
|
|
2955
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2956
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
2957
|
+
requestId: z.ZodString;
|
|
2958
|
+
agentId: z.ZodString;
|
|
2959
|
+
ok: z.ZodBoolean;
|
|
2960
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2961
|
+
export type FollowUpAgentResponse = z.infer<typeof followUpAgentResponseSchema>;
|
|
2769
2962
|
export declare const rpcErrorSchema: z.ZodObject<{
|
|
2770
2963
|
type: z.ZodLiteral<"rpc_error">;
|
|
2771
2964
|
requestId: z.ZodString;
|
|
@@ -3317,6 +3510,18 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
3317
3510
|
}, {
|
|
3318
3511
|
kind: "error";
|
|
3319
3512
|
message?: string | undefined;
|
|
3513
|
+
}>, z.ZodObject<{
|
|
3514
|
+
kind: z.ZodLiteral<"queue_update">;
|
|
3515
|
+
steering: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3516
|
+
followUp: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3517
|
+
}, "strip", z.ZodTypeAny, {
|
|
3518
|
+
kind: "queue_update";
|
|
3519
|
+
steering?: string[] | undefined;
|
|
3520
|
+
followUp?: string[] | undefined;
|
|
3521
|
+
}, {
|
|
3522
|
+
kind: "queue_update";
|
|
3523
|
+
steering?: string[] | undefined;
|
|
3524
|
+
followUp?: string[] | undefined;
|
|
3320
3525
|
}>]>;
|
|
3321
3526
|
}, "strip", z.ZodTypeAny, {
|
|
3322
3527
|
type: "agent_stream";
|
|
@@ -3386,6 +3591,10 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
3386
3591
|
} | {
|
|
3387
3592
|
kind: "error";
|
|
3388
3593
|
message?: string | undefined;
|
|
3594
|
+
} | {
|
|
3595
|
+
kind: "queue_update";
|
|
3596
|
+
steering?: string[] | undefined;
|
|
3597
|
+
followUp?: string[] | undefined;
|
|
3389
3598
|
};
|
|
3390
3599
|
seq?: number | undefined;
|
|
3391
3600
|
timestamp?: string | number | undefined;
|
|
@@ -3457,6 +3666,10 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
3457
3666
|
} | {
|
|
3458
3667
|
kind: "error";
|
|
3459
3668
|
message?: string | undefined;
|
|
3669
|
+
} | {
|
|
3670
|
+
kind: "queue_update";
|
|
3671
|
+
steering?: string[] | undefined;
|
|
3672
|
+
followUp?: string[] | undefined;
|
|
3460
3673
|
};
|
|
3461
3674
|
seq?: number | undefined;
|
|
3462
3675
|
timestamp?: string | number | undefined;
|
|
@@ -3903,6 +4116,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
3903
4116
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
3904
4117
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3905
4118
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4119
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4120
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4121
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3906
4122
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3907
4123
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3908
4124
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -3944,6 +4160,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
3944
4160
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
3945
4161
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3946
4162
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4163
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4164
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4165
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3947
4166
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3948
4167
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3949
4168
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -3985,6 +4204,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
3985
4204
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
3986
4205
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3987
4206
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4207
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4208
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4209
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3988
4210
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3989
4211
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3990
4212
|
type: z.ZodLiteral<"agent_session_stats_response">;
|
|
@@ -4030,6 +4252,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
4030
4252
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
4031
4253
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4032
4254
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4255
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4256
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4257
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4033
4258
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4034
4259
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
4035
4260
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -4071,6 +4296,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
4071
4296
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
4072
4297
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4073
4298
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4299
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4300
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4301
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4074
4302
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4075
4303
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
4076
4304
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -4112,6 +4340,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
4112
4340
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
4113
4341
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4114
4342
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4343
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4344
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4345
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4115
4346
|
}, z.ZodTypeAny, "passthrough">>;
|
|
4116
4347
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4117
4348
|
type: z.ZodLiteral<"agent_session_stats_response">;
|
|
@@ -4157,6 +4388,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
4157
4388
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
4158
4389
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4159
4390
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4391
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4392
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4393
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4160
4394
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4161
4395
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
4162
4396
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -4198,6 +4432,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
4198
4432
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
4199
4433
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4200
4434
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4435
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4436
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4437
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4201
4438
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4202
4439
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
4203
4440
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -4239,6 +4476,9 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
4239
4476
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
4240
4477
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4241
4478
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4479
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
4480
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
4481
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4242
4482
|
}, z.ZodTypeAny, "passthrough">>;
|
|
4243
4483
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
4244
4484
|
type: z.ZodLiteral<"agent_compact_request">;
|
|
@@ -4822,6 +5062,132 @@ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
4822
5062
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4823
5063
|
text: z.ZodNullable<z.ZodString>;
|
|
4824
5064
|
}, z.ZodTypeAny, "passthrough">>;
|
|
5065
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
5066
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
5067
|
+
requestId: z.ZodString;
|
|
5068
|
+
agentId: z.ZodString;
|
|
5069
|
+
message: z.ZodString;
|
|
5070
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5071
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5072
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5073
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5074
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5075
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5076
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5077
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5078
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5079
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
5080
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
5081
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5082
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
5083
|
+
requestId: z.ZodString;
|
|
5084
|
+
agentId: z.ZodString;
|
|
5085
|
+
message: z.ZodString;
|
|
5086
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5087
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5088
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5089
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5090
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5091
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5092
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5093
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5094
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5095
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
5096
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
5097
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5098
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
5099
|
+
requestId: z.ZodString;
|
|
5100
|
+
agentId: z.ZodString;
|
|
5101
|
+
message: z.ZodString;
|
|
5102
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5103
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5104
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5105
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5106
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5107
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5108
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5109
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5110
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5111
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
5112
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
5113
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
5114
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
5115
|
+
requestId: z.ZodString;
|
|
5116
|
+
agentId: z.ZodString;
|
|
5117
|
+
ok: z.ZodBoolean;
|
|
5118
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5119
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
5120
|
+
requestId: z.ZodString;
|
|
5121
|
+
agentId: z.ZodString;
|
|
5122
|
+
ok: z.ZodBoolean;
|
|
5123
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5124
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
5125
|
+
requestId: z.ZodString;
|
|
5126
|
+
agentId: z.ZodString;
|
|
5127
|
+
ok: z.ZodBoolean;
|
|
5128
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
5129
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
5130
|
+
requestId: z.ZodString;
|
|
5131
|
+
agentId: z.ZodString;
|
|
5132
|
+
message: z.ZodString;
|
|
5133
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5134
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5135
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5136
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5137
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5138
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5139
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5140
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5141
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5142
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
5143
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
5144
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5145
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
5146
|
+
requestId: z.ZodString;
|
|
5147
|
+
agentId: z.ZodString;
|
|
5148
|
+
message: z.ZodString;
|
|
5149
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5150
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5151
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5152
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5153
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5154
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5155
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5156
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5157
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5158
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
5159
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
5160
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5161
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
5162
|
+
requestId: z.ZodString;
|
|
5163
|
+
agentId: z.ZodString;
|
|
5164
|
+
message: z.ZodString;
|
|
5165
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5166
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5167
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5168
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5169
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5170
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5171
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5172
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
5173
|
+
data: z.ZodOptional<z.ZodString>;
|
|
5174
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
5175
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
5176
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
5177
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
5178
|
+
requestId: z.ZodString;
|
|
5179
|
+
agentId: z.ZodString;
|
|
5180
|
+
ok: z.ZodBoolean;
|
|
5181
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5182
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
5183
|
+
requestId: z.ZodString;
|
|
5184
|
+
agentId: z.ZodString;
|
|
5185
|
+
ok: z.ZodBoolean;
|
|
5186
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5187
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
5188
|
+
requestId: z.ZodString;
|
|
5189
|
+
agentId: z.ZodString;
|
|
5190
|
+
ok: z.ZodBoolean;
|
|
4825
5191
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
4826
5192
|
type: z.ZodLiteral<"rpc_error">;
|
|
4827
5193
|
requestId: z.ZodString;
|
|
@@ -5389,6 +5755,18 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
5389
5755
|
}, {
|
|
5390
5756
|
kind: "error";
|
|
5391
5757
|
message?: string | undefined;
|
|
5758
|
+
}>, z.ZodObject<{
|
|
5759
|
+
kind: z.ZodLiteral<"queue_update">;
|
|
5760
|
+
steering: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5761
|
+
followUp: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5762
|
+
}, "strip", z.ZodTypeAny, {
|
|
5763
|
+
kind: "queue_update";
|
|
5764
|
+
steering?: string[] | undefined;
|
|
5765
|
+
followUp?: string[] | undefined;
|
|
5766
|
+
}, {
|
|
5767
|
+
kind: "queue_update";
|
|
5768
|
+
steering?: string[] | undefined;
|
|
5769
|
+
followUp?: string[] | undefined;
|
|
5392
5770
|
}>]>;
|
|
5393
5771
|
}, "strip", z.ZodTypeAny, {
|
|
5394
5772
|
type: "agent_stream";
|
|
@@ -5458,6 +5836,10 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
5458
5836
|
} | {
|
|
5459
5837
|
kind: "error";
|
|
5460
5838
|
message?: string | undefined;
|
|
5839
|
+
} | {
|
|
5840
|
+
kind: "queue_update";
|
|
5841
|
+
steering?: string[] | undefined;
|
|
5842
|
+
followUp?: string[] | undefined;
|
|
5461
5843
|
};
|
|
5462
5844
|
seq?: number | undefined;
|
|
5463
5845
|
timestamp?: string | number | undefined;
|
|
@@ -5529,6 +5911,10 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
5529
5911
|
} | {
|
|
5530
5912
|
kind: "error";
|
|
5531
5913
|
message?: string | undefined;
|
|
5914
|
+
} | {
|
|
5915
|
+
kind: "queue_update";
|
|
5916
|
+
steering?: string[] | undefined;
|
|
5917
|
+
followUp?: string[] | undefined;
|
|
5532
5918
|
};
|
|
5533
5919
|
seq?: number | undefined;
|
|
5534
5920
|
timestamp?: string | number | undefined;
|
|
@@ -5975,6 +6361,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
5975
6361
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
5976
6362
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5977
6363
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6364
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6365
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6366
|
+
model: z.ZodOptional<z.ZodString>;
|
|
5978
6367
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5979
6368
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
5980
6369
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -6016,6 +6405,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6016
6405
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
6017
6406
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6018
6407
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6408
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6409
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6410
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6019
6411
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6020
6412
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6021
6413
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -6057,6 +6449,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6057
6449
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
6058
6450
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6059
6451
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6452
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6453
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6454
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6060
6455
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6061
6456
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6062
6457
|
type: z.ZodLiteral<"agent_session_stats_response">;
|
|
@@ -6102,6 +6497,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6102
6497
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
6103
6498
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6104
6499
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6500
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6501
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6502
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6105
6503
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6106
6504
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6107
6505
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -6143,6 +6541,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6143
6541
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
6144
6542
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6145
6543
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6544
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6545
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6546
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6146
6547
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6147
6548
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6148
6549
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -6184,6 +6585,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6184
6585
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
6185
6586
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6186
6587
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6588
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6589
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6590
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6187
6591
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6188
6592
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6189
6593
|
type: z.ZodLiteral<"agent_session_stats_response">;
|
|
@@ -6229,6 +6633,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6229
6633
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
6230
6634
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6231
6635
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6636
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6637
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6638
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6232
6639
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6233
6640
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6234
6641
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -6270,6 +6677,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6270
6677
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
6271
6678
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6272
6679
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6680
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6681
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6682
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6273
6683
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6274
6684
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6275
6685
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -6311,6 +6721,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6311
6721
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
6312
6722
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6313
6723
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
6724
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
6725
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
6726
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6314
6727
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6315
6728
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6316
6729
|
type: z.ZodLiteral<"agent_compact_request">;
|
|
@@ -6895,14 +7308,140 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
6895
7308
|
text: z.ZodNullable<z.ZodString>;
|
|
6896
7309
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6897
7310
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6898
|
-
type: z.ZodLiteral<"
|
|
7311
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
6899
7312
|
requestId: z.ZodString;
|
|
6900
|
-
|
|
6901
|
-
message: z.
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
7313
|
+
agentId: z.ZodString;
|
|
7314
|
+
message: z.ZodString;
|
|
7315
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7316
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7317
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7318
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7319
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7320
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7321
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7322
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7323
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7324
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
7325
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
7326
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7327
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
7328
|
+
requestId: z.ZodString;
|
|
7329
|
+
agentId: z.ZodString;
|
|
7330
|
+
message: z.ZodString;
|
|
7331
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7332
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7333
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7334
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7335
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7336
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7337
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7338
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7339
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7340
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
7341
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
7342
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7343
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
7344
|
+
requestId: z.ZodString;
|
|
7345
|
+
agentId: z.ZodString;
|
|
7346
|
+
message: z.ZodString;
|
|
7347
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7348
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7349
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7350
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7351
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7352
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7353
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7354
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7355
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7356
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
7357
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
7358
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7359
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
7360
|
+
requestId: z.ZodString;
|
|
7361
|
+
agentId: z.ZodString;
|
|
7362
|
+
ok: z.ZodBoolean;
|
|
7363
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7364
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
7365
|
+
requestId: z.ZodString;
|
|
7366
|
+
agentId: z.ZodString;
|
|
7367
|
+
ok: z.ZodBoolean;
|
|
7368
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7369
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
7370
|
+
requestId: z.ZodString;
|
|
7371
|
+
agentId: z.ZodString;
|
|
7372
|
+
ok: z.ZodBoolean;
|
|
7373
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7374
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
7375
|
+
requestId: z.ZodString;
|
|
7376
|
+
agentId: z.ZodString;
|
|
7377
|
+
message: z.ZodString;
|
|
7378
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7379
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7380
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7381
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7382
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7383
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7384
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7385
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7386
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7387
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
7388
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
7389
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7390
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
7391
|
+
requestId: z.ZodString;
|
|
7392
|
+
agentId: z.ZodString;
|
|
7393
|
+
message: z.ZodString;
|
|
7394
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7395
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7396
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7397
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7398
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7399
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7400
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7401
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7402
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7403
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
7404
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
7405
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7406
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
7407
|
+
requestId: z.ZodString;
|
|
7408
|
+
agentId: z.ZodString;
|
|
7409
|
+
message: z.ZodString;
|
|
7410
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7411
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7412
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7413
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7414
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7415
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7416
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7417
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
7418
|
+
data: z.ZodOptional<z.ZodString>;
|
|
7419
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
7420
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
7421
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7422
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
7423
|
+
requestId: z.ZodString;
|
|
7424
|
+
agentId: z.ZodString;
|
|
7425
|
+
ok: z.ZodBoolean;
|
|
7426
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7427
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
7428
|
+
requestId: z.ZodString;
|
|
7429
|
+
agentId: z.ZodString;
|
|
7430
|
+
ok: z.ZodBoolean;
|
|
7431
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7432
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
7433
|
+
requestId: z.ZodString;
|
|
7434
|
+
agentId: z.ZodString;
|
|
7435
|
+
ok: z.ZodBoolean;
|
|
7436
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7437
|
+
type: z.ZodLiteral<"rpc_error">;
|
|
7438
|
+
requestId: z.ZodString;
|
|
7439
|
+
code: z.ZodOptional<z.ZodString>;
|
|
7440
|
+
message: z.ZodOptional<z.ZodString>;
|
|
7441
|
+
error: z.ZodOptional<z.ZodString>;
|
|
7442
|
+
}, "strip", z.ZodTypeAny, {
|
|
7443
|
+
type: "rpc_error";
|
|
7444
|
+
requestId: string;
|
|
6906
7445
|
code?: string | undefined;
|
|
6907
7446
|
message?: string | undefined;
|
|
6908
7447
|
error?: string | undefined;
|
|
@@ -7057,6 +7596,10 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7057
7596
|
} | {
|
|
7058
7597
|
kind: "error";
|
|
7059
7598
|
message?: string | undefined;
|
|
7599
|
+
} | {
|
|
7600
|
+
kind: "queue_update";
|
|
7601
|
+
steering?: string[] | undefined;
|
|
7602
|
+
followUp?: string[] | undefined;
|
|
7060
7603
|
};
|
|
7061
7604
|
seq?: number | undefined;
|
|
7062
7605
|
timestamp?: string | number | undefined;
|
|
@@ -7215,6 +7758,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7215
7758
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
7216
7759
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7217
7760
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
7761
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
7762
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
7763
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7218
7764
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7219
7765
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7220
7766
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -7256,6 +7802,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7256
7802
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
7257
7803
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7258
7804
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
7805
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
7806
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
7807
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7259
7808
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7260
7809
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7261
7810
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -7297,6 +7846,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7297
7846
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
7298
7847
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7299
7848
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
7849
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
7850
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
7851
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7300
7852
|
}, z.ZodTypeAny, "passthrough">>;
|
|
7301
7853
|
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
7302
7854
|
type: z.ZodLiteral<"agent_compact_request">;
|
|
@@ -7492,6 +8044,48 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7492
8044
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7493
8045
|
text: z.ZodNullable<z.ZodString>;
|
|
7494
8046
|
}, z.ZodTypeAny, "passthrough">>;
|
|
8047
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
8048
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
8049
|
+
requestId: z.ZodString;
|
|
8050
|
+
agentId: z.ZodString;
|
|
8051
|
+
message: z.ZodString;
|
|
8052
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8053
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8054
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8055
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8056
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8057
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8058
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8059
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8060
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8061
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
8062
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
8063
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
8064
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
8065
|
+
requestId: z.ZodString;
|
|
8066
|
+
agentId: z.ZodString;
|
|
8067
|
+
ok: z.ZodBoolean;
|
|
8068
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
8069
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
8070
|
+
requestId: z.ZodString;
|
|
8071
|
+
agentId: z.ZodString;
|
|
8072
|
+
message: z.ZodString;
|
|
8073
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8074
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8075
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8076
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8077
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8078
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8079
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8080
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8081
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8082
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
8083
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
8084
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
8085
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
8086
|
+
requestId: z.ZodString;
|
|
8087
|
+
agentId: z.ZodString;
|
|
8088
|
+
ok: z.ZodBoolean;
|
|
7495
8089
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
7496
8090
|
type: "rpc_error";
|
|
7497
8091
|
requestId: string;
|
|
@@ -7640,6 +8234,10 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7640
8234
|
} | {
|
|
7641
8235
|
kind: "error";
|
|
7642
8236
|
message?: string | undefined;
|
|
8237
|
+
} | {
|
|
8238
|
+
kind: "queue_update";
|
|
8239
|
+
steering?: string[] | undefined;
|
|
8240
|
+
followUp?: string[] | undefined;
|
|
7643
8241
|
};
|
|
7644
8242
|
seq?: number | undefined;
|
|
7645
8243
|
timestamp?: string | number | undefined;
|
|
@@ -7798,6 +8396,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7798
8396
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
7799
8397
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7800
8398
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
8399
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
8400
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
8401
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7801
8402
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7802
8403
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7803
8404
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -7839,6 +8440,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7839
8440
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
7840
8441
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7841
8442
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
8443
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
8444
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
8445
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7842
8446
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7843
8447
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7844
8448
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -7880,6 +8484,9 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
7880
8484
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
7881
8485
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7882
8486
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
8487
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
8488
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
8489
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7883
8490
|
}, z.ZodTypeAny, "passthrough">>;
|
|
7884
8491
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
7885
8492
|
type: z.ZodLiteral<"agent_compact_request">;
|
|
@@ -8075,6 +8682,48 @@ export declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
8075
8682
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8076
8683
|
text: z.ZodNullable<z.ZodString>;
|
|
8077
8684
|
}, z.ZodTypeAny, "passthrough">>;
|
|
8685
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
8686
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
8687
|
+
requestId: z.ZodString;
|
|
8688
|
+
agentId: z.ZodString;
|
|
8689
|
+
message: z.ZodString;
|
|
8690
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8691
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8692
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8693
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8694
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8695
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8696
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8697
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8698
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8699
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
8700
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
8701
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
8702
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
8703
|
+
requestId: z.ZodString;
|
|
8704
|
+
agentId: z.ZodString;
|
|
8705
|
+
ok: z.ZodBoolean;
|
|
8706
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
8707
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
8708
|
+
requestId: z.ZodString;
|
|
8709
|
+
agentId: z.ZodString;
|
|
8710
|
+
message: z.ZodString;
|
|
8711
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8712
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8713
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8714
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8715
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8716
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8717
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8718
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8719
|
+
data: z.ZodOptional<z.ZodString>;
|
|
8720
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
8721
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
8722
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
8723
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
8724
|
+
requestId: z.ZodString;
|
|
8725
|
+
agentId: z.ZodString;
|
|
8726
|
+
ok: z.ZodBoolean;
|
|
8078
8727
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
8079
8728
|
type: "rpc_error";
|
|
8080
8729
|
requestId: string;
|
|
@@ -8712,6 +9361,18 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
8712
9361
|
}, {
|
|
8713
9362
|
kind: "error";
|
|
8714
9363
|
message?: string | undefined;
|
|
9364
|
+
}>, z.ZodObject<{
|
|
9365
|
+
kind: z.ZodLiteral<"queue_update">;
|
|
9366
|
+
steering: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9367
|
+
followUp: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9368
|
+
}, "strip", z.ZodTypeAny, {
|
|
9369
|
+
kind: "queue_update";
|
|
9370
|
+
steering?: string[] | undefined;
|
|
9371
|
+
followUp?: string[] | undefined;
|
|
9372
|
+
}, {
|
|
9373
|
+
kind: "queue_update";
|
|
9374
|
+
steering?: string[] | undefined;
|
|
9375
|
+
followUp?: string[] | undefined;
|
|
8715
9376
|
}>]>;
|
|
8716
9377
|
}, "strip", z.ZodTypeAny, {
|
|
8717
9378
|
type: "agent_stream";
|
|
@@ -8781,6 +9442,10 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
8781
9442
|
} | {
|
|
8782
9443
|
kind: "error";
|
|
8783
9444
|
message?: string | undefined;
|
|
9445
|
+
} | {
|
|
9446
|
+
kind: "queue_update";
|
|
9447
|
+
steering?: string[] | undefined;
|
|
9448
|
+
followUp?: string[] | undefined;
|
|
8784
9449
|
};
|
|
8785
9450
|
seq?: number | undefined;
|
|
8786
9451
|
timestamp?: string | number | undefined;
|
|
@@ -8852,6 +9517,10 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
8852
9517
|
} | {
|
|
8853
9518
|
kind: "error";
|
|
8854
9519
|
message?: string | undefined;
|
|
9520
|
+
} | {
|
|
9521
|
+
kind: "queue_update";
|
|
9522
|
+
steering?: string[] | undefined;
|
|
9523
|
+
followUp?: string[] | undefined;
|
|
8855
9524
|
};
|
|
8856
9525
|
seq?: number | undefined;
|
|
8857
9526
|
timestamp?: string | number | undefined;
|
|
@@ -9298,6 +9967,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9298
9967
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9299
9968
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9300
9969
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
9970
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
9971
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
9972
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9301
9973
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9302
9974
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9303
9975
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -9339,6 +10011,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9339
10011
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9340
10012
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9341
10013
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10014
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
10015
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
10016
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9342
10017
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9343
10018
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9344
10019
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -9380,6 +10055,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9380
10055
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9381
10056
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9382
10057
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10058
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
10059
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
10060
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9383
10061
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9384
10062
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9385
10063
|
type: z.ZodLiteral<"agent_session_stats_response">;
|
|
@@ -9425,6 +10103,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9425
10103
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9426
10104
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9427
10105
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10106
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
10107
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
10108
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9428
10109
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9429
10110
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9430
10111
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -9466,6 +10147,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9466
10147
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9467
10148
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9468
10149
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10150
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
10151
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
10152
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9469
10153
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9470
10154
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9471
10155
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -9507,6 +10191,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9507
10191
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9508
10192
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9509
10193
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10194
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
10195
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
10196
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9510
10197
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9511
10198
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9512
10199
|
type: z.ZodLiteral<"agent_session_stats_response">;
|
|
@@ -9552,6 +10239,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9552
10239
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9553
10240
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9554
10241
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10242
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
10243
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
10244
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9555
10245
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9556
10246
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9557
10247
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -9593,6 +10283,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9593
10283
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9594
10284
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9595
10285
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10286
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
10287
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
10288
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9596
10289
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9597
10290
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9598
10291
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -9634,6 +10327,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
9634
10327
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
9635
10328
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9636
10329
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10330
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
10331
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
10332
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9637
10333
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9638
10334
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
9639
10335
|
type: z.ZodLiteral<"agent_compact_request">;
|
|
@@ -10217,6 +10913,132 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
10217
10913
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10218
10914
|
text: z.ZodNullable<z.ZodString>;
|
|
10219
10915
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10916
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
10917
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
10918
|
+
requestId: z.ZodString;
|
|
10919
|
+
agentId: z.ZodString;
|
|
10920
|
+
message: z.ZodString;
|
|
10921
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10922
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10923
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10924
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10925
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10926
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10927
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10928
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10929
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10930
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
10931
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
10932
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10933
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
10934
|
+
requestId: z.ZodString;
|
|
10935
|
+
agentId: z.ZodString;
|
|
10936
|
+
message: z.ZodString;
|
|
10937
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10938
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10939
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10940
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10941
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10942
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10943
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10944
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10945
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10946
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
10947
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
10948
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10949
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
10950
|
+
requestId: z.ZodString;
|
|
10951
|
+
agentId: z.ZodString;
|
|
10952
|
+
message: z.ZodString;
|
|
10953
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10954
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10955
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10956
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10957
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10958
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10959
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10960
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10961
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10962
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
10963
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
10964
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
10965
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
10966
|
+
requestId: z.ZodString;
|
|
10967
|
+
agentId: z.ZodString;
|
|
10968
|
+
ok: z.ZodBoolean;
|
|
10969
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10970
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
10971
|
+
requestId: z.ZodString;
|
|
10972
|
+
agentId: z.ZodString;
|
|
10973
|
+
ok: z.ZodBoolean;
|
|
10974
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10975
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
10976
|
+
requestId: z.ZodString;
|
|
10977
|
+
agentId: z.ZodString;
|
|
10978
|
+
ok: z.ZodBoolean;
|
|
10979
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
10980
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
10981
|
+
requestId: z.ZodString;
|
|
10982
|
+
agentId: z.ZodString;
|
|
10983
|
+
message: z.ZodString;
|
|
10984
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10985
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10986
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10987
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10988
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10989
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10990
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10991
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
10992
|
+
data: z.ZodOptional<z.ZodString>;
|
|
10993
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
10994
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
10995
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10996
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
10997
|
+
requestId: z.ZodString;
|
|
10998
|
+
agentId: z.ZodString;
|
|
10999
|
+
message: z.ZodString;
|
|
11000
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11001
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11002
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11003
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11004
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11005
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11006
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11007
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11008
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11009
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11010
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
11011
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11012
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
11013
|
+
requestId: z.ZodString;
|
|
11014
|
+
agentId: z.ZodString;
|
|
11015
|
+
message: z.ZodString;
|
|
11016
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11017
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11018
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11019
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11020
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11021
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11022
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11023
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11024
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11025
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11026
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
11027
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
11028
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
11029
|
+
requestId: z.ZodString;
|
|
11030
|
+
agentId: z.ZodString;
|
|
11031
|
+
ok: z.ZodBoolean;
|
|
11032
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11033
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
11034
|
+
requestId: z.ZodString;
|
|
11035
|
+
agentId: z.ZodString;
|
|
11036
|
+
ok: z.ZodBoolean;
|
|
11037
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11038
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
11039
|
+
requestId: z.ZodString;
|
|
11040
|
+
agentId: z.ZodString;
|
|
11041
|
+
ok: z.ZodBoolean;
|
|
10220
11042
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
10221
11043
|
type: z.ZodLiteral<"rpc_error">;
|
|
10222
11044
|
requestId: z.ZodString;
|
|
@@ -10380,6 +11202,10 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
10380
11202
|
} | {
|
|
10381
11203
|
kind: "error";
|
|
10382
11204
|
message?: string | undefined;
|
|
11205
|
+
} | {
|
|
11206
|
+
kind: "queue_update";
|
|
11207
|
+
steering?: string[] | undefined;
|
|
11208
|
+
followUp?: string[] | undefined;
|
|
10383
11209
|
};
|
|
10384
11210
|
seq?: number | undefined;
|
|
10385
11211
|
timestamp?: string | number | undefined;
|
|
@@ -10538,6 +11364,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
10538
11364
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
10539
11365
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10540
11366
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
11367
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
11368
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
11369
|
+
model: z.ZodOptional<z.ZodString>;
|
|
10541
11370
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10542
11371
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
10543
11372
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -10579,6 +11408,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
10579
11408
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
10580
11409
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10581
11410
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
11411
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
11412
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
11413
|
+
model: z.ZodOptional<z.ZodString>;
|
|
10582
11414
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10583
11415
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
10584
11416
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -10620,6 +11452,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
10620
11452
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
10621
11453
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10622
11454
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
11455
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
11456
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
11457
|
+
model: z.ZodOptional<z.ZodString>;
|
|
10623
11458
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10624
11459
|
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
10625
11460
|
type: z.ZodLiteral<"agent_compact_request">;
|
|
@@ -10815,6 +11650,48 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
10815
11650
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10816
11651
|
text: z.ZodNullable<z.ZodString>;
|
|
10817
11652
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11653
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
11654
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
11655
|
+
requestId: z.ZodString;
|
|
11656
|
+
agentId: z.ZodString;
|
|
11657
|
+
message: z.ZodString;
|
|
11658
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11659
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11660
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11661
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11662
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11663
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11664
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11665
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11666
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11667
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11668
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
11669
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
11670
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
11671
|
+
requestId: z.ZodString;
|
|
11672
|
+
agentId: z.ZodString;
|
|
11673
|
+
ok: z.ZodBoolean;
|
|
11674
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
11675
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
11676
|
+
requestId: z.ZodString;
|
|
11677
|
+
agentId: z.ZodString;
|
|
11678
|
+
message: z.ZodString;
|
|
11679
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11680
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11681
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11682
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11683
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11684
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11685
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11686
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
11687
|
+
data: z.ZodOptional<z.ZodString>;
|
|
11688
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11689
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
11690
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
11691
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
11692
|
+
requestId: z.ZodString;
|
|
11693
|
+
agentId: z.ZodString;
|
|
11694
|
+
ok: z.ZodBoolean;
|
|
10818
11695
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
10819
11696
|
type: "rpc_error";
|
|
10820
11697
|
requestId: string;
|
|
@@ -10963,6 +11840,10 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
10963
11840
|
} | {
|
|
10964
11841
|
kind: "error";
|
|
10965
11842
|
message?: string | undefined;
|
|
11843
|
+
} | {
|
|
11844
|
+
kind: "queue_update";
|
|
11845
|
+
steering?: string[] | undefined;
|
|
11846
|
+
followUp?: string[] | undefined;
|
|
10966
11847
|
};
|
|
10967
11848
|
seq?: number | undefined;
|
|
10968
11849
|
timestamp?: string | number | undefined;
|
|
@@ -11121,6 +12002,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
11121
12002
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
11122
12003
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11123
12004
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
12005
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
12006
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
12007
|
+
model: z.ZodOptional<z.ZodString>;
|
|
11124
12008
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11125
12009
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
11126
12010
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -11162,6 +12046,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
11162
12046
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
11163
12047
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11164
12048
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
12049
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
12050
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
12051
|
+
model: z.ZodOptional<z.ZodString>;
|
|
11165
12052
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11166
12053
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
11167
12054
|
sessionFile: z.ZodOptional<z.ZodString>;
|
|
@@ -11203,6 +12090,9 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
11203
12090
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
11204
12091
|
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11205
12092
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
12093
|
+
/** Current model id (sprint-042: poll-authoritative source for the web-client status
|
|
12094
|
+
* bar's model segment; back-filled server-side when the provider's own stats omit it). */
|
|
12095
|
+
model: z.ZodOptional<z.ZodString>;
|
|
11206
12096
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11207
12097
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
11208
12098
|
type: z.ZodLiteral<"agent_compact_request">;
|
|
@@ -11398,6 +12288,48 @@ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
11398
12288
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11399
12289
|
text: z.ZodNullable<z.ZodString>;
|
|
11400
12290
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12291
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
12292
|
+
type: z.ZodLiteral<"steer_agent_request">;
|
|
12293
|
+
requestId: z.ZodString;
|
|
12294
|
+
agentId: z.ZodString;
|
|
12295
|
+
message: z.ZodString;
|
|
12296
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12297
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
12298
|
+
data: z.ZodOptional<z.ZodString>;
|
|
12299
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12300
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
12301
|
+
data: z.ZodOptional<z.ZodString>;
|
|
12302
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12303
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
12304
|
+
data: z.ZodOptional<z.ZodString>;
|
|
12305
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
12306
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
12307
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
12308
|
+
type: z.ZodLiteral<"steer_agent_response">;
|
|
12309
|
+
requestId: z.ZodString;
|
|
12310
|
+
agentId: z.ZodString;
|
|
12311
|
+
ok: z.ZodBoolean;
|
|
12312
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
12313
|
+
type: z.ZodLiteral<"follow_up_agent_request">;
|
|
12314
|
+
requestId: z.ZodString;
|
|
12315
|
+
agentId: z.ZodString;
|
|
12316
|
+
message: z.ZodString;
|
|
12317
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12318
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
12319
|
+
data: z.ZodOptional<z.ZodString>;
|
|
12320
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12321
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
12322
|
+
data: z.ZodOptional<z.ZodString>;
|
|
12323
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12324
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
12325
|
+
data: z.ZodOptional<z.ZodString>;
|
|
12326
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
12327
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
12328
|
+
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
12329
|
+
type: z.ZodLiteral<"follow_up_agent_response">;
|
|
12330
|
+
requestId: z.ZodString;
|
|
12331
|
+
agentId: z.ZodString;
|
|
12332
|
+
ok: z.ZodBoolean;
|
|
11401
12333
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
11402
12334
|
type: "rpc_error";
|
|
11403
12335
|
requestId: string;
|