@funnycode/myclaude 0.1.28 → 0.1.29
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/README.md +0 -4
- package/README.zh-CN.md +0 -4
- package/dist/myclaude.js +14 -29
- package/dist/myclaude.mjs +14 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -134,13 +134,9 @@ npx @funnycode/myclaude --help # Show help
|
|
|
134
134
|
| `/terminal-setup` | Terminal setup |
|
|
135
135
|
| `/memory` | Manage AI memory |
|
|
136
136
|
| `/skills` | Manage skills |
|
|
137
|
-
| `/sandbox` | Toggle sandbox mode |
|
|
138
|
-
| `/session` | Session management |
|
|
139
137
|
| `/tag` | Tag current session |
|
|
140
138
|
| `/export` | Export session |
|
|
141
|
-
| `/upgrade` | Check for updates |
|
|
142
139
|
| `/feedback` | Submit feedback (opens GitHub Issues) |
|
|
143
|
-
| `/thinkback` | Think-back review |
|
|
144
140
|
|
|
145
141
|
---
|
|
146
142
|
|
package/README.zh-CN.md
CHANGED
|
@@ -134,13 +134,9 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
134
134
|
| `/terminal-setup` | 终端设置 |
|
|
135
135
|
| `/memory` | 管理 AI 记忆 |
|
|
136
136
|
| `/skills` | 管理技能 |
|
|
137
|
-
| `/sandbox` | 切换沙盒模式 |
|
|
138
|
-
| `/session` | 会话管理 |
|
|
139
137
|
| `/tag` | 标记当前会话 |
|
|
140
138
|
| `/export` | 导出会话 |
|
|
141
|
-
| `/upgrade` | 检查更新 |
|
|
142
139
|
| `/feedback` | 提交反馈(跳转 GitHub Issues) |
|
|
143
|
-
| `/thinkback` | 回溯思考过程 |
|
|
144
140
|
|
|
145
141
|
---
|
|
146
142
|
|
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.
|
|
8
|
-
BUILD_TIME: "2026-06-22T13:
|
|
7
|
+
VERSION: "0.1.29",
|
|
8
|
+
BUILD_TIME: "2026-06-22T13:47:26.643Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -279974,7 +279974,7 @@ function parseMcpConfig(params) {
|
|
|
279974
279974
|
...filePath && { file: filePath },
|
|
279975
279975
|
path: `mcpServers.${name}`,
|
|
279976
279976
|
message: `Windows requires 'cmd /c' wrapper to execute npx`,
|
|
279977
|
-
suggestion: `Change command to "cmd" with args ["/c", "npx", ...]. See: https://
|
|
279977
|
+
suggestion: `Change command to "cmd" with args ["/c", "npx", ...]. See: https://github.com/thomaslwq/myclaude`,
|
|
279978
279978
|
mcpErrorMetadata: {
|
|
279979
279979
|
scope,
|
|
279980
279980
|
serverName: name,
|
|
@@ -417711,8 +417711,8 @@ function McpParsingWarnings() {
|
|
|
417711
417711
|
"For help configuring MCP servers, see:",
|
|
417712
417712
|
" ",
|
|
417713
417713
|
/* @__PURE__ */ jsx_dev_runtime189.jsxDEV(Link, {
|
|
417714
|
-
url: "https://
|
|
417715
|
-
children: "https://
|
|
417714
|
+
url: "https://github.com/thomaslwq/myclaude",
|
|
417715
|
+
children: "https://github.com/thomaslwq/myclaude"
|
|
417716
417716
|
}, undefined, false, undefined, this)
|
|
417717
417717
|
]
|
|
417718
417718
|
}, undefined, true, undefined, this)
|
|
@@ -422536,12 +422536,6 @@ __export(exports_keybindings, {
|
|
|
422536
422536
|
import { mkdir as mkdir29, writeFile as writeFile32 } from "fs/promises";
|
|
422537
422537
|
import { dirname as dirname52 } from "path";
|
|
422538
422538
|
async function call23() {
|
|
422539
|
-
if (!isKeybindingCustomizationEnabled()) {
|
|
422540
|
-
return {
|
|
422541
|
-
type: "text",
|
|
422542
|
-
value: "Keybinding customization is not enabled. This feature is currently in preview."
|
|
422543
|
-
};
|
|
422544
|
-
}
|
|
422545
422539
|
const keybindingsPath = getKeybindingsPath();
|
|
422546
422540
|
let fileExists = false;
|
|
422547
422541
|
await mkdir29(dirname52(keybindingsPath), { recursive: true });
|
|
@@ -422550,23 +422544,17 @@ async function call23() {
|
|
|
422550
422544
|
encoding: "utf-8",
|
|
422551
422545
|
flag: "wx"
|
|
422552
422546
|
});
|
|
422553
|
-
} catch (
|
|
422554
|
-
if (getErrnoCode(
|
|
422547
|
+
} catch (err2) {
|
|
422548
|
+
if (getErrnoCode(err2) === "EEXIST") {
|
|
422555
422549
|
fileExists = true;
|
|
422556
422550
|
} else {
|
|
422557
|
-
throw
|
|
422551
|
+
throw err2;
|
|
422558
422552
|
}
|
|
422559
422553
|
}
|
|
422560
|
-
const
|
|
422561
|
-
if (result.error) {
|
|
422562
|
-
return {
|
|
422563
|
-
type: "text",
|
|
422564
|
-
value: `${fileExists ? "Opened" : "Created"} ${keybindingsPath}. Could not open in editor: ${result.error}`
|
|
422565
|
-
};
|
|
422566
|
-
}
|
|
422554
|
+
const editAccepted = await editFileInEditor(keybindingsPath);
|
|
422567
422555
|
return {
|
|
422568
422556
|
type: "text",
|
|
422569
|
-
value:
|
|
422557
|
+
value: editAccepted ? `Keybindings file saved to ${keybindingsPath}` : `No changes made. Your keybindings file is at ${keybindingsPath}`
|
|
422570
422558
|
};
|
|
422571
422559
|
}
|
|
422572
422560
|
var init_keybindings = __esm(() => {
|
|
@@ -422579,11 +422567,9 @@ var init_keybindings = __esm(() => {
|
|
|
422579
422567
|
// src/commands/keybindings/index.ts
|
|
422580
422568
|
var keybindings, keybindings_default;
|
|
422581
422569
|
var init_keybindings2 = __esm(() => {
|
|
422582
|
-
init_loadUserBindings();
|
|
422583
422570
|
keybindings = {
|
|
422584
422571
|
name: "keybindings",
|
|
422585
422572
|
description: "Open or create your keybindings configuration file",
|
|
422586
|
-
isEnabled: () => isKeybindingCustomizationEnabled(),
|
|
422587
422573
|
supportsNonInteractive: false,
|
|
422588
422574
|
type: "local",
|
|
422589
422575
|
load: () => Promise.resolve().then(() => (init_keybindings(), exports_keybindings))
|
|
@@ -426780,8 +426766,8 @@ function MCPListPanel(t0) {
|
|
|
426780
426766
|
dimColor: true,
|
|
426781
426767
|
children: [
|
|
426782
426768
|
/* @__PURE__ */ jsx_dev_runtime219.jsxDEV(Link, {
|
|
426783
|
-
url: "https://
|
|
426784
|
-
children: "https://
|
|
426769
|
+
url: "https://github.com/thomaslwq/myclaude",
|
|
426770
|
+
children: "https://github.com/thomaslwq/myclaude"
|
|
426785
426771
|
}, undefined, false, undefined, this),
|
|
426786
426772
|
" ",
|
|
426787
426773
|
"for help"
|
|
@@ -429919,7 +429905,7 @@ function MCPSettings(t0) {
|
|
|
429919
429905
|
return;
|
|
429920
429906
|
}
|
|
429921
429907
|
if (servers.length === 0 && agentMcpServers.length === 0) {
|
|
429922
|
-
onComplete("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `myclaude mcp --help` or visit https://
|
|
429908
|
+
onComplete("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `myclaude mcp --help` or visit https://github.com/thomaslwq/myclaude to learn more.");
|
|
429923
429909
|
}
|
|
429924
429910
|
};
|
|
429925
429911
|
t8 = [servers.length, filteredClients.length, agentMcpServers.length, onComplete];
|
|
@@ -479865,7 +479851,6 @@ var init_tag2 = __esm(() => {
|
|
|
479865
479851
|
type: "local-jsx",
|
|
479866
479852
|
name: "tag",
|
|
479867
479853
|
description: "Toggle a searchable tag on the current session",
|
|
479868
|
-
isEnabled: () => process.env.USER_TYPE === "ant",
|
|
479869
479854
|
argumentHint: "<tag-name>",
|
|
479870
479855
|
load: () => Promise.resolve().then(() => (init_tag(), exports_tag))
|
|
479871
479856
|
};
|
|
@@ -549795,7 +549780,7 @@ function MCPServerDialogCopy() {
|
|
|
549795
549780
|
"MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the",
|
|
549796
549781
|
" ",
|
|
549797
549782
|
/* @__PURE__ */ jsx_dev_runtime467.jsxDEV(Link, {
|
|
549798
|
-
url: "https://
|
|
549783
|
+
url: "https://github.com/thomaslwq/myclaude",
|
|
549799
549784
|
children: "MCP documentation"
|
|
549800
549785
|
}, undefined, false, undefined, this),
|
|
549801
549786
|
"."
|
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.
|
|
8
|
-
BUILD_TIME: "2026-06-22T13:
|
|
7
|
+
VERSION: "0.1.29",
|
|
8
|
+
BUILD_TIME: "2026-06-22T13:47:26.643Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -279974,7 +279974,7 @@ function parseMcpConfig(params) {
|
|
|
279974
279974
|
...filePath && { file: filePath },
|
|
279975
279975
|
path: `mcpServers.${name}`,
|
|
279976
279976
|
message: `Windows requires 'cmd /c' wrapper to execute npx`,
|
|
279977
|
-
suggestion: `Change command to "cmd" with args ["/c", "npx", ...]. See: https://
|
|
279977
|
+
suggestion: `Change command to "cmd" with args ["/c", "npx", ...]. See: https://github.com/thomaslwq/myclaude`,
|
|
279978
279978
|
mcpErrorMetadata: {
|
|
279979
279979
|
scope,
|
|
279980
279980
|
serverName: name,
|
|
@@ -417711,8 +417711,8 @@ function McpParsingWarnings() {
|
|
|
417711
417711
|
"For help configuring MCP servers, see:",
|
|
417712
417712
|
" ",
|
|
417713
417713
|
/* @__PURE__ */ jsx_dev_runtime189.jsxDEV(Link, {
|
|
417714
|
-
url: "https://
|
|
417715
|
-
children: "https://
|
|
417714
|
+
url: "https://github.com/thomaslwq/myclaude",
|
|
417715
|
+
children: "https://github.com/thomaslwq/myclaude"
|
|
417716
417716
|
}, undefined, false, undefined, this)
|
|
417717
417717
|
]
|
|
417718
417718
|
}, undefined, true, undefined, this)
|
|
@@ -422536,12 +422536,6 @@ __export(exports_keybindings, {
|
|
|
422536
422536
|
import { mkdir as mkdir29, writeFile as writeFile32 } from "fs/promises";
|
|
422537
422537
|
import { dirname as dirname52 } from "path";
|
|
422538
422538
|
async function call23() {
|
|
422539
|
-
if (!isKeybindingCustomizationEnabled()) {
|
|
422540
|
-
return {
|
|
422541
|
-
type: "text",
|
|
422542
|
-
value: "Keybinding customization is not enabled. This feature is currently in preview."
|
|
422543
|
-
};
|
|
422544
|
-
}
|
|
422545
422539
|
const keybindingsPath = getKeybindingsPath();
|
|
422546
422540
|
let fileExists = false;
|
|
422547
422541
|
await mkdir29(dirname52(keybindingsPath), { recursive: true });
|
|
@@ -422550,23 +422544,17 @@ async function call23() {
|
|
|
422550
422544
|
encoding: "utf-8",
|
|
422551
422545
|
flag: "wx"
|
|
422552
422546
|
});
|
|
422553
|
-
} catch (
|
|
422554
|
-
if (getErrnoCode(
|
|
422547
|
+
} catch (err2) {
|
|
422548
|
+
if (getErrnoCode(err2) === "EEXIST") {
|
|
422555
422549
|
fileExists = true;
|
|
422556
422550
|
} else {
|
|
422557
|
-
throw
|
|
422551
|
+
throw err2;
|
|
422558
422552
|
}
|
|
422559
422553
|
}
|
|
422560
|
-
const
|
|
422561
|
-
if (result.error) {
|
|
422562
|
-
return {
|
|
422563
|
-
type: "text",
|
|
422564
|
-
value: `${fileExists ? "Opened" : "Created"} ${keybindingsPath}. Could not open in editor: ${result.error}`
|
|
422565
|
-
};
|
|
422566
|
-
}
|
|
422554
|
+
const editAccepted = await editFileInEditor(keybindingsPath);
|
|
422567
422555
|
return {
|
|
422568
422556
|
type: "text",
|
|
422569
|
-
value:
|
|
422557
|
+
value: editAccepted ? `Keybindings file saved to ${keybindingsPath}` : `No changes made. Your keybindings file is at ${keybindingsPath}`
|
|
422570
422558
|
};
|
|
422571
422559
|
}
|
|
422572
422560
|
var init_keybindings = __esm(() => {
|
|
@@ -422579,11 +422567,9 @@ var init_keybindings = __esm(() => {
|
|
|
422579
422567
|
// src/commands/keybindings/index.ts
|
|
422580
422568
|
var keybindings, keybindings_default;
|
|
422581
422569
|
var init_keybindings2 = __esm(() => {
|
|
422582
|
-
init_loadUserBindings();
|
|
422583
422570
|
keybindings = {
|
|
422584
422571
|
name: "keybindings",
|
|
422585
422572
|
description: "Open or create your keybindings configuration file",
|
|
422586
|
-
isEnabled: () => isKeybindingCustomizationEnabled(),
|
|
422587
422573
|
supportsNonInteractive: false,
|
|
422588
422574
|
type: "local",
|
|
422589
422575
|
load: () => Promise.resolve().then(() => (init_keybindings(), exports_keybindings))
|
|
@@ -426780,8 +426766,8 @@ function MCPListPanel(t0) {
|
|
|
426780
426766
|
dimColor: true,
|
|
426781
426767
|
children: [
|
|
426782
426768
|
/* @__PURE__ */ jsx_dev_runtime219.jsxDEV(Link, {
|
|
426783
|
-
url: "https://
|
|
426784
|
-
children: "https://
|
|
426769
|
+
url: "https://github.com/thomaslwq/myclaude",
|
|
426770
|
+
children: "https://github.com/thomaslwq/myclaude"
|
|
426785
426771
|
}, undefined, false, undefined, this),
|
|
426786
426772
|
" ",
|
|
426787
426773
|
"for help"
|
|
@@ -429919,7 +429905,7 @@ function MCPSettings(t0) {
|
|
|
429919
429905
|
return;
|
|
429920
429906
|
}
|
|
429921
429907
|
if (servers.length === 0 && agentMcpServers.length === 0) {
|
|
429922
|
-
onComplete("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `myclaude mcp --help` or visit https://
|
|
429908
|
+
onComplete("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `myclaude mcp --help` or visit https://github.com/thomaslwq/myclaude to learn more.");
|
|
429923
429909
|
}
|
|
429924
429910
|
};
|
|
429925
429911
|
t8 = [servers.length, filteredClients.length, agentMcpServers.length, onComplete];
|
|
@@ -479865,7 +479851,6 @@ var init_tag2 = __esm(() => {
|
|
|
479865
479851
|
type: "local-jsx",
|
|
479866
479852
|
name: "tag",
|
|
479867
479853
|
description: "Toggle a searchable tag on the current session",
|
|
479868
|
-
isEnabled: () => process.env.USER_TYPE === "ant",
|
|
479869
479854
|
argumentHint: "<tag-name>",
|
|
479870
479855
|
load: () => Promise.resolve().then(() => (init_tag(), exports_tag))
|
|
479871
479856
|
};
|
|
@@ -549795,7 +549780,7 @@ function MCPServerDialogCopy() {
|
|
|
549795
549780
|
"MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the",
|
|
549796
549781
|
" ",
|
|
549797
549782
|
/* @__PURE__ */ jsx_dev_runtime467.jsxDEV(Link, {
|
|
549798
|
-
url: "https://
|
|
549783
|
+
url: "https://github.com/thomaslwq/myclaude",
|
|
549799
549784
|
children: "MCP documentation"
|
|
549800
549785
|
}, undefined, false, undefined, this),
|
|
549801
549786
|
"."
|