@postnesia/db 0.1.2 → 0.1.3

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.
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { spawnSync } from 'node:child_process';
13
13
  const args = process.argv.slice(2);
14
- const result = spawnSync('npx', ['prisma', 'migrate', 'dev'], {
14
+ const result = spawnSync('npx', ['prisma', 'migrate', 'dev', '--name', 'init'], {
15
15
  stdio: 'inherit',
16
16
  shell: true,
17
17
  });
@@ -23,7 +23,7 @@ mkdirSync(targetDir, { recursive: true });
23
23
  cpSync(schemaSource, schemaDest);
24
24
  console.log(`Copied schema.prisma → ${schemaDest}`);
25
25
  const args = process.argv.slice(2);
26
- const result = spawnSync('npx', ['prisma', 'migrate', 'dev', ...args], {
26
+ const result = spawnSync('npx', ['prisma', 'migrate', 'dev', '--name', 'init'], {
27
27
  stdio: 'inherit',
28
28
  shell: true,
29
29
  cwd: process.cwd(),
package/dist/seed.js CHANGED
@@ -47,6 +47,7 @@ try {
47
47
  'CORE: Memory system operational guide.',
48
48
  'L1=auto-loaded working memory, L2=vector search, L3=deep storage.',
49
49
  'Tools: memory_search, memory_add, memory_update_core, memory_recent, memory_stats, memory_consolidate, journal_add, journal_recent, task_create, task_update, task_list.',
50
+ 'NO MCP: use postnesia CLI — postnesia memory search|add|update-core|recent|stats|consolidate|relationships, postnesia journal add|recent, postnesia task create|update|list.',
50
51
  'SESSION START: task_list(status=pending) to resume work + memory_search("lesson").',
51
52
  'TASKS: task_create(title,session_id)→in_progress→completed. Tasks persist across sessions.',
52
53
  'Core memories: update with memory_update_core, never supersede.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postnesia/db",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "AI Agent memory context database",
5
5
  "type": "module",
6
6
  "private": false,