heyio 0.21.3 → 0.21.4

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.
@@ -24,14 +24,22 @@ let releasesCache = null;
24
24
  function loadReleases() {
25
25
  if (releasesCache)
26
26
  return releasesCache;
27
- try {
28
- const raw = readFileSync(path.join(__dirname, "../releases.json"), "utf-8");
29
- releasesCache = JSON.parse(raw);
30
- return releasesCache;
31
- }
32
- catch {
33
- return [];
27
+ // Check both dev (src/api/ → src/) and production (dist/api/ → src/) paths
28
+ const candidates = [
29
+ path.join(__dirname, "../releases.json"), // dist/api/ → dist/releases.json
30
+ path.join(__dirname, "../../src/releases.json"), // dist/api/ → src/releases.json
31
+ ];
32
+ for (const candidate of candidates) {
33
+ try {
34
+ if (!existsSync(candidate))
35
+ continue;
36
+ const raw = readFileSync(candidate, "utf-8");
37
+ releasesCache = JSON.parse(raw);
38
+ return releasesCache;
39
+ }
40
+ catch { /* try next */ }
34
41
  }
42
+ return [];
35
43
  }
36
44
  let messageHandler;
37
45
  const sseConnections = new Set();
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "heyio",
3
- "version": "0.21.3",
3
+ "version": "0.21.4",
4
4
  "description": "IO — a personal AI assistant built on the GitHub Copilot SDK",
5
5
  "bin": {
6
6
  "io": "dist/index.js"
7
7
  },
8
8
  "files": [
9
9
  "dist/**/*.js",
10
+ "src/releases.json",
10
11
  "web-dist/**/*",
11
12
  "README.md"
12
13
  ],
@@ -0,0 +1,72 @@
1
+ [
2
+ {
3
+ "tag": "v0.21.3",
4
+ "name": "v0.21.3",
5
+ "body": "## What's Changed\n* fix(web): defer AppNav API calls until auth is initialized by @michaeljolley in https://github.com/michaeljolley/io/pull/196\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.21.2...v0.21.3\n\n## What's Changed\n* fix(web): defer AppNav API calls until auth is initialized by @michaeljolley in https://github.com/michaeljolley/io/pull/196\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.21.2...v0.21.3",
6
+ "published_at": "2026-05-16T03:33:38Z",
7
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.21.3"
8
+ },
9
+ {
10
+ "tag": "v0.21.2",
11
+ "name": "v0.21.2",
12
+ "body": "## What's Changed\n* fix(web): guard onAuthStateChange against spurious null sessions by @michaeljolley in https://github.com/michaeljolley/io/pull/194\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.21.1...v0.21.2\n\n## What's Changed\n* fix(web): guard onAuthStateChange against spurious null sessions by @michaeljolley in https://github.com/michaeljolley/io/pull/194\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.21.1...v0.21.2",
13
+ "published_at": "2026-05-16T03:16:52Z",
14
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.21.2"
15
+ },
16
+ {
17
+ "tag": "v0.21.1",
18
+ "name": "v0.21.1",
19
+ "body": "## What's Changed\n* fix(web): avoid getSession() side-effect that wiped cached session (#191) by @michaeljolley in https://github.com/michaeljolley/io/pull/192\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.21.0...v0.21.1\n\n## What's Changed\n* fix(web): avoid getSession() side-effect that wiped cached session (#191) by @michaeljolley in https://github.com/michaeljolley/io/pull/192\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.21.0...v0.21.1",
20
+ "published_at": "2026-05-16T02:27:01Z",
21
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.21.1"
22
+ },
23
+ {
24
+ "tag": "v0.21.0",
25
+ "name": "v0.21.0",
26
+ "body": "## What's Changed\n* feat: bulk feed actions — select, mark-read, delete (#185) by @michaeljolley in https://github.com/michaeljolley/io/pull/186\n* fix(web): resilient token retrieval prevents sporadic auth failures (#188) by @michaeljolley in https://github.com/michaeljolley/io/pull/189\n* feat: in-app release notes with what's new badge (#187) by @michaeljolley in https://github.com/michaeljolley/io/pull/190\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.20.0...v0.21.0",
27
+ "published_at": "2026-05-16T02:03:49Z",
28
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.21.0"
29
+ },
30
+ {
31
+ "tag": "v0.20.0",
32
+ "name": "v0.20.0",
33
+ "body": "## What's Changed\n* feat: unified feed merging inbox + notifications by @michaeljolley in https://github.com/michaeljolley/io/pull/184\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.19.0...v0.20.0",
34
+ "published_at": "2026-05-15T18:09:18Z",
35
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.20.0"
36
+ },
37
+ {
38
+ "tag": "v0.19.0",
39
+ "name": "v0.19.0",
40
+ "body": "## What's Changed\n* feat(web): auto-scroll to bottom when opening Chat tab (#180) by @michaeljolley in https://github.com/michaeljolley/io/pull/182\n* feat(web): smooth-scroll to bottom of chat (#181) by @michaeljolley in https://github.com/michaeljolley/io/pull/183\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.18.0...v0.19.0",
41
+ "published_at": "2026-05-15T17:09:31Z",
42
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.19.0"
43
+ },
44
+ {
45
+ "tag": "v0.18.0",
46
+ "name": "v0.18.0",
47
+ "body": "## What's Changed\n* feat(web): render markdown in activity detail description and result (#166) by @michaeljolley in https://github.com/michaeljolley/io/pull/172\n* feat(web): add syntax highlighting to markdown code blocks (#170) by @michaeljolley in https://github.com/michaeljolley/io/pull/173\n* docs: update testing documentation for accuracy (#167) by @michaeljolley in https://github.com/michaeljolley/io/pull/174\n* feat: require JWT auth on all API endpoints when Supabase is enabled (#162) by @michaeljolley in https://github.com/michaeljolley/io/pull/175\n* feat(web): replace UI icons with Fluent design icons (#168) by @michaeljolley in https://github.com/michaeljolley/io/pull/176\n* feat(web): add subtle background gradients for depth and polish (#169) by @michaeljolley in https://github.com/michaeljolley/io/pull/177\n* feat(web): make web app mobile responsive (#171) by @michaeljolley in https://github.com/michaeljolley/io/pull/178\n* fix(web): use bound paths prop to avoid duplicate attribute parse error by @michaeljolley in https://github.com/michaeljolley/io/pull/179\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.17.2...v0.18.0",
48
+ "published_at": "2026-05-15T14:38:14Z",
49
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.18.0"
50
+ },
51
+ {
52
+ "tag": "v0.17.2",
53
+ "name": "v0.17.2",
54
+ "body": "## What's Changed\n* fix: resolve 401 errors on page load and session loss on refresh by @michaeljolley in https://github.com/michaeljolley/io/pull/165\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.17.1...v0.17.2",
55
+ "published_at": "2026-05-15T03:14:17Z",
56
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.17.2"
57
+ },
58
+ {
59
+ "tag": "v0.17.1",
60
+ "name": "v0.17.1",
61
+ "body": "## What's Changed\n* fix(web): replace GitHub text with SVG icon in expanded sidebar (#158) by @michaeljolley in https://github.com/michaeljolley/io/pull/161\n* fix: resolve IO_VERSION from package.json reliably across install contexts (#163) by @michaeljolley in https://github.com/michaeljolley/io/pull/164\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.17.0...v0.17.1",
62
+ "published_at": "2026-05-15T01:52:55Z",
63
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.17.1"
64
+ },
65
+ {
66
+ "tag": "v0.17.0",
67
+ "name": "v0.17.0",
68
+ "body": "## What's Changed\n* fix: add review_pr action to GitHub tool for veto audit trail (#155) by @michaeljolley in https://github.com/michaeljolley/io/pull/159\n* fix(web): auth state not persisted across page refreshes by @michaeljolley in https://github.com/michaeljolley/io/pull/160\n\n\n**Full Changelog**: https://github.com/michaeljolley/io/compare/v0.16.0...v0.17.0",
69
+ "published_at": "2026-05-14T23:11:18Z",
70
+ "html_url": "https://github.com/michaeljolley/io/releases/tag/v0.17.0"
71
+ }
72
+ ]