feat(connect): migrate @monad-inc/connect into embed + relicense Apache-2.0 (ENG-8646) - #2
Closed
andrewc-monad wants to merge 2 commits into
Closed
feat(connect): migrate @monad-inc/connect into embed + relicense Apache-2.0 (ENG-8646)#2andrewc-monad wants to merge 2 commits into
andrewc-monad wants to merge 2 commits into
Conversation
…he-2.0 (ENG-8646)
Move the self-contained host SDK from monad-inc/ui into this public repo:
- copy src/{index,protocol,lifecycle}.ts, README, USAGE, CHANGELOG, vitest config
- tsconfig extends ../../tsconfig.base.json
- ship Apache-2.0 LICENSE + NOTICE in the package (drop proprietary LICENSE.md)
- package.json: license UNLICENSED -> Apache-2.0; publishConfig access
restricted -> public + provenance: true; files now ships LICENSE/NOTICE/USAGE.md
(the stale LICENSE.md entry would have shipped a license-less tarball);
repo/homepage/bugs -> monad-inc/embed; drop redundant prepack
- eslint: no-explicit-any -> warn (SDK treats Monad API responses as untyped JSON)
- root: add "type": "module"
Verified: build, typecheck, test, lint (warnings only), prettier --check, and
npm pack --dry-run (LICENSE + NOTICE + dist + d.ts present, no LICENSE.md).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…kage resolution Single top-level "types" resolved index.d.ts (ESM-flavored) for the require condition, tripping TS1479 for CJS + moduleResolution:node16 consumers. Split into per-condition types (import -> index.d.ts, require -> index.d.cts, both already emitted by tsup). Verified resolving under Bundler, Node16 CJS, Node16 ESM. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
andrewc-monad
requested review from
brenth-monad
and removed request for
mattj-monad
June 17, 2026 16:55
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.
What
Migrates the self-contained
@monad-inc/connecthost SDK frommonad-inc/uiinto this repo, relicensed Apache-2.0 and ready for public npm. Stacked on #1 (ENG-8333 scaffold) — review/merge that first.packages/connect/src/{index,protocol,lifecycle}.ts+ README/USAGE/CHANGELOG/vitest config copied verbatim.tsconfig.json→extends ../../tsconfig.base.json.LICENSE+NOTICEship in the package; the proprietaryLICENSE.mdis not carried over.package.json:license:UNLICENSED→Apache-2.0publishConfig:accessrestricted→public,provenance: truefiles: now["dist","README.md","USAGE.md","CHANGELOG.md","LICENSE","NOTICE"]— the old staleLICENSE.mdentry would have shipped a license-less tarballmonad-inc/embed; dropped redundantprepack@typescript-eslint/no-explicit-any→warn(the SDK deliberately treats Monad API responses as untyped JSON viaMonadRequest); added"type": "module"at root.Verification
Next
ENG-8647 (CI + Changesets + OIDC publish) stacks on this.
🤖 Generated with Claude Code