@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.51
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miphamai/cli",
3
- "version": "0.85.51",
3
+ "version": "0.85.52",
4
4
  "description": "Mipham Code — Multi-model open-core intelligent coding terminal by MiphamAI",
5
5
  "keywords": [
6
6
  "ai",
@@ -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-v4-flash',
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`; default model is the slower
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
@@ -12,7 +12,7 @@
12
12
  * {
13
13
  * "providers": {
14
14
  * "deepseek": {
15
- * "deepseek-v4-flash": {
15
+ * "deepseek-flash": {
16
16
  * "currency": "USD",
17
17
  * "inputPerM": 0.28,
18
18
  * "outputPerM": 0.42,
@@ -143,14 +143,27 @@ export const DEFAULT_PROVIDERS: ProviderConfig[] = [
143
143
  apiKey: '${DEEPSEEK_API_KEY}',
144
144
  models: [
145
145
  {
146
- id: 'deepseek-v4-flash',
147
- name: 'DeepSeek V4 Flash',
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.51' as const
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 = 5446 as const
93
+ export const TEST_COUNT = 5449 as const