Skip to content
Merged
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
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ default = ["process"]
process = [
"dep:agent-client-protocol",
"dep:base64",
"dep:sha2",
"dep:smol",
"dep:ureq",
"dep:uuid",
Expand All @@ -22,6 +23,7 @@ log = "0.4"
base64 = { version = "0.23", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = { version = "0.11", optional = true }
smol = { version = "2", optional = true }
ureq = { version = "2", default-features = false, features = ["tls", "gzip"], optional = true }
uuid = { version = "1", features = ["v4"], optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/agent/examples/probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//! lists the native plugin catalog after running the optional operation:
//! `install|update <id> <scope> [--accept <sha256>]`, `uninstall|enable|disable <id> <scope>`,
//! `add-marketplace <source>` or `remove-marketplace <name>`. `--home` isolates
//! the provider's native state (`CODEX_HOME` for Codex; for Claude Code `HOME`
//! and `CLAUDE_CONFIG_DIR`).
//! the provider's native state (`CODEX_HOME` for Codex, `GROK_HOME` for Grok;
//! for Claude Code `HOME` and `CLAUDE_CONFIG_DIR`).
//! Turn mode: `probe <provider> <prompt> [cwd] [approval] [acp-command args…] [flags]`.
//! Flags are `--binary <path>`, `--model <id>`, `--mode plan`, `--effort <value>`,
//! `--resume <cursor-json>`, `--fork`, `--leave-questions` (user-input requests
Expand Down
2 changes: 2 additions & 0 deletions crates/agent/src/grok.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const FORK: &str = "_x.ai/session/fork";
const DEFAULT_MODE: &str = "default";
const PLAN_MODE: &str = "plan";

pub(crate) mod plugins;

/// Start (or resume, or fork) a Grok session.
pub async fn start(opts: SessionOptions) -> Result<SessionHandle, AgentError> {
let grok = Grok {
Expand Down
Loading