clawvault 3.2.0 → 3.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 (112) hide show
  1. package/README.md +54 -14
  2. package/bin/clawvault.js +0 -2
  3. package/bin/command-registration.test.js +13 -1
  4. package/bin/help-contract.test.js +14 -0
  5. package/bin/register-core-commands.js +88 -0
  6. package/bin/register-core-commands.test.js +80 -0
  7. package/bin/register-maintenance-commands.js +57 -6
  8. package/bin/register-query-commands.js +10 -28
  9. package/bin/test-helpers/cli-command-fixtures.js +1 -0
  10. package/dist/chunk-2PKBIKDH.js +130 -0
  11. package/dist/{chunk-2JQ3O2YL.js → chunk-5EFSWZO6.js} +3 -3
  12. package/dist/{chunk-77Q5CSPJ.js → chunk-7SWP5FKU.js} +33 -701
  13. package/dist/{chunk-URXDAUVH.js → chunk-AXSJIFOJ.js} +174 -1
  14. package/dist/{chunk-23YDQ3QU.js → chunk-BLQXXX7Q.js} +6 -6
  15. package/dist/chunk-CSHO3PJB.js +684 -0
  16. package/dist/{chunk-SLXOR3CC.js → chunk-DOIUYIXV.js} +2 -2
  17. package/dist/{chunk-NCKFNBHJ.js → chunk-DVOUSOR3.js} +79 -5
  18. package/dist/{chunk-CLJTREDS.js → chunk-ECGJYWNA.js} +193 -41
  19. package/dist/{chunk-BUEW6IIK.js → chunk-EL6UBSX5.js} +5 -5
  20. package/dist/{chunk-6FH3IULF.js → chunk-FZ5I2NF7.js} +1 -1
  21. package/dist/{chunk-ZN54U2OZ.js → chunk-GFCHWMGD.js} +3 -3
  22. package/dist/{chunk-GNJL4YGR.js → chunk-GJO3CFUN.js} +30 -6
  23. package/dist/chunk-H3JZIB5O.js +322 -0
  24. package/dist/chunk-HEHO7SMV.js +51 -0
  25. package/dist/{chunk-STCQGCEQ.js → chunk-HGDDW24U.js} +3 -3
  26. package/dist/chunk-J3YUXVID.js +907 -0
  27. package/dist/{chunk-Y6VJKXGL.js → chunk-KCYWJDDW.js} +1 -1
  28. package/dist/{chunk-W4SPAEE7.js → chunk-OFOCU2V4.js} +5 -4
  29. package/dist/chunk-PTWPPVC7.js +972 -0
  30. package/dist/{chunk-QSHD36LH.js → chunk-QFWERBDP.js} +2 -2
  31. package/dist/{chunk-QSRRMEYM.js → chunk-S7N7HI5E.js} +1 -1
  32. package/dist/{chunk-PBACDKKP.js → chunk-T7E764W3.js} +3 -3
  33. package/dist/chunk-TDWFBDAQ.js +1016 -0
  34. package/dist/{chunk-ESVS6K2B.js → chunk-TWMI3SNN.js} +6 -5
  35. package/dist/{chunk-2RAZ4ZFE.js → chunk-VBILES4B.js} +1 -1
  36. package/dist/{chunk-ESFLMDRB.js → chunk-VXAGOLDP.js} +3 -3
  37. package/dist/chunk-YCUVAOFC.js +158 -0
  38. package/dist/{chunk-SS4B7P7V.js → chunk-YIDV4VV2.js} +1 -1
  39. package/dist/chunk-ZKWPCBYT.js +600 -0
  40. package/dist/cli/index.js +24 -24
  41. package/dist/commands/archive.js +2 -2
  42. package/dist/commands/benchmark.d.ts +12 -0
  43. package/dist/commands/benchmark.js +12 -0
  44. package/dist/commands/context.js +6 -5
  45. package/dist/commands/doctor.d.ts +8 -3
  46. package/dist/commands/doctor.js +6 -20
  47. package/dist/commands/embed.js +5 -4
  48. package/dist/commands/entities.js +1 -1
  49. package/dist/commands/graph.js +2 -2
  50. package/dist/commands/inbox.d.ts +23 -0
  51. package/dist/commands/inbox.js +11 -0
  52. package/dist/commands/inject.d.ts +1 -1
  53. package/dist/commands/inject.js +3 -3
  54. package/dist/commands/link.js +6 -6
  55. package/dist/commands/maintain.d.ts +32 -0
  56. package/dist/commands/maintain.js +12 -0
  57. package/dist/commands/migrate-observations.js +2 -2
  58. package/dist/commands/observe.js +9 -8
  59. package/dist/commands/rebuild-embeddings.js +47 -16
  60. package/dist/commands/rebuild.js +7 -6
  61. package/dist/commands/reflect.js +5 -5
  62. package/dist/commands/replay.js +8 -7
  63. package/dist/commands/setup.js +3 -2
  64. package/dist/commands/sleep.d.ts +1 -1
  65. package/dist/commands/sleep.js +17 -15
  66. package/dist/commands/status.js +26 -24
  67. package/dist/commands/sync-bd.js +2 -2
  68. package/dist/commands/tailscale.js +2 -2
  69. package/dist/commands/wake.d.ts +1 -1
  70. package/dist/commands/wake.js +8 -7
  71. package/dist/index.d.ts +168 -16
  72. package/dist/index.js +271 -108
  73. package/dist/{inject-DYUrDqQO.d.ts → inject-DEb_jpLi.d.ts} +3 -1
  74. package/dist/lib/config.js +1 -1
  75. package/dist/{types-BbWJoC1c.d.ts → types-DslKvCaj.d.ts} +51 -1
  76. package/hooks/clawvault/HOOK.md +22 -5
  77. package/hooks/clawvault/handler.js +213 -78
  78. package/hooks/clawvault/handler.test.js +109 -43
  79. package/hooks/clawvault/integrity.js +112 -0
  80. package/hooks/clawvault/integrity.test.js +32 -0
  81. package/hooks/clawvault/openclaw.plugin.json +133 -15
  82. package/openclaw.plugin.json +126 -20
  83. package/package.json +2 -2
  84. package/bin/register-workgraph-commands.js +0 -1368
  85. package/dist/chunk-33VSQP4J.js +0 -37
  86. package/dist/chunk-4BQTQMJP.js +0 -93
  87. package/dist/chunk-EK6S23ZB.js +0 -469
  88. package/dist/chunk-GAOWA7GR.js +0 -501
  89. package/dist/chunk-GGA32J2R.js +0 -784
  90. package/dist/chunk-MM6QGW3P.js +0 -207
  91. package/dist/chunk-QVEERJSP.js +0 -152
  92. package/dist/chunk-U4O6C46S.js +0 -154
  93. package/dist/chunk-VSL7KY3M.js +0 -189
  94. package/dist/chunk-WMGIIABP.js +0 -15
  95. package/dist/commands/workgraph.d.ts +0 -124
  96. package/dist/commands/workgraph.js +0 -38
  97. package/dist/ledger-B7g7jhqG.d.ts +0 -44
  98. package/dist/registry-BR4326o0.d.ts +0 -30
  99. package/dist/store-CA-6sKCJ.d.ts +0 -34
  100. package/dist/thread-B9LhXNU0.d.ts +0 -41
  101. package/dist/workgraph/index.d.ts +0 -5
  102. package/dist/workgraph/index.js +0 -23
  103. package/dist/workgraph/ledger.d.ts +0 -2
  104. package/dist/workgraph/ledger.js +0 -25
  105. package/dist/workgraph/registry.d.ts +0 -2
  106. package/dist/workgraph/registry.js +0 -19
  107. package/dist/workgraph/store.d.ts +0 -2
  108. package/dist/workgraph/store.js +0 -25
  109. package/dist/workgraph/thread.d.ts +0 -2
  110. package/dist/workgraph/thread.js +0 -25
  111. package/dist/workgraph/types.d.ts +0 -54
  112. package/dist/workgraph/types.js +0 -7
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "clawvault",
3
3
  "name": "ClawVault",
