Commit Graph

1035 Commits

Author SHA1 Message Date
OpenWork Release Bot
db2e73c40a chore(aur): update PKGBUILD for 0.11.86 2026-02-17 22:34:27 +00:00
ben
9318d47ecf chore: remove unreferenced PNG assets (#597) 2026-02-17 14:15:10 -08:00
ben
5db8490998 fix(orchestrator): add router status preflight and direct-send args (#596) openwork-orchestrator-v0.11.86 2026-02-17 14:04:56 -08:00
Benjamin Shafii
85b65fccb0 chore: bump version to 0.11.86 v0.11.86 2026-02-17 14:04:18 -08:00
ben
f8b8b221cc fix: declutter settings for non-developer workflows (#595)
Move connection and developer controls under Advanced, show connected provider names, remove /models copy, and hide workspace Advanced navigation unless developer mode is enabled.
2026-02-17 13:58:53 -08:00
OpenWork Release Bot
025f3eeb0d chore(aur): update PKGBUILD for 0.11.85 2026-02-17 20:48:04 +00:00
Benjamin Shafii
d00758ea80 fix: linkify file paths in markdown-rendered assistant text
Apply the same token-based link parsing to markdown text nodes so plain filenames and relative paths render as clickable links in agent responses, not only in plain-text fallback mode.
2026-02-17 12:20:15 -08:00
Benjamin Shafii
d90cefd10d chore: bump version to 0.11.85 openwork-orchestrator-v0.11.85 v0.11.85 2026-02-17 12:17:00 -08:00
Benjamin Shafii
082aa1efc0 fix: link bare relative filenames in session messages
Treat plain filenames like citizenship_status.txt as workspace-relative file links while filtering likely domain-like tokens to reduce false positives.
2026-02-17 12:14:06 -08:00
Benjamin Shafii
b6d056fe80 fix: resolve relative session file links from workspace root
Session text and markdown file links now resolve dot-relative paths against the active workspace while tightening path detection to avoid false positives like bare slash-only tokens.
2026-02-17 12:05:51 -08:00
ben
795593641d fix: show sandbox offline state when Docker is unavailable (#594) 2026-02-17 11:35:53 -08:00
Benjamin Shafii
fe046d4a48 fix(session): make step labels and tool output easier to scan 2026-02-17 11:22:59 -08:00
Benjamin Shafii
325fe9a3ac fix: make session text links clickable 2026-02-17 11:15:07 -08:00
Jason Kneen
997a8ed3e9 refactor: codebase quality improvements — types, tests, error handling (#592)
* fix(desktop): suppress unused variable warnings in manager modules

Prefix unused `child` bindings with underscore in engine and openwork_server
managers to silence Rust compiler warnings.

* refactor(app): remove `as any` casts with typed SDK helpers

Create lib/opencode-session.ts that wraps OpenCode SDK session operations
(abort, revert, unrevert, shell, command listing) with proper types.

Replace all `(c.session as any).abort/revert/unrevert` and
`(c.command as any).list` calls in app.tsx with the typed helpers.

The SDK v2 already exposes these methods with full type definitions —
the casts were unnecessary and bypassed type safety on critical API paths.

* refactor(app): extract OpenWork server connection store

Create context/openwork-server.ts that encapsulates all OpenWork server
connection state: 15 signals, 6 polling effects, derived memos for
baseUrl/auth/client, and the health check helper.

This is a standalone module ready to replace the corresponding state in
app.tsx. It follows the same factory pattern as createSessionStore and
createExtensionsStore.

* feat(app): add safe execution utilities for error handling

Create lib/safe-run.ts with safeAsync, safeSync, and fireAndForget
helpers that replace bare `catch {}` blocks. Errors are logged in
development mode and silently swallowed in production.

This provides a migration path for the ~50 silent catch blocks.

* test(server): add unit tests for validators, utils, and token service

Add 41 new tests across 3 test files:

- validators.test.ts: sanitizeCommandName, validateCommandName,
  validateMcpName, validateSkillName, validateMcpConfig (22 tests)
- utils.test.ts: hashToken, shortId, parseList, ensureDir/exists (10 tests)
- tokens.test.ts: TokenService CRUD, scope resolution, revocation (9 tests)

Total server test count: 48 (from 7 previously).

---------

Co-authored-by: Benjamin Shafii <benjamin.shafii@gmail.com>
2026-02-17 10:53:11 -08:00
GitHub Action
b9d5a4d3be ignore: update download stats 2026-02-17 2026-02-17 12:22:02 +00:00
Benjamin Shafii
6e34109dad fix(landing): keep starter success page focused on founder call CTA
Remove automatic redirect and make the founder call the primary explicit action. Update thank-you copy to clear 7-day hosted access ETA and preserve paid-customer Cal context.
2026-02-17 00:13:50 -08:00
Benjamin Shafii
7c80dcf732 feat(landing): redirect starter success to booking with paid context
Update /starter-success to send users directly to Cal and include paid-customer context in booking query params. Keep a visible fallback CTA and thank-you/ETA copy on page load.
2026-02-16 23:28:38 -08:00
Benjamin Shafii
de8e01fd9f feat(landing): add starter success confirmation page
Add /starter-success with a polished thank-you experience, one-week hosted launch ETA, and onboarding CTA while keeping existing OpenWork landing visual style.
2026-02-16 22:50:25 -08:00
OpenWork Release Bot
cd4ad5f137 chore(aur): update PKGBUILD for 0.11.84 2026-02-17 05:46:15 +00:00
Benjamin Shafii
540d4f91ed chore: bump version to 0.11.84 openwork-orchestrator-v0.11.84 v0.11.84 2026-02-16 21:16:09 -08:00
Benjamin Shafii
878f255b6d fix(aur): restore update script executable bit 2026-02-16 20:35:19 -08:00
Jakub Husák
f2bcf05e0e Linux arm64 build and release (#582)
* Initial plan

* Add ARM64 build support to workflows and AUR packaging

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Fix: Add noextract field update to AUR script

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Add comment explaining temporary SKIP checksum for ARM64

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Make cross-compilation tools conditional on runner architecture

Cross-compilation tools (gcc-aarch64-linux-gnu) are now only installed when actually cross-compiling (x86_64 → ARM64). Native ARM64 runners will use native compilation without these tools.

This enables flexible deployment:
- Default: Cross-compilation on ubuntu-22.04 (free tier)
- Optional: Native compilation on ubuntu-*-arm64 or self-hosted ARM64 runners

The workflow auto-detects via runner.arch context.

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Remove cross-compilation tools installation for native ARM64 runners

Since we're running on native ARM64 runners, cross-compilation tools are not needed. The native toolchain will be used directly for ARM64 builds.

This simplifies the workflow and improves build performance by removing unnecessary package installation.

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Refactor: Extract SHA256 checksum calculation to reusable function

Eliminates code duplication by creating a single compute_sha256() function
that is called twice, instead of duplicating the Python code block.

Benefits:
- Reduced script from 132 to 123 lines (9 lines saved)
- Single source of truth for checksum logic
- Easier to maintain and modify in the future
- Follows DRY (Don't Repeat Yourself) principle

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Fix: Update comment to use consistent terminology

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Replace Python SHA256 hashing with native sha256sum command

Simplifies the compute_sha256() function by replacing the Python implementation
with native bash sha256sum command, reducing complexity and improving performance.

Changes:
- Replaced 13-line Python function with 1-line sha256sum call
- Reduced script from 123 to 113 lines (10 lines saved)
- Eliminated Python interpreter startup overhead for hashing
- Maintains full compatibility with existing checksums

Benefits:
- Simpler, more idiomatic bash implementation
- Faster execution (no Python startup for hashing)
- Easier to read and maintain

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Remove compute_sha256 function and inline sha256sum usage

Eliminates the compute_sha256() wrapper function and directly inlines
sha256sum calls, making the code simpler and more transparent.

Changes:
- Removed function definition (lines 46-49)
- Inlined sha256sum calls directly where needed
- Reduced script from 113 to 108 lines (5 lines saved)
- Updated comment to reflect direct usage

Benefits:
- Simpler code with fewer abstractions
- More direct and transparent implementation
- Easier to understand at a glance

Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>

* Remove useless comments from update-aur.sh

* foo

* bar

* Bring back ARM64 cross-compilation tools

* Add Linux-ARM64-build-and-release branch to workflow

* wip

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: koubas <1354930+koubas@users.noreply.github.com>
Co-authored-by: Benjamin Shafii <benjamin.shafii@gmail.com>
2026-02-16 20:33:52 -08:00
ben
975551385b fix(updater): always check on launch and restyle update pill (#590) 2026-02-16 20:31:10 -08:00
OpenWork Release Bot
87bf98abaf chore(aur): update PKGBUILD for 0.11.83 2026-02-17 04:20:05 +00:00
Benjamin Shafii
b844e910a6 chore: bump version to 0.11.83 openwork-orchestrator-v0.11.83 v0.11.83 2026-02-16 19:52:51 -08:00
Benjamin Shafii
df21877eaa fix(sandbox): keep create modal loading through session handoff
Use a single sandbox create phase state machine so the modal stays in loading while provisioning and finalizing the first session. Prevent remote workspace registration from closing the modal early during sandbox creation.
2026-02-16 19:51:33 -08:00
Benjamin Shafii
70795eba05 fix(sandbox): stabilize worker creation flow and add debug cleanup tools
Keep sandbox modal loading through session creation, improve sandbox labeling and diagnostics, and add a debug action to remove OpenWork Docker containers. Also mount/import host OpenCode config+auth data into sandbox workers so provider credentials are available.
2026-02-16 19:28:28 -08:00
OpenWork Release Bot
ae7ed2168e chore(aur): update PKGBUILD for 0.11.82 2026-02-16 21:53:02 +00:00
Benjamin Shafii
f823666779 chore: bump version to 0.11.82 v0.11.82 openwork-orchestrator-v0.11.82 2026-02-16 13:26:21 -08:00
Benjamin Shafii
3937743d30 chore: bump version to 0.11.81 v0.11.81 2026-02-16 13:23:23 -08:00
Benjamin Shafii
70bb2e534a fix(landing): only link stable desktop releases 2026-02-16 13:22:35 -08:00
GitHub Action
44af152f82 ignore: update download stats 2026-02-16 2026-02-16 12:22:11 +00:00
OpenWork Release Bot
7e8633b661 chore(aur): update PKGBUILD for 0.11.80 2026-02-16 06:05:10 +00:00
Benjamin Shafii
2e9e49fced Merge remote-tracking branch 'origin/dev' into dev openwork-orchestrator-v0.11.80 v2e9e49f-dev 2026-02-15 21:38:40 -08:00
OpenWork Release Bot
815337ba52 chore(aur): update PKGBUILD for 0.11.79 2026-02-16 05:37:59 +00:00
Benjamin Shafii
1a1da0e574 chore: bump version to 0.11.80 v0.11.80 2026-02-15 21:37:54 -08:00
ben
baa7845776 perf(session): window long chat history for responsive sessions (#581) vbaa7845-dev 2026-02-15 21:35:19 -08:00
Benjamin Shafii
7ba36b90a7 chore: bump version to 0.11.79 v0.11.79 openwork-orchestrator-v0.11.79 v7ba36b9-dev 2026-02-15 21:10:36 -08:00
Benjamin Shafii
78f36a3b88 fix(desktop): use stable windows bun target for sidecars v78f36a3-dev 2026-02-15 21:06:20 -08:00
ben
cf0341f9bc fix(desktop): harden sidecars against AVX and DNS flag crashes (#579)
Build x64 sidecars with Bun baseline targets so Control Chrome and server sidecars run on CPUs without AVX. Sanitize inherited Bun/Node DNS result-order flags and set a safe Bun DNS order before spawning OpenCode and sidecar processes to prevent startup exits.
vcf0341f-dev
2026-02-15 20:29:12 -08:00
OpenWork Release Bot
be2ae84c5b chore(aur): update PKGBUILD for 0.11.78 2026-02-16 02:58:55 +00:00
Benjamin Shafii
178af20bed chore: bump version to 0.11.78 v0.11.78 v178af20-dev openwork-orchestrator-v0.11.78 2026-02-15 18:38:22 -08:00
Benjamin Shafii
27e0be6402 fix(desktop): increase orchestrator startup timeout v27e0be6-dev 2026-02-15 18:30:51 -08:00
ben
d5bfebce82 chore(ci): publish opencode-router to npm (#578)
* chore(ci): publish opencode-router to npm

* chore(ci): allow skipping tauri builds in release
vd5bfebc-dev
2026-02-15 18:22:09 -08:00
OpenWork Release Bot
86387ab7f0 chore(aur): update PKGBUILD for 0.11.77 2026-02-16 02:21:27 +00:00
Benjamin Shafii
bf126dbf94 chore: bump version to 0.11.77 vbf126db-dev openwork-orchestrator-v0.11.77 v0.11.77 2026-02-15 17:54:37 -08:00
Benjamin Shafii
c688f1a35e fix(release): pass opencode fork vars + tolerate npm 404 vc688f1a-dev 2026-02-15 17:53:49 -08:00
ben
7aee26fea9 feat(ui): share and install skills by link (#577)
* feat(ui): share and install skills by link

* feat(share): add Vercel Blob publisher service
v7aee26f-dev
2026-02-15 17:47:32 -08:00
Benjamin Shafii
fa24bd2c26 chore: bump version to 0.11.76 openwork-orchestrator-v0.11.76 v0.11.76 vfa24bd2-dev 2026-02-15 17:35:17 -08:00
Benjamin Shafii
5c07239824 chore: bump version to 0.11.75 v0.11.75 v5c07239-dev 2026-02-15 17:32:38 -08:00