@openkaiden/opnshll-sdk 0.1.2 → 0.1.4

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.
@@ -480,6 +480,14 @@ export type Sandbox = Message<"openshell.v1.Sandbox"> & {
480
480
  * @generated from field: openshell.v1.SandboxStatus status = 3;
481
481
  */
482
482
  status?: SandboxStatus | undefined;
483
+ /**
484
+ * Read-only SSH host identity in OpenSSH SHA256:<base64> form. Stable for
485
+ * this sandbox's lifetime, including runtime restarts. Empty on legacy
486
+ * runtimes that do not provide a gateway-managed SSH identity.
487
+ *
488
+ * @generated from field: string host_key_fingerprint = 6;
489
+ */
490
+ hostKeyFingerprint: string;
483
491
  /**
484
492
  * Read-only provenance for sandboxes created from a reusable workload template.
485
493
  *
@@ -558,6 +566,13 @@ export type SandboxSpec = Message<"openshell.v1.SandboxSpec"> & {
558
566
  * @generated from field: string provider_attachment_epoch = 14;
559
567
  */
560
568
  providerAttachmentEpoch: string;
569
+ /**
570
+ * Gateway-owned policy for replacing the sandbox runtime after the canonical
571
+ * main process exits. Unspecified is normalized to Never before persistence.
572
+ *
573
+ * @generated from field: openshell.v1.SandboxRestartPolicy restart_policy = 15;
574
+ */
575
+ restartPolicy: SandboxRestartPolicy;
561
576
  };
562
577
  /**
563
578
  * Describes the message openshell.v1.SandboxSpec.
@@ -902,9 +917,8 @@ export type SandboxStatus = Message<"openshell.v1.SandboxStatus"> & {
902
917
  */
903
918
  mainProcessInstanceId: string;
904
919
  /**
905
- * Normalized main process result. Signal exits use 128 + signal number.
906
- * Presence indicates that the canonical main process exited. Exit code 0
907
- * produces Completed; nonzero and signal-normalized exits produce Error.
920
+ * Most recent normalized main process result. Signal exits use 128 + signal number.
921
+ * Cleared when a replacement main process becomes ready.
908
922
  *
909
923
  * @generated from field: optional int32 exit_code = 9;
910
924
  */
@@ -930,11 +944,29 @@ export type SandboxStatus = Message<"openshell.v1.SandboxStatus"> & {
930
944
  */
931
945
  configurationActivated?: boolean | undefined;
932
946
  /**
933
- * Gateway-owned repair window. Retained after timeout for inspection and retry.
947
+ * Gateway-owned provisioning deadlines, retained after timeout for inspection and retry.
934
948
  *
935
949
  * @generated from field: openshell.v1.SandboxProvisioning provisioning = 13;
936
950
  */
937
951
  provisioning?: SandboxProvisioning | undefined;
952
+ /**
953
+ * Consecutive policy-driven restart number in the current crash loop.
954
+ *
955
+ * @generated from field: uint32 restart_count = 14;
956
+ */
957
+ restartCount: number;
958
+ /**
959
+ * Deadline for the next restart attempt or recovery check.
960
+ *
961
+ * @generated from field: google.protobuf.Timestamp next_restart_time = 15;
962
+ */
963
+ nextRestartTime?: Timestamp | undefined;
964
+ /**
965
+ * Time when the current main process became ready.
966
+ *
967
+ * @generated from field: google.protobuf.Timestamp main_process_started_time = 16;
968
+ */
969
+ mainProcessStartedTime?: Timestamp | undefined;
938
970
  };
939
971
  /**
940
972
  * Describes the message openshell.v1.SandboxStatus.
@@ -2257,7 +2289,8 @@ export type CreateSshSessionResponse = Message<"openshell.v1.CreateSshSessionRes
2257
2289
  */
2258
2290
  gatewayScheme: string;
2259
2291
  /**
2260
- * Optional host key fingerprint. If non-empty, [A-Za-z0-9:+/=-] only.
2292
+ * Expected sandbox SSH host identity in OpenSSH SHA256:<base64> form.
2293
+ * Stable for the sandbox's lifetime. Empty only for legacy runtimes.
2261
2294
  *
2262
2295
  * @generated from field: string host_key_fingerprint = 7;
2263
2296
  */
