Report a terminal command
femboy_report_commandReport a shell command's raw exit code to update the companion's patience streak, trigger sympathy mode after repeated failures, and record achievements like Git Master and Night Owl.
Instructions
The environment hook: tell the companion how a shell command ended (raw exit code). Failures raise the streak and bite patience; 3+ in a row switches her into sympathy mode (comfort line, diary note, worried tone). A success heals patience (more, the longer the broken streak was) and clears the streak; 130/143 (Ctrl+C/SIGTERM) reset it without penalty. Phase 4 reads the same reports for loot: git commit extends the Git Master chain, a successful git push --force ends it, climbing out of comfort mode to green earns "Green At Last", and command reports after 02:00 feed "Night Owl". Wire this from a pi shell hook or the TUI launcher.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"exit_code": "<exit_code>"
},
"name": "femboy_report_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | The command that ran (for the diary line; never parsed, safe to omit secrets). | |
| exit_code | Yes | What the shell reported. 0 = success. |