@my-life-buddies/cli 0.9.0 → 0.10.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/README.md CHANGED
@@ -409,13 +409,12 @@ CLI 不提供 `release`、`publish`、`disable`、`enable` 或 `unpublish`。最
409
409
  `BUDDY_CLI_MOCK_CLOUD=1` 仅用于初始化交互测试,会产生明确标记的 `b_mock_*` 身份。它不提供真实 push 或 status,不能用来判断平台已打通。模型命令在此模式下仍读取同一份本地目录。
410
410
 
411
411
 
412
- ## 小挂件设计落地检查
412
+ ## 小挂件开发
413
413
 
414
- 已完成 Creator 设计的项目在开发阶段执行 `buddy-cli widgets sync`,把当前验收版本绑定到工程;填写每类的实际类型、数据字段和创建/更新/展示代码路径后运行 `buddy-cli widgets check --json`。
414
+ 参考 Creator 已确认的需求、原型和设计说明,在 `widgets/<小挂件类型>/` 中编写 `index.html` `schema.json`,并在搭子业务中接入创建、读写和发送能力。
415
415
 
416
- 对照实际 H5 与原型核对首次、补充、更新后三态,保存观察和证据,再执行 `buddy-cli widgets verify --id <设计ID> --evidence .buddy/evidence/<设计ID>.json`。代码变化会让旧记录失效。DEV 允许调试并显示缺项;push 会在上传前拦截遗漏、过期或尚未核对的交付。
416
+ 使用 `buddy-cli preview` 调试页面与交互,修改后重启 DEV;准备上传时运行 `buddy-cli push`。Runtime 启动时读取小挂件文件并上传平台。开发步骤见仓库 `docs/widgets/design-delivery.md`。
417
417
 
418
- 这些命令不自动证明视觉一致、不替开发者验收,也不发起上传或发布。完整格式与兼容规则见仓库 `docs/widgets/design-delivery.md`;CLI 创建接续说明也包含此流程。
419
418
  ## 查看数据集,不依赖 Coding Agent
420
419
 
421
420
  工程外可以直接执行;在已有工程内,先按工程锁文件安装 Runtime,再执行: