@cerulin/chell 0.2.5 → 0.2.6
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-B443j7JQ.mjs → index-BelCjtjN.mjs} +3 -3
- package/dist/{index-qS668VWY.cjs → index-CAijLhRr.cjs} +4 -4
- 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/{runCodex-DHtm7TWT.cjs → runCodex-CDEAnx2k.cjs} +7 -5
- package/dist/{runCodex-DLbjgnc4.mjs → runCodex-D1mnMreE.mjs} +5 -3
- package/dist/{runGemini-fdb5jxAA.cjs → runGemini-1nt0Tq30.cjs} +2 -2
- package/dist/{runGemini-C03RUmvr.mjs → runGemini-BbPUmlaz.mjs} +2 -2
- package/dist/{types-DBjv5m4J.cjs → types-CMglXeIi.cjs} +3 -3
- package/dist/{types-fM_iFuNp.mjs → types-DDZZSbq6.mjs} +2 -2
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);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, c as configuration, w as writeHeadlessJson, d as backoff, e as delay, R as RawJSONLinesSchema, f as AsyncLock, u as updateActivityTimestamp, g as readDaemonState, h as clearDaemonState, b as packageJson, r as readSettings, i as readCredentials, j as encodeBase64, k as updateSettings, m as encodeBase64Url, n as decodeBase64, o as writeCredentials, q as acquireDaemonLock, s as writeDaemonState, A as ApiClient, t as releaseDaemonLock, v as clearCredentials, x as clearMachineId, y as getLatestDaemonLog } from './types-
|
|
4
|
+
import { l as logger, p as projectPath, c as configuration, w as writeHeadlessJson, d as backoff, e as delay, R as RawJSONLinesSchema, f as AsyncLock, u as updateActivityTimestamp, g as readDaemonState, h as clearDaemonState, b as packageJson, r as readSettings, i as readCredentials, j as encodeBase64, k as updateSettings, m as encodeBase64Url, n as decodeBase64, o as writeCredentials, q as acquireDaemonLock, s as writeDaemonState, A as ApiClient, t as releaseDaemonLock, v as clearCredentials, x as clearMachineId, y as getLatestDaemonLog } from './types-DDZZSbq6.mjs';
|
|
5
5
|
import { spawn as spawn$1, execSync } from 'node:child_process';
|
|
6
6
|
import { spawn } from 'node-pty';
|
|
7
7
|
import { existsSync, readFileSync, mkdirSync, watch, appendFileSync, readdirSync, statSync, rmSync } from 'node:fs';
|
|
@@ -6275,7 +6275,7 @@ ${chalk.bold("Headless:")}
|
|
|
6275
6275
|
console.log(chalk.gray("Headless mode enabled for Codex."));
|
|
6276
6276
|
console.log(chalk.gray("Tip: set CODEX_AUTO_LOGIN=1 to auto-capture OAuth URL if supported."));
|
|
6277
6277
|
}
|
|
6278
|
-
const { runCodex } = await import('./runCodex-
|
|
6278
|
+
const { runCodex } = await import('./runCodex-D1mnMreE.mjs');
|
|
6279
6279
|
const {
|
|
6280
6280
|
credentials
|
|
6281
6281
|
} = await authAndSetupMachineIfNeeded();
|
|
@@ -6325,7 +6325,7 @@ ${chalk.bold("Headless:")}
|
|
|
6325
6325
|
process.env.CHELL_HEADLESS = "1";
|
|
6326
6326
|
console.log(chalk.gray("Headless mode enabled for Gemini."));
|
|
6327
6327
|
}
|
|
6328
|
-
const { runGemini } = await import('./runGemini-
|
|
6328
|
+
const { runGemini } = await import('./runGemini-BbPUmlaz.mjs');
|
|
6329
6329
|
const {
|
|
6330
6330
|
credentials
|
|
6331
6331
|
} = await authAndSetupMachineIfNeeded();
|
|
@@ -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-CMglXeIi.cjs');
|
|
7
7
|
var node_child_process = require('node:child_process');
|
|
8
8
|
var nodePty = require('node-pty');
|
|
9
9
|
var node_fs = require('node:fs');
|
|
@@ -1236,7 +1236,7 @@ class AbortError extends Error {
|
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
1239
|
-
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
1239
|
+
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-CAijLhRr.cjs', document.baseURI).href)));
|
|
1240
1240
|
const __dirname$1 = node_path.join(__filename$1, "..");
|
|
1241
1241
|
function getDefaultClaudeCodePath() {
|
|
1242
1242
|
return node_path.join(__dirname$1, "..", "..", "..", "node_modules", "@anthropic-ai", "claude-code", "cli.js");
|
|
@@ -6278,7 +6278,7 @@ ${chalk.bold("Headless:")}
|
|
|
6278
6278
|
console.log(chalk.gray("Headless mode enabled for Codex."));
|
|
6279
6279
|
console.log(chalk.gray("Tip: set CODEX_AUTO_LOGIN=1 to auto-capture OAuth URL if supported."));
|
|
6280
6280
|
}
|
|
6281
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
6281
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-CDEAnx2k.cjs'); });
|
|
6282
6282
|
const {
|
|
6283
6283
|
credentials
|
|
6284
6284
|
} = await authAndSetupMachineIfNeeded();
|
|
@@ -6328,7 +6328,7 @@ ${chalk.bold("Headless:")}
|
|
|
6328
6328
|
process.env.CHELL_HEADLESS = "1";
|
|
6329
6329
|
console.log(chalk.gray("Headless mode enabled for Gemini."));
|
|
6330
6330
|
}
|
|
6331
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
6331
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-1nt0Tq30.cjs'); });
|
|
6332
6332
|
const {
|
|
6333
6333
|
credentials
|
|
6334
6334
|
} = await authAndSetupMachineIfNeeded();
|
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-DDZZSbq6.mjs';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'chalk';
|
|
4
4
|
import 'fs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
4
|
var node_crypto = require('node:crypto');
|
|
5
|
-
var types = require('./types-
|
|
5
|
+
var types = require('./types-CMglXeIi.cjs');
|
|
6
6
|
var node_child_process = require('node:child_process');
|
|
7
7
|
var nodePty = require('node-pty');
|
|
8
8
|
var node_path = require('node:path');
|
|
@@ -11,7 +11,7 @@ var node_fs = require('node:fs');
|
|
|
11
11
|
var node_module = require('node:module');
|
|
12
12
|
require('node:https');
|
|
13
13
|
require('node:http');
|
|
14
|
-
var index = require('./index-
|
|
14
|
+
var index = require('./index-CAijLhRr.cjs');
|
|
15
15
|
var promises = require('node:fs/promises');
|
|
16
16
|
var index_js = require('@modelcontextprotocol/sdk/client/index.js');
|
|
17
17
|
var stdio_js = require('@modelcontextprotocol/sdk/client/stdio.js');
|
|
@@ -102,7 +102,7 @@ class CodexSession {
|
|
|
102
102
|
|
|
103
103
|
function resolveBundledCodexCli() {
|
|
104
104
|
try {
|
|
105
|
-
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('runCodex-
|
|
105
|
+
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('runCodex-CDEAnx2k.cjs', document.baseURI).href)));
|
|
106
106
|
const pkgJsonPath = require$1.resolve("@openai/codex/package.json");
|
|
107
107
|
const pkgDir = node_path.dirname(pkgJsonPath);
|
|
108
108
|
const cliPath = node_path.resolve(node_path.join(pkgDir, "bin", "codex.js"));
|
|
@@ -973,7 +973,7 @@ async function findSessionFile(sessionId) {
|
|
|
973
973
|
const DEFAULT_TIMEOUT = 14 * 24 * 60 * 60 * 1e3;
|
|
974
974
|
function resolveCodexCliPath() {
|
|
975
975
|
try {
|
|
976
|
-
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('runCodex-
|
|
976
|
+
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('runCodex-CDEAnx2k.cjs', document.baseURI).href)));
|
|
977
977
|
const pkgJsonPath = require$1.resolve("@openai/codex/package.json");
|
|
978
978
|
const pkgDir = node_path.dirname(pkgJsonPath);
|
|
979
979
|
const cliPath = node_path.resolve(node_path.join(pkgDir, "bin", "codex.js"));
|
|
@@ -1720,7 +1720,9 @@ async function codexRemoteLauncher(session) {
|
|
|
1720
1720
|
let shouldForwardRaw = true;
|
|
1721
1721
|
try {
|
|
1722
1722
|
const t = message?.type;
|
|
1723
|
-
if (t === "
|
|
1723
|
+
if (t && typeof t === "string" && (t.endsWith("_delta") || t.endsWith("_section_break") || // Block granular item lifecycle events
|
|
1724
|
+
t === "item_started" || t === "item_completed" || // Block raw response items (duplicates other events)
|
|
1725
|
+
t === "raw_response_item")) {
|
|
1724
1726
|
shouldForwardRaw = false;
|
|
1725
1727
|
}
|
|
1726
1728
|
if (t === "message" && message?.role === "assistant" && Array.isArray(message?.content) && message.content.some((b) => b && typeof b === "object" && b.type === "output_text" && typeof b.text === "string")) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os, { homedir } from 'node:os';
|
|
2
2
|
import { randomUUID } from 'node:crypto';
|
|
3
|
-
import { l as logger, p as projectPath, c as configuration, w as writeHeadlessJson, A as ApiClient, r as readSettings, b as packageJson } from './types-
|
|
3
|
+
import { l as logger, p as projectPath, c as configuration, w as writeHeadlessJson, A as ApiClient, r as readSettings, b as packageJson } from './types-DDZZSbq6.mjs';
|
|
4
4
|
import { spawn as spawn$1 } from 'node:child_process';
|
|
5
5
|
import { spawn } from 'node-pty';
|
|
6
6
|
import { join, resolve, dirname } from 'node:path';
|
|
@@ -9,7 +9,7 @@ import { mkdirSync, watch, existsSync, statSync, writeFileSync, appendFileSync,
|
|
|
9
9
|
import { createRequire } from 'node:module';
|
|
10
10
|
import 'node:https';
|
|
11
11
|
import 'node:http';
|
|
12
|
-
import { I as InvalidateSync, b as startFileWatcher, F as Future, p as parseSpecialCommand, R as RemoteModeDisplay, a as MessageBuffer, i as initialMachineMetadata, n as notifyDaemonSessionStarted, s as startChellServer, c as startCaffeinate, M as MessageQueue2, h as hashObject, r as registerKillSessionHandler, d as stopCaffeinate } from './index-
|
|
12
|
+
import { I as InvalidateSync, b as startFileWatcher, F as Future, p as parseSpecialCommand, R as RemoteModeDisplay, a as MessageBuffer, i as initialMachineMetadata, n as notifyDaemonSessionStarted, s as startChellServer, c as startCaffeinate, M as MessageQueue2, h as hashObject, r as registerKillSessionHandler, d as stopCaffeinate } from './index-BelCjtjN.mjs';
|
|
13
13
|
import { readdir, readFile } from 'node:fs/promises';
|
|
14
14
|
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
|
|
15
15
|
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
|
|
@@ -1717,7 +1717,9 @@ async function codexRemoteLauncher(session) {
|
|
|
1717
1717
|
let shouldForwardRaw = true;
|
|
1718
1718
|
try {
|
|
1719
1719
|
const t = message?.type;
|
|
1720
|
-
if (t === "
|
|
1720
|
+
if (t && typeof t === "string" && (t.endsWith("_delta") || t.endsWith("_section_break") || // Block granular item lifecycle events
|
|
1721
|
+
t === "item_started" || t === "item_completed" || // Block raw response items (duplicates other events)
|
|
1722
|
+
t === "raw_response_item")) {
|
|
1721
1723
|
shouldForwardRaw = false;
|
|
1722
1724
|
}
|
|
1723
1725
|
if (t === "message" && message?.role === "assistant" && Array.isArray(message?.content) && message.content.some((b) => b && typeof b === "object" && b.type === "output_text" && typeof b.text === "string")) {
|
|
@@ -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-CMglXeIi.cjs');
|
|
6
6
|
var child_process = require('child_process');
|
|
7
7
|
var fs = require('fs');
|
|
8
8
|
var path = require('path');
|
|
9
9
|
var os = require('os');
|
|
10
10
|
var crypto = require('crypto');
|
|
11
11
|
var node_crypto = require('node:crypto');
|
|
12
|
-
var index = require('./index-
|
|
12
|
+
var index = require('./index-CAijLhRr.cjs');
|
|
13
13
|
var os$1 = require('node:os');
|
|
14
14
|
var node_path = require('node:path');
|
|
15
15
|
require('axios');
|
|
@@ -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, r as readSettings, p as projectPath, c as configuration, b as packageJson, u as updateActivityTimestamp } from './types-
|
|
3
|
+
import { l as logger, A as ApiClient, r as readSettings, p as projectPath, c as configuration, b as packageJson, u as updateActivityTimestamp } from './types-DDZZSbq6.mjs';
|
|
4
4
|
import { spawn } from 'child_process';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, unlinkSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
import { homedir } from 'os';
|
|
8
8
|
import { randomUUID } from 'crypto';
|
|
9
9
|
import { randomUUID as randomUUID$1 } from 'node:crypto';
|
|
10
|
-
import { i as initialMachineMetadata, M as MessageQueue2, h as hashObject, r as registerKillSessionHandler, a as MessageBuffer, s as startChellServer } from './index-
|
|
10
|
+
import { i as initialMachineMetadata, M as MessageQueue2, h as hashObject, r as registerKillSessionHandler, a as MessageBuffer, s as startChellServer } from './index-BelCjtjN.mjs';
|
|
11
11
|
import os from 'node:os';
|
|
12
12
|
import { join as join$1 } from 'node:path';
|
|
13
13
|
import 'axios';
|
|
@@ -43,7 +43,7 @@ function _interopNamespaceDefault(e) {
|
|
|
43
43
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
44
44
|
|
|
45
45
|
var name = "@cerulin/chell";
|
|
46
|
-
var version = "0.2.
|
|
46
|
+
var version = "0.2.6";
|
|
47
47
|
var description = "Mobile and Web client for Claude Code and Codex";
|
|
48
48
|
var author = "Cerulin";
|
|
49
49
|
var license = "MIT";
|
|
@@ -119,7 +119,7 @@ var dependencies = {
|
|
|
119
119
|
"@anthropic-ai/claude-code": "^2.0.14",
|
|
120
120
|
"@anthropic-ai/sdk": "^0.56.0",
|
|
121
121
|
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
122
|
-
"@openai/codex": "^0.
|
|
122
|
+
"@openai/codex": "^0.55.0",
|
|
123
123
|
"@stablelib/base64": "^2.0.1",
|
|
124
124
|
"@types/cross-spawn": "^6.0.6",
|
|
125
125
|
"@types/http-proxy": "^1.17.16",
|
|
@@ -1079,7 +1079,7 @@ class RpcHandlerManager {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
|
-
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-
|
|
1082
|
+
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-CMglXeIi.cjs', document.baseURI).href))));
|
|
1083
1083
|
function projectPath() {
|
|
1084
1084
|
const path$1 = path.resolve(__dirname$1, "..");
|
|
1085
1085
|
return path$1;
|
|
@@ -22,7 +22,7 @@ import { spawn as spawn$1 } from 'node-pty';
|
|
|
22
22
|
import { Expo } from 'expo-server-sdk';
|
|
23
23
|
|
|
24
24
|
var name = "@cerulin/chell";
|
|
25
|
-
var version = "0.2.
|
|
25
|
+
var version = "0.2.6";
|
|
26
26
|
var description = "Mobile and Web client for Claude Code and Codex";
|
|
27
27
|
var author = "Cerulin";
|
|
28
28
|
var license = "MIT";
|
|
@@ -98,7 +98,7 @@ var dependencies = {
|
|
|
98
98
|
"@anthropic-ai/claude-code": "^2.0.14",
|
|
99
99
|
"@anthropic-ai/sdk": "^0.56.0",
|
|
100
100
|
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
101
|
-
"@openai/codex": "^0.
|
|
101
|
+
"@openai/codex": "^0.55.0",
|
|
102
102
|
"@stablelib/base64": "^2.0.1",
|
|
103
103
|
"@types/cross-spawn": "^6.0.6",
|
|
104
104
|
"@types/http-proxy": "^1.17.16",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerulin/chell",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Mobile and Web client for Claude Code and Codex",
|
|
5
5
|
"author": "Cerulin",
|
|
6
6
|
"license": "MIT",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@anthropic-ai/claude-code": "^2.0.14",
|
|
77
77
|
"@anthropic-ai/sdk": "^0.56.0",
|
|
78
78
|
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
79
|
-
"@openai/codex": "^0.
|
|
79
|
+
"@openai/codex": "^0.55.0",
|
|
80
80
|
"@stablelib/base64": "^2.0.1",
|
|
81
81
|
"@types/cross-spawn": "^6.0.6",
|
|
82
82
|
"@types/http-proxy": "^1.17.16",
|