@miphamai/cli 0.64.0 → 0.65.0
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/package.json
CHANGED
package/src/core/instructions.ts
CHANGED
|
@@ -263,6 +263,18 @@ its live CRSI / SIS / constitution state. Report the numbers you read
|
|
|
263
263
|
from it as live counts; if it shows a subsystem as 未初始化 (uninitialized),
|
|
264
264
|
say so explicitly instead of claiming it exists.`)
|
|
265
265
|
|
|
266
|
+
// CRSI 先读代码铁律 — 回答代码问题前必须先读实际代码,勿凭记忆/命名/静态清单下结论
|
|
267
|
+
parts.push(`## Read-Code-First Rule
|
|
268
|
+
|
|
269
|
+
Before answering ANY question about this codebase — whether a file,
|
|
270
|
+
function, feature, or capability exists, how it works, or whether
|
|
271
|
+
something is missing — you MUST first read the actual code with the
|
|
272
|
+
Read, Grep, Glob, or graft tools. Do not infer or assert from memory,
|
|
273
|
+
naming conventions, or static tool lists. If you have not read the code,
|
|
274
|
+
say so and read it first, rather than answering hastily and retracting
|
|
275
|
+
afterwards. This applies to every code question, not only research or
|
|
276
|
+
borrow-analysis tasks.`)
|
|
277
|
+
|
|
266
278
|
// CRSI 教训召回 — 把 crsi-lessons.md 的教训精华注入,让模型「写后召回」而非只写不读
|
|
267
279
|
const lessonsBlock = buildCrsiLessonsBlock(this.crsiLessonSummaries)
|
|
268
280
|
if (lessonsBlock) parts.push(lessonsBlock)
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
export const PACKAGE_NAME = '@miphamai/cli' as const
|
|
10
10
|
|
|
11
11
|
/** 当前发布版本 */
|
|
12
|
-
export const PACKAGE_VERSION = '0.
|
|
12
|
+
export const PACKAGE_VERSION = '0.65.0' as const
|
|
13
13
|
|
|
14
14
|
/** npm install 全局安装命令 */
|
|
15
15
|
export const NPM_INSTALL_COMMAND = `npm install -g ${PACKAGE_NAME}` as const
|