Studio enables running multiple g3 agents concurrently without conflicts by using git worktrees for isolation. Features: - studio run --agent <name> [args...]: Create worktree, spawn g3, tail output - studio list: Show all active sessions - studio status <id>: Show session details and summary - studio accept <id>: Merge session branch to main and cleanup - studio discard <id>: Delete session without merging Each session gets: - Isolated worktree at .worktrees/sessions/<agent>/<session-id> - Dedicated branch: sessions/<agent>/<session-id> - Short UUID (8 chars) for easy reference - Automatic --workspace and --agent flags passed to g3
54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[workspace]
|
|
members = [
|
|
"crates/g3-cli",
|
|
"crates/g3-core",
|
|
"crates/g3-planner",
|
|
"crates/g3-providers",
|
|
"crates/g3-config",
|
|
"crates/g3-execution",
|
|
"crates/g3-computer-control",
|
|
"crates/g3-ensembles",
|
|
"crates/studio"
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.dependencies]
|
|
# Async runtime
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
# HTTP client
|
|
reqwest = { version = "0.11", features = ["json", "stream"] }
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
# CLI
|
|
clap = { version = "4.0", features = ["derive"] }
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
# Configuration
|
|
config = "0.14"
|
|
# Utilities
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
|
|
[package]
|
|
name = "g3"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["G3 Team"]
|
|
description = "A general purpose AI agent that helps you complete tasks by writing code"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
g3-cli = { path = "crates/g3-cli" }
|
|
tokio = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
g3-providers = { path = "crates/g3-providers" }
|
|
serde_json = { workspace = true }
|
|
|
|
[[example]]
|
|
name = "verify_message_id"
|
|
path = "examples/verify_message_id.rs"
|