life-pulse 2.3.9 → 2.3.10
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 +6 -10
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6,11 +6,11 @@ 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, revealContacts, revealInsights, 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';
|
|
13
|
-
import { buildCRM, streamEnrichedCRM, generateInsights
|
|
13
|
+
import { buildCRM, streamEnrichedCRM, generateInsights } from './crm.js';
|
|
14
14
|
import { saveContactSummaries } from './intelligence.js';
|
|
15
15
|
import { getUserName } from './profile.js';
|
|
16
16
|
// Session progress tracking (Anthropic long-running agent pattern)
|
|
@@ -101,17 +101,13 @@ async function showCRM(apiKey, opts) {
|
|
|
101
101
|
timeOfDay,
|
|
102
102
|
onBrief: (b) => { brief = b; },
|
|
103
103
|
}));
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
const remaining = crm.threads
|
|
107
|
-
.filter(t => !enrichedNames.has(t.name) && isHumanContact(t.name))
|
|
108
|
-
.slice(0, 5);
|
|
109
|
-
if (remaining.length)
|
|
110
|
-
renderCRMList(remaining);
|
|
111
|
-
if (brief)
|
|
104
|
+
if (brief) {
|
|
105
|
+
renderDivider();
|
|
112
106
|
await renderBrief(brief);
|
|
107
|
+
}
|
|
113
108
|
// Insights drip in after contacts
|
|
114
109
|
await revealInsights(insightsGen);
|
|
110
|
+
renderDivider();
|
|
115
111
|
saveContactSummaries(enriched);
|
|
116
112
|
return true;
|
|
117
113
|
}
|