Artifact 929939ef67ba1a7ee272e1b92c98ec335796d7f42a9779f540f2371f3d7280dd:
- File src/listings.h — part of check-in [60526238ea] at 2026-11-23 17:08:32 on branch keel-wrap — Keel: the terminal interface asks commands. pic_tui_options.ask answers Pi's RPC commands in the interface's process with the same registry pic --mode rpc uses (pic_rpc_answer); help, templates and skills, providers, instruction files, @file listing, compaction settings, settings, trust, the model scope, bug reports, phones, hooks and process records are commands now, answered by their owners. Check 8 links core and the client alone and finds no component reached directly. image.h joins the client's short list. Allowance 12 to 2. (user: dmestas, size: 570) [annotate] [blame] [check-ins using] [more...]
/* Listings (listings.c): the RPC commands that list what a client can pick * from, answered through the RPC command registry (rpc.h): Pi's * get_available_models, from the model catalog and the models file, and * get_commands, the prompt templates and skills. */ #ifndef PIC_LISTINGS_H #define PIC_LISTINGS_H #include "rpc.h" extern const pic_rpc_command pic_models_rpc; extern const pic_rpc_command pic_commands_rpc; extern const pic_rpc_command pic_providers_rpc; extern const pic_rpc_command pic_context_rpc; extern const pic_rpc_command pic_files_rpc; #endif