Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:

env:
CARGO_TERM_COLOR: always
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
CI_PACKAGE_VERSION: 2026.04.28.000000+ci${{ github.run_number }}

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-codex-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
NIX_CONFIG: experimental-features = nix-command flakes
CACHIX_CACHE_NAME: codex-desktop-linux
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- uses: actions/checkout@v4

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/upstream-build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ permissions:
contents: read

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
UPSTREAM_DMG_URL: https://persistent.oaistatic.com/codex-app-prod/Codex.dmg
UPSTREAM_DMG_PATH: /tmp/codex-upstream-ci/Codex.dmg
DMG_CACHE_SCHEMA_VERSION: v1
Expand Down
19 changes: 18 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions computer-use-linux/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "codex-computer-use-linux"
version = "0.2.3-linux-alpha1"
version = "0.2.5-linux-alpha1"
edition = "2021"

[[bin]]
Expand All @@ -18,7 +18,7 @@ base64 = "0.22.1"
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols", rev = "160b086", default-features = false, features = ["client"] }
evdev = "0.13.2"
futures-util = "0.3.32"
image = { version = "0.25", default-features = false, features = ["png"] }
image = { version = "0.25", default-features = false, features = ["jpeg", "png"] }
libc = "0.2"
rmcp = { version = "1.5.0", features = ["transport-io"] }
schemars = "1.0"
Expand Down
13 changes: 12 additions & 1 deletion computer-use-linux/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async fn main() -> Result<()> {
.nth(3)
.and_then(|s| s.parse().ok())
.unwrap_or(0);
let cap = screenshot::capture_screenshot().await?;
let cap = screenshot::capture_screenshot_raw().await?;
eprintln!("desktop logical size: {}x{}", cap.width, cap.height);
let mut p = abs_pointer::AbsPointer::create(cap.width as i32, cap.height as i32)?;
p.click(x, y, abs_pointer::PointerButton::Left, 1)?;
Expand All @@ -87,6 +87,17 @@ async fn main() -> Result<()> {
serde_json::to_string_pretty(&serde_json::json!({
"mime_type": capture.mime_type,
"source": capture.source,
"width": capture.width,
"height": capture.height,
"coordinate_width": capture.coordinate_width,
"coordinate_height": capture.coordinate_height,
"scale": capture.scale,
"resized": capture.resized,
"bytes": capture.bytes,
"original_bytes": capture.original_bytes,
"max_bytes": capture.max_bytes,
"format": capture.format,
"quality": capture.quality,
"data_url_length": capture.data_url.len()
}))
.context("failed to serialize screenshot report")?
Expand Down
Loading
Loading