ei-tui 1.6.3 → 1.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ei-tui",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "author": "Flare576",
5
5
  "repository": {
6
6
  "type": "git",
package/src/cli/README.md CHANGED
@@ -16,6 +16,7 @@ ei --persona "Beta" --recent # Most recently mentioned items Beta has
16
16
  ei --id <id> # Look up entity by ID — or fetch a message by FQ ID
17
17
  echo <id> | ei --id # Look up entity by ID from stdin
18
18
  ei --install # Wire Ei into Claude Code, Cursor, Codex, and OpenCode (MCP + hooks + persona plugin)
19
+ ei --sync # Pull latest state from remote sync server into state.backup.json (no TUI required)
19
20
  ei mcp # Start the Ei MCP stdio server (for Claude Code/Cursor/Codex)
20
21
  ```
21
22
 
@@ -133,3 +134,15 @@ All search commands return arrays. Each result includes a `type` field.
133
134
  **Persona**: `{ type, id, display_name, short_description, model, base_prompt, traits[], topics[] }`
134
135
 
135
136
  **ID lookup** (`lookup: true`): single object (not an array) with the same shape.
137
+
138
+ ## Quick Sync
139
+
140
+ Sometimes you want your latest Ei profile available on a machine without running the full TUI — especially if the TUI is already running on another machine.
141
+
142
+ ```sh
143
+ ei --sync
144
+ ```
145
+
146
+ Pulls the latest state from your remote sync server and saves it to `state.backup.json`. Works the same credential hierarchy as the TUI: reads from `state.backup.json` first, falls back to `EI_SYNC_USERNAME` / `EI_SYNC_PASSPHRASE` environment variables if not present.
147
+
148
+ Will abort (with a clear error) if `state.json` already exists on this machine — that means Ei has run here and a conflict resolution step would be needed on next launch.