@miphamai/cli 0.85.51 → 0.85.52
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Mipham Code v0.85.
|
|
1
|
+
# Mipham Code v0.85.52
|
|
2
2
|
|
|
3
3
|
**Multi-model open-core intelligent coding terminal** — 12 AI providers, 141 commands, 31 tools, 28 skills + marketplace, self-update. AI-assisted code generation, security auditing, MCP protocol, and extensible skills — in a single CLI.
|
|
4
4
|
|
package/package.json
CHANGED
package/src/config/defaults.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { PACKAGE_VERSION } from '../shared/index.ts'
|
|
|
11
11
|
export const DEFAULT_CONFIG: MiphamConfig = {
|
|
12
12
|
version: PACKAGE_VERSION,
|
|
13
13
|
defaultProvider: 'deepseek',
|
|
14
|
-
defaultModel: 'deepseek-
|
|
14
|
+
defaultModel: 'deepseek-flash',
|
|
15
15
|
permission: 'default',
|
|
16
16
|
showThinking: 'off',
|
|
17
17
|
showSchedulingNotices: false,
|
|
@@ -62,8 +62,8 @@ export const DEFAULT_SELF_CRITIQUE_CONFIG: SelfCritiqueConfig = {
|
|
|
62
62
|
threshold: 0.6,
|
|
63
63
|
targetTools: ['Bash', 'Write', 'Edit', 'Agent'],
|
|
64
64
|
// Measured, not chosen: 30 real critiques against the configured provider
|
|
65
|
-
// (`pickFastestModel` → `deepseek-v4-flash
|
|
66
|
-
// `-pro`) took min 1.85s / median 3.95s / max 17.9s, and **28 of 30 exceeded
|
|
65
|
+
// (`pickFastestModel` → `deepseek-v4-flash`,该 id 现由 `deepseek-flash` 承接、
|
|
66
|
+
// 同一后端模型;默认模型是更慢的 `-pro`) took min 1.85s / median 3.95s / max 17.9s, and **28 of 30 exceeded
|
|
67
67
|
// 2s** — the value this replaced. At 2s the budget would have skipped 93% of
|
|
68
68
|
// critiques, and since `critique()` fails *open* (null ⇒ the tool runs
|
|
69
69
|
// unreviewed) that failure is silent: `/crsi critique` would look enabled and
|
package/src/providers/pricing.ts
CHANGED
package/src/shared/constants.ts
CHANGED
|
@@ -143,14 +143,27 @@ export const DEFAULT_PROVIDERS: ProviderConfig[] = [
|
|
|
143
143
|
apiKey: '${DEEPSEEK_API_KEY}',
|
|
144
144
|
models: [
|
|
145
145
|
{
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
// 官方正式名(2026-11 价页)。旧名 deepseek-v4-flash 仍可调用但对应模型
|
|
147
|
+
// 已下线(请求由 V4.1-Flash-1017 服务、按 Flash 价计费),故保留为
|
|
148
|
+
// deprecated 条目:老配置里的 defaultModel 照样解析得到 1M 窗口,
|
|
149
|
+
// 只是不再进模型选择器。
|
|
150
|
+
id: 'deepseek-flash',
|
|
151
|
+
name: 'DeepSeek Flash',
|
|
148
152
|
providerId: 'deepseek',
|
|
149
153
|
contextWindow: 1_000_000,
|
|
150
154
|
maxOutput: 384_000,
|
|
151
155
|
vision: false,
|
|
152
156
|
status: 'active',
|
|
153
157
|
},
|
|
158
|
+
{
|
|
159
|
+
id: 'deepseek-v4-flash',
|
|
160
|
+
name: 'DeepSeek V4 Flash (legacy)',
|
|
161
|
+
providerId: 'deepseek',
|
|
162
|
+
contextWindow: 1_000_000,
|
|
163
|
+
maxOutput: 384_000,
|
|
164
|
+
vision: false,
|
|
165
|
+
status: 'deprecated',
|
|
166
|
+
},
|
|
154
167
|
{
|
|
155
168
|
id: 'deepseek-v4-pro',
|
|
156
169
|
name: 'DeepSeek V4 Pro',
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
export const PACKAGE_NAME = '@miphamai/cli' as const
|
|
10
10
|
|
|
11
11
|
/** 当前发布版本 */
|
|
12
|
-
export const PACKAGE_VERSION = '0.85.
|
|
12
|
+
export const PACKAGE_VERSION = '0.85.52' as const
|
|
13
13
|
|
|
14
14
|
/** npm install 全局安装命令 */
|
|
15
15
|
export const NPM_INSTALL_COMMAND = `npm install -g ${PACKAGE_NAME}` as const
|
|
@@ -90,4 +90,4 @@ export const TOOL_COUNT = 31 as const
|
|
|
90
90
|
* —— `test/e2e/full-pipeline.test.ts` 在 Linux 上整文件 skip、在 macOS 上跑 ——
|
|
91
91
|
* 但**总数相同**(两边都把被 skip 的算进去)。
|
|
92
92
|
*/
|
|
93
|
-
export const TEST_COUNT =
|
|
93
|
+
export const TEST_COUNT = 5449 as const
|