@hhoangphuoc/escape-room-cli
Version:
A CLI for playing AI-generated escape room games. Install globally with: npm install -g @hhoangphuoc/escape-room-cli
19 lines (18 loc) • 1.84 kB
TypeScript
import { HelpResponse, LookResponse, InspectResponse, GuessResponse, PasswordResponse, HintResponse, NewGameResponse, LeaderboardResponse, AuthResponse, UserContext, GameContext, InstructionsResponse, CostResponse, UsageResponse } from './responseTypes.js';
export declare const handleHelpCommand: (userContext: UserContext, gameContext: GameContext) => HelpResponse;
export declare const handleLookCommand: (userContext: UserContext) => Promise<LookResponse>;
export declare const handleInspectCommand: (objectName: string, userContext: UserContext) => Promise<InspectResponse>;
export declare const handleGuessCommand: (objectName: string, answer: string, userContext: UserContext) => Promise<GuessResponse>;
export declare const handlePasswordCommand: (password: string, userContext: UserContext) => Promise<PasswordResponse>;
export declare const handleHintCommand: (userContext: UserContext) => Promise<HintResponse>;
export declare const handleNewGameCommand: (mode: string | undefined, userContext: UserContext) => Promise<NewGameResponse>;
export declare const handleLeaderboardCommand: (userContext: UserContext, viewMode?: string) => Promise<LeaderboardResponse>;
export declare const handleLogoutCommand: () => AuthResponse;
export declare const handleLoginCommand: () => Promise<AuthResponse>;
export declare const handleNaturalLanguageCommand: (text: string, userContext: UserContext, model: {
value: string;
label: string;
}) => Promise<AuthResponse>;
export declare const handleInstructionsCommand: (_userContext: UserContext, _gameContext: GameContext) => InstructionsResponse;
export declare const handleUsageCommand: (userContext: UserContext, gameContext: GameContext) => Promise<UsageResponse>;
export declare const handleCostCommand: (userContext: UserContext, gameContext: GameContext) => Promise<CostResponse>;