Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: browser automation #440

Open
wants to merge 19 commits into
base: v1.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion crates/goose-server/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use goose::{
agent::Agent,
developer::DeveloperSystem,
providers::{configs::ProviderConfig, factory},
systems::goose_hints::GooseHintsSystem,
systems::{self, goose_hints::GooseHintsSystem},
};
use std::sync::Arc;
use tokio::sync::Mutex;
Expand All @@ -22,6 +22,8 @@ impl AppState {
agent.add_system(Box::new(DeveloperSystem::new()));
let goosehints_system = Box::new(GooseHintsSystem::new());
agent.add_system(goosehints_system);
let browser = systems::web_browser::WebBrowserSystem::new();
agent.add_system(Box::new(browser));

Ok(Self {
provider_config,
Expand Down
4 changes: 3 additions & 1 deletion crates/goose/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ xcap = "0.0.14"
libc = "=0.2.167"
lazy_static = "1.5"
kill_tree = "0.2.4"
headless_chrome = "1.0.15"
image = "0.24"

keyring = { version = "3.6.1", features = ["apple-native", "windows-native", "sync-secret-service"] }
shellexpand = "3.1.0"
Expand All @@ -61,4 +63,4 @@ path = "examples/databricks_oauth.rs"

[[bench]]
name = "tokenization_benchmark"
harness = false
harness = false
1 change: 1 addition & 0 deletions crates/goose/src/systems/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ mod resource;
pub use resource::Resource;

pub mod goose_hints;
pub mod web_browser;
Loading
Loading