Skip to content

Release 2.1.0 - #174

Merged
scttbnsn merged 53 commits into
mainfrom
dev/m2
Dec 3, 2026
Merged

scttbnsn merged 53 commits into
mainfrom
dev/m2

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Promotes dev/m2 to main for 2.1.0. This brings in the closed-lid helper fixes (#163), automation fixes (#165), menu quick actions (#164), diagnostics export and reset all settings (#166), the first-run card (#167), screen saver after idle (#170), review follow-ups (#171), the site pitch and copy cleanup (#168), MAS build 19 (#169), the changelog (#172) and the version prep (#173). The v2.1.0 tag gets cut from the merge commit.

…o sampling races in dilated-power

An obsolete session.utc.* sidecar that can't be deleted no longer aborts
finish-removal before `ok`, off before `ok`, or repair before the `reverted`
tombstone. drop_sidecars tries every sidecar and reports failure; only the
`on` install treats that as fatal, and it now fails cleanly ("failed", before
pmset) instead of exiting silently under set -e.

`check` reads the session identity before the record and again after the
sidecar, and repeats the read (up to five times) when a repeat `on` replaced
the session in between. Before, it could pair the new record with the old
generation's already-dropped sidecar and let the local-zone fallback judge a
live pid dead in another time zone.

`on` now samples local lstart, UTC lstart, then local again, and fails on a
mismatch, so a pid reused between the two ps calls can't pair two processes.

MASChannelPowerTests: startGated registers the holder in box.children right
after run(), so a throwing waitFor can't orphan it. New tests cover each
interleaving through the script's step hooks.

The drain's file-identity match not resolving a relative script path against
the target's cwd is not a real gap: the only launcher of `on` is
NSUserUnixTask, which runs the script by the absolute path under Application
Scripts, and ps doesn't expose a process's cwd, so resolving one would need
an lsof call per candidate in a path that has to stay inside the app's 3s
budget. Dropped, no change.

Updates the bundled copy and ClosedLidSetupAssets.expectedScriptSHA256 with
the script.
Link unfurlers, search snippets and LLM fetchers read the static HTML, which still said Version 1.0 while latest.json says 2.0.1. Description strings, the no-JS fallback copy and llms.txt are now version-neutral, and a discoverability test fails if a Version N.N string comes back.
… landing page

Adds a section after How it works covering lid-closed mode with its guards and the App Store companion, agent hooks, and triggers with Control Center and Why Awake. The Homebrew install command gets its own copy block in the availability section. The static hero label stays 'See download details' because an existing e2e check keeps pre-metadata labels from promising a download.
The banner opened the README before any description of the app. It now sits after Quick Start and carries only the recompile note; the closed-lid caveat already lives in Why Dilated and the roadmap.
Remove the unverified and waiver caveats from the site, README, release notes and Homebrew cask. The acceptance record and manifest fields are unchanged.
…drop an obsolete sidecar

A repeat on that failed to remove a stale session.utc.* sidecar deleted the
session file it had just written, returned failed without running pmset 0, and
left sleep disabled with no record for repair to act on. The obsolete sidecars
are now dropped before anything is written, keeping the earlier session's own
sidecar, so the earlier pair stays intact. A fresh enable with the same
obstruction still fails before pmset. A repeat enable that fails later keeps its
session instead of removing it.
fix(closed-lid): make obsolete sidecar cleanup non-fatal and close two sampling races in dilated-power
fix(automation): app-running trigger refresh, after-wake hold stacking and four smaller fixes
feat(menu): update available item, triggers submenu and while-an-app-runs holds
Resetting closed-lid limits cleared the closed-lid request through
applySettings, so a running hold silently lost closed-lid mode. The reset
now turns closed-lid off through the normal toggle path first, the hold
keeps running, and the confirmation says so when closed-lid is on.
feat(diagnostics): export a redacted diagnostics file and add reset all settings
feat(settings): first-run card with icon, clicks, login, agent hooks and closed-lid rows
feat(display): start the screen saver after idle while the display is held
fix: W2 review follow-ups for triggers, automatic starts and closed-lid coverage
chore(release): bump MASBundleVersion to 19 for the 2.x store build
feat(website): pitch closed-lid, agents and triggers, and drop the stale 1.0 metadata
docs(changelog): cover the dev/m2 work since 2.0.1
@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e7c67fc3-358a-45d7-a43f-a89174f9a608
Commits

Reviewing files that changed from the base of the PR and between 8796aa7 and d1531e8.

Files ignored due to path filters: 6

  • website/dist/app.mjs is excluded by !**/dist/**
  • website/dist/closed-lid-setup.html is excluded by !**/dist/**
  • website/dist/index.html is excluded by !**/dist/**
  • website/dist/llms.txt is excluded by !**/dist/**
  • website/dist/release.mjs is excluded by !**/dist/**
  • website/dist/styles.css is excluded by !**/dist/**
Files selected for processing: 55

  • .github/workflows/ci.yml
  • CHANGELOG.md
  • README.md
  • Sources/DilatedCLI/DilatedCommand.swift
  • Sources/DilatedControl/RunSafetySettings.swift
  • Sources/DilatedCore/WakeEngine.swift
  • Sources/DilatedSetupCore/ClosedLidSetupModels.swift
  • Sources/DilatedSetupCore/Resources/dilated-power
  • Sources/DilatedUI/AppModel.swift
  • Sources/DilatedUI/ApplicationDelegate.swift
  • Sources/DilatedUI/Automation/AppRunWatch.swift
  • Sources/DilatedUI/Automation/TriggerMonitor.swift
  • Sources/DilatedUI/Automation/TriggersSettings.swift
  • Sources/DilatedUI/Menu/AwakeMenu.swift
  • Sources/DilatedUI/Menu/MenuBarController.swift
  • Sources/DilatedUI/ScreenSaverController.swift
  • Sources/DilatedUI/Settings/DiagnosticsExport.swift
  • Sources/DilatedUI/Settings/FirstRunCard.swift
  • Sources/DilatedUI/Settings/HistorySettings.swift
  • Sources/DilatedUI/Settings/HoldSourceName.swift
  • Sources/DilatedUI/Settings/SettingsProfile.swift
  • Sources/DilatedUI/Settings/SettingsWindow.swift
  • Sources/DilatedUI/Updates/AppUpdater.swift
  • Tests/DilatedControlTests/RunSafetySettingsTests.swift
  • Tests/DilatedCoreTests/EngineTests.swift
  • Tests/DilatedCoreTests/MASChannelPowerTests.swift
  • Tests/DilatedUITests/AppModelTests.swift
  • Tests/DilatedUITests/AppUpdaterTests.swift
  • Tests/DilatedUITests/ClosedLidControllerTests.swift
  • Tests/DilatedUITests/DiagnosticsExportTests.swift
  • Tests/DilatedUITests/FirstRunCardTests.swift
  • Tests/DilatedUITests/FocusRuleTests.swift
  • Tests/DilatedUITests/MenuQuickActionTests.swift
  • Tests/DilatedUITests/RunningApplicationsObservationTests.swift
  • Tests/DilatedUITests/ScreenSaverControllerTests.swift
  • Tests/DilatedUITests/SettingsContentInteractionTests.swift
  • Tests/DilatedUITests/SettingsProfileTests.swift
  • Tests/DilatedUITests/TriggerRowControlsTests.swift
  • Tests/ReleaseTests/test_cask.py
  • Tests/ReleaseTests/test_stage_release.py
  • docs/AUTOMATION.md
  • docs/INSTALLATION.md
  • docs/RELEASING.md
  • packaging/ReleaseNotes.txt
  • packaging/Version.plist
  • packaging/mas/dilated-power
  • scripts/stage-public-release.py
  • scripts/swift-test.sh
  • scripts/verify.sh
  • website/README.md
  • website/e2e/site.spec.mjs
  • website/tests/discoverability.test.mjs
  • website/tests/pitch.test.mjs
  • website/tests/release.test.mjs
  • website/vercel.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Promotion of reviewed dev/m2; ship.

@scttbnsn
scttbnsn merged commit 20f8967 into main Dec 3, 2026
13 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