@agentuity/claude-code 2.0.10 → 3.0.0-alpha.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/.claude-plugin/plugin.json +16 -6
- package/AGENTS.md +48 -60
- package/README.md +51 -126
- package/dist/install.d.ts +2 -2
- package/dist/install.d.ts.map +1 -1
- package/dist/install.js +4 -4
- package/dist/install.js.map +1 -1
- package/hooks/hooks.json +2 -56
- package/hooks/session-start.sh +43 -0
- package/package.json +12 -8
- package/skills/agentuity-backend/SKILL.md +181 -378
- package/skills/agentuity-cloud/SKILL.md +34 -75
- package/skills/agentuity-frontend/SKILL.md +79 -218
- package/skills/agentuity-ops/SKILL.md +72 -180
- package/skills/agentuity-project/SKILL.md +507 -0
- package/src/install.ts +4 -6
- package/agents/architect.md +0 -322
- package/agents/builder.md +0 -414
- package/agents/lead.md +0 -738
- package/agents/memory.md +0 -1015
- package/agents/product.md +0 -520
- package/agents/reviewer.md +0 -374
- package/agents/scout.md +0 -320
- package/commands/agentuity-cadence-cancel.md +0 -20
- package/commands/agentuity-cadence.md +0 -76
- package/commands/agentuity-coder.md +0 -15
- package/commands/agentuity-memory-share.md +0 -31
- package/commands/agentuity-sandbox.md +0 -33
- package/hooks/scripts/block-sensitive-commands.sh +0 -43
- package/hooks/scripts/cadence-stop.sh +0 -180
- package/hooks/scripts/pre-compact.sh +0 -24
- package/hooks/scripts/session-end.sh +0 -203
- package/hooks/scripts/session-start.sh +0 -68
- package/hooks/scripts/setup-cadence.sh +0 -133
- package/hooks/scripts/stop-memory-save.sh +0 -69
- package/skills/agentuity-command-runner/SKILL.md +0 -128
|
@@ -1,200 +1,81 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agentuity-ops
|
|
3
|
-
description: When
|
|
4
|
-
version:
|
|
3
|
+
description: When running Agentuity CLI commands for deploying, managing databases, creating sandboxes, configuring storage, queues, cron jobs, email, or any cloud resource. Also activates for SSH debugging, environment variables, and non-interactive automation.
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# Agentuity
|
|
8
|
-
|
|
9
|
-
Deep reference material for the Agentuity CLI, cloud services, deployments, and infrastructure.
|
|
7
|
+
# Agentuity CLI & Operations Reference
|
|
10
8
|
|
|
11
9
|
## CLI Accuracy Contract (NON-NEGOTIABLE)
|
|
12
10
|
|
|
13
|
-
**Never
|
|
11
|
+
- **Never guess** flags, subcommands, or argument order
|
|
12
|
+
- If not 100% certain, FIRST run: `agentuity <cmd> --help`
|
|
13
|
+
- **Trust CLI output over memory** — never fabricate URLs or outputs
|
|
14
|
+
- For the full CLI schema: `agentuity ai schema show`
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
2. If not 100% certain, FIRST run: `agentuity <cmd> --help`
|
|
17
|
-
3. **Trust CLI output over memory**
|
|
18
|
-
4. **Never fabricate URLs** — read actual command output
|
|
19
|
-
5. Provide **copy/paste-ready commands**
|
|
16
|
+
## Key Conventions
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
- Agentuity projects **always use `bun`** (never npm/pnpm) — check for `agentuity.json` or `.agentuity/`
|
|
19
|
+
- Check region config before adding `--region` flags (`~/.config/agentuity/config.json` and `agentuity.json`)
|
|
20
|
+
- Sandbox default working directory is `/home/agentuity` (not `/app`)
|
|
21
|
+
- Always read actual command output for URLs — never fabricate them
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
## Non-Interactive Execution
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
cat ~/.config/agentuity/config.json 2>/dev/null | grep region
|
|
27
|
-
cat agentuity.json 2>/dev/null | grep region
|
|
28
|
-
```
|
|
25
|
+
When running CLI commands programmatically (in Claude Code, CI, or scripts), skip confirmation prompts:
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
| Flag | Short | Behavior |
|
|
28
|
+
| --- | --- | --- |
|
|
29
|
+
| `--confirm` | `-y` | Skip confirmation prompts |
|
|
30
|
+
| `--force` | — | Alias for `--confirm` (when command doesn't have its own `--force`) |
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
These work on any command with a confirmation prompt (deploy, create, delete, etc.).
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
-
|
|
34
|
+
**Special cases:**
|
|
35
|
+
- `agentuity project import` — requires BOTH `--name` and `-y` (or `--confirm`) for non-interactive use
|
|
36
|
+
- `agentuity cloud env push` — has its own `--force` flag (overwrites remote values); `--force` does NOT alias `--confirm` here
|
|
37
|
+
- `agentuity cloud deployment remove/undeploy` — has its own `--force` flag for the same reason
|
|
37
38
|
|
|
38
39
|
## Golden Commands
|
|
39
40
|
|
|
40
|
-
| Purpose
|
|
41
|
-
|
|
|
42
|
-
| Create project
|
|
43
|
-
| Start dev server
|
|
44
|
-
| Deploy
|
|
45
|
-
| Check auth
|
|
46
|
-
| List regions
|
|
47
|
-
| Get
|
|
48
|
-
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
agentuity cloud
|
|
59
|
-
agentuity cloud
|
|
60
|
-
agentuity cloud
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
agentuity cloud storage list <bucket> [prefix] --json
|
|
79
|
-
agentuity cloud storage delete <bucket> <filename> --json
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Vector (Semantic Search)
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
agentuity cloud vector upsert <namespace> <key> --document "text" --json
|
|
86
|
-
agentuity cloud vector search <namespace> "query" --limit N --json
|
|
87
|
-
agentuity cloud vector get <namespace> <key> --json
|
|
88
|
-
agentuity cloud vector delete <namespace> <key> --no-confirm --json
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### Sandbox (Isolated Execution)
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
# Runtimes
|
|
95
|
-
agentuity cloud sandbox runtime list --json
|
|
96
|
-
|
|
97
|
-
# Lifecycle
|
|
98
|
-
agentuity cloud sandbox run [--memory 1Gi] [--cpu 1000m] \
|
|
99
|
-
[--runtime <name>] [--name <name>] [--description <text>] \
|
|
100
|
-
-- <command> # One-shot
|
|
101
|
-
agentuity cloud sandbox create --json [--memory 1Gi] \
|
|
102
|
-
[--network] [--port <1024-65535>] \
|
|
103
|
-
[--runtime <name>] [--name <name>] # Persistent
|
|
104
|
-
agentuity cloud sandbox exec <sandboxId> -- <command>
|
|
105
|
-
agentuity cloud sandbox list --json
|
|
106
|
-
agentuity cloud sandbox get <sandboxId> --json
|
|
107
|
-
agentuity cloud sandbox delete <sandboxId> --json
|
|
108
|
-
|
|
109
|
-
# File operations (default working dir: /home/agentuity)
|
|
110
|
-
agentuity cloud sandbox files <sandboxId> [path] --json
|
|
111
|
-
agentuity cloud sandbox cp ./local sbx_abc123:/home/agentuity
|
|
112
|
-
agentuity cloud sandbox cp sbx_abc123:/home/agentuity ./local
|
|
113
|
-
agentuity cloud sandbox mkdir <sandboxId> /path/to/dir
|
|
114
|
-
agentuity cloud sandbox rm <sandboxId> /path/to/file
|
|
115
|
-
|
|
116
|
-
# Environment variables
|
|
117
|
-
agentuity cloud sandbox env <sandboxId> VAR1=value1 VAR2=value2
|
|
118
|
-
agentuity cloud sandbox env <sandboxId> --delete VAR1
|
|
119
|
-
|
|
120
|
-
# Snapshots
|
|
121
|
-
agentuity cloud sandbox snapshot create <sandboxId> \
|
|
122
|
-
[--name <name>] [--description <text>] [--tag <tag>]
|
|
123
|
-
agentuity cloud sandbox snapshot list --json
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
**Snapshot tags:** Default to `latest`. Max 128 chars, must match `^[a-zA-Z0-9][a-zA-Z0-9._-]*$`.
|
|
127
|
-
|
|
128
|
-
### Network & Public URLs
|
|
129
|
-
|
|
130
|
-
| Scenario | Use `--network`? | Use `--port`? |
|
|
131
|
-
| --------------------------------------- | ---------------- | ------------- |
|
|
132
|
-
| Running tests locally | No | No |
|
|
133
|
-
| Installing npm packages | Yes | No |
|
|
134
|
-
| Running web server for internal testing | Yes | No |
|
|
135
|
-
| Exposing dev preview to share | Yes | Yes |
|
|
136
|
-
| API that external services call | Yes | Yes |
|
|
137
|
-
|
|
138
|
-
**Public URL format:** `https://s{identifier}.agentuity.run`
|
|
139
|
-
|
|
140
|
-
### SSH (Remote Access)
|
|
141
|
-
|
|
142
|
-
```bash
|
|
143
|
-
# SSH into deployed projects
|
|
144
|
-
agentuity cloud ssh # Current project
|
|
145
|
-
agentuity cloud ssh proj_abc123 # Specific project
|
|
146
|
-
agentuity cloud ssh proj_abc123 'tail -f /var/log/app.log' # Run command
|
|
147
|
-
|
|
148
|
-
# SSH into sandboxes
|
|
149
|
-
agentuity cloud ssh sbx_abc123 # Interactive shell
|
|
150
|
-
|
|
151
|
-
# File transfer
|
|
152
|
-
agentuity cloud scp upload ./config.json --identifier=proj_abc123
|
|
153
|
-
agentuity cloud scp download /var/log/app.log --identifier=deploy_abc123
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
### Database (Postgres)
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
agentuity cloud db create <name> [--description "<text>"] --json
|
|
160
|
-
agentuity cloud db list --json
|
|
161
|
-
agentuity cloud db sql <name> "<query>" --json
|
|
162
|
-
agentuity cloud db delete <name> --json
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
---
|
|
166
|
-
|
|
167
|
-
## Deployment Commands
|
|
168
|
-
|
|
169
|
-
```bash
|
|
170
|
-
# Deploy current project
|
|
171
|
-
agentuity deploy
|
|
172
|
-
|
|
173
|
-
# Deploy with specific environment
|
|
174
|
-
agentuity deploy --env production
|
|
175
|
-
|
|
176
|
-
# List deployments
|
|
177
|
-
agentuity cloud deployment list --json
|
|
178
|
-
|
|
179
|
-
# Get deployment details
|
|
180
|
-
agentuity cloud deployment get <deploymentId> --json
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
## Project Configuration
|
|
184
|
-
|
|
185
|
-
### agentuity.json
|
|
186
|
-
|
|
187
|
-
```json
|
|
188
|
-
{
|
|
189
|
-
"projectId": "proj_abc123",
|
|
190
|
-
"orgId": "org_xyz",
|
|
191
|
-
"region": "use"
|
|
192
|
-
}
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
### CLI Profile (~/.config/agentuity/production.yaml)
|
|
196
|
-
|
|
197
|
-
Contains `orgId` from `preferences.orgId` — used as fallback when `agentuity.json` doesn't have orgId.
|
|
41
|
+
| Purpose | Command |
|
|
42
|
+
| ---------------- | -------------------------------- |
|
|
43
|
+
| Create project | `agentuity create` |
|
|
44
|
+
| Start dev server | `agentuity dev` or `bun run dev` |
|
|
45
|
+
| Deploy | `agentuity deploy` |
|
|
46
|
+
| Check auth | `agentuity auth whoami` |
|
|
47
|
+
| List regions | `agentuity region list` |
|
|
48
|
+
| Get help | `agentuity <command> --help` |
|
|
49
|
+
| Full CLI schema | `agentuity ai schema show` |
|
|
50
|
+
| Migrate to v2 | `npx @agentuity/migrate` |
|
|
51
|
+
|
|
52
|
+
## Cloud Services
|
|
53
|
+
|
|
54
|
+
| Service | CLI Prefix | Documentation |
|
|
55
|
+
| -------------- | -------------------------- | ---------------------------------------------------- |
|
|
56
|
+
| KV Storage | `agentuity cloud kv` | https://agentuity.dev/reference/cli/storage.md |
|
|
57
|
+
| Vector Search | `agentuity cloud vector` | https://agentuity.dev/reference/cli/storage.md |
|
|
58
|
+
| Object Storage | `agentuity cloud storage` | https://agentuity.dev/reference/cli/storage.md |
|
|
59
|
+
| Sandbox | `agentuity cloud sandbox` | https://agentuity.dev/reference/cli/sandbox.md |
|
|
60
|
+
| Database | `agentuity cloud db` | https://agentuity.dev/services/database.md |
|
|
61
|
+
| SSH | `agentuity cloud ssh` | https://agentuity.dev/reference/cli/debugging.md |
|
|
62
|
+
| Deployments | `agentuity deploy` | https://agentuity.dev/reference/cli/deployment.md |
|
|
63
|
+
|
|
64
|
+
## Documentation Links
|
|
65
|
+
|
|
66
|
+
| Topic | Link |
|
|
67
|
+
| ------------------ | -------------------------------------------------------- |
|
|
68
|
+
| CLI Getting Started | https://agentuity.dev/reference/cli/getting-started.md |
|
|
69
|
+
| Build Configuration | https://agentuity.dev/reference/cli/build-configuration.md |
|
|
70
|
+
| Deployment | https://agentuity.dev/reference/cli/deployment.md |
|
|
71
|
+
| Local Development | https://agentuity.dev/reference/cli/development.md |
|
|
72
|
+
| Debugging | https://agentuity.dev/reference/cli/debugging.md |
|
|
73
|
+
| Storage Commands | https://agentuity.dev/reference/cli/storage.md |
|
|
74
|
+
| Sandbox Commands | https://agentuity.dev/reference/cli/sandbox.md |
|
|
75
|
+
| Configuration | https://agentuity.dev/reference/cli/configuration.md |
|
|
76
|
+
| Git Integration | https://agentuity.dev/reference/cli/git-integration.md |
|
|
77
|
+
| GitHub App | https://agentuity.dev/reference/github-app.md |
|
|
78
|
+
| Migration Guide | https://agentuity.dev/reference/migration-guide.md |
|
|
198
79
|
|
|
199
80
|
## Common Mistakes
|
|
200
81
|
|
|
@@ -205,3 +86,14 @@ Contains `orgId` from `preferences.orgId` — used as fallback when `agentuity.j
|
|
|
205
86
|
| Hardcoding sandbox paths as `/app` | Use `/home/agentuity` | That's the default working directory |
|
|
206
87
|
| Making up CLI flags | Run `--help` first | Flags change between versions |
|
|
207
88
|
| Fabricating deployment URLs | Read actual output | URLs are generated dynamically |
|
|
89
|
+
| Using `expect`/`yes` piping for prompts | Use `-y` or `--confirm` flag | Built-in flag support is cleaner and more reliable |
|
|
90
|
+
| Running v1 project without migrating | Run `npx @agentuity/migrate` first | v2 requires explicit agent/router wiring |
|
|
91
|
+
|
|
92
|
+
## When In Doubt, Check the Docs
|
|
93
|
+
|
|
94
|
+
If you're unsure about any CLI command, flag, or service, **check first** rather than guessing:
|
|
95
|
+
|
|
96
|
+
- Run `agentuity <command> --help` for flag details
|
|
97
|
+
- Full CLI schema: `agentuity ai schema show`
|
|
98
|
+
- Full docs: https://agentuity.dev
|
|
99
|
+
- LLM-friendly index: https://agentuity.dev/llms.txt
|