ei-tui 0.8.0 → 0.8.1

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": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "author": "Flare576",
5
5
  "repository": {
6
6
  "type": "git",
package/src/cli/mcp.ts CHANGED
@@ -35,7 +35,7 @@ export function createMcpServer(): McpServer {
35
35
  .string()
36
36
  .optional()
37
37
  .describe(
38
- "Filter to entities from a specific source. Prefix match against namespaced source identifiers (e.g. 'cursor', 'opencode', 'opencode:ses_abc123')."
38
+ "Filter to entities from a specific source. Prefix match against namespaced source identifiers (e.g. 'cursor', 'opencode', 'opencode:my-machine', 'opencode:my-machine:ses_abc123')."
39
39
  ),
40
40
  limit: z
41
41
  .number()
@@ -104,7 +104,7 @@ export function createMcpServer(): McpServer {
104
104
  .string()
105
105
  .optional()
106
106
  .describe(
107
- "Filter to entities from a specific source. Prefix match against namespaced source identifiers (e.g. 'cursor', 'opencode', 'opencode:ses_abc123'). If the entity does not match, returns not found."
107
+ "Filter to entities from a specific source. Prefix match against namespaced source identifiers (e.g. 'cursor', 'opencode', 'opencode:my-machine', 'opencode:my-machine:ses_abc123'). If the entity does not match, returns not found."
108
108
  ),
109
109
  },
110
110
  },
package/src/cli.ts CHANGED
@@ -66,7 +66,7 @@ Options:
66
66
  --number, -n Maximum number of results (default: 10)
67
67
  --recent, -r Sort by last_mentioned date (most recent first)
68
68
  --persona, -p Filter to entities a specific persona has learned about
69
- --source, -s Filter to entities from a specific source (prefix match, e.g. "cursor", "opencode:ses_abc123")
69
+ --source, -s Filter to entities from a specific source (prefix match, e.g. "cursor", "opencode:my-machine", "opencode:my-machine:ses_abc123")
70
70
  --id Look up entity by ID (accepts value or stdin)
71
71
  --install Register Ei with OpenCode, Claude Code, and Cursor
72
72
  --help, -h Show this help message
@@ -659,7 +659,7 @@ export function queueTargetedPersonUpdate(
659
659
  console.warn(`[queueTargetedPersonUpdate] Room ${roomId} not found`);
660
660
  return 0;
661
661
  }
662
- allMessages = normalizeRoomMessages(state.getRoomActivePath(roomId), state);
662
+ allMessages = normalizeRoomMessages(state.getRoomMessages(roomId), state);
663
663
  contextPersonaId = room.persona_ids.join("|");
664
664
  displayName = room.display_name;
665
665
  } else {
@@ -719,7 +719,7 @@ export function queueTargetedTopicUpdate(
719
719
  console.warn(`[queueTargetedTopicUpdate] Room ${roomId} not found`);
720
720
  return 0;
721
721
  }
722
- allMessages = normalizeRoomMessages(state.getRoomActivePath(roomId), state);
722
+ allMessages = normalizeRoomMessages(state.getRoomMessages(roomId), state);
723
723
  contextPersonaId = room.persona_ids.join("|");
724
724
  displayName = room.display_name;
725
725
  } else {