feat: add slim cross transport reference application - #241
Open
hackeramitkumar wants to merge 3 commits into
Open
feat: add slim cross transport reference application#241hackeramitkumar wants to merge 3 commits into
hackeramitkumar wants to merge 3 commits into
Conversation
Signed-off-by: amitami2 <amitami2@cisco.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Tehsmash
approved these changes
Jul 31, 2026
…ative bindings Signed-off-by: amitami2 <amitami2@cisco.com>
Signed-off-by: amitami2 <amitami2@cisco.com>
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
Adds slim-cross-transport, a reference demo in
agentic-appsthat shows SLIM messaging across WebSocket and gRPC on a single dual-transport node. Browser participants use@agntcy/slim-bindings-react-nativeWASM bindings; native Rust clients join over WebSocket and gRPC.slim-bindings/react-native(manual WASM build; not on npm yet)slim-bindings/react-native/examples/browser(createAndConnectApp,setRouteAsync,service.disconnect, etc.)Taskfile.yamlfor the SLIM node, four native clients, WASM build, and UIWhat’s included
slim-cross-transport/src/common.tssrc/session-common.tsconfigs/:46357ws,:46358grpc) + native client configsscripts/browser-invite-smoke.mjsPrerequisites (documented in README)
Sibling checkouts required:
Bindings must be built locally before running the UI:
Test plan
agentic-apps,slim, andslim-bindingsas siblingscd slim-bindings/react-native && npm run build:webcd agentic-apps/slim-cross-transport && npm installtask nodetask native:grpc-1,native:grpc-2,native:ws-1,native:ws-2task ui→ open http://127.0.0.1:5173/browser-b,native-ws-1,native-grpc-1node scripts/browser-invite-smoke.mjs(with UI running)