Skip to content

chore(core): track v0.1.12-pre.2 - #81

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

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

Conversation

@ai-openshell-sdk-python

Copy link
Copy Markdown
Contributor

Move the core pin from v0.1.11 to v0.1.12-pre.2 (prerelease).

  • Core changes: v0.1.11...v0.1.12-pre.2
  • Regenerated bindings: no generated files changed
  • E2E runs against quay.io/ai-openshell/gateway:0.1.12-pre.2
  • Files copied from core:
  • tests/e2e/Dockerfile.workload is not in core v0.1.12-pre.2 yet, left unchanged

Proto changes

diff --git a/proto/sandbox_protocol.proto b/proto/sandbox_protocol.proto
index 9538858..2e66118 100644
--- a/proto/sandbox_protocol.proto
+++ b/proto/sandbox_protocol.proto
@@ -85,6 +85,7 @@ message RequestEnvelope {
     LoopbackConnect loopback_connect = 24;
     OpenMediation open_mediation = 25;
     AcceptNetwork accept_network = 26;
+    ReadProcessEvents read_process_events = 27;
   }
 }
 message ResponseEnvelope {
@@ -106,6 +107,7 @@ message ResponseEnvelope {
     MediationReady mediation_ready = 24;
     NetworkConnected network_connected = 25;
     Error error = 26;
+    ProcessEvents process_events = 27;
   }
 }
 // Read-only image-policy discovery, permitted before attachment.
@@ -188,6 +190,16 @@ message LoopbackConnect {
 }
 message OpenMediation {}
 message AcceptNetwork {}
+// Requires the openshell.sandbox.process-events capability. Returns the
+// retained events after after_sequence; an empty response means none arrived.
+// Reading after a sequence acknowledges the events up to it, and a read
+// without after_sequence resumes after the last acknowledged one, so a
+// replacement supervisor does not report events its predecessor read. With
+// wait, a read with nothing to return waits briefly for an event.
+message ReadProcessEvents {
+  optional uint64 after_sequence = 1;
+  bool wait = 2;
+}
 
 // No image policy is yaml absent with invalid=false. invalid=true reports an
 // unreadable or invalid image policy; it must not be treated as missing.
@@ -225,6 +237,27 @@ message ExecStarted {
   bool pty = 2;
 }
 message Resized {}
+// lost counts events after the requested sequence that the runtime no longer
+// retains.
+message ProcessEvents {
+  repeated ProcessEvent events = 1;
+  uint64 lost = 2;
+}
+// A workload process the runtime started directly: the entrypoint or an exec
+// session. `executable` is read just after spawn, so a process that execs
+// at once can report its new program.
+message ProcessEvent {
+  uint64 sequence = 1;
+  ProcessInstance process = 2;
+  string executable = 3;
+  oneof event {
+    ProcessLaunched launched = 4;
+    ExitStatus exited = 5;
+  }
+  // When the runtime observed the launch or exit.
+  google.protobuf.Timestamp time = 6;
+}
+message ProcessLaunched {}
 message LoopbackConnected {}
 message MediationReady {}
 message NetworkConnected {

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.11 to v0.1.12-pre.2 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 December 3, 2026 13:29
@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 Dec 3, 2026
@ai-openshell-sdk-python

Copy link
Copy Markdown
Contributor Author

Superseded by #82, which tracks core v0.1.12-pre.3.

@ai-openshell-sdk-python
ai-openshell-sdk-python Bot deleted the core/v0.1.12-pre.2 branch December 4, 2026 13:22
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