diff --git a/.github/workflows/core-watch.yml b/.github/workflows/core-watch.yml index 9e0c8d8..93ab555 100644 --- a/.github/workflows/core-watch.yml +++ b/.github/workflows/core-watch.yml @@ -1,7 +1,8 @@ # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 -# Opens one update proposal per new core release tag (hack/automation/). +# Opens one update proposal per new core release tag, then reconciles the RPC +# coverage issues against the newest core tag (hack/automation/). name: core-watch on: @@ -13,6 +14,10 @@ on: description: Core tag to propose (vX.Y.Z or vX.Y.Z-pre.N); empty proposes every new tag required: false default: "" + max_new_issues: + description: Limit for new RPC coverage issues in this run (default 10) + required: false + default: "" permissions: contents: read @@ -81,6 +86,17 @@ jobs: hack/automation/open-bump-pr.sh "$t" done + # Runs after a failed proposal step too, so issues can say that the + # proposal is pending; it needs only the bot token. + - name: Reconcile RPC coverage issues + if: ${{ !cancelled() && steps.app-token.outcome == 'success' }} + timeout-minutes: 10 + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + APP_SLUG: ${{ steps.app-token.outputs.app-slug }} + MAX_NEW: ${{ inputs.max_new_issues }} + run: BOT_LOGIN="${APP_SLUG}[bot]" hack/automation/rpc-issues.sh ${MAX_NEW:+--max-new "$MAX_NEW"} + - name: Report failure if: failure() env: diff --git a/hack/automation/README.md b/hack/automation/README.md index 748431b..63914d6 100644 --- a/hack/automation/README.md +++ b/hack/automation/README.md @@ -11,14 +11,43 @@ Workflows run them with a token of the `ai-openshell-sdk-go` GitHub App (`ai-ope | `bump-pr-body.md` | | PR body template for `open-bump-pr.sh`. | | `tag-release.sh [--dry-run]` | `release:tag` | After a stable pin lands on `main`: create the lockstep tag `vX.Y.Z` and the GitHub release, then ask the Go module proxy for the version. | | `drift-check.sh --out ` | `core:drift` | Compare core `main` against the pin: `buf breaking`, regenerate and build, uncovered RPCs. Writes the markdown report. | -| `update-drift-issue.sh ` | | Create, update, or close the single `Core main drift` issue from a report. | -| `report-failure.sh ` | | Append a dated failure line to the drift issue. Called from `if: failure()` steps. | +| `update-drift-issue.sh ` | | Create, update, or close the single `Core main drift` issue from a report; uncovered RPCs link to their open RPC coverage issues. | +| `rpc-issues.sh [--dry-run] [--max-new ] [--tag ]` | `core:rpc-issues` | Open, update, close, and reopen one issue per user-facing core RPC (or service) the SDK does not wrap, for the newest core tag. `BOT_LOGIN` names the bot (default `ai-openshell-sdk-go[bot]`); `--plan-input ` plans a saved input document, `--dump-input ` saves one. | +| `rpc-issues.jq` | | The planner for `rpc-issues.sh`: input document in, actions and rendered bodies out; no network. | +| `rpc-rows.jq` | | Turns core's buf image and proto sources into the planner's input rows (signatures, comments, messages, links). | +| `rpc-marker.jq` | | The hidden issue marker, parsed by `rpc-issues.jq` and `update-drift-issue.sh` (jq module). | +| `rpc-issue-body.md` | | Issue body template for `rpc-issues.jq`. | +| `rpc-coverage.sh` | | The coverage rule shared by `rpc-issues.sh` and `drift-check.sh` (sourced, not run). | +| `rpc-issues-lib.sh` | | Exceptions list parser and helpers for listing the bot's issues (sourced, not run). | +| `rpc-exceptions.txt` | | RPCs the SDK deliberately does not wrap, one `Service.Method reason` per line. | +| `rpc-issues-test.sh [--update]` | | Offline planner, `rpc-issues.sh --plan-input`, coverage, exceptions, and drift link tests on `testdata/rpc-issues/`; part of `workflows:check`. | +| `report-failure.sh ` | | Record a failed run in the drift issue: one dated line per job and day, with the latest run and a count when the job fails again that day. Called from `if: failure()` steps. | | `drift-issue.sh` | | Shared helpers for the two drift issue scripts (sourced, not run). | | `start-gateway.sh `, `stop-gateway.sh` | | Run the published gateway container for a core version with the Docker driver and a plaintext endpoint for the E2E lane, and collect its log. | | Workflow | Script | |----------|--------| -| `core-watch.yml` (hourly) | `core-tags.sh`, then `open-bump-pr.sh` per tag | +| `core-watch.yml` (hourly) | `core-tags.sh`, then `open-bump-pr.sh` per tag, then `rpc-issues.sh` | | `release-tag.yml` (push to `main`) | `tag-release.sh` | | `core-drift.yml` (nightly) | `drift-check.sh`, then `update-drift-issue.sh` | | `e2e.yml` (reusable) | `start-gateway.sh`, `mise run e2e`, `stop-gateway.sh` | + +## RPC coverage issues + +`rpc-issues.sh` keeps one GitHub issue (label `rpc-coverage`) per core RPC that end users can call and the SDK does not wrap yet, so every gap has an owner and a ready implementation brief. + +- **Selection**: it reads core's protos at the newest core release tag (pre-release or stable, as `core-tags.sh` orders them). + An RPC is user-facing when its authorization annotation has `auth_mode` `bearer` or `dual`; a method without an annotation counts only in a proto file the gateway serves (one with annotated methods), and its issue says the annotation is missing. + Plugin and driver protos, and `sandbox`, `peer`, `supervisor`, `operator`, and `unauthenticated` RPCs, never get issues. +- **Coverage**: an RPC is covered when a package under `openshell/v1` (tests and `fake/` excluded) that calls `NewClient(` also calls `.(` (`rpc-coverage.sh`, also used by `drift-check.sh`). +- **Grouping**: when the SDK wraps none of a service's user-facing methods, one issue tracks the whole service; otherwise each method gets its own issue. + The hidden marker on the first body line (``) is the issue's identity; an issue keeps the methods its marker lists, and new methods of a service join its open service issue. + Only issues the bot opened count, found by creator and marker rather than by label: a marker in any other issue is ignored, and an issue whose `rpc-coverage` label someone removed gets the label back instead of a duplicate. + Text from core's proto comments is defused before it goes into a body (`@name`, `#123`, and ` +# + +def ident: test("^[A-Za-z0-9_]+$"); + +# Parse the marker on the first line of an issue body (a string or null). +# Returns {kind, service, method?, id, first_seen, methods}, or null when the +# first line is not a valid marker. +def parse_marker: + ((. // "") | split("\n") | (.[0] // "") | sub("\r$"; "")) as $line + | [$line | capture("^$")] | .[0] + | if . == null then null else + ([.f | splits(" +") | select(length > 0) | capture("^(?[a-z-]+)=(?.*)$") | {key: .k, value: .v}] + | from_entries) as $kv + | ($kv.service // "") as $s + | (($kv.methods // "") | split(",") | map(select(length > 0 and ident)) | unique) as $ms + | if $kv.kind == "service" and ($s | ident) then + {kind: "service", service: $s, id: ("service:" + $s), first_seen: $kv["first-seen"], methods: $ms} + elif $kv.kind == "method" and ($s | ident) and (($kv.method // "") | ident) then + {kind: "method", service: $s, method: $kv.method, id: ("method:" + $s + "." + $kv.method), + first_seen: $kv["first-seen"], methods: [$kv.method]} + else null end + end; + +def render_marker: + if .kind == "service" then + "" + else + "" + end; diff --git a/hack/automation/rpc-rows.jq b/hack/automation/rpc-rows.jq new file mode 100644 index 0000000..0f3557a --- /dev/null +++ b/hack/automation/rpc-rows.jq @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# rpc-rows.jq: one input row per method of every non-google proto file, from +# core's buf image at a tag. Used by rpc-issues.sh (gather, step 4); tested by +# rpc-issues-test.sh on testdata/rpc-issues/rows/. +# +# jq -n -f rpc-rows.jq --slurpfile img image.json --slurpfile src sources.json \ +# --slurpfile refs refs.json --arg core_repo NVIDIA/OpenShell --arg tag vX.Y.Z +# +# image.json: the buf image (`buf build -o image.json`) with source info; +# sources.json: {"": ""}; refs.json: +# {"": {server_refs, rust_sdk_refs, ts_sdk_refs}}. +# Signatures and messages are cut from the source text by the spans of the +# image's sourceCodeInfo; spans have 4 elements, or 3 for a single line. + +def dedent: (map(select(test("\\S")) | match("^ *").length) | min // 0) as $n + | map(if length >= $n then .[$n:] else . end); +def comment: (. // "") | split("\n") | map(sub("^ "; "") | sub("\\s+$"; "")) | join("\n") | sub("^\\s+"; "") | sub("\\s+$"; ""); +def last_line: if length == 4 then .[2] else .[0] end; +$img[0] as $img | $src[0] as $src | $refs[0] as $refs +| ([$img.file[] | .package as $p | .name as $f | (.messageType // []) | to_entries[] + | {key: ("." + (if $p then $p + "." else "" end) + .value.name), value: {file: $f, index: .key}}] + | from_entries) as $msgs +| ([$img.file[] | {key: .name, value: ([.sourceCodeInfo.location[]? + | select((.path | length) == 2 and .path[0] == 4 or ((.path | length) == 4 and .path[0] == 6 and .path[2] == 2)) + | {key: (.path | map(tostring) | join(".")), value: .}] | from_entries)}] | from_entries) as $locs +| def cut($f; $span): ($src[$f] // "" | split("\n"))[$span[0]:($span | last_line) + 1] | dedent | join("\n"); +def message($t): ($t | ltrimstr(".")) as $name + | $msgs[$t] as $m + | if $m == null then {name: $name, source: ""} + else {name: $name, source: (($locs[$m.file][("4." + ($m.index | tostring))].span) as $sp + | if $sp == null then "" else cut($m.file; $sp) end)} end; +[$img.file[] | select(.name | startswith("google/") | not) | .name as $f + | (.service // []) | to_entries[] | .key as $si | .value.name as $s + | (.value.method // []) | to_entries[] | .key as $mi | .value as $m + | $locs[$f]["6.\($si).2.\($mi)"] as $loc + | ($m.options["[openshell.options.v1.authorization]"] // {}) as $auth + | { + file: $f, service: $s, method: $m.name, + auth_mode: $auth.authMode, scope: $auth.scope, + workspace_role: $auth.workspaceRole, global_role: $auth.globalRole, + client_streaming: ($m.clientStreaming // false), server_streaming: ($m.serverStreaming // false), + request: ($m.inputType | ltrimstr(".")), response: ($m.outputType | ltrimstr(".")), + comment: ($loc.leadingComments | comment), + signature: (if $loc == null then "" else cut($f; $loc.span) end), + messages: ([$m.inputType, $m.outputType] | unique | map(message(.))), + proto_url: (if $loc == null then "" + else "https://github.com/\($core_repo)/blob/\($tag)/proto/\($f)#L\($loc.span[0] + 1)-L\(($loc.span | last_line) + 1)" end), + server_refs: ($refs["\($s).\($m.name)"].server_refs // []), + rust_sdk_refs: ($refs["\($s).\($m.name)"].rust_sdk_refs // []), + ts_sdk_refs: ($refs["\($s).\($m.name)"].ts_sdk_refs // []) + }] diff --git a/hack/automation/testdata/rpc-issues/README.md b/hack/automation/testdata/rpc-issues/README.md new file mode 100644 index 0000000..f8e9f14 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/README.md @@ -0,0 +1,18 @@ +# RPC coverage issue fixtures + +`hack/automation/rpc-issues-test.sh` runs every case below; `mise run workflows:check` runs it in CI. + +- `planner//input.json` is a planner input document (see the header of `hack/automation/rpc-issues.jq`), and `expected.json` is the action list (or error object) the planner must return for it. + `rpc-issues-test.sh --update` rewrites every `expected.json` from the current planner; review the diff before committing. + `backfill-v0.1.9/input.json` was produced by `rpc-issues.sh --tag v0.1.9 --dry-run --dump-input `; the other cases are small hand-written documents. + Where a case has `expected-actors.json`, the planner's `needs-actors` mode must return it; the `actors-unknown-*` cases hold the input as gathered, before `resolve_actors` fills in who closed or reopened an issue. + `rpc-issues-test.sh` also runs `rpc-issues.sh --plan-input` on some cases to check the issue limit and the dry-run output. +- `coverage/` is a miniature SDK tree for the coverage helper `hack/automation/rpc-coverage.sh`: `rpc_covered_list coverage keys.txt` must print `expected.txt`. + Its Go files sit under `testdata/`, so `go build` ignores them, but `gofmt` and the SPDX check still read them. +- `exceptions/` holds exceptions lists for `rpc_parse_exceptions` in `hack/automation/rpc-issues-lib.sh`: `valid.txt` must parse to its two entries, `missing-reason.txt` and `bad-key.txt` must fail with the line number. +- `rows/` checks `hack/automation/rpc-rows.jq`: a hand-written buf image (`image.json`) with the proto source of `a.proto` (`sources.json`) and source references (`refs.json`) must give the input rows in `expected.json`; it covers multi-line and one-line spans, comments, a well-known message type, and the google file being skipped. +- `protos/count.proto` checks `rpc_count_declarations`: rpcs in comments and strings do not count, several on one line and one split across lines do. +- `bot-issues/issues.ndjson` checks `rpc_bot_issues`: only the issues `ai-openshell-sdk-go[bot]` opened are kept. +- `drift-links/` checks `link_uncovered_rpcs` in `hack/automation/drift-issue.sh`: `report.md` with the coverage issues in `issues.json` must become `expected.md`. + +Every `.json` file has a `.json.license` sidecar for the SPDX check. diff --git a/hack/automation/testdata/rpc-issues/bot-issues/issues.ndjson b/hack/automation/testdata/rpc-issues/bot-issues/issues.ndjson new file mode 100644 index 0000000..d11c1da --- /dev/null +++ b/hack/automation/testdata/rpc-issues/bot-issues/issues.ndjson @@ -0,0 +1,4 @@ +{"number":1,"state":"OPEN","title":"a","body":"","labels":["rpc-coverage"],"author":"ai-openshell-sdk-go[bot]"} +{"number":2,"state":"OPEN","title":"b","body":"","labels":["rpc-coverage"],"author":"someone"} +{"number":3,"state":"CLOSED","title":"c","body":"","labels":["rpc-coverage"],"author":"ai-openshell-sdk-go[bot]"} +{"number":4,"state":"OPEN","title":"d","body":"x","labels":["rpc-coverage"],"author":"ai-openshell-sdk-go"} diff --git a/hack/automation/testdata/rpc-issues/coverage/expected.txt b/hack/automation/testdata/rpc-issues/coverage/expected.txt new file mode 100644 index 0000000..992648a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/coverage/expected.txt @@ -0,0 +1,4 @@ +OpenShell.Watch +NewsFeed.Get +OpenShell.Exec +OpenShell.Forward diff --git a/hack/automation/testdata/rpc-issues/coverage/keys.txt b/hack/automation/testdata/rpc-issues/coverage/keys.txt new file mode 100644 index 0000000..46c6c6a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/coverage/keys.txt @@ -0,0 +1,7 @@ +OpenShell.Watch +OpenShell.Snapshot +ServiceDiscovery.Watch +OpenShell.Hidden +NewsFeed.Get +OpenShell.Exec +OpenShell.Forward diff --git a/hack/automation/testdata/rpc-issues/coverage/openshell/v1/a/a.go b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/a/a.go new file mode 100644 index 0000000..5b46450 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/a/a.go @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +// Package a binds the OpenShell service and calls Watch. +package a + +func watch(conn any) { + client := pb.NewOpenShellClient(conn) + client.Watch(nil) +} diff --git a/hack/automation/testdata/rpc-issues/coverage/openshell/v1/a/a_test.go b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/a/a_test.go new file mode 100644 index 0000000..ff22269 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/a/a_test.go @@ -0,0 +1,8 @@ +// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +package a + +func hidden(client any) { + client.Hidden(nil) +} diff --git a/hack/automation/testdata/rpc-issues/coverage/openshell/v1/b/b.go b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/b/b.go new file mode 100644 index 0000000..ecfaf3b --- /dev/null +++ b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/b/b.go @@ -0,0 +1,9 @@ +// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +// Package b binds no service, so its Snapshot call covers nothing. +package b + +func snapshot(client any) { + client.Snapshot(nil) +} diff --git a/hack/automation/testdata/rpc-issues/coverage/openshell/v1/c/c.go b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/c/c.go new file mode 100644 index 0000000..e724983 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/c/c.go @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +// Package c binds a service whose name starts with "New". +package c + +func get(conn any) { + client := pb.NewNewsFeedClient(conn) + client.Get(nil) +} diff --git a/hack/automation/testdata/rpc-issues/coverage/openshell/v1/d/d.go b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/d/d.go new file mode 100644 index 0000000..786bf5c --- /dev/null +++ b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/d/d.go @@ -0,0 +1,12 @@ +// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +// Package d binds the OpenShell service and passes Exec and Forward as +// method values to a routing helper, as the bidi stream wrappers do. +package d + +func stream(conn any) { + client := pb.NewOpenShellClient(conn) + openRouted(nil, client.Exec) + openRouted(client.Forward, nil) +} diff --git a/hack/automation/testdata/rpc-issues/coverage/openshell/v1/fake/fake.go b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/fake/fake.go new file mode 100644 index 0000000..1d249b0 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/coverage/openshell/v1/fake/fake.go @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +// Package fake is excluded from coverage even though it binds OpenShell. +package fake + +func hidden(conn any) { + client := pb.NewOpenShellClient(conn) + client.Hidden(nil) +} diff --git a/hack/automation/testdata/rpc-issues/drift-links/expected.md b/hack/automation/testdata/rpc-issues/drift-links/expected.md new file mode 100644 index 0000000..77c7a36 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/drift-links/expected.md @@ -0,0 +1,8 @@ +Pin: v0.1.9 | Core main: 0123abc | Result: pass + +## 3. Uncovered RPCs + +- OpenShell.ForwardTcp ([#7](https://github.com/ai-openshell/sdk-go/issues/7)) +- OpenShell.GetSandboxProviderStatus +- ServiceDiscovery.GetServiceRouteSnapshot ([#42](https://github.com/ai-openshell/sdk-go/issues/42)) +- ServiceDiscovery.WatchServiceRoutes ([#42](https://github.com/ai-openshell/sdk-go/issues/42)) diff --git a/hack/automation/testdata/rpc-issues/drift-links/issues.json b/hack/automation/testdata/rpc-issues/drift-links/issues.json new file mode 100644 index 0000000..c6c4ed9 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/drift-links/issues.json @@ -0,0 +1,8 @@ +[ + {"number": 42, "body": "\n\nbody"}, + {"number": 7, "body": "\r\n\r\nbody"}, + {"number": 9, "body": ""}, + {"number": 11, "body": ""}, + {"number": 12, "body": null}, + {"number": 13, "body": ""} +] diff --git a/hack/automation/testdata/rpc-issues/drift-links/issues.json.license b/hack/automation/testdata/rpc-issues/drift-links/issues.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/drift-links/issues.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/drift-links/report.md b/hack/automation/testdata/rpc-issues/drift-links/report.md new file mode 100644 index 0000000..23ffd59 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/drift-links/report.md @@ -0,0 +1,8 @@ +Pin: v0.1.9 | Core main: 0123abc | Result: pass + +## 3. Uncovered RPCs + +- OpenShell.ForwardTcp +- OpenShell.GetSandboxProviderStatus +- ServiceDiscovery.GetServiceRouteSnapshot +- ServiceDiscovery.WatchServiceRoutes diff --git a/hack/automation/testdata/rpc-issues/exceptions/bad-key.txt b/hack/automation/testdata/rpc-issues/exceptions/bad-key.txt new file mode 100644 index 0000000..0b8e424 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/exceptions/bad-key.txt @@ -0,0 +1,3 @@ +# The key on line 3 is not Service.Method. +OpenShell.ForwardTcp The TCP client already forwards ports over SSH. +OpenShell ExecSandboxInteractive The exec client covers it. diff --git a/hack/automation/testdata/rpc-issues/exceptions/missing-reason.txt b/hack/automation/testdata/rpc-issues/exceptions/missing-reason.txt new file mode 100644 index 0000000..c6a9ad8 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/exceptions/missing-reason.txt @@ -0,0 +1,3 @@ +# The entry on line 3 has no reason. +OpenShell.ForwardTcp The TCP client already forwards ports over SSH. +OpenShell.ExecSandboxInteractive diff --git a/hack/automation/testdata/rpc-issues/exceptions/valid.txt b/hack/automation/testdata/rpc-issues/exceptions/valid.txt new file mode 100644 index 0000000..ad5bcea --- /dev/null +++ b/hack/automation/testdata/rpc-issues/exceptions/valid.txt @@ -0,0 +1,4 @@ +# Exceptions used by rpc-issues-test.sh. + +OpenShell.ForwardTcp The TCP client already forwards ports over SSH. + ServiceDiscovery.WatchServiceRoutes Only ingress controllers consume routes. diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected-actors.json b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected-actors.json new file mode 100644 index 0000000..1575f5a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected-actors.json @@ -0,0 +1,3 @@ +[ + 20 +] diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected-actors.json.license b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected-actors.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected-actors.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected.json b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected.json.license b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/input.json b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/input.json new file mode 100644 index 0000000..1cf4bb4 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/input.json @@ -0,0 +1,109 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "CLOSED", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/input.json.license b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-closed/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected-actors.json b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected-actors.json new file mode 100644 index 0000000..1575f5a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected-actors.json @@ -0,0 +1,3 @@ +[ + 20 +] diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected-actors.json.license b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected-actors.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected-actors.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected.json b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected.json new file mode 100644 index 0000000..b3a6cf9 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "close", + "comment": "Nothing left to track at core `v0.2.0`:\n\n- `OpenShell.ForwardTcp`: covered, the SDK calls it under `openshell/v1`.\n\nIf this is wrong, reopen the issue; the automation then keeps it open while the SDK covers its methods.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected.json.license b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/input.json b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/input.json new file mode 100644 index 0000000..a7a62f0 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/input.json @@ -0,0 +1,110 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/input.json.license b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/actors-unknown-reopened/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/expected.json b/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/expected.json new file mode 100644 index 0000000..5a3625a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/expected.json @@ -0,0 +1,9 @@ +[ + { + "action": "reopen", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "comment": "Reopening: at core `v0.2.0`, `OpenShell.ForwardTcp` is user-facing again and the Go SDK does not wrap it.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/expected.json.license b/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/input.json b/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/input.json new file mode 100644 index 0000000..26c5ed0 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/input.json @@ -0,0 +1,109 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": true, + "last_event": "closed", + "number": 20, + "state": "CLOSED", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/input.json.license b/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/auto-closed-uncovered-again/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/expected.json b/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/expected.json new file mode 100644 index 0000000..4d4fb52 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/expected.json @@ -0,0 +1,68 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.1.9` has `OpenShell.BeginRootfsTarStaging`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.BeginRootfsTarStaging`\n\nAllocate a gateway-owned staging slot for a local rootfs tar archive.\n\nThe gateway creates a request-scoped directory inside the compute driver's\nstaging root and returns an opaque single-use token plus the absolute path\nthe client must write the archive to. The token is then passed as\n`template.driver_config..rootfs_tar_staging_token` on\nCreateSandbox; callers never name a filesystem path themselves. Only a\nclient sharing the gateway's filesystem can complete the upload.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:write`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L64-L71) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc BeginRootfsTarStaging(BeginRootfsTarStagingRequest)\n returns (BeginRootfsTarStagingResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage BeginRootfsTarStagingRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 3;\n // Base file name of the local archive. The gateway uses it only to name the\n // staged file; path separators and traversal components are rejected.\n string file_name = 1;\n // Size of the local archive in bytes, checked against the driver limit\n // before the gateway allocates a slot.\n uint64 size_bytes = 2;\n}\n```\n\n```proto\nmessage BeginRootfsTarStagingResponse {\n reserved 4;\n reserved \"expires_at_ms\";\n // Opaque single-use token. Pass it as\n // `template.driver_config..rootfs_tar_staging_token` on\n // CreateSandbox. The first CreateSandbox presenting it consumes it.\n string staging_token = 1;\n // Absolute path on the gateway host the client must write the archive to.\n string upload_path = 2;\n // Maximum accepted archive size in bytes, enforced again by the driver.\n uint64 max_bytes = 3;\n // Wall-clock deadline after which the gateway reclaims the slot.\n google.protobuf.Timestamp expiration_time = 104;\n}\n```\n\n## Where core implements it\n\n### `OpenShell.BeginRootfsTarStaging`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.BeginRootfsTarStaging RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.BeginRootfsTarStaging: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L64-L71; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.BeginRootfsTarStaging", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap OpenShell.BeginRootfsTarStaging (core v0.1.9)" + }, + { + "action": "open", + "body": "\n\nCore `v0.1.9` has `OpenShell.ExecSandboxInteractive`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ExecSandboxInteractive`\n\nExecute an interactive command with bidirectional stdin/stdout streaming.\nThe first client message MUST carry an ExecSandboxInput with the start\nvariant. Subsequent messages carry stdin bytes or window resize events.\n\n- Streaming: bidirectional streaming\n- Authorization: `bearer`, scope `sandbox:write`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L293-L299) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ExecSandboxInteractive(stream ExecSandboxInput) returns (stream ExecSandboxEvent) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage ExecSandboxEvent {\n oneof payload {\n ExecSandboxStdout stdout = 1;\n ExecSandboxStderr stderr = 2;\n ExecSandboxExit exit = 3;\n }\n}\n```\n\n```proto\nmessage ExecSandboxInput {\n oneof payload {\n // First message: exec request metadata.\n ExecSandboxRequest start = 1;\n // Subsequent messages: raw stdin bytes.\n bytes stdin = 2;\n // Terminal window size change.\n ExecSandboxWindowResize resize = 3;\n }\n}\n```\n\n## Where core implements it\n\n### `OpenShell.ExecSandboxInteractive`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): found in [`sdk/typescript/src/client.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts), [`sdk/typescript/src/client.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts), [`sdk/typescript/src/routing.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts)\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ExecSandboxInteractive RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ExecSandboxInteractive: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L293-L299; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs; core TypeScript SDK: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ExecSandboxInteractive", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap OpenShell.ExecSandboxInteractive (core v0.1.9)" + }, + { + "action": "open", + "body": "\n\nCore `v0.1.9` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForward one CLI-side TCP connection to a loopback TCP target in a sandbox.\n\n- Streaming: bidirectional streaming\n- Authorization: `bearer`, scope `sandbox:write`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L282-L288) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(stream TcpForwardFrame) returns (stream TcpForwardFrame) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage TcpForwardFrame {\n oneof payload {\n TcpForwardInit init = 1;\n bytes data = 2;\n }\n}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): found in [`sdk/typescript/src/client.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts), [`sdk/typescript/src/client.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts), [`sdk/typescript/src/routing.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts)\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L282-L288; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs; core TypeScript SDK: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap OpenShell.ForwardTcp (core v0.1.9)" + }, + { + "action": "open", + "body": "\n\nCore `v0.1.9` has `OpenShell.GetSandboxProviderStatus`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.GetSandboxProviderStatus`\n\nInspect the installed authority for one sandbox provider mutation.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L162-L169) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc GetSandboxProviderStatus(GetSandboxProviderStatusRequest)\n returns (GetSandboxProviderStatusResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage GetSandboxProviderStatusRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 4;\n string sandbox = 1;\n string provider = 2;\n string receipt_id = 3;\n}\n```\n\n```proto\nmessage GetSandboxProviderStatusResponse {\n ProviderReadinessStatus status = 1;\n}\n```\n\n## Where core implements it\n\n### `OpenShell.GetSandboxProviderStatus`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/gateway_metrics.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/gateway_metrics.rs), [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/supervisor_session.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/supervisor_session.rs)\n- Rust SDK (`crates/openshell-sdk/src`): found in [`crates/openshell-sdk/src/provider_readiness.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-sdk/src/provider_readiness.rs)\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.GetSandboxProviderStatus RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.GetSandboxProviderStatus: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L162-L169; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/gateway_metrics.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/supervisor_session.rs; core Rust SDK: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-sdk/src/provider_readiness.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.GetSandboxProviderStatus", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap OpenShell.GetSandboxProviderStatus (core v0.1.9)" + }, + { + "action": "open", + "body": "\n\nCore `v0.1.9` has a user-facing method in the `SandboxUpdates` service that the Go SDK does not wrap yet: `UpdateSandbox`. The SDK wraps none of the service's user-facing methods, so this issue tracks the service as a whole. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `SandboxUpdates.UpdateSandbox`\n\nUpdate the workload image, command, environment, labels, or annotations of a\nstopped sandbox while preserving its identity and retained storage. Requires\ncompute-driver support for the selected changes and explicit gateway activation\nof sandbox updates.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:write`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L890-L896) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc UpdateSandbox(UpdateSandboxRequest) returns (SandboxResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage SandboxResponse {\n Sandbox sandbox = 1;\n // Service URLs created by CreateSandbox, keyed by service name. The empty\n // key identifies the unnamed service. Other sandbox RPCs return an empty map.\n map service_urls = 2;\n}\n```\n\n```proto\nmessage UpdateSandboxRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n // Canonical name of the existing sandbox; this is not a rename or upsert.\n string name = 2;\n // Nonempty OCI workload image reference. This does not change trusted runtime\n // images or reseed an existing workspace.\n optional string image = 3;\n // Replace workload argv; an empty list restores image-resolved default shell behavior.\n SandboxCommandUpdate command = 6;\n // Replace sandbox-level overrides. Empty clears overrides; template defaults remain.\n SandboxMapUpdate environment = 7;\n // Replace user metadata, preserving gateway-owned keys. These do not set pod metadata.\n SandboxMapUpdate labels = 8;\n SandboxMapUpdate annotations = 9;\n // Required nonzero resource version read by the caller.\n uint64 expected_resource_version = 4;\n // Optional nonzero UUID for durable at-most-once admission.\n string request_id = 5;\n}\n```\n\n## Where core implements it\n\n### `SandboxUpdates.UpdateSandbox`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/grpc/sandbox/image_update_tests.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/sandbox/image_update_tests.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): found in [`sdk/typescript/src/raw.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/raw.test.ts)\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the SandboxUpdates service of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go): method UpdateSandbox.\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- SandboxUpdates.UpdateSandbox: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L890-L896; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/sandbox/image_update_tests.rs; core TypeScript SDK: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/raw.test.ts\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- A sub-client in openshell/v1 for the SandboxUpdates service, behind an interface like the other sub-clients, that constructs pb.NewSandboxUpdatesClient(conn) and is reachable from Client.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "service:SandboxUpdates", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap the SandboxUpdates service (core v0.1.9)" + }, + { + "action": "open", + "body": "\n\nCore `v0.1.9` has 2 user-facing methods in the `ServiceDiscovery` service that the Go SDK does not wrap yet: `GetServiceRouteSnapshot` and `WatchServiceRoutes`. The SDK wraps none of the service's user-facing methods, so this issue tracks the service as a whole. First seen in core `v0.1.9`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.1.9`](https://github.com/ai-openshell/sdk-go/tree/core/v0.1.9), or on `main` once that proposal is merged.\n\n## `ServiceDiscovery.GetServiceRouteSnapshot`\n\nRead installed, unexpired application routes in one explicit workspace.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L864-L870) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc GetServiceRouteSnapshot(GetServiceRouteSnapshotRequest) returns (GetServiceRouteSnapshotResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage GetServiceRouteSnapshotRequest {\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n}\n```\n\n```proto\nmessage GetServiceRouteSnapshotResponse {\n ServiceRouteSnapshot snapshot = 1;\n}\n```\n\n## `ServiceDiscovery.WatchServiceRoutes`\n\nFull replacement views; reauthorize during the bounded watch lifetime.\n\n- Streaming: server streaming\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L873-L879) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc WatchServiceRoutes(WatchServiceRoutesRequest) returns (stream WatchServiceRoutesResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage WatchServiceRoutesRequest {\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n}\n```\n\n```proto\nmessage WatchServiceRoutesResponse {\n ServiceRouteSnapshot snapshot = 1;\n}\n```\n\n## Where core implements it\n\n### `ServiceDiscovery.GetServiceRouteSnapshot`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/grpc/service_discovery.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n### `ServiceDiscovery.WatchServiceRoutes`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/grpc/service_discovery.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the ServiceDiscovery service of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go): methods GetServiceRouteSnapshot, WatchServiceRoutes.\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from core/v0.1.9, the core bump proposal for v0.1.9; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- ServiceDiscovery.GetServiceRouteSnapshot: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L864-L870; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs\n- ServiceDiscovery.WatchServiceRoutes: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L873-L879; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- A sub-client in openshell/v1 for the ServiceDiscovery service, behind an interface like the other sub-clients, that constructs pb.NewServiceDiscoveryClient(conn) and is reachable from Client.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "service:ServiceDiscovery", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap the ServiceDiscovery service (core v0.1.9)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/expected.json.license b/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/input.json b/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/input.json new file mode 100644 index 0000000..c386afb --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/input.json @@ -0,0 +1,3902 @@ +{ + "built": [ + "OpenShell.AddWorkspaceMember", + "OpenShell.ApproveAllDraftChunks", + "OpenShell.ApproveDraftChunk", + "OpenShell.AttachSandboxProvider", + "OpenShell.BeginRootfsTarStaging", + "OpenShell.ClearDraftChunks", + "OpenShell.ConfigureProviderRefresh", + "OpenShell.ConnectSupervisor", + "OpenShell.CreateProvider", + "OpenShell.CreateSandbox", + "OpenShell.CreateSandboxTemplate", + "OpenShell.CreateSshSession", + "OpenShell.CreateWorkspace", + "OpenShell.DeleteProvider", + "OpenShell.DeleteProviderProfile", + "OpenShell.DeleteProviderRefresh", + "OpenShell.DeleteSandbox", + "OpenShell.DeleteSandboxTemplate", + "OpenShell.DeleteService", + "OpenShell.DeleteWorkspace", + "OpenShell.DetachSandboxProvider", + "OpenShell.EditDraftChunk", + "OpenShell.ExchangeProviderSubjectToken", + "OpenShell.ExecSandbox", + "OpenShell.ExecSandboxInteractive", + "OpenShell.ExposeService", + "OpenShell.FinalizeMainProcessExit", + "OpenShell.ForwardTcp", + "OpenShell.GetCurrentUser", + "OpenShell.GetDraftHistory", + "OpenShell.GetDraftPolicy", + "OpenShell.GetGatewayConfig", + "OpenShell.GetGatewayInfo", + "OpenShell.GetProvider", + "OpenShell.GetProviderCredentials", + "OpenShell.GetProviderProfile", + "OpenShell.GetProviderRefreshStatus", + "OpenShell.GetSandbox", + "OpenShell.GetSandboxConfig", + "OpenShell.GetSandboxLogs", + "OpenShell.GetSandboxPolicyStatus", + "OpenShell.GetSandboxProviderEnvironment", + "OpenShell.GetSandboxProviderStatus", + "OpenShell.GetSandboxTemplate", + "OpenShell.GetService", + "OpenShell.GetWorkspace", + "OpenShell.Health", + "OpenShell.ImportProviderProfiles", + "OpenShell.IssueSandboxToken", + "OpenShell.LintProviderProfiles", + "OpenShell.ListProviderProfiles", + "OpenShell.ListProviders", + "OpenShell.ListSandboxes", + "OpenShell.ListSandboxPolicies", + "OpenShell.ListSandboxProviders", + "OpenShell.ListSandboxTemplates", + "OpenShell.ListServices", + "OpenShell.ListWorkspaceMembers", + "OpenShell.ListWorkspaces", + "OpenShell.PeerGetSandboxProviderStatus", + "OpenShell.PeerNotifyConfigUpdate", + "OpenShell.PeerRelay", + "OpenShell.PeerReportEndpointStatus", + "OpenShell.PeerReportProviderReadiness", + "OpenShell.PushSandboxLogs", + "OpenShell.RefreshSandboxToken", + "OpenShell.RejectDraftChunk", + "OpenShell.RelayStream", + "OpenShell.RemoveWorkspaceMember", + "OpenShell.ReportEndpointStatus", + "OpenShell.ReportMainProcessExit", + "OpenShell.ReportPolicyStatus", + "OpenShell.ReportProviderReadiness", + "OpenShell.ReportSandboxConfiguration", + "OpenShell.ResumeSandbox", + "OpenShell.RevokeSshSession", + "OpenShell.RotateProviderCredential", + "OpenShell.StartSandbox", + "OpenShell.StopSandbox", + "OpenShell.SubmitPolicyAnalysis", + "OpenShell.SuspendSandbox", + "OpenShell.UndoDraftChunk", + "OpenShell.UpdateConfig", + "OpenShell.UpdateProvider", + "OpenShell.UpdateProviderProfiles", + "OpenShell.WatchSandbox", + "SandboxUpdates.UpdateSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.AddWorkspaceMember", + "OpenShell.ApproveAllDraftChunks", + "OpenShell.ApproveDraftChunk", + "OpenShell.AttachSandboxProvider", + "OpenShell.ClearDraftChunks", + "OpenShell.ConfigureProviderRefresh", + "OpenShell.CreateProvider", + "OpenShell.CreateSandbox", + "OpenShell.CreateSandboxTemplate", + "OpenShell.CreateSshSession", + "OpenShell.CreateWorkspace", + "OpenShell.DeleteProvider", + "OpenShell.DeleteProviderProfile", + "OpenShell.DeleteProviderRefresh", + "OpenShell.DeleteSandbox", + "OpenShell.DeleteSandboxTemplate", + "OpenShell.DeleteService", + "OpenShell.DeleteWorkspace", + "OpenShell.DetachSandboxProvider", + "OpenShell.EditDraftChunk", + "OpenShell.ExecSandbox", + "OpenShell.ExposeService", + "OpenShell.GetCurrentUser", + "OpenShell.GetDraftHistory", + "OpenShell.GetDraftPolicy", + "OpenShell.GetGatewayConfig", + "OpenShell.GetGatewayInfo", + "OpenShell.GetProvider", + "OpenShell.GetProviderProfile", + "OpenShell.GetProviderRefreshStatus", + "OpenShell.GetSandbox", + "OpenShell.GetSandboxConfig", + "OpenShell.GetSandboxLogs", + "OpenShell.GetSandboxPolicyStatus", + "OpenShell.GetSandboxTemplate", + "OpenShell.GetService", + "OpenShell.GetWorkspace", + "OpenShell.Health", + "OpenShell.ImportProviderProfiles", + "OpenShell.LintProviderProfiles", + "OpenShell.ListProviderProfiles", + "OpenShell.ListProviders", + "OpenShell.ListSandboxes", + "OpenShell.ListSandboxPolicies", + "OpenShell.ListSandboxProviders", + "OpenShell.ListSandboxTemplates", + "OpenShell.ListServices", + "OpenShell.ListWorkspaceMembers", + "OpenShell.ListWorkspaces", + "OpenShell.RejectDraftChunk", + "OpenShell.RemoveWorkspaceMember", + "OpenShell.ResumeSandbox", + "OpenShell.RevokeSshSession", + "OpenShell.RotateProviderCredential", + "OpenShell.StartSandbox", + "OpenShell.StopSandbox", + "OpenShell.SuspendSandbox", + "OpenShell.UndoDraftChunk", + "OpenShell.UpdateConfig", + "OpenShell.UpdateProvider", + "OpenShell.UpdateProviderProfiles", + "OpenShell.WatchSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.GetCapabilitiesRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.GetCapabilitiesResponse", + "source": "" + } + ], + "method": "GetCapabilities", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L27-L27", + "request": "openshell.compute.v1.GetCapabilitiesRequest", + "response": "openshell.compute.v1.GetCapabilitiesResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.AuthenticateSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.AuthenticateSandboxResponse", + "source": "" + } + ], + "method": "AuthenticateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L32-L33", + "request": "openshell.compute.v1.AuthenticateSandboxRequest", + "response": "openshell.compute.v1.AuthenticateSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.ValidateSandboxCreateRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.ValidateSandboxCreateResponse", + "source": "" + } + ], + "method": "ValidateSandboxCreate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L36-L37", + "request": "openshell.compute.v1.ValidateSandboxCreateRequest", + "response": "openshell.compute.v1.ValidateSandboxCreateResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.GetSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.GetSandboxResponse", + "source": "" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L40-L40", + "request": "openshell.compute.v1.GetSandboxRequest", + "response": "openshell.compute.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.ListSandboxesRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.ListSandboxesResponse", + "source": "" + } + ], + "method": "ListSandboxes", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L43-L43", + "request": "openshell.compute.v1.ListSandboxesRequest", + "response": "openshell.compute.v1.ListSandboxesResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.CreateSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.CreateSandboxResponse", + "source": "" + } + ], + "method": "CreateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L46-L46", + "request": "openshell.compute.v1.CreateSandboxRequest", + "response": "openshell.compute.v1.CreateSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.StopSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.StopSandboxResponse", + "source": "" + } + ], + "method": "StopSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L49-L49", + "request": "openshell.compute.v1.StopSandboxRequest", + "response": "openshell.compute.v1.StopSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.StartSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.StartSandboxResponse", + "source": "" + } + ], + "method": "StartSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L52-L52", + "request": "openshell.compute.v1.StartSandboxRequest", + "response": "openshell.compute.v1.StartSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.SuspendSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.SuspendSandboxResponse", + "source": "" + } + ], + "method": "SuspendSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L61-L61", + "request": "openshell.compute.v1.SuspendSandboxRequest", + "response": "openshell.compute.v1.SuspendSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.DeleteSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.DeleteSandboxResponse", + "source": "" + } + ], + "method": "DeleteSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L64-L64", + "request": "openshell.compute.v1.DeleteSandboxRequest", + "response": "openshell.compute.v1.DeleteSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.WatchSandboxesEvent", + "source": "" + }, + { + "name": "openshell.compute.v1.WatchSandboxesRequest", + "source": "" + } + ], + "method": "WatchSandboxes", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L67-L67", + "request": "openshell.compute.v1.WatchSandboxesRequest", + "response": "openshell.compute.v1.WatchSandboxesEvent", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.EnsureWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.EnsureWorkspaceResponse", + "source": "" + } + ], + "method": "EnsureWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L71-L71", + "request": "openshell.compute.v1.EnsureWorkspaceRequest", + "response": "openshell.compute.v1.EnsureWorkspaceResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.DeleteWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.DeleteWorkspaceResponse", + "source": "" + } + ], + "method": "DeleteWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L74-L74", + "request": "openshell.compute.v1.DeleteWorkspaceRequest", + "response": "openshell.compute.v1.DeleteWorkspaceResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.ResolveSupervisorAppEndpointRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.ResolveSupervisorAppEndpointResponse", + "source": "" + } + ], + "method": "ResolveSupervisorAppEndpoint", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L83-L84", + "request": "openshell.compute.v1.ResolveSupervisorAppEndpointRequest", + "response": "openshell.compute.v1.ResolveSupervisorAppEndpointResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriverAppEndpoints", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.UpdateSandboxConfigurationRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.UpdateSandboxConfigurationResponse", + "source": "" + } + ], + "method": "UpdateSandboxConfiguration", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L92-L93", + "request": "openshell.compute.v1.UpdateSandboxConfigurationRequest", + "response": "openshell.compute.v1.UpdateSandboxConfigurationResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriverConfigurationUpdates", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.GetCredentialDriverCapabilitiesRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.GetCredentialDriverCapabilitiesResponse", + "source": "" + } + ], + "method": "GetCapabilities", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L20-L21", + "request": "openshell.credentials.v1.GetCredentialDriverCapabilitiesRequest", + "response": "openshell.credentials.v1.GetCredentialDriverCapabilitiesResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.StoreCredentialRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.StoreCredentialResponse", + "source": "" + } + ], + "method": "StoreCredential", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L24-L24", + "request": "openshell.credentials.v1.StoreCredentialRequest", + "response": "openshell.credentials.v1.StoreCredentialResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.DeleteCredentialRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.DeleteCredentialResponse", + "source": "" + } + ], + "method": "DeleteCredential", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L27-L27", + "request": "openshell.credentials.v1.DeleteCredentialRequest", + "response": "openshell.credentials.v1.DeleteCredentialResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.ResolveCredentialsRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.ResolveCredentialsResponse", + "source": "" + } + ], + "method": "ResolveCredentials", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L30-L31", + "request": "openshell.credentials.v1.ResolveCredentialsRequest", + "response": "openshell.credentials.v1.ResolveCredentialsResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.ListCredentialsRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.ListCredentialsResponse", + "source": "" + } + ], + "method": "ListCredentials", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L34-L34", + "request": "openshell.credentials.v1.ListCredentialsRequest", + "response": "openshell.credentials.v1.ListCredentialsResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "unauthenticated", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.HealthRequest", + "source": "" + }, + { + "name": "openshell.v1.HealthResponse", + "source": "" + } + ], + "method": "Health", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L25-L29", + "request": "openshell.v1.HealthRequest", + "response": "openshell.v1.HealthResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetCurrentUserRequest", + "source": "" + }, + { + "name": "openshell.v1.GetCurrentUserResponse", + "source": "" + } + ], + "method": "GetCurrentUser", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L32-L36", + "request": "openshell.v1.GetCurrentUserRequest", + "response": "openshell.v1.GetCurrentUserResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": "platform_admin", + "messages": [ + { + "name": "openshell.v1.GetGatewayInfoRequest", + "source": "" + }, + { + "name": "openshell.v1.GetGatewayInfoResponse", + "source": "" + } + ], + "method": "GetGatewayInfo", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L39-L45", + "request": "openshell.v1.GetGatewayInfoRequest", + "response": "openshell.v1.GetGatewayInfoResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateSandboxRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxResponse", + "source": "" + } + ], + "method": "CreateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L48-L54", + "request": "openshell.v1.CreateSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Allocate a gateway-owned staging slot for a local rootfs tar archive.\n\nThe gateway creates a request-scoped directory inside the compute driver's\nstaging root and returns an opaque single-use token plus the absolute path\nthe client must write the archive to. The token is then passed as\n`template.driver_config..rootfs_tar_staging_token` on\nCreateSandbox; callers never name a filesystem path themselves. Only a\nclient sharing the gateway's filesystem can complete the upload.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.BeginRootfsTarStagingRequest", + "source": "message BeginRootfsTarStagingRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 3;\n // Base file name of the local archive. The gateway uses it only to name the\n // staged file; path separators and traversal components are rejected.\n string file_name = 1;\n // Size of the local archive in bytes, checked against the driver limit\n // before the gateway allocates a slot.\n uint64 size_bytes = 2;\n}" + }, + { + "name": "openshell.v1.BeginRootfsTarStagingResponse", + "source": "message BeginRootfsTarStagingResponse {\n reserved 4;\n reserved \"expires_at_ms\";\n // Opaque single-use token. Pass it as\n // `template.driver_config..rootfs_tar_staging_token` on\n // CreateSandbox. The first CreateSandbox presenting it consumes it.\n string staging_token = 1;\n // Absolute path on the gateway host the client must write the archive to.\n string upload_path = 2;\n // Maximum accepted archive size in bytes, enforced again by the driver.\n uint64 max_bytes = 3;\n // Wall-clock deadline after which the gateway reclaims the slot.\n google.protobuf.Timestamp expiration_time = 104;\n}" + } + ], + "method": "BeginRootfsTarStaging", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L64-L71", + "request": "openshell.v1.BeginRootfsTarStagingRequest", + "response": "openshell.v1.BeginRootfsTarStagingResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc BeginRootfsTarStaging(BeginRootfsTarStagingRequest)\n returns (BeginRootfsTarStagingResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxResponse", + "source": "" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L74-L80", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListSandboxesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListSandboxesResponse", + "source": "" + } + ], + "method": "ListSandboxes", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L83-L89", + "request": "openshell.v1.ListSandboxesRequest", + "response": "openshell.v1.ListSandboxesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateSandboxTemplateRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxTemplateResponse", + "source": "" + } + ], + "method": "CreateSandboxTemplate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L92-L99", + "request": "openshell.v1.CreateSandboxTemplateRequest", + "response": "openshell.v1.SandboxTemplateResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxTemplateRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxTemplateResponse", + "source": "" + } + ], + "method": "GetSandboxTemplate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L102-L109", + "request": "openshell.v1.GetSandboxTemplateRequest", + "response": "openshell.v1.SandboxTemplateResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListSandboxTemplatesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListSandboxTemplatesResponse", + "source": "" + } + ], + "method": "ListSandboxTemplates", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L112-L119", + "request": "openshell.v1.ListSandboxTemplatesRequest", + "response": "openshell.v1.ListSandboxTemplatesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteSandboxTemplateRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteSandboxTemplateResponse", + "source": "" + } + ], + "method": "DeleteSandboxTemplate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L122-L129", + "request": "openshell.v1.DeleteSandboxTemplateRequest", + "response": "openshell.v1.DeleteSandboxTemplateResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListSandboxProvidersRequest", + "source": "" + }, + { + "name": "openshell.v1.ListSandboxProvidersResponse", + "source": "" + } + ], + "method": "ListSandboxProviders", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L132-L139", + "request": "openshell.v1.ListSandboxProvidersRequest", + "response": "openshell.v1.ListSandboxProvidersResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.AttachSandboxProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.AttachSandboxProviderResponse", + "source": "" + } + ], + "method": "AttachSandboxProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L142-L149", + "request": "openshell.v1.AttachSandboxProviderRequest", + "response": "openshell.v1.AttachSandboxProviderResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DetachSandboxProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.DetachSandboxProviderResponse", + "source": "" + } + ], + "method": "DetachSandboxProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L152-L159", + "request": "openshell.v1.DetachSandboxProviderRequest", + "response": "openshell.v1.DetachSandboxProviderResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Inspect the installed authority for one sandbox provider mutation.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxProviderStatusRequest", + "source": "message GetSandboxProviderStatusRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 4;\n string sandbox = 1;\n string provider = 2;\n string receipt_id = 3;\n}" + }, + { + "name": "openshell.v1.GetSandboxProviderStatusResponse", + "source": "message GetSandboxProviderStatusResponse {\n ProviderReadinessStatus status = 1;\n}" + } + ], + "method": "GetSandboxProviderStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L162-L169", + "request": "openshell.v1.GetSandboxProviderStatusRequest", + "response": "openshell.v1.GetSandboxProviderStatusResponse", + "rust_sdk_refs": [ + { + "path": "crates/openshell-sdk/src/provider_readiness.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-sdk/src/provider_readiness.rs" + } + ], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/gateway_metrics.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/gateway_metrics.rs" + }, + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/supervisor_session.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/supervisor_session.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandboxProviderStatus(GetSandboxProviderStatusRequest)\n returns (GetSandboxProviderStatusResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteSandboxRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteSandboxResponse", + "source": "" + } + ], + "method": "DeleteSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L172-L178", + "request": "openshell.v1.DeleteSandboxRequest", + "response": "openshell.v1.DeleteSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxResponse", + "source": "" + }, + { + "name": "openshell.v1.StopSandboxRequest", + "source": "" + } + ], + "method": "StopSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L181-L187", + "request": "openshell.v1.StopSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxResponse", + "source": "" + }, + { + "name": "openshell.v1.StartSandboxRequest", + "source": "" + } + ], + "method": "StartSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L190-L196", + "request": "openshell.v1.StartSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxResponse", + "source": "" + }, + { + "name": "openshell.v1.SuspendSandboxRequest", + "source": "" + } + ], + "method": "SuspendSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L201-L207", + "request": "openshell.v1.SuspendSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ResumeSandboxRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxResponse", + "source": "" + } + ], + "method": "ResumeSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L210-L216", + "request": "openshell.v1.ResumeSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateSshSessionRequest", + "source": "" + }, + { + "name": "openshell.v1.CreateSshSessionResponse", + "source": "" + } + ], + "method": "CreateSshSession", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L219-L225", + "request": "openshell.v1.CreateSshSessionRequest", + "response": "openshell.v1.CreateSshSessionResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ExposeServiceRequest", + "source": "" + }, + { + "name": "openshell.v1.ServiceEndpointResponse", + "source": "" + } + ], + "method": "ExposeService", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L228-L234", + "request": "openshell.v1.ExposeServiceRequest", + "response": "openshell.v1.ServiceEndpointResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetServiceRequest", + "source": "" + }, + { + "name": "openshell.v1.ServiceEndpointResponse", + "source": "" + } + ], + "method": "GetService", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L237-L243", + "request": "openshell.v1.GetServiceRequest", + "response": "openshell.v1.ServiceEndpointResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListServicesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListServicesResponse", + "source": "" + } + ], + "method": "ListServices", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L246-L252", + "request": "openshell.v1.ListServicesRequest", + "response": "openshell.v1.ListServicesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteServiceRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteServiceResponse", + "source": "" + } + ], + "method": "DeleteService", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L255-L261", + "request": "openshell.v1.DeleteServiceRequest", + "response": "openshell.v1.DeleteServiceResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RevokeSshSessionRequest", + "source": "" + }, + { + "name": "openshell.v1.RevokeSshSessionResponse", + "source": "" + } + ], + "method": "RevokeSshSession", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L264-L270", + "request": "openshell.v1.RevokeSshSessionRequest", + "response": "openshell.v1.RevokeSshSessionResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ExecSandboxEvent", + "source": "" + }, + { + "name": "openshell.v1.ExecSandboxRequest", + "source": "" + } + ], + "method": "ExecSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L273-L279", + "request": "openshell.v1.ExecSandboxRequest", + "response": "openshell.v1.ExecSandboxEvent", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": true, + "comment": "Forward one CLI-side TCP connection to a loopback TCP target in a sandbox.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.TcpForwardFrame", + "source": "message TcpForwardFrame {\n oneof payload {\n TcpForwardInit init = 1;\n bytes data = 2;\n }\n}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L282-L288", + "request": "openshell.v1.TcpForwardFrame", + "response": "openshell.v1.TcpForwardFrame", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": true, + "service": "OpenShell", + "signature": "rpc ForwardTcp(stream TcpForwardFrame) returns (stream TcpForwardFrame) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [ + { + "path": "sdk/typescript/src/client.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts" + }, + { + "path": "sdk/typescript/src/client.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts" + }, + { + "path": "sdk/typescript/src/routing.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts" + } + ], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": true, + "comment": "Execute an interactive command with bidirectional stdin/stdout streaming.\nThe first client message MUST carry an ExecSandboxInput with the start\nvariant. Subsequent messages carry stdin bytes or window resize events.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ExecSandboxEvent", + "source": "message ExecSandboxEvent {\n oneof payload {\n ExecSandboxStdout stdout = 1;\n ExecSandboxStderr stderr = 2;\n ExecSandboxExit exit = 3;\n }\n}" + }, + { + "name": "openshell.v1.ExecSandboxInput", + "source": "message ExecSandboxInput {\n oneof payload {\n // First message: exec request metadata.\n ExecSandboxRequest start = 1;\n // Subsequent messages: raw stdin bytes.\n bytes stdin = 2;\n // Terminal window size change.\n ExecSandboxWindowResize resize = 3;\n }\n}" + } + ], + "method": "ExecSandboxInteractive", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L293-L299", + "request": "openshell.v1.ExecSandboxInput", + "response": "openshell.v1.ExecSandboxEvent", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs" + } + ], + "server_streaming": true, + "service": "OpenShell", + "signature": "rpc ExecSandboxInteractive(stream ExecSandboxInput) returns (stream ExecSandboxEvent) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [ + { + "path": "sdk/typescript/src/client.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts" + }, + { + "path": "sdk/typescript/src/client.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts" + }, + { + "path": "sdk/typescript/src/routing.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts" + } + ], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.ProviderResponse", + "source": "" + } + ], + "method": "CreateProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L302-L308", + "request": "openshell.v1.CreateProviderRequest", + "response": "openshell.v1.ProviderResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.ProviderResponse", + "source": "" + } + ], + "method": "GetProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L311-L317", + "request": "openshell.v1.GetProviderRequest", + "response": "openshell.v1.ProviderResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "operator", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetProviderCredentialsRequest", + "source": "" + }, + { + "name": "openshell.v1.GetProviderCredentialsResponse", + "source": "" + } + ], + "method": "GetProviderCredentials", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L321-L324", + "request": "openshell.v1.GetProviderCredentialsRequest", + "response": "openshell.v1.GetProviderCredentialsResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListProvidersRequest", + "source": "" + }, + { + "name": "openshell.v1.ListProvidersResponse", + "source": "" + } + ], + "method": "ListProviders", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L327-L333", + "request": "openshell.v1.ListProvidersRequest", + "response": "openshell.v1.ListProvidersResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListProviderProfilesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListProviderProfilesResponse", + "source": "" + } + ], + "method": "ListProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L336-L343", + "request": "openshell.v1.ListProviderProfilesRequest", + "response": "openshell.v1.ListProviderProfilesResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetProviderProfileRequest", + "source": "" + }, + { + "name": "openshell.v1.ProviderProfileResponse", + "source": "" + } + ], + "method": "GetProviderProfile", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L346-L353", + "request": "openshell.v1.GetProviderProfileRequest", + "response": "openshell.v1.ProviderProfileResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ImportProviderProfilesRequest", + "source": "" + }, + { + "name": "openshell.v1.ImportProviderProfilesResponse", + "source": "" + } + ], + "method": "ImportProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L356-L363", + "request": "openshell.v1.ImportProviderProfilesRequest", + "response": "openshell.v1.ImportProviderProfilesResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.UpdateProviderProfilesRequest", + "source": "" + }, + { + "name": "openshell.v1.UpdateProviderProfilesResponse", + "source": "" + } + ], + "method": "UpdateProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L366-L373", + "request": "openshell.v1.UpdateProviderProfilesRequest", + "response": "openshell.v1.UpdateProviderProfilesResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.LintProviderProfilesRequest", + "source": "" + }, + { + "name": "openshell.v1.LintProviderProfilesResponse", + "source": "" + } + ], + "method": "LintProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L376-L383", + "request": "openshell.v1.LintProviderProfilesRequest", + "response": "openshell.v1.LintProviderProfilesResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ProviderResponse", + "source": "" + }, + { + "name": "openshell.v1.UpdateProviderRequest", + "source": "" + } + ], + "method": "UpdateProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L386-L392", + "request": "openshell.v1.UpdateProviderRequest", + "response": "openshell.v1.ProviderResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetProviderRefreshStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.GetProviderRefreshStatusResponse", + "source": "" + } + ], + "method": "GetProviderRefreshStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L395-L402", + "request": "openshell.v1.GetProviderRefreshStatusRequest", + "response": "openshell.v1.GetProviderRefreshStatusResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ConfigureProviderRefreshRequest", + "source": "" + }, + { + "name": "openshell.v1.ConfigureProviderRefreshResponse", + "source": "" + } + ], + "method": "ConfigureProviderRefresh", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L405-L412", + "request": "openshell.v1.ConfigureProviderRefreshRequest", + "response": "openshell.v1.ConfigureProviderRefreshResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RotateProviderCredentialRequest", + "source": "" + }, + { + "name": "openshell.v1.RotateProviderCredentialResponse", + "source": "" + } + ], + "method": "RotateProviderCredential", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L415-L422", + "request": "openshell.v1.RotateProviderCredentialRequest", + "response": "openshell.v1.RotateProviderCredentialResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteProviderRefreshRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteProviderRefreshResponse", + "source": "" + } + ], + "method": "DeleteProviderRefresh", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L425-L432", + "request": "openshell.v1.DeleteProviderRefreshRequest", + "response": "openshell.v1.DeleteProviderRefreshResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteProviderResponse", + "source": "" + } + ], + "method": "DeleteProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L435-L441", + "request": "openshell.v1.DeleteProviderRequest", + "response": "openshell.v1.DeleteProviderResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteProviderProfileRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteProviderProfileResponse", + "source": "" + } + ], + "method": "DeleteProviderProfile", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L444-L451", + "request": "openshell.v1.DeleteProviderProfileRequest", + "response": "openshell.v1.DeleteProviderProfileResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "dual", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.v1.GetSandboxConfigRequest", + "source": "" + }, + { + "name": "openshell.sandbox.v1.GetSandboxConfigResponse", + "source": "" + } + ], + "method": "GetSandboxConfig", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L456-L463", + "request": "openshell.sandbox.v1.GetSandboxConfigRequest", + "response": "openshell.sandbox.v1.GetSandboxConfigResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.v1.GetGatewayConfigRequest", + "source": "" + }, + { + "name": "openshell.sandbox.v1.GetGatewayConfigResponse", + "source": "" + } + ], + "method": "GetGatewayConfig", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L472-L478", + "request": "openshell.sandbox.v1.GetGatewayConfigRequest", + "response": "openshell.sandbox.v1.GetGatewayConfigResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "dual", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.UpdateConfigRequest", + "source": "" + }, + { + "name": "openshell.v1.UpdateConfigResponse", + "source": "" + } + ], + "method": "UpdateConfig", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L481-L488", + "request": "openshell.v1.UpdateConfigRequest", + "response": "openshell.v1.UpdateConfigResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxPolicyStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.GetSandboxPolicyStatusResponse", + "source": "" + } + ], + "method": "GetSandboxPolicyStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L491-L498", + "request": "openshell.v1.GetSandboxPolicyStatusRequest", + "response": "openshell.v1.GetSandboxPolicyStatusResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListSandboxPoliciesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListSandboxPoliciesResponse", + "source": "" + } + ], + "method": "ListSandboxPolicies", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L501-L508", + "request": "openshell.v1.ListSandboxPoliciesRequest", + "response": "openshell.v1.ListSandboxPoliciesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportPolicyStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportPolicyStatusResponse", + "source": "" + } + ], + "method": "ReportPolicyStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L511-L516", + "request": "openshell.v1.ReportPolicyStatusRequest", + "response": "openshell.v1.ReportPolicyStatusResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportEndpointStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportEndpointStatusResponse", + "source": "" + } + ], + "method": "ReportEndpointStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L519-L524", + "request": "openshell.v1.ReportEndpointStatusRequest", + "response": "openshell.v1.ReportEndpointStatusResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportProviderReadinessRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportProviderReadinessResponse", + "source": "" + } + ], + "method": "ReportProviderReadiness", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L528-L533", + "request": "openshell.v1.ReportProviderReadinessRequest", + "response": "openshell.v1.ReportProviderReadinessResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportSandboxConfigurationRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportSandboxConfigurationResponse", + "source": "" + } + ], + "method": "ReportSandboxConfiguration", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L536-L539", + "request": "openshell.v1.ReportSandboxConfigurationRequest", + "response": "openshell.v1.ReportSandboxConfigurationResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxProviderEnvironmentRequest", + "source": "" + }, + { + "name": "openshell.v1.GetSandboxProviderEnvironmentResponse", + "source": "" + } + ], + "method": "GetSandboxProviderEnvironment", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L544-L549", + "request": "openshell.v1.GetSandboxProviderEnvironmentRequest", + "response": "openshell.v1.GetSandboxProviderEnvironmentResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ExchangeProviderSubjectTokenRequest", + "source": "" + }, + { + "name": "openshell.v1.ExchangeProviderSubjectTokenResponse", + "source": "" + } + ], + "method": "ExchangeProviderSubjectToken", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L553-L558", + "request": "openshell.v1.ExchangeProviderSubjectTokenRequest", + "response": "openshell.v1.ExchangeProviderSubjectTokenResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxLogsRequest", + "source": "" + }, + { + "name": "openshell.v1.GetSandboxLogsResponse", + "source": "" + } + ], + "method": "GetSandboxLogs", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L561-L567", + "request": "openshell.v1.GetSandboxLogsRequest", + "response": "openshell.v1.GetSandboxLogsResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": true, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.PushSandboxLogsRequest", + "source": "" + }, + { + "name": "openshell.v1.PushSandboxLogsResponse", + "source": "" + } + ], + "method": "PushSandboxLogs", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L570-L574", + "request": "openshell.v1.PushSandboxLogsRequest", + "response": "openshell.v1.PushSandboxLogsResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": true, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GatewayMessage", + "source": "" + }, + { + "name": "openshell.v1.SupervisorMessage", + "source": "" + } + ], + "method": "ConnectSupervisor", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L585-L589", + "request": "openshell.v1.SupervisorMessage", + "response": "openshell.v1.GatewayMessage", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportMainProcessExitRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportMainProcessExitResponse", + "source": "" + } + ], + "method": "ReportMainProcessExit", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L592-L596", + "request": "openshell.v1.ReportMainProcessExitRequest", + "response": "openshell.v1.ReportMainProcessExitResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.FinalizeMainProcessExitRequest", + "source": "" + }, + { + "name": "openshell.v1.FinalizeMainProcessExitResponse", + "source": "" + } + ], + "method": "FinalizeMainProcessExit", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L599-L604", + "request": "openshell.v1.FinalizeMainProcessExitRequest", + "response": "openshell.v1.FinalizeMainProcessExitResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": true, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RelayFrame", + "source": "" + } + ], + "method": "RelayStream", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L617-L621", + "request": "openshell.v1.RelayFrame", + "response": "openshell.v1.RelayFrame", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": true, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.PeerRelayFrame", + "source": "" + } + ], + "method": "PeerRelay", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L630-L634", + "request": "openshell.v1.PeerRelayFrame", + "response": "openshell.v1.PeerRelayFrame", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportProviderReadinessRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportProviderReadinessResponse", + "source": "" + } + ], + "method": "PeerReportProviderReadiness", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L637-L642", + "request": "openshell.v1.ReportProviderReadinessRequest", + "response": "openshell.v1.ReportProviderReadinessResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportEndpointStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportEndpointStatusResponse", + "source": "" + } + ], + "method": "PeerReportEndpointStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L644-L649", + "request": "openshell.v1.ReportEndpointStatusRequest", + "response": "openshell.v1.ReportEndpointStatusResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxProviderStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.GetSandboxProviderStatusResponse", + "source": "" + } + ], + "method": "PeerGetSandboxProviderStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L651-L656", + "request": "openshell.v1.GetSandboxProviderStatusRequest", + "response": "openshell.v1.GetSandboxProviderStatusResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.PeerNotifyConfigUpdateRequest", + "source": "" + }, + { + "name": "openshell.v1.PeerNotifyConfigUpdateResponse", + "source": "" + } + ], + "method": "PeerNotifyConfigUpdate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L660-L665", + "request": "openshell.v1.PeerNotifyConfigUpdateRequest", + "response": "openshell.v1.PeerNotifyConfigUpdateResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxStreamEvent", + "source": "" + }, + { + "name": "openshell.v1.WatchSandboxRequest", + "source": "" + } + ], + "method": "WatchSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L673-L679", + "request": "openshell.v1.WatchSandboxRequest", + "response": "openshell.v1.SandboxStreamEvent", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SubmitPolicyAnalysisRequest", + "source": "" + }, + { + "name": "openshell.v1.SubmitPolicyAnalysisResponse", + "source": "" + } + ], + "method": "SubmitPolicyAnalysis", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L686-L691", + "request": "openshell.v1.SubmitPolicyAnalysisRequest", + "response": "openshell.v1.SubmitPolicyAnalysisResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "dual", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetDraftPolicyRequest", + "source": "" + }, + { + "name": "openshell.v1.GetDraftPolicyResponse", + "source": "" + } + ], + "method": "GetDraftPolicy", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L694-L700", + "request": "openshell.v1.GetDraftPolicyRequest", + "response": "openshell.v1.GetDraftPolicyResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ApproveDraftChunkRequest", + "source": "" + }, + { + "name": "openshell.v1.ApproveDraftChunkResponse", + "source": "" + } + ], + "method": "ApproveDraftChunk", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L703-L710", + "request": "openshell.v1.ApproveDraftChunkRequest", + "response": "openshell.v1.ApproveDraftChunkResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RejectDraftChunkRequest", + "source": "" + }, + { + "name": "openshell.v1.RejectDraftChunkResponse", + "source": "" + } + ], + "method": "RejectDraftChunk", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L713-L720", + "request": "openshell.v1.RejectDraftChunkRequest", + "response": "openshell.v1.RejectDraftChunkResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ApproveAllDraftChunksRequest", + "source": "" + }, + { + "name": "openshell.v1.ApproveAllDraftChunksResponse", + "source": "" + } + ], + "method": "ApproveAllDraftChunks", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L723-L730", + "request": "openshell.v1.ApproveAllDraftChunksRequest", + "response": "openshell.v1.ApproveAllDraftChunksResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.EditDraftChunkRequest", + "source": "" + }, + { + "name": "openshell.v1.EditDraftChunkResponse", + "source": "" + } + ], + "method": "EditDraftChunk", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L733-L739", + "request": "openshell.v1.EditDraftChunkRequest", + "response": "openshell.v1.EditDraftChunkResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.UndoDraftChunkRequest", + "source": "" + }, + { + "name": "openshell.v1.UndoDraftChunkResponse", + "source": "" + } + ], + "method": "UndoDraftChunk", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L742-L748", + "request": "openshell.v1.UndoDraftChunkRequest", + "response": "openshell.v1.UndoDraftChunkResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ClearDraftChunksRequest", + "source": "" + }, + { + "name": "openshell.v1.ClearDraftChunksResponse", + "source": "" + } + ], + "method": "ClearDraftChunks", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L751-L758", + "request": "openshell.v1.ClearDraftChunksRequest", + "response": "openshell.v1.ClearDraftChunksResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetDraftHistoryRequest", + "source": "" + }, + { + "name": "openshell.v1.GetDraftHistoryResponse", + "source": "" + } + ], + "method": "GetDraftHistory", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L761-L767", + "request": "openshell.v1.GetDraftHistoryRequest", + "response": "openshell.v1.GetDraftHistoryResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.IssueSandboxTokenRequest", + "source": "" + }, + { + "name": "openshell.v1.IssueSandboxTokenResponse", + "source": "" + } + ], + "method": "IssueSandboxToken", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L774-L778", + "request": "openshell.v1.IssueSandboxTokenRequest", + "response": "openshell.v1.IssueSandboxTokenResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RefreshSandboxTokenRequest", + "source": "" + }, + { + "name": "openshell.v1.RefreshSandboxTokenResponse", + "source": "" + } + ], + "method": "RefreshSandboxToken", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L786-L791", + "request": "openshell.v1.RefreshSandboxTokenRequest", + "response": "openshell.v1.RefreshSandboxTokenResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": "platform_admin", + "messages": [ + { + "name": "openshell.v1.CreateWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.v1.CreateWorkspaceResponse", + "source": "" + } + ], + "method": "CreateWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L798-L804", + "request": "openshell.v1.CreateWorkspaceRequest", + "response": "openshell.v1.CreateWorkspaceResponse", + "rust_sdk_refs": [], + "scope": "workspace:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.v1.GetWorkspaceResponse", + "source": "" + } + ], + "method": "GetWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L807-L813", + "request": "openshell.v1.GetWorkspaceRequest", + "response": "openshell.v1.GetWorkspaceResponse", + "rust_sdk_refs": [], + "scope": "workspace:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListWorkspacesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListWorkspacesResponse", + "source": "" + } + ], + "method": "ListWorkspaces", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L816-L822", + "request": "openshell.v1.ListWorkspacesRequest", + "response": "openshell.v1.ListWorkspacesResponse", + "rust_sdk_refs": [], + "scope": "workspace:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": "platform_admin", + "messages": [ + { + "name": "openshell.v1.DeleteWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteWorkspaceResponse", + "source": "" + } + ], + "method": "DeleteWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L825-L831", + "request": "openshell.v1.DeleteWorkspaceRequest", + "response": "openshell.v1.DeleteWorkspaceResponse", + "rust_sdk_refs": [], + "scope": "workspace:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.AddWorkspaceMemberRequest", + "source": "" + }, + { + "name": "openshell.v1.AddWorkspaceMemberResponse", + "source": "" + } + ], + "method": "AddWorkspaceMember", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L834-L840", + "request": "openshell.v1.AddWorkspaceMemberRequest", + "response": "openshell.v1.AddWorkspaceMemberResponse", + "rust_sdk_refs": [], + "scope": "workspace:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RemoveWorkspaceMemberRequest", + "source": "" + }, + { + "name": "openshell.v1.RemoveWorkspaceMemberResponse", + "source": "" + } + ], + "method": "RemoveWorkspaceMember", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L843-L849", + "request": "openshell.v1.RemoveWorkspaceMemberRequest", + "response": "openshell.v1.RemoveWorkspaceMemberResponse", + "rust_sdk_refs": [], + "scope": "workspace:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListWorkspaceMembersRequest", + "source": "" + }, + { + "name": "openshell.v1.ListWorkspaceMembersResponse", + "source": "" + } + ], + "method": "ListWorkspaceMembers", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L852-L858", + "request": "openshell.v1.ListWorkspaceMembersRequest", + "response": "openshell.v1.ListWorkspaceMembersResponse", + "rust_sdk_refs": [], + "scope": "workspace:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Read installed, unexpired application routes in one explicit workspace.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetServiceRouteSnapshotRequest", + "source": "message GetServiceRouteSnapshotRequest {\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n}" + }, + { + "name": "openshell.v1.GetServiceRouteSnapshotResponse", + "source": "message GetServiceRouteSnapshotResponse {\n ServiceRouteSnapshot snapshot = 1;\n}" + } + ], + "method": "GetServiceRouteSnapshot", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L864-L870", + "request": "openshell.v1.GetServiceRouteSnapshotRequest", + "response": "openshell.v1.GetServiceRouteSnapshotResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/grpc/service_discovery.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs" + } + ], + "server_streaming": false, + "service": "ServiceDiscovery", + "signature": "rpc GetServiceRouteSnapshot(GetServiceRouteSnapshotRequest) returns (GetServiceRouteSnapshotResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Full replacement views; reauthorize during the bounded watch lifetime.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.WatchServiceRoutesRequest", + "source": "message WatchServiceRoutesRequest {\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n}" + }, + { + "name": "openshell.v1.WatchServiceRoutesResponse", + "source": "message WatchServiceRoutesResponse {\n ServiceRouteSnapshot snapshot = 1;\n}" + } + ], + "method": "WatchServiceRoutes", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L873-L879", + "request": "openshell.v1.WatchServiceRoutesRequest", + "response": "openshell.v1.WatchServiceRoutesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/grpc/service_discovery.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs" + } + ], + "server_streaming": true, + "service": "ServiceDiscovery", + "signature": "rpc WatchServiceRoutes(WatchServiceRoutesRequest) returns (stream WatchServiceRoutesResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Update the workload image, command, environment, labels, or annotations of a\nstopped sandbox while preserving its identity and retained storage. Requires\ncompute-driver support for the selected changes and explicit gateway activation\nof sandbox updates.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxResponse", + "source": "message SandboxResponse {\n Sandbox sandbox = 1;\n // Service URLs created by CreateSandbox, keyed by service name. The empty\n // key identifies the unnamed service. Other sandbox RPCs return an empty map.\n map service_urls = 2;\n}" + }, + { + "name": "openshell.v1.UpdateSandboxRequest", + "source": "message UpdateSandboxRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n // Canonical name of the existing sandbox; this is not a rename or upsert.\n string name = 2;\n // Nonempty OCI workload image reference. This does not change trusted runtime\n // images or reseed an existing workspace.\n optional string image = 3;\n // Replace workload argv; an empty list restores image-resolved default shell behavior.\n SandboxCommandUpdate command = 6;\n // Replace sandbox-level overrides. Empty clears overrides; template defaults remain.\n SandboxMapUpdate environment = 7;\n // Replace user metadata, preserving gateway-owned keys. These do not set pod metadata.\n SandboxMapUpdate labels = 8;\n SandboxMapUpdate annotations = 9;\n // Required nonzero resource version read by the caller.\n uint64 expected_resource_version = 4;\n // Optional nonzero UUID for durable at-most-once admission.\n string request_id = 5;\n}" + } + ], + "method": "UpdateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L890-L896", + "request": "openshell.v1.UpdateSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/grpc/sandbox/image_update_tests.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/sandbox/image_update_tests.rs" + } + ], + "server_streaming": false, + "service": "SandboxUpdates", + "signature": "rpc UpdateSandbox(UpdateSandboxRequest) returns (SandboxResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [ + { + "path": "sdk/typescript/src/raw.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/raw.test.ts" + } + ], + "workspace_role": "user" + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "gateway_interceptor.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.gateway_interceptor.v1.DescribeRequest", + "source": "" + }, + { + "name": "openshell.gateway_interceptor.v1.InterceptorManifest", + "source": "" + } + ], + "method": "Describe", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/gateway_interceptor.proto#L17-L17", + "request": "openshell.gateway_interceptor.v1.DescribeRequest", + "response": "openshell.gateway_interceptor.v1.InterceptorManifest", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "GatewayInterceptor", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "gateway_interceptor.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.gateway_interceptor.v1.ProviderProfileSnapshot", + "source": "" + }, + { + "name": "openshell.gateway_interceptor.v1.ProviderProfileSnapshotRequest", + "source": "" + } + ], + "method": "SnapshotProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/gateway_interceptor.proto#L21-L22", + "request": "openshell.gateway_interceptor.v1.ProviderProfileSnapshotRequest", + "response": "openshell.gateway_interceptor.v1.ProviderProfileSnapshot", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "GatewayInterceptor", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "gateway_interceptor.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.gateway_interceptor.v1.InterceptorEvaluation", + "source": "" + }, + { + "name": "openshell.gateway_interceptor.v1.InterceptorResult", + "source": "" + } + ], + "method": "Evaluate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/gateway_interceptor.proto#L26-L26", + "request": "openshell.gateway_interceptor.v1.InterceptorEvaluation", + "response": "openshell.gateway_interceptor.v1.InterceptorResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "GatewayInterceptor", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "isolation_backend.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.backend.v1.DescribeIsolationBackendRequest", + "source": "" + }, + { + "name": "openshell.sandbox.backend.v1.DescribeIsolationBackendResponse", + "source": "" + } + ], + "method": "Describe", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/isolation_backend.proto#L38-L38", + "request": "openshell.sandbox.backend.v1.DescribeIsolationBackendRequest", + "response": "openshell.sandbox.backend.v1.DescribeIsolationBackendResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "IsolationBackend", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "isolation_backend.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.backend.v1.OpenBoundaryRequest", + "source": "" + }, + { + "name": "openshell.sandbox.backend.v1.OpenBoundaryResponse", + "source": "" + } + ], + "method": "OpenBoundary", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/isolation_backend.proto#L54-L54", + "request": "openshell.sandbox.backend.v1.OpenBoundaryRequest", + "response": "openshell.sandbox.backend.v1.OpenBoundaryResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "IsolationBackend", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "isolation_backend.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.backend.v1.SuspendBoundaryRequest", + "source": "" + }, + { + "name": "openshell.sandbox.backend.v1.SuspendBoundaryResponse", + "source": "" + } + ], + "method": "SuspendBoundary", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/isolation_backend.proto#L61-L61", + "request": "openshell.sandbox.backend.v1.SuspendBoundaryRequest", + "response": "openshell.sandbox.backend.v1.SuspendBoundaryResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "IsolationBackend", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "isolation_backend.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.backend.v1.OpenBoundaryResponse", + "source": "" + }, + { + "name": "openshell.sandbox.backend.v1.ResumeBoundaryRequest", + "source": "" + } + ], + "method": "ResumeBoundary", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/isolation_backend.proto#L71-L71", + "request": "openshell.sandbox.backend.v1.ResumeBoundaryRequest", + "response": "openshell.sandbox.backend.v1.OpenBoundaryResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "IsolationBackend", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "sandbox_protocol.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.protocol.v1.ExchangeFrame", + "source": "" + } + ], + "method": "Exchange", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/sandbox_protocol.proto#L25-L25", + "request": "openshell.sandbox.protocol.v1.ExchangeFrame", + "response": "openshell.sandbox.protocol.v1.ExchangeFrame", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "SandboxProtocol", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "sandbox_protocol.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.protocol.v1.MediateFrame", + "source": "" + } + ], + "method": "Mediate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/sandbox_protocol.proto#L26-L26", + "request": "openshell.sandbox.protocol.v1.MediateFrame", + "response": "openshell.sandbox.protocol.v1.MediateFrame", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "SandboxProtocol", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "supervisor", + "client_streaming": true, + "comment": "", + "file": "supervisor_host.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.supervisor.host.v1.HostGatewayMessage", + "source": "" + }, + { + "name": "openshell.supervisor.host.v1.HostMessage", + "source": "" + } + ], + "method": "Attach", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_host.proto#L30-L34", + "request": "openshell.supervisor.host.v1.HostMessage", + "response": "openshell.supervisor.host.v1.HostGatewayMessage", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "SupervisorHost", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.MiddlewareDescribeRequest", + "source": "" + }, + { + "name": "openshell.middleware.v1.MiddlewareManifest", + "source": "" + } + ], + "method": "Describe", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L32-L32", + "request": "openshell.middleware.v1.MiddlewareDescribeRequest", + "response": "openshell.middleware.v1.MiddlewareManifest", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "SupervisorMiddleware", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.ValidateConfigRequest", + "source": "" + }, + { + "name": "openshell.middleware.v1.ValidateConfigResponse", + "source": "" + } + ], + "method": "ValidateConfig", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L35-L35", + "request": "openshell.middleware.v1.ValidateConfigRequest", + "response": "openshell.middleware.v1.ValidateConfigResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "SupervisorMiddleware", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.HttpRequestEvaluation", + "source": "" + }, + { + "name": "openshell.middleware.v1.HttpRequestResult", + "source": "" + } + ], + "method": "EvaluateHttpRequest", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L42-L44", + "request": "openshell.middleware.v1.HttpRequestEvaluation", + "response": "openshell.middleware.v1.HttpRequestResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "SupervisorMiddleware", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.WebSocketSessionEvent", + "source": "" + }, + { + "name": "openshell.middleware.v1.WebSocketSessionEventResult", + "source": "" + } + ], + "method": "EvaluateWebSocketSession", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L53-L54", + "request": "openshell.middleware.v1.WebSocketSessionEvent", + "response": "openshell.middleware.v1.WebSocketSessionEventResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "SupervisorMiddleware", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.HttpRequestHookEvent", + "source": "" + }, + { + "name": "openshell.middleware.v1.HttpRequestHookResult", + "source": "" + } + ], + "method": "EvaluateHttpRequestHook", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L67-L68", + "request": "openshell.middleware.v1.HttpRequestHookEvent", + "response": "openshell.middleware.v1.HttpRequestHookResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "HttpHooks", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.HttpResponseHookEvent", + "source": "" + }, + { + "name": "openshell.middleware.v1.HttpResponseHookResult", + "source": "" + } + ], + "method": "EvaluateHttpResponseHook", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L74-L75", + "request": "openshell.middleware.v1.HttpResponseHookEvent", + "response": "openshell.middleware.v1.HttpResponseHookResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "HttpHooks", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.HttpResponseEvent", + "source": "" + }, + { + "name": "openshell.middleware.v1.HttpResponseEventResult", + "source": "" + } + ], + "method": "Evaluate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L97-L100", + "request": "openshell.middleware.v1.HttpResponseEvent", + "response": "openshell.middleware.v1.HttpResponseEventResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "HttpResponsePreReturn", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.1.9" +} diff --git a/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/input.json.license b/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/backfill-v0.1.9/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected-actors.json b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected-actors.json new file mode 100644 index 0000000..1575f5a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected-actors.json @@ -0,0 +1,3 @@ +[ + 20 +] diff --git a/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected-actors.json.license b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected-actors.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected-actors.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected.json b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected.json new file mode 100644 index 0000000..808136e --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected.json @@ -0,0 +1,24 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `Disc.B`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `Disc.B`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc B(X) returns (Y) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `Disc.B`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the Disc.B RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- Disc.B: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:Disc.B", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap Disc.B (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `Disc.C`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `Disc.C`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc C(X) returns (Y) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `Disc.C`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the Disc.C RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- Disc.C: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:Disc.C", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap Disc.C (core v0.2.0)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected.json.license b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/input.json b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/input.json new file mode 100644 index 0000000..84a9a89 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/input.json @@ -0,0 +1,216 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "Disc.A", + "Disc.B", + "Disc.C" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp", + "Disc.A" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "number": 20, + "state": "CLOSED", + "title": "t", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "body": "\n\nold body", + "last_actor_is_bot": true, + "last_event": "closed" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "A", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc A(X) returns (Y) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "B", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc B(X) returns (Y) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "C", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc C(X) returns (Y) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "Disc", + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/input.json.license b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bot-closed-service-bound/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/buildability-changed/expected.json b/hack/automation/testdata/rpc-issues/planner/buildability-changed/expected.json new file mode 100644 index 0000000..3e46ca9 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/buildability-changed/expected.json @@ -0,0 +1,14 @@ +[ + { + "action": "update", + "add_labels": [ + "rpc:ready" + ], + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "number": 20, + "remove_labels": [ + "rpc:blocked" + ] + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/buildability-changed/expected.json.license b/hack/automation/testdata/rpc-issues/planner/buildability-changed/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/buildability-changed/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/buildability-changed/input.json b/hack/automation/testdata/rpc-issues/planner/buildability-changed/input.json new file mode 100644 index 0000000..f560b09 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/buildability-changed/input.json @@ -0,0 +1,109 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/buildability-changed/input.json.license b/hack/automation/testdata/rpc-issues/planner/buildability-changed/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/buildability-changed/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/bump-pending/expected.json b/hack/automation/testdata/rpc-issues/planner/bump-pending/expected.json new file mode 100644 index 0000000..c1b5e52 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bump-pending/expected.json @@ -0,0 +1,13 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet, and the bump proposal for core `v0.2.0` (branch `core/v0.2.0`) does not exist yet. core-watch opens it; work on that branch once it exists.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: core/v0.2.0, the core bump proposal for v0.2.0, which core-watch has not opened yet; start once it exists.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.ForwardTcp (core v0.2.0)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/bump-pending/expected.json.license b/hack/automation/testdata/rpc-issues/planner/bump-pending/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bump-pending/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/bump-pending/input.json b/hack/automation/testdata/rpc-issues/planner/bump-pending/input.json new file mode 100644 index 0000000..b0d7aff --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bump-pending/input.json @@ -0,0 +1,94 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": false, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/bump-pending/input.json.license b/hack/automation/testdata/rpc-issues/planner/bump-pending/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/bump-pending/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/covered/expected.json b/hack/automation/testdata/rpc-issues/planner/covered/expected.json new file mode 100644 index 0000000..b3a6cf9 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/covered/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "close", + "comment": "Nothing left to track at core `v0.2.0`:\n\n- `OpenShell.ForwardTcp`: covered, the SDK calls it under `openshell/v1`.\n\nIf this is wrong, reopen the issue; the automation then keeps it open while the SDK covers its methods.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/covered/expected.json.license b/hack/automation/testdata/rpc-issues/planner/covered/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/covered/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/covered/input.json b/hack/automation/testdata/rpc-issues/planner/covered/input.json new file mode 100644 index 0000000..a7a62f0 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/covered/input.json @@ -0,0 +1,110 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/covered/input.json.license b/hack/automation/testdata/rpc-issues/planner/covered/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/covered/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/definition-changed/expected.json b/hack/automation/testdata/rpc-issues/planner/definition-changed/expected.json new file mode 100644 index 0000000..51e8cc3 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/definition-changed/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "update", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/definition-changed/expected.json.license b/hack/automation/testdata/rpc-issues/planner/definition-changed/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/definition-changed/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/definition-changed/input.json b/hack/automation/testdata/rpc-issues/planner/definition-changed/input.json new file mode 100644 index 0000000..7687dff --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/definition-changed/input.json @@ -0,0 +1,109 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/definition-changed/input.json.license b/hack/automation/testdata/rpc-issues/planner/definition-changed/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/definition-changed/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/duplicate-identity/expected.json b/hack/automation/testdata/rpc-issues/planner/duplicate-identity/expected.json new file mode 100644 index 0000000..b3a6cf9 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/duplicate-identity/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "close", + "comment": "Nothing left to track at core `v0.2.0`:\n\n- `OpenShell.ForwardTcp`: covered, the SDK calls it under `openshell/v1`.\n\nIf this is wrong, reopen the issue; the automation then keeps it open while the SDK covers its methods.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/duplicate-identity/expected.json.license b/hack/automation/testdata/rpc-issues/planner/duplicate-identity/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/duplicate-identity/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/duplicate-identity/input.json b/hack/automation/testdata/rpc-issues/planner/duplicate-identity/input.json new file mode 100644 index 0000000..62c73c6 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/duplicate-identity/input.json @@ -0,0 +1,123 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 21, + "state": "OPEN", + "title": "t" + }, + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/duplicate-identity/input.json.license b/hack/automation/testdata/rpc-issues/planner/duplicate-identity/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/duplicate-identity/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/empty-body/expected.json b/hack/automation/testdata/rpc-issues/planner/empty-body/expected.json new file mode 100644 index 0000000..2ed1a1a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/empty-body/expected.json @@ -0,0 +1,13 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.ForwardTcp (core v0.2.0)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/empty-body/expected.json.license b/hack/automation/testdata/rpc-issues/planner/empty-body/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/empty-body/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/empty-body/input.json b/hack/automation/testdata/rpc-issues/planner/empty-body/input.json new file mode 100644 index 0000000..2bb9298 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/empty-body/input.json @@ -0,0 +1,106 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "number": 5, + "state": "OPEN", + "title": "t", + "body": "", + "labels": [ + "rpc-coverage" + ], + "last_actor_is_bot": null, + "last_event": null + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/empty-body/input.json.license b/hack/automation/testdata/rpc-issues/planner/empty-body/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/empty-body/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/excepted-before-open/expected.json b/hack/automation/testdata/rpc-issues/planner/excepted-before-open/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/excepted-before-open/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/excepted-before-open/expected.json.license b/hack/automation/testdata/rpc-issues/planner/excepted-before-open/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/excepted-before-open/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/excepted-before-open/input.json b/hack/automation/testdata/rpc-issues/planner/excepted-before-open/input.json new file mode 100644 index 0000000..0c65594 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/excepted-before-open/input.json @@ -0,0 +1,100 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [ + { + "key": "OpenShell.ForwardTcp", + "reason": "The TCP client already forwards ports over SSH." + } + ], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/excepted-before-open/input.json.license b/hack/automation/testdata/rpc-issues/planner/excepted-before-open/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/excepted-before-open/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/excepted/expected.json b/hack/automation/testdata/rpc-issues/planner/excepted/expected.json new file mode 100644 index 0000000..cd60c80 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/excepted/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "close", + "comment": "Nothing left to track at core `v0.2.0`:\n\n- `OpenShell.ForwardTcp`: excepted, listed in `hack/automation/rpc-exceptions.txt`: \"The TCP client already forwards ports over SSH.\"\n\nIf this is wrong, reopen the issue; the automation then keeps it open while the SDK covers its methods.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/excepted/expected.json.license b/hack/automation/testdata/rpc-issues/planner/excepted/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/excepted/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/excepted/input.json b/hack/automation/testdata/rpc-issues/planner/excepted/input.json new file mode 100644 index 0000000..42e6215 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/excepted/input.json @@ -0,0 +1,114 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [ + { + "key": "OpenShell.ForwardTcp", + "reason": "The TCP client already forwards ports over SSH." + } + ], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/excepted/input.json.license b/hack/automation/testdata/rpc-issues/planner/excepted/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/excepted/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/expected.json b/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/expected.json new file mode 100644 index 0000000..51e8cc3 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "update", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/expected.json.license b/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/input.json b/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/input.json new file mode 100644 index 0000000..56e4fb1 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/input.json @@ -0,0 +1,110 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready", + "agent:adapt" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/input.json.license b/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/foreign-label-kept/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/expected.json b/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/expected.json.license b/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/input.json b/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/input.json new file mode 100644 index 0000000..86d3966 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/input.json @@ -0,0 +1,179 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "Disc.A", + "Disc.B", + "Disc.C" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": false, + "last_event": "closed", + "number": 20, + "state": "CLOSED", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "A does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ARequest", + "source": "message ARequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.AResponse", + "source": "message AResponse {}" + } + ], + "method": "A", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ARequest", + "response": "openshell.v1.AResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc A(ARequest) returns (AResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "B does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.BRequest", + "source": "message BRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.BResponse", + "source": "message BResponse {}" + } + ], + "method": "B", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.BRequest", + "response": "openshell.v1.BResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc B(BRequest) returns (BResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "C does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CRequest", + "source": "message CRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.CResponse", + "source": "message CResponse {}" + } + ], + "method": "C", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.CRequest", + "response": "openshell.v1.CResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc C(CRequest) returns (CResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/input.json.license b/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed-service-new-method/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/expected.json b/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/expected.json.license b/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/input.json b/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/input.json new file mode 100644 index 0000000..4f237f8 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/input.json @@ -0,0 +1,157 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "Disc.A", + "Disc.B" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": false, + "last_event": "closed", + "number": 20, + "state": "CLOSED", + "title": "t" + }, + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": true, + "last_event": "closed", + "number": 21, + "state": "CLOSED", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "A does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ARequest", + "source": "message ARequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.AResponse", + "source": "message AResponse {}" + } + ], + "method": "A", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ARequest", + "response": "openshell.v1.AResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc A(ARequest) returns (AResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "B does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.BRequest", + "source": "message BRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.BResponse", + "source": "message BResponse {}" + } + ], + "method": "B", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.BRequest", + "response": "openshell.v1.BResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc B(BRequest) returns (BResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/input.json.license b/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed-service-suppresses/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed/expected.json b/hack/automation/testdata/rpc-issues/planner/human-closed/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed/expected.json.license b/hack/automation/testdata/rpc-issues/planner/human-closed/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed/input.json b/hack/automation/testdata/rpc-issues/planner/human-closed/input.json new file mode 100644 index 0000000..9f37163 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed/input.json @@ -0,0 +1,109 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": false, + "last_event": "closed", + "number": 20, + "state": "CLOSED", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/human-closed/input.json.license b/hack/automation/testdata/rpc-issues/planner/human-closed/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-closed/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/expected.json b/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/expected.json.license b/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/input.json b/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/input.json new file mode 100644 index 0000000..072d42b --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/input.json @@ -0,0 +1,110 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": false, + "last_event": "reopened", + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/input.json.license b/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-reopened-covered/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/expected.json b/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/expected.json new file mode 100644 index 0000000..5e0f455 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "close", + "comment": "Nothing left to track at core `v0.2.0`:\n\n- `OpenShell.Gone`: removed, core `v0.2.0` no longer has it.\n\nIf this is wrong, reopen the issue; the automation then keeps it open while the SDK covers its methods.", + "group": "method:OpenShell.Gone", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/expected.json.license b/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/input.json b/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/input.json new file mode 100644 index 0000000..9e56021 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/input.json @@ -0,0 +1,74 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": false, + "last_event": "reopened", + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/input.json.license b/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/human-reopened-removed/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/idempotent/expected.json b/hack/automation/testdata/rpc-issues/planner/idempotent/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/idempotent/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/idempotent/expected.json.license b/hack/automation/testdata/rpc-issues/planner/idempotent/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/idempotent/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/idempotent/input.json b/hack/automation/testdata/rpc-issues/planner/idempotent/input.json new file mode 100644 index 0000000..a3eef21 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/idempotent/input.json @@ -0,0 +1,3981 @@ +{ + "built": [ + "OpenShell.AddWorkspaceMember", + "OpenShell.ApproveAllDraftChunks", + "OpenShell.ApproveDraftChunk", + "OpenShell.AttachSandboxProvider", + "OpenShell.BeginRootfsTarStaging", + "OpenShell.ClearDraftChunks", + "OpenShell.ConfigureProviderRefresh", + "OpenShell.ConnectSupervisor", + "OpenShell.CreateProvider", + "OpenShell.CreateSandbox", + "OpenShell.CreateSandboxTemplate", + "OpenShell.CreateSshSession", + "OpenShell.CreateWorkspace", + "OpenShell.DeleteProvider", + "OpenShell.DeleteProviderProfile", + "OpenShell.DeleteProviderRefresh", + "OpenShell.DeleteSandbox", + "OpenShell.DeleteSandboxTemplate", + "OpenShell.DeleteService", + "OpenShell.DeleteWorkspace", + "OpenShell.DetachSandboxProvider", + "OpenShell.EditDraftChunk", + "OpenShell.ExchangeProviderSubjectToken", + "OpenShell.ExecSandbox", + "OpenShell.ExecSandboxInteractive", + "OpenShell.ExposeService", + "OpenShell.FinalizeMainProcessExit", + "OpenShell.ForwardTcp", + "OpenShell.GetCurrentUser", + "OpenShell.GetDraftHistory", + "OpenShell.GetDraftPolicy", + "OpenShell.GetGatewayConfig", + "OpenShell.GetGatewayInfo", + "OpenShell.GetProvider", + "OpenShell.GetProviderCredentials", + "OpenShell.GetProviderProfile", + "OpenShell.GetProviderRefreshStatus", + "OpenShell.GetSandbox", + "OpenShell.GetSandboxConfig", + "OpenShell.GetSandboxLogs", + "OpenShell.GetSandboxPolicyStatus", + "OpenShell.GetSandboxProviderEnvironment", + "OpenShell.GetSandboxProviderStatus", + "OpenShell.GetSandboxTemplate", + "OpenShell.GetService", + "OpenShell.GetWorkspace", + "OpenShell.Health", + "OpenShell.ImportProviderProfiles", + "OpenShell.IssueSandboxToken", + "OpenShell.LintProviderProfiles", + "OpenShell.ListProviderProfiles", + "OpenShell.ListProviders", + "OpenShell.ListSandboxes", + "OpenShell.ListSandboxPolicies", + "OpenShell.ListSandboxProviders", + "OpenShell.ListSandboxTemplates", + "OpenShell.ListServices", + "OpenShell.ListWorkspaceMembers", + "OpenShell.ListWorkspaces", + "OpenShell.PeerGetSandboxProviderStatus", + "OpenShell.PeerNotifyConfigUpdate", + "OpenShell.PeerRelay", + "OpenShell.PeerReportEndpointStatus", + "OpenShell.PeerReportProviderReadiness", + "OpenShell.PushSandboxLogs", + "OpenShell.RefreshSandboxToken", + "OpenShell.RejectDraftChunk", + "OpenShell.RelayStream", + "OpenShell.RemoveWorkspaceMember", + "OpenShell.ReportEndpointStatus", + "OpenShell.ReportMainProcessExit", + "OpenShell.ReportPolicyStatus", + "OpenShell.ReportProviderReadiness", + "OpenShell.ReportSandboxConfiguration", + "OpenShell.ResumeSandbox", + "OpenShell.RevokeSshSession", + "OpenShell.RotateProviderCredential", + "OpenShell.StartSandbox", + "OpenShell.StopSandbox", + "OpenShell.SubmitPolicyAnalysis", + "OpenShell.SuspendSandbox", + "OpenShell.UndoDraftChunk", + "OpenShell.UpdateConfig", + "OpenShell.UpdateProvider", + "OpenShell.UpdateProviderProfiles", + "OpenShell.WatchSandbox", + "SandboxUpdates.UpdateSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.AddWorkspaceMember", + "OpenShell.ApproveAllDraftChunks", + "OpenShell.ApproveDraftChunk", + "OpenShell.AttachSandboxProvider", + "OpenShell.ClearDraftChunks", + "OpenShell.ConfigureProviderRefresh", + "OpenShell.CreateProvider", + "OpenShell.CreateSandbox", + "OpenShell.CreateSandboxTemplate", + "OpenShell.CreateSshSession", + "OpenShell.CreateWorkspace", + "OpenShell.DeleteProvider", + "OpenShell.DeleteProviderProfile", + "OpenShell.DeleteProviderRefresh", + "OpenShell.DeleteSandbox", + "OpenShell.DeleteSandboxTemplate", + "OpenShell.DeleteService", + "OpenShell.DeleteWorkspace", + "OpenShell.DetachSandboxProvider", + "OpenShell.EditDraftChunk", + "OpenShell.ExecSandbox", + "OpenShell.ExposeService", + "OpenShell.GetCurrentUser", + "OpenShell.GetDraftHistory", + "OpenShell.GetDraftPolicy", + "OpenShell.GetGatewayConfig", + "OpenShell.GetGatewayInfo", + "OpenShell.GetProvider", + "OpenShell.GetProviderProfile", + "OpenShell.GetProviderRefreshStatus", + "OpenShell.GetSandbox", + "OpenShell.GetSandboxConfig", + "OpenShell.GetSandboxLogs", + "OpenShell.GetSandboxPolicyStatus", + "OpenShell.GetSandboxTemplate", + "OpenShell.GetService", + "OpenShell.GetWorkspace", + "OpenShell.Health", + "OpenShell.ImportProviderProfiles", + "OpenShell.LintProviderProfiles", + "OpenShell.ListProviderProfiles", + "OpenShell.ListProviders", + "OpenShell.ListSandboxes", + "OpenShell.ListSandboxPolicies", + "OpenShell.ListSandboxProviders", + "OpenShell.ListSandboxTemplates", + "OpenShell.ListServices", + "OpenShell.ListWorkspaceMembers", + "OpenShell.ListWorkspaces", + "OpenShell.RejectDraftChunk", + "OpenShell.RemoveWorkspaceMember", + "OpenShell.ResumeSandbox", + "OpenShell.RevokeSshSession", + "OpenShell.RotateProviderCredential", + "OpenShell.StartSandbox", + "OpenShell.StopSandbox", + "OpenShell.SuspendSandbox", + "OpenShell.UndoDraftChunk", + "OpenShell.UpdateConfig", + "OpenShell.UpdateProvider", + "OpenShell.UpdateProviderProfiles", + "OpenShell.WatchSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nCore `v0.1.9` has `OpenShell.BeginRootfsTarStaging`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.BeginRootfsTarStaging`\n\nAllocate a gateway-owned staging slot for a local rootfs tar archive.\n\nThe gateway creates a request-scoped directory inside the compute driver's\nstaging root and returns an opaque single-use token plus the absolute path\nthe client must write the archive to. The token is then passed as\n`template.driver_config..rootfs_tar_staging_token` on\nCreateSandbox; callers never name a filesystem path themselves. Only a\nclient sharing the gateway's filesystem can complete the upload.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:write`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L64-L71) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc BeginRootfsTarStaging(BeginRootfsTarStagingRequest)\n returns (BeginRootfsTarStagingResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage BeginRootfsTarStagingRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 3;\n // Base file name of the local archive. The gateway uses it only to name the\n // staged file; path separators and traversal components are rejected.\n string file_name = 1;\n // Size of the local archive in bytes, checked against the driver limit\n // before the gateway allocates a slot.\n uint64 size_bytes = 2;\n}\n```\n\n```proto\nmessage BeginRootfsTarStagingResponse {\n reserved 4;\n reserved \"expires_at_ms\";\n // Opaque single-use token. Pass it as\n // `template.driver_config..rootfs_tar_staging_token` on\n // CreateSandbox. The first CreateSandbox presenting it consumes it.\n string staging_token = 1;\n // Absolute path on the gateway host the client must write the archive to.\n string upload_path = 2;\n // Maximum accepted archive size in bytes, enforced again by the driver.\n uint64 max_bytes = 3;\n // Wall-clock deadline after which the gateway reclaims the slot.\n google.protobuf.Timestamp expiration_time = 104;\n}\n```\n\n## Where core implements it\n\n### `OpenShell.BeginRootfsTarStaging`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.BeginRootfsTarStaging RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.BeginRootfsTarStaging: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L64-L71; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 100, + "state": "OPEN", + "title": "feat(sdk): wrap OpenShell.BeginRootfsTarStaging (core v0.1.9)" + }, + { + "body": "\n\nCore `v0.1.9` has `OpenShell.ExecSandboxInteractive`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ExecSandboxInteractive`\n\nExecute an interactive command with bidirectional stdin/stdout streaming.\nThe first client message MUST carry an ExecSandboxInput with the start\nvariant. Subsequent messages carry stdin bytes or window resize events.\n\n- Streaming: bidirectional streaming\n- Authorization: `bearer`, scope `sandbox:write`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L293-L299) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ExecSandboxInteractive(stream ExecSandboxInput) returns (stream ExecSandboxEvent) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage ExecSandboxEvent {\n oneof payload {\n ExecSandboxStdout stdout = 1;\n ExecSandboxStderr stderr = 2;\n ExecSandboxExit exit = 3;\n }\n}\n```\n\n```proto\nmessage ExecSandboxInput {\n oneof payload {\n // First message: exec request metadata.\n ExecSandboxRequest start = 1;\n // Subsequent messages: raw stdin bytes.\n bytes stdin = 2;\n // Terminal window size change.\n ExecSandboxWindowResize resize = 3;\n }\n}\n```\n\n## Where core implements it\n\n### `OpenShell.ExecSandboxInteractive`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): found in [`sdk/typescript/src/client.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts), [`sdk/typescript/src/client.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts), [`sdk/typescript/src/routing.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts)\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ExecSandboxInteractive RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ExecSandboxInteractive: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L293-L299; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs; core TypeScript SDK: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 101, + "state": "OPEN", + "title": "feat(sdk): wrap OpenShell.ExecSandboxInteractive (core v0.1.9)" + }, + { + "body": "\n\nCore `v0.1.9` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForward one CLI-side TCP connection to a loopback TCP target in a sandbox.\n\n- Streaming: bidirectional streaming\n- Authorization: `bearer`, scope `sandbox:write`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L282-L288) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(stream TcpForwardFrame) returns (stream TcpForwardFrame) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage TcpForwardFrame {\n oneof payload {\n TcpForwardInit init = 1;\n bytes data = 2;\n }\n}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): found in [`sdk/typescript/src/client.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts), [`sdk/typescript/src/client.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts), [`sdk/typescript/src/routing.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts)\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L282-L288; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs; core TypeScript SDK: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 102, + "state": "OPEN", + "title": "feat(sdk): wrap OpenShell.ForwardTcp (core v0.1.9)" + }, + { + "body": "\n\nCore `v0.1.9` has `OpenShell.GetSandboxProviderStatus`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.GetSandboxProviderStatus`\n\nInspect the installed authority for one sandbox provider mutation.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L162-L169) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc GetSandboxProviderStatus(GetSandboxProviderStatusRequest)\n returns (GetSandboxProviderStatusResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage GetSandboxProviderStatusRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 4;\n string sandbox = 1;\n string provider = 2;\n string receipt_id = 3;\n}\n```\n\n```proto\nmessage GetSandboxProviderStatusResponse {\n ProviderReadinessStatus status = 1;\n}\n```\n\n## Where core implements it\n\n### `OpenShell.GetSandboxProviderStatus`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/gateway_metrics.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/gateway_metrics.rs), [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/supervisor_session.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/supervisor_session.rs)\n- Rust SDK (`crates/openshell-sdk/src`): found in [`crates/openshell-sdk/src/provider_readiness.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-sdk/src/provider_readiness.rs)\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.GetSandboxProviderStatus RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.GetSandboxProviderStatus: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L162-L169; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/gateway_metrics.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/supervisor_session.rs; core Rust SDK: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-sdk/src/provider_readiness.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 103, + "state": "OPEN", + "title": "feat(sdk): wrap OpenShell.GetSandboxProviderStatus (core v0.1.9)" + }, + { + "body": "\n\nCore `v0.1.9` has a user-facing method in the `SandboxUpdates` service that the Go SDK does not wrap yet: `UpdateSandbox`. The SDK wraps none of the service's user-facing methods, so this issue tracks the service as a whole. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `SandboxUpdates.UpdateSandbox`\n\nUpdate the workload image, command, environment, labels, or annotations of a\nstopped sandbox while preserving its identity and retained storage. Requires\ncompute-driver support for the selected changes and explicit gateway activation\nof sandbox updates.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:write`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L890-L896) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc UpdateSandbox(UpdateSandboxRequest) returns (SandboxResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage SandboxResponse {\n Sandbox sandbox = 1;\n // Service URLs created by CreateSandbox, keyed by service name. The empty\n // key identifies the unnamed service. Other sandbox RPCs return an empty map.\n map service_urls = 2;\n}\n```\n\n```proto\nmessage UpdateSandboxRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n // Canonical name of the existing sandbox; this is not a rename or upsert.\n string name = 2;\n // Nonempty OCI workload image reference. This does not change trusted runtime\n // images or reseed an existing workspace.\n optional string image = 3;\n // Replace workload argv; an empty list restores image-resolved default shell behavior.\n SandboxCommandUpdate command = 6;\n // Replace sandbox-level overrides. Empty clears overrides; template defaults remain.\n SandboxMapUpdate environment = 7;\n // Replace user metadata, preserving gateway-owned keys. These do not set pod metadata.\n SandboxMapUpdate labels = 8;\n SandboxMapUpdate annotations = 9;\n // Required nonzero resource version read by the caller.\n uint64 expected_resource_version = 4;\n // Optional nonzero UUID for durable at-most-once admission.\n string request_id = 5;\n}\n```\n\n## Where core implements it\n\n### `SandboxUpdates.UpdateSandbox`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/grpc/sandbox/image_update_tests.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/sandbox/image_update_tests.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): found in [`sdk/typescript/src/raw.test.ts`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/raw.test.ts)\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the SandboxUpdates service of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go): method UpdateSandbox.\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- SandboxUpdates.UpdateSandbox: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L890-L896; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/sandbox/image_update_tests.rs; core TypeScript SDK: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/raw.test.ts\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- A sub-client in openshell/v1 for the SandboxUpdates service, behind an interface like the other sub-clients, that constructs pb.NewSandboxUpdatesClient(conn) and is reachable from Client.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 104, + "state": "OPEN", + "title": "feat(sdk): wrap the SandboxUpdates service (core v0.1.9)" + }, + { + "body": "\n\nCore `v0.1.9` has 2 user-facing methods in the `ServiceDiscovery` service that the Go SDK does not wrap yet: `GetServiceRouteSnapshot` and `WatchServiceRoutes`. The SDK wraps none of the service's user-facing methods, so this issue tracks the service as a whole. First seen in core `v0.1.9`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.1.9`](https://github.com/ai-openshell/sdk-go/tree/core/v0.1.9), or on `main` once that proposal is merged.\n\n## `ServiceDiscovery.GetServiceRouteSnapshot`\n\nRead installed, unexpired application routes in one explicit workspace.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L864-L870) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc GetServiceRouteSnapshot(GetServiceRouteSnapshotRequest) returns (GetServiceRouteSnapshotResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage GetServiceRouteSnapshotRequest {\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n}\n```\n\n```proto\nmessage GetServiceRouteSnapshotResponse {\n ServiceRouteSnapshot snapshot = 1;\n}\n```\n\n## `ServiceDiscovery.WatchServiceRoutes`\n\nFull replacement views; reauthorize during the bounded watch lifetime.\n\n- Streaming: server streaming\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L873-L879) at core `v0.1.9`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc WatchServiceRoutes(WatchServiceRoutesRequest) returns (stream WatchServiceRoutesResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}\n```\n\nRequest and response messages:\n\n```proto\nmessage WatchServiceRoutesRequest {\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n}\n```\n\n```proto\nmessage WatchServiceRoutesResponse {\n ServiceRouteSnapshot snapshot = 1;\n}\n```\n\n## Where core implements it\n\n### `ServiceDiscovery.GetServiceRouteSnapshot`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/grpc/service_discovery.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n### `ServiceDiscovery.WatchServiceRoutes`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs), [`crates/openshell-server/src/grpc/service_discovery.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the ServiceDiscovery service of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go): methods GetServiceRouteSnapshot, WatchServiceRoutes.\n\nCore version: NVIDIA/OpenShell at tag v0.1.9.\nBranch: start from core/v0.1.9, the core bump proposal for v0.1.9; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- ServiceDiscovery.GetServiceRouteSnapshot: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L864-L870; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs\n- ServiceDiscovery.WatchServiceRoutes: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L873-L879; core server: https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs, https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- A sub-client in openshell/v1 for the ServiceDiscovery service, behind an interface like the other sub-clients, that constructs pb.NewServiceDiscoveryClient(conn) and is reachable from Client.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 105, + "state": "OPEN", + "title": "feat(sdk): wrap the ServiceDiscovery service (core v0.1.9)" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.GetCapabilitiesRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.GetCapabilitiesResponse", + "source": "" + } + ], + "method": "GetCapabilities", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L27-L27", + "request": "openshell.compute.v1.GetCapabilitiesRequest", + "response": "openshell.compute.v1.GetCapabilitiesResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.AuthenticateSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.AuthenticateSandboxResponse", + "source": "" + } + ], + "method": "AuthenticateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L32-L33", + "request": "openshell.compute.v1.AuthenticateSandboxRequest", + "response": "openshell.compute.v1.AuthenticateSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.ValidateSandboxCreateRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.ValidateSandboxCreateResponse", + "source": "" + } + ], + "method": "ValidateSandboxCreate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L36-L37", + "request": "openshell.compute.v1.ValidateSandboxCreateRequest", + "response": "openshell.compute.v1.ValidateSandboxCreateResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.GetSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.GetSandboxResponse", + "source": "" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L40-L40", + "request": "openshell.compute.v1.GetSandboxRequest", + "response": "openshell.compute.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.ListSandboxesRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.ListSandboxesResponse", + "source": "" + } + ], + "method": "ListSandboxes", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L43-L43", + "request": "openshell.compute.v1.ListSandboxesRequest", + "response": "openshell.compute.v1.ListSandboxesResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.CreateSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.CreateSandboxResponse", + "source": "" + } + ], + "method": "CreateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L46-L46", + "request": "openshell.compute.v1.CreateSandboxRequest", + "response": "openshell.compute.v1.CreateSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.StopSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.StopSandboxResponse", + "source": "" + } + ], + "method": "StopSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L49-L49", + "request": "openshell.compute.v1.StopSandboxRequest", + "response": "openshell.compute.v1.StopSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.StartSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.StartSandboxResponse", + "source": "" + } + ], + "method": "StartSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L52-L52", + "request": "openshell.compute.v1.StartSandboxRequest", + "response": "openshell.compute.v1.StartSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.SuspendSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.SuspendSandboxResponse", + "source": "" + } + ], + "method": "SuspendSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L61-L61", + "request": "openshell.compute.v1.SuspendSandboxRequest", + "response": "openshell.compute.v1.SuspendSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.DeleteSandboxRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.DeleteSandboxResponse", + "source": "" + } + ], + "method": "DeleteSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L64-L64", + "request": "openshell.compute.v1.DeleteSandboxRequest", + "response": "openshell.compute.v1.DeleteSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.WatchSandboxesEvent", + "source": "" + }, + { + "name": "openshell.compute.v1.WatchSandboxesRequest", + "source": "" + } + ], + "method": "WatchSandboxes", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L67-L67", + "request": "openshell.compute.v1.WatchSandboxesRequest", + "response": "openshell.compute.v1.WatchSandboxesEvent", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.EnsureWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.EnsureWorkspaceResponse", + "source": "" + } + ], + "method": "EnsureWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L71-L71", + "request": "openshell.compute.v1.EnsureWorkspaceRequest", + "response": "openshell.compute.v1.EnsureWorkspaceResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.DeleteWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.DeleteWorkspaceResponse", + "source": "" + } + ], + "method": "DeleteWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L74-L74", + "request": "openshell.compute.v1.DeleteWorkspaceRequest", + "response": "openshell.compute.v1.DeleteWorkspaceResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.ResolveSupervisorAppEndpointRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.ResolveSupervisorAppEndpointResponse", + "source": "" + } + ], + "method": "ResolveSupervisorAppEndpoint", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L83-L84", + "request": "openshell.compute.v1.ResolveSupervisorAppEndpointRequest", + "response": "openshell.compute.v1.ResolveSupervisorAppEndpointResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriverAppEndpoints", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.compute.v1.UpdateSandboxConfigurationRequest", + "source": "" + }, + { + "name": "openshell.compute.v1.UpdateSandboxConfigurationResponse", + "source": "" + } + ], + "method": "UpdateSandboxConfiguration", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/compute_driver.proto#L92-L93", + "request": "openshell.compute.v1.UpdateSandboxConfigurationRequest", + "response": "openshell.compute.v1.UpdateSandboxConfigurationResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "ComputeDriverConfigurationUpdates", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.GetCredentialDriverCapabilitiesRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.GetCredentialDriverCapabilitiesResponse", + "source": "" + } + ], + "method": "GetCapabilities", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L20-L21", + "request": "openshell.credentials.v1.GetCredentialDriverCapabilitiesRequest", + "response": "openshell.credentials.v1.GetCredentialDriverCapabilitiesResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.StoreCredentialRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.StoreCredentialResponse", + "source": "" + } + ], + "method": "StoreCredential", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L24-L24", + "request": "openshell.credentials.v1.StoreCredentialRequest", + "response": "openshell.credentials.v1.StoreCredentialResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.DeleteCredentialRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.DeleteCredentialResponse", + "source": "" + } + ], + "method": "DeleteCredential", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L27-L27", + "request": "openshell.credentials.v1.DeleteCredentialRequest", + "response": "openshell.credentials.v1.DeleteCredentialResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.ResolveCredentialsRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.ResolveCredentialsResponse", + "source": "" + } + ], + "method": "ResolveCredentials", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L30-L31", + "request": "openshell.credentials.v1.ResolveCredentialsRequest", + "response": "openshell.credentials.v1.ResolveCredentialsResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "credential_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.credentials.v1.ListCredentialsRequest", + "source": "" + }, + { + "name": "openshell.credentials.v1.ListCredentialsResponse", + "source": "" + } + ], + "method": "ListCredentials", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/credential_driver.proto#L34-L34", + "request": "openshell.credentials.v1.ListCredentialsRequest", + "response": "openshell.credentials.v1.ListCredentialsResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "CredentialDriver", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "unauthenticated", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.HealthRequest", + "source": "" + }, + { + "name": "openshell.v1.HealthResponse", + "source": "" + } + ], + "method": "Health", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L25-L29", + "request": "openshell.v1.HealthRequest", + "response": "openshell.v1.HealthResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetCurrentUserRequest", + "source": "" + }, + { + "name": "openshell.v1.GetCurrentUserResponse", + "source": "" + } + ], + "method": "GetCurrentUser", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L32-L36", + "request": "openshell.v1.GetCurrentUserRequest", + "response": "openshell.v1.GetCurrentUserResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": "platform_admin", + "messages": [ + { + "name": "openshell.v1.GetGatewayInfoRequest", + "source": "" + }, + { + "name": "openshell.v1.GetGatewayInfoResponse", + "source": "" + } + ], + "method": "GetGatewayInfo", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L39-L45", + "request": "openshell.v1.GetGatewayInfoRequest", + "response": "openshell.v1.GetGatewayInfoResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateSandboxRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxResponse", + "source": "" + } + ], + "method": "CreateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L48-L54", + "request": "openshell.v1.CreateSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Allocate a gateway-owned staging slot for a local rootfs tar archive.\n\nThe gateway creates a request-scoped directory inside the compute driver's\nstaging root and returns an opaque single-use token plus the absolute path\nthe client must write the archive to. The token is then passed as\n`template.driver_config..rootfs_tar_staging_token` on\nCreateSandbox; callers never name a filesystem path themselves. Only a\nclient sharing the gateway's filesystem can complete the upload.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.BeginRootfsTarStagingRequest", + "source": "message BeginRootfsTarStagingRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 3;\n // Base file name of the local archive. The gateway uses it only to name the\n // staged file; path separators and traversal components are rejected.\n string file_name = 1;\n // Size of the local archive in bytes, checked against the driver limit\n // before the gateway allocates a slot.\n uint64 size_bytes = 2;\n}" + }, + { + "name": "openshell.v1.BeginRootfsTarStagingResponse", + "source": "message BeginRootfsTarStagingResponse {\n reserved 4;\n reserved \"expires_at_ms\";\n // Opaque single-use token. Pass it as\n // `template.driver_config..rootfs_tar_staging_token` on\n // CreateSandbox. The first CreateSandbox presenting it consumes it.\n string staging_token = 1;\n // Absolute path on the gateway host the client must write the archive to.\n string upload_path = 2;\n // Maximum accepted archive size in bytes, enforced again by the driver.\n uint64 max_bytes = 3;\n // Wall-clock deadline after which the gateway reclaims the slot.\n google.protobuf.Timestamp expiration_time = 104;\n}" + } + ], + "method": "BeginRootfsTarStaging", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L64-L71", + "request": "openshell.v1.BeginRootfsTarStagingRequest", + "response": "openshell.v1.BeginRootfsTarStagingResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc BeginRootfsTarStaging(BeginRootfsTarStagingRequest)\n returns (BeginRootfsTarStagingResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxResponse", + "source": "" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L74-L80", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListSandboxesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListSandboxesResponse", + "source": "" + } + ], + "method": "ListSandboxes", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L83-L89", + "request": "openshell.v1.ListSandboxesRequest", + "response": "openshell.v1.ListSandboxesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateSandboxTemplateRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxTemplateResponse", + "source": "" + } + ], + "method": "CreateSandboxTemplate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L92-L99", + "request": "openshell.v1.CreateSandboxTemplateRequest", + "response": "openshell.v1.SandboxTemplateResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxTemplateRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxTemplateResponse", + "source": "" + } + ], + "method": "GetSandboxTemplate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L102-L109", + "request": "openshell.v1.GetSandboxTemplateRequest", + "response": "openshell.v1.SandboxTemplateResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListSandboxTemplatesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListSandboxTemplatesResponse", + "source": "" + } + ], + "method": "ListSandboxTemplates", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L112-L119", + "request": "openshell.v1.ListSandboxTemplatesRequest", + "response": "openshell.v1.ListSandboxTemplatesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteSandboxTemplateRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteSandboxTemplateResponse", + "source": "" + } + ], + "method": "DeleteSandboxTemplate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L122-L129", + "request": "openshell.v1.DeleteSandboxTemplateRequest", + "response": "openshell.v1.DeleteSandboxTemplateResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListSandboxProvidersRequest", + "source": "" + }, + { + "name": "openshell.v1.ListSandboxProvidersResponse", + "source": "" + } + ], + "method": "ListSandboxProviders", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L132-L139", + "request": "openshell.v1.ListSandboxProvidersRequest", + "response": "openshell.v1.ListSandboxProvidersResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.AttachSandboxProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.AttachSandboxProviderResponse", + "source": "" + } + ], + "method": "AttachSandboxProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L142-L149", + "request": "openshell.v1.AttachSandboxProviderRequest", + "response": "openshell.v1.AttachSandboxProviderResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DetachSandboxProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.DetachSandboxProviderResponse", + "source": "" + } + ], + "method": "DetachSandboxProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L152-L159", + "request": "openshell.v1.DetachSandboxProviderRequest", + "response": "openshell.v1.DetachSandboxProviderResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Inspect the installed authority for one sandbox provider mutation.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxProviderStatusRequest", + "source": "message GetSandboxProviderStatusRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 4;\n string sandbox = 1;\n string provider = 2;\n string receipt_id = 3;\n}" + }, + { + "name": "openshell.v1.GetSandboxProviderStatusResponse", + "source": "message GetSandboxProviderStatusResponse {\n ProviderReadinessStatus status = 1;\n}" + } + ], + "method": "GetSandboxProviderStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L162-L169", + "request": "openshell.v1.GetSandboxProviderStatusRequest", + "response": "openshell.v1.GetSandboxProviderStatusResponse", + "rust_sdk_refs": [ + { + "path": "crates/openshell-sdk/src/provider_readiness.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-sdk/src/provider_readiness.rs" + } + ], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/gateway_metrics.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/gateway_metrics.rs" + }, + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/supervisor_session.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/supervisor_session.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandboxProviderStatus(GetSandboxProviderStatusRequest)\n returns (GetSandboxProviderStatusResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteSandboxRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteSandboxResponse", + "source": "" + } + ], + "method": "DeleteSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L172-L178", + "request": "openshell.v1.DeleteSandboxRequest", + "response": "openshell.v1.DeleteSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxResponse", + "source": "" + }, + { + "name": "openshell.v1.StopSandboxRequest", + "source": "" + } + ], + "method": "StopSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L181-L187", + "request": "openshell.v1.StopSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxResponse", + "source": "" + }, + { + "name": "openshell.v1.StartSandboxRequest", + "source": "" + } + ], + "method": "StartSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L190-L196", + "request": "openshell.v1.StartSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxResponse", + "source": "" + }, + { + "name": "openshell.v1.SuspendSandboxRequest", + "source": "" + } + ], + "method": "SuspendSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L201-L207", + "request": "openshell.v1.SuspendSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ResumeSandboxRequest", + "source": "" + }, + { + "name": "openshell.v1.SandboxResponse", + "source": "" + } + ], + "method": "ResumeSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L210-L216", + "request": "openshell.v1.ResumeSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateSshSessionRequest", + "source": "" + }, + { + "name": "openshell.v1.CreateSshSessionResponse", + "source": "" + } + ], + "method": "CreateSshSession", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L219-L225", + "request": "openshell.v1.CreateSshSessionRequest", + "response": "openshell.v1.CreateSshSessionResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ExposeServiceRequest", + "source": "" + }, + { + "name": "openshell.v1.ServiceEndpointResponse", + "source": "" + } + ], + "method": "ExposeService", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L228-L234", + "request": "openshell.v1.ExposeServiceRequest", + "response": "openshell.v1.ServiceEndpointResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetServiceRequest", + "source": "" + }, + { + "name": "openshell.v1.ServiceEndpointResponse", + "source": "" + } + ], + "method": "GetService", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L237-L243", + "request": "openshell.v1.GetServiceRequest", + "response": "openshell.v1.ServiceEndpointResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListServicesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListServicesResponse", + "source": "" + } + ], + "method": "ListServices", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L246-L252", + "request": "openshell.v1.ListServicesRequest", + "response": "openshell.v1.ListServicesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteServiceRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteServiceResponse", + "source": "" + } + ], + "method": "DeleteService", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L255-L261", + "request": "openshell.v1.DeleteServiceRequest", + "response": "openshell.v1.DeleteServiceResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RevokeSshSessionRequest", + "source": "" + }, + { + "name": "openshell.v1.RevokeSshSessionResponse", + "source": "" + } + ], + "method": "RevokeSshSession", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L264-L270", + "request": "openshell.v1.RevokeSshSessionRequest", + "response": "openshell.v1.RevokeSshSessionResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ExecSandboxEvent", + "source": "" + }, + { + "name": "openshell.v1.ExecSandboxRequest", + "source": "" + } + ], + "method": "ExecSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L273-L279", + "request": "openshell.v1.ExecSandboxRequest", + "response": "openshell.v1.ExecSandboxEvent", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": true, + "comment": "Forward one CLI-side TCP connection to a loopback TCP target in a sandbox.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.TcpForwardFrame", + "source": "message TcpForwardFrame {\n oneof payload {\n TcpForwardInit init = 1;\n bytes data = 2;\n }\n}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L282-L288", + "request": "openshell.v1.TcpForwardFrame", + "response": "openshell.v1.TcpForwardFrame", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": true, + "service": "OpenShell", + "signature": "rpc ForwardTcp(stream TcpForwardFrame) returns (stream TcpForwardFrame) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [ + { + "path": "sdk/typescript/src/client.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts" + }, + { + "path": "sdk/typescript/src/client.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts" + }, + { + "path": "sdk/typescript/src/routing.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts" + } + ], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": true, + "comment": "Execute an interactive command with bidirectional stdin/stdout streaming.\nThe first client message MUST carry an ExecSandboxInput with the start\nvariant. Subsequent messages carry stdin bytes or window resize events.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ExecSandboxEvent", + "source": "message ExecSandboxEvent {\n oneof payload {\n ExecSandboxStdout stdout = 1;\n ExecSandboxStderr stderr = 2;\n ExecSandboxExit exit = 3;\n }\n}" + }, + { + "name": "openshell.v1.ExecSandboxInput", + "source": "message ExecSandboxInput {\n oneof payload {\n // First message: exec request metadata.\n ExecSandboxRequest start = 1;\n // Subsequent messages: raw stdin bytes.\n bytes stdin = 2;\n // Terminal window size change.\n ExecSandboxWindowResize resize = 3;\n }\n}" + } + ], + "method": "ExecSandboxInteractive", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L293-L299", + "request": "openshell.v1.ExecSandboxInput", + "response": "openshell.v1.ExecSandboxEvent", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mutation_replay/streaming/tests.rs" + } + ], + "server_streaming": true, + "service": "OpenShell", + "signature": "rpc ExecSandboxInteractive(stream ExecSandboxInput) returns (stream ExecSandboxEvent) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [ + { + "path": "sdk/typescript/src/client.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.test.ts" + }, + { + "path": "sdk/typescript/src/client.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/client.ts" + }, + { + "path": "sdk/typescript/src/routing.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/routing.test.ts" + } + ], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.ProviderResponse", + "source": "" + } + ], + "method": "CreateProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L302-L308", + "request": "openshell.v1.CreateProviderRequest", + "response": "openshell.v1.ProviderResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.ProviderResponse", + "source": "" + } + ], + "method": "GetProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L311-L317", + "request": "openshell.v1.GetProviderRequest", + "response": "openshell.v1.ProviderResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "operator", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetProviderCredentialsRequest", + "source": "" + }, + { + "name": "openshell.v1.GetProviderCredentialsResponse", + "source": "" + } + ], + "method": "GetProviderCredentials", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L321-L324", + "request": "openshell.v1.GetProviderCredentialsRequest", + "response": "openshell.v1.GetProviderCredentialsResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListProvidersRequest", + "source": "" + }, + { + "name": "openshell.v1.ListProvidersResponse", + "source": "" + } + ], + "method": "ListProviders", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L327-L333", + "request": "openshell.v1.ListProvidersRequest", + "response": "openshell.v1.ListProvidersResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListProviderProfilesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListProviderProfilesResponse", + "source": "" + } + ], + "method": "ListProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L336-L343", + "request": "openshell.v1.ListProviderProfilesRequest", + "response": "openshell.v1.ListProviderProfilesResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetProviderProfileRequest", + "source": "" + }, + { + "name": "openshell.v1.ProviderProfileResponse", + "source": "" + } + ], + "method": "GetProviderProfile", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L346-L353", + "request": "openshell.v1.GetProviderProfileRequest", + "response": "openshell.v1.ProviderProfileResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ImportProviderProfilesRequest", + "source": "" + }, + { + "name": "openshell.v1.ImportProviderProfilesResponse", + "source": "" + } + ], + "method": "ImportProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L356-L363", + "request": "openshell.v1.ImportProviderProfilesRequest", + "response": "openshell.v1.ImportProviderProfilesResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.UpdateProviderProfilesRequest", + "source": "" + }, + { + "name": "openshell.v1.UpdateProviderProfilesResponse", + "source": "" + } + ], + "method": "UpdateProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L366-L373", + "request": "openshell.v1.UpdateProviderProfilesRequest", + "response": "openshell.v1.UpdateProviderProfilesResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.LintProviderProfilesRequest", + "source": "" + }, + { + "name": "openshell.v1.LintProviderProfilesResponse", + "source": "" + } + ], + "method": "LintProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L376-L383", + "request": "openshell.v1.LintProviderProfilesRequest", + "response": "openshell.v1.LintProviderProfilesResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ProviderResponse", + "source": "" + }, + { + "name": "openshell.v1.UpdateProviderRequest", + "source": "" + } + ], + "method": "UpdateProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L386-L392", + "request": "openshell.v1.UpdateProviderRequest", + "response": "openshell.v1.ProviderResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetProviderRefreshStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.GetProviderRefreshStatusResponse", + "source": "" + } + ], + "method": "GetProviderRefreshStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L395-L402", + "request": "openshell.v1.GetProviderRefreshStatusRequest", + "response": "openshell.v1.GetProviderRefreshStatusResponse", + "rust_sdk_refs": [], + "scope": "provider:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ConfigureProviderRefreshRequest", + "source": "" + }, + { + "name": "openshell.v1.ConfigureProviderRefreshResponse", + "source": "" + } + ], + "method": "ConfigureProviderRefresh", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L405-L412", + "request": "openshell.v1.ConfigureProviderRefreshRequest", + "response": "openshell.v1.ConfigureProviderRefreshResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RotateProviderCredentialRequest", + "source": "" + }, + { + "name": "openshell.v1.RotateProviderCredentialResponse", + "source": "" + } + ], + "method": "RotateProviderCredential", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L415-L422", + "request": "openshell.v1.RotateProviderCredentialRequest", + "response": "openshell.v1.RotateProviderCredentialResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteProviderRefreshRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteProviderRefreshResponse", + "source": "" + } + ], + "method": "DeleteProviderRefresh", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L425-L432", + "request": "openshell.v1.DeleteProviderRefreshRequest", + "response": "openshell.v1.DeleteProviderRefreshResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteProviderRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteProviderResponse", + "source": "" + } + ], + "method": "DeleteProvider", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L435-L441", + "request": "openshell.v1.DeleteProviderRequest", + "response": "openshell.v1.DeleteProviderResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteProviderProfileRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteProviderProfileResponse", + "source": "" + } + ], + "method": "DeleteProviderProfile", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L444-L451", + "request": "openshell.v1.DeleteProviderProfileRequest", + "response": "openshell.v1.DeleteProviderProfileResponse", + "rust_sdk_refs": [], + "scope": "provider:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "dual", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.v1.GetSandboxConfigRequest", + "source": "" + }, + { + "name": "openshell.sandbox.v1.GetSandboxConfigResponse", + "source": "" + } + ], + "method": "GetSandboxConfig", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L456-L463", + "request": "openshell.sandbox.v1.GetSandboxConfigRequest", + "response": "openshell.sandbox.v1.GetSandboxConfigResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.v1.GetGatewayConfigRequest", + "source": "" + }, + { + "name": "openshell.sandbox.v1.GetGatewayConfigResponse", + "source": "" + } + ], + "method": "GetGatewayConfig", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L472-L478", + "request": "openshell.sandbox.v1.GetGatewayConfigRequest", + "response": "openshell.sandbox.v1.GetGatewayConfigResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "dual", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.UpdateConfigRequest", + "source": "" + }, + { + "name": "openshell.v1.UpdateConfigResponse", + "source": "" + } + ], + "method": "UpdateConfig", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L481-L488", + "request": "openshell.v1.UpdateConfigRequest", + "response": "openshell.v1.UpdateConfigResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxPolicyStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.GetSandboxPolicyStatusResponse", + "source": "" + } + ], + "method": "GetSandboxPolicyStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L491-L498", + "request": "openshell.v1.GetSandboxPolicyStatusRequest", + "response": "openshell.v1.GetSandboxPolicyStatusResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListSandboxPoliciesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListSandboxPoliciesResponse", + "source": "" + } + ], + "method": "ListSandboxPolicies", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L501-L508", + "request": "openshell.v1.ListSandboxPoliciesRequest", + "response": "openshell.v1.ListSandboxPoliciesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportPolicyStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportPolicyStatusResponse", + "source": "" + } + ], + "method": "ReportPolicyStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L511-L516", + "request": "openshell.v1.ReportPolicyStatusRequest", + "response": "openshell.v1.ReportPolicyStatusResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportEndpointStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportEndpointStatusResponse", + "source": "" + } + ], + "method": "ReportEndpointStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L519-L524", + "request": "openshell.v1.ReportEndpointStatusRequest", + "response": "openshell.v1.ReportEndpointStatusResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportProviderReadinessRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportProviderReadinessResponse", + "source": "" + } + ], + "method": "ReportProviderReadiness", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L528-L533", + "request": "openshell.v1.ReportProviderReadinessRequest", + "response": "openshell.v1.ReportProviderReadinessResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportSandboxConfigurationRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportSandboxConfigurationResponse", + "source": "" + } + ], + "method": "ReportSandboxConfiguration", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L536-L539", + "request": "openshell.v1.ReportSandboxConfigurationRequest", + "response": "openshell.v1.ReportSandboxConfigurationResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxProviderEnvironmentRequest", + "source": "" + }, + { + "name": "openshell.v1.GetSandboxProviderEnvironmentResponse", + "source": "" + } + ], + "method": "GetSandboxProviderEnvironment", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L544-L549", + "request": "openshell.v1.GetSandboxProviderEnvironmentRequest", + "response": "openshell.v1.GetSandboxProviderEnvironmentResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ExchangeProviderSubjectTokenRequest", + "source": "" + }, + { + "name": "openshell.v1.ExchangeProviderSubjectTokenResponse", + "source": "" + } + ], + "method": "ExchangeProviderSubjectToken", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L553-L558", + "request": "openshell.v1.ExchangeProviderSubjectTokenRequest", + "response": "openshell.v1.ExchangeProviderSubjectTokenResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxLogsRequest", + "source": "" + }, + { + "name": "openshell.v1.GetSandboxLogsResponse", + "source": "" + } + ], + "method": "GetSandboxLogs", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L561-L567", + "request": "openshell.v1.GetSandboxLogsRequest", + "response": "openshell.v1.GetSandboxLogsResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": true, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.PushSandboxLogsRequest", + "source": "" + }, + { + "name": "openshell.v1.PushSandboxLogsResponse", + "source": "" + } + ], + "method": "PushSandboxLogs", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L570-L574", + "request": "openshell.v1.PushSandboxLogsRequest", + "response": "openshell.v1.PushSandboxLogsResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": true, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GatewayMessage", + "source": "" + }, + { + "name": "openshell.v1.SupervisorMessage", + "source": "" + } + ], + "method": "ConnectSupervisor", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L585-L589", + "request": "openshell.v1.SupervisorMessage", + "response": "openshell.v1.GatewayMessage", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportMainProcessExitRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportMainProcessExitResponse", + "source": "" + } + ], + "method": "ReportMainProcessExit", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L592-L596", + "request": "openshell.v1.ReportMainProcessExitRequest", + "response": "openshell.v1.ReportMainProcessExitResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.FinalizeMainProcessExitRequest", + "source": "" + }, + { + "name": "openshell.v1.FinalizeMainProcessExitResponse", + "source": "" + } + ], + "method": "FinalizeMainProcessExit", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L599-L604", + "request": "openshell.v1.FinalizeMainProcessExitRequest", + "response": "openshell.v1.FinalizeMainProcessExitResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": true, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RelayFrame", + "source": "" + } + ], + "method": "RelayStream", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L617-L621", + "request": "openshell.v1.RelayFrame", + "response": "openshell.v1.RelayFrame", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": true, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.PeerRelayFrame", + "source": "" + } + ], + "method": "PeerRelay", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L630-L634", + "request": "openshell.v1.PeerRelayFrame", + "response": "openshell.v1.PeerRelayFrame", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportProviderReadinessRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportProviderReadinessResponse", + "source": "" + } + ], + "method": "PeerReportProviderReadiness", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L637-L642", + "request": "openshell.v1.ReportProviderReadinessRequest", + "response": "openshell.v1.ReportProviderReadinessResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ReportEndpointStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.ReportEndpointStatusResponse", + "source": "" + } + ], + "method": "PeerReportEndpointStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L644-L649", + "request": "openshell.v1.ReportEndpointStatusRequest", + "response": "openshell.v1.ReportEndpointStatusResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxProviderStatusRequest", + "source": "" + }, + { + "name": "openshell.v1.GetSandboxProviderStatusResponse", + "source": "" + } + ], + "method": "PeerGetSandboxProviderStatus", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L651-L656", + "request": "openshell.v1.GetSandboxProviderStatusRequest", + "response": "openshell.v1.GetSandboxProviderStatusResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "peer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.PeerNotifyConfigUpdateRequest", + "source": "" + }, + { + "name": "openshell.v1.PeerNotifyConfigUpdateResponse", + "source": "" + } + ], + "method": "PeerNotifyConfigUpdate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L660-L665", + "request": "openshell.v1.PeerNotifyConfigUpdateRequest", + "response": "openshell.v1.PeerNotifyConfigUpdateResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxStreamEvent", + "source": "" + }, + { + "name": "openshell.v1.WatchSandboxRequest", + "source": "" + } + ], + "method": "WatchSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L673-L679", + "request": "openshell.v1.WatchSandboxRequest", + "response": "openshell.v1.SandboxStreamEvent", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [], + "server_streaming": true, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SubmitPolicyAnalysisRequest", + "source": "" + }, + { + "name": "openshell.v1.SubmitPolicyAnalysisResponse", + "source": "" + } + ], + "method": "SubmitPolicyAnalysis", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L686-L691", + "request": "openshell.v1.SubmitPolicyAnalysisRequest", + "response": "openshell.v1.SubmitPolicyAnalysisResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "dual", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetDraftPolicyRequest", + "source": "" + }, + { + "name": "openshell.v1.GetDraftPolicyResponse", + "source": "" + } + ], + "method": "GetDraftPolicy", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L694-L700", + "request": "openshell.v1.GetDraftPolicyRequest", + "response": "openshell.v1.GetDraftPolicyResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ApproveDraftChunkRequest", + "source": "" + }, + { + "name": "openshell.v1.ApproveDraftChunkResponse", + "source": "" + } + ], + "method": "ApproveDraftChunk", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L703-L710", + "request": "openshell.v1.ApproveDraftChunkRequest", + "response": "openshell.v1.ApproveDraftChunkResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RejectDraftChunkRequest", + "source": "" + }, + { + "name": "openshell.v1.RejectDraftChunkResponse", + "source": "" + } + ], + "method": "RejectDraftChunk", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L713-L720", + "request": "openshell.v1.RejectDraftChunkRequest", + "response": "openshell.v1.RejectDraftChunkResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ApproveAllDraftChunksRequest", + "source": "" + }, + { + "name": "openshell.v1.ApproveAllDraftChunksResponse", + "source": "" + } + ], + "method": "ApproveAllDraftChunks", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L723-L730", + "request": "openshell.v1.ApproveAllDraftChunksRequest", + "response": "openshell.v1.ApproveAllDraftChunksResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.EditDraftChunkRequest", + "source": "" + }, + { + "name": "openshell.v1.EditDraftChunkResponse", + "source": "" + } + ], + "method": "EditDraftChunk", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L733-L739", + "request": "openshell.v1.EditDraftChunkRequest", + "response": "openshell.v1.EditDraftChunkResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.UndoDraftChunkRequest", + "source": "" + }, + { + "name": "openshell.v1.UndoDraftChunkResponse", + "source": "" + } + ], + "method": "UndoDraftChunk", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L742-L748", + "request": "openshell.v1.UndoDraftChunkRequest", + "response": "openshell.v1.UndoDraftChunkResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ClearDraftChunksRequest", + "source": "" + }, + { + "name": "openshell.v1.ClearDraftChunksResponse", + "source": "" + } + ], + "method": "ClearDraftChunks", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L751-L758", + "request": "openshell.v1.ClearDraftChunksRequest", + "response": "openshell.v1.ClearDraftChunksResponse", + "rust_sdk_refs": [], + "scope": "config:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetDraftHistoryRequest", + "source": "" + }, + { + "name": "openshell.v1.GetDraftHistoryResponse", + "source": "" + } + ], + "method": "GetDraftHistory", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L761-L767", + "request": "openshell.v1.GetDraftHistoryRequest", + "response": "openshell.v1.GetDraftHistoryResponse", + "rust_sdk_refs": [], + "scope": "config:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.IssueSandboxTokenRequest", + "source": "" + }, + { + "name": "openshell.v1.IssueSandboxTokenResponse", + "source": "" + } + ], + "method": "IssueSandboxToken", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L774-L778", + "request": "openshell.v1.IssueSandboxTokenRequest", + "response": "openshell.v1.IssueSandboxTokenResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RefreshSandboxTokenRequest", + "source": "" + }, + { + "name": "openshell.v1.RefreshSandboxTokenResponse", + "source": "" + } + ], + "method": "RefreshSandboxToken", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L786-L791", + "request": "openshell.v1.RefreshSandboxTokenRequest", + "response": "openshell.v1.RefreshSandboxTokenResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": "platform_admin", + "messages": [ + { + "name": "openshell.v1.CreateWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.v1.CreateWorkspaceResponse", + "source": "" + } + ], + "method": "CreateWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L798-L804", + "request": "openshell.v1.CreateWorkspaceRequest", + "response": "openshell.v1.CreateWorkspaceResponse", + "rust_sdk_refs": [], + "scope": "workspace:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.v1.GetWorkspaceResponse", + "source": "" + } + ], + "method": "GetWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L807-L813", + "request": "openshell.v1.GetWorkspaceRequest", + "response": "openshell.v1.GetWorkspaceResponse", + "rust_sdk_refs": [], + "scope": "workspace:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListWorkspacesRequest", + "source": "" + }, + { + "name": "openshell.v1.ListWorkspacesResponse", + "source": "" + } + ], + "method": "ListWorkspaces", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L816-L822", + "request": "openshell.v1.ListWorkspacesRequest", + "response": "openshell.v1.ListWorkspacesResponse", + "rust_sdk_refs": [], + "scope": "workspace:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": "platform_admin", + "messages": [ + { + "name": "openshell.v1.DeleteWorkspaceRequest", + "source": "" + }, + { + "name": "openshell.v1.DeleteWorkspaceResponse", + "source": "" + } + ], + "method": "DeleteWorkspace", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L825-L831", + "request": "openshell.v1.DeleteWorkspaceRequest", + "response": "openshell.v1.DeleteWorkspaceResponse", + "rust_sdk_refs": [], + "scope": "workspace:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.AddWorkspaceMemberRequest", + "source": "" + }, + { + "name": "openshell.v1.AddWorkspaceMemberResponse", + "source": "" + } + ], + "method": "AddWorkspaceMember", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L834-L840", + "request": "openshell.v1.AddWorkspaceMemberRequest", + "response": "openshell.v1.AddWorkspaceMemberResponse", + "rust_sdk_refs": [], + "scope": "workspace:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.RemoveWorkspaceMemberRequest", + "source": "" + }, + { + "name": "openshell.v1.RemoveWorkspaceMemberResponse", + "source": "" + } + ], + "method": "RemoveWorkspaceMember", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L843-L849", + "request": "openshell.v1.RemoveWorkspaceMemberRequest", + "response": "openshell.v1.RemoveWorkspaceMemberResponse", + "rust_sdk_refs": [], + "scope": "workspace:write", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "admin" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ListWorkspaceMembersRequest", + "source": "" + }, + { + "name": "openshell.v1.ListWorkspaceMembersResponse", + "source": "" + } + ], + "method": "ListWorkspaceMembers", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L852-L858", + "request": "openshell.v1.ListWorkspaceMembersRequest", + "response": "openshell.v1.ListWorkspaceMembersResponse", + "rust_sdk_refs": [], + "scope": "workspace:read", + "server_refs": [], + "server_streaming": false, + "service": "OpenShell", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Read installed, unexpired application routes in one explicit workspace.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetServiceRouteSnapshotRequest", + "source": "message GetServiceRouteSnapshotRequest {\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n}" + }, + { + "name": "openshell.v1.GetServiceRouteSnapshotResponse", + "source": "message GetServiceRouteSnapshotResponse {\n ServiceRouteSnapshot snapshot = 1;\n}" + } + ], + "method": "GetServiceRouteSnapshot", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L864-L870", + "request": "openshell.v1.GetServiceRouteSnapshotRequest", + "response": "openshell.v1.GetServiceRouteSnapshotResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/grpc/service_discovery.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs" + } + ], + "server_streaming": false, + "service": "ServiceDiscovery", + "signature": "rpc GetServiceRouteSnapshot(GetServiceRouteSnapshotRequest) returns (GetServiceRouteSnapshotResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Full replacement views; reauthorize during the bounded watch lifetime.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.WatchServiceRoutesRequest", + "source": "message WatchServiceRoutesRequest {\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n}" + }, + { + "name": "openshell.v1.WatchServiceRoutesResponse", + "source": "message WatchServiceRoutesResponse {\n ServiceRouteSnapshot snapshot = 1;\n}" + } + ], + "method": "WatchServiceRoutes", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L873-L879", + "request": "openshell.v1.WatchServiceRoutesRequest", + "response": "openshell.v1.WatchServiceRoutesResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/grpc/service_discovery.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/service_discovery.rs" + } + ], + "server_streaming": true, + "service": "ServiceDiscovery", + "signature": "rpc WatchServiceRoutes(WatchServiceRoutesRequest) returns (stream WatchServiceRoutesResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:read\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Update the workload image, command, environment, labels, or annotations of a\nstopped sandbox while preserving its identity and retained storage. Requires\ncompute-driver support for the selected changes and explicit gateway activation\nof sandbox updates.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.SandboxResponse", + "source": "message SandboxResponse {\n Sandbox sandbox = 1;\n // Service URLs created by CreateSandbox, keyed by service name. The empty\n // key identifies the unnamed service. Other sandbox RPCs return an empty map.\n map service_urls = 2;\n}" + }, + { + "name": "openshell.v1.UpdateSandboxRequest", + "source": "message UpdateSandboxRequest {\n // Workspace scope. Only a named workspace selection is accepted.\n openshell.datamodel.v1.WorkspaceSelector workspace_scope = 1;\n // Canonical name of the existing sandbox; this is not a rename or upsert.\n string name = 2;\n // Nonempty OCI workload image reference. This does not change trusted runtime\n // images or reseed an existing workspace.\n optional string image = 3;\n // Replace workload argv; an empty list restores image-resolved default shell behavior.\n SandboxCommandUpdate command = 6;\n // Replace sandbox-level overrides. Empty clears overrides; template defaults remain.\n SandboxMapUpdate environment = 7;\n // Replace user metadata, preserving gateway-owned keys. These do not set pod metadata.\n SandboxMapUpdate labels = 8;\n SandboxMapUpdate annotations = 9;\n // Required nonzero resource version read by the caller.\n uint64 expected_resource_version = 4;\n // Optional nonzero UUID for durable at-most-once admission.\n string request_id = 5;\n}" + } + ], + "method": "UpdateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/openshell.proto#L890-L896", + "request": "openshell.v1.UpdateSandboxRequest", + "response": "openshell.v1.SandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:write", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/mod.rs" + }, + { + "path": "crates/openshell-server/src/grpc/sandbox/image_update_tests.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/crates/openshell-server/src/grpc/sandbox/image_update_tests.rs" + } + ], + "server_streaming": false, + "service": "SandboxUpdates", + "signature": "rpc UpdateSandbox(UpdateSandboxRequest) returns (SandboxResponse) {\n option (openshell.options.v1.authorization) = {\n auth_mode: \"bearer\"\n scope: \"sandbox:write\"\n workspace_role: \"user\"\n };\n}", + "ts_sdk_refs": [ + { + "path": "sdk/typescript/src/raw.test.ts", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/sdk/typescript/src/raw.test.ts" + } + ], + "workspace_role": "user" + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "gateway_interceptor.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.gateway_interceptor.v1.DescribeRequest", + "source": "" + }, + { + "name": "openshell.gateway_interceptor.v1.InterceptorManifest", + "source": "" + } + ], + "method": "Describe", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/gateway_interceptor.proto#L17-L17", + "request": "openshell.gateway_interceptor.v1.DescribeRequest", + "response": "openshell.gateway_interceptor.v1.InterceptorManifest", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "GatewayInterceptor", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "gateway_interceptor.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.gateway_interceptor.v1.ProviderProfileSnapshot", + "source": "" + }, + { + "name": "openshell.gateway_interceptor.v1.ProviderProfileSnapshotRequest", + "source": "" + } + ], + "method": "SnapshotProviderProfiles", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/gateway_interceptor.proto#L21-L22", + "request": "openshell.gateway_interceptor.v1.ProviderProfileSnapshotRequest", + "response": "openshell.gateway_interceptor.v1.ProviderProfileSnapshot", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "GatewayInterceptor", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "gateway_interceptor.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.gateway_interceptor.v1.InterceptorEvaluation", + "source": "" + }, + { + "name": "openshell.gateway_interceptor.v1.InterceptorResult", + "source": "" + } + ], + "method": "Evaluate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/gateway_interceptor.proto#L26-L26", + "request": "openshell.gateway_interceptor.v1.InterceptorEvaluation", + "response": "openshell.gateway_interceptor.v1.InterceptorResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "GatewayInterceptor", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "isolation_backend.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.backend.v1.DescribeIsolationBackendRequest", + "source": "" + }, + { + "name": "openshell.sandbox.backend.v1.DescribeIsolationBackendResponse", + "source": "" + } + ], + "method": "Describe", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/isolation_backend.proto#L38-L38", + "request": "openshell.sandbox.backend.v1.DescribeIsolationBackendRequest", + "response": "openshell.sandbox.backend.v1.DescribeIsolationBackendResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "IsolationBackend", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "isolation_backend.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.backend.v1.OpenBoundaryRequest", + "source": "" + }, + { + "name": "openshell.sandbox.backend.v1.OpenBoundaryResponse", + "source": "" + } + ], + "method": "OpenBoundary", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/isolation_backend.proto#L54-L54", + "request": "openshell.sandbox.backend.v1.OpenBoundaryRequest", + "response": "openshell.sandbox.backend.v1.OpenBoundaryResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "IsolationBackend", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "isolation_backend.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.backend.v1.SuspendBoundaryRequest", + "source": "" + }, + { + "name": "openshell.sandbox.backend.v1.SuspendBoundaryResponse", + "source": "" + } + ], + "method": "SuspendBoundary", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/isolation_backend.proto#L61-L61", + "request": "openshell.sandbox.backend.v1.SuspendBoundaryRequest", + "response": "openshell.sandbox.backend.v1.SuspendBoundaryResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "IsolationBackend", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "isolation_backend.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.backend.v1.OpenBoundaryResponse", + "source": "" + }, + { + "name": "openshell.sandbox.backend.v1.ResumeBoundaryRequest", + "source": "" + } + ], + "method": "ResumeBoundary", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/isolation_backend.proto#L71-L71", + "request": "openshell.sandbox.backend.v1.ResumeBoundaryRequest", + "response": "openshell.sandbox.backend.v1.OpenBoundaryResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "IsolationBackend", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "sandbox_protocol.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.protocol.v1.ExchangeFrame", + "source": "" + } + ], + "method": "Exchange", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/sandbox_protocol.proto#L25-L25", + "request": "openshell.sandbox.protocol.v1.ExchangeFrame", + "response": "openshell.sandbox.protocol.v1.ExchangeFrame", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "SandboxProtocol", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "sandbox_protocol.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.sandbox.protocol.v1.MediateFrame", + "source": "" + } + ], + "method": "Mediate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/sandbox_protocol.proto#L26-L26", + "request": "openshell.sandbox.protocol.v1.MediateFrame", + "response": "openshell.sandbox.protocol.v1.MediateFrame", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "SandboxProtocol", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": "supervisor", + "client_streaming": true, + "comment": "", + "file": "supervisor_host.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.supervisor.host.v1.HostGatewayMessage", + "source": "" + }, + { + "name": "openshell.supervisor.host.v1.HostMessage", + "source": "" + } + ], + "method": "Attach", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_host.proto#L30-L34", + "request": "openshell.supervisor.host.v1.HostMessage", + "response": "openshell.supervisor.host.v1.HostGatewayMessage", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "SupervisorHost", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.MiddlewareDescribeRequest", + "source": "" + }, + { + "name": "openshell.middleware.v1.MiddlewareManifest", + "source": "" + } + ], + "method": "Describe", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L32-L32", + "request": "openshell.middleware.v1.MiddlewareDescribeRequest", + "response": "openshell.middleware.v1.MiddlewareManifest", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "SupervisorMiddleware", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.ValidateConfigRequest", + "source": "" + }, + { + "name": "openshell.middleware.v1.ValidateConfigResponse", + "source": "" + } + ], + "method": "ValidateConfig", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L35-L35", + "request": "openshell.middleware.v1.ValidateConfigRequest", + "response": "openshell.middleware.v1.ValidateConfigResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "SupervisorMiddleware", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.HttpRequestEvaluation", + "source": "" + }, + { + "name": "openshell.middleware.v1.HttpRequestResult", + "source": "" + } + ], + "method": "EvaluateHttpRequest", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L42-L44", + "request": "openshell.middleware.v1.HttpRequestEvaluation", + "response": "openshell.middleware.v1.HttpRequestResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": false, + "service": "SupervisorMiddleware", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.WebSocketSessionEvent", + "source": "" + }, + { + "name": "openshell.middleware.v1.WebSocketSessionEventResult", + "source": "" + } + ], + "method": "EvaluateWebSocketSession", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L53-L54", + "request": "openshell.middleware.v1.WebSocketSessionEvent", + "response": "openshell.middleware.v1.WebSocketSessionEventResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "SupervisorMiddleware", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.HttpRequestHookEvent", + "source": "" + }, + { + "name": "openshell.middleware.v1.HttpRequestHookResult", + "source": "" + } + ], + "method": "EvaluateHttpRequestHook", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L67-L68", + "request": "openshell.middleware.v1.HttpRequestHookEvent", + "response": "openshell.middleware.v1.HttpRequestHookResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "HttpHooks", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.HttpResponseHookEvent", + "source": "" + }, + { + "name": "openshell.middleware.v1.HttpResponseHookResult", + "source": "" + } + ], + "method": "EvaluateHttpResponseHook", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L74-L75", + "request": "openshell.middleware.v1.HttpResponseHookEvent", + "response": "openshell.middleware.v1.HttpResponseHookResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "HttpHooks", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": true, + "comment": "", + "file": "supervisor_middleware.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.middleware.v1.HttpResponseEvent", + "source": "" + }, + { + "name": "openshell.middleware.v1.HttpResponseEventResult", + "source": "" + } + ], + "method": "Evaluate", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.1.9/proto/supervisor_middleware.proto#L97-L100", + "request": "openshell.middleware.v1.HttpResponseEvent", + "response": "openshell.middleware.v1.HttpResponseEventResult", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [], + "server_streaming": true, + "service": "HttpResponsePreReturn", + "signature": "(trimmed)", + "ts_sdk_refs": [], + "workspace_role": null + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.1.9" +} diff --git a/hack/automation/testdata/rpc-issues/planner/idempotent/input.json.license b/hack/automation/testdata/rpc-issues/planner/idempotent/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/idempotent/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/label-removed/expected.json b/hack/automation/testdata/rpc-issues/planner/label-removed/expected.json new file mode 100644 index 0000000..be24083 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/label-removed/expected.json @@ -0,0 +1,12 @@ +[ + { + "action": "update", + "add_labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/label-removed/expected.json.license b/hack/automation/testdata/rpc-issues/planner/label-removed/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/label-removed/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/label-removed/input.json b/hack/automation/testdata/rpc-issues/planner/label-removed/input.json new file mode 100644 index 0000000..b2d4ab1 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/label-removed/input.json @@ -0,0 +1,105 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/label-removed/input.json.license b/hack/automation/testdata/rpc-issues/planner/label-removed/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/label-removed/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/expected.json b/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/expected.json new file mode 100644 index 0000000..3db62b9 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/expected.json @@ -0,0 +1,19 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `Disc.A`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `Disc.A`\n\nA does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc A(ARequest) returns (AResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ARequest {\n string name = 1;\n}\n```\n\n```proto\nmessage AResponse {}\n```\n\n## Where core implements it\n\n### `Disc.A`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the Disc.A RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- Disc.A: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:Disc.A", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap Disc.A (core v0.2.0)" + }, + { + "action": "update", + "body": "\n\nCore `v0.2.0` has `Disc.B`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `Disc.B`\n\nB does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc B(BRequest) returns (BResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage BRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage BResponse {}\n```\n\n## Where core implements it\n\n### `Disc.B`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the Disc.B RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- Disc.B: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:Disc.B", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/expected.json.license b/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/input.json b/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/input.json new file mode 100644 index 0000000..5f11d39 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/input.json @@ -0,0 +1,145 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "Disc.A", + "Disc.B" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "A does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ARequest", + "source": "message ARequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.AResponse", + "source": "message AResponse {}" + } + ], + "method": "A", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ARequest", + "response": "openshell.v1.AResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc A(ARequest) returns (AResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "B does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.BRequest", + "source": "message BRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.BResponse", + "source": "message BResponse {}" + } + ], + "method": "B", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.BRequest", + "response": "openshell.v1.BResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc B(BRequest) returns (BResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell", + "Disc" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/input.json.license b/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/last-wrapper-dropped/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/max-new-raised/expected.json b/hack/automation/testdata/rpc-issues/planner/max-new-raised/expected.json new file mode 100644 index 0000000..a49176f --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/max-new-raised/expected.json @@ -0,0 +1,123 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method01`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method01`\n\nMethod01 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method01(Method01Request) returns (Method01Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method01Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method01Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method01`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method01 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method01: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method01", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method01 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method02`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method02`\n\nMethod02 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method02(Method02Request) returns (Method02Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method02Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method02Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method02`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method02 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method02: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method02", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method02 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method03`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method03`\n\nMethod03 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method03(Method03Request) returns (Method03Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method03Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method03Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method03`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method03 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method03: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method03", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method03 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method04`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method04`\n\nMethod04 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method04(Method04Request) returns (Method04Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method04Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method04Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method04`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method04 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method04: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method04", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method04 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method05`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method05`\n\nMethod05 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method05(Method05Request) returns (Method05Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method05Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method05Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method05`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method05 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method05: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method05", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method05 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method06`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method06`\n\nMethod06 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method06(Method06Request) returns (Method06Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method06Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method06Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method06`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method06 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method06: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method06", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method06 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method07`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method07`\n\nMethod07 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method07(Method07Request) returns (Method07Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method07Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method07Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method07`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method07 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method07: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method07", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method07 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method08`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method08`\n\nMethod08 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method08(Method08Request) returns (Method08Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method08Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method08Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method08`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method08 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method08: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method08", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method08 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method09`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method09`\n\nMethod09 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method09(Method09Request) returns (Method09Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method09Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method09Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method09`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method09 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method09: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method09", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method09 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method10`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method10`\n\nMethod10 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method10(Method10Request) returns (Method10Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method10Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method10Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method10`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method10 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method10: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method10", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method10 (core v0.2.0)" + }, + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Method11`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.Method11`\n\nMethod11 does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Method11(Method11Request) returns (Method11Response) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage Method11Request {\n string name = 1;\n}\n```\n\n```proto\nmessage Method11Response {}\n```\n\n## Where core implements it\n\n### `OpenShell.Method11`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Method11 RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Method11: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Method11", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.Method11 (core v0.2.0)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/max-new-raised/expected.json.license b/hack/automation/testdata/rpc-issues/planner/max-new-raised/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/max-new-raised/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/max-new-raised/input.json b/hack/automation/testdata/rpc-issues/planner/max-new-raised/input.json new file mode 100644 index 0000000..08365f7 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/max-new-raised/input.json @@ -0,0 +1,434 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 11, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method01 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method01Request", + "source": "message Method01Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method01Response", + "source": "message Method01Response {}" + } + ], + "method": "Method01", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method01Request", + "response": "openshell.v1.Method01Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method01(Method01Request) returns (Method01Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method02 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method02Request", + "source": "message Method02Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method02Response", + "source": "message Method02Response {}" + } + ], + "method": "Method02", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method02Request", + "response": "openshell.v1.Method02Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method02(Method02Request) returns (Method02Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method03 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method03Request", + "source": "message Method03Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method03Response", + "source": "message Method03Response {}" + } + ], + "method": "Method03", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method03Request", + "response": "openshell.v1.Method03Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method03(Method03Request) returns (Method03Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method04 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method04Request", + "source": "message Method04Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method04Response", + "source": "message Method04Response {}" + } + ], + "method": "Method04", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method04Request", + "response": "openshell.v1.Method04Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method04(Method04Request) returns (Method04Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method05 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method05Request", + "source": "message Method05Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method05Response", + "source": "message Method05Response {}" + } + ], + "method": "Method05", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method05Request", + "response": "openshell.v1.Method05Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method05(Method05Request) returns (Method05Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method06 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method06Request", + "source": "message Method06Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method06Response", + "source": "message Method06Response {}" + } + ], + "method": "Method06", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method06Request", + "response": "openshell.v1.Method06Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method06(Method06Request) returns (Method06Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method07 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method07Request", + "source": "message Method07Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method07Response", + "source": "message Method07Response {}" + } + ], + "method": "Method07", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method07Request", + "response": "openshell.v1.Method07Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method07(Method07Request) returns (Method07Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method08 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method08Request", + "source": "message Method08Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method08Response", + "source": "message Method08Response {}" + } + ], + "method": "Method08", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method08Request", + "response": "openshell.v1.Method08Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method08(Method08Request) returns (Method08Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method09 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method09Request", + "source": "message Method09Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method09Response", + "source": "message Method09Response {}" + } + ], + "method": "Method09", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method09Request", + "response": "openshell.v1.Method09Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method09(Method09Request) returns (Method09Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method10 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method10Request", + "source": "message Method10Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method10Response", + "source": "message Method10Response {}" + } + ], + "method": "Method10", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method10Request", + "response": "openshell.v1.Method10Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method10(Method10Request) returns (Method10Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method11 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method11Request", + "source": "message Method11Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method11Response", + "source": "message Method11Response {}" + } + ], + "method": "Method11", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method11Request", + "response": "openshell.v1.Method11Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method11(Method11Request) returns (Method11Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/max-new-raised/input.json.license b/hack/automation/testdata/rpc-issues/planner/max-new-raised/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/max-new-raised/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/message-changed/expected.json b/hack/automation/testdata/rpc-issues/planner/message-changed/expected.json new file mode 100644 index 0000000..6938319 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/message-changed/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "update", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string sandbox = 1;\n uint32 port = 2;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/message-changed/expected.json.license b/hack/automation/testdata/rpc-issues/planner/message-changed/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/message-changed/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/message-changed/input.json b/hack/automation/testdata/rpc-issues/planner/message-changed/input.json new file mode 100644 index 0000000..d1cf76c --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/message-changed/input.json @@ -0,0 +1,108 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "number": 20, + "state": "OPEN", + "title": "t", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "last_actor_is_bot": null, + "last_event": null + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string sandbox = 1;\n uint32 port = 2;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/message-changed/input.json.license b/hack/automation/testdata/rpc-issues/planner/message-changed/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/message-changed/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/method-joins-service/expected.json b/hack/automation/testdata/rpc-issues/planner/method-joins-service/expected.json new file mode 100644 index 0000000..a9f96ae --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/method-joins-service/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "update", + "body": "\n\nCore `v0.2.0` has 3 user-facing methods in the `Disc` service that the Go SDK does not wrap yet: `A`, `B`, and `C`. The SDK wraps none of the service's user-facing methods, so this issue tracks the service as a whole. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `Disc.A`\n\nA does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc A(ARequest) returns (AResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ARequest {\n string name = 1;\n}\n```\n\n```proto\nmessage AResponse {}\n```\n\n## `Disc.B`\n\nB does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc B(BRequest) returns (BResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage BRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage BResponse {}\n```\n\n## `Disc.C`\n\nC does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc C(CRequest) returns (CResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage CRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage CResponse {}\n```\n\n## Where core implements it\n\n### `Disc.A`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n### `Disc.B`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n### `Disc.C`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the Disc service of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go): methods A, B, C.\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- Disc.A: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- Disc.B: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- Disc.C: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- A sub-client in openshell/v1 for the Disc service, behind an interface like the other sub-clients, that constructs pb.NewDiscClient(conn) and is reachable from Client.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "service:Disc", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/method-joins-service/expected.json.license b/hack/automation/testdata/rpc-issues/planner/method-joins-service/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/method-joins-service/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/method-joins-service/input.json b/hack/automation/testdata/rpc-issues/planner/method-joins-service/input.json new file mode 100644 index 0000000..928a046 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/method-joins-service/input.json @@ -0,0 +1,179 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "Disc.A", + "Disc.B", + "Disc.C" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "A does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ARequest", + "source": "message ARequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.AResponse", + "source": "message AResponse {}" + } + ], + "method": "A", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ARequest", + "response": "openshell.v1.AResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc A(ARequest) returns (AResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "B does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.BRequest", + "source": "message BRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.BResponse", + "source": "message BResponse {}" + } + ], + "method": "B", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.BRequest", + "response": "openshell.v1.BResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc B(BRequest) returns (BResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "C does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CRequest", + "source": "message CRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.CResponse", + "source": "message CResponse {}" + } + ], + "method": "C", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.CRequest", + "response": "openshell.v1.CResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc C(CRequest) returns (CResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/method-joins-service/input.json.license b/hack/automation/testdata/rpc-issues/planner/method-joins-service/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/method-joins-service/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/mixed-close/expected.json b/hack/automation/testdata/rpc-issues/planner/mixed-close/expected.json new file mode 100644 index 0000000..aba938d --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/mixed-close/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "close", + "comment": "Nothing left to track at core `v0.2.0`:\n\n- `Disc.A`: covered, the SDK calls it under `openshell/v1`.\n- `Disc.B`: removed, core `v0.2.0` no longer has it.\n\nIf this is wrong, reopen the issue; the automation then keeps it open while the SDK covers its methods.", + "group": "service:Disc", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/mixed-close/expected.json.license b/hack/automation/testdata/rpc-issues/planner/mixed-close/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/mixed-close/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/mixed-close/input.json b/hack/automation/testdata/rpc-issues/planner/mixed-close/input.json new file mode 100644 index 0000000..b57dcad --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/mixed-close/input.json @@ -0,0 +1,111 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "Disc.A" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox", + "Disc.A" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "A does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ARequest", + "source": "message ARequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.AResponse", + "source": "message AResponse {}" + } + ], + "method": "A", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ARequest", + "response": "openshell.v1.AResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc A(ARequest) returns (AResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell", + "Disc" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/mixed-close/input.json.license b/hack/automation/testdata/rpc-issues/planner/mixed-close/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/mixed-close/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/needs-bindings/expected.json b/hack/automation/testdata/rpc-issues/planner/needs-bindings/expected.json new file mode 100644 index 0000000..1d3f2f1 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/needs-bindings/expected.json @@ -0,0 +1,13 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has a user-facing method in the `Discovery` service that the Go SDK does not wrap yet: `Watch`. The SDK wraps none of the service's user-facing methods, so this issue tracks the service as a whole. First seen in core `v0.2.0`.\n\n**Blocked on bindings generation**: the SDK does not generate bindings for `proto/discovery.proto` yet. Add the `M` option for the file to both plugins in `buf.gen.yaml` and run `mise run proto:gen` first. If the core tag pinned on `main` does not contain every method listed here yet, do this on the bump branch `core/v0.2.0`, which core-watch opens as the bump proposal for core `v0.2.0`; it does not exist yet.\n\n## `Discovery.Watch`\n\nWatch streams routes. Text from core such as {{BRIEF}} stays as is.\n\n- Streaming: bidirectional streaming\n- Authorization: `dual`, scope `discovery:read`, global role `admin`\n- Definition: [`proto/discovery.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/discovery.proto#L5-L7) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc Watch(stream WatchRequest) returns (stream google.protobuf.Empty) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage WatchRequest {}\n```\n\n`google.protobuf.Empty` (definition not in core's `proto/`, for example a well-known type)\n\n## Where core implements it\n\n### `Discovery.Watch`\n\n- Server (`crates/openshell-server/src`): not found\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the Discovery service of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go): method Watch.\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main if the core tag pinned there (buf.gen.yaml, inputs[0].tag) already declares Watch in proto/discovery.proto, otherwise from core/v0.2.0, the core bump proposal for v0.2.0 (core-watch has not opened it yet). First add the M option for the file to both plugins in buf.gen.yaml and run `mise run proto:gen`.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- Discovery.Watch: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/discovery.proto#L5-L7; core server: not found\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- A sub-client in openshell/v1 for the Discovery service, behind an interface like the other sub-clients, that constructs pb.NewDiscoveryClient(conn) and is reachable from Client.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "service:Discovery", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap the Discovery service (core v0.2.0)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/needs-bindings/expected.json.license b/hack/automation/testdata/rpc-issues/planner/needs-bindings/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/needs-bindings/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/needs-bindings/input.json b/hack/automation/testdata/rpc-issues/planner/needs-bindings/input.json new file mode 100644 index 0000000..6eef443 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/needs-bindings/input.json @@ -0,0 +1,124 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": false, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "file": "discovery.proto", + "service": "Discovery", + "method": "Watch", + "auth_mode": "dual", + "scope": "discovery:read", + "workspace_role": null, + "global_role": "admin", + "client_streaming": true, + "server_streaming": true, + "request": "openshell.discovery.v1.WatchRequest", + "response": "google.protobuf.Empty", + "comment": "Watch streams routes. Text from core such as {{BRIEF}} stays as is.", + "signature": "rpc Watch(stream WatchRequest) returns (stream google.protobuf.Empty) {}", + "messages": [ + { + "name": "openshell.discovery.v1.WatchRequest", + "source": "message WatchRequest {}" + }, + { + "name": "google.protobuf.Empty", + "source": "" + } + ], + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/discovery.proto#L5-L7", + "server_refs": [], + "rust_sdk_refs": [], + "ts_sdk_refs": [] + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/needs-bindings/input.json.license b/hack/automation/testdata/rpc-issues/planner/needs-bindings/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/needs-bindings/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/no-marker/expected.json b/hack/automation/testdata/rpc-issues/planner/no-marker/expected.json new file mode 100644 index 0000000..2ed1a1a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/no-marker/expected.json @@ -0,0 +1,13 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "title": "feat(sdk): wrap OpenShell.ForwardTcp (core v0.2.0)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/no-marker/expected.json.license b/hack/automation/testdata/rpc-issues/planner/no-marker/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/no-marker/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/no-marker/input.json b/hack/automation/testdata/rpc-issues/planner/no-marker/input.json new file mode 100644 index 0000000..42d328f --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/no-marker/input.json @@ -0,0 +1,117 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "Please wrap ForwardTcp.\n\n", + "labels": [ + "rpc-coverage" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 7, + "state": "OPEN", + "title": "t" + }, + { + "body": "", + "labels": [ + "rpc-coverage" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 8, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/no-marker/input.json.license b/hack/automation/testdata/rpc-issues/planner/no-marker/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/no-marker/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/not-user-facing/expected.json b/hack/automation/testdata/rpc-issues/planner/not-user-facing/expected.json new file mode 100644 index 0000000..e618db2 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/not-user-facing/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "close", + "comment": "Nothing left to track at core `v0.2.0`:\n\n- `OpenShell.ForwardTcp`: not-user-facing, its auth mode at core `v0.2.0` is `sandbox`, so it is not part of the client API.\n\nIf this is wrong, reopen the issue; the automation then keeps it open while the SDK covers its methods.", + "group": "method:OpenShell.ForwardTcp", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/not-user-facing/expected.json.license b/hack/automation/testdata/rpc-issues/planner/not-user-facing/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/not-user-facing/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/not-user-facing/input.json b/hack/automation/testdata/rpc-issues/planner/not-user-facing/input.json new file mode 100644 index 0000000..1d9ca4a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/not-user-facing/input.json @@ -0,0 +1,109 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "sandbox", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/not-user-facing/input.json.license b/hack/automation/testdata/rpc-issues/planner/not-user-facing/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/not-user-facing/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/partially-covered-service/expected.json b/hack/automation/testdata/rpc-issues/planner/partially-covered-service/expected.json new file mode 100644 index 0000000..85d662a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/partially-covered-service/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "update", + "body": "\n\nCore `v0.2.0` has a user-facing method in the `Disc` service that the Go SDK does not wrap yet: `B`. The SDK already uses the service; this issue tracks the methods it does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `Disc.B`\n\nB does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc B(BRequest) returns (BResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage BRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage BResponse {}\n```\n\n## Where core implements it\n\n### `Disc.B`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the Disc service of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go): method B.\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- Disc.B: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The methods in openshell/v1, on the sub-client that already uses pb.NewDiscClient(conn), behind its interface.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "service:Disc", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/partially-covered-service/expected.json.license b/hack/automation/testdata/rpc-issues/planner/partially-covered-service/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/partially-covered-service/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/partially-covered-service/input.json b/hack/automation/testdata/rpc-issues/planner/partially-covered-service/input.json new file mode 100644 index 0000000..ebf42b8 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/partially-covered-service/input.json @@ -0,0 +1,146 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "Disc.A", + "Disc.B" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox", + "Disc.A" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "A does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ARequest", + "source": "message ARequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.AResponse", + "source": "message AResponse {}" + } + ], + "method": "A", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ARequest", + "response": "openshell.v1.AResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc A(ARequest) returns (AResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "B does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.BRequest", + "source": "message BRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.BResponse", + "source": "message BResponse {}" + } + ], + "method": "B", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.BRequest", + "response": "openshell.v1.BResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "Disc", + "signature": "rpc B(BRequest) returns (BResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell", + "Disc" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/partially-covered-service/input.json.license b/hack/automation/testdata/rpc-issues/planner/partially-covered-service/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/partially-covered-service/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/plugin-file/expected.json b/hack/automation/testdata/rpc-issues/planner/plugin-file/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/plugin-file/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/plugin-file/expected.json.license b/hack/automation/testdata/rpc-issues/planner/plugin-file/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/plugin-file/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/plugin-file/input.json b/hack/automation/testdata/rpc-issues/planner/plugin-file/input.json new file mode 100644 index 0000000..7da2f23 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/plugin-file/input.json @@ -0,0 +1,128 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "CreateSandbox does something useful.", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.CreateSandboxRequest", + "source": "message CreateSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.CreateSandboxResponse", + "source": "message CreateSandboxResponse {}" + } + ], + "method": "CreateSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/compute_driver.proto#L10-L12", + "request": "openshell.v1.CreateSandboxRequest", + "response": "openshell.v1.CreateSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "rpc CreateSandbox(CreateSandboxRequest) returns (CreateSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": null + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "DeleteSandbox does something useful.", + "file": "compute_driver.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.DeleteSandboxRequest", + "source": "message DeleteSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.DeleteSandboxResponse", + "source": "message DeleteSandboxResponse {}" + } + ], + "method": "DeleteSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/compute_driver.proto#L10-L12", + "request": "openshell.v1.DeleteSandboxRequest", + "response": "openshell.v1.DeleteSandboxResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "ComputeDriver", + "signature": "rpc DeleteSandbox(DeleteSandboxRequest) returns (DeleteSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": null + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/plugin-file/input.json.license b/hack/automation/testdata/rpc-issues/planner/plugin-file/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/plugin-file/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/removed/expected.json b/hack/automation/testdata/rpc-issues/planner/removed/expected.json new file mode 100644 index 0000000..5e0f455 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/removed/expected.json @@ -0,0 +1,8 @@ +[ + { + "action": "close", + "comment": "Nothing left to track at core `v0.2.0`:\n\n- `OpenShell.Gone`: removed, core `v0.2.0` no longer has it.\n\nIf this is wrong, reopen the issue; the automation then keeps it open while the SDK covers its methods.", + "group": "method:OpenShell.Gone", + "number": 20 + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/removed/expected.json.license b/hack/automation/testdata/rpc-issues/planner/removed/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/removed/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/removed/input.json b/hack/automation/testdata/rpc-issues/planner/removed/input.json new file mode 100644 index 0000000..019f8ff --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/removed/input.json @@ -0,0 +1,74 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "last_actor_is_bot": null, + "last_event": null, + "number": 20, + "state": "OPEN", + "title": "t" + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/removed/input.json.license b/hack/automation/testdata/rpc-issues/planner/removed/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/removed/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected-actors.json b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected-actors.json new file mode 100644 index 0000000..1575f5a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected-actors.json @@ -0,0 +1,3 @@ +[ + 20 +] diff --git a/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected-actors.json.license b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected-actors.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected-actors.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected.json b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected.json new file mode 100644 index 0000000..0fdec38 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected.json @@ -0,0 +1,15 @@ +[ + { + "action": "reopen", + "add_labels": [ + "rpc:ready" + ], + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.1.9`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "comment": "Reopening: at core `v0.2.0`, `OpenShell.ForwardTcp` is user-facing again and the Go SDK does not wrap it.", + "group": "method:OpenShell.ForwardTcp", + "number": 20, + "remove_labels": [ + "rpc:blocked" + ] + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected.json.license b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/input.json b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/input.json new file mode 100644 index 0000000..62b3182 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/input.json @@ -0,0 +1,109 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "body": "\n\nold body", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "last_actor_is_bot": true, + "last_event": "closed", + "number": 20, + "state": "CLOSED", + "title": "t" + } + ], + "max_new": 0, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/input.json.license b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/reopen-swaps-label/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/too-many-new/expected.json b/hack/automation/testdata/rpc-issues/planner/too-many-new/expected.json new file mode 100644 index 0000000..652c2ba --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/too-many-new/expected.json @@ -0,0 +1,16 @@ +{ + "error": "too-many-new", + "planned": [ + "feat(sdk): wrap OpenShell.Method01 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method02 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method03 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method04 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method05 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method06 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method07 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method08 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method09 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method10 (core v0.2.0)", + "feat(sdk): wrap OpenShell.Method11 (core v0.2.0)" + ] +} diff --git a/hack/automation/testdata/rpc-issues/planner/too-many-new/expected.json.license b/hack/automation/testdata/rpc-issues/planner/too-many-new/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/too-many-new/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/too-many-new/input.json b/hack/automation/testdata/rpc-issues/planner/too-many-new/input.json new file mode 100644 index 0000000..b9bb259 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/too-many-new/input.json @@ -0,0 +1,434 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method01 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method01Request", + "source": "message Method01Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method01Response", + "source": "message Method01Response {}" + } + ], + "method": "Method01", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method01Request", + "response": "openshell.v1.Method01Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method01(Method01Request) returns (Method01Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method02 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method02Request", + "source": "message Method02Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method02Response", + "source": "message Method02Response {}" + } + ], + "method": "Method02", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method02Request", + "response": "openshell.v1.Method02Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method02(Method02Request) returns (Method02Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method03 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method03Request", + "source": "message Method03Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method03Response", + "source": "message Method03Response {}" + } + ], + "method": "Method03", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method03Request", + "response": "openshell.v1.Method03Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method03(Method03Request) returns (Method03Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method04 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method04Request", + "source": "message Method04Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method04Response", + "source": "message Method04Response {}" + } + ], + "method": "Method04", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method04Request", + "response": "openshell.v1.Method04Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method04(Method04Request) returns (Method04Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method05 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method05Request", + "source": "message Method05Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method05Response", + "source": "message Method05Response {}" + } + ], + "method": "Method05", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method05Request", + "response": "openshell.v1.Method05Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method05(Method05Request) returns (Method05Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method06 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method06Request", + "source": "message Method06Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method06Response", + "source": "message Method06Response {}" + } + ], + "method": "Method06", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method06Request", + "response": "openshell.v1.Method06Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method06(Method06Request) returns (Method06Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method07 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method07Request", + "source": "message Method07Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method07Response", + "source": "message Method07Response {}" + } + ], + "method": "Method07", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method07Request", + "response": "openshell.v1.Method07Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method07(Method07Request) returns (Method07Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method08 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method08Request", + "source": "message Method08Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method08Response", + "source": "message Method08Response {}" + } + ], + "method": "Method08", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method08Request", + "response": "openshell.v1.Method08Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method08(Method08Request) returns (Method08Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method09 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method09Request", + "source": "message Method09Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method09Response", + "source": "message Method09Response {}" + } + ], + "method": "Method09", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method09Request", + "response": "openshell.v1.Method09Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method09(Method09Request) returns (Method09Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method10 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method10Request", + "source": "message Method10Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method10Response", + "source": "message Method10Response {}" + } + ], + "method": "Method10", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method10Request", + "response": "openshell.v1.Method10Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method10(Method10Request) returns (Method10Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Method11 does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.Method11Request", + "source": "message Method11Request {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.Method11Response", + "source": "message Method11Response {}" + } + ], + "method": "Method11", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.Method11Request", + "response": "openshell.v1.Method11Response", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Method11(Method11Request) returns (Method11Response) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/too-many-new/input.json.license b/hack/automation/testdata/rpc-issues/planner/too-many-new/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/too-many-new/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/unannotated-served/expected.json b/hack/automation/testdata/rpc-issues/planner/unannotated-served/expected.json new file mode 100644 index 0000000..eb0e5d5 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/unannotated-served/expected.json @@ -0,0 +1,13 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.Ping`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.Ping`\n\nPing does something useful.\n\n- Streaming: unary\n- Authorization: no authorization annotation. The gateway treats unannotated methods as user-callable, so this issue includes it; core should add the annotation.\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc Ping(PingRequest) returns (PingResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage PingRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage PingResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.Ping`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.Ping RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.Ping: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.Ping", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap OpenShell.Ping (core v0.2.0)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/unannotated-served/expected.json.license b/hack/automation/testdata/rpc-issues/planner/unannotated-served/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/unannotated-served/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/unannotated-served/input.json b/hack/automation/testdata/rpc-issues/planner/unannotated-served/input.json new file mode 100644 index 0000000..236fc5c --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/unannotated-served/input.json @@ -0,0 +1,95 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.Ping" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": null, + "client_streaming": false, + "comment": "Ping does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.PingRequest", + "source": "message PingRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.PingResponse", + "source": "message PingResponse {}" + } + ], + "method": "Ping", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.PingRequest", + "response": "openshell.v1.PingResponse", + "rust_sdk_refs": [], + "scope": null, + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc Ping(PingRequest) returns (PingResponse) {}", + "ts_sdk_refs": [], + "workspace_role": null + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/unannotated-served/input.json.license b/hack/automation/testdata/rpc-issues/planner/unannotated-served/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/unannotated-served/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/unchanged-body/expected.json b/hack/automation/testdata/rpc-issues/planner/unchanged-body/expected.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/unchanged-body/expected.json @@ -0,0 +1 @@ +[] diff --git a/hack/automation/testdata/rpc-issues/planner/unchanged-body/expected.json.license b/hack/automation/testdata/rpc-issues/planner/unchanged-body/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/unchanged-body/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/unchanged-body/input.json b/hack/automation/testdata/rpc-issues/planner/unchanged-body/input.json new file mode 100644 index 0000000..fe95d3f --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/unchanged-body/input.json @@ -0,0 +1,108 @@ +{ + "built": [ + "OpenShell.GetSandbox" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [ + { + "number": 20, + "state": "OPEN", + "title": "t", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Blocked on the core bump**: the generated bindings on the SDK's `main` do not contain every method listed here yet. Work on the bump branch [`core/v0.2.0`](https://github.com/ai-openshell/sdk-go/tree/core/v0.2.0), or on `main` once that proposal is merged.\n\n## `OpenShell.ForwardTcp`\n\nForwardTcp does something useful.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: no\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n```proto\nmessage ForwardTcpRequest {\n string name = 1;\n}\n```\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from core/v0.2.0, the core bump proposal for v0.2.0; the bindings on main do not contain the methods yet.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:blocked" + ], + "last_actor_is_bot": null, + "last_event": null + } + ], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "ForwardTcp does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/unchanged-body/input.json.license b/hack/automation/testdata/rpc-issues/planner/unchanged-body/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/unchanged-body/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/untrusted-text/expected.json b/hack/automation/testdata/rpc-issues/planner/untrusted-text/expected.json new file mode 100644 index 0000000..0c97e0a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/untrusted-text/expected.json @@ -0,0 +1,13 @@ +[ + { + "action": "open", + "body": "\n\nCore `v0.2.0` has `OpenShell.ForwardTcp`, a user-facing RPC that the Go SDK does not wrap yet. First seen in core `v0.2.0`.\n\n**Buildable on `main`**: the generated bindings on the SDK's `main` already contain every method listed here.\n\n## `OpenShell.ForwardTcp`\n\nForwards a port. Ask @​octocat, see #​123 and owner/repo#​45.\n<​!-- hidden part -->Still visible.\n\n- Streaming: unary\n- Authorization: `bearer`, scope `sandbox:read`, workspace role `user`\n- Definition: [`proto/openshell.proto`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12) at core `v0.2.0`\n- Generated bindings on the SDK's `main`: yes\n\n```proto\nrpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}\n```\n\nRequest and response messages:\n\n````proto\nmessage ForwardTcpRequest {\n // Format: ```host:port```\n string name = 1;\n}\n````\n\n```proto\nmessage ForwardTcpResponse {}\n```\n\n## Where core implements it\n\n### `OpenShell.ForwardTcp`\n\n- Server (`crates/openshell-server/src`): [`crates/openshell-server/src/grpc/mod.rs`](https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs)\n- Rust SDK (`crates/openshell-sdk/src`): not found\n- TypeScript SDK (`sdk/typescript/src`): not found\n\n## Implementation brief\n\nCopy this block as the task description when you start the work.\n\n````text\nWrap the OpenShell.ForwardTcp RPC of OpenShell core in the OpenShell Go SDK (https://github.com/ai-openshell/sdk-go).\n\nCore version: NVIDIA/OpenShell at tag v0.2.0.\nBranch: start from main; its generated bindings already contain the methods.\n\nRead first:\n- AGENTS.md and CONTRIBUTING.md in the SDK repository: conventions, commands, and commit rules.\n- OpenShell.ForwardTcp: proto definition https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12; core server: https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs\n- The pattern to follow: the sub-client in openshell/v1/service_client.go, its types in openshell/v1/types/service.go, its converter in openshell/v1/internal/converter/service.go, and its fake in openshell/v1/fake/service.go.\n\nDeliverables:\n- The method in openshell/v1, on the sub-client that fits it, behind its interface like the other sub-client methods.\n- Domain types in openshell/v1/types/ without proto imports.\n- Converters in openshell/v1/internal/converter/ that deep-copy slices and maps.\n- The fake implementation in openshell/v1/fake/.\n- Unit tests with bufconn and testify.\n- Documentation: a page under docs/src/api/ (like docs/src/api/services.md) with its entry in docs/src/SUMMARY.md, or an update of the existing page.\n\nDone when `mise run ci` passes. Use Conventional Commits and sign off every commit.\n````\n\n## About this issue\n\nThe RPC coverage automation (`hack/automation/rpc-issues.sh`, run by the hourly core-watch workflow) opened this issue and keeps it in sync with the newest core release tag.\nIt rewrites this description when the definition or the buildability changes, and closes the issue when the SDK covers every method listed here under `openshell/v1`, when core removes them or makes them internal, or when they are listed with a reason in [`hack/automation/rpc-exceptions.txt`](https://github.com/ai-openshell/sdk-go/blob/main/hack/automation/rpc-exceptions.txt).\nAn issue closed by hand stays closed. Reopen it by hand to keep it open while the automation considers the methods covered.", + "group": "method:OpenShell.ForwardTcp", + "labels": [ + "help wanted", + "rpc-coverage", + "rpc:ready" + ], + "title": "feat(sdk): wrap OpenShell.ForwardTcp (core v0.2.0)" + } +] diff --git a/hack/automation/testdata/rpc-issues/planner/untrusted-text/expected.json.license b/hack/automation/testdata/rpc-issues/planner/untrusted-text/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/untrusted-text/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/planner/untrusted-text/input.json b/hack/automation/testdata/rpc-issues/planner/untrusted-text/input.json new file mode 100644 index 0000000..e0f1734 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/untrusted-text/input.json @@ -0,0 +1,95 @@ +{ + "built": [ + "OpenShell.GetSandbox", + "OpenShell.ForwardTcp" + ], + "bump_branch_exists": true, + "core_repo": "NVIDIA/OpenShell", + "covered": [ + "OpenShell.GetSandbox" + ], + "exceptions": [], + "generated_files": [ + "openshell.proto", + "datamodel.proto", + "sandbox.proto", + "options.proto" + ], + "issues": [], + "max_new": 10, + "repo": "ai-openshell/sdk-go", + "rpcs": [ + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "GetSandbox does something useful.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.GetSandboxRequest", + "source": "message GetSandboxRequest {\n string name = 1;\n}" + }, + { + "name": "openshell.v1.GetSandboxResponse", + "source": "message GetSandboxResponse {}" + } + ], + "method": "GetSandbox", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.GetSandboxRequest", + "response": "openshell.v1.GetSandboxResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc GetSandbox(GetSandboxRequest) returns (GetSandboxResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + }, + { + "auth_mode": "bearer", + "client_streaming": false, + "comment": "Forwards a port. Ask @octocat, see #123 and owner/repo#45.\nStill visible.", + "file": "openshell.proto", + "global_role": null, + "messages": [ + { + "name": "openshell.v1.ForwardTcpRequest", + "source": "message ForwardTcpRequest {\n // Format: ```host:port```\n string name = 1;\n}" + }, + { + "name": "openshell.v1.ForwardTcpResponse", + "source": "message ForwardTcpResponse {}" + } + ], + "method": "ForwardTcp", + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/proto/openshell.proto#L10-L12", + "request": "openshell.v1.ForwardTcpRequest", + "response": "openshell.v1.ForwardTcpResponse", + "rust_sdk_refs": [], + "scope": "sandbox:read", + "server_refs": [ + { + "path": "crates/openshell-server/src/grpc/mod.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.2.0/crates/openshell-server/src/grpc/mod.rs" + } + ], + "server_streaming": false, + "service": "OpenShell", + "signature": "rpc ForwardTcp(ForwardTcpRequest) returns (ForwardTcpResponse) {}", + "ts_sdk_refs": [], + "workspace_role": "user" + } + ], + "services_bound": [ + "OpenShell" + ], + "tag": "v0.2.0" +} diff --git a/hack/automation/testdata/rpc-issues/planner/untrusted-text/input.json.license b/hack/automation/testdata/rpc-issues/planner/untrusted-text/input.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/planner/untrusted-text/input.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/protos/count.proto b/hack/automation/testdata/rpc-issues/protos/count.proto new file mode 100644 index 0000000..b9a0191 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/protos/count.proto @@ -0,0 +1,22 @@ +// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +// rpc-issues-test.sh: rpc_count_declarations must count 4 here. +syntax = "proto3"; + +/* rpc Legacy(Old) returns (Old); was removed. + rpc AlsoGone(Old) returns (Old); */ +service Foo { rpc Watch (Req) returns (Resp); rpc Get(Req) returns (Resp) {} } + +service Bar { + // rpc Commented(Req) returns (Resp); + rpc Split + (Req) returns (Resp) { + option (x.y) = { url: "http://example.com/rpc Fake(" note: 'it is // not a comment' }; + } + rpc Last(Req) returns (Resp); /* trailing */ +} + +message Req { string rpc = 1; } +message Resp {} +message Old {} diff --git a/hack/automation/testdata/rpc-issues/rows/expected.json b/hack/automation/testdata/rpc-issues/rows/expected.json new file mode 100644 index 0000000..946c232 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/rows/expected.json @@ -0,0 +1,94 @@ +[ + { + "file": "a.proto", + "service": "Svc", + "method": "Get", + "auth_mode": "bearer", + "scope": "s:read", + "workspace_role": "user", + "global_role": null, + "client_streaming": false, + "server_streaming": false, + "request": "pkg.Req", + "response": "pkg.Resp", + "comment": "Get returns one thing.\n Indented detail stays indented.", + "signature": "rpc Get(Req) returns (Resp) {\n option (openshell.options.v1.authorization) = {auth_mode: \"bearer\" scope: \"s:read\" workspace_role: \"user\"};\n}", + "messages": [ + { + "name": "pkg.Req", + "source": "message Req {\n string name = 1;\n}" + }, + { + "name": "pkg.Resp", + "source": "message Resp {}" + } + ], + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.3.0/proto/a.proto#L8-L10", + "server_refs": [ + { + "path": "crates/openshell-server/src/svc.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.3.0/crates/openshell-server/src/svc.rs" + } + ], + "rust_sdk_refs": [], + "ts_sdk_refs": [] + }, + { + "file": "a.proto", + "service": "Svc", + "method": "Ping", + "auth_mode": "dual", + "scope": null, + "workspace_role": null, + "global_role": "admin", + "client_streaming": true, + "server_streaming": false, + "request": "pkg.Req", + "response": "google.protobuf.Empty", + "comment": "", + "signature": "rpc Ping(stream Req) returns (google.protobuf.Empty);", + "messages": [ + { + "name": "google.protobuf.Empty", + "source": "" + }, + { + "name": "pkg.Req", + "source": "message Req {\n string name = 1;\n}" + } + ], + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.3.0/proto/a.proto#L11-L11", + "server_refs": [], + "rust_sdk_refs": [], + "ts_sdk_refs": [] + }, + { + "file": "a.proto", + "service": "Svc", + "method": "Bare", + "auth_mode": null, + "scope": null, + "workspace_role": null, + "global_role": null, + "client_streaming": false, + "server_streaming": false, + "request": "pkg.Req", + "response": "pkg.Resp", + "comment": "", + "signature": "rpc Bare(Req) returns (Resp);", + "messages": [ + { + "name": "pkg.Req", + "source": "message Req {\n string name = 1;\n}" + }, + { + "name": "pkg.Resp", + "source": "message Resp {}" + } + ], + "proto_url": "https://github.com/NVIDIA/OpenShell/blob/v0.3.0/proto/a.proto#L12-L12", + "server_refs": [], + "rust_sdk_refs": [], + "ts_sdk_refs": [] + } +] diff --git a/hack/automation/testdata/rpc-issues/rows/expected.json.license b/hack/automation/testdata/rpc-issues/rows/expected.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/rows/expected.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/rows/image.json b/hack/automation/testdata/rpc-issues/rows/image.json new file mode 100644 index 0000000..6dc41ef --- /dev/null +++ b/hack/automation/testdata/rpc-issues/rows/image.json @@ -0,0 +1,132 @@ +{ + "file": [ + { + "name": "google/protobuf/empty.proto", + "package": "google.protobuf", + "messageType": [ + { + "name": "Empty" + } + ] + }, + { + "name": "a.proto", + "package": "pkg", + "messageType": [ + { + "name": "Req" + }, + { + "name": "Resp" + } + ], + "service": [ + { + "name": "Svc", + "method": [ + { + "name": "Get", + "inputType": ".pkg.Req", + "outputType": ".pkg.Resp", + "options": { + "[openshell.options.v1.authorization]": { + "authMode": "bearer", + "scope": "s:read", + "workspaceRole": "user" + } + } + }, + { + "name": "Ping", + "inputType": ".pkg.Req", + "outputType": ".google.protobuf.Empty", + "clientStreaming": true, + "options": { + "[openshell.options.v1.authorization]": { + "authMode": "dual", + "globalRole": "admin" + } + } + }, + { + "name": "Bare", + "inputType": ".pkg.Req", + "outputType": ".pkg.Resp" + } + ] + }, + { + "name": "Empty" + } + ], + "sourceCodeInfo": { + "location": [ + { + "path": [ + 6, + 0, + 2, + 0 + ], + "span": [ + 7, + 2, + 9, + 3 + ], + "leadingComments": " Get returns one thing.\n Indented detail stays indented.\n" + }, + { + "path": [ + 6, + 0, + 2, + 1 + ], + "span": [ + 10, + 2, + 55 + ] + }, + { + "path": [ + 6, + 0, + 2, + 2 + ], + "span": [ + 11, + 2, + 31 + ] + }, + { + "path": [ + 4, + 0 + ], + "span": [ + 14, + 0, + 16, + 1 + ] + }, + { + "path": [ + 4, + 1 + ], + "span": [ + 17, + 0, + 15 + ] + } + ] + } + } + ] +} diff --git a/hack/automation/testdata/rpc-issues/rows/image.json.license b/hack/automation/testdata/rpc-issues/rows/image.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/rows/image.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/rows/refs.json b/hack/automation/testdata/rpc-issues/rows/refs.json new file mode 100644 index 0000000..93f6adf --- /dev/null +++ b/hack/automation/testdata/rpc-issues/rows/refs.json @@ -0,0 +1,10 @@ +{ + "Svc.Get": { + "server_refs": [ + { + "path": "crates/openshell-server/src/svc.rs", + "url": "https://github.com/NVIDIA/OpenShell/blob/v0.3.0/crates/openshell-server/src/svc.rs" + } + ] + } +} diff --git a/hack/automation/testdata/rpc-issues/rows/refs.json.license b/hack/automation/testdata/rpc-issues/rows/refs.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/rows/refs.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/testdata/rpc-issues/rows/sources.json b/hack/automation/testdata/rpc-issues/rows/sources.json new file mode 100644 index 0000000..c43756a --- /dev/null +++ b/hack/automation/testdata/rpc-issues/rows/sources.json @@ -0,0 +1,3 @@ +{ + "a.proto": "syntax = \"proto3\";\npackage pkg;\n\n// Svc does things.\nservice Svc {\n // Get returns one thing.\n // Indented detail stays indented.\n rpc Get(Req) returns (Resp) {\n option (openshell.options.v1.authorization) = {auth_mode: \"bearer\" scope: \"s:read\" workspace_role: \"user\"};\n }\n rpc Ping(stream Req) returns (google.protobuf.Empty);\n rpc Bare(Req) returns (Resp);\n}\n\nmessage Req {\n string name = 1;\n}\nmessage Resp {}\n" +} diff --git a/hack/automation/testdata/rpc-issues/rows/sources.json.license b/hack/automation/testdata/rpc-issues/rows/sources.json.license new file mode 100644 index 0000000..2137e95 --- /dev/null +++ b/hack/automation/testdata/rpc-issues/rows/sources.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: Apache-2.0 diff --git a/hack/automation/update-drift-issue.sh b/hack/automation/update-drift-issue.sh index b04ad76..621ba32 100755 --- a/hack/automation/update-drift-issue.sh +++ b/hack/automation/update-drift-issue.sh @@ -6,13 +6,16 @@ # Usage: update-drift-issue.sh [--dry-run] # # The report comes from drift-check.sh. The issue body is the report plus the -# "## Automation failures" section, which is carried over unchanged. With +# "## Automation failures" section, which is carried over unchanged; each +# uncovered RPC line links to its open RPC coverage issue (rpc-issues.sh). With # "Result: fail" or pending failures, the issue is created or its body # replaced. With "Result: pass" and no pending failures, an open issue is # closed with a comment, and nothing is created. set -euo pipefail # shellcheck source=hack/automation/drift-issue.sh . "$(dirname "${BASH_SOURCE[0]}")/drift-issue.sh" +# shellcheck source=hack/automation/rpc-issues-lib.sh +. "$(dirname "${BASH_SOURCE[0]}")/rpc-issues-lib.sh" report= dry=0 @@ -27,6 +30,22 @@ done text=$(cat "$report") header=$(head -1 <<<"$text") + +# Link each "- Service.Method" line of the report to its open RPC coverage +# issue (rpc-issues.sh), counting only issues the bot opened (BOT_LOGIN, +# default "ai-openshell-sdk-go[bot]"). The links are a convenience: when the +# issues cannot be listed, the report goes out without them. +issues_file=$(mktemp) +trap 'rm -f "$issues_file"' EXIT +if gh api --paginate "$(rpc_bot_issues_url "$sdk_repo" "${BOT_LOGIN:-ai-openshell-sdk-go[bot]}" open)" \ + --jq '.[] | select(.pull_request == null) | {number, body, author: .user.login}' | + rpc_bot_issues "${BOT_LOGIN:-ai-openshell-sdk-go[bot]}" >"$issues_file" && + linked=$(link_uncovered_rpcs "$issues_file" "$text"); then + text=$linked +else + echo "WARNING: cannot list the rpc-coverage issues of $sdk_repo; uncovered RPCs stay unlinked" >&2 +fi + case $header in *"Result: pass"*) result=pass ;; *"Result: fail"*) result=fail ;; diff --git a/mise.toml b/mise.toml index adc2523..3e8de14 100644 --- a/mise.toml +++ b/mise.toml @@ -227,11 +227,12 @@ echo "Proto check passed: generated files match core $(yq -r '.inputs[0].tag' bu """ [tasks."workflows:check"] -description = "Lint GitHub workflows (actionlint with shellcheck, zizmor) and the hack/ scripts (shellcheck)" +description = "Lint GitHub workflows (actionlint with shellcheck, zizmor) and the hack/ scripts (shellcheck), run the RPC coverage issue tests" run = [ "actionlint", "zizmor --offline --min-severity medium .github", "shellcheck -x -S warning hack/automation/*.sh hack/migration/*.sh", + "hack/automation/rpc-issues-test.sh", ] [tasks."docs:build"] @@ -257,3 +258,7 @@ run = "hack/automation/drift-check.sh" [tasks.e2e] description = "Run the E2E suite against the gateway named in OPENSHELL_GATEWAY (see hack/automation/start-gateway.sh)" run = "go vet -tags=e2e ./e2e/... && go test -tags=e2e -timeout 8m -parallel ${E2E_PARALLEL:-5} ./e2e/..." + +[tasks."core:rpc-issues"] +description = "Open, update, close, and reopen RPC coverage issues (--dry-run, --max-new , --tag )" +run = "hack/automation/rpc-issues.sh"