@ctxprotocol/sdk 0.11.1 → 0.13.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.
@@ -1,5 +1,5 @@
1
- import { C as ContributorSearchResolution, a as ContributorSearchMetadata, S as SearchCandidate, b as SearchShortlist, c as SearchIntent, d as ContributorSearchConfig, e as ContributorSearchResolvedConfig, R as ResolveContributorSearchParams, Q as QueryDeveloperTrace, f as ContributorSearchTraceRecord, g as ContributorSearchValidationCaseKind, h as ContributorSearchValidationExpectation, i as ContributorSearchValidationArtifact } from '../../types-DRbq-FA6.js';
2
- export { k as CONTRIBUTOR_SEARCH_METADATA_VERSION, l as CONTRIBUTOR_SEARCH_VALIDATION_VERSION, j as ContributorSearchBudgetExceededError, m as ContributorSearchConfidence, n as ContributorSearchDegradedOutcome, o as ContributorSearchDegradedOutcomePolicy, p as ContributorSearchDegradedReasonCode, q as ContributorSearchJudge, r as ContributorSearchJudgeContext, s as ContributorSearchJudgeInput, t as ContributorSearchJudgeResult, u as ContributorSearchJudgeSnapshot, v as ContributorSearchJudgeUsage, w as ContributorSearchMetadataSource, x as ContributorSearchOutcome, y as ContributorSearchTraceSummary, z as ContributorSearchValidatorStatus, A as SearchCandidateProvenance } from '../../types-DRbq-FA6.js';
1
+ import { C as ContributorSearchResolution, a as ContributorSearchMetadata, S as SearchCandidate, b as SearchShortlist, c as SearchIntent, d as ContributorSearchConfig, e as ContributorSearchResolvedConfig, R as ResolveContributorSearchParams, Q as QueryDeveloperTrace, f as ContributorSearchTraceRecord, g as ContributorSearchValidationCaseKind, h as ContributorSearchValidationExpectation, i as ContributorSearchValidationArtifact } from '../../types-DPxI353c.js';
2
+ export { k as CONTRIBUTOR_SEARCH_METADATA_VERSION, l as CONTRIBUTOR_SEARCH_VALIDATION_VERSION, j as ContributorSearchBudgetExceededError, m as ContributorSearchConfidence, n as ContributorSearchDegradedOutcome, o as ContributorSearchDegradedOutcomePolicy, p as ContributorSearchDegradedReasonCode, q as ContributorSearchJudge, r as ContributorSearchJudgeContext, s as ContributorSearchJudgeInput, t as ContributorSearchJudgeResult, u as ContributorSearchJudgeSnapshot, v as ContributorSearchJudgeUsage, w as ContributorSearchMetadataSource, x as ContributorSearchOutcome, y as ContributorSearchTraceSummary, z as ContributorSearchValidatorStatus, A as SearchCandidateProvenance } from '../../types-DPxI353c.js';
3
3
 
4
4
  declare function createSearchIntent(params: {
5
5
  rawRequest: string;
package/dist/index.cjs CHANGED
@@ -121,6 +121,9 @@ var Discovery = class {
121
121
  if (options.excludeSlow !== void 0) {
122
122
  params.set("excludeSlow", String(options.excludeSlow));
123
123
  }
124
+ if (options.favoritesOnly !== void 0) {
125
+ params.set("favorites_only", String(options.favoritesOnly));
126
+ }
124
127
  const queryString = params.toString();
125
128
  const endpoint = `/api/v1/tools/search${queryString ? `?${queryString}` : ""}`;
126
129
  const response = await this.client._fetch(endpoint);
@@ -558,11 +561,10 @@ var Query = class {
558
561
  clarificationPolicy: opts.clarificationPolicy,
559
562
  answerModelId: opts.answerModelId,
560
563
  responseShape: opts.responseShape,
564
+ favoritesOnly: opts.favoritesOnly,
561
565
  includeData: opts.includeData,
562
566
  includeDataUrl: opts.includeDataUrl,
563
567
  includeDeveloperTrace: opts.includeDeveloperTrace,
564
- queryDepth: opts.queryDepth,
565
- debugScoutDeepMode: opts.debugScoutDeepMode,
566
568
  stream: true
567
569
  })
568
570
  });
@@ -690,8 +692,9 @@ var ContextClient = class {
690
692
  * Query resource for agentic queries (pay-per-response).
691
693
  *
692
694
  * Unlike `tools.execute()` which calls a single tool once, `query` sends
693
- * a natural-language question and lets the server handle tool discovery,
694
- * multi-tool orchestration, self-healing, and AI synthesis — one flat fee.
695
+ * a natural-language question and lets the server handle discovery,
696
+ * metadata scout, clarification, iterative execution, and AI synthesis —
697
+ * one flat fee.
695
698
  */
696
699
  query;
697
700
  /**