zenflo 0.11.10 → 0.11.11
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-BW7_WZAp.mjs → index-RuRkhdHV.mjs} +18 -11
- package/dist/{index-CIEIMabk.cjs → index-lz0pc3Nu.cjs} +20 -13
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/lib.cjs +1 -1
- package/dist/lib.mjs +1 -1
- package/dist/{runCCR-CQVvjom9.mjs → runCCR-f9YrjVcg.mjs} +2 -2
- package/dist/{runCCR-COQ_d0t_.cjs → runCCR-yI2Usk3n.cjs} +2 -2
- package/dist/{runCodex-CWrjFTDA.cjs → runCodex--Rj5Rs7p.cjs} +2 -2
- package/dist/{runCodex-zJRwP8WW.mjs → runCodex-BvhkEb4_.mjs} +2 -2
- package/dist/{status-DT-lQ5z3.mjs → status-B9hPQJQP.mjs} +1 -1
- package/dist/{status-a3Xws-4m.cjs → status-BuTzMjvY.cjs} +1 -1
- package/dist/{status-EIRGrJzv.mjs → status-Cqt7wcT3.mjs} +1 -1
- package/dist/{status-4hHpWyGc.mjs → status-DD8iaL7J.mjs} +1 -1
- package/dist/{status-CXWZdbyc.cjs → status-DQSBN3Po.cjs} +1 -1
- package/dist/{status-DChMScEv.cjs → status-XEH_XIYa.cjs} +1 -1
- package/dist/{types-CVUeTsiC.cjs → types-CDeFDKvi.cjs} +2 -2
- package/dist/{types-Kg2WtK0J.mjs → types-Dbv8Jp0p.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import os$1, { homedir } from 'node:os';
|
|
3
3
|
import { randomUUID, randomBytes } from 'node:crypto';
|
|
4
|
-
import { l as logger, p as projectPath, e as backoff, f as delay, R as RawJSONLinesSchema, g as AsyncLock, c as configuration, r as readDaemonState, h as clearDaemonState, d as packageJson, b as readSettings, i as readCredentials, j as encodeBase64, u as updateSettings, k as encodeBase64Url, m as decodeBase64, w as writeCredentialsLegacy, n as writeCredentialsDataKey, o as acquireDaemonLock, q as writeDaemonState, A as ApiClient, s as releaseDaemonLock, t as clearCredentials, v as clearMachineId, x as getLatestDaemonLog } from './types-
|
|
4
|
+
import { l as logger, p as projectPath, e as backoff, f as delay, R as RawJSONLinesSchema, g as AsyncLock, c as configuration, r as readDaemonState, h as clearDaemonState, d as packageJson, b as readSettings, i as readCredentials, j as encodeBase64, u as updateSettings, k as encodeBase64Url, m as decodeBase64, w as writeCredentialsLegacy, n as writeCredentialsDataKey, o as acquireDaemonLock, q as writeDaemonState, A as ApiClient, s as releaseDaemonLock, t as clearCredentials, v as clearMachineId, x as getLatestDaemonLog } from './types-Dbv8Jp0p.mjs';
|
|
5
5
|
import { spawn, execSync, execFileSync } from 'node:child_process';
|
|
6
6
|
import { resolve, join } from 'node:path';
|
|
7
7
|
import { createInterface } from 'node:readline';
|
|
@@ -871,7 +871,13 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
|
|
|
871
871
|
return chunks.join("\n");
|
|
872
872
|
}).join("\n");
|
|
873
873
|
};
|
|
874
|
-
const banner = [
|
|
874
|
+
const banner = terminalWidth < 80 || terminalHeight < 24 ? [
|
|
875
|
+
"\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557",
|
|
876
|
+
"\u2551 \u2580\u2580\u2588 \u2588\u2580\u2580 \u2588\u2580\u2588 \u2588\u2580\u2580 \u2588 \u2584\u2580\u2584 Remote Mode \u2551",
|
|
877
|
+
"\u2551 \u2588 \u2588\u2580\u2580 \u2588 \u2588 \u2588\u2580\u2580 \u2588 \u2588 \u2588 \u2551",
|
|
878
|
+
"\u2551 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580 \u2580 \u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2551",
|
|
879
|
+
"\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D"
|
|
880
|
+
] : [
|
|
875
881
|
"\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557",
|
|
876
882
|
"\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2551",
|
|
877
883
|
"\u2551 \u255A\u2550\u2550\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2551",
|
|
@@ -881,19 +887,20 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
|
|
|
881
887
|
"\u2551 \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u2551",
|
|
882
888
|
"\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D"
|
|
883
889
|
];
|
|
884
|
-
|
|
890
|
+
const bannerHeight = banner.length;
|
|
891
|
+
return /* @__PURE__ */ React.createElement(Box, { flexDirection: "column", width: terminalWidth, height: terminalHeight }, /* @__PURE__ */ React.createElement(Box, { flexDirection: "column" }, banner.map((line, i) => /* @__PURE__ */ React.createElement(Text, { key: i, color: "cyan", bold: true }, line))), /* @__PURE__ */ React.createElement(
|
|
885
892
|
Box,
|
|
886
893
|
{
|
|
887
894
|
flexDirection: "column",
|
|
888
895
|
width: terminalWidth,
|
|
889
|
-
height: terminalHeight -
|
|
896
|
+
height: terminalHeight - bannerHeight - 6,
|
|
890
897
|
borderStyle: "round",
|
|
891
898
|
borderColor: "magenta",
|
|
892
899
|
paddingX: 1,
|
|
893
900
|
overflow: "hidden"
|
|
894
901
|
},
|
|
895
|
-
/* @__PURE__ */ React.createElement(Box, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(Text, { color: "magenta", bold: true }, "\u{1F4E1}
|
|
896
|
-
/* @__PURE__ */ React.createElement(Box, { flexDirection: "column", height: terminalHeight -
|
|
902
|
+
/* @__PURE__ */ React.createElement(Box, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(Text, { color: "magenta", bold: true }, "\u{1F4E1} Live Session"), /* @__PURE__ */ React.createElement(Text, { color: "magenta", dimColor: true }, "\u2500".repeat(Math.min(terminalWidth - 4, 60)))),
|
|
903
|
+
/* @__PURE__ */ React.createElement(Box, { flexDirection: "column", height: terminalHeight - bannerHeight - 12, overflow: "hidden" }, messages.length === 0 ? /* @__PURE__ */ React.createElement(Text, { color: "gray", dimColor: true }, "Waiting for messages...") : (
|
|
897
904
|
// Show only the last messages that fit in the available space
|
|
898
905
|
messages.slice(-Math.max(1, terminalHeight - 10)).map((msg) => /* @__PURE__ */ React.createElement(Box, { key: msg.id, flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(Text, { color: getMessageColor(msg.type), dimColor: true }, formatMessage(msg))))
|
|
899
906
|
))
|
|
@@ -6309,7 +6316,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6309
6316
|
return;
|
|
6310
6317
|
} else if (subcommand === "codex") {
|
|
6311
6318
|
try {
|
|
6312
|
-
const { runCodex } = await import('./runCodex-
|
|
6319
|
+
const { runCodex } = await import('./runCodex-BvhkEb4_.mjs');
|
|
6313
6320
|
let startedBy = void 0;
|
|
6314
6321
|
for (let i = 1; i < args.length; i++) {
|
|
6315
6322
|
if (args[i] === "--started-by") {
|
|
@@ -6330,7 +6337,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6330
6337
|
return;
|
|
6331
6338
|
} else if (subcommand === "ccr" || subcommand === "glm") {
|
|
6332
6339
|
try {
|
|
6333
|
-
const { runCCR } = await import('./runCCR-
|
|
6340
|
+
const { runCCR } = await import('./runCCR-f9YrjVcg.mjs');
|
|
6334
6341
|
let startedBy = void 0;
|
|
6335
6342
|
for (let i = 1; i < args.length; i++) {
|
|
6336
6343
|
if (args[i] === "--started-by") {
|
|
@@ -6433,13 +6440,13 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6433
6440
|
let statusModule;
|
|
6434
6441
|
switch (process.platform) {
|
|
6435
6442
|
case "darwin":
|
|
6436
|
-
statusModule = await import('./status-
|
|
6443
|
+
statusModule = await import('./status-DD8iaL7J.mjs');
|
|
6437
6444
|
break;
|
|
6438
6445
|
case "win32":
|
|
6439
|
-
statusModule = await import('./status-
|
|
6446
|
+
statusModule = await import('./status-Cqt7wcT3.mjs');
|
|
6440
6447
|
break;
|
|
6441
6448
|
case "linux":
|
|
6442
|
-
statusModule = await import('./status-
|
|
6449
|
+
statusModule = await import('./status-B9hPQJQP.mjs');
|
|
6443
6450
|
break;
|
|
6444
6451
|
default:
|
|
6445
6452
|
console.error(chalk.red(`Status command not supported on platform: ${process.platform}`));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
|
-
var types = require('./types-
|
|
6
|
+
var types = require('./types-CDeFDKvi.cjs');
|
|
7
7
|
var node_child_process = require('node:child_process');
|
|
8
8
|
var node_path = require('node:path');
|
|
9
9
|
var node_readline = require('node:readline');
|
|
@@ -893,7 +893,13 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
|
|
|
893
893
|
return chunks.join("\n");
|
|
894
894
|
}).join("\n");
|
|
895
895
|
};
|
|
896
|
-
const banner = [
|
|
896
|
+
const banner = terminalWidth < 80 || terminalHeight < 24 ? [
|
|
897
|
+
"\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557",
|
|
898
|
+
"\u2551 \u2580\u2580\u2588 \u2588\u2580\u2580 \u2588\u2580\u2588 \u2588\u2580\u2580 \u2588 \u2584\u2580\u2584 Remote Mode \u2551",
|
|
899
|
+
"\u2551 \u2588 \u2588\u2580\u2580 \u2588 \u2588 \u2588\u2580\u2580 \u2588 \u2588 \u2588 \u2551",
|
|
900
|
+
"\u2551 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580 \u2580 \u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2551",
|
|
901
|
+
"\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D"
|
|
902
|
+
] : [
|
|
897
903
|
"\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557",
|
|
898
904
|
"\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2551",
|
|
899
905
|
"\u2551 \u255A\u2550\u2550\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2551",
|
|
@@ -903,19 +909,20 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
|
|
|
903
909
|
"\u2551 \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u2551",
|
|
904
910
|
"\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D"
|
|
905
911
|
];
|
|
906
|
-
|
|
912
|
+
const bannerHeight = banner.length;
|
|
913
|
+
return /* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", width: terminalWidth, height: terminalHeight }, /* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column" }, banner.map((line, i) => /* @__PURE__ */ React.createElement(ink.Text, { key: i, color: "cyan", bold: true }, line))), /* @__PURE__ */ React.createElement(
|
|
907
914
|
ink.Box,
|
|
908
915
|
{
|
|
909
916
|
flexDirection: "column",
|
|
910
917
|
width: terminalWidth,
|
|
911
|
-
height: terminalHeight -
|
|
918
|
+
height: terminalHeight - bannerHeight - 6,
|
|
912
919
|
borderStyle: "round",
|
|
913
920
|
borderColor: "magenta",
|
|
914
921
|
paddingX: 1,
|
|
915
922
|
overflow: "hidden"
|
|
916
923
|
},
|
|
917
|
-
/* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(ink.Text, { color: "magenta", bold: true }, "\u{1F4E1}
|
|
918
|
-
/* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", height: terminalHeight -
|
|
924
|
+
/* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(ink.Text, { color: "magenta", bold: true }, "\u{1F4E1} Live Session"), /* @__PURE__ */ React.createElement(ink.Text, { color: "magenta", dimColor: true }, "\u2500".repeat(Math.min(terminalWidth - 4, 60)))),
|
|
925
|
+
/* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", height: terminalHeight - bannerHeight - 12, overflow: "hidden" }, messages.length === 0 ? /* @__PURE__ */ React.createElement(ink.Text, { color: "gray", dimColor: true }, "Waiting for messages...") : (
|
|
919
926
|
// Show only the last messages that fit in the available space
|
|
920
927
|
messages.slice(-Math.max(1, terminalHeight - 10)).map((msg) => /* @__PURE__ */ React.createElement(ink.Box, { key: msg.id, flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(ink.Text, { color: getMessageColor(msg.type), dimColor: true }, formatMessage(msg))))
|
|
921
928
|
))
|
|
@@ -1031,7 +1038,7 @@ class AbortError extends Error {
|
|
|
1031
1038
|
}
|
|
1032
1039
|
}
|
|
1033
1040
|
|
|
1034
|
-
const __filename$2 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
1041
|
+
const __filename$2 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-lz0pc3Nu.cjs', document.baseURI).href)));
|
|
1035
1042
|
const __dirname$2 = node_path.join(__filename$2, "..");
|
|
1036
1043
|
function getDefaultClaudeCodePath() {
|
|
1037
1044
|
return node_path.join(__dirname$2, "..", "..", "..", "node_modules", "@anthropic-ai", "claude-code", "cli.js");
|
|
@@ -5050,7 +5057,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
5050
5057
|
process.exit(0);
|
|
5051
5058
|
}
|
|
5052
5059
|
|
|
5053
|
-
const __filename$1 = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
5060
|
+
const __filename$1 = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-lz0pc3Nu.cjs', document.baseURI).href)));
|
|
5054
5061
|
const __dirname$1 = path.dirname(__filename$1);
|
|
5055
5062
|
const PLIST_LABEL$1 = "com.zenflo.daemon";
|
|
5056
5063
|
const LAUNCH_AGENTS_DIR$1 = path.join(os$1.homedir(), "Library", "LaunchAgents");
|
|
@@ -6331,7 +6338,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6331
6338
|
return;
|
|
6332
6339
|
} else if (subcommand === "codex") {
|
|
6333
6340
|
try {
|
|
6334
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex
|
|
6341
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex--Rj5Rs7p.cjs'); });
|
|
6335
6342
|
let startedBy = void 0;
|
|
6336
6343
|
for (let i = 1; i < args.length; i++) {
|
|
6337
6344
|
if (args[i] === "--started-by") {
|
|
@@ -6352,7 +6359,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6352
6359
|
return;
|
|
6353
6360
|
} else if (subcommand === "ccr" || subcommand === "glm") {
|
|
6354
6361
|
try {
|
|
6355
|
-
const { runCCR } = await Promise.resolve().then(function () { return require('./runCCR-
|
|
6362
|
+
const { runCCR } = await Promise.resolve().then(function () { return require('./runCCR-yI2Usk3n.cjs'); });
|
|
6356
6363
|
let startedBy = void 0;
|
|
6357
6364
|
for (let i = 1; i < args.length; i++) {
|
|
6358
6365
|
if (args[i] === "--started-by") {
|
|
@@ -6455,13 +6462,13 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6455
6462
|
let statusModule;
|
|
6456
6463
|
switch (process.platform) {
|
|
6457
6464
|
case "darwin":
|
|
6458
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6465
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-XEH_XIYa.cjs'); });
|
|
6459
6466
|
break;
|
|
6460
6467
|
case "win32":
|
|
6461
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6468
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-BuTzMjvY.cjs'); });
|
|
6462
6469
|
break;
|
|
6463
6470
|
case "linux":
|
|
6464
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6471
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-DQSBN3Po.cjs'); });
|
|
6465
6472
|
break;
|
|
6466
6473
|
default:
|
|
6467
6474
|
console.error(chalk.red(`Status command not supported on platform: ${process.platform}`));
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
package/dist/lib.cjs
CHANGED
package/dist/lib.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-
|
|
1
|
+
export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-Dbv8Jp0p.mjs';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'chalk';
|
|
4
4
|
import 'fs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as runClaude } from './index-
|
|
2
|
-
import { l as logger } from './types-
|
|
1
|
+
import { r as runClaude } from './index-RuRkhdHV.mjs';
|
|
2
|
+
import { l as logger } from './types-Dbv8Jp0p.mjs';
|
|
3
3
|
import { execSync } from 'node:child_process';
|
|
4
4
|
import 'chalk';
|
|
5
5
|
import 'node:os';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var types = require('./types-
|
|
3
|
+
var index = require('./index-lz0pc3Nu.cjs');
|
|
4
|
+
var types = require('./types-CDeFDKvi.cjs');
|
|
5
5
|
var node_child_process = require('node:child_process');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('node:os');
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var ink = require('ink');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var types = require('./types-
|
|
5
|
+
var types = require('./types-CDeFDKvi.cjs');
|
|
6
6
|
var index_js = require('@modelcontextprotocol/sdk/client/index.js');
|
|
7
7
|
var stdio_js = require('@modelcontextprotocol/sdk/client/stdio.js');
|
|
8
8
|
var z = require('zod');
|
|
9
9
|
var types_js = require('@modelcontextprotocol/sdk/types.js');
|
|
10
10
|
var child_process = require('child_process');
|
|
11
11
|
var node_crypto = require('node:crypto');
|
|
12
|
-
var index = require('./index-
|
|
12
|
+
var index = require('./index-lz0pc3Nu.cjs');
|
|
13
13
|
var os = require('node:os');
|
|
14
14
|
var node_path = require('node:path');
|
|
15
15
|
var fs = require('node:fs');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
2
2
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
3
|
-
import { l as logger, A as ApiClient, b as readSettings, p as projectPath, c as configuration, d as packageJson } from './types-
|
|
3
|
+
import { l as logger, A as ApiClient, b as readSettings, p as projectPath, c as configuration, d as packageJson } from './types-Dbv8Jp0p.mjs';
|
|
4
4
|
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
|
|
5
5
|
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { ElicitRequestSchema } from '@modelcontextprotocol/sdk/types.js';
|
|
8
8
|
import { execSync } from 'child_process';
|
|
9
9
|
import { randomUUID } from 'node:crypto';
|
|
10
|
-
import { i as initialMachineMetadata, n as notifyDaemonSessionStarted, M as MessageQueue2, h as hashObject, a as registerKillSessionHandler, b as MessageBuffer, s as startZenfloServer, t as trimIdent, c as stopCaffeinate } from './index-
|
|
10
|
+
import { i as initialMachineMetadata, n as notifyDaemonSessionStarted, M as MessageQueue2, h as hashObject, a as registerKillSessionHandler, b as MessageBuffer, s as startZenfloServer, t as trimIdent, c as stopCaffeinate } from './index-RuRkhdHV.mjs';
|
|
11
11
|
import os from 'node:os';
|
|
12
12
|
import { resolve, join } from 'node:path';
|
|
13
13
|
import fs from 'node:fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync } from 'fs';
|
|
2
2
|
import { execSync } from 'child_process';
|
|
3
|
-
import { r as readDaemonState, l as logger } from './types-
|
|
3
|
+
import { r as readDaemonState, l as logger } from './types-Dbv8Jp0p.mjs';
|
|
4
4
|
import os from 'os';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import chalk from 'chalk';
|
|
@@ -3,7 +3,7 @@ import { execSync } from 'child_process';
|
|
|
3
3
|
import os from 'os';
|
|
4
4
|
import path from 'path';
|
|
5
5
|
import chalk from 'chalk';
|
|
6
|
-
import { r as readDaemonState } from './types-
|
|
6
|
+
import { r as readDaemonState } from './types-Dbv8Jp0p.mjs';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'node:fs';
|
|
9
9
|
import 'node:os';
|
|
@@ -5,7 +5,7 @@ var child_process = require('child_process');
|
|
|
5
5
|
var os = require('os');
|
|
6
6
|
var path = require('path');
|
|
7
7
|
var chalk = require('chalk');
|
|
8
|
-
var types = require('./types-
|
|
8
|
+
var types = require('./types-CDeFDKvi.cjs');
|
|
9
9
|
require('axios');
|
|
10
10
|
require('node:fs');
|
|
11
11
|
require('node:os');
|
|
@@ -42,7 +42,7 @@ function _interopNamespaceDefault(e) {
|
|
|
42
42
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
43
43
|
|
|
44
44
|
var name = "zenflo";
|
|
45
|
-
var version = "0.11.
|
|
45
|
+
var version = "0.11.11";
|
|
46
46
|
var description = "Mobile and Web client for Claude Code and Codex - ZenFlo edition";
|
|
47
47
|
var author = "Combined Memory";
|
|
48
48
|
var license = "MIT";
|
|
@@ -1019,7 +1019,7 @@ class RpcHandlerManager {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
|
-
const __dirname$1 = path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-
|
|
1022
|
+
const __dirname$1 = path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-CDeFDKvi.cjs', document.baseURI).href))));
|
|
1023
1023
|
function projectPath() {
|
|
1024
1024
|
const path$1 = path.resolve(__dirname$1, "..");
|
|
1025
1025
|
return path$1;
|
|
@@ -21,7 +21,7 @@ import { platform } from 'os';
|
|
|
21
21
|
import { Expo } from 'expo-server-sdk';
|
|
22
22
|
|
|
23
23
|
var name = "zenflo";
|
|
24
|
-
var version = "0.11.
|
|
24
|
+
var version = "0.11.11";
|
|
25
25
|
var description = "Mobile and Web client for Claude Code and Codex - ZenFlo edition";
|
|
26
26
|
var author = "Combined Memory";
|
|
27
27
|
var license = "MIT";
|