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 +1 -1
- package/src/cli/README.md +13 -0
- package/src/cli/install.ts +708 -0
- package/src/cli/session-context.ts +98 -0
- package/src/cli.ts +82 -808
- package/src/core/bootstrap-tools.ts +486 -0
- package/src/core/handlers/document-segmentation.ts +1 -2
- package/src/core/handlers/heartbeat.ts +3 -2
- package/src/core/handlers/persona-response.ts +5 -4
- package/src/core/handlers/rooms.ts +6 -5
- package/src/core/integration-sync-manager.ts +482 -0
- package/src/core/message-manager.ts +2 -1
- package/src/core/migrations.ts +297 -0
- package/src/core/orchestrators/ceremony.ts +2 -1
- package/src/core/processor.ts +17 -1220
- package/src/core/room-manager.ts +17 -4
- package/src/core/state-manager.ts +2 -1
- package/src/integrations/slack/importer.ts +1 -1
- package/tui/src/components/PromptInput.tsx +5 -1
- package/tui/src/storage/file.ts +6 -0
package/package.json
CHANGED
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.
|