neoagent 3.3.1-beta.2 → 3.3.1-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neoagent",
3
- "version": "3.3.1-beta.2",
3
+ "version": "3.3.1-beta.4",
4
4
  "description": "Self-hosted AI agent for long-running tasks, automation, messaging, device control, and local memory",
5
5
  "license": "AGPL-3.0-only",
6
6
  "main": "server/index.js",
package/runtime/paths.js CHANGED
@@ -11,6 +11,7 @@ const DATA_DIR = path.resolve(process.env.NEOAGENT_DATA_DIR || path.join(RUNTIME
11
11
  const AGENT_DATA_DIR = path.resolve(process.env.NEOAGENT_AGENT_DATA_DIR || path.join(RUNTIME_HOME, 'agent-data'));
12
12
  const LOG_DIR = path.join(DATA_DIR, 'logs');
13
13
  const ENV_FILE = path.resolve(process.env.NEOAGENT_ENV_FILE || path.join(RUNTIME_HOME, '.env'));
14
+ const DATABASE_FILE = path.join(DATA_DIR, 'neoagent.db');
14
15
  const UPDATE_STATUS_FILE = path.join(DATA_DIR, 'update-status.json');
15
16
  const PID_FILE = path.join(DATA_DIR, 'neoagent.pid');
16
17
 
@@ -347,6 +348,7 @@ module.exports = {
347
348
  AGENT_DATA_DIR,
348
349
  LOG_DIR,
349
350
  ENV_FILE,
351
+ DATABASE_FILE,
350
352
  UPDATE_STATUS_FILE,
351
353
  PID_FILE,
352
354
  LEGACY_ENV_FILE,
@@ -2,7 +2,11 @@ const Database = require('better-sqlite3');
2
2
  const fs = require('fs');
3
3
  const path = require('path');
4
4
  const { randomUUID } = require('crypto');
5
- const { DATA_DIR, ensureRuntimeDirs } = require('../../runtime/paths');
5
+ const {
6
+ DATA_DIR,
7
+ DATABASE_FILE,
8
+ ensureRuntimeDirs,
9
+ } = require('../../runtime/paths');
6
10
  const {
7
11
  encryptValue,
8
12
  isEncryptedValue,
@@ -10,7 +14,7 @@ const {
10
14
  const { runSchemaMigrations } = require('../../lib/schema_migrations');
11
15
  ensureRuntimeDirs();
12
16
 
13
- const DB_PATH = path.join(DATA_DIR, 'neoagent.db');
17
+ const DB_PATH = DATABASE_FILE;
14
18
 
15
19
  function removeWalSidecars(dbPath) {
16
20
  for (const suffix of ['-wal', '-shm']) {
@@ -1 +1 @@
1
- 1cfb2110e8b86c3fd6a607ac68881687
1
+ 27b4e8ad747016fdb381a215a84db6fc
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"0cd610717bde95fd88343c64f81c11ba4e5c00
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "866857856" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "3596148061" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });