@funnycode/myclaude 0.1.296 → 0.1.298

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/myclaude.js CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.296",
8
- BUILD_TIME: "2026-08-26T17:14:10.114Z",
7
+ VERSION: "0.1.298",
8
+ BUILD_TIME: "2026-08-27T07:28:46.258Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -120027,7 +120027,7 @@ var package_default;
120027
120027
  var init_package = __esm(() => {
120028
120028
  package_default = {
120029
120029
  name: "@funnycode/myclaude",
120030
- version: "0.1.296",
120030
+ version: "0.1.298",
120031
120031
  private: false,
120032
120032
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
120033
120033
  license: "MIT",
@@ -282574,8 +282574,10 @@ __export(exports_sessionIdCompat, {
282574
282574
  resetCseShimGateForTesting: () => resetCseShimGateForTesting,
282575
282575
  getCseShimGate: () => getCseShimGate
282576
282576
  });
282577
- async function setCseShimGate(gate) {
282578
- _isCseShimEnabled = gate;
282577
+ async function setCseShimGate(gate, options) {
282578
+ if (_isCseShimEnabled === undefined || options?.force) {
282579
+ _isCseShimEnabled = gate;
282580
+ }
282579
282581
  }
282580
282582
  function getCseShimGate() {
282581
282583
  return _isCseShimEnabled;
@@ -480041,9 +480043,9 @@ var init_definitions = __esm(() => {
480041
480043
  },
480042
480044
  {
480043
480045
  id: "2",
480044
- description: "Install dependencies (express, jsonwebtoken, bcrypt)",
480045
- command: "npm install express jsonwebtoken bcrypt",
480046
- reasoning: "Add necessary packages for the API"
480046
+ description: "Create dependency directory (npm install is not permitted by the executor allowlist; install manually)",
480047
+ command: "mkdir node_modules",
480048
+ reasoning: "Dependency installation must be run manually — npm was removed from the allowlist (issues #886/#889/#890)"
480047
480049
  },
480048
480050
  {
480049
480051
  id: "3",
@@ -480137,9 +480139,9 @@ var init_definitions = __esm(() => {
480137
480139
  steps: [
480138
480140
  {
480139
480141
  id: "1",
480140
- description: "Install testing dependencies (vitest, @testing-library/react)",
480141
- command: "npm install -D vitest @testing-library/react @testing-library/jest-dom",
480142
- reasoning: "Add testing tools"
480142
+ description: "Create test dependency directory (npm install is not permitted by the executor allowlist; install manually)",
480143
+ command: "mkdir node_modules",
480144
+ reasoning: "Test dependencies must be installed manually — npm was removed from the allowlist (issues #886/#889/#890)"
480143
480145
  },
480144
480146
  {
480145
480147
  id: "2",
@@ -480298,12 +480300,7 @@ async function executeFlow(flow, context2, onStepStart, onStepComplete, onStepFa
480298
480300
  state.currentStepIndex = i3;
480299
480301
  try {
480300
480302
  if (onStepStart) {
480301
- try {
480302
- await onStepStart(step, state);
480303
- } catch (callbackError) {
480304
- console.error(`onStepStart callback failed for step "${step.id}":`, callbackError);
480305
- callbackErrors.push(callbackError);
480306
- }
480303
+ await onStepStart(step, state);
480307
480304
  }
480308
480305
  if (step.command) {
480309
480306
  await executeCommand(step.command, context2);
package/dist/myclaude.mjs CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.296",
8
- BUILD_TIME: "2026-08-26T17:14:10.114Z",
7
+ VERSION: "0.1.298",
8
+ BUILD_TIME: "2026-08-27T07:28:46.258Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -120027,7 +120027,7 @@ var package_default;
120027
120027
  var init_package = __esm(() => {
120028
120028
  package_default = {
120029
120029
  name: "@funnycode/myclaude",
120030
- version: "0.1.296",
120030
+ version: "0.1.298",
120031
120031
  private: false,
120032
120032
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
120033
120033
  license: "MIT",
@@ -282574,8 +282574,10 @@ __export(exports_sessionIdCompat, {
282574
282574
  resetCseShimGateForTesting: () => resetCseShimGateForTesting,
282575
282575
  getCseShimGate: () => getCseShimGate
282576
282576
  });
282577
- async function setCseShimGate(gate) {
282578
- _isCseShimEnabled = gate;
282577
+ async function setCseShimGate(gate, options) {
282578
+ if (_isCseShimEnabled === undefined || options?.force) {
282579
+ _isCseShimEnabled = gate;
282580
+ }
282579
282581
  }
282580
282582
  function getCseShimGate() {
282581
282583
  return _isCseShimEnabled;
@@ -480041,9 +480043,9 @@ var init_definitions = __esm(() => {
480041
480043
  },
480042
480044
  {
480043
480045
  id: "2",
480044
- description: "Install dependencies (express, jsonwebtoken, bcrypt)",
480045
- command: "npm install express jsonwebtoken bcrypt",
480046
- reasoning: "Add necessary packages for the API"
480046
+ description: "Create dependency directory (npm install is not permitted by the executor allowlist; install manually)",
480047
+ command: "mkdir node_modules",
480048
+ reasoning: "Dependency installation must be run manually — npm was removed from the allowlist (issues #886/#889/#890)"
480047
480049
  },
480048
480050
  {
480049
480051
  id: "3",
@@ -480137,9 +480139,9 @@ var init_definitions = __esm(() => {
480137
480139
  steps: [
480138
480140
  {
480139
480141
  id: "1",
480140
- description: "Install testing dependencies (vitest, @testing-library/react)",
480141
- command: "npm install -D vitest @testing-library/react @testing-library/jest-dom",
480142
- reasoning: "Add testing tools"
480142
+ description: "Create test dependency directory (npm install is not permitted by the executor allowlist; install manually)",
480143
+ command: "mkdir node_modules",
480144
+ reasoning: "Test dependencies must be installed manually — npm was removed from the allowlist (issues #886/#889/#890)"
480143
480145
  },
480144
480146
  {
480145
480147
  id: "2",
@@ -480298,12 +480300,7 @@ async function executeFlow(flow, context2, onStepStart, onStepComplete, onStepFa
480298
480300
  state.currentStepIndex = i3;
480299
480301
  try {
480300
480302
  if (onStepStart) {
480301
- try {
480302
- await onStepStart(step, state);
480303
- } catch (callbackError) {
480304
- console.error(`onStepStart callback failed for step "${step.id}":`, callbackError);
480305
- callbackErrors.push(callbackError);
480306
- }
480303
+ await onStepStart(step, state);
480307
480304
  }
480308
480305
  if (step.command) {
480309
480306
  await executeCommand(step.command, context2);
package/package.json CHANGED
@@ -1,131 +1,131 @@
1
- {
2
- "name": "@funnycode/myclaude",
3
- "version": "0.1.296",
4
- "private": false,
5
- "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
- "license": "MIT",
7
- "type": "module",
8
- "packageManager": "bun@1.3.5",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thomaslwq/myclaude.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/thomaslwq/myclaude/issues"
15
- },
16
- "homepage": "https://github.com/thomaslwq/myclaude",
17
- "engines": {
18
- "bun": ">=1.3.5",
19
- "node": ">=18.17.0"
20
- },
21
- "scripts": {
22
- "dev": "bun run ./src/dev-entry.ts",
23
- "start": "bun run ./src/dev-entry.ts",
24
- "test": "bun test",
25
- "test:watch": "bun test --watch",
26
- "test:perf": "bun test src/tests/performance-regression.test.ts",
27
- "build": "bun run ./scripts/build.ts",
28
- "prepublishOnly": "bun run build",
29
- "version": "bun run ./src/dev-entry.ts --version"
30
- },
31
- "bin": {
32
- "myclaude": "bin/myclaude.cjs"
33
- },
34
- "files": [
35
- "dist/",
36
- "seed/",
37
- "bin/",
38
- "LICENSE",
39
- "README.md",
40
- "README.zh-CN.md",
41
- "CHANGELOG.md",
42
- "docs/funnycode.png",
43
- "shims/node-domexception/"
44
- ],
45
- "publishConfig": {
46
- "access": "public"
47
- },
48
- "dependencies": {
49
- "@alcalzone/ansi-tokenize": "0.3.0",
50
- "@anthropic-ai/claude-agent-sdk": "0.3.207",
51
- "@anthropic-ai/mcpb": "2.1.2",
52
- "@anthropic-ai/sandbox-runtime": "0.0.44",
53
- "@anthropic-ai/sdk": "0.111.0",
54
- "@aws-sdk/client-bedrock-runtime": "3.1020.0",
55
- "@commander-js/extra-typings": "14.0.0",
56
- "@growthbook/growthbook": "1.6.5",
57
- "@modelcontextprotocol/sdk": "1.29.0",
58
- "@opentelemetry/api": "1.9.1",
59
- "@opentelemetry/api-logs": "0.221.0",
60
- "@opentelemetry/core": "1.28.0",
61
- "@opentelemetry/resources": "1.28.0",
62
- "@opentelemetry/sdk-logs": "0.52.0",
63
- "@opentelemetry/sdk-metrics": "1.28.0",
64
- "@opentelemetry/sdk-trace-base": "1.28.0",
65
- "@opentelemetry/semantic-conventions": "1.43.0",
66
- "ajv": "8.18.0",
67
- "asciichart": "1.5.25",
68
- "async-mutex": "0.5.0",
69
- "auto-bind": "5.0.1",
70
- "axios": "1.7.9",
71
- "bidi-js": "1.0.3",
72
- "chalk": "5.6.2",
73
- "chokidar": "5.0.0",
74
- "cli-boxes": "4.0.1",
75
- "code-excerpt": "4.0.0",
76
- "diff": "8.0.4",
77
- "emoji-regex": "10.6.0",
78
- "env-paths": "4.0.0",
79
- "execa": "9.6.1",
80
- "figures": "6.1.0",
81
- "fuse.js": "7.1.0",
82
- "get-east-asian-width": "1.5.0",
83
- "google-auth-library": "10.6.2",
84
- "highlight.js": "11.11.1",
85
- "https-proxy-agent": "8.0.0",
86
- "ignore": "7.0.5",
87
- "indent-string": "5.0.0",
88
- "ink": "6.8.0",
89
- "jsonc-parser": "3.3.1",
90
- "lodash-es": "4.17.23",
91
- "lru-cache": "11.5.2",
92
- "marked": "18.0.9",
93
- "p-map": "7.0.4",
94
- "picomatch": "4.0.4",
95
- "proper-lockfile": "4.1.2",
96
- "qrcode": "1.5.4",
97
- "react": "19.2.8",
98
- "react-reconciler": "0.33.0",
99
- "semver": "7.8.5",
100
- "shell-quote": "1.8.3",
101
- "signal-exit": "4.1.0",
102
- "stack-utils": "2.0.6",
103
- "strip-ansi": "7.2.0",
104
- "supports-hyperlinks": "4.4.0",
105
- "tree-kill": "1.2.2",
106
- "type-fest": "5.5.0",
107
- "undici": "7.24.6",
108
- "usehooks-ts": "3.1.1",
109
- "vscode-jsonrpc": "8.2.1",
110
- "vscode-languageserver-protocol": "3.17.5",
111
- "vscode-languageserver-types": "3.17.5",
112
- "wrap-ansi": "10.0.0",
113
- "ws": "8.20.0",
114
- "xss": "1.0.15",
115
- "yaml": "2.8.3",
116
- "zod": "4.4.3"
117
- },
118
- "optionalDependencies": {
119
- "@ant/claude-for-chrome-mcp": "file:./shims/ant-claude-for-chrome-mcp",
120
- "@ant/computer-use-input": "file:./shims/ant-computer-use-input",
121
- "@ant/computer-use-mcp": "file:./shims/ant-computer-use-mcp",
122
- "@ant/computer-use-swift": "file:./shims/ant-computer-use-swift",
123
- "color-diff-napi": "file:./shims/color-diff-napi",
124
- "modifiers-napi": "file:./shims/modifiers-napi",
125
- "node-domexception": "file:./shims/node-domexception",
126
- "url-handler-napi": "file:./shims/url-handler-napi"
127
- },
128
- "overrides": {
129
- "node-domexception": "file:./shims/node-domexception"
130
- }
131
- }
1
+ {
2
+ "name": "@funnycode/myclaude",
3
+ "version": "0.1.298",
4
+ "private": false,
5
+ "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "packageManager": "bun@1.3.5",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thomaslwq/myclaude.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/thomaslwq/myclaude/issues"
15
+ },
16
+ "homepage": "https://github.com/thomaslwq/myclaude",
17
+ "engines": {
18
+ "bun": ">=1.3.5",
19
+ "node": ">=18.17.0"
20
+ },
21
+ "scripts": {
22
+ "dev": "bun run ./src/dev-entry.ts",
23
+ "start": "bun run ./src/dev-entry.ts",
24
+ "test": "bun test",
25
+ "test:watch": "bun test --watch",
26
+ "test:perf": "bun test src/tests/performance-regression.test.ts",
27
+ "build": "bun run ./scripts/build.ts",
28
+ "prepublishOnly": "bun run build",
29
+ "version": "bun run ./src/dev-entry.ts --version"
30
+ },
31
+ "bin": {
32
+ "myclaude": "bin/myclaude.cjs"
33
+ },
34
+ "files": [
35
+ "dist/",
36
+ "seed/",
37
+ "bin/",
38
+ "LICENSE",
39
+ "README.md",
40
+ "README.zh-CN.md",
41
+ "CHANGELOG.md",
42
+ "docs/funnycode.png",
43
+ "shims/node-domexception/"
44
+ ],
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "dependencies": {
49
+ "@alcalzone/ansi-tokenize": "0.3.0",
50
+ "@anthropic-ai/claude-agent-sdk": "0.3.207",
51
+ "@anthropic-ai/mcpb": "2.1.2",
52
+ "@anthropic-ai/sandbox-runtime": "0.0.44",
53
+ "@anthropic-ai/sdk": "0.111.0",
54
+ "@aws-sdk/client-bedrock-runtime": "3.1020.0",
55
+ "@commander-js/extra-typings": "14.0.0",
56
+ "@growthbook/growthbook": "1.6.5",
57
+ "@modelcontextprotocol/sdk": "1.29.0",
58
+ "@opentelemetry/api": "1.9.1",
59
+ "@opentelemetry/api-logs": "0.221.0",
60
+ "@opentelemetry/core": "1.28.0",
61
+ "@opentelemetry/resources": "1.28.0",
62
+ "@opentelemetry/sdk-logs": "0.52.0",
63
+ "@opentelemetry/sdk-metrics": "1.28.0",
64
+ "@opentelemetry/sdk-trace-base": "1.28.0",
65
+ "@opentelemetry/semantic-conventions": "1.43.0",
66
+ "ajv": "8.18.0",
67
+ "asciichart": "1.5.25",
68
+ "async-mutex": "0.5.0",
69
+ "auto-bind": "5.0.1",
70
+ "axios": "1.7.9",
71
+ "bidi-js": "1.0.3",
72
+ "chalk": "5.6.2",
73
+ "chokidar": "5.0.0",
74
+ "cli-boxes": "4.0.1",
75
+ "code-excerpt": "4.0.0",
76
+ "diff": "8.0.4",
77
+ "emoji-regex": "10.6.0",
78
+ "env-paths": "4.0.0",
79
+ "execa": "9.6.1",
80
+ "figures": "6.1.0",
81
+ "fuse.js": "7.1.0",
82
+ "get-east-asian-width": "1.5.0",
83
+ "google-auth-library": "10.6.2",
84
+ "highlight.js": "11.11.1",
85
+ "https-proxy-agent": "8.0.0",
86
+ "ignore": "7.0.5",
87
+ "indent-string": "5.0.0",
88
+ "ink": "6.8.0",
89
+ "jsonc-parser": "3.3.1",
90
+ "lodash-es": "4.17.23",
91
+ "lru-cache": "11.5.2",
92
+ "marked": "18.0.9",
93
+ "p-map": "7.0.4",
94
+ "picomatch": "4.0.4",
95
+ "proper-lockfile": "4.1.2",
96
+ "qrcode": "1.5.4",
97
+ "react": "19.2.8",
98
+ "react-reconciler": "0.33.0",
99
+ "semver": "7.8.5",
100
+ "shell-quote": "1.8.3",
101
+ "signal-exit": "4.1.0",
102
+ "stack-utils": "2.0.6",
103
+ "strip-ansi": "7.2.0",
104
+ "supports-hyperlinks": "4.4.0",
105
+ "tree-kill": "1.2.2",
106
+ "type-fest": "5.5.0",
107
+ "undici": "7.24.6",
108
+ "usehooks-ts": "3.1.1",
109
+ "vscode-jsonrpc": "8.2.1",
110
+ "vscode-languageserver-protocol": "3.17.5",
111
+ "vscode-languageserver-types": "3.17.5",
112
+ "wrap-ansi": "10.0.0",
113
+ "ws": "8.20.0",
114
+ "xss": "1.0.15",
115
+ "yaml": "2.8.3",
116
+ "zod": "4.4.3"
117
+ },
118
+ "optionalDependencies": {
119
+ "@ant/claude-for-chrome-mcp": "file:./shims/ant-claude-for-chrome-mcp",
120
+ "@ant/computer-use-input": "file:./shims/ant-computer-use-input",
121
+ "@ant/computer-use-mcp": "file:./shims/ant-computer-use-mcp",
122
+ "@ant/computer-use-swift": "file:./shims/ant-computer-use-swift",
123
+ "color-diff-napi": "file:./shims/color-diff-napi",
124
+ "modifiers-napi": "file:./shims/modifiers-napi",
125
+ "node-domexception": "file:./shims/node-domexception",
126
+ "url-handler-napi": "file:./shims/url-handler-napi"
127
+ },
128
+ "overrides": {
129
+ "node-domexception": "file:./shims/node-domexception"
130
+ }
131
+ }