File tree Expand file tree Collapse file tree
packages/openclaw-browserbase/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @browserbasehq/openclaw-browserbase ' : patch
3+ ---
4+
5+ Register the Browserbase OpenClaw CLI command with explicit command metadata so ` openclaw browserbase ... ` commands are discoverable.
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ function registerCli(
197197 api : OpenClawPluginApi ,
198198 logger : OpenClawPluginApi [ 'logger' ]
199199) : void {
200- api . registerCli ( ( { program } : { program : any } ) => {
200+ const registerBrowserbaseCommands = ( { program } : { program : any } ) => {
201201 const browserbase = program
202202 . command ( 'browserbase' )
203203 . description ( 'Browserbase plugin setup and credential helpers' ) ;
@@ -453,7 +453,9 @@ function registerCli(
453453 . action ( ( options : any ) => {
454454 console . log ( resolveConfigPath ( options . config ) ) ;
455455 } ) ;
456- } ) ;
456+ } ;
457+
458+ api . registerCli ( registerBrowserbaseCommands , { commands : [ 'browserbase' ] } ) ;
457459}
458460
459461let didStartupPrompt = false ;
You can’t perform that action at this time.
0 commit comments