@thanh01.pmt/research-kit 1.4.1 → 1.4.2

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.
Files changed (52) hide show
  1. package/dist/academic/index.cjs +13 -12
  2. package/dist/academic/index.cjs.map +1 -1
  3. package/dist/academic/index.d.cts +1 -1
  4. package/dist/academic/index.d.ts +1 -1
  5. package/dist/academic/index.js +1 -1
  6. package/dist/agent/index.cjs +269 -108
  7. package/dist/agent/index.cjs.map +1 -1
  8. package/dist/agent/index.d.cts +4 -4
  9. package/dist/agent/index.d.ts +4 -4
  10. package/dist/agent/index.js +3 -3
  11. package/dist/{catalogBuilder-D-UiM37y.d.ts → catalogBuilder-BN3VwEsE.d.ts} +15 -2
  12. package/dist/{catalogBuilder-BBCa9jqI.d.cts → catalogBuilder-mba5BIHD.d.cts} +15 -2
  13. package/dist/{chunk-UCPWBRZ2.js → chunk-5HSLUAM6.js} +11 -3
  14. package/dist/chunk-5HSLUAM6.js.map +1 -0
  15. package/dist/{chunk-4S6UMYBA.js → chunk-6QW5TFDJ.js} +56 -328
  16. package/dist/chunk-6QW5TFDJ.js.map +1 -0
  17. package/dist/chunk-BPZLZKVJ.js +1012 -0
  18. package/dist/chunk-BPZLZKVJ.js.map +1 -0
  19. package/dist/{chunk-7BGR4E37.js → chunk-LTXXARCA.js} +3 -3
  20. package/dist/{chunk-7BGR4E37.js.map → chunk-LTXXARCA.js.map} +1 -1
  21. package/dist/{chunk-6U2H2DMQ.js → chunk-QLBHTCV6.js} +95 -35
  22. package/dist/chunk-QLBHTCV6.js.map +1 -0
  23. package/dist/{chunk-SDDZFFL6.js → chunk-SB7WYK7A.js} +15 -14
  24. package/dist/chunk-SB7WYK7A.js.map +1 -0
  25. package/dist/harvester/index.cjs +219 -86
  26. package/dist/harvester/index.cjs.map +1 -1
  27. package/dist/harvester/index.d.cts +2 -2
  28. package/dist/harvester/index.d.ts +2 -2
  29. package/dist/harvester/index.js +3 -3
  30. package/dist/{index-_aiOh8jX.d.ts → index-9Z-uMwdI.d.ts} +12 -4
  31. package/dist/{index-BOwJ1jON.d.cts → index-eTcF4XVo.d.cts} +12 -4
  32. package/dist/index.cjs +2585 -2355
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.cts +5 -5
  35. package/dist/index.d.ts +5 -5
  36. package/dist/index.js +12 -12
  37. package/dist/{literatureReview-Bvlqk4DB.d.cts → literatureReview-BUtPL7bj.d.cts} +1 -0
  38. package/dist/{literatureReview-Bn2iEGRO.d.ts → literatureReview-CHz-JfSR.d.ts} +1 -0
  39. package/dist/pipeline/index.cjs +322 -128
  40. package/dist/pipeline/index.cjs.map +1 -1
  41. package/dist/pipeline/index.d.cts +15 -3
  42. package/dist/pipeline/index.d.ts +15 -3
  43. package/dist/pipeline/index.js +4 -4
  44. package/dist/{socialPulseHarvester-CN4MwrpY.d.cts → socialPulseHarvester-BCFxGwx2.d.cts} +4 -1
  45. package/dist/{socialPulseHarvester-IbdT3zD1.d.ts → socialPulseHarvester-DjMvBufT.d.ts} +4 -1
  46. package/package.json +1 -1
  47. package/dist/chunk-4S6UMYBA.js.map +0 -1
  48. package/dist/chunk-6U2H2DMQ.js.map +0 -1
  49. package/dist/chunk-MJIREPKJ.js +0 -581
  50. package/dist/chunk-MJIREPKJ.js.map +0 -1
  51. package/dist/chunk-SDDZFFL6.js.map +0 -1
  52. package/dist/chunk-UCPWBRZ2.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  export { D as DomainClassificationResult, E as ExtractedCodeBlock, S as ScrapedDocument, T as TechnicalDomain, a as WebScraper, W as WebScraperOptions, c as classifyTechnicalDomain, e as extractSubstantiveExcerpts, i as inferPrimaryCodeLanguage } from '../webScraper-BVvNW4yj.cjs';
