feat: add SLIMRPC transport support - #18
Draft
Tehsmash wants to merge 1 commit into
Draft
Conversation
Add --transport slimrpc backed by github.com/agntcy/slim-a2a-go, the Go reference implementation of the experimental SLIMRPC custom protocol binding (https://github.com/a2aproject/experimental-cpb-slimrpc). The implementation is CGO-gated: slim.go (cgo build tag) wires up the SLIM runtime; slim_nocgo.go returns a clear error when CGO is disabled. New flags (all used only with --transport slimrpc): --slim-endpoint SLIM node endpoint --slim-local-name local SLIM identity (org/ns/app) --slim-identity-provider-type identity provider type (sharedSecret) --slim-identity-provider-shared-secret shared secret for provider --slim-identity-verifier-type identity verifier type (sharedSecret) --slim-identity-verifier-shared-secret shared secret for verifier CI: install the SLIM native library via slim-bindings-setup before build/test, cache ~/.cgo-cache across runs, and set CGO_ENABLED=1. Closes #17 Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.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.
Closes #17
Summary
--transport slimrpcbacked bygithub.com/agntcy/slim-a2a-go, the Go reference implementation of the experimental SLIMRPC custom protocol bindingslim.go(cgo build tag) wires the SLIM runtime;slim_nocgo.goreturns a clear error whenCGO_ENABLED=0--transport slimrpc):--slim-endpoint— SLIM node endpoint (defaulthttp://127.0.0.1:46357)--slim-local-name— local SLIM identity inorg/namespace/appform--slim-identity-provider-type/--slim-identity-provider-shared-secret--slim-identity-verifier-type/--slim-identity-verifier-shared-secretslim-bindings-setupto install the native library before build/test, caches~/.cgo-cache, setsCGO_ENABLED=1Usage