@@ -2315,6 +2348,12 @@ export type ExposeServiceRequest = Message<"openshell.v1.ExposeServiceRequest">
2315
2348
  * @generated from field: string request_id = 6;
2316
2349
  */
2317
2350
  requestId: string;
2351
+ /**
2352
+ * Application authorization behavior. Omission resolves to STRIP.
2353
+ *
2354
+ * @generated from field: openshell.v1.ServiceAuthorizationMode authorization_mode = 7;
2355
+ */
2356
+ authorizationMode: ServiceAuthorizationMode;
2318
2357
  };
2319
2358
  /**
2320
2359
  * Describes the message openshell.v1.ExposeServiceRequest.
@@ -2506,6 +2545,12 @@ export type ServiceEndpoint = Message<"openshell.v1.ServiceEndpoint"> & {
2506
2545
  * @generated from field: bool domain = 6;
2507
2546
  */
2508
2547
  domain: boolean;
2548
+ /**
2549
+ * Effective application authorization behavior for ingress requests.
2550
+ *
2551
+ * @generated from field: openshell.v1.ServiceAuthorizationMode authorization_mode = 7;
2552
+ */
2553
+ authorizationMode: ServiceAuthorizationMode;
2509
2554
  };
2510
2555
  /**
2511
2556
  * Describes the message openshell.v1.ServiceEndpoint.
@@ -3238,6 +3283,83 @@ export type GetProviderRequest = Message<"openshell.v1.GetProviderRequest"> & {
3238
3283
  * Use `create(GetProviderRequestSchema)` to create a new message.
3239
3284
  */
3240
3285
  export declare const GetProviderRequestSchema: GenMessage<GetProviderRequest>;
3286
+ /**
3287
+ * Retrieve selected runtime credentials from one provider in one workspace.
3288
+ * Refresh side effects can persist even when the complete request fails.
3289
+ *
3290
+ * @generated from message openshell.v1.GetProviderCredentialsRequest
3291
+ */
3292
+ export type GetProviderCredentialsRequest = Message<"openshell.v1.GetProviderCredentialsRequest"> & {
3293
+ /**
3294
+ * Required named workspace selection; all_workspaces is not accepted.
3295
+ *
3296
+ * @generated from field: openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;
3297
+ */
3298
+ workspaceScope?: WorkspaceSelector | undefined;
3299
+ /**
3300
+ * Provider canonical name.
3301
+ *
3302
+ * @generated from field: string name = 2;
3303
+ */
3304
+ name: string;
3305
+ /**
3306
+ * Nonempty selection of runtime environment keys (maximum 32).
3307
+ *
3308
+ * @generated from field: repeated string credential_keys = 3;
3309
+ */
3310
+ credentialKeys: string[];
3311
+ /**
3312
+ * Omitted/zero uses a five-minute safety margin. Maximum is 24 hours.
3313
+ *
3314
+ * @generated from field: google.protobuf.Duration minimum_remaining_lifetime = 4;
3315
+ */
3316
+ minimumRemainingLifetime?: Duration | undefined;
3317
+ };
3318
+ /**
3319
+ * Describes the message openshell.v1.GetProviderCredentialsRequest.
3320
+ * Use `create(GetProviderCredentialsRequestSchema)` to create a new message.
3321
+ */
3322
+ export declare const GetProviderCredentialsRequestSchema: GenMessage<GetProviderCredentialsRequest>;
3323
+ /**
3324
+ * Usable runtime value, never gateway-only minting material.
3325
+ *
3326
+ * @generated from message openshell.v1.ProviderCredentialValue
3327
+ */
3328
+ export type ProviderCredentialValue = Message<"openshell.v1.ProviderCredentialValue"> & {
3329
+ /**
3330
+ * @generated from field: string value = 1;
3331
+ */
3332
+ value: string;
3333
+ /**
3334
+ * Absent for credentials with no declared expiration.
3335
+ *
3336
+ * @generated from field: google.protobuf.Timestamp expiration_time = 2;
3337
+ */
3338
+ expirationTime?: Timestamp | undefined;
3339
+ };
3340
+ /**
3341
+ * Describes the message openshell.v1.ProviderCredentialValue.
3342
+ * Use `create(ProviderCredentialValueSchema)` to create a new message.
3343
+ */
3344
+ export declare const ProviderCredentialValueSchema: GenMessage<ProviderCredentialValue>;
3345
+ /**
3346
+ * @generated from message openshell.v1.GetProviderCredentialsResponse
3347
+ */
3348
+ export type GetProviderCredentialsResponse = Message<"openshell.v1.GetProviderCredentialsResponse"> & {
3349
+ /**
3350
+ * All requested values or an error; no partial response.
3351
+ *
3352
+ * @generated from field: map<string, openshell.v1.ProviderCredentialValue> credentials = 1;
3353
+ */
3354
+ credentials: {
3355
+ [key: string]: ProviderCredentialValue;
3356
+ };
3357
+ };
3358
+ /**
3359
+ * Describes the message openshell.v1.GetProviderCredentialsResponse.
3360
+ * Use `create(GetProviderCredentialsResponseSchema)` to create a new message.
3361
+ */
3362
+ export declare const GetProviderCredentialsResponseSchema: GenMessage<GetProviderCredentialsResponse>;
3241
3363
  /**
3242
3364
  * List providers request.
3243
3365
  *
@@ -3264,6 +3386,12 @@ export type ListProvidersRequest = Message<"openshell.v1.ListProvidersRequest">
3264
3386
  * @generated from field: string page_token = 2;
3265
3387
  */
