mirror of
https://github.com/openai/codex.git
synced 2026-09-11 20:36:49 +00:00
## Why `skills.read` paginated resources against a fixed response limit, so a page could exceed a smaller tool-call response budget. ## What changed - Size each serialized `skills.read` page to the current call's response budget, accounting for JSON escaping and UTF-8 boundaries. - Cache one bounded executor-resource snapshot per thread so cursor continuations return consistent contents without rereading the file. Replace the snapshot when another resource is read, and reject stale cursors after a reread. - Tie cached executor snapshots to the selected environment and sandbox context without keeping the environment alive. ## Testing - Cover budget-constrained reads, escaped and multibyte contents, multi-page reconstruction, changed resources, snapshot eviction, and expired turn-scoped access. GitOrigin-RevId: e515935b82771b3f29b3fb91ea7a7a72e19a65ee
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[package]
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
name = "codex-skills-extension"
|
|
version.workspace = true
|
|
|
|
[lib]
|
|
name = "codex_skills_extension"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codex-analytics = { workspace = true }
|
|
codex-config = { workspace = true }
|
|
codex-exec-server = { workspace = true }
|
|
codex-extension-api = { workspace = true }
|
|
codex-mcp = { workspace = true }
|
|
codex-otel = { workspace = true }
|
|
codex-protocol = { workspace = true }
|
|
codex-skills = { workspace = true }
|
|
codex-tools = { workspace = true }
|
|
codex-utils-absolute-path = { workspace = true }
|
|
codex-utils-path-uri = { workspace = true }
|
|
codex-utils-plugins = { workspace = true }
|
|
codex-utils-string = { workspace = true }
|
|
dirs = { workspace = true }
|
|
futures = { workspace = true }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "time"] }
|
|
toml = { workspace = true }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = { workspace = true }
|
|
codex-models-manager = { workspace = true }
|
|
codex-utils-cargo-bin = { workspace = true }
|
|
dunce = { workspace = true }
|
|
insta = { workspace = true }
|
|
opentelemetry_sdk = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|