toolnet-memory 0.2.19 → 0.2.21
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/toolnet-memory +71 -0
- package/bundle/agy-hook.js +40 -39
- package/bundle/agy.js +82 -34
- package/bundle/auto-integrate.js +66 -19
- package/bundle/claude-hook.js +73 -0
- package/bundle/claude.js +3 -0
- package/bundle/codex-context.js +19 -19
- package/bundle/codex.js +61 -60
- package/bundle/context-runtime.js +30 -30
- package/bundle/context.js +15 -14
- package/bundle/continuity-certify.js +49 -0
- package/bundle/doctor.js +4 -4
- package/bundle/full-index.js +18 -8
- package/bundle/graph-index.js +4 -4
- package/bundle/handoff-refresh.js +8 -8
- package/bundle/impact.js +3 -3
- package/bundle/incremental.js +4 -4
- package/bundle/init.js +763 -0
- package/bundle/learner.js +5 -5
- package/bundle/mcp.js +17 -15
- package/bundle/memory-agent.js +10 -11
- package/bundle/memory-query.js +7 -7
- package/bundle/opencode.js +54 -53
- package/bundle/production-certify.js +5 -0
- package/bundle/project-manual.js +6 -6
- package/bundle/recovery-certify.js +55 -0
- package/bundle/runtime.js +10 -10
- package/bundle/semantic.js +6 -6
- package/bundle/setup.js +69 -22
- package/bundle/snapshot.js +4 -4
- package/bundle/update.js +4 -1
- package/bundle/work-continuity.js +6 -6
- package/package.json +1 -1
package/bin/toolnet-memory
CHANGED
|
@@ -41,6 +41,11 @@ run() {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
case "$COMMAND" in
|
|
44
|
+
init)
|
|
45
|
+
shift
|
|
46
|
+
run bundle/init.js src/production/init.ts "$@"
|
|
47
|
+
;;
|
|
48
|
+
|
|
44
49
|
ask)
|
|
45
50
|
shift
|
|
46
51
|
run bundle/memory-query.js src/work-continuity/memory-query-cli.ts "$@"
|
|
@@ -106,6 +111,10 @@ case "$COMMAND" in
|
|
|
106
111
|
run bundle/mcp.js src/mcp/bootstrap.ts
|
|
107
112
|
;;
|
|
108
113
|
|
|
114
|
+
production:certify)
|
|
115
|
+
run bundle/production-certify.js src/production/production-certify-cli.ts
|
|
116
|
+
;;
|
|
117
|
+
|
|
109
118
|
index)
|
|
110
119
|
run bundle/full-index.js src/production/full-index.ts
|
|
111
120
|
;;
|
|
@@ -176,6 +185,11 @@ case "$COMMAND" in
|
|
|
176
185
|
exit 1
|
|
177
186
|
;;
|
|
178
187
|
|
|
188
|
+
integrate:detect)
|
|
189
|
+
shift
|
|
190
|
+
run bundle/auto-integrate.js src/production/auto-integrate.ts --detect-only "$@"
|
|
191
|
+
;;
|
|
192
|
+
|
|
179
193
|
integrate:auto)
|
|
180
194
|
shift
|
|
181
195
|
run bundle/auto-integrate.js src/production/auto-integrate.ts "$@"
|
|
@@ -240,6 +254,50 @@ case "$COMMAND" in
|
|
|
240
254
|
exec "$TSX" "$ROOT/src/session/agy/cli.ts" install-hooks "$@"
|
|
241
255
|
;;
|
|
242
256
|
|
|
257
|
+
certify:continuity)
|
|
258
|
+
shift
|
|
259
|
+
|
|
260
|
+
if [ -f "$ROOT/bundle/continuity-certify.js" ]; then
|
|
261
|
+
exec node "$ROOT/bundle/continuity-certify.js" "$@"
|
|
262
|
+
fi
|
|
263
|
+
|
|
264
|
+
if [ -x "${TSX:-}" ] && [ -f "$ROOT/src/production/continuity-certify-cli.ts" ]; then
|
|
265
|
+
exec "$TSX" "$ROOT/src/production/continuity-certify-cli.ts" "$@"
|
|
266
|
+
fi
|
|
267
|
+
|
|
268
|
+
echo "Continuity certification runtime not found."
|
|
269
|
+
exit 1
|
|
270
|
+
;;
|
|
271
|
+
|
|
272
|
+
session:claude-hook)
|
|
273
|
+
shift
|
|
274
|
+
|
|
275
|
+
if [ -f "$ROOT/bundle/claude-hook.js" ]; then
|
|
276
|
+
exec node "$ROOT/bundle/claude-hook.js" "$@"
|
|
277
|
+
fi
|
|
278
|
+
|
|
279
|
+
if [ -x "${TSX:-}" ] && [ -f "$ROOT/src/session/claude/hook.ts" ]; then
|
|
280
|
+
exec "$TSX" "$ROOT/src/session/claude/hook.ts" "$@"
|
|
281
|
+
fi
|
|
282
|
+
|
|
283
|
+
exit 0
|
|
284
|
+
;;
|
|
285
|
+
|
|
286
|
+
integrate:claude)
|
|
287
|
+
shift
|
|
288
|
+
|
|
289
|
+
if [ -f "$ROOT/bundle/claude.js" ]; then
|
|
290
|
+
exec node "$ROOT/bundle/claude.js" install "$@"
|
|
291
|
+
fi
|
|
292
|
+
|
|
293
|
+
if [ -x "${TSX:-}" ] && [ -f "$ROOT/src/session/claude/cli.ts" ]; then
|
|
294
|
+
exec "$TSX" "$ROOT/src/session/claude/cli.ts" install "$@"
|
|
295
|
+
fi
|
|
296
|
+
|
|
297
|
+
echo "Claude Code integration installer not found."
|
|
298
|
+
exit 1
|
|
299
|
+
;;
|
|
300
|
+
|
|
243
301
|
session:codex-notify)
|
|
244
302
|
shift
|
|
245
303
|
|
|
@@ -501,6 +559,16 @@ case "$COMMAND" in
|
|
|
501
559
|
cat <<'HELP'
|
|
502
560
|
ToolNet Memory - Project Context & Memory System
|
|
503
561
|
|
|
562
|
+
INTEGRATIONS:
|
|
563
|
+
toolnet-memory integrate:detect Detect Agy, Codex and OpenCode
|
|
564
|
+
toolnet-memory integrate:auto Detect and enable integrations
|
|
565
|
+
|
|
566
|
+
PROJECT SETUP:
|
|
567
|
+
toolnet-memory init [path] Initialize ToolNet for a project
|
|
568
|
+
toolnet-memory init --project <path> Initialize an explicit project
|
|
569
|
+
toolnet-memory init --json Print machine-readable result
|
|
570
|
+
toolnet-memory init --no-integrate Skip automatic agent integration
|
|
571
|
+
|
|
504
572
|
FAST CONTEXT (default):
|
|
505
573
|
toolnet-memory Print fast project context (default)
|
|
506
574
|
toolnet-memory context:print Print fast project context
|
|
@@ -568,6 +636,9 @@ SETUP & INTEGRATION:
|
|
|
568
636
|
toolnet-memory integrate:codex
|
|
569
637
|
toolnet-memory mcp
|
|
570
638
|
|
|
639
|
+
PRODUCTION:
|
|
640
|
+
toolnet-memory production:certify Verify packaged production runtime
|
|
641
|
+
|
|
571
642
|
SNAPSHOTS:
|
|
572
643
|
toolnet-memory snapshot:list
|
|
573
644
|
toolnet-memory snapshot:create "reason"
|