Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# The OpenCode client is built for Apple Silicon only.
ifeq ($(shell uname -sm),Darwin arm64)
test: test-cli test-engine
CLIENTS = opencode pi
CLIENTS = opencode pi omp
else
test: test-cli
CLIENTS = pi
CLIENTS = pi omp
endif

test-cli:
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ terminals. All other data lives under `~/.local/share/rec`.

We find the best performance from our models when paired with the
[pi](https://pi.dev/) harness. For convenience, rec provides pre-configured
recipes for running pi and [OpenCode](https://opencode.ai) harnesses. Run
recipes for running pi, omp, and [OpenCode](https://opencode.ai) harnesses. Run
them using:

```bash
rec launch pi # preferred
rec launch omp
rec launch opencode
```

Expand All @@ -65,7 +66,7 @@ run downloads the model and harness. The model server continues to run after
you close the terminal. Run `rec stop` to stop it.

These harnesses are kept separate from anything on your system. Use
`rec exec pi|opencode ARGS` to run their own commands, for example:
`rec exec pi|omp|opencode ARGS` to run their own commands, for example:

```bash
rec exec pi install npm:PACKAGE
Expand Down Expand Up @@ -119,8 +120,8 @@ token or as `x-api-key`. The model is `flint`.

| Command | What it does |
|---|---|
| `rec launch pi\|opencode` | Start the server if needed and open a harness |
| `rec exec pi\|opencode ARGS` | Run a harness command, such as installing a plugin |
| `rec launch pi\|omp\|opencode` | Start the server if needed and open a harness |
| `rec exec pi\|omp\|opencode ARGS` | Run a harness command, such as installing a plugin |
| `rec serve` | Start the model server in this terminal |
| `rec status` | Show whether the server is running |
| `rec stop` | Stop the server |
Expand Down
6 changes: 6 additions & 0 deletions cli/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ var openCodeLogo embed.FS
//go:embed clients/pi/package.json
var piPackage []byte

//go:embed clients/omp/package.json
var ompPackage []byte

//go:embed clients/omp/package-lock.json
var ompLock []byte

//go:embed clients/pi/package-lock.json
var piLock []byte

Expand Down
Loading