@miphamai/cli 0.85.5 → 0.85.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.
@@ -42,129 +42,11 @@
42
42
  "dismiss": "Dismiss",
43
43
  "terminalName": "Mipham Code"
44
44
  },
45
- "web": {
46
- "hero": {
47
- "title": "Mipham Code",
48
- "subtitle": "Multi-model open-core intelligent coding terminal. Built for developers who demand power, speed, and flexibility.",
49
- "company": "Powered by One Mipham Corporation | 北京华安麦逸科技有限公司",
50
- "domains": "International: mipham.ai  |  中国大陆: onemipham.com",
51
- "cta_start": "Get Started",
52
- "cta_docs": "Documentation"
53
- },
54
- "features": {
55
- "title": "Why Mipham Code?",
56
- "multi_model": {
57
- "title": "Multi-Model",
58
- "desc": "Connect to Claude, GPT, DeepSeek, Qwen, Kimi, and more through a unified interface. Switch models on the fly with Ctrl+P."
59
- },
60
- "slash_commands": {
61
- "title": "85 Slash Commands",
62
- "desc": "Full Claude Code parity: /commit, /pr, /simplify, /lint, /loop init, /browse-plugins — all 85 commands with zero learning curve."
63
- },
64
- "plugins": {
65
- "title": "Plugin Marketplace",
66
- "desc": "Install plugins from npm or local paths. Discover community plugins including NotebookLM MCP integration."
67
- },
68
- "loopkit": {
69
- "title": "LoopKit Vault",
70
- "desc": "/loop init scaffolds a complete project structure: .mipham/ config, hooks, agents, 9-domain skills, .mcp.json, and more."
71
- },
72
- "mcp": {
73
- "title": "MCP Protocol",
74
- "desc": "Full Model Context Protocol support with stdio transport. Connect to NotebookLM, filesystem, GitHub, and custom MCP servers."
75
- },
76
- "secure": {
77
- "title": "Open-Core & Secure",
78
- "desc": "Apache 2.0 license. TLS 1.3, AES-256-GCM encryption, comprehensive permission system. Enterprise security out of the box."
79
- }
80
- },
81
- "models": {
82
- "title": "Supported Models",
83
- "status_active": "Active",
84
- "status_upcoming": "Upcoming"
85
- },
86
- "install_section": {
87
- "title": "Install in Seconds",
88
- "subtitle": "Four ways to install — choose what works for your platform.",
89
- "npm_recommended": "npm (recommended)",
90
- "curl_label": "curl (macOS / Linux)",
91
- "powershell_label": "PowerShell (Windows)",
92
- "label_international": "International · 国际站",
93
- "label_china": "中国大陆 · China mainland",
94
- "requirements": "Requires Bun 1.2+ or Node.js 22+. Supports macOS, Linux, Windows.",
95
- "full_guide": "Full installation guide"
96
- },
97
- "footer": {
98
- "copyright": "© {year} One Mipham Corporation. All rights reserved.",
99
- "docs": "Docs",
100
- "dashboard": "Dashboard",
101
- "github": "GitHub"
102
- },
103
- "install_page": {
104
- "title": "Installation",
105
- "current_version": "Current version:",
106
- "choose_platform": "Choose your platform and preferred install method.",
107
- "all_methods_same": "All methods install the same Mipham Code.",
108
- "prerequisites": "Prerequisites",
109
- "prereq_bun": "Bun 1.2+ (recommended) or Node.js 22+",
110
- "prereq_os": "macOS, Linux, or Windows (PowerShell)",
111
- "prereq_api_key": "At least one AI provider API key (e.g., Anthropic, OpenAI)",
112
- "npm_title": "1. npm Install (Recommended)",
113
- "npm_desc": "Works on all platforms — macOS, Linux, Windows.",
114
- "curl_title": "2. curl Install (macOS / Linux)",
115
- "powershell_title": "3. PowerShell Install (Windows)",
116
- "direct_download": "4. Direct Download",
117
- "table_platform": "Platform",
118
- "table_download": "Download",
119
- "platform_mac_arm": "macOS (Apple Silicon)",
120
- "platform_mac_intel": "macOS (Intel)",
121
- "platform_linux": "Linux (x64)",
122
- "platform_windows": "Windows (x64)",
123
- "verify_title": "Verify Installation",
124
- "start_title": "Start Mipham Code",
125
- "first_launch": "On first launch, the interactive setup wizard (/setup) will guide you through provider configuration, model selection, skills installation, and permissions.",
126
- "api_keys_title": "Set API Keys",
127
- "api_keys_desc": "Export your provider API keys as environment variables:",
128
- "international": "International · 国际站",
129
- "china_mainland": "中国大陆 · China mainland"
130
- },
131
- "docs": {
132
- "title": "Documentation",
133
- "quick_start": "Quick Start",
134
- "configuration": "Configuration",
135
- "commands": "Commands",
136
- "help": "Show help",
137
- "model": "Show current model",
138
- "switch": "Switch model",
139
- "clear": "Clear conversation",
140
- "exit": "Exit Mipham Code"
141
- },
142
- "dashboard": {
143
- "title": "Dashboard",
144
- "coming_soon": "Coming Soon",
145
- "description": "The Mipham Code dashboard will show your usage analytics — session history, token consumption, most-used models and tools, and skill activity. We’re building this now.",
146
- "sessions": "Sessions",
147
- "sessions_desc": "Session history & stats",
148
- "tokens": "Tokens",
149
- "tokens_desc": "Usage across providers",
150
- "skills": "Skills",
151
- "skills_desc": "Active skill analytics"
152
- },
153
- "not_found": {
154
- "code": "404",
155
- "title": "Page not found",
156
- "description": "The page you’re looking for doesn’t exist.",
157
- "back": "Back to Mipham Code"
158
- },
159
- "error": {
160
- "title": "Something went wrong",
161
- "fallback_message": "An unexpected error occurred.",
162
- "try_again": "Try again"
163
- }
164
- },
165
45
  "greeting": "Hello {name}",
