Download packages/schema/src/mcp-event.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 458 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/mcp-event.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/schema/src/mcp-event.ts
-
curl -L -o mcp-event.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/mcp-event.ts
458 Bytes
| export * as McpEvent from "./mcp-event" | |
| import { Schema } from "effect" | |
| import { Event } from "./event" | |
| export const ToolsChanged = Event.define({ | |
| type: "mcp.tools.changed", | |
| schema: { | |
| server: Schema.String, | |
| }, | |
| }) | |
| export const BrowserOpenFailed = Event.define({ | |
| type: "mcp.browser.open.failed", | |
| schema: { | |
| mcpName: Schema.String, | |
| url: Schema.String, | |
| }, | |
| }) | |
| export const Definitions = Event.inventory(ToolsChanged, BrowserOpenFailed) | |