Repository navigation
fix: dev.openab.computer as the default LaunchAgent label and names - #186
Closed
chaodu-agent wants to merge 8 commits into
Closed
chaodu-agent wants to merge 8 commits into
chaodu-agent wants to merge 8 commits into
Conversation
Macmini installs use label dev.openab.computer and the token ~/.config/oab-computer/token. Update the macOS install, token and LaunchAgent references in the docs to those names. Each changed doc keeps one legacy note with the pre-rename label, program directory and token path. Changed files: - README.md - docs/releasing.md - docs/requirements/authn.md Verification: - git diff --stat: only the three *.md files above, no non-doc paths. - grep for the old names (*.md, excluding .agents/.build/.git/.worktrees): remaining hits are the three legacy notes plus open points (Linux docs, pw-mcp sub-label, state/log/switchboard paths, bundle id text, code paths). Code at HEAD still installs dev.openab.instance-mcp. - No code, scripts, or the bundle id changed. Nothing compiled.
- README: title and rename note say the command and app are oab-computer (oab-computer.app ships in v0.12.0); the old claim that the executable keeps the oab-instance-mcp name is removed. The bundle id note now states that HEAD scripts use dev.openab.instance-mcp while v0.12.0 ships dev.openab.computer. - README (macOS download step, pkg artifact) and docs/releasing.md (artifact table, example release command): oab-computer-VERSION-universal.pkg and .app.zip, matching gh release view v0.12.0 assets. Checks: no build or test run (docs only). grep for executable names in the two files: README line 259 'oab-computer --token-file', line 348 '/path/to/oab-computer.app/Contents/Resources/install-prebuilt.sh'. Remaining oab-instance-mcp hits are the Linux tarball names, the logs path, the switchboard config path, and the HEAD SwiftPM target paths, all left as-is.
- install-prebuilt.sh: LABEL=dev.openab.computer; program dir ~/.local/oab-computer; app oab-computer.app; token ~/.config/oab-computer/token. Legacy install (dev.openab.instance-mcp, ~/.local/oab-instance-mcp, ~/.config/oab-instance-mcp/token): bootout and remove its plist, and move its token to the new path when the new path is empty. - pkg/postinstall: chown the new per-user paths and the new plist; legacy paths stay in the list. - test-packaging.sh: expected install dir, plist label, token path, and the postinstall grep follow the new names. Its bundle id assertions still expect dev.openab.instance-mcp. - deploy.sh: no change needed; it delegates to install-prebuilt.sh. - Bundle id unchanged (dev.openab.instance-mcp) in scripts and tests. Open: v0.12.0 ships dev.openab.computer. Checks: bash -n on install-prebuilt.sh, pkg/postinstall, test-packaging.sh (syntax only). Did not run test-packaging.sh (needs macOS pkgbuild/installer; run in the test step). No compile.
The app bundle's executable (Contents/MacOS) and CFBundleExecutable are now oab-computer, matching the shipped v0.12.0 bundle and the live install. The bundle id and .app file name stay oab-instance-mcp (#63). Updates the assembler, installer ProgramArguments and executable check, pkg payload check and release verification to the new path. Not run on this host; verified on macmini in the follow-up test commit.
…name Checks the installed bundle's base name is oab-computer and that Contents/MacOS/oab-computer is executable. The localized display name check is removed here and tracked in a separate issue. Paths for the executable are updated to match the rename in fd80257. Verified on macmini in the next step.
The packaging test wrote switchboard.url into ~/.config/oab-instance-mcp without creating it. Nothing else creates that directory in the test's HOME, so the write failed. Found on macmini; the earlier display-name failure hid it.
On this macOS (macmini), pkgbuild --analyze does not emit BundleIsRelocatable, so the unconditional PlistBuddy Set failed. The script now skips the edit only when the key is absent, and prints a WARNING that the relocatable setting was not applied. Open point: the relocatable setting is not enforced on such macOS releases; the package test still checks PackageInfo for <relocate>.
Contributor
Author
|
Closing in favour of #187. This branch was built on the 0.10.1 tree (3a70be9). main already contains the rename it carried: label |
chaodu-agent
added a commit
that referenced
this pull request
Nov 29, 2026
…kg (#187) pkgbuild --analyze on some macOS releases omits BundleIsRelocatable, and the old `Set :0:BundleIsRelocatable false` then failed. package-pkg.sh now: - fails (exit 70) when --analyze lists no :0 bundle at all; - Sets the key to false when present, Adds it as bool false when absent; - expands the built pkg and fails (exit 70, pkg removed) if PackageInfo lists a <bundle> under <relocate>. release.yml calls this script but not test-packaging.sh, so the release job now gets the v0.6.0 guard too. Replaces #186, whose rename work main already ships in v0.12.0 (#117). Verified on a macOS build host from a clean `git archive` of this tree (80659ef), rsynced into the verify directory: - swift build: exit 0 - swift test: exit 0, 856 XCTest tests, 5 skipped, 0 failures - bash scripts/smoke.sh .build/debug/oab-computer: exit 0 - bash scripts/test-packaging.sh .build/debug/oab-computer: exit 0 ("packaging smoke: OK (0.12.0)") Co-authored-by: chaodu-agent <274062505+chaodu-agent@users.noreply.github.com>
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.
Makes
dev.openab.computerthe default LaunchAgent label and aligns the executable, bundle and pkg names with the v0.12.0 release (oab-computer).Commits
dev.openab.computeras the default LaunchAgent label.oab-computer, matching the v0.12.0 release.dev.openab.computerLaunchAgent and installs under~/.local/oab-computer.oab-computer.package-pkg.shskips the BundleIsRelocatable edit, with a WARNING, whenpkgbuild --analyzedoes not emit the key.Verification
Run on a Mac from a clean
git archive 1d41300export:swift build: exit 0scripts/test-packaging.sh .build/debug/oab-instance-mcp: exit 0swift test: exit 0 (264 tests, 0 failures)Related issue
Display name issue: #185 (#185)
Open points
dev.openab.computer, but this branch keepsdev.openab.instance-mcpin the scripts and tests. The bundle id moves TCC grants, so it is a pending decision.pkgbuild --analyzeemits no BundleIsRelocatable key, so package-pkg.sh does not apply that setting there and prints a WARNING.