@empirical-gauzza/cli 1.0.32 → 1.0.33

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.
Files changed (2) hide show
  1. package/lib/alertBanner.js +11 -1
  2. package/package.json +1 -1
@@ -23,6 +23,16 @@ function colorize(code, text) {
23
23
  return `${code}${text}${ANSI.reset}`;
24
24
  }
25
25
 
26
+ // Due times are shown in this terminal's own time zone, never the server's UTC sentence.
27
+ function localDueLine(alert) {
28
+ if (!alert || !alert.dueAt) return alert ? alert.body : '';
29
+ const d = new Date(alert.dueAt);
30
+ if (Number.isNaN(d.getTime())) return alert.body;
31
+ const when = d.toLocaleString(undefined, { weekday: 'short', month: 'short', day: 'numeric', hour: 'numeric', minute: '2-digit', timeZoneName: 'short' });
32
+ const rest = String(alert.body || '').replace(/^Due [^\n]*? UTC\.\s*/, '');
33
+ return `Due ${when}.${rest ? ` ${rest}` : ''}`;
34
+ }
35
+
26
36
  function reminderMemoryId(alert) {
27
37
  const key = String(alert && alert.alertKey || '');
28
38
  return key.startsWith('reminder_') ? key.slice('reminder_'.length) : null;
@@ -37,7 +47,7 @@ function renderOneAlert(alert) {
37
47
  // A reminder the user set. Whoever reads this, person or agent, should surface it first;
38
48
  // the agent case was observed being skipped when the banner read like a footnote.
39
49
  lines.push(colorize(`${ANSI.bold}${color}`, `REMINDER DUE - tell the user now: ${alert.title.replace(/^Reminder:\s*/, '')}`));
40
- lines.push(` ${alert.body}`);
50
+ lines.push(` ${localDueLine(alert)}`);
41
51
  for (const action of alert.actions || []) {
42
52
  lines.push(` → ${action.label}: ${action.href}`);
43
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empirical-gauzza/cli",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "Persistent cross-tool memory for AI agents. Give Claude Code, Codex, Copilot, Cursor, and ChatGPT one shared memory: save project context once, recall it everywhere via CLI or MCP.",
5
5
  "keywords": [
6
6
  "memory",