Skip to content
leverage-computerPublic

About

OpenCode integration to Leverage

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Leverage Computer OpenCode on Leverage

Docs on leverage.computer Connects over HTTP OpenCode Desktop 2.0.15 or later

Features · Desktop · Terminal · Other clients · leverage.computer

Syncing a Leverage workspace into OpenCode Desktop from the Leverage desktop app, then opening a session

Features

  • Multiplayer harness: each prompt shows who sent it, and a teammate's prompt appears as soon as they send it.
  • Company computer: sessions run in Leverage's sandbox and are shared with your team. Leverage serves OpenCode's HTTP API, so nothing runs on your machine.
  • Steering: your prompt shows at once and steers a running turn. Prompts sent while it is busy wait in a queue you can list, take back or send now.
  • Governance: the agent asks you to pick an option, approve a plan, or allow a call: once, for the session, or always.

Each space shows as a folder.

Desktop

In the Leverage desktop app, open Settings → Developer tools and click Sync into OpenCode. If OpenCode is open, it closes and opens again with the workspace.

From a terminal instead:

leverage opencode setup

Mac only, OpenCode Desktop 2.0.15 or later. Sync again after you change spaces in Settings. OpenCode Desktop holds one workspace at a time.

Terminal

leverage opencode engineering

With no space, it opens the whole workspace.

A terminal runs leverage opencode general. OpenCode opens on the space, /sessions finds a session, and it opens with a teammate's messages and the agent's diff

Other OpenCode clients

Make a token in Settings → Developer tools → OpenCode, then connect with:

  • Server: https://app.leverage.computer/api/opencode[/<space>]
  • Password: your token

The Leverage CLI

The terminal commands need the Leverage CLI. In the Leverage app, Settings → Developer tools → CLI gives its install command, for macOS and Linux.

A session you start from OpenCode is private until you share it.

About

OpenCode integration to Leverage

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors