yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::handlers Namespace Reference

Namespaces

namespace  agent
 
namespace  anonymous_namespace{browser_agent.cc}
 
namespace  anonymous_namespace{dungeon_collision_commands.cc}
 
namespace  anonymous_namespace{dungeon_commands.cc}
 
namespace  anonymous_namespace{dungeon_edit_commands.cc}
 
namespace  anonymous_namespace{dungeon_graph_commands.cc}
 
namespace  anonymous_namespace{dungeon_group_commands.cc}
 
namespace  anonymous_namespace{dungeon_map_commands.cc}
 
namespace  anonymous_namespace{dungeon_render_commands.cc}
 
namespace  anonymous_namespace{emulator_commands.cc}
 
namespace  anonymous_namespace{gui_commands.cc}
 
namespace  anonymous_namespace{mesen_handlers.cc}
 
namespace  anonymous_namespace{message_commands.cc}
 
namespace  anonymous_namespace{minecart_commands.cc}
 
namespace  anonymous_namespace{oracle_menu_commands.cc}
 
namespace  anonymous_namespace{overworld_graph_commands.cc}
 
namespace  anonymous_namespace{project_bundle_archive_commands.cc}
 
namespace  anonymous_namespace{project_bundle_verify_commands.cc}
 
namespace  anonymous_namespace{todo_commands.cc}
 

Classes

class  DialogueListCommandHandler
 Command handler for listing dialogue messages. More...
 
class  DialogueReadCommandHandler
 Command handler for reading dialogue messages. More...
 
class  DialogueSearchCommandHandler
 Command handler for searching dialogue messages. More...
 
class  DungeonDescribeRoomCommandHandler
 Command handler for describing a dungeon room. More...
 
class  DungeonDiscoverCommandHandler
 Command handler for auto-discovering dungeon rooms. More...
 
class  DungeonExportCustomCollisionJsonCommandHandler
 
class  DungeonExportRoomCommandHandler
 Command handler for exporting room data. More...
 
class  DungeonExportWaterFillJsonCommandHandler
 
class  DungeonGenerateTrackCollisionCommandHandler
 Generate track collision data from rail objects in a room. More...
 
class  DungeonGetEntranceCommandHandler
 Command handler for inspecting a dungeon entrance. More...
 
class  DungeonGetRoomTilesCommandHandler
 Command handler for getting room tiles. More...
 
class  DungeonGraphCommandHandler
 Command handler for generating a room connectivity graph. More...
 
class  DungeonGroupCommandHandler
 Command handler for organizing rooms by dungeon ID. More...
 
class  DungeonImportCustomCollisionJsonCommandHandler
 
class  DungeonImportWaterFillJsonCommandHandler
 
class  DungeonListChestsCommandHandler
 Command handler for listing chest items in dungeon rooms. More...
 
class  DungeonListCustomCollisionCommandHandler
 
class  DungeonListObjectsCommandHandler
 Command handler for listing objects in a room. More...
 
class  DungeonListSpritesCommandHandler
 Command handler for listing sprites in a dungeon room. More...
 
class  DungeonMapCommandHandler
 Command handler for ASCII room visualization. More...
 
class  DungeonMinecartAuditCommandHandler
 
class  DungeonMinecartMapCommandHandler
 
class  DungeonOraclePreflightCommandHandler
 
class  DungeonPlaceObjectCommandHandler
 Place a dungeon object (track segment, door, etc.) in a room. More...
 
class  DungeonPlaceSpriteCommandHandler
 Place a sprite in a dungeon room and optionally write to ROM. More...
 
class  DungeonRemoveSpriteCommandHandler
 Remove a sprite from a dungeon room by index or position. More...
 
class  DungeonRenderCommandHandler
 
class  DungeonRoomGraphCommandHandler
 Full room connectivity graph including door edges. More...
 
class  DungeonRoomHeaderCommandHandler
 Command handler for reading raw room header bytes (diagnostic) More...
 
class  DungeonSetCollisionTileCommandHandler
 Set individual custom collision tiles in a dungeon room. More...
 
class  DungeonSetRoomPropertyCommandHandler
 Command handler for setting room properties. More...
 
class  EmulatorClearBreakpointCommandHandler
 
class  EmulatorGetMetricsCommandHandler
 
class  EmulatorGetRegistersCommandHandler
 
class  EmulatorGetStateCommandHandler
 
class  EmulatorHoldButtonsCommandHandler
 
class  EmulatorListBreakpointsCommandHandler
 
class  EmulatorPauseCommandHandler
 
class  EmulatorPressButtonsCommandHandler
 
class  EmulatorReadMemoryCommandHandler
 
class  EmulatorReleaseButtonsCommandHandler
 
class  EmulatorResetCommandHandler
 
class  EmulatorRunCommandHandler
 
class  EmulatorSetBreakpointCommandHandler
 
class  EmulatorStepCommandHandler
 
class  EmulatorWriteMemoryCommandHandler
 
class  EntranceInfoCommandHandler
 Command handler for reading entrance table data. More...
 
class  GuiAssertCommandHandler
 Command handler for GUI assertions. More...
 
class  GuiClickCommandHandler
 Command handler for clicking GUI elements. More...
 
class  GuiDiscoverToolCommandHandler
 Command handler for discovering GUI tools. More...
 
class  GuiPlaceTileCommandHandler
 Command handler for placing tiles via GUI automation. More...
 
class  GuiScreenshotCommandHandler
 Command handler for taking screenshots. More...
 
class  GuiSummarizeWidgetsCommandHandler
 Command handler for summarizing GUI widgets. More...
 
class  GuiTypeCommandHandler
 Command handler for typing into GUI inputs. More...
 
class  GuiWaitCommandHandler
 Command handler for waiting on GUI conditions. More...
 
class  HexReadCommandHandler
 Command handler for reading hex data from ROM. More...
 
class  HexSearchCommandHandler
 Command handler for searching hex patterns in ROM. More...
 
class  HexWriteCommandHandler
 Command handler for writing hex data to ROM. More...
 
class  MesenAwaitCommandHandler
 
class  MesenBreakpointCommandHandler
 
class  MesenControlCommandHandler
 
class  MesenCpuCommandHandler
 
class  MesenDisasmCommandHandler
 
class  MesenGamestateCommandHandler
 
class  MesenGoalCommandHandler
 
class  MesenMemoryReadCommandHandler
 
class  MesenMemoryWriteCommandHandler
 
class  MesenSessionCommandHandler
 
class  MesenSpritesCommandHandler
 
class  MesenStateCaptureCommandHandler
 
class  MesenStateHookCommandHandler
 
class  MesenStateRegenCommandHandler
 
class  MesenStateVerifyCommandHandler
 
class  MesenTraceCommandHandler
 
class  MessageDecodeCommandHandler
 Decode raw ROM bytes (hex string) to human-readable text. More...
 
class  MessageEncodeCommandHandler
 Encode a human-readable message string to ROM bytes. More...
 
class  MessageExportAsmCommandHandler
 Export expanded message region as assembly source. More...
 
class  MessageExportBinCommandHandler
 Export expanded message region as binary or assembly. More...
 
class  MessageExportBundleCommandHandler
 Export messages as a bundle JSON for round-trip editing. More...
 
class  MessageExportOrgCommandHandler
 Export messages from ROM as .org format. More...
 
class  MessageImportBundleCommandHandler
 Import messages from a bundle JSON for validation or apply to ROM. More...
 
class  MessageImportOrgCommandHandler
 Import messages from .org format file. More...
 
class  MessageListCommandHandler
 Command handler for listing messages. More...
 
class  MessageReadCommandHandler
 Command handler for reading messages. More...
 
class  MessageSearchCommandHandler
 Command handler for searching messages. More...
 
class  MessageWriteCommandHandler
 Write an encoded message to the expanded message bank. More...
 
class  MusicInfoCommandHandler
 Command handler for getting music track information. More...
 
class  MusicListCommandHandler
 Command handler for listing music tracks. More...
 
class  MusicTracksCommandHandler
 Command handler for getting detailed music track data. More...
 
class  OracleMenuIndexCommandHandler
 
class  OracleMenuSetOffsetCommandHandler
 
class  OracleMenuValidateCommandHandler
 
class  OracleSmokeCheckCommandHandler
 
class  OverworldDescribeMapCommandHandler
 Command handler for describing overworld maps. More...
 
class  OverworldExportGraphCommandHandler
 Command handler for exporting overworld connectivity graph. More...
 
class  OverworldFindTileCommandHandler
 Command handler for finding tiles in overworld. More...
 
class  OverworldGetEntranceCommandHandler
 Command handler for getting entrance information. More...
 
class  OverworldListItemsCommandHandler
 Command handler for listing items in overworld. More...
 
class  OverworldListSpritesCommandHandler
 Command handler for listing sprites in overworld. More...
 
class  OverworldListWarpsCommandHandler
 Command handler for listing warps in overworld. More...
 
class  OverworldTileStatsCommandHandler
 Command handler for getting tile statistics. More...
 
class  PaletteAnalyzeCommandHandler
 Command handler for analyzing palettes. More...
 
class  PaletteGetColorsCommandHandler
 Command handler for getting palette colors. More...
 
class  PaletteSetColorCommandHandler
 Command handler for setting palette colors. More...
 
class  ProjectBuildCommandHandler
 Command handler for building projects. More...
 
class  ProjectBundlePackCommandHandler
 
class  ProjectBundleUnpackCommandHandler
 
class  ProjectBundleVerifyCommandHandler
 
class  ProjectInitCommandHandler
 Command handler for initializing new projects. More...
 
class  ResourceListCommandHandler
 Command handler for listing resource labels by type. More...
 
class  ResourceSearchCommandHandler
 Command handler for searching resource labels. More...
 
class  RomDiffCommandHandler
 Command handler for comparing ROM files. More...
 
class  RomFindSymbolCommandHandler
 Command handler for finding a symbol by name. More...
 
