Commit Graph
32 Commits
Author SHA1 Message Date
Daniel Kim 0dae38f110 feat: provider-pluggable compute (--provider on exp run + orx instance create) (#19)
* feat: add --provider to exp run and a standalone `orx instance create`

Two ways to spin up compute from any provider, not just RunPod:

- `orx exp run --provider <name>` provisions an experiment run on the
  chosen provider (omit = server default, RunPod).
- `orx instance create <orgId> (--gpu ... | --cpu ...)` spins up a
  standalone org-level instance via POST /sandboxes — the CLI equivalent
  of the dashboard's "Spin up" panel (omit --provider = cheapest offer).

* chore: bump version to 0.1.29
2026-06-18 14:37:29 -07:00
Rehaan Ahmad 7ccfa37592 chore: more bugs (#17)
* edit description

* fmt

* cargo build

* more bugs
2026-06-17 17:06:32 -07:00
Daniel Kim 091ae180c4 feat: orx compute lists all providers/regions + DISK column (#15)
The backend `GET /compute/catalog` wire format changed: each offer's flat
`diskPerGbHour` became a nested `disk` discriminated union, `region` became
optional, and new `bandwidth*` fields were added. The CLI decodes strictly, so
the missing `disk_per_gb_hour` field broke `orx compute` (and `--cpu`) at JSON
decode. This fixes the deserialization and broadens the command:

- Add a `Disk` struct mirroring the backend `zDisk` union (keyed on the
  `sizable` bool, optional payloads), replacing `disk_per_gb_hour` on both
  `GpuOffer` and `CpuOffer`. Round-trip tests pin both disk shapes, a missing
  region, and the ignored `bandwidth*` fields.
- Remove the RunPod-only filter so the catalog shows every configured provider
  and region; add a case-insensitive `--provider` filter.
- Add a DISK column to the GPU and CPU tables.

`orx exp run` new instances remain RunPod-only server-side; docs clarify that
`orx compute` now browses all providers regardless.
2026-06-17 16:55:19 -07:00
Rehaan Ahmad b65230b92e chore: cli bug (#14)
* edit description

* fmt

* cargo build
2026-06-17 11:14:05 -07:00
Rehaan Ahmad 6b1a8310f6 chore: edit description (#13)
* edit description

* fmt
2026-06-16 21:05:45 -07:00
Rehaan Ahmad 891bca57ad chore: upload report (#12)
* env

* fix

* upload report

* build
2026-06-15 17:29:44 -07:00
Rehaan Ahmad b27689fc7f chore:env (#11)
* env

* fix
2026-06-15 14:45:21 -07:00
Rehaan Ahmad e51aa53640 cpu sandboxes (#10) 2026-06-14 15:39:06 -07:00
Rehaan Ahmad ce6adfe63d include run length (#9) 2026-06-12 18:14:58 -07:00
Daniel Kim c53dd9de73 Add Cursor to install-skills (#8)
* Add Cursor to install-skills

Cursor discovers skills under ~/.cursor/skills/<name>/SKILL.md using the
same Agent Skills format as Claude Code, so it reuses the existing shim.
Detected via ~/.cursor like the other agents, so login auto-install now
covers Cursor-only machines (previously they relied on Cursor scanning
~/.claude/skills, which only helps if Claude Code is also installed).

* 0.1.20

* Make the post-login skill install consent-based

orx login no longer writes into agent config dirs unprompted. When run
interactively it lists exactly what would be installed — file count and
name -> path per detected agent — and asks [Y/n]; nothing is written
without a yes. Non-TTY (CI, agents, pipes) skips the offer entirely.
Explicit orx install-skills is unchanged.
2026-06-12 18:05:52 -07:00
Rehaan Ahmad 7c1d3865c5 chore: skill install (#6)
* install skill

* ok
2026-06-12 11:39:43 -07:00
Daniel Kim 2ab891e639 Remove orx diff; compute run diffs locally via the cache-dir clone (#5)
* Remove orx diff; compute run diffs locally via the cache-dir clone

- Delete the diff command and its client plumbing (the server endpoint
  stays for the web UI).
- orx exp status now prints the node's branch, the parent's branch, the
  latest run's full commit SHA, and a ready-to-paste local git diff
  recipe (owner/repo resolved via a new find_project client helper).
- SKILL.md/README: the clone in ~/.cache/openresearch/repos is the
  standard way to read, diff, and edit experiment code.
- Bump version to 0.1.17.

* Add clone-if-missing guard to local diff recipes

The diff recipe (SKILL.md and the one orx exp status prints) started at
git fetch, which fails on a cold cache. Prepend the same idempotent
guard the editing recipe uses.
2026-06-11 16:49:13 -07:00
Rehaan Ahmad 9b81970755 cargo build 2026-06-11 16:27:35 -07:00
Daniel Kim 83e669fffe Merge pull request #2 from alphaXiv/feat/version-and-self-update
Add orx version / orx update and a passive update nudge
2026-06-11 15:49:09 -07:00
Rehaan Ahmad 3dcf5de42f cargo build 2026-06-11 15:21:10 -07:00
Daniel Kim e888995821 Add orx version / orx update and a passive update nudge
- `orx --version` (clap) and `orx version [--check] [--json]`: prints the
  CLI version and compares it to the latest GitHub release. `--json` is
  the agent-facing form (stable stdout object, exit 0 either way).
- `orx update [--dry-run] [--force]`: updates in place by re-running the
  cargo-dist release installer pinned to the existing install prefix
  (CARGO_DIST_FORCE_INSTALL_DIR), the same mechanism as axoupdater/uv but
  without the native-tls dependency that conflicts with our musl builds.
  Guarded by the cargo-dist install receipt (refuses cargo-install copies,
  path/version mismatches, Nix/Homebrew paths, unwritable bin dirs), an
  exclusive flock against concurrent updates, and run via `sh script` so
  noexec /tmp mounts don't break it.
- Passive nudge: at most one background latest-version check per 24h
  (cached in the config dir), printed to stderr only on interactive
  terminals, never in CI/pipes, never altering exit codes. Opt out with
  ORX_NO_UPDATE_CHECK, NO_UPDATE_NOTIFIER, or OPENRESEARCH_CLI_DISABLE_UPDATE=1.

Latest-version discovery uses the releases/latest/download/dist-manifest.json
permalink (CDN redirect, no GitHub API rate limit) instead of the REST API,
whose 60 req/h/IP unauthenticated cap is routinely exhausted on the
datacenter IPs agents run from.
2026-06-11 14:17:15 -07:00
Rehaan Ahmad 8159da751c github repo 2026-06-11 11:40:55 -07:00
Rehaan Ahmad 8e60158790 fix compute/list 2026-06-10 20:11:57 -07:00
Rehaan Ahmad adae978225 clearer skills 2026-06-09 19:30:02 -07:00
Rehaan Ahmad 305a3fede1 clarify git commands 2026-06-09 15:39:37 -07:00
Rehaan Ahmad 5af1e3fb38 new version 2026-06-09 15:00:52 -07:00
Daniel Kim 78b70ae77b Align create-experiment with GitHub App API
Drop the --repo/--ref flags and the empty-baseline path. A project's repo is
now bound at project-creation time on the web, so create-experiment has two
shapes: a child off --parent, or a baseline materialized on the project's
already-bound repo. Replace CreateEmptyBaselineBody/import-from-repo wiring
with a simplified ImportBaselineBody (optional title/description plus
generateSuggestions).
2026-06-09 00:53:12 -07:00
Rehaan Ahmad 2e97dceffc lint 2026-06-08 21:34:08 -07:00
Rehaan Ahmad 604c2b7ad2 cpu boxes 2026-06-08 21:30:34 -07:00
Rehaan Ahmad 33a0452387 lit tools 2026-06-08 17:15:11 -07:00
Rehaan Ahmad 9cb7c352e3 clear skills 2026-06-07 21:18:21 -07:00
Rehaan Ahmad eecad6868a changes 2026-06-07 18:11:21 -07:00
Rehaan Ahmad 7f2dfd3dbb dev box cleanup 2026-06-07 18:02:39 -07:00
Rehaan Ahmad fd69e4e6cb ci 2026-06-07 15:00:20 -07:00
Rehaan Ahmad ccebe71f18 api url 2026-06-07 13:50:34 -07:00
Rehaan Ahmad 3b0932018e rust 2026-06-07 00:35:02 -07:00
Rehaan Ahmad 2dd293a998 init 2026-06-06 22:14:11 -07:00