@opengeni/contracts 2.13.0-canary.0 → 2.13.0-canary.2

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.
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
- export declare const WORKSPACE_ARTIFACT_HTML_MAX_UTF8_BYTES: number;
3
- export declare const WORKSPACE_ARTIFACT_SOURCE_MAX_UTF8_BYTES: number;
4
- export declare const WORKSPACE_ARTIFACT_SOURCE_MAX_FILES = 128;
2
+ export declare const WORKSPACE_ARTIFACT_HTML_MAX_UTF8_BYTES = 5000000000;
3
+ export declare const WORKSPACE_ARTIFACT_SOURCE_MAX_UTF8_BYTES = 5000000000;
4
+ export declare const WORKSPACE_ARTIFACT_SOURCE_MAX_FILES: number;
5
5
  export declare const WORKSPACE_ARTIFACT_REQUESTED_TOOLS_MAX = 128;
6
6
  export declare const WORKSPACE_ARTIFACT_TITLE_MAX_CHARS = 120;
7
7
  export declare const WORKSPACE_ARTIFACT_DESCRIPTION_MAX_CHARS = 2000;
@@ -43,7 +43,7 @@ export declare const WorkspaceArtifactVersion: z.ZodObject<{
43
43
  artifactId: z.ZodString;
44
44
  revision: z.ZodNumber;
45
45
  contentType: z.ZodLiteral<"text/html">;
46
- contentSha256: z.ZodString;
46
+ contentSha256: z.ZodNullable<z.ZodString>;
47
47
  sizeBytes: z.ZodNumber;
48
48
  sourceSha256: z.ZodNullable<z.ZodString>;
49
49
  sourceSizeBytes: z.ZodNullable<z.ZodNumber>;
@@ -77,7 +77,7 @@ export declare const WorkspaceArtifact: z.ZodObject<{
77
77
  artifactId: z.ZodString;
78
78
  revision: z.ZodNumber;
79
79
  contentType: z.ZodLiteral<"text/html">;
80
- contentSha256: z.ZodString;
80
+ contentSha256: z.ZodNullable<z.ZodString>;
81
81
  sizeBytes: z.ZodNumber;
82
82
  sourceSha256: z.ZodNullable<z.ZodString>;
83
83
  sourceSizeBytes: z.ZodNullable<z.ZodNumber>;
@@ -154,7 +154,7 @@ export declare const WorkspaceArtifactListResponse: z.ZodObject<{
154
154
  artifactId: z.ZodString;
155
155
  revision: z.ZodNumber;
156
156
  contentType: z.ZodLiteral<"text/html">;
157
- contentSha256: z.ZodString;
157
+ contentSha256: z.ZodNullable<z.ZodString>;
158
158
  sizeBytes: z.ZodNumber;
159
159
  sourceSha256: z.ZodNullable<z.ZodString>;
160
160
  sourceSizeBytes: z.ZodNullable<z.ZodNumber>;
@@ -196,7 +196,7 @@ export declare const WorkspaceArtifactDetailResponse: z.ZodObject<{
196
196
  artifactId: z.ZodString;
197
197
  revision: z.ZodNumber;
198
198
  contentType: z.ZodLiteral<"text/html">;
199
- contentSha256: z.ZodString;
199
+ contentSha256: z.ZodNullable<z.ZodString>;
200
200
  sizeBytes: z.ZodNumber;
201
201
  sourceSha256: z.ZodNullable<z.ZodString>;
202
202
  sourceSizeBytes: z.ZodNullable<z.ZodNumber>;
@@ -222,7 +222,7 @@ export declare const WorkspaceArtifactDetailResponse: z.ZodObject<{
222
222
  artifactId: z.ZodString;
223
223
  revision: z.ZodNumber;
224
224
  contentType: z.ZodLiteral<"text/html">;
225
- contentSha256: z.ZodString;
225
+ contentSha256: z.ZodNullable<z.ZodString>;
226
226
  sizeBytes: z.ZodNumber;
227
227
  sourceSha256: z.ZodNullable<z.ZodString>;
228
228
  sourceSizeBytes: z.ZodNullable<z.ZodNumber>;
@@ -267,7 +267,8 @@ export declare const CreateWorkspaceArtifactRequest: z.ZodObject<{
267
267
  slug: z.ZodOptional<z.ZodString>;
268
268
  title: z.ZodString;
269
269
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
270
- html: z.ZodString;
270
+ html: z.ZodOptional<z.ZodString>;
271
+ uploadId: z.ZodOptional<z.ZodString>;
271
272
  source: z.ZodOptional<z.ZodObject<{
272
273
  entrypoint: z.ZodString;
273
274
  files: z.ZodArray<z.ZodObject<{
@@ -285,7 +286,8 @@ export type CreateWorkspaceArtifactRequest = z.infer<typeof CreateWorkspaceArtif
285
286
  export declare const PublishWorkspaceArtifactVersionRequest: z.ZodObject<{
286
287
  title: z.ZodOptional<z.ZodString>;
287
288
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
- html: z.ZodString;
289
+ html: z.ZodOptional<z.ZodString>;
290
+ uploadId: z.ZodOptional<z.ZodString>;
289
291
  source: z.ZodOptional<z.ZodObject<{
290
292
  entrypoint: z.ZodString;
291
293
  files: z.ZodArray<z.ZodObject<{
@@ -337,7 +339,7 @@ export declare const WorkspaceArtifactMutationResponse: z.ZodObject<{
337
339
  artifactId: z.ZodString;
338
340
  revision: z.ZodNumber;
339
341
  contentType: z.ZodLiteral<"text/html">;
340
- contentSha256: z.ZodString;
342
+ contentSha256: z.ZodNullable<z.ZodString>;
341
343
  sizeBytes: z.ZodNumber;
342
344
  sourceSha256: z.ZodNullable<z.ZodString>;
343
345
  sourceSizeBytes: z.ZodNullable<z.ZodNumber>;
@@ -363,7 +365,7 @@ export declare const WorkspaceArtifactMutationResponse: z.ZodObject<{
363
365
  artifactId: z.ZodString;
364
366
  revision: z.ZodNumber;
365
367
  contentType: z.ZodLiteral<"text/html">;
366
- contentSha256: z.ZodString;
368
+ contentSha256: z.ZodNullable<z.ZodString>;
367
369
  sizeBytes: z.ZodNumber;
368
370
  sourceSha256: z.ZodNullable<z.ZodString>;
369
371
  sourceSizeBytes: z.ZodNullable<z.ZodNumber>;
@@ -406,7 +408,7 @@ export declare const WorkspaceArtifactContentResponse: z.ZodObject<{
406
408
  artifactId: z.ZodString;
407
409
  versionId: z.ZodString;
408
410
  contentType: z.ZodLiteral<"text/html">;
409
- contentSha256: z.ZodString;
411
+ contentSha256: z.ZodNullable<z.ZodString>;
410
412
  html: z.ZodString;
411
413
  source: z.ZodObject<{
412
414
  entrypoint: z.ZodString;
package/dist/atlassian.js CHANGED
@@ -17,26 +17,27 @@ import {
17
17
  AtlassianSyncCadence,
18
18
  SaveAtlassianSourcesRequest,
19
19
  atlassianScopesAllowRead
20
- } from "./chunk-DPCCW6U7.js";
20
+ } from "./chunk-N56VJ7BB.js";
21
21
  import "./chunk-YBW5JSA3.js";
22
- import "./chunk-NPBM4QSK.js";
22
+ import "./chunk-6TCVR53X.js";
23
23
  import "./chunk-CM6BMECR.js";
24
24
  import "./chunk-MRWYRAS5.js";
25
25
  import "./chunk-3SIZGL3O.js";
26
+ import "./chunk-JUFK3T4Q.js";
26
27
  import "./chunk-M5ZGRVIQ.js";
27
28
  import "./chunk-BCS7WHCK.js";
29
+ import "./chunk-QY773SDD.js";
28
30
  import "./chunk-WYBDERIY.js";
29
31
  import "./chunk-7ABONTXE.js";
30
32
  import "./chunk-NVJMJWLL.js";
31
33
  import "./chunk-YRKRZ6OF.js";
32
- import "./chunk-7Q6HPDY2.js";
34
+ import "./chunk-NPYLOZAP.js";
35
+ import "./chunk-D2HKF2EF.js";
33
36
  import "./chunk-Y3KNXVTD.js";
34
37
  import "./chunk-TXTQIYCV.js";
35
38
  import "./chunk-RIY7GYQS.js";
36
- import "./chunk-D2HKF2EF.js";
37
39
  import "./chunk-MYBZRDTY.js";
38
40
  import "./chunk-PX3VCKAU.js";
39
- import "./chunk-JUFK3T4Q.js";
40
41
  export {
41
42
  ATLASSIAN_CREDENTIAL_LABEL,
42
43
  ATLASSIAN_CREDENTIAL_ROLE,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-NVJMJWLL.js";
7
7
  import {
8
8
  editableArtifactCodecFor
9
- } from "./chunk-7Q6HPDY2.js";
9
+ } from "./chunk-NPYLOZAP.js";
10
10
  import {
11
11
  DOCUMENT_ARTIFACT_COMMAND_MAX_COMMANDS,
12
12
  DOCUMENT_ARTIFACT_MAX_STRUCTURAL_COUNTER
@@ -380,4 +380,4 @@ export {
380
380
  decodeEditableArtifactSerializedCommit,
381
381
  assertCanonicalEditableArtifactSerializedCommit
382
382
  };
383
- //# sourceMappingURL=chunk-NPBM4QSK.js.map
383
+ //# sourceMappingURL=chunk-6TCVR53X.js.map
@@ -4640,7 +4640,7 @@ function compactSessionMcpDetail(session, monitoring, queue) {
4640
4640
  sequence: progress.sequence,
4641
4641
  text: progressText.text,
4642
4642
  occurredAt: progress.occurredAt,
4643
- ...progressText.truncated ? { textTruncated: true } : {}
4643
+ ...progressText.truncated || progress.textTruncated ? { textTruncated: true } : {}
4644
4644
  }
4645
4645
  } : {},
4646
4646
  ...pause ? { pause } : {},
@@ -4922,9 +4922,9 @@ var AgentTopologyPageResponse = z16.object({
4922
4922
 
4923
4923
  // src/artifacts.ts
4924
4924
  import { z as z17 } from "zod";
4925
- var WORKSPACE_ARTIFACT_HTML_MAX_UTF8_BYTES = 4 * 1024 * 1024;
4926
- var WORKSPACE_ARTIFACT_SOURCE_MAX_UTF8_BYTES = 4 * 1024 * 1024;
4927
- var WORKSPACE_ARTIFACT_SOURCE_MAX_FILES = 128;
4925
+ var WORKSPACE_ARTIFACT_HTML_MAX_UTF8_BYTES = 5e9;
4926
+ var WORKSPACE_ARTIFACT_SOURCE_MAX_UTF8_BYTES = 5e9;
4927
+ var WORKSPACE_ARTIFACT_SOURCE_MAX_FILES = Number.MAX_SAFE_INTEGER;
4928
4928
  var WORKSPACE_ARTIFACT_REQUESTED_TOOLS_MAX = 128;
4929
4929
  var WORKSPACE_ARTIFACT_TITLE_MAX_CHARS = 120;
4930
4930
  var WORKSPACE_ARTIFACT_DESCRIPTION_MAX_CHARS = 2e3;
@@ -4993,7 +4993,7 @@ var WorkspaceArtifactVersion = z17.object({
4993
4993
  artifactId: z17.string().uuid(),
4994
4994
  revision: z17.number().int().positive(),
4995
4995
  contentType: z17.literal("text/html"),
4996
- contentSha256: sha2562,
4996
+ contentSha256: sha2562.nullable(),
4997
4997
  sizeBytes: z17.number().int().positive().max(WORKSPACE_ARTIFACT_HTML_MAX_UTF8_BYTES),
4998
4998
  sourceSha256: sha2562.nullable(),
4999
4999
  sourceSizeBytes: z17.number().int().positive().max(WORKSPACE_ARTIFACT_SOURCE_MAX_UTF8_BYTES).nullable(),
@@ -5069,19 +5069,29 @@ var CreateWorkspaceArtifactRequest = z17.object({
5069
5069
  slug: WorkspaceArtifactSlug.optional(),
5070
5070
  title: z17.string().trim().min(1).max(WORKSPACE_ARTIFACT_TITLE_MAX_CHARS),
5071
5071
  description: z17.string().max(WORKSPACE_ARTIFACT_DESCRIPTION_MAX_CHARS).nullable().optional(),
5072
- html: WorkspaceArtifactHtml,
5072
+ html: WorkspaceArtifactHtml.optional(),
5073
+ uploadId: z17.string().uuid().optional(),
5073
5074
  source: WorkspaceArtifactSourceBundle.optional(),
5074
5075
  requestedTools: WorkspaceArtifactRequestedTools.optional(),
5075
5076
  idempotencyKey: z17.string().trim().min(1).max(200)
5077
+ }).refine((value) => value.html !== void 0 !== (value.uploadId !== void 0), {
5078
+ message: "Provide either html or uploadId"
5079
+ }).refine((value) => !value.uploadId || value.source === void 0, {
5080
+ message: "Upload source using the prepared source URL"
5076
5081
  });
5077
5082
  var PublishWorkspaceArtifactVersionRequest = z17.object({
5078
5083
  title: z17.string().trim().min(1).max(WORKSPACE_ARTIFACT_TITLE_MAX_CHARS).optional(),
5079
5084
  description: z17.string().max(WORKSPACE_ARTIFACT_DESCRIPTION_MAX_CHARS).nullable().optional(),
5080
- html: WorkspaceArtifactHtml,
5085
+ html: WorkspaceArtifactHtml.optional(),
5086
+ uploadId: z17.string().uuid().optional(),
5081
5087
  source: WorkspaceArtifactSourceBundle.optional(),
5082
5088
  requestedTools: WorkspaceArtifactRequestedTools.optional(),
5083
5089
  expectedCurrentVersionId: z17.string().uuid(),
5084
5090
  idempotencyKey: z17.string().trim().min(1).max(200)
5091
+ }).refine((value) => value.html !== void 0 !== (value.uploadId !== void 0), {
5092
+ message: "Provide either html or uploadId"
5093
+ }).refine((value) => !value.uploadId || value.source === void 0, {
5094
+ message: "Upload source using the prepared source URL"
5085
5095
  });
5086
5096
  var RollbackWorkspaceArtifactRequest = z17.object({
5087
5097
  versionId: z17.string().uuid(),
@@ -5105,7 +5115,7 @@ var WorkspaceArtifactContentResponse = z17.object({
5105
5115
  artifactId: z17.string().uuid(),
5106
5116
  versionId: z17.string().uuid(),
5107
5117
  contentType: z17.literal("text/html"),
5108
- contentSha256: sha2562,
5118
+ contentSha256: sha2562.nullable(),
5109
5119
  html: WorkspaceArtifactHtml,
5110
5120
  source: WorkspaceArtifactSourceBundle,
5111
5121
  requestedTools: WorkspaceArtifactRequestedTools
@@ -9213,6 +9223,7 @@ var FIRST_PARTY_MCP_TOOL_NAMES = [
9213
9223
  "wait_for_input",
9214
9224
  "goal_complete",
9215
9225
  "goal_pause",
9226
+ "goal_resume",
9216
9227
  "memory_search",
9217
9228
  "memory_save",
9218
9229
  "memory_correct",
@@ -9251,6 +9262,7 @@ var FIRST_PARTY_MCP_TOOL_NAMES = [
9251
9262
  "session_events",
9252
9263
  "session_wait",
9253
9264
  "command_wait",
9265
+ "command_read",
9254
9266
  "session_create",
9255
9267
  "session_send_message",
9256
9268
  "session_pause",
@@ -9339,6 +9351,7 @@ var FIRST_PARTY_MCP_TOOL_NAMES = [
9339
9351
  "atlassian_get",
9340
9352
  "artifacts_list",
9341
9353
  "artifacts_get_source",
9354
+ "artifacts_prepare_upload",
9342
9355
  "artifacts_create",
9343
9356
  "artifacts_publish",
9344
9357
  "artifacts_rollback",
@@ -13300,6 +13313,8 @@ var NewSessionDraft = z32.object({
13300
13313
  model: z32.string().min(1),
13301
13314
  reasoningEffort: ReasoningEffort,
13302
13315
  latencyMode: LatencyMode,
13316
+ /** Absent on legacy drafts; null is explicit provenance for the Default project. */
13317
+ selectedProjectChannelId: z32.string().uuid().nullable().optional(),
13303
13318
  options: NewSessionDraftOptions,
13304
13319
  selectionHistory: NewSessionSelectionHistory.default({ projects: [] }),
13305
13320
  updatedAt: z32.string().nullable()
@@ -13312,6 +13327,7 @@ var SaveNewSessionDraftRequest = NewSessionDraft.pick({
13312
13327
  model: true,
13313
13328
  reasoningEffort: true,
13314
13329
  latencyMode: true,
13330
+ selectedProjectChannelId: true,
13315
13331
  options: true
13316
13332
  }).extend({ expectedRevision: z32.number().int().nonnegative() });
13317
13333
  var WORKSPACE_CONTROL_REASON_MAX_BYTES = 8 * 1024;
@@ -13634,6 +13650,7 @@ var SessionSystemUpdatePayload = z32.discriminatedUnion("type", [
13634
13650
  state: z32.enum(["exited", "lost"]),
13635
13651
  exitCode: z32.number().int().nullable(),
13636
13652
  reason: boundedUtf8String2(512),
13653
+ failure: z32.lazy(() => SessionCommandFailure).optional(),
13637
13654
  outputLocator: z32.object({
13638
13655
  eventType: z32.literal("sandbox.command.output.delta"),
13639
13656
  commandId: z32.string().uuid()
@@ -13720,7 +13737,7 @@ function renderSessionSystemUpdateBatch(updates) {
13720
13737
  }
13721
13738
  return [
13722
13739
  "[OpenGeni internal updates]",
13723
- "These platform updates were delivered together for this inference. They are not human prompts.",
13740
+ "These platform updates were delivered together for this inference.",
13724
13741
  JSON.stringify({
13725
13742
  updates: updates.map((update) => ({
13726
13743
  id: update.id,
@@ -16590,6 +16607,14 @@ var SessionBackgroundCommandActivity = z32.object({
16590
16607
  state: z32.enum(["running", "stopping"]),
16591
16608
  count: z32.number().int().positive()
16592
16609
  }).strict();
16610
+ var SessionCommandFailure = z32.object({
16611
+ code: z32.string().regex(/^[A-Za-z0-9_-]{1,128}$/),
16612
+ detail: z32.record(z32.string().max(128), z32.string().max(2048)).optional(),
16613
+ retryable: z32.literal(false)
16614
+ }).refine(
16615
+ (failure) => Object.keys(failure.detail ?? {}).length <= 32 && new TextEncoder().encode(JSON.stringify(failure)).byteLength <= 4096,
16616
+ "Command failure metadata exceeds its retained bound"
16617
+ );
16593
16618
  var SessionBackgroundCommand = z32.object({
16594
16619
  id: z32.string().uuid(),
16595
16620
  workspaceId: z32.string().uuid(),
@@ -16600,10 +16625,51 @@ var SessionBackgroundCommand = z32.object({
16600
16625
  cancelRequestedAt: z32.string().nullable(),
16601
16626
  exitCode: z32.number().int().nullable(),
16602
16627
  settlementReason: z32.string().nullable(),
16628
+ failure: SessionCommandFailure.optional(),
16603
16629
  startedAt: z32.string(),
16604
16630
  settledAt: z32.string().nullable(),
16631
+ completionObservedAt: z32.string().nullable().optional(),
16605
16632
  updatedAt: z32.string()
16606
16633
  }).strict();
16634
+ var CommandReadInput = /* @__PURE__ */ (() => z32.object({
16635
+ commandId: z32.string().uuid(),
16636
+ cursor: z32.string().max(128).optional(),
16637
+ waitSeconds: z32.number().int().min(0).max(50).optional(),
16638
+ maxOutputBytes: z32.number().int().min(4).max(65536).optional()
16639
+ }).strict())();
16640
+ var CommandReadResult = /* @__PURE__ */ (() => z32.object({
16641
+ commandId: z32.string().uuid(),
16642
+ state: SessionBackgroundCommandState,
16643
+ exitCode: z32.number().int().nullable(),
16644
+ settlementReason: z32.string().nullable().optional(),
16645
+ // A physical zero exit is not success when runner output delivery failed.
16646
+ failure: SessionCommandFailure.optional(),
16647
+ terminal: z32.boolean(),
16648
+ completionObservedAt: z32.string().nullable(),
16649
+ freshness: z32.object({
16650
+ status: z32.literal("refresh_unavailable"),
16651
+ retryable: z32.literal(true)
16652
+ }).optional(),
16653
+ chunks: z32.array(
16654
+ z32.object({
16655
+ sequence: z32.number().int().nonnegative(),
16656
+ stream: z32.enum(["stdout", "stderr"]),
16657
+ streamFidelity: z32.enum(["separate", "merged", "unknown"]),
16658
+ chunk: z32.string()
16659
+ })
16660
+ ).max(64),
16661
+ nextCursor: z32.string(),
16662
+ hasMore: z32.boolean(),
16663
+ retention: z32.object({
16664
+ source: z32.literal("retained_session_events"),
16665
+ completeness: z32.literal("unknown"),
16666
+ gaps: z32.array(z32.string())
16667
+ }),
16668
+ waitedMs: z32.number().nonnegative(),
16669
+ timedOut: z32.boolean(),
16670
+ aborted: z32.boolean(),
16671
+ liveFanout: z32.boolean()
16672
+ }).strict())();
16607
16673
  var SessionBackgroundCommandListResponse = z32.object({ commands: z32.array(SessionBackgroundCommand).max(1e3) }).strict();
16608
16674
  var CancelSessionBackgroundCommandResult = z32.object({ command: SessionBackgroundCommand, accepted: z32.boolean() }).strict();
16609
16675
  var Session = z32.object({
@@ -16613,6 +16679,8 @@ var Session = z32.object({
16613
16679
  status: SessionStatus,
16614
16680
  /** Additive list projection. Detail reads may omit it. */
16615
16681
  backgroundCommandActivity: SessionBackgroundCommandActivity.optional(),
16682
+ /** Current non-deleted schedules targeting this session, including paused schedules. */
16683
+ hasSchedules: z32.boolean().optional(),
16616
16684
  initialMessage: z32.string(),
16617
16685
  title: z32.string().nullable(),
16618
16686
  titleSource: z32.enum(["user", "agent"]).nullable(),
@@ -16793,6 +16861,8 @@ var LineageNode = z32.lazy(
16793
16861
  })
16794
16862
  );
16795
16863
  var SessionLineageResponse = z32.object({
16864
+ /** Current schedule relationship for the requested session. */
16865
+ sessionHasSchedules: z32.boolean().optional(),
16796
16866
  ancestors: z32.array(Session),
16797
16867
  children: z32.array(LineageNode),
16798
16868
  truncated: z32.boolean().default(false)
@@ -18504,7 +18574,8 @@ var CreateSessionRequest = withVariableSetIdAlias(
18504
18574
  // compatibility fallback by omitting this field.
18505
18575
  policyRole: WorkspaceInstructionPolicyRoleKeyInput.optional(),
18506
18576
  // For an agent-created child, omission inherits the trusted immediate
18507
- // parent's repository/file context. An explicit array, including [], is
18577
+ // parent's repositories only; files require explicit selection. An explicit
18578
+ // array, including [], is
18508
18579
  // authoritative. Top-level omission remains []. Presence is resolved from
18509
18580
  // the raw request because this Zod default erases absent-vs-empty.
18510
18581
  resources: z32.array(ResourceRef).default([]),
@@ -18929,6 +19000,50 @@ var GitHubAppInfo = z32.object({
18929
19000
  var GitHubRepositoriesResponse = z32.object({
18930
19001
  repositories: z32.array(GitHubRepository)
18931
19002
  });
19003
+ var GitHubActionPolicyDecision = z32.enum(["allow", "ask", "block"]);
19004
+ var GitHubActionPolicyEffectiveDecision = z32.enum([
19005
+ ...GitHubActionPolicyDecision.options,
19006
+ "mixed"
19007
+ ]);
19008
+ var GitHubActionPolicyGroup = z32.enum(["routine", "review", "merge"]);
19009
+ var GitHubActionPolicyActor = z32.discriminatedUnion("kind", [
19010
+ z32.object({
19011
+ kind: z32.literal("workspace_app"),
19012
+ installationId: z32.number().int().positive()
19013
+ }),
19014
+ z32.object({
19015
+ kind: z32.literal("personal"),
19016
+ connectionId: z32.string().trim().min(1).max(512)
19017
+ })
19018
+ ]);
19019
+ var GitHubActionPolicyGroups = z32.object({
19020
+ routine: GitHubActionPolicyEffectiveDecision,
19021
+ review: GitHubActionPolicyEffectiveDecision,
19022
+ merge: GitHubActionPolicyEffectiveDecision
19023
+ });
19024
+ var GitHubActionPolicyActorState = z32.discriminatedUnion("kind", [
19025
+ z32.object({
19026
+ kind: z32.literal("workspace_app"),
19027
+ installationId: z32.number().int().positive(),
19028
+ label: z32.string().min(1).max(256),
19029
+ groups: GitHubActionPolicyGroups
19030
+ }),
19031
+ z32.object({
19032
+ kind: z32.literal("personal"),
19033
+ connectionId: z32.string().trim().min(1).max(512),
19034
+ label: z32.string().min(1).max(256),
19035
+ groups: GitHubActionPolicyGroups
19036
+ })
19037
+ ]);
19038
+ var GitHubActionPoliciesResponse = z32.object({
19039
+ enabled: z32.boolean(),
19040
+ actors: z32.array(GitHubActionPolicyActorState).max(128)
19041
+ });
19042
+ var UpdateGitHubActionPolicyRequest = z32.object({
19043
+ actor: GitHubActionPolicyActor,
19044
+ group: GitHubActionPolicyGroup,
19045
+ decision: GitHubActionPolicyDecision
19046
+ });
18932
19047
  var ClientAuthConfig = z32.discriminatedUnion("mode", [
18933
19048
  z32.object({
18934
19049
  mode: z32.literal("none")
@@ -19861,6 +19976,7 @@ var ClientConfig = /* @__PURE__ */ defineModelContractSchema(
19861
19976
  acceptedMimeTypes: [...VOICE_INPUT_ACCEPTED_MIME_TYPES]
19862
19977
  }),
19863
19978
  productAccessMode: ProductAccessMode,
19979
+ billingMode: BillingMode.default("disabled"),
19864
19980
  // Safe rollout discriminator: the browser only mounts the optional
19865
19981
  // @opengeni/sdk/accounts controller when this is dual or broker.
19866
19982
  managedAuthSessionSetMode: z32.enum(["legacy", "dual", "broker"]).default("legacy"),
@@ -21648,7 +21764,10 @@ export {
21648
21764
  SessionBackgroundCommandState,
21649
21765
  SessionBackgroundCommandProvider,
21650
21766
  SessionBackgroundCommandActivity,
21767
+ SessionCommandFailure,
21651
21768
  SessionBackgroundCommand,
21769
+ CommandReadInput,
21770
+ CommandReadResult,
21652
21771
  SessionBackgroundCommandListResponse,
21653
21772
  CancelSessionBackgroundCommandResult,
21654
21773
  Session,
@@ -21792,6 +21911,13 @@ export {
21792
21911
  GitHubInstallationBinding,
21793
21912
  GitHubAppInfo,
21794
21913
  GitHubRepositoriesResponse,
21914
+ GitHubActionPolicyDecision,
21915
+ GitHubActionPolicyEffectiveDecision,
21916
+ GitHubActionPolicyGroup,
21917
+ GitHubActionPolicyActor,
21918
+ GitHubActionPolicyActorState,
21919
+ GitHubActionPoliciesResponse,
21920
+ UpdateGitHubActionPolicyRequest,
21795
21921
  ClientAuthConfig,
21796
21922
  CapabilityUnavailableReason,
21797
21923
  SessionCapabilities,
@@ -21872,4 +21998,4 @@ export {
21872
21998
  ClientConfig,
21873
21999
  evaluateWorkspaceModelPolicy
21874
22000
  };
21875
- //# sourceMappingURL=chunk-DPCCW6U7.js.map
22001
+ //# sourceMappingURL=chunk-N56VJ7BB.js.map