youmd 0.8.5 → 0.8.6
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/commands/agent.d.ts +13 -0
- package/dist/commands/agent.d.ts.map +1 -0
- package/dist/commands/agent.js +233 -0
- package/dist/commands/agent.js.map +1 -0
- package/dist/commands/env.d.ts +1 -0
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/env.js +373 -3
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +16 -0
- package/dist/commands/sync.js.map +1 -1
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/api.d.ts +99 -0
- package/dist/lib/api.d.ts.map +1 -1
- package/dist/lib/api.js +51 -0
- package/dist/lib/api.js.map +1 -1
- package/dist/lib/machine-bootstrap-prompt.d.ts.map +1 -1
- package/dist/lib/machine-bootstrap-prompt.js +82 -15
- package/dist/lib/machine-bootstrap-prompt.js.map +1 -1
- package/dist/lib/realtime-sync.d.ts +47 -1
- package/dist/lib/realtime-sync.d.ts.map +1 -1
- package/dist/lib/realtime-sync.js +93 -8
- package/dist/lib/realtime-sync.js.map +1 -1
- package/package.json +1 -1
- package/skills/machine-bootstrap.md +39 -13
package/package.json
CHANGED
|
@@ -138,15 +138,27 @@ You.md is the brain. The new machine should become a runnable local agent workst
|
|
|
138
138
|
`youmd machine prompt`, `youmd machine setup`,
|
|
139
139
|
`youmd skill install all`, `youmd skill sync`,
|
|
140
140
|
`youmd env vault list`, `youmd env vault pull`,
|
|
141
|
-
`youmd project portfolio-hydrate`,
|
|
141
|
+
`youmd project portfolio-hydrate`, `youmd machine verify`,
|
|
142
|
+
`youmd agent status`, and `youmd agent inbox`.
|
|
143
|
+
- Report setup milestones to Houston's other trusted Macs with the realtime
|
|
144
|
+
agent bus instead of relying on clipboard/manual status relays:
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
youmd agent send --channel machine-sync --kind status "Mac mini completed identity + skill sync"
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
This writes through Convex realtime and the receiving daemon materializes it
|
|
151
|
+
into `~/.youmd/agent-bus/inbox.json` without reading or exposing `.env.local`
|
|
152
|
+
values.
|
|
142
153
|
- Use `you` / `youmd chat` when you need the You Agent to synthesize context,
|
|
143
154
|
route a natural-language request, or produce the setup artifact, then turn the
|
|
144
155
|
result into concrete shell actions.
|
|
145
156
|
- Do not stop to ask "what next?" after each setup phase. Continue through the
|
|
146
157
|
command, verify the result, and report concise proof.
|
|
147
158
|
- Interrupt Houston only for true human-gated steps: GitHub browser auth,
|
|
148
|
-
|
|
149
|
-
90-day project expansion
|
|
159
|
+
source-Mac Secret Vault share/passphrase entry if no trusted-device envelope
|
|
160
|
+
exists yet, npm OTP, OS permissions, or the explicit 90-day project expansion
|
|
161
|
+
choice.
|
|
150
162
|
- If the installed CLI is stale, run the curl installer/update path first, then
|
|
151
163
|
retry the You.md command. Tell Houston when npm publish is needed for
|
|
152
164
|
`npx youmd@latest` or npm fallback installs.
|
|
@@ -190,24 +202,32 @@ youmd env vault push --root ~/Desktop/CODE_2025 --out ~/Desktop/youmd-env-vault
|
|
|
190
202
|
youmd env vault list
|
|
191
203
|
```
|
|
192
204
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
trusted Terminal. Input is silent and the value is not printed:
|
|
205
|
+
On the new machine, register its local Secret Vault device key. The private key
|
|
206
|
+
stays under `~/.youmd/secret-vault/devices/`; only the public key is synced:
|
|
196
207
|
|
|
197
208
|
```bash
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
209
|
+
youmd env vault device-register
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
Back on the old/source machine, share local decrypt access to trusted devices.
|
|
213
|
+
This stores per-device encrypted passphrase envelopes; it does not upload raw env
|
|
214
|
+
values:
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
youmd env vault share
|
|
201
218
|
```
|
|
202
219
|
|
|
203
220
|
On the new machine, pull the latest encrypted account snapshot and restore into
|
|
204
221
|
already-cloned project directories without clobbering local agent auth:
|
|
205
222
|
|
|
206
223
|
```bash
|
|
207
|
-
youmd env vault pull --out ~/.youmd/secret-vault
|
|
208
224
|
youmd env vault pull --restore --root ~/Desktop/CODE_YOU --map-existing --existing-only --skip-agent-auth
|
|
209
225
|
```
|
|
210
226
|
|
|
227
|
+
If `pull --restore` says no trusted-device envelope exists for this Mac, do not
|
|
228
|
+
ask Houston for raw secrets. Confirm `device-register` ran on the new Mac, run
|
|
229
|
+
`youmd env vault share` on the source Mac, then rerun `pull --restore`.
|
|
230
|
+
|
|
211
231
|
Fallback path: create an encrypted archive from the old machine in an
|
|
212
232
|
interactive macOS terminal and transfer the encrypted file by iCloud, AirDrop,
|
|
213
233
|
USB, or private password-manager attachment:
|
|
@@ -225,9 +245,15 @@ youmd env restore ~/Desktop/env-local-backup.tar.gz.gpg --root ~/Desktop/CODE_YO
|
|
|
225
245
|
youmd env restore ~/Desktop/env-local-backup.tar.gz.gpg --root ~/Desktop/CODE_YOU --map-existing --existing-only --skip-agent-auth
|
|
226
246
|
```
|
|
227
247
|
|
|
228
|
-
If a headless agent
|
|
229
|
-
|
|
230
|
-
|
|
248
|
+
If a headless agent still cannot decrypt after device sharing, then and only then
|
|
249
|
+
use the macOS Keychain fallback for the env-vault passphrase. Input is silent and
|
|
250
|
+
the value is not printed:
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
read -rs "PW?You.md vault passphrase: " && \
|
|
254
|
+
security add-generic-password -a "$USER" -s youmd-env-vault -w "$PW" -U && \
|
|
255
|
+
unset PW && echo "stored in Keychain"
|
|
256
|
+
```
|
|
231
257
|
|
|
232
258
|
## Useful Variants
|
|
233
259
|
|