codex: Add version 0.46.0 (#7190)

This commit is contained in:
zcg 2025-10-10 16:25:35 +08:00 committed by GitHub
parent ce137b8036
commit 96d4db2ff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

47
bucket/codex.json Normal file
View File

@ -0,0 +1,47 @@
{
"version": "0.46.0",
"description": "OpenAI's Codex AI coding assistant",
"homepage": "https://github.com/openai/codex",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/openai/codex/releases/download/rust-v0.46.0/codex-x86_64-pc-windows-msvc.exe.zip",
"hash": "5367c3d54df8c82d576cbc9c7eb585fbbd5dd5536048af6bc68d6bc623a77cd6"
},
"arm64": {
"url": "https://github.com/openai/codex/releases/download/rust-v0.46.0/codex-aarch64-pc-windows-msvc.exe.zip",
"hash": "d46cbcc8b9e40c193139d12deaaedc7002cf7567e79f2defae9c652e6016f140"
}
},
"pre_install": "Rename-Item \"$dir\\codex-*.exe\" \"$dir\\codex.exe\"",
"bin": [
[
"codex.exe",
"codex"
]
],
"checkver": {
"url": "https://api.github.com/repos/openai/codex/releases",
"regex": "rust-v(\\d+\\.\\d+\\.\\d+)(?![^\\d]*alpha|[^\\d]*beta|[^\\d]*rc|[^\\d]*preview)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/openai/codex/releases/download/rust-v$version/codex-x86_64-pc-windows-msvc.exe.zip",
"hash": {
"url": "https://api.github.com/repos/openai/codex/releases",
"jsonpath": "$[?(@.tag_name=='rust-v$version')].assets[?(@.name=='codex-x86_64-pc-windows-msvc.exe.zip')].digest",
"regex": "(?<=sha256:)([a-fA-F0-9]{64})"
}
},
"arm64": {
"url": "https://github.com/openai/codex/releases/download/rust-v$version/codex-aarch64-pc-windows-msvc.exe.zip",
"hash": {
"url": "https://api.github.com/repos/openai/codex/releases",
"jsonpath": "$[?(@.tag_name=='rust-v$version')].assets[?(@.name=='codex-aarch64-pc-windows-msvc.exe.zip')].digest",
"regex": "(?<=sha256:)([a-fA-F0-9]{64})"
}
}
}
}
}