skill-memo-ilife 0.2.1 → 0.3.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.
Files changed (2) hide show
  1. package/SKILL.md +15 -0
  2. package/package.json +1 -1
package/SKILL.md CHANGED
@@ -15,6 +15,21 @@ memo-cmd-read memo.remind
15
15
  memo-cmd-read memo.help.lookup # 说「备忘录 HELP」(不分大小写):缺省就落一份 HELP 文件
16
16
  ```
17
17
 
18
+ <!-- CALL-FORM-START -->
19
+
20
+ ## 唯一出口:怎么跑
21
+
22
+ 入口=本技能包 `package.json` 里 `bin` 声明的那条:`dist/cli/cmd_read.js`。
23
+ `<技能基目录>`=加载本技能时给出的 `Base directory for this skill: <路径>` 那一行。
24
+
25
+ 1. 命令名解析得到时:`memo-cmd-read <key> [--params '<json>']`。
26
+ 2. 解析不到时(`not recognized`/`command not found`)= PATH 上没有这条命令,下面这行照样跑得起来:
27
+ `node <技能基目录>/dist/cli/cmd_read.js <key> [--params '<json>']`
28
+ 3. 本目录里没有编译产物时:`npx -p skill-memo-ilife memo-cmd-read <key> [--params '<json>']`(上面第 2 行就够,不必再取一份)。
29
+
30
+ 换走法的信号只有一个:命令名解析不到。其余报错照 stderr 的报文原样交给用户。
31
+ <!-- CALL-FORM-END -->
32
+
18
33
  ## 口径(M3)
19
34
 
20
35
  - 顶层分类 4 种:备忘(默认)/心愿/打卡/情绪日记;子分类自由文本可空;子唤醒词自带顶层。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skill-memo-ilife",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "备忘录SKILL一期:取数+口径+渲染+出口(M2/M3/M4/M5),依 link-core",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",