3266
3388
  pageToken: string;
3389
+ /**
3390
+ * Optional label selector for filtering (format: "key1=value1,key2=value2").
3391
+ *
3392
+ * @generated from field: string label_selector = 4;
3393
+ */
3394
+ labelSelector: string;
3267
3395
  };
3268
3396
  /**
3269
3397
  * Describes the message openshell.v1.ListProvidersRequest.
@@ -3697,6 +3825,26 @@ export type ProviderProfileCredential = Message<"openshell.v1.ProviderProfileCre
3697
3825
  * @generated from field: openshell.v1.ProviderCredentialTokenGrant token_grant = 10;
3698
3826
  */
3699
3827
  tokenGrant?: ProviderCredentialTokenGrant | undefined;
3828
+ /**
3829
+ * Output-only gateway-derived endpoint authorities for resolved token grants.
3830
+ * For inspected L7 requests, empty means no endpoint may obtain this grant.
3831
+ * L4 injection uses selectors without checking these authorities.
3832
+ * Profile-authored values are ignored; normal policies name the originating
3833
+ * provider endpoint, while a global policy uses its own endpoint authorities.
3834
+ *
3835
+ * @generated from field: repeated string token_grant_owners = 11;
3836
+ */
3837
+ tokenGrantOwners: string[];
3838
+ /**
3839
+ * Opt in to an opaque identity-bound environment placeholder for every env
3840
+ * var declared by this credential. Use this only when an external credential
3841
+ * updater requires one placeholder across value-only provider revisions.
3842
+ * Gateway-managed refresh and token-grant credentials cannot opt in because
3843
+ * they require identity-bearing handles for authorization-epoch revocation.
3844
+ *
3845
+ * @generated from field: bool stable_placeholder = 12;
3846
+ */
3847
+ stablePlaceholder: boolean;
3700
3848
  };
3701
3849
  /**
3702
3850
  * Describes the message openshell.v1.ProviderProfileCredential.
@@ -4156,12 +4304,49 @@ export type ProviderProfile = Message<"openshell.v1.ProviderProfile"> & {
4156
4304
  * @generated from field: string scope = 13;
4157
4305
  */
4158
4306
  scope: string;
4307
+ /**
4308
+ * EXPERIMENTAL: Non-secret files rendered from provider configuration for the
4309
+ * workload. This API and its behavior may change or be removed.
4310
+ *
4311
+ * @generated from field: repeated openshell.v1.ProviderProfileFile files = 14;
4312
+ */
4313
+ files: ProviderProfileFile[];
4159
4314
  };
4160
4315
  /**
4161
4316
  * Describes the message openshell.v1.ProviderProfile.
4162
4317
  * Use `create(ProviderProfileSchema)` to create a new message.
4163
4318
  */
4164
4319
  export declare const ProviderProfileSchema: GenMessage<ProviderProfile>;
