Skip to content

chore: migrate to start-sdk 2.0#17

Open
MattDHill wants to merge 3 commits into
masterfrom
next
Open

chore: migrate to start-sdk 2.0#17
MattDHill wants to merge 3 commits into
masterfrom
next

Conversation

@MattDHill

Copy link
Copy Markdown
Member

start-sdk 2.0 migration

Migrates this package to @start9labs/start-sdk 2.0 (requires StartOS 0.4.0-beta.10).

Changes

  • SDK pin → 2.0.1, TypeScript → ^6, tsconfig.json extends the shipped tsconfig.base.json, Makefile includes the SDK's s9pk.mk (vendored copy removed), reusable CI workflows repointed to Start9Labs/start-technologies.
  • 2.0 API migrations as applicable: sdk.serviceInterface.*sdk.host.* resolved over the LXC bridge, lazy SubContainer, alerts manifest field removed, and other ### Changed / ### Removed items from the SDK 2.0 changelog.
  • Downstream revision bump with release notes; package docs brought onto the current packaging-guide convention.

Test plan

  • CI build is green (npm citsc → SDK lint → nccs9pk pack).
  • Install the built .s9pk on a StartOS 0.4.0-beta.10 server.
  • Start the service; confirm it reaches its health check and primary interface.
  • For dependents: confirm it connects to its dependency over the LXC bridge.

🤖 Generated with Claude Code

MattDHill and others added 3 commits July 3, 2026 18:39
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F5qZh4QiVySBLkV5ya7XSr
Dependents (open-webui) resolve this service over the LXC bridge via
sdk.host.get and need the host id as an importable constant (issue
start-technologies#3407).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PpJxhk25X42WTafMdkUx6t
Bumps @start9labs/start-sdk 2.0.1 -> 2.0.3 (dependency and lockfile only).

- 2.0.3 fixes a dependency-gated daemon wedging permanently after its
  dependency's readiness flaps: Daemon.term() unconditionally destroyed the
  daemon's SubContainer, so the next start() threw "already destroyed" and the
  daemon never recovered. Adds a non-destroying Daemon.stop() for
  dependency-driven pauses, and serializes pause/resume transitions.
- 2.0.2 runs s9pk.mk's check-deps before packing, not just before install.

No packaging API changed between 2.0.1 and 2.0.3, so no source changes were
needed. Verified with `npm run check` (tsc --noEmit).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant