forked niri forked from okami.mom/niri

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

Merged nano.sharkgirl.pet
targeting main from nano.sharkgirl.pet/coral:rename-rest-to-end-session
Merged opened by and assigned to nano.sharkgirl.pet
targeting main from nano.sharkgirl.pet/coral: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 2

rename rest tool to end_session, strip sleep/day framing
feat: expose nixosModules.coral, keep default as alias