Skip to content

chore(core): track v0.1.10-pre.7 - #64

Open
ai-openshell-sdk-python[bot] wants to merge 1 commit into
mainfrom
core/v0.1.10-pre.7
Open

ai-openshell-sdk-python[bot] wants to merge 1 commit into
mainfrom
core/v0.1.10-pre.7

Conversation

@ai-openshell-sdk-python

Copy link
Copy Markdown
Contributor

Move the core pin from v0.1.9 to v0.1.10-pre.7 (prerelease).

  • Core changes: v0.1.9...v0.1.10-pre.7
  • Regenerated bindings: 8 files changed, 1345 insertions(+), 561 deletions(-)
  • E2E runs against ghcr.io/nvidia/openshell/gateway:0.1.10-pre.7
  • Files copied from core:
    • none changed

Proto changes

diff --git a/proto/README.md b/proto/README.md
index 80e455a..7a31300 100644
--- a/proto/README.md
+++ b/proto/README.md
@@ -72,8 +72,9 @@ identifies the service being exposed.
   wire identity and may therefore differ from declaration order.
 - Document authorization-sensitive selector variants and omission semantics on
   the containing request.
-- Give an RPC that changes gateway state a `*:write` scope and add it to the
-  audit catalog in `crates/openshell-server/src/auth/audit/catalog.rs`.
+- Give an RPC that changes gateway state a `*:write` scope and an `audit`
+  activity (`create`, `update`, `delete`, or `other`) in its authorization
+  option. The gateway refuses to start without one.
 
 ## Schema evolution
 
diff --git a/proto/openshell.proto b/proto/openshell.proto
index 198990a..e1b8041 100644
--- a/proto/openshell.proto
+++ b/proto/openshell.proto
@@ -49,6 +49,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "create"
       workspace_role: "user"
     };
   }
@@ -66,6 +67,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "create"
       workspace_role: "user"
     };
   }
@@ -94,6 +96,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "create"
       workspace_role: "admin"
     };
   }
@@ -124,6 +127,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "delete"
       workspace_role: "admin"
     };
   }
@@ -144,6 +148,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "create"
       workspace_role: "user"
     };
   }
@@ -154,6 +159,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "delete"
       workspace_role: "user"
     };
   }
@@ -173,6 +179,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "delete"
       workspace_role: "user"
     };
   }
@@ -182,6 +189,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "update"
       workspace_role: "user"
     };
   }
@@ -191,6 +199,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "update"
       workspace_role: "user"
     };
   }
@@ -202,6 +211,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "update"
       workspace_role: "user"
     };
   }
@@ -211,6 +221,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "update"
       workspace_role: "user"
     };
   }
@@ -220,6 +231,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "create"
       workspace_role: "user"
     };
   }
@@ -229,6 +241,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "create"
       workspace_role: "user"
     };
   }
@@ -256,6 +269,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "delete"
       workspace_role: "user"
     };
   }
@@ -265,6 +279,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "delete"
       workspace_role: "user"
     };
   }
@@ -274,6 +289,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "other"
       workspace_role: "user"
     };
   }
@@ -283,6 +299,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "other"
       workspace_role: "user"
     };
   }
@@ -294,6 +311,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "sandbox:write"
+      audit: "other"
       workspace_role: "user"
     };
   }
@@ -303,6 +321,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "create"
       workspace_role: "admin"
     };
   }
@@ -358,6 +377,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "create"
       workspace_role: "admin"
     };
   }
@@ -368,6 +388,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -387,6 +408,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -407,6 +429,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -417,6 +440,20 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "update"
+      workspace_role: "admin"
+    };
+  }
+
+  // Copy each workspace secret referenced by one credential's refresh
+  // configuration into provider-owned refresh material and remove the
+  // references. Other material, including a rotated refresh token, is kept.
+  rpc InlineProviderRefreshSecrets(InlineProviderRefreshSecretsRequest)
+      returns (InlineProviderRefreshSecretsResponse) {
+    option (openshell.options.v1.authorization) = {
+      auth_mode: "bearer"
+      scope: "provider:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -427,6 +464,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "delete"
       workspace_role: "admin"
     };
   }
@@ -436,6 +474,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "delete"
       workspace_role: "admin"
     };
   }