2
- export { C as CatalogBuilder, H as HarvestedResourceItem, M as MultiSearchOptions, b as MultiSourceSearchEngine, R as ResourceCatalogBundle, S as SearchHit, a as SearchTimeRange } from '../catalogBuilder-BBCa9jqI.cjs';
3
- export { G as GitHubCurriculumClient, H as HealthAuditResult, c as HealthAuditor, N as NasaMediaClient, O as OpenverseClient, P as PedagogicalTermExtractor, r as SocialPulseHarvester, o as SocialPulseItem, p as SocialPulseOptions, n as SocialPulsePlatform, q as SocialPulseReport, k as StemResearchOptions, l as StemResourceCatalog, j as StemResourceItem, h as StemResourceLicense, g as StemResourceProvider, d as StemResourceQueryType, m as StemResourceResearcher, S as StemResourceType, b as TermExtractionBundle, T as TranscriptSegment, a as YouTubeIngestionService, Y as YouTubeTranscriptResult, e as extractYouTubeVideoId, f as formatTimestamp, i as isYouTubeUrl, s as stitchCaptionSegments } from '../socialPulseHarvester-CN4MwrpY.cjs';
2
+ export { C as CatalogBuilder, E as EngineFailureReason, H as HarvestedResourceItem, M as MultiSearchOptions, b as MultiSourceSearchEngine, R as ResourceCatalogBundle, S as SearchHit, a as SearchTimeRange } from '../catalogBuilder-mba5BIHD.cjs';
3
+ export { G as GitHubCurriculumClient, H as HealthAuditResult, c as HealthAuditor, N as NasaMediaClient, O as OpenverseClient, P as PedagogicalTermExtractor, r as SocialPulseHarvester, o as SocialPulseItem, p as SocialPulseOptions, n as SocialPulsePlatform, q as SocialPulseReport, k as StemResearchOptions, l as StemResourceCatalog, j as StemResourceItem, h as StemResourceLicense, g as StemResourceProvider, d as StemResourceQueryType, m as StemResourceResearcher, S as StemResourceType, b as TermExtractionBundle, T as TranscriptSegment, a as YouTubeIngestionService, Y as YouTubeTranscriptResult, e as extractYouTubeVideoId, f as formatTimestamp, i as isYouTubeUrl, s as stitchCaptionSegments } from '../socialPulseHarvester-BCFxGwx2.cjs';
4
4
  import '../index-CxoD81QN.cjs';
5
5
  import 'zod';
6
6
 
@@ -1,6 +1,6 @@
1
1
  export { D as DomainClassificationResult, E as ExtractedCodeBlock, S as ScrapedDocument, T as TechnicalDomain, a as WebScraper, W as WebScraperOptions, c as classifyTechnicalDomain, e as extractSubstantiveExcerpts, i as inferPrimaryCodeLanguage } from '../webScraper-C9pB5Rgd.js';
