Synced from monorepo Changes: - Temporarily disable session share link creation in the TUI - Do not approve plan on empty Enter from the revise prompt - Expose chat product Skills via ACP available_commands_update - Return immediately from a blocking wait on an already-completed ACP task - Split headless pager module for clearer structure - Stop git worktree prune from removing user registrations on resume - Use compaction sampler tokenizer for item token counts - Opt-in extra root CAs via GROK_EXTRA_CA_BUNDLE - Cancel all session subagents when the user stops - Let the session persistence actor exit when its session ends - Make fullscreen terminal resize much cheaper on long sessions - Report honestly from kill_task when an ACP task does not exist - Hide /usage for external-auth deployments - Forward the history-load trailer’s computer_reason to the client - Remove ineffective no-op tool reminder - Declare slash-command screen-mode support in one place - Keep settings enum picker on the committed value until Enter - Reap a PTY’s full process tree - Stream tool calls from headless mode over ACP - Bridge gateway task lifecycle to ACP for chat session background tasks - Don’t warn about truncated history on a suppressed replay - Fit full-replace summarizer input and recover on context-length errors - Stop dropping agents over an unrecognized frontmatter color - Add /undo as a slash alias for /rewind - Harden sleep/wake token-refresh paths against forced re-login - Add session/list ACP method - Give each sampling backend its own conversion module - Treat an unenrolled child process as a lint error - Suppress the cancelled marker on send-now wake turns - Stop tearing down Roslyn on every edit, and read C# diagnostics Source-Revision: 2a28b4a86cfc4a4c133c35b7fc2a6a9964387c39
125 lines
4.3 KiB
TOML
125 lines
4.3 KiB
TOML
[package]
|
|
license = "Apache-2.0"
|
|
edition.workspace = true
|
|
name = "xai-grok-tools"
|
|
version = "0.1.220-alpha.4"
|
|
description = "Grok tools library"
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
arc-swap = { workspace = true }
|
|
dirs = { workspace = true }
|
|
derive_more = { workspace = true, features = ["from", "try_into"] }
|
|
dunce = { workspace = true }
|
|
fs2 = { workspace = true }
|
|
educe = { workspace = true, features = ["Debug"] }
|
|
async-openai = { workspace = true }
|
|
xai-tty-utils = { workspace = true }
|
|
xai-grok-config = { path = "../xai-grok-config" }
|
|
xai-grok-extra-ca = { workspace = true }
|
|
xai-grok-tools-api = { path = "../xai-grok-tools-api" }
|
|
xai-grok-workspace-types = { path = "../xai-grok-workspace-types" }
|
|
xai-grok-version = { workspace = true }
|
|
xai-interjection-core = { workspace = true }
|
|
xai-token-estimation = { workspace = true }
|
|
async-lsp = { workspace = true }
|
|
async-stream = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
base64 = { workspace = true }
|
|
crc32fast = { workspace = true }
|
|
ignore = { workspace = true }
|
|
infer = { workspace = true }
|
|
globset = { workspace = true }
|
|
image = { workspace = true, features = ["png", "jpeg", "gif", "webp", "bmp", "tiff", "ico"] }
|
|
pdf_oxide = { workspace = true }
|
|
# PPTX text extraction (implementations/read_file/pptx.rs). Deliberately NOT
|
|
# `workspace = true`: the workspace `zip` pin has default features on, which
|
|
# drag aes/bzip2/lzma/zstd into the shipped pager binary. PPTX entries are
|
|
# only ever stored or deflated.
|
|
zip = { version = "3", default-features = false, features = ["deflate-flate2"] }
|
|
quick-xml = { workspace = true }
|
|
indexmap = { workspace = true, features = ["serde"] }
|
|
minijinja = { version = "2", features = ["custom_syntax"] }
|
|
parking_lot = { workspace = true }
|
|
htmd = { workspace = true }
|
|
scraper = { workspace = true }
|
|
reqwest = { workspace = true, features = ["rustls-tls", "json", "gzip", "brotli", "deflate"] }
|
|
pulldown-cmark = { workspace = true }
|
|
regex = { workspace = true }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_path_to_error = { workspace = true }
|
|
xai-tool-runtime = { workspace = true }
|
|
xai-tool-types = { workspace = true }
|
|
xai-tool-protocol = { workspace = true }
|
|
xai-computer-hub-core = { workspace = true }
|
|
xai-computer-hub-sdk = { workspace = true }
|
|
|
|
futures = { workspace = true }
|
|
similar = { workspace = true }
|
|
strum = { version = "0.26", features = ["derive"] }
|
|
strip-ansi-escapes = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = [
|
|
"io-std",
|
|
"process",
|
|
"rt",
|
|
"macros",
|
|
"rt-multi-thread",
|
|
"net",
|
|
"sync",
|
|
] }
|
|
tokio-util = { workspace = true, features = ["compat"] }
|
|
tonic = { workspace = true }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true }
|
|
uuid = { workspace = true, features = ["v7"] }
|
|
wildmatch = { workspace = true }
|
|
xai-grok-env = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
shellexpand = "3.1"
|
|
tempfile = { workspace = true }
|
|
which = { workspace = true }
|
|
|
|
chrono = { workspace = true }
|
|
futures-util = { workspace = true }
|
|
xai-grok-sandbox = { path = "../xai-grok-sandbox", default-features = false }
|
|
xai-file-utils = { path = "../xai-file-utils" }
|
|
dhat = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
command-fds = { version = "0.3", features = ["tokio"] }
|
|
nix = { workspace = true, features = ["signal", "process", "fs"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libc = { workspace = true }
|
|
|
|
# windows: util::spawn uses Win32 Job Objects (CreateJobObjectW,
|
|
# AssignProcessToJobObject, TerminateJobObject) and process creation flags
|
|
# (CREATE_NO_WINDOW, DETACHED_PROCESS, CREATE_NEW_PROCESS_GROUP).
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows = { workspace = true, features = ["Win32_Storage_FileSystem"] }
|
|
|
|
[dev-dependencies]
|
|
dirs = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
tokio = { workspace = true, features = ["test-util"] }
|
|
tracing-subscriber = { workspace = true, features = ["fmt"] }
|
|
wiremock = { workspace = true }
|
|
xai-grok-test-support = { workspace = true }
|
|
xai-test-utils = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
reqwest = { workspace = true, features = ["blocking", "rustls-tls"] }
|
|
flate2 = { workspace = true }
|
|
tar = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default-bazel = ["serde"]
|
|
default = ["serde"]
|
|
serde = []
|
|
dhat-heap = ["dep:dhat"]
|