zenflo 0.11.14 → 0.11.16

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.
@@ -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-D71O4NYi.cjs');
6
+ var types = require('./types-xeDL1zwI.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');
@@ -918,7 +918,7 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
918
918
  return banner2;
919
919
  };
920
920
  const banner = generateBanner();
921
- 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: "yellow", bold: true }, line))), /* @__PURE__ */ React.createElement(
921
+ 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(
922
922
  ink.Box,
923
923
  {
924
924
  flexDirection: "column",
@@ -1046,7 +1046,7 @@ class AbortError extends Error {
1046
1046
  }
1047
1047
  }
1048
1048
 
1049
- 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-B-_jUY7z.cjs', document.baseURI).href)));
1049
+ 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-CXpvXqBN.cjs', document.baseURI).href)));
1050
1050
  const __dirname$2 = node_path.join(__filename$2, "..");
1051
1051
  function getDefaultClaudeCodePath() {
1052
1052
  return node_path.join(__dirname$2, "..", "..", "..", "node_modules", "@anthropic-ai", "claude-code", "cli.js");
@@ -5065,7 +5065,7 @@ async function runClaude(credentials, options = {}) {
5065
5065
  process.exit(0);
5066
5066
  }
5067
5067
 
5068
- const __filename$1 = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-B-_jUY7z.cjs', document.baseURI).href)));
5068
+ const __filename$1 = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-CXpvXqBN.cjs', document.baseURI).href)));
5069
5069
  const __dirname$1 = path.dirname(__filename$1);
5070
5070
  const PLIST_LABEL$1 = "com.zenflo.daemon";
5071
5071
  const LAUNCH_AGENTS_DIR$1 = path.join(os$1.homedir(), "Library", "LaunchAgents");
@@ -6346,7 +6346,7 @@ async function handleConnectVendor(vendor, displayName) {
6346
6346
  return;
6347
6347
  } else if (subcommand === "codex") {
6348
6348
  try {
6349
- const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-_tYPk4Oz.cjs'); });
6349
+ const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-Ditb3yDm.cjs'); });
6350
6350
  let startedBy = void 0;
6351
6351
  for (let i = 1; i < args.length; i++) {
6352
6352
  if (args[i] === "--started-by") {
@@ -6367,7 +6367,7 @@ async function handleConnectVendor(vendor, displayName) {
6367
6367
  return;
6368
6368
  } else if (subcommand === "ccr" || subcommand === "glm") {
6369
6369
  try {
6370
- const { runCCR } = await Promise.resolve().then(function () { return require('./runCCR-CThtbn17.cjs'); });
6370
+ const { runCCR } = await Promise.resolve().then(function () { return require('./runCCR-dvxR8pMF.cjs'); });
6371
6371
  let startedBy = void 0;
6372
6372
  for (let i = 1; i < args.length; i++) {
6373
6373
  if (args[i] === "--started-by") {
@@ -6470,13 +6470,13 @@ async function handleConnectVendor(vendor, displayName) {
6470
6470
  let statusModule;
6471
6471
  switch (process.platform) {
6472
6472
  case "darwin":
6473
- statusModule = await Promise.resolve().then(function () { return require('./status-CR_0C10R.cjs'); });
6473
+ statusModule = await Promise.resolve().then(function () { return require('./status-vXdYG5Y7.cjs'); });
6474
6474
  break;
6475
6475
  case "win32":
6476
- statusModule = await Promise.resolve().then(function () { return require('./status-CACgOMAn.cjs'); });
6476
+ statusModule = await Promise.resolve().then(function () { return require('./status-CZLPKuUC.cjs'); });
6477
6477
  break;
6478
6478
  case "linux":
6479
- statusModule = await Promise.resolve().then(function () { return require('./status-Cflxezmj.cjs'); });
6479
+ statusModule = await Promise.resolve().then(function () { return require('./status-D26CPR_t.cjs'); });
6480
6480
  break;
6481
6481
  default:
6482
6482
  console.error(chalk.red(`Status command not supported on platform: ${process.platform}`));
@@ -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-DCXqQWGn.mjs';
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-Csm1mdNY.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';
@@ -896,7 +896,7 @@ const RemoteModeDisplay = ({ messageBuffer, logPath, onExit, onSwitchToLocal })
896
896
  return banner2;
897
897
  };
898
898
  const banner = generateBanner();
899
- 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: "yellow", bold: true }, line))), /* @__PURE__ */ React.createElement(
899
+ 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(
900
900
  Box,
901
901
  {
902
902
  flexDirection: "column",
@@ -6324,7 +6324,7 @@ async function handleConnectVendor(vendor, displayName) {
6324
6324
  return;
6325
6325
  } else if (subcommand === "codex") {
6326
6326
  try {
6327
- const { runCodex } = await import('./runCodex-CKkFLCe8.mjs');
6327
+ const { runCodex } = await import('./runCodex-EDzqEq9k.mjs');
6328
6328
  let startedBy = void 0;
6329
6329
  for (let i = 1; i < args.length; i++) {
6330
6330
  if (args[i] === "--started-by") {
@@ -6345,7 +6345,7 @@ async function handleConnectVendor(vendor, displayName) {
6345
6345
  return;
6346
6346
  } else if (subcommand === "ccr" || subcommand === "glm") {
6347
6347
  try {
6348
- const { runCCR } = await import('./runCCR-DQq1cOry.mjs');
6348
+ const { runCCR } = await import('./runCCR-aIqxCd98.mjs');
6349
6349
  let startedBy = void 0;
6350
6350
  for (let i = 1; i < args.length; i++) {
6351
6351
  if (args[i] === "--started-by") {
@@ -6448,13 +6448,13 @@ async function handleConnectVendor(vendor, displayName) {
6448
6448
  let statusModule;
6449
6449
  switch (process.platform) {
6450
6450
  case "darwin":
6451
- statusModule = await import('./status-CHKhCKWO.mjs');
6451
+ statusModule = await import('./status-Bg8Poq8F.mjs');
6452
6452
  break;
6453
6453
  case "win32":
6454
- statusModule = await import('./status-Df6yuXN8.mjs');
6454
+ statusModule = await import('./status-BjpQpi-v.mjs');
6455
6455
  break;
6456
6456
  case "linux":
6457
- statusModule = await import('./status-Po2T6tJ6.mjs');
6457
+ statusModule = await import('./status-DZxquRN1.mjs');
6458
6458
  break;
6459
6459
  default:
6460
6460
  console.error(chalk.red(`Status command not supported on platform: ${process.platform}`));
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  require('chalk');
4
- require('./index-B-_jUY7z.cjs');
5
- require('./types-D71O4NYi.cjs');
4
+ require('./index-CXpvXqBN.cjs');
5
+ require('./types-xeDL1zwI.cjs');
6
6
  require('zod');
7
7
  require('node:child_process');
8
8
  require('node:os');
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'chalk';
2
- import './index-C6GNprB6.mjs';
3
- import './types-DCXqQWGn.mjs';
2
+ import './index-CfhvLEiF.mjs';
3
+ import './types-Csm1mdNY.mjs';
4
4
  import 'zod';
5
5
  import 'node:child_process';
6
6
  import 'node:os';
package/dist/lib.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var types = require('./types-D71O4NYi.cjs');
3
+ var types = require('./types-xeDL1zwI.cjs');
4
4
  require('axios');
5
5
  require('chalk');
6
6
  require('fs');
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-DCXqQWGn.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-Csm1mdNY.mjs';
2
2
  import 'axios';
3
3
  import 'chalk';
4
4
  import 'fs';
@@ -1,5 +1,5 @@
1
- import { r as runClaude } from './index-C6GNprB6.mjs';
2
- import { l as logger } from './types-DCXqQWGn.mjs';
1
+ import { r as runClaude } from './index-CfhvLEiF.mjs';
2
+ import { l as logger } from './types-Csm1mdNY.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-B-_jUY7z.cjs');
4
- var types = require('./types-D71O4NYi.cjs');
3
+ var index = require('./index-CXpvXqBN.cjs');
4
+ var types = require('./types-xeDL1zwI.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-D71O4NYi.cjs');
5
+ var types = require('./types-xeDL1zwI.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-B-_jUY7z.cjs');
12
+ var index = require('./index-CXpvXqBN.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-DCXqQWGn.mjs';
3
+ import { l as logger, A as ApiClient, b as readSettings, p as projectPath, c as configuration, d as packageJson } from './types-Csm1mdNY.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-C6GNprB6.mjs';
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-CfhvLEiF.mjs';
11
11
  import os from 'node:os';
12
12
  import { resolve, join } from 'node:path';
13
13
  import fs from '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-DCXqQWGn.mjs';
6
+ import { r as readDaemonState } from './types-Csm1mdNY.mjs';
7
7
  import 'axios';
8
8
  import 'node:fs';
9
9
  import 'node:os';
@@ -1,5 +1,5 @@
1
1
  import { execSync } from 'child_process';
2
- import { r as readDaemonState, l as logger } from './types-DCXqQWGn.mjs';
2
+ import { r as readDaemonState, l as logger } from './types-Csm1mdNY.mjs';
3
3
  import chalk from 'chalk';
4
4
  import 'axios';
5
5
  import 'fs';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var child_process = require('child_process');
4
- var types = require('./types-D71O4NYi.cjs');
4
+ var types = require('./types-xeDL1zwI.cjs');
5
5
  var chalk = require('chalk');
6
6
  require('axios');
7
7
  require('fs');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var fs = require('fs');
4
4
  var child_process = require('child_process');
5
- var types = require('./types-D71O4NYi.cjs');
5
+ var types = require('./types-xeDL1zwI.cjs');
6
6
  var os = require('os');
7
7
  var path = require('path');
8
8
  var chalk = require('chalk');
@@ -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-DCXqQWGn.mjs';
3
+ import { r as readDaemonState, l as logger } from './types-Csm1mdNY.mjs';
4
4
  import os from 'os';
5
5
  import path from 'path';
6
6
  import chalk from 'chalk';
@@ -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-D71O4NYi.cjs');
8
+ var types = require('./types-xeDL1zwI.cjs');
9
9
  require('axios');
10
10
  require('node:fs');
11
11
  require('node:os');
@@ -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.14";
24
+ var version = "0.11.16";
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";
@@ -109,6 +109,7 @@ var dependencies = {
109
109
  "http-proxy": "^1.18.1",
110
110
  "http-proxy-middleware": "^3.0.5",
111
111
  ink: "^6.1.0",
112
+ "ink-big-text": "^2.0.0",
112
113
  open: "^10.2.0",
113
114
  "ps-list": "^8.1.1",
114
115
  "qrcode-terminal": "^0.12.0",
@@ -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.14";
45
+ var version = "0.11.16";
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";
@@ -130,6 +130,7 @@ var dependencies = {
130
130
  "http-proxy": "^1.18.1",
131
131
  "http-proxy-middleware": "^3.0.5",
132
132
  ink: "^6.1.0",
133
+ "ink-big-text": "^2.0.0",
133
134
  open: "^10.2.0",
134
135
  "ps-list": "^8.1.1",
135
136
  "qrcode-terminal": "^0.12.0",
@@ -1019,7 +1020,7 @@ class RpcHandlerManager {
1019
1020
  }
1020
1021
  }
1021
1022
 
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-D71O4NYi.cjs', document.baseURI).href))));
1023
+ 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-xeDL1zwI.cjs', document.baseURI).href))));
1023
1024
  function projectPath() {
1024
1025
  const path$1 = path.resolve(__dirname$1, "..");
1025
1026
  return path$1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zenflo",
3
- "version": "0.11.14",
3
+ "version": "0.11.16",
4
4
  "description": "Mobile and Web client for Claude Code and Codex - ZenFlo edition",
5
5
  "author": "Combined Memory",
6
6
  "license": "MIT",
@@ -88,6 +88,7 @@
88
88
  "http-proxy": "^1.18.1",
89
89
  "http-proxy-middleware": "^3.0.5",
90
90
  "ink": "^6.1.0",
91
+ "ink-big-text": "^2.0.0",
91
92
  "open": "^10.2.0",
92
93
  "ps-list": "^8.1.1",
93
94
  "qrcode-terminal": "^0.12.0",