Skip to content

feat: bind local runtime CAF/ALS for Dropbox-style packages - #20

Merged
kody-bot merged 1 commit into
mainfrom
cursor/local-runtime-caf-als-bindings-76b5
Oct 2, 2026
Merged

kody-bot merged 1 commit into
mainfrom
cursor/local-runtime-caf-als-bindings-76b5

Conversation

@kentcdodds

Copy link
Copy Markdown
Owner

Summary

Pairs with platform kentcdodds/kody#2830, which rewrites stamped inlined kody:runtime onto a CapabilityProxy shim for Dropbox-style packages.

This CLI change:

  • Binds host createAuthenticatedFetch / secretHeaders / oauthClientCredentials on the local kody:runtime module (ad hoc CAF over the loopback bridge)
  • Enters Symbol.for('kody.runtimeStorage') ALS via __kodyRunInLocalRuntime before user import so published bundles that inline optional runtime exports see a populated store at module evaluation (defense in depth / cloud __kodyRunInRuntime parity)

Test plan

  • npm run validate (typecheck + tests + build) — 132 tests pass
  • CI green
  • Cursor Bugbot review addressed if any valid findings

Risk: medium (local execute runtime surface for stamped packages).

Open in Web Open in Cursor 

Pair with platform PR #2830: host createAuthenticatedFetch,
secretHeaders, and oauthClientCredentials over the CapabilityProxy
bridge, and enter Symbol.for('kody.runtimeStorage') ALS before user
import so inlined optional runtime exports see a populated store.

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@kentcdodds
kentcdodds marked this pull request as ready for review October 2, 2026 03:08
@kentcdodds

Copy link
Copy Markdown
Owner Author

bugbot run

@cursor

cursor Bot commented Oct 2, 2026

Copy link
Copy Markdown

Skipping Bugbot: Bugbot is disabled for this repository. Visit the Bugbot dashboard to update your settings.

@kody-bot
kody-bot merged commit 9f78276 into main Oct 2, 2026
5 checks passed
@kody-bot
kody-bot deleted the cursor/local-runtime-caf-als-bindings-76b5 branch October 2, 2026 03:09
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants