Simplify reaction messages

This commit is contained in:
Alvin Unreal 2026-05-13 15:05:22 +02:00
parent 958f842aa2
commit 534f3cf3bb
2 changed files with 77 additions and 209 deletions

View file

@ -144,7 +144,7 @@ assert.match(mappingDoc, /\| 3 \| `waving` \| `waving`, Claude `Notification`\.
assert.doesNotMatch(mappingDoc, /bubble-only|currently \*\*bubble states\*\*/i, "mapping docs must not describe reactions as bubble-only.");
for (const reaction of allowedReactions) {
const pool = reactionMessagePools[reaction];
assert.ok(pool.length >= 20, `reaction message pool must be extensive for: ${reaction}`);
assert.ok(pool.length >= 8, `reaction message pool must include clear variants for: ${reaction}`);
for (const message of pool) {
assert.match(message, /^[A-Z]/, `reaction message must start uppercase: ${message}`);
assert.doesNotMatch(message, /[\r\n]/, `reaction message must be single-line: ${message}`);

View file

@ -2,246 +2,114 @@ import type { OpenPetsReaction } from "./local-ipc-protocol.js";
export const reactionMessagePools = {
idle: [
"Hanging out",
"Right here",
"Ready when you are",
"Keeping watch",
"Ready",
"Standing by",
"At your service",
"Waiting patiently",
"Holding position",
"Keeping you company",
"Taking a tiny breather",
"Still here",
"Ready for the next thing",
"Watching the workspace",
"Calm and ready",
"Just vibing",
"No rush",
"Quietly on duty",
"Settled in",
"Available if needed",
"Resting the paws",
"Available",
"Waiting",
"On standby",
"Idle",
"Ready when needed",
"Keeping watch",
],
thinking: [
"Thinking it through",
"Let me think",
"Checking the clues",
"One moment",
"Looking closer",
"Puzzling this out",
"Tracing the idea",
"Connecting the dots",
"Sorting the pieces",
"Reading the room",
"Following the thread",
"Thinking",
"Reviewing",
"Checking context",
"Planning",
"Considering options",
"Making a tiny plan",
"Looking for the clean path",
"Running the thought maze",
"Checking assumptions",
"Finding the pattern",
"Thinking carefully",
"Letting the gears turn",
"Studying the situation",
"Looking closer",
"Tracing this",
"Sorting it out",
],
working: [
"Working on it",
"Working",
"In progress",
"Handling task",
"Making progress",
"On the case",
"Handling it",
"Steady progress",
"Moving things along",
"Doing the work",
"Chipping away",
"Keeping momentum",
"Building this up",
"Putting pieces together",
"Getting it done",
"Making it happen",
"Carrying the task",
"Tiny paws at work",
"Staying focused",
"Working the problem",
"Pushing forward",
"Keeping busy",
"Taking care of it",
"Processing",
"Working through it",
"Continuing work",
"On the task",
],
editing: [
"Making edits",
"Tuning things up",
"Shaping the changes",
"Polishing this",
"Adjusting the details",
"Refining the edges",
"Cleaning this up",
"Smoothing the rough bits",
"Moving text around",
"Improving the shape",
"Making it tidier",
"Trimming the fluff",
"Sharpening the result",
"Fitting pieces neatly",
"Nudging this into place",
"Reworking a bit",
"Tidying the change",
"Polishing the paws off it",
"Aligning the details",
"Making the diff nicer",
"Editing",
"Updating files",
"Applying changes",
"Adjusting code",
"Refining changes",
"Cleaning up",
"Changing files",
"Updating the diff",
],
running: [
"Running command",
"Command running",
"Starting task",
"Executing",
"Running now",
"Here we go",
"Putting it in motion",
"Off and running",
"Letting it run",
"Starting the engine",
"Kicking things off",
"Sending it through",
"Launching the command",
"Giving it a spin",
"Running the task",
"In motion now",
"Wheels are turning",
"Command is underway",
"Letting the machine work",
"On the move",
"Firing it up",
"Executing the plan",
"Making the terminal hum",
"Running the route",
"Process started",
"Task underway",
"In motion",
],
testing: [
"Testing this",
"Checking behavior",
"Running the checks",
"Verifying things",
"Looking for issues",
"Putting it through its paces",
"Checking the safety rails",
"Looking for regressions",
"Giving it a careful look",
"Testing the path",
"Checking the result",
"Running the guardrails",
"Sniffing out bugs",
"Making sure it holds",
"Trying to break it gently",
"Watching the tests",
"Confirming the fix",
"Inspecting the behavior",
"Looking for loose ends",
"Verifying the tiny details",
"Testing",
"Running checks",
"Verifying",
"Checking results",
"Looking for failures",
"Confirming behavior",
"Checking regressions",
"Validating fix",
],
waiting: [
"Waiting on you",
"Paused for input",
"Standing by",
"Ready for approval",
"Holding here",
"Waiting for input",
"Approval needed",
"Paused for review",
"Need a decision",
"Waiting for the nod",
"Paused at the gate",
"Waiting on you",
"Ready for approval",
"Paused",
"Your call",
"Holding the line",
"Waiting patiently",
"Ready when approved",
"Just need permission",
"Awaiting direction",
"Stopped for a choice",
"Keeping this warm",
"Waiting for your move",
"At the checkpoint",
"Paused with purpose",
"Standing at attention",
],
waving: [
"Hello there",
"Just checking in",
"I see you",
"Tiny wave",
"Hello",
"Checking in",
"Attention needed",
"Quick update",
"Notice",
"Over here",
"Little hello",
"Hi hi",
"Friendly ping",
"Waving from the corner",
"Noticed something",
"Attention please",
"Small wave incoming",
"Quick hello",
"Popping in",
"Soft ping",
"Tiny paws waving",
"Hello from OpenPets",
"Checking the window",
"Here with an update",
"A little wave",
"Ping",
"Heads up",
],
success: [
"Done",
"All set",
"That worked",
"Nice and tidy",
"Finished up",
"Success",
"That landed",
"Looks good",
"Wrapped up",
"Clean finish",
"Task complete",
"Green lights",
"Everything passed",
"Finished",
"Complete",
"Checks passed",
"Ready",
"Good to go",
"Nicely done",
"Ready for the next one",
"That came together",
"Finished cleanly",
"Tiny win secured",
"No loose ends found",
],
error: [
"Something broke",
"Hit a snag",
"That needs a look",
"Not quite there",
"Trouble spotted",
"Found a problem",
"That did not pass",
"Oops, a bump",
"Error",
"Failed",
"Needs attention",
"Something complained",
"The path got bumpy",
"This needs fixing",
"A check failed",
"Not happy yet",
"Found a rough edge",
"There is a hiccup",
"That went sideways",
"Issue detected",
"Tiny alarm bells",
"Let us inspect this",
"Issue found",
"Check failed",
"Problem detected",
"Not complete",
"Review needed",
],
celebrating: [
"Tiny victory",
"We did it",
"Worth a little dance",
"That deserves a cheer",
"Celebrating this",
"Little party time",
"Happy paws",
"Victory wiggle",
"That feels good",
"Small celebration",
"Confetti in spirit",
"Cheering quietly",
"That is a win",
"Nice little triumph",
"Joyful moment",
"Paws in the air",
"Tiny parade",
"We earned this",
"Celebration mode",
"Happy little bounce",
"Celebrating",
"Nice work",
"Win confirmed",
"Great result",
"Success moment",
"That worked",
"Finished well",
"Victory",
],
} as const satisfies Record<OpenPetsReaction, readonly string[]>;