@pratik7368patil/anchor-core 0.1.32 → 0.1.34
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/index.d.ts +36 -1
- package/dist/index.js +598 -111
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/db/schema.sql +12 -0
package/dist/index.d.ts
CHANGED
|
@@ -350,14 +350,20 @@ type OrgRepoCloneState = {
|
|
|
350
350
|
lastError?: string;
|
|
351
351
|
};
|
|
352
352
|
type OrgCrossRepoRelationship = "imports" | "depends_on_package" | "api_consumer" | "sdk_wrapper" | "schema_contract" | "tested_by" | "historical_cochange";
|
|
353
|
+
type OrgGraphLayer = "file" | "repo";
|
|
354
|
+
type OrgEdgeConfidenceBucket = "strong" | "moderate" | "weak";
|
|
353
355
|
type OrgCrossRepoEdge = {
|
|
354
356
|
org: string;
|
|
355
357
|
sourceRepo: string;
|
|
356
358
|
sourcePath: string;
|
|
357
359
|
targetRepo: string;
|
|
358
360
|
targetPath?: string;
|
|
361
|
+
layer: OrgGraphLayer;
|
|
359
362
|
relationship: OrgCrossRepoRelationship;
|
|
360
363
|
evidence: EvidenceRef[];
|
|
364
|
+
matchReasons: string[];
|
|
365
|
+
evidenceCount: number;
|
|
366
|
+
weak: boolean;
|
|
361
367
|
confidence: number;
|
|
362
368
|
};
|
|
363
369
|
type OrgApiConsumer = {
|
|
@@ -368,8 +374,18 @@ type OrgApiConsumer = {
|
|
|
368
374
|
consumerPath: string;
|
|
369
375
|
contract: string;
|
|
370
376
|
evidence: EvidenceRef[];
|
|
377
|
+
matchReasons: string[];
|
|
378
|
+
evidenceCount: number;
|
|
379
|
+
weak: boolean;
|
|
371
380
|
confidence: number;
|
|
372
381
|
};
|
|
382
|
+
type OrgGraphQualityStats = {
|
|
383
|
+
edgeConfidenceDistribution: Record<OrgEdgeConfidenceBucket, number>;
|
|
384
|
+
weakEdgesFiltered: number;
|
|
385
|
+
minVisibleConfidence: number;
|
|
386
|
+
minVisibleEvidence: number;
|
|
387
|
+
lastRenderPrepMs?: number;
|
|
388
|
+
};
|
|
373
389
|
type OrgAnomalyCategory = "access_control_risk" | "api_contract_change" | "missing_consumer_update" | "missing_tests" | "known_regression_match" | "shared_package_blast_radius" | "stale_org_index" | "architecture_boundary_violation";
|
|
374
390
|
type OrgAnomaly = {
|
|
375
391
|
id: string;
|
|
@@ -402,6 +418,10 @@ type OrgStatus = {
|
|
|
402
418
|
graphLastStatus?: "success" | "failed" | "skipped" | "unknown";
|
|
403
419
|
graphLastDurationMs?: number;
|
|
404
420
|
graphLastError?: string;
|
|
421
|
+
graphVisibleEdgeCount: number;
|
|
422
|
+
graphWeakEdgeCount: number;
|
|
423
|
+
graphRenderPrepMs?: number;
|
|
424
|
+
graphEdgeConfidenceDistribution: Record<OrgEdgeConfidenceBucket, number>;
|
|
405
425
|
coverageScore: number;
|
|
406
426
|
coverageGrade: CoverageGrade;
|
|
407
427
|
coverageReasons: string[];
|
|
@@ -1631,6 +1651,10 @@ type OrgGraphState = {
|
|
|
1631
1651
|
lastStatus?: "success" | "failed" | "skipped" | "unknown";
|
|
1632
1652
|
lastDurationMs?: number;
|
|
1633
1653
|
edgeCount?: number;
|
|
1654
|
+
visibleEdgeCount?: number;
|
|
1655
|
+
weakEdgeCount?: number;
|
|
1656
|
+
edgeConfidenceDistribution: Record<OrgEdgeConfidenceBucket, number>;
|
|
1657
|
+
lastRenderPrepMs?: number;
|
|
1634
1658
|
apiContractCount?: number;
|
|
1635
1659
|
apiConsumerCount?: number;
|
|
1636
1660
|
lastError?: string;
|
|
@@ -1657,6 +1681,10 @@ declare function recordOrgGraphState(db: AnchorDatabase, input: {
|
|
|
1657
1681
|
builtAt?: string;
|
|
1658
1682
|
durationMs?: number;
|
|
1659
1683
|
edgeCount?: number;
|
|
1684
|
+
visibleEdgeCount?: number;
|
|
1685
|
+
weakEdgeCount?: number;
|
|
1686
|
+
edgeConfidenceDistribution?: Record<OrgEdgeConfidenceBucket, number>;
|
|
1687
|
+
lastRenderPrepMs?: number;
|
|
1660
1688
|
apiContractCount?: number;
|
|
1661
1689
|
apiConsumerCount?: number;
|
|
1662
1690
|
error?: string;
|
|
@@ -1664,6 +1692,8 @@ declare function recordOrgGraphState(db: AnchorDatabase, input: {
|
|
|
1664
1692
|
declare function getOrgGraphState(db: AnchorDatabase, org: string): OrgGraphState | undefined;
|
|
1665
1693
|
declare function getOrgGraphCounts(db: AnchorDatabase, org: string): {
|
|
1666
1694
|
edges: number;
|
|
1695
|
+
visibleEdges: number;
|
|
1696
|
+
weakEdges: number;
|
|
1667
1697
|
apiContracts: number;
|
|
1668
1698
|
apiConsumers: number;
|
|
1669
1699
|
};
|
|
@@ -1733,6 +1763,10 @@ declare function orgCloneStateFromResult(org: string, repo: AnchorOrgRepoConfig,
|
|
|
1733
1763
|
|
|
1734
1764
|
type OrgGraphResult = {
|
|
1735
1765
|
edges: OrgCrossRepoEdge[];
|
|
1766
|
+
repoEdges: OrgCrossRepoEdge[];
|
|
1767
|
+
fileEdges: OrgCrossRepoEdge[];
|
|
1768
|
+
hiddenFileEdges: OrgCrossRepoEdge[];
|
|
1769
|
+
hiddenRepoEdges: OrgCrossRepoEdge[];
|
|
1736
1770
|
apiConsumers: OrgApiConsumer[];
|
|
1737
1771
|
apiContracts: Array<{
|
|
1738
1772
|
repo: string;
|
|
@@ -1741,6 +1775,7 @@ type OrgGraphResult = {
|
|
|
1741
1775
|
evidence: EvidenceRef[];
|
|
1742
1776
|
confidence: number;
|
|
1743
1777
|
}>;
|
|
1778
|
+
quality: OrgGraphQualityStats;
|
|
1744
1779
|
durationMs: number;
|
|
1745
1780
|
};
|
|
1746
1781
|
type RebuildOrgGraphOptions = {
|
|
@@ -1850,4 +1885,4 @@ declare function getAnchorIndexHealth(cwd: string): AnchorIndexHealth & {
|
|
|
1850
1885
|
indexStatus: IndexStatus;
|
|
1851
1886
|
};
|
|
1852
1887
|
|
|
1853
|
-
export { ANCHOR_CURSOR_RULE, ANCHOR_EVALS_FILE, ANCHOR_PLAYBOOKS_FILE, type AnchorCiInput, type AnchorContextInput, type AnchorDatabase, type AnchorExplainFileInput, type AnchorIndexHealth, type AnchorOrgConfig, type AnchorOrgRepoConfig, type AnchorReviewDiffInput, type ArchitectureArea, type ArchitectureCheckInput, type ArchitectureComponent, type ArchitectureContextInput, type ArchitectureIndexData, type ArchitectureMap, type ArchitectureMapEdge, type ArchitectureMapFormat, type ArchitectureMapInput, type ArchitectureMapNode, type ArchitecturePattern, type ArchitectureQueryInput, type ChunkableCodeFile, type CodeChunk, type CodeFileDiscoveryResult, type CodeFileRecord, type CodeImport, type CodeIndexChangePlan, type CodeIndexProgress, type CodeIndexSummary, type ConfidenceLevel, type CoverageGrade, type CoverageInput, type CoverageReport, type CurrentCodeSnapshot, type CursorMcpConfig, DEFAULT_MAX_CODE_FILE_BYTES, DEMO_CODE_FILES, DEMO_PULL_REQUESTS, DEMO_REPO, type DiscoveredCodeFile, type DoctorCheck, type DoctorOptions, type DoctorReport, type EvidenceRef, type FeedbackEvent, type FeedbackRating, type FetchMergedPullRequestsGraphQLOptions, type FetchPullRequestsOptions, type FetchPullRequestsProgress, type FormattedResult, type FreshnessResult, type FreshnessStatus, type GitCommandRunner, type GitHubFetchBackend, GitHubGraphQLError, type GitHubGraphQLFetch, type GitHubGraphQLFetchCheckpoint, type GitHubGraphQLRateLimitState, type GitHubGraphQLResponse, type GitHubGraphQLTransientRetry, type GitHubRateLimitController, type GitHubRateLimitErrorLike, type GitHubRateLimitProgress, type GitHubRepo, type GitHubTokenResolution, type GitHubTokenResolverOptions, type GitHubTokenSource, type IndexPullRequestsProgress, type IndexRunRecord, type IndexStatus, type IndexSummary, type LocalEmbeddingProvider, type OnboardingInput, type OnboardingPack, type OrgAnomaly, type OrgAnomalyCategory, type OrgApiConsumer, type OrgCloneProgress, type OrgCloneResult, type OrgCrossRepoEdge, type OrgCrossRepoRelationship, type OrgFormattedResult, type OrgGraphProgress, type OrgGraphResult, type OrgGraphState, type OrgImpactResult, type OrgIndexOptions, type OrgIndexResult, type OrgLifecycleProgress, type OrgRepoCloneState, type OrgRepoGroup, type OrgRepoIndexResult, type OrgRunHeartbeat, type OrgRunHeartbeatStatus, type OrgRunTimelineRepoSummary, type OrgRunTimelineSnapshot, type OrgRunTimelineStep, type OrgRunTimelineStepStatus, type OrgStatus, type Playbook, type PullRequestComment, type PullRequestCommit, type PullRequestFile, type PullRequestPerson, type PullRequestRecord, type RankedArchitecturePattern, type RankedCodeChunk, type RankedRegressionEvent, type RankedTeamRule, type RankedTestFile, type RankedWisdomUnit, type RebuildOrgGraphOptions, type RegressionEvent, type ReliabilityGate, type ReliabilityGateRejection, type ReliabilityGateResult, type ReliabilityGateStatus, type RepoCodeIndexState, type RetrievalEvalCase, type RetrievalEvalResult, type RetrievalEvalRunResult, type RulesAddInput, type RulesAddResult, type RulesEvidenceCheckResult, type RulesInitResult, type RulesSuggestOptions, SCHEMA_SQL, type SearchHistoryInput, type SemanticStatus, type SourceType, type SuggestedPrompt, TEAM_RULES_FILE, type TaskPlan, type TeamRule, type TeamRuleSuggestion, type TeamRulesValidationResult, type TestCommand, type TestFileRecord, type TestLink, type WatchRefreshInput, type WisdomCategory, type WisdomUnit, addOrgRepoConfig, addRetrievalEval, addTeamRule, anchorMcpEntry, architectureFilesFromDiff, buildAnchorContextResult, buildArchitectureFromIndexedData, buildArchitectureIndex, buildArchitectureMap, buildFtsQuery, buildOnboardingPack, buildOrgContextResult, buildQueryTerms, calculateCoverage, canonicalizeText, categorizeWisdom, checkArchitecture, checkOrgImpact, checkSchema, checkTeamRuleEvidence, chunkCodeFile, chunkHistoricalText, claimKeyFor, clampMaxResults, classifyArchitectureArea, clearGraphQLFetchCheckpoint, clearOrgHeartbeat, clipSentence, cloneOrPullOrgRepo, cloneOrgRepos, confidenceAtLeast, confidenceLevelFor, confidenceRank, confidenceReasonsFor, countValidTeamRules, createGitHubClient, createGitHubGraphQLRequester, defaultDatabasePath, defaultGitCommandRunner, defaultOrgBaseDir, defaultOrgCloneUrl, detectGitHubRepo, detectGitRoot, detectTestCommands, detectTestCommandsForFile, discoverCodeFiles, discoverCodeFilesByPaths, emptyCodeIndexSummary, ensureAnchorGitExclude, ensureCursorConfig, ensureCursorRule, ensureRepository, ensureTeamRulesFile, evaluateFreshness, evaluateIndexHealth, evaluateReliabilityGate, evidenceForWisdom, explainFile, extractCodeImports, extractCodeSymbols, extractRegressionEvents, extractSymbols, extractWisdomUnits, feedbackAdjustedScore, fetchMergedPullRequests, fetchMergedPullRequestsWithGraphQL, fetchPullRequestDetails, filesFromDiff, findOrgApiConsumers, formatAnchorContext, formatIndexStatus, formatSearchHistory, getAnchorIndexHealth, getArchitectureContext, getArchitectureMapContext, getCodeIndexStateForRepo, getGitHubRateLimitDelayMs, getGraphQLFetchCheckpoint, getIndexStatus, getLastSyncTime, getOrgArchitectureMap, getOrgGraphCounts, getOrgGraphState, getOrgRepoState, getOrgStatus, getPlaybook, getRepoCodeChunkSymbols, getRepoCodeCounts, getRepoCodeFileHashes, getRepoCodeFiles, getRepoCodeImports, getRepoTestChunks, getSemanticStatus, getSuggestedPromptTexts, getSuggestedPrompts, getWisdomCategoryCounts, githubAuthFixMessage, graphQLFetchCheckpointScope, hasDirtyWorkingTree, hasHighSignalLanguage, indexCodebase, indexOrgRepos, indexPullRequests, inferTestAwareness, initOrgConfig, initPlaybooks, initRetrievalEvals, initializeSchema, isGitHubGraphQLResourceLimitError, isGitHubRateLimitError, isHardExcludedCodePath, isTestFilePath, listFeedbackEvents, listOrgNames, listPlaybooks, loadCurrentCodeSnapshot, loadOrgConfig, loadTeamRulesFile, maybeLoadOrgConfig, mergeAnchorMcpConfig, normalizePullRequest, openAnchorDatabase, openAnchorDatabaseReadOnly, openOrgDatabase, openOrgDatabaseReadOnly, orgCloneStateFromResult, orgConfigPath, orgDatabasePath, orgHeartbeatPath, orgRepoLocalPath, orgReposRoot, orgRoot, paginateWithGitHubRateLimit, parseGitHubRemote, planIncrementalCodeIndex, planTask, plannedOrgCloneCommands, rankArchitecturePatterns, rankCodeChunks, rankRegressionEvents, rankRelevantTests, rankTeamRules, rankWisdomUnits, readDiscoveredCodeFileContent, readGitHeadCommit, readOrgHeartbeat, rebuildOrgGraph, recordFeedback, recordIndexRun, recordOrgGraphState, recordOrgIndexRun, redactSecrets, redactedHistoricalText, refreshTestCommands, refreshWatchIndex, removeOrgRepoConfig, replaceCodeIndex, repoAliasFromFullName, requestWithGitHubRateLimit, resolveGitHubToken, resolveOrgForTool, resolvePullRequestDetailConcurrency, resolvePullRequestFetchLimit, reviewDiff, runAnchorCi, runDatabaseMaintenance, runDoctor, runRetrievalEvals, sanitizeHistoricalText, saveGraphQLFetchCheckpoint, saveOrgConfig, shouldFallbackToRestAfterGraphQLError, shouldSyncSince, sourceTypeLabel, stripPromptInjection, suggestPlaybooks, suggestTeamRules, syncOrgConfigToDatabase, syncPlaybooksToDatabase, tokenizeSearchText, touchCodeIndexState, truncateText, uniqueStrings, updateGitHubGraphQLRateLimitState, updateOrgRepoState, updateSyncState, upsertPullRequest, validateOrgName, validateOrgRepoFullName, validateOrgRepoGroup, validateTeamRulesFile, watchCodebase, writeOrgHeartbeat };
|
|
1888
|
+
export { ANCHOR_CURSOR_RULE, ANCHOR_EVALS_FILE, ANCHOR_PLAYBOOKS_FILE, type AnchorCiInput, type AnchorContextInput, type AnchorDatabase, type AnchorExplainFileInput, type AnchorIndexHealth, type AnchorOrgConfig, type AnchorOrgRepoConfig, type AnchorReviewDiffInput, type ArchitectureArea, type ArchitectureCheckInput, type ArchitectureComponent, type ArchitectureContextInput, type ArchitectureIndexData, type ArchitectureMap, type ArchitectureMapEdge, type ArchitectureMapFormat, type ArchitectureMapInput, type ArchitectureMapNode, type ArchitecturePattern, type ArchitectureQueryInput, type ChunkableCodeFile, type CodeChunk, type CodeFileDiscoveryResult, type CodeFileRecord, type CodeImport, type CodeIndexChangePlan, type CodeIndexProgress, type CodeIndexSummary, type ConfidenceLevel, type CoverageGrade, type CoverageInput, type CoverageReport, type CurrentCodeSnapshot, type CursorMcpConfig, DEFAULT_MAX_CODE_FILE_BYTES, DEMO_CODE_FILES, DEMO_PULL_REQUESTS, DEMO_REPO, type DiscoveredCodeFile, type DoctorCheck, type DoctorOptions, type DoctorReport, type EvidenceRef, type FeedbackEvent, type FeedbackRating, type FetchMergedPullRequestsGraphQLOptions, type FetchPullRequestsOptions, type FetchPullRequestsProgress, type FormattedResult, type FreshnessResult, type FreshnessStatus, type GitCommandRunner, type GitHubFetchBackend, GitHubGraphQLError, type GitHubGraphQLFetch, type GitHubGraphQLFetchCheckpoint, type GitHubGraphQLRateLimitState, type GitHubGraphQLResponse, type GitHubGraphQLTransientRetry, type GitHubRateLimitController, type GitHubRateLimitErrorLike, type GitHubRateLimitProgress, type GitHubRepo, type GitHubTokenResolution, type GitHubTokenResolverOptions, type GitHubTokenSource, type IndexPullRequestsProgress, type IndexRunRecord, type IndexStatus, type IndexSummary, type LocalEmbeddingProvider, type OnboardingInput, type OnboardingPack, type OrgAnomaly, type OrgAnomalyCategory, type OrgApiConsumer, type OrgCloneProgress, type OrgCloneResult, type OrgCrossRepoEdge, type OrgCrossRepoRelationship, type OrgEdgeConfidenceBucket, type OrgFormattedResult, type OrgGraphLayer, type OrgGraphProgress, type OrgGraphQualityStats, type OrgGraphResult, type OrgGraphState, type OrgImpactResult, type OrgIndexOptions, type OrgIndexResult, type OrgLifecycleProgress, type OrgRepoCloneState, type OrgRepoGroup, type OrgRepoIndexResult, type OrgRunHeartbeat, type OrgRunHeartbeatStatus, type OrgRunTimelineRepoSummary, type OrgRunTimelineSnapshot, type OrgRunTimelineStep, type OrgRunTimelineStepStatus, type OrgStatus, type Playbook, type PullRequestComment, type PullRequestCommit, type PullRequestFile, type PullRequestPerson, type PullRequestRecord, type RankedArchitecturePattern, type RankedCodeChunk, type RankedRegressionEvent, type RankedTeamRule, type RankedTestFile, type RankedWisdomUnit, type RebuildOrgGraphOptions, type RegressionEvent, type ReliabilityGate, type ReliabilityGateRejection, type ReliabilityGateResult, type ReliabilityGateStatus, type RepoCodeIndexState, type RetrievalEvalCase, type RetrievalEvalResult, type RetrievalEvalRunResult, type RulesAddInput, type RulesAddResult, type RulesEvidenceCheckResult, type RulesInitResult, type RulesSuggestOptions, SCHEMA_SQL, type SearchHistoryInput, type SemanticStatus, type SourceType, type SuggestedPrompt, TEAM_RULES_FILE, type TaskPlan, type TeamRule, type TeamRuleSuggestion, type TeamRulesValidationResult, type TestCommand, type TestFileRecord, type TestLink, type WatchRefreshInput, type WisdomCategory, type WisdomUnit, addOrgRepoConfig, addRetrievalEval, addTeamRule, anchorMcpEntry, architectureFilesFromDiff, buildAnchorContextResult, buildArchitectureFromIndexedData, buildArchitectureIndex, buildArchitectureMap, buildFtsQuery, buildOnboardingPack, buildOrgContextResult, buildQueryTerms, calculateCoverage, canonicalizeText, categorizeWisdom, checkArchitecture, checkOrgImpact, checkSchema, checkTeamRuleEvidence, chunkCodeFile, chunkHistoricalText, claimKeyFor, clampMaxResults, classifyArchitectureArea, clearGraphQLFetchCheckpoint, clearOrgHeartbeat, clipSentence, cloneOrPullOrgRepo, cloneOrgRepos, confidenceAtLeast, confidenceLevelFor, confidenceRank, confidenceReasonsFor, countValidTeamRules, createGitHubClient, createGitHubGraphQLRequester, defaultDatabasePath, defaultGitCommandRunner, defaultOrgBaseDir, defaultOrgCloneUrl, detectGitHubRepo, detectGitRoot, detectTestCommands, detectTestCommandsForFile, discoverCodeFiles, discoverCodeFilesByPaths, emptyCodeIndexSummary, ensureAnchorGitExclude, ensureCursorConfig, ensureCursorRule, ensureRepository, ensureTeamRulesFile, evaluateFreshness, evaluateIndexHealth, evaluateReliabilityGate, evidenceForWisdom, explainFile, extractCodeImports, extractCodeSymbols, extractRegressionEvents, extractSymbols, extractWisdomUnits, feedbackAdjustedScore, fetchMergedPullRequests, fetchMergedPullRequestsWithGraphQL, fetchPullRequestDetails, filesFromDiff, findOrgApiConsumers, formatAnchorContext, formatIndexStatus, formatSearchHistory, getAnchorIndexHealth, getArchitectureContext, getArchitectureMapContext, getCodeIndexStateForRepo, getGitHubRateLimitDelayMs, getGraphQLFetchCheckpoint, getIndexStatus, getLastSyncTime, getOrgArchitectureMap, getOrgGraphCounts, getOrgGraphState, getOrgRepoState, getOrgStatus, getPlaybook, getRepoCodeChunkSymbols, getRepoCodeCounts, getRepoCodeFileHashes, getRepoCodeFiles, getRepoCodeImports, getRepoTestChunks, getSemanticStatus, getSuggestedPromptTexts, getSuggestedPrompts, getWisdomCategoryCounts, githubAuthFixMessage, graphQLFetchCheckpointScope, hasDirtyWorkingTree, hasHighSignalLanguage, indexCodebase, indexOrgRepos, indexPullRequests, inferTestAwareness, initOrgConfig, initPlaybooks, initRetrievalEvals, initializeSchema, isGitHubGraphQLResourceLimitError, isGitHubRateLimitError, isHardExcludedCodePath, isTestFilePath, listFeedbackEvents, listOrgNames, listPlaybooks, loadCurrentCodeSnapshot, loadOrgConfig, loadTeamRulesFile, maybeLoadOrgConfig, mergeAnchorMcpConfig, normalizePullRequest, openAnchorDatabase, openAnchorDatabaseReadOnly, openOrgDatabase, openOrgDatabaseReadOnly, orgCloneStateFromResult, orgConfigPath, orgDatabasePath, orgHeartbeatPath, orgRepoLocalPath, orgReposRoot, orgRoot, paginateWithGitHubRateLimit, parseGitHubRemote, planIncrementalCodeIndex, planTask, plannedOrgCloneCommands, rankArchitecturePatterns, rankCodeChunks, rankRegressionEvents, rankRelevantTests, rankTeamRules, rankWisdomUnits, readDiscoveredCodeFileContent, readGitHeadCommit, readOrgHeartbeat, rebuildOrgGraph, recordFeedback, recordIndexRun, recordOrgGraphState, recordOrgIndexRun, redactSecrets, redactedHistoricalText, refreshTestCommands, refreshWatchIndex, removeOrgRepoConfig, replaceCodeIndex, repoAliasFromFullName, requestWithGitHubRateLimit, resolveGitHubToken, resolveOrgForTool, resolvePullRequestDetailConcurrency, resolvePullRequestFetchLimit, reviewDiff, runAnchorCi, runDatabaseMaintenance, runDoctor, runRetrievalEvals, sanitizeHistoricalText, saveGraphQLFetchCheckpoint, saveOrgConfig, shouldFallbackToRestAfterGraphQLError, shouldSyncSince, sourceTypeLabel, stripPromptInjection, suggestPlaybooks, suggestTeamRules, syncOrgConfigToDatabase, syncPlaybooksToDatabase, tokenizeSearchText, touchCodeIndexState, truncateText, uniqueStrings, updateGitHubGraphQLRateLimitState, updateOrgRepoState, updateSyncState, upsertPullRequest, validateOrgName, validateOrgRepoFullName, validateOrgRepoGroup, validateTeamRulesFile, watchCodebase, writeOrgHeartbeat };
|