-
Notifications
You must be signed in to change notification settings - Fork 5
feat: migrate sdk go #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
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
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.1 to 4.5.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/golang-jwt/jwt/releases">github.com/golang-jwt/jwt/v4's releases</a>.</em></p> <blockquote> <h2>v4.5.2</h2> <p>See <a href="https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp">https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2">https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang-jwt/jwt/commit/2f0e9add62078527821828c76865661aa7718a84"><code>2f0e9ad</code></a> Backporting 0951d18 to v4</li> <li>See full diff in <a href="https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/streamnative/streamnative-mcp-server/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.2.1 to 5.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/golang-jwt/jwt/releases">github.com/golang-jwt/jwt/v5's releases</a>.</em></p> <blockquote> <h2>v5.2.2</h2> <h2>What's Changed</h2> <ul> <li>Fixed <a href="https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp">https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp</a> by <a href="https://github.com/mfridman"><code>@mfridman</code></a></li> <li>Fixed some typos by <a href="https://github.com/Ashikpaul"><code>@Ashikpaul</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/382">golang-jwt/jwt#382</a></li> <li>build: add go1.22 to ci workflows by <a href="https://github.com/mfridman"><code>@mfridman</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/383">golang-jwt/jwt#383</a></li> <li>Bump golangci/golangci-lint-action from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/387">golang-jwt/jwt#387</a></li> <li>Bump golangci/golangci-lint-action from 5 to 6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/389">golang-jwt/jwt#389</a></li> <li>chore: bump ci tests to include go1.23 by <a href="https://github.com/mfridman"><code>@mfridman</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/405">golang-jwt/jwt#405</a></li> <li>Fix jwt -show by <a href="https://github.com/AlexanderYastrebov"><code>@AlexanderYastrebov</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/406">golang-jwt/jwt#406</a></li> <li>docs: typo by <a href="https://github.com/kvii"><code>@kvii</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/407">golang-jwt/jwt#407</a></li> <li>Update SECURITY.md by <a href="https://github.com/oxisto"><code>@oxisto</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/416">golang-jwt/jwt#416</a></li> <li>Update <code>jwt.Parse</code> example to use <code>jwt.WithValidMethods</code> by <a href="https://github.com/mattt"><code>@mattt</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/425">golang-jwt/jwt#425</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Ashikpaul"><code>@Ashikpaul</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/382">golang-jwt/jwt#382</a></li> <li><a href="https://github.com/kvii"><code>@kvii</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/407">golang-jwt/jwt#407</a></li> <li><a href="https://github.com/mattt"><code>@mattt</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/425">golang-jwt/jwt#425</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2">https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang-jwt/jwt/commit/0951d184286dece21f73c85673fd308786ffe9c3"><code>0951d18</code></a> Merge commit from fork</li> <li><a href="https://github.com/golang-jwt/jwt/commit/c035977d9e11c351f4c05dfeae193923cbab49ee"><code>c035977</code></a> Update Parse example to use WithValidMethods (<a href="https://redirect.github.com/golang-jwt/jwt/issues/425">#425</a>)</li> <li><a href="https://github.com/golang-jwt/jwt/commit/bc8bdca5cced1caa9787e4a1c313a3538544c877"><code>bc8bdca</code></a> Update SECURITY.md (<a href="https://redirect.github.com/golang-jwt/jwt/issues/416">#416</a>)</li> <li><a href="https://github.com/golang-jwt/jwt/commit/5ec246c074b71790eec1f2e05b54daf6ec29ec5f"><code>5ec246c</code></a> docs: typo (<a href="https://redirect.github.com/golang-jwt/jwt/issues/407">#407</a>)</li> <li><a href="https://github.com/golang-jwt/jwt/commit/0123f1ad66cbc45013dbfba6eff0cd81472bfc12"><code>0123f1a</code></a> Fix jwt -show (<a href="https://redirect.github.com/golang-jwt/jwt/issues/406">#406</a>)</li> <li><a href="https://github.com/golang-jwt/jwt/commit/f961c72abd3b91442a9ab3d3e356bf547636e89b"><code>f961c72</code></a> chore: bump ci tests to include go1.23 (<a href="https://redirect.github.com/golang-jwt/jwt/issues/405">#405</a>)</li> <li><a href="https://github.com/golang-jwt/jwt/commit/62e504c2810b67f6b97313424411cfffb25e41b0"><code>62e504c</code></a> Bump golangci/golangci-lint-action from 5 to 6 (<a href="https://redirect.github.com/golang-jwt/jwt/issues/389">#389</a>)</li> <li><a href="https://github.com/golang-jwt/jwt/commit/1a56dcf532089fc2bb723a3cb4076a4e45cb1c1a"><code>1a56dcf</code></a> Bump golangci/golangci-lint-action from 4 to 5 (<a href="https://redirect.github.com/golang-jwt/jwt/issues/387">#387</a>)</li> <li><a href="https://github.com/golang-jwt/jwt/commit/c8043eab61f0ec5bdd924c1c30caf164a9bb2c66"><code>c8043ea</code></a> build: add go1.22 to ci workflows (<a href="https://redirect.github.com/golang-jwt/jwt/issues/383">#383</a>)</li> <li><a href="https://github.com/golang-jwt/jwt/commit/7c3f6dc56316e5e222a9df9612ec04243189a989"><code>7c3f6dc</code></a> Update README.md (<a href="https://redirect.github.com/golang-jwt/jwt/issues/382">#382</a>)</li> <li>See full diff in <a href="https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/streamnative/streamnative-mcp-server/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rui Fu <freeznet@users.noreply.github.com>
- fix `delete-offset` that not call correct api - add `set-offset` to allow agents commit offset manually
- fix license - ready to export as lib
fix #11 support schema registry integration for kafka consume and kafka produce
…support (#16) - Updated function descriptions to mark triggerValue as required for 'trigger' operations. - Introduced IsPackageURLSupported function to validate package URLs for functions, sinks, and sources. - Refactored function creation and update logic to handle package URLs appropriately in Pulsar admin tools.
Update the README for easier rampup
release to docker: streamnative/snmcp release to brew: streamnative/homebrew-streamnative
We don't provide the item schema in array types. It fails when using OpenAI and Gemini models
## Summary - correct a spelling mistake in README ## Testing - `grep -n verified -n README.md`
## Summary - guard against nil values when reading context variables - add tests for SetMcpContext and ResetMcpContext ## Testing - `go test ./...` *(fails: go.work requires go >= 1.24.3)*
making pulsar functions be able to exported as MCP tools
While working with the external-pulsar setup, I was unable to find a reliable method to inject the pulsar-service-url. This change introduces a fix to parse and apply the service URL from command-line input instead. **=> Updated logic to extract pulsar-service-url from command-line arguments.**
…lity (#47) - Update Dockerfile to support multi-platform builds (linux/amd64, linux/arm64) - Switch to Go 1.24-alpine base image to match go.mod requirements - Add multi-stage build with proper cross-compilation support - Implement security best practices (non-root user, minimal base image) - Update Makefile with Docker build targets (docker-build, docker-build-multiplatform, docker-build-push) - Support both 'mcp-server' and 'snmcp' image names for backward compatibility - Add comprehensive DOCKER_BUILD.md documentation - Fix SDK module dependencies in Dockerfile build process
Add go-sdk builders with schema generation, legacy adapters, and tests.
Use the go-sdk tool builder with jsonschema input, add a legacy adapter for the mark3labs server, and cover schema expectations with tests.
Migrate topic policy tool to the go-sdk with a legacy adapter and schema tests to preserve behavior parity.
Add go-sdk request/session accessors and typed-nil guard for context-based retrieval.
Ensure panic recovery matches legacy tool handler messages and runs without a logger.
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.