@madarco/agentbox 0.4.0 → 0.4.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/dist/{chunk-3JKQNOXP.js → chunk-FQD6ZWYW.js} +3 -3
- package/dist/{chunk-MOC54XL6.js → chunk-NSIECUCS.js} +28 -4
- package/dist/chunk-NSIECUCS.js.map +1 -0
- package/dist/{chunk-3NCUES35.js → chunk-WR5FFGE5.js} +3 -3
- package/dist/{create-SE6H4B5U-IWAZHJHV.js → create-4BQY2UYU-CGSW3RGE.js} +3 -3
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/{lifecycle-YTMZYKOE-TD5S5FTS.js → lifecycle-LURNDNYO-UWQYPNPX.js} +3 -3
- package/package.json +3 -3
- package/runtime/docker/Dockerfile.box +6 -1
- package/dist/chunk-MOC54XL6.js.map +0 -1
- /package/dist/{chunk-3JKQNOXP.js.map → chunk-FQD6ZWYW.js.map} +0 -0
- /package/dist/{chunk-3NCUES35.js.map → chunk-WR5FFGE5.js.map} +0 -0
- /package/dist/{create-SE6H4B5U-IWAZHJHV.js.map → create-4BQY2UYU-CGSW3RGE.js.map} +0 -0
- /package/dist/{lifecycle-YTMZYKOE-TD5S5FTS.js.map → lifecycle-LURNDNYO-UWQYPNPX.js.map} +0 -0
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
removeBoxWorktree,
|
|
26
26
|
verifyOverlay,
|
|
27
27
|
vscodeServerVolumeName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NSIECUCS.js";
|
|
29
29
|
import {
|
|
30
30
|
findBox,
|
|
31
31
|
readState,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
volumeExists
|
|
57
57
|
} from "./chunk-SOMIKEN2.js";
|
|
58
58
|
|
|
59
|
-
// ../../packages/sandbox-docker/dist/chunk-
|
|
59
|
+
// ../../packages/sandbox-docker/dist/chunk-6N6PI6KX.js
|
|
60
60
|
import { execa } from "execa";
|
|
61
61
|
import { readdir, rm, stat } from "fs/promises";
|
|
62
62
|
import { join as join2 } from "path";
|
|
@@ -519,4 +519,4 @@ export {
|
|
|
519
519
|
pruneBoxes,
|
|
520
520
|
snapshotPresent
|
|
521
521
|
};
|
|
522
|
-
//# sourceMappingURL=chunk-
|
|
522
|
+
//# sourceMappingURL=chunk-FQD6ZWYW.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
volumeExists
|
|
10
10
|
} from "./chunk-SOMIKEN2.js";
|
|
11
11
|
|
|
12
|
-
// ../../packages/sandbox-docker/dist/chunk-
|
|
12
|
+
// ../../packages/sandbox-docker/dist/chunk-NY7PB7KY.js
|
|
13
13
|
import { spawnSync } from "child_process";
|
|
14
14
|
import { mkdir, mkdtemp, readdir, readFile, rm, stat, writeFile } from "fs/promises";
|
|
15
15
|
import { homedir, tmpdir } from "os";
|
|
@@ -41,7 +41,7 @@ var RELAY_NETWORK_NAME = "agentbox-net";
|
|
|
41
41
|
var RELAY_IMAGE_REF = "agentbox/relay:dev";
|
|
42
42
|
var MAX_BODY_BYTES = 1024 * 1024;
|
|
43
43
|
|
|
44
|
-
// ../../packages/sandbox-docker/dist/chunk-
|
|
44
|
+
// ../../packages/sandbox-docker/dist/chunk-NY7PB7KY.js
|
|
45
45
|
function isHostPathHookCommand(command, hostHome) {
|
|
46
46
|
if (typeof command !== "string" || command.length === 0) return false;
|
|
47
47
|
if (hostHome.length === 0) return false;
|
|
@@ -664,6 +664,30 @@ function buildClaudeStatusBarArgs(sessionName, boxName) {
|
|
|
664
664
|
const s = sessionName;
|
|
665
665
|
const name = boxName;
|
|
666
666
|
return [
|
|
667
|
+
// Server-global (no -t): remap prefix Ctrl-b -> Ctrl+a, bind `q` to detach
|
|
668
|
+
// so Ctrl+a q matches the dashboard's quit chord. `send-prefix` makes a
|
|
669
|
+
// double Ctrl+a reach Claude as a literal Ctrl+a.
|
|
670
|
+
";",
|
|
671
|
+
"set",
|
|
672
|
+
"-g",
|
|
673
|
+
"prefix",
|
|
674
|
+
"C-a",
|
|
675
|
+
";",
|
|
676
|
+
"set",
|
|
677
|
+
"-g",
|
|
678
|
+
"prefix2",
|
|
679
|
+
"None",
|
|
680
|
+
";",
|
|
681
|
+
"unbind-key",
|
|
682
|
+
"C-b",
|
|
683
|
+
";",
|
|
684
|
+
"bind-key",
|
|
685
|
+
"C-a",
|
|
686
|
+
"send-prefix",
|
|
687
|
+
";",
|
|
688
|
+
"bind-key",
|
|
689
|
+
"q",
|
|
690
|
+
"detach-client",
|
|
667
691
|
";",
|
|
668
692
|
"set",
|
|
669
693
|
"-t",
|
|
@@ -705,7 +729,7 @@ function buildClaudeStatusBarArgs(sessionName, boxName) {
|
|
|
705
729
|
"-t",
|
|
706
730
|
s,
|
|
707
731
|
"status-right",
|
|
708
|
-
"#[fg=colour245]
|
|
732
|
+
"#[fg=colour255]Control+a q#[fg=colour245]: detach ",
|
|
709
733
|
";",
|
|
710
734
|
"set",
|
|
711
735
|
"-t",
|
|
@@ -2212,4 +2236,4 @@ export {
|
|
|
2212
2236
|
ConfigError,
|
|
2213
2237
|
loadConfig
|
|
2214
2238
|
};
|
|
2215
|
-
//# sourceMappingURL=chunk-
|
|
2239
|
+
//# sourceMappingURL=chunk-NSIECUCS.js.map
|