zenflo 0.11.11 → 0.11.13
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-RuRkhdHV.mjs → index-D9oyYKHu.mjs} +12 -19
- package/dist/{index-lz0pc3Nu.cjs → index-DNKj7mt9.cjs} +14 -21
- 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-f9YrjVcg.mjs → runCCR-Bo1eLhPc.mjs} +2 -2
- package/dist/{runCCR-yI2Usk3n.cjs → runCCR-DhRQsCOj.cjs} +2 -2
- package/dist/{runCodex-BvhkEb4_.mjs → runCodex-BCuuyueY.mjs} +2 -2
- package/dist/{runCodex--Rj5Rs7p.cjs → runCodex-u0z7fH4A.cjs} +2 -2
- package/dist/{status-DQSBN3Po.cjs → status-B6k9dqE6.cjs} +1 -1
- package/dist/{status-DD8iaL7J.mjs → status-CELKa2c5.mjs} +1 -1
- package/dist/{status-XEH_XIYa.cjs → status-CefdECyQ.cjs} +1 -1
- package/dist/{status-B9hPQJQP.mjs → status-ClfrMYgD.mjs} +1 -1
- package/dist/{status-BuTzMjvY.cjs → status-DAZGbtfL.cjs} +1 -1
- package/dist/{status-Cqt7wcT3.mjs → status-PnDs-cyp.mjs} +1 -1
- package/dist/{types-Dbv8Jp0p.mjs → types-CHW3ugCh.mjs} +1 -1
- package/dist/{types-CDeFDKvi.cjs → types-CadZ9uUS.cjs} +2 -2
- 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-CHW3ugCh.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,13 +871,7 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
|
|
|
871
871
|
return chunks.join("\n");
|
|
872
872
|
}).join("\n");
|
|
873
873
|
};
|
|
874
|
-
const banner =
|
|
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
|
-
] : [
|
|
874
|
+
const banner = [
|
|
881
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\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557",
|
|
882
876
|
"\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",
|
|
883
877
|
"\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",
|
|
@@ -887,20 +881,19 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
|
|
|
887
881
|
"\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",
|
|
888
882
|
"\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"
|
|
889
883
|
];
|
|
890
|
-
|
|
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(
|
|
884
|
+
return /* @__PURE__ */ React.createElement(Box, { flexDirection: "column", width: terminalWidth, height: terminalHeight }, /* @__PURE__ */ React.createElement(Box, { flexDirection: "column", marginBottom: 1 }, banner.map((line, i) => /* @__PURE__ */ React.createElement(Text, { key: i, color: "cyan", bold: true }, line))), /* @__PURE__ */ React.createElement(
|
|
892
885
|
Box,
|
|
893
886
|
{
|
|
894
887
|
flexDirection: "column",
|
|
895
888
|
width: terminalWidth,
|
|
896
|
-
height: terminalHeight -
|
|
889
|
+
height: terminalHeight - 14,
|
|
897
890
|
borderStyle: "round",
|
|
898
891
|
borderColor: "magenta",
|
|
899
892
|
paddingX: 1,
|
|
900
893
|
overflow: "hidden"
|
|
901
894
|
},
|
|
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 -
|
|
895
|
+
/* @__PURE__ */ React.createElement(Box, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(Text, { color: "magenta", bold: true }, "\u{1F4E1} Remote Mode - Live Session"), /* @__PURE__ */ React.createElement(Text, { color: "magenta", dimColor: true }, "\u2500".repeat(Math.min(terminalWidth - 4, 60)))),
|
|
896
|
+
/* @__PURE__ */ React.createElement(Box, { flexDirection: "column", height: terminalHeight - 10, overflow: "hidden" }, messages.length === 0 ? /* @__PURE__ */ React.createElement(Text, { color: "gray", dimColor: true }, "Waiting for messages...") : (
|
|
904
897
|
// Show only the last messages that fit in the available space
|
|
905
898
|
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))))
|
|
906
899
|
))
|
|
@@ -4390,7 +4383,7 @@ async function startDaemon() {
|
|
|
4390
4383
|
}
|
|
4391
4384
|
const args = [
|
|
4392
4385
|
options.agent || "claude",
|
|
4393
|
-
// Use the agent directly (claude, codex, qwen, gemini)
|
|
4386
|
+
// Use the agent directly (claude, codex, qwen, gemini, ccr)
|
|
4394
4387
|
"--zenflo-starting-mode",
|
|
4395
4388
|
"remote",
|
|
4396
4389
|
"--started-by",
|
|
@@ -6316,7 +6309,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6316
6309
|
return;
|
|
6317
6310
|
} else if (subcommand === "codex") {
|
|
6318
6311
|
try {
|
|
6319
|
-
const { runCodex } = await import('./runCodex-
|
|
6312
|
+
const { runCodex } = await import('./runCodex-BCuuyueY.mjs');
|
|
6320
6313
|
let startedBy = void 0;
|
|
6321
6314
|
for (let i = 1; i < args.length; i++) {
|
|
6322
6315
|
if (args[i] === "--started-by") {
|
|
@@ -6337,7 +6330,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6337
6330
|
return;
|
|
6338
6331
|
} else if (subcommand === "ccr" || subcommand === "glm") {
|
|
6339
6332
|
try {
|
|
6340
|
-
const { runCCR } = await import('./runCCR-
|
|
6333
|
+
const { runCCR } = await import('./runCCR-Bo1eLhPc.mjs');
|
|
6341
6334
|
let startedBy = void 0;
|
|
6342
6335
|
for (let i = 1; i < args.length; i++) {
|
|
6343
6336
|
if (args[i] === "--started-by") {
|
|
@@ -6440,13 +6433,13 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6440
6433
|
let statusModule;
|
|
6441
6434
|
switch (process.platform) {
|
|
6442
6435
|
case "darwin":
|
|
6443
|
-
statusModule = await import('./status-
|
|
6436
|
+
statusModule = await import('./status-CELKa2c5.mjs');
|
|
6444
6437
|
break;
|
|
6445
6438
|
case "win32":
|
|
6446
|
-
statusModule = await import('./status-
|
|
6439
|
+
statusModule = await import('./status-PnDs-cyp.mjs');
|
|
6447
6440
|
break;
|
|
6448
6441
|
case "linux":
|
|
6449
|
-
statusModule = await import('./status-
|
|
6442
|
+
statusModule = await import('./status-ClfrMYgD.mjs');
|
|
6450
6443
|
break;
|
|
6451
6444
|
default:
|
|
6452
6445
|
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-CadZ9uUS.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,13 +893,7 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
|
|
|
893
893
|
return chunks.join("\n");
|
|
894
894
|
}).join("\n");
|
|
895
895
|
};
|
|
896
|
-
const banner =
|
|
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
|
-
] : [
|
|
896
|
+
const banner = [
|
|
903
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\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557",
|
|
904
898
|
"\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",
|
|
905
899
|
"\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",
|
|
@@ -909,20 +903,19 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
|
|
|
909
903
|
"\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",
|
|
910
904
|
"\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"
|
|
911
905
|
];
|
|
912
|
-
|
|
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(
|
|
906
|
+
return /* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", width: terminalWidth, height: terminalHeight }, /* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", marginBottom: 1 }, banner.map((line, i) => /* @__PURE__ */ React.createElement(ink.Text, { key: i, color: "cyan", bold: true }, line))), /* @__PURE__ */ React.createElement(
|
|
914
907
|
ink.Box,
|
|
915
908
|
{
|
|
916
909
|
flexDirection: "column",
|
|
917
910
|
width: terminalWidth,
|
|
918
|
-
height: terminalHeight -
|
|
911
|
+
height: terminalHeight - 14,
|
|
919
912
|
borderStyle: "round",
|
|
920
913
|
borderColor: "magenta",
|
|
921
914
|
paddingX: 1,
|
|
922
915
|
overflow: "hidden"
|
|
923
916
|
},
|
|
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 -
|
|
917
|
+
/* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(ink.Text, { color: "magenta", bold: true }, "\u{1F4E1} Remote Mode - Live Session"), /* @__PURE__ */ React.createElement(ink.Text, { color: "magenta", dimColor: true }, "\u2500".repeat(Math.min(terminalWidth - 4, 60)))),
|
|
918
|
+
/* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", height: terminalHeight - 10, overflow: "hidden" }, messages.length === 0 ? /* @__PURE__ */ React.createElement(ink.Text, { color: "gray", dimColor: true }, "Waiting for messages...") : (
|
|
926
919
|
// Show only the last messages that fit in the available space
|
|
927
920
|
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))))
|
|
928
921
|
))
|
|
@@ -1038,7 +1031,7 @@ class AbortError extends Error {
|
|
|
1038
1031
|
}
|
|
1039
1032
|
}
|
|
1040
1033
|
|
|
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-
|
|
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-DNKj7mt9.cjs', document.baseURI).href)));
|
|
1042
1035
|
const __dirname$2 = node_path.join(__filename$2, "..");
|
|
1043
1036
|
function getDefaultClaudeCodePath() {
|
|
1044
1037
|
return node_path.join(__dirname$2, "..", "..", "..", "node_modules", "@anthropic-ai", "claude-code", "cli.js");
|
|
@@ -4412,7 +4405,7 @@ async function startDaemon() {
|
|
|
4412
4405
|
}
|
|
4413
4406
|
const args = [
|
|
4414
4407
|
options.agent || "claude",
|
|
4415
|
-
// Use the agent directly (claude, codex, qwen, gemini)
|
|
4408
|
+
// Use the agent directly (claude, codex, qwen, gemini, ccr)
|
|
4416
4409
|
"--zenflo-starting-mode",
|
|
4417
4410
|
"remote",
|
|
4418
4411
|
"--started-by",
|
|
@@ -5057,7 +5050,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
5057
5050
|
process.exit(0);
|
|
5058
5051
|
}
|
|
5059
5052
|
|
|
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-
|
|
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-DNKj7mt9.cjs', document.baseURI).href)));
|
|
5061
5054
|
const __dirname$1 = path.dirname(__filename$1);
|
|
5062
5055
|
const PLIST_LABEL$1 = "com.zenflo.daemon";
|
|
5063
5056
|
const LAUNCH_AGENTS_DIR$1 = path.join(os$1.homedir(), "Library", "LaunchAgents");
|
|
@@ -6338,7 +6331,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6338
6331
|
return;
|
|
6339
6332
|
} else if (subcommand === "codex") {
|
|
6340
6333
|
try {
|
|
6341
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex
|
|
6334
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-u0z7fH4A.cjs'); });
|
|
6342
6335
|
let startedBy = void 0;
|
|
6343
6336
|
for (let i = 1; i < args.length; i++) {
|
|
6344
6337
|
if (args[i] === "--started-by") {
|
|
@@ -6359,7 +6352,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6359
6352
|
return;
|
|
6360
6353
|
} else if (subcommand === "ccr" || subcommand === "glm") {
|
|
6361
6354
|
try {
|
|
6362
|
-
const { runCCR } = await Promise.resolve().then(function () { return require('./runCCR-
|
|
6355
|
+
const { runCCR } = await Promise.resolve().then(function () { return require('./runCCR-DhRQsCOj.cjs'); });
|
|
6363
6356
|
let startedBy = void 0;
|
|
6364
6357
|
for (let i = 1; i < args.length; i++) {
|
|
6365
6358
|
if (args[i] === "--started-by") {
|
|
@@ -6462,13 +6455,13 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6462
6455
|
let statusModule;
|
|
6463
6456
|
switch (process.platform) {
|
|
6464
6457
|
case "darwin":
|
|
6465
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6458
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-CefdECyQ.cjs'); });
|
|
6466
6459
|
break;
|
|
6467
6460
|
case "win32":
|
|
6468
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6461
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-DAZGbtfL.cjs'); });
|
|
6469
6462
|
break;
|
|
6470
6463
|
case "linux":
|
|
6471
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6464
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-B6k9dqE6.cjs'); });
|
|
6472
6465
|
break;
|
|
6473
6466
|
default:
|
|
6474
6467
|
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-CHW3ugCh.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-D9oyYKHu.mjs';
|
|
2
|
+
import { l as logger } from './types-CHW3ugCh.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-DNKj7mt9.cjs');
|
|
4
|
+
var types = require('./types-CadZ9uUS.cjs');
|
|
5
5
|
var node_child_process = require('node:child_process');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('node:os');
|
|
@@ -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-CHW3ugCh.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-D9oyYKHu.mjs';
|
|
11
11
|
import os from 'node:os';
|
|
12
12
|
import { resolve, join } from 'node:path';
|
|
13
13
|
import fs from 'node:fs';
|
|
@@ -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-CadZ9uUS.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-DNKj7mt9.cjs');
|
|
13
13
|
var os = require('node:os');
|
|
14
14
|
var node_path = require('node:path');
|
|
15
15
|
var fs = require('node:fs');
|
|
@@ -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-CHW3ugCh.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-CadZ9uUS.cjs');
|
|
9
9
|
require('axios');
|
|
10
10
|
require('node:fs');
|
|
11
11
|
require('node:os');
|
|
@@ -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-CHW3ugCh.mjs';
|
|
4
4
|
import os from 'os';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import chalk from 'chalk';
|
|
@@ -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.13";
|
|
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";
|
|
@@ -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.13";
|
|
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-CadZ9uUS.cjs', document.baseURI).href))));
|
|
1023
1023
|
function projectPath() {
|
|
1024
1024
|
const path$1 = path.resolve(__dirname$1, "..");
|
|
1025
1025
|
return path$1;
|