Commit Graph
24 Commits
Author SHA1 Message Date
Rohit C Prasad 2e5e86d068 setup_dev_env.sh: list the interpreters checked when none is new enough
Also probe python3.14 first and skip interpreters that fail to run.
Print which interpreter the venv is built from.
2026-10-25 13:56:31 -07:00
Sudhi Seshachala 258556c334 fix: python version check in setup_dev_env.sh and IME Enter key in Composer
- setup_dev_env.sh: detect python3.13/3.12/3.11/3.10 before falling back to
  python3, with a clear error message if no 3.10+ is found. Fixes #42.

- Composer.tsx: guard Enter key handler with e.nativeEvent.isComposing so CJK
  IME composition confirmation does not submit the message. Fixes #64.
2026-10-25 13:55:16 -07:00
Rohit C Prasad 10fe4b2301 Frozen builds: no OpenSSL legacy-provider warning on every start
The Intel Mac program printed it on each command; OpenWorker uses no legacy algorithm.
2026-10-05 20:45:46 -07:00
Rohit C Prasad 7d3b161132 DMG build: retry the detach, and fail when no image was written
Finder can hold the volume a moment after styling; the Intel runner hit that and the build went on without a .dmg.
2026-10-05 20:07:47 -07:00
Rohit C Prasad 924358016c Intel Mac builds: link OpenSSL statically into cryptography
The Intel sidecar and program died on their first import; two libssl copies were bundled under one name.
The DMG build now starts the sidecar once (openworker-server --check).
2026-10-05 18:30:54 -07:00
Rohit C Prasad 7a9d2e151a Mac program: resolve links before removing Python.framework
With a framework Python the interpreter is a link into the framework, so the program could not start.
The program is also started once before signing.
2026-10-05 16:55:33 -07:00
Rohit C Prasad 857e4e7b29 The openworker program for the Mac
build_macos_cli.sh freezes the CLI, signs and notarizes it; the release attaches it for arm64 and x86_64.
install.sh downloads it on a Mac instead of the Python package.
2026-10-05 15:28:03 -07:00
Rohit C Prasad 00ebf7979f Publish the CLI image to GitHub's container registry
A workflow builds it for Intel and ARM, checks it, and pushes ghcr.io/andrewyng/openworker.
Runs when a release is published, or by hand.
2026-10-05 10:10:05 -07:00
Rohit C Prasad 020263b5bd An image of the CLI for OpenShell, provider profiles, and how to use them
packaging/openshell/Dockerfile: the CLI plus common developer tools, about 1.3 GB.
Profiles for OpenAI and Anthropic name OpenWorker's own Python. docs/openshell-inside.md has the steps.
2026-10-04 20:35:38 -07:00
Rohit C Prasad 746cfb1b6d install.sh: on Linux, install the openworker program from the release
Downloads the latest (or OPENWORKER_VERSION) tar.gz, checks its SHA-256, unpacks it into ~/.local/share and links ~/.local/bin/openworker.
macOS, musl and glibc older than 2.31 keep the uv/pipx route; the release publishes a stable-name checksum.
2026-09-29 13:47:00 -07:00
Rohit C Prasad 258fe8c76a Linux: build openworker as one program, no Python needed
packaging/build_linux.sh builds it in a bullseye container (glibc 2.31) and packs a tar.gz.
Bundles now carry the package metadata, so the version is real instead of 0.0.0.
2026-09-29 11:08:22 -07:00
Rohit C Prasad 4f512b77bd Sandbox settings v6: allowed-sites tick list, three-row OpenShell setup
Network allow list holds only the machine's ticked sites, none by default; strict/standard removed.
The app no longer installs OpenShell; setup is two checks and one step with progress.
DMG build requires grpcio so the sidecar can use OpenShell.
2026-09-28 16:45:49 -07:00
Devika Verma 5ce2a18a92 Packaged app: the sidecar runs as the tool runner, and ships the runner sources
openworker-server sandbox-runner serve|attach loads only the runner package. The spec ships the runner and toolkit sources as data, so the zipapp can be packed from the frozen build.
2026-09-21 20:50:18 -07:00
Rohit C Prasad e0c7b6eeb0 CLI: join and up at the top level; one spelling per command
openworker machine keeps status, keys, logs, service and leave.
join takes a link, or a controller's address to approve a code there (was auth join).
2026-09-18 21:58:37 -07:00
Rohit C Prasad a15fb38c93 CLI: machine logs, status --json, launchd service on macOS; install.sh
The installer uses uv or pipx for the current user, and refuses the PyPI placeholder by name.
2026-09-18 21:35:04 -07:00
Rohit Prasad 5e1bde2ba2 Merge pull request #285 from xiaonancui/fix/setup-dev-env-bedrock-extra
setup_dev_env.sh: install the bedrock extra so a fresh env passes the test suite
2026-09-18 10:48:18 -07:00
Rohit C Prasad 3a81c49ede build_dmg: document the venv prereqs a fresh worktree needs 2026-08-21 13:44:56 -07:00
Rohit C Prasad 5f3ffe385d packaging: ship builtin persona bundles in the sidecar
collect_submodules only takes .py, so packaged builds had no builtin coworkers.
Caught by inspecting the DMG — dev installs read them from the source tree.
2026-08-13 15:46:13 -07:00
Rohit C Prasad bfabfaadd4 ci: build macOS Intel on macos-15-intel 2026-07-30 15:38:28 -07:00
Xiaonan Cui 1b0e269672 setup_dev_env.sh: install the bedrock extra so a fresh env passes the test suite
CI installs .[messaging,dev,bedrock] but the bootstrap script only installs
[messaging,dev]. The bedrock test suite imports boto3 directly, so a fresh
dev env fails 7 tests out of the box.

Closes #284
2026-07-28 18:33:03 +08:00
Rohit C Prasad 50463bba00 Package boto3 for Bedrock and pin google-auth
New [bedrock] extra; desktop builds and CI install it; PyInstaller collects
boto3/botocore so the lazy import works in the bundled sidecar.
2026-07-25 16:23:56 -07:00
Rohit C Prasad cffec6bc4b rename artifact names to openworker: desktop/server binaries, console scripts, npm package
The Python import namespace (coworker) and the live auth config strings are
intentionally unchanged.
2026-07-21 11:35:29 -07:00
Rohit C Prasad 7f6f17c197 packaging: standalone-repo fixes — venv at repo root, aisuite as a pip dep, keyless builds
The venv moves to .venv at the repo root and aisuite now installs from the
git-pinned dependency instead of a .pth into a parent checkout (bootstrap +
PyInstaller pathex). Updater/notary env files keep their one-directory-above-
the-repo convention. Guard the empty updater-overlay array expansion — under
set -u on stock macOS bash 3.2 it aborted every keyless (fresh-clone) build.
2026-07-21 11:17:43 -07:00
Rohit C PrasadandDevika 2b45018ffa OpenWorker: initial import
Imported from andrewyng/aisuite@1b4bbf303e
(contents of its platform/ directory, hoisted to the repo root).
Development history prior to this commit lives in that repository.

Co-authored-by: Devika <devikaverma11@gmail.com>
2026-07-21 11:09:41 -07:00