openclaw-topic-shift-reset 0.1.0 → 0.1.1
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/README.md +25 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,6 @@ Most users should only set these fields:
|
|
|
13
13
|
"openclaw-topic-shift-reset": {
|
|
14
14
|
"enabled": true,
|
|
15
15
|
"config": {
|
|
16
|
-
"enabled": true,
|
|
17
16
|
"preset": "balanced",
|
|
18
17
|
"embeddings": "auto",
|
|
19
18
|
"handoff": "summary",
|
|
@@ -61,15 +60,37 @@ Default preset internals:
|
|
|
61
60
|
- `ollama`
|
|
62
61
|
- `none` (lexical only)
|
|
63
62
|
|
|
64
|
-
## Install
|
|
63
|
+
## Install
|
|
65
64
|
|
|
66
65
|
```bash
|
|
67
|
-
openclaw plugins install
|
|
66
|
+
openclaw plugins install openclaw-topic-shift-reset
|
|
68
67
|
openclaw plugins enable openclaw-topic-shift-reset
|
|
69
68
|
openclaw plugins info openclaw-topic-shift-reset
|
|
70
69
|
```
|
|
71
70
|
|
|
72
|
-
|
|
71
|
+
Add this plugin entry in `~/.openclaw/openclaw.json` (or merge into your existing config):
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
{
|
|
75
|
+
"plugins": {
|
|
76
|
+
"allow": ["openclaw-topic-shift-reset"],
|
|
77
|
+
"entries": {
|
|
78
|
+
"openclaw-topic-shift-reset": {
|
|
79
|
+
"enabled": true,
|
|
80
|
+
"config": {
|
|
81
|
+
"preset": "balanced",
|
|
82
|
+
"embeddings": "auto",
|
|
83
|
+
"handoff": "summary",
|
|
84
|
+
"dryRun": false,
|
|
85
|
+
"debug": false
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Restart gateway after install/config changes. After restart, `openclaw plugins info openclaw-topic-shift-reset` should show `Status: loaded`.
|
|
73
94
|
|
|
74
95
|
## Logs
|
|
75
96
|
|
|
@@ -104,14 +125,6 @@ This skips classification for very short/low-information messages (for example `
|
|
|
104
125
|
|
|
105
126
|
No build step is required. OpenClaw loads `src/index.ts` via jiti.
|
|
106
127
|
|
|
107
|
-
## Publish
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
cd ~/Projects/openclaw-topic-shift-reset
|
|
111
|
-
npm publish
|
|
112
|
-
npm view openclaw-topic-shift-reset version --userconfig "$(mktemp)"
|
|
113
|
-
```
|
|
114
|
-
|
|
115
128
|
## Known tradeoff (plugin-only)
|
|
116
129
|
|
|
117
130
|
This plugin improves timing with fast path + fallback, but cannot guarantee 100% that the triggering message becomes the first persisted message of the new session without core pre-session hooks.
|