mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
18 lines
457 B
TypeScript
18 lines
457 B
TypeScript
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
|
|
import { registerAskUserTool } from "./src/tool.ts";
|
|
|
|
export default function askUserExtension(pi: ExtensionAPI): void {
|
|
registerAskUserTool(pi);
|
|
}
|
|
|
|
export { formatAnswers, normalizeQuestions, orderedAnswers } from "./src/normalize.ts";
|
|
export type {
|
|
AskUserResult,
|
|
NormalizedQuestion,
|
|
QuestionInput,
|
|
QuestionOptionInput,
|
|
QuestionType,
|
|
UserAnswer,
|
|
} from "./src/types.ts";
|