Skip to content

Comments

refactor(mcp-agent): improve type safety and docs#1511

Merged
ulivz merged 4 commits intomainfrom
refactor/mcp-agent-improvements
Sep 13, 2025
Merged

refactor(mcp-agent): improve type safety and docs#1511
ulivz merged 4 commits intomainfrom
refactor/mcp-agent-improvements

Conversation

@ulivz
Copy link
Member

@ulivz ulivz commented Sep 13, 2025

Summary

Remove MCPClientResult wrapper and inline tool creation logic to improve code quality and type safety in @tarko/mcp-agent.

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

- Remove unnecessary MCPClientResult wrapper type
- Improve error handling consistency in MCPClientV2
- Remove MCPToolAdapter class and inline tool creation
- Add strict typing with Record<string, unknown>
- Remove鹦鹉 comments and eslint-disable directives
- Fix Map iteration compatibility for ES2020 target
- Update README with concise usage examples
@netlify
Copy link

netlify bot commented Sep 13, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit 06e341c
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/68c5ee15fa504b000872ed99
😎 Deploy Preview https://deploy-preview-1511--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ulivz ulivz changed the title refactor(mcp-agent): improve code quality and type safety refactor(mcp-agent): improvements Sep 13, 2025
@ulivz ulivz changed the title refactor(mcp-agent): improvements refactor(mcp-agent): improve type safety and docs Sep 13, 2025
@ulivz ulivz merged commit dfd3ad3 into main Sep 13, 2025
10 checks passed
@ulivz ulivz deleted the refactor/mcp-agent-improvements branch September 13, 2025 22:24
djdjdjdjfc added a commit to djdjdjdjfc/UI-TARS-desktop that referenced this pull request Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant