ei-tui 1.6.2 → 1.6.4

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.
Files changed (36) hide show
  1. package/package.json +1 -1
  2. package/src/cli/README.md +2 -0
  3. package/src/cli/install.ts +708 -0
  4. package/src/cli/retrieval.ts +22 -0
  5. package/src/cli/session-context.ts +98 -0
  6. package/src/cli.ts +2 -669
  7. package/src/core/bootstrap-tools.ts +486 -0
  8. package/src/core/handlers/document-segmentation.ts +1 -2
  9. package/src/core/handlers/heartbeat.ts +3 -2
  10. package/src/core/handlers/persona-response.ts +5 -4
  11. package/src/core/handlers/rooms.ts +6 -5
  12. package/src/core/integration-sync-manager.ts +482 -0
  13. package/src/core/message-manager.ts +2 -1
  14. package/src/core/migrations.ts +297 -0
  15. package/src/core/orchestrators/ceremony.ts +2 -1
  16. package/src/core/processor.ts +17 -1151
  17. package/src/core/room-manager.ts +17 -4
  18. package/src/core/state-manager.ts +2 -1
  19. package/src/core/types/entities.ts +1 -0
  20. package/src/core/utils/message-id.ts +15 -0
  21. package/src/integrations/claude-code/importer.ts +9 -30
  22. package/src/integrations/claude-code/types.ts +1 -1
  23. package/src/integrations/codex/importer.ts +6 -27
  24. package/src/integrations/codex/types.ts +1 -1
  25. package/src/integrations/constants.ts +3 -0
  26. package/src/integrations/cursor/importer.ts +9 -26
  27. package/src/integrations/cursor/types.ts +1 -1
  28. package/src/integrations/pi/importer.ts +235 -0
  29. package/src/integrations/pi/index.ts +3 -0
  30. package/src/integrations/pi/reader.ts +247 -0
  31. package/src/integrations/pi/types.ts +151 -0
  32. package/src/integrations/shared/message-converter.ts +41 -0
  33. package/src/integrations/slack/importer.ts +1 -1
  34. package/tui/README.md +1 -0
  35. package/tui/src/components/PromptInput.tsx +5 -1
  36. package/tui/src/util/yaml-settings.ts +28 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ei-tui",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "author": "Flare576",
5
5
  "repository": {
6
6
  "type": "git",
package/src/cli/README.md CHANGED
@@ -36,6 +36,7 @@ ei --id "opencode:jeremys-macbook-pro:ses_38a7...:msg_c75b..."
36
36
  ei --id "claudecode:my-machine:session-uuid:message-uuid"
37
37
  ei --id "cursor:my-machine:composer-uuid:bubble-uuid"
38
38
  ei --id "codex:my-machine:thread-uuid:evt_42"
39
+ ei --id "pi:my-machine:session-uuid:session-uuid/entry-id"
39
40
  ```
40
41
 
41
42
  Quotes surfaced by `ei_search` include a `message_id` field in this format — pipe it to `ei --id` to read the original conversation.
@@ -56,6 +57,7 @@ This registers Ei with Claude Code, Cursor, Codex, and OpenCode — MCP server c
56
57
  | **Cursor** | `~/.cursor/mcp.json` | `~/.cursor/hooks.json` (`beforeSubmitPrompt`) + `~/.cursor/hooks/ei-inject.sh` | — |
57
58
  | **Codex** | `~/.codex/config.toml` via `codex mcp add ei` | `~/.codex/hooks.json` (`UserPromptSubmit`) + `~/.codex/hooks/ei-inject.ts` | Local Codex agent plugin if installed separately |
58
59
  | **OpenCode** | manual (see below) | Via Oh My OpenCode compatibility layer (reads `~/.claude/settings.json`) | `~/.config/opencode/plugins/ei-persona.ts` |
60
+ | **Pi / OMP** | — (tools registered as native Pi extension) | `~/.pi/agent/extensions/ei-integration.ts` (Pi) or `~/.omp/agent/extensions/ei-integration.ts` (OMP) | — |
59
61
 
60
62
  **Context hook**: fires before every message, searches Ei for relevant memory, and injects it silently. No tool call required.
61
63