mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
26 lines
389 B
TypeScript
26 lines
389 B
TypeScript
import {
|
|
Agent,
|
|
Command,
|
|
Connection,
|
|
Credential,
|
|
Integration,
|
|
Model,
|
|
Plugin,
|
|
Provider,
|
|
Reference,
|
|
Skill,
|
|
} from "@opencode/plugin"
|
|
|
|
const key = Symbol.for("opencode.plugin.v2.promise")
|
|
;(globalThis as typeof globalThis & { [key]?: unknown })[key] = {
|
|
Agent,
|
|
Command,
|
|
Connection,
|
|
Credential,
|
|
Integration,
|
|
Model,
|
|
Plugin,
|
|
Provider,
|
|
Reference,
|
|
Skill,
|
|
}
|