agental 0.0.0-stage → 0.2.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 +14 -2
- package/bin/agental.js +5 -0
- package/dist/cli.js +4844 -0
- package/package.json +38 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 VERTIXER LTD
|
|
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
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# agental
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The `agental` command for [agental.io](https://agental.io): a Linux virtual machine of your own for each agent, from the terminal.
|
|
4
|
+
|
|
5
|
+
To sign in on this computer and get a shell in a new sandbox:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx agental@latest sh
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
`npx agental@latest` alone signs in through your browser, keeps a key for this computer in `~/.config/agental/credentials.json`, installs the command with `npm install -g agental`, and installs the agent skills for the coding agents it finds here. `agental help` lists every command: `agental create`, `agental exec`, `agental ssh` and the rest.
|
|
12
|
+
|
|
13
|
+
Node 20.16 or later. The full guide is at [agental.io/docs/cli](https://agental.io/docs/cli).
|
|
14
|
+
|
|
15
|
+
For the SDK, to use agental from your own code, install [agental-sdk](https://www.npmjs.com/package/agental-sdk) instead: `npm install agental-sdk`. It uses the same sign-in when no key is given. Up to 0.1.0 this package held the SDK too; from 0.2.0 it is the command alone, and `import ... from "agental"` is `from "agental-sdk"`.
|
package/bin/agental.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// The `agental` command. npm checks that a package's bin exists before prepublishOnly builds
|
|
3
|
+
// dist/, and drops one that does not: so the bin is this file, which is always there, and the
|
|
4
|
+
// command itself is dist/cli.js, bundled from src/cli.ts by scripts/bundle-cli.mjs.
|
|
5
|
+
import "../dist/cli.js";
|