wangchuan 5.7.0 → 5.7.1

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.
@@ -45,7 +45,7 @@ const program = new Command();
45
45
  program
46
46
  .name('wangchuan')
47
47
  .description(t('cli.description'))
48
- .version('5.7.0');
48
+ .version('5.7.1');
49
49
  // ── init ────────────────────────────────────────────────────────
50
50
  program
51
51
  .command('init')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wangchuan",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "description": "忘川 · AI 记忆同步系统 — 智能体记忆永不遗失",
5
5
  "bin": {
6
6
  "wangchuan": "./dist/bin/wangchuan.js"
package/skill/SKILL.md CHANGED
@@ -145,19 +145,24 @@ This triggers cross-agent distribution with user confirmation — the user choos
145
145
  If you update MEMORY.md, CLAUDE.md, settings.json, or any synced config file, run `wangchuan sync` to push changes to the cloud.
146
146
 
147
147
  ### On session start
148
+ Run `wangchuan status` first. If there are pending actions (distributions, deletions), run `wangchuan sync` interactively with `-y` flag to process them:
149
+ ```bash
150
+ wangchuan status
151
+ wangchuan sync -y # auto-confirm pending actions
152
+ ```
148
153
  Check if the watch daemon is running. If not, suggest starting it:
149
154
  ```bash
150
155
  wangchuan watch
151
156
  ```
152
- The watch daemon auto-detects file changes and triggers sync, serving as a safety net when the agent forgets to sync manually.
157
+ The watch daemon auto-detects file changes and syncs per-agent files. Shared resource distribution is deferred for interactive confirmation.
153
158
 
154
159
  ### Rule summary
155
160
  | Event | Action |
156
161
  |-------|--------|
157
- | Created/modified/deleted a skill | Run `wangchuan sync` immediately |
158
- | Created/modified/deleted a custom agent | Run `wangchuan sync` immediately |
162
+ | Created/modified/deleted a skill | Run `wangchuan sync -y` immediately |
163
+ | Created/modified/deleted a custom agent | Run `wangchuan sync -y` immediately |
159
164
  | Updated memory or config | Run `wangchuan sync` |
160
- | Session start | Check `wangchuan status`, suggest `wangchuan watch` if not running |
165
+ | Session start | Run `wangchuan status`, process pending if any, suggest `wangchuan watch` if not running |
161
166
 
162
167
  ## Prerequisites
163
168