penguin browser.
API
@Component({
contributes: {
"ShippedCommandsModule.commands": [
{
id: "browser.cli",
key: "browser",
summary: {
en: "Drive the agent browser: status, tabs, page actions, screenshots, CDP",
zh: "驱动 Agent 浏览器:状态、标签页、页面操作、截图、CDP",
} satisfies CliCommandSummary,
},
],
},
})
export class BrowserCommand {
@Bind("browser.cli") command!: CliCommandCode<BrowserMessages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → browser.cli: CliCommandCode<BrowserMessages>Contributes
{
"ShippedCommandsModule.commands": [
{
"id": "browser.cli",
"key": "browser",
"summary": {
"en": "Drive the agent browser: status, tabs, page actions, screenshots, CDP",
"zh": "驱动 Agent 浏览器:状态、标签页、页面操作、截图、CDP"
}
}
]
}Target slots: ShippedCommandsModule.commands
Methods (1)
setup
setup()