mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
feat: add interactive ask-user extension
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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";
|
||||
Reference in New Issue
Block a user