@opengeni/contracts 0.31.1 → 0.35.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/chunk-7JZMI22I.js +126 -0
- package/dist/chunk-7JZMI22I.js.map +1 -0
- package/dist/{chunk-TQC34EGL.js → chunk-JRHJTJVH.js} +759 -295
- package/dist/chunk-JRHJTJVH.js.map +1 -0
- package/dist/google-drive.d.ts +103 -0
- package/dist/google-drive.js +96 -3
- package/dist/google-drive.js.map +1 -1
- package/dist/index.d.ts +652 -8
- package/dist/index.js +113 -5
- package/dist/slack-bot-scopes.d.ts +58 -1
- package/dist/slack-bot-scopes.js +15 -3
- package/dist/workspace-instruction-policies.d.ts +178 -0
- package/dist/workspace-state.d.ts +218 -4
- package/package.json +1 -1
- package/src/google-drive.ts +119 -0
- package/src/index.ts +546 -114
- package/src/slack-bot-scopes.ts +93 -1
- package/src/workspace-instruction-policies.ts +91 -3
- package/src/workspace-state.ts +112 -6
- package/dist/chunk-KGL5BVGF.js +0 -45
- package/dist/chunk-KGL5BVGF.js.map +0 -1
- package/dist/chunk-TQC34EGL.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -102,6 +102,7 @@ export declare const CAPABILITY_DESCRIPTORS: Record<SandboxBackend, CapabilityDe
|
|
|
102
102
|
export declare const ReasoningEffort: z.ZodEnum<{
|
|
103
103
|
high: "high";
|
|
104
104
|
low: "low";
|
|
105
|
+
max: "max";
|
|
105
106
|
medium: "medium";
|
|
106
107
|
minimal: "minimal";
|
|
107
108
|
none: "none";
|
|
@@ -702,6 +703,48 @@ export declare const CodexCompactionMode: z.ZodEnum<{
|
|
|
702
703
|
remote_v2: "remote_v2";
|
|
703
704
|
}>;
|
|
704
705
|
export type CodexCompactionMode = z.infer<typeof CodexCompactionMode>;
|
|
706
|
+
export declare const SlackReactionEmojiName: z.ZodString;
|
|
707
|
+
export type SlackReactionEmojiName = z.infer<typeof SlackReactionEmojiName>;
|
|
708
|
+
export declare const WorkspaceSlackReactionChannelPolicy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
709
|
+
mode: z.ZodLiteral<"bot_member">;
|
|
710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
711
|
+
mode: z.ZodLiteral<"allowlist">;
|
|
712
|
+
channelIds: z.ZodArray<z.ZodString>;
|
|
713
|
+
}, z.core.$strict>], "mode">;
|
|
714
|
+
export type WorkspaceSlackReactionChannelPolicy = z.infer<typeof WorkspaceSlackReactionChannelPolicy>;
|
|
715
|
+
export declare const WorkspaceSlackReactionSummonSettings: z.ZodObject<{
|
|
716
|
+
enabled: z.ZodBoolean;
|
|
717
|
+
emoji: z.ZodString;
|
|
718
|
+
channelPolicy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
719
|
+
mode: z.ZodLiteral<"bot_member">;
|
|
720
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
721
|
+
mode: z.ZodLiteral<"allowlist">;
|
|
722
|
+
channelIds: z.ZodArray<z.ZodString>;
|
|
723
|
+
}, z.core.$strict>], "mode">;
|
|
724
|
+
}, z.core.$strict>;
|
|
725
|
+
export type WorkspaceSlackReactionSummonSettings = z.infer<typeof WorkspaceSlackReactionSummonSettings>;
|
|
726
|
+
export declare const SlackReactionChannel: z.ZodObject<{
|
|
727
|
+
id: z.ZodString;
|
|
728
|
+
name: z.ZodNullable<z.ZodString>;
|
|
729
|
+
isPrivate: z.ZodBoolean;
|
|
730
|
+
}, z.core.$strip>;
|
|
731
|
+
export type SlackReactionChannel = z.infer<typeof SlackReactionChannel>;
|
|
732
|
+
export declare const SlackReactionChannelListResponse: z.ZodObject<{
|
|
733
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
734
|
+
id: z.ZodString;
|
|
735
|
+
name: z.ZodNullable<z.ZodString>;
|
|
736
|
+
isPrivate: z.ZodBoolean;
|
|
737
|
+
}, z.core.$strip>>;
|
|
738
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
739
|
+
}, z.core.$strip>;
|
|
740
|
+
export type SlackReactionChannelListResponse = z.infer<typeof SlackReactionChannelListResponse>;
|
|
741
|
+
export declare const DEFAULT_WORKSPACE_SLACK_REACTION_SUMMON_SETTINGS: {
|
|
742
|
+
readonly enabled: false;
|
|
743
|
+
readonly emoji: "genie";
|
|
744
|
+
readonly channelPolicy: {
|
|
745
|
+
readonly mode: "bot_member";
|
|
746
|
+
};
|
|
747
|
+
};
|
|
705
748
|
export declare const WorkspaceSettingsSchema: z.ZodObject<{
|
|
706
749
|
memoryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
707
750
|
voiceInput: z.ZodOptional<z.ZodObject<{
|
|
@@ -764,6 +807,16 @@ export declare const WorkspaceSettingsSchema: z.ZodObject<{
|
|
|
764
807
|
portable: "portable";
|
|
765
808
|
remote_v2: "remote_v2";
|
|
766
809
|
}>>;
|
|
810
|
+
slackReactionSummon: z.ZodOptional<z.ZodObject<{
|
|
811
|
+
enabled: z.ZodBoolean;
|
|
812
|
+
emoji: z.ZodString;
|
|
813
|
+
channelPolicy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
814
|
+
mode: z.ZodLiteral<"bot_member">;
|
|
815
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
816
|
+
mode: z.ZodLiteral<"allowlist">;
|
|
817
|
+
channelIds: z.ZodArray<z.ZodString>;
|
|
818
|
+
}, z.core.$strict>], "mode">;
|
|
819
|
+
}, z.core.$strict>>;
|
|
767
820
|
}, z.core.$loose>;
|
|
768
821
|
export type WorkspaceSettings = z.infer<typeof WorkspaceSettingsSchema>;
|
|
769
822
|
export declare function resolveWorkspaceMemoryEnabled(settings: unknown): boolean;
|
|
@@ -778,6 +831,8 @@ export declare function resolveWorkspaceCodexCompactionDefault(settings: unknown
|
|
|
778
831
|
* availability (enabled when a provider is configured).
|
|
779
832
|
*/
|
|
780
833
|
export declare function resolveWorkspaceVoiceInputEnabled(settings: unknown): boolean | null;
|
|
834
|
+
export declare function resolveWorkspaceSlackReactionSummonSettings(settings: unknown): WorkspaceSlackReactionSummonSettings;
|
|
835
|
+
export declare function workspaceSlackReactionChannelAllowed(settings: WorkspaceSlackReactionSummonSettings, channelId: string): boolean;
|
|
781
836
|
export declare const UpdateWorkspaceSettingsRequest: z.ZodObject<{
|
|
782
837
|
memoryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
783
838
|
voiceInput: z.ZodOptional<z.ZodObject<{
|
|
@@ -840,6 +895,16 @@ export declare const UpdateWorkspaceSettingsRequest: z.ZodObject<{
|
|
|
840
895
|
portable: "portable";
|
|
841
896
|
remote_v2: "remote_v2";
|
|
842
897
|
}>>;
|
|
898
|
+
slackReactionSummon: z.ZodOptional<z.ZodObject<{
|
|
899
|
+
enabled: z.ZodBoolean;
|
|
900
|
+
emoji: z.ZodString;
|
|
901
|
+
channelPolicy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
902
|
+
mode: z.ZodLiteral<"bot_member">;
|
|
903
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
904
|
+
mode: z.ZodLiteral<"allowlist">;
|
|
905
|
+
channelIds: z.ZodArray<z.ZodString>;
|
|
906
|
+
}, z.core.$strict>], "mode">;
|
|
907
|
+
}, z.core.$strict>>;
|
|
843
908
|
}, z.core.$loose>;
|
|
844
909
|
export type UpdateWorkspaceSettingsRequest = z.infer<typeof UpdateWorkspaceSettingsRequest>;
|
|
845
910
|
export declare const SetWorkspaceDefaultRigRequest: z.ZodObject<{
|
|
@@ -2631,6 +2696,13 @@ export declare const FileResourceRef: z.ZodObject<{
|
|
|
2631
2696
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
2632
2697
|
}, z.core.$strip>;
|
|
2633
2698
|
export type FileResourceRef = z.infer<typeof FileResourceRef>;
|
|
2699
|
+
/**
|
|
2700
|
+
* Private durable metadata carried on user history items. It contains only
|
|
2701
|
+
* stable file references, never file bytes, and is removed before model wire
|
|
2702
|
+
* serialization. Keeping the references beside the message lets a later turn
|
|
2703
|
+
* reconstruct the same typed attachment input after a model switch or retry.
|
|
2704
|
+
*/
|
|
2705
|
+
export declare const MODEL_ATTACHMENT_REFS_FIELD: "opengeni_attachment_refs";
|
|
2634
2706
|
export declare const ResourceRef: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2635
2707
|
kind: z.ZodLiteral<"repository">;
|
|
2636
2708
|
uri: z.ZodString;
|
|
@@ -2683,6 +2755,7 @@ export declare function resourceMountPathCollisionKey(path: string): string;
|
|
|
2683
2755
|
*/
|
|
2684
2756
|
export declare function defaultRepositoryMountPath(uri: string): string;
|
|
2685
2757
|
/** Resolve the exact mount used by API normalization, manifests, and clone hooks. */
|
|
2758
|
+
export declare const DEFAULT_FILE_RESOURCE_MOUNT_ROOT: ".opengeni/files";
|
|
2686
2759
|
export declare function resourceMountPath(resource: ResourceRef): string;
|
|
2687
2760
|
/** Fail before sandbox execution when two resources share a portable path. */
|
|
2688
2761
|
export declare function assertUniqueResourceMountPaths(resources: readonly ResourceRef[]): void;
|
|
@@ -2791,6 +2864,12 @@ export declare const DocumentSearchMode: z.ZodEnum<{
|
|
|
2791
2864
|
vector: "vector";
|
|
2792
2865
|
}>;
|
|
2793
2866
|
export type DocumentSearchMode = z.infer<typeof DocumentSearchMode>;
|
|
2867
|
+
export declare const DocumentAuthorityKind: z.ZodEnum<{
|
|
2868
|
+
organization: "organization";
|
|
2869
|
+
personal: "personal";
|
|
2870
|
+
workspace: "workspace";
|
|
2871
|
+
}>;
|
|
2872
|
+
export type DocumentAuthorityKind = z.infer<typeof DocumentAuthorityKind>;
|
|
2794
2873
|
export declare const DocumentVisibility: z.ZodEnum<{
|
|
2795
2874
|
private: "private";
|
|
2796
2875
|
workspace: "workspace";
|
|
@@ -2855,6 +2934,13 @@ export declare const Document: z.ZodObject<{
|
|
|
2855
2934
|
sourceUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
2856
2935
|
sourceVersion: z.ZodNullable<z.ZodString>;
|
|
2857
2936
|
aclTags: z.ZodArray<z.ZodString>;
|
|
2937
|
+
authorityKind: z.ZodEnum<{
|
|
2938
|
+
organization: "organization";
|
|
2939
|
+
personal: "personal";
|
|
2940
|
+
workspace: "workspace";
|
|
2941
|
+
}>;
|
|
2942
|
+
authorityWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
2943
|
+
authoritySubjectId: z.ZodNullable<z.ZodString>;
|
|
2858
2944
|
visibility: z.ZodEnum<{
|
|
2859
2945
|
private: "private";
|
|
2860
2946
|
workspace: "workspace";
|
|
@@ -2918,8 +3004,62 @@ export declare const DocumentSearchResult: z.ZodObject<{
|
|
|
2918
3004
|
sourceUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
2919
3005
|
sourceVersion: z.ZodNullable<z.ZodString>;
|
|
2920
3006
|
aclTags: z.ZodArray<z.ZodString>;
|
|
3007
|
+
authorityKind: z.ZodEnum<{
|
|
3008
|
+
organization: "organization";
|
|
3009
|
+
personal: "personal";
|
|
3010
|
+
workspace: "workspace";
|
|
3011
|
+
}>;
|
|
3012
|
+
authorityWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
3013
|
+
authoritySubjectId: z.ZodNullable<z.ZodString>;
|
|
2921
3014
|
}, z.core.$strip>;
|
|
2922
3015
|
export type DocumentSearchResult = z.infer<typeof DocumentSearchResult>;
|
|
3016
|
+
export declare const DocumentSearchResponse: z.ZodObject<{
|
|
3017
|
+
results: z.ZodArray<z.ZodObject<{
|
|
3018
|
+
chunkId: z.ZodString;
|
|
3019
|
+
workspaceId: z.ZodString;
|
|
3020
|
+
documentId: z.ZodString;
|
|
3021
|
+
baseId: z.ZodString;
|
|
3022
|
+
fileId: z.ZodString;
|
|
3023
|
+
title: z.ZodString;
|
|
3024
|
+
text: z.ZodString;
|
|
3025
|
+
score: z.ZodNumber;
|
|
3026
|
+
matchType: z.ZodEnum<{
|
|
3027
|
+
hybrid: "hybrid";
|
|
3028
|
+
keyword: "keyword";
|
|
3029
|
+
vector: "vector";
|
|
3030
|
+
}>;
|
|
3031
|
+
vectorScore: z.ZodNullable<z.ZodNumber>;
|
|
3032
|
+
keywordScore: z.ZodNullable<z.ZodNumber>;
|
|
3033
|
+
chunkIndex: z.ZodNumber;
|
|
3034
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3035
|
+
sourceKind: z.ZodEnum<{
|
|
3036
|
+
chat: "chat";
|
|
3037
|
+
document: "document";
|
|
3038
|
+
email: "email";
|
|
3039
|
+
manual_upload: "manual_upload";
|
|
3040
|
+
meeting_transcript: "meeting_transcript";
|
|
3041
|
+
other: "other";
|
|
3042
|
+
repository: "repository";
|
|
3043
|
+
web: "web";
|
|
3044
|
+
}>;
|
|
3045
|
+
sourceUri: z.ZodNullable<z.ZodString>;
|
|
3046
|
+
sourceExternalId: z.ZodNullable<z.ZodString>;
|
|
3047
|
+
sourceTitle: z.ZodNullable<z.ZodString>;
|
|
3048
|
+
sourceAuthor: z.ZodNullable<z.ZodString>;
|
|
3049
|
+
sourceCreatedAt: z.ZodNullable<z.ZodString>;
|
|
3050
|
+
sourceUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
3051
|
+
sourceVersion: z.ZodNullable<z.ZodString>;
|
|
3052
|
+
aclTags: z.ZodArray<z.ZodString>;
|
|
3053
|
+
authorityKind: z.ZodEnum<{
|
|
3054
|
+
organization: "organization";
|
|
3055
|
+
personal: "personal";
|
|
3056
|
+
workspace: "workspace";
|
|
3057
|
+
}>;
|
|
3058
|
+
authorityWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
3059
|
+
authoritySubjectId: z.ZodNullable<z.ZodString>;
|
|
3060
|
+
}, z.core.$strip>>;
|
|
3061
|
+
}, z.core.$strip>;
|
|
3062
|
+
export type DocumentSearchResponse = z.infer<typeof DocumentSearchResponse>;
|
|
2923
3063
|
export declare const CreateDocumentBaseRequest: z.ZodObject<{
|
|
2924
3064
|
name: z.ZodString;
|
|
2925
3065
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2946,6 +3086,11 @@ export declare const AddDocumentRequest: z.ZodObject<{
|
|
|
2946
3086
|
sourceUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
2947
3087
|
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
2948
3088
|
aclTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3089
|
+
authorityKind: z.ZodOptional<z.ZodEnum<{
|
|
3090
|
+
organization: "organization";
|
|
3091
|
+
personal: "personal";
|
|
3092
|
+
workspace: "workspace";
|
|
3093
|
+
}>>;
|
|
2949
3094
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2950
3095
|
private: "private";
|
|
2951
3096
|
workspace: "workspace";
|
|
@@ -2958,6 +3103,11 @@ export declare const CreateKnowledgeDropRequest: z.ZodObject<{
|
|
|
2958
3103
|
fileId: z.ZodOptional<z.ZodString>;
|
|
2959
3104
|
filename: z.ZodOptional<z.ZodString>;
|
|
2960
3105
|
title: z.ZodOptional<z.ZodString>;
|
|
3106
|
+
authorityKind: z.ZodOptional<z.ZodEnum<{
|
|
3107
|
+
organization: "organization";
|
|
3108
|
+
personal: "personal";
|
|
3109
|
+
workspace: "workspace";
|
|
3110
|
+
}>>;
|
|
2961
3111
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2962
3112
|
private: "private";
|
|
2963
3113
|
workspace: "workspace";
|
|
@@ -3825,6 +3975,450 @@ export declare const SessionAuthorizationSurface: z.ZodEnum<{
|
|
|
3825
3975
|
toolspace: "toolspace";
|
|
3826
3976
|
}>;
|
|
3827
3977
|
export type SessionAuthorizationSurface = z.infer<typeof SessionAuthorizationSurface>;
|
|
3978
|
+
export declare const CodexRealtimeWebrtcVersion: z.ZodLiteral<"v3">;
|
|
3979
|
+
export type CodexRealtimeWebrtcVersion = z.infer<typeof CodexRealtimeWebrtcVersion>;
|
|
3980
|
+
export declare const CodexRealtimeVoice: z.ZodEnum<{
|
|
3981
|
+
arbor: "arbor";
|
|
3982
|
+
breeze: "breeze";
|
|
3983
|
+
cove: "cove";
|
|
3984
|
+
ember: "ember";
|
|
3985
|
+
juniper: "juniper";
|
|
3986
|
+
maple: "maple";
|
|
3987
|
+
sol: "sol";
|
|
3988
|
+
spruce: "spruce";
|
|
3989
|
+
vale: "vale";
|
|
3990
|
+
}>;
|
|
3991
|
+
export type CodexRealtimeVoice = z.infer<typeof CodexRealtimeVoice>;
|
|
3992
|
+
export declare const CodexRealtimeWebrtcRequest: z.ZodObject<{
|
|
3993
|
+
browserInstanceId: z.ZodString;
|
|
3994
|
+
ownerKey: z.ZodString;
|
|
3995
|
+
realtimeId: z.ZodString;
|
|
3996
|
+
operationId: z.ZodString;
|
|
3997
|
+
expectedVersion: z.ZodNumber;
|
|
3998
|
+
expectedConnectionEpoch: z.ZodNumber;
|
|
3999
|
+
rotate: z.ZodBoolean;
|
|
4000
|
+
browserActivation: z.ZodOptional<z.ZodLiteral<"required">>;
|
|
4001
|
+
sdp: z.ZodString;
|
|
4002
|
+
version: z.ZodLiteral<"v3">;
|
|
4003
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
4004
|
+
voice: z.ZodOptional<z.ZodEnum<{
|
|
4005
|
+
arbor: "arbor";
|
|
4006
|
+
breeze: "breeze";
|
|
4007
|
+
cove: "cove";
|
|
4008
|
+
ember: "ember";
|
|
4009
|
+
juniper: "juniper";
|
|
4010
|
+
maple: "maple";
|
|
4011
|
+
sol: "sol";
|
|
4012
|
+
spruce: "spruce";
|
|
4013
|
+
vale: "vale";
|
|
4014
|
+
}>>;
|
|
4015
|
+
}, z.core.$strict>;
|
|
4016
|
+
export type CodexRealtimeWebrtcRequest = z.infer<typeof CodexRealtimeWebrtcRequest>;
|
|
4017
|
+
export declare const CodexRealtimeWebrtcResponse: z.ZodObject<{
|
|
4018
|
+
sdp: z.ZodString;
|
|
4019
|
+
version: z.ZodLiteral<"v3">;
|
|
4020
|
+
model: z.ZodLiteral<"gpt-live-1-boulder-alpha">;
|
|
4021
|
+
connectionId: z.ZodString;
|
|
4022
|
+
connectionEpoch: z.ZodNumber;
|
|
4023
|
+
startupFenceSequence: z.ZodNumber;
|
|
4024
|
+
modeVersion: z.ZodNumber;
|
|
4025
|
+
replay: z.ZodBoolean;
|
|
4026
|
+
}, z.core.$strict>;
|
|
4027
|
+
export type CodexRealtimeWebrtcResponse = z.infer<typeof CodexRealtimeWebrtcResponse>;
|
|
4028
|
+
export declare const GatewayRealtimeConnectRequest: z.ZodObject<{
|
|
4029
|
+
browserInstanceId: z.ZodString;
|
|
4030
|
+
ownerKey: z.ZodString;
|
|
4031
|
+
realtimeId: z.ZodString;
|
|
4032
|
+
operationId: z.ZodString;
|
|
4033
|
+
expectedVersion: z.ZodNumber;
|
|
4034
|
+
expectedConnectionEpoch: z.ZodNumber;
|
|
4035
|
+
rotate: z.ZodBoolean;
|
|
4036
|
+
}, z.core.$strict>;
|
|
4037
|
+
export type GatewayRealtimeConnectRequest = z.infer<typeof GatewayRealtimeConnectRequest>;
|
|
4038
|
+
export declare const GatewayRealtimeInitialItem: z.ZodObject<{
|
|
4039
|
+
role: z.ZodEnum<{
|
|
4040
|
+
assistant: "assistant";
|
|
4041
|
+
developer: "developer";
|
|
4042
|
+
user: "user";
|
|
4043
|
+
}>;
|
|
4044
|
+
text: z.ZodString;
|
|
4045
|
+
}, z.core.$strip>;
|
|
4046
|
+
export type GatewayRealtimeInitialItem = z.infer<typeof GatewayRealtimeInitialItem>;
|
|
4047
|
+
export declare const GatewayRealtimeConnectResponse: z.ZodObject<{
|
|
4048
|
+
token: z.ZodString;
|
|
4049
|
+
url: z.ZodString;
|
|
4050
|
+
upstreamModelId: z.ZodString;
|
|
4051
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
4052
|
+
connectionId: z.ZodString;
|
|
4053
|
+
connectionEpoch: z.ZodNumber;
|
|
4054
|
+
startupFenceSequence: z.ZodNumber;
|
|
4055
|
+
modeVersion: z.ZodNumber;
|
|
4056
|
+
initialItems: z.ZodArray<z.ZodObject<{
|
|
4057
|
+
role: z.ZodEnum<{
|
|
4058
|
+
assistant: "assistant";
|
|
4059
|
+
developer: "developer";
|
|
4060
|
+
user: "user";
|
|
4061
|
+
}>;
|
|
4062
|
+
text: z.ZodString;
|
|
4063
|
+
}, z.core.$strip>>;
|
|
4064
|
+
instructions: z.ZodString;
|
|
4065
|
+
replay: z.ZodLiteral<false>;
|
|
4066
|
+
}, z.core.$strict>;
|
|
4067
|
+
export type GatewayRealtimeConnectResponse = z.infer<typeof GatewayRealtimeConnectResponse>;
|
|
4068
|
+
export declare const ActivateCodexRealtimeConnectionRequest: z.ZodObject<{
|
|
4069
|
+
browserInstanceId: z.ZodString;
|
|
4070
|
+
ownerKey: z.ZodString;
|
|
4071
|
+
operationId: z.ZodString;
|
|
4072
|
+
connectionEpoch: z.ZodNumber;
|
|
4073
|
+
expectedVersion: z.ZodNumber;
|
|
4074
|
+
expectedConnectionEpoch: z.ZodNumber;
|
|
4075
|
+
}, z.core.$strict>;
|
|
4076
|
+
export type ActivateCodexRealtimeConnectionRequest = z.infer<typeof ActivateCodexRealtimeConnectionRequest>;
|
|
4077
|
+
export declare const SessionRealtimeLedgerDirection: z.ZodEnum<{
|
|
4078
|
+
provider_in: "provider_in";
|
|
4079
|
+
provider_out: "provider_out";
|
|
4080
|
+
}>;
|
|
4081
|
+
export type SessionRealtimeLedgerDirection = z.infer<typeof SessionRealtimeLedgerDirection>;
|
|
4082
|
+
export declare const SessionRealtimeLedgerKind: z.ZodEnum<{
|
|
4083
|
+
assistant_transcript: "assistant_transcript";
|
|
4084
|
+
delegation_call: "delegation_call";
|
|
4085
|
+
delegation_progress: "delegation_progress";
|
|
4086
|
+
delegation_result: "delegation_result";
|
|
4087
|
+
error: "error";
|
|
4088
|
+
interruption: "interruption";
|
|
4089
|
+
session_update: "session_update";
|
|
4090
|
+
user_transcript: "user_transcript";
|
|
4091
|
+
}>;
|
|
4092
|
+
export type SessionRealtimeLedgerKind = z.infer<typeof SessionRealtimeLedgerKind>;
|
|
4093
|
+
export declare const SessionRealtimeLedgerEntry: z.ZodObject<{
|
|
4094
|
+
id: z.ZodString;
|
|
4095
|
+
realtimeId: z.ZodString;
|
|
4096
|
+
operationId: z.ZodString;
|
|
4097
|
+
connectionEpoch: z.ZodNumber;
|
|
4098
|
+
sequence: z.ZodNumber;
|
|
4099
|
+
direction: z.ZodEnum<{
|
|
4100
|
+
provider_in: "provider_in";
|
|
4101
|
+
provider_out: "provider_out";
|
|
4102
|
+
}>;
|
|
4103
|
+
kind: z.ZodEnum<{
|
|
4104
|
+
assistant_transcript: "assistant_transcript";
|
|
4105
|
+
delegation_call: "delegation_call";
|
|
4106
|
+
delegation_progress: "delegation_progress";
|
|
4107
|
+
delegation_result: "delegation_result";
|
|
4108
|
+
error: "error";
|
|
4109
|
+
interruption: "interruption";
|
|
4110
|
+
session_update: "session_update";
|
|
4111
|
+
user_transcript: "user_transcript";
|
|
4112
|
+
}>;
|
|
4113
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
4114
|
+
assistant: "assistant";
|
|
4115
|
+
user: "user";
|
|
4116
|
+
}>>;
|
|
4117
|
+
providerEventId: z.ZodNullable<z.ZodString>;
|
|
4118
|
+
delegationItemId: z.ZodNullable<z.ZodString>;
|
|
4119
|
+
sourceUpdateId: z.ZodNullable<z.ZodString>;
|
|
4120
|
+
historyItemId: z.ZodNullable<z.ZodString>;
|
|
4121
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4122
|
+
text: z.ZodNullable<z.ZodString>;
|
|
4123
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4124
|
+
clientAckedAt: z.ZodNullable<z.ZodString>;
|
|
4125
|
+
providerAckedAt: z.ZodNullable<z.ZodString>;
|
|
4126
|
+
createdAt: z.ZodString;
|
|
4127
|
+
updatedAt: z.ZodString;
|
|
4128
|
+
}, z.core.$strict>;
|
|
4129
|
+
export type SessionRealtimeLedgerEntry = z.infer<typeof SessionRealtimeLedgerEntry>;
|
|
4130
|
+
export declare const SessionRealtimeInboundEntry: z.ZodObject<{
|
|
4131
|
+
operationId: z.ZodString;
|
|
4132
|
+
kind: z.ZodEnum<{
|
|
4133
|
+
assistant_transcript: "assistant_transcript";
|
|
4134
|
+
delegation_call: "delegation_call";
|
|
4135
|
+
error: "error";
|
|
4136
|
+
interruption: "interruption";
|
|
4137
|
+
user_transcript: "user_transcript";
|
|
4138
|
+
}>;
|
|
4139
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4140
|
+
assistant: "assistant";
|
|
4141
|
+
user: "user";
|
|
4142
|
+
}>>>;
|
|
4143
|
+
providerEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4144
|
+
delegationItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4145
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4146
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4147
|
+
}, z.core.$strict>;
|
|
4148
|
+
export type SessionRealtimeInboundEntry = z.infer<typeof SessionRealtimeInboundEntry>;
|
|
4149
|
+
export declare const SyncSessionRealtimeLedgerRequest: z.ZodObject<{
|
|
4150
|
+
browserInstanceId: z.ZodString;
|
|
4151
|
+
ownerKey: z.ZodString;
|
|
4152
|
+
expectedVersion: z.ZodNumber;
|
|
4153
|
+
connectionId: z.ZodString;
|
|
4154
|
+
connectionEpoch: z.ZodNumber;
|
|
4155
|
+
entries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4156
|
+
operationId: z.ZodString;
|
|
4157
|
+
kind: z.ZodEnum<{
|
|
4158
|
+
assistant_transcript: "assistant_transcript";
|
|
4159
|
+
delegation_call: "delegation_call";
|
|
4160
|
+
error: "error";
|
|
4161
|
+
interruption: "interruption";
|
|
4162
|
+
user_transcript: "user_transcript";
|
|
4163
|
+
}>;
|
|
4164
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4165
|
+
assistant: "assistant";
|
|
4166
|
+
user: "user";
|
|
4167
|
+
}>>>;
|
|
4168
|
+
providerEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4169
|
+
delegationItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4170
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4171
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4172
|
+
}, z.core.$strict>>>;
|
|
4173
|
+
clientAckThroughSequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4174
|
+
providerAckSequences: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4175
|
+
providerStarted: z.ZodOptional<z.ZodObject<{
|
|
4176
|
+
providerSessionId: z.ZodString;
|
|
4177
|
+
providerEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4178
|
+
}, z.core.$strict>>;
|
|
4179
|
+
}, z.core.$strict>;
|
|
4180
|
+
export type SyncSessionRealtimeLedgerRequest = z.infer<typeof SyncSessionRealtimeLedgerRequest>;
|
|
4181
|
+
export declare const SyncSessionRealtimeLedgerResponse: z.ZodObject<{
|
|
4182
|
+
accepted: z.ZodArray<z.ZodObject<{
|
|
4183
|
+
entry: z.ZodObject<{
|
|
4184
|
+
id: z.ZodString;
|
|
4185
|
+
realtimeId: z.ZodString;
|
|
4186
|
+
operationId: z.ZodString;
|
|
4187
|
+
connectionEpoch: z.ZodNumber;
|
|
4188
|
+
sequence: z.ZodNumber;
|
|
4189
|
+
direction: z.ZodEnum<{
|
|
4190
|
+
provider_in: "provider_in";
|
|
4191
|
+
provider_out: "provider_out";
|
|
4192
|
+
}>;
|
|
4193
|
+
kind: z.ZodEnum<{
|
|
4194
|
+
assistant_transcript: "assistant_transcript";
|
|
4195
|
+
delegation_call: "delegation_call";
|
|
4196
|
+
delegation_progress: "delegation_progress";
|
|
4197
|
+
delegation_result: "delegation_result";
|
|
4198
|
+
error: "error";
|
|
4199
|
+
interruption: "interruption";
|
|
4200
|
+
session_update: "session_update";
|
|
4201
|
+
user_transcript: "user_transcript";
|
|
4202
|
+
}>;
|
|
4203
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
4204
|
+
assistant: "assistant";
|
|
4205
|
+
user: "user";
|
|
4206
|
+
}>>;
|
|
4207
|
+
providerEventId: z.ZodNullable<z.ZodString>;
|
|
4208
|
+
delegationItemId: z.ZodNullable<z.ZodString>;
|
|
4209
|
+
sourceUpdateId: z.ZodNullable<z.ZodString>;
|
|
4210
|
+
historyItemId: z.ZodNullable<z.ZodString>;
|
|
4211
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4212
|
+
text: z.ZodNullable<z.ZodString>;
|
|
4213
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4214
|
+
clientAckedAt: z.ZodNullable<z.ZodString>;
|
|
4215
|
+
providerAckedAt: z.ZodNullable<z.ZodString>;
|
|
4216
|
+
createdAt: z.ZodString;
|
|
4217
|
+
updatedAt: z.ZodString;
|
|
4218
|
+
}, z.core.$strict>;
|
|
4219
|
+
replay: z.ZodBoolean;
|
|
4220
|
+
}, z.core.$strict>>;
|
|
4221
|
+
outbound: z.ZodArray<z.ZodObject<{
|
|
4222
|
+
id: z.ZodString;
|
|
4223
|
+
realtimeId: z.ZodString;
|
|
4224
|
+
operationId: z.ZodString;
|
|
4225
|
+
connectionEpoch: z.ZodNumber;
|
|
4226
|
+
sequence: z.ZodNumber;
|
|
4227
|
+
direction: z.ZodEnum<{
|
|
4228
|
+
provider_in: "provider_in";
|
|
4229
|
+
provider_out: "provider_out";
|
|
4230
|
+
}>;
|
|
4231
|
+
kind: z.ZodEnum<{
|
|
4232
|
+
assistant_transcript: "assistant_transcript";
|
|
4233
|
+
delegation_call: "delegation_call";
|
|
4234
|
+
delegation_progress: "delegation_progress";
|
|
4235
|
+
delegation_result: "delegation_result";
|
|
4236
|
+
error: "error";
|
|
4237
|
+
interruption: "interruption";
|
|
4238
|
+
session_update: "session_update";
|
|
4239
|
+
user_transcript: "user_transcript";
|
|
4240
|
+
}>;
|
|
4241
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
4242
|
+
assistant: "assistant";
|
|
4243
|
+
user: "user";
|
|
4244
|
+
}>>;
|
|
4245
|
+
providerEventId: z.ZodNullable<z.ZodString>;
|
|
4246
|
+
delegationItemId: z.ZodNullable<z.ZodString>;
|
|
4247
|
+
sourceUpdateId: z.ZodNullable<z.ZodString>;
|
|
4248
|
+
historyItemId: z.ZodNullable<z.ZodString>;
|
|
4249
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4250
|
+
text: z.ZodNullable<z.ZodString>;
|
|
4251
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4252
|
+
clientAckedAt: z.ZodNullable<z.ZodString>;
|
|
4253
|
+
providerAckedAt: z.ZodNullable<z.ZodString>;
|
|
4254
|
+
createdAt: z.ZodString;
|
|
4255
|
+
updatedAt: z.ZodString;
|
|
4256
|
+
}, z.core.$strict>>;
|
|
4257
|
+
}, z.core.$strict>;
|
|
4258
|
+
export type SyncSessionRealtimeLedgerResponse = z.infer<typeof SyncSessionRealtimeLedgerResponse>;
|
|
4259
|
+
export declare const SessionRealtimeModel: z.ZodEnum<{
|
|
4260
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4261
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4262
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4263
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4264
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4265
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4266
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4267
|
+
}>;
|
|
4268
|
+
export type SessionRealtimeModel = z.infer<typeof SessionRealtimeModel>;
|
|
4269
|
+
export declare const WorkspaceRealtimeModelCatalogItem: z.ZodObject<{
|
|
4270
|
+
id: z.ZodEnum<{
|
|
4271
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4272
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4273
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4274
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4275
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4276
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4277
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4278
|
+
}>;
|
|
4279
|
+
label: z.ZodString;
|
|
4280
|
+
provider: z.ZodEnum<{
|
|
4281
|
+
"Connected Codex": "Connected Codex";
|
|
4282
|
+
OpenGeni: "OpenGeni";
|
|
4283
|
+
"Your Gateway": "Your Gateway";
|
|
4284
|
+
}>;
|
|
4285
|
+
description: z.ZodString;
|
|
4286
|
+
available: z.ZodBoolean;
|
|
4287
|
+
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
4288
|
+
recommended: z.ZodBoolean;
|
|
4289
|
+
}, z.core.$strip>;
|
|
4290
|
+
export type WorkspaceRealtimeModelCatalogItem = z.infer<typeof WorkspaceRealtimeModelCatalogItem>;
|
|
4291
|
+
export declare const WorkspaceRealtimeModelCatalogResponse: z.ZodObject<{
|
|
4292
|
+
models: z.ZodArray<z.ZodObject<{
|
|
4293
|
+
id: z.ZodEnum<{
|
|
4294
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4295
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4296
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4297
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4298
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4299
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4300
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4301
|
+
}>;
|
|
4302
|
+
label: z.ZodString;
|
|
4303
|
+
provider: z.ZodEnum<{
|
|
4304
|
+
"Connected Codex": "Connected Codex";
|
|
4305
|
+
OpenGeni: "OpenGeni";
|
|
4306
|
+
"Your Gateway": "Your Gateway";
|
|
4307
|
+
}>;
|
|
4308
|
+
description: z.ZodString;
|
|
4309
|
+
available: z.ZodBoolean;
|
|
4310
|
+
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
4311
|
+
recommended: z.ZodBoolean;
|
|
4312
|
+
}, z.core.$strip>>;
|
|
4313
|
+
}, z.core.$strip>;
|
|
4314
|
+
export type WorkspaceRealtimeModelCatalogResponse = z.infer<typeof WorkspaceRealtimeModelCatalogResponse>;
|
|
4315
|
+
export declare const SessionRealtimeState: z.ZodEnum<{
|
|
4316
|
+
active: "active";
|
|
4317
|
+
ended: "ended";
|
|
4318
|
+
}>;
|
|
4319
|
+
export type SessionRealtimeState = z.infer<typeof SessionRealtimeState>;
|
|
4320
|
+
export declare const SessionRealtimeEndReason: z.ZodEnum<{
|
|
4321
|
+
browser_unload: "browser_unload";
|
|
4322
|
+
lease_expired: "lease_expired";
|
|
4323
|
+
user_stop: "user_stop";
|
|
4324
|
+
}>;
|
|
4325
|
+
export type SessionRealtimeEndReason = z.infer<typeof SessionRealtimeEndReason>;
|
|
4326
|
+
export declare const SessionRealtimeMode: z.ZodObject<{
|
|
4327
|
+
id: z.ZodString;
|
|
4328
|
+
sessionId: z.ZodString;
|
|
4329
|
+
operationId: z.ZodString;
|
|
4330
|
+
browserInstanceId: z.ZodString;
|
|
4331
|
+
model: z.ZodEnum<{
|
|
4332
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4333
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4334
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4335
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4336
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4337
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4338
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4339
|
+
}>;
|
|
4340
|
+
state: z.ZodEnum<{
|
|
4341
|
+
active: "active";
|
|
4342
|
+
ended: "ended";
|
|
4343
|
+
}>;
|
|
4344
|
+
version: z.ZodNumber;
|
|
4345
|
+
connectionEpoch: z.ZodNumber;
|
|
4346
|
+
leaseExpiresAt: z.ZodString;
|
|
4347
|
+
lastHeartbeatAt: z.ZodString;
|
|
4348
|
+
startedAt: z.ZodString;
|
|
4349
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4350
|
+
endReason: z.ZodNullable<z.ZodEnum<{
|
|
4351
|
+
browser_unload: "browser_unload";
|
|
4352
|
+
lease_expired: "lease_expired";
|
|
4353
|
+
user_stop: "user_stop";
|
|
4354
|
+
}>>;
|
|
4355
|
+
}, z.core.$strip>;
|
|
4356
|
+
export type SessionRealtimeMode = z.infer<typeof SessionRealtimeMode>;
|
|
4357
|
+
export declare const BeginSessionRealtimeRequest: z.ZodObject<{
|
|
4358
|
+
browserInstanceId: z.ZodString;
|
|
4359
|
+
ownerKey: z.ZodString;
|
|
4360
|
+
operationId: z.ZodString;
|
|
4361
|
+
model: z.ZodEnum<{
|
|
4362
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4363
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4364
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4365
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4366
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4367
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4368
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4369
|
+
}>;
|
|
4370
|
+
}, z.core.$strip>;
|
|
4371
|
+
export type BeginSessionRealtimeRequest = z.infer<typeof BeginSessionRealtimeRequest>;
|
|
4372
|
+
export declare const RenewSessionRealtimeRequest: z.ZodObject<{
|
|
4373
|
+
browserInstanceId: z.ZodString;
|
|
4374
|
+
ownerKey: z.ZodString;
|
|
4375
|
+
expectedVersion: z.ZodNumber;
|
|
4376
|
+
}, z.core.$strip>;
|
|
4377
|
+
export type RenewSessionRealtimeRequest = z.infer<typeof RenewSessionRealtimeRequest>;
|
|
4378
|
+
export declare const EndSessionRealtimeRequest: z.ZodObject<{
|
|
4379
|
+
browserInstanceId: z.ZodString;
|
|
4380
|
+
ownerKey: z.ZodString;
|
|
4381
|
+
expectedVersion: z.ZodNumber;
|
|
4382
|
+
reason: z.ZodEnum<{
|
|
4383
|
+
browser_unload: "browser_unload";
|
|
4384
|
+
user_stop: "user_stop";
|
|
4385
|
+
}>;
|
|
4386
|
+
}, z.core.$strip>;
|
|
4387
|
+
export type EndSessionRealtimeRequest = z.infer<typeof EndSessionRealtimeRequest>;
|
|
4388
|
+
export declare const SessionRealtimeMutationResponse: z.ZodObject<{
|
|
4389
|
+
mode: z.ZodObject<{
|
|
4390
|
+
id: z.ZodString;
|
|
4391
|
+
sessionId: z.ZodString;
|
|
4392
|
+
operationId: z.ZodString;
|
|
4393
|
+
browserInstanceId: z.ZodString;
|
|
4394
|
+
model: z.ZodEnum<{
|
|
4395
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4396
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4397
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4398
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4399
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4400
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4401
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4402
|
+
}>;
|
|
4403
|
+
state: z.ZodEnum<{
|
|
4404
|
+
active: "active";
|
|
4405
|
+
ended: "ended";
|
|
4406
|
+
}>;
|
|
4407
|
+
version: z.ZodNumber;
|
|
4408
|
+
connectionEpoch: z.ZodNumber;
|
|
4409
|
+
leaseExpiresAt: z.ZodString;
|
|
4410
|
+
lastHeartbeatAt: z.ZodString;
|
|
4411
|
+
startedAt: z.ZodString;
|
|
4412
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4413
|
+
endReason: z.ZodNullable<z.ZodEnum<{
|
|
4414
|
+
browser_unload: "browser_unload";
|
|
4415
|
+
lease_expired: "lease_expired";
|
|
4416
|
+
user_stop: "user_stop";
|
|
4417
|
+
}>>;
|
|
4418
|
+
}, z.core.$strip>;
|
|
4419
|
+
replay: z.ZodBoolean;
|
|
4420
|
+
}, z.core.$strip>;
|
|
4421
|
+
export type SessionRealtimeMutationResponse = z.infer<typeof SessionRealtimeMutationResponse>;
|
|
3828
4422
|
export declare const SessionAuthorizationOperation: z.ZodEnum<{
|
|
3829
4423
|
"session.append": "session.append";
|
|
3830
4424
|
"session.approval.write": "session.approval.write";
|
|
@@ -3850,6 +4444,8 @@ export declare const SessionAuthorizationOperation: z.ZodEnum<{
|
|
|
3850
4444
|
"session.queue.control": "session.queue.control";
|
|
3851
4445
|
"session.queue.read": "session.queue.read";
|
|
3852
4446
|
"session.read": "session.read";
|
|
4447
|
+
"session.realtime.control": "session.realtime.control";
|
|
4448
|
+
"session.realtime.start": "session.realtime.start";
|
|
3853
4449
|
"session.steer": "session.steer";
|
|
3854
4450
|
"session.stream.acknowledge": "session.stream.acknowledge";
|
|
3855
4451
|
"session.stream.read": "session.stream.read";
|
|
@@ -4011,6 +4607,7 @@ export declare const SessionTurn: z.ZodObject<{
|
|
|
4011
4607
|
reasoningEffort: z.ZodEnum<{
|
|
4012
4608
|
high: "high";
|
|
4013
4609
|
low: "low";
|
|
4610
|
+
max: "max";
|
|
4014
4611
|
medium: "medium";
|
|
4015
4612
|
minimal: "minimal";
|
|
4016
4613
|
none: "none";
|
|
@@ -4225,6 +4822,7 @@ export declare const ComposerDraft: z.ZodObject<{
|
|
|
4225
4822
|
reasoningEffort: z.ZodEnum<{
|
|
4226
4823
|
high: "high";
|
|
4227
4824
|
low: "low";
|
|
4825
|
+
max: "max";
|
|
4228
4826
|
medium: "medium";
|
|
4229
4827
|
minimal: "minimal";
|
|
4230
4828
|
none: "none";
|
|
@@ -4298,6 +4896,7 @@ export declare const SaveComposerDraftRequest: z.ZodObject<{
|
|
|
4298
4896
|
reasoningEffort: z.ZodEnum<{
|
|
4299
4897
|
high: "high";
|
|
4300
4898
|
low: "low";
|
|
4899
|
+
max: "max";
|
|
4301
4900
|
medium: "medium";
|
|
4302
4901
|
minimal: "minimal";
|
|
4303
4902
|
none: "none";
|
|
@@ -4493,6 +5092,7 @@ export declare const NewSessionDraft: z.ZodObject<{
|
|
|
4493
5092
|
reasoningEffort: z.ZodEnum<{
|
|
4494
5093
|
high: "high";
|
|
4495
5094
|
low: "low";
|
|
5095
|
+
max: "max";
|
|
4496
5096
|
medium: "medium";
|
|
4497
5097
|
minimal: "minimal";
|
|
4498
5098
|
none: "none";
|
|
@@ -4680,6 +5280,7 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
|
|
|
4680
5280
|
reasoningEffort: z.ZodEnum<{
|
|
4681
5281
|
high: "high";
|
|
4682
5282
|
low: "low";
|
|
5283
|
+
max: "max";
|
|
4683
5284
|
medium: "medium";
|
|
4684
5285
|
minimal: "minimal";
|
|
4685
5286
|
none: "none";
|
|
@@ -4833,6 +5434,7 @@ export declare const WORKSPACE_CONTROL_ACTOR_MAX_BYTES = 1024;
|
|
|
4833
5434
|
export declare const WORKSPACE_CONTROL_EVENT_MAX_BYTES: number;
|
|
4834
5435
|
export declare const SessionControlRequest: z.ZodObject<{
|
|
4835
5436
|
action: z.ZodEnum<{
|
|
5437
|
+
cancel: "cancel";
|
|
4836
5438
|
pause: "pause";
|
|
4837
5439
|
resume: "resume";
|
|
4838
5440
|
}>;
|
|
@@ -5032,6 +5634,7 @@ export declare const SessionSystemUpdatePayload: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
5032
5634
|
type: z.ZodLiteral<"child_terminal_result">;
|
|
5033
5635
|
childSessionId: z.ZodString;
|
|
5034
5636
|
status: z.ZodEnum<{
|
|
5637
|
+
cancelled: "cancelled";
|
|
5035
5638
|
failed: "failed";
|
|
5036
5639
|
idle: "idle";
|
|
5037
5640
|
}>;
|
|
@@ -5119,6 +5722,7 @@ export declare const SessionSystemUpdate: z.ZodObject<{
|
|
|
5119
5722
|
type: z.ZodLiteral<"child_terminal_result">;
|
|
5120
5723
|
childSessionId: z.ZodString;
|
|
5121
5724
|
status: z.ZodEnum<{
|
|
5725
|
+
cancelled: "cancelled";
|
|
5122
5726
|
failed: "failed";
|
|
5123
5727
|
idle: "idle";
|
|
5124
5728
|
}>;
|
|
@@ -5307,6 +5911,7 @@ export declare const SessionQueueSnapshot: z.ZodObject<{
|
|
|
5307
5911
|
reasoningEffort: z.ZodEnum<{
|
|
5308
5912
|
high: "high";
|
|
5309
5913
|
low: "low";
|
|
5914
|
+
max: "max";
|
|
5310
5915
|
medium: "medium";
|
|
5311
5916
|
minimal: "minimal";
|
|
5312
5917
|
none: "none";
|
|
@@ -5773,6 +6378,7 @@ export declare const ScheduledTaskAgentConfig: z.ZodObject<{
|
|
|
5773
6378
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
5774
6379
|
high: "high";
|
|
5775
6380
|
low: "low";
|
|
6381
|
+
max: "max";
|
|
5776
6382
|
medium: "medium";
|
|
5777
6383
|
minimal: "minimal";
|
|
5778
6384
|
none: "none";
|
|
@@ -5882,6 +6488,7 @@ export declare const ScheduledTask: z.ZodObject<{
|
|
|
5882
6488
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
5883
6489
|
high: "high";
|
|
5884
6490
|
low: "low";
|
|
6491
|
+
max: "max";
|
|
5885
6492
|
medium: "medium";
|
|
5886
6493
|
minimal: "minimal";
|
|
5887
6494
|
none: "none";
|
|
@@ -6027,6 +6634,7 @@ export declare const CreateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
6027
6634
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
6028
6635
|
high: "high";
|
|
6029
6636
|
low: "low";
|
|
6637
|
+
max: "max";
|
|
6030
6638
|
medium: "medium";
|
|
6031
6639
|
minimal: "minimal";
|
|
6032
6640
|
none: "none";
|
|
@@ -6137,6 +6745,7 @@ export declare const UpdateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
6137
6745
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
6138
6746
|
high: "high";
|
|
6139
6747
|
low: "low";
|
|
6748
|
+
max: "max";
|
|
6140
6749
|
medium: "medium";
|
|
6141
6750
|
minimal: "minimal";
|
|
6142
6751
|
none: "none";
|
|
@@ -7444,6 +8053,7 @@ export declare const Session: z.ZodObject<{
|
|
|
7444
8053
|
user: "user";
|
|
7445
8054
|
}>>;
|
|
7446
8055
|
instructions: z.ZodNullable<z.ZodString>;
|
|
8056
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
7447
8057
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7448
8058
|
kind: z.ZodLiteral<"repository">;
|
|
7449
8059
|
uri: z.ZodString;
|
|
@@ -7853,6 +8463,7 @@ export declare const CreateSessionResponse: z.ZodObject<{
|
|
|
7853
8463
|
user: "user";
|
|
7854
8464
|
}>>;
|
|
7855
8465
|
instructions: z.ZodNullable<z.ZodString>;
|
|
8466
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
7856
8467
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7857
8468
|
kind: z.ZodLiteral<"repository">;
|
|
7858
8469
|
uri: z.ZodString;
|
|
@@ -8268,6 +8879,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
8268
8879
|
user: "user";
|
|
8269
8880
|
}>>;
|
|
8270
8881
|
instructions: z.ZodNullable<z.ZodString>;
|
|
8882
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
8271
8883
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8272
8884
|
kind: z.ZodLiteral<"repository">;
|
|
8273
8885
|
uri: z.ZodString;
|
|
@@ -8672,6 +9284,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
8672
9284
|
user: "user";
|
|
8673
9285
|
}>>;
|
|
8674
9286
|
instructions: z.ZodNullable<z.ZodString>;
|
|
9287
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
8675
9288
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8676
9289
|
kind: z.ZodLiteral<"repository">;
|
|
8677
9290
|
uri: z.ZodString;
|
|
@@ -9084,6 +9697,7 @@ export declare const SessionLineageResponse: z.ZodObject<{
|
|
|
9084
9697
|
user: "user";
|
|
9085
9698
|
}>>;
|
|
9086
9699
|
instructions: z.ZodNullable<z.ZodString>;
|
|
9700
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
9087
9701
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9088
9702
|
kind: z.ZodLiteral<"repository">;
|
|
9089
9703
|
uri: z.ZodString;
|
|
@@ -9534,6 +10148,8 @@ export declare const SessionEventType: z.ZodEnum<{
|
|
|
9534
10148
|
"session.queue.changed": "session.queue.changed";
|
|
9535
10149
|
"session.queue.history": "session.queue.history";
|
|
9536
10150
|
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
10151
|
+
"session.realtime.ended": "session.realtime.ended";
|
|
10152
|
+
"session.realtime.started": "session.realtime.started";
|
|
9537
10153
|
"session.requiresAction": "session.requiresAction";
|
|
9538
10154
|
"session.route.reconciled": "session.route.reconciled";
|
|
9539
10155
|
"session.status.changed": "session.status.changed";
|
|
@@ -10917,6 +11533,8 @@ export declare const SessionEvent: z.ZodObject<{
|
|
|
10917
11533
|
"session.queue.changed": "session.queue.changed";
|
|
10918
11534
|
"session.queue.history": "session.queue.history";
|
|
10919
11535
|
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
11536
|
+
"session.realtime.ended": "session.realtime.ended";
|
|
11537
|
+
"session.realtime.started": "session.realtime.started";
|
|
10920
11538
|
"session.requiresAction": "session.requiresAction";
|
|
10921
11539
|
"session.route.reconciled": "session.route.reconciled";
|
|
10922
11540
|
"session.status.changed": "session.status.changed";
|
|
@@ -11465,6 +12083,7 @@ export declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
|
11465
12083
|
reasoningEffort: z.ZodEnum<{
|
|
11466
12084
|
high: "high";
|
|
11467
12085
|
low: "low";
|
|
12086
|
+
max: "max";
|
|
11468
12087
|
medium: "medium";
|
|
11469
12088
|
minimal: "minimal";
|
|
11470
12089
|
none: "none";
|
|
@@ -11577,6 +12196,7 @@ export declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
|
11577
12196
|
reasoningEffort: z.ZodEnum<{
|
|
11578
12197
|
high: "high";
|
|
11579
12198
|
low: "low";
|
|
12199
|
+
max: "max";
|
|
11580
12200
|
medium: "medium";
|
|
11581
12201
|
minimal: "minimal";
|
|
11582
12202
|
none: "none";
|
|
@@ -11680,13 +12300,17 @@ export declare const SessionControlResponse: z.ZodObject<{
|
|
|
11680
12300
|
}, z.core.$strip>;
|
|
11681
12301
|
interruptionCount: z.ZodNumber;
|
|
11682
12302
|
wakeCount: z.ZodNumber;
|
|
12303
|
+
cancelledSessionCount: z.ZodNumber;
|
|
12304
|
+
cancelledTurnCount: z.ZodNumber;
|
|
11683
12305
|
}, z.core.$strip>;
|
|
11684
12306
|
export type SessionControlResponse = z.infer<typeof SessionControlResponse>;
|
|
11685
12307
|
export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
11686
12308
|
requestedSessionId: z.ZodOptional<z.ZodString>;
|
|
11687
|
-
initialMessage: z.ZodString
|
|
12309
|
+
initialMessage: z.ZodOptional<z.ZodString>;
|
|
12310
|
+
startMode: z.ZodOptional<z.ZodLiteral<"realtime">>;
|
|
11688
12311
|
turnInstructions: z.ZodOptional<z.ZodString>;
|
|
11689
12312
|
instructions: z.ZodOptional<z.ZodString>;
|
|
12313
|
+
policyRole: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
11690
12314
|
resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11691
12315
|
kind: z.ZodLiteral<"repository">;
|
|
11692
12316
|
uri: z.ZodString;
|
|
@@ -11746,6 +12370,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
11746
12370
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
11747
12371
|
high: "high";
|
|
11748
12372
|
low: "low";
|
|
12373
|
+
max: "max";
|
|
11749
12374
|
medium: "medium";
|
|
11750
12375
|
minimal: "minimal";
|
|
11751
12376
|
none: "none";
|
|
@@ -11773,7 +12398,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
11773
12398
|
workingDir: z.ZodOptional<z.ZodString>;
|
|
11774
12399
|
variableSetId: z.ZodOptional<z.ZodString>;
|
|
11775
12400
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
11776
|
-
rigId: z.ZodOptional<z.ZodString
|
|
12401
|
+
rigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11777
12402
|
goal: z.ZodOptional<z.ZodObject<{
|
|
11778
12403
|
text: z.ZodString;
|
|
11779
12404
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -11960,8 +12585,6 @@ export declare const HumanInputQuestion: z.ZodObject<{
|
|
|
11960
12585
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
11961
12586
|
allowOther: z.ZodDefault<z.ZodBoolean>;
|
|
11962
12587
|
validation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11963
|
-
minLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11964
|
-
maxLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11965
12588
|
minSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11966
12589
|
maxSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11967
12590
|
}, z.core.$strip>>>;
|
|
@@ -11994,8 +12617,6 @@ export declare const RequestHumanInputToolInput: z.ZodObject<{
|
|
|
11994
12617
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
11995
12618
|
allowOther: z.ZodDefault<z.ZodBoolean>;
|
|
11996
12619
|
validation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11997
|
-
minLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11998
|
-
maxLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11999
12620
|
minSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12000
12621
|
maxSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12001
12622
|
}, z.core.$strip>>>;
|
|
@@ -12069,8 +12690,6 @@ export declare const SessionHumanInputRequest: z.ZodObject<{
|
|
|
12069
12690
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
12070
12691
|
allowOther: z.ZodDefault<z.ZodBoolean>;
|
|
12071
12692
|
validation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12072
|
-
minLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12073
|
-
maxLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12074
12693
|
minSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12075
12694
|
maxSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12076
12695
|
}, z.core.$strip>>>;
|
|
@@ -12140,6 +12759,7 @@ export declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12140
12759
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
12141
12760
|
high: "high";
|
|
12142
12761
|
low: "low";
|
|
12762
|
+
max: "max";
|
|
12143
12763
|
medium: "medium";
|
|
12144
12764
|
minimal: "minimal";
|
|
12145
12765
|
none: "none";
|
|
@@ -12220,6 +12840,7 @@ export declare const SteerSessionMessageRequest: z.ZodObject<{
|
|
|
12220
12840
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
12221
12841
|
high: "high";
|
|
12222
12842
|
low: "low";
|
|
12843
|
+
max: "max";
|
|
12223
12844
|
medium: "medium";
|
|
12224
12845
|
minimal: "minimal";
|
|
12225
12846
|
none: "none";
|
|
@@ -12309,6 +12930,8 @@ export declare const SteerSessionMessageResponse: z.ZodObject<{
|
|
|
12309
12930
|
"session.queue.changed": "session.queue.changed";
|
|
12310
12931
|
"session.queue.history": "session.queue.history";
|
|
12311
12932
|
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
12933
|
+
"session.realtime.ended": "session.realtime.ended";
|
|
12934
|
+
"session.realtime.started": "session.realtime.started";
|
|
12312
12935
|
"session.requiresAction": "session.requiresAction";
|
|
12313
12936
|
"session.route.reconciled": "session.route.reconciled";
|
|
12314
12937
|
"session.status.changed": "session.status.changed";
|
|
@@ -12424,6 +13047,7 @@ export declare const SteerSessionMessageResponse: z.ZodObject<{
|
|
|
12424
13047
|
reasoningEffort: z.ZodEnum<{
|
|
12425
13048
|
high: "high";
|
|
12426
13049
|
low: "low";
|
|
13050
|
+
max: "max";
|
|
12427
13051
|
medium: "medium";
|
|
12428
13052
|
minimal: "minimal";
|
|
12429
13053
|
none: "none";
|
|
@@ -12551,6 +13175,8 @@ export declare const SessionBusMessage: z.ZodObject<{
|
|
|
12551
13175
|
"session.queue.changed": "session.queue.changed";
|
|
12552
13176
|
"session.queue.history": "session.queue.history";
|
|
12553
13177
|
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
13178
|
+
"session.realtime.ended": "session.realtime.ended";
|
|
13179
|
+
"session.realtime.started": "session.realtime.started";
|
|
12554
13180
|
"session.requiresAction": "session.requiresAction";
|
|
12555
13181
|
"session.route.reconciled": "session.route.reconciled";
|
|
12556
13182
|
"session.status.changed": "session.status.changed";
|
|
@@ -13423,6 +14049,7 @@ export declare const ModelCapabilitiesV1: z.ZodObject<{
|
|
|
13423
14049
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
13424
14050
|
high: "high";
|
|
13425
14051
|
low: "low";
|
|
14052
|
+
max: "max";
|
|
13426
14053
|
medium: "medium";
|
|
13427
14054
|
minimal: "minimal";
|
|
13428
14055
|
none: "none";
|
|
@@ -13431,6 +14058,7 @@ export declare const ModelCapabilitiesV1: z.ZodObject<{
|
|
|
13431
14058
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
13432
14059
|
high: "high";
|
|
13433
14060
|
low: "low";
|
|
14061
|
+
max: "max";
|
|
13434
14062
|
medium: "medium";
|
|
13435
14063
|
minimal: "minimal";
|
|
13436
14064
|
none: "none";
|
|
@@ -13485,6 +14113,7 @@ export declare const ModelCapabilitiesV1: z.ZodObject<{
|
|
|
13485
14113
|
image: "image";
|
|
13486
14114
|
text: "text";
|
|
13487
14115
|
}>>;
|
|
14116
|
+
inputFileMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13488
14117
|
outputModalities: z.ZodArray<z.ZodEnum<{
|
|
13489
14118
|
audio: "audio";
|
|
13490
14119
|
image: "image";
|
|
@@ -13617,6 +14246,7 @@ export declare const TurnExecutionPolicyV1: z.ZodObject<{
|
|
|
13617
14246
|
reasoningEffort: z.ZodEnum<{
|
|
13618
14247
|
high: "high";
|
|
13619
14248
|
low: "low";
|
|
14249
|
+
max: "max";
|
|
13620
14250
|
medium: "medium";
|
|
13621
14251
|
minimal: "minimal";
|
|
13622
14252
|
none: "none";
|
|
@@ -13790,6 +14420,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
13790
14420
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
13791
14421
|
high: "high";
|
|
13792
14422
|
low: "low";
|
|
14423
|
+
max: "max";
|
|
13793
14424
|
medium: "medium";
|
|
13794
14425
|
minimal: "minimal";
|
|
13795
14426
|
none: "none";
|
|
@@ -13798,6 +14429,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
13798
14429
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
13799
14430
|
high: "high";
|
|
13800
14431
|
low: "low";
|
|
14432
|
+
max: "max";
|
|
13801
14433
|
medium: "medium";
|
|
13802
14434
|
minimal: "minimal";
|
|
13803
14435
|
none: "none";
|
|
@@ -13852,6 +14484,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
13852
14484
|
image: "image";
|
|
13853
14485
|
text: "text";
|
|
13854
14486
|
}>>;
|
|
14487
|
+
inputFileMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13855
14488
|
outputModalities: z.ZodArray<z.ZodEnum<{
|
|
13856
14489
|
audio: "audio";
|
|
13857
14490
|
image: "image";
|
|
@@ -14037,6 +14670,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
14037
14670
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
14038
14671
|
high: "high";
|
|
14039
14672
|
low: "low";
|
|
14673
|
+
max: "max";
|
|
14040
14674
|
medium: "medium";
|
|
14041
14675
|
minimal: "minimal";
|
|
14042
14676
|
none: "none";
|
|
@@ -14045,6 +14679,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
14045
14679
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
14046
14680
|
high: "high";
|
|
14047
14681
|
low: "low";
|
|
14682
|
+
max: "max";
|
|
14048
14683
|
medium: "medium";
|
|
14049
14684
|
minimal: "minimal";
|
|
14050
14685
|
none: "none";
|
|
@@ -14099,6 +14734,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
14099
14734
|
image: "image";
|
|
14100
14735
|
text: "text";
|
|
14101
14736
|
}>>;
|
|
14737
|
+
inputFileMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14102
14738
|
outputModalities: z.ZodArray<z.ZodEnum<{
|
|
14103
14739
|
audio: "audio";
|
|
14104
14740
|
image: "image";
|
|
@@ -14283,6 +14919,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
14283
14919
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
14284
14920
|
high: "high";
|
|
14285
14921
|
low: "low";
|
|
14922
|
+
max: "max";
|
|
14286
14923
|
medium: "medium";
|
|
14287
14924
|
minimal: "minimal";
|
|
14288
14925
|
none: "none";
|
|
@@ -14291,6 +14928,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
14291
14928
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
14292
14929
|
high: "high";
|
|
14293
14930
|
low: "low";
|
|
14931
|
+
max: "max";
|
|
14294
14932
|
medium: "medium";
|
|
14295
14933
|
minimal: "minimal";
|
|
14296
14934
|
none: "none";
|
|
@@ -14345,6 +14983,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
14345
14983
|
image: "image";
|
|
14346
14984
|
text: "text";
|
|
14347
14985
|
}>>;
|
|
14986
|
+
inputFileMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14348
14987
|
outputModalities: z.ZodArray<z.ZodEnum<{
|
|
14349
14988
|
audio: "audio";
|
|
14350
14989
|
image: "image";
|
|
@@ -14547,6 +15186,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14547
15186
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
14548
15187
|
high: "high";
|
|
14549
15188
|
low: "low";
|
|
15189
|
+
max: "max";
|
|
14550
15190
|
medium: "medium";
|
|
14551
15191
|
minimal: "minimal";
|
|
14552
15192
|
none: "none";
|
|
@@ -14555,6 +15195,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14555
15195
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
14556
15196
|
high: "high";
|
|
14557
15197
|
low: "low";
|
|
15198
|
+
max: "max";
|
|
14558
15199
|
medium: "medium";
|
|
14559
15200
|
minimal: "minimal";
|
|
14560
15201
|
none: "none";
|
|
@@ -14609,6 +15250,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14609
15250
|
image: "image";
|
|
14610
15251
|
text: "text";
|
|
14611
15252
|
}>>;
|
|
15253
|
+
inputFileMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14612
15254
|
outputModalities: z.ZodArray<z.ZodEnum<{
|
|
14613
15255
|
audio: "audio";
|
|
14614
15256
|
image: "image";
|
|
@@ -14690,6 +15332,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14690
15332
|
defaultReasoningEffort: z.ZodEnum<{
|
|
14691
15333
|
high: "high";
|
|
14692
15334
|
low: "low";
|
|
15335
|
+
max: "max";
|
|
14693
15336
|
medium: "medium";
|
|
14694
15337
|
minimal: "minimal";
|
|
14695
15338
|
none: "none";
|
|
@@ -14698,6 +15341,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14698
15341
|
allowedReasoningEfforts: z.ZodArray<z.ZodEnum<{
|
|
14699
15342
|
high: "high";
|
|
14700
15343
|
low: "low";
|
|
15344
|
+
max: "max";
|
|
14701
15345
|
medium: "medium";
|
|
14702
15346
|
minimal: "minimal";
|
|
14703
15347
|
none: "none";
|