Repository navigation
office: a Devin session's desk shows its own mark and name, and done's hint says a day, as on the board - #24
Open
connorburgess wants to merge 1 commit into
Conversation
…s hint says a day, as on the board The office keeps a copy of the GUI's harnessMark. The GUI has since added Devin (De, hue 20) and Grok Build (Gb, hue 168) and initials a one-word unknown name with its first two letters (goose -> Go). The office copy lacked all three, so a Devin desk showed "D", the raw id "devin" and a hashed hue. The ACP registry labels the GUI adds at runtime stay out: the office has no such list. The done hint said "silent for six hours"; the GUI's hint and DONE_AFTER_MS say a day. A node:test file for src/format.ts pins both to the GUI's values. Signed-off-by: Connor Burgess <connorburgesscodes@gmail.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
@sessionpipe-gui/theme-office,packages/office/src/format.ts: the office's copy of the GUI'sharnessMarkcatches up with the GUI'sweb/src/lib/format.ts, and the done hint says a day.devinand a hue hashed from the name (354). Grok Build gets the GUI's Gb / Grok Build / 168 the same way.goose→ Go, was G). Names with several parts still get their initials (qwen-code→ Qc).DONE_AFTER_MS = 24 * 3600_000inpackages/shared-types/api.ts.The GUI also labels names from the ACP registry at runtime (
MORE_LABELS/addHarnessLabels). The office has no such list, so that part is left out, and the comment onharnessMarksays so. Nothing else changes:Worker.tsx,IsoCell.tsxandRoom.tsxread only.glyphand.label, every known harness already had two letters, and no other package keeps a copy ofharnessMarkor the six-hours hint. README.md and DESIGN.md don't mention six hours.Why
Devin is one of the harnesses sessionpipe hooks, and the GUI has shown its own mark since 0.4.0. In the office, a Devin desk was still labelled with the raw id. The six-hours hint went out of date when the GUI moved done to a day of silence.
Proof
packages/officehad no tests. This addstest/format.test.mjs(node:test, no new dependency, the samenode --test test/*.test.mjsscript asplugin-ping-a-human) and atestscript, so the rootnpm testruns it. It importssrc/format.tsdirectly, which needs Node 22.18 or newer to strip the types. CI uses.nvmrc(22), so it qualifies, but on an older Node 22 or on Node 20 (which rootenginesstill allows) this test fails to load the file.The same test against origin/main's
format.tsfails 3 of its 5 cases:On this branch:
Checks run on Node v22.23.2, on this branch and on unmodified origin/main (d92e06a):
npm cinpm run buildnpm run typechecknpm run lintoffice.css:801,office.css:844,plugin-ping-a-human/src/index.ts:225)npm testThe canvas Playwright failures have nothing to do with this change and fail the same way on origin/main: this machine lacks the Chromium headless shell (
browserType.launch: Executable doesn't exist at ~/Library/Caches/ms-playwright/chromium_headless_shell-1248/...). The ping-a-human (12 pass) and color-themes checks pass on both.No screenshot: this changes only two letters, a name and a hue on a desk, plus one hint sentence. Not run: the office in a live GUI, and Windows.
Checklist
git commit -s): the DCO is the only paperwork.npm run typecheck && npm run lint && npm run build && npm testpass, except canvas's Playwright tests, which fail the same way on origin/main (see above).// SPDX-License-Identifier: Apache-2.0; anything bundled from a third party is inTHIRD_PARTY_NOTICES.mdandNOTICE.CHANGELOG.mdif a person would notice. A person would notice, so this needs one. I will add it in a follow-up commit once my open pull requests that editCHANGELOG.mdland, so they do not conflict there, as in my earlier pull requests. The line will be: "@sessionpipe-gui/theme-office: Devin and Grok Build desks show the GUI's mark and name, an unknown one-word harness gets two letters, and the done hint says a day."