Skip to content

Lunavect 0.3.0: island at the notch, answers from the island, timers that say when they wake - #53

Merged
lovach merged 17 commits into
mainfrom
claude/release-0.3.0
Nov 18, 2026
Merged

lovach merged 17 commits into
mainfrom
claude/release-0.3.0

Conversation

@lovach

@lovach lovach commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Island at the notch. Working and waiting Claude and Codex sessions show around the camera housing; hover for the list with the week and five-hour limits and a timer per session, click a session to open it. Rows keep their place; another app drawing at the notch is named in Settings.
  • Answers from the island. Claude Code permission requests (Allow, Always, Deny) and the agent's questions (AskUserQuestion: options as buttons, one question at a time, several ticked and Done) are answered from the island through the PermissionRequest hook; Claude Code's own dialog stays open meanwhile and takes over after a minute or on In session.
  • Wakes at. A pause that waits only for a background timer (sleep N) says when Claude wakes, and lasts until then plus five minutes.
  • Fixes: a session in Claude's built-in terminal counts as a terminal session (it used to stay "Permission needed" after its tab closed); the /usage screen of Claude Code 2.1.327 is read again (limits had frozen); a pause for monitors alone ends at their 30-minute deadline; background agents keep a session "In background"; weekday labels of When you work; the one-provider medium limits widget layout; Xcode build products no longer count as another installed copy.
  • Check tooling: the check report adds up test bundles that newer SwiftPM runs on their own (the intent resources gate read an empty bundle and failed).

Test plan

  • ./scripts/check.sh on the release commit: Swift 1295 passed / 82 skipped / 0 failures (1377), Python 170 passed / 1 skipped, unsigned build, hook helper, resources, intent resources, provenance
  • Live on installed signed builds 229–234 (Claude Code 2.1.327): Allow from the island; questions answered from the island ("Blue" and "S, L" reached the session, "Allowed by PermissionRequest hook"); "Wakes at 16:26" for sleep 150, the session woke at 16:26:35; /usage probe returned the week in 4 s
  • Signed release, Sparkle update 234 (local) → 235
  • Not checked live: Allow in a Claude Desktop Code-tab session, a click on a session in Claude's built-in terminal (unit tests only)

🤖 Generated with Claude Code

vicey and others added 17 commits November 18, 2026 11:58
The summary counts weekdays from the system calendar's first day, and the
card took its labels from a calendar with the app's language, whose first
day can differ: English on a Monday-first Mac (ru_AT) showed Monday's
hours as Sunday's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After the macOS 27 upgrade LaunchServices registered every archive,
export and build folder again, and Settings -> Widgets listed 75 'other
copies' with the advice to move them to the Trash. Build products and the
__MACOSX leftovers of an unpacked ZIP are not installed copies; the
running copy keeps confirming its own registration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With Codex removed the medium widget stretched the small widget's rows
across its width: faint secondary text on desktop glass, values far from
their labels and a bare calendar icon for the plan end. The owner picked
the tiles variant: the week as a large figure with its bar, then the
five-hour window, model limit and plan end as tiles with small meters;
the weekly reset fills the room when fewer than three tiles are on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With one provider the chart card showed "Days with records 6 / 7": the
days on which Lunavect saw at least one session of that provider. A day
off with no session open was left out, and the count read as a lost day,
although nothing was lost. The card now counts the days on which the
provider worked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After a turn ended with background work, every tool call of a background or
workflow agent (its own agent_id) cleared the pause, so the row turned back
into "Thinking" with a running timer while the conversation only waited.
These events, and dialog notices during the pause, now keep it "In background";
the conversation's own events still end the pause.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A borderless panel around the camera housing shows working sessions on
the left and sessions waiting for the owner (or finished answers) on the
right. Resting the pointer on it opens the list: week and five-hour
remainders, then sessions with waiting ones first and a timer each; a
click opens the session the way notices do. Closed, the panel lets every
click through. A screen without a housing gets the island only while
there is work. Settings: Session status, "Island at the screen notch",
on by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rows were sorted by their session's last event, so on the open island a
row could swap places under the pointer and a click opened another
session. Within each group (waiting, working, failed, ready) rows now
keep the order the island first saw them in.

