offgrid-ai 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/profiles.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offgrid-ai",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Privacy-first CLI for running local LLMs — discover, configure, run, benchmark",
5
5
  "author": "Eeshan Srivastava (https://eeshans.com)",
6
6
  "type": "module",
package/src/profiles.mjs CHANGED
@@ -62,7 +62,7 @@ export async function saveProfile(profile) {
62
62
  const dir = profileDir(id);
63
63
  await mkdir(dir, { recursive: true });
64
64
  const now = new Date().toISOString();
65
- const existing = await readJsonIfExists(profileJsonPath(id), null);
65
+ const existing = await readJson(profileJsonPath(id), null);
66
66
  const saved = {
67
67
  ...profile,
68
68
  id,