zenflo 0.11.12 → 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-rGUrLBTD.mjs → index-D9oyYKHu.mjs} +7 -7
- package/dist/{index-D7y6WJRy.cjs → index-DNKj7mt9.cjs} +9 -9
- 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-RPbRdVY_.mjs → runCCR-Bo1eLhPc.mjs} +2 -2
- package/dist/{runCCR-6LCpkqyI.cjs → runCCR-DhRQsCOj.cjs} +2 -2
- package/dist/{runCodex-B1eaTMGa.mjs → runCodex-BCuuyueY.mjs} +2 -2
- package/dist/{runCodex-DDs_QCMm.cjs → runCodex-u0z7fH4A.cjs} +2 -2
- package/dist/{status-DHbMTIvx.cjs → status-B6k9dqE6.cjs} +1 -1
- package/dist/{status-BjED6LJr.mjs → status-CELKa2c5.mjs} +1 -1
- package/dist/{status-LTy4IBhr.cjs → status-CefdECyQ.cjs} +1 -1
- package/dist/{status-CqGqH3Dx.mjs → status-ClfrMYgD.mjs} +1 -1
- package/dist/{status-Dvu2lpJ5.cjs → status-DAZGbtfL.cjs} +1 -1
- package/dist/{status-DxOg5BN3.mjs → status-PnDs-cyp.mjs} +1 -1
- package/dist/{types-OaGVQOiJ.mjs → types-CHW3ugCh.mjs} +1 -1
- package/dist/{types-Ce8X5U4N.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';
|
|
@@ -4383,7 +4383,7 @@ async function startDaemon() {
|
|
|
4383
4383
|
}
|
|
4384
4384
|
const args = [
|
|
4385
4385
|
options.agent || "claude",
|
|
4386
|
-
// Use the agent directly (claude, codex, qwen, gemini)
|
|
4386
|
+
// Use the agent directly (claude, codex, qwen, gemini, ccr)
|
|
4387
4387
|
"--zenflo-starting-mode",
|
|
4388
4388
|
"remote",
|
|
4389
4389
|
"--started-by",
|
|
@@ -6309,7 +6309,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6309
6309
|
return;
|
|
6310
6310
|
} else if (subcommand === "codex") {
|
|
6311
6311
|
try {
|
|
6312
|
-
const { runCodex } = await import('./runCodex-
|
|
6312
|
+
const { runCodex } = await import('./runCodex-BCuuyueY.mjs');
|
|
6313
6313
|
let startedBy = void 0;
|
|
6314
6314
|
for (let i = 1; i < args.length; i++) {
|
|
6315
6315
|
if (args[i] === "--started-by") {
|
|
@@ -6330,7 +6330,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6330
6330
|
return;
|
|
6331
6331
|
} else if (subcommand === "ccr" || subcommand === "glm") {
|
|
6332
6332
|
try {
|
|
6333
|
-
const { runCCR } = await import('./runCCR-
|
|
6333
|
+
const { runCCR } = await import('./runCCR-Bo1eLhPc.mjs');
|
|
6334
6334
|
let startedBy = void 0;
|
|
6335
6335
|
for (let i = 1; i < args.length; i++) {
|
|
6336
6336
|
if (args[i] === "--started-by") {
|
|
@@ -6433,13 +6433,13 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6433
6433
|
let statusModule;
|
|
6434
6434
|
switch (process.platform) {
|
|
6435
6435
|
case "darwin":
|
|
6436
|
-
statusModule = await import('./status-
|
|
6436
|
+
statusModule = await import('./status-CELKa2c5.mjs');
|
|
6437
6437
|
break;
|
|
6438
6438
|
case "win32":
|
|
6439
|
-
statusModule = await import('./status-
|
|
6439
|
+
statusModule = await import('./status-PnDs-cyp.mjs');
|
|
6440
6440
|
break;
|
|
6441
6441
|
case "linux":
|
|
6442
|
-
statusModule = await import('./status-
|
|
6442
|
+
statusModule = await import('./status-ClfrMYgD.mjs');
|
|
6443
6443
|
break;
|
|
6444
6444
|
default:
|
|
6445
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');
|
|
@@ -1031,7 +1031,7 @@ class AbortError extends Error {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
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-
|
|
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)));
|
|
1035
1035
|
const __dirname$2 = node_path.join(__filename$2, "..");
|
|
1036
1036
|
function getDefaultClaudeCodePath() {
|
|
1037
1037
|
return node_path.join(__dirname$2, "..", "..", "..", "node_modules", "@anthropic-ai", "claude-code", "cli.js");
|
|
@@ -4405,7 +4405,7 @@ async function startDaemon() {
|
|
|
4405
4405
|
}
|
|
4406
4406
|
const args = [
|
|
4407
4407
|
options.agent || "claude",
|
|
4408
|
-
// Use the agent directly (claude, codex, qwen, gemini)
|
|
4408
|
+
// Use the agent directly (claude, codex, qwen, gemini, ccr)
|
|
4409
4409
|
"--zenflo-starting-mode",
|
|
4410
4410
|
"remote",
|
|
4411
4411
|
"--started-by",
|
|
@@ -5050,7 +5050,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
5050
5050
|
process.exit(0);
|
|
5051
5051
|
}
|
|
5052
5052
|
|
|
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-
|
|
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)));
|
|
5054
5054
|
const __dirname$1 = path.dirname(__filename$1);
|
|
5055
5055
|
const PLIST_LABEL$1 = "com.zenflo.daemon";
|
|
5056
5056
|
const LAUNCH_AGENTS_DIR$1 = path.join(os$1.homedir(), "Library", "LaunchAgents");
|
|
@@ -6331,7 +6331,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6331
6331
|
return;
|
|
6332
6332
|
} else if (subcommand === "codex") {
|
|
6333
6333
|
try {
|
|
6334
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
6334
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-u0z7fH4A.cjs'); });
|
|
6335
6335
|
let startedBy = void 0;
|
|
6336
6336
|
for (let i = 1; i < args.length; i++) {
|
|
6337
6337
|
if (args[i] === "--started-by") {
|
|
@@ -6352,7 +6352,7 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6352
6352
|
return;
|
|
6353
6353
|
} else if (subcommand === "ccr" || subcommand === "glm") {
|
|
6354
6354
|
try {
|
|
6355
|
-
const { runCCR } = await Promise.resolve().then(function () { return require('./runCCR-
|
|
6355
|
+
const { runCCR } = await Promise.resolve().then(function () { return require('./runCCR-DhRQsCOj.cjs'); });
|
|
6356
6356
|
let startedBy = void 0;
|
|
6357
6357
|
for (let i = 1; i < args.length; i++) {
|
|
6358
6358
|
if (args[i] === "--started-by") {
|
|
@@ -6455,13 +6455,13 @@ async function handleConnectVendor(vendor, displayName) {
|
|
|
6455
6455
|
let statusModule;
|
|
6456
6456
|
switch (process.platform) {
|
|
6457
6457
|
case "darwin":
|
|
6458
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6458
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-CefdECyQ.cjs'); });
|
|
6459
6459
|
break;
|
|
6460
6460
|
case "win32":
|
|
6461
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6461
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-DAZGbtfL.cjs'); });
|
|
6462
6462
|
break;
|
|
6463
6463
|
case "linux":
|
|
6464
|
-
statusModule = await Promise.resolve().then(function () { return require('./status-
|
|
6464
|
+
statusModule = await Promise.resolve().then(function () { return require('./status-B6k9dqE6.cjs'); });
|
|
6465
6465
|
break;
|
|
6466
6466
|
default:
|
|
6467
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;
|