4
- "version": "2.6.1",
4
+ "version": "2.7.0",
5
5
  "description": "Structured memory system for AI agents with context death resilience",
6
6
  "kind": "memory",
7
7
  "configSchema": {
@@ -9,12 +9,78 @@
9
9
  "properties": {
10
10
  "vaultPath": {
11
11
  "type": "string",
12
- "description": "Path to the ClawVault vault directory. If not set, auto-discovered from CLAWVAULT_PATH or by walking up from cwd."
12
+ "description": "Path to the ClawVault vault directory. Used as fallback when agentVaults is not set or agent not found."
13
+ },
14
+ "agentVaults": {
15
+ "type": "object",
16
+ "description": "Mapping of agent names to vault paths. Allows each agent to have its own vault. Falls back to vaultPath if agent not found.",
17
+ "additionalProperties": {
18
+ "type": "string",
19
+ "description": "Path to the vault directory for this agent"
20
+ }
21
+ },
22
+ "allowClawvaultExec": {
23
+ "type": "boolean",
24
+ "description": "Security gate for all child_process execution from the plugin. Must be true to run clawvault CLI commands.",
25
+ "default": false
26
+ },
27
+ "clawvaultBinaryPath": {
28
+ "type": "string",
29
+ "description": "Optional absolute path to the clawvault executable. When omitted, the plugin resolves clawvault from PATH."
30
+ },
31
+ "clawvaultBinarySha256": {
32
+ "type": "string",
33
+ "description": "Optional SHA-256 checksum for clawvaultBinaryPath (or resolved clawvault executable) to enforce binary integrity verification."
34
+ },
35
+ "allowEnvAccess": {
36
+ "type": "boolean",
37
+ "description": "Allow reading OPENCLAW_* and CLAWVAULT_PATH environment variables for vault and agent discovery.",
38
+ "default": false
39
+ },
40
+ "enableStartupRecovery": {
41
+ "type": "boolean",
42
+ "description": "Enable recovery checks on gateway startup.",
43
+ "default": false
44
+ },
45
+ "enableSessionContextInjection": {
46
+ "type": "boolean",
47
+ "description": "Enable recap/context injection on session start.",
48
+ "default": false
49
+ },
50
+ "enableAutoCheckpoint": {
51
+ "type": "boolean",
52
+ "description": "Enable automatic checkpointing on /new.",
53
+ "default": false
54
+ },
55
+ "enableObserveOnNew": {
56
+ "type": "boolean",
57
+ "description": "Enable observer flush on /new.",
58
+ "default": false
59
+ },
60
+ "enableHeartbeatObservation": {
61
+ "type": "boolean",
62
+ "description": "Enable observation threshold checks on heartbeat.",
63
+ "default": false
64
+ },
65
+ "enableCompactionObservation": {
66
+ "type": "boolean",
67
+ "description": "Enable forced observer flush on compaction events.",
68
+ "default": false
69
+ },
70
+ "enableWeeklyReflection": {
71
+ "type": "boolean",
72
+ "description": "Enable weekly reflection on Sunday midnight UTC.",
73
+ "default": false
74
+ },
75
+ "enableFactExtraction": {
76
+ "type": "boolean",
77
+ "description": "Enable extraction of structured facts from observed text during hook events.",
78
+ "default": false
13
79
  },
14
80
  "autoCheckpoint": {
15
81
  "type": "boolean",
16
- "description": "Enable automatic checkpointing on session events",
17
- "default": true
82
+ "description": "Deprecated alias for enableAutoCheckpoint.",
83
+ "default": false
18
84
  },
19
85
  "contextProfile": {
20
86
  "type": "string",
@@ -31,13 +97,13 @@
31
97
  },
32
98
  "observeOnHeartbeat": {
33
99
  "type": "boolean",
34
- "description": "Enable observation threshold checks on gateway heartbeat",
35
- "default": true
100
+ "description": "Deprecated alias for enableHeartbeatObservation.",
101
+ "default": false
36
102
  },
37
103
  "weeklyReflection": {
38
104
  "type": "boolean",
39
- "description": "Enable weekly reflection on Sunday midnight UTC",
40
- "default": true
105
+ "description": "Deprecated alias for enableWeeklyReflection.",
106
+ "default": false
41
107
  }
42
108
  },
43
109
  "additionalProperties": false
@@ -46,11 +112,63 @@
46
112
  "vaultPath": {
47
113
  "label": "Vault Path",
48
114
  "placeholder": "~/my-vault",
49
- "description": "Path to your ClawVault memory vault"
115
+ "description": "Path to your ClawVault memory vault (fallback when agentVaults not set)"
50
116
  },
51
- "autoCheckpoint": {
117
+ "agentVaults": {
118
+ "label": "Agent Vaults",
119
+ "description": "Per-agent vault paths (e.g., {\"agent1\": \"/path/to/vault1\", \"agent2\": \"/path/to/vault2\"})"
120
+ },
121
+ "allowClawvaultExec": {
122
+ "label": "Allow CLI Execution",
123
+ "description": "Required opt-in to run child_process calls from the plugin."
124
+ },
125
+ "clawvaultBinaryPath": {
126
+ "label": "ClawVault Binary Path",
127
+ "description": "Absolute path to clawvault executable for stricter execution controls."
128
+ },
129
+ "clawvaultBinarySha256": {
130
+ "label": "ClawVault Binary SHA-256",
131
+ "description": "Optional checksum to verify executable integrity before execution."
132
+ },
133
+ "allowEnvAccess": {
134
+ "label": "Allow Environment Access",
135
+ "description": "Allow OPENCLAW_* and CLAWVAULT_PATH reads for fallback discovery."
136
+ },
137
+ "enableStartupRecovery": {
138
+ "label": "Startup Recovery",
139
+ "description": "Run recovery checks on gateway startup."
140
+ },
141
+ "enableSessionContextInjection": {
142
+ "label": "Session Context Injection",
143
+ "description": "Inject recap and memory context on session start."
144
+ },
145
+ "enableAutoCheckpoint": {
52
146
  "label": "Auto Checkpoint",
53
- "description": "Automatically checkpoint before session resets"
147
+ "description": "Automatically checkpoint before /new."
148
+ },
149
+ "enableObserveOnNew": {
150
+ "label": "Observe On /new",
151
+ "description": "Run observer flush on /new."
152
+ },
153
+ "enableHeartbeatObservation": {
154
+ "label": "Observe On Heartbeat",
155
+ "description": "Check observation thresholds during heartbeat events."
156
+ },
157
+ "enableCompactionObservation": {
158
+ "label": "Observe On Compaction",
159
+ "description": "Force observer flush during compaction events."
160
+ },
161
+ "enableWeeklyReflection": {
162
+ "label": "Weekly Reflection",
163
+ "description": "Run weekly reflection on Sunday midnight UTC."
164
+ },
165
+ "enableFactExtraction": {
166
+ "label": "Fact Extraction",
167
+ "description": "Extract structured facts from hook event payloads."
168
+ },
169
+ "autoCheckpoint": {
170
+ "label": "Auto Checkpoint (Legacy Alias)",
171
+ "description": "Deprecated alias for enableAutoCheckpoint."
54
172
  },
55
173
  "contextProfile": {
56
174
  "label": "Context Profile",
@@ -61,12 +179,12 @@
61
179
  "description": "Number of vault memories to inject"
62
180
  },
63
181
  "observeOnHeartbeat": {
64
- "label": "Observe on Heartbeat",
65
- "description": "Check observation thresholds during heartbeat events"
182
+ "label": "Observe on Heartbeat (Legacy Alias)",
183
+ "description": "Deprecated alias for enableHeartbeatObservation."
66
184
  },
67
185
  "weeklyReflection": {
68
- "label": "Weekly Reflection",
69
- "description": "Run weekly reflection on Sunday midnight UTC"
186
+ "label": "Weekly Reflection (Legacy Alias)",
187
+ "description": "Deprecated alias for enableWeeklyReflection."
70
188
  }
71
189
  }
72
190
  }
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "id": "clawvault",
3
3
  "name": "ClawVault",
