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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "youmd",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "Identity context protocol for the agent internet — an MCP where the context is you. CLI for the You.md platform.",
5
5
  "bin": {
6
6
  "you": "dist/you.js",
@@ -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`, and `youmd machine verify`.
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
- macOS Keychain/passphrase entry, npm OTP, OS permissions, or the explicit
149
- 90-day project expansion choice.
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
- The passphrase is still local/trusted-device material. If the new machine needs
194
- headless restore, store the passphrase in macOS Keychain once from a normal
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
- read -rs "PW?You.md vault passphrase: " && \
199
- security add-generic-password -a "$USER" -s youmd-env-vault -w "$PW" -U && \
200
- unset PW && echo "stored in Keychain"
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 reports that Keychain service `youmd-env-vault` is missing,
229
- do not make it guess. Print the Keychain command above, have Houston run it once
230
- on the trusted device, then rerun only the restore/setup command.
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