Skip to content

Quick start

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

What did my last three candidates say about the system design round?

The agent chooses one of Metaview's own tools for the search, then another for the transcript or the AI notes behind each conversation. Every answer is one workspace's data, and every page the plugin reads 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 Metaview's tools, which are declared one by one: 43 read, 14 write, seven send, three delete and one 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.metaview.probe({ account: "work" })

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

const page = await tools.metaview.events_list({ source: "conversations", 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