clementine-agent 1.4.0 → 1.4.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.
@@ -20682,6 +20682,7 @@ async function refreshAll() {
20682
20682
  var d = await r.json();
20683
20683
  if (d.status) refreshStatus(d.status);
20684
20684
  if (d.activity) refreshActivity(false, d.activity);
20685
+ else refreshActivity(); // Fall back to direct /api/activity fetch when init didn't include it
20685
20686
  if (d.office) refreshTeamNav(d.office);
20686
20687
  // Home rail data — fire and forget, doesn't block init render.
20687
20688
  if (currentPage === 'home') refreshHomeRail();
@@ -23990,6 +23991,7 @@ async function refreshSalesforce() {
23990
23991
  // Feed data to individual render functions (same shape as individual endpoints)
23991
23992
  if (d.status) { try { refreshStatus(d.status); } catch(e) { console.warn('init: status', e); } }
23992
23993
  if (d.activity) { try { refreshActivity(false, d.activity); } catch(e) { console.warn('init: activity', e); } }
23994
+ else { try { refreshActivity(); } catch(e) { console.warn('init: activity fallback', e); } }
23993
23995
  if (d.office) { try { refreshTeamNav(d.office); refreshTeamPulse(d.office); } catch(e) { console.warn('init: office', e); } }
23994
23996
  if (d.plan) { try { refreshHomePlan(d.plan); } catch(e) { console.warn('init: plan', e); } }
23995
23997
  if (d.version) { try { _loadedHash = d.version.started; } catch(e) { /* ignore */ } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clementine-agent",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Clementine — Personal AI Assistant (TypeScript)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",