Repository navigation
argon v0.1.0-preview.2 (Developer Preview 2)
Pre-release
Pre-release
·
79 commits
to master
since this release
Adds MCP resources.
Added
- Resources:
argon.Resourcefor fixed URIs and
argon.ResourceTemplate[P]for RFC 6570 URI templates whose variables
decode into a typed struct (converted to field types and validated via
its JSON Schema). Text and binary contents (TextResource,
BlobResource),ErrResourceNotFound, and optionsMIMEType,
ResourceTitle,ResourceScopes,ResourceTimeout,ResourceMaxOutput.
Resources share the tools' safe defaults and per-item scopes. - Servers may expose resources without any tools.
argontest.ReadResourcefor reading resources in tests.
Changed
- Resource reads made by an authenticated caller are marked
cacheScope: private(the SDK defaults topublic).