Skip to content
Merged
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
6 changes: 3 additions & 3 deletions plugins/opencode-last9/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Last9 for OpenCode

[![npm version](https://img.shields.io/npm/v/opencode-last9.svg)](https://www.npmjs.com/package/opencode-last9)
[![npm version](https://img.shields.io/npm/v/@last9/opencode-plugin.svg)](https://www.npmjs.com/package/@last9/opencode-plugin)

Connect [OpenCode](https://opencode.ai) to your Last9 production telemetry — logs, metrics, traces, exceptions, database queries, alerts, and deployments — through the hosted [Last9 MCP server](https://last9.io/mcp/). Ships the Last9 investigation skills so your agent knows which query to write, not just how to write one.

Expand All @@ -11,7 +11,7 @@ Add the plugin to your `opencode.json` with your org slug (the part after `app.l
```json
{
"$schema": "https://opencode.ai/config.json",
"plugin": [["opencode-last9", { "org": "<org-slug>" }]]
"plugin": [["@last9/opencode-plugin", { "org": "<org-slug>" }]]
}
```

Expand All @@ -26,7 +26,7 @@ Your browser opens, you approve, done. Tokens are stored securely and refreshed
Prefer environment variables? Skip the options tuple:

```json
{ "plugin": ["opencode-last9"] }
{ "plugin": ["@last9/opencode-plugin"] }
```

```shell
Expand Down
2 changes: 1 addition & 1 deletion plugins/opencode-last9/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "opencode-last9",
"name": "@last9/opencode-plugin",
"version": "0.3.0",
"description": "Last9 observability for OpenCode: registers the hosted Last9 MCP server (logs, metrics, traces, alerts, deploys) and ships investigation skills.",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion plugins/opencode-last9/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const MCP_SERVER_NAME = "last9"
/**
* Options accepted via the tuple form in opencode.json:
*
* "plugin": [["opencode-last9", { "org": "<org-slug>" }]]
* "plugin": [["@last9/opencode-plugin", { "org": "<org-slug>" }]]
*/
export interface Last9PluginOptions {
/** Your Last9 org slug (the part after app.last9.io/ in your browser URL). */
Expand Down
Loading