@opengeni/contracts 0.31.1 → 0.32.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-GMOYIHF3.js} +646 -280
- package/dist/chunk-GMOYIHF3.js.map +1 -0
- package/dist/google-drive.d.ts +21 -0
- package/dist/google-drive.js +36 -3
- package/dist/google-drive.js.map +1 -1
- package/dist/index.d.ts +562 -2
- package/dist/index.js +97 -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 +160 -0
- package/package.json +1 -1
- package/src/google-drive.ts +53 -0
- package/src/index.ts +509 -100
- package/src/slack-bot-scopes.ts +93 -1
- package/src/workspace-instruction-policies.ts +75 -3
- 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<{
|
|
@@ -3825,6 +3890,450 @@ export declare const SessionAuthorizationSurface: z.ZodEnum<{
|
|
|
3825
3890
|
toolspace: "toolspace";
|
|
3826
3891
|
}>;
|
|
3827
3892
|
export type SessionAuthorizationSurface = z.infer<typeof SessionAuthorizationSurface>;
|
|
3893
|
+
export declare const CodexRealtimeWebrtcVersion: z.ZodLiteral<"v3">;
|
|
3894
|
+
export type CodexRealtimeWebrtcVersion = z.infer<typeof CodexRealtimeWebrtcVersion>;
|
|
3895
|
+
export declare const CodexRealtimeVoice: z.ZodEnum<{
|
|
3896
|
+
arbor: "arbor";
|
|
3897
|
+
breeze: "breeze";
|
|
3898
|
+
cove: "cove";
|
|
3899
|
+
ember: "ember";
|
|
3900
|
+
juniper: "juniper";
|
|
3901
|
+
maple: "maple";
|
|
3902
|
+
sol: "sol";
|
|
3903
|
+
spruce: "spruce";
|
|
3904
|
+
vale: "vale";
|
|
3905
|
+
}>;
|
|
3906
|
+
export type CodexRealtimeVoice = z.infer<typeof CodexRealtimeVoice>;
|
|
3907
|
+
export declare const CodexRealtimeWebrtcRequest: z.ZodObject<{
|
|
3908
|
+
browserInstanceId: z.ZodString;
|
|
3909
|
+
ownerKey: z.ZodString;
|
|
3910
|
+
realtimeId: z.ZodString;
|
|
3911
|
+
operationId: z.ZodString;
|
|
3912
|
+
expectedVersion: z.ZodNumber;
|
|
3913
|
+
expectedConnectionEpoch: z.ZodNumber;
|
|
3914
|
+
rotate: z.ZodBoolean;
|
|
3915
|
+
browserActivation: z.ZodOptional<z.ZodLiteral<"required">>;
|
|
3916
|
+
sdp: z.ZodString;
|
|
3917
|
+
version: z.ZodLiteral<"v3">;
|
|
3918
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
3919
|
+
voice: z.ZodOptional<z.ZodEnum<{
|
|
3920
|
+
arbor: "arbor";
|
|
3921
|
+
breeze: "breeze";
|
|
3922
|
+
cove: "cove";
|
|
3923
|
+
ember: "ember";
|
|
3924
|
+
juniper: "juniper";
|
|
3925
|
+
maple: "maple";
|
|
3926
|
+
sol: "sol";
|
|
3927
|
+
spruce: "spruce";
|
|
3928
|
+
vale: "vale";
|
|
3929
|
+
}>>;
|
|
3930
|
+
}, z.core.$strict>;
|
|
3931
|
+
export type CodexRealtimeWebrtcRequest = z.infer<typeof CodexRealtimeWebrtcRequest>;
|
|
3932
|
+
export declare const CodexRealtimeWebrtcResponse: z.ZodObject<{
|
|
3933
|
+
sdp: z.ZodString;
|
|
3934
|
+
version: z.ZodLiteral<"v3">;
|
|
3935
|
+
model: z.ZodLiteral<"gpt-live-1-boulder-alpha">;
|
|
3936
|
+
connectionId: z.ZodString;
|
|
3937
|
+
connectionEpoch: z.ZodNumber;
|
|
3938
|
+
startupFenceSequence: z.ZodNumber;
|
|
3939
|
+
modeVersion: z.ZodNumber;
|
|
3940
|
+
replay: z.ZodBoolean;
|
|
3941
|
+
}, z.core.$strict>;
|
|
3942
|
+
export type CodexRealtimeWebrtcResponse = z.infer<typeof CodexRealtimeWebrtcResponse>;
|
|
3943
|
+
export declare const GatewayRealtimeConnectRequest: z.ZodObject<{
|
|
3944
|
+
browserInstanceId: z.ZodString;
|
|
3945
|
+
ownerKey: z.ZodString;
|
|
3946
|
+
realtimeId: z.ZodString;
|
|
3947
|
+
operationId: z.ZodString;
|
|
3948
|
+
expectedVersion: z.ZodNumber;
|
|
3949
|
+
expectedConnectionEpoch: z.ZodNumber;
|
|
3950
|
+
rotate: z.ZodBoolean;
|
|
3951
|
+
}, z.core.$strict>;
|
|
3952
|
+
export type GatewayRealtimeConnectRequest = z.infer<typeof GatewayRealtimeConnectRequest>;
|
|
3953
|
+
export declare const GatewayRealtimeInitialItem: z.ZodObject<{
|
|
3954
|
+
role: z.ZodEnum<{
|
|
3955
|
+
assistant: "assistant";
|
|
3956
|
+
developer: "developer";
|
|
3957
|
+
user: "user";
|
|
3958
|
+
}>;
|
|
3959
|
+
text: z.ZodString;
|
|
3960
|
+
}, z.core.$strip>;
|
|
3961
|
+
export type GatewayRealtimeInitialItem = z.infer<typeof GatewayRealtimeInitialItem>;
|
|
3962
|
+
export declare const GatewayRealtimeConnectResponse: z.ZodObject<{
|
|
3963
|
+
token: z.ZodString;
|
|
3964
|
+
url: z.ZodString;
|
|
3965
|
+
upstreamModelId: z.ZodString;
|
|
3966
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
3967
|
+
connectionId: z.ZodString;
|
|
3968
|
+
connectionEpoch: z.ZodNumber;
|
|
3969
|
+
startupFenceSequence: z.ZodNumber;
|
|
3970
|
+
modeVersion: z.ZodNumber;
|
|
3971
|
+
initialItems: z.ZodArray<z.ZodObject<{
|
|
3972
|
+
role: z.ZodEnum<{
|
|
3973
|
+
assistant: "assistant";
|
|
3974
|
+
developer: "developer";
|
|
3975
|
+
user: "user";
|
|
3976
|
+
}>;
|
|
3977
|
+
text: z.ZodString;
|
|
3978
|
+
}, z.core.$strip>>;
|
|
3979
|
+
instructions: z.ZodString;
|
|
3980
|
+
replay: z.ZodLiteral<false>;
|
|
3981
|
+
}, z.core.$strict>;
|
|
3982
|
+
export type GatewayRealtimeConnectResponse = z.infer<typeof GatewayRealtimeConnectResponse>;
|
|
3983
|
+
export declare const ActivateCodexRealtimeConnectionRequest: z.ZodObject<{
|
|
3984
|
+
browserInstanceId: z.ZodString;
|
|
3985
|
+
ownerKey: z.ZodString;
|
|
3986
|
+
operationId: z.ZodString;
|
|
3987
|
+
connectionEpoch: z.ZodNumber;
|
|
3988
|
+
expectedVersion: z.ZodNumber;
|
|
3989
|
+
expectedConnectionEpoch: z.ZodNumber;
|
|
3990
|
+
}, z.core.$strict>;
|
|
3991
|
+
export type ActivateCodexRealtimeConnectionRequest = z.infer<typeof ActivateCodexRealtimeConnectionRequest>;
|
|
3992
|
+
export declare const SessionRealtimeLedgerDirection: z.ZodEnum<{
|
|
3993
|
+
provider_in: "provider_in";
|
|
3994
|
+
provider_out: "provider_out";
|
|
3995
|
+
}>;
|
|
3996
|
+
export type SessionRealtimeLedgerDirection = z.infer<typeof SessionRealtimeLedgerDirection>;
|
|
3997
|
+
export declare const SessionRealtimeLedgerKind: z.ZodEnum<{
|
|
3998
|
+
assistant_transcript: "assistant_transcript";
|
|
3999
|
+
delegation_call: "delegation_call";
|
|
4000
|
+
delegation_progress: "delegation_progress";
|
|
4001
|
+
delegation_result: "delegation_result";
|
|
4002
|
+
error: "error";
|
|
4003
|
+
interruption: "interruption";
|
|
4004
|
+
session_update: "session_update";
|
|
4005
|
+
user_transcript: "user_transcript";
|
|
4006
|
+
}>;
|
|
4007
|
+
export type SessionRealtimeLedgerKind = z.infer<typeof SessionRealtimeLedgerKind>;
|
|
4008
|
+
export declare const SessionRealtimeLedgerEntry: z.ZodObject<{
|
|
4009
|
+
id: z.ZodString;
|
|
4010
|
+
realtimeId: z.ZodString;
|
|
4011
|
+
operationId: z.ZodString;
|
|
4012
|
+
connectionEpoch: z.ZodNumber;
|
|
4013
|
+
sequence: z.ZodNumber;
|
|
4014
|
+
direction: z.ZodEnum<{
|
|
4015
|
+
provider_in: "provider_in";
|
|
4016
|
+
provider_out: "provider_out";
|
|
4017
|
+
}>;
|
|
4018
|
+
kind: z.ZodEnum<{
|
|
4019
|
+
assistant_transcript: "assistant_transcript";
|
|
4020
|
+
delegation_call: "delegation_call";
|
|
4021
|
+
delegation_progress: "delegation_progress";
|
|
4022
|
+
delegation_result: "delegation_result";
|
|
4023
|
+
error: "error";
|
|
4024
|
+
interruption: "interruption";
|
|
4025
|
+
session_update: "session_update";
|
|
4026
|
+
user_transcript: "user_transcript";
|
|
4027
|
+
}>;
|
|
4028
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
4029
|
+
assistant: "assistant";
|
|
4030
|
+
user: "user";
|
|
4031
|
+
}>>;
|
|
4032
|
+
providerEventId: z.ZodNullable<z.ZodString>;
|
|
4033
|
+
delegationItemId: z.ZodNullable<z.ZodString>;
|
|
4034
|
+
sourceUpdateId: z.ZodNullable<z.ZodString>;
|
|
4035
|
+
historyItemId: z.ZodNullable<z.ZodString>;
|
|
4036
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4037
|
+
text: z.ZodNullable<z.ZodString>;
|
|
4038
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4039
|
+
clientAckedAt: z.ZodNullable<z.ZodString>;
|
|
4040
|
+
providerAckedAt: z.ZodNullable<z.ZodString>;
|
|
4041
|
+
createdAt: z.ZodString;
|
|
4042
|
+
updatedAt: z.ZodString;
|
|
4043
|
+
}, z.core.$strict>;
|
|
4044
|
+
export type SessionRealtimeLedgerEntry = z.infer<typeof SessionRealtimeLedgerEntry>;
|
|
4045
|
+
export declare const SessionRealtimeInboundEntry: z.ZodObject<{
|
|
4046
|
+
operationId: z.ZodString;
|
|
4047
|
+
kind: z.ZodEnum<{
|
|
4048
|
+
assistant_transcript: "assistant_transcript";
|
|
4049
|
+
delegation_call: "delegation_call";
|
|
4050
|
+
error: "error";
|
|
4051
|
+
interruption: "interruption";
|
|
4052
|
+
user_transcript: "user_transcript";
|
|
4053
|
+
}>;
|
|
4054
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4055
|
+
assistant: "assistant";
|
|
4056
|
+
user: "user";
|
|
4057
|
+
}>>>;
|
|
4058
|
+
providerEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4059
|
+
delegationItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4060
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4061
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4062
|
+
}, z.core.$strict>;
|
|
4063
|
+
export type SessionRealtimeInboundEntry = z.infer<typeof SessionRealtimeInboundEntry>;
|
|
4064
|
+
export declare const SyncSessionRealtimeLedgerRequest: z.ZodObject<{
|
|
4065
|
+
browserInstanceId: z.ZodString;
|
|
4066
|
+
ownerKey: z.ZodString;
|
|
4067
|
+
expectedVersion: z.ZodNumber;
|
|
4068
|
+
connectionId: z.ZodString;
|
|
4069
|
+
connectionEpoch: z.ZodNumber;
|
|
4070
|
+
entries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4071
|
+
operationId: z.ZodString;
|
|
4072
|
+
kind: z.ZodEnum<{
|
|
4073
|
+
assistant_transcript: "assistant_transcript";
|
|
4074
|
+
delegation_call: "delegation_call";
|
|
4075
|
+
error: "error";
|
|
4076
|
+
interruption: "interruption";
|
|
4077
|
+
user_transcript: "user_transcript";
|
|
4078
|
+
}>;
|
|
4079
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4080
|
+
assistant: "assistant";
|
|
4081
|
+
user: "user";
|
|
4082
|
+
}>>>;
|
|
4083
|
+
providerEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4084
|
+
delegationItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4085
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4086
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4087
|
+
}, z.core.$strict>>>;
|
|
4088
|
+
clientAckThroughSequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4089
|
+
providerAckSequences: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4090
|
+
providerStarted: z.ZodOptional<z.ZodObject<{
|
|
4091
|
+
providerSessionId: z.ZodString;
|
|
4092
|
+
providerEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4093
|
+
}, z.core.$strict>>;
|
|
4094
|
+
}, z.core.$strict>;
|
|
4095
|
+
export type SyncSessionRealtimeLedgerRequest = z.infer<typeof SyncSessionRealtimeLedgerRequest>;
|
|
4096
|
+
export declare const SyncSessionRealtimeLedgerResponse: z.ZodObject<{
|
|
4097
|
+
accepted: z.ZodArray<z.ZodObject<{
|
|
4098
|
+
entry: z.ZodObject<{
|
|
4099
|
+
id: z.ZodString;
|
|
4100
|
+
realtimeId: z.ZodString;
|
|
4101
|
+
operationId: z.ZodString;
|
|
4102
|
+
connectionEpoch: z.ZodNumber;
|
|
4103
|
+
sequence: z.ZodNumber;
|
|
4104
|
+
direction: z.ZodEnum<{
|
|
4105
|
+
provider_in: "provider_in";
|
|
4106
|
+
provider_out: "provider_out";
|
|
4107
|
+
}>;
|
|
4108
|
+
kind: z.ZodEnum<{
|
|
4109
|
+
assistant_transcript: "assistant_transcript";
|
|
4110
|
+
delegation_call: "delegation_call";
|
|
4111
|
+
delegation_progress: "delegation_progress";
|
|
4112
|
+
delegation_result: "delegation_result";
|
|
4113
|
+
error: "error";
|
|
4114
|
+
interruption: "interruption";
|
|
4115
|
+
session_update: "session_update";
|
|
4116
|
+
user_transcript: "user_transcript";
|
|
4117
|
+
}>;
|
|
4118
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
4119
|
+
assistant: "assistant";
|
|
4120
|
+
user: "user";
|
|
4121
|
+
}>>;
|
|
4122
|
+
providerEventId: z.ZodNullable<z.ZodString>;
|
|
4123
|
+
delegationItemId: z.ZodNullable<z.ZodString>;
|
|
4124
|
+
sourceUpdateId: z.ZodNullable<z.ZodString>;
|
|
4125
|
+
historyItemId: z.ZodNullable<z.ZodString>;
|
|
4126
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4127
|
+
text: z.ZodNullable<z.ZodString>;
|
|
4128
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4129
|
+
clientAckedAt: z.ZodNullable<z.ZodString>;
|
|
4130
|
+
providerAckedAt: z.ZodNullable<z.ZodString>;
|
|
4131
|
+
createdAt: z.ZodString;
|
|
4132
|
+
updatedAt: z.ZodString;
|
|
4133
|
+
}, z.core.$strict>;
|
|
4134
|
+
replay: z.ZodBoolean;
|
|
4135
|
+
}, z.core.$strict>>;
|
|
4136
|
+
outbound: z.ZodArray<z.ZodObject<{
|
|
4137
|
+
id: z.ZodString;
|
|
4138
|
+
realtimeId: z.ZodString;
|
|
4139
|
+
operationId: z.ZodString;
|
|
4140
|
+
connectionEpoch: z.ZodNumber;
|
|
4141
|
+
sequence: z.ZodNumber;
|
|
4142
|
+
direction: z.ZodEnum<{
|
|
4143
|
+
provider_in: "provider_in";
|
|
4144
|
+
provider_out: "provider_out";
|
|
4145
|
+
}>;
|
|
4146
|
+
kind: z.ZodEnum<{
|
|
4147
|
+
assistant_transcript: "assistant_transcript";
|
|
4148
|
+
delegation_call: "delegation_call";
|
|
4149
|
+
delegation_progress: "delegation_progress";
|
|
4150
|
+
delegation_result: "delegation_result";
|
|
4151
|
+
error: "error";
|
|
4152
|
+
interruption: "interruption";
|
|
4153
|
+
session_update: "session_update";
|
|
4154
|
+
user_transcript: "user_transcript";
|
|
4155
|
+
}>;
|
|
4156
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
4157
|
+
assistant: "assistant";
|
|
4158
|
+
user: "user";
|
|
4159
|
+
}>>;
|
|
4160
|
+
providerEventId: z.ZodNullable<z.ZodString>;
|
|
4161
|
+
delegationItemId: z.ZodNullable<z.ZodString>;
|
|
4162
|
+
sourceUpdateId: z.ZodNullable<z.ZodString>;
|
|
4163
|
+
historyItemId: z.ZodNullable<z.ZodString>;
|
|
4164
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4165
|
+
text: z.ZodNullable<z.ZodString>;
|
|
4166
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4167
|
+
clientAckedAt: z.ZodNullable<z.ZodString>;
|
|
4168
|
+
providerAckedAt: z.ZodNullable<z.ZodString>;
|
|
4169
|
+
createdAt: z.ZodString;
|
|
4170
|
+
updatedAt: z.ZodString;
|
|
4171
|
+
}, z.core.$strict>>;
|
|
4172
|
+
}, z.core.$strict>;
|
|
4173
|
+
export type SyncSessionRealtimeLedgerResponse = z.infer<typeof SyncSessionRealtimeLedgerResponse>;
|
|
4174
|
+
export declare const SessionRealtimeModel: z.ZodEnum<{
|
|
4175
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4176
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4177
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4178
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4179
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4180
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4181
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4182
|
+
}>;
|
|
4183
|
+
export type SessionRealtimeModel = z.infer<typeof SessionRealtimeModel>;
|
|
4184
|
+
export declare const WorkspaceRealtimeModelCatalogItem: z.ZodObject<{
|
|
4185
|
+
id: z.ZodEnum<{
|
|
4186
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4187
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4188
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4189
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4190
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4191
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4192
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4193
|
+
}>;
|
|
4194
|
+
label: z.ZodString;
|
|
4195
|
+
provider: z.ZodEnum<{
|
|
4196
|
+
"Connected Codex": "Connected Codex";
|
|
4197
|
+
OpenGeni: "OpenGeni";
|
|
4198
|
+
"Your Gateway": "Your Gateway";
|
|
4199
|
+
}>;
|
|
4200
|
+
description: z.ZodString;
|
|
4201
|
+
available: z.ZodBoolean;
|
|
4202
|
+
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
4203
|
+
recommended: z.ZodBoolean;
|
|
4204
|
+
}, z.core.$strip>;
|
|
4205
|
+
export type WorkspaceRealtimeModelCatalogItem = z.infer<typeof WorkspaceRealtimeModelCatalogItem>;
|
|
4206
|
+
export declare const WorkspaceRealtimeModelCatalogResponse: z.ZodObject<{
|
|
4207
|
+
models: z.ZodArray<z.ZodObject<{
|
|
4208
|
+
id: z.ZodEnum<{
|
|
4209
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4210
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4211
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4212
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4213
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4214
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4215
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4216
|
+
}>;
|
|
4217
|
+
label: z.ZodString;
|
|
4218
|
+
provider: z.ZodEnum<{
|
|
4219
|
+
"Connected Codex": "Connected Codex";
|
|
4220
|
+
OpenGeni: "OpenGeni";
|
|
4221
|
+
"Your Gateway": "Your Gateway";
|
|
4222
|
+
}>;
|
|
4223
|
+
description: z.ZodString;
|
|
4224
|
+
available: z.ZodBoolean;
|
|
4225
|
+
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
4226
|
+
recommended: z.ZodBoolean;
|
|
4227
|
+
}, z.core.$strip>>;
|
|
4228
|
+
}, z.core.$strip>;
|
|
4229
|
+
export type WorkspaceRealtimeModelCatalogResponse = z.infer<typeof WorkspaceRealtimeModelCatalogResponse>;
|
|
4230
|
+
export declare const SessionRealtimeState: z.ZodEnum<{
|
|
4231
|
+
active: "active";
|
|
4232
|
+
ended: "ended";
|
|
4233
|
+
}>;
|
|
4234
|
+
export type SessionRealtimeState = z.infer<typeof SessionRealtimeState>;
|
|
4235
|
+
export declare const SessionRealtimeEndReason: z.ZodEnum<{
|
|
4236
|
+
browser_unload: "browser_unload";
|
|
4237
|
+
lease_expired: "lease_expired";
|
|
4238
|
+
user_stop: "user_stop";
|
|
4239
|
+
}>;
|
|
4240
|
+
export type SessionRealtimeEndReason = z.infer<typeof SessionRealtimeEndReason>;
|
|
4241
|
+
export declare const SessionRealtimeMode: z.ZodObject<{
|
|
4242
|
+
id: z.ZodString;
|
|
4243
|
+
sessionId: z.ZodString;
|
|
4244
|
+
operationId: z.ZodString;
|
|
4245
|
+
browserInstanceId: z.ZodString;
|
|
4246
|
+
model: z.ZodEnum<{
|
|
4247
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4248
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4249
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4250
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4251
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4252
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4253
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4254
|
+
}>;
|
|
4255
|
+
state: z.ZodEnum<{
|
|
4256
|
+
active: "active";
|
|
4257
|
+
ended: "ended";
|
|
4258
|
+
}>;
|
|
4259
|
+
version: z.ZodNumber;
|
|
4260
|
+
connectionEpoch: z.ZodNumber;
|
|
4261
|
+
leaseExpiresAt: z.ZodString;
|
|
4262
|
+
lastHeartbeatAt: z.ZodString;
|
|
4263
|
+
startedAt: z.ZodString;
|
|
4264
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4265
|
+
endReason: z.ZodNullable<z.ZodEnum<{
|
|
4266
|
+
browser_unload: "browser_unload";
|
|
4267
|
+
lease_expired: "lease_expired";
|
|
4268
|
+
user_stop: "user_stop";
|
|
4269
|
+
}>>;
|
|
4270
|
+
}, z.core.$strip>;
|
|
4271
|
+
export type SessionRealtimeMode = z.infer<typeof SessionRealtimeMode>;
|
|
4272
|
+
export declare const BeginSessionRealtimeRequest: z.ZodObject<{
|
|
4273
|
+
browserInstanceId: z.ZodString;
|
|
4274
|
+
ownerKey: z.ZodString;
|
|
4275
|
+
operationId: z.ZodString;
|
|
4276
|
+
model: z.ZodEnum<{
|
|
4277
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4278
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4279
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4280
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4281
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4282
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4283
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4284
|
+
}>;
|
|
4285
|
+
}, z.core.$strip>;
|
|
4286
|
+
export type BeginSessionRealtimeRequest = z.infer<typeof BeginSessionRealtimeRequest>;
|
|
4287
|
+
export declare const RenewSessionRealtimeRequest: z.ZodObject<{
|
|
4288
|
+
browserInstanceId: z.ZodString;
|
|
4289
|
+
ownerKey: z.ZodString;
|
|
4290
|
+
expectedVersion: z.ZodNumber;
|
|
4291
|
+
}, z.core.$strip>;
|
|
4292
|
+
export type RenewSessionRealtimeRequest = z.infer<typeof RenewSessionRealtimeRequest>;
|
|
4293
|
+
export declare const EndSessionRealtimeRequest: z.ZodObject<{
|
|
4294
|
+
browserInstanceId: z.ZodString;
|
|
4295
|
+
ownerKey: z.ZodString;
|
|
4296
|
+
expectedVersion: z.ZodNumber;
|
|
4297
|
+
reason: z.ZodEnum<{
|
|
4298
|
+
browser_unload: "browser_unload";
|
|
4299
|
+
user_stop: "user_stop";
|
|
4300
|
+
}>;
|
|
4301
|
+
}, z.core.$strip>;
|
|
4302
|
+
export type EndSessionRealtimeRequest = z.infer<typeof EndSessionRealtimeRequest>;
|
|
4303
|
+
export declare const SessionRealtimeMutationResponse: z.ZodObject<{
|
|
4304
|
+
mode: z.ZodObject<{
|
|
4305
|
+
id: z.ZodString;
|
|
4306
|
+
sessionId: z.ZodString;
|
|
4307
|
+
operationId: z.ZodString;
|
|
4308
|
+
browserInstanceId: z.ZodString;
|
|
4309
|
+
model: z.ZodEnum<{
|
|
4310
|
+
"gpt-live-1-boulder-alpha": "gpt-live-1-boulder-alpha";
|
|
4311
|
+
"opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
|
|
4312
|
+
"opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
|
|
4313
|
+
"opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
|
|
4314
|
+
"workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
|
|
4315
|
+
"workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
|
|
4316
|
+
"workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
|
|
4317
|
+
}>;
|
|
4318
|
+
state: z.ZodEnum<{
|
|
4319
|
+
active: "active";
|
|
4320
|
+
ended: "ended";
|
|
4321
|
+
}>;
|
|
4322
|
+
version: z.ZodNumber;
|
|
4323
|
+
connectionEpoch: z.ZodNumber;
|
|
4324
|
+
leaseExpiresAt: z.ZodString;
|
|
4325
|
+
lastHeartbeatAt: z.ZodString;
|
|
4326
|
+
startedAt: z.ZodString;
|
|
4327
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4328
|
+
endReason: z.ZodNullable<z.ZodEnum<{
|
|
4329
|
+
browser_unload: "browser_unload";
|
|
4330
|
+
lease_expired: "lease_expired";
|
|
4331
|
+
user_stop: "user_stop";
|
|
4332
|
+
}>>;
|
|
4333
|
+
}, z.core.$strip>;
|
|
4334
|
+
replay: z.ZodBoolean;
|
|
4335
|
+
}, z.core.$strip>;
|
|
4336
|
+
export type SessionRealtimeMutationResponse = z.infer<typeof SessionRealtimeMutationResponse>;
|
|
3828
4337
|
export declare const SessionAuthorizationOperation: z.ZodEnum<{
|
|
3829
4338
|
"session.append": "session.append";
|
|
3830
4339
|
"session.approval.write": "session.approval.write";
|
|
@@ -3850,6 +4359,8 @@ export declare const SessionAuthorizationOperation: z.ZodEnum<{
|
|
|
3850
4359
|
"session.queue.control": "session.queue.control";
|
|
3851
4360
|
"session.queue.read": "session.queue.read";
|
|
3852
4361
|
"session.read": "session.read";
|
|
4362
|
+
"session.realtime.control": "session.realtime.control";
|
|
4363
|
+
"session.realtime.start": "session.realtime.start";
|
|
3853
4364
|
"session.steer": "session.steer";
|
|
3854
4365
|
"session.stream.acknowledge": "session.stream.acknowledge";
|
|
3855
4366
|
"session.stream.read": "session.stream.read";
|
|
@@ -4011,6 +4522,7 @@ export declare const SessionTurn: z.ZodObject<{
|
|
|
4011
4522
|
reasoningEffort: z.ZodEnum<{
|
|
4012
4523
|
high: "high";
|
|
4013
4524
|
low: "low";
|
|
4525
|
+
max: "max";
|
|
4014
4526
|
medium: "medium";
|
|
4015
4527
|
minimal: "minimal";
|
|
4016
4528
|
none: "none";
|
|
@@ -4225,6 +4737,7 @@ export declare const ComposerDraft: z.ZodObject<{
|
|
|
4225
4737
|
reasoningEffort: z.ZodEnum<{
|
|
4226
4738
|
high: "high";
|
|
4227
4739
|
low: "low";
|
|
4740
|
+
max: "max";
|
|
4228
4741
|
medium: "medium";
|
|
4229
4742
|
minimal: "minimal";
|
|
4230
4743
|
none: "none";
|
|
@@ -4298,6 +4811,7 @@ export declare const SaveComposerDraftRequest: z.ZodObject<{
|
|
|
4298
4811
|
reasoningEffort: z.ZodEnum<{
|
|
4299
4812
|
high: "high";
|
|
4300
4813
|
low: "low";
|
|
4814
|
+
max: "max";
|
|
4301
4815
|
medium: "medium";
|
|
4302
4816
|
minimal: "minimal";
|
|
4303
4817
|
none: "none";
|
|
@@ -4493,6 +5007,7 @@ export declare const NewSessionDraft: z.ZodObject<{
|
|
|
4493
5007
|
reasoningEffort: z.ZodEnum<{
|
|
4494
5008
|
high: "high";
|
|
4495
5009
|
low: "low";
|
|
5010
|
+
max: "max";
|
|
4496
5011
|
medium: "medium";
|
|
4497
5012
|
minimal: "minimal";
|
|
4498
5013
|
none: "none";
|
|
@@ -4680,6 +5195,7 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
|
|
|
4680
5195
|
reasoningEffort: z.ZodEnum<{
|
|
4681
5196
|
high: "high";
|
|
4682
5197
|
low: "low";
|
|
5198
|
+
max: "max";
|
|
4683
5199
|
medium: "medium";
|
|
4684
5200
|
minimal: "minimal";
|
|
4685
5201
|
none: "none";
|
|
@@ -4833,6 +5349,7 @@ export declare const WORKSPACE_CONTROL_ACTOR_MAX_BYTES = 1024;
|
|
|
4833
5349
|
export declare const WORKSPACE_CONTROL_EVENT_MAX_BYTES: number;
|
|
4834
5350
|
export declare const SessionControlRequest: z.ZodObject<{
|
|
4835
5351
|
action: z.ZodEnum<{
|
|
5352
|
+
cancel: "cancel";
|
|
4836
5353
|
pause: "pause";
|
|
4837
5354
|
resume: "resume";
|
|
4838
5355
|
}>;
|
|
@@ -5032,6 +5549,7 @@ export declare const SessionSystemUpdatePayload: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
5032
5549
|
type: z.ZodLiteral<"child_terminal_result">;
|
|
5033
5550
|
childSessionId: z.ZodString;
|
|
5034
5551
|
status: z.ZodEnum<{
|
|
5552
|
+
cancelled: "cancelled";
|
|
5035
5553
|
failed: "failed";
|
|
5036
5554
|
idle: "idle";
|
|
5037
5555
|
}>;
|
|
@@ -5119,6 +5637,7 @@ export declare const SessionSystemUpdate: z.ZodObject<{
|
|
|
5119
5637
|
type: z.ZodLiteral<"child_terminal_result">;
|
|
5120
5638
|
childSessionId: z.ZodString;
|
|
5121
5639
|
status: z.ZodEnum<{
|
|
5640
|
+
cancelled: "cancelled";
|
|
5122
5641
|
failed: "failed";
|
|
5123
5642
|
idle: "idle";
|
|
5124
5643
|
}>;
|
|
@@ -5307,6 +5826,7 @@ export declare const SessionQueueSnapshot: z.ZodObject<{
|
|
|
5307
5826
|
reasoningEffort: z.ZodEnum<{
|
|
5308
5827
|
high: "high";
|
|
5309
5828
|
low: "low";
|
|
5829
|
+
max: "max";
|
|
5310
5830
|
medium: "medium";
|
|
5311
5831
|
minimal: "minimal";
|
|
5312
5832
|
none: "none";
|
|
@@ -5773,6 +6293,7 @@ export declare const ScheduledTaskAgentConfig: z.ZodObject<{
|
|
|
5773
6293
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
5774
6294
|
high: "high";
|
|
5775
6295
|
low: "low";
|
|
6296
|
+
max: "max";
|
|
5776
6297
|
medium: "medium";
|
|
5777
6298
|
minimal: "minimal";
|
|
5778
6299
|
none: "none";
|
|
@@ -5882,6 +6403,7 @@ export declare const ScheduledTask: z.ZodObject<{
|
|
|
5882
6403
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
5883
6404
|
high: "high";
|
|
5884
6405
|
low: "low";
|
|
6406
|
+
max: "max";
|
|
5885
6407
|
medium: "medium";
|
|
5886
6408
|
minimal: "minimal";
|
|
5887
6409
|
none: "none";
|
|
@@ -6027,6 +6549,7 @@ export declare const CreateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
6027
6549
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
6028
6550
|
high: "high";
|
|
6029
6551
|
low: "low";
|
|
6552
|
+
max: "max";
|
|
6030
6553
|
medium: "medium";
|
|
6031
6554
|
minimal: "minimal";
|
|
6032
6555
|
none: "none";
|
|
@@ -6137,6 +6660,7 @@ export declare const UpdateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
6137
6660
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
6138
6661
|
high: "high";
|
|
6139
6662
|
low: "low";
|
|
6663
|
+
max: "max";
|
|
6140
6664
|
medium: "medium";
|
|
6141
6665
|
minimal: "minimal";
|
|
6142
6666
|
none: "none";
|
|
@@ -7444,6 +7968,7 @@ export declare const Session: z.ZodObject<{
|
|
|
7444
7968
|
user: "user";
|
|
7445
7969
|
}>>;
|
|
7446
7970
|
instructions: z.ZodNullable<z.ZodString>;
|
|
7971
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
7447
7972
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7448
7973
|
kind: z.ZodLiteral<"repository">;
|
|
7449
7974
|
uri: z.ZodString;
|
|
@@ -7853,6 +8378,7 @@ export declare const CreateSessionResponse: z.ZodObject<{
|
|
|
7853
8378
|
user: "user";
|
|
7854
8379
|
}>>;
|
|
7855
8380
|
instructions: z.ZodNullable<z.ZodString>;
|
|
8381
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
7856
8382
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7857
8383
|
kind: z.ZodLiteral<"repository">;
|
|
7858
8384
|
uri: z.ZodString;
|
|
@@ -8268,6 +8794,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
8268
8794
|
user: "user";
|
|
8269
8795
|
}>>;
|
|
8270
8796
|
instructions: z.ZodNullable<z.ZodString>;
|
|
8797
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
8271
8798
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8272
8799
|
kind: z.ZodLiteral<"repository">;
|
|
8273
8800
|
uri: z.ZodString;
|
|
@@ -8672,6 +9199,7 @@ export declare const SessionListResponse: z.ZodObject<{
|
|
|
8672
9199
|
user: "user";
|
|
8673
9200
|
}>>;
|
|
8674
9201
|
instructions: z.ZodNullable<z.ZodString>;
|
|
9202
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
8675
9203
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8676
9204
|
kind: z.ZodLiteral<"repository">;
|
|
8677
9205
|
uri: z.ZodString;
|
|
@@ -9084,6 +9612,7 @@ export declare const SessionLineageResponse: z.ZodObject<{
|
|
|
9084
9612
|
user: "user";
|
|
9085
9613
|
}>>;
|
|
9086
9614
|
instructions: z.ZodNullable<z.ZodString>;
|
|
9615
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
9087
9616
|
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9088
9617
|
kind: z.ZodLiteral<"repository">;
|
|
9089
9618
|
uri: z.ZodString;
|
|
@@ -9534,6 +10063,8 @@ export declare const SessionEventType: z.ZodEnum<{
|
|
|
9534
10063
|
"session.queue.changed": "session.queue.changed";
|
|
9535
10064
|
"session.queue.history": "session.queue.history";
|
|
9536
10065
|
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
10066
|
+
"session.realtime.ended": "session.realtime.ended";
|
|
10067
|
+
"session.realtime.started": "session.realtime.started";
|
|
9537
10068
|
"session.requiresAction": "session.requiresAction";
|
|
9538
10069
|
"session.route.reconciled": "session.route.reconciled";
|
|
9539
10070
|
"session.status.changed": "session.status.changed";
|
|
@@ -10917,6 +11448,8 @@ export declare const SessionEvent: z.ZodObject<{
|
|
|
10917
11448
|
"session.queue.changed": "session.queue.changed";
|
|
10918
11449
|
"session.queue.history": "session.queue.history";
|
|
10919
11450
|
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
11451
|
+
"session.realtime.ended": "session.realtime.ended";
|
|
11452
|
+
"session.realtime.started": "session.realtime.started";
|
|
10920
11453
|
"session.requiresAction": "session.requiresAction";
|
|
10921
11454
|
"session.route.reconciled": "session.route.reconciled";
|
|
10922
11455
|
"session.status.changed": "session.status.changed";
|
|
@@ -11465,6 +11998,7 @@ export declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
|
11465
11998
|
reasoningEffort: z.ZodEnum<{
|
|
11466
11999
|
high: "high";
|
|
11467
12000
|
low: "low";
|
|
12001
|
+
max: "max";
|
|
11468
12002
|
medium: "medium";
|
|
11469
12003
|
minimal: "minimal";
|
|
11470
12004
|
none: "none";
|
|
@@ -11577,6 +12111,7 @@ export declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
|
11577
12111
|
reasoningEffort: z.ZodEnum<{
|
|
11578
12112
|
high: "high";
|
|
11579
12113
|
low: "low";
|
|
12114
|
+
max: "max";
|
|
11580
12115
|
medium: "medium";
|
|
11581
12116
|
minimal: "minimal";
|
|
11582
12117
|
none: "none";
|
|
@@ -11680,13 +12215,17 @@ export declare const SessionControlResponse: z.ZodObject<{
|
|
|
11680
12215
|
}, z.core.$strip>;
|
|
11681
12216
|
interruptionCount: z.ZodNumber;
|
|
11682
12217
|
wakeCount: z.ZodNumber;
|
|
12218
|
+
cancelledSessionCount: z.ZodNumber;
|
|
12219
|
+
cancelledTurnCount: z.ZodNumber;
|
|
11683
12220
|
}, z.core.$strip>;
|
|
11684
12221
|
export type SessionControlResponse = z.infer<typeof SessionControlResponse>;
|
|
11685
12222
|
export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
11686
12223
|
requestedSessionId: z.ZodOptional<z.ZodString>;
|
|
11687
|
-
initialMessage: z.ZodString
|
|
12224
|
+
initialMessage: z.ZodOptional<z.ZodString>;
|
|
12225
|
+
startMode: z.ZodOptional<z.ZodLiteral<"realtime">>;
|
|
11688
12226
|
turnInstructions: z.ZodOptional<z.ZodString>;
|
|
11689
12227
|
instructions: z.ZodOptional<z.ZodString>;
|
|
12228
|
+
policyRole: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
11690
12229
|
resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11691
12230
|
kind: z.ZodLiteral<"repository">;
|
|
11692
12231
|
uri: z.ZodString;
|
|
@@ -11746,6 +12285,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
11746
12285
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
11747
12286
|
high: "high";
|
|
11748
12287
|
low: "low";
|
|
12288
|
+
max: "max";
|
|
11749
12289
|
medium: "medium";
|
|
11750
12290
|
minimal: "minimal";
|
|
11751
12291
|
none: "none";
|
|
@@ -11773,7 +12313,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
11773
12313
|
workingDir: z.ZodOptional<z.ZodString>;
|
|
11774
12314
|
variableSetId: z.ZodOptional<z.ZodString>;
|
|
11775
12315
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
11776
|
-
rigId: z.ZodOptional<z.ZodString
|
|
12316
|
+
rigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11777
12317
|
goal: z.ZodOptional<z.ZodObject<{
|
|
11778
12318
|
text: z.ZodString;
|
|
11779
12319
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
@@ -12140,6 +12680,7 @@ export declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12140
12680
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
12141
12681
|
high: "high";
|
|
12142
12682
|
low: "low";
|
|
12683
|
+
max: "max";
|
|
12143
12684
|
medium: "medium";
|
|
12144
12685
|
minimal: "minimal";
|
|
12145
12686
|
none: "none";
|
|
@@ -12220,6 +12761,7 @@ export declare const SteerSessionMessageRequest: z.ZodObject<{
|
|
|
12220
12761
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
12221
12762
|
high: "high";
|
|
12222
12763
|
low: "low";
|
|
12764
|
+
max: "max";
|
|
12223
12765
|
medium: "medium";
|
|
12224
12766
|
minimal: "minimal";
|
|
12225
12767
|
none: "none";
|
|
@@ -12309,6 +12851,8 @@ export declare const SteerSessionMessageResponse: z.ZodObject<{
|
|
|
12309
12851
|
"session.queue.changed": "session.queue.changed";
|
|
12310
12852
|
"session.queue.history": "session.queue.history";
|
|
12311
12853
|
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
12854
|
+
"session.realtime.ended": "session.realtime.ended";
|
|
12855
|
+
"session.realtime.started": "session.realtime.started";
|
|
12312
12856
|
"session.requiresAction": "session.requiresAction";
|
|
12313
12857
|
"session.route.reconciled": "session.route.reconciled";
|
|
12314
12858
|
"session.status.changed": "session.status.changed";
|
|
@@ -12424,6 +12968,7 @@ export declare const SteerSessionMessageResponse: z.ZodObject<{
|
|
|
12424
12968
|
reasoningEffort: z.ZodEnum<{
|
|
12425
12969
|
high: "high";
|
|
12426
12970
|
low: "low";
|
|
12971
|
+
max: "max";
|
|
12427
12972
|
medium: "medium";
|
|
12428
12973
|
minimal: "minimal";
|
|
12429
12974
|
none: "none";
|
|
@@ -12551,6 +13096,8 @@ export declare const SessionBusMessage: z.ZodObject<{
|
|
|
12551
13096
|
"session.queue.changed": "session.queue.changed";
|
|
12552
13097
|
"session.queue.history": "session.queue.history";
|
|
12553
13098
|
"session.queue.prompt.cancelled": "session.queue.prompt.cancelled";
|
|
13099
|
+
"session.realtime.ended": "session.realtime.ended";
|
|
13100
|
+
"session.realtime.started": "session.realtime.started";
|
|
12554
13101
|
"session.requiresAction": "session.requiresAction";
|
|
12555
13102
|
"session.route.reconciled": "session.route.reconciled";
|
|
12556
13103
|
"session.status.changed": "session.status.changed";
|
|
@@ -13423,6 +13970,7 @@ export declare const ModelCapabilitiesV1: z.ZodObject<{
|
|
|
13423
13970
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
13424
13971
|
high: "high";
|
|
13425
13972
|
low: "low";
|
|
13973
|
+
max: "max";
|
|
13426
13974
|
medium: "medium";
|
|
13427
13975
|
minimal: "minimal";
|
|
13428
13976
|
none: "none";
|
|
@@ -13431,6 +13979,7 @@ export declare const ModelCapabilitiesV1: z.ZodObject<{
|
|
|
13431
13979
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
13432
13980
|
high: "high";
|
|
13433
13981
|
low: "low";
|
|
13982
|
+
max: "max";
|
|
13434
13983
|
medium: "medium";
|
|
13435
13984
|
minimal: "minimal";
|
|
13436
13985
|
none: "none";
|
|
@@ -13617,6 +14166,7 @@ export declare const TurnExecutionPolicyV1: z.ZodObject<{
|
|
|
13617
14166
|
reasoningEffort: z.ZodEnum<{
|
|
13618
14167
|
high: "high";
|
|
13619
14168
|
low: "low";
|
|
14169
|
+
max: "max";
|
|
13620
14170
|
medium: "medium";
|
|
13621
14171
|
minimal: "minimal";
|
|
13622
14172
|
none: "none";
|
|
@@ -13790,6 +14340,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
13790
14340
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
13791
14341
|
high: "high";
|
|
13792
14342
|
low: "low";
|
|
14343
|
+
max: "max";
|
|
13793
14344
|
medium: "medium";
|
|
13794
14345
|
minimal: "minimal";
|
|
13795
14346
|
none: "none";
|
|
@@ -13798,6 +14349,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
13798
14349
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
13799
14350
|
high: "high";
|
|
13800
14351
|
low: "low";
|
|
14352
|
+
max: "max";
|
|
13801
14353
|
medium: "medium";
|
|
13802
14354
|
minimal: "minimal";
|
|
13803
14355
|
none: "none";
|
|
@@ -14037,6 +14589,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
14037
14589
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
14038
14590
|
high: "high";
|
|
14039
14591
|
low: "low";
|
|
14592
|
+
max: "max";
|
|
14040
14593
|
medium: "medium";
|
|
14041
14594
|
minimal: "minimal";
|
|
14042
14595
|
none: "none";
|
|
@@ -14045,6 +14598,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
14045
14598
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
14046
14599
|
high: "high";
|
|
14047
14600
|
low: "low";
|
|
14601
|
+
max: "max";
|
|
14048
14602
|
medium: "medium";
|
|
14049
14603
|
minimal: "minimal";
|
|
14050
14604
|
none: "none";
|
|
@@ -14283,6 +14837,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
14283
14837
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
14284
14838
|
high: "high";
|
|
14285
14839
|
low: "low";
|
|
14840
|
+
max: "max";
|
|
14286
14841
|
medium: "medium";
|
|
14287
14842
|
minimal: "minimal";
|
|
14288
14843
|
none: "none";
|
|
@@ -14291,6 +14846,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
14291
14846
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
14292
14847
|
high: "high";
|
|
14293
14848
|
low: "low";
|
|
14849
|
+
max: "max";
|
|
14294
14850
|
medium: "medium";
|
|
14295
14851
|
minimal: "minimal";
|
|
14296
14852
|
none: "none";
|
|
@@ -14547,6 +15103,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14547
15103
|
efforts: z.ZodArray<z.ZodEnum<{
|
|
14548
15104
|
high: "high";
|
|
14549
15105
|
low: "low";
|
|
15106
|
+
max: "max";
|
|
14550
15107
|
medium: "medium";
|
|
14551
15108
|
minimal: "minimal";
|
|
14552
15109
|
none: "none";
|
|
@@ -14555,6 +15112,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14555
15112
|
defaultEffort: z.ZodNullable<z.ZodEnum<{
|
|
14556
15113
|
high: "high";
|
|
14557
15114
|
low: "low";
|
|
15115
|
+
max: "max";
|
|
14558
15116
|
medium: "medium";
|
|
14559
15117
|
minimal: "minimal";
|
|
14560
15118
|
none: "none";
|
|
@@ -14690,6 +15248,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14690
15248
|
defaultReasoningEffort: z.ZodEnum<{
|
|
14691
15249
|
high: "high";
|
|
14692
15250
|
low: "low";
|
|
15251
|
+
max: "max";
|
|
14693
15252
|
medium: "medium";
|
|
14694
15253
|
minimal: "minimal";
|
|
14695
15254
|
none: "none";
|
|
@@ -14698,6 +15257,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
14698
15257
|
allowedReasoningEfforts: z.ZodArray<z.ZodEnum<{
|
|
14699
15258
|
high: "high";
|
|
14700
15259
|
low: "low";
|
|
15260
|
+
max: "max";
|
|
14701
15261
|
medium: "medium";
|
|
14702
15262
|
minimal: "minimal";
|
|
14703
15263
|
none: "none";
|