2
- export { C as CatalogBuilder, H as HarvestedResourceItem, M as MultiSearchOptions, b as MultiSourceSearchEngine, R as ResourceCatalogBundle, S as SearchHit, a as SearchTimeRange } from '../catalogBuilder-D-UiM37y.js';
3
- export { G as GitHubCurriculumClient, H as HealthAuditResult, c as HealthAuditor, N as NasaMediaClient, O as OpenverseClient, P as PedagogicalTermExtractor, r as SocialPulseHarvester, o as SocialPulseItem, p as SocialPulseOptions, n as SocialPulsePlatform, q as SocialPulseReport, k as StemResearchOptions, l as StemResourceCatalog, j as StemResourceItem, h as StemResourceLicense, g as StemResourceProvider, d as StemResourceQueryType, m as StemResourceResearcher, S as StemResourceType, b as TermExtractionBundle, T as TranscriptSegment, a as YouTubeIngestionService, Y as YouTubeTranscriptResult, e as extractYouTubeVideoId, f as formatTimestamp, i as isYouTubeUrl, s as stitchCaptionSegments } from '../socialPulseHarvester-IbdT3zD1.js';
2
+ export { C as CatalogBuilder, E as EngineFailureReason, H as HarvestedResourceItem, M as MultiSearchOptions, b as MultiSourceSearchEngine, R as ResourceCatalogBundle, S as SearchHit, a as SearchTimeRange } from '../catalogBuilder-BN3VwEsE.js';
3
+ export { G as GitHubCurriculumClient, H as HealthAuditResult, c as HealthAuditor, N as NasaMediaClient, O as OpenverseClient, P as PedagogicalTermExtractor, r as SocialPulseHarvester, o as SocialPulseItem, p as SocialPulseOptions, n as SocialPulsePlatform, q as SocialPulseReport, k as StemResearchOptions, l as StemResourceCatalog, j as StemResourceItem, h as StemResourceLicense, g as StemResourceProvider, d as StemResourceQueryType, m as StemResourceResearcher, S as StemResourceType, b as TermExtractionBundle, T as TranscriptSegment, a as YouTubeIngestionService, Y as YouTubeTranscriptResult, e as extractYouTubeVideoId, f as formatTimestamp, i as isYouTubeUrl, s as stitchCaptionSegments } from '../socialPulseHarvester-DjMvBufT.js';
4
4
  import '../index-CxoD81QN.js';
5
5
  import 'zod';
6
6
 
@@ -1,7 +1,7 @@
1
1
  import '../chunk-LDCZ33AC.js';
2
- export { CatalogBuilder, PedagogicalTermExtractor, kahnTopologicalSort, transitiveReduction } from '../chunk-UCPWBRZ2.js';
3
- export { GitHubCurriculumClient, NasaMediaClient, OpenverseClient, SocialPulseHarvester, StemResourceResearcher } from '../chunk-7BGR4E37.js';
4
- export { ECOMMERCE_AND_COMMERCIAL_PATTERNS, ECOMMERCE_DOMAINS, HealthAuditor, MultiSourceSearchEngine, classifyTechnicalDomain, evaluateTechnicalDensity, inferPrimaryCodeLanguage, isCommercialOrNoise } from '../chunk-MJIREPKJ.js';
2
+ export { CatalogBuilder, PedagogicalTermExtractor, kahnTopologicalSort, transitiveReduction } from '../chunk-5HSLUAM6.js';
3
+ export { GitHubCurriculumClient, NasaMediaClient, OpenverseClient, SocialPulseHarvester, StemResourceResearcher } from '../chunk-LTXXARCA.js';
4
+ export { ECOMMERCE_AND_COMMERCIAL_PATTERNS, ECOMMERCE_DOMAINS, HealthAuditor, MultiSourceSearchEngine, classifyTechnicalDomain, evaluateTechnicalDensity, inferPrimaryCodeLanguage, isCommercialOrNoise } from '../chunk-BPZLZKVJ.js';
5
5
  import '../chunk-EWIAA2CC.js';
6
6
  export { WebScraper, YouTubeIngestionService, extractSubstantiveExcerpts, extractYouTubeVideoId, formatTimestamp, isYouTubeUrl, stitchCaptionSegments } from '../chunk-JV6Z6WUQ.js';
7
7
  //# sourceMappingURL=index.js.map
