toolnet-memory 0.2.9 → 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/.env.example CHANGED
@@ -1,16 +1,39 @@
1
- # Storage provider
2
- MEMORY_STORAGE_PROVIDER=huggingface
1
+ # Storage provider: r2 | s3 | local | huggingface (legacy)
2
+ MEMORY_STORAGE_PROVIDER=r2
3
3
 
4
- # Hugging Face Storage Bucket
4
+ # ----------------------------------------------------------
5
+ # Cloudflare R2
6
+ # ----------------------------------------------------------
7
+ R2_ACCOUNT_ID=
8
+ R2_BUCKET=toolnet-memory
9
+ R2_ACCESS_KEY_ID=
10
+ R2_SECRET_ACCESS_KEY=
11
+
12
+ # ----------------------------------------------------------
13
+ # Generic S3 / S3-compatible storage
14
+ # Leave S3_ENDPOINT empty for AWS S3.
15
+ # Examples: MinIO, Backblaze B2 S3, Wasabi, Hugging Face S3.
16
+ # ----------------------------------------------------------
17
+ S3_ENDPOINT=
18
+ S3_REGION=us-east-1
19
+ S3_BUCKET=toolnet-memory
20
+ S3_ACCESS_KEY_ID=
21
+ S3_SECRET_ACCESS_KEY=
22
+ S3_FORCE_PATH_STYLE=false
23
+
24
+ # ----------------------------------------------------------
25
+ # Hugging Face S3 legacy compatibility
26
+ # Existing installations can keep using this provider.
27
+ # ----------------------------------------------------------
5
28
  HF_NAMESPACE=
6
29
  HF_BUCKET=toolnet-memory
7
-
8
- # Generate these from:
9
- # Hugging Face Settings -> Access Tokens
10
- # -> token dropdown -> Generate S3 credentials
11
30
  HF_S3_ACCESS_KEY_ID=
12
31
  HF_S3_SECRET_ACCESS_KEY=
13
32
 
33
+ # Embedding
34
+ HF_TOKEN=
35
+ HF_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
36
+
14
37
  # Local fallback/cache
15
38
  MEMORY_LOCAL_STORAGE_PATH=
16
39
  MEMORY_LOCAL_CACHE_MB=200
@@ -32,6 +55,3 @@ TOOLNET_SESSION_LEARNING=1
32
55
  TOOLNET_WORK_CONTINUITY=1
33
56
  TOOLNET_SEMANTIC_CONTINUITY=1
34
57
  TOOLNET_SMART_HANDOFF=1
35
-
36
- # Recommended embedding model
37
- HF_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 LBT-AI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.