Enhance MCP capabilities with ToolManifest, ToolRuntime, and count support#579
Merged
Conversation
…lity execution - Added ToolManifest.ts to convert flat capability inventory into a reduced MCP tool surface, including definitions for generic and special tools, and a built-in discovery tool. - Implemented ToolRuntime.ts to provide a manifest-driven runtime for executing Frodo capability descriptors with request-scoped instances, including support for various authentication modes. - Created ToolRuntime.test.ts to validate the execution behavior of the MCP runtime, ensuring proper argument forwarding and error handling. - Updated index.ts to export new types and functions related to the MCP tool runtime and manifest.
- Updated MCP_POLICY_PRESETS to include 'count' in operation types for 'read-only' and 'standard' policies. - Enhanced inferOperationType to recognize 'count' operations based on method names. - Introduced count methods in JourneyOps, ManagedObjectOps, ManagedSystemObjectOps, and UserOps to support counting respective entities. - Updated CapabilityRegistry and ToolManifest to accommodate new count operations and their descriptions. - Added pagination and scope metadata to tool execution results for better diagnostics. - Implemented deployment compatibility checks for generic tools to ensure proper execution context.
… include by default unless -M flag is used (rockcarver#576)
…ore PolicySet import (rockcarver#578) * Initial plan * fix(policyset): import resource type prereqs via resource type import flow Agent-Logs-Url: https://github.com/rockcarver/frodo-lib/sessions/17ba7543-91b6-40c9-bb2a-543ec5255d01 Co-authored-by: vscheuber <28791378+vscheuber@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: vscheuber <28791378+vscheuber@users.noreply.github.com>
…ata.ts; clean up AuthenticateOps.ts
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.
No description provided.