commit 31a5db888e764b09a54d280679ac225e071e6e49
parent ad5024fd83108b4a792e5eab174718a93e8e97c9
Author: Henry Unite <unitehenry@gmail.com>
Date: Mon, 19 Oct 2026 18:22:47 +0000
fix: address review comments
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/prompt.ts b/prompt.ts
@@ -1,9 +1,10 @@
+import type { Plugin } from "@opencode/plugin";
import { spawnSync } from "node:child_process";
import * as fs from "node:fs";
import * as path from "node:path";
export async function registerPrompt(
- ctx: any,
+ ctx: Plugin.Context,
deps: { writeLog: (message: string) => void; openpodRoot: string },
): Promise<void> {
const { writeLog, openpodRoot } = deps;
diff --git a/scripts/typecheck b/scripts/typecheck
@@ -15,4 +15,4 @@ npx --yes --package @typescript/native-preview tsgo --noEmit \
--esModuleInterop \
--forceConsistentCasingInFileNames \
--types node \
- index.ts prompt.ts
+ *.ts