ragent-cli 1.3.0 → 1.3.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/index.js +12 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var require_package = __commonJS({
|
|
|
31
31
|
"package.json"(exports2, module2) {
|
|
32
32
|
module2.exports = {
|
|
33
33
|
name: "ragent-cli",
|
|
34
|
-
version: "1.3.
|
|
34
|
+
version: "1.3.1",
|
|
35
35
|
description: "CLI agent for rAgent Live \u2014 browser-first terminal control plane for AI coding agents",
|
|
36
36
|
main: "dist/index.js",
|
|
37
37
|
bin: {
|
|
@@ -1275,7 +1275,17 @@ var SessionStreamer = class {
|
|
|
1275
1275
|
const cleanEnv = { ...process.env };
|
|
1276
1276
|
delete cleanEnv.TMUX;
|
|
1277
1277
|
delete cleanEnv.TMUX_PANE;
|
|
1278
|
-
const
|
|
1278
|
+
const streamsBase = (0, import_node_path.join)((0, import_node_os.homedir)(), ".config", "ragent", "streams");
|
|
1279
|
+
try {
|
|
1280
|
+
(0, import_node_fs.mkdirSync)(streamsBase, { recursive: true });
|
|
1281
|
+
} catch {
|
|
1282
|
+
}
|
|
1283
|
+
let tmpDir;
|
|
1284
|
+
try {
|
|
1285
|
+
tmpDir = (0, import_node_fs.mkdtempSync)((0, import_node_path.join)(streamsBase, "s-"));
|
|
1286
|
+
} catch {
|
|
1287
|
+
tmpDir = (0, import_node_fs.mkdtempSync)((0, import_node_path.join)((0, import_node_os.tmpdir)(), "ragent-stream-"));
|
|
1288
|
+
}
|
|
1279
1289
|
const fifoPath = (0, import_node_path.join)(tmpDir, "pane.fifo");
|
|
1280
1290
|
(0, import_node_child_process3.execFileSync)("mkfifo", ["-m", "600", fifoPath]);
|
|
1281
1291
|
const stream = {
|