@peasant-labs/schema 0.15.0 → 0.16.0
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/index.d.ts +13 -0
- package/dist/index.js +422 -1
- package/dist/internal/generated/content-capabilities.gen.d.ts +2 -0
- package/dist/internal/generated/content-capabilities.gen.js +3 -1
- package/dist/internal/generated/contract/zod.gen.d.ts +865 -390
- package/dist/internal/generated/contract/zod.gen.js +159 -58
- package/dist/internal/generated/enums.gen.d.ts +55 -7
- package/dist/internal/generated/enums.gen.js +54 -1
- package/dist/internal/generated/local-api.d.ts +53 -0
- package/dist/internal/generated/public-contract.gen.d.ts +2 -2
- package/dist/internal/generated/public-contract.gen.js +1 -1
- package/dist/internal/generated/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/package.json +1 -1
|
@@ -627,6 +627,7 @@ export declare const zHarness: z.ZodEnum<{
|
|
|
627
627
|
codex: "codex";
|
|
628
628
|
opencode: "opencode";
|
|
629
629
|
antigravity: "antigravity";
|
|
630
|
+
pi: "pi";
|
|
630
631
|
}>;
|
|
631
632
|
export type Harness = z.infer<typeof zHarness>;
|
|
632
633
|
export declare const zHealthResponse: z.ZodObject<{
|
|
@@ -785,6 +786,7 @@ export declare const zAuthoritativeModelInfo: z.ZodObject<{
|
|
|
785
786
|
codex: "codex";
|
|
786
787
|
opencode: "opencode";
|
|
787
788
|
antigravity: "antigravity";
|
|
789
|
+
pi: "pi";
|
|
788
790
|
}>;
|
|
789
791
|
hostSlug: z.ZodOptional<z.ZodString>;
|
|
790
792
|
model: z.ZodString;
|
|
@@ -800,12 +802,97 @@ export declare const zModelInfo: z.ZodObject<{
|
|
|
800
802
|
codex: "codex";
|
|
801
803
|
opencode: "opencode";
|
|
802
804
|
antigravity: "antigravity";
|
|
805
|
+
pi: "pi";
|
|
803
806
|
}>;
|
|
804
807
|
hostSlug: z.ZodOptional<z.ZodString>;
|
|
805
808
|
model: z.ZodString;
|
|
806
809
|
version: z.ZodOptional<z.ZodString>;
|
|
807
810
|
}, z.core.$strip>;
|
|
808
811
|
export type ModelInfo = z.infer<typeof zModelInfo>;
|
|
812
|
+
export declare const zNativeAttachmentRef: z.ZodObject<{
|
|
813
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
814
|
+
turnIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
815
|
+
}, z.core.$strip>;
|
|
816
|
+
export type NativeAttachmentRef = z.infer<typeof zNativeAttachmentRef>;
|
|
817
|
+
/**
|
|
818
|
+
* Native Metadata Kind
|
|
819
|
+
*
|
|
820
|
+
* Kind of bounded non-conversational native metadata
|
|
821
|
+
*/
|
|
822
|
+
export declare const zNativeMetadataKind: z.ZodEnum<{
|
|
823
|
+
"pi.custom.data": "pi.custom.data";
|
|
824
|
+
"pi.custommessage.details": "pi.custommessage.details";
|
|
825
|
+
"pi.toolresult.details": "pi.toolresult.details";
|
|
826
|
+
"pi.compaction.details": "pi.compaction.details";
|
|
827
|
+
"pi.branchsummary.details": "pi.branchsummary.details";
|
|
828
|
+
}>;
|
|
829
|
+
export type NativeMetadataKind = z.infer<typeof zNativeMetadataKind>;
|
|
830
|
+
/**
|
|
831
|
+
* Native Metadata Source Type
|
|
832
|
+
*
|
|
833
|
+
* Native source category for public metadata
|
|
834
|
+
*/
|
|
835
|
+
export declare const zNativeMetadataSourceType: z.ZodEnum<{
|
|
836
|
+
"pi.custom": "pi.custom";
|
|
837
|
+
"pi.custom_message": "pi.custom_message";
|
|
838
|
+
"pi.message": "pi.message";
|
|
839
|
+
"pi.compaction": "pi.compaction";
|
|
840
|
+
"pi.branch_summary": "pi.branch_summary";
|
|
841
|
+
}>;
|
|
842
|
+
export type NativeMetadataSourceType = z.infer<typeof zNativeMetadataSourceType>;
|
|
843
|
+
/**
|
|
844
|
+
* Native Pi Message Role
|
|
845
|
+
*
|
|
846
|
+
* Pi message role needed for public metadata validation
|
|
847
|
+
*/
|
|
848
|
+
export declare const zNativePiMessageRole: z.ZodEnum<{
|
|
849
|
+
toolResult: "toolResult";
|
|
850
|
+
}>;
|
|
851
|
+
export type NativePiMessageRole = z.infer<typeof zNativePiMessageRole>;
|
|
852
|
+
export declare const zNativeSourceRef: z.ZodObject<{
|
|
853
|
+
entryRef: z.ZodString;
|
|
854
|
+
messageRole: z.ZodOptional<z.ZodEnum<{
|
|
855
|
+
toolResult: "toolResult";
|
|
856
|
+
}>>;
|
|
857
|
+
sourceType: z.ZodEnum<{
|
|
858
|
+
"pi.custom": "pi.custom";
|
|
859
|
+
"pi.custom_message": "pi.custom_message";
|
|
860
|
+
"pi.message": "pi.message";
|
|
861
|
+
"pi.compaction": "pi.compaction";
|
|
862
|
+
"pi.branch_summary": "pi.branch_summary";
|
|
863
|
+
}>;
|
|
864
|
+
}, z.core.$strip>;
|
|
865
|
+
export type NativeSourceRef = z.infer<typeof zNativeSourceRef>;
|
|
866
|
+
export declare const zNativeMetadataRecord: z.ZodObject<{
|
|
867
|
+
attachment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
868
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
869
|
+
turnIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
870
|
+
}, z.core.$strip>>>;
|
|
871
|
+
customType: z.ZodOptional<z.ZodString>;
|
|
872
|
+
data: z.ZodUnknown;
|
|
873
|
+
id: z.ZodString;
|
|
874
|
+
kind: z.ZodEnum<{
|
|
875
|
+
"pi.custom.data": "pi.custom.data";
|
|
876
|
+
"pi.custommessage.details": "pi.custommessage.details";
|
|
877
|
+
"pi.toolresult.details": "pi.toolresult.details";
|
|
878
|
+
"pi.compaction.details": "pi.compaction.details";
|
|
879
|
+
"pi.branchsummary.details": "pi.branchsummary.details";
|
|
880
|
+
}>;
|
|
881
|
+
source: z.ZodObject<{
|
|
882
|
+
entryRef: z.ZodString;
|
|
883
|
+
messageRole: z.ZodOptional<z.ZodEnum<{
|
|
884
|
+
toolResult: "toolResult";
|
|
885
|
+
}>>;
|
|
886
|
+
sourceType: z.ZodEnum<{
|
|
887
|
+
"pi.custom": "pi.custom";
|
|
888
|
+
"pi.custom_message": "pi.custom_message";
|
|
889
|
+
"pi.message": "pi.message";
|
|
890
|
+
"pi.compaction": "pi.compaction";
|
|
891
|
+
"pi.branch_summary": "pi.branch_summary";
|
|
892
|
+
}>;
|
|
893
|
+
}, z.core.$strip>;
|
|
894
|
+
}, z.core.$strip>;
|
|
895
|
+
export type NativeMetadataRecord = z.infer<typeof zNativeMetadataRecord>;
|
|
809
896
|
/**
|
|
810
897
|
* Observed Model ID
|
|
811
898
|
*
|
|
@@ -1139,6 +1226,17 @@ export declare const zMapSlice: z.ZodObject<{
|
|
|
1139
1226
|
}, z.core.$strip>>>;
|
|
1140
1227
|
}, z.core.$strip>;
|
|
1141
1228
|
export type MapSlice = z.infer<typeof zMapSlice>;
|
|
1229
|
+
export declare const zRecordedCostAmount: z.ZodNullable<z.ZodString>;
|
|
1230
|
+
export type RecordedCostAmount = z.infer<typeof zRecordedCostAmount>;
|
|
1231
|
+
export declare const zRecordedCostDetail: z.ZodObject<{
|
|
1232
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1233
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1234
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1235
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1236
|
+
source: z.ZodString;
|
|
1237
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1238
|
+
}, z.core.$strip>;
|
|
1239
|
+
export type RecordedCostDetail = z.infer<typeof zRecordedCostDetail>;
|
|
1142
1240
|
export declare const zRedactionInfo: z.ZodObject<{
|
|
1143
1241
|
applied: z.ZodBoolean;
|
|
1144
1242
|
content_hash_at_redact: z.ZodOptional<z.ZodString>;
|
|
@@ -1610,6 +1708,7 @@ export declare const zSessionSummary: z.ZodObject<{
|
|
|
1610
1708
|
codex: "codex";
|
|
1611
1709
|
opencode: "opencode";
|
|
1612
1710
|
antigravity: "antigravity";
|
|
1711
|
+
pi: "pi";
|
|
1613
1712
|
}>;
|
|
1614
1713
|
id: z.ZodString;
|
|
1615
1714
|
outcome: z.ZodOptional<z.ZodString>;
|
|
@@ -1639,6 +1738,7 @@ export declare const zSessionsPayload: z.ZodObject<{
|
|
|
1639
1738
|
codex: "codex";
|
|
1640
1739
|
opencode: "opencode";
|
|
1641
1740
|
antigravity: "antigravity";
|
|
1741
|
+
pi: "pi";
|
|
1642
1742
|
}>;
|
|
1643
1743
|
id: z.ZodString;
|
|
1644
1744
|
outcome: z.ZodOptional<z.ZodString>;
|
|
@@ -2304,6 +2404,7 @@ export declare const zTimelineSessionRef: z.ZodObject<{
|
|
|
2304
2404
|
codex: "codex";
|
|
2305
2405
|
opencode: "opencode";
|
|
2306
2406
|
antigravity: "antigravity";
|
|
2407
|
+
pi: "pi";
|
|
2307
2408
|
}>;
|
|
2308
2409
|
hasCommitBinding: z.ZodBoolean;
|
|
2309
2410
|
sessionId: z.ZodString;
|
|
@@ -2426,6 +2527,7 @@ export declare const zReviewListPayload: z.ZodObject<{
|
|
|
2426
2527
|
codex: "codex";
|
|
2427
2528
|
opencode: "opencode";
|
|
2428
2529
|
antigravity: "antigravity";
|
|
2530
|
+
pi: "pi";
|
|
2429
2531
|
}>;
|
|
2430
2532
|
hasCommitBinding: z.ZodBoolean;
|
|
2431
2533
|
sessionId: z.ZodString;
|
|
@@ -2440,6 +2542,16 @@ export declare const zTimestampInfo: z.ZodObject<{
|
|
|
2440
2542
|
start: z.ZodCoercedBigInt<unknown>;
|
|
2441
2543
|
}, z.core.$strip>;
|
|
2442
2544
|
export type TimestampInfo = z.infer<typeof zTimestampInfo>;
|
|
2545
|
+
export declare const zTokenUsageDetail: z.ZodObject<{
|
|
2546
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2547
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2548
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2549
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2550
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2551
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2552
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2553
|
+
}, z.core.$strip>;
|
|
2554
|
+
export type TokenUsageDetail = z.infer<typeof zTokenUsageDetail>;
|
|
2443
2555
|
/**
|
|
2444
2556
|
* Tool Call Kind
|
|
2445
2557
|
*
|
|
@@ -2480,6 +2592,7 @@ export declare const zAuthoritativeSessionEntry: z.ZodObject<{
|
|
|
2480
2592
|
codex: "codex";
|
|
2481
2593
|
opencode: "opencode";
|
|
2482
2594
|
antigravity: "antigravity";
|
|
2595
|
+
pi: "pi";
|
|
2483
2596
|
}>;
|
|
2484
2597
|
hasThinking: z.ZodBoolean;
|
|
2485
2598
|
hasToolUse: z.ZodBoolean;
|
|
@@ -2555,6 +2668,7 @@ export declare const zCanonicalPublishReplacement: z.ZodObject<{
|
|
|
2555
2668
|
codex: "codex";
|
|
2556
2669
|
opencode: "opencode";
|
|
2557
2670
|
antigravity: "antigravity";
|
|
2671
|
+
pi: "pi";
|
|
2558
2672
|
}>;
|
|
2559
2673
|
hasThinking: z.ZodBoolean;
|
|
2560
2674
|
hasToolUse: z.ZodBoolean;
|
|
@@ -2624,6 +2738,7 @@ export declare const zCanonicalPublishReplacement: z.ZodObject<{
|
|
|
2624
2738
|
codex: "codex";
|
|
2625
2739
|
opencode: "opencode";
|
|
2626
2740
|
antigravity: "antigravity";
|
|
2741
|
+
pi: "pi";
|
|
2627
2742
|
}>;
|
|
2628
2743
|
hostSlug: z.ZodOptional<z.ZodString>;
|
|
2629
2744
|
model: z.ZodString;
|
|
@@ -2734,6 +2849,7 @@ export declare const zSessionEntry: z.ZodObject<{
|
|
|
2734
2849
|
codex: "codex";
|
|
2735
2850
|
opencode: "opencode";
|
|
2736
2851
|
antigravity: "antigravity";
|
|
2852
|
+
pi: "pi";
|
|
2737
2853
|
}>;
|
|
2738
2854
|
hasThinking: z.ZodBoolean;
|
|
2739
2855
|
hasToolUse: z.ZodBoolean;
|
|
@@ -2809,6 +2925,7 @@ export declare const zPublishRequest: z.ZodObject<{
|
|
|
2809
2925
|
codex: "codex";
|
|
2810
2926
|
opencode: "opencode";
|
|
2811
2927
|
antigravity: "antigravity";
|
|
2928
|
+
pi: "pi";
|
|
2812
2929
|
}>;
|
|
2813
2930
|
hasThinking: z.ZodBoolean;
|
|
2814
2931
|
hasToolUse: z.ZodBoolean;
|
|
@@ -2887,6 +3004,7 @@ export declare const zPublishRequest: z.ZodObject<{
|
|
|
2887
3004
|
codex: "codex";
|
|
2888
3005
|
opencode: "opencode";
|
|
2889
3006
|
antigravity: "antigravity";
|
|
3007
|
+
pi: "pi";
|
|
2890
3008
|
}>;
|
|
2891
3009
|
hostSlug: z.ZodOptional<z.ZodString>;
|
|
2892
3010
|
model: z.ZodString;
|
|
@@ -2974,28 +3092,6 @@ export declare const zPublishRequest: z.ZodObject<{
|
|
|
2974
3092
|
}, z.core.$strip>;
|
|
2975
3093
|
}, z.core.$strip>;
|
|
2976
3094
|
export type PublishRequest = z.infer<typeof zPublishRequest>;
|
|
2977
|
-
export declare const zToolCallDetail: z.ZodObject<{
|
|
2978
|
-
arguments: z.ZodString;
|
|
2979
|
-
durationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2980
|
-
exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2981
|
-
filePath: z.ZodOptional<z.ZodString>;
|
|
2982
|
-
id: z.ZodString;
|
|
2983
|
-
isError: z.ZodOptional<z.ZodBoolean>;
|
|
2984
|
-
name: z.ZodString;
|
|
2985
|
-
result: z.ZodString;
|
|
2986
|
-
toolKind: z.ZodOptional<z.ZodEnum<{
|
|
2987
|
-
search: "search";
|
|
2988
|
-
other: "other";
|
|
2989
|
-
move: "move";
|
|
2990
|
-
fetch: "fetch";
|
|
2991
|
-
delete: "delete";
|
|
2992
|
-
read: "read";
|
|
2993
|
-
edit: "edit";
|
|
2994
|
-
execute: "execute";
|
|
2995
|
-
think: "think";
|
|
2996
|
-
}>>;
|
|
2997
|
-
}, z.core.$strip>;
|
|
2998
|
-
export type ToolCallDetail = z.infer<typeof zToolCallDetail>;
|
|
2999
3095
|
/**
|
|
3000
3096
|
* Transcript Content Hash
|
|
3001
3097
|
*
|
|
@@ -3061,6 +3157,7 @@ export declare const zCanonicalPublishOperation: z.ZodObject<{
|
|
|
3061
3157
|
codex: "codex";
|
|
3062
3158
|
opencode: "opencode";
|
|
3063
3159
|
antigravity: "antigravity";
|
|
3160
|
+
pi: "pi";
|
|
3064
3161
|
}>;
|
|
3065
3162
|
hasThinking: z.ZodBoolean;
|
|
3066
3163
|
hasToolUse: z.ZodBoolean;
|
|
@@ -3130,6 +3227,7 @@ export declare const zCanonicalPublishOperation: z.ZodObject<{
|
|
|
3130
3227
|
codex: "codex";
|
|
3131
3228
|
opencode: "opencode";
|
|
3132
3229
|
antigravity: "antigravity";
|
|
3230
|
+
pi: "pi";
|
|
3133
3231
|
}>;
|
|
3134
3232
|
hostSlug: z.ZodOptional<z.ZodString>;
|
|
3135
3233
|
model: z.ZodString;
|
|
@@ -3333,72 +3431,53 @@ export declare const zTrendsPayload: z.ZodObject<{
|
|
|
3333
3431
|
totalTokens: z.ZodInt;
|
|
3334
3432
|
}, z.core.$strip>;
|
|
3335
3433
|
export type TrendsPayload = z.infer<typeof zTrendsPayload>;
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
delete: "delete";
|
|
3384
|
-
read: "read";
|
|
3385
|
-
edit: "edit";
|
|
3386
|
-
execute: "execute";
|
|
3387
|
-
think: "think";
|
|
3388
|
-
}>>;
|
|
3389
|
-
}, z.core.$strip>>>;
|
|
3390
|
-
}, z.core.$strip>;
|
|
3391
|
-
export type TurnDetail = z.infer<typeof zTurnDetail>;
|
|
3392
|
-
export declare const zSessionDetailPayload: z.ZodObject<{
|
|
3393
|
-
childSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3394
|
-
id: z.ZodString;
|
|
3395
|
-
project: z.ZodOptional<z.ZodString>;
|
|
3396
|
-
startTime: z.ZodISODateTime;
|
|
3397
|
-
}, z.core.$strip>>>;
|
|
3398
|
-
durationMins: z.ZodNumber;
|
|
3399
|
-
endTime: z.ZodISODateTime;
|
|
3400
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
3401
|
-
gitRemote: z.ZodOptional<z.ZodString>;
|
|
3434
|
+
/**
|
|
3435
|
+
* Type Origin
|
|
3436
|
+
*
|
|
3437
|
+
* Who created an annotation type: system (built-in), user (individual), or group (shared)
|
|
3438
|
+
*/
|
|
3439
|
+
export declare const zTypeOrigin: z.ZodEnum<{
|
|
3440
|
+
user: "user";
|
|
3441
|
+
group: "group";
|
|
3442
|
+
system: "system";
|
|
3443
|
+
}>;
|
|
3444
|
+
export type TypeOrigin = z.infer<typeof zTypeOrigin>;
|
|
3445
|
+
export declare const zUICapabilitiesResponse: z.ZodObject<{
|
|
3446
|
+
uiCapabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3447
|
+
}, z.core.$strict>;
|
|
3448
|
+
export type UICapabilitiesResponse = z.infer<typeof zUICapabilitiesResponse>;
|
|
3449
|
+
export declare const zUnifiedMetadata: z.ZodObject<{
|
|
3450
|
+
adapterVersion: z.ZodOptional<z.ZodInt>;
|
|
3451
|
+
contentHash: z.ZodString;
|
|
3452
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3453
|
+
derivedAt: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3454
|
+
diagnostics: z.ZodObject<{
|
|
3455
|
+
partial: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3456
|
+
warnings: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3457
|
+
errorType: z.ZodString;
|
|
3458
|
+
location: z.ZodString;
|
|
3459
|
+
message: z.ZodString;
|
|
3460
|
+
remediation: z.ZodString;
|
|
3461
|
+
}, z.core.$strip>>>;
|
|
3462
|
+
}, z.core.$strip>;
|
|
3463
|
+
git: z.ZodObject<{
|
|
3464
|
+
associations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3465
|
+
id: z.ZodString;
|
|
3466
|
+
observedCommitHash: z.ZodString;
|
|
3467
|
+
}, z.core.$strict>>>;
|
|
3468
|
+
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3469
|
+
commits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3470
|
+
authorEmail: z.ZodString;
|
|
3471
|
+
authorName: z.ZodString;
|
|
3472
|
+
authorTime: z.ZodCoercedBigInt<unknown>;
|
|
3473
|
+
commitTime: z.ZodCoercedBigInt<unknown>;
|
|
3474
|
+
hash: z.ZodString;
|
|
3475
|
+
message: z.ZodString;
|
|
3476
|
+
}, z.core.$strip>>>;
|
|
3477
|
+
remote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3478
|
+
tracking: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3479
|
+
worktree: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3480
|
+
}, z.core.$strip>;
|
|
3402
3481
|
harness: z.ZodEnum<{
|
|
3403
3482
|
strike: "strike";
|
|
3404
3483
|
cursor: "cursor";
|
|
@@ -3407,309 +3486,31 @@ export declare const zSessionDetailPayload: z.ZodObject<{
|
|
|
3407
3486
|
codex: "codex";
|
|
3408
3487
|
opencode: "opencode";
|
|
3409
3488
|
antigravity: "antigravity";
|
|
3489
|
+
pi: "pi";
|
|
3410
3490
|
}>;
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
signalDensity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3435
|
-
specQualityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3436
|
-
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3437
|
-
withinSessionReverts: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3438
|
-
}, z.core.$strip>>>;
|
|
3439
|
-
sessionOrigin: z.ZodOptional<z.ZodEnum<{
|
|
3440
|
-
unknown: "unknown";
|
|
3441
|
-
user: "user";
|
|
3442
|
-
agent: "agent";
|
|
3443
|
-
}>>;
|
|
3444
|
-
source: z.ZodOptional<z.ZodString>;
|
|
3445
|
-
startTime: z.ZodISODateTime;
|
|
3446
|
-
status: z.ZodOptional<z.ZodString>;
|
|
3447
|
-
tokensIn: z.ZodInt;
|
|
3448
|
-
tokensOut: z.ZodInt;
|
|
3449
|
-
toolCallCount: z.ZodInt;
|
|
3450
|
-
totalTokens: z.ZodInt;
|
|
3451
|
-
turnCount: z.ZodInt;
|
|
3452
|
-
turns: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3453
|
-
agentName: z.ZodOptional<z.ZodString>;
|
|
3454
|
-
content: z.ZodString;
|
|
3455
|
-
depth: z.ZodInt;
|
|
3456
|
-
entryType: z.ZodOptional<z.ZodEnum<{
|
|
3457
|
-
error: "error";
|
|
3458
|
-
text: "text";
|
|
3459
|
-
tool_use: "tool_use";
|
|
3460
|
-
tool_result: "tool_result";
|
|
3461
|
-
thinking: "thinking";
|
|
3462
|
-
system: "system";
|
|
3463
|
-
result: "result";
|
|
3464
|
-
}>>;
|
|
3465
|
-
hasThinking: z.ZodOptional<z.ZodBoolean>;
|
|
3466
|
-
index: z.ZodInt;
|
|
3467
|
-
observedModel: z.ZodOptional<z.ZodString>;
|
|
3468
|
-
parentIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3469
|
-
role: z.ZodEnum<{
|
|
3470
|
-
user: "user";
|
|
3471
|
-
system: "system";
|
|
3472
|
-
assistant: "assistant";
|
|
3473
|
-
tool: "tool";
|
|
3474
|
-
}>;
|
|
3475
|
-
stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3476
|
-
end_turn: "end_turn";
|
|
3477
|
-
cancelled: "cancelled";
|
|
3478
|
-
max_tokens: "max_tokens";
|
|
3479
|
-
max_turn_requests: "max_turn_requests";
|
|
3480
|
-
refusal: "refusal";
|
|
3481
|
-
}>>>;
|
|
3482
|
-
timestamp: z.ZodISODateTime;
|
|
3483
|
-
tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3484
|
-
tokensOut: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3485
|
-
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3486
|
-
arguments: z.ZodString;
|
|
3487
|
-
durationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3488
|
-
exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3489
|
-
filePath: z.ZodOptional<z.ZodString>;
|
|
3490
|
-
id: z.ZodString;
|
|
3491
|
-
isError: z.ZodOptional<z.ZodBoolean>;
|
|
3492
|
-
name: z.ZodString;
|
|
3493
|
-
result: z.ZodString;
|
|
3494
|
-
toolKind: z.ZodOptional<z.ZodEnum<{
|
|
3495
|
-
search: "search";
|
|
3496
|
-
other: "other";
|
|
3497
|
-
move: "move";
|
|
3498
|
-
fetch: "fetch";
|
|
3499
|
-
delete: "delete";
|
|
3500
|
-
read: "read";
|
|
3501
|
-
edit: "edit";
|
|
3502
|
-
execute: "execute";
|
|
3503
|
-
think: "think";
|
|
3504
|
-
}>>;
|
|
3505
|
-
}, z.core.$strip>>>;
|
|
3506
|
-
}, z.core.$strip>>>;
|
|
3507
|
-
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
3508
|
-
}, z.core.$strip>;
|
|
3509
|
-
export type SessionDetailPayload = z.infer<typeof zSessionDetailPayload>;
|
|
3510
|
-
export declare const zTranscriptContent: z.ZodObject<{
|
|
3511
|
-
contractVersion: z.ZodString;
|
|
3512
|
-
kind: z.ZodEnum<{
|
|
3513
|
-
session_detail: "session_detail";
|
|
3514
|
-
}>;
|
|
3515
|
-
sessionDetail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3516
|
-
childSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3517
|
-
id: z.ZodString;
|
|
3518
|
-
project: z.ZodOptional<z.ZodString>;
|
|
3519
|
-
startTime: z.ZodISODateTime;
|
|
3520
|
-
}, z.core.$strip>>>;
|
|
3521
|
-
durationMins: z.ZodNumber;
|
|
3522
|
-
endTime: z.ZodISODateTime;
|
|
3523
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
3524
|
-
gitRemote: z.ZodOptional<z.ZodString>;
|
|
3525
|
-
harness: z.ZodEnum<{
|
|
3526
|
-
strike: "strike";
|
|
3527
|
-
cursor: "cursor";
|
|
3528
|
-
"claude-code": "claude-code";
|
|
3529
|
-
"gemini-cli": "gemini-cli";
|
|
3530
|
-
codex: "codex";
|
|
3531
|
-
opencode: "opencode";
|
|
3532
|
-
antigravity: "antigravity";
|
|
3533
|
-
}>;
|
|
3534
|
-
id: z.ZodString;
|
|
3535
|
-
model: z.ZodOptional<z.ZodString>;
|
|
3536
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
3537
|
-
failed: "failed";
|
|
3538
|
-
partial: "partial";
|
|
3539
|
-
resolved: "resolved";
|
|
3540
|
-
}>>;
|
|
3541
|
-
project: z.ZodOptional<z.ZodString>;
|
|
3542
|
-
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
3543
|
-
scorecard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3544
|
-
costTotalUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3545
|
-
m2TokenOutcomeRatio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3546
|
-
m4ConsecutiveErrorMax: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3547
|
-
m5ContextUtilizationPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3548
|
-
m6OutputSurvivalPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3549
|
-
m7SpecHasConstraints: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3550
|
-
m7SpecHasExamples: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3551
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
3552
|
-
failed: "failed";
|
|
3553
|
-
partial: "partial";
|
|
3554
|
-
resolved: "resolved";
|
|
3555
|
-
}>>;
|
|
3556
|
-
retryTokensWasted: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3557
|
-
signalDensity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3558
|
-
specQualityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3559
|
-
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3560
|
-
withinSessionReverts: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3561
|
-
}, z.core.$strip>>>;
|
|
3562
|
-
sessionOrigin: z.ZodOptional<z.ZodEnum<{
|
|
3563
|
-
unknown: "unknown";
|
|
3564
|
-
user: "user";
|
|
3565
|
-
agent: "agent";
|
|
3566
|
-
}>>;
|
|
3567
|
-
source: z.ZodOptional<z.ZodString>;
|
|
3568
|
-
startTime: z.ZodISODateTime;
|
|
3569
|
-
status: z.ZodOptional<z.ZodString>;
|
|
3570
|
-
tokensIn: z.ZodInt;
|
|
3571
|
-
tokensOut: z.ZodInt;
|
|
3572
|
-
toolCallCount: z.ZodInt;
|
|
3573
|
-
totalTokens: z.ZodInt;
|
|
3574
|
-
turnCount: z.ZodInt;
|
|
3575
|
-
turns: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3576
|
-
agentName: z.ZodOptional<z.ZodString>;
|
|
3577
|
-
content: z.ZodString;
|
|
3578
|
-
depth: z.ZodInt;
|
|
3579
|
-
entryType: z.ZodOptional<z.ZodEnum<{
|
|
3580
|
-
error: "error";
|
|
3581
|
-
text: "text";
|
|
3582
|
-
tool_use: "tool_use";
|
|
3583
|
-
tool_result: "tool_result";
|
|
3584
|
-
thinking: "thinking";
|
|
3585
|
-
system: "system";
|
|
3586
|
-
result: "result";
|
|
3587
|
-
}>>;
|
|
3588
|
-
hasThinking: z.ZodOptional<z.ZodBoolean>;
|
|
3589
|
-
index: z.ZodInt;
|
|
3590
|
-
observedModel: z.ZodOptional<z.ZodString>;
|
|
3591
|
-
parentIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3592
|
-
role: z.ZodEnum<{
|
|
3593
|
-
user: "user";
|
|
3594
|
-
system: "system";
|
|
3595
|
-
assistant: "assistant";
|
|
3596
|
-
tool: "tool";
|
|
3597
|
-
}>;
|
|
3598
|
-
stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3599
|
-
end_turn: "end_turn";
|
|
3600
|
-
cancelled: "cancelled";
|
|
3601
|
-
max_tokens: "max_tokens";
|
|
3602
|
-
max_turn_requests: "max_turn_requests";
|
|
3603
|
-
refusal: "refusal";
|
|
3604
|
-
}>>>;
|
|
3605
|
-
timestamp: z.ZodISODateTime;
|
|
3606
|
-
tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3607
|
-
tokensOut: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3608
|
-
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3609
|
-
arguments: z.ZodString;
|
|
3610
|
-
durationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3611
|
-
exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3612
|
-
filePath: z.ZodOptional<z.ZodString>;
|
|
3613
|
-
id: z.ZodString;
|
|
3614
|
-
isError: z.ZodOptional<z.ZodBoolean>;
|
|
3615
|
-
name: z.ZodString;
|
|
3616
|
-
result: z.ZodString;
|
|
3617
|
-
toolKind: z.ZodOptional<z.ZodEnum<{
|
|
3618
|
-
search: "search";
|
|
3619
|
-
other: "other";
|
|
3620
|
-
move: "move";
|
|
3621
|
-
fetch: "fetch";
|
|
3622
|
-
delete: "delete";
|
|
3623
|
-
read: "read";
|
|
3624
|
-
edit: "edit";
|
|
3625
|
-
execute: "execute";
|
|
3626
|
-
think: "think";
|
|
3627
|
-
}>>;
|
|
3628
|
-
}, z.core.$strip>>>;
|
|
3629
|
-
}, z.core.$strip>>>;
|
|
3630
|
-
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
3631
|
-
}, z.core.$strip>>>;
|
|
3632
|
-
}, z.core.$strip>;
|
|
3633
|
-
export type TranscriptContent = z.infer<typeof zTranscriptContent>;
|
|
3634
|
-
/**
|
|
3635
|
-
* Type Origin
|
|
3636
|
-
*
|
|
3637
|
-
* Who created an annotation type: system (built-in), user (individual), or group (shared)
|
|
3638
|
-
*/
|
|
3639
|
-
export declare const zTypeOrigin: z.ZodEnum<{
|
|
3640
|
-
user: "user";
|
|
3641
|
-
group: "group";
|
|
3642
|
-
system: "system";
|
|
3643
|
-
}>;
|
|
3644
|
-
export type TypeOrigin = z.infer<typeof zTypeOrigin>;
|
|
3645
|
-
export declare const zUICapabilitiesResponse: z.ZodObject<{
|
|
3646
|
-
uiCapabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3647
|
-
}, z.core.$strict>;
|
|
3648
|
-
export type UICapabilitiesResponse = z.infer<typeof zUICapabilitiesResponse>;
|
|
3649
|
-
export declare const zUnifiedMetadata: z.ZodObject<{
|
|
3650
|
-
adapterVersion: z.ZodOptional<z.ZodInt>;
|
|
3651
|
-
contentHash: z.ZodString;
|
|
3652
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
3653
|
-
derivedAt: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3654
|
-
diagnostics: z.ZodObject<{
|
|
3655
|
-
partial: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3656
|
-
warnings: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3657
|
-
errorType: z.ZodString;
|
|
3658
|
-
location: z.ZodString;
|
|
3659
|
-
message: z.ZodString;
|
|
3660
|
-
remediation: z.ZodString;
|
|
3661
|
-
}, z.core.$strip>>>;
|
|
3662
|
-
}, z.core.$strip>;
|
|
3663
|
-
git: z.ZodObject<{
|
|
3664
|
-
associations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3665
|
-
id: z.ZodString;
|
|
3666
|
-
observedCommitHash: z.ZodString;
|
|
3667
|
-
}, z.core.$strict>>>;
|
|
3668
|
-
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3669
|
-
commits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3670
|
-
authorEmail: z.ZodString;
|
|
3671
|
-
authorName: z.ZodString;
|
|
3672
|
-
authorTime: z.ZodCoercedBigInt<unknown>;
|
|
3673
|
-
commitTime: z.ZodCoercedBigInt<unknown>;
|
|
3674
|
-
hash: z.ZodString;
|
|
3675
|
-
message: z.ZodString;
|
|
3676
|
-
}, z.core.$strip>>>;
|
|
3677
|
-
remote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3678
|
-
tracking: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3679
|
-
worktree: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3680
|
-
}, z.core.$strip>;
|
|
3681
|
-
harness: z.ZodEnum<{
|
|
3682
|
-
strike: "strike";
|
|
3683
|
-
cursor: "cursor";
|
|
3684
|
-
"claude-code": "claude-code";
|
|
3685
|
-
"gemini-cli": "gemini-cli";
|
|
3686
|
-
codex: "codex";
|
|
3687
|
-
opencode: "opencode";
|
|
3688
|
-
antigravity: "antigravity";
|
|
3689
|
-
}>;
|
|
3690
|
-
hostSlug: z.ZodString;
|
|
3691
|
-
metadataHash: z.ZodString;
|
|
3692
|
-
model: z.ZodString;
|
|
3693
|
-
parentUuid: z.ZodNullable<z.ZodString>;
|
|
3694
|
-
project: z.ZodObject<{
|
|
3695
|
-
filePath: z.ZodOptional<z.ZodString>;
|
|
3696
|
-
hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
3697
|
-
name: z.ZodString;
|
|
3698
|
-
}, z.core.$strip>;
|
|
3699
|
-
redaction: z.ZodObject<{
|
|
3700
|
-
applied: z.ZodBoolean;
|
|
3701
|
-
content_hash_at_redact: z.ZodOptional<z.ZodString>;
|
|
3702
|
-
level: z.ZodOptional<z.ZodString>;
|
|
3703
|
-
redacted_at_ms: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3704
|
-
rule_set_version: z.ZodOptional<z.ZodString>;
|
|
3705
|
-
}, z.core.$strip>;
|
|
3706
|
-
schemaVersion: z.ZodInt;
|
|
3707
|
-
sessionId: z.ZodString;
|
|
3708
|
-
source: z.ZodObject<{
|
|
3709
|
-
filePath: z.ZodOptional<z.ZodString>;
|
|
3710
|
-
format: z.ZodEnum<{
|
|
3711
|
-
json: "json";
|
|
3712
|
-
jsonl: "jsonl";
|
|
3491
|
+
hostSlug: z.ZodString;
|
|
3492
|
+
metadataHash: z.ZodString;
|
|
3493
|
+
model: z.ZodString;
|
|
3494
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
3495
|
+
project: z.ZodObject<{
|
|
3496
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
3497
|
+
hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
3498
|
+
name: z.ZodString;
|
|
3499
|
+
}, z.core.$strip>;
|
|
3500
|
+
redaction: z.ZodObject<{
|
|
3501
|
+
applied: z.ZodBoolean;
|
|
3502
|
+
content_hash_at_redact: z.ZodOptional<z.ZodString>;
|
|
3503
|
+
level: z.ZodOptional<z.ZodString>;
|
|
3504
|
+
redacted_at_ms: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3505
|
+
rule_set_version: z.ZodOptional<z.ZodString>;
|
|
3506
|
+
}, z.core.$strip>;
|
|
3507
|
+
schemaVersion: z.ZodInt;
|
|
3508
|
+
sessionId: z.ZodString;
|
|
3509
|
+
source: z.ZodObject<{
|
|
3510
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
3511
|
+
format: z.ZodEnum<{
|
|
3512
|
+
json: "json";
|
|
3513
|
+
jsonl: "jsonl";
|
|
3713
3514
|
}>;
|
|
3714
3515
|
}, z.core.$strip>;
|
|
3715
3516
|
stats: z.ZodObject<{
|
|
@@ -3932,6 +3733,670 @@ export declare const zChangeDetailPayload: z.ZodObject<{
|
|
|
3932
3733
|
}, z.core.$strip>>>;
|
|
3933
3734
|
}, z.core.$strip>;
|
|
3934
3735
|
export type ChangeDetailPayload = z.infer<typeof zChangeDetailPayload>;
|
|
3736
|
+
/**
|
|
3737
|
+
* Usage Completeness
|
|
3738
|
+
*
|
|
3739
|
+
* Completeness of the five base token fields
|
|
3740
|
+
*/
|
|
3741
|
+
export declare const zUsageCompleteness: z.ZodEnum<{
|
|
3742
|
+
unknown: "unknown";
|
|
3743
|
+
complete: "complete";
|
|
3744
|
+
partial: "partial";
|
|
3745
|
+
}>;
|
|
3746
|
+
export type UsageCompleteness = z.infer<typeof zUsageCompleteness>;
|
|
3747
|
+
export declare const zUsageOwnerID: z.ZodNullable<z.ZodString>;
|
|
3748
|
+
export type UsageOwnerID = z.infer<typeof zUsageOwnerID>;
|
|
3749
|
+
/**
|
|
3750
|
+
* Usage Scope
|
|
3751
|
+
*
|
|
3752
|
+
* Native owner scope for detailed token and cost evidence
|
|
3753
|
+
*/
|
|
3754
|
+
export declare const zUsageScope: z.ZodEnum<{
|
|
3755
|
+
summary: "summary";
|
|
3756
|
+
assistant: "assistant";
|
|
3757
|
+
tool: "tool";
|
|
3758
|
+
}>;
|
|
3759
|
+
export type UsageScope = z.infer<typeof zUsageScope>;
|
|
3760
|
+
export declare const zUsageDetail: z.ZodObject<{
|
|
3761
|
+
completeness: z.ZodEnum<{
|
|
3762
|
+
unknown: "unknown";
|
|
3763
|
+
complete: "complete";
|
|
3764
|
+
partial: "partial";
|
|
3765
|
+
}>;
|
|
3766
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3767
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3768
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3769
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3770
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3771
|
+
source: z.ZodString;
|
|
3772
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3773
|
+
}, z.core.$strip>>>;
|
|
3774
|
+
ownerId: z.ZodString;
|
|
3775
|
+
scope: z.ZodEnum<{
|
|
3776
|
+
summary: "summary";
|
|
3777
|
+
assistant: "assistant";
|
|
3778
|
+
tool: "tool";
|
|
3779
|
+
}>;
|
|
3780
|
+
sourceEntryRef: z.ZodString;
|
|
3781
|
+
tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3782
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3783
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3784
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3785
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3786
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3787
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3788
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3789
|
+
}, z.core.$strip>>>;
|
|
3790
|
+
}, z.core.$strip>;
|
|
3791
|
+
export type UsageDetail = z.infer<typeof zUsageDetail>;
|
|
3792
|
+
export declare const zToolCallDetail: z.ZodObject<{
|
|
3793
|
+
arguments: z.ZodString;
|
|
3794
|
+
callEntryRef: z.ZodOptional<z.ZodString>;
|
|
3795
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3796
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3797
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
3798
|
+
id: z.ZodString;
|
|
3799
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
3800
|
+
name: z.ZodString;
|
|
3801
|
+
result: z.ZodString;
|
|
3802
|
+
resultEntryRef: z.ZodOptional<z.ZodString>;
|
|
3803
|
+
toolKind: z.ZodOptional<z.ZodEnum<{
|
|
3804
|
+
search: "search";
|
|
3805
|
+
other: "other";
|
|
3806
|
+
move: "move";
|
|
3807
|
+
fetch: "fetch";
|
|
3808
|
+
delete: "delete";
|
|
3809
|
+
read: "read";
|
|
3810
|
+
edit: "edit";
|
|
3811
|
+
execute: "execute";
|
|
3812
|
+
think: "think";
|
|
3813
|
+
}>>;
|
|
3814
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3815
|
+
completeness: z.ZodEnum<{
|
|
3816
|
+
unknown: "unknown";
|
|
3817
|
+
complete: "complete";
|
|
3818
|
+
partial: "partial";
|
|
3819
|
+
}>;
|
|
3820
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3821
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3822
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3823
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3824
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3825
|
+
source: z.ZodString;
|
|
3826
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3827
|
+
}, z.core.$strip>>>;
|
|
3828
|
+
ownerId: z.ZodString;
|
|
3829
|
+
scope: z.ZodEnum<{
|
|
3830
|
+
summary: "summary";
|
|
3831
|
+
assistant: "assistant";
|
|
3832
|
+
tool: "tool";
|
|
3833
|
+
}>;
|
|
3834
|
+
sourceEntryRef: z.ZodString;
|
|
3835
|
+
tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3836
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3837
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3838
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3839
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3840
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3841
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3842
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3843
|
+
}, z.core.$strip>>>;
|
|
3844
|
+
}, z.core.$strip>>>;
|
|
3845
|
+
}, z.core.$strip>;
|
|
3846
|
+
export type ToolCallDetail = z.infer<typeof zToolCallDetail>;
|
|
3847
|
+
export declare const zTurnDetail: z.ZodObject<{
|
|
3848
|
+
agentName: z.ZodOptional<z.ZodString>;
|
|
3849
|
+
content: z.ZodString;
|
|
3850
|
+
depth: z.ZodInt;
|
|
3851
|
+
entryType: z.ZodOptional<z.ZodEnum<{
|
|
3852
|
+
error: "error";
|
|
3853
|
+
text: "text";
|
|
3854
|
+
tool_use: "tool_use";
|
|
3855
|
+
tool_result: "tool_result";
|
|
3856
|
+
thinking: "thinking";
|
|
3857
|
+
system: "system";
|
|
3858
|
+
result: "result";
|
|
3859
|
+
}>>;
|
|
3860
|
+
hasThinking: z.ZodOptional<z.ZodBoolean>;
|
|
3861
|
+
index: z.ZodInt;
|
|
3862
|
+
observedModel: z.ZodOptional<z.ZodString>;
|
|
3863
|
+
parentIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3864
|
+
role: z.ZodEnum<{
|
|
3865
|
+
user: "user";
|
|
3866
|
+
system: "system";
|
|
3867
|
+
assistant: "assistant";
|
|
3868
|
+
tool: "tool";
|
|
3869
|
+
}>;
|
|
3870
|
+
sourceEntryRef: z.ZodOptional<z.ZodString>;
|
|
3871
|
+
stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3872
|
+
end_turn: "end_turn";
|
|
3873
|
+
cancelled: "cancelled";
|
|
3874
|
+
max_tokens: "max_tokens";
|
|
3875
|
+
max_turn_requests: "max_turn_requests";
|
|
3876
|
+
refusal: "refusal";
|
|
3877
|
+
}>>>;
|
|
3878
|
+
timestamp: z.ZodISODateTime;
|
|
3879
|
+
tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3880
|
+
tokensOut: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3881
|
+
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3882
|
+
arguments: z.ZodString;
|
|
3883
|
+
callEntryRef: z.ZodOptional<z.ZodString>;
|
|
3884
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3885
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3886
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
3887
|
+
id: z.ZodString;
|
|
3888
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
3889
|
+
name: z.ZodString;
|
|
3890
|
+
result: z.ZodString;
|
|
3891
|
+
resultEntryRef: z.ZodOptional<z.ZodString>;
|
|
3892
|
+
toolKind: z.ZodOptional<z.ZodEnum<{
|
|
3893
|
+
search: "search";
|
|
3894
|
+
other: "other";
|
|
3895
|
+
move: "move";
|
|
3896
|
+
fetch: "fetch";
|
|
3897
|
+
delete: "delete";
|
|
3898
|
+
read: "read";
|
|
3899
|
+
edit: "edit";
|
|
3900
|
+
execute: "execute";
|
|
3901
|
+
think: "think";
|
|
3902
|
+
}>>;
|
|
3903
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3904
|
+
completeness: z.ZodEnum<{
|
|
3905
|
+
unknown: "unknown";
|
|
3906
|
+
complete: "complete";
|
|
3907
|
+
partial: "partial";
|
|
3908
|
+
}>;
|
|
3909
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3910
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3911
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3912
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3913
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3914
|
+
source: z.ZodString;
|
|
3915
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3916
|
+
}, z.core.$strip>>>;
|
|
3917
|
+
ownerId: z.ZodString;
|
|
3918
|
+
scope: z.ZodEnum<{
|
|
3919
|
+
summary: "summary";
|
|
3920
|
+
assistant: "assistant";
|
|
3921
|
+
tool: "tool";
|
|
3922
|
+
}>;
|
|
3923
|
+
sourceEntryRef: z.ZodString;
|
|
3924
|
+
tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3925
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3926
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3927
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3928
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3929
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3930
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3931
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3932
|
+
}, z.core.$strip>>>;
|
|
3933
|
+
}, z.core.$strip>>>;
|
|
3934
|
+
}, z.core.$strip>>>;
|
|
3935
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3936
|
+
completeness: z.ZodEnum<{
|
|
3937
|
+
unknown: "unknown";
|
|
3938
|
+
complete: "complete";
|
|
3939
|
+
partial: "partial";
|
|
3940
|
+
}>;
|
|
3941
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3942
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3943
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3944
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3945
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3946
|
+
source: z.ZodString;
|
|
3947
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3948
|
+
}, z.core.$strip>>>;
|
|
3949
|
+
ownerId: z.ZodString;
|
|
3950
|
+
scope: z.ZodEnum<{
|
|
3951
|
+
summary: "summary";
|
|
3952
|
+
assistant: "assistant";
|
|
3953
|
+
tool: "tool";
|
|
3954
|
+
}>;
|
|
3955
|
+
sourceEntryRef: z.ZodString;
|
|
3956
|
+
tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3957
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3958
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3959
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3960
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3961
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3962
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3963
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3964
|
+
}, z.core.$strip>>>;
|
|
3965
|
+
}, z.core.$strip>>>;
|
|
3966
|
+
}, z.core.$strip>;
|
|
3967
|
+
export type TurnDetail = z.infer<typeof zTurnDetail>;
|
|
3968
|
+
export declare const zSessionDetailPayload: z.ZodObject<{
|
|
3969
|
+
childSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3970
|
+
id: z.ZodString;
|
|
3971
|
+
project: z.ZodOptional<z.ZodString>;
|
|
3972
|
+
startTime: z.ZodISODateTime;
|
|
3973
|
+
}, z.core.$strip>>>;
|
|
3974
|
+
durationMins: z.ZodNumber;
|
|
3975
|
+
endTime: z.ZodISODateTime;
|
|
3976
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
3977
|
+
gitRemote: z.ZodOptional<z.ZodString>;
|
|
3978
|
+
harness: z.ZodEnum<{
|
|
3979
|
+
strike: "strike";
|
|
3980
|
+
cursor: "cursor";
|
|
3981
|
+
"claude-code": "claude-code";
|
|
3982
|
+
"gemini-cli": "gemini-cli";
|
|
3983
|
+
codex: "codex";
|
|
3984
|
+
opencode: "opencode";
|
|
3985
|
+
antigravity: "antigravity";
|
|
3986
|
+
pi: "pi";
|
|
3987
|
+
}>;
|
|
3988
|
+
id: z.ZodString;
|
|
3989
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3990
|
+
nativeMetadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3991
|
+
attachment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3992
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
3993
|
+
turnIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3994
|
+
}, z.core.$strip>>>;
|
|
3995
|
+
customType: z.ZodOptional<z.ZodString>;
|
|
3996
|
+
data: z.ZodUnknown;
|
|
3997
|
+
id: z.ZodString;
|
|
3998
|
+
kind: z.ZodEnum<{
|
|
3999
|
+
"pi.custom.data": "pi.custom.data";
|
|
4000
|
+
"pi.custommessage.details": "pi.custommessage.details";
|
|
4001
|
+
"pi.toolresult.details": "pi.toolresult.details";
|
|
4002
|
+
"pi.compaction.details": "pi.compaction.details";
|
|
4003
|
+
"pi.branchsummary.details": "pi.branchsummary.details";
|
|
4004
|
+
}>;
|
|
4005
|
+
source: z.ZodObject<{
|
|
4006
|
+
entryRef: z.ZodString;
|
|
4007
|
+
messageRole: z.ZodOptional<z.ZodEnum<{
|
|
4008
|
+
toolResult: "toolResult";
|
|
4009
|
+
}>>;
|
|
4010
|
+
sourceType: z.ZodEnum<{
|
|
4011
|
+
"pi.custom": "pi.custom";
|
|
4012
|
+
"pi.custom_message": "pi.custom_message";
|
|
4013
|
+
"pi.message": "pi.message";
|
|
4014
|
+
"pi.compaction": "pi.compaction";
|
|
4015
|
+
"pi.branch_summary": "pi.branch_summary";
|
|
4016
|
+
}>;
|
|
4017
|
+
}, z.core.$strip>;
|
|
4018
|
+
}, z.core.$strip>>>;
|
|
4019
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
4020
|
+
failed: "failed";
|
|
4021
|
+
partial: "partial";
|
|
4022
|
+
resolved: "resolved";
|
|
4023
|
+
}>>;
|
|
4024
|
+
project: z.ZodOptional<z.ZodString>;
|
|
4025
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
4026
|
+
scorecard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4027
|
+
costTotalUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4028
|
+
m2TokenOutcomeRatio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4029
|
+
m4ConsecutiveErrorMax: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4030
|
+
m5ContextUtilizationPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4031
|
+
m6OutputSurvivalPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4032
|
+
m7SpecHasConstraints: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4033
|
+
m7SpecHasExamples: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4034
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
4035
|
+
failed: "failed";
|
|
4036
|
+
partial: "partial";
|
|
4037
|
+
resolved: "resolved";
|
|
4038
|
+
}>>;
|
|
4039
|
+
retryTokensWasted: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4040
|
+
signalDensity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4041
|
+
specQualityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4042
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4043
|
+
withinSessionReverts: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4044
|
+
}, z.core.$strip>>>;
|
|
4045
|
+
sessionOrigin: z.ZodOptional<z.ZodEnum<{
|
|
4046
|
+
unknown: "unknown";
|
|
4047
|
+
user: "user";
|
|
4048
|
+
agent: "agent";
|
|
4049
|
+
}>>;
|
|
4050
|
+
source: z.ZodOptional<z.ZodString>;
|
|
4051
|
+
startTime: z.ZodISODateTime;
|
|
4052
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4053
|
+
tokensIn: z.ZodInt;
|
|
4054
|
+
tokensOut: z.ZodInt;
|
|
4055
|
+
toolCallCount: z.ZodInt;
|
|
4056
|
+
totalTokens: z.ZodInt;
|
|
4057
|
+
turnCount: z.ZodInt;
|
|
4058
|
+
turns: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4059
|
+
agentName: z.ZodOptional<z.ZodString>;
|
|
4060
|
+
content: z.ZodString;
|
|
4061
|
+
depth: z.ZodInt;
|
|
4062
|
+
entryType: z.ZodOptional<z.ZodEnum<{
|
|
4063
|
+
error: "error";
|
|
4064
|
+
text: "text";
|
|
4065
|
+
tool_use: "tool_use";
|
|
4066
|
+
tool_result: "tool_result";
|
|
4067
|
+
thinking: "thinking";
|
|
4068
|
+
system: "system";
|
|
4069
|
+
result: "result";
|
|
4070
|
+
}>>;
|
|
4071
|
+
hasThinking: z.ZodOptional<z.ZodBoolean>;
|
|
4072
|
+
index: z.ZodInt;
|
|
4073
|
+
observedModel: z.ZodOptional<z.ZodString>;
|
|
4074
|
+
parentIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4075
|
+
role: z.ZodEnum<{
|
|
4076
|
+
user: "user";
|
|
4077
|
+
system: "system";
|
|
4078
|
+
assistant: "assistant";
|
|
4079
|
+
tool: "tool";
|
|
4080
|
+
}>;
|
|
4081
|
+
sourceEntryRef: z.ZodOptional<z.ZodString>;
|
|
4082
|
+
stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4083
|
+
end_turn: "end_turn";
|
|
4084
|
+
cancelled: "cancelled";
|
|
4085
|
+
max_tokens: "max_tokens";
|
|
4086
|
+
max_turn_requests: "max_turn_requests";
|
|
4087
|
+
refusal: "refusal";
|
|
4088
|
+
}>>>;
|
|
4089
|
+
timestamp: z.ZodISODateTime;
|
|
4090
|
+
tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4091
|
+
tokensOut: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4092
|
+
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4093
|
+
arguments: z.ZodString;
|
|
4094
|
+
callEntryRef: z.ZodOptional<z.ZodString>;
|
|
4095
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4096
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4097
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
4098
|
+
id: z.ZodString;
|
|
4099
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
4100
|
+
name: z.ZodString;
|
|
4101
|
+
result: z.ZodString;
|
|
4102
|
+
resultEntryRef: z.ZodOptional<z.ZodString>;
|
|
4103
|
+
toolKind: z.ZodOptional<z.ZodEnum<{
|
|
4104
|
+
search: "search";
|
|
4105
|
+
other: "other";
|
|
4106
|
+
move: "move";
|
|
4107
|
+
fetch: "fetch";
|
|
4108
|
+
delete: "delete";
|
|
4109
|
+
read: "read";
|
|
4110
|
+
edit: "edit";
|
|
4111
|
+
execute: "execute";
|
|
4112
|
+
think: "think";
|
|
4113
|
+
}>>;
|
|
4114
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4115
|
+
completeness: z.ZodEnum<{
|
|
4116
|
+
unknown: "unknown";
|
|
4117
|
+
complete: "complete";
|
|
4118
|
+
partial: "partial";
|
|
4119
|
+
}>;
|
|
4120
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4121
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4122
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4123
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4124
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4125
|
+
source: z.ZodString;
|
|
4126
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4127
|
+
}, z.core.$strip>>>;
|
|
4128
|
+
ownerId: z.ZodString;
|
|
4129
|
+
scope: z.ZodEnum<{
|
|
4130
|
+
summary: "summary";
|
|
4131
|
+
assistant: "assistant";
|
|
4132
|
+
tool: "tool";
|
|
4133
|
+
}>;
|
|
4134
|
+
sourceEntryRef: z.ZodString;
|
|
4135
|
+
tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4136
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4137
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4138
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4139
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4140
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4141
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4142
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4143
|
+
}, z.core.$strip>>>;
|
|
4144
|
+
}, z.core.$strip>>>;
|
|
4145
|
+
}, z.core.$strip>>>;
|
|
4146
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4147
|
+
completeness: z.ZodEnum<{
|
|
4148
|
+
unknown: "unknown";
|
|
4149
|
+
complete: "complete";
|
|
4150
|
+
partial: "partial";
|
|
4151
|
+
}>;
|
|
4152
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4153
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4154
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4155
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4156
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4157
|
+
source: z.ZodString;
|
|
4158
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4159
|
+
}, z.core.$strip>>>;
|
|
4160
|
+
ownerId: z.ZodString;
|
|
4161
|
+
scope: z.ZodEnum<{
|
|
4162
|
+
summary: "summary";
|
|
4163
|
+
assistant: "assistant";
|
|
4164
|
+
tool: "tool";
|
|
4165
|
+
}>;
|
|
4166
|
+
sourceEntryRef: z.ZodString;
|
|
4167
|
+
tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4168
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4169
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4170
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4171
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4172
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4173
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4174
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4175
|
+
}, z.core.$strip>>>;
|
|
4176
|
+
}, z.core.$strip>>>;
|
|
4177
|
+
}, z.core.$strip>>>;
|
|
4178
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
4179
|
+
}, z.core.$strip>;
|
|
4180
|
+
export type SessionDetailPayload = z.infer<typeof zSessionDetailPayload>;
|
|
4181
|
+
export declare const zTranscriptContent: z.ZodObject<{
|
|
4182
|
+
contractVersion: z.ZodString;
|
|
4183
|
+
kind: z.ZodEnum<{
|
|
4184
|
+
session_detail: "session_detail";
|
|
4185
|
+
}>;
|
|
4186
|
+
sessionDetail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4187
|
+
childSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4188
|
+
id: z.ZodString;
|
|
4189
|
+
project: z.ZodOptional<z.ZodString>;
|
|
4190
|
+
startTime: z.ZodISODateTime;
|
|
4191
|
+
}, z.core.$strip>>>;
|
|
4192
|
+
durationMins: z.ZodNumber;
|
|
4193
|
+
endTime: z.ZodISODateTime;
|
|
4194
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
4195
|
+
gitRemote: z.ZodOptional<z.ZodString>;
|
|
4196
|
+
harness: z.ZodEnum<{
|
|
4197
|
+
strike: "strike";
|
|
4198
|
+
cursor: "cursor";
|
|
4199
|
+
"claude-code": "claude-code";
|
|
4200
|
+
"gemini-cli": "gemini-cli";
|
|
4201
|
+
codex: "codex";
|
|
4202
|
+
opencode: "opencode";
|
|
4203
|
+
antigravity: "antigravity";
|
|
4204
|
+
pi: "pi";
|
|
4205
|
+
}>;
|
|
4206
|
+
id: z.ZodString;
|
|
4207
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4208
|
+
nativeMetadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4209
|
+
attachment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4210
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
4211
|
+
turnIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4212
|
+
}, z.core.$strip>>>;
|
|
4213
|
+
customType: z.ZodOptional<z.ZodString>;
|
|
4214
|
+
data: z.ZodUnknown;
|
|
4215
|
+
id: z.ZodString;
|
|
4216
|
+
kind: z.ZodEnum<{
|
|
4217
|
+
"pi.custom.data": "pi.custom.data";
|
|
4218
|
+
"pi.custommessage.details": "pi.custommessage.details";
|
|
4219
|
+
"pi.toolresult.details": "pi.toolresult.details";
|
|
4220
|
+
"pi.compaction.details": "pi.compaction.details";
|
|
4221
|
+
"pi.branchsummary.details": "pi.branchsummary.details";
|
|
4222
|
+
}>;
|
|
4223
|
+
source: z.ZodObject<{
|
|
4224
|
+
entryRef: z.ZodString;
|
|
4225
|
+
messageRole: z.ZodOptional<z.ZodEnum<{
|
|
4226
|
+
toolResult: "toolResult";
|
|
4227
|
+
}>>;
|
|
4228
|
+
sourceType: z.ZodEnum<{
|
|
4229
|
+
"pi.custom": "pi.custom";
|
|
4230
|
+
"pi.custom_message": "pi.custom_message";
|
|
4231
|
+
"pi.message": "pi.message";
|
|
4232
|
+
"pi.compaction": "pi.compaction";
|
|
4233
|
+
"pi.branch_summary": "pi.branch_summary";
|
|
4234
|
+
}>;
|
|
4235
|
+
}, z.core.$strip>;
|
|
4236
|
+
}, z.core.$strip>>>;
|
|
4237
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
4238
|
+
failed: "failed";
|
|
4239
|
+
partial: "partial";
|
|
4240
|
+
resolved: "resolved";
|
|
4241
|
+
}>>;
|
|
4242
|
+
project: z.ZodOptional<z.ZodString>;
|
|
4243
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
4244
|
+
scorecard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4245
|
+
costTotalUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4246
|
+
m2TokenOutcomeRatio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4247
|
+
m4ConsecutiveErrorMax: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4248
|
+
m5ContextUtilizationPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4249
|
+
m6OutputSurvivalPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4250
|
+
m7SpecHasConstraints: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4251
|
+
m7SpecHasExamples: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4252
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
4253
|
+
failed: "failed";
|
|
4254
|
+
partial: "partial";
|
|
4255
|
+
resolved: "resolved";
|
|
4256
|
+
}>>;
|
|
4257
|
+
retryTokensWasted: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4258
|
+
signalDensity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4259
|
+
specQualityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4260
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4261
|
+
withinSessionReverts: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4262
|
+
}, z.core.$strip>>>;
|
|
4263
|
+
sessionOrigin: z.ZodOptional<z.ZodEnum<{
|
|
4264
|
+
unknown: "unknown";
|
|
4265
|
+
user: "user";
|
|
4266
|
+
agent: "agent";
|
|
4267
|
+
}>>;
|
|
4268
|
+
source: z.ZodOptional<z.ZodString>;
|
|
4269
|
+
startTime: z.ZodISODateTime;
|
|
4270
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4271
|
+
tokensIn: z.ZodInt;
|
|
4272
|
+
tokensOut: z.ZodInt;
|
|
4273
|
+
toolCallCount: z.ZodInt;
|
|
4274
|
+
totalTokens: z.ZodInt;
|
|
4275
|
+
turnCount: z.ZodInt;
|
|
4276
|
+
turns: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4277
|
+
agentName: z.ZodOptional<z.ZodString>;
|
|
4278
|
+
content: z.ZodString;
|
|
4279
|
+
depth: z.ZodInt;
|
|
4280
|
+
entryType: z.ZodOptional<z.ZodEnum<{
|
|
4281
|
+
error: "error";
|
|
4282
|
+
text: "text";
|
|
4283
|
+
tool_use: "tool_use";
|
|
4284
|
+
tool_result: "tool_result";
|
|
4285
|
+
thinking: "thinking";
|
|
4286
|
+
system: "system";
|
|
4287
|
+
result: "result";
|
|
4288
|
+
}>>;
|
|
4289
|
+
hasThinking: z.ZodOptional<z.ZodBoolean>;
|
|
4290
|
+
index: z.ZodInt;
|
|
4291
|
+
observedModel: z.ZodOptional<z.ZodString>;
|
|
4292
|
+
parentIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4293
|
+
role: z.ZodEnum<{
|
|
4294
|
+
user: "user";
|
|
4295
|
+
system: "system";
|
|
4296
|
+
assistant: "assistant";
|
|
4297
|
+
tool: "tool";
|
|
4298
|
+
}>;
|
|
4299
|
+
sourceEntryRef: z.ZodOptional<z.ZodString>;
|
|
4300
|
+
stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4301
|
+
end_turn: "end_turn";
|
|
4302
|
+
cancelled: "cancelled";
|
|
4303
|
+
max_tokens: "max_tokens";
|
|
4304
|
+
max_turn_requests: "max_turn_requests";
|
|
4305
|
+
refusal: "refusal";
|
|
4306
|
+
}>>>;
|
|
4307
|
+
timestamp: z.ZodISODateTime;
|
|
4308
|
+
tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4309
|
+
tokensOut: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4310
|
+
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4311
|
+
arguments: z.ZodString;
|
|
4312
|
+
callEntryRef: z.ZodOptional<z.ZodString>;
|
|
4313
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4314
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4315
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
4316
|
+
id: z.ZodString;
|
|
4317
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
4318
|
+
name: z.ZodString;
|
|
4319
|
+
result: z.ZodString;
|
|
4320
|
+
resultEntryRef: z.ZodOptional<z.ZodString>;
|
|
4321
|
+
toolKind: z.ZodOptional<z.ZodEnum<{
|
|
4322
|
+
search: "search";
|
|
4323
|
+
other: "other";
|
|
4324
|
+
move: "move";
|
|
4325
|
+
fetch: "fetch";
|
|
4326
|
+
delete: "delete";
|
|
4327
|
+
read: "read";
|
|
4328
|
+
edit: "edit";
|
|
4329
|
+
execute: "execute";
|
|
4330
|
+
think: "think";
|
|
4331
|
+
}>>;
|
|
4332
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4333
|
+
completeness: z.ZodEnum<{
|
|
4334
|
+
unknown: "unknown";
|
|
4335
|
+
complete: "complete";
|
|
4336
|
+
partial: "partial";
|
|
4337
|
+
}>;
|
|
4338
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4339
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4340
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4341
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4342
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4343
|
+
source: z.ZodString;
|
|
4344
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4345
|
+
}, z.core.$strip>>>;
|
|
4346
|
+
ownerId: z.ZodString;
|
|
4347
|
+
scope: z.ZodEnum<{
|
|
4348
|
+
summary: "summary";
|
|
4349
|
+
assistant: "assistant";
|
|
4350
|
+
tool: "tool";
|
|
4351
|
+
}>;
|
|
4352
|
+
sourceEntryRef: z.ZodString;
|
|
4353
|
+
tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4354
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4355
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4356
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4357
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4358
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4359
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4360
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4361
|
+
}, z.core.$strip>>>;
|
|
4362
|
+
}, z.core.$strip>>>;
|
|
4363
|
+
}, z.core.$strip>>>;
|
|
4364
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4365
|
+
completeness: z.ZodEnum<{
|
|
4366
|
+
unknown: "unknown";
|
|
4367
|
+
complete: "complete";
|
|
4368
|
+
partial: "partial";
|
|
4369
|
+
}>;
|
|
4370
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4371
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4372
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4373
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4374
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4375
|
+
source: z.ZodString;
|
|
4376
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4377
|
+
}, z.core.$strip>>>;
|
|
4378
|
+
ownerId: z.ZodString;
|
|
4379
|
+
scope: z.ZodEnum<{
|
|
4380
|
+
summary: "summary";
|
|
4381
|
+
assistant: "assistant";
|
|
4382
|
+
tool: "tool";
|
|
4383
|
+
}>;
|
|
4384
|
+
sourceEntryRef: z.ZodString;
|
|
4385
|
+
tokens: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4386
|
+
cacheRead: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4387
|
+
cacheWrite: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4388
|
+
cacheWrite1h: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4389
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4390
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4391
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4392
|
+
totalTokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4393
|
+
}, z.core.$strip>>>;
|
|
4394
|
+
}, z.core.$strip>>>;
|
|
4395
|
+
}, z.core.$strip>>>;
|
|
4396
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
4397
|
+
}, z.core.$strip>>>;
|
|
4398
|
+
}, z.core.$strip>;
|
|
4399
|
+
export type TranscriptContent = z.infer<typeof zTranscriptContent>;
|
|
3935
4400
|
/**
|
|
3936
4401
|
* Value Domain Kind
|
|
3937
4402
|
*
|
|
@@ -5184,6 +5649,7 @@ export declare const zPublishNormalizedValues: z.ZodObject<{
|
|
|
5184
5649
|
codex: "codex";
|
|
5185
5650
|
opencode: "opencode";
|
|
5186
5651
|
antigravity: "antigravity";
|
|
5652
|
+
pi: "pi";
|
|
5187
5653
|
}>>;
|
|
5188
5654
|
rootHarness: z.ZodEnum<{
|
|
5189
5655
|
strike: "strike";
|
|
@@ -5193,6 +5659,7 @@ export declare const zPublishNormalizedValues: z.ZodObject<{
|
|
|
5193
5659
|
codex: "codex";
|
|
5194
5660
|
opencode: "opencode";
|
|
5195
5661
|
antigravity: "antigravity";
|
|
5662
|
+
pi: "pi";
|
|
5196
5663
|
}>;
|
|
5197
5664
|
schemaVersion: z.ZodString;
|
|
5198
5665
|
visibility: z.ZodEnum<{
|
|
@@ -5222,6 +5689,7 @@ export declare const zPublishAppliedState: z.ZodObject<{
|
|
|
5222
5689
|
codex: "codex";
|
|
5223
5690
|
opencode: "opencode";
|
|
5224
5691
|
antigravity: "antigravity";
|
|
5692
|
+
pi: "pi";
|
|
5225
5693
|
}>>;
|
|
5226
5694
|
rootHarness: z.ZodEnum<{
|
|
5227
5695
|
strike: "strike";
|
|
@@ -5231,6 +5699,7 @@ export declare const zPublishAppliedState: z.ZodObject<{
|
|
|
5231
5699
|
codex: "codex";
|
|
5232
5700
|
opencode: "opencode";
|
|
5233
5701
|
antigravity: "antigravity";
|
|
5702
|
+
pi: "pi";
|
|
5234
5703
|
}>;
|
|
5235
5704
|
schemaVersion: z.ZodString;
|
|
5236
5705
|
visibility: z.ZodEnum<{
|
|
@@ -5262,6 +5731,7 @@ export declare const zAuthoritativePublishResponse: z.ZodObject<{
|
|
|
5262
5731
|
codex: "codex";
|
|
5263
5732
|
opencode: "opencode";
|
|
5264
5733
|
antigravity: "antigravity";
|
|
5734
|
+
pi: "pi";
|
|
5265
5735
|
}>>;
|
|
5266
5736
|
rootHarness: z.ZodEnum<{
|
|
5267
5737
|
strike: "strike";
|
|
@@ -5271,6 +5741,7 @@ export declare const zAuthoritativePublishResponse: z.ZodObject<{
|
|
|
5271
5741
|
codex: "codex";
|
|
5272
5742
|
opencode: "opencode";
|
|
5273
5743
|
antigravity: "antigravity";
|
|
5744
|
+
pi: "pi";
|
|
5274
5745
|
}>;
|
|
5275
5746
|
schemaVersion: z.ZodString;
|
|
5276
5747
|
visibility: z.ZodEnum<{
|
|
@@ -5308,6 +5779,7 @@ export declare const zPullTranscriptInfo: z.ZodObject<{
|
|
|
5308
5779
|
codex: "codex";
|
|
5309
5780
|
opencode: "opencode";
|
|
5310
5781
|
antigravity: "antigravity";
|
|
5782
|
+
pi: "pi";
|
|
5311
5783
|
}>>;
|
|
5312
5784
|
license: z.ZodOptional<z.ZodEnum<{
|
|
5313
5785
|
"CC0-1.0": "CC0-1.0";
|
|
@@ -5345,6 +5817,7 @@ export declare const zPullListResponse: z.ZodObject<{
|
|
|
5345
5817
|
codex: "codex";
|
|
5346
5818
|
opencode: "opencode";
|
|
5347
5819
|
antigravity: "antigravity";
|
|
5820
|
+
pi: "pi";
|
|
5348
5821
|
}>>;
|
|
5349
5822
|
license: z.ZodOptional<z.ZodEnum<{
|
|
5350
5823
|
"CC0-1.0": "CC0-1.0";
|
|
@@ -5411,6 +5884,7 @@ export declare const zAuthoritativePublishRequest: z.ZodObject<{
|
|
|
5411
5884
|
codex: "codex";
|
|
5412
5885
|
opencode: "opencode";
|
|
5413
5886
|
antigravity: "antigravity";
|
|
5887
|
+
pi: "pi";
|
|
5414
5888
|
}>;
|
|
5415
5889
|
hasThinking: z.ZodBoolean;
|
|
5416
5890
|
hasToolUse: z.ZodBoolean;
|
|
@@ -5489,6 +5963,7 @@ export declare const zAuthoritativePublishRequest: z.ZodObject<{
|
|
|
5489
5963
|
codex: "codex";
|
|
5490
5964
|
opencode: "opencode";
|
|
5491
5965
|
antigravity: "antigravity";
|
|
5966
|
+
pi: "pi";
|
|
5492
5967
|
}>;
|
|
5493
5968
|
hostSlug: z.ZodOptional<z.ZodString>;
|
|
5494
5969
|
model: z.ZodString;
|