minionsai 0.1.7 → 0.1.8

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.
@@ -9,7 +9,7 @@ import { filesRouter } from './routes/files.js';
9
9
  import { HermesWorkerAdapter } from './adapters/hermes-worker.js';
10
10
  import { initSSE, addClient, sendEvent } from './events.js';
11
11
  import { getRunStatuses } from './live-chat.js';
12
- import { appVersion } from './version.js';
12
+ import { getAppVersion } from './version.js';
13
13
  const app = express();
14
14
  app.use(cors());
15
15
  const adapter = new HermesWorkerAdapter();
@@ -18,7 +18,7 @@ app.get('/api/health', async (_req, res) => {
18
18
  res.json({ ok: true, hermes });
19
19
  });
20
20
  app.get('/api/version', (_req, res) => {
21
- res.json(appVersion);
21
+ res.json(getAppVersion());
22
22
  });
23
23
  app.get('/api/events', (req, res) => {
24
24
  initSSE(res);
@@ -1,2 +1,2 @@
1
1
  import type { AppVersion } from '@shared/types';
2
- export declare const appVersion: AppVersion;
2
+ export declare function getAppVersion(): AppVersion;
@@ -24,4 +24,6 @@ function readAppVersion() {
24
24
  }
25
25
  return FALLBACK_VERSION;
26
26
  }
27
- export const appVersion = readAppVersion();
27
+ export function getAppVersion() {
28
+ return readAppVersion();
29
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minionsai",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Mission Control for Hermes Agent — a Kanban board for autonomous agent tasks",
5
5
  "license": "MIT",
6
6
  "type": "module",