mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
feat: add bsk CLI auto update
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,6 +24,7 @@ pub mod session;
|
||||
pub mod snapshot;
|
||||
pub mod status;
|
||||
pub mod tab;
|
||||
pub mod update;
|
||||
pub mod waits;
|
||||
|
||||
use clap::{Args, Parser, Subcommand};
|
||||
@@ -40,6 +41,7 @@ use crate::cli::screenshot::ScreenshotArgs;
|
||||
use crate::cli::session::SessionCmd;
|
||||
use crate::cli::snapshot::SnapshotArgs;
|
||||
use crate::cli::tab::TabCmd;
|
||||
use crate::cli::update::UpdateArgs;
|
||||
use crate::cli::waits::{WaitForNavigationArgs, WaitMsArgs};
|
||||
|
||||
/// Tool calls wait slightly longer than the daemon's 30s tool timeout so
|
||||
@@ -94,6 +96,9 @@ pub enum Command {
|
||||
#[command(name = "install-skill")]
|
||||
InstallSkill(InstallSkillArgs),
|
||||
|
||||
/// Check for and install bsk CLI updates.
|
||||
Update(UpdateArgs),
|
||||
|
||||
/// Print (and optionally follow) the daemon log file.
|
||||
Logs(LogsCmd),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user