Conversation
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/sdk@0.8.48-pr.283.2de4c8aPrefer not to change any import paths? Install using npm alias so your code still imports npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.48-pr.283.2de4c8a"Or add it to your {
"dependencies": {
"@base44/sdk": "npm:@base44-preview/sdk@0.8.48-pr.283.2de4c8a"
}
}
Preview published to npm registry — try new features instantly! |
This was referenced Sep 14, 2026
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.
Summary
Add
@base44/sdk/platform/serverto the existing npm package for provisioning users and managing their apps. Move the reusable implementation from starter PR #30 intoplatform-src/server, with a separate declaration-emitting build underdist/platform/server.asUser, token lifecycle behavior, and projected public responses..js; declaration mappings also support legacy Node resolution.Testing
npm run test:types— passed, including platform examples and negative type assertions.npm run test:unit— 320 tests passed, including 19 platform contract/documentation tests.npm run test:package— both builds and seven tarball checks passed: entry points, legacy deep imports, entry-point isolation, and NodeNext/Bundler/Node declaration resolution.npm run lint,npm run docs:platform, andgit diff --check— passed.Intent (for reviewers & PR Autofix)
What this PR does
Ship the platform client as a separate server entry point in the existing SDK package. Documentation and typed contracts are first-class parts of the API.
Key decisions & why
platform-srcand compilation preserve the runtime layout and keep the entry points independent.What NOT to touch
Tradeoffs / follow-ups