Migrate to StartOS SDK 2.0.5 - #1
Merged
Merged
Conversation
Bump @start9labs/start-sdk 1.5.3 -> 2.0.5 and typescript -> 6.0.3, and
collapse tsconfig.json onto the SDK's tsconfig.base.json (ES2022, module
preserve, moduleResolution bundler).
Two 2.0 breaking changes reach this package:
- sdk.serviceInterface.getOwn is removed. getNonLocalUrls now goes through
sdk.host.getOwn, walking host.bindings[port].interfaces to the 'ui'
interface; addressInfo arrives pre-filled. Note the host id is the
MultiHost id ('ui-multi'), not the interface id.
- SubContainer.of() is now lazy and synchronous, so the await is dropped;
.rootfs is a promise on the lazy handle and is awaited at both writes.
It materializes with the declared mounts, so the /data volume mount is
unchanged.
Bump the packaging revision 2026.6.30:0 -> :1. No data migration, so
current.ts is edited in place rather than spun off into a new version file.
CI: drop the "Pin start-cli v0.4.0-beta.9" step from both workflows. It
existed only because the package was SDK 1.5.3, and that CLI cannot pack a
2.0.5 package -- leaving it would have broken the release build. build.yml
returns to the shared Start9 reusable workflow, which it was inlined away
from solely to host that pin.
Verified: tsc, ncc and s9pk pack (x86_64 + aarch64), plus device-testing of
fresh install, in-place upgrade from :0, sessions/timeline, primary URL and
Basic Auth, and both critical-task branches.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.
Migrates the package from SDK 1.5.3 to 2.0.5 and cuts packaging revision
2026.6.30:0→:1.SDK changes
Two 2.0 breaking changes reach this package:
sdk.serviceInterface.getOwnremoved.getNonLocalUrlsnow goes throughsdk.host.getOwn, walkinghost.bindings[port].interfacesto the'ui'interface;addressInfoarrives pre-filled. The host id is the MultiHost id ('ui-multi'), not the interface id.SubContainer.of()is now lazy and synchronous. Theawaitis dropped at all three call sites;.rootfsis a promise on the lazy handle and is awaited at both writes. It materializes with the declared mounts, so the/datavolume mount is unchanged.Plus
typescript→ 6.0.3 andtsconfig.jsoncollapsed onto the SDK'stsconfig.base.json.CI
Dropped the
Pin start-cli v0.4.0-beta.9step from both workflows. It existed only because the package was SDK 1.5.3, and that CLI cannot pack a 2.0.5 package — leaving it in would have broken the release build.build.ymlreturns to the shared Start9 reusable workflow, which it had been inlined away from solely to host that pin. Both workflows are now identical to bentopdf's, which already releases green on 2.0.5.Verification
tsc,ncc, ands9pk packgreen on both x86_64 (37M) and aarch64 (35M):0, sessions + timeline load, primary URL (install default, Set Primary URL action, survives restart), Basic Auth end to end, and both critical-task branches (all sessions removed; primary URL's address removed)🤖 Generated with Claude Code