Skip to content

chore: migrate to start-sdk 2.0 and refresh Readstr to upstream b3081df#2

Open
helix-nine wants to merge 1 commit into
mainfrom
next
Open

chore: migrate to start-sdk 2.0 and refresh Readstr to upstream b3081df#2
helix-nine wants to merge 1 commit into
mainfrom
next

Conversation

@helix-nine

@helix-nine helix-nine commented Jul 4, 2026

Copy link
Copy Markdown

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.

Upstream refresh (Readstr)

Readstr publishes no releases, so the upstream is pinned as the readstr/ git submodule tracking main (per UPDATING.md). Advanced the submodule 7299c5ab3081df; upstream's nominal version stays 0.1.0, so the StartOS revision remains 0.1.0:1 (a single release above main's 0.1.0:0) and the release notes now cover both this refresh and the SDK 2.0 update.

  • #87 Fix browser-extension read-state desync (includes a server feed-router change).
  • #88 Drop the :8444 port from the default extension web-app URL.
  • Compare: privkeyio/readstr@7299c5a...b3081df

No state migration is required (migrations.up stays a no-op, down stays IMPOSSIBLE).

Test plan

  • CI build is green (npm citsc → SDK lint → nccs9pk pack).
  • Install the built .s9pk (version 0.1.0:1) on a StartOS 0.4.0-beta.10 server.
  • Start the service; confirm the readstr-sub app and postgres-sub database subcontainers come up and the service reaches its health check and ui interface.
  • Log in over the ui interface via NIP-98 (Tor / .local / LAN hostname) to confirm NIP98_ALLOWED_HOSTS is populated.
  • Confirm Prisma migrations apply cleanly against the bundled PostgreSQL 16.
  • Create a backup and verify it is non-empty (Backups.withPgDump fix); restore it into a fresh install and confirm data returns.
  • Upgrade path: install a prior 0.1.0:0 build, then upgrade to this build and confirm data and config are preserved.

🤖 Generated with Claude Code

@helix-nine helix-nine changed the title chore: migrate to start-sdk 2.0 chore: migrate to start-sdk 2.0 and refresh Readstr to upstream b3081df Jul 4, 2026
Rebases `next` onto `main` after PR #5 merged, and collapses the branch to the
work that is actually still outstanding.

PR #5 independently did the Readstr submodule refresh this branch was carrying
(both landed on 985ab25) and released it as 0.1.0:1. So the submodule bump and
its release notes are now redundant here — the notes in particular would have
re-announced, under 0.1.0:2, the whole feature list (AI summaries, Nostr view
sync, OPML, smart views, reading history) that 0.1.0:1 already shipped. Dropped
both. The submodule is unchanged relative to main.

What remains, and all this version actually contains, is the start-sdk 2.x
migration: SDK 1.5.3 → 2.0.5, the accompanying source changes (main.ts,
interfaces.ts), the build plumbing moving to the SDK-shipped s9pk.mk and
tsconfig.base.json (dropping the vendored s9pk.mk), and the release notes
reduced to "Internal updates (start-sdk 2.0.x)" to match.

Also keeps this branch's CI fix rather than letting the rebase regress it: main's
workflows point at `start9labs/shared-workflows`, which is retired — the callers
here reference `Start9Labs/start-technologies` instead.

Verified: lockfile resolves start-sdk 2.0.5 with no nested stale copy and is at a
fixed point; `npm run check` (tsc --noEmit) green.
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