feat(voyage)!: session-title hook COMMANDS map + voyage prefix [skip-docs]

- Replace 5 ultra*-local keys with trek* equivalents
- Add /trekcontinue + /trekendsession entries
- Change session title prefix ultra: -> voyage:

Part of voyage-rebrand session 2 (W3.1 / Step 3).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-05-05 14:28:20 +02:00
commit cbc0053957

View file

@ -17,11 +17,13 @@ import { stdin } from 'node:process';
import { resolve, basename } from 'node:path';
const COMMANDS = {
'/ultrabrief-local': 'brief',
'/ultraresearch-local': 'research',
'/ultraplan-local': 'plan',
'/ultraexecute-local': 'execute',
'/ultrareview-local': 'review',
'/trekbrief': 'brief',
'/trekresearch': 'research',
'/trekplan': 'plan',
'/trekexecute': 'execute',
'/trekreview': 'review',
'/trekcontinue': 'continue',
'/trekendsession': 'endsession',
};
function slugify(s) {
@ -72,7 +74,7 @@ async function readStdin() {
if (!matchedCmd) return;
const slug = detectSlug(prompt);
const title = `ultra:${matchedCmd}:${slug}`;
const title = `voyage:${matchedCmd}:${slug}`;
const out = {
hookSpecificOutput: {