Repository navigation
feat(openwork): add OpenWork, a desktop app for AI agents (com.differentai.openwork) - #852
Conversation
…entai.openwork) Co-authored-by: Cursor <[email protected]>
Review: OpenWork 0.18.62 (
|
| # | Check | Verdict | Evidence |
|---|---|---|---|
| 0 | Static only, isolated dir | ✅ | tar listed before extract; nothing run |
| 1.1 | Scope | ✅ | New app, 8 files under registry/com.differentai.openwork/ only |
| 1.2 | High-scrutiny surface | ✅ | None touched; resolver is in a brand-new app dir |
| 2.1 | Submitter | ✅ | 3ddruck12, account 2021-05, 34 repos; 6 merged app PRs here (#815, #793, #634, #629, #582, #581) |
| 2.2 | Upstream repo | ✅ | different-ai/openwork, created 2026-01, ~24k stars, active releases |
| 2.3 | Commit identity | ✅ | 3ddruck <[email protected]> + Cursor co-author; well-formed |
| 2.4 | Timeline | ✅ | Release 2026-10-23, PR 2026-10-25 |
| 2.5 | Trust tier | ✅ | Established contributor |
| 2.6 | Artifact tier | ✅ | Tier 1. Root LICENSE is MIT outside /ee; the desktop bundle carries no EE code (no Enterprise Edition / /ee/ strings in app.asar), so project_license: MIT and proprietary: false hold |
| 3.1 | Source types | ✅ | One extra-data with sha256 + size 335646078; rest are local file |
| 3.1b | Bytes landing in /app |
✅ | Only wrapper, desktop, metainfo, icon, apply_extra |
| 3.2 | finish-args | ✅ | ipc, network, wayland, fallback-x11, dri, pulseaudio, Notifications, secrets; no filesystem, no escape perms |
| 3.3 | policy: |
✅ | proprietary: false, dangerous_permissions: [] match |
| 3.4 | build-commands | ✅ | install only; payload untouched |
| 3.4b | packaging: |
➖ | Nothing injected, no host commands, sandbox on; block not needed |
| 3.5 | Source URL | ✅ | github.com/different-ai/openwork/releases/download/v0.18.62/... |
| 3.6 | App id | ✅ | com.differentai.openwork is upstream's own electron-builder appId (apps/desktop/electron-builder.yml) |
| 3.7 | update.command |
✅ | ./resolve-update.sh |
| 3.8 | Download host | ✅ | Upstream GitHub releases |
| 3.9 | Optional caps opt-in | ✅ | Project-dir access documented as flatpak override --filesystem=~/Projects in metainfo |
| 3.10 | What was tested | Honest, but the main feature (agent run on a project dir) was not exercised. See below | |
| 4.1 | Runtime fetch-and-exec | ✅ | electron-updater is bundled (resources/app-update.yml, provider github) but its AppImageUpdater.isUpdaterActive() returns false without $APPIMAGE, and /app/extra is read-only. OpenCode plugin installs are the app's agent feature, into the per-app data dir |
| 4.2 | Resolver as code | ✅ | curl + jq to the GitHub API, read-only; strict asset regex ^openwork-linux-x64-[0-9.]+\.tar\.gz$ excludes cloud/enterprise/AppImage and prerelease suffixes; drafts/prereleases skipped; JSON via jq -n --arg |
| 4.3 | Endpoints | ✅ | Model providers, GitHub (updater check), Sentry (openwork-sentry.json, tracesSampleRate: 0.01); no filesystem grant |
| 5.1 | sha256 == pin | ✅ | 05f3f2a0a1a1aeb2afe950a665f66b40edc34a5996aab4d804db4872ef657966, 335646078 bytes; GitHub asset digest agrees |
| 5.2 | Archive inspection | ✅ | 839 entries, one top dir openwork-linux-x64-0.18.62/; no symlinks, no .., no setuid/setgid |
| 5.3 | Nothing injected | ✅ | |
| 5.4 | Shipped == official | ✅ | Re-fetched and hashed (5.1); build doesn't touch it |
| 5.5 | Bundled runtimes | ✅ | Electron 43.7.7: openwork is byte-identical to electron from electron-v43.7.7-linux-x64.zip (build-id dae4f2a4…), as are chrome-sandbox, chrome_crashpad_handler, libffmpeg.so, libEGL.so, libGLESv2.so, libvk_swiftshader.so, libvulkan.so.1. opencode 1.18.33 sidecar == opencode in anomalyco/opencode v1.18.33 opencode-linux-x64.tar.gz (0abbb7c3…). opencode2 2.0.26 sidecar == package/bin/opencode in npm @opencode/[email protected] (ff4c0648…; tarball sha512 matches upstream's pin in apps/server/src/opencode-v2-artifacts.json) |
| 5.6 | IOC scan | ✅ | No xmrig/stratum+tcp//dev/tcp/nc -e/autostart/LD_PRELOAD. Hits on crontab (Sentry cron instrumentation), .bashrc (yargs completion template, an env-import comment), curl … | sh (dotenv README, a shell-parser doc comment) are benign. Only RPATH is Electron's stock $ORIGIN |
| 6.1 | Purpose | ✅ | AI agent desktop app |
| 6.2 | Non-FOSS not a reason | ➖ | |
| 7.1 | Verdict | — | HOLD pending main-feature test |
| 7.2 | Hard fails | — | None |
Blocking
- Main feature not tested. The testing playbook holds the listing until the main feature has been used. Here that is an agent run against a real directory, and it doesn't need an OpenWork account: a provider API key or a local model server works. Please test this path and report the result:
- Pick a workspace folder through the file chooser portal (no override). The agent then works under
/run/user/$UID/doc/…. Check that it reads files, writes a new file, and the file shows up on the host. - Repeat with
flatpak override --user --filesystem=~/Projectsand a project under it. - Run a task that makes the agent use its shell tool (
ls,git status). The sandbox only has whatorg.freedesktop.Platform//26.08ships, so say which of these work, and add a line to the metainfo if a common one (git,node,python3) is missing. - Confirm a saved provider key lands in the Secret Service (playbook "Saved passwords").
- Pick a workspace folder through the file chooser portal (no override). The agent then works under
Suggestions (non-blocking)
- aarch64. Upstream ships
openwork-linux-arm64-0.18.62.tar.gzin the same release, with the same tree layout. Considerarches: [x86_64, aarch64], a secondextra-datasource withonly-arches: [aarch64]and the samefilename, and the resolver emitting one source per arch with"arch"(basics). Fine to leave for a follow-up if you can't test arm. flatpark.yml: the tagAIrepeatscategory: AI; other AI-category apps don't tag it.- Metainfo: the paragraph ending "To let an agent work in a directory of yours:" followed by "Grant a project directory with …" says the same thing twice; one sentence is enough.
- Metainfo could note that the build sends crash reports to Sentry (upstream's
openwork-sentry.json) and checks GitHub for updates, which do nothing in the Flatpak. - Wrapper:
--ozone-platform-hint=autois very likely already Electron 43's default; harmless.
What this review doesn't cover
The app was not run. App source was not audited beyond the bundled updater and the IOC grep. app.asar was grepped as raw bytes, not unpacked. CI checks had not run on the branch at review time.
Reproduce
curl -fsSLO https://github.com/different-ai/openwork/releases/download/v0.18.62/openwork-linux-x64-0.18.62.tar.gz
sha256sum openwork-linux-x64-0.18.62.tar.gz # 05f3f2a0…7966
tar -tvzf openwork-linux-x64-0.18.62.tar.gz | awk '{print $1}' | sort | uniq -c
curl -fsSLO https://github.com/electron/electron/releases/download/v43.7.7/electron-v43.7.7-linux-x64.zip
unzip -p electron-v43.7.7-linux-x64.zip electron | sha256sum # == openwork-linux-x64-0.18.62/openwork
curl -fsSL https://github.com/anomalyco/opencode/releases/download/v1.18.33/opencode-linux-x64.tar.gz | tar -xzO opencode | sha256sum # 0abbb7c3…
curl -fsSL https://registry.npmjs.org/@opencode/cli-linux-x64-baseline/-/cli-linux-x64-baseline-2.0.26.tgz | tar -xzO package/bin/opencode | sha256sum # ff4c0648…Reviewer recommends only; a maintainer merges.
OpenWork hard-codes its default workspace at ~/OpenWork Chat. Without a grant it sat on the sandbox tmpfs, so every file the agent wrote there was lost on exit while the session history survived. Grant that one folder. The metainfo now says where the default workspace is and that git, node and other host tools aren't available to the agent inside the sandbox.
Test results (maintainer, local build of b9c7e30)Built and installed from a local signed repo (
The default workspace is lost on every exitOn first start OpenWork creates its default workspace at The agent wrote Relaunching with Fix pushed to this branch
|
|
CI note: the |
…the PR touches (#860) com.analog.LTspice (#849) merged from a branch that predated the exec-bit guardrail in #857, so its resolve-update.sh landed 100644 and the catalog-wide audit step failed every PR since (e.g. #852). The audit still runs over every descriptor, but a hard failure on an app the PR does not touch is now a warning; a PR that changes the auditor itself stays strict catalog-wide. Co-authored-by: Claude <[email protected]>
Summary
com.differentai.openwork), the desktop app where AI agents work on local files.openwork-linux-x64-0.18.62.tar.gz, unpacked withbsdtar --no-same-owner. It runs onorg.freedesktop.Platform//26.08withorg.electronjs.Electron2.BaseApp//26.08throughzypak-wrapper. The Linux build is not rebuilt.openwork-linux-x64-<version>.tar.gz. Cloud, enterprise, and AppImage assets on the same release are skipped.Sandbox
ELECTRON_RUN_AS_NODEis unset. There is no filesystem grant. Settings stay in the per-app data directory, and file picking goes through the portal.flatpak override --user --filesystem=~/Projects com.differentai.openwork.Tested
appstreamcli validate --no-net, and the resolver (0.18.62, the x64 tarball URL).check-apply-extraunpacked the archive as root with no capabilities.publish.sh --verifybuilt the app and installed it from the local signed repo.lddon the binary reported no missing libraries.WM_CLASScom.differentai.openwork. The bundled engine answered on localhost (GET /workspaces200), and the session composer was on screen.Flathub
Not published on Flathub.
com.differentai.openworkreturns 404 from the Flathub appstream API.Made with Cursor