Repository navigation
feat: simplify and execute vendor refresh - #6
Merged
Merged
Conversation
Vendored Mini SDK refresh complete previous: e5a57d82556d787d0c3be677b32b7ac02f93c65a current: 4e5e473c834535699553ede6b9c4923eef443d96
There was a problem hiding this comment.
Pull request overview
Updates the vendored upstream Mini SDK artifact and adds a one-command workflow to refresh and verify the vendor directory, aligning this repository’s public SDK boundary with a newly pinned upstream commit.
Changes:
- Vendored upstream update to Mini commit
4e5e473c834535699553ede6b9c4923eef443d96(updatedvendor/upstream/**+manifest.json). - Added
scripts/refresh-upstream.mjs(+ tests) and wired it intopackage.jsonasnpm run refresh:upstream. - Documented the new refresh workflow in
AGENTS.mdandRELEASING.md.
Upstream commit pinned in this PR: 4e5e473c834535699553ede6b9c4923eef443d96 (per vendor/upstream/manifest.json).
Verification commands actually run in this review: none.
Reviewed changes
Copilot reviewed 5 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| vendor/upstream/sdk/partner.d.ts | Updates partner management types; introduces shared Partner detail reader types. |
| vendor/upstream/sdk/otc/swap.d.ts | Updates Swap types/repair input; removes SwapClient.export() from declarations. |
| vendor/upstream/sdk/otc/rates.d.ts | Adds RatesClient.health() to declarations. |
| vendor/upstream/sdk/otc/index.d.ts | Extends OTC subscription options with optional eventTypes. |
| vendor/upstream/runtime.mjs | Updates runtime behavior for event subscriptions, OTC subscribe filtering, rates health, partner detail coalescing, and removes swap export implementation. |
| vendor/upstream/manifest.json | Pins new upstream commit and artifact SHA256. |
| vendor/upstream/core/types/pay.d.ts | Adds invoice payment fields (lightningInvoice, onChainAddress). |
| vendor/upstream/core/types/agent.d.ts | Adds SwapRepairAction enum for typed repair actions. |
| test/refresh-upstream.test.mjs | Adds tests for refresh script option parsing and declaration-removal reporting. |
| scripts/refresh-upstream.mjs | New one-command vendor refresh workflow (fetch/resolve ref, worktree build, vendor, verify, report removals). |
| RELEASING.md | Documents the refresh workflow and review checklist for vendored updates. |
| package.json | Adds refresh:upstream npm script entrypoint. |
| AGENTS.md | Updates contribution guidance to prefer the one-command vendor refresh workflow. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
No description provided.