@yhc3577/memory-new 0.1.4 → 0.1.6

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.
@@ -0,0 +1,117 @@
1
+ {
2
+ "id": "memory_new",
3
+ "doctorContract": {
4
+ "configRepair": true,
5
+ "stateMigrations": true
6
+ },
7
+ "activation": {
8
+ "onStartup": true
9
+ },
10
+ "name": "Memory New",
11
+ "description": "Multi-layered memory system with decay, team memory, and hybrid retrieval",
12
+ "configSchema": {
13
+ "type": "object",
14
+ "additionalProperties": false,
15
+ "properties": {
16
+ "enabled": { "type": "boolean" },
17
+
18
+ "layersEnabled": {
19
+ "type": "object",
20
+ "additionalProperties": false,
21
+ "properties": {
22
+ "L0": { "type": "boolean" },
23
+ "L1": { "type": "boolean" },
24
+ "L2": { "type": "boolean" },
25
+ "L3": { "type": "boolean" }
26
+ }
27
+ },
28
+
29
+ "decay": {
30
+ "type": "object",
31
+ "additionalProperties": false,
32
+ "properties": {
33
+ "ttl": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "properties": {
37
+ "enabled": { "type": "boolean" },
38
+ "retentionDays": { "type": "number" },
39
+ "safetyThreshold": { "type": "number" },
40
+ "minRetainL0": { "type": "number" },
41
+ "minRetainL1": { "type": "number" }
42
+ }
43
+ },
44
+ "importance": {
45
+ "type": "object",
46
+ "additionalProperties": false,
47
+ "properties": {
48
+ "enabled": { "type": "boolean" },
49
+ "baseHalflifeDays": { "type": "number" }
50
+ }
51
+ },
52
+ "accessFrequency": {
53
+ "type": "object",
54
+ "additionalProperties": false,
55
+ "properties": {
56
+ "enabled": { "type": "boolean" }
57
+ }
58
+ },
59
+ "stateMachine": {
60
+ "type": "object",
61
+ "additionalProperties": false,
62
+ "properties": {
63
+ "enabled": { "type": "boolean" }
64
+ }
65
+ }
66
+ }
67
+ },
68
+
69
+ "teamMemory": {
70
+ "type": "object",
71
+ "additionalProperties": false,
72
+ "properties": {
73
+ "enabled": { "type": "boolean" },
74
+ "maxImportedAgents": { "type": "number" },
75
+ "visibilityGate": { "type": "boolean" }
76
+ }
77
+ },
78
+
79
+ "retrieval": {
80
+ "type": "object",
81
+ "additionalProperties": false,
82
+ "properties": {
83
+ "hybridSearch": { "type": "boolean" },
84
+ "semanticWeight": { "type": "number" },
85
+ "bm25Weight": { "type": "number" },
86
+ "entityBoostWeight": { "type": "number" },
87
+ "topK": { "type": "number" },
88
+ "overFetch": { "type": "number" }
89
+ }
90
+ },
91
+
92
+ "storage": {
93
+ "type": "object",
94
+ "additionalProperties": false,
95
+ "properties": {
96
+ "backend": { "type": "string", "enum": ["sqlite", "memory"] },
97
+ "dataDir": { "type": "string" }
98
+ }
99
+ }
100
+ }
101
+ },
102
+
103
+ "uiHints": {
104
+ "enabled": {
105
+ "label": "Enable Memory New",
106
+ "help": "Globally enable or disable the memory plugin"
107
+ },
108
+ "layersEnabled": {
109
+ "label": "Memory Layers",
110
+ "help": "Configure which memory distillation layers to use"
111
+ },
112
+ "teamMemory": {
113
+ "label": "Team Memory",
114
+ "help": "Enable team memory sharing with visibility ACL and borrow/import limits"
115
+ }
116
+ }
117
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yhc3577/memory-new",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Memory New - A new memory extension for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -12,7 +12,8 @@
12
12
  }
13
13
  },
14
14
  "files": [
15
- "dist"
15
+ "dist",
16
+ "openclaw.plugin.json"
16
17
  ],
17
18
  "openclaw": {
18
19
  "extensions": [