@kokorolx/ai-sandbox-wrapper 3.4.2 → 3.4.3
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/bin/cli.js +5 -4
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ const readline = require('readline');
|
|
|
8
8
|
|
|
9
9
|
const args = process.argv.slice(2);
|
|
10
10
|
const packageRoot = path.resolve(__dirname, '..');
|
|
11
|
-
const flags = { noCache: args.includes('--no-cache') };
|
|
11
|
+
const flags = { noCache: args.includes('--no-cache') || args.includes('--fresh') };
|
|
12
12
|
const positionalArgs = args.filter(arg => !arg.startsWith('--'));
|
|
13
13
|
const command = positionalArgs[0];
|
|
14
14
|
|
|
@@ -21,7 +21,7 @@ Usage:
|
|
|
21
21
|
|
|
22
22
|
Commands:
|
|
23
23
|
setup Run interactive setup (configure workspaces, select tools)
|
|
24
|
-
rebuild
|
|
24
|
+
rebuild [--fresh] Rebuild Docker image using existing config (no menu required)
|
|
25
25
|
update Interactive menu to manage config (workspaces, git, networks)
|
|
26
26
|
clean Interactive cleanup for caches/configs
|
|
27
27
|
clean cache [type] Clear shared package caches (npm, bun, pip, playwright-browsers)
|
|
@@ -45,7 +45,8 @@ Commands:
|
|
|
45
45
|
help Show this help message
|
|
46
46
|
|
|
47
47
|
Options:
|
|
48
|
-
--
|
|
48
|
+
--fresh Build Docker image without using layer cache (full rebuild)
|
|
49
|
+
--no-cache Alias for --fresh (note: use --fresh when running via npx)
|
|
49
50
|
--json Output in JSON format (for config show)
|
|
50
51
|
--global Apply to global scope (for network commands)
|
|
51
52
|
--workspace Apply to specific workspace (for network commands)
|
|
@@ -53,7 +54,7 @@ Options:
|
|
|
53
54
|
Examples:
|
|
54
55
|
npx @kokorolx/ai-sandbox-wrapper setup
|
|
55
56
|
npx @kokorolx/ai-sandbox-wrapper rebuild
|
|
56
|
-
npx @kokorolx/ai-sandbox-wrapper rebuild --
|
|
57
|
+
npx @kokorolx/ai-sandbox-wrapper rebuild --fresh
|
|
57
58
|
npx @kokorolx/ai-sandbox-wrapper update
|
|
58
59
|
npx @kokorolx/ai-sandbox-wrapper config show --json
|
|
59
60
|
npx @kokorolx/ai-sandbox-wrapper config tool claude
|
package/package.json
CHANGED