166
46
  "commands": {
167
- "clear": { "confirmed": "✓ Conversation cleared. Context reset." },
47
+ "clear": {
48
+ "confirmed": "✓ Conversation cleared. Context reset."
49
+ },
168
50
  "compact": {
169
51
  "confirmed": "✓ Context compacted.",
170
52
  "tokens": "Tokens: {before} → {after} (saved {saved}%)"
@@ -333,7 +215,9 @@
333
215
  "not_found_content": "No session named \"{name}\".\n\nUse /resume without arguments to list all saved sessions.",
334
216
  "found_content": "Name: {name}\nMessages: {messages}\nProvider: {provider} / {model}\nUpdated: {updated}\n\nTo continue this session, start a new process with:\n mipham --resume \"{target}\""
335
217
  },
336
- "help": { "title": "── Mipham Code Help ──" },
218
+ "help": {
219
+ "title": "── Mipham Code Help ──"
220
+ },
337
221
  "lang": {
338
222
  "current": "Language: {locale}",
339
223
  "set": "Language set to {locale}. Restart Mipham Code to apply."
@@ -433,6 +317,8 @@
433
317
  "update_failed": "✗ Update failed: {reason}{rolledBack}\n Try manually: {command}\n Your config backup is at: {path}",
434
318
  "rolled_back": "\n Your previous install was restored — mipham still works.",
435
319
  "no_rollback": "\n ⚠ Your previous install could not be restored — reinstall it manually (see below).",
320
+ "install_untouched": "\n Your previous install was not touched — mipham still works.",
321
+ "install_unknown": "\n ⚠ Could not locate the global install path — unable to tell whether your install survived.",
436
322
  "unverified": "⚠ Installed, but could not verify the new version: {reason}"
437
323
  },
438
324
  "no_plan": {
@@ -849,9 +735,15 @@
849
735
  "finished": "finished",
850
736
  "status_label": "Agents"
851
737
  },
852
- "system": { "role_label": "System" },
853
- "assistant": { "role_label": "Mipham Code" },
854
- "user": { "role_label": "User" },
738
+ "system": {
739
+ "role_label": "System"
740
+ },
741
+ "assistant": {
742
+ "role_label": "Mipham Code"
743
+ },
744
+ "user": {
745
+ "role_label": "User"
746
+ },
855
747
  "input": {
856
748
  "placeholder": "Type a message (Esc to clear)..."
857
749
  },
@@ -976,22 +868,70 @@
976
868
  }