4320
+ /**
4321
+ * EXPERIMENTAL: Provider file templates may change or be removed.
4322
+ *
4323
+ * @generated from message openshell.v1.ProviderProfileFile
4324
+ */
4325
+ export type ProviderProfileFile = Message<"openshell.v1.ProviderProfileFile"> & {
4326
+ /**
4327
+ * One virtual file name below /run/openshell/providers/<provider>/.
4328
+ *
4329
+ * @generated from field: string path = 1;
4330
+ */
4331
+ path: string;
4332
+ /**
4333
+ * UTF-8 template. Only {{config.KEY}} references are supported.
4334
+ *
4335
+ * @generated from field: string content = 2;
4336
+ */
4337
+ content: string;
4338
+ /**
4339
+ * Optional environment variable containing the virtual absolute path.
4340
+ *
4341
+ * @generated from field: string env_var = 3;
4342
+ */
4343
+ envVar: string;
4344
+ };
4345
+ /**
4346
+ * Describes the message openshell.v1.ProviderProfileFile.
4347
+ * Use `create(ProviderProfileFileSchema)` to create a new message.
4348
+ */
4349
+ export declare const ProviderProfileFileSchema: GenMessage<ProviderProfileFile>;
4165
4350
  /**
4166
4351
  * Provider profile response.
4167
4352
  *
@@ -4357,6 +4542,13 @@ export type LintProviderProfilesResponse = Message<"openshell.v1.LintProviderPro
4357
4542
  * @generated from field: bool valid = 2;
4358
4543
  */
4359
4544
  valid: boolean;
4545
+ /**
4546
+ * Clients enabling stable_placeholder check this before import or update,
4547
+ * since older gateways silently discard unknown credential fields.
4548
+ *
4549
+ * @generated from field: bool supports_stable_placeholder = 3;
4550
+ */
4551
+ supportsStablePlaceholder: boolean;
4360
4552
  };
4361
4553
  /**
4362
4554
  * Describes the message openshell.v1.LintProviderProfilesResponse.
@@ -4448,6 +4640,14 @@ export type GetSandboxProviderEnvironmentRequest = Message<"openshell.v1.GetSand
4448
4640
  * @generated from field: bool supports_static_credential_bindings = 2;
4449
4641
  */
4450
4642
  supportsStaticCredentialBindings: boolean;
4643
+ /**
4644
+ * Whether the requesting supervisor understands stable external-placeholder
4645
+ * metadata. Gateways withhold credentials that require this behavior when
4646
+ * the capability is absent.
4647
+ *
4648
+ * @generated from field: bool supports_stable_placeholder_environment_keys = 3;
4649
+ */
4650
+ supportsStablePlaceholderEnvironmentKeys: boolean;
4451
4651
  };
4452
4652
  /**
4453
4653
  * Describes the message openshell.v1.GetSandboxProviderEnvironmentRequest.
@@ -4497,11 +4697,11 @@ export type StaticCredentialBinding = Message<"openshell.v1.StaticCredentialBind
4497
4697
  */
4498
4698
  credentialIdentity: string;
4499
4699
  /**
4500
- * Opaque gateway-issued handle for a refresh-managed credential identity
4501
- * epoch. When non-empty, supervisors keep the workload placeholder stable
4502
- * across access-token rotations and replace only the resolver value. The
4503
- * handle changes when the sandbox, provider, credential key, refresh
4504
- * authorization epoch, or endpoint authorization boundary changes.
4700
+ * Opaque gateway-issued handle for a stable credential lifecycle. When
4701
+ * non-empty, supervisors keep the workload placeholder stable across value
4702
+ * updates and replace only the resolver value. The handle changes when the
4703
+ * sandbox, provider, credential key, endpoint authorization, or an applicable
4704
+ * refresh authorization epoch changes.
4505
4705
  *
4506
4706
  * @generated from field: string workload_credential_handle = 3;
4507
4707
  */
@@ -4586,6 +4786,31 @@ export type GetSandboxProviderEnvironmentResponse = Message<"openshell.v1.GetSan
4586
4786
  * @generated from field: openshell.v1.ProviderReadinessReason readiness_reason = 9;
4587
4787
  */
4588
4788
  readinessReason: ProviderReadinessReason;
