Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

v0.3.1

Choose a tag to compare

@MegaGrindStone MegaGrindStone released this 07 Jan 03:52
· 65 commits to main since this release

This release focuses on adhering to the official JSON Schema specification and improving metadata management. Key changes include the introduction of unified resource content handling, enhanced annotation support, and simplified JSON handling by removing third-party schema validation dependencies. The changes in Tool's InputSchema and CallToolParams' Arguments provide more flexibility by allowing users to implement their own JSON Schema validation.

Added

  • Annotations struct for metadata management
  • ResourceContents struct for unified text and blob handling
  • UnsubscribeResource function in subscription handler
  • WithInstructions server option for client guidance
  • String method for LogLevel type

Changed

  • Rename PromptRole to Role for better clarity
  • Enhance Content structure with new Annotations and ResourceContent fields
  • Update resource handling to use ResourceContent for embedded resources
  • Add pagination support with Cursor and NextCursor fields in template operations
  • Add Total field to completion results for progress tracking
  • Implement Annotations support across Resource and ResourceTemplate types
  • Update LogData to use json.RawMessage for flexible data handling
  • Change InputSchema field in Tool struct to use json.RawMessage type
  • Change Arguments field in CallToolParams struct to use json.RawMessage
  • Adjust filesystem and everything servers for current schema

Removed

  • Remove Text and Blob fields from Resource type (functionality moved to ResourceContent)