* Remove code comments and add the no-comments rule
Remove the comments from first-party code and configuration files:
TS/JS, JSX, CSS, SQL migrations, Swift, Kotlin, Gradle, shell,
Docker, systemd, Nix, YAML, TOML, JSONC and GritQL.
Keep only what a tool reads: license headers, shebangs, compiler
and lint directives, JSDoc types in plain .js files, generated file
headers, GritQL scope lines, the install-server.sh help text and the
openbot-boat-pre-stop marker. Vendored code, fixtures and released
schemas keep their comments.
Add the rule to AGENTS.md, and change the docs that asked for
comments. Add two i18n keys that only comments named to
RELEASED_SOURCE_KEYS.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Keep comments that are data in strings
The benchmark task files in opencode-free-models-bench.ts tell the
model what each function must do. The sample file and HTML page in
the two stories are display content. Put their comments back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Keep released migrations and mobile native inputs unchanged
check:migrations compares each released migration with v0.73.0 byte
for byte, so restore src/backend/migrations. A change to a native
build input of apps/mobile makes a new runtime version, so restore
those files and the extra fingerprint sources.
List these files and the comment markers that a tool reads in
AGENTS.md. Remove the last requests for comments in
src/renderer/AGENTS.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Let the user run their own provider CLI again after an update
An update starts OpenBot's newer copy of a provider CLI, and later
starts keep that copy while it is newer than the CLI the user
installed. A launcher of the user's, such as a pi script that sets
PI_CODING_AGENT_DIR to a profile with its own models, then no longer
ran, and those models were gone with no message and no way back.
The provider's Runtime section now offers "Use installed version"
while OpenBot's copy runs and the user's CLI exists. The choice is
saved in openbot-provider-use-v1.json, the user's CLI then runs also
when the copy is newer, and the provider restarts when its turns end.
"Use OpenBot's version" goes back, and an update ends the choice. The
update offer compares the release with the newer of the two CLIs, so
a copy that is already the newest offers nothing.
Fixes#6327
* Use the chosen Codex CLI to sign in, and keep the provider file readable
The Codex sign-in and the API key save now resolve the CLI with the
user's choice, so they run the same CLI as the provider. The store
reads the installed list as strings and drops the providers that it
does not know, so a file from a later release keeps its off list.
Fixes#6327
* Do not export the CLI choice parser, which only its file uses
Fixes#6327
* Make OpenBot start faster and start the provider of your chats first
Load the settings in one batch and copy the three skill sets together.
Do not rewrite a skill file that did not change.
Do not wait for the removal of old provider CLI versions.
At launch, start the preferred provider first, then the others two at a time.
* Run the ready hook only after all launch providers have a client or a failure
The ready hook settles the turns that a restart left open. After the first
provider it recorded a turn of a provider with no client yet as interrupted.
A turn that joins the launch start no longer waits for the model catalogue.
* Run the ready hook one time at launch and start only a provider that can start first
A launch with one provider reads the model catalogue before the start ends.
The first provider is one that is not off and not stopped.
* Use the installed provider CLI and keep one downloaded version
A provider now runs the CLI on PATH when it is the same version as
OpenBot's copy or newer. An update still downloads and starts a newer
copy. The store keeps one version of each CLI, and Server settings >
Storage can remove the copies that no agent uses: those of providers
that are off or that run the installed CLI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Fix review findings for the installed provider CLI
- Codex sign-in and API key save pick the installed CLI as other
paths do.
- The CLI on PATH and OpenBot's copy are probed at the same time.
- When the installed CLI goes away, main stamps the copy again, or
reads the store again when a sibling collected it.
- Remove the unused oldVersions method.
- The Storage text no longer says that old versions are always there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Remove the downloaded CLI of a provider that is off (#3321)
A provider that is off now offers Remove download on its Settings page,
with the space it frees. It removes every downloaded version of that CLI
and this profile's partial downloads. Accounts, sign-ins and agents stay.
The manager does not stamp the versions of a provider that is off. It
remembers its own last stamp, so its stamps from before the user turned
the provider off do not keep the CLI; a later sibling stamp still does.
Pi counts as in use while a key-only provider that runs on it is on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Show the removable download in a Download section
The page of a provider that is off now has a Download section. It names
the CLI with its version, the number of versions and their size, and asks
for the removal in place, with no dialog. After the removal it reads Not
downloaded. The measure call returns the number of versions too, and is
named measureDownload.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Stamp a provider CLI that this instance activates
An install leaves the version directory with a time that no stamp
recorded. Remove download then took a CLI that this instance downloaded
in the same session as stamped by another instance, and kept it. The
activation now stamps the version, as the start already does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Make Remove download safe when files are held or the app stops
- Move each version aside before the delete. A version that a program
holds stays whole, and the removal reports that it did not finish.
- Wait for a running removal at stop and before Pi is resolved for a
key-only provider.
- Read the store again when a provider is turned on and its version is
gone, because a sibling can collect a version that is not stamped.
- Show the list row as Off again. Show Not downloaded only after a
removal on the page, because an off provider can use the user's CLI.
- Measure the download once after a removal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Stamp the version of a provider at once when it is turned on
A provider that is off is not stamped. When the user turned it on, the
next stamp came only with the hourly check, and a sibling could collect
the version in that time. The change of provider use now stamps the
version of each provider that is in use.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>