Changes: - grok-shell: request workspaces:read/write OAuth2 scopes - security: fix SSRF bypass via HTTP redirect in hook runner - fix(grok-build): enterprise STT WSS URL + API-key voice bearer - Harden identity-change purge and sync-marker invariants - sandbox + workspace-server: delete the legacy ready-file arm - Show billing URL when browser cannot open - fix(pager): show folder-trust UI in minimal mode - fix(pager): drain task_backgrounded before no-wait headless exit - grok-agent-sdk: stop SDK-spawned agents from staging self-updates they can never adopt - Split settings_modal into directory module - Delegate VS Code SSH file links - grok-shell: release the workspace session binding when a session is removed - keep skills reachable when their name collides with a client builtin - Preserve semantic link targets
48 lines
1.7 KiB
TOML
48 lines
1.7 KiB
TOML
[package]
|
|
license = "Apache-2.0"
|
|
name = "xai-grok-shell-base"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
description = "Foundation modules for the grok shell crate family: environment presets, CPU profiling, and process/filesystem utilities."
|
|
|
|
[features]
|
|
# Exposes `#[cfg(test)]`-only helpers (`env::EnvVarGuard`,
|
|
# `cpu_profile` test seams) to downstream crates' test targets. Enabled by
|
|
test-support = ["xai-grok-env/test-support"]
|
|
default-bazel = ["test-support"]
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
chrono = { workspace = true }
|
|
reqwest = { workspace = true, features = ["blocking"] }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true }
|
|
xai-grok-config = { workspace = true }
|
|
xai-grok-env = { workspace = true }
|
|
xai-grok-shared = { workspace = true }
|
|
xai-grok-version = { workspace = true }
|
|
xai-tty-utils = { workspace = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = { workspace = true }
|
|
nix = { workspace = true }
|
|
# No `flamegraph` feature: that pulls in inferno (CDDL-1.0), which we keep out
|
|
# of shipped binaries. stop() emits folded stacks via pprof's public Report
|
|
# API instead; render externally with speedscope or inferno-flamegraph.
|
|
pprof = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|
|
# `cfg(test)` in this crate does not enable features on dependencies, so the
|
|
# tests' `EnvVarGuard` re-export needs the feature turned on explicitly.
|
|
xai-grok-env = { workspace = true, features = ["test-support"] }
|
|
|
|
[lints]
|
|
workspace = true
|