UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

27 lines • 1.49 kB
import { type Static, Type } from "typebox"; export declare const LOOK_AT_USAGE = "Usage:\n- look_at(file_path=\"/path/to/file\", goal=\"what to extract\")\n- look_at(file_paths=[\"/path/to/file-1\", \"/path/to/file-2\"], goal=\"what to extract\")\n- look_at(image_data=\"base64_encoded_data\", goal=\"what to extract\")"; export declare const LOOK_AT_PARAMETERS: Type.TObject<{ file_path: Type.TOptional<Type.TString>; file_paths: Type.TOptional<Type.TArray<Type.TString>>; image_data: Type.TOptional<Type.TString>; image_data_list: Type.TOptional<Type.TArray<Type.TString>>; goal: Type.TString; }>; export type LookAtArgs = Static<typeof LOOK_AT_PARAMETERS>; export interface LookAtArgsWithAlias extends Omit<LookAtArgs, "goal"> { goal?: string; path?: string; } export interface NormalizedLookAtArgs extends LookAtArgs { _normalized_file_paths_from_singular?: boolean; _normalized_image_data_list_from_singular?: boolean; } /** Normalizes singular inputs and the legacy `path` alias before validation. */ export declare function normalizeLookAtArgs(args: LookAtArgsWithAlias): NormalizedLookAtArgs; /** * Converts raw tool-call arguments into the public schema while retaining the * original normalizer's singular/plural semantics for validation. */ export declare function prepareLookAtArguments(args: unknown): LookAtArgs; export declare function validateLookAtArgs(args: NormalizedLookAtArgs): string | null; //# sourceMappingURL=arguments.d.ts.map