@tpsdev-ai/flair 0.4.3 → 0.4.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.
Files changed (2) hide show
  1. package/dist/cli.js +9 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -333,8 +333,17 @@ program
333
333
  localStudio: { enabled: false },
334
334
  authentication: { authorizeLocal: true, enableSessions: true },
335
335
  });
336
+ // Isolate from any global Harper install. Harper's installer reads
337
+ // ~/.harperdb/hdb_boot_properties.file to detect prior installs —
338
+ // if one exists (unrelated to flair), checkForExistingInstall crashes
339
+ // in beta.6+ querying databases with an uninitialized env. Setting
340
+ // HOME to flair's own dir prevents the subprocess from seeing the
341
+ // global boot file. Flair never uses the boot file (relies on
342
+ // ROOTPATH), so this is safe.
343
+ const flairHome = join(dataDir, ".."); // ~/.flair
336
344
  const env = {
337
345
  ...process.env,
346
+ HOME: flairHome,
338
347
  ROOTPATH: dataDir,
339
348
  HARPER_SET_CONFIG: harperSetConfig,
340
349
  DEFAULTS_MODE: "dev",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tpsdev-ai/flair",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Identity, memory, and soul for AI agents. Cryptographic identity (Ed25519), semantic memory with local embeddings, and persistent personality — all in a single process.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",