mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## What changed Have core pass connector IDs, names, descriptions, and install URLs through `DiscoverableConnectorInfo` for tool discovery and install prompts. Move installation verification into the core handler, where it checks accessibility using `AppInfo`. Enable `serde_json`'s `arbitrary_precision` feature directly in `codex-tools` to preserve large numbers in tool arguments and results. ## Testing Cover install verification for accessible, inaccessible, and missing connectors, including an accessible connector that is disabled. GitOrigin-RevId: fd84e8e9b739d86658396e17e4dcd7b48a4b2fdd
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
name = "codex-tools"
|
|
version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
bitflags = { workspace = true }
|
|
codex-attachment-store = { workspace = true }
|
|
codex-code-mode = { workspace = true }
|
|
codex-features = { workspace = true }
|
|
codex-file-system = { workspace = true }
|
|
codex-extension-items = { workspace = true }
|
|
codex-protocol = { workspace = true }
|
|
codex-utils-output-truncation = { workspace = true }
|
|
codex-utils-path-uri = { workspace = true }
|
|
codex-utils-string = { workspace = true }
|
|
jsonptr = { workspace = true }
|
|
rmcp = { workspace = true, default-features = false, features = [
|
|
"base64",
|
|
"macros",
|
|
"schemars",
|
|
"server",
|
|
] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
# Keep large JSON numbers intact in tool arguments and results.
|
|
serde_json = { workspace = true, features = ["arbitrary_precision", "raw_value"] }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
urlencoding = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
codex-utils-cargo-bin = { workspace = true }
|
|
divan = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[[bench]]
|
|
name = "tool_catalog"
|
|
harness = false
|