@@ -446,10 +485,68 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "provider:write"
+      audit: "delete"
+      workspace_role: "admin"
+    };
+  }
+
+  // Create a workspace secret. Secrets are credential minting material only:
+  // OpenShell never injects them into sandboxes, and Get and List never
+  // return their values.
+  rpc CreateSecret(CreateSecretRequest) returns (SecretResponse) {
+    option (openshell.options.v1.authorization) = {
+      auth_mode: "bearer"
+      scope: "secret:write"
+      audit: "create"
+      workspace_role: "admin"
+    };
+  }
+
+  // Fetch workspace secret metadata by name. The value is never returned.
+  rpc GetSecret(GetSecretRequest) returns (SecretResponse) {
+    option (openshell.options.v1.authorization) = {
+      auth_mode: "bearer"
+      scope: "secret:read"
+      workspace_role: "user"
+    };
+  }
+
+  // List workspace secret metadata. Values are never returned.
+  rpc ListSecrets(ListSecretsRequest) returns (ListSecretsResponse) {
+    option (openshell.options.v1.authorization) = {
+      auth_mode: "bearer"
+      scope: "secret:read"
+      workspace_role: "user"
+    };
+  }
+
+  // Replace a workspace secret's value, description, or labels.
+  rpc UpdateSecret(UpdateSecretRequest) returns (SecretResponse) {
+    option (openshell.options.v1.authorization) = {
+      auth_mode: "bearer"
+      scope: "secret:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
 
+  // Delete a workspace secret by name.
+  rpc DeleteSecret(DeleteSecretRequest) returns (DeleteSecretResponse) {
+    option (openshell.options.v1.authorization) = {
+      auth_mode: "bearer"
+      scope: "secret:write"
+      audit: "delete"
+      workspace_role: "admin"
+    };
+  }
+
+  // Return a workspace secret's plaintext value to a control-plane caller.
+  // Disabled unless the gateway sets enable_secret_reveal. Only directly
+  // authenticated mTLS operators may call this method. Every call is audited.
+  rpc RevealSecret(RevealSecretRequest) returns (RevealSecretResponse) {
+    option (openshell.options.v1.authorization) = { auth_mode: "operator" audit: "read" };
+  }
+
   // Get sandbox settings by id (called by users, and by supervisors at startup
   // and in their poll loop). A supervisor whose session pushes configuration
   // receives later updates over ConnectSupervisor and stops polling.
@@ -483,6 +580,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "dual"
       scope: "config:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -557,6 +655,13 @@ service OpenShell {
     };
   }
 
+  // Obtain the final provider token for the authenticated sandbox session.
+  // SPIFFE assertions and intermediate credentials remain in the gateway.
+  rpc GetSandboxProviderAccessToken(GetSandboxProviderAccessTokenRequest)
+      returns (GetSandboxProviderAccessTokenResponse) {
+    option (openshell.options.v1.authorization) = { auth_mode: "sandbox" };
+  }
+
   // Fetch recent sandbox logs (one-shot).
   rpc GetSandboxLogs(GetSandboxLogsRequest) returns (GetSandboxLogsResponse) {
     option (openshell.options.v1.authorization) = {
@@ -705,6 +810,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "config:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -715,6 +821,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "config:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -725,6 +832,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "config:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -734,6 +842,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "config:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -743,6 +852,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "config:write"
+      audit: "update"
       workspace_role: "admin"
     };
   }
@@ -753,6 +863,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "config:write"
+      audit: "delete"
       workspace_role: "admin"
     };
   }
@@ -799,6 +910,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "workspace:write"
+      audit: "create"
       global_role: "platform_admin"
     };
   }
@@ -826,6 +938,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "workspace:write"
+      audit: "delete"
       global_role: "platform_admin"
     };
   }
@@ -835,6 +948,7 @@ service OpenShell {
     option (openshell.options.v1.authorization) = {
       auth_mode: "bearer"
       scope: "workspace:write"

Showing 400 of 709 lines; see the full compare.

Before merging

  • CI and E2E must pass. If the SDK needs changes for this core version, push them to this branch.
  • Pre-release pins are not released; a newer pre-release proposal replaces this one.

Move the core pin from v0.1.9 to v0.1.10-pre.7 and regenerate the bindings.

Signed-off-by: ai-openshell-sdk-python[bot] <354503561+ai-openshell-sdk-python[bot]@users.noreply.github.com>
@ai-openshell-sdk-python
ai-openshell-sdk-python Bot requested review from a team as code owners November 24, 2026 01:22
@ai-openshell-sdk-python ai-openshell-sdk-python Bot added core-bump Update proposal that moves the core pin to a newer NVIDIA/OpenShell release tag prerelease The core tag of this update proposal is a pre-release labels Nov 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-bump Update proposal that moves the core pin to a newer NVIDIA/OpenShell release tag prerelease The core tag of this update proposal is a pre-release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants