@zeroxyz/sdk 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to `@zeroxyz/sdk` will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) — with the pre-1.0 caveat that minor versions may include breaking changes.
6
6
 
7
+ ## 0.8.0
8
+
9
+ ### Added
10
+
11
+ - **`CapabilityResponse.instructions`** — optional natural-language field describing how an agent should call this capability (authentication hints, required context, usage notes). Exposed on `capabilities.get()` responses and in the `CapabilityResponse` type. (#693, ZERO-134)
12
+
7
13
  ## 0.7.0
8
14
 
9
15
  ### Added
@@ -1838,7 +1838,7 @@ var clientFetch = async (client, url, opts = {}) => {
1838
1838
 
1839
1839
  // package.json
1840
1840
  var package_default = {
1841
- version: "0.7.0"};
1841
+ version: "0.8.0"};
1842
1842
 
1843
1843
  // src/version.ts
1844
1844
  var SDK_VERSION = package_default.version;
@@ -2456,6 +2456,14 @@ var capabilityResponseSchema = zod.z.object({
2456
2456
  example: zod.z.object({ request: zod.z.unknown(), response: zod.z.unknown() }).nullable(),
2457
2457
  tags: zod.z.array(zod.z.string()).nullable(),
2458
2458
  exampleAgentPrompt: zod.z.string().nullable().optional(),
2459
+ whatItDoes: zod.z.string().nullable().optional(),
2460
+ resultDescription: zod.z.string().nullable().optional(),
2461
+ failureModes: zod.z.array(zod.z.string()).nullable().optional(),
2462
+ whenToPreferThis: zod.z.string().nullable().optional(),
2463
+ // Agent-facing execution guide (markdown). Covers usage patterns, input
2464
+ // field guidance, cross-cap composition, and known failure modes.
2465
+ // Named after MCP tool convention: description = what it is, instructions = how to use it.
2466
+ instructions: zod.z.string().nullable().optional(),
2459
2467
  displayCostAmount: zod.z.string(),
2460
2468
  displayCostAsset: zod.z.string(),
2461
2469
  reviewCount: zod.z.number(),
@@ -3344,5 +3352,5 @@ exports.normalizeTransportEnvelopeRequest = normalizeTransportEnvelopeRequest;
3344
3352
  exports.paymentHasAnchor = paymentHasAnchor;
3345
3353
  exports.tempoChainLabelFromId = tempoChainLabelFromId;
3346
3354
  exports.unwrapTransportEnvelope = unwrapTransportEnvelope;
3347
- //# sourceMappingURL=chunk-2HZJHVDN.cjs.map
3348
- //# sourceMappingURL=chunk-2HZJHVDN.cjs.map
3355
+ //# sourceMappingURL=chunk-72WCE7HE.cjs.map
3356
+ //# sourceMappingURL=chunk-72WCE7HE.cjs.map