@kya-os/contracts 1.5.3 → 1.5.4-canary.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.
|
@@ -28,6 +28,8 @@ export declare const clearCacheResponseSchema: z.ZodObject<{
|
|
|
28
28
|
had_value: z.ZodBoolean;
|
|
29
29
|
had_old_value: z.ZodBoolean;
|
|
30
30
|
cleared: z.ZodBoolean;
|
|
31
|
+
refreshed_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
refresh_error: z.ZodOptional<z.ZodString>;
|
|
31
33
|
}, "strip", z.ZodTypeAny, {
|
|
32
34
|
agent_did: string;
|
|
33
35
|
message: string;
|
|
@@ -37,6 +39,8 @@ export declare const clearCacheResponseSchema: z.ZodObject<{
|
|
|
37
39
|
had_value: boolean;
|
|
38
40
|
had_old_value: boolean;
|
|
39
41
|
cleared: boolean;
|
|
42
|
+
refreshed_immediately?: boolean | undefined;
|
|
43
|
+
refresh_error?: string | undefined;
|
|
40
44
|
}, {
|
|
41
45
|
agent_did: string;
|
|
42
46
|
message: string;
|
|
@@ -46,4 +50,6 @@ export declare const clearCacheResponseSchema: z.ZodObject<{
|
|
|
46
50
|
had_value: boolean;
|
|
47
51
|
had_old_value: boolean;
|
|
48
52
|
cleared: boolean;
|
|
53
|
+
refreshed_immediately?: boolean | undefined;
|
|
54
|
+
refresh_error?: string | undefined;
|
|
49
55
|
}>;
|
|
@@ -27,4 +27,6 @@ exports.clearCacheResponseSchema = zod_1.z.object({
|
|
|
27
27
|
had_value: zod_1.z.boolean().describe('Whether the cache entry existed before clearing'),
|
|
28
28
|
had_old_value: zod_1.z.boolean().describe('Whether the old cache entry existed before clearing'),
|
|
29
29
|
cleared: zod_1.z.boolean().describe('Whether the cache was successfully cleared'),
|
|
30
|
+
refreshed_immediately: zod_1.z.boolean().optional().describe('Whether cache was immediately refreshed from API after clearing'),
|
|
31
|
+
refresh_error: zod_1.z.string().optional().describe('Error message if immediate refresh failed (non-fatal)'),
|
|
30
32
|
});
|
|
@@ -34,4 +34,8 @@ export interface ClearCacheResponse {
|
|
|
34
34
|
had_old_value: boolean;
|
|
35
35
|
/** Whether the cache was successfully cleared */
|
|
36
36
|
cleared: boolean;
|
|
37
|
+
/** Whether cache was immediately refreshed from API after clearing */
|
|
38
|
+
refreshed_immediately?: boolean;
|
|
39
|
+
/** Error message if immediate refresh failed (non-fatal) */
|
|
40
|
+
refresh_error?: string;
|
|
37
41
|
}
|