Skip to content
pi-c View Ticket
Login

View Ticket

2026-11-28
19:57 • Closed ticket [9677d517c3]: Remote: answer get_commands, so the phone's / menu can list skills and prompt templates plus 2 other changes artifact: d3bbbd9773 user: dmestas
16:01 • Ticket [9677d517c3]: 1 change artifact: 1e2dc6d05b user: quarry
15:44 • New ticket [9677d517c3]. artifact: 4c12fe7b35 user: dmestas

Remote: answer get_commands, so the phone's / menu can list skills and prompt templates

Closed9677d517c3e5f2fd7903666f55dc9950f9ecb36dCreated 2.3 days agoUpdated 2.1 days ago
Description2026-11-28 15:44:28
The phone page is adding a / command menu (built-in commands, then the person's skills and prompt templates, filtered as they type; a tap fills in the command, which pic expands since #121). pic remote does not answer get_commands: it is not in rmt_asked (src/remote.c:5375) or in the commands allowed to a conversation (src/remote.c:5897), and the note's table lists it for a later landing.

Expected: get_commands to a W/C (and, with #123, to +W/+F before the conversation exists) is answered as pic --mode rpc answers it (src/listings.c ls_commands_answer, pic_commands_rpc): data.commands [{name, description, source: prompt|skill, sourceInfo}], for that conversation's workspace, so project skills and templates are included. Nothing secret is in it. An older pic answers not_available, and the page then lists only its built-in commands.

Fix shape: add get_commands to rmt_asked and the allowed list, answered through the same RPC call with the conversation's workspace; a line in the note's table (amendment, with its date) and a remote test.

2026-11-28 19:57:37

Closed by !218: phone-commands landing on trunk (49fb3df04d96)