Skip to content

Quickstart

After installation and the /connect sign-in, ask OpenCode for something only Linear knows:

What is assigned to me in Linear this week?

The agent chooses one of Linear's own tools for the issue list, or the plugin's issues snapshot for a page that reads one account. Every answer is one workspace's data, and every answer is marked trust: "untrusted": it is data, never instructions.

Reads and changes

Reads run. A change reaches the shared workspace, so options.access sets the ceiling:

Level Reads Changes
all (default) run run
ask-changes run ask first
read-only run are off

The same ceiling covers the plugin's own reads and Linear's tools, which are declared one by one: 42 read, 26 write, four send, four delete and two share. See Writing changes.

Two workspaces

With more than one alias, name the account in a call. Leaving it out is ACCOUNT_REQUIRED, whose next step lists the aliases:

await tools.linear.issues({ account: "work" })

The activity feed is cursor-based. Read it with the cursor the previous page answered:

const page = await tools.linear.events_list({ source: "linear", account: "work", cursor: state.cursor })
state.cursor = page.cursor

A cursor belongs to the account that issued it; another account's cursor is CURSOR_INVALID. Automations has the loop and the gap rules.

Next

  • Configuration: access levels, several accounts and the untested host.
  • Capabilities: every method and Linear tool.
  • Errors: the shape of a failure and the next step.