Repository navigation
agentic-mcp 1.0.5: working tools/list, importable library entry, audit to 0 - #34
Merged
Merged
Conversation
…enai 6 (audit 0c/2h -> 0/0), CI Co-Authored-By: claude-flow <ruv@ruv.net>
…Node 18 is EOL) Co-Authored-By: claude-flow <ruv@ruv.net>
Contributor
Author
|
Follow-up: openai 6 relies on the global WebCrypto |
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.
What
tools/listhandler returned the tool instances. Those hold an OpenAI client with a circular reference, so the SDK failed withConverting circular structure to JSON, both in 1.0.4 from the registry and on main. The handler now returns plain{ name, description, inputSchema }entries (src/mcp/tool-definitions.ts). A regression test is added (red before the change, green after).console.loglines insrc/index.tswent to stdout, the JSON-RPC channel. They now go to stderr.mainwas the CLI, soimport/requirestarted a server and exited withoutOPENAI_API_KEY. The README's “As a Library” example never worked.mainis nowdist/lib.js, which exportsOpenAIAgentMCPServerandtoToolDefinitionswith no side effects. Theagentic-mcpbin is unchanged.openai^4.20.1 → ^6.49.0. Onlychat.completions.createis used, and its API is unchanged. openai 6 accepts zod 4, so zod now resolves to the patched 4.6.7. Floors raised:@modelcontextprotocol/sdk^1.32.2,@supabase/supabase-js^2.80.0,dotenv^16.6.1. Clean-installnpm audit --omit=dev: 0 critical / 2 high → 0 / 0. The repo lockfile goes from 2 critical / 7 high to 0 / 0.https://ruv.io,bugs, a 158-character description,engines. The README gains supported environments and a quick check with its real output.tools/listsmoke test on Node 18, 20 and 22.Tarball: the only change from 1.0.4 is the added
libandtool-definitionsfiles.src/tests/research.test.tsstill has a pre-existingContextmock type error and is left out of CI.The owner has authorized autonomous merges for the weaver refresh lane. This PR merges only when CI on the head is green.
🤖 Generated with claude-flow