When another app draws a window over the camera housing above the menu
bar (boring.notch on the owner's Mac), both open under the pointer at
once. Settings now names that app under the island switch and says to
quit it or turn the island off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Claude permission request now reaches the running app over a Unix
socket in Application Support (owner only, peer uid checked). The island
opens for a moment with the command and Allow, Always and Deny; the hook
helper waits up to 55 seconds and prints Claude Code's decision. No app,
no answer in 50 seconds, or a click on the session itself: the helper
prints nothing and Claude Code asks in its own dialog. Questions from the
agent (AskUserQuestion) and Codex requests are not held.

Claude Code allows the permission hook 60 seconds instead of 3; launch
repair updates only that handler's timeout. Sessions that started before
the settings last changed still hold the old limit, so they are not held
for the island. After a click the card says what happened, including a
request that had already closed.

Checked live with Claude Code 2.1.327: Allow in the island, and the
session reported "Allowed by PermissionRequest hook".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A CLI started in the terminal built into Claude or Codex has its own
device, but its ancestry reaches the desktop app, so the hook recorded
it as a Desktop task. A Desktop runtime may exit between turns, so a
closed tab left the row Permission needed or Thinking for minutes, and
a click asked Claude for a Desktop link it never had.

The hook now records such a session as a terminal session and names
the app whose terminal hosts it. The dead-runtime rule ends it with its
process, no Terminal or iTerm2 tab is searched for it, and a click
brings that app forward (or names it when the app is not running).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
swift test now builds with the Xcode build system, whose resource
bundle keeps the copied folder in Contents/Resources. The manifest
check looked only at the flat layout and failed on this Mac.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude Code 2.1.327 draws /usage as a tab of its settings panel that
ends with "Esc to close" and lists what used the limit. The probe
accepted only "Esc to cancel", waited until its deadline and reported
a timeout, so Claude limits stopped updating.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude Code stops a monitor at its deadline, 30 minutes at most. When
its expiry woke no turn, a session whose only background work was a
monitor stayed In background for the full hour Lunavect allows a pause.
Such a pause now lasts at most 31 minutes; commands and agents, which
have no deadline, keep the hour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a Mac whose menu bar is full (and has a notch) a test status item
can get no place on screen, and AppKit then attaches no popover. The
two checks failed there although the code they test was not involved.
They now skip with that reason; CI runners have room and still run them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude Code sends AskUserQuestion through the PermissionRequest hook. The
island now shows such a question with its options as buttons, one question
at a time (tick several and click Done where the question allows it), and
answers with the tool's input plus the chosen labels by question text, the
way Claude Code reads its own dialog. The socket line carries the answers as
JSON. Questions the island cannot show stay in the session, as before.

The card fits the question it shows, measured with its font, so the island
follows the questions one by one; after the answer the choice stays in view
with the outcome under it.

Checked live on Claude Code 2.1.327: clicks in the island gave the session
"Blue" and "S, L" ("Allowed by PermissionRequest hook").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Claude session that ends its reply while only a background timer runs
(a command that starts with its only `sleep N`, up to a day) now shows
"Wakes at 15:42" in the island and the panel instead of "In background".
The end is counted from the PostToolUse that started the command and
matched to Stop's background_tasks by Claude Code's task id, which is the
same in both (checked with Claude Code 2.1.327). Only the task id and the
end are stored, never the command.

The pause now lasts until the wake and five minutes more: a short timer no
longer keeps a session that never woke "In background" for an hour, and a
timer longer than an hour no longer drops a waiting session. Any other work
in flight may wake Claude sooner, so such pauses keep "In background".

Checked live: a session that ran `sleep 150` showed "Wakes at 16:26" and
its record turned ready at 16:26:35 with the time and timer cleared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The installed local build is 234, and Sparkle and the release preflight
need a build above it and above the published 219. The changelog takes
today's date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Newer SwiftPM runs each test bundle on its own, and each ends with its own
top-level suite. The report read only the last "Executed" line: the
intent resources gate saw the empty AwakeServiceTests bundle (0 tests)
after the one test that passed and failed the check, and the Swift stage
reported 24 tests instead of every bundle's. The counts now add up the
top-level suites; one suite, as before, is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lovach lovach mentioned this pull request Nov 18, 2026
2 tasks done
@lovach
lovach merged commit 58fce07 into main Nov 18, 2026
4 checks passed
@lovach
lovach deleted the claude/release-0.3.0 branch November 18, 2026 16:21
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.

1 participant