class  RomGenerateGoldenCommandHandler
 Command handler for generating golden ROM files. More...
 
class  RomInfoCommandHandler
 Command handler for displaying ROM information. More...
 
class  RomReadCommandHandler
 Command handler for reading raw ROM bytes. More...
 
class  RomResolveAddressCommandHandler
 Command handler for resolving an address to a symbol. More...
 
class  RomValidateCommandHandler
 Command handler for validating ROM files. More...
 
class  RomWriteCommandHandler
 Command handler for writing raw ROM bytes. More...
 
class  SimpleChatCommandHandler
 
class  SpriteListCommandHandler
 Command handler for listing sprites. More...
 
class  SpritePaletteCommandHandler
 Command handler for getting sprite palette information. More...
 
class  SpritePropertiesCommandHandler
 Command handler for getting sprite properties. More...
 
class  ToolsExtractGoldenCommandHandler
 Extract comprehensive golden data from ROM. More...
 
class  ToolsExtractValuesCommandHandler
 Extract vanilla ROM values to stdout. More...
 
class  ToolsHarnessStateCommandHandler
 Generate WRAM state for test harnesses. More...
 
class  ToolsListCommandHandler
 List available test helper tools. More...
 
class  ToolsPatchV3CommandHandler
 Create v3 ZSCustomOverworld patched ROM. More...
 

Typedefs

using json = nlohmann::json
 

Functions

absl::Status HandleAgentCommand (const std::vector< std::string > &arg_vec)
 Unified agent command handler using CommandRegistry.
 
std::string GenerateAgentHelp ()
 
RomAgentRom ()
 
absl::Status HandleTodoCommand (const std::vector< std::string > &args)
 Handle z3ed agent todo commands.
 
void RegisterAgentCommandHandlers ()
 
std::vector< std::unique_ptr< resources::CommandHandler > > CreateCliCommandHandlers ()
 Factory function to create all CLI-level command handlers.
 
std::vector< std::unique_ptr< resources::CommandHandler > > CreateAgentCommandHandlers ()
 
::absl::Status AddSessionFields (resources::OutputFormatter &formatter)
 
std::vector< std::unique_ptr< resources::CommandHandler > > CreateMesenCommandHandlers ()
 Factory function to create Mesen2 command handlers.
 

Typedef Documentation

◆ json

using yaze::cli::handlers::json = nlohmann::json

Definition at line 20 of file oracle_smoke_check_commands.cc.

Function Documentation

◆ HandleAgentCommand()

◆ GenerateAgentHelp()

std::string yaze::cli::handlers::GenerateAgentHelp ( )

Definition at line 240 of file browser_agent.cc.

Referenced by HandleAgentCommand().

◆ AgentRom()

Rom & yaze::cli::handlers::AgentRom ( )

Definition at line 250 of file browser_agent.cc.

Referenced by HandleAgentCommand().

◆ HandleTodoCommand()

absl::Status yaze::cli::handlers::HandleTodoCommand ( const std::vector< std::string > & args)

Handle z3ed agent todo commands.

Commands: agent todo create [–category=<cat>] [–priority=<n>] agent todo list [–status=<status>] [–category=<cat>] agent todo update <id> –status=<status> agent todo show <id> agent todo delete <id> agent todo clear-completed agent todo next agent todo plan

Definition at line 275 of file todo_commands.cc.

Referenced by HandleAgentCommand().

◆ RegisterAgentCommandHandlers()

void yaze::cli::handlers::RegisterAgentCommandHandlers ( )

Definition at line 12 of file agent_command_registration.cc.

References CreateAgentCommandHandlers(), yaze::cli::CommandRegistry::Instance(), and yaze::cli::CommandRegistry::RegisterHandlers().

Referenced by HandleAgentCommand(), and main().

Here is the call graph for this function:

◆ CreateCliCommandHandlers()

std::vector< std::unique_ptr< resources::CommandHandler > > yaze::cli::handlers::CreateCliCommandHandlers ( )

Factory function to create all CLI-level command handlers.

Returns
Vector of unique pointers to command handler instances

Definition at line 50 of file command_handlers.cc.

References CreateMesenCommandHandlers().

Referenced by yaze::cli::CommandRegistry::RegisterCliCommands().

Here is the call graph for this function:

◆ CreateAgentCommandHandlers()

std::vector< std::unique_ptr< resources::CommandHandler > > yaze::cli::handlers::CreateAgentCommandHandlers ( )

Definition at line 15 of file command_handlers_agent.cc.

Referenced by RegisterAgentCommandHandlers().

◆ AddSessionFields()

::absl::Status yaze::cli::handlers::AddSessionFields ( resources::OutputFormatter & formatter)

◆ CreateMesenCommandHandlers()

std::vector< std::unique_ptr< resources::CommandHandler > > yaze::cli::handlers::CreateMesenCommandHandlers ( )

Factory function to create Mesen2 command handlers.

Definition at line 1459 of file mesen_handlers.cc.

Referenced by CreateCliCommandHandlers().