@opengeni/contracts 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +195 -17
- package/dist/index.js +44 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +53 -12
package/dist/index.d.ts
CHANGED
|
@@ -6100,6 +6100,37 @@ declare const CapabilityPackSkill: z.ZodObject<{
|
|
|
6100
6100
|
}, z.core.$strip>>;
|
|
6101
6101
|
}, z.core.$strip>;
|
|
6102
6102
|
type CapabilityPackSkill = z.infer<typeof CapabilityPackSkill>;
|
|
6103
|
+
declare const SessionSkill: z.ZodObject<{
|
|
6104
|
+
name: z.ZodString;
|
|
6105
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6106
|
+
files: z.ZodArray<z.ZodObject<{
|
|
6107
|
+
path: z.ZodString;
|
|
6108
|
+
content: z.ZodString;
|
|
6109
|
+
}, z.core.$strip>>;
|
|
6110
|
+
}, z.core.$strip>;
|
|
6111
|
+
type SessionSkill = z.infer<typeof SessionSkill>;
|
|
6112
|
+
declare const SessionSkills: z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
6113
|
+
name: z.ZodString;
|
|
6114
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6115
|
+
files: z.ZodArray<z.ZodObject<{
|
|
6116
|
+
path: z.ZodString;
|
|
6117
|
+
content: z.ZodString;
|
|
6118
|
+
}, z.core.$strip>>;
|
|
6119
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
6120
|
+
name: string;
|
|
6121
|
+
files: {
|
|
6122
|
+
path: string;
|
|
6123
|
+
content: string;
|
|
6124
|
+
}[];
|
|
6125
|
+
description?: string | undefined;
|
|
6126
|
+
}[], {
|
|
6127
|
+
name: string;
|
|
6128
|
+
files: {
|
|
6129
|
+
path: string;
|
|
6130
|
+
content: string;
|
|
6131
|
+
}[];
|
|
6132
|
+
description?: string | undefined;
|
|
6133
|
+
}[]>>;
|
|
6103
6134
|
declare const CapabilityPack: z.ZodPreprocess<z.ZodObject<{
|
|
6104
6135
|
id: z.ZodString;
|
|
6105
6136
|
name: z.ZodString;
|
|
@@ -6585,15 +6616,15 @@ declare const CreateConnectionRequest: z.ZodObject<{
|
|
|
6585
6616
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6586
6617
|
}, z.core.$strip>;
|
|
6587
6618
|
type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
|
|
6588
|
-
|
|
6589
|
-
* Write-only Slack bot installation input. `token` is accepted only by the
|
|
6590
|
-
* dedicated validated endpoint and is never represented in a response schema.
|
|
6591
|
-
*/
|
|
6592
|
-
declare const ConnectOpenGeniSlackBotRequest: z.ZodObject<{
|
|
6593
|
-
token: z.ZodString;
|
|
6619
|
+
declare const OpenGeniSlackBotInstallRequest: z.ZodObject<{
|
|
6594
6620
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
6595
6621
|
}, z.core.$strip>;
|
|
6596
|
-
type
|
|
6622
|
+
type OpenGeniSlackBotInstallRequest = z.infer<typeof OpenGeniSlackBotInstallRequest>;
|
|
6623
|
+
declare const OpenGeniSlackBotInstallStart: z.ZodObject<{
|
|
6624
|
+
authorizationUrl: z.ZodString;
|
|
6625
|
+
expiresAt: z.ZodString;
|
|
6626
|
+
}, z.core.$strip>;
|
|
6627
|
+
type OpenGeniSlackBotInstallStart = z.infer<typeof OpenGeniSlackBotInstallStart>;
|
|
6597
6628
|
declare const UpdateConnectionRequest: z.ZodObject<{
|
|
6598
6629
|
providerDomain: z.ZodOptional<z.ZodString>;
|
|
6599
6630
|
subjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6747,8 +6778,8 @@ type MarketingDailyAnalysisTaskRequest = z.infer<typeof MarketingDailyAnalysisTa
|
|
|
6747
6778
|
declare const CapabilityKind: z.ZodEnum<{
|
|
6748
6779
|
mcp: "mcp";
|
|
6749
6780
|
api: "api";
|
|
6750
|
-
pack: "pack";
|
|
6751
6781
|
skill: "skill";
|
|
6782
|
+
pack: "pack";
|
|
6752
6783
|
plugin: "plugin";
|
|
6753
6784
|
}>;
|
|
6754
6785
|
type CapabilityKind = z.infer<typeof CapabilityKind>;
|
|
@@ -6805,8 +6836,8 @@ declare const CapabilityCatalogItem: z.ZodObject<{
|
|
|
6805
6836
|
kind: z.ZodEnum<{
|
|
6806
6837
|
mcp: "mcp";
|
|
6807
6838
|
api: "api";
|
|
6808
|
-
pack: "pack";
|
|
6809
6839
|
skill: "skill";
|
|
6840
|
+
pack: "pack";
|
|
6810
6841
|
plugin: "plugin";
|
|
6811
6842
|
}>;
|
|
6812
6843
|
source: z.ZodEnum<{
|
|
@@ -6872,9 +6903,13 @@ declare const CapabilityCatalogItem: z.ZodObject<{
|
|
|
6872
6903
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
6873
6904
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6874
6905
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
6875
|
-
connectionId: z.ZodString
|
|
6906
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
6876
6907
|
providerDomain: z.ZodString;
|
|
6877
6908
|
kind: z.ZodString;
|
|
6909
|
+
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
6910
|
+
workspace: "workspace";
|
|
6911
|
+
subject: "subject";
|
|
6912
|
+
}>>;
|
|
6878
6913
|
}, z.core.$strip>>>;
|
|
6879
6914
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6880
6915
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -6897,8 +6932,8 @@ declare const CapabilityInstallation: z.ZodObject<{
|
|
|
6897
6932
|
kind: z.ZodEnum<{
|
|
6898
6933
|
mcp: "mcp";
|
|
6899
6934
|
api: "api";
|
|
6900
|
-
pack: "pack";
|
|
6901
6935
|
skill: "skill";
|
|
6936
|
+
pack: "pack";
|
|
6902
6937
|
plugin: "plugin";
|
|
6903
6938
|
}>;
|
|
6904
6939
|
status: z.ZodEnum<{
|
|
@@ -6975,8 +7010,8 @@ declare const CapabilityCatalogResponse: z.ZodObject<{
|
|
|
6975
7010
|
kind: z.ZodEnum<{
|
|
6976
7011
|
mcp: "mcp";
|
|
6977
7012
|
api: "api";
|
|
6978
|
-
pack: "pack";
|
|
6979
7013
|
skill: "skill";
|
|
7014
|
+
pack: "pack";
|
|
6980
7015
|
plugin: "plugin";
|
|
6981
7016
|
}>;
|
|
6982
7017
|
source: z.ZodEnum<{
|
|
@@ -7042,9 +7077,13 @@ declare const CapabilityCatalogResponse: z.ZodObject<{
|
|
|
7042
7077
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7043
7078
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7044
7079
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
7045
|
-
connectionId: z.ZodString
|
|
7080
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
7046
7081
|
providerDomain: z.ZodString;
|
|
7047
7082
|
kind: z.ZodString;
|
|
7083
|
+
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
7084
|
+
workspace: "workspace";
|
|
7085
|
+
subject: "subject";
|
|
7086
|
+
}>>;
|
|
7048
7087
|
}, z.core.$strip>>>;
|
|
7049
7088
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7050
7089
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -7058,8 +7097,8 @@ declare const CapabilityCatalogResponse: z.ZodObject<{
|
|
|
7058
7097
|
kind: z.ZodEnum<{
|
|
7059
7098
|
mcp: "mcp";
|
|
7060
7099
|
api: "api";
|
|
7061
|
-
pack: "pack";
|
|
7062
7100
|
skill: "skill";
|
|
7101
|
+
pack: "pack";
|
|
7063
7102
|
plugin: "plugin";
|
|
7064
7103
|
}>;
|
|
7065
7104
|
status: z.ZodEnum<{
|
|
@@ -7081,8 +7120,8 @@ declare const DiscoverMcpCapabilitiesResponse: z.ZodObject<{
|
|
|
7081
7120
|
kind: z.ZodEnum<{
|
|
7082
7121
|
mcp: "mcp";
|
|
7083
7122
|
api: "api";
|
|
7084
|
-
pack: "pack";
|
|
7085
7123
|
skill: "skill";
|
|
7124
|
+
pack: "pack";
|
|
7086
7125
|
plugin: "plugin";
|
|
7087
7126
|
}>;
|
|
7088
7127
|
source: z.ZodEnum<{
|
|
@@ -7148,9 +7187,13 @@ declare const DiscoverMcpCapabilitiesResponse: z.ZodObject<{
|
|
|
7148
7187
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7149
7188
|
enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7150
7189
|
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
7151
|
-
connectionId: z.ZodString
|
|
7190
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
7152
7191
|
providerDomain: z.ZodString;
|
|
7153
7192
|
kind: z.ZodString;
|
|
7193
|
+
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
7194
|
+
workspace: "workspace";
|
|
7195
|
+
subject: "subject";
|
|
7196
|
+
}>>;
|
|
7154
7197
|
}, z.core.$strip>>>;
|
|
7155
7198
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7156
7199
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -7208,6 +7251,28 @@ declare const Session: z.ZodObject<{
|
|
|
7208
7251
|
fileId: z.ZodString;
|
|
7209
7252
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
7210
7253
|
}, z.core.$strip>], "kind">>;
|
|
7254
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
7255
|
+
name: z.ZodString;
|
|
7256
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7257
|
+
files: z.ZodArray<z.ZodObject<{
|
|
7258
|
+
path: z.ZodString;
|
|
7259
|
+
content: z.ZodString;
|
|
7260
|
+
}, z.core.$strip>>;
|
|
7261
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
7262
|
+
name: string;
|
|
7263
|
+
files: {
|
|
7264
|
+
path: string;
|
|
7265
|
+
content: string;
|
|
7266
|
+
}[];
|
|
7267
|
+
description?: string | undefined;
|
|
7268
|
+
}[], {
|
|
7269
|
+
name: string;
|
|
7270
|
+
files: {
|
|
7271
|
+
path: string;
|
|
7272
|
+
content: string;
|
|
7273
|
+
}[];
|
|
7274
|
+
description?: string | undefined;
|
|
7275
|
+
}[]>>>;
|
|
7211
7276
|
tools: z.ZodArray<z.ZodObject<{
|
|
7212
7277
|
kind: z.ZodLiteral<"mcp">;
|
|
7213
7278
|
id: z.ZodString;
|
|
@@ -7522,6 +7587,28 @@ declare const CreateSessionResponse: z.ZodObject<{
|
|
|
7522
7587
|
fileId: z.ZodString;
|
|
7523
7588
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
7524
7589
|
}, z.core.$strip>], "kind">>;
|
|
7590
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
7591
|
+
name: z.ZodString;
|
|
7592
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7593
|
+
files: z.ZodArray<z.ZodObject<{
|
|
7594
|
+
path: z.ZodString;
|
|
7595
|
+
content: z.ZodString;
|
|
7596
|
+
}, z.core.$strip>>;
|
|
7597
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
7598
|
+
name: string;
|
|
7599
|
+
files: {
|
|
7600
|
+
path: string;
|
|
7601
|
+
content: string;
|
|
7602
|
+
}[];
|
|
7603
|
+
description?: string | undefined;
|
|
7604
|
+
}[], {
|
|
7605
|
+
name: string;
|
|
7606
|
+
files: {
|
|
7607
|
+
path: string;
|
|
7608
|
+
content: string;
|
|
7609
|
+
}[];
|
|
7610
|
+
description?: string | undefined;
|
|
7611
|
+
}[]>>>;
|
|
7525
7612
|
tools: z.ZodArray<z.ZodObject<{
|
|
7526
7613
|
kind: z.ZodLiteral<"mcp">;
|
|
7527
7614
|
id: z.ZodString;
|
|
@@ -7842,6 +7929,28 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
7842
7929
|
fileId: z.ZodString;
|
|
7843
7930
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
7844
7931
|
}, z.core.$strip>], "kind">>;
|
|
7932
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
7933
|
+
name: z.ZodString;
|
|
7934
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7935
|
+
files: z.ZodArray<z.ZodObject<{
|
|
7936
|
+
path: z.ZodString;
|
|
7937
|
+
content: z.ZodString;
|
|
7938
|
+
}, z.core.$strip>>;
|
|
7939
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
7940
|
+
name: string;
|
|
7941
|
+
files: {
|
|
7942
|
+
path: string;
|
|
7943
|
+
content: string;
|
|
7944
|
+
}[];
|
|
7945
|
+
description?: string | undefined;
|
|
7946
|
+
}[], {
|
|
7947
|
+
name: string;
|
|
7948
|
+
files: {
|
|
7949
|
+
path: string;
|
|
7950
|
+
content: string;
|
|
7951
|
+
}[];
|
|
7952
|
+
description?: string | undefined;
|
|
7953
|
+
}[]>>>;
|
|
7845
7954
|
tools: z.ZodArray<z.ZodObject<{
|
|
7846
7955
|
kind: z.ZodLiteral<"mcp">;
|
|
7847
7956
|
id: z.ZodString;
|
|
@@ -8151,6 +8260,28 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
8151
8260
|
fileId: z.ZodString;
|
|
8152
8261
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
8153
8262
|
}, z.core.$strip>], "kind">>;
|
|
8263
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
8264
|
+
name: z.ZodString;
|
|
8265
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8266
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8267
|
+
path: z.ZodString;
|
|
8268
|
+
content: z.ZodString;
|
|
8269
|
+
}, z.core.$strip>>;
|
|
8270
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
8271
|
+
name: string;
|
|
8272
|
+
files: {
|
|
8273
|
+
path: string;
|
|
8274
|
+
content: string;
|
|
8275
|
+
}[];
|
|
8276
|
+
description?: string | undefined;
|
|
8277
|
+
}[], {
|
|
8278
|
+
name: string;
|
|
8279
|
+
files: {
|
|
8280
|
+
path: string;
|
|
8281
|
+
content: string;
|
|
8282
|
+
}[];
|
|
8283
|
+
description?: string | undefined;
|
|
8284
|
+
}[]>>>;
|
|
8154
8285
|
tools: z.ZodArray<z.ZodObject<{
|
|
8155
8286
|
kind: z.ZodLiteral<"mcp">;
|
|
8156
8287
|
id: z.ZodString;
|
|
@@ -8468,6 +8599,28 @@ declare const SessionLineageResponse: z.ZodObject<{
|
|
|
8468
8599
|
fileId: z.ZodString;
|
|
8469
8600
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
8470
8601
|
}, z.core.$strip>], "kind">>;
|
|
8602
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
8603
|
+
name: z.ZodString;
|
|
8604
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8605
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8606
|
+
path: z.ZodString;
|
|
8607
|
+
content: z.ZodString;
|
|
8608
|
+
}, z.core.$strip>>;
|
|
8609
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
8610
|
+
name: string;
|
|
8611
|
+
files: {
|
|
8612
|
+
path: string;
|
|
8613
|
+
content: string;
|
|
8614
|
+
}[];
|
|
8615
|
+
description?: string | undefined;
|
|
8616
|
+
}[], {
|
|
8617
|
+
name: string;
|
|
8618
|
+
files: {
|
|
8619
|
+
path: string;
|
|
8620
|
+
content: string;
|
|
8621
|
+
}[];
|
|
8622
|
+
description?: string | undefined;
|
|
8623
|
+
}[]>>>;
|
|
8471
8624
|
tools: z.ZodArray<z.ZodObject<{
|
|
8472
8625
|
kind: z.ZodLiteral<"mcp">;
|
|
8473
8626
|
id: z.ZodString;
|
|
@@ -9558,6 +9711,7 @@ declare const WorkspaceCaptureDegradedReason: z.ZodEnum<{
|
|
|
9558
9711
|
repository_discovery_command_failed: "repository_discovery_command_failed";
|
|
9559
9712
|
repository_discovery_timed_out: "repository_discovery_timed_out";
|
|
9560
9713
|
repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
|
|
9714
|
+
repository_read_unavailable: "repository_read_unavailable";
|
|
9561
9715
|
}>;
|
|
9562
9716
|
type WorkspaceCaptureDegradedReason = z.infer<typeof WorkspaceCaptureDegradedReason>;
|
|
9563
9717
|
declare const WorkspaceCaptureStats: z.ZodObject<{
|
|
@@ -9720,6 +9874,7 @@ declare const WorkspaceRevisionDegradedPayload: z.ZodObject<{
|
|
|
9720
9874
|
repository_discovery_command_failed: "repository_discovery_command_failed";
|
|
9721
9875
|
repository_discovery_timed_out: "repository_discovery_timed_out";
|
|
9722
9876
|
repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
|
|
9877
|
+
repository_read_unavailable: "repository_read_unavailable";
|
|
9723
9878
|
}>;
|
|
9724
9879
|
}, z.core.$strip>;
|
|
9725
9880
|
type WorkspaceRevisionDegradedPayload = z.infer<typeof WorkspaceRevisionDegradedPayload>;
|
|
@@ -9734,6 +9889,7 @@ declare const GetWorkspaceCaptureResponse: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
9734
9889
|
repository_discovery_command_failed: "repository_discovery_command_failed";
|
|
9735
9890
|
repository_discovery_timed_out: "repository_discovery_timed_out";
|
|
9736
9891
|
repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
|
|
9892
|
+
repository_read_unavailable: "repository_read_unavailable";
|
|
9737
9893
|
}>>>;
|
|
9738
9894
|
revision: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9739
9895
|
capturedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10928,6 +11084,28 @@ declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
10928
11084
|
fileId: z.ZodString;
|
|
10929
11085
|
mountPath: z.ZodOptional<z.ZodString>;
|
|
10930
11086
|
}, z.core.$strip>], "kind">>>;
|
|
11087
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
11088
|
+
name: z.ZodString;
|
|
11089
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11090
|
+
files: z.ZodArray<z.ZodObject<{
|
|
11091
|
+
path: z.ZodString;
|
|
11092
|
+
content: z.ZodString;
|
|
11093
|
+
}, z.core.$strip>>;
|
|
11094
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
11095
|
+
name: string;
|
|
11096
|
+
files: {
|
|
11097
|
+
path: string;
|
|
11098
|
+
content: string;
|
|
11099
|
+
}[];
|
|
11100
|
+
description?: string | undefined;
|
|
11101
|
+
}[], {
|
|
11102
|
+
name: string;
|
|
11103
|
+
files: {
|
|
11104
|
+
path: string;
|
|
11105
|
+
content: string;
|
|
11106
|
+
}[];
|
|
11107
|
+
description?: string | undefined;
|
|
11108
|
+
}[]>>>;
|
|
10931
11109
|
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10932
11110
|
kind: z.ZodLiteral<"mcp">;
|
|
10933
11111
|
id: z.ZodString;
|
|
@@ -13749,4 +13927,4 @@ declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolicyContra
|
|
|
13749
13927
|
modelId: string;
|
|
13750
13928
|
}): WorkspaceModelPolicyVerdict;
|
|
13751
13929
|
|
|
13752
|
-
export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, ActivateWorkspaceInstructionPolicyRequest, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CODEX_FLEET_POLICY_MAX_CANDIDATES, CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE, CODEX_FLEET_POLICY_SCHEMA_VERSION, CODEX_FLEET_POLICY_VERSION, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, type CodexFleetAdmissionDecisionV1, type CodexFleetAdmissionSnapshotV1, type CodexFleetCacheState, type CodexFleetCandidateStatus, type CodexFleetCandidateV1, type CodexFleetConfidence, type CodexFleetDecisionInputV1, type CodexFleetDecisionV1, type CodexFleetOverlayMode, type CodexFleetPlacementKind, type CodexFleetPolicyConfigV1, type CodexFleetPriority, type CodexFleetQuotaWindowV1, type CodexFleetReplayRecordV1, type CodexFleetReplayVerdictV1, type CodexFleetScoreV1, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectOpenGeniSlackBotRequest, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceInstructionPolicyDraftRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_CODEX_FLEET_POLICY_V1, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, DocumentVisibility, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubBindingStatus, type GitHubInstallationAuthorityKind, GitHubInstallationBinding, type GitHubInstallationBindingProof, GitHubInstallationLifecycle, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, ImportLegacyWorkspaceInstructionPolicyDraftRequest, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MAX_NESTED_AGENT_DEPTH, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveDocumentRequest, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_CORRELATION_HEADER, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, OPENGENI_SLACK_BOT_CREDENTIAL_LABEL, OPENGENI_SLACK_BOT_CREDENTIAL_ROLE, OPENGENI_SLACK_BOT_FORBIDDEN_SCOPES, OPENGENI_SLACK_BOT_REQUIRED_SCOPES, OPENGENI_SLACK_BOT_SESSION_METADATA_KEY, OpenGeniSlackBotConnectionMetadata, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, RollbackWorkspaceInstructionPolicyRequest, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, SaveNewSessionDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, type SecretForRedaction, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalContinuation, SessionGoalContinuationReason, SessionGoalContinuationState, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionQueueMutationResponse, SessionQueueSnapshot, SessionSpawnDenial, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_REASON_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_ROLE_KEY_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_SOURCE_ID_MAX_CHARS, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceInstructionPolicyActivationEvent, WorkspaceInstructionPolicyActivationResponse, WorkspaceInstructionPolicyActivationType, WorkspaceInstructionPolicyConflictResponse, WorkspaceInstructionPolicyDiffRequest, WorkspaceInstructionPolicyDiffResponse, WorkspaceInstructionPolicyDraftProvenanceSource, WorkspaceInstructionPolicyHead, WorkspaceInstructionPolicyKind, WorkspaceInstructionPolicyListQuery, WorkspaceInstructionPolicyListResponse, WorkspaceInstructionPolicyProvenance, WorkspaceInstructionPolicyProvenanceSource, WorkspaceInstructionPolicyRevision, WorkspaceInstructionPolicyRevisionIdentity, WorkspaceInstructionPolicyRoleKey, WorkspaceInstructionPolicyScope, WorkspaceInstructionPolicyTarget, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, canonicalCodexFleetReplayJsonV1, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, compareCodexFleetCanonicalStringsV1, createCodexFleetReplayRecordV1, createSecretRedactor, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, identityRedactor, isClearedRunStateBlob, isCredentialHeaderName, isSensitiveFieldName, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, normalizeWorkspaceInstructionPolicyRoleKey, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, redactSensitiveData, redactSensitiveKey, redactSensitiveText, redactSerializedJson, replayCodexFleetDecisionV1, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };
|
|
13930
|
+
export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, ActivateWorkspaceInstructionPolicyRequest, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CODEX_FLEET_POLICY_MAX_CANDIDATES, CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE, CODEX_FLEET_POLICY_SCHEMA_VERSION, CODEX_FLEET_POLICY_VERSION, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, type CodexFleetAdmissionDecisionV1, type CodexFleetAdmissionSnapshotV1, type CodexFleetCacheState, type CodexFleetCandidateStatus, type CodexFleetCandidateV1, type CodexFleetConfidence, type CodexFleetDecisionInputV1, type CodexFleetDecisionV1, type CodexFleetOverlayMode, type CodexFleetPlacementKind, type CodexFleetPolicyConfigV1, type CodexFleetPriority, type CodexFleetQuotaWindowV1, type CodexFleetReplayRecordV1, type CodexFleetReplayVerdictV1, type CodexFleetScoreV1, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceInstructionPolicyDraftRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_CODEX_FLEET_POLICY_V1, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, DocumentVisibility, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubBindingStatus, type GitHubInstallationAuthorityKind, GitHubInstallationBinding, type GitHubInstallationBindingProof, GitHubInstallationLifecycle, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, ImportLegacyWorkspaceInstructionPolicyDraftRequest, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MAX_NESTED_AGENT_DEPTH, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveDocumentRequest, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_CORRELATION_HEADER, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, OPENGENI_SLACK_BOT_CREDENTIAL_LABEL, OPENGENI_SLACK_BOT_CREDENTIAL_ROLE, OPENGENI_SLACK_BOT_FORBIDDEN_SCOPES, OPENGENI_SLACK_BOT_REQUIRED_SCOPES, OPENGENI_SLACK_BOT_SESSION_METADATA_KEY, OpenGeniSlackBotConnectionMetadata, OpenGeniSlackBotInstallRequest, OpenGeniSlackBotInstallStart, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, RollbackWorkspaceInstructionPolicyRequest, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, SaveNewSessionDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, type SecretForRedaction, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalContinuation, SessionGoalContinuationReason, SessionGoalContinuationState, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionQueueMutationResponse, SessionQueueSnapshot, SessionSkill, SessionSkills, SessionSpawnDenial, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_REASON_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_ROLE_KEY_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_SOURCE_ID_MAX_CHARS, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceInstructionPolicyActivationEvent, WorkspaceInstructionPolicyActivationResponse, WorkspaceInstructionPolicyActivationType, WorkspaceInstructionPolicyConflictResponse, WorkspaceInstructionPolicyDiffRequest, WorkspaceInstructionPolicyDiffResponse, WorkspaceInstructionPolicyDraftProvenanceSource, WorkspaceInstructionPolicyHead, WorkspaceInstructionPolicyKind, WorkspaceInstructionPolicyListQuery, WorkspaceInstructionPolicyListResponse, WorkspaceInstructionPolicyProvenance, WorkspaceInstructionPolicyProvenanceSource, WorkspaceInstructionPolicyRevision, WorkspaceInstructionPolicyRevisionIdentity, WorkspaceInstructionPolicyRoleKey, WorkspaceInstructionPolicyScope, WorkspaceInstructionPolicyTarget, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, canonicalCodexFleetReplayJsonV1, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, compareCodexFleetCanonicalStringsV1, createCodexFleetReplayRecordV1, createSecretRedactor, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, identityRedactor, isClearedRunStateBlob, isCredentialHeaderName, isSensitiveFieldName, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, normalizeWorkspaceInstructionPolicyRoleKey, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, redactSensitiveData, redactSensitiveKey, redactSensitiveText, redactSerializedJson, replayCodexFleetDecisionV1, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };
|
package/dist/index.js
CHANGED
|
@@ -5006,6 +5006,29 @@ var CapabilityPackSkill = z3.object({
|
|
|
5006
5006
|
});
|
|
5007
5007
|
}
|
|
5008
5008
|
});
|
|
5009
|
+
var SessionSkill = CapabilityPackSkill;
|
|
5010
|
+
var SessionSkills = z3.array(SessionSkill).max(32).transform((skills, ctx) => {
|
|
5011
|
+
const selected = /* @__PURE__ */ new Map();
|
|
5012
|
+
for (const skill of skills) {
|
|
5013
|
+
const key = skill.name.toLowerCase();
|
|
5014
|
+
const fingerprint2 = JSON.stringify({
|
|
5015
|
+
description: skill.description ?? null,
|
|
5016
|
+
files: [...skill.files].sort((left, right) => left.path.localeCompare(right.path)).map(({ path, content }) => ({ path, content }))
|
|
5017
|
+
});
|
|
5018
|
+
const existing = selected.get(key);
|
|
5019
|
+
if (!existing) {
|
|
5020
|
+
selected.set(key, { fingerprint: fingerprint2, skill });
|
|
5021
|
+
continue;
|
|
5022
|
+
}
|
|
5023
|
+
if (existing.fingerprint !== fingerprint2) {
|
|
5024
|
+
ctx.addIssue({
|
|
5025
|
+
code: "custom",
|
|
5026
|
+
message: `conflicting session skill definitions: ${skill.name}`
|
|
5027
|
+
});
|
|
5028
|
+
}
|
|
5029
|
+
}
|
|
5030
|
+
return [...selected.values()].map(({ skill }) => skill);
|
|
5031
|
+
});
|
|
5009
5032
|
function isSafePackSkillRelativePath(path) {
|
|
5010
5033
|
if (path.startsWith("/") || path.includes("\\")) {
|
|
5011
5034
|
return false;
|
|
@@ -5220,10 +5243,13 @@ var CreateConnectionRequest = z3.object({
|
|
|
5220
5243
|
expiresAt: z3.string().datetime({ offset: true }).nullable().optional(),
|
|
5221
5244
|
metadata: z3.record(z3.string(), z3.unknown()).default({})
|
|
5222
5245
|
});
|
|
5223
|
-
var
|
|
5224
|
-
token: z3.string().trim().startsWith("xoxb-").max(8192),
|
|
5246
|
+
var OpenGeniSlackBotInstallRequest = z3.object({
|
|
5225
5247
|
connectionId: z3.string().uuid().optional()
|
|
5226
5248
|
});
|
|
5249
|
+
var OpenGeniSlackBotInstallStart = z3.object({
|
|
5250
|
+
authorizationUrl: z3.string().url(),
|
|
5251
|
+
expiresAt: z3.string().datetime({ offset: true })
|
|
5252
|
+
});
|
|
5227
5253
|
var UpdateConnectionRequest = z3.object({
|
|
5228
5254
|
providerDomain: z3.string().min(1).optional(),
|
|
5229
5255
|
subjectId: z3.string().min(1).nullable().optional(),
|
|
@@ -5340,14 +5366,14 @@ var CapabilityCatalogItem = z3.object({
|
|
|
5340
5366
|
runtime: CapabilityRuntime.default({ available: false, notes: null }),
|
|
5341
5367
|
enabled: z3.boolean().default(false),
|
|
5342
5368
|
enabledReason: z3.string().nullable().default(null),
|
|
5343
|
-
// The connection
|
|
5344
|
-
//
|
|
5345
|
-
//
|
|
5346
|
-
// connection health by id instead of guessing from providerDomain alone.
|
|
5369
|
+
// The non-secret connection binding stored with an enabled installation.
|
|
5370
|
+
// Workspace refs retain an exact row id. Subject refs deliberately omit it:
|
|
5371
|
+
// each caller resolves their own visible row by provider/kind at runtime.
|
|
5347
5372
|
connectionRef: z3.object({
|
|
5348
|
-
connectionId: z3.string().min(1),
|
|
5373
|
+
connectionId: z3.string().min(1).optional(),
|
|
5349
5374
|
providerDomain: z3.string().min(1),
|
|
5350
|
-
kind: z3.string().min(1)
|
|
5375
|
+
kind: z3.string().min(1),
|
|
5376
|
+
subjectScope: z3.enum(["workspace", "subject"]).optional()
|
|
5351
5377
|
}).nullable().default(null),
|
|
5352
5378
|
metadata: z3.record(z3.string(), z3.unknown()).default({}),
|
|
5353
5379
|
createdAt: z3.string().optional(),
|
|
@@ -5434,6 +5460,7 @@ var Session = z3.object({
|
|
|
5434
5460
|
// null when the session carried none.
|
|
5435
5461
|
instructions: z3.string().nullable(),
|
|
5436
5462
|
resources: z3.array(ResourceRef),
|
|
5463
|
+
skills: SessionSkills.default([]),
|
|
5437
5464
|
tools: z3.array(ToolRef),
|
|
5438
5465
|
// Origin of the persisted tool allow-list. Optional for rolling client
|
|
5439
5466
|
// compatibility; current servers emit it and legacy rows map to `legacy`.
|
|
@@ -6267,7 +6294,8 @@ var WorkspaceCaptureRepo = z3.object({
|
|
|
6267
6294
|
var WorkspaceCaptureDegradedReason = z3.enum([
|
|
6268
6295
|
"repository_discovery_command_failed",
|
|
6269
6296
|
"repository_discovery_timed_out",
|
|
6270
|
-
"repository_discovery_result_limit_exceeded"
|
|
6297
|
+
"repository_discovery_result_limit_exceeded",
|
|
6298
|
+
"repository_read_unavailable"
|
|
6271
6299
|
]);
|
|
6272
6300
|
var WorkspaceCaptureStats = z3.object({
|
|
6273
6301
|
repoCount: z3.number().int().nonnegative(),
|
|
@@ -7111,6 +7139,9 @@ var CreateSessionRequest = withVariableSetIdAlias({
|
|
|
7111
7139
|
// authoritative. Top-level omission remains []. Presence is resolved from
|
|
7112
7140
|
// the raw request because this Zod default erases absent-vs-empty.
|
|
7113
7141
|
resources: z3.array(ResourceRef).default([]),
|
|
7142
|
+
// Inline skills are fixed onto the session. Child omission inherits the
|
|
7143
|
+
// trusted parent's selection; an explicit array, including [], wins.
|
|
7144
|
+
skills: SessionSkills.default([]),
|
|
7114
7145
|
// The same child omission rule applies to selected MCP tool refs. Top-level
|
|
7115
7146
|
// omission still applies workspace-default capability MCP tools; explicit []
|
|
7116
7147
|
// suppresses those defaults (the first-party OpenGeni server remains added).
|
|
@@ -8203,7 +8234,6 @@ export {
|
|
|
8203
8234
|
CompactSessionContextResult,
|
|
8204
8235
|
CompleteFileUploadResponse,
|
|
8205
8236
|
ComposerDraft,
|
|
8206
|
-
ConnectOpenGeniSlackBotRequest,
|
|
8207
8237
|
ConnectionCredentialBundle,
|
|
8208
8238
|
ConnectionKind,
|
|
8209
8239
|
ConnectionMetadata,
|
|
@@ -8402,6 +8432,8 @@ export {
|
|
|
8402
8432
|
OPENGENI_SLACK_BOT_REQUIRED_SCOPES,
|
|
8403
8433
|
OPENGENI_SLACK_BOT_SESSION_METADATA_KEY,
|
|
8404
8434
|
OpenGeniSlackBotConnectionMetadata,
|
|
8435
|
+
OpenGeniSlackBotInstallRequest,
|
|
8436
|
+
OpenGeniSlackBotInstallStart,
|
|
8405
8437
|
PackInstallation,
|
|
8406
8438
|
PackInstallationStatus,
|
|
8407
8439
|
Permission,
|
|
@@ -8521,6 +8553,8 @@ export {
|
|
|
8521
8553
|
SessionMcpServerMetadata,
|
|
8522
8554
|
SessionQueueMutationResponse,
|
|
8523
8555
|
SessionQueueSnapshot,
|
|
8556
|
+
SessionSkill,
|
|
8557
|
+
SessionSkills,
|
|
8524
8558
|
SessionSpawnDenial,
|
|
8525
8559
|
SessionStatus,
|
|
8526
8560
|
SessionStructuredCapabilities,
|