You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cut Stim 2.1.0 stable from main at 23a4906 (#6655 merged). It is a minor: since 2.0.0, main gained the self-updating Stim Host (#6611), the fseventsd helper (#6602), project plugin kinds with Android builds (#6610, #6631), the maintenance.cleanAutoDiscoveredDependencies setting (#6639) and the maintenance.discoverRoots -> maintenance.managedFolders rename (#6647). docs/releases/2.1.0.md is the changelog; every commit since v2.0.0 has an entry.
One thing for the reviewer: #6639 removed dependencyEdits from status --json. That field is not on the "no compatibility" list in stim guide api, so 2.0.0's "JSON payloads only gain fields" line does not cover its removal. The notes list it under Removed (breaking). The field was optional and is now never present.
Solution
Bump stim and @stim-cli/cache-s3 to 2.1.0 with pnpm run release:prep 2.1.0. licenses.json and the lockfile did not move.
Add docs/releases/2.1.0.md and reset docs/releases/unreleased.md to its heading, as the 2.0.0 version commit did.
The Stim Host pin is already 0.2.1 (#6629) and packages/server/host matches host-v0.2.1. PHONE_API (2) and DESKTOP_API (1) are unchanged since v2.0.0, and the FSEvents helper is unchanged.
Test plan
pnpm install --frozen-lockfile, pnpm run release:prep --check, node scripts/host-release-check.mjs (packages/server/host matches host-v0.2.1), pnpm run build, pnpm run format:check, and the built CLI's --help, guide agent and --version (2.1.0) pass.
Both pnpm-packed tarballs carry README and LICENSE. The CLI carries native/darwin/stim-fsevents and depends on cross-spawn7.0.6 exactly, with no @stim-cli/* runtime dependency. cache-s3 depends on stim2.1.0 with peer ^2.1.0. Neither has a workspace: range.
Real run of feat: a project plugin can declare an Android build that stim android runs #6631's plugin Android build with this build: a scratch home, a manifest-only plugin whose debug command is /bin/cp <signed apk> {output}. stim android --json booted an owned emulator, installed the APK and reported launched: true. That emulator is the fixture for the Android probe in test:compat.
Native compatibility (pnpm run test:compat): result in a comment below.
janicduplessis
added
ci-full
run the macOS, Windows, Desktop and license jobs on this pull request
area: docs
docs/ and root documents
area: repo
.github/, scripts/, test/, packaging/, patches/, root config
and removed
ci-full
run the macOS, Windows, Desktop and license jobs on this pull request
labels
Nov 29, 2026
packages/stim-cli/package.json and packages/cache-s3/package.json: 2.0.0 to 2.1.0, in lockstep. No other file needs the bump: apps/mobile/src/generated/licenses.json lists no published package version, and the lockfile records workspace links only.
docs/releases/unreleased.md: reset to its heading. Its four entries (two project plugin entries, cross-spawn, CRLF warm) all moved into 2.1.0.md.
Coverage: the 22 commits in v2.0.0..origin/main match the 22 full SHAs linked in the notes one for one. Every short SHA is a prefix of its link target.
Stim Host self-update:keepHostCurrent (packages/stim-cli/src/stimd/host-update.ts) runs once per stimd start, retries every 60 minutes, logs host_update_failed, and returns early when engine.autoUpdate is off. updateInstalledHostApp (packages/server/src/stim-host.ts) acts only on ~/Applications/Stim Host.app with an older version: it does not install on a Mac with no Stim Host and does not downgrade. Pinned version 0.2.1 at stim-host.ts:73. host-v0.2.1 exists and nothing under packages/server/host changed after it.
Helper and fseventsd:stim service install --helper advice, the kickstart command and label system/dev.stim.host.helper, and the Desktop copy ("2 GB of memory", fseventsd listed) all match the code. In stim-host-helper.c:183 the helper's memory figure is the larger of footprint and RSS, and from 9c2c3b5 it exits when its executable is replaced.
Project plugins: a plugin folder's validate refuses everything except android with a not-an-app problem, which stim start and the build commands raise as STIM_NO_PROJECT. stim plugin list, stim doctor and stim settings set plugins report manifest problems through plugin-refs.ts and settings-write.ts. The Android build has offload: null, refuses the cache, and targets only emulator. The machine setting plugins (absolute paths), status line project: ${name} (plugin ${package}), STIM_NO_PROJECT, the debug/release/output: "apk" shape, {root}/{output} as the only placeholders, PATH or absolute executable, .exe on Windows, and the five stim/plugin exports all match.
Dependency cleanup:maintenance.cleanAutoDiscoveredDependencies, default false, env STIM_MAINTENANCE_CLEAN_AUTO_DISCOVERED_DEPENDENCIES, and $STIM_HOME/rescued all match. dependencyEdits and dependency-installs no longer appear anywhere on origin/main.
Rename:maintenance.managedFolders with formerly: 'maintenance.discoverRoots' (compat C35). A set removes the old key at machine scope. Unset through the old name, and the report of the old key as not read in stim settings and doctor, match feat: rename maintenance.discoverRoots to maintenance.managedFolders #6647. --scope exists on settings set.
gc report:$STIM_HOME/gc/report-cache.json, a 15 minute budget, and the 6,617 to 2,685 git calls figure (from perf: gc reports ask git each question once #6627) all match. A first sweep answers pending, and phone machine.details reads the same entry. The swap label swap, N files in /System/Volumes/VM matches its test.
Issue links: each "Fixes" link matches the PR's closing issue.
No em dashes in the notes.
Version
2.1.0 (minor) is correct. npm latest is 2.0.0, and next holds only a -next. build, which RELEASE.md says to ignore. The release adds settings, a plugin kind and exports. Its one break is the removal of the optional dependencyEdits field from status --json, listed under "Removed (breaking)". No app in the repository read that field. No frozen surface changed.
For the maintainer
These items are in code already merged on main, not in this diff. I am naming them here rather than adding a label.
Breaking-change classification.docs/releases/2.1.0.md:11-12, under "New", describes two behavior changes that remove a protection, so cleanup now deletes data it used to keep: hand-edited node_modules and Pods, and git-ignored files that exist only in a worktree. The Migration notes cover both, and RELEASE.md defines a breaking change by its surface, so listing them under New is defensible. Whether they also belong under "Removed (breaking)" is your call.
docs/releases/2.1.0.md:21: the (stim) package tag on the cross-spawn line is redundant. RELEASE.md asks for a tag only when a line is not about the CLI.
Already on main, not in this diff: the engine.autoUpdate description in packages/core/state/settings-registry.ts (shown by stim settings) does not say it also gates the Stim Host update. website/docs/settings.md does.
The version commit's subject contains an em dash. It is not in the notes.
CI was still running when this review was written.
Native compatibility (pnpm run test:compat) on 9967009: 15 files passed, 1 skipped; 44 tests passed, 1 Windows-only skip. Setup: the designated test iPhone (STIM_COMPAT_IOS_UDID), agent-device source at v0.21.31 (f3d2619ab), the installed agent-device for the daemon probes, and emulator-5554 booted and owned by this build's stim android in a scratch home on a dedicated ADB server (port 5099), with TMPDIR set to that scratch directory.
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
area: docsdocs/ and root documentsarea: repo.github/, scripts/, test/, packaging/, patches/, root configreview: ai-approvedA fresh AI review found nothing left to fix
1 participant
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.
Description
Cut Stim 2.1.0 stable from
mainat 23a4906 (#6655 merged). It is a minor: since 2.0.0,maingained the self-updating Stim Host (#6611), the fseventsd helper (#6602), project plugin kinds with Android builds (#6610, #6631), themaintenance.cleanAutoDiscoveredDependenciessetting (#6639) and themaintenance.discoverRoots->maintenance.managedFoldersrename (#6647).docs/releases/2.1.0.mdis the changelog; every commit since v2.0.0 has an entry.One thing for the reviewer: #6639 removed
dependencyEditsfromstatus --json. That field is not on the "no compatibility" list instim guide api, so 2.0.0's "JSON payloads only gain fields" line does not cover its removal. The notes list it under Removed (breaking). The field was optional and is now never present.Solution
stimand@stim-cli/cache-s3to2.1.0withpnpm run release:prep 2.1.0.licenses.jsonand the lockfile did not move.docs/releases/2.1.0.mdand resetdocs/releases/unreleased.mdto its heading, as the 2.0.0 version commit did.node_moduleskeeps the source's file times, and the CRLF checkout made the install-input comparison fail. It covers any package manager, not only npm or pnpm. fix: pnpm's node_modules/.package-map.json no longer counts as a hand edit #6608 and fix: iOS build outputs in Pods and node_modules no longer count as hand edits #6620 refined the hand-edit check that feat: delete dependency folders without checking for hand edits #6639 then removed, so they are folded into the feat: delete dependency folders without checking for hand edits #6639 entry. fix: skip .docusaurus and .pnpm-store when comparing a finished worktree's ignored files #6646'signoredFilesHoldchange is likewise superseded by fix: treat git-ignored files in a linked worktree as disposable #6651; only its activity-scan part remains.The Stim Host pin is already 0.2.1 (#6629) and
packages/server/hostmatcheshost-v0.2.1.PHONE_API(2) andDESKTOP_API(1) are unchanged since v2.0.0, and the FSEvents helper is unchanged.Test plan
pnpm install --frozen-lockfile,pnpm run release:prep --check,node scripts/host-release-check.mjs(packages/server/host matches host-v0.2.1),pnpm run build,pnpm run format:check, and the built CLI's--help,guide agentand--version(2.1.0) pass.native/darwin/stim-fseventsand depends oncross-spawn7.0.6exactly, with no@stim-cli/*runtime dependency. cache-s3 depends onstim2.1.0with peer^2.1.0. Neither has aworkspace:range.debugcommand is/bin/cp <signed apk> {output}.stim android --jsonbooted an owned emulator, installed the APK and reportedlaunched: true. That emulator is the fixture for the Android probe intest:compat.pnpm run test:compat): result in a comment below.