977
869
  },
978
870
  "tools": {
979
- "bash": { "name": "Bash", "description": "Execute shell commands" },
980
- "read": { "name": "Read", "description": "Read a file from the filesystem" },
981
- "write": { "name": "Write", "description": "Write content to a file" },
982
- "edit": { "name": "Edit", "description": "Edit a file with string replacement" },
983
- "glob": { "name": "Glob", "description": "Find files matching a pattern" },
984
- "grep": { "name": "Grep", "description": "Search file contents with regex" },
985
- "web_fetch": { "name": "WebFetch", "description": "Fetch a URL and parse content" },
986
- "web_search": { "name": "WebSearch", "description": "Search the web" },
987
- "agent": { "name": "Agent", "description": "Launch a sub-agent for complex tasks" },
988
- "task": { "name": "Task", "description": "Create and track tasks" },
989
- "skill": { "name": "Skill", "description": "Invoke a named skill" },
990
- "memory": { "name": "Memory", "description": "Read/write persistent memory" },
991
- "workflow": { "name": "Workflow", "description": "Execute a multi-agent workflow" },
992
- "plan": { "name": "Plan", "description": "Enter plan mode for structured thinking" },
993
- "config": { "name": "Config", "description": "View and modify configuration" },
994
- "mcp": { "name": "MCP", "description": "Manage MCP server connections" }
871
+ "bash": {
872
+ "name": "Bash",
873
+ "description": "Execute shell commands"
874
+ },
875
+ "read": {
876
+ "name": "Read",
877
+ "description": "Read a file from the filesystem"
878
+ },
879
+ "write": {
880
+ "name": "Write",
881
+ "description": "Write content to a file"
882
+ },
883
+ "edit": {
884
+ "name": "Edit",
885
+ "description": "Edit a file with string replacement"
886
+ },
887
+ "glob": {
888
+ "name": "Glob",
889
+ "description": "Find files matching a pattern"
890
+ },
891
+ "grep": {
892
+ "name": "Grep",
893
+ "description": "Search file contents with regex"
894
+ },
895
+ "web_fetch": {
896
+ "name": "WebFetch",
897
+ "description": "Fetch a URL and parse content"
898
+ },
899
+ "web_search": {
900
+ "name": "WebSearch",
901
+ "description": "Search the web"
902
+ },
903
+ "agent": {
904
+ "name": "Agent",
905
+ "description": "Launch a sub-agent for complex tasks"
906
+ },
907
+ "task": {
908
+ "name": "Task",
909
+ "description": "Create and track tasks"
910
+ },
911
+ "skill": {
912
+ "name": "Skill",
913
+ "description": "Invoke a named skill"
914
+ },
915
+ "memory": {
916
+ "name": "Memory",
917
+ "description": "Read/write persistent memory"
918
+ },
919
+ "workflow": {
920
+ "name": "Workflow",
921
+ "description": "Execute a multi-agent workflow"
922
+ },
923
+ "plan": {
924
+ "name": "Plan",
925
+ "description": "Enter plan mode for structured thinking"
926
+ },
927
+ "config": {
928
+ "name": "Config",
929
+ "description": "View and modify configuration"
930
+ },
931
+ "mcp": {
932
+ "name": "MCP",
933
+ "description": "Manage MCP server connections"
934
+ }
995
935
  },
996
936
  "errors": {
997
937
  "tool_denied_deny_rule": "Tool \"{name}\" blocked by a deny rule (\"{pattern}\"). Deny rules override permission mode — try a different approach, or drop the rule with: /permissions remove \"{pattern}\"",
@@ -42,129 +42,11 @@
42
42
  "dismiss": "关闭",
43
43
  "terminalName": "Mipham Code"
44
44
  },
