Fix CLI completion bootstrap tool imports

This commit is contained in:
Ogrodev
2026-06-01 22:37:01 -03:00
parent 069479e039
commit b4707629bf
5 changed files with 46 additions and 12 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ import { type Effort, THINKING_EFFORTS } from "@oh-my-pi/pi-ai";
import { APP_NAME, CONFIG_DIR_NAME, logger } from "@oh-my-pi/pi-utils";
import chalk from "chalk";
import { parseEffort } from "../thinking";
import { BUILTIN_TOOLS } from "../tools";
import { BUILTIN_TOOL_NAMES } from "../tools/builtin-names";
import {
OPTIONAL_FLAGS,
OPTIONAL_VALUE_FLAGS,
@@ -72,8 +72,8 @@ export interface Args {
const PARSE_DEPS: ParseDeps = {
logger,
parseEffort,
BUILTIN_TOOLS,
THINKING_EFFORTS,
builtinToolNames: BUILTIN_TOOL_NAMES,
thinkingEfforts: THINKING_EFFORTS,
};
export function parseArgs(inputArgs: string[], extensionFlags?: Map<string, { type: "boolean" | "string" }>): Args {