4
- "version": "2.6.5",
4
+ "version": "2.7.0",
5
5
  "description": "Structured memory system for AI agents with context death resilience",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "properties": {
9
9
  "vaultPath": {
10
10
  "type": "string",
11
- "description": "Path to the ClawVault vault directory. If not set, auto-discovered from CLAWVAULT_PATH or by walking up from cwd. Used as fallback when agentVaults is not set or agent not found."
11
+ "description": "Path to the ClawVault vault directory. Used as fallback when agentVaults is not set or agent not found."
12
12
  },
13
13
  "agentVaults": {
14
14
  "type": "object",
@@ -18,10 +18,78 @@
18
18
  "description": "Path to the vault directory for this agent"
19
19
  }
20
20
  },
21
+ "allowClawvaultExec": {
22
+ "type": "boolean",
23
+ "description": "Security gate for all child_process execution from the plugin. Must be true to run clawvault CLI commands.",
24
+ "default": false
25
+ },
26
+ "clawvaultBinaryPath": {
27
+ "type": "string",
28
+ "description": "Optional absolute path to the clawvault executable. When omitted, the plugin resolves clawvault from PATH."
29
+ },
30
+ "clawvaultBinarySha256": {
31
+ "type": "string",
32
+ "description": "Optional SHA-256 checksum for clawvaultBinaryPath (or resolved clawvault executable) to enforce binary integrity verification."
33
+ },
34
+ "allowEnvAccess": {
35
+ "type": "boolean",
36
+ "description": "Allow reading OPENCLAW_* and CLAWVAULT_PATH environment variables for vault and agent discovery.",
37
+ "default": false
38
+ },
39
+ "enableStartupRecovery": {
40
+ "type": "boolean",
41
+ "description": "Enable recovery checks on gateway startup.",
42
+ "default": false
43
+ },
44
+ "enableSessionContextInjection": {
45
+ "type": "boolean",
46
+ "description": "Enable recap/context injection on session start.",
47
+ "default": false
48
+ },
49
+ "enableAutoCheckpoint": {
50
+ "type": "boolean",
51
+ "description": "Enable automatic checkpointing on /new.",
52
+ "default": false
53
+ },
54
+ "enableObserveOnNew": {
55
+ "type": "boolean",
56
+ "description": "Enable observer flush on /new.",
57
+ "default": false
58
+ },
59
+ "enableHeartbeatObservation": {
60
+ "type": "boolean",
61
+ "description": "Enable observation threshold checks on heartbeat.",
62
+ "default": false
63
+ },
64
+ "enableCompactionObservation": {
65
+ "type": "boolean",
66
+ "description": "Enable forced observer flush on compaction events.",
67
+ "default": false
68
+ },
69
+ "enableWeeklyReflection": {
70
+ "type": "boolean",
71
+ "description": "Enable weekly reflection on Sunday midnight UTC.",
72
+ "default": false
73
+ },
74
+ "enableFactExtraction": {
75
+ "type": "boolean",
76
+ "description": "Enable extraction of structured facts from observed text during hook events.",
77
+ "default": false
78
+ },
21
79
  "autoCheckpoint": {
22
80
  "type": "boolean",
23
- "description": "Enable automatic checkpointing on session events",
24
- "default": true
81
+ "description": "Deprecated alias for enableAutoCheckpoint.",
82
+ "default": false
83
+ },
84
+ "observeOnHeartbeat": {
85
+ "type": "boolean",
86
+ "description": "Deprecated alias for enableHeartbeatObservation.",
87
+ "default": false
88
+ },
89
+ "weeklyReflection": {
90
+ "type": "boolean",
91
+ "description": "Deprecated alias for enableWeeklyReflection.",
92
+ "default": false
25
93
  },
