agent-afk 5.55.1 → 5.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/trace/events.d.ts +8 -0
- package/dist/agent/trace/types.d.ts +1 -1
- package/dist/cli.mjs +204 -204
- package/dist/index.mjs +55 -55
- package/dist/telegram.mjs +113 -113
- package/package.json +1 -1
|
@@ -481,6 +481,8 @@ export declare const SessionPhaseNameSchema: z.ZodEnum<{
|
|
|
481
481
|
loop_end: "loop_end";
|
|
482
482
|
model_ttfb: "model_ttfb";
|
|
483
483
|
rate_limit: "rate_limit";
|
|
484
|
+
usage_limit_pause: "usage_limit_pause";
|
|
485
|
+
usage_limit_resume: "usage_limit_resume";
|
|
484
486
|
}>;
|
|
485
487
|
export declare const SessionPhasePayloadSchema: z.ZodObject<{
|
|
486
488
|
phase: z.ZodEnum<{
|
|
@@ -496,6 +498,8 @@ export declare const SessionPhasePayloadSchema: z.ZodObject<{
|
|
|
496
498
|
loop_end: "loop_end";
|
|
497
499
|
model_ttfb: "model_ttfb";
|
|
498
500
|
rate_limit: "rate_limit";
|
|
501
|
+
usage_limit_pause: "usage_limit_pause";
|
|
502
|
+
usage_limit_resume: "usage_limit_resume";
|
|
499
503
|
}>;
|
|
500
504
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
501
505
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
@@ -817,6 +821,8 @@ export declare const TraceEventInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
817
821
|
loop_end: "loop_end";
|
|
818
822
|
model_ttfb: "model_ttfb";
|
|
819
823
|
rate_limit: "rate_limit";
|
|
824
|
+
usage_limit_pause: "usage_limit_pause";
|
|
825
|
+
usage_limit_resume: "usage_limit_resume";
|
|
820
826
|
}>;
|
|
821
827
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
822
828
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
@@ -1146,6 +1152,8 @@ export declare const TraceEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1146
1152
|
loop_end: "loop_end";
|
|
1147
1153
|
model_ttfb: "model_ttfb";
|
|
1148
1154
|
rate_limit: "rate_limit";
|
|
1155
|
+
usage_limit_pause: "usage_limit_pause";
|
|
1156
|
+
usage_limit_resume: "usage_limit_resume";
|
|
1149
1157
|
}>;
|
|
1150
1158
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1151
1159
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
@@ -201,7 +201,7 @@ export interface BrowserEventPayload {
|
|
|
201
201
|
};
|
|
202
202
|
durationMs: number;
|
|
203
203
|
}
|
|
204
|
-
export type SessionPhaseName = 'bootstrap_start' | 'bootstrap_done' | 'session_init_start' | 'session_init_done' | 'mcp_connect_start' | 'mcp_connect_done' | 'mcp_server_start' | 'mcp_server_done' | 'loop_start' | 'loop_end' | 'model_ttfb' | 'rate_limit';
|
|
204
|
+
export type SessionPhaseName = 'bootstrap_start' | 'bootstrap_done' | 'session_init_start' | 'session_init_done' | 'mcp_connect_start' | 'mcp_connect_done' | 'mcp_server_start' | 'mcp_server_done' | 'loop_start' | 'loop_end' | 'model_ttfb' | 'rate_limit' | 'usage_limit_pause' | 'usage_limit_resume';
|
|
205
205
|
export interface SessionPhasePayload {
|
|
206
206
|
phase: SessionPhaseName;
|
|
207
207
|
durationMs?: number;
|