@ctxprotocol/sdk 0.13.0 → 0.13.1

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.
@@ -237,7 +237,7 @@ interface McpToolMeta {
237
237
  surface?: McpToolSurface;
238
238
  /** Whether this method can be selected in query mode */
239
239
  queryEligible?: boolean;
240
- /** Declared latency class for metadata-scout/runtime gating */
240
+ /** Declared latency class for runtime gating */
241
241
  latencyClass?: McpToolLatencyClass;
242
242
  /** Method-level pricing metadata */
243
243
  pricing?: McpToolPricingMeta;
@@ -248,7 +248,7 @@ interface McpToolMeta {
248
248
  /** Context injection requirements handled by the Context runtime */
249
249
  contextRequirements?: string[];
250
250
  /**
251
- * Optional metadata-scout/runtime pacing hints.
251
+ * Optional runtime pacing hints.
252
252
  * Tool contributors can publish these to reduce rate-limit failures.
253
253
  */
254
254
  rateLimit?: McpToolRateLimitHints;
@@ -608,8 +608,8 @@ interface QueryClarificationDiagnostics {
608
608
  *
609
609
  * Unlike `execute()` which calls a single tool once, `query()` sends a
610
610
  * natural-language question and lets the server handle the live librarian
611
- * pipeline (`discover -> select -> metadata scout -> clarify if needed ->
612
- * iterative execute -> synthesize -> settle`).
611
+ * pipeline (`discover -> select -> iterative execute (with in-loop
612
+ * clarification if needed) -> synthesize -> settle`).
613
613
  * One flat fee covers up to 100 MCP skill calls per tool.
614
614
  */
615
615
  interface QueryOptions {
@@ -678,8 +678,7 @@ interface QueryOptions {
678
678
  /**
679
679
  * Include machine-readable developer trace output for this query response.
680
680
  * When enabled, the server may return summary counters plus diagnostics
681
- * for lane selection, metadata scout adequacy, clarification, and iterative
682
- * execution behavior.
681
+ * for tool selection, clarification, and iterative execution behavior.
683
682
  */
684
683
  includeDeveloperTrace?: boolean;
685
684
  /**
@@ -707,7 +706,7 @@ interface QueryDeveloperTraceLoopInfo {
707
706
  [key: string]: unknown;
708
707
  }
709
708
  /**
710
- * Tool selection metadata attached to discovery and metadata-scout diagnostics.
709
+ * Tool selection metadata attached to discovery diagnostics.
711
710
  */
712
711
  interface QueryDeveloperTraceToolSelection {
713
712
  toolId: string;
@@ -922,8 +921,8 @@ interface QueryForkReference extends QueryAttemptReference {
922
921
  }
923
922
  /**
924
923
  * Public continuation state returned by headless Query responses.
925
- * Internal selected-tool lineage, Scout reuse, and clarification snapshots
926
- * remain durable server state but are not exposed as chat-style payloads.
924
+ * Internal selected-tool lineage and clarification snapshots remain durable
925
+ * server state but are not exposed as chat-style payloads.
927
926
  */
928
927
  interface QuerySessionState {
929
928
  sessionId: string;
@@ -237,7 +237,7 @@ interface McpToolMeta {
237
237
  surface?: McpToolSurface;
238
238
  /** Whether this method can be selected in query mode */
239
239
  queryEligible?: boolean;
240
- /** Declared latency class for metadata-scout/runtime gating */
240
+ /** Declared latency class for runtime gating */
241
241
  latencyClass?: McpToolLatencyClass;
242
242
  /** Method-level pricing metadata */
243
243
  pricing?: McpToolPricingMeta;
@@ -248,7 +248,7 @@ interface McpToolMeta {
248
248
  /** Context injection requirements handled by the Context runtime */
249
249
  contextRequirements?: string[];
250
250
  /**
251
- * Optional metadata-scout/runtime pacing hints.
251
+ * Optional runtime pacing hints.
252
252
  * Tool contributors can publish these to reduce rate-limit failures.
253
253
  */
254
254
  rateLimit?: McpToolRateLimitHints;
@@ -608,8 +608,8 @@ interface QueryClarificationDiagnostics {
608
608
  *
609
609
  * Unlike `execute()` which calls a single tool once, `query()` sends a
610
610
  * natural-language question and lets the server handle the live librarian
611
- * pipeline (`discover -> select -> metadata scout -> clarify if needed ->
612
- * iterative execute -> synthesize -> settle`).
611
+ * pipeline (`discover -> select -> iterative execute (with in-loop
612
+ * clarification if needed) -> synthesize -> settle`).
613
613
  * One flat fee covers up to 100 MCP skill calls per tool.
614
614
  */
615
615
  interface QueryOptions {
@@ -678,8 +678,7 @@ interface QueryOptions {
678
678
  /**
679
679
  * Include machine-readable developer trace output for this query response.
680
680
  * When enabled, the server may return summary counters plus diagnostics
681
- * for lane selection, metadata scout adequacy, clarification, and iterative
682
- * execution behavior.
681
+ * for tool selection, clarification, and iterative execution behavior.
683
682
  */
684
683
  includeDeveloperTrace?: boolean;
685
684
  /**
@@ -707,7 +706,7 @@ interface QueryDeveloperTraceLoopInfo {
707
706
  [key: string]: unknown;
708
707
  }
709
708
  /**
710
- * Tool selection metadata attached to discovery and metadata-scout diagnostics.
709
+ * Tool selection metadata attached to discovery diagnostics.
711
710
  */
712
711
  interface QueryDeveloperTraceToolSelection {
713
712
  toolId: string;
@@ -922,8 +921,8 @@ interface QueryForkReference extends QueryAttemptReference {
922
921
  }
923
922
  /**
924
923
  * Public continuation state returned by headless Query responses.
925
- * Internal selected-tool lineage, Scout reuse, and clarification snapshots
926
- * remain durable server state but are not exposed as chat-style payloads.
924
+ * Internal selected-tool lineage and clarification snapshots remain durable
925
+ * server state but are not exposed as chat-style payloads.
927
926
  */
928
927
  interface QuerySessionState {
929
928
  sessionId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctxprotocol/sdk",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "Official TypeScript SDK for the Context Protocol - Discover and execute AI tools programmatically",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",