Commit a49169e
committed
fix(openclaw-plugin): read allowPromptInjection from plugin config (fixes #1383 bug 3)
Previously, allowPromptInjection was only read from the framework's
hooks config (plugins.entries.<id>.hooks.allowPromptInjection). Users
who set it in the plugin's own config block had no effect.
Now reads from both locations — setting allowPromptInjection: false in
either the plugin config or the hooks config will disable auto-recall.
Also adds the property to the MemosLocalConfig type and configSchema.1 parent 06d73e7 commit a49169e
File tree
3 files changed
+11
-1
lines changed- apps/memos-local-openclaw
- src
3 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
326 | 328 | | |
327 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
328 | 332 | | |
329 | 333 | | |
330 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
| |||
0 commit comments