toolnet-memory 0.2.10 → 0.2.11
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 -26
- package/bundle/agy-hook.js +30 -30
- package/bundle/agy.js +24 -24
- package/bundle/codex.js +31 -31
- package/bundle/context-runtime.js +40 -13
- package/bundle/opencode.js +34 -34
- package/package.json +1 -1
package/bin/toolnet-memory
CHANGED
|
@@ -19,7 +19,7 @@ if [ "${1:-}" = "--version" ] || [ "${1:-}" = "-v" ]; then
|
|
|
19
19
|
exit 0
|
|
20
20
|
fi
|
|
21
21
|
|
|
22
|
-
COMMAND="${1:-
|
|
22
|
+
COMMAND="${1:-context:print}"
|
|
23
23
|
|
|
24
24
|
run() {
|
|
25
25
|
DIST="$1"
|
|
@@ -389,6 +389,26 @@ case "$COMMAND" in
|
|
|
389
389
|
exec "$TSX" "$ROOT/src/work-continuity/context-runtime-cli.ts" refresh "$@"
|
|
390
390
|
;;
|
|
391
391
|
|
|
392
|
+
profile:show)
|
|
393
|
+
shift
|
|
394
|
+
|
|
395
|
+
if [ -f "$ROOT/bundle/context-runtime.js" ]; then
|
|
396
|
+
exec node "$ROOT/bundle/context-runtime.js" profile-show "$@"
|
|
397
|
+
fi
|
|
398
|
+
|
|
399
|
+
exec "$TSX" "$ROOT/src/work-continuity/context-runtime-cli.ts" profile-show "$@"
|
|
400
|
+
;;
|
|
401
|
+
|
|
402
|
+
profile:sync)
|
|
403
|
+
shift
|
|
404
|
+
|
|
405
|
+
if [ -f "$ROOT/bundle/context-runtime.js" ]; then
|
|
406
|
+
exec node "$ROOT/bundle/context-runtime.js" profile-sync "$@"
|
|
407
|
+
fi
|
|
408
|
+
|
|
409
|
+
exec "$TSX" "$ROOT/src/work-continuity/context-runtime-cli.ts" profile-sync "$@"
|
|
410
|
+
;;
|
|
411
|
+
|
|
392
412
|
session:codex-context)
|
|
393
413
|
shift
|
|
394
414
|
|
|
@@ -405,9 +425,44 @@ case "$COMMAND" in
|
|
|
405
425
|
|
|
406
426
|
help|--help|-h)
|
|
407
427
|
cat <<'HELP'
|
|
408
|
-
ToolNet Memory
|
|
428
|
+
ToolNet Memory - Project Context & Memory System
|
|
429
|
+
|
|
430
|
+
FAST CONTEXT (default):
|
|
431
|
+
toolnet-memory Print fast project context (default)
|
|
432
|
+
toolnet-memory context:print Print fast project context
|
|
433
|
+
toolnet-memory context:sync Show context hash/size
|
|
434
|
+
toolnet-memory profile:show Show .toolnet/profile.md
|
|
435
|
+
toolnet-memory profile:sync Sync profile to GEMINI.md/AGENTS.md/CLAUDE.md
|
|
436
|
+
|
|
437
|
+
MANUAL DEEP RECOVERY (do not run automatically):
|
|
438
|
+
toolnet-memory context:refresh Rebuild deep startup brief cache
|
|
439
|
+
toolnet-memory brief [--tokens N] Show full project brief
|
|
440
|
+
toolnet-memory handoff:latest Show latest session handoff
|
|
441
|
+
toolnet-memory session:agy-recover [--limit N] Recover Agy sessions
|
|
442
|
+
toolnet-memory session:codex-recover [--limit N] Recover Codex sessions
|
|
443
|
+
toolnet-memory session:opencode-recover [--limit N] Recover OpenCode sessions
|
|
444
|
+
|
|
445
|
+
MEMORY OPERATIONS:
|
|
446
|
+
toolnet-memory memory:reconcile [--project PATH]
|
|
447
|
+
|
|
448
|
+
PROJECT MANUAL:
|
|
449
|
+
toolnet-memory project:manual-init [--project PATH]
|
|
450
|
+
toolnet-memory project:manual-show [--project PATH]
|
|
451
|
+
toolnet-memory project:manual-sync [--project PATH]
|
|
452
|
+
|
|
453
|
+
WORK CONTINUITY:
|
|
454
|
+
toolnet-memory work:status [--project PATH]
|
|
455
|
+
toolnet-memory work:json [--project PATH]
|
|
456
|
+
toolnet-memory work:reconcile [--project PATH]
|
|
457
|
+
|
|
458
|
+
CODE INTELLIGENCE:
|
|
459
|
+
toolnet-memory index
|
|
460
|
+
toolnet-memory index:graph
|
|
461
|
+
toolnet-memory incremental
|
|
462
|
+
toolnet-memory semantic "query"
|
|
463
|
+
toolnet-memory impact [file]
|
|
409
464
|
|
|
410
|
-
|
|
465
|
+
SETUP & INTEGRATION:
|
|
411
466
|
toolnet-memory --version
|
|
412
467
|
toolnet-memory doctor
|
|
413
468
|
toolnet-memory setup
|
|
@@ -415,36 +470,26 @@ Commands:
|
|
|
415
470
|
toolnet-memory config get KEY
|
|
416
471
|
toolnet-memory config set KEY VALUE
|
|
417
472
|
toolnet-memory config open
|
|
418
|
-
toolnet-memory index
|
|
419
|
-
toolnet-memory index:graph
|
|
420
|
-
toolnet-memory incremental
|
|
421
|
-
toolnet-memory semantic "query"
|
|
422
|
-
toolnet-memory impact [file]
|
|
423
|
-
toolnet-memory mcp
|
|
424
473
|
toolnet-memory integrate:auto
|
|
474
|
+
toolnet-memory integrate:opencode
|
|
475
|
+
toolnet-memory integrate:agy
|
|
476
|
+
toolnet-memory integrate:codex
|
|
477
|
+
toolnet-memory mcp
|
|
478
|
+
|
|
479
|
+
SNAPSHOTS:
|
|
425
480
|
toolnet-memory snapshot:list
|
|
426
481
|
toolnet-memory snapshot:create "reason"
|
|
427
482
|
toolnet-memory snapshot:restore <id>
|
|
428
483
|
toolnet-memory recover
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
toolnet-memory integrate:codex
|
|
432
|
-
toolnet-memory session:codex-sync <thread-id>
|
|
433
|
-
toolnet-memory session:codex-recover [--limit N]
|
|
434
|
-
toolnet-memory memory:reconcile [--project PATH]
|
|
435
|
-
toolnet-memory project:manual-init [--project PATH]
|
|
436
|
-
toolnet-memory project:manual-show [--project PATH]
|
|
437
|
-
toolnet-memory project:manual-sync [--project PATH]
|
|
438
|
-
toolnet-memory work:status [--project PATH]
|
|
439
|
-
toolnet-memory work:json [--project PATH]
|
|
440
|
-
toolnet-memory work:reconcile [--project PATH]
|
|
441
|
-
toolnet-memory brief [--project PATH] [--tokens N]
|
|
442
|
-
toolnet-memory brief:json [--project PATH] [--tokens N]
|
|
443
|
-
toolnet-memory handoff:latest [--project PATH]
|
|
484
|
+
|
|
485
|
+
SESSION SYNC (manual):
|
|
444
486
|
toolnet-memory session:agy-sync <conversation-id> --transcript <path>
|
|
445
|
-
toolnet-memory session:
|
|
487
|
+
toolnet-memory session:codex-sync <thread-id>
|
|
446
488
|
toolnet-memory session:opencode-sync <session-id>
|
|
447
|
-
|
|
489
|
+
|
|
490
|
+
IMPORTANT:
|
|
491
|
+
Deep recovery commands (brief, handoff:latest, session:*-recover) are manual only.
|
|
492
|
+
Do not run them automatically at startup. Use fast context commands instead.
|
|
448
493
|
HELP
|
|
449
494
|
;;
|
|
450
495
|
|