@zookanalytics/agent-env 0.1.0 → 0.1.2
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 +83 -0
- package/bin/agent-env.js +0 -0
- package/config/baseline/post-create.sh +0 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +2033 -0
- package/package.json +24 -18
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 zookanalytics
|
|
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,83 @@
|
|
|
1
|
+
# @zookanalytics/agent-env
|
|
2
|
+
|
|
3
|
+
CLI for creating isolated, AI-ready development environments.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @zookanalytics/agent-env
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Requirements
|
|
12
|
+
|
|
13
|
+
- Node.js >= 20
|
|
14
|
+
- Docker (OrbStack recommended on macOS)
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Create a new development environment
|
|
20
|
+
agent-env create <workspace-name> [options]
|
|
21
|
+
|
|
22
|
+
# List all environments
|
|
23
|
+
agent-env list
|
|
24
|
+
|
|
25
|
+
# List environments with JSON output
|
|
26
|
+
agent-env list --json
|
|
27
|
+
|
|
28
|
+
# Attach to an environment
|
|
29
|
+
agent-env attach <name>
|
|
30
|
+
|
|
31
|
+
# Remove an environment
|
|
32
|
+
agent-env remove <name>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Commands
|
|
36
|
+
|
|
37
|
+
### `create`
|
|
38
|
+
|
|
39
|
+
Create a new isolated development environment.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
agent-env create my-project --repo https://github.com/user/repo
|
|
43
|
+
agent-env create my-project --repo . # Use current directory's git remote
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### `list`
|
|
47
|
+
|
|
48
|
+
List all development environments with their status and git state.
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
agent-env list # Human-readable table
|
|
52
|
+
agent-env list --json # Machine-readable JSON
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### `attach`
|
|
56
|
+
|
|
57
|
+
Attach to an existing development environment.
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
agent-env attach <name>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### `remove`
|
|
64
|
+
|
|
65
|
+
Remove a development environment with safety checks.
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
agent-env remove <name>
|
|
69
|
+
agent-env remove <name> --force # Bypass safety checks
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### `purpose`
|
|
73
|
+
|
|
74
|
+
Set or view the purpose/description of an environment.
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
agent-env purpose <name> # Get current purpose
|
|
78
|
+
agent-env purpose <name> "Working on feature X" # Set purpose
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## License
|
|
82
|
+
|
|
83
|
+
MIT
|
package/bin/agent-env.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|