toolnet-memory 0.3.12 → 0.3.13
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/.env.example +0 -4
- package/README.md +5 -48
- package/bin/toolnet-memory +15 -42
- package/bundle/agy-hook.js +50 -50
- package/bundle/agy.js +17 -17
- package/bundle/api.js +15 -55
- package/bundle/auto-integrate.js +34 -33
- package/bundle/config.js +17 -12
- package/bundle/context-runtime.js +9 -9
- package/bundle/continuity-certify.js +13 -53
- package/bundle/doctor.js +4 -6
- package/bundle/full-index.js +21 -22
- package/bundle/graph-index.js +3 -3
- package/bundle/graph-ui.js +3 -3
- package/bundle/help-cli.js +4 -4
- package/bundle/impact.js +3 -3
- package/bundle/incremental.js +3 -3
- package/bundle/init.js +37 -36
- package/bundle/kilo.js +2 -0
- package/bundle/learner.js +4 -4
- package/bundle/mcp.js +18 -59
- package/bundle/memory-agent.js +7 -47
- package/bundle/project-manual.js +2 -2
- package/bundle/recovery-certify.js +13 -53
- package/bundle/runtime.js +11 -11
- package/bundle/semantic.js +5 -6
- package/bundle/snapshot.js +3 -3
- package/bundle/status-cli.js +4 -4
- package/bundle/toolnet-cli.js +2 -0
- package/bundle/work-continuity.js +5 -5
- package/package.json +1 -3
- package/bundle/model-cli.js +0 -2
- package/bundle/provider.js +0 -6
- package/bundle/setup.js +0 -1159
package/.env.example
CHANGED
|
@@ -30,10 +30,6 @@ HF_BUCKET=toolnet-memory
|
|
|
30
30
|
HF_S3_ACCESS_KEY_ID=
|
|
31
31
|
HF_S3_SECRET_ACCESS_KEY=
|
|
32
32
|
|
|
33
|
-
# Embedding
|
|
34
|
-
HF_TOKEN=
|
|
35
|
-
HF_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
|
|
36
|
-
|
|
37
33
|
# Local fallback/cache
|
|
38
34
|
MEMORY_LOCAL_STORAGE_PATH=
|
|
39
35
|
MEMORY_LOCAL_CACHE_MB=200
|
package/README.md
CHANGED
|
@@ -252,11 +252,11 @@ toolnet-memory integrate:grok ...
|
|
|
252
252
|
|
|
253
253
|
`integrate:auto` uses a conservative policy:
|
|
254
254
|
|
|
255
|
-
| Current location
|
|
256
|
-
|
|
|
257
|
-
| Ordinary directory
|
|
258
|
-
| Git repository without ToolNet initialization
|
|
259
|
-
| Existing ToolNet project with `.toolnet/project.json` | `both`
|
|
255
|
+
| Current location | Automatic scope |
|
|
256
|
+
| ----------------------------------------------------- | --------------- |
|
|
257
|
+
| Ordinary directory | `global` |
|
|
258
|
+
| Git repository without ToolNet initialization | `global` |
|
|
259
|
+
| Existing ToolNet project with `.toolnet/project.json` | `both` |
|
|
260
260
|
|
|
261
261
|
ToolNet does **not** create `.cursor/`, `.github/`, or `.grok/` project configuration just because the current directory is a Git repository.
|
|
262
262
|
|
|
@@ -698,49 +698,6 @@ Deep recovery is intentionally not run automatically on every startup.
|
|
|
698
698
|
|
|
699
699
|
---
|
|
700
700
|
|
|
701
|
-
## AI Providers and Models
|
|
702
|
-
|
|
703
|
-
Configure interactively:
|
|
704
|
-
|
|
705
|
-
```bash
|
|
706
|
-
toolnet-memory setup
|
|
707
|
-
```
|
|
708
|
-
|
|
709
|
-
Provider commands:
|
|
710
|
-
|
|
711
|
-
```bash
|
|
712
|
-
toolnet-memory provider
|
|
713
|
-
toolnet-memory provider:list
|
|
714
|
-
toolnet-memory provider:status
|
|
715
|
-
toolnet-memory provider:test llm
|
|
716
|
-
toolnet-memory provider:test embedding
|
|
717
|
-
```
|
|
718
|
-
|
|
719
|
-
Model commands:
|
|
720
|
-
|
|
721
|
-
```bash
|
|
722
|
-
toolnet-memory model
|
|
723
|
-
toolnet-memory model status
|
|
724
|
-
toolnet-memory model list
|
|
725
|
-
toolnet-memory model set <model>
|
|
726
|
-
```
|
|
727
|
-
|
|
728
|
-
Canonical environment configuration:
|
|
729
|
-
|
|
730
|
-
```text
|
|
731
|
-
TOOLNET_LLM_PROVIDER
|
|
732
|
-
TOOLNET_LLM_API_KEY
|
|
733
|
-
TOOLNET_LLM_BASE_URL
|
|
734
|
-
TOOLNET_LLM_MODEL
|
|
735
|
-
|
|
736
|
-
TOOLNET_EMBEDDING_PROVIDER
|
|
737
|
-
TOOLNET_EMBEDDING_API_KEY
|
|
738
|
-
TOOLNET_EMBEDDING_BASE_URL
|
|
739
|
-
TOOLNET_EMBEDDING_MODEL
|
|
740
|
-
```
|
|
741
|
-
|
|
742
|
-
---
|
|
743
|
-
|
|
744
701
|
## Storage
|
|
745
702
|
|
|
746
703
|
Supported modes include:
|
package/bin/toolnet-memory
CHANGED
|
@@ -51,11 +51,6 @@ case "$COMMAND" in
|
|
|
51
51
|
run bundle/memory-query.js src/work-continuity/memory-query-cli.ts "$@"
|
|
52
52
|
;;
|
|
53
53
|
|
|
54
|
-
ask-ai)
|
|
55
|
-
shift
|
|
56
|
-
run bundle/memory-agent.js src/work-continuity/memory-agent-cli.ts "$@"
|
|
57
|
-
;;
|
|
58
|
-
|
|
59
54
|
handoff:refresh)
|
|
60
55
|
shift
|
|
61
56
|
run bundle/handoff-refresh.js src/work-continuity/handoff-cli.ts "$@"
|
|
@@ -71,38 +66,11 @@ case "$COMMAND" in
|
|
|
71
66
|
run bundle/config.js src/production/config-cli.ts "$@"
|
|
72
67
|
;;
|
|
73
68
|
|
|
74
|
-
setup)
|
|
75
|
-
if [ -f "$ROOT/bundle/setup.js" ]; then
|
|
76
|
-
exec node "$ROOT/bundle/setup.js" "$@"
|
|
77
|
-
elif [ -f "$ROOT/src/production/setup.ts" ]; then
|
|
78
|
-
exec npx --yes tsx "$ROOT/src/production/setup.ts" "$@"
|
|
79
|
-
else
|
|
80
|
-
echo "ToolNet setup module missing."
|
|
81
|
-
exit 1
|
|
82
|
-
fi
|
|
83
|
-
;;
|
|
84
|
-
|
|
85
|
-
|
|
86
69
|
doctor)
|
|
87
70
|
shift
|
|
88
71
|
run bundle/doctor.js src/production/doctor.ts "$@"
|
|
89
72
|
;;
|
|
90
73
|
|
|
91
|
-
provider:list)
|
|
92
|
-
shift
|
|
93
|
-
run bundle/provider.js src/ai/provider-cli.ts list "$@"
|
|
94
|
-
;;
|
|
95
|
-
|
|
96
|
-
provider:status)
|
|
97
|
-
shift
|
|
98
|
-
run bundle/provider.js src/ai/provider-cli.ts status "$@"
|
|
99
|
-
;;
|
|
100
|
-
|
|
101
|
-
provider:test)
|
|
102
|
-
shift
|
|
103
|
-
run bundle/provider.js src/ai/provider-cli.ts test "$@"
|
|
104
|
-
;;
|
|
105
|
-
|
|
106
74
|
run)
|
|
107
75
|
run bundle/runtime.js src/index.ts
|
|
108
76
|
;;
|
|
@@ -414,6 +382,21 @@ case "$COMMAND" in
|
|
|
414
382
|
run bundle/grok.js src/session/grok/cli.ts "$@"
|
|
415
383
|
;;
|
|
416
384
|
|
|
385
|
+
integrate:toolnet-cli)
|
|
386
|
+
shift
|
|
387
|
+
run bundle/toolnet-cli.js src/session/toolnet-cli/cli.ts "$@"
|
|
388
|
+
;;
|
|
389
|
+
|
|
390
|
+
integrate:kilo)
|
|
391
|
+
shift
|
|
392
|
+
run bundle/kilo.js src/session/kilo/cli.ts "$@"
|
|
393
|
+
;;
|
|
394
|
+
|
|
395
|
+
integrate:all)
|
|
396
|
+
shift
|
|
397
|
+
run bundle/auto-integrate.js src/production/auto-integrate.ts "$@"
|
|
398
|
+
;;
|
|
399
|
+
|
|
417
400
|
integrate:status)
|
|
418
401
|
shift
|
|
419
402
|
run bundle/integration-status.js src/session/new-agents/scoped-status-cli.ts "$@"
|
|
@@ -705,16 +688,6 @@ case "$COMMAND" in
|
|
|
705
688
|
run bundle/graph-cli.js src/production/graph-cli.ts "$@"
|
|
706
689
|
;;
|
|
707
690
|
|
|
708
|
-
model)
|
|
709
|
-
shift
|
|
710
|
-
run bundle/model-cli.js src/production/model-cli.ts "$@"
|
|
711
|
-
;;
|
|
712
|
-
|
|
713
|
-
provider)
|
|
714
|
-
shift
|
|
715
|
-
run bundle/provider.js src/ai/provider-cli.ts status "$@"
|
|
716
|
-
;;
|
|
717
|
-
|
|
718
691
|
status)
|
|
719
692
|
shift
|
|
720
693
|
run bundle/status-cli.js src/production/status-cli.ts "$@"
|