@knotpad/app 0.2.0 → 0.2.2

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/bin/brief.js CHANGED
@@ -197,7 +197,7 @@ if (!fs.existsSync(BUILD_ID)) {
197
197
  // ── 4. Start server ────────────────────────────────────────────────────────────
198
198
 
199
199
  // Pre-create PGlite data directory so the app can open it immediately at startup
200
- const DB_DIR = path.join(WORK_DIR, ".brief", "db");
200
+ const DB_DIR = path.join(WORK_DIR, ".knotpad", "db");
201
201
  try {
202
202
  fs.mkdirSync(DB_DIR, { recursive: true });
203
203
  } catch (e) {
@@ -20,7 +20,7 @@ export async function register() {
20
20
  const os = await import("os");
21
21
 
22
22
  const workDir = process.cwd();
23
- const dbDir = path.join(workDir, ".brief", "db");
23
+ const dbDir = path.join(workDir, ".knotpad", "db");
24
24
  try {
25
25
  await fs.mkdir(dbDir, { recursive: true });
26
26
  } catch (e) {
package/lib/prisma.ts CHANGED
@@ -81,7 +81,7 @@ export async function initLocalPrisma(): Promise<void> {
81
81
 
82
82
  const dataDir = process.env.BRIEF_DATA_DIR
83
83
  ? path.resolve(process.env.BRIEF_DATA_DIR)
84
- : path.join(process.cwd(), ".brief", "db");
84
+ : path.join(process.cwd(), ".knotpad", "db");
85
85
 
86
86
  const pglite = new PGlite(dataDir);
87
87
  g.briefPglite = pglite;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotpad/app",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Note-first project management with AI agent task routing",
5
5
  "bin": {
6
6
  "knotpad": "bin/brief.js"