diff --git a/plugins/opencode-last9/README.md b/plugins/opencode-last9/README.md index 9a7cfaf..9107e80 100644 --- a/plugins/opencode-last9/README.md +++ b/plugins/opencode-last9/README.md @@ -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. @@ -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": "" }]] + "plugin": [["@last9/opencode-plugin", { "org": "" }]] } ``` @@ -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 diff --git a/plugins/opencode-last9/package.json b/plugins/opencode-last9/package.json index e489275..d136054 100644 --- a/plugins/opencode-last9/package.json +++ b/plugins/opencode-last9/package.json @@ -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", diff --git a/plugins/opencode-last9/url.ts b/plugins/opencode-last9/url.ts index bc9b253..43523dd 100644 --- a/plugins/opencode-last9/url.ts +++ b/plugins/opencode-last9/url.ts @@ -4,7 +4,7 @@ export const MCP_SERVER_NAME = "last9" /** * Options accepted via the tuple form in opencode.json: * - * "plugin": [["opencode-last9", { "org": "" }]] + * "plugin": [["@last9/opencode-plugin", { "org": "" }]] */ export interface Last9PluginOptions { /** Your Last9 org slug (the part after app.last9.io/ in your browser URL). */