Commit d961d8a
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 96a1dd6 commit d961d8a
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 | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
| 396 | + | |
395 | 397 | | |
396 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
397 | 401 | | |
398 | 402 | | |
399 | 403 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
| |||
0 commit comments