@@ -3,9 +3,9 @@ import { a as CourseResearchContext, j as AcademicPaper, R as ResearchApiKeys, L
3
3
  import { E as ExtractedCodeBlock, S as ScrapedDocument, T as TechnicalDomain } from './webScraper-C9pB5Rgd.js';
4
4
  import { ClaimSweepReport, ScoredEvidence } from './evidence/index.js';
5
5
  import { P as ProvenanceRecord, a as ProvenanceSidecar } from './provenanceTracker-ct4s5lJV.js';
6
- import { S as SearchHit } from './catalogBuilder-D-UiM37y.js';
7
- import { o as SocialPulseItem, Y as YouTubeTranscriptResult, k as StemResearchOptions, l as StemResourceCatalog, p as SocialPulseOptions, q as SocialPulseReport, b as TermExtractionBundle, H as HealthAuditResult } from './socialPulseHarvester-IbdT3zD1.js';
8
- import { T as TaxonomyMappingResult, L as LiteratureReviewReport } from './literatureReview-Bn2iEGRO.js';
6
+ import { S as SearchHit } from './catalogBuilder-BN3VwEsE.js';
7
+ import { o as SocialPulseItem, Y as YouTubeTranscriptResult, k as StemResearchOptions, l as StemResourceCatalog, p as SocialPulseOptions, q as SocialPulseReport, b as TermExtractionBundle, H as HealthAuditResult } from './socialPulseHarvester-DjMvBufT.js';
8
+ import { T as TaxonomyMappingResult, L as LiteratureReviewReport } from './literatureReview-CHz-JfSR.js';
9
9
  import { ResearchPlan, HarvestPipelineOptions, HarvestPipelineResult, TechnicalFactsheet } from './pipeline/index.js';
10
10
 
11
11
  /**
@@ -167,6 +167,8 @@ interface ResearchContract<T = Record<string, unknown>> {
167
167
  interface LedgerItem {
168
168
  /** Immutable monotonic citation ID, e.g. "RES-01", "RES-02" */
169
169
  id: string;
170
+ /** Stable URL/content hash, e.g. "SRC-a1b2c3d4" to avoid cross-run collisions */
171
+ canonicalId?: string;
170
172
  sourceType: 'web' | 'academic' | 'social_pulse' | 'stem_oer' | 'youtube';
171
173
  title: string;
172
174
  url: string;
@@ -186,6 +188,7 @@ interface LedgerItem {
186
188
  */
187
189
  interface CitationReceipt {
188
190
  id: string;
191
+ canonicalId?: string;
189
192
  sourceType: LedgerItem['sourceType'];
190
193
  title: string;
191
194
  url: string;
@@ -248,6 +251,7 @@ interface ProfilePreset {
248
251
  }
249
252
  declare const RESEARCH_PROFILE_PRESETS: Record<Exclude<ResearchProfile, 'auto'>, ProfilePreset>;
250
253
 
254
+ declare function computeCanonicalId(url: string): string;
251
255
  /**
252
256
  * Out-of-Band Immutable Evidence Ledger (`[RES-01]` .. `[RES-N]`).
253
257
  * Stores full scraped excerpts, code blocks, and specification tables in memory while
@@ -564,6 +568,10 @@ declare class ResearchKitClient {
564
568
  execute<T = Record<string, unknown>>(mode: ResearchMode, input: ResearchContract<T> | string): Promise<ResearchAgentResult<T>>;
565
569
  }
566
570
 
571
+ /**
572
+ * Extracts a candidate JSON string from raw LLM output, stripping code fences and outer text.
573
+ */
574
+ declare function extractJsonEnvelope(raw: string): string | null;
567
575
  /**
568
576
  * Resolves `'auto'` profile into a concrete `ResearchProfile` based on objective & context signals.
569
577
  */
@@ -761,4 +769,4 @@ declare function createResearchAgentTool(config?: ResearchKitClientConfig): {
761
769
  }>;
762
770
  };
763
771
 
764
- export { AcademicStandardsService as $, computeContractComplexityScore as A, inferFallbackFacetProbabilities as B, type ChannelStatus as C, rankChannelsByExpectedPrior as D, EvidenceLedger as E, classifyModeAndPrior as F, evaluateAttributeCoverageWithDecision as G, classifyChannelStatus as H, type ConcurrentRefillSchedulerParams as I, type ConcurrentRefillSchedulerResult as J, runConcurrentRefillScheduler as K, type LedgerItem as L, type ModeClassificationTrace as M, resolveResearchProfile as N, isSemanticRankedHit as O, type ProfilePreset as P, type QuestionFacet as Q, type ResearchMode as R, type SourceChannel as S, ResearchSubAgent as T, ResearchAgentToolInputSchema as U, type ResearchAgentToolInput as V, runResearchSubAgent as W, createResearchAgentTool as X, type ResearchKitClientConfig as Y, KnowledgeDiscoveryService as Z, TerminologyGraphService as _, type ResearchProfile as a, EvidenceVerificationService as a0, PedagogicalSynthesisService as a1, TechnicalGroundingService as a2, ResearchKitClient as a3, type ResearchScoreQuestion as b, type ResearchChoiceQuestion as c, type ResearchNoulQuestion as d, type ResearchDecisionQuestion as e, type ResearchScoreAnswer as f, type ResearchChoiceAnswer as g, type ResearchNoulAnswer as h, type ResearchDecisionAnswer as i, type ResearchDecisionRequest as j, type ResearchDecisionResult as k, type ResearchDecisionFn as l, type ChannelExecutionTrace as m, type ResearchAcceptanceCriteria as n, type ResearchBudget as o, type ResearchContract as p, type CitationReceipt as q, type ResearchAgentStatus as r, type ResearchRoundTrace as s, type ResearchAgentResult as t, type ModePreset as u, RESEARCH_MODE_PRESETS as v, RESEARCH_PROFILE_PRESETS as w, QUESTION_FACETS as x, SOURCE_CHANNELS as y, PRIOR_MATRIX as z };
772
+ export { KnowledgeDiscoveryService as $, PRIOR_MATRIX as A, computeContractComplexityScore as B, type ChannelStatus as C, inferFallbackFacetProbabilities as D, EvidenceLedger as E, rankChannelsByExpectedPrior as F, classifyModeAndPrior as G, evaluateAttributeCoverageWithDecision as H, classifyChannelStatus as I, type ConcurrentRefillSchedulerParams as J, type ConcurrentRefillSchedulerResult as K, type LedgerItem as L, type ModeClassificationTrace as M, runConcurrentRefillScheduler as N, extractJsonEnvelope as O, type ProfilePreset as P, type QuestionFacet as Q, type ResearchMode as R, type SourceChannel as S, resolveResearchProfile as T, isSemanticRankedHit as U, ResearchSubAgent as V, ResearchAgentToolInputSchema as W, type ResearchAgentToolInput as X, runResearchSubAgent as Y, createResearchAgentTool as Z, type ResearchKitClientConfig as _, type ResearchProfile as a, TerminologyGraphService as a0, AcademicStandardsService as a1, EvidenceVerificationService as a2, PedagogicalSynthesisService as a3, TechnicalGroundingService as a4, ResearchKitClient as a5, type ResearchScoreQuestion as b, type ResearchChoiceQuestion as c, type ResearchNoulQuestion as d, type ResearchDecisionQuestion as e, type ResearchScoreAnswer as f, type ResearchChoiceAnswer as g, type ResearchNoulAnswer as h, type ResearchDecisionAnswer as i, type ResearchDecisionRequest as j, type ResearchDecisionResult as k, type ResearchDecisionFn as l, type ChannelExecutionTrace as m, type ResearchAcceptanceCriteria as n, type ResearchBudget as o, type ResearchContract as p, type CitationReceipt as q, type ResearchAgentStatus as r, type ResearchRoundTrace as s, type ResearchAgentResult as t, type ModePreset as u, RESEARCH_MODE_PRESETS as v, RESEARCH_PROFILE_PRESETS as w, computeCanonicalId as x, QUESTION_FACETS as y, SOURCE_CHANNELS as z };
@@ -3,9 +3,9 @@ import { a as CourseResearchContext, j as AcademicPaper, R as ResearchApiKeys, L
3
3
  import { E as ExtractedCodeBlock, S as ScrapedDocument, T as TechnicalDomain } from './webScraper-BVvNW4yj.cjs';
4
4
  import { ClaimSweepReport, ScoredEvidence } from './evidence/index.cjs';
5
5
  import { P as ProvenanceRecord, a as ProvenanceSidecar } from './provenanceTracker-ct4s5lJV.cjs';
6
- import { S as SearchHit } from './catalogBuilder-BBCa9jqI.cjs';
7
- import { o as SocialPulseItem, Y as YouTubeTranscriptResult, k as StemResearchOptions, l as StemResourceCatalog, p as SocialPulseOptions, q as SocialPulseReport, b as TermExtractionBundle, H as HealthAuditResult } from './socialPulseHarvester-CN4MwrpY.cjs';
8
- import { T as TaxonomyMappingResult, L as LiteratureReviewReport } from './literatureReview-Bvlqk4DB.cjs';
6
+ import { S as SearchHit } from './catalogBuilder-mba5BIHD.cjs';
7
+ import { o as SocialPulseItem, Y as YouTubeTranscriptResult, k as StemResearchOptions, l as StemResourceCatalog, p as SocialPulseOptions, q as SocialPulseReport, b as TermExtractionBundle, H as HealthAuditResult } from './socialPulseHarvester-BCFxGwx2.cjs';
8
+ import { T as TaxonomyMappingResult, L as LiteratureReviewReport } from './literatureReview-BUtPL7bj.cjs';
9
9
  import { ResearchPlan, HarvestPipelineOptions, HarvestPipelineResult, TechnicalFactsheet } from './pipeline/index.cjs';
10
10
 
11
11
  /**
@@ -167,6 +167,8 @@ interface ResearchContract<T = Record<string, unknown>> {
167
167
  interface LedgerItem {
168
168
  /** Immutable monotonic citation ID, e.g. "RES-01", "RES-02" */
169
169
  id: string;
170
+ /** Stable URL/content hash, e.g. "SRC-a1b2c3d4" to avoid cross-run collisions */
171
+ canonicalId?: string;
170
172
  sourceType: 'web' | 'academic' | 'social_pulse' | 'stem_oer' | 'youtube';
171
173
  title: string;
172
174
  url: string;
@@ -186,6 +188,7 @@ interface LedgerItem {
186
188
  */
187
189
  interface CitationReceipt {
188
190
  id: string;
191
+ canonicalId?: string;
189
192
  sourceType: LedgerItem['sourceType'];
190
193
  title: string;
191
194
  url: string;
@@ -248,6 +251,7 @@ interface ProfilePreset {
248
251
  }
249
252
  declare const RESEARCH_PROFILE_PRESETS: Record<Exclude<ResearchProfile, 'auto'>, ProfilePreset>;
250
253
 
254
+ declare function computeCanonicalId(url: string): string;
251
255
  /**
252
256
  * Out-of-Band Immutable Evidence Ledger (`[RES-01]` .. `[RES-N]`).
253
257
  * Stores full scraped excerpts, code blocks, and specification tables in memory while
@@ -564,6 +568,10 @@ declare class ResearchKitClient {
564
568
  execute<T = Record<string, unknown>>(mode: ResearchMode, input: ResearchContract<T> | string): Promise<ResearchAgentResult<T>>;
565
569
  }
566
570
 
571
+ /**
572
+ * Extracts a candidate JSON string from raw LLM output, stripping code fences and outer text.
573
+ */
574
+ declare function extractJsonEnvelope(raw: string): string | null;
567
575
  /**
568
576
  * Resolves `'auto'` profile into a concrete `ResearchProfile` based on objective & context signals.
569
577
  */
@@ -761,4 +769,4 @@ declare function createResearchAgentTool(config?: ResearchKitClientConfig): {
761
769
  }>;
762
770
  };
763
771
 
764
- export { AcademicStandardsService as $, computeContractComplexityScore as A, inferFallbackFacetProbabilities as B, type ChannelStatus as C, rankChannelsByExpectedPrior as D, EvidenceLedger as E, classifyModeAndPrior as F, evaluateAttributeCoverageWithDecision as G, classifyChannelStatus as H, type ConcurrentRefillSchedulerParams as I, type ConcurrentRefillSchedulerResult as J, runConcurrentRefillScheduler as K, type LedgerItem as L, type ModeClassificationTrace as M, resolveResearchProfile as N, isSemanticRankedHit as O, type ProfilePreset as P, type QuestionFacet as Q, type ResearchMode as R, type SourceChannel as S, ResearchSubAgent as T, ResearchAgentToolInputSchema as U, type ResearchAgentToolInput as V, runResearchSubAgent as W, createResearchAgentTool as X, type ResearchKitClientConfig as Y, KnowledgeDiscoveryService as Z, TerminologyGraphService as _, type ResearchProfile as a, EvidenceVerificationService as a0, PedagogicalSynthesisService as a1, TechnicalGroundingService as a2, ResearchKitClient as a3, type ResearchScoreQuestion as b, type ResearchChoiceQuestion as c, type ResearchNoulQuestion as d, type ResearchDecisionQuestion as e, type ResearchScoreAnswer as f, type ResearchChoiceAnswer as g, type ResearchNoulAnswer as h, type ResearchDecisionAnswer as i, type ResearchDecisionRequest as j, type ResearchDecisionResult as k, type ResearchDecisionFn as l, type ChannelExecutionTrace as m, type ResearchAcceptanceCriteria as n, type ResearchBudget as o, type ResearchContract as p, type CitationReceipt as q, type ResearchAgentStatus as r, type ResearchRoundTrace as s, type ResearchAgentResult as t, type ModePreset as u, RESEARCH_MODE_PRESETS as v, RESEARCH_PROFILE_PRESETS as w, QUESTION_FACETS as x, SOURCE_CHANNELS as y, PRIOR_MATRIX as z };
772
+ export { KnowledgeDiscoveryService as $, PRIOR_MATRIX as A, computeContractComplexityScore as B, type ChannelStatus as C, inferFallbackFacetProbabilities as D, EvidenceLedger as E, rankChannelsByExpectedPrior as F, classifyModeAndPrior as G, evaluateAttributeCoverageWithDecision as H, classifyChannelStatus as I, type ConcurrentRefillSchedulerParams as J, type ConcurrentRefillSchedulerResult as K, type LedgerItem as L, type ModeClassificationTrace as M, runConcurrentRefillScheduler as N, extractJsonEnvelope as O, type ProfilePreset as P, type QuestionFacet as Q, type ResearchMode as R, type SourceChannel as S, resolveResearchProfile as T, isSemanticRankedHit as U, ResearchSubAgent as V, ResearchAgentToolInputSchema as W, type ResearchAgentToolInput as X, runResearchSubAgent as Y, createResearchAgentTool as Z, type ResearchKitClientConfig as _, type ResearchProfile as a, TerminologyGraphService as a0, AcademicStandardsService as a1, EvidenceVerificationService as a2, PedagogicalSynthesisService as a3, TechnicalGroundingService as a4, ResearchKitClient as a5, type ResearchScoreQuestion as b, type ResearchChoiceQuestion as c, type ResearchNoulQuestion as d, type ResearchDecisionQuestion as e, type ResearchScoreAnswer as f, type ResearchChoiceAnswer as g, type ResearchNoulAnswer as h, type ResearchDecisionAnswer as i, type ResearchDecisionRequest as j, type ResearchDecisionResult as k, type ResearchDecisionFn as l, type ChannelExecutionTrace as m, type ResearchAcceptanceCriteria as n, type ResearchBudget as o, type ResearchContract as p, type CitationReceipt as q, type ResearchAgentStatus as r, type ResearchRoundTrace as s, type ResearchAgentResult as t, type ModePreset as u, RESEARCH_MODE_PRESETS as v, RESEARCH_PROFILE_PRESETS as w, computeCanonicalId as x, QUESTION_FACETS as y, SOURCE_CHANNELS as z };