4789
+ /**
4790
+ * Complete desired set of non-secret managed files, keyed by absolute path.
4791
+ *
4792
+ * @generated from field: map<string, string> files = 10;
4793
+ */
4794
+ files: {
4795
+ [key: string]: string;
4796
+ };
4797
+ /**
4798
+ * Credential environment variables whose opaque resolver handle remains
4799
+ * stable across value-only provider revisions. These keys are still secrets;
4800
+ * this metadata only selects the stable external-placeholder behavior.
4801
+ *
4802
+ * @generated from field: repeated string stable_placeholder_environment_keys = 11;
4803
+ */
4804
+ stablePlaceholderEnvironmentKeys: string[];
4805
+ /**
4806
+ * Supporting gateways always acknowledge the stable-placeholder delivery
4807
+ * contract, including responses without opted-in credentials. Supervisors
4808
+ * require acknowledgment for declared or previously activated external
4809
+ * stable credentials; ordinary legacy delivery does not require it.
4810
+ *
4811
+ * @generated from field: bool supports_stable_placeholder_environment_keys = 12;
4812
+ */
4813
+ supportsStablePlaceholderEnvironmentKeys: boolean;
4589
4814
  };
4590
4815
  /**
4591
4816
  * Describes the message openshell.v1.GetSandboxProviderEnvironmentResponse.
@@ -5493,6 +5718,12 @@ export type GatewayMessage = Message<"openshell.v1.GatewayMessage"> & {
5493
5718
  */
5494
5719
  value: RelayClose;
5495
5720
  case: "relayClose";
