Add OpenClaw sandbox backend example - #19
Open
opencolin wants to merge 1 commit into
Open
Conversation
Shows the @tenkicloud/openclaw community plugin that moves all OpenClaw tool execution (shell, fs bridge, interactive PTY) into per-scope Tenki microVM sessions. verify.mjs asserts the published plugin's manifest contract, then live-proves the backend's exact SDK path: find-by-tag, sh positional args, staged-stdin exec, and cert-based SSH over the gateway WebSocket stream. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Review complete. No blocking issues — approved ✅; 1 nitpick below. 🧹 Nitpicks (1) — 🟢 1 low
This PR adds a self-contained cookbook example (examples/openclaw-tenki/) demonstrating how to drive the @tenkicloud/sandbox backend from a plain Node script, with documentation in the root README and an example-specific README covering setup and the verify script.
Reviewed commit: 44aaf55 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
examples/openclaw-tenki: the@tenkicloud/openclawplugin makes Tenki the sandbox backend for OpenClaw — withsandbox.mode: "all", every agent shell/file/PTY operation runs in a per-scope microVM, found-or-resumed by tag.verify.mjsneeds no OpenClaw host: it asserts the published package's plugin-manifest contract, then drives the live path the backend rides — tagged create, find-by-tag,sh -cwith theset --args prefix, stdin staged through a session file, SSH cert mint plus gateway stream, dispose. Every mirrored call was cross-checked against the plugin source in the npm tarball. Passed live.The README is explicit that this is a ClawHub community plugin (upstream openclaw#111792 was closed), and notes the plugin's SDK 0.5.2 pin vs the example's ^0.5.4.
Root README: OpenClaw row in Agent platforms (shared table with #8/#15 — later merges rebase trivially).
🤖 Generated with Claude Code