Skip to content

Add the 💤 Away From Keyboard trigger card - #37

Merged
Necromancervbh merged 24 commits into
mainfrom
claude/game-automation-ideas-d97rgk
Sep 29, 2026
Merged

Necromancervbh merged 24 commits into
mainfrom
claude/game-automation-ideas-d97rgk

Conversation

@Necromancervbh

Copy link
Copy Markdown
Owner

A new rare WHEN card that unlocks at level 3. It fires once when you've been away from the keyboard and mouse for N minutes, or, if you pick when I come back, once when you return after being away that long. {{idle.awayFor}} holds how long you were gone, e.g. 15m 0s.

Ideas:

  • 💤 away 10 min → 🪄 Arcane Command to pause music or lock the screen
  • 💤 back after 30 min → 🔔 "Welcome back! You were away {{idle.awayFor}}" plus 🌀 open your task list

How idle time is read (platform.readIdleSeconds), checked every 15 seconds:

  • macOS: HIDIdleTime from ioreg
  • Windows: GetLastInputInfo, called through PowerShell
  • Linux: GNOME's org.gnome.Mutter.IdleMonitor, which works on X11 and Wayland, then falls back to xprintidle

If it can't read idle time, the combo shows "Can't read idle time here (on Linux, install xprintidle)" and doesn't crash.

Tests:

  • Fires once per absence, both when you leave and when you return
  • awayFor values are correct
  • The error is shown when idle time can't be read

Also: art, README card table and placeholders, the forge's list of placeholders, CHANGELOG, and the landing page now says 31 cards.

npm test: 47 tests pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf


Generated by Claude Code

Three quests a day, picked with a per-day seed, pay bonus XP once each.
Progress comes from combo runs and forging, and shows in a new panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A one-page site in docs/ (how it works, features, screenshots, download
steps). Serve it with Settings > Pages > main, /docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
The quests panel shows the time until local midnight and reloads the new
set when the day changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A rare IF card (level 3) that lets a combo continue only N% of the time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Same change as Dependabot's #31, which conflicted after #30 landed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Tidy Up moves files older than N days out of a folder without
overwriting. Snapshot saves a screenshot (screencapture, PowerShell, or
grim/gnome-screenshot/spectacle/scrot/import) and hands it to later cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Fires once when you've been idle N minutes, or when you come back after
that long. Idle time comes from ioreg (macOS), GetLastInputInfo
(Windows), or GNOME's IdleMonitor / xprintidle (Linux).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 673f0b38-447e-4ea1-9d23-67bf189264a1


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Necromancervbh
Necromancervbh merged commit 4442572 into main Sep 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants