@ctxprotocol/sdk 0.10.0 → 0.11.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/README.md +3 -1
- package/dist/client/index.cjs +70 -0
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +39 -3
- package/dist/client/index.d.ts +39 -3
- package/dist/client/index.js +69 -1
- 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 +69 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +69 -1
- package/dist/index.js.map +1 -1
- package/dist/{types-Bgjq3OBR.d.cts → types-DRbq-FA6.d.cts} +110 -1
- package/dist/{types-Bgjq3OBR.d.ts → types-DRbq-FA6.d.ts} +110 -1
- package/package.json +1 -1
|
@@ -364,6 +364,30 @@ interface SearchOptions {
|
|
|
364
364
|
/** Convenience switch to exclude slow methods in query mode */
|
|
365
365
|
excludeSlow?: boolean;
|
|
366
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* Options for updating a tool listing via `client.developer.updateTool()`.
|
|
369
|
+
* At least one field must be provided.
|
|
370
|
+
*/
|
|
371
|
+
declare const ALLOWED_TOOL_CATEGORIES: readonly ["Crypto & DeFi", "Financial Markets", "Business & Sales", "Marketing & SEO", "Legal & Regulatory", "Real World", "Developer Tools", "Research & Academia", "Utility", "Other"];
|
|
372
|
+
type ToolCategory = (typeof ALLOWED_TOOL_CATEGORIES)[number];
|
|
373
|
+
interface UpdateToolOptions {
|
|
374
|
+
/** New display name for the tool */
|
|
375
|
+
name?: string;
|
|
376
|
+
/** New marketplace description */
|
|
377
|
+
description?: string;
|
|
378
|
+
/** New category -- must be one of the predefined marketplace categories */
|
|
379
|
+
category?: ToolCategory | null;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Response from updating a tool listing.
|
|
383
|
+
*/
|
|
384
|
+
interface UpdateToolResult {
|
|
385
|
+
id: string;
|
|
386
|
+
name: string;
|
|
387
|
+
description: string;
|
|
388
|
+
category: string | null;
|
|
389
|
+
updatedAt: string;
|
|
390
|
+
}
|
|
367
391
|
/**
|
|
368
392
|
* Options for executing a tool
|
|
369
393
|
*/
|
|
@@ -918,16 +942,89 @@ interface QueryResponseEnvelopeSourceRef {
|
|
|
918
942
|
url: string | null;
|
|
919
943
|
note: string | null;
|
|
920
944
|
}
|
|
945
|
+
type QueryResponseEnvelopeTone = "positive" | "negative" | "neutral" | "caution";
|
|
946
|
+
type QueryControllerStopReason = "complete_answer" | "bounded_runtime_budget" | "bounded_same_endpoint_guardrail" | "bounded_upstream_abort_guardrail" | "clarification_required" | "capability_miss";
|
|
947
|
+
type QueryControllerIssueClass = "scope_ambiguity" | "missing_evidence" | "missing_capability" | "stale_data" | "wrong_tool_path";
|
|
948
|
+
type QueryControllerAction = "inspect_current_grounding" | "patch_current_program" | "bounded_rediscovery" | "clarify_scope" | "return_capability_miss" | "return_bounded_answer" | "return_complete_answer";
|
|
949
|
+
interface QueryResponseEnvelopeMarketAggregateFlow {
|
|
950
|
+
netFlowUsd: number | null;
|
|
951
|
+
grossInflowUsd: number | null;
|
|
952
|
+
grossOutflowUsd: number | null;
|
|
953
|
+
nativeNetFlow: number | null;
|
|
954
|
+
nativeUnit: string | null;
|
|
955
|
+
direction: "inflow" | "outflow" | "flat" | "mixed";
|
|
956
|
+
}
|
|
957
|
+
interface QueryResponseEnvelopeMarketVenueBreakdown {
|
|
958
|
+
venue: string;
|
|
959
|
+
asset: string | null;
|
|
960
|
+
netFlowUsd: number | null;
|
|
961
|
+
grossInflowUsd: number | null;
|
|
962
|
+
grossOutflowUsd: number | null;
|
|
963
|
+
nativeNetFlow: number | null;
|
|
964
|
+
nativeUnit: string | null;
|
|
965
|
+
shareOfTotal: number | null;
|
|
966
|
+
rank: number | null;
|
|
967
|
+
}
|
|
968
|
+
interface QueryResponseEnvelopeCatalystRef {
|
|
969
|
+
source: string;
|
|
970
|
+
publishedAt: string | null;
|
|
971
|
+
claim: string | null;
|
|
972
|
+
relationToFlow: string | null;
|
|
973
|
+
url: string | null;
|
|
974
|
+
}
|
|
975
|
+
interface QueryResponseEnvelopeDerivativesContext {
|
|
976
|
+
openInterestDirection: string | null;
|
|
977
|
+
openInterestChangePct: number | null;
|
|
978
|
+
liquidationBias: string | null;
|
|
979
|
+
venues: string[];
|
|
980
|
+
relationshipToSpotFlows: string | null;
|
|
981
|
+
}
|
|
982
|
+
interface QueryResponseEnvelopeMarketIntelligence {
|
|
983
|
+
asset: string | null;
|
|
984
|
+
assets: string[] | null;
|
|
985
|
+
timeWindow: string | null;
|
|
986
|
+
asOf: string | null;
|
|
987
|
+
aggregateFlow: QueryResponseEnvelopeMarketAggregateFlow | null;
|
|
988
|
+
venueBreakdown: QueryResponseEnvelopeMarketVenueBreakdown[];
|
|
989
|
+
catalystRefs: QueryResponseEnvelopeCatalystRef[];
|
|
990
|
+
derivativesContext: QueryResponseEnvelopeDerivativesContext | null;
|
|
991
|
+
}
|
|
992
|
+
interface QueryResponseEnvelopeViewMetric {
|
|
993
|
+
label: string;
|
|
994
|
+
value: string;
|
|
995
|
+
tone?: QueryResponseEnvelopeTone;
|
|
996
|
+
}
|
|
997
|
+
interface QueryResponseEnvelopeViewRow {
|
|
998
|
+
key: string;
|
|
999
|
+
cells: string[];
|
|
1000
|
+
tone?: QueryResponseEnvelopeTone;
|
|
1001
|
+
sourceRefIds?: string[];
|
|
1002
|
+
}
|
|
921
1003
|
interface QueryResponseEnvelope {
|
|
922
1004
|
responseShape: Exclude<QueryResponseShape, "answer">;
|
|
923
1005
|
response: string;
|
|
924
1006
|
summary: string;
|
|
1007
|
+
outcome: {
|
|
1008
|
+
label: string;
|
|
1009
|
+
tone: QueryResponseEnvelopeTone;
|
|
1010
|
+
stopReason: QueryControllerStopReason;
|
|
1011
|
+
issueClass: QueryControllerIssueClass | null;
|
|
1012
|
+
};
|
|
1013
|
+
controller: {
|
|
1014
|
+
scope: "wedge" | "standard";
|
|
1015
|
+
nextAction: QueryControllerAction;
|
|
1016
|
+
actionsTaken: QueryControllerAction[];
|
|
1017
|
+
patchFirstProgramPreserved: boolean;
|
|
1018
|
+
executionProgramRevisionId: string | null;
|
|
1019
|
+
hardBudgetApplied: boolean;
|
|
1020
|
+
} | null;
|
|
925
1021
|
evidence: {
|
|
926
1022
|
facts: QueryResponseEnvelopeFact[];
|
|
927
1023
|
sourceRefs: QueryResponseEnvelopeSourceRef[];
|
|
928
1024
|
assumptions: string[];
|
|
929
1025
|
knownUnknowns: string[];
|
|
930
1026
|
retrievalPlanReasonCodes: string[];
|
|
1027
|
+
marketIntelligence?: QueryResponseEnvelopeMarketIntelligence | null;
|
|
931
1028
|
};
|
|
932
1029
|
artifacts: {
|
|
933
1030
|
dataUrl: string | null;
|
|
@@ -942,6 +1039,10 @@ interface QueryResponseEnvelope {
|
|
|
942
1039
|
view: {
|
|
943
1040
|
type: QueryResponseEnvelopeViewType;
|
|
944
1041
|
label: string;
|
|
1042
|
+
title?: string | null;
|
|
1043
|
+
metrics?: QueryResponseEnvelopeViewMetric[];
|
|
1044
|
+
columns?: string[];
|
|
1045
|
+
rows?: QueryResponseEnvelopeViewRow[];
|
|
945
1046
|
} | null;
|
|
946
1047
|
freshness: {
|
|
947
1048
|
asOf: string | null;
|
|
@@ -985,6 +1086,14 @@ interface QueryBaseResult {
|
|
|
985
1086
|
developerTrace?: QueryDeveloperTrace;
|
|
986
1087
|
/** Optional orchestration outcome metrics for benchmarking and rollout analysis */
|
|
987
1088
|
orchestrationMetrics?: QueryOrchestrationMetrics;
|
|
1089
|
+
/** Typed public stop reason for the final outcome. */
|
|
1090
|
+
stopReason?: QueryControllerStopReason;
|
|
1091
|
+
/** Typed issue class exposed by the bounded controller contract. */
|
|
1092
|
+
issueClass?: QueryControllerIssueClass | null;
|
|
1093
|
+
/** Ordered public controller actions taken before the final outcome. */
|
|
1094
|
+
actionsTaken?: QueryControllerAction[];
|
|
1095
|
+
/** Optional controller summary for bounded wedge-style answers. */
|
|
1096
|
+
controller?: QueryResponseEnvelope["controller"];
|
|
988
1097
|
/**
|
|
989
1098
|
* Optional public durable continuation handles for resume/fork flows.
|
|
990
1099
|
* Query exposes handle-based continuation, not chat-style continuation payloads.
|
|
@@ -1068,4 +1177,4 @@ declare class ContextError extends Error {
|
|
|
1068
1177
|
constructor(message: string, code?: (ContextErrorCode | string) | undefined, statusCode?: number | undefined, helpUrl?: string | undefined);
|
|
1069
1178
|
}
|
|
1070
1179
|
|
|
1071
|
-
export { type QueryForkReference as $, type SearchCandidateProvenance as A, ContextError as B, type ContributorSearchResolution as C, type ContextClientOptions as D, type McpToolMeta as E, type McpToolRateLimitHints as F, type SearchResponse as G, type SearchOptions as H, type ExecuteOptions as I, type ExecuteSessionStartOptions as J, type ExecuteSessionStatus as K, type ExecuteSessionSpend as L, type McpTool as M, type ExecuteSessionResult as N, type ExecutionResult as O, type ExecuteApiSuccessResponse as P, type QueryDeveloperTrace as Q, type ResolveContributorSearchParams as R, type SearchCandidate as S, type Tool as T, type ExecuteApiErrorResponse as U, type ExecuteApiResponse as V, type ExecuteSessionApiSuccessResponse as W, type ExecuteSessionApiResponse as X, type QueryDeepMode as Y, type QueryAttemptForkReason as Z, type QueryAttemptReference as _, type ContributorSearchMetadata as a, type QueryOptions as a0, type QueryResult as a1, type QuerySessionState as a2, type QueryToolUsage as a3, type QueryCost as a4, type QueryCompletenessRepairEvent as a5, type QueryDeveloperTraceDiagnostics as a6, type QueryDeveloperTraceSummary as a7, type QueryDeveloperTraceStep as a8, type QueryDeveloperTraceToolRef as a9, type QueryDeveloperTraceLoopInfo as aa, type QueryApiSuccessResponse as ab, type QueryApiResponse as ac, type QueryStreamEvent as ad, type QueryStreamToolStatusEvent as ae, type QueryStreamTextDeltaEvent as af, type QueryStreamDeveloperTraceEvent as ag, type QueryStreamDoneEvent as ah, type QueryStreamErrorEvent as ai, type
|
|
1180
|
+
export { type QueryForkReference as $, type SearchCandidateProvenance as A, ContextError as B, type ContributorSearchResolution as C, type ContextClientOptions as D, type McpToolMeta as E, type McpToolRateLimitHints as F, type SearchResponse as G, type SearchOptions as H, type ExecuteOptions as I, type ExecuteSessionStartOptions as J, type ExecuteSessionStatus as K, type ExecuteSessionSpend as L, type McpTool as M, type ExecuteSessionResult as N, type ExecutionResult as O, type ExecuteApiSuccessResponse as P, type QueryDeveloperTrace as Q, type ResolveContributorSearchParams as R, type SearchCandidate as S, type Tool as T, type ExecuteApiErrorResponse as U, type ExecuteApiResponse as V, type ExecuteSessionApiSuccessResponse as W, type ExecuteSessionApiResponse as X, type QueryDeepMode as Y, type QueryAttemptForkReason as Z, type QueryAttemptReference as _, type ContributorSearchMetadata as a, type QueryOptions as a0, type QueryResult as a1, type QuerySessionState as a2, type QueryToolUsage as a3, type QueryCost as a4, type QueryCompletenessRepairEvent as a5, type QueryDeveloperTraceDiagnostics as a6, type QueryDeveloperTraceSummary as a7, type QueryDeveloperTraceStep as a8, type QueryDeveloperTraceToolRef as a9, type QueryDeveloperTraceLoopInfo as aa, type QueryApiSuccessResponse as ab, type QueryApiResponse as ac, type QueryStreamEvent as ad, type QueryStreamToolStatusEvent as ae, type QueryStreamTextDeltaEvent as af, type QueryStreamDeveloperTraceEvent as ag, type QueryStreamDoneEvent as ah, type QueryStreamErrorEvent as ai, type UpdateToolOptions as aj, type UpdateToolResult as ak, type ContextErrorCode as al, type QueryClarificationPayload as am, type QueryClarificationOption as an, type QueryClarificationPolicy as ao, type QueryCapabilityMissPayload as ap, type QueryAssumptionMetadata as aq, type QueryOutcomeType as ar, type ToolCategory as as, ALLOWED_TOOL_CATEGORIES as at, type SearchShortlist as b, type SearchIntent as c, type ContributorSearchConfig as d, type ContributorSearchResolvedConfig as e, type ContributorSearchTraceRecord as f, type ContributorSearchValidationCaseKind as g, type ContributorSearchValidationExpectation as h, type ContributorSearchValidationArtifact as i, ContributorSearchBudgetExceededError as j, CONTRIBUTOR_SEARCH_METADATA_VERSION as k, CONTRIBUTOR_SEARCH_VALIDATION_VERSION as l, type ContributorSearchConfidence as m, type ContributorSearchDegradedOutcome as n, type ContributorSearchDegradedOutcomePolicy as o, type ContributorSearchDegradedReasonCode as p, type ContributorSearchJudge as q, type ContributorSearchJudgeContext as r, type ContributorSearchJudgeInput as s, type ContributorSearchJudgeResult as t, type ContributorSearchJudgeSnapshot as u, type ContributorSearchJudgeUsage as v, type ContributorSearchMetadataSource as w, type ContributorSearchOutcome as x, type ContributorSearchTraceSummary as y, type ContributorSearchValidatorStatus as z };
|
|
@@ -364,6 +364,30 @@ interface SearchOptions {
|
|
|
364
364
|
/** Convenience switch to exclude slow methods in query mode */
|
|
365
365
|
excludeSlow?: boolean;
|
|
366
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* Options for updating a tool listing via `client.developer.updateTool()`.
|
|
369
|
+
* At least one field must be provided.
|
|
370
|
+
*/
|
|
371
|
+
declare const ALLOWED_TOOL_CATEGORIES: readonly ["Crypto & DeFi", "Financial Markets", "Business & Sales", "Marketing & SEO", "Legal & Regulatory", "Real World", "Developer Tools", "Research & Academia", "Utility", "Other"];
|
|
372
|
+
type ToolCategory = (typeof ALLOWED_TOOL_CATEGORIES)[number];
|
|
373
|
+
interface UpdateToolOptions {
|
|
374
|
+
/** New display name for the tool */
|
|
375
|
+
name?: string;
|
|
376
|
+
/** New marketplace description */
|
|
377
|
+
description?: string;
|
|
378
|
+
/** New category -- must be one of the predefined marketplace categories */
|
|
379
|
+
category?: ToolCategory | null;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Response from updating a tool listing.
|
|
383
|
+
*/
|
|
384
|
+
interface UpdateToolResult {
|
|
385
|
+
id: string;
|
|
386
|
+
name: string;
|
|
387
|
+
description: string;
|
|
388
|
+
category: string | null;
|
|
389
|
+
updatedAt: string;
|
|
390
|
+
}
|
|
367
391
|
/**
|
|
368
392
|
* Options for executing a tool
|
|
369
393
|
*/
|
|
@@ -918,16 +942,89 @@ interface QueryResponseEnvelopeSourceRef {
|
|
|
918
942
|
url: string | null;
|
|
919
943
|
note: string | null;
|
|
920
944
|
}
|
|
945
|
+
type QueryResponseEnvelopeTone = "positive" | "negative" | "neutral" | "caution";
|
|
946
|
+
type QueryControllerStopReason = "complete_answer" | "bounded_runtime_budget" | "bounded_same_endpoint_guardrail" | "bounded_upstream_abort_guardrail" | "clarification_required" | "capability_miss";
|
|
947
|
+
type QueryControllerIssueClass = "scope_ambiguity" | "missing_evidence" | "missing_capability" | "stale_data" | "wrong_tool_path";
|
|
948
|
+
type QueryControllerAction = "inspect_current_grounding" | "patch_current_program" | "bounded_rediscovery" | "clarify_scope" | "return_capability_miss" | "return_bounded_answer" | "return_complete_answer";
|
|
949
|
+
interface QueryResponseEnvelopeMarketAggregateFlow {
|
|
950
|
+
netFlowUsd: number | null;
|
|
951
|
+
grossInflowUsd: number | null;
|
|
952
|
+
grossOutflowUsd: number | null;
|
|
953
|
+
nativeNetFlow: number | null;
|
|
954
|
+
nativeUnit: string | null;
|
|
955
|
+
direction: "inflow" | "outflow" | "flat" | "mixed";
|
|
956
|
+
}
|
|
957
|
+
interface QueryResponseEnvelopeMarketVenueBreakdown {
|
|
958
|
+
venue: string;
|
|
959
|
+
asset: string | null;
|
|
960
|
+
netFlowUsd: number | null;
|
|
961
|
+
grossInflowUsd: number | null;
|
|
962
|
+
grossOutflowUsd: number | null;
|
|
963
|
+
nativeNetFlow: number | null;
|
|
964
|
+
nativeUnit: string | null;
|
|
965
|
+
shareOfTotal: number | null;
|
|
966
|
+
rank: number | null;
|
|
967
|
+
}
|
|
968
|
+
interface QueryResponseEnvelopeCatalystRef {
|
|
969
|
+
source: string;
|
|
970
|
+
publishedAt: string | null;
|
|
971
|
+
claim: string | null;
|
|
972
|
+
relationToFlow: string | null;
|
|
973
|
+
url: string | null;
|
|
974
|
+
}
|
|
975
|
+
interface QueryResponseEnvelopeDerivativesContext {
|
|
976
|
+
openInterestDirection: string | null;
|
|
977
|
+
openInterestChangePct: number | null;
|
|
978
|
+
liquidationBias: string | null;
|
|
979
|
+
venues: string[];
|
|
980
|
+
relationshipToSpotFlows: string | null;
|
|
981
|
+
}
|
|
982
|
+
interface QueryResponseEnvelopeMarketIntelligence {
|
|
983
|
+
asset: string | null;
|
|
984
|
+
assets: string[] | null;
|
|
985
|
+
timeWindow: string | null;
|
|
986
|
+
asOf: string | null;
|
|
987
|
+
aggregateFlow: QueryResponseEnvelopeMarketAggregateFlow | null;
|
|
988
|
+
venueBreakdown: QueryResponseEnvelopeMarketVenueBreakdown[];
|
|
989
|
+
catalystRefs: QueryResponseEnvelopeCatalystRef[];
|
|
990
|
+
derivativesContext: QueryResponseEnvelopeDerivativesContext | null;
|
|
991
|
+
}
|
|
992
|
+
interface QueryResponseEnvelopeViewMetric {
|
|
993
|
+
label: string;
|
|
994
|
+
value: string;
|
|
995
|
+
tone?: QueryResponseEnvelopeTone;
|
|
996
|
+
}
|
|
997
|
+
interface QueryResponseEnvelopeViewRow {
|
|
998
|
+
key: string;
|
|
999
|
+
cells: string[];
|
|
1000
|
+
tone?: QueryResponseEnvelopeTone;
|
|
1001
|
+
sourceRefIds?: string[];
|
|
1002
|
+
}
|
|
921
1003
|
interface QueryResponseEnvelope {
|
|
922
1004
|
responseShape: Exclude<QueryResponseShape, "answer">;
|
|
923
1005
|
response: string;
|
|
924
1006
|
summary: string;
|
|
1007
|
+
outcome: {
|
|
1008
|
+
label: string;
|
|
1009
|
+
tone: QueryResponseEnvelopeTone;
|
|
1010
|
+
stopReason: QueryControllerStopReason;
|
|
1011
|
+
issueClass: QueryControllerIssueClass | null;
|
|
1012
|
+
};
|
|
1013
|
+
controller: {
|
|
1014
|
+
scope: "wedge" | "standard";
|
|
1015
|
+
nextAction: QueryControllerAction;
|
|
1016
|
+
actionsTaken: QueryControllerAction[];
|
|
1017
|
+
patchFirstProgramPreserved: boolean;
|
|
1018
|
+
executionProgramRevisionId: string | null;
|
|
1019
|
+
hardBudgetApplied: boolean;
|
|
1020
|
+
} | null;
|
|
925
1021
|
evidence: {
|
|
926
1022
|
facts: QueryResponseEnvelopeFact[];
|
|
927
1023
|
sourceRefs: QueryResponseEnvelopeSourceRef[];
|
|
928
1024
|
assumptions: string[];
|
|
929
1025
|
knownUnknowns: string[];
|
|
930
1026
|
retrievalPlanReasonCodes: string[];
|
|
1027
|
+
marketIntelligence?: QueryResponseEnvelopeMarketIntelligence | null;
|
|
931
1028
|
};
|
|
932
1029
|
artifacts: {
|
|
933
1030
|
dataUrl: string | null;
|
|
@@ -942,6 +1039,10 @@ interface QueryResponseEnvelope {
|
|
|
942
1039
|
view: {
|
|
943
1040
|
type: QueryResponseEnvelopeViewType;
|
|
944
1041
|
label: string;
|
|
1042
|
+
title?: string | null;
|
|
1043
|
+
metrics?: QueryResponseEnvelopeViewMetric[];
|
|
1044
|
+
columns?: string[];
|
|
1045
|
+
rows?: QueryResponseEnvelopeViewRow[];
|
|
945
1046
|
} | null;
|
|
946
1047
|
freshness: {
|
|
947
1048
|
asOf: string | null;
|
|
@@ -985,6 +1086,14 @@ interface QueryBaseResult {
|
|
|
985
1086
|
developerTrace?: QueryDeveloperTrace;
|
|
986
1087
|
/** Optional orchestration outcome metrics for benchmarking and rollout analysis */
|
|
987
1088
|
orchestrationMetrics?: QueryOrchestrationMetrics;
|
|
1089
|
+
/** Typed public stop reason for the final outcome. */
|
|
1090
|
+
stopReason?: QueryControllerStopReason;
|
|
1091
|
+
/** Typed issue class exposed by the bounded controller contract. */
|
|
1092
|
+
issueClass?: QueryControllerIssueClass | null;
|
|
1093
|
+
/** Ordered public controller actions taken before the final outcome. */
|
|
1094
|
+
actionsTaken?: QueryControllerAction[];
|
|
1095
|
+
/** Optional controller summary for bounded wedge-style answers. */
|
|
1096
|
+
controller?: QueryResponseEnvelope["controller"];
|
|
988
1097
|
/**
|
|
989
1098
|
* Optional public durable continuation handles for resume/fork flows.
|
|
990
1099
|
* Query exposes handle-based continuation, not chat-style continuation payloads.
|
|
@@ -1068,4 +1177,4 @@ declare class ContextError extends Error {
|
|
|
1068
1177
|
constructor(message: string, code?: (ContextErrorCode | string) | undefined, statusCode?: number | undefined, helpUrl?: string | undefined);
|
|
1069
1178
|
}
|
|
1070
1179
|
|
|
1071
|
-
export { type QueryForkReference as $, type SearchCandidateProvenance as A, ContextError as B, type ContributorSearchResolution as C, type ContextClientOptions as D, type McpToolMeta as E, type McpToolRateLimitHints as F, type SearchResponse as G, type SearchOptions as H, type ExecuteOptions as I, type ExecuteSessionStartOptions as J, type ExecuteSessionStatus as K, type ExecuteSessionSpend as L, type McpTool as M, type ExecuteSessionResult as N, type ExecutionResult as O, type ExecuteApiSuccessResponse as P, type QueryDeveloperTrace as Q, type ResolveContributorSearchParams as R, type SearchCandidate as S, type Tool as T, type ExecuteApiErrorResponse as U, type ExecuteApiResponse as V, type ExecuteSessionApiSuccessResponse as W, type ExecuteSessionApiResponse as X, type QueryDeepMode as Y, type QueryAttemptForkReason as Z, type QueryAttemptReference as _, type ContributorSearchMetadata as a, type QueryOptions as a0, type QueryResult as a1, type QuerySessionState as a2, type QueryToolUsage as a3, type QueryCost as a4, type QueryCompletenessRepairEvent as a5, type QueryDeveloperTraceDiagnostics as a6, type QueryDeveloperTraceSummary as a7, type QueryDeveloperTraceStep as a8, type QueryDeveloperTraceToolRef as a9, type QueryDeveloperTraceLoopInfo as aa, type QueryApiSuccessResponse as ab, type QueryApiResponse as ac, type QueryStreamEvent as ad, type QueryStreamToolStatusEvent as ae, type QueryStreamTextDeltaEvent as af, type QueryStreamDeveloperTraceEvent as ag, type QueryStreamDoneEvent as ah, type QueryStreamErrorEvent as ai, type
|
|
1180
|
+
export { type QueryForkReference as $, type SearchCandidateProvenance as A, ContextError as B, type ContributorSearchResolution as C, type ContextClientOptions as D, type McpToolMeta as E, type McpToolRateLimitHints as F, type SearchResponse as G, type SearchOptions as H, type ExecuteOptions as I, type ExecuteSessionStartOptions as J, type ExecuteSessionStatus as K, type ExecuteSessionSpend as L, type McpTool as M, type ExecuteSessionResult as N, type ExecutionResult as O, type ExecuteApiSuccessResponse as P, type QueryDeveloperTrace as Q, type ResolveContributorSearchParams as R, type SearchCandidate as S, type Tool as T, type ExecuteApiErrorResponse as U, type ExecuteApiResponse as V, type ExecuteSessionApiSuccessResponse as W, type ExecuteSessionApiResponse as X, type QueryDeepMode as Y, type QueryAttemptForkReason as Z, type QueryAttemptReference as _, type ContributorSearchMetadata as a, type QueryOptions as a0, type QueryResult as a1, type QuerySessionState as a2, type QueryToolUsage as a3, type QueryCost as a4, type QueryCompletenessRepairEvent as a5, type QueryDeveloperTraceDiagnostics as a6, type QueryDeveloperTraceSummary as a7, type QueryDeveloperTraceStep as a8, type QueryDeveloperTraceToolRef as a9, type QueryDeveloperTraceLoopInfo as aa, type QueryApiSuccessResponse as ab, type QueryApiResponse as ac, type QueryStreamEvent as ad, type QueryStreamToolStatusEvent as ae, type QueryStreamTextDeltaEvent as af, type QueryStreamDeveloperTraceEvent as ag, type QueryStreamDoneEvent as ah, type QueryStreamErrorEvent as ai, type UpdateToolOptions as aj, type UpdateToolResult as ak, type ContextErrorCode as al, type QueryClarificationPayload as am, type QueryClarificationOption as an, type QueryClarificationPolicy as ao, type QueryCapabilityMissPayload as ap, type QueryAssumptionMetadata as aq, type QueryOutcomeType as ar, type ToolCategory as as, ALLOWED_TOOL_CATEGORIES as at, type SearchShortlist as b, type SearchIntent as c, type ContributorSearchConfig as d, type ContributorSearchResolvedConfig as e, type ContributorSearchTraceRecord as f, type ContributorSearchValidationCaseKind as g, type ContributorSearchValidationExpectation as h, type ContributorSearchValidationArtifact as i, ContributorSearchBudgetExceededError as j, CONTRIBUTOR_SEARCH_METADATA_VERSION as k, CONTRIBUTOR_SEARCH_VALIDATION_VERSION as l, type ContributorSearchConfidence as m, type ContributorSearchDegradedOutcome as n, type ContributorSearchDegradedOutcomePolicy as o, type ContributorSearchDegradedReasonCode as p, type ContributorSearchJudge as q, type ContributorSearchJudgeContext as r, type ContributorSearchJudgeInput as s, type ContributorSearchJudgeResult as t, type ContributorSearchJudgeSnapshot as u, type ContributorSearchJudgeUsage as v, type ContributorSearchMetadataSource as w, type ContributorSearchOutcome as x, type ContributorSearchTraceSummary as y, type ContributorSearchValidatorStatus as z };
|
package/package.json
CHANGED