Skip to content

Move to StartOS 0.4.0 (start-sdk 1.5.3)#1

Merged
kwsantiago merged 6 commits into
masterfrom
update/040
Jun 12, 2026
Merged

Move to StartOS 0.4.0 (start-sdk 1.5.3)#1
kwsantiago merged 6 commits into
masterfrom
update/040

Conversation

@kwsantiago

Copy link
Copy Markdown
Contributor

Rewrites the package for StartOS 0.4.0, bringing it up to @start9labs/start-sdk 1.5.3 and the current packaging conventions (modeled on nostr-rs-relay-startos).

What changed

  • SDK 1.5.3 (was 0.4.0-beta.44). Restructured to current conventions: manifest/ split, versions/current.ts, i18n/, fileModels/.
  • Build from source, pinned to wisp v0.2.2. The Dockerfile clones the tagged release and runs zig build; the old git submodule and the obsolete noscrypt-zig step are removed.
  • Configuration via Actions writing a wisp.toml file model (no hand-editing):
    • configure-info — NIP-11 relay metadata + NIP-42 relay URL
    • configure-spider — wisp's Spider sync (enable, your pubkey, source relays, follows, interval)
    • configure-limits — connection/rate/size limits + min PoW
    • configure-access — NIP-42 auth, IP allow/block lists, NIP-86 management pubkeys
    • Pubkey fields accept npub or hex (npub decoded to hex before writing).
  • Websocket interface on 7777 (ws, Tor + LAN); health check via port-listening.
  • Volumes: main (LMDB at /data/wisp, MDB_NOSUBDIR) and config (wisp.toml); both backed up.
  • CI: switched to start9labs/shared-workflows (build / release / tagAndRelease).
  • Added the standard doc set: README.md, instructions.md, CONTRIBUTING.md, UPDATING.md, AGENTS.md.

Validation

  • tsc --noEmit and ncc build pass.
  • Clean --no-cache Docker build (plain zig build, no dependency workaround) succeeds for wisp v0.2.2.
  • Smoke test: the image boots, logs Wisp v0.2.2 starting, and listens on 7777 with the package's mount layout.
  • npub decoder verified against the canonical NIP-19 test vector.

Related

Depends on upstream fixes now released in wisp v0.2.2: privkeyio/wisp#61 (pin the floating websocket dependency) and privkeyio/wisp#62 (version bump).

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@kwsantiago, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 9 minutes and 44 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9300b17c-0f45-4953-8b67-9b6cc28a6cfb

📥 Commits

Reviewing files that changed from the base of the PR and between 8c760d7 and bf48a58.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (48)
  • .dockerignore
  • .github/workflows/build.yml
  • .github/workflows/buildService.yml
  • .github/workflows/release.yml
  • .github/workflows/releaseService.yml
  • .github/workflows/tagAndRelease.yml
  • .gitmodules
  • AGENTS.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • Dockerfile
  • Makefile
  • README.md
  • TODO.md
  • UPDATING.md
  • docker_entrypoint.sh
  • docs/README.md
  • docs/instructions.md
  • instructions.md
  • noscrypt-zig/build.zig
  • noscrypt-zig/build.zig.zon
  • package.json
  • s9pk.mk
  • startos/actions/access.ts
  • startos/actions/index.ts
  • startos/actions/info.ts
  • startos/actions/limits.ts
  • startos/actions/spider.ts
  • startos/backups.ts
  • startos/fileModels/README.md
  • startos/fileModels/wisp.toml.ts
  • startos/i18n/dictionaries/default.ts
  • startos/i18n/dictionaries/translations.ts
  • startos/i18n/index.ts
  • startos/index.ts
  • startos/init/index.ts
  • startos/init/seedFiles.ts
  • startos/install/versions/index.ts
  • startos/install/versions/v0.1.0.0.ts
  • startos/interfaces.ts
  • startos/main.ts
  • startos/manifest.ts
  • startos/manifest/i18n.ts
  • startos/manifest/index.ts
  • startos/utils.ts
  • startos/versions/current.ts
  • startos/versions/index.ts
  • wisp
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update/040

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kwsantiago kwsantiago merged commit 6018773 into master Jun 12, 2026
2 checks passed
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