2 Commits
Author SHA1 Message Date
Aleksander DygońandClaude Opus 5.5 03c2ff34c2 Remove code comments and add the no-comments rule (#12604)
* 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>
2026-11-19 12:19:28 +01:00
NB c16ffdbda8 Show a desktop on the agent display of a server (#9485)
* Show a desktop on the agent display of a server

Remote desktop on a cloud server, a self-hosted server and the Docker
image showed an empty white screen. Windows had no title bar, and a click
did not move the keyboard focus.

openbot-desktop now starts Openbox on the agent display. It draws a dark
background with the OpenBot logo, gives windows title bars, and opens a
menu (Terminal, Files, Windows) on a right-click on the empty screen.
Openbox binds only Alt+Tab, Alt+Shift+Tab and Alt+F4, so all other input
goes to the window. The boat desktop does not change.

* Keep the agent display desktop below main and open its menu from a title bar

- Openbox and the programs of its menu get the OOM value 500 and nice 10 of agent processes.
  Before, they kept the OOM value -500 of openbot.service.
- The menu programs start in the home folder. Openbox does not expand "~" after "=".
- A right-click on a title bar opens the main menu, so the menu opens while a window is maximized.
- The Linux package check requires openbot-desktop and the desktop files.

* Allow the agent display logo in the image asset check
2026-11-14 16:06:36 +01:00