TTypeScript SDKSource ↗
Direct resources (a fixed URI string), templated resources ( ResourceTemplate('greeting://{name}') ), and per-resource subscriptions. The client lists both kinds, reads the direct config and a templated greeti …truncated by Smolify import.

resources

Direct resources (a fixed URI string), templated resources (ResourceTemplate('greeting://{name}')), and per-resource subscriptions. The client lists both kinds, reads the direct config and a templated greeting, then subscribes to counter://valuesubscriptions/listen on 2026-07-28, resources/subscribe on 2025 — calls the increment tool, and asserts the notifications/resources/updated it produces. Per-request legacy HTTP has no delivery channel, so that leg skips the delivery assertion.

pnpm tsx examples/resources/client.ts

Source: examples/resources/README.md

Generated by smolify with deterministic-repository-import-v1 · 1 source file
resources — TypeScript SDK · Smolify