mvframe 1.0.78 → 1.0.80

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/dist/vendor.js CHANGED
@@ -7621,7 +7621,7 @@ const Ss = (e, o = {}) => {
7621
7621
  }, Ts = {
7622
7622
  name: "Matt Avias Frame",
7623
7623
  copyright: "©2026",
7624
- version: "1.0.78",
7624
+ version: "1.0.80",
7625
7625
  author: "Matt Avias",
7626
7626
  date: "2026-02-26",
7627
7627
  /** 默认语言 key,与 `$getLang`、localStorage `lang` 一致;业务在 app.use(mvframe, { config }) 里覆盖 */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mvframe",
3
3
  "packageManager": "yarn@4.4.1",
4
- "version": "1.0.78",
4
+ "version": "1.0.80",
5
5
  "author": "matt avis",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -73,6 +73,12 @@ Scoped styles are still allowed for component-specific behavior, complex selecto
73
73
  - Before adding CSS, check whether MVFrame utility classes fit.
74
74
  - Before importing a helper library, check whether a MVFrame global helper already exists.
75
75
  - If local CSS or a new helper is still needed, keep it small and specific to the component.
76
+
77
+ ## Completion Notify
78
+
79
+ - After every completed development task, send one concise completion notification from the host project root with \`yarn exec mvframe-notify --once --message "<project or module>: <what changed and current result>"\`.
80
+ - Keep the notify message short and delivery-focused. Include the affected module or page, the main completed work, and the current verification result when available.
81
+ - If \`.env.mvframe-notify\` is missing, DingTalk notify is not configured, or the notify command fails, do not fake success. Report that notify could not be sent in the final response.
76
82
  ${END}
77
83
  `;
78
84
  }
@@ -924,7 +924,7 @@ await notify("需要发送到钉钉的消息");
924
924
 
925
925
  ## Codex 规则(\`AGENTS.md\`)
926
926
 
927
- 初始化脚本会写入/更新项目根 **\`AGENTS.md\`** 的 MVFrame 区块,供 Codex 在宿主项目内优先使用 **MVFrame 全局组件、全局方法与全局样式工具类**。该区块带有 \`MVFRAME-CODEX-RULES\` 标记,重复执行脚手架会更新这段内容,不会覆盖你在 \`AGENTS.md\` 中的其它规则。
927
+ 初始化脚本会写入/更新项目根 **\`AGENTS.md\`** 的 MVFrame 区块,供 Codex 在宿主项目内优先使用 **MVFrame 全局组件、全局方法与全局样式工具类**,并要求 **每次 AI 完成开发后调用 \`yarn exec mvframe-notify --once --message "..."\` 发送完成通知**。该区块带有 \`MVFRAME-CODEX-RULES\` 标记,重复执行脚手架会更新这段内容,不会覆盖你在 \`AGENTS.md\` 中的其它规则。
928
928
 
929
929
  仅安装 Codex 规则:
930
930