session-management: replace reply with offset pattern
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f48f208682
commit
2dd6fea2e6
|
|
@ -68,8 +68,9 @@ Useful for observing what a peer is doing.
|
|||
# Last 100 lines of chat history:
|
||||
tail -100 ollie/s/{id}/chat
|
||||
|
||||
# Most recent reply:
|
||||
cat ollie/s/{id}/reply
|
||||
# Most recent model response (everything after the last user prompt):
|
||||
offset=$(cat ollie/s/{id}/offset)
|
||||
tail -c +$((offset + 1)) ollie/s/{id}/chat
|
||||
|
||||
# Current state (idle / thinking / calling: <tool>):
|
||||
cat ollie/s/{id}/state
|
||||
|
|
|
|||
Loading…
Reference in New Issue