@principle2026/vault 1.0.4 → 1.0.5
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 +21 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,6 +98,27 @@ AI:[运行: vault list]
|
|
|
98
98
|
|
|
99
99
|
---
|
|
100
100
|
|
|
101
|
+
## 多设备同步
|
|
102
|
+
|
|
103
|
+
**密钥数据通过 iCloud 自动同步**,每台设备只需:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
# 1. 安装 Vault
|
|
107
|
+
npm install -g @principle2026/vault
|
|
108
|
+
|
|
109
|
+
# 2. 初始化(使用相同的密码)
|
|
110
|
+
vault init
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
| 内容 | 位置 | 同步方式 |
|
|
114
|
+
|------|------|---------|
|
|
115
|
+
| **加密密钥数据** | iCloud `.vault-data/` | ✅ 自动同步 |
|
|
116
|
+
| **技能链接** | `~/.claude/skills/vault` | ❌ 每台设备各自安装 |
|
|
117
|
+
|
|
118
|
+
**注意**:每台设备使用相同的密码即可访问同步的密钥。
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
101
122
|
## CLI 命令(手动使用)
|
|
102
123
|
|
|
103
124
|
```bash
|