life-pulse 2.3.2 → 2.3.3
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/dist/cli.js +2 -12
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6,7 +6,7 @@ import { saveState, saveDecisions } from './state.js';
|
|
|
6
6
|
// ProgressRenderer unused — removed
|
|
7
7
|
import { InkProgress } from './ui/progress.js';
|
|
8
8
|
import { addTodo, resolveTodos, pruneOld } from './todo.js';
|
|
9
|
-
import { renderIntro,
|
|
9
|
+
import { renderIntro, pickCard, renderSection, renderSectionHeader, renderHandled, renderDivider, renderBrief, renderArchetype, Spinner, destroyUI, MAG, CYN, RED, AMB, MID, DIM } from './tui.js';
|
|
10
10
|
import { needsDiscovery, discoverPlatforms, savePlatforms } from './platforms.js';
|
|
11
11
|
import { generateArchetype } from './archetype.js';
|
|
12
12
|
import { runPermissionFlow, getMissingPermissions } from './permissions.js';
|
|
@@ -89,17 +89,7 @@ async function showCRM(apiKey, opts) {
|
|
|
89
89
|
return false;
|
|
90
90
|
}
|
|
91
91
|
opts?.spinner?.stop();
|
|
92
|
-
|
|
93
|
-
const innerCircle = crm.threads.filter(t => t.threadTemp === 'hot' || t.threadTemp === 'warm' || t.msgs30d > 20).length;
|
|
94
|
-
const aboutToBreak = crm.threads.filter(t => t.waitingOnYou).length;
|
|
95
|
-
await renderReveal({
|
|
96
|
-
conversations: crm.threads.length,
|
|
97
|
-
innerCircle,
|
|
98
|
-
aboutToBreak,
|
|
99
|
-
});
|
|
100
|
-
renderCRMList(crm.threads);
|
|
101
|
-
// Enrich in background (for agent context + brief)
|
|
102
|
-
opts?.spinner?.start('understanding the room');
|
|
92
|
+
opts?.spinner?.start('reading the room');
|
|
103
93
|
const calendarContext = opts?.calendarContext ?? '';
|
|
104
94
|
const hour = new Date().getHours();
|
|
105
95
|
const timeOfDay = hour < 12 ? 'morning' : hour < 17 ? 'afternoon' : 'evening';
|