45
- "web": {
46
- "hero": {
47
- "title": "Mipham Code",
48
- "subtitle": "多模型开源智能编程终端。为追求性能、速度和灵活性的开发者而打造。",
49
- "company": "由 One Mipham Corporation 驱动 | 北京华安麦逄科技有限公司",
50
- "domains": "国际站: mipham.ai  |  中国大陆: onemipham.com",
51
- "cta_start": "快速开始",
52
- "cta_docs": "文档"
53
- },
54
- "features": {
55
- "title": "为什么选择 Mipham Code?",
56
- "multi_model": {
57
- "title": "多模型支持",
58
- "desc": "通过统一接口连接 Claude、GPT、DeepSeek、Qwen、Kimi 等。使用 Ctrl+P 实时切换模型。"
59
- },
60
- "slash_commands": {
61
- "title": "85 个 Slash 命令",
62
- "desc": "完全对标 Claude Code:/commit、/pr、/simplify、/lint、/loop init、/browse-plugins — 全部 85 个命令,零学习成本。"
63
- },
64
- "plugins": {
65
- "title": "插件市场",
66
- "desc": "从 npm 或本地路径安装插件。探索社区插件,包括 NotebookLM MCP 集成。"
67
- },
68
- "loopkit": {
69
- "title": "LoopKit Vault",
70
- "desc": "/loop init 初始化完整的项目结构:.mipham/ 配置、钩子、代理、9 领域技能、.mcp.json 等。"
71
- },
72
- "mcp": {
73
- "title": "MCP 协议",
74
- "desc": "完整的 Model Context Protocol 支持,基于 stdio 传输。连接 NotebookLM、文件系统、GitHub 和自定义 MCP 服务器。"
75
- },
76
- "secure": {
77
- "title": "开源核心 · 安全可靠",
78
- "desc": "Apache 2.0 许可证。TLS 1.3、AES-256-GCM 加密,全面的权限系统。开箱即用的企业级安全。"
79
- }
80
- },
81
- "models": {
82
- "title": "支持的模型",
83
- "status_active": "已上线",
84
- "status_upcoming": "即将推出"
85
- },
86
- "install_section": {
87
- "title": "秒级安装",
88
- "subtitle": "四种安装方式 — 选择适合你的平台。",
89
- "npm_recommended": "npm(推荐)",
90
- "curl_label": "curl(macOS / Linux)",
91
- "powershell_label": "PowerShell(Windows)",
92
- "label_international": "International · 国际站",
93
- "label_china": "中国大陆 · China mainland",
94
- "requirements": "需要 Bun 1.2+ 或 Node.js 22+。支持 macOS、Linux、Windows。",
95
- "full_guide": "完整安装指南"
96
- },
97
- "footer": {
98
- "copyright": "© {year} One Mipham Corporation。保留所有权利。",
99
- "docs": "文档",
100
- "dashboard": "控制台",
101
- "github": "GitHub"
102
- },
103
- "install_page": {
104
- "title": "安装指南",
105
- "current_version": "当前版本:",
106
- "choose_platform": "选择适合你的平台和安装方式。",
107
- "all_methods_same": "所有方式安装的是同一个 Mipham Code。",
108
- "prerequisites": "前置要求",
109
- "prereq_bun": "Bun 1.2+(推荐)或 Node.js 22+",
110
- "prereq_os": "macOS、Linux 或 Windows(PowerShell)",
111
- "prereq_api_key": "至少一个 AI 提供商的 API 密钥(如 Anthropic、OpenAI)",
112
- "npm_title": "1. npm 安装(推荐)",
113
- "npm_desc": "适用于所有平台 — macOS、Linux、Windows。",
114
- "curl_title": "2. curl 安装(macOS / Linux)",
115
- "powershell_title": "3. PowerShell 安装(Windows)",
116
- "direct_download": "4. 直接下载",
117
- "table_platform": "平台",
118
- "table_download": "下载",
119
- "platform_mac_arm": "macOS(Apple Silicon)",
120
- "platform_mac_intel": "macOS(Intel)",
121
- "platform_linux": "Linux(x64)",
122
- "platform_windows": "Windows(x64)",
123
- "verify_title": "验证安装",
124
- "start_title": "启动 Mipham Code",
125
- "first_launch": "首次启动时,交互式设置向导(/setup)将引导你完成提供商配置、模型选择、技能安装和权限设置。",
126
- "api_keys_title": "设置 API 密钥",
127
- "api_keys_desc": "将提供商的 API 密钥导出为环境变量:",
128
- "international": "International · 国际站",
129
- "china_mainland": "中国大陆 · China mainland"
130
- },
131
- "docs": {
132
- "title": "文档",
133
- "quick_start": "快速开始",
134
- "configuration": "配置",
135
- "commands": "命令",
136
- "help": "显示帮助",
137
- "model": "显示当前模型",
138
- "switch": "切换模型",
139
- "clear": "清除对话",
140
- "exit": "退出 Mipham Code"
141
- },
142
- "dashboard": {
143
- "title": "控制台",
144
- "coming_soon": "即将推出",
145
- "description": "Mipham Code 控制台将展示你的使用分析 — 会话历史、Token 消耗、最常用的模型和工具以及技能活动。我们正在开发中。",
146
- "sessions": "会话",
147
- "sessions_desc": "会话历史与统计",
148
- "tokens": "Token",
149
- "tokens_desc": "各提供商用量",
150
- "skills": "技能",
151
- "skills_desc": "活跃技能分析"
152
- },
153
- "not_found": {
154
- "code": "404",
155
- "title": "页面未找到",
156
- "description": "你要找的页面不存在。",
157
- "back": "返回 Mipham Code"
158
- },
159
- "error": {
160
- "title": "出了点问题",
161
- "fallback_message": "发生了意外错误。",
162
- "try_again": "重试"
163
- }
164
- },
165
45
  "greeting": "你好 {name}",
