@botbuddy/cli 1.4.2 → 1.5.1
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/package.json +3 -2
- package/src/commands.mjs +7 -0
- package/src/docker-hygiene.mjs +1062 -0
- package/src/run.mjs +5 -1
- package/src/stack-file-lock.mjs +180 -0
- package/src/stack.mjs +257 -36
- package/src/auth.test.mjs +0 -404
- package/src/discovery.test.mjs +0 -195
- package/src/locks.test.mjs +0 -60
- package/src/profile-bootstrap.test.mjs +0 -205
- package/src/publish-equal.test.mjs +0 -176
- package/src/publish-workflow.test.mjs +0 -122
- package/src/quiet-runner.test.mjs +0 -109
- package/src/run.test.mjs +0 -173
- package/src/stack.test.mjs +0 -434
- package/src/wait-profile.test.mjs +0 -30
- package/src/wait.test.mjs +0 -266
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botbuddy/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "BotBuddy — Swarm coordination CLI for multi-agent workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin/",
|
|
11
|
-
"src/"
|
|
11
|
+
"src/",
|
|
12
|
+
"!src/**/*.test.mjs"
|
|
12
13
|
],
|
|
13
14
|
"keywords": [
|
|
14
15
|
"mcp",
|
package/src/commands.mjs
CHANGED
|
@@ -5,6 +5,7 @@ import { loadConfig, getConfig, clearConfig, saveConfig, getConfigPath, SERVER_U
|
|
|
5
5
|
import { buildAcquireResourcesPayload, LocksUsageError } from "./locks.mjs";
|
|
6
6
|
import { CallUsageError, discoveryUrlFor, formatDiscovery, parseCallArgs } from "./discovery.mjs";
|
|
7
7
|
import { cmdStack } from "./stack.mjs";
|
|
8
|
+
import { cmdDocker } from "./docker-hygiene.mjs";
|
|
8
9
|
import { cmdRun } from "./run.mjs";
|
|
9
10
|
import { runWait } from "./wait.mjs";
|
|
10
11
|
import { green, red, cyan, dim, bold, die } from "./utils.mjs";
|
|
@@ -28,6 +29,7 @@ export async function run(argv) {
|
|
|
28
29
|
case "unlock": return cmdUnlock(args);
|
|
29
30
|
// BOT-1220: batch-scoped local stack leases (request/park/status/touch/done).
|
|
30
31
|
case "stack": return cmdStack(args);
|
|
32
|
+
case "docker": return cmdDocker(args);
|
|
31
33
|
case "run": return cmdRun(args);
|
|
32
34
|
case "wait": return runWait(args);
|
|
33
35
|
case "profile": return cmdProfile(args);
|
|
@@ -86,6 +88,11 @@ ${bold("STACK LEASES")}
|
|
|
86
88
|
stack done <lease_id> Release (done) a lease — reap the stack
|
|
87
89
|
stack help Full stack usage + exit codes
|
|
88
90
|
|
|
91
|
+
${bold("DOCKER HYGIENE")}
|
|
92
|
+
docker hygiene [options] Dry-run/apply safe stale Supabase cleanup on OrbStack
|
|
93
|
+
docker preflight [options] Refuse a managed-stack start before network pressure exhausts the host
|
|
94
|
+
docker help Full explicit-context safety contract
|
|
95
|
+
|
|
89
96
|
${bold("DURABLE WORKLOADS")}
|
|
90
97
|
run --session-id <id> --environment <env> -- <command>
|
|
91
98
|
Launch a receipt-bearing command under a detached owner
|