@pratik7368patil/anchor-core 0.1.39 → 0.1.41
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 +126 -1
- package/dist/index.js +920 -185
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,128 @@
|
|
|
1
1
|
import Database from 'better-sqlite3';
|
|
2
2
|
import { Octokit } from '@octokit/rest';
|
|
3
3
|
|
|
4
|
+
type AutosyncMode = "daily" | "off";
|
|
5
|
+
type AutosyncJobKind = "repo" | "org" | "org-graph";
|
|
6
|
+
type AutosyncSchedule = "daily" | "weekly";
|
|
7
|
+
type AutosyncRunStatus = "success" | "failed" | "partial" | "skipped";
|
|
8
|
+
type AutosyncRunRecord = {
|
|
9
|
+
startedAt: string;
|
|
10
|
+
finishedAt?: string;
|
|
11
|
+
status: AutosyncRunStatus;
|
|
12
|
+
message?: string;
|
|
13
|
+
durationMs?: number;
|
|
14
|
+
};
|
|
15
|
+
type AutosyncJob = {
|
|
16
|
+
id: string;
|
|
17
|
+
kind: AutosyncJobKind;
|
|
18
|
+
label: string;
|
|
19
|
+
schedule: AutosyncSchedule;
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
repoRoot?: string;
|
|
22
|
+
repo?: string;
|
|
23
|
+
org?: string;
|
|
24
|
+
nodePath: string;
|
|
25
|
+
anchorScriptPath: string;
|
|
26
|
+
args: string[];
|
|
27
|
+
logPath: string;
|
|
28
|
+
lockPath: string;
|
|
29
|
+
timeoutMs: number;
|
|
30
|
+
createdAt: string;
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
lastRun?: AutosyncRunRecord;
|
|
33
|
+
};
|
|
34
|
+
type AutosyncConfig = {
|
|
35
|
+
version: 1;
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
updatedAt: string;
|
|
38
|
+
jobs: AutosyncJob[];
|
|
39
|
+
};
|
|
40
|
+
type AutosyncInstallJobResult = {
|
|
41
|
+
id: string;
|
|
42
|
+
label: string;
|
|
43
|
+
kind: AutosyncJobKind;
|
|
44
|
+
schedule: AutosyncSchedule;
|
|
45
|
+
scheduler: string;
|
|
46
|
+
installed: boolean;
|
|
47
|
+
nextRunHint: string;
|
|
48
|
+
logPath: string;
|
|
49
|
+
message: string;
|
|
50
|
+
};
|
|
51
|
+
type AutosyncInstallResult = {
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
configPath: string;
|
|
54
|
+
jobs: AutosyncInstallJobResult[];
|
|
55
|
+
warnings: string[];
|
|
56
|
+
};
|
|
57
|
+
type AutosyncStatusJob = {
|
|
58
|
+
id: string;
|
|
59
|
+
label: string;
|
|
60
|
+
kind: AutosyncJobKind;
|
|
61
|
+
schedule: AutosyncSchedule;
|
|
62
|
+
enabled: boolean;
|
|
63
|
+
scheduler: string;
|
|
64
|
+
schedulerDetected: boolean;
|
|
65
|
+
logPath: string;
|
|
66
|
+
lastRun?: AutosyncRunRecord;
|
|
67
|
+
stale: boolean;
|
|
68
|
+
failing: boolean;
|
|
69
|
+
};
|
|
70
|
+
type AutosyncStatus = {
|
|
71
|
+
enabled: boolean;
|
|
72
|
+
configured: boolean;
|
|
73
|
+
configPath: string;
|
|
74
|
+
scheduler: string;
|
|
75
|
+
jobs: AutosyncStatusJob[];
|
|
76
|
+
lastRun?: AutosyncRunRecord;
|
|
77
|
+
warnings: string[];
|
|
78
|
+
};
|
|
79
|
+
type AutosyncInstallOptions = {
|
|
80
|
+
cwd: string;
|
|
81
|
+
mode?: AutosyncMode;
|
|
82
|
+
nodePath?: string;
|
|
83
|
+
anchorScriptPath: string;
|
|
84
|
+
platform?: NodeJS.Platform;
|
|
85
|
+
homeDir?: string;
|
|
86
|
+
orgBaseDir?: string;
|
|
87
|
+
runner?: CommandRunner;
|
|
88
|
+
};
|
|
89
|
+
type CommandRunner = (command: string, args: string[], options?: {
|
|
90
|
+
cwd?: string;
|
|
91
|
+
input?: string;
|
|
92
|
+
}) => string;
|
|
93
|
+
declare function autosyncRoot(homeDir?: string): string;
|
|
94
|
+
declare function autosyncConfigPath(homeDir?: string): string;
|
|
95
|
+
declare function autosyncLogsRoot(homeDir?: string): string;
|
|
96
|
+
declare function autosyncLocksRoot(homeDir?: string): string;
|
|
97
|
+
declare function autosyncJobIdForRepo(repoRoot: string): string;
|
|
98
|
+
declare function autosyncJobIdForOrg(org: string): string;
|
|
99
|
+
declare function autosyncJobIdForOrgGraph(org: string): string;
|
|
100
|
+
declare function autosyncLockPath(jobId: string, homeDir?: string): string;
|
|
101
|
+
declare function defaultCommandRunner(command: string, args: string[], options?: {
|
|
102
|
+
cwd?: string;
|
|
103
|
+
input?: string;
|
|
104
|
+
}): string;
|
|
105
|
+
declare function readAutosyncConfig(homeDir?: string): AutosyncConfig | undefined;
|
|
106
|
+
declare function writeAutosyncConfig(config: AutosyncConfig, homeDir?: string): void;
|
|
107
|
+
declare function installDefaultAutosync(options: AutosyncInstallOptions): AutosyncInstallResult;
|
|
108
|
+
declare function disableAutosync(options?: Pick<AutosyncInstallOptions, "homeDir" | "platform" | "runner">): AutosyncInstallResult;
|
|
109
|
+
declare function getAutosyncStatus(options?: {
|
|
110
|
+
cwd?: string;
|
|
111
|
+
homeDir?: string;
|
|
112
|
+
platform?: NodeJS.Platform;
|
|
113
|
+
}): AutosyncStatus;
|
|
114
|
+
declare function acquireAutosyncLock(jobId: string, homeDir?: string): {
|
|
115
|
+
acquired: boolean;
|
|
116
|
+
lockPath: string;
|
|
117
|
+
release: () => void;
|
|
118
|
+
message?: string;
|
|
119
|
+
};
|
|
120
|
+
declare function recordAutosyncRun(jobId: string, run: AutosyncRunRecord, homeDir?: string): void;
|
|
121
|
+
declare function resolveAutosyncJob(kind: AutosyncJobKind, input: {
|
|
122
|
+
cwd?: string;
|
|
123
|
+
org?: string;
|
|
124
|
+
}): AutosyncJob;
|
|
125
|
+
|
|
4
126
|
type SourceType = "pr_body" | "review_comment" | "issue_comment" | "review_summary" | "commit_message" | "diff_context";
|
|
5
127
|
type WisdomCategory = "architecture_decision" | "constraint" | "rejected_approach" | "bug_regression" | "testing_rule" | "api_contract" | "performance_note" | "security_note" | "style_convention" | "unknown";
|
|
6
128
|
type ConfidenceLevel = "strong" | "moderate" | "weak";
|
|
@@ -995,6 +1117,7 @@ type AnchorIndexHealth = {
|
|
|
995
1117
|
coverageGrade: CoverageGrade;
|
|
996
1118
|
coverageReasons: string[];
|
|
997
1119
|
suggestedPrompts: string[];
|
|
1120
|
+
autosync?: AutosyncStatus;
|
|
998
1121
|
};
|
|
999
1122
|
type SemanticStatus = {
|
|
1000
1123
|
enabled: boolean;
|
|
@@ -1041,6 +1164,7 @@ type IndexStatus = {
|
|
|
1041
1164
|
suggestedPrompts: string[];
|
|
1042
1165
|
githubTokenConfigured: boolean;
|
|
1043
1166
|
health: "ok" | "missing_database" | "schema_invalid" | "empty_index";
|
|
1167
|
+
autosync?: AutosyncStatus;
|
|
1044
1168
|
};
|
|
1045
1169
|
type DoctorCheck = {
|
|
1046
1170
|
name: string;
|
|
@@ -1851,6 +1975,7 @@ type OrgIndexOptions = {
|
|
|
1851
1975
|
force?: boolean;
|
|
1852
1976
|
noGraph?: boolean;
|
|
1853
1977
|
since?: string;
|
|
1978
|
+
all?: boolean;
|
|
1854
1979
|
concurrency?: number;
|
|
1855
1980
|
token?: string;
|
|
1856
1981
|
command?: "org index" | "org sync";
|
|
@@ -1925,4 +2050,4 @@ declare function getAnchorIndexHealth(cwd: string): AnchorIndexHealth & {
|
|
|
1925
2050
|
indexStatus: IndexStatus;
|
|
1926
2051
|
};
|
|
1927
2052
|
|
|
1928
|
-
export { ANCHOR_AGENT_TARGETS, ANCHOR_CURSOR_RULE, ANCHOR_EVALS_FILE, ANCHOR_PLAYBOOKS_FILE, type AgentConfigCheck, type AgentConfigFileResult, type AgentConfigResult, type AnchorAgentScope, type AnchorAgentTarget, 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 ConfigureAgentTargetsOptions, 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 PromptTarget, 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, agentTargetLabel, anchorMcpEntry, architectureFilesFromDiff, buildAnchorContextResult, buildArchitectureFromIndexedData, buildArchitectureIndex, buildArchitectureMap, buildFtsQuery, buildOnboardingPack, buildOrgContextResult, buildQueryTerms, calculateCoverage, canonicalizeText, categorizeWisdom, checkAgentTargetConfig, checkArchitecture, checkOrgImpact, checkSchema, checkTeamRuleEvidence, chunkCodeFile, chunkHistoricalText, claimKeyFor, clampMaxResults, classifyArchitectureArea, clearGraphQLFetchCheckpoint, clearOrgHeartbeat, clipSentence, cloneOrPullOrgRepo, cloneOrgRepos, confidenceAtLeast, confidenceLevelFor, confidenceRank, confidenceReasonsFor, configureAgentTargets, countValidTeamRules, createGitHubClient, createGitHubGraphQLRequester, defaultDatabasePath, defaultGitCommandRunner, defaultOrgBaseDir, defaultOrgCloneUrl, detectConfiguredAgentTargets, 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, isAnchorAgentTarget, 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, parseAnchorAgentTargets, parseGitHubRemote, planIncrementalCodeIndex, planTask, plannedOrgCloneCommands, rankArchitecturePatterns, rankCodeChunks, rankRegressionEvents, rankRelevantTests, rankTeamRules, rankWisdomUnits, readDiscoveredCodeFileContent, readGitHeadCommit, readOrgHeartbeat, rebuildOrgGraph, recordFeedback, recordIndexRun, recordOrgGraphState, recordOrgIndexRun, redactSecrets, redactedHistoricalText, refreshTestCommands, refreshWatchIndex, removeOrgRepoConfig, renderAnchorAgentInstructions, renderGenericMcpConfig, 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 };
|
|
2053
|
+
export { ANCHOR_AGENT_TARGETS, ANCHOR_CURSOR_RULE, ANCHOR_EVALS_FILE, ANCHOR_PLAYBOOKS_FILE, type AgentConfigCheck, type AgentConfigFileResult, type AgentConfigResult, type AnchorAgentScope, type AnchorAgentTarget, 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 AutosyncConfig, type AutosyncInstallJobResult, type AutosyncInstallOptions, type AutosyncInstallResult, type AutosyncJob, type AutosyncJobKind, type AutosyncMode, type AutosyncRunRecord, type AutosyncRunStatus, type AutosyncSchedule, type AutosyncStatus, type AutosyncStatusJob, type ChunkableCodeFile, type CodeChunk, type CodeFileDiscoveryResult, type CodeFileRecord, type CodeImport, type CodeIndexChangePlan, type CodeIndexProgress, type CodeIndexSummary, type CommandRunner, type ConfidenceLevel, type ConfigureAgentTargetsOptions, 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 PromptTarget, 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, acquireAutosyncLock, addOrgRepoConfig, addRetrievalEval, addTeamRule, agentTargetLabel, anchorMcpEntry, architectureFilesFromDiff, autosyncConfigPath, autosyncJobIdForOrg, autosyncJobIdForOrgGraph, autosyncJobIdForRepo, autosyncLockPath, autosyncLocksRoot, autosyncLogsRoot, autosyncRoot, buildAnchorContextResult, buildArchitectureFromIndexedData, buildArchitectureIndex, buildArchitectureMap, buildFtsQuery, buildOnboardingPack, buildOrgContextResult, buildQueryTerms, calculateCoverage, canonicalizeText, categorizeWisdom, checkAgentTargetConfig, checkArchitecture, checkOrgImpact, checkSchema, checkTeamRuleEvidence, chunkCodeFile, chunkHistoricalText, claimKeyFor, clampMaxResults, classifyArchitectureArea, clearGraphQLFetchCheckpoint, clearOrgHeartbeat, clipSentence, cloneOrPullOrgRepo, cloneOrgRepos, confidenceAtLeast, confidenceLevelFor, confidenceRank, confidenceReasonsFor, configureAgentTargets, countValidTeamRules, createGitHubClient, createGitHubGraphQLRequester, defaultCommandRunner, defaultDatabasePath, defaultGitCommandRunner, defaultOrgBaseDir, defaultOrgCloneUrl, detectConfiguredAgentTargets, detectGitHubRepo, detectGitRoot, detectTestCommands, detectTestCommandsForFile, disableAutosync, 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, getAutosyncStatus, 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, installDefaultAutosync, isAnchorAgentTarget, 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, parseAnchorAgentTargets, parseGitHubRemote, planIncrementalCodeIndex, planTask, plannedOrgCloneCommands, rankArchitecturePatterns, rankCodeChunks, rankRegressionEvents, rankRelevantTests, rankTeamRules, rankWisdomUnits, readAutosyncConfig, readDiscoveredCodeFileContent, readGitHeadCommit, readOrgHeartbeat, rebuildOrgGraph, recordAutosyncRun, recordFeedback, recordIndexRun, recordOrgGraphState, recordOrgIndexRun, redactSecrets, redactedHistoricalText, refreshTestCommands, refreshWatchIndex, removeOrgRepoConfig, renderAnchorAgentInstructions, renderGenericMcpConfig, replaceCodeIndex, repoAliasFromFullName, requestWithGitHubRateLimit, resolveAutosyncJob, 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, writeAutosyncConfig, writeOrgHeartbeat };
|