166
46
  "commands": {
167
- "clear": { "confirmed": "✓ 对话已清除,上下文已重置。" },
47
+ "clear": {
48
+ "confirmed": "✓ 对话已清除,上下文已重置。"
49
+ },
168
50
  "compact": {
169
51
  "confirmed": "✓ 上下文已压缩。",
170
52
  "tokens": "Tokens: {before} → {after} (节省 {saved}%)"
@@ -333,7 +215,9 @@
333
215
  "not_found_content": "未找到名为 \"{name}\" 的会话。\n\n不带参数运行 /resume 列出所有已保存的会话。",
334
216
  "found_content": "名称: {name}\n消息数: {messages}\n提供商: {provider} / {model}\n更新时间: {updated}\n\n要接着此会话继续,请另起进程运行:\n mipham --resume \"{target}\""
335
217
  },
336
- "help": { "title": "── Mipham Code 帮助 ──" },
218
+ "help": {
219
+ "title": "── Mipham Code 帮助 ──"
220
+ },
337
221
  "lang": {
338
222
  "current": "当前语言: {locale}",
339
223
  "set": "语言已设置为 {locale}。重启 Mipham Code 生效。"
@@ -433,6 +317,8 @@
433
317
  "update_failed": "✗ 更新失败: {reason}{rolledBack}\n 手动尝试: {command}\n 配置备份位于: {path}",
434
318
  "rolled_back": "\n 已恢复原安装 —— mipham 仍可使用。",
435
319
  "no_rollback": "\n ⚠ 原安装未能恢复 —— 请按下方命令手动重装。",
320
+ "install_untouched": "\n 原安装未被改动 —— mipham 仍可使用。",
321
+ "install_unknown": "\n ⚠ 无法定位全局安装路径 —— 无法判断原安装是否完好。",
436
322
  "unverified": "⚠ 已安装,但无法验证新版本: {reason}"
437
323
  },
438
324
  "no_plan": {
@@ -849,9 +735,15 @@
849
735
  "finished": "已完成",
850
736
  "status_label": "代理"
851
737
  },
852
- "system": { "role_label": "系统" },
853
- "assistant": { "role_label": "Mipham Code" },
854
- "user": { "role_label": "用户" },
738
+ "system": {
739
+ "role_label": "系统"
740
+ },
741
+ "assistant": {
742
+ "role_label": "Mipham Code"
743
+ },
744
+ "user": {
745
+ "role_label": "用户"
746
+ },
855
747
  "input": {
856
748
  "placeholder": "输入消息(Esc 清空)..."
857
749
  },
@@ -976,22 +868,70 @@
976
868
  }
