@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.
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js.map +1 -1
- package/dist/contrib/search/index.d.cts +2 -2
- package/dist/contrib/search/index.d.ts +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{types-DPxI353c.d.cts → types-BStHo4tI.d.cts} +8 -9
- package/dist/{types-DPxI353c.d.ts → types-BStHo4tI.d.ts} +8 -9
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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 ->
|
|
612
|
-
*
|
|
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
|
|
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
|
|
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
|
|
926
|
-
*
|
|
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
|
|
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
|
|
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 ->
|
|
612
|
-
*
|
|
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
|
|
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
|
|
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
|
|
926
|
-
*
|
|
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