Repository navigation
v0.7.1
Open Science v0.7.1
A reliability and polish release on top of v0.7.0: a switchable app icon, first-class Claude subscription sign-in (shared and isolated), and a round of ACP, notebook, provider-validation, and CLI fixes.
Open Science is an open-source, model-agnostic AI workbench for scientific discovery — a self-hosted desktop app pairing a plan-and-execute agent with a persistent, sandboxed compute kernel and durable project/session storage.
This is a patch release: no breaking changes and no Roadmap phase status changes. It adds two Settings-facing conveniences (a switchable app icon and a unified Claude subscription sign-in) and tightens up session permissions, notebook output, provider validation, and the headless CLI on top of v0.7.0.
✨ Highlights
- Switchable app icon. Pick between the Light (dotted mark) and Dark (original) built-in icons under Settings → General; the choice applies to the window and dock live and on every launch. (#426)
- Claude subscription sign-in, shared and isolated. A first-class Claude subscription provider with a shared browser login (credentials in your
~/.claude) and an isolatedsetup-tokenmode (app-owned config dir, never touching~/.claude), both with a browser sign-in flow. (#389) - Tighter session permissions. Open Science now owns the Once / This conversation scopes end-to-end, with conversation grants that are memory-only, visible, revocable, and stable across backend reconnects. (#398)
- Reliability fixes across the board — no more blank R figures, micromamba banner flooding, or PowerShell CLIXML noise; clearer server-vs-client provider errors; a CLI that fails fast on AppImage sandbox errors. (#422, #423, #421, #419, #416)
🚀 New Features
- App icon picker — switch between built-in Light and Dark icons under Settings → General; persisted in
settings.jsonand applied to the window (Windows/Linux) and the dock (macOS) at runtime and on every launch, with preview tiles rendered from the bundled assets. The static installed icon (Finder.app, Explorer/Start-menu.exe, Linux launcher) stays baked into the build and is never rewritten at runtime. (#426) - Claude subscription with shared and isolated sign-in — one provider card, two auth modes: claude-shared (browser OAuth via
claude auth login --claudeai, credentials in the default~/.claudeprofile) and claude-isolated (claude setup-tokenunder an app-ownedCLAUDE_CONFIG_DIR, with a browser flow that auto-closes on success and a paste-a-token fallback that cancels the background login). (#389)
🔧 Improvements
- Unified session permission scopes — Open Science owns the user-facing Once / This conversation scopes, translating both to backend one-shot approvals; conversation grants are memory-only, visible, revocable, cleared on conversation deletion, and survive backend reconnects. Shell grants are keyed by concrete command signature, and notebook runtimes (Python, R) are kept as separate grant identities. (#398)
- Test coverage uplift — ~159 new unit tests covering previously low-coverage IPC handlers and module-level factories across the main process (compute, project-files, logs, artifacts, reviewer, managed-preview, SSH runner, window-close-confirm, file-save). (#424)
🐛 Bug Fixes
- Codex skill loading — bridged Codex sessions now load the selected Connector Skill before reaching the notebook REPL, classifying the current prompt against the enabled skill catalog and attaching matches as native
UserInput::Skillinputs; only skill name/status (Loading skill: …/Loaded skill: …) shows in the transcript. (#398) - False task completion — a provider
end_turnreturned after prose that promises later tool-backed work is no longer reported as task success; the terminal notification now says the agent responded, not that the user's task completed. (#417) - Blank R figures for text output — the R PNG capture device is now lazy (installed as the default device only during cell execution, restored afterward), so text-only R cells no longer render a stray blank figure — notably on Windows, where closing an unused PNG device can still write a valid empty image. (#422)
- Environment-banner flooding — on a provisioning failure the banner no longer dumps micromamba's full stdout/stderr tail (up to 16 KB of conda package plan) into an unbounded top-of-app pill; only a short, stderr-preferring excerpt reaches the UI, while the full tails stay attached to the structured error and in logs. (#423)
- PowerShell CLIXML progress output — Windows
bash_executenow sets$ProgressPreference = "SilentlyContinue"and strips progress-only CLIXML blocks from stderr before persisting it, so a successful command no longer shows a raw red XML block; real stderr and non-progress CLIXML records are preserved. (#421) - Server vs. client provider errors — HTTP 5xx gateway responses are now classified as a dedicated
server-errorcategory with clearer guidance ("The gateway or upstream service is temporarily unavailable. Try again later.") instead of a generic unknown error. (#419) - CLI fast-fail on AppImage sandbox errors —
open-science startnow races service-health polling against the spawned process lifecycle and surfaces spawn/exit failures immediately (within ~1s) instead of polling for 30s; recognizes Chromium SUID sandbox failures with actionable AppImage guidance; and adds an explicitstart --no-sandboxfallback. (#416) - Atomic managed-Codex context-usage patch — the context-usage adapter patch is now written to a unique temp sibling that restores the original adapter's POSIX permission bits, then atomically renamed into place, with bounded EPERM/EBUSY retry for transient Windows scanner locks — so concurrent session init can no longer observe a partial bundle. (#412)
📦 Install
Requirements: macOS 12+ (Apple Silicon or Intel), Linux x64, or Windows 10/11 x64. On first run the app's onboarding wizard checks your environment and can install and configure a Claude-compatible model backend for you. Once installed, the app updates itself in place.
Download the build for your platform from the Assets below:
| Platform | File |
|---|---|
| macOS (Apple Silicon) | aipoch-open-science-0.7.1-mac-arm64.dmg |
| macOS (Intel) | aipoch-open-science-0.7.1-mac-x64.dmg |
| Linux | aipoch-open-science-0.7.1-linux-x86_64.AppImage / aipoch-open-science_0.7.1_amd64.deb |
| Windows | aipoch-open-science-0.7.1-win-x64-setup.exe |
macOS — first launch. Release builds are Developer ID signed and notarized by Apple, so they open like any other app. (A .app you build yourself is not notarized — see README → Building From Source.)
Windows — first launch (unsigned build). No Authenticode certificate yet, so SmartScreen shows a bypassable "unrecognized app" prompt (More info → Run anyway).
Build from source instead:
npm install
npm run build:mac # or: build:linux / build:win
🧭 What's in this release (maturity)
Aligned with the PRD and Roadmap. This is a patch release on top of v0.7.0 (redesigned permission dialog, native Office previews, and reworked onboarding). It adds a switchable app icon and a first-class Claude subscription sign-in (shared and isolated), and hardens ACP session permissions, notebook output handling, provider-error classification, and the headless CLI. No Roadmap phase changes status.
- ✅ Implemented: desktop shell (Electron + React + TS) with a tray/single-instance lifecycle, reachable as a desktop app, an optional localhost web UI (with project/session deep links and lifecycle sync), a headless backend mode, and an
open-scienceCLI daemon plus a zero-dependency Node.js task SDK; ACP agent runtime on a pluggable framework backend (Claude Code default, with OpenCode and Codex as alternatives — Codex usable via an existing ChatGPT/Codex subscription login, and Claude via a subscription with both shared (browser OAuth into~/.claude) and isolated (claude setup-token) sign-in) whose app-managed runtimes are installable, switchable, and uninstallable from Settings; tool-activity cards grouped under agent-declared purpose titles with a live context-usage indicator; an opt-in reviewer with a bounded fix loop (AI-review pipeline now dual-Codex, static-inspection-only); a persistent multi-kernel notebook runtime (warm Python/R/REPL kernels, app-managed conda environments with offline provisioning and bring-your-own interpreters, crash-recoverable run history, session.ipynbexport); project + session persistence with a paginated, session-grouped Files tab and session pinning; artifacts MCP server; file renderers (incl. Office DOCX/XLSX/PPTX in isolated processes and a zoom/pan image viewer) + notebook/session-notebook viewers + a full-screen preview mode + offline molecule viewer; multi-provider config (built-in vendors Anthropic (Claude), DeepSeek, Zhipu AI (GLM), GLM Coding Plan, Kimi (Moonshot), MiniMax, StepFun, StepFun Step Plan, Xiaomi MIMO, SenseNova, Volcengine Ark, plus the OpenRouter aggregation gateway, custom gateways, and Claude/Codex subscription logins) with per-model image-input metadata and per-model reasoning-effort control; desktop task notifications; remote SSH compute hosts as notebook execution targets; resilient range-resume downloads; signed-and-notarized macOS packaging plus Windows/Linux, with in-place auto-update, a configurable data-storage location, and a switchable app icon (Light/Dark built-in variants, applied to the window and dock at runtime); file-based agent skills; 24 built-in connectors plus custom MCP servers; a streamlined guided onboarding wizard (focused environment/agent/provider/notebook/location steps); and per-conversation approval profiles with a scoped, code-previewing permission dialog. - 🚧 Partial: R remains managed-only and environment snapshotting/export is not built; the CLI/SDK surface is a first entry point and task-automation layer, not yet a fully scriptable/embeddable orchestration SDK; provider choice is still gated on the selected framework's endpoint compatibility rather than one unified gateway; remote compute covers SSH hosts for notebook runs but not Slurm/cloud-GPU submission or sub-agent fan-out; skills are local and file-based (no shared/public commons yet); the reviewer verifies a turn's own record but does not yet apply domain-specific citation/units/statistics rubrics.
- 🗺️ Roadmap (not in this build): public skills commons and savable specialist roles (rest of Phase 3); a fully model-agnostic gateway with unified per-agent routing and a full CLI/SDK entry point (rest of Phase 1); artifact versioning + provenance chain, environment snapshotting/export, and specialist sub-agents (rest of Phase 2); Slurm/cloud-GPU remote compute, sub-agent fan-out, and the rest of the security stack — network sandbox, credential vault, scoped permission tiers (rest of Phase 4).
🐢 Known Limitations
- R is managed-only. A bring-your-own R interpreter path is not built yet.
- No environment snapshotting or export yet. Phase 2 work.
- Remote compute is SSH-only. Slurm, cloud GPU, and sub-agent fan-out are not built yet.
- Provider choice is per backend, not one unified gateway. Claude Code reaches Anthropic-compatible endpoints; OpenCode and Codex add OpenAI-compatible / Responses ones.
- The task SDK is a first-generation surface. Task creation, polling, and artifact fetch work; a broader programmatic orchestration API is still open Phase 1 work.
- Switching backends can't carry a live session over. Open conversations replay to the new backend, but in-flight tool state is not migrated.
- Skills are local only. No shared/public commons, cross-machine forking, or user-facing version pinning yet.
- The reviewer is opt-in and record-scoped.
- Windows builds are unsigned. SmartScreen prompt on first launch. (macOS is notarized.)
- No provenance chain / artifact versioning yet. Phase 2.
- No local GPU compute backend.
- No multi-user / real-time collaboration.
🙏 Acknowledgements
Thanks to @ewen-poch, @roxi3906, @LJLJ111, @imjszhang, @wen2zhou, @GiaoLee, and everyone in Discord, X, and Discussions.
What's Changed
- fix(managed-codex): publish context usage patch atomically by @ewen-poch in #412
- feat(settings): add Claude subscription with shared and isolated sign-in by @ewen-poch in #389
- fix(agent-runtime): prevent false task completion by @ewen-poch in #417
- fix(cli): fail promptly for AppImage sandbox errors by @ewen-poch in #416
- fix(notebook): suppress PowerShell CLIXML progress output by @ewen-poch in #421
- fix(settings): distinguish server errors from client errors in provider validation by @ewen-poch in #419
- fix(notebook): stop flooding the env banner with micromamba output by @ewen-poch in #423
- test(main): add coverage for low-coverage IPC handlers and factories by @ewen-poch in #424
- fix(notebook): avoid blank R figures for text output by @ewen-poch in #422
- feat(settings): allow switching the app icon between built-in variants by @ewen-poch in #426
- fix(acp): unify session permissions and Codex skill loading by @ewen-poch in #398
- chore(release): bump version to 0.7.1 by @ewen-poch in #427
Full Changelog: v0.7.0...v0.7.1