infernoflow 0.37.0 → 0.37.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/CHANGELOG.md CHANGED
@@ -71,6 +71,67 @@
71
71
 
72
72
 
73
73
 
74
+ - Scarf analytics + telemetry UUID/timezone + feedback Formspree (v0.35.6)
75
+ - cloud session memory sync (v0.35.4)
76
+ - opt-in telemetry system (v0.35.3)
77
+ - stunning switch output (v0.35.2)
78
+ - infernoflow feedback command (v0.35.1)
79
+ - auto-capture git hooks + log --auto/--quiet/--source (v0.35.0)
80
+ - progressive disclosure — 5 core commands in --help, infernoflow commands shows full grouped list (v0.34.4)
81
+ - npm metadata — AI-optimized description + 20 keywords for AI-native discovery (v0.34.3)
82
+ - infernoflow uninstall — remove all infernoflow artifacts from a project (v0.34.1)
83
+ - v0.34.0 — persistent memory layer: switch session-boundary-aware, README rewrite, build fix (Sprint 8+9+10)
84
+ - infernoflow recap — end-of-session summary with session health score, unlogged git topics, and nudges (v0.33.7)
85
+ - infernoflow ask — query session memory by keyword/type, gotchas surface first (v0.33.6)
86
+ - infernoflow stats — value dashboard (memory, tokens injected, coverage, savings estimate) (v0.33.5)
87
+ - end-to-end HTTP chain tracing — resolves outbound calls to route handlers (v0.33.4)
88
+ - Sprint 4 — route discovery, HTTP URL extraction, entry point detection, --suggest (v0.33.3)
89
+ - infernoflow init --lite (3 files) + infernoflow upgrade (lite → full) (v0.33.2)
90
+ - infernoflow switch — AI agent handoff summary (v0.33.1)
91
+ - session memory (infernoflow log) + design system tracker (infernoflow theme) — capture what AI can't infer from code (v0.33.0)
92
+ - graph --html interactive SVG output; VS Code extension v0.5.0 with Capability Graph panel (v0.32.9)
93
+ - VS Code extension v0.4.0 — save-triggered contract sync
94
+ - ai setup numbered menu with env-var auto-detection (v0.32.3)
95
+ - Sprint 18C/D — dogfood capabilities.json, doctor action list, init AI nudge (v0.32.0)
96
+ - Sprint 18 — demo command, AI fallback nudges, test fix (v0.31.0)
97
+ - Sprint 17 — infernoflow test + ai commands (v0.30.0)
98
+ - Sprint 16C — infernoflow explain command (v0.29.0)
99
+ - Sprint 16B — infernoflow scaffold command (v0.28.0)
100
+ - Sprint 15 Liquid Layer + Sprint 16A/16D (v0.26-0.27)
101
+ - auto-configure Claude Code MCP + allowedTools (v0.10.25)
102
+ - add changelog and diff commands for enhanced version tracking
103
+ - add VS Code + Cursor extension
104
+ - add infernoflow publish command
105
+ - bump to 0.10.18, fix duplicate infernoDir in suggest
106
+ - add React-specific scanner for --adopt
107
+ - uninstall now removes all infernoflow artifacts completely (v0.34.2)
108
+ - extension sidebar icon badge — switch to createTreeView so uncovered count shows on activity bar icon
109
+ - graph crashes on toString() — use Map instead of plain object for funcIndex (v0.32.8)
110
+ - check handles bare-array capabilities.json; scenario coverage is a warning not error (v0.32.7)
111
+ - typo 'capabilityy' in explain file-path output
112
+ - explain command now accepts file paths in addition to capability IDs (v0.32.6)
113
+ - await import in non-async loadCapsAtRef causes syntax error (v0.32.5)
114
+ - add missing resolveProvider export to providerRouter.mjs (v0.32.4)
115
+ - Windows path bug in demo/watch/ci/monorepo/notify (v0.32.2)
116
+ - doctor CLI check false positive on Windows (.cmd PATH resolution)
117
+ - v0.37.1 — fix switch showing 0 session entries (handoff append was poisoning session boundary)
118
+ - v0.37.0 — Windows unicode fix, memory-first init, hot files in switch, CLAUDE.md auto-update, health score tips, icon fix, cross-platform postinstall
119
+ - wire Polar.sh Pro checkout — real payments live
120
+ - point homepage to infernoflow.dev (v0.35.9)
121
+ - activate Formspree feedback endpoint (v0.35.8)
122
+ - activate PostHog EU telemetry (v0.35.7)
123
+ - bump to 0.35.5 (0.35.4 already published)
124
+ - rewrite README to reflect all capabilities (v0.32.5)
125
+ - v0.32.1
126
+ - bump to v0.32.0
127
+ - bump version to 0.31.0
128
+ - release 0.10.24
129
+ - release 0.10.23
130
+ - release 0.10.22
131
+ - release 0.10.21
132
+ - release 0.10.20
133
+ - release 0.10.19
134
+
74
135
  ## 0.10.25 — 2026-04-22
75
136
 
76
137
  ### Added
@@ -453,18 +453,9 @@ export async function switchCommand(args) {
453
453
  fs.writeFileSync(HANDOFF_FILE, handoff, "utf8");
454
454
  console.log(green(" ✔ Written → inferno/HANDOFF.md\n"));
455
455
 
456
- // Also log the handoff itself to sessions.jsonl
457
- if (fs.existsSync(SESSIONS_FILE)) {
458
- const entry = {
459
- ts: new Date().toISOString(),
460
- agent: "infernoflow",
461
- type: "handoff",
462
- summary: toAgent ? `Handed off to ${toAgent}` : "Handoff generated",
463
- };
464
- fs.appendFileSync(SESSIONS_FILE, JSON.stringify(entry) + "\n", "utf8");
465
- }
466
-
467
- // ── Rich summary printout ─────────────────────────────────────────────────
456
+ // ── Rich summary printout — calculate BEFORE appending handoff entry ──────
457
+ // (appending handoff first would make findSessionStart think the session just
458
+ // started, showing 0 entries for the session that just ended)
468
459
  const allEntriesNow = getAllEntries();
469
460
  const sessionStartNow = findSessionStart(allEntriesNow, sinceArg, allFlag);
470
461
  const sessionEntries = allEntriesNow.filter(e => new Date(e.ts || 0) > sessionStartNow);
@@ -514,4 +505,16 @@ export async function switchCommand(args) {
514
505
  console.log(" " + gray(" tip: use --copy to skip steps 1-2 automatically"));
515
506
  }
516
507
  console.log();
508
+
509
+ // Append the handoff entry AFTER printing summary — so next run's session
510
+ // boundary is set correctly (starts after this handoff)
511
+ if (fs.existsSync(SESSIONS_FILE)) {
512
+ const entry = {
513
+ ts: new Date().toISOString(),
514
+ agent: "infernoflow",
515
+ type: "handoff",
516
+ summary: toAgent ? `Handed off to ${toAgent}` : "Handoff generated",
517
+ };
518
+ fs.appendFileSync(SESSIONS_FILE, JSON.stringify(entry) + "\n", "utf8");
519
+ }
517
520
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infernoflow",
3
- "version": "0.37.0",
3
+ "version": "0.37.1",
4
4
  "description": "Persistent memory for AI coding sessions — captures what agents can't infer from code alone. Works with Copilot, Cursor, Claude, and Windsurf.",
5
5
  "type": "module",
6
6
  "bin": {