instabox 0.8.81 → 0.8.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli/SHA256SUMS CHANGED
@@ -1,6 +1,6 @@
1
- a39493749565965ce0d1f399b7660f9fc6c06be322a18be9914b58d034330971 instabox-darwin-amd64
2
- bfc3abe9d987b4fa13e9204478f9b849394bccec0e3a8dcb33bd38002a4d98a2 instabox-darwin-arm64
3
- 783c2f0908133cbf9f3a9f9e1c519481f2b0c12c0ebcf592243a335b30975ba0 instabox-linux-amd64
4
- 6922ef2c438637920630a58efe62796134760095ccb0d4960301342a305ff9b4 instabox-linux-arm64
5
- 0fbf58de8df798d70d6435595f504069293acdeb6df37b406769e2407c9091a6 instabox-windows-amd64.exe
6
- 0d6516ef386c95fdf45c6efecaa80eb97842533014ad406b82b2dad0b88d7944 instabox-windows-arm64.exe
1
+ 4be58402f6cbed0a918957b4a9484ac3f624de496fa00a3e097da5ec848e53d3 instabox-darwin-amd64
2
+ c194442c7d7b6c3bcb7d7073e7167381132aa8a1c9a5dbc3e7bbf2943f35b227 instabox-darwin-arm64
3
+ 9a56c1c6964818f927ee56097dd61ebe0d7dc80b84b2941a26554b7ba78eedc3 instabox-linux-amd64
4
+ 63fc58dbb2817da7e9d1e49d1fe9cfb4f0a575a6666c21e36095227389218a94 instabox-linux-arm64
5
+ c936fb84c2c4ba675ce82fb443a20cf3e23ce1666acb60184c1c51c370f89676 instabox-windows-amd64.exe
6
+ e85a36c46d309d80e4a4cd8082bf7a1da367707cc2f41ad08a836a1cbbb91b9b instabox-windows-arm64.exe
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instabox",
3
- "version": "0.8.81",
3
+ "version": "0.8.83",
4
4
  "description": "A cloud box for your coding agent, the instabox CLI and its agent skills in one command: npx instabox@latest",
5
5
  "type": "module",
6
6
  "bin": {
@@ -162,12 +162,17 @@ Every `webhooks` subcommand takes `--json` (or `-o json`).
162
162
  When the user asks to run their CI on instabox, set up `runs-on: instabox-medium` in their repo, end to end. Each job then runs on a fresh Ubuntu 24.04 box (like `ubuntu-latest`) that is deleted when the job ends.
163
163
 
164
164
  1. Get OWNER/REPO: `gh repo view --json owner,name,visibility --jq '.owner.login+"/"+.name+" "+.visibility'`. If it's public, tell the user that pull requests from forks will run on their workspace too, on their plan, and that GitHub's **Require approval for all external contributors** (the repository's **Settings** > **Actions** > **General**) makes each one wait for their approval. Then run `instabox ci` (with `--org ORG` for a workspace): if it says GitHub Actions jobs aren't open on this account yet, use the CLI way below instead.
165
- 2. Pick the workspace that runs and pays for the jobs: when `instabox workspace ls` lists more than one, ask the user which. Send them the App link with its ID, https://dashboard.instabox.sh/auth/github-app/install?org=ORG_ID (without `?org=` the page asks which workspace when they are in more than one). Linking takes an owner or admin of that workspace. Ask them to install the App on OWNER, give it access to REPO and link it, and wait until they say it's done. The page it ends on names the workspace it linked. If it says "your personal workspace" and they meant another, see the end of this section. You can't do this step for them.
165
+ 2. Pick the workspace that runs and pays for the jobs: when `instabox workspace ls` lists more than one, ask the user which. Send them the App link with its ID, https://dashboard.instabox.sh/auth/github-app/install?org=ORG_ID (without `?org=` the page asks which workspace when they are in more than one). Linking takes an owner or admin of that workspace. The link has them confirm their GitHub account, then lists the GitHub accounts with the App: ask them to click **Link** next to OWNER (when OWNER is not listed, **Install on another GitHub account**, install it on OWNER and give it access to REPO), and wait until they say it's done. The page it ends on names the workspace it linked. If it says "your personal workspace" and they meant another, see the end of this section. You can't do this step for them.
166
166
  3. Change `runs-on:` of the jobs to move to `instabox-medium` (4 vCPU / 8 GiB), or `instabox-small` (2 / 4) or `instabox-large` (8 / 16) where the plan has them (the free plan runs `instabox-medium` only; any other `instabox` label, `instabox` alone included, is refused). Leave the steps alone; the jobs' secrets stay GitHub Actions secrets, as the box gets none of the user's instabox secrets.
167
167
  4. Show the user the diff and push only with their OK.
168
168
  5. Check the first run: `gh run watch`, and `instabox ci` (with `--org ORG` for a workspace) shows each job's state and why it waits or was refused. When nothing is linked, `instabox ci` says so and prints the App install link to send. A job that stays queued on GitHub with nothing in `instabox ci` means the App has no access to REPO; go back to step 2.
169
169
 
170
- To switch to another GitHub account or workspace, the App has to be uninstalled first, as instabox has no unlink. Ask the user to uninstall it on GitHub (**Manage on GitHub** on the dashboard's CI page, or **Configure** on https://github.com/apps/instabox-cloud), then install it again from the App link in step 2. Do the same when the App is already installed on OWNER but `instabox ci` says nothing is linked: installing it again does nothing until it is uninstalled.
170
+ A GitHub account runs CI for one workspace at a time. To move OWNER to another workspace, an owner or admin unlinks it (**Unlink** in the account menu of the dashboard's CI page), then links it from the App link of the other workspace. One linked to the user's personal workspace links straight to another workspace they manage, after a confirmation. The App stays installed on GitHub through all this.
171
+
172
+ When linking does not work:
173
+ - The user cannot link a workspace, or `instabox ci` says only an owner or admin links the App: they are a member there. Ask an owner or admin (`instabox workspace members WS` lists them) to link it, or to make the user an admin.
174
+ - OWNER shows **Already used for CI**: its CI runs in another workspace. With **Open**, the user is in that workspace and unlinks it there first. Without it, they are not: ask whoever set up CI for OWNER to invite them, or to unlink it.
175
+ - OWNER is not listed: the App is not installed on it, or their GitHub account cannot see it. **Install on another GitHub account** installs it.
171
176
 
172
177
  For another CI, or a job that must stay on GitHub's runner, a step runs one command in a box with the CLI, with INSTABOX_API_KEY from a CI secret:
173
178