commit 36fc930e57a9aae1d8cd3c1f6cf05d385f7fde0a
parent f6910966d3d2e3fc425b145b7e9eb5ac8fecf79a
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 25 Oct 2026 01:02:14 +0000
refactor(prompt): export HandleParams type inline
- Move 'export' into the type declaration: export type HandleParams = { ... }
- Remove trailing 'export type { HandleParams };'
- Consistent with how COMMAND_NAME / COMMAND_DESCRIPTION are defined in command/index.ts
- No functional change; type is now exported directly where defined
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/prompt/handle.ts b/prompt/handle.ts
@@ -3,7 +3,7 @@ import { spawnSync } from "node:child_process";
import * as fs from "node:fs";
import * as path from "node:path";
-type HandleParams = {
+export type HandleParams = {
ctx: OpenpodContext;
sessionId: string;
dir: string;
@@ -148,5 +148,3 @@ export function handle(params: HandleParams): void {
startLimaInstance(sessionId);
}
-
-export type { HandleParams };