clawvault 2.2.1 → 2.3.0

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 (39) hide show
  1. package/bin/clawvault.js +6 -0
  2. package/bin/register-task-commands.js +257 -0
  3. package/dist/chunk-MDIH26GC.js +183 -0
  4. package/dist/chunk-NGVAEFT2.js +352 -0
  5. package/dist/commands/archive.js +1 -1
  6. package/dist/commands/backlog.d.ts +53 -0
  7. package/dist/commands/backlog.js +119 -0
  8. package/dist/commands/blocked.d.ts +25 -0
  9. package/dist/commands/blocked.js +43 -0
  10. package/dist/commands/canvas.d.ts +20 -0
  11. package/dist/commands/canvas.js +309 -0
  12. package/dist/commands/context.js +3 -3
  13. package/dist/commands/doctor.js +1 -1
  14. package/dist/commands/graph.js +2 -2
  15. package/dist/commands/link.js +3 -3
  16. package/dist/commands/migrate-observations.js +2 -2
  17. package/dist/commands/observe.js +3 -3
  18. package/dist/commands/rebuild.js +2 -2
  19. package/dist/commands/recover.js +2 -2
  20. package/dist/commands/reflect.js +1 -1
  21. package/dist/commands/replay.js +3 -3
  22. package/dist/commands/sleep.js +5 -5
  23. package/dist/commands/status.js +1 -1
  24. package/dist/commands/task.d.ts +71 -0
  25. package/dist/commands/task.js +189 -0
  26. package/dist/commands/wake.js +7 -7
  27. package/dist/index.js +38 -38
  28. package/dist/lib/canvas-layout.d.ts +115 -0
  29. package/dist/lib/canvas-layout.js +34 -0
  30. package/dist/lib/task-utils.d.ts +159 -0
  31. package/dist/lib/task-utils.js +46 -0
  32. package/package.json +2 -2
  33. package/dist/{chunk-WZI3OAE5.js → chunk-5WR6RRPX.js} +3 -3
  34. package/dist/{chunk-L6NB43WV.js → chunk-6BBTI7NV.js} +3 -3
  35. package/dist/{chunk-73P7XCQM.js → chunk-DPS7NYIU.js} +3 -3
  36. package/dist/{chunk-MILVYUPK.js → chunk-IWYZAXKJ.js} +3 -3
  37. package/dist/{chunk-H7JW4L7H.js → chunk-OZ7RIXTO.js} +3 -3
  38. package/dist/{chunk-LB6P4CD5.js → chunk-PTSEIWXZ.js} +6 -6
  39. package/dist/{chunk-I5X6J4FX.js → chunk-SOTWYGH7.js} +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawvault",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "ClawVault™ - 🐘 An elephant never forgets. Structured memory for OpenClaw agents. Context death resilience, Obsidian-compatible markdown, local semantic search.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -29,7 +29,7 @@
29
29
  ]
30
30
  },