977
869
  },
978
870
  "tools": {
979
- "bash": { "name": "Bash", "description": "执行 Shell 命令" },
980
- "read": { "name": "Read", "description": "从文件系统读取文件" },
981
- "write": { "name": "Write", "description": "写入内容到文件" },
982
- "edit": { "name": "Edit", "description": "通过字符串替换编辑文件" },
983
- "glob": { "name": "Glob", "description": "查找匹配模式的文件" },
984
- "grep": { "name": "Grep", "description": "使用正则表达式搜索文件内容" },
985
- "web_fetch": { "name": "WebFetch", "description": "获取 URL 并解析内容" },
986
- "web_search": { "name": "WebSearch", "description": "搜索网页" },
987
- "agent": { "name": "Agent", "description": "启动子代理执行复杂任务" },
988
- "task": { "name": "Task", "description": "创建和跟踪任务" },
989
- "skill": { "name": "Skill", "description": "调用命名技能" },
990
- "memory": { "name": "Memory", "description": "读写持久记忆" },
991
- "workflow": { "name": "Workflow", "description": "执行多代理工作流" },
992
- "plan": { "name": "Plan", "description": "进入计划模式进行结构化思考" },
993
- "config": { "name": "Config", "description": "查看和修改配置" },
994
- "mcp": { "name": "MCP", "description": "管理 MCP 服务器连接" }
871
+ "bash": {
872
+ "name": "Bash",
873
+ "description": "执行 Shell 命令"
874
+ },
875
+ "read": {
876
+ "name": "Read",
877
+ "description": "从文件系统读取文件"
878
+ },
879
+ "write": {
880
+ "name": "Write",
881
+ "description": "写入内容到文件"
882
+ },
883
+ "edit": {
884
+ "name": "Edit",
885
+ "description": "通过字符串替换编辑文件"
886
+ },
887
+ "glob": {
888
+ "name": "Glob",
889
+ "description": "查找匹配模式的文件"
890
+ },
891
+ "grep": {
892
+ "name": "Grep",
893
+ "description": "使用正则表达式搜索文件内容"
894
+ },
895
+ "web_fetch": {
896
+ "name": "WebFetch",
897
+ "description": "获取 URL 并解析内容"
898
+ },
899
+ "web_search": {
900
+ "name": "WebSearch",
901
+ "description": "搜索网页"
902
+ },
903
+ "agent": {
904
+ "name": "Agent",
905
+ "description": "启动子代理执行复杂任务"
906
+ },
907
+ "task": {
908
+ "name": "Task",
909
+ "description": "创建和跟踪任务"
910
+ },
911
+ "skill": {
912
+ "name": "Skill",
913
+ "description": "调用命名技能"
914
+ },
915
+ "memory": {
916
+ "name": "Memory",
917
+ "description": "读写持久记忆"
918
+ },
919
+ "workflow": {
920
+ "name": "Workflow",
921
+ "description": "执行多代理工作流"
922
+ },
923
+ "plan": {
924
+ "name": "Plan",
925
+ "description": "进入计划模式进行结构化思考"
926
+ },
927
+ "config": {
928
+ "name": "Config",
929
+ "description": "查看和修改配置"
930
+ },
931
+ "mcp": {
932
+ "name": "MCP",
933
+ "description": "管理 MCP 服务器连接"
934
+ }
995
935
  },
996
936
  "errors": {
997
937
  "tool_denied_deny_rule": "工具 \"{name}\" 被拒绝规则(\"{pattern}\")阻止。拒绝规则优先于权限模式 — 请改用其他方式,或移除该规则:/permissions remove \"{pattern}\"",