@jabezpauls/agentbox 0.1.0
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/LICENSE +21 -0
- package/README.md +49 -0
- package/dist/agentbox.mjs +8333 -0
- package/package.json +18 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jabez Paul
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# agentbox CLI
|
|
2
|
+
|
|
3
|
+
The command line for [agentbox](https://github.com/jabezpauls/agentbox), a
|
|
4
|
+
sandbox on your own server where coding agents keep working after you close
|
|
5
|
+
the laptop. It signs in to your box, attaches to its agents from your own
|
|
6
|
+
terminal, moves files both ways, and mounts the workspace as a folder.
|
|
7
|
+
|
|
8
|
+
You need a box first. See
|
|
9
|
+
[installing agentbox](https://github.com/jabezpauls/agentbox/blob/main/docs/install.md).
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
Node.js 20 or newer:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm i -g @jabezpauls/agentbox
|
|
17
|
+
agentbox login https://code.example.com
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`login` shows a code and opens your box in the browser, where you approve this
|
|
21
|
+
machine. No password is typed into the terminal.
|
|
22
|
+
|
|
23
|
+
Your box also serves this same CLI, matched to its version:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
curl -fsSL https://code.example.com/cli/install | sh
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Use
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
agentbox status # the box, its agents and its apps
|
|
33
|
+
agentbox attach # the agents, in this terminal
|
|
34
|
+
agentbox shell # a shell in the sandbox
|
|
35
|
+
agentbox files put notes.md # copy into the workspace
|
|
36
|
+
agentbox files get report.pdf # and back out
|
|
37
|
+
agentbox mount ~/box # the workspace as a folder
|
|
38
|
+
agentbox --help
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Every command is described in
|
|
42
|
+
[docs/cli.md](https://github.com/jabezpauls/agentbox/blob/main/docs/cli.md).
|
|
43
|
+
|
|
44
|
+
## Versions
|
|
45
|
+
|
|
46
|
+
The CLI's version follows agentbox's releases. When your box runs a different
|
|
47
|
+
version, the CLI says so. Update with `npm i -g @jabezpauls/agentbox@<version>`.
|
|
48
|
+
|
|
49
|
+
MIT licensed.
|