31
31
  "scripts": {
32
- "build": "tsup src/index.ts src/commands/entities.ts src/commands/link.ts src/commands/checkpoint.ts src/commands/recover.ts src/commands/status.ts src/commands/template.ts src/commands/setup.ts src/commands/context.ts src/commands/observe.ts src/commands/reflect.ts src/commands/archive.ts src/commands/rebuild.ts src/commands/replay.ts src/commands/migrate-observations.ts src/commands/sync-bd.ts src/commands/session-recap.ts src/commands/wake.ts src/commands/sleep.ts src/commands/doctor.ts src/commands/compat.ts src/commands/graph.ts src/commands/shell-init.ts src/commands/repair-session.ts src/lib/entity-index.ts src/lib/auto-linker.ts src/lib/config.ts src/lib/template-engine.ts src/lib/session-utils.ts src/lib/session-repair.ts --format esm --dts --clean",
32
+ "build": "tsup src/index.ts src/commands/entities.ts src/commands/link.ts src/commands/checkpoint.ts src/commands/recover.ts src/commands/status.ts src/commands/template.ts src/commands/setup.ts src/commands/context.ts src/commands/observe.ts src/commands/reflect.ts src/commands/archive.ts src/commands/rebuild.ts src/commands/replay.ts src/commands/migrate-observations.ts src/commands/sync-bd.ts src/commands/session-recap.ts src/commands/wake.ts src/commands/sleep.ts src/commands/doctor.ts src/commands/compat.ts src/commands/graph.ts src/commands/shell-init.ts src/commands/repair-session.ts src/commands/task.ts src/commands/backlog.ts src/commands/blocked.ts src/commands/canvas.ts src/lib/entity-index.ts src/lib/auto-linker.ts src/lib/config.ts src/lib/template-engine.ts src/lib/session-utils.ts src/lib/session-repair.ts src/lib/task-utils.ts src/lib/canvas-layout.ts --format esm --dts --clean",
33
33
  "dev": "tsup src/index.ts src/commands/*.ts src/lib/*.ts --format esm --dts --watch",
34
34
  "lint": "eslint src",
35
35
  "typecheck": "tsc --noEmit",
@@ -1,3 +1,6 @@
1
+ import {
2
+ resolveVaultPath
3
+ } from "./chunk-MXSSG3QU.js";
1
4
  import {
2
5
  DATE_HEADING_RE,
3
6
  parseObservationLine,
@@ -6,9 +9,6 @@ import {
6
9
  import {
7
10
  listObservationFiles
8
11
  } from "./chunk-Z2XBWN7A.js";
9
- import {
10
- resolveVaultPath
11
- } from "./chunk-MXSSG3QU.js";
12
12
 
13
13
  // src/commands/migrate-observations.ts
14
14
  import * as fs from "fs";
@@ -1,9 +1,9 @@
1
- import {
2
- Observer
3
- } from "./chunk-2HM7ZI4X.js";
4
1
  import {
5
2
  runReflection
6
3
  } from "./chunk-GQVYQCY5.js";
4
+ import {
5
+ Observer
6
+ } from "./chunk-2HM7ZI4X.js";
7
7
  import {
8
8
  resolveVaultPath
9
9
  } from "./chunk-MXSSG3QU.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  Observer
3
3
  } from "./chunk-2HM7ZI4X.js";
4
+ import {
5
+ resolveVaultPath
6
+ } from "./chunk-MXSSG3QU.js";
4
7
  import {
5
8
  getLegacyObservationPath,
6
9
  getObservationPath,
7
10
  listRawTranscriptFiles
8
11
  } from "./chunk-Z2XBWN7A.js";
9
- import {
10
- resolveVaultPath
11
- } from "./chunk-MXSSG3QU.js";
12
12
 
13
13
  // src/commands/rebuild.ts
14
14
  import * as fs from "fs";
@@ -1,10 +1,10 @@
1
+ import {
2
+ formatAge
3
+ } from "./chunk-7ZRP733D.js";
1
4
  import {
2
5
  checkDirtyDeath,
3
6
  clearDirtyFlag
4
7
  } from "./chunk-MZZJLQNQ.js";
5
- import {
6
- formatAge
7
- } from "./chunk-7ZRP733D.js";
8
8
 
9
9
  // src/commands/recover.ts
10
10
  import * as fs from "fs";
@@ -1,10 +1,10 @@
1
+ import {
2
+ resolveVaultPath
3
+ } from "./chunk-MXSSG3QU.js";
1
4
  import {
2
5
  buildOrUpdateMemoryGraphIndex,
3
6
  loadMemoryGraphIndex
4
7
  } from "./chunk-ZZA73MFY.js";
5
- import {
6
- resolveVaultPath
7
- } from "./chunk-MXSSG3QU.js";
8
8
 
9
9
  // src/commands/graph.ts
10
10
  function formatGraphSummary(summary) {
@@ -1,18 +1,18 @@
1
- import {
2
- parseSessionFile
3
- } from "./chunk-P5EPF6MB.js";
4
1
  import {
5
2
  getSessionsDir
6
3
  } from "./chunk-HRLWZGMA.js";
4
+ import {
5
+ parseSessionFile
6
+ } from "./chunk-P5EPF6MB.js";
7
7
  import {
8
8
  Observer
9
9
  } from "./chunk-2HM7ZI4X.js";
10
- import {
11
- getObservationPath
12
- } from "./chunk-Z2XBWN7A.js";
13
10
  import {
14
11
  resolveVaultPath
15
12
  } from "./chunk-MXSSG3QU.js";
13
+ import {
14
+ getObservationPath
15
+ } from "./chunk-Z2XBWN7A.js";
16
16
 
17
17
  // src/commands/observe.ts
18
18
  import * as fs3 from "fs";
@@ -1,15 +1,15 @@
1
- import {
2
- parseObservationMarkdown
3
- } from "./chunk-K6XHCUFL.js";
4
- import {
5
- listObservationFiles
6
- } from "./chunk-Z2XBWN7A.js";
7
1
  import {
8
2
  ClawVault
9
3
  } from "./chunk-OTQW3OMC.js";
4
+ import {
5
+ parseObservationMarkdown
6
+ } from "./chunk-K6XHCUFL.js";
10
7
  import {
11
8
  getMemoryGraph
12
9
  } from "./chunk-ZZA73MFY.js";
10
+ import {
11
+ listObservationFiles
12
+ } from "./chunk-Z2XBWN7A.js";
13
13
 
14
14
  // src/commands/context.ts
15
15
  import * as path from "path";