ei-tui 0.8.1 → 0.9.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/README.md +9 -6
- package/package.json +1 -1
- package/src/core/handlers/heartbeat.ts +63 -8
- package/src/core/handlers/index.ts +2 -1
- package/src/core/handlers/persona-response.ts +3 -5
- package/src/core/handlers/rooms.ts +3 -5
- package/src/core/handlers/utils.ts +5 -4
- package/src/core/heartbeat-manager.ts +16 -47
- package/src/core/message-manager.ts +6 -2
- package/src/core/orchestrators/ceremony.ts +49 -4
- package/src/core/persona-manager.ts +1 -2
- package/src/core/personas/opencode-agent.ts +7 -2
- package/src/core/processor.ts +5 -12
- package/src/core/prompt-context-builder.ts +11 -1
- package/src/core/queue-processor.ts +4 -4
- package/src/core/room-manager.ts +6 -6
- package/src/core/state/human.ts +0 -1
- package/src/core/state/personas.ts +22 -13
- package/src/core/state/rooms.ts +0 -2
- package/src/core/state-manager.ts +83 -11
- package/src/core/types/data-items.ts +2 -2
- package/src/core/types/entities.ts +8 -3
- package/src/core/types/enums.ts +1 -0
- package/src/core/types/integrations.ts +1 -1
- package/src/core/types/llm.ts +2 -4
- package/src/core/types/rooms.ts +0 -4
- package/src/integrations/claude-code/importer.ts +1 -5
- package/src/integrations/cursor/importer.ts +1 -5
- package/src/integrations/opencode/importer.ts +1 -4
- package/src/integrations/opencode/types.ts +17 -1
- package/src/prompts/heartbeat/check.ts +7 -18
- package/src/prompts/heartbeat/ei.ts +14 -0
- package/src/prompts/heartbeat/types.ts +7 -5
- package/src/prompts/index.ts +9 -0
- package/src/prompts/message-utils.ts +7 -4
- package/src/prompts/reflection/index.ts +77 -0
- package/src/prompts/reflection/types.ts +26 -0
- package/src/prompts/response/index.ts +5 -2
- package/src/prompts/response/sections.ts +29 -1
- package/src/prompts/response/types.ts +10 -2
- package/src/prompts/room/sections.ts +4 -7
- package/src/prompts/room/types.ts +3 -6
- package/src/storage/embeddings.ts +69 -34
- package/src/storage/merge.ts +1 -1
- package/src/templates/welcome.ts +0 -1
- package/tui/README.md +5 -2
- package/tui/src/commands/editor.tsx +0 -1
- package/tui/src/commands/persona.tsx +89 -3
- package/tui/src/commands/reflect.tsx +375 -0
- package/tui/src/commands/registry.ts +2 -0
- package/tui/src/components/CYPTreeOverlay.tsx +0 -2
- package/tui/src/components/MAPScoreOverlay.tsx +1 -1
- package/tui/src/components/MessageList.tsx +8 -10
- package/tui/src/components/PromptInput.tsx +3 -1
- package/tui/src/components/RoomMessageList.tsx +5 -8
- package/tui/src/components/Sidebar.tsx +3 -5
- package/tui/src/components/StatusBar.tsx +26 -14
- package/tui/src/context/keyboard.tsx +2 -2
- package/tui/src/util/cyp-editor.tsx +2 -6
- package/tui/src/util/yaml-context.ts +2 -6
- package/tui/src/util/yaml-persona.ts +3 -3
- package/tui/src/util/yaml-settings.ts +0 -3
|
@@ -14,7 +14,6 @@ interface EditableSettingsData {
|
|
|
14
14
|
default_model?: string | null;
|
|
15
15
|
oneshot_model?: string | null;
|
|
16
16
|
rewrite_model?: string | null;
|
|
17
|
-
time_mode?: "24h" | "12h" | "local" | "utc" | null;
|
|
18
17
|
name_display?: string | null;
|
|
19
18
|
default_heartbeat_ms?: string | null;
|
|
20
19
|
default_context_window_hours?: number | null;
|
|
@@ -64,7 +63,6 @@ export function settingsToYAML(settings: HumanSettings | undefined, accounts: Pr
|
|
|
64
63
|
default_model: guidToDisplay(settings?.default_model),
|
|
65
64
|
oneshot_model: guidToDisplay(settings?.oneshot_model),
|
|
66
65
|
rewrite_model: guidToDisplay(settings?.rewrite_model),
|
|
67
|
-
time_mode: settings?.time_mode ?? null,
|
|
68
66
|
name_display: settings?.name_display ?? null,
|
|
69
67
|
default_heartbeat_ms: formatDuration(settings?.default_heartbeat_ms ?? 1800000),
|
|
70
68
|
default_context_window_hours: settings?.default_context_window_hours ?? 8,
|
|
@@ -190,7 +188,6 @@ export function settingsFromYAML(yamlContent: string, original: HumanSettings |
|
|
|
190
188
|
default_model: displayToGuid(data.default_model),
|
|
191
189
|
oneshot_model: displayToGuid(data.oneshot_model),
|
|
192
190
|
rewrite_model: displayToGuid(data.rewrite_model),
|
|
193
|
-
time_mode: nullToUndefined(data.time_mode),
|
|
194
191
|
name_display: nullToUndefined(data.name_display),
|
|
195
192
|
default_heartbeat_ms: parseMsDuration(data.default_heartbeat_ms, 1800000),
|
|
196
193
|
default_context_window_hours: nullToUndefined(data.default_context_window_hours),
|