@@ -58,11 +58,15 @@ export function registerCli(
5858 if ( ! config . plugins ) config . plugins = { }
5959 const plugins = config . plugins as Record < string , unknown >
6060 if ( ! plugins . entries ) plugins . entries = { }
61+ if ( ! plugins . slots ) plugins . slots = { }
6162 const entries = plugins . entries as Record < string , unknown >
63+ const slots = plugins . slots as Record < string , unknown >
64+ slots . memory = "openclaw-supermemory"
6265
6366 entries [ "openclaw-supermemory" ] = {
6467 enabled : true ,
6568 hooks : {
69+ allowPromptInjection : true ,
6670 allowConversationAccess : true ,
6771 } ,
6872 config : {
@@ -78,7 +82,7 @@ export function registerCli(
7882
7983 console . log ( "\n✓ API key saved to ~/.openclaw/openclaw.json" )
8084 console . log (
81- " Restart OpenClaw to apply changes: openclaw gateway --force \n" ,
85+ " Restart OpenClaw to apply changes: openclaw gateway restart \n" ,
8286 )
8387 } )
8488
@@ -280,7 +284,10 @@ export function registerCli(
280284 if ( ! config . plugins ) config . plugins = { }
281285 const plugins = config . plugins as Record < string , unknown >
282286 if ( ! plugins . entries ) plugins . entries = { }
287+ if ( ! plugins . slots ) plugins . slots = { }
283288 const entries = plugins . entries as Record < string , unknown >
289+ const slots = plugins . slots as Record < string , unknown >
290+ slots . memory = "openclaw-supermemory"
284291
285292 const pluginConfig : Record < string , unknown > = {
286293 apiKey : apiKey . trim ( ) ,
@@ -314,6 +321,7 @@ export function registerCli(
314321 entries [ "openclaw-supermemory" ] = {
315322 enabled : true ,
316323 hooks : {
324+ allowPromptInjection : true ,
317325 allowConversationAccess : true ,
318326 } ,
319327 config : pluginConfig ,
@@ -358,7 +366,7 @@ export function registerCli(
358366 ` Routing instructions: "${ customContainerInstructions . trim ( ) . slice ( 0 , 50 ) } ${ customContainerInstructions . length > 50 ? "..." : "" } "` ,
359367 )
360368 }
361- console . log ( "\nRestart OpenClaw to apply: openclaw gateway --force \n" )
369+ console . log ( "\nRestart OpenClaw to apply: openclaw gateway restart \n" )
362370 } )
363371
364372 cmd
0 commit comments