5721
+ } | {
5722
+ /**
5723
+ * @generated from field: openshell.v1.SessionRedirect session_redirect = 6;
5724
+ */
5725
+ value: SessionRedirect;
5726
+ case: "sessionRedirect";
5496
5727
  } | {
5497
5728
  case: undefined;
5498
5729
  value?: undefined;
@@ -5534,6 +5765,22 @@ export type SupervisorHello = Message<"openshell.v1.SupervisorHello"> & {
5534
5765
  * @generated from field: bool supports_provider_readiness = 4;
5535
5766
  */
5536
5767
  supportsProviderReadiness: boolean;
5768
+ /**
5769
+ * Set when this connection is the result of following a SessionRedirect. The
5770
+ * receiving gateway serves a redirected hello locally instead of redirecting
5771
+ * again, so a disagreement about membership cannot bounce the supervisor
5772
+ * between replicas. A gateway that is shutting down may still redirect it.
5773
+ *
5774
+ * @generated from field: bool redirected = 5;
5775
+ */
5776
+ redirected: boolean;
5777
+ /**
5778
+ * The supervisor understands SessionRedirect. Gateways never redirect a
5779
+ * supervisor that does not set this.
5780
+ *
5781
+ * @generated from field: bool supports_session_redirect = 6;
5782
+ */
5783
+ supportsSessionRedirect: boolean;
5537
5784
  };
5538
5785
  /**
5539
5786
  * Describes the message openshell.v1.SupervisorHello.
@@ -5582,6 +5829,36 @@ export type SessionRejected = Message<"openshell.v1.SessionRejected"> & {
5582
5829
  * Use `create(SessionRejectedSchema)` to create a new message.
5583
5830
  */
5584
5831
  export declare const SessionRejectedSchema: GenMessage<SessionRejected>;
5832
+ /**
5833
+ * Gateway declines to own this session and names the replica that should.
5834
+ *
5835
+ * Sent instead of SessionAccepted when the placement ring puts the sandbox on
5836
+ * a different live replica, and to established sessions when their gateway
5837
+ * shuts down. The supervisor reconnects to peer_endpoint once with
5838
+ * SupervisorHello.redirected set, and falls back to its configured gateway
5839
+ * address if that fails.
5840
+ *
5841
+ * @generated from message openshell.v1.SessionRedirect
5842
+ */
5843
+ export type SessionRedirect = Message<"openshell.v1.SessionRedirect"> & {
5844
+ /**
5845
+ * Peer endpoint of the replica that should own this sandbox.
5846
+ *
5847
+ * @generated from field: string peer_endpoint = 1;
5848
+ */
5849
+ peerEndpoint: string;
5850
+ /**
5851
+ * Replica ID that should own this sandbox, for logging.
5852
+ *
5853
+ * @generated from field: string owner_replica_id = 2;
5854
+ */
5855
+ ownerReplicaId: string;
5856
+ };
5857
+ /**
5858
+ * Describes the message openshell.v1.SessionRedirect.
5859
+ * Use `create(SessionRedirectSchema)` to create a new message.
5860
+ */
5861
+ export declare const SessionRedirectSchema: GenMessage<SessionRedirect>;
5585
5862
  /**
5586
5863
  * Supervisor heartbeat.
5587
5864
  *
@@ -7478,7 +7755,7 @@ export type SandboxProvisioning = Message<"openshell.v1.SandboxProvisioning"> &
7478
7755
  */
7479
7756
  firstRejectionTime?: Timestamp | undefined;
7480
7757
  /**
7481
- * Present only while the repair window is armed.
7758
+ * Active preparation or admission-repair deadline. Absent after Ready/timeout.
7482
7759
  *
7483
7760
  * @generated from field: google.protobuf.Timestamp deadline = 5;
7484
7761
  */
@@ -7515,6 +7792,40 @@ export type SandboxProvisioning = Message<"openshell.v1.SandboxProvisioning"> &
7515
7792
  * @generated from field: google.protobuf.Timestamp attachment_change_time = 11;
7516
7793
  */
7517
7794
  attachmentChangeTime?: Timestamp | undefined;
7795
+ /**
7796
+ * Absolute ceiling for image preparation and initial supervisor startup.
7797
+ * Set once per new attempt; progress, configuration writes, and restarts
7798
+ * cannot extend it. Absent on attempts created before preparation timing.
7799
+ *
7800
+ * @generated from field: google.protobuf.Timestamp preparation_deadline = 12;
7801
+ */
7802
+ preparationDeadline?: Timestamp | undefined;
7803
+ /**
7804
+ * First authenticated supervisor configuration report for this attempt.
7805
+ * Starts the admission repair window. Absent while preparing, including
7806
+ * after a preparation timeout. Duplicate reports never change this value.
7807
+ *
7808
+ * @generated from field: google.protobuf.Timestamp admission_start_time = 13;
7809
+ */
7810
+ admissionStartTime?: Timestamp | undefined;
7811
+ /**
7812
+ * An owned driver create/start future is still pending. Claimed before
7813
+ * dispatch and cleared on its actual success or error response. Monitor
7814
+ * interruption, owner loss, and StopSandbox/NotFound do not clear it.
7815
+ * While set, cleanup cannot complete and retry/deletion remain blocked.
7816
+ * This does not strengthen a driver's transport-error settlement contract.
7817
+ *
7818
+ * @generated from field: bool driver_operation_pending = 14;
7819
+ */
7820
+ driverOperationPending: boolean;
7821
+ /**
7822
+ * Unique for each claimed driver operation, including recovery and automatic
7823
+ * restart. Retained after settlement to reject delayed callbacks from an
7824
+ * earlier operation on the same attempt and runtime generation.
7825
+ *
7826
+ * @generated from field: string driver_operation_id = 15;
7827
+ */
7828
+ driverOperationId: string;
7518
7829
  };
7519
7830
  /**
7520
7831
  * Describes the message openshell.v1.SandboxProvisioning.
@@ -7539,6 +7850,12 @@ export type SandboxServiceExposure = Message<"openshell.v1.SandboxServiceExposur
7539
7850
  * @generated from field: uint32 target_port = 2;
7540
7851
  */
7541
7852
  targetPort: number;
7853
+ /**
7854
+ * Application authorization behavior. Omission resolves to STRIP.
7855
+ *
7856
+ * @generated from field: openshell.v1.ServiceAuthorizationMode authorization_mode = 3;
7857
+ */
7858
+ authorizationMode: ServiceAuthorizationMode;
7542
7859
  };
7543
7860
  /**
7544
7861
  * Describes the message openshell.v1.SandboxServiceExposure.
@@ -8145,6 +8462,35 @@ export declare enum ProviderCredentialRefreshRecoveryAction {
8145
8462
  * Describes the enum openshell.v1.ProviderCredentialRefreshRecoveryAction.
8146
8463
  */
8147
8464
  export declare const ProviderCredentialRefreshRecoveryActionSchema: GenEnum<ProviderCredentialRefreshRecoveryAction>;
