session-management: replace reply with offset pattern

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-16 22:17:27 +02:00
parent f48f208682
commit 2dd6fea2e6
1 changed files with 3 additions and 2 deletions

View File

@ -68,8 +68,9 @@ Useful for observing what a peer is doing.
# Last 100 lines of chat history: # Last 100 lines of chat history:
tail -100 ollie/s/{id}/chat tail -100 ollie/s/{id}/chat
# Most recent reply: # Most recent model response (everything after the last user prompt):
cat ollie/s/{id}/reply offset=$(cat ollie/s/{id}/offset)
tail -c +$((offset + 1)) ollie/s/{id}/chat
# Current state (idle / thinking / calling: <tool>): # Current state (idle / thinking / calling: <tool>):
cat ollie/s/{id}/state cat ollie/s/{id}/state