Repository navigation
Plan: hosted boxes (boxctl.io) as an onctl provider - #1157
Merged
Merged
Conversation
Instead of renaming the boxctl CLI -- the name is taken by an earlier project that also installs a `boxctl` binary -- make the hosted service another onctl provider, `-p boxes`, next to hetzner and aws. The API maps onto CloudProviderInterface almost one to one; the gaps are reaching a box with no reachable IP (an optional Dialer interface, plus `onctl ssh-proxy` as ssh's ProxyCommand) and authorizing the key after deploy. Box-only features become optional interfaces, `boxctl claude` becomes `onctl claude`, the Claude Code plugin moves here, and the boxctl CLI is retired. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U8g3mHkS6JmtYVYc4AjcV4
cdalar
enabled auto-merge (squash)
October 4, 2026 06:00
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1157 +/- ##
=======================================
Coverage 36.93% 36.93%
=======================================
Files 51 51
Lines 5656 5656
=======================================
Hits 2089 2089
Misses 3567 3567 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Design doc only (
docs/plans/boxes-provider.md). Nothing is built yet.Summary
Make boxctl.io's hosted Firecracker boxes another onctl provider,
onctl -p boxes ..., instead of shipping and renaming a separateboxctlCLI. That name is taken by an earlier project that also installs aboxctlbinary.Technical details
CloudProviderInterfacealmost one to one: Deploy/Destroy/Pause/Resume/List/GetByName, plusImageLister.Dialerinterface letstools.Remoterun ssh over the provider's tunnel, socreate -a,deploy,action, upload/download andWaitForSSHall work. Interactiveonctl sshuses aProxyCommandthrough a newonctl ssh-proxy, which also lets plainssh,scpandrsyncreach boxes.PortForwarder,SizeLister,IdleTTLSetter), following the existingImageLister/Restarterpattern.boxctl claude→onctl claude. It's ported as is (~1.9k lines with tests), boxes-only in v1, with a path to running on any provider later./onctl:*.Open questions (in the doc)
Provider ID (
boxes?);onctl loginvsonctl boxes login; names for backups (importis taken); release coupling; the websocket dependency.🤖 Generated with Claude Code
https://claude.ai/code/session_01U8g3mHkS6JmtYVYc4AjcV4