@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
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
createBox,
|
|
4
4
|
defaultBoxName,
|
|
5
5
|
sanitizeBasename
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WR5FFGE5.js";
|
|
7
|
+
import "./chunk-NSIECUCS.js";
|
|
8
8
|
import "./chunk-IDR4HVIC.js";
|
|
9
9
|
import "./chunk-SOMIKEN2.js";
|
|
10
10
|
export {
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
defaultBoxName,
|
|
13
13
|
sanitizeBasename
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=create-
|
|
15
|
+
//# sourceMappingURL=create-4BQY2UYU-CGSW3RGE.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createBox
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WR5FFGE5.js";
|
|
5
5
|
import {
|
|
6
6
|
AmbiguousBoxError,
|
|
7
7
|
BoxNotFoundError,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
startBox,
|
|
17
17
|
stopBox,
|
|
18
18
|
unpauseBox
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FQD6ZWYW.js";
|
|
20
20
|
import {
|
|
21
21
|
ClaudeSessionError,
|
|
22
22
|
SHARED_CLAUDE_VOLUME,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveClaudeVolume,
|
|
39
39
|
startClaudeSession,
|
|
40
40
|
stopRelay
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NSIECUCS.js";
|
|
42
42
|
import {
|
|
43
43
|
STATE_DIR,
|
|
44
44
|
readState,
|
|
@@ -653,7 +653,7 @@ var claudeCommand = new Command2("claude").description("Create a sandboxed box a
|
|
|
653
653
|
log5.warn(`plugin install failed for ${f.dir}; claude may still load it. stderr:
|
|
654
654
|
${f.stderr.trim()}`);
|
|
655
655
|
}
|
|
656
|
-
outro("attaching \u2014
|
|
656
|
+
outro("attaching \u2014 Control+a q to detach, leaves claude running");
|
|
657
657
|
attachClaudeSession(result.record.container, sessionName, reattachRef(result.record));
|
|
658
658
|
} catch (err) {
|
|
659
659
|
s.stop("failed");
|
|
@@ -679,7 +679,7 @@ async function startOrAttachClaude(box, claudeArgs, opts) {
|
|
|
679
679
|
}
|
|
680
680
|
const existing = await claudeSessionInfo(box.container, sessionName);
|
|
681
681
|
if (existing.running) {
|
|
682
|
-
outro(`session "${sessionName}" already running \u2014 attaching (
|
|
682
|
+
outro(`session "${sessionName}" already running \u2014 attaching (Control+a q to detach)`);
|
|
683
683
|
attachClaudeSession(box.container, sessionName, reattachRef(box));
|
|
684
684
|
return;
|
|
685
685
|
}
|
|
@@ -722,7 +722,7 @@ async function startOrAttachClaude(box, claudeArgs, opts) {
|
|
|
722
722
|
log5.warn(`plugin install failed for ${f.dir}; claude may still load it. stderr:
|
|
723
723
|
${f.stderr.trim()}`);
|
|
724
724
|
}
|
|
725
|
-
outro("attaching \u2014
|
|
725
|
+
outro("attaching \u2014 Control+a q to detach, leaves claude running");
|
|
726
726
|
attachClaudeSession(box.container, sessionName, reattachRef(box));
|
|
727
727
|
}
|
|
728
728
|
var claudeAttachCommand = new Command2("attach").description(
|