Repository navigation
Conversation
After a quiet minute Blink says a line from the edge, and until now nothing could stop that. Settings has a new switch, "Idle chatter", on by default so nothing changes for anyone who does not touch it. Off, Blink never says a line, and a line on show when the switch is turned off goes away at once. The choice is `idleGrumble` in settings.json, next to `costumeEffects`, and follows the same path: the store keeps it, the settings controller tells the shell, the shell sends it with the state every window gets, and Blink's window counts "off" as busy, which is what already keeps the grumbler quiet. A settings.json written before the switch existed reads as on. All nine languages have the label and the hint. Tests: the store default, a kept choice, a wrong type and an older file; the controller's state, refusal and what it tells the shell; the grumbler kept busy for an hour, and turned off with a line on show; and one test that reads shell.mjs and the renderer for the wiring between them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A program on the same computer puts <id>.json into say/inbox under the user data folder. Blink deletes it on reading, which is the receipt, shows the text with up to three buttons beside itself, and writes what happened (button, dismissed, timeout or not_shown) to say/outbox. The switch (sayInbox) is off by default; off, nothing is created and nothing is watched. The text is set as text only and is never sent to a session. The format is in docs/SAY-INBOX.md. The reading and answering (desktop/say) are tested. The bubble in Blink's window follows the permission bubble and has not been run in Electron yet. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft, because the bubble has not been seen in a running Blink yet. Please treat it as a proposal to look at rather than something ready to merge.
What it is for: I have a small local helper (Dots) that knows when a Claude session is waiting for me or when my morning notes are ready, and I would like Blink to be the one who says it. This adds a way for another program on the same computer to hand Blink one short line, with up to three buttons, and learn what happened to it.
How it works: off by default (
sayInboxinsettings.json, "Lines from other apps" in Settings). Off, nothing is created and nothing is watched. On, Blink looks at<user data>/say/inbox/once a second, deletes a file as it reads it, shows the text beside itself, and writes the result (button,dismissed,timeoutornot_shown) tosay/outbox/. The format is indocs/SAY-INBOX.md.The text is set with
textContentonly. It is never treated as markup, never run, and never sent to a session. Showing a line does not take focus and does not bring Blink out if it is hidden.This branch sits on top of #3 (the idle chatter switch), so the first commit here is that one; the second commit is the say inbox (19 files, +1285/−2).
Checks run (macOS, Node 22,
BLINKLING_REMOTE=0):npm run lint,npm run format:check: passnpm run desktop:check(desktop tests andtsc): passnpm run test:features,npm run build:plugin,npm run test:plugin,npm run validate:plugin: passnpm test: 629 pass, 2 fail, the same two that fail onmainon this machine (bridge/src/provider-cli.test.ts,/private/var/…against/var/…).Not run:
npm run test:e2e,npm run test:extension, and the bubble itself in Electron. Its position follows the idle line and its clickable area follows the permission bubble, but that is from reading the code.Things you may want different:
app.getPath("userData"). One line inshell.mjs(directory) changes that.moodandfromare read and checked but not used yet.not_shown, not queued.🤖 Generated with Claude Code