opencode-ultra 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ import type { PluginInput } from "@opencode-ai/plugin";
2
+ export declare function registerMcps(ctx: PluginInput, disabled: string[], apiKeys?: Record<string, string>): Promise<void>;
3
+ export { BUILTIN_MCPS } from "./servers";
@@ -0,0 +1,6 @@
1
+ export interface McpServerConfig {
2
+ command: string;
3
+ args: string[];
4
+ env?: Record<string, string>;
5
+ }
6
+ export declare const BUILTIN_MCPS: Record<string, McpServerConfig>;
@@ -0,0 +1,3 @@
1
+ export { getConfigDir, getCacheDir, getDataDir } from "./paths";
2
+ export { parseJsonc } from "./jsonc";
3
+ export { log } from "./log";
@@ -0,0 +1 @@
1
+ export declare function parseJsonc<T = unknown>(content: string): T;
@@ -0,0 +1 @@
1
+ export declare function log(message: string, data?: unknown): void;
@@ -0,0 +1,3 @@
1
+ export declare function getConfigDir(): string;
2
+ export declare function getCacheDir(): string;
3
+ export declare function getDataDir(): string;
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "opencode-ultra",
3
+ "version": "0.2.0",
4
+ "description": "Lightweight OpenCode 1.2.x plugin — ultrawork mode, multi-agent orchestration, rules injection",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "scripts": {
9
+ "build": "bun build src/index.ts --outdir dist --target bun --format esm && tsc --emitDeclarationOnly --outDir dist 2>/dev/null || true",
10
+ "test": "bun test",
11
+ "dev": "bun run --watch src/index.ts"
12
+ },
13
+ "dependencies": {
14
+ "@opencode-ai/plugin": "^1.1.19",
15
+ "@opencode-ai/sdk": "^1.1.19",
16
+ "jsonc-parser": "^3.3.1",
17
+ "zod": "^4.1.8"
18
+ },
19
+ "devDependencies": {
20
+ "@types/bun": "latest",
21
+ "typescript": "^5.8.0"
22
+ },
23
+ "files": ["dist"],
24
+ "license": "MIT"
25
+ }