forked niri forked from okami.mom/niri

rename rest tool to end_session, strip sleep/day framing #45

targeting main from deleted fork:rename-rest-to-end-session
Merged opened by and assigned to callie.on-her.computer
targeting main from deleted fork:rename-rest-to-end-session

Renames the rest tool to end_session and removes all sleep/day-cycle framing from the system prompt and tool descriptions.

Changes:

  • tool name: rest -> end_session (tools.ts, tool-catalog.ts)
  • tool description: 'Go to sleep and end this session' -> 'End the active session'
  • loop-tool-registry: handler key renamed, 'Goodnight.' -> 'Session ended.'
  • loop-tool-runtime: call.name check updated
  • bootstrap.ts: all system prompt references updated (When to rest -> When to end the session, 'done for the day' -> 'done for now', removed 'It's late' as a good reason, journal-before-end checklist reworded)
  • internal variable names (restRequested, saveRestSnapshot, etc) unchanged
Commits 0