8465
+ /**
8466
+ * Policy applied when the canonical main process exits outside an intentional
8467
+ * stop or delete operation. Kept after existing enums so generated enum
8468
+ * descriptors remain stable.
8469
+ *
8470
+ * @generated from enum openshell.v1.SandboxRestartPolicy
8471
+ */
8472
+ export declare enum SandboxRestartPolicy {
8473
+ /**
8474
+ * @generated from enum value: SANDBOX_RESTART_POLICY_UNSPECIFIED = 0;
8475
+ */
8476
+ UNSPECIFIED = 0,
8477
+ /**
8478
+ * @generated from enum value: SANDBOX_RESTART_POLICY_NEVER = 1;
8479
+ */
8480
+ NEVER = 1,
8481
+ /**
8482
+ * @generated from enum value: SANDBOX_RESTART_POLICY_ON_FAILURE = 2;
8483
+ */
8484
+ ON_FAILURE = 2,
8485
+ /**
8486
+ * @generated from enum value: SANDBOX_RESTART_POLICY_ALWAYS = 3;
8487
+ */
8488
+ ALWAYS = 3
8489
+ }
8490
+ /**
8491
+ * Describes the enum openshell.v1.SandboxRestartPolicy.
8492
+ */
8493
+ export declare const SandboxRestartPolicySchema: GenEnum<SandboxRestartPolicy>;
8148
8494
  /**
8149
8495
  * Result of a public delete, membership removal, or session revocation.
8150
8496
  * Default requests return NOT_FOUND for a missing target. With allow_missing,
@@ -8245,6 +8591,36 @@ export declare enum EndpointResult {
8245
8591
  * Describes the enum openshell.v1.EndpointResult.
8246
8592
  */
8247
8593
  export declare const EndpointResultSchema: GenEnum<EndpointResult>;
8594
+ /**
8595
+ * Controls whether an exposed service receives the request's application
8596
+ * Authorization header.
8597
+ *
8598
+ * @generated from enum openshell.v1.ServiceAuthorizationMode
8599
+ */
8600
+ export declare enum ServiceAuthorizationMode {
8601
+ /**
8602
+ * Omission preserves the secure legacy behavior and resolves to STRIP.
8603
+ *
8604
+ * @generated from enum value: SERVICE_AUTHORIZATION_MODE_UNSPECIFIED = 0;
8605
+ */
8606
+ UNSPECIFIED = 0,
8607
+ /**
8608
+ * Remove Authorization before forwarding to the sandbox service.
8609
+ *
8610
+ * @generated from enum value: SERVICE_AUTHORIZATION_MODE_STRIP = 1;
8611
+ */
8612
+ STRIP = 1,
8613
+ /**
8614
+ * Forward one syntactically valid bearer Authorization header unchanged.
8615
+ *
8616
+ * @generated from enum value: SERVICE_AUTHORIZATION_MODE_BEARER_PASSTHROUGH = 2;
8617
+ */
8618
+ BEARER_PASSTHROUGH = 2
8619
+ }
8620
+ /**
8621
+ * Describes the enum openshell.v1.ServiceAuthorizationMode.
8622
+ */
8623
+ export declare const ServiceAuthorizationModeSchema: GenEnum<ServiceAuthorizationMode>;
8248
8624
  /**
8249
8625
  * OpenShell service provides sandbox, provider, and runtime management capabilities.
8250
8626
  *
@@ -8557,6 +8933,17 @@ export declare const OpenShell: GenService<{
8557
8933
  input: typeof GetProviderRequestSchema;
8558
8934
  output: typeof ProviderResponseSchema;
8559
8935
  };
8936
+ /**
8937
+ * Export selected usable runtime credentials. Only directly authenticated
8938
+ * mTLS operators may call this method; refresh material is never returned.
8939
+ *
8940
+ * @generated from rpc openshell.v1.OpenShell.GetProviderCredentials
8941
+ */
8942
+ getProviderCredentials: {
8943
+ methodKind: "unary";
8944
+ input: typeof GetProviderCredentialsRequestSchema;
8945
+ output: typeof GetProviderCredentialsResponseSchema;
8946
+ };
8560
8947
  /**
8561
8948
  * List providers.
8562
8949
  *