happy-coder 0.10.1 → 0.11.0

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-DOKP_I5s.cjs');
6
+ var types = require('./types-BTQ3mv47.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');
@@ -981,7 +981,7 @@ class AbortError extends Error {
981
981
  }
982
982
  }
983
983
 
984
- 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-B_nemqpL.cjs', document.baseURI).href)));
984
+ 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-CnbpW8M_.cjs', document.baseURI).href)));
985
985
  const __dirname$1 = node_path.join(__filename$1, "..");
986
986
  function getDefaultClaudeCodePath() {
987
987
  return node_path.join(__dirname$1, "..", "..", "..", "node_modules", "@anthropic-ai", "claude-code", "cli.js");
@@ -5803,7 +5803,7 @@ async function handleConnectVendor(vendor, displayName) {
5803
5803
  return;
5804
5804
  } else if (subcommand === "codex") {
5805
5805
  try {
5806
- const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-BjT2Vmcd.cjs'); });
5806
+ const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-C72IQzVj.cjs'); });
5807
5807
  let startedBy = void 0;
5808
5808
  for (let i = 1; i < args.length; i++) {
5809
5809
  if (args[i] === "--started-by") {
@@ -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, d as backoff, e as delay, R as RawJSONLinesSchema, f as AsyncLock, g as readDaemonState, h as clearDaemonState, b as packageJson, c as configuration, r 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-CYZG1S69.mjs';
4
+ import { l as logger, p as projectPath, d as backoff, e as delay, R as RawJSONLinesSchema, f as AsyncLock, g as readDaemonState, h as clearDaemonState, b as packageJson, c as configuration, r 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-B_jcUADp.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';
@@ -5781,7 +5781,7 @@ async function handleConnectVendor(vendor, displayName) {
5781
5781
  return;
5782
5782
  } else if (subcommand === "codex") {
5783
5783
  try {
5784
- const { runCodex } = await import('./runCodex-CHAghw9e.mjs');
5784
+ const { runCodex } = await import('./runCodex-DGxLYcn4.mjs');
5785
5785
  let startedBy = void 0;
5786
5786
  for (let i = 1; i < args.length; i++) {
5787
5787
  if (args[i] === "--started-by") {
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  require('chalk');
4
- require('./index-B_nemqpL.cjs');
5
- require('./types-DOKP_I5s.cjs');
4
+ require('./index-CnbpW8M_.cjs');
5
+ require('./types-BTQ3mv47.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-Cp1f1oto.mjs';
3
- import './types-CYZG1S69.mjs';
2
+ import './index-DGSQ98ZI.mjs';
3
+ import './types-B_jcUADp.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-DOKP_I5s.cjs');
3
+ var types = require('./types-BTQ3mv47.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-CYZG1S69.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-B_jcUADp.mjs';
2
2
  import 'axios';
3
3
  import 'chalk';
4
4
  import 'fs';
@@ -2,13 +2,13 @@
2
2
 
3
3
  var ink = require('ink');
4
4
  var React = require('react');
5
- var types = require('./types-DOKP_I5s.cjs');
5
+ var types = require('./types-BTQ3mv47.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 node_crypto = require('node:crypto');
11
- var index = require('./index-B_nemqpL.cjs');
11
+ var index = require('./index-CnbpW8M_.cjs');
12
12
  var os = require('node:os');
13
13
  var node_path = require('node:path');
14
14
  var fs = require('node:fs');
@@ -1,12 +1,12 @@
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 } from './types-CYZG1S69.mjs';
3
+ import { l as logger, A as ApiClient, r as readSettings, p as projectPath, c as configuration, b as packageJson } from './types-B_jcUADp.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 { randomUUID } from 'node:crypto';
9
- import { i as initialMachineMetadata, n as notifyDaemonSessionStarted, M as MessageQueue2, h as hashObject, r as registerKillSessionHandler, a as MessageBuffer, s as startHappyServer, t as trimIdent, b as stopCaffeinate } from './index-Cp1f1oto.mjs';
9
+ import { i as initialMachineMetadata, n as notifyDaemonSessionStarted, M as MessageQueue2, h as hashObject, r as registerKillSessionHandler, a as MessageBuffer, s as startHappyServer, t as trimIdent, b as stopCaffeinate } from './index-DGSQ98ZI.mjs';
10
10
  import os from 'node:os';
11
11
  import { resolve, join } from 'node:path';
12
12
  import fs from 'node:fs';
@@ -42,7 +42,7 @@ function _interopNamespaceDefault(e) {
42
42
  var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
43
43
 
44
44
  var name = "happy-coder";
45
- var version = "0.10.1";
45
+ var version = "0.11.0";
46
46
  var description = "Mobile and Web client for Claude Code and Codex";
47
47
  var author = "Kirill Dubovitskiy";
48
48
  var license = "MIT";
@@ -110,8 +110,8 @@ var scripts = {
110
110
  postinstall: "node scripts/unpack-tools.cjs"
111
111
  };
112
112
  var dependencies = {
113
- "@anthropic-ai/claude-code": "1.0.120",
114
- "@anthropic-ai/sdk": "0.56.0",
113
+ "@anthropic-ai/claude-code": "2.0.1",
114
+ "@anthropic-ai/sdk": "0.65.0",
115
115
  "@modelcontextprotocol/sdk": "^1.15.1",
116
116
  "@stablelib/base64": "^2.0.1",
117
117
  "@stablelib/hex": "^2.0.1",
@@ -1017,7 +1017,7 @@ class RpcHandlerManager {
1017
1017
  }
1018
1018
  }
1019
1019
 
1020
- 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-DOKP_I5s.cjs', document.baseURI).href))));
1020
+ 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-BTQ3mv47.cjs', document.baseURI).href))));
1021
1021
  function projectPath() {
1022
1022
  const path$1 = path.resolve(__dirname$1, "..");
1023
1023
  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 = "happy-coder";
24
- var version = "0.10.1";
24
+ var version = "0.11.0";
25
25
  var description = "Mobile and Web client for Claude Code and Codex";
26
26
  var author = "Kirill Dubovitskiy";
27
27
  var license = "MIT";
@@ -89,8 +89,8 @@ var scripts = {
89
89
  postinstall: "node scripts/unpack-tools.cjs"
90
90
  };
91
91
  var dependencies = {
92
- "@anthropic-ai/claude-code": "1.0.120",
93
- "@anthropic-ai/sdk": "0.56.0",
92
+ "@anthropic-ai/claude-code": "2.0.1",
93
+ "@anthropic-ai/sdk": "0.65.0",
94
94
  "@modelcontextprotocol/sdk": "^1.15.1",
95
95
  "@stablelib/base64": "^2.0.1",
96
96
  "@stablelib/hex": "^2.0.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "happy-coder",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "Mobile and Web client for Claude Code and Codex",
5
5
  "author": "Kirill Dubovitskiy",
6
6
  "license": "MIT",
@@ -68,8 +68,8 @@
68
68
  "postinstall": "node scripts/unpack-tools.cjs"
69
69
  },
70
70
  "dependencies": {
71
- "@anthropic-ai/claude-code": "1.0.120",
72
- "@anthropic-ai/sdk": "0.56.0",
71
+ "@anthropic-ai/claude-code": "2.0.1",
72
+ "@anthropic-ai/sdk": "0.65.0",
73
73
  "@modelcontextprotocol/sdk": "^1.15.1",
74
74
  "@stablelib/base64": "^2.0.1",
75
75
  "@stablelib/hex": "^2.0.1",