{ "schemaVersion": "agc-vendored-upstream.v1", "repository": "https://github.com/openai/codex", "tag": "rust-v0.155.1", "commit": "be2951ea34f0d295ed0becf97079f92fa5f6950e", "license": "Apache-2.0", "adaptations": [ "Rust 源文件和上游测试逐字节保留,不执行全文件格式化。", "Cargo.toml 将原 workspace 继承的版本和依赖展开为本地 path 依赖;不引入 SDK 执行服务。", "新建 src/lib.rs 作为纯解析入口,复用原 ApplyPatchArgs,公开官方 parser 与路径类型;不包含 shell invocation 解析和补丁执行器。" ], "files": [ { "path": "src/parser.rs", "upstreamPath": "codex-rs/apply-patch/src/parser.rs", "sha256": "6b8086467d0500f4fc9aa9a35cd33a0bce53c01bcb74b915b9efc6fcf187f7ce" }, { "path": "src/streaming_parser.rs", "upstreamPath": "codex-rs/apply-patch/src/streaming_parser.rs", "sha256": "5f4b8e60fd24ada7c1b6a696155de3da2b946f7b5436da90e377c9de04b1e578" }, { "path": "LICENSE", "upstreamPath": "LICENSE", "sha256": "d17f227e4df5da1600391338865ce0f3055211760a36688f816941d58232d8dc" }, { "path": "NOTICE", "upstreamPath": "NOTICE", "sha256": "9d71575ecfd9a843fc1677b0efb08053c6ba9fd686a0de1a6f5382fd3c220915" } ], "extractions": [ { "path": "src/lib.rs", "upstreamPath": "codex-rs/apply-patch/src/lib.rs", "upstreamFileSha256": "5e6f736f3a4b66c1d651baa9b85ce6e6921de170faf901e6c2f78ad9a383eaf9", "upstreamStartLine": 94, "upstreamEndLine": 102, "startMarker": "/// Both the raw PATCH argument", "endMarker": "}\n", "sha256": "4dde8be4c9ff3e209c7ec2d6e85b15f3f7b1083183996c00a210195cc9504da5" } ] }