26
94
  "contextProfile": {
27
95
  "type": "string",
@@ -35,16 +103,6 @@
35
103
  "maximum": 20,
36
104
  "description": "Maximum number of context results to inject on session start",
37
105
  "default": 4
38
- },
39
- "observeOnHeartbeat": {
40
- "type": "boolean",
41
- "description": "Enable observation threshold checks on gateway heartbeat",
42
- "default": true
43
- },
44
- "weeklyReflection": {
45
- "type": "boolean",
46
- "description": "Enable weekly reflection on Sunday midnight UTC",
47
- "default": true
48
106
  }
49
107
  },
50
108
  "additionalProperties": false
@@ -59,9 +117,57 @@
59
117
  "label": "Agent Vaults",
60
118
  "description": "Per-agent vault paths (e.g., {\"agent1\": \"/path/to/vault1\", \"agent2\": \"/path/to/vault2\"})"
61
119
  },
62
- "autoCheckpoint": {
120
+ "allowClawvaultExec": {
121
+ "label": "Allow CLI Execution",
122
+ "description": "Required opt-in to run child_process calls from the plugin."
123
+ },
124
+ "clawvaultBinaryPath": {
125
+ "label": "ClawVault Binary Path",
126
+ "description": "Absolute path to clawvault executable for stricter execution controls."
127
+ },
128
+ "clawvaultBinarySha256": {
129
+ "label": "ClawVault Binary SHA-256",
130
+ "description": "Optional checksum to verify executable integrity before execution."
131
+ },
132
+ "allowEnvAccess": {
133
+ "label": "Allow Environment Access",
134
+ "description": "Allow OPENCLAW_* and CLAWVAULT_PATH reads for fallback discovery."
135
+ },
136
+ "enableStartupRecovery": {
137
+ "label": "Startup Recovery",
138
+ "description": "Run recovery checks on gateway startup."
139
+ },
140
+ "enableSessionContextInjection": {
141
+ "label": "Session Context Injection",
142
+ "description": "Inject recap and memory context on session start."
143
+ },
144
+ "enableAutoCheckpoint": {
63
145
  "label": "Auto Checkpoint",
64
- "description": "Automatically checkpoint before session resets"
146
+ "description": "Automatically checkpoint before /new."
147
+ },
148
+ "enableObserveOnNew": {
149
+ "label": "Observe On /new",
150
+ "description": "Run observer flush on /new."
151
+ },
152
+ "enableHeartbeatObservation": {
153
+ "label": "Observe On Heartbeat",
154
+ "description": "Check observation thresholds during heartbeat events."
155
+ },
156
+ "enableCompactionObservation": {
157
+ "label": "Observe On Compaction",
158
+ "description": "Force observer flush during compaction events."
159
+ },
160
+ "enableWeeklyReflection": {
161
+ "label": "Weekly Reflection",
162
+ "description": "Run weekly reflection on Sunday midnight UTC."
163
+ },
164
+ "enableFactExtraction": {
165
+ "label": "Fact Extraction",
166
+ "description": "Extract structured facts from hook event payloads."
167
+ },
168
+ "autoCheckpoint": {
169
+ "label": "Auto Checkpoint (Legacy Alias)",
170
+ "description": "Deprecated alias for enableAutoCheckpoint."
65
171
  },
66
172
  "contextProfile": {
67
173
  "label": "Context Profile",
@@ -72,12 +178,12 @@
72
178
  "description": "Number of vault memories to inject"
73
179
  },
74
180
  "observeOnHeartbeat": {
75
- "label": "Observe on Heartbeat",
76
- "description": "Check observation thresholds during heartbeat events"
181
+ "label": "Observe on Heartbeat (Legacy Alias)",
182
+ "description": "Deprecated alias for enableHeartbeatObservation."
77
183
  },
78
184
  "weeklyReflection": {
79
- "label": "Weekly Reflection",
80
- "description": "Run weekly reflection on Sunday midnight UTC"
185
+ "label": "Weekly Reflection (Legacy Alias)",
186
+ "description": "Deprecated alias for enableWeeklyReflection."
81
187
  }
82
188
  }
83
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawvault",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "Structured memory system for AI agents \u2014 typed storage, knowledge graph, context profiles, canvas dashboards, neural graph themes, and Obsidian-native task views. An elephant never forgets. \ud83d\udc18",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -34,7 +34,7 @@
34
34
  ]
35
35
  },
36
36
  "scripts": {
37
- "build": "tsup src/commands/archive.ts src/commands/backlog.ts src/commands/blocked.ts src/commands/canvas.ts src/commands/checkpoint.ts src/commands/compat.ts src/commands/context.ts src/commands/doctor.ts src/commands/embed.ts src/commands/entities.ts src/commands/graph.ts src/commands/inject.ts src/commands/kanban.ts src/commands/link.ts src/commands/migrate-observations.ts src/commands/observe.ts src/commands/project.ts src/commands/rebuild.ts src/commands/rebuild-embeddings.ts src/commands/recover.ts src/commands/reflect.ts src/commands/repair-session.ts src/commands/replay.ts src/commands/session-recap.ts src/commands/setup.ts src/commands/shell-init.ts src/commands/sleep.ts src/commands/status.ts src/commands/sync-bd.ts src/commands/tailscale.ts src/commands/task.ts src/commands/template.ts src/commands/wake.ts src/commands/workgraph.ts src/cli/index.ts src/index.ts src/openclaw-plugin.ts src/lib/auto-linker.ts src/lib/canvas-layout.ts src/lib/config.ts src/lib/entity-index.ts src/lib/project-utils.ts src/lib/session-repair.ts src/lib/session-utils.ts src/lib/tailscale.ts src/lib/task-utils.ts src/lib/template-engine.ts src/lib/webdav.ts src/workgraph/index.ts src/workgraph/types.ts src/workgraph/registry.ts src/workgraph/ledger.ts src/workgraph/store.ts src/workgraph/thread.ts --format esm --dts --clean",
37
+ "build": "tsup src/commands/archive.ts src/commands/backlog.ts src/commands/benchmark.ts src/commands/blocked.ts src/commands/canvas.ts src/commands/checkpoint.ts src/commands/compat.ts src/commands/context.ts src/commands/doctor.ts src/commands/embed.ts src/commands/entities.ts src/commands/graph.ts src/commands/inbox.ts src/commands/inject.ts src/commands/kanban.ts src/commands/link.ts src/commands/maintain.ts src/commands/migrate-observations.ts src/commands/observe.ts src/commands/project.ts src/commands/rebuild.ts src/commands/rebuild-embeddings.ts src/commands/recover.ts src/commands/reflect.ts src/commands/repair-session.ts src/commands/replay.ts src/commands/session-recap.ts src/commands/setup.ts src/commands/shell-init.ts src/commands/sleep.ts src/commands/status.ts src/commands/sync-bd.ts src/commands/tailscale.ts src/commands/task.ts src/commands/template.ts src/commands/wake.ts src/cli/index.ts src/index.ts src/openclaw-plugin.ts src/lib/auto-linker.ts src/lib/canvas-layout.ts src/lib/config.ts src/lib/entity-index.ts src/lib/project-utils.ts src/lib/session-repair.ts src/lib/session-utils.ts src/lib/tailscale.ts src/lib/task-utils.ts src/lib/template-engine.ts src/lib/webdav.ts --format esm --dts --clean",
38
38
  "dev": "tsup src/index.ts src/commands/*.ts src/lib/*.ts --format esm --dts --watch",
39
39
  "lint": "eslint src",
40
40
  "typecheck": "tsc --noEmit",