SYMBOL INDEX (17568 symbols across 1447 files) FILE: benchmark/analyze_failures.py function load_results (line 90) | def load_results(results_dir: Path) -> dict[str, Any]: function load_predictions (line 112) | def load_predictions(predictions_file: Path) -> dict[str, Any]: function categorize_failure (line 123) | def categorize_failure( function analyze_failures (line 200) | def analyze_failures( function identify_patterns (line 251) | def identify_patterns(failures: list[dict[str, Any]]) -> dict[str, Any]: function generate_recommendations (line 299) | def generate_recommendations(analysis: dict[str, Any]) -> list[dict[str,... function compare_failures (line 365) | def compare_failures( function generate_failure_report (line 435) | def generate_failure_report( function main (line 554) | def main(): FILE: benchmark/compare_results.py function load_results (line 29) | def load_results(results_dir: Path) -> dict[str, Any]: function compare_results (line 127) | def compare_results( function generate_markdown_report (line 272) | def generate_markdown_report(comparison: dict[str, Any]) -> str: function generate_csv (line 385) | def generate_csv(comparison: dict[str, Any], output_file: Path): function main (line 411) | def main(): FILE: benchmark/evaluate.py function load_predictions (line 30) | def load_predictions(predictions_file: Path) -> list[dict[str, Any]]: function validate_predictions (line 100) | def validate_predictions(predictions: list[dict[str, Any]]) -> list[str]: function run_swebench_evaluation (line 115) | def run_swebench_evaluation( function parse_evaluation_results (line 201) | def parse_evaluation_results(logs_dir: Path) -> dict[str, Any]: function generate_report (line 302) | def generate_report(results: dict[str, Any], output_file: Path | None = ... function main (line 375) | def main(): FILE: benchmark/run_benchmark.py class BenchmarkConfig (line 49) | class BenchmarkConfig: class TaskResult (line 66) | class TaskResult: class Checkpoint (line 79) | class Checkpoint: class SWEBenchRunner (line 90) | class SWEBenchRunner: method __init__ (line 93) | def __init__(self, config: BenchmarkConfig): method _load_checkpoint (line 108) | def _load_checkpoint(self) -> Checkpoint: method _save_checkpoint (line 125) | def _save_checkpoint(self): method _save_prediction (line 141) | def _save_prediction(self, result: TaskResult): method _save_stats (line 152) | def _save_stats(self): method load_dataset (line 167) | def load_dataset(self) -> list[dict]: method _setup_repo (line 200) | def _setup_repo(self, instance: dict, work_dir: Path) -> bool: method _format_problem (line 238) | def _format_problem(self, instance: dict) -> str: method _run_claude (line 263) | def _run_claude(self, problem: str, work_dir: Path) -> tuple[Optional[... method _extract_patch (line 328) | def _extract_patch(self, work_dir: Path) -> Optional[str]: method process_instance (line 369) | def process_instance(self, instance: dict) -> TaskResult: method _estimate_eta (line 422) | def _estimate_eta(self, completed: int, total: int, elapsed: float) ->... method run (line 431) | def run(self): method _handle_result (line 488) | def _handle_result(self, result: TaskResult, completed: int, total: in... function parse_args (line 514) | def parse_args() -> argparse.Namespace: function main (line 603) | def main(): FILE: benchmarks/code-reviewer/run-benchmark.ts constant BENCHMARK_DIR (line 38) | const BENCHMARK_DIR = __dirname; constant REPO_ROOT (line 39) | const REPO_ROOT = resolve(__dirname, '..', '..'); constant AGENT_NEW (line 45) | const AGENT_NEW = 'code-reviewer'; constant AGENT_OLD (line 46) | const AGENT_OLD = 'quality-reviewer'; function buildUserMessage (line 48) | function buildUserMessage(fixtureContent: string): string { function parseOutput (line 56) | function parseOutput(rawOutput: string, _agentType: string): ParsedAgent... function main (line 64) | async function main(): Promise { FILE: benchmarks/debugger/run-benchmark.ts constant BENCHMARK_DIR (line 38) | const BENCHMARK_DIR = __dirname; constant REPO_ROOT (line 39) | const REPO_ROOT = resolve(__dirname, '..', '..'); constant AGENT_NEW (line 45) | const AGENT_NEW = 'debugger'; constant AGENT_OLD (line 46) | const AGENT_OLD = 'build-fixer'; function buildUserMessage (line 48) | function buildUserMessage(fixtureContent: string): string { function parseOutput (line 56) | function parseOutput(rawOutput: string, _agentType: string): ParsedAgent... function main (line 64) | async function main(): Promise { FILE: benchmarks/executor/run-benchmark.ts constant BENCHMARK_DIR (line 38) | const BENCHMARK_DIR = __dirname; constant REPO_ROOT (line 39) | const REPO_ROOT = resolve(__dirname, '..', '..'); constant AGENT_NEW (line 45) | const AGENT_NEW = 'executor'; constant AGENT_OLD (line 46) | const AGENT_OLD = 'deep-executor'; function buildUserMessage (line 48) | function buildUserMessage(fixtureContent: string): string { function parseOutput (line 56) | function parseOutput(rawOutput: string, _agentType: string): ParsedAgent... function main (line 64) | async function main(): Promise { FILE: benchmarks/harsh-critic/fixtures/code/code-payment-handler.ts constant GATEWAY_BASE_URL (line 16) | const GATEWAY_BASE_URL = process.env.PAYMENT_GATEWAY_URL!; constant GATEWAY_API_KEY (line 17) | const GATEWAY_API_KEY = process.env.PAYMENT_GATEWAY_KEY!; type PaymentRequest (line 19) | interface PaymentRequest { type PaymentResult (line 28) | interface PaymentResult { function processPayment (line 44) | async function processPayment(request: PaymentRequest): Promise { FILE: benchmarks/harsh-critic/fixtures/code/code-session-manager.ts type SessionMetadata (line 17) | interface SessionMetadata { type Session (line 23) | interface Session { type CookieConfig (line 31) | interface CookieConfig { constant SESSION_TTL_MS (line 45) | const SESSION_TTL_MS = 7 * 24 * 60 * 60 * 1000; function generateToken (line 52) | function generateToken(): string { function createSession (line 66) | async function createSession( function getSession (line 100) | async function getSession(token: string): Promise { function invalidateSession (line 119) | async function invalidateSession(token: string): Promise { function invalidateAllUserSessions (line 146) | async function invalidateAllUserSessions(userId: string): Promise { function listUserSessions (line 170) | async function listUserSessions(userId: string): Promise { function pruneExpiredSessions (line 194) | function pruneExpiredSessions(): number { function getSessionCookieConfig (line 221) | function getSessionCookieConfig(): CookieConfig { function getSessionCount (line 235) | function getSessionCount(): number { FILE: benchmarks/harsh-critic/fixtures/code/code-utils-clean.ts function truncate (line 28) | function truncate( function toSlug (line 56) | function toSlug(text: string): string { function maskSensitive (line 80) | function maskSensitive( function relativeTime (line 109) | function relativeTime(date: Date, baseDate: Date = new Date()): string { function isoWeekBounds (line 149) | function isoWeekBounds(date: Date): { start: Date; end: Date } { function groupBy (line 180) | function groupBy( function chunk (line 213) | function chunk(items: readonly T[], size: number): T[][] { function deepClone (line 239) | function deepClone(value: T): T { FILE: benchmarks/harsh-critic/run-benchmark.ts constant BENCHMARK_DIR (line 37) | const BENCHMARK_DIR = __dirname; constant REPO_ROOT (line 38) | const REPO_ROOT = resolve(__dirname, '..', '..'); type CliArgs (line 44) | interface CliArgs { function parseArgs (line 52) | function parseArgs(): CliArgs { function stripFrontmatter (line 102) | function stripFrontmatter(content: string): string { function loadAgentPromptFromFile (line 107) | function loadAgentPromptFromFile(agentName: string): string { type Fixture (line 130) | interface Fixture { function loadFixtures (line 136) | function loadFixtures(fixtureFilter: string | null): Fixture[] { function loadGroundTruth (line 179) | function loadGroundTruth(fixtureId: string): GroundTruth | null { function sleep (line 199) | async function sleep(ms: number): Promise { function callClaude (line 203) | async function callClaude( function pct (line 252) | function pct(value: number): string { function padEnd (line 256) | function padEnd(str: string, len: number): string { function printSummaryTable (line 260) | function printSummaryTable(results: FixtureResult[]): void { function printHeadToHead (line 296) | function printHeadToHead( function main (line 317) | async function main(): Promise { FILE: benchmarks/harsh-critic/scoring/__tests__/parser.test.ts constant SAMPLE_HARSH_CRITIC_OUTPUT (line 8) | const SAMPLE_HARSH_CRITIC_OUTPUT = `**VERDICT: REJECT** constant SAMPLE_MARKDOWN_HEADING_OUTPUT (line 39) | const SAMPLE_MARKDOWN_HEADING_OUTPUT = `**VERDICT: REJECT** constant SAMPLE_CRITIC_OUTPUT (line 70) | const SAMPLE_CRITIC_OUTPUT = `**[REJECT]** constant SAMPLE_CRITIC_OUTPUT_BARE_VERDICT (line 80) | const SAMPLE_CRITIC_OUTPUT_BARE_VERDICT = `REJECT constant SAMPLE_EMPTY_OUTPUT (line 85) | const SAMPLE_EMPTY_OUTPUT = ``; FILE: benchmarks/harsh-critic/scoring/__tests__/scorer.test.ts function makeGroundTruthFinding (line 15) | function makeGroundTruthFinding(overrides: Partial =... function makeGroundTruth (line 27) | function makeGroundTruth(overrides: Partial = {}): GroundTr... function makeParsedOutput (line 39) | function makeParsedOutput(overrides: Partial = {}): P... function makeFixtureResult (line 55) | function makeFixtureResult(overrides: Partial = {}): Fixt... FILE: benchmarks/harsh-critic/scoring/parser.ts constant EVIDENCE_PATTERN (line 27) | const EVIDENCE_PATTERN = function hasEvidence (line 30) | function hasEvidence(text: string): boolean { type PerspectiveKey (line 38) | type PerspectiveKey = 'security' | 'newHire' | 'ops'; type SectionBounds (line 40) | interface SectionBounds { constant NUMBERED_ITEM_PATTERN (line 45) | const NUMBERED_ITEM_PATTERN = /^([ \t]*)(?:\*{1,2}\s*)?\d+[.)](?:\*{1,2}... constant BULLET_ITEM_PATTERN (line 46) | const BULLET_ITEM_PATTERN = /^([ \t]*)[-*•]\s+(.+)$/; constant LIST_MARKER_PATTERN (line 47) | const LIST_MARKER_PATTERN = /^(?:[-*•]|(?:\*{1,2}\s*)?\d+[.)](?:\*{1,2})... constant SUBFIELD_PATTERN (line 50) | const SUBFIELD_PATTERN = function normalizeHeadingLine (line 53) | function normalizeHeadingLine(line: string): string { function isHorizontalRule (line 63) | function isHorizontalRule(line: string): boolean { function isHeadingLine (line 67) | function isHeadingLine(line: string): boolean { function lineMatchesAnyHeadingAlias (line 88) | function lineMatchesAnyHeadingAlias(line: string, aliases: RegExp[]): bo... function findSectionHeadingIndex (line 93) | function findSectionHeadingIndex(lines: string[], aliases: RegExp[]): nu... function findSectionBounds (line 100) | function findSectionBounds(lines: string[], aliases: RegExp[]): SectionB... function hasSection (line 116) | function hasSection(lines: string[], aliases: RegExp[]): boolean { function extractListItemsFromSection (line 120) | function extractListItemsFromSection(sectionLines: string[]): string[] { function extractSectionItems (line 183) | function extractSectionItems(lines: string[], aliases: RegExp[]): string... function dedupeStrings (line 189) | function dedupeStrings(items: string[]): string[] { function detectPerspectiveHeading (line 201) | function detectPerspectiveHeading(line: string): PerspectiveKey | null { function parsePerspectiveNotes (line 227) | function parsePerspectiveNotes( function toFinding (line 316) | function toFinding(text: string, severity: Severity): ParsedFinding { constant PRECOMMIT_ALIASES (line 324) | const PRECOMMIT_ALIASES = [/\bpre-?commitment\s+predictions?\b/]; constant CRITICAL_ALIASES (line 325) | const CRITICAL_ALIASES = [/\bcritical\s+findings?\b/]; constant MAJOR_ALIASES (line 326) | const MAJOR_ALIASES = [/\bmajor\s+findings?\b/]; constant MINOR_ALIASES (line 327) | const MINOR_ALIASES = [/\bminor\s+findings?\b/]; constant MISSING_ALIASES (line 328) | const MISSING_ALIASES = [/\bwhat'?s?\s+missing\b/]; constant MULTI_PERSPECTIVE_ALIASES (line 329) | const MULTI_PERSPECTIVE_ALIASES = [ constant SUMMARY_ALIASES (line 333) | const SUMMARY_ALIASES = [/\bsummary\b/]; constant JUSTIFICATION_ALIASES (line 334) | const JUSTIFICATION_ALIASES = [/\bjustification\b/]; function parseVerdict (line 336) | function parseVerdict(text: string): string { function parseFindingsSection (line 348) | function parseFindingsSection(lines: string[], aliases: RegExp[], severi... function parseHarshCritic (line 352) | function parseHarshCritic(rawOutput: string): ParsedAgentOutput { function parseCriticVerdict (line 400) | function parseCriticVerdict(text: string): string { function parseCriticFindings (line 417) | function parseCriticFindings(text: string): ParsedFinding[] { function parseCritic (line 425) | function parseCritic(rawOutput: string): ParsedAgentOutput { function parseAgentOutput (line 456) | function parseAgentOutput( FILE: benchmarks/harsh-critic/scoring/reporter.ts function generateJsonReport (line 26) | function generateJsonReport( function pct (line 98) | function pct(value: number): string { function sign (line 102) | function sign(value: number): string { function bool (line 106) | function bool(value: boolean): string { constant METRIC_LABELS (line 110) | const METRIC_LABELS: Partial> = { constant SUMMARY_METRICS (line 121) | const SUMMARY_METRICS: Array = [ function generateMarkdownReport (line 139) | function generateMarkdownReport(report: BenchmarkReport): string { FILE: benchmarks/harsh-critic/scoring/scorer.ts type MatchResult (line 25) | interface MatchResult { constant SEVERITY_ORDER (line 40) | const SEVERITY_ORDER: Severity[] = ['CRITICAL', 'MAJOR', 'MINOR']; function severityDistance (line 42) | function severityDistance(a: Severity, b: Severity): number { function severityMatches (line 46) | function severityMatches(agentSeverity: Severity, gtSeverity: Severity):... function normalizeTextForMatch (line 55) | function normalizeTextForMatch(value: string): string { function keywordMatchesText (line 65) | function keywordMatchesText(text: string, keyword: string): boolean { function countKeywordMatches (line 88) | function countKeywordMatches(text: string, keywords: string[]): number { function requiredKeywordMatches (line 92) | function requiredKeywordMatches(keywords: string[]): number { function textMatchesGroundTruth (line 104) | function textMatchesGroundTruth(text: string, gt: GroundTruthFinding): b... type FlatFinding (line 112) | interface FlatFinding { function flattenAgentFindings (line 118) | function flattenAgentFindings(parsed: ParsedAgentOutput): FlatFinding[] { function matchFindings (line 154) | function matchFindings( function computeSeverityAccuracy (line 198) | function computeSeverityAccuracy( function findingsForCategory (line 252) | function findingsForCategory( function countOverlap (line 262) | function countOverlap(ids: string[], matchedIds: string[]): number { function computeEvidenceRate (line 271) | function computeEvidenceRate(parsed: ParsedAgentOutput): number { function computeComposite (line 285) | function computeComposite(scores: Omit): void { function compareWithBaseline (line 182) | function compareWithBaseline( function main (line 227) | async function main(): Promise { FILE: benchmarks/shared/parser.ts constant EVIDENCE_PATTERN (line 18) | const EVIDENCE_PATTERN = function hasEvidence (line 21) | function hasEvidence(text: string): boolean { constant LIST_ITEM_PATTERN (line 29) | const LIST_ITEM_PATTERN = /^(?:[-*\u2022]|\d+[.)])\s+(.+)$/; function extractListItems (line 31) | function extractListItems(lines: string[]): string[] { function normalizeHeading (line 67) | function normalizeHeading(line: string): string { function isHeadingLine (line 78) | function isHeadingLine(line: string): boolean { type Section (line 87) | interface Section { function extractSections (line 92) | function extractSections(rawOutput: string): Section[] { function detectSeverity (line 121) | function detectSeverity(heading: string): Severity | null { function detectSeverityFromText (line 129) | function detectSeverityFromText(text: string): Severity { function toFinding (line 141) | function toFinding(text: string, severity: Severity): ParsedFinding { function parseGenericOutput (line 150) | function parseGenericOutput(rawOutput: string): ParsedAgentOutput { function parseAgentOutput (line 238) | function parseAgentOutput( FILE: benchmarks/shared/reporter.ts function generateAgentReport (line 24) | function generateAgentReport( function generateComparisonReport (line 45) | function generateComparisonReport( function pct (line 119) | function pct(value: number): string { function sign (line 123) | function sign(value: number): string { function bool (line 127) | function bool(value: boolean): string { constant METRIC_LABELS (line 131) | const METRIC_LABELS: Partial> = { constant SUMMARY_METRICS (line 142) | const SUMMARY_METRICS: Array = [ function generateMarkdownReport (line 160) | function generateMarkdownReport( FILE: benchmarks/shared/runner.ts type BenchmarkCliArgs (line 36) | interface BenchmarkCliArgs { function parseCliArgs (line 49) | function parseCliArgs( type Fixture (line 96) | interface Fixture { function loadFixtures (line 106) | function loadFixtures( function loadGroundTruth (line 156) | function loadGroundTruth( function stripFrontmatter (line 178) | function stripFrontmatter(content: string): string { function loadAgentPrompt (line 186) | function loadAgentPrompt( function sleep (line 212) | async function sleep(ms: number): Promise { type ApiCallResult (line 216) | interface ApiCallResult { function callClaude (line 222) | async function callClaude( function createClient (line 274) | function createClient(): Anthropic { function pct (line 298) | function pct(value: number): string { function padEnd (line 302) | function padEnd(str: string, len: number): string { function printSummaryTable (line 306) | function printSummaryTable(results: FixtureResult[], agentTypes: string[... function writeReports (line 346) | function writeReports( type AgentConfig (line 386) | interface AgentConfig { function runBenchmark (line 398) | async function runBenchmark(opts: { FILE: benchmarks/shared/types.ts type Severity (line 12) | type Severity = 'CRITICAL' | 'MAJOR' | 'MINOR'; type FindingCategory (line 14) | type FindingCategory = 'finding' | 'missing' | 'perspective'; type Perspective (line 16) | type Perspective = 'security' | 'new-hire' | 'ops'; type Domain (line 19) | type Domain = 'plan' | 'code' | 'analysis' | 'bug' | 'task'; type AgentType (line 22) | type AgentType = string; type GroundTruthFinding (line 28) | interface GroundTruthFinding { type GroundTruth (line 51) | interface GroundTruth { type ParsedFinding (line 73) | interface ParsedFinding { type ParsedAgentOutput (line 88) | interface ParsedAgentOutput { type BenchmarkScores (line 120) | interface BenchmarkScores { type FixtureResult (line 159) | interface FixtureResult { type AgentBenchmarkReport (line 182) | interface AgentBenchmarkReport { type ComparisonReport (line 198) | interface ComparisonReport { constant SCORING_WEIGHTS (line 225) | const SCORING_WEIGHTS = { constant MIN_KEYWORD_MATCHES (line 238) | const MIN_KEYWORD_MATCHES = 2; constant ALLOW_ADJACENT_SEVERITY (line 244) | const ALLOW_ADJACENT_SEVERITY = true; FILE: bridge/cli.cjs method "node_modules/commander/lib/error.js" (line 39) | "node_modules/commander/lib/error.js"(exports2) { method "node_modules/commander/lib/argument.js" (line 74) | "node_modules/commander/lib/argument.js"(exports2) { method "node_modules/commander/lib/help.js" (line 201) | "node_modules/commander/lib/help.js"(exports2) { method "node_modules/commander/lib/option.js" (line 615) | "node_modules/commander/lib/option.js"(exports2) { method "node_modules/commander/lib/suggestSimilar.js" (line 887) | "node_modules/commander/lib/suggestSimilar.js"(exports2) { method "node_modules/commander/lib/command.js" (line 967) | "node_modules/commander/lib/command.js"(exports2) { method "node_modules/commander/index.js" (line 3010) | "node_modules/commander/index.js"(exports2) { function getConfigDir (line 3031) | function getConfigDir() { method "src/utils/config-dir.ts" (line 3036) | "src/utils/config-dir.ts"() { function toForwardSlash (line 3044) | function toForwardSlash(path22) { function getClaudeConfigDir (line 3047) | function getClaudeConfigDir() { function getDataDir (line 3050) | function getDataDir() { function getConfigDir2 (line 3056) | function getConfigDir2() { function getStateDir (line 3062) | function getStateDir() { function prefersXdgOmcDirs (line 3068) | function prefersXdgOmcDirs() { function getUserHomeDir (line 3071) | function getUserHomeDir() { function getLegacyOmcDir (line 3077) | function getLegacyOmcDir() { function getGlobalOmcConfigRoot (line 3080) | function getGlobalOmcConfigRoot() { function getGlobalOmcStateRoot (line 3090) | function getGlobalOmcStateRoot() { function getGlobalOmcConfigPath (line 3100) | function getGlobalOmcConfigPath(...segments) { function getGlobalOmcStatePath (line 3103) | function getGlobalOmcStatePath(...segments) { function getLegacyOmcPath (line 3106) | function getLegacyOmcPath(...segments) { function dedupePaths (line 3109) | function dedupePaths(paths) { function getGlobalOmcConfigCandidates (line 3112) | function getGlobalOmcConfigCandidates(...segments) { function getGlobalOmcStateCandidates (line 3121) | function getGlobalOmcStateCandidates(...segments) { function safeRmSync (line 3134) | function safeRmSync(dirPath) { function stripTrailing (line 3145) | function stripTrailing(p) { function purgeStalePluginCacheVersions (line 3148) | function purgeStalePluginCacheVersions(options) { method "src/utils/paths.ts" (line 3227) | "src/utils/paths.ts"() { function parseJsonc (line 3238) | function parseJsonc(content) { function stripJsoncComments (line 3242) | function stripJsoncComments(content) { method "src/utils/jsonc.ts" (line 3288) | "src/utils/jsonc.ts"() { function validateUrlForSSRF (line 3294) | function validateUrlForSSRF(urlString) { function validateAnthropicBaseUrl (line 3354) | function validateAnthropicBaseUrl(urlString) { method "src/utils/ssrf-guard.ts" (line 3372) | "src/utils/ssrf-guard.ts"() { function resolveTierModelFromEnv (line 3405) | function resolveTierModelFromEnv(tier) { function getDefaultModelHigh (line 3414) | function getDefaultModelHigh() { function getDefaultModelMedium (line 3417) | function getDefaultModelMedium() { function getDefaultModelLow (line 3420) | function getDefaultModelLow() { function getDefaultTierModels (line 3423) | function getDefaultTierModels() { function resolveClaudeFamily (line 3430) | function resolveClaudeFamily(modelId) { function isBedrock (line 3438) | function isBedrock() { function isProviderSpecificModelId (line 3451) | function isProviderSpecificModelId(modelId) { function isVertexAI (line 3463) | function isVertexAI() { function isNonClaudeProvider (line 3473) | function isNonClaudeProvider() { method "src/config/models.ts" (line 3502) | "src/config/models.ts"() { function buildDefaultConfig (line 3545) | function buildDefaultConfig() { function getConfigPaths (line 3680) | function getConfigPaths() { function loadJsoncFile (line 3687) | function loadJsoncFile(path22) { function deepMerge (line 3700) | function deepMerge(target, source) { function loadEnvConfig (line 3719) | function loadEnvConfig() { function loadConfig (line 3839) | function loadConfig() { function looksLikeOmcGuidance (line 3860) | function looksLikeOmcGuidance(content) { function compactOmcStartupGuidance (line 3865) | function compactOmcStartupGuidance(content) { function findContextFiles (line 3887) | function findContextFiles(startDir) { function loadContextFromFiles (line 3912) | function loadContextFromFiles(files) { method "src/config/loader.ts" (line 3928) | "src/config/loader.ts"() { function getPackageDir (line 3961) | function getPackageDir() { function stripFrontmatter (line 3980) | function stripFrontmatter(content) { function loadAgentPrompt (line 3984) | function loadAgentPrompt(agentName) { function createAgentToolRestrictions (line 4014) | function createAgentToolRestrictions(blockedTools) { function mergeAgentConfig (line 4021) | function mergeAgentConfig(base, override) { function buildDelegationTable (line 4033) | function buildDelegationTable(availableAgents) { function buildUseAvoidSection (line 4050) | function buildUseAvoidSection(metadata) { function createEnvContext (line 4062) | function createEnvContext() { function getAvailableAgents (line 4079) | function getAvailableAgents(agents) { function buildKeyTriggersSection (line 4086) | function buildKeyTriggersSection(availableAgents) { function validateAgentConfig (line 4100) | function validateAgentConfig(config2) { function parseDisallowedTools (line 4113) | function parseDisallowedTools(agentName) { function formatOpenQuestions (line 4136) | function formatOpenQuestions(topic, questions) { function deepMerge2 (line 4145) | function deepMerge2(target, source) { method "src/agents/utils.ts" (line 4164) | "src/agents/utils.ts"() { method "src/agents/architect.ts" (line 4176) | "src/agents/architect.ts"() { method "src/agents/designer.ts" (line 4218) | "src/agents/designer.ts"() { method "src/agents/writer.ts" (line 4262) | "src/agents/writer.ts"() { method "src/agents/critic.ts" (line 4302) | "src/agents/critic.ts"() { method "src/agents/analyst.ts" (line 4341) | "src/agents/analyst.ts"() { method "src/agents/executor.ts" (line 4381) | "src/agents/executor.ts"() { method "src/agents/planner.ts" (line 4419) | "src/agents/planner.ts"() { method "src/agents/qa-tester.ts" (line 4458) | "src/agents/qa-tester.ts"() { method "src/agents/scientist.ts" (line 4498) | "src/agents/scientist.ts"() { method "src/agents/explore.ts" (line 4546) | "src/agents/explore.ts"() { method "src/agents/tracer.ts" (line 4587) | "src/agents/tracer.ts"() { method "src/agents/document-specialist.ts" (line 4627) | "src/agents/document-specialist.ts"() { function getConfiguredAgentModel (line 4689) | function getConfiguredAgentModel(name, config2) { function getAgentDefinitions (line 4693) | function getAgentDefinitions(options) { method "src/agents/definitions.ts" (line 4751) | "src/agents/definitions.ts"() { function isSecureRuntimeDir (line 4969) | function isSecureRuntimeDir(dir) { function getRuntimeDir (line 4981) | function getRuntimeDir() { function shortenSessionId (line 4997) | function shortenSessionId(sessionId) { function getSessionDir (line 5000) | function getSessionDir(sessionId) { function getBridgeSocketPath (line 5004) | function getBridgeSocketPath(sessionId) { function getBridgeMetaPath (line 5007) | function getBridgeMetaPath(sessionId) { function getBridgePortPath (line 5010) | function getBridgePortPath(sessionId) { function getSessionLockPath (line 5013) | function getSessionLockPath(sessionId) { function validatePathSegment (line 5016) | function validatePathSegment(segment, name) { method "src/tools/python-repl/paths.ts" (line 5044) | "src/tools/python-repl/paths.ts"() { function ensureDirSync (line 5080) | function ensureDirSync(dir) { function atomicWriteJson (line 5093) | async function atomicWriteJson(filePath, data) { function atomicWriteFileSync (line 5126) | function atomicWriteFileSync(filePath, content) { function atomicWriteJsonSync (line 5165) | function atomicWriteJsonSync(filePath, data) { function safeReadJson (line 5169) | async function safeReadJson(filePath) { method "src/lib/atomic-write.ts" (line 5184) | "src/lib/atomic-write.ts"() { function isProcessAlive (line 5194) | function isProcessAlive(pid) { function getProcessStartTime (line 5206) | async function getProcessStartTime(pid) { function getProcessStartTimeWindows (line 5217) | async function getProcessStartTimeWindows(pid) { function parseWmicCreationDate (line 5235) | function parseWmicCreationDate(stdout) { function parseWindowsEpochMilliseconds (line 5253) | function parseWindowsEpochMilliseconds(stdout) { function getProcessStartTimeWindowsPowerShellCim (line 5259) | async function getProcessStartTimeWindowsPowerShellCim(pid) { function getProcessStartTimeWindowsPowerShellProcess (line 5276) | async function getProcessStartTimeWindowsPowerShellProcess(pid) { function getProcessStartTimeMacOS (line 5293) | async function getProcessStartTimeMacOS(pid) { function getProcessStartTimeLinux (line 5305) | async function getProcessStartTimeLinux(pid) { method "src/platform/process-utils.ts" (line 5319) | "src/platform/process-utils.ts"() { function isWSL (line 5329) | function isWSL() { method "src/platform/index.ts" (line 5342) | "src/platform/index.ts"() { function trackOwnedBridgeSession (line 5352) | function trackOwnedBridgeSession(sessionId) { function getBridgeScriptPath (line 5357) | function getBridgeScriptPath() { function detectExistingPythonEnv (line 5390) | function detectExistingPythonEnv(projectRoot) { function ensurePythonEnvironment (line 5400) | async function ensurePythonEnvironment(projectRoot) { function verifyProcessIdentity (line 5414) | async function verifyProcessIdentity(meta) { function isSocket (line 5429) | function isSocket(socketPath) { function isBridgeReady (line 5437) | function isBridgeReady(socketPath, sessionId) { function readTcpPort (line 5443) | function readTcpPort(sessionId) { function safeUnlinkSocket (line 5455) | function safeUnlinkSocket(socketPath) { function safeUnlinkPortFile (line 5463) | function safeUnlinkPortFile(sessionId) { function isValidBridgeMeta (line 5472) | function isValidBridgeMeta(data) { function killProcessGroup (line 5477) | function killProcessGroup(pid, signal) { function spawnBridgeServer (line 5504) | async function spawnBridgeServer(sessionId, projectDir) { function ensureBridge (line 5601) | async function ensureBridge(sessionId, projectDir) { function killBridgeWithEscalation (line 5633) | async function killBridgeWithEscalation(sessionId, options) { function cleanupBridgeSessions (line 5689) | async function cleanupBridgeSessions(sessionIds) { function deleteBridgeMeta (line 5727) | async function deleteBridgeMeta(sessionId) { function removeFileIfExists (line 5734) | async function removeFileIfExists(filePath) { function sleep2 (line 5745) | function sleep2(ms) { method "src/tools/python-repl/bridge-manager.ts" (line 5750) | "src/tools/python-repl/bridge-manager.ts"() { function getWorktreeRoot (line 5772) | function getWorktreeRoot(cwd2) { function validatePath (line 5799) | function validatePath(inputPath) { function getProjectIdentifier (line 5807) | function getProjectIdentifier(worktreeRoot) { function getOmcRoot (line 5824) | function getOmcRoot(worktreeRoot) { function resolveOmcPath (line 5843) | function resolveOmcPath(relativePath, worktreeRoot) { function resolveStatePath (line 5853) | function resolveStatePath(stateName, worktreeRoot) { function ensureOmcDir (line 5857) | function ensureOmcDir(relativePath, worktreeRoot) { function getWorktreeNotepadPath (line 5864) | function getWorktreeNotepadPath(worktreeRoot) { function getWorktreeProjectMemoryPath (line 5867) | function getWorktreeProjectMemoryPath(worktreeRoot) { function validateSessionId (line 5870) | function validateSessionId(sessionId) { function isValidTranscriptPath (line 5881) | function isValidTranscriptPath(transcriptPath) { function resolveSessionStatePath (line 5906) | function resolveSessionStatePath(stateName, sessionId, worktreeRoot) { function getSessionStateDir (line 5911) | function getSessionStateDir(sessionId, worktreeRoot) { function listSessionIds (line 5915) | function listSessionIds(worktreeRoot) { function ensureSessionStateDir (line 5927) | function ensureSessionStateDir(sessionId, worktreeRoot) { function resolveToWorktreeRoot (line 5934) | function resolveToWorktreeRoot(directory) { function resolveTranscriptPath (line 5945) | function resolveTranscriptPath(transcriptPath, cwd2) { function validateWorkingDirectory (line 6003) | function validateWorkingDirectory(workingDirectory) { method "src/lib/worktree-paths.ts" (line 6047) | "src/lib/worktree-paths.ts"() { method "src/hooks/learner/constants.ts" (line 6081) | "src/hooks/learner/constants.ts"() { function findSkillFilesRecursive (line 6098) | function findSkillFilesRecursive(dir, results, depth = 0) { function safeRealpathSync (line 6117) | function safeRealpathSync(filePath) { function isWithinBoundary (line 6124) | function isWithinBoundary(realPath, boundary) { function findSkillFiles (line 6129) | function findSkillFiles(projectRoot, options) { method "src/hooks/learner/finder.ts" (line 6188) | "src/hooks/learner/finder.ts"() { function parseSkillFile (line 6197) | function parseSkillFile(rawContent) { function parseYamlMetadata (line 6239) | function parseYamlMetadata(yamlContent) { function parseStringValue (line 6293) | function parseStringValue(value) { function parseArrayValue (line 6300) | function parseArrayValue(rawValue, lines, currentIndex) { method "src/hooks/learner/parser.ts" (line 6332) | "src/hooks/learner/parser.ts"() { function createContentHash (line 6338) | function createContentHash(content) { function loadAllSkills (line 6341) | function loadAllSkills(projectRoot) { method "src/hooks/learner/loader.ts" (line 6379) | "src/hooks/learner/loader.ts"() { function getStateSessionOwner (line 6391) | function getStateSessionOwner(state) { function canClearStateForSession (line 6405) | function canClearStateForSession(state, sessionId) { function resolveFile (line 6409) | function resolveFile(mode, directory, sessionId) { function getLegacyStateCandidates (line 6416) | function getLegacyStateCandidates(mode, directory) { function writeModeState (line 6424) | function writeModeState(mode, state, directory, sessionId) { function readModeState (line 6442) | function readModeState(mode, directory, sessionId) { function clearModeStateFile (line 6459) | function clearModeStateFile(mode, directory, sessionId) { method "src/lib/mode-state-io.ts" (line 6500) | "src/lib/mode-state-io.ts"() { method "src/lib/mode-names.ts" (line 6511) | "src/lib/mode-names.ts"() { function getStateDir2 (line 6551) | function getStateDir2(cwd2) { function getStateFilePath (line 6554) | function getStateFilePath(cwd2, mode, sessionId) { function getMarkerFilePath (line 6561) | function getMarkerFilePath(cwd2, mode) { function isJsonModeActive (line 6566) | function isJsonModeActive(cwd2, mode, sessionId) { function isModeActive (line 6602) | function isModeActive(mode, cwd2, sessionId) { function getActiveModes (line 6605) | function getActiveModes(cwd2, sessionId) { function canStartMode (line 6614) | function canStartMode(mode, cwd2) { function getAllModeStatuses (line 6629) | function getAllModeStatuses(cwd2, sessionId) { function clearModeState (line 6636) | function clearModeState(mode, cwd2, sessionId) { function isModeActiveInAnySession (line 6734) | function isModeActiveInAnySession(mode, cwd2) { function getActiveSessionsForMode (line 6746) | function getActiveSessionsForMode(mode, cwd2) { method "src/hooks/mode-registry/index.ts" (line 6752) | "src/hooks/mode-registry/index.ts"() { function isLockStale (line 6805) | function isLockStale(lockPath, staleLockMs) { function lockPathFor (line 6821) | function lockPathFor(filePath) { function tryAcquireSync (line 6824) | function tryAcquireSync(lockPath, staleLockMs) { function acquireFileLockSync (line 6866) | function acquireFileLockSync(lockPath, opts) { function releaseFileLockSync (line 6889) | function releaseFileLockSync(handle) { function withFileLockSync (line 6899) | function withFileLockSync(lockPath, fn, opts) { function sleep3 (line 6910) | function sleep3(ms) { function acquireFileLock (line 6913) | async function acquireFileLock(lockPath, opts) { function releaseFileLock (line 6927) | function releaseFileLock(handle) { function withFileLock (line 6930) | async function withFileLock(lockPath, fn, opts) { method "src/lib/file-lock.ts" (line 6943) | "src/lib/file-lock.ts"() { method "src/features/context-injector/collector.ts" (line 6957) | "src/features/context-injector/collector.ts"() { function getReplayFilePath (line 7068) | function getReplayFilePath(directory, sessionId) { function getSessionStartTime (line 7076) | function getSessionStartTime(sessionId) { function getElapsedSeconds (line 7082) | function getElapsedSeconds(sessionId) { function appendReplayEvent (line 7086) | function appendReplayEvent(directory, sessionId, event) { function recordAgentStart (line 7104) | function recordAgentStart(directory, sessionId, agentId, agentType, task... function recordAgentStop (line 7114) | function recordAgentStop(directory, sessionId, agentId, agentType, succe... function recordFileTouch (line 7123) | function recordFileTouch(directory, sessionId, agentId, filePath) { function readReplayEvents (line 7130) | function readReplayEvents(directory, sessionId) { function detectCycles (line 7146) | function detectCycles(sequence) { function getReplaySummary (line 7168) | function getReplaySummary(directory, sessionId) { method "src/hooks/subagent-tracker/session-replay.ts" (line 7305) | "src/hooks/subagent-tracker/session-replay.ts"() { function getPackageDir2 (line 7317) | function getPackageDir2() { function loadTemplate (line 7329) | function loadTemplate(filename) { function isWindows (line 7336) | function isWindows() { method "src/installer/hooks.ts" (line 7341) | "src/installer/hooks.ts"() { function getRuntimePackageVersion (line 7632) | function getRuntimePackageVersion() { method "src/lib/version.ts" (line 7653) | "src/lib/version.ts"() { function resolveNodeBinary (line 7662) | function resolveNodeBinary() { function pickLatestVersion (line 7711) | function pickLatestVersion(versions) { method "src/utils/resolve-node.ts" (line 7725) | "src/utils/resolve-node.ts"() { function getUnifiedMcpRegistryPath (line 7735) | function getUnifiedMcpRegistryPath() { function getUnifiedMcpRegistryStatePath (line 7738) | function getUnifiedMcpRegistryStatePath() { function getUnifiedMcpRegistryPathCandidates (line 7741) | function getUnifiedMcpRegistryPathCandidates() { function getUnifiedMcpRegistryStatePathCandidates (line 7747) | function getUnifiedMcpRegistryStatePathCandidates() { function getClaudeMcpConfigPath (line 7750) | function getClaudeMcpConfigPath() { function getCodexConfigPath (line 7756) | function getCodexConfigPath() { function isStringRecord (line 7760) | function isStringRecord(value) { function normalizeRegistryEntry (line 7763) | function normalizeRegistryEntry(value) { function normalizeRegistry (line 7784) | function normalizeRegistry(value) { function extractClaudeMcpRegistry (line 7801) | function extractClaudeMcpRegistry(settings) { function loadRegistryFromDisk (line 7804) | function loadRegistryFromDisk(path22) { function ensureParentDir (line 7811) | function ensureParentDir(path22) { function readManagedServerNames (line 7817) | function readManagedServerNames() { function writeManagedServerNames (line 7831) | function writeManagedServerNames(serverNames) { function bootstrapRegistryFromClaude (line 7836) | function bootstrapRegistryFromClaude(settings, registryPath) { function loadOrBootstrapRegistry (line 7845) | function loadOrBootstrapRegistry(settings) { function entriesEqual (line 7863) | function entriesEqual(left, right) { function applyRegistryToClaudeSettings (line 7866) | function applyRegistryToClaudeSettings(settings) { function syncClaudeMcpConfig (line 7875) | function syncClaudeMcpConfig(existingClaudeConfig, registry2, managedSer... function escapeTomlString (line 7895) | function escapeTomlString(value) { function unescapeTomlString (line 7898) | function unescapeTomlString(value) { function renderTomlString (line 7901) | function renderTomlString(value) { function parseTomlQuotedString (line 7904) | function parseTomlQuotedString(value) { function renderTomlStringArray (line 7908) | function renderTomlStringArray(values) { function parseTomlStringArray (line 7911) | function parseTomlStringArray(value) { function renderTomlEnvTable (line 7919) | function renderTomlEnvTable(env2) { function parseTomlEnvTable (line 7923) | function parseTomlEnvTable(value) { function renderCodexServerBlock (line 7937) | function renderCodexServerBlock(name, entry) { function stripManagedCodexBlock (line 7956) | function stripManagedCodexBlock(content) { function renderManagedCodexMcpBlock (line 7963) | function renderManagedCodexMcpBlock(registry2) { function syncCodexConfigToml (line 7971) | function syncCodexConfigToml(existingContent, registry2) { function parseCodexMcpRegistryEntries (line 7984) | function parseCodexMcpRegistryEntries(content) { function syncUnifiedMcpRegistryTargets (line 8039) | function syncUnifiedMcpRegistryTargets(settings) { function readJsonObject (line 8081) | function readJsonObject(path22) { function inspectUnifiedMcpRegistrySync (line 8092) | function inspectUnifiedMcpRegistrySync() { method "src/installer/mcp-registry.ts" (line 8144) | "src/installer/mcp-registry.ts"() { function isComparableVersion (line 8157) | function isComparableVersion(version3) { function compareVersions (line 8160) | function compareVersions(a, b) { function extractOmcVersionMarker (line 8172) | function extractOmcVersionMarker(content) { function getNewestInstalledVersionHint (line 8176) | function getNewestInstalledVersionHint() { function findLineAnchoredMarker (line 8208) | function findLineAnchoredMarker(content, marker, fromEnd = false) { function escapeRegex2 (line 8223) | function escapeRegex2(value) { function createLineAnchoredMarkerRegex (line 8226) | function createLineAnchoredMarkerRegex(marker, flags = "gm") { function stripGeneratedUserCustomizationHeaders (line 8229) | function stripGeneratedUserCustomizationHeaders(content) { function trimClaudeUserContent (line 8235) | function trimClaudeUserContent(content) { function isHudEnabledInConfig (line 8241) | function isHudEnabledInConfig() { function isOmcStatusLine (line 8254) | function isOmcStatusLine(statusLine) { function isOmcHook (line 8267) | function isOmcHook(command) { function checkNodeVersion (line 8280) | function checkNodeVersion() { function isClaudeInstalled (line 8288) | function isClaudeInstalled() { function isRunningAsPlugin (line 8297) | function isRunningAsPlugin() { function isProjectScopedPlugin (line 8300) | function isProjectScopedPlugin() { function directoryHasMarkdownFiles (line 8310) | function directoryHasMarkdownFiles(directory) { function getInstalledOmcPluginRoots (line 8320) | function getInstalledOmcPluginRoots() { function hasPluginProvidedAgentFiles (line 8347) | function hasPluginProvidedAgentFiles() { function getPackageDir3 (line 8352) | function getPackageDir3() { function getRuntimePackageRoot (line 8364) | function getRuntimePackageRoot() { function loadAgentDefinitions (line 8367) | function loadAgentDefinitions() { function loadCommandDefinitions (line 8381) | function loadCommandDefinitions() { function loadBundledSkillContent (line 8394) | function loadBundledSkillContent(skillName) { function loadClaudeMdContent (line 8401) | function loadClaudeMdContent() { function extractOmcVersionFromClaudeMd (line 8409) | function extractOmcVersionFromClaudeMd(content) { function syncPersistedSetupVersion (line 8422) | function syncPersistedSetupVersion(options) { function mergeClaudeMd (line 8454) | function mergeClaudeMd(existingContent, omcContent, version3) { function install (line 8506) | function install(options = {}) { function isInstalled (line 8924) | function isInstalled() { function getInstallInfo (line 8927) | function getInstallInfo() { method "src/installer/index.ts" (line 8945) | "src/installer/index.ts"() { function syncMarketplaceClone (line 9014) | function syncMarketplaceClone(verbose = false) { function copyPluginSyncPayload (line 9087) | function copyPluginSyncPayload(sourceRoot, targetRoots) { function syncActivePluginCache (line 9115) | function syncActivePluginCache() { function shouldBlockStandaloneUpdateInCurrentSession (line 9126) | function shouldBlockStandaloneUpdateInCurrentSession() { function syncPluginCache (line 9140) | function syncPluginCache(verbose = false) { function getOMCConfig (line 9185) | function getOMCConfig() { function isSilentAutoUpdateEnabled (line 9211) | function isSilentAutoUpdateEnabled() { function isAutoUpgradePromptEnabled (line 9214) | function isAutoUpgradePromptEnabled() { function isTeamEnabled (line 9217) | function isTeamEnabled() { function getInstalledVersion (line 9232) | function getInstalledVersion() { function saveVersionMetadata (line 9260) | function saveVersionMetadata(metadata) { function updateLastCheckTime (line 9267) | function updateLastCheckTime() { function fetchLatestRelease (line 9274) | async function fetchLatestRelease() { function compareVersions2 (line 9306) | function compareVersions2(a, b) { function checkForUpdates (line 9320) | async function checkForUpdates() { function reconcileUpdateRuntime (line 9335) | function reconcileUpdateRuntime(options) { function getFirstResolvedBinaryPath (line 9400) | function getFirstResolvedBinaryPath(output) { function resolveOmcBinaryPath (line 9407) | function resolveOmcBinaryPath() { function performUpdate (line 9422) | async function performUpdate(options) { function formatUpdateNotification (line 9518) | function formatUpdateNotification(checkResult) { function shouldCheckForUpdates (line 9545) | function shouldCheckForUpdates(intervalHours = 24) { function backgroundUpdateCheck (line 9555) | function backgroundUpdateCheck(callback) { function interactiveUpdate (line 9571) | async function interactiveUpdate() { function getSilentUpdateState (line 9599) | function getSilentUpdateState() { function saveSilentUpdateState (line 9609) | function saveSilentUpdateState(state) { function silentLog (line 9616) | function silentLog(message, logFile) { function silentAutoUpdate (line 9631) | async function silentAutoUpdate(config2 = {}) { function hasPendingUpdateRestart (line 9703) | function hasPendingUpdateRestart() { function clearPendingUpdateRestart (line 9707) | function clearPendingUpdateRestart() { function getPendingUpdateVersion (line 9712) | function getPendingUpdateVersion() { function initSilentAutoUpdate (line 9716) | function initSilentAutoUpdate(config2 = {}) { method "src/features/auto-update.ts" (line 9722) | "src/features/auto-update.ts"() { function getPrdPath (line 9757) | function getPrdPath(directory) { function getOmcPrdPath (line 9760) | function getOmcPrdPath(directory) { function findPrdPath (line 9763) | function findPrdPath(directory) { function readPrd (line 9774) | function readPrd(directory) { function writePrd (line 9790) | function writePrd(directory, prd) { function getPrdStatus (line 9810) | function getPrdStatus(prd) { function markStoryComplete (line 9824) | function markStoryComplete(directory, storyId, notes) { function markStoryIncomplete (line 9839) | function markStoryIncomplete(directory, storyId, notes) { function getStory (line 9854) | function getStory(directory, storyId) { function getNextStory (line 9861) | function getNextStory(directory) { function createPrd (line 9869) | function createPrd(project, branchName, description, stories) { function createSimplePrd (line 9881) | function createSimplePrd(project, branchName, taskDescription) { function initPrd (line 9897) | function initPrd(directory, project, branchName, description, stories) { function formatPrdStatus (line 9901) | function formatPrdStatus(status) { function formatStory (line 9914) | function formatStory(story) { function formatPrd (line 9932) | function formatPrd(prd) { function formatNextStoryPrompt (line 9953) | function formatNextStoryPrompt(story) { method "src/hooks/ralph/prd.ts" (line 9978) | "src/hooks/ralph/prd.ts"() { function getProgressPath (line 9989) | function getProgressPath(directory) { function getOmcProgressPath (line 9992) | function getOmcProgressPath(directory) { function findProgressPath (line 9995) | function findProgressPath(directory) { function readProgressRaw (line 10006) | function readProgressRaw(directory) { function parseProgress (line 10017) | function parseProgress(content) { function readProgress (line 10096) | function readProgress(directory) { function initProgress (line 10103) | function initProgress(directory) { function appendProgress (line 10130) | function appendProgress(directory, entry) { function addPattern2 (line 10176) | function addPattern2(directory, pattern, retryCount = 0) { function getPatterns (line 10209) | function getPatterns(directory) { function getRecentLearnings (line 10216) | function getRecentLearnings(directory, limit = 5) { function formatPatternsForContext (line 10228) | function formatPatternsForContext(directory) { function formatProgressForContext (line 10247) | function formatProgressForContext(directory, limit = 3) { function formatLearningsForContext (line 10272) | function formatLearningsForContext(directory) { function getProgressContext (line 10292) | function getProgressContext(directory) { method "src/hooks/ralph/progress.ts" (line 10303) | "src/hooks/ralph/progress.ts"() { function getStateFilePath2 (line 10326) | function getStateFilePath2(directory, sessionId) { function readUltraworkState (line 10333) | function readUltraworkState(directory, sessionId) { function writeUltraworkState (line 10344) | function writeUltraworkState(state, directory, sessionId) { function activateUltrawork (line 10352) | function activateUltrawork(prompt, sessionId, directory, linkedToRalph) { function deactivateUltrawork (line 10365) | function deactivateUltrawork(directory, sessionId) { function incrementReinforcement (line 10394) | function incrementReinforcement(directory, sessionId) { function shouldReinforceUltrawork (line 10406) | function shouldReinforceUltrawork(sessionId, directory) { function getUltraworkPersistenceMessage (line 10416) | function getUltraworkPersistenceMessage(state) { function createUltraworkStateHook (line 10440) | function createUltraworkStateHook(directory) { method "src/hooks/ultrawork/index.ts" (line 10451) | "src/hooks/ultrawork/index.ts"() { method "src/hooks/team-pipeline/types.ts" (line 10461) | "src/hooks/team-pipeline/types.ts"() { function getTeamStatePath (line 10467) | function getTeamStatePath(directory, sessionId) { function readTeamPipelineState (line 10473) | function readTeamPipelineState(directory, sessionId) { method "src/hooks/team-pipeline/state.ts" (line 10493) | "src/hooks/team-pipeline/state.ts"() { function isUltraQAActive (line 10503) | function isUltraQAActive(directory, sessionId) { function readRalphState (line 10534) | function readRalphState(directory, sessionId) { function writeRalphState (line 10541) | function writeRalphState(directory, state, sessionId) { function clearRalphState (line 10549) | function clearRalphState(directory, sessionId) { function clearLinkedUltraworkState (line 10552) | function clearLinkedUltraworkState(directory, sessionId) { function incrementRalphIteration (line 10559) | function incrementRalphIteration(directory, sessionId) { function detectNoPrdFlag (line 10570) | function detectNoPrdFlag(prompt) { function stripNoPrdFlag (line 10573) | function stripNoPrdFlag(prompt) { function normalizeRalphCriticMode (line 10576) | function normalizeRalphCriticMode(value) { function detectCriticModeFlag (line 10583) | function detectCriticModeFlag(prompt) { function stripCriticModeFlag (line 10587) | function stripCriticModeFlag(prompt) { function createRalphLoopHook (line 10590) | function createRalphLoopHook(directory) { function hasPrd (line 10655) | function hasPrd(directory) { function getPrdCompletionStatus (line 10659) | function getPrdCompletionStatus(directory) { function getRalphContext (line 10677) | function getRalphContext(directory) { function setCurrentStory (line 10697) | function setCurrentStory(directory, storyId) { function enablePrdMode (line 10705) | function enablePrdMode(directory) { function recordStoryProgress (line 10714) | function recordStoryProgress(directory, storyId, implementation, filesCh... function recordPattern (line 10722) | function recordPattern(directory, pattern) { function getTeamPhaseDirective (line 10725) | function getTeamPhaseDirective(directory, sessionId) { function shouldCompleteByPrd (line 10748) | function shouldCompleteByPrd(directory) { method "src/hooks/ralph/loop.ts" (line 10754) | "src/hooks/ralph/loop.ts"() { function commandExists2 (line 10771) | function commandExists2(command, env2) { function resolveOmcCliPrefix (line 10779) | function resolveOmcCliPrefix(options = {}) { function formatOmcCliInvocation (line 10791) | function formatOmcCliInvocation(commandSuffix, options = {}) { function rewriteOmcCliInvocations (line 10795) | function rewriteOmcCliInvocations(text, options = {}) { method "src/utils/omc-cli-rendering.ts" (line 10804) | "src/utils/omc-cli-rendering.ts"() { function getCriticMode (line 10813) | function getCriticMode(mode) { function getCriticLabel (line 10816) | function getCriticLabel(mode) { function getVerificationAgentStep (line 10826) | function getVerificationAgentStep(mode) { function getVerificationStatePath (line 10846) | function getVerificationStatePath(directory, sessionId) { function readVerificationState (line 10852) | function readVerificationState(directory, sessionId) { function writeVerificationState (line 10863) | function writeVerificationState(directory, state, sessionId) { function clearVerificationState (line 10884) | function clearVerificationState(directory, sessionId) { function startVerification (line 10896) | function startVerification(directory, completionClaim, originalTask, cri... function recordArchitectFeedback (line 10909) | function recordArchitectFeedback(directory, approved, feedback, sessionI... function getArchitectVerificationPrompt (line 10928) | function getArchitectVerificationPrompt(state, currentStory) { function getArchitectRejectionContinuationPrompt (line 10979) | function getArchitectRejectionContinuationPrompt(state) { function detectArchitectApproval (line 11008) | function detectArchitectApproval(text) { function detectArchitectRejection (line 11011) | function detectArchitectRejection(text) { method "src/hooks/ralph/verifier.ts" (line 11033) | "src/hooks/ralph/verifier.ts"() { method "src/hooks/ralph/index.ts" (line 11116) | "src/hooks/ralph/index.ts"() { function debugLog (line 11146) | function debugLog(message, ...args) { function isValidSessionId (line 11152) | function isValidSessionId(sessionId) { function getStopReasonFields (line 11159) | function getStopReasonFields(context) { function isUserAbort (line 11169) | function isUserAbort(context) { function isExplicitCancelCommand (line 11179) | function isExplicitCancelCommand(context) { function isContextLimitStop (line 11212) | function isContextLimitStop(context) { function isRateLimitStop (line 11228) | function isRateLimitStop(context) { function isAuthenticationError (line 11250) | function isAuthenticationError(context) { function getTodoFilePaths (line 11256) | function getTodoFilePaths(sessionId, directory) { function parseTodoFile (line 11269) | function parseTodoFile(filePath) { function isIncomplete (line 11290) | function isIncomplete(todo) { function getTaskDirectory (line 11293) | function getTaskDirectory(sessionId) { function isValidTask (line 11299) | function isValidTask(data) { function readTaskFiles (line 11305) | function readTaskFiles(sessionId) { function isTaskIncomplete (line 11328) | function isTaskIncomplete(task) { function checkIncompleteTasks (line 11331) | function checkIncompleteTasks(sessionId) { function checkLegacyTodos (line 11343) | function checkLegacyTodos(sessionId, directory) { function checkIncompleteTodos (line 11368) | async function checkIncompleteTodos(sessionId, directory, stopContext) { function createTodoContinuationHook (line 11393) | function createTodoContinuationHook(directory) { function formatTodoStatus (line 11398) | function formatTodoStatus(result) { function getNextPendingTodo (line 11404) | function getNextPendingTodo(result) { method "src/hooks/todo-continuation/index.ts" (line 11413) | "src/hooks/todo-continuation/index.ts"() { function formatSwallowedError (line 11441) | function formatSwallowedError(error2) { function logSwallowedError (line 11450) | function logSwallowedError(context, error2) { function createSwallowedErrorLogger (line 11456) | function createSwallowedErrorLogger(context) { method "src/lib/swallowed-error.ts" (line 11462) | "src/lib/swallowed-error.ts"() { function isCJKCharacter (line 11468) | function isCJKCharacter(codePoint) { function isZeroWidth (line 11491) | function isZeroWidth(codePoint) { function getCharWidth (line 11506) | function getCharWidth(char) { function stringWidth (line 11513) | function stringWidth(str) { function stripAnsi (line 11522) | function stripAnsi(str) { function truncateToWidth (line 11528) | function truncateToWidth(str, maxWidth, suffix = "...") { function truncateToWidthNoSuffix (line 11539) | function truncateToWidthNoSuffix(str, maxWidth) { method "src/utils/string-width.ts" (line 11551) | "src/utils/string-width.ts"() { function hasText (line 11557) | function hasText(value) { function hasAssignedTasks (line 11560) | function hasAssignedTasks(worker) { function workerPriority (line 11563) | function workerPriority(worker) { function mergeAssignedTasks (line 11570) | function mergeAssignedTasks(primary, secondary) { function backfillText (line 11578) | function backfillText(primary, secondary) { function backfillBoolean (line 11581) | function backfillBoolean(primary, secondary) { function backfillNumber (line 11584) | function backfillNumber(primary, secondary, predicate) { function chooseWinningWorker (line 11588) | function chooseWinningWorker(existing, incoming) { function canonicalizeWorkers (line 11596) | function canonicalizeWorkers(workers) { function canonicalizeTeamConfigWorkers (line 11635) | function canonicalizeTeamConfigWorkers(config2) { method "src/team/worker-canonicalization.ts" (line 11648) | "src/team/worker-canonicalization.ts"() { function resolveConfig (line 11663) | function resolveConfig(config2) { function stateFilePath (line 11670) | function stateFilePath(directory) { function readJsonSafe (line 11673) | function readJsonSafe(path22) { function readJsonLinesSafe (line 11681) | function readJsonLinesSafe(path22) { function writeState (line 11689) | function writeState(directory, state) { function parseTime (line 11697) | function parseTime(value) { function compactText (line 11702) | function compactText(value, width = 64) { function formatTime (line 11707) | function formatTime(value) { function latest (line 11712) | function latest(...values) { function shortAgentType (line 11715) | function shortAgentType(agentType) { function sessionAgentName (line 11718) | function sessionAgentName(agentType, agentId) { function summarizeTask (line 11721) | function summarizeTask(task) { function deriveSessionStatus (line 11725) | function deriveSessionStatus(mission) { function ensureSessionMission (line 11731) | function ensureSessionMission(state, input) { function recalcSessionMission (line 11752) | function recalcSessionMission(mission) { function readMissionBoardState (line 11764) | function readMissionBoardState(directory) { function recordMissionAgentStart (line 11767) | function recordMissionAgentStart(directory, input) { function recordMissionAgentStop (line 11804) | function recordMissionAgentStop(directory, input) { function deriveTeamStatus (line 11833) | function deriveTeamStatus(taskCounts, agents) { function deriveWorkerStatus (line 11845) | function deriveWorkerStatus(workerStatus, task) { function collectTeamMission (line 11851) | function collectTeamMission(teamRoot, teamName, config2) { function mergeMissions (line 11954) | function mergeMissions(previous, teamMissions, config2) { function refreshMissionBoardState (line 11966) | function refreshMissionBoardState(directory, rawConfig = DEFAULT_CONFIG3) { function renderMissionBoard (line 11977) | function renderMissionBoard(state, rawConfig = DEFAULT_CONFIG3) { method "src/hud/mission-board.ts" (line 12007) | "src/hud/mission-board.ts"() { method "src/hud/types.ts" (line 12035) | "src/hud/types.ts"() { function cleanupStaleBackgroundTasks (line 12312) | async function cleanupStaleBackgroundTasks(thresholdMs = STALE_TASK_THRE... function detectOrphanedTasks (line 12332) | async function detectOrphanedTasks() { function markOrphanedTasksAsStale (line 12349) | async function markOrphanedTasksAsStale() { method "src/hud/background-cleanup.ts" (line 12370) | "src/hud/background-cleanup.ts"() { function getLocalStateFilePath (line 12378) | function getLocalStateFilePath(directory) { function getSettingsFilePath (line 12383) | function getSettingsFilePath() { function getConfigFilePath (line 12386) | function getConfigFilePath() { function readJsonFile (line 12389) | function readJsonFile(filePath) { function getLegacyHudConfig (line 12399) | function getLegacyHudConfig() { function mergeElements (line 12402) | function mergeElements(primary, secondary) { function mergeThresholds (line 12408) | function mergeThresholds(primary, secondary) { function mergeContextLimitWarning (line 12414) | function mergeContextLimitWarning(primary, secondary) { function mergeMissionBoardConfig (line 12420) | function mergeMissionBoardConfig(primary, secondary) { function ensureStateDir (line 12426) | function ensureStateDir(directory) { function readHudState (line 12433) | function readHudState(directory) { function writeHudState (line 12462) | function writeHudState(state, directory) { function createEmptyHudState (line 12476) | function createEmptyHudState() { function getRunningTasks (line 12482) | function getRunningTasks(state) { function readHudConfig (line 12486) | function readHudConfig() { function mergeWithDefaults (line 12527) | function mergeWithDefaults(config2) { function initializeHUDState (line 12563) | async function initializeHUDState() { method "src/hud/state.ts" (line 12574) | "src/hud/state.ts"() { function sanitizePlanOutputSegment (line 12588) | function sanitizePlanOutputSegment(value) { function getPlanOutputDirectory (line 12592) | function getPlanOutputDirectory(config2) { function getPlanOutputFilenameTemplate (line 12602) | function getPlanOutputFilenameTemplate(config2) { function resolvePlanOutputFilename (line 12610) | function resolvePlanOutputFilename(kind, config2) { function resolvePlanOutputPath (line 12624) | function resolvePlanOutputPath(kind, config2) { function resolvePlanOutputAbsolutePath (line 12630) | function resolvePlanOutputAbsolutePath(directory, kind, config2) { function resolveAutopilotPlanPath (line 12633) | function resolveAutopilotPlanPath(config2) { function resolveOpenQuestionsPlanPath (line 12636) | function resolveOpenQuestionsPlanPath(config2) { method "src/config/plan-output.ts" (line 12641) | "src/config/plan-output.ts"() { function syncSleep (line 12687) | function syncSleep(ms) { function mergeTrackerStates (line 12692) | function mergeTrackerStates(diskState, pendingState) { function acquireLock (line 12723) | function acquireLock(directory) { function releaseLock (line 12778) | function releaseLock(directory) { function getStateFilePath3 (line 12785) | function getStateFilePath3(directory) { function readDiskState (line 12792) | function readDiskState(directory) { function readTrackingState (line 12817) | function readTrackingState(directory) { function writeTrackingStateImmediate (line 12824) | function writeTrackingStateImmediate(directory, state) { function executeFlush (line 12833) | function executeFlush(directory, pendingState) { function writeTrackingState (line 12846) | function writeTrackingState(directory, state) { function flushPendingWrites (line 12888) | function flushPendingWrites() { function detectParentMode (line 12897) | function detectParentMode(directory) { function getStaleAgents (line 12926) | function getStaleAgents(state) { function processSubagentStart (line 12937) | function processSubagentStart(input) { function processSubagentStop (line 13009) | function processSubagentStop(input) { function cleanupStaleAgents (line 13081) | function cleanupStaleAgents(directory) { function getActiveAgentSnapshot (line 13108) | function getActiveAgentSnapshot(directory) { function getActiveAgentCount (line 13115) | function getActiveAgentCount(directory) { function getAgentsByType (line 13118) | function getAgentsByType(directory, agentType) { function getRunningAgents (line 13122) | function getRunningAgents(directory) { function getTrackingStats (line 13126) | function getTrackingStats(directory) { function recordToolUsage (line 13135) | function recordToolUsage(directory, agentId, toolName, success) { function recordToolUsageWithTiming (line 13158) | function recordToolUsageWithTiming(directory, agentId, toolName, duratio... function getAgentDashboard (line 13182) | function getAgentDashboard(directory) { function getAgentObservatory (line 13206) | function getAgentObservatory(directory) { function suggestInterventions (line 13257) | function suggestInterventions(directory) { function calculateParallelEfficiency (line 13313) | function calculateParallelEfficiency(directory) { function recordFileOwnership (line 13323) | function recordFileOwnership(directory, agentId, filePath) { function detectFileConflicts (line 13345) | function detectFileConflicts(directory) { function getFileOwnershipMap (line 13365) | function getFileOwnershipMap(directory) { function getAgentPerformance (line 13377) | function getAgentPerformance(directory, agentId) { function getAllAgentPerformance (line 13421) | function getAllAgentPerformance(directory) { function updateTokenUsage (line 13425) | function updateTokenUsage(directory, agentId, tokens) { function handleSubagentStart (line 13452) | async function handleSubagentStart(input) { function handleSubagentStop (line 13455) | async function handleSubagentStop(input) { function clearTrackingState (line 13458) | function clearTrackingState(directory) { method "src/hooks/subagent-tracker/index.ts" (line 13470) | "src/hooks/subagent-tracker/index.ts"() { function getSkillProtection (line 13504) | function getSkillProtection(skillName, rawSkillName) { function getSkillConfig (line 13511) | function getSkillConfig(skillName, rawSkillName) { function readSkillActiveState (line 13514) | function readSkillActiveState(directory, sessionId) { function writeSkillActiveState (line 13521) | function writeSkillActiveState(directory, skillName, sessionId, rawSkill... function clearSkillActiveState (line 13542) | function clearSkillActiveState(directory, sessionId) { function isSkillStateStale (line 13545) | function isSkillStateStale(state) { function checkSkillActiveState (line 13554) | function checkSkillActiveState(directory, sessionId) { method "src/hooks/skill-state/index.ts" (line 13588) | "src/hooks/skill-state/index.ts"() { function readPermissionStringEntries (line 13664) | function readPermissionStringEntries(filePath, key) { function getClaudePermissionAllowEntries (line 13676) | function getClaudePermissionAllowEntries(directory) { function hasGenericToolPermission (line 13692) | function hasGenericToolPermission(allowEntries, toolName) { function hasClaudePermissionApproval (line 13695) | function hasClaudePermissionApproval(directory, toolName, command) { function getClaudePermissionAskEntries (line 13709) | function getClaudePermissionAskEntries(directory) { function commandMatchesPermissionPattern (line 13725) | function commandMatchesPermissionPattern(command, pattern) { function hasClaudePermissionAsk (line 13743) | function hasClaudePermissionAsk(directory, toolName, command) { function getBackgroundTaskPermissionFallback (line 13762) | function getBackgroundTaskPermissionFallback(directory, subagentType) { function getBackgroundBashPermissionFallback (line 13775) | function getBackgroundBashPermissionFallback(directory, command) { function isSafeCommand (line 13787) | function isSafeCommand(command) { function isHeredocWithSafeBase (line 13794) | function isHeredocWithSafeBase(command) { function isActiveModeRunning (line 13805) | function isActiveModeRunning(directory) { function processPermissionRequest (line 13833) | function processPermissionRequest(input) { function handlePermissionRequest (line 13869) | async function handlePermissionRequest(input) { method "src/hooks/permission-handler/index.ts" (line 13874) | "src/hooks/permission-handler/index.ts"() { function getPackageDir4 (line 13914) | function getPackageDir4() { function getValidAgentRoles (line 13933) | function getValidAgentRoles() { function wrapUntrustedFileContent (line 13952) | function wrapUntrustedFileContent(filepath, content) { function sanitizePromptContent (line 13959) | function sanitizePromptContent(content, maxLength = 4e3) { method "src/agents/prompt-helpers.ts" (line 13977) | "src/agents/prompt-helpers.ts"() { method "src/hooks/autopilot/types.ts" (line 13991) | "src/hooks/autopilot/types.ts"() { function readUltraQAState (line 14011) | function readUltraQAState(directory, sessionId) { function writeUltraQAState (line 14014) | function writeUltraQAState(directory, state, sessionId) { function clearUltraQAState (line 14017) | function clearUltraQAState(directory, sessionId) { function isRalphLoopActive (line 14020) | function isRalphLoopActive(directory, sessionId) { function startUltraQA (line 14024) | function startUltraQA(directory, goalType, sessionId, options) { method "src/hooks/ultraqa/index.ts" (line 14047) | "src/hooks/ultraqa/index.ts"() { function ensureAutopilotDir (line 14056) | function ensureAutopilotDir(directory) { function readAutopilotState (line 14061) | function readAutopilotState(directory, sessionId) { function writeAutopilotState (line 14072) | function writeAutopilotState(directory, state, sessionId) { function clearAutopilotState (line 14080) | function clearAutopilotState(directory, sessionId) { function getAutopilotStateAge (line 14083) | function getAutopilotStateAge(directory, sessionId) { function isAutopilotActive (line 14095) | function isAutopilotActive(directory, sessionId) { function initAutopilot (line 14099) | function initAutopilot(directory, idea, sessionId, config2) { function transitionPhase (line 14157) | function transitionPhase(directory, newPhase, sessionId) { function incrementAgentCount (line 14178) | function incrementAgentCount(directory, count = 1, sessionId) { function updateExpansion (line 14184) | function updateExpansion(directory, updates, sessionId) { function updatePlanning (line 14190) | function updatePlanning(directory, updates, sessionId) { function updateExecution (line 14196) | function updateExecution(directory, updates, sessionId) { function updateQA (line 14202) | function updateQA(directory, updates, sessionId) { function updateValidation (line 14208) | function updateValidation(directory, updates, sessionId) { function getSpecPath (line 14214) | function getSpecPath(directory) { function getPlanPath (line 14217) | function getPlanPath(directory) { function transitionRalphToUltraQA (line 14224) | function transitionRalphToUltraQA(directory, sessionId) { function transitionUltraQAToValidation (line 14284) | function transitionUltraQAToValidation(directory, sessionId) { function transitionToComplete (line 14320) | function transitionToComplete(directory, sessionId) { function transitionToFailed (line 14330) | function transitionToFailed(directory, error2, sessionId) { function getTransitionPrompt (line 14340) | function getTransitionPrompt(fromPhase, toPhase) { method "src/hooks/autopilot/state.ts" (line 14416) | "src/hooks/autopilot/state.ts"() { function resolvePromptPlanPath (line 14433) | function resolvePromptPlanPath(planPathOrConfig) { function resolvePromptOpenQuestionsPath (line 14436) | function resolvePromptOpenQuestionsPath(openQuestionsPathOrConfig) { function getExpansionPrompt (line 14439) | function getExpansionPrompt(idea, openQuestionsPathOrConfig) { function getDirectPlanningPrompt (line 14511) | function getDirectPlanningPrompt(specPath, planPathOrConfig) { function getExecutionPrompt (line 14590) | function getExecutionPrompt(planPath) { function getQAPrompt (line 14632) | function getQAPrompt() { function getValidationPrompt (line 14691) | function getValidationPrompt(specPath) { function escapeForPrompt (line 14768) | function escapeForPrompt(text) { function getPhasePrompt (line 14771) | function getPhasePrompt(phase, context) { method "src/hooks/autopilot/prompts.ts" (line 14794) | "src/hooks/autopilot/prompts.ts"() { function recordValidationVerdict (line 14801) | function recordValidationVerdict(directory, type, verdict, issues, sessi... function getValidationStatus (line 14827) | function getValidationStatus(directory, sessionId) { function startValidationRound (line 14846) | function startValidationRound(directory, sessionId) { function shouldRetryValidation (line 14857) | function shouldRetryValidation(directory, maxRounds = 3, sessionId) { function getIssuesToFix (line 14868) | function getIssuesToFix(directory, sessionId) { function getValidationSpawnPrompt (line 14881) | function getValidationSpawnPrompt(specPath) { function formatValidationResults (line 14942) | function formatValidationResults(state, _sessionId) { function generateSummary (line 14965) | function generateSummary(directory, sessionId) { function formatDuration (line 14998) | function formatDuration(ms) { function formatSummary (line 15012) | function formatSummary(summary) { function formatCompactSummary (line 15036) | function formatCompactSummary(state) { function formatFailureSummary (line 15049) | function formatFailureSummary(state, error2) { function formatFileList (line 15071) | function formatFileList(files, title, maxFiles = 10) { method "src/hooks/autopilot/validation.ts" (line 15088) | "src/hooks/autopilot/validation.ts"() { function cancelAutopilot (line 15096) | function cancelAutopilot(directory, sessionId) { function clearAutopilot (line 15146) | function clearAutopilot(directory, sessionId) { function canResumeAutopilot (line 15183) | function canResumeAutopilot(directory, sessionId) { function resumeAutopilot (line 15205) | function resumeAutopilot(directory, sessionId) { function formatCancelMessage (line 15227) | function formatCancelMessage(result) { method "src/hooks/autopilot/cancel.ts" (line 15252) | "src/hooks/autopilot/cancel.ts"() { method "src/hooks/autopilot/pipeline-types.ts" (line 15264) | "src/hooks/autopilot/pipeline-types.ts"() { method "src/hooks/autopilot/adapters/ralplan-adapter.ts" (line 15297) | "src/hooks/autopilot/adapters/ralplan-adapter.ts"() { method "src/hooks/autopilot/adapters/execution-adapter.ts" (line 15375) | "src/hooks/autopilot/adapters/execution-adapter.ts"() { method "src/hooks/autopilot/adapters/ralph-adapter.ts" (line 15483) | "src/hooks/autopilot/adapters/ralph-adapter.ts"() { method "src/hooks/autopilot/adapters/qa-adapter.ts" (line 15579) | "src/hooks/autopilot/adapters/qa-adapter.ts"() { function getAdapterById (line 15609) | function getAdapterById(id) { method "src/hooks/autopilot/adapters/index.ts" (line 15614) | "src/hooks/autopilot/adapters/index.ts"() { function resolvePipelineConfig (line 15634) | function resolvePipelineConfig(userConfig, deprecatedMode) { function getDeprecationWarning (line 15651) | function getDeprecationWarning(mode) { function buildPipelineTracking (line 15657) | function buildPipelineTracking(config2) { function getActiveAdapters (line 15675) | function getActiveAdapters(config2) { function readPipelineTracking (line 15678) | function readPipelineTracking(state) { function writePipelineTracking (line 15682) | function writePipelineTracking(directory, tracking, sessionId) { function initPipeline (line 15688) | function initPipeline(directory, idea, sessionId, autopilotConfig, pipel... function getCurrentStageAdapter (line 15701) | function getCurrentStageAdapter(tracking) { function getNextStageAdapter (line 15712) | function getNextStageAdapter(tracking) { function advanceStage (line 15721) | function advanceStage(directory, sessionId) { function failCurrentStage (line 15760) | function failCurrentStage(directory, error2, sessionId) { function incrementStageIteration (line 15772) | function incrementStageIteration(directory, sessionId) { function getCurrentCompletionSignal (line 15783) | function getCurrentCompletionSignal(tracking) { function getSignalToStageMap (line 15789) | function getSignalToStageMap() { function generatePipelinePrompt (line 15796) | function generatePipelinePrompt(directory, sessionId) { function generateTransitionPrompt (line 15806) | function generateTransitionPrompt(fromStage, toStage) { function getPipelineStatus (line 15823) | function getPipelineStatus(tracking) { function formatPipelineHUD (line 15858) | function formatPipelineHUD(tracking) { function buildContext (line 15884) | function buildContext(state, tracking) { function hasPipelineTracking (line 15895) | function hasPipelineTracking(state) { method "src/hooks/autopilot/pipeline.ts" (line 15899) | "src/hooks/autopilot/pipeline.ts"() { function detectSignal (line 15909) | function detectSignal(sessionId, signal) { function getExpectedSignalForPhase (line 15932) | function getExpectedSignalForPhase(phase) { function detectAnySignal (line 15948) | function detectAnySignal(sessionId) { function isAwaitingConfirmation (line 15956) | function isAwaitingConfirmation(state) { function getNextPhase (line 15961) | function getNextPhase(current) { function checkAutopilot (line 15977) | async function checkAutopilot(sessionId, directory) { function generateContinuationPrompt (line 16046) | function generateContinuationPrompt(state, directory, sessionId) { function checkPipelineAutopilot (line 16090) | function checkPipelineAutopilot(state, sessionId, directory) { function detectPipelineSignal (line 16208) | function detectPipelineSignal(sessionId, signal) { method "src/hooks/autopilot/enforcement.ts" (line 16232) | "src/hooks/autopilot/enforcement.ts"() { method "src/hooks/autopilot/index.ts" (line 16342) | "src/hooks/autopilot/index.ts"() { function isSessionCancelInProgress (line 16369) | function isSessionCancelInProgress(directory, sessionId) { function readLastToolError (line 16396) | function readLastToolError(directory) { function clearToolErrorState (line 16421) | function clearToolErrorState(directory) { function getToolErrorRetryGuidance (line 16431) | function getToolErrorRetryGuidance(toolError) { function resetTodoContinuationAttempts (line 16465) | function resetTodoContinuationAttempts(sessionId) { function getIdleNotificationCooldownSeconds (line 16468) | function getIdleNotificationCooldownSeconds() { function getIdleNotificationCooldownPath (line 16483) | function getIdleNotificationCooldownPath(stateDir, sessionId) { function shouldSendIdleNotification (line 16489) | function shouldSendIdleNotification(stateDir, sessionId) { function recordIdleNotificationSent (line 16504) | function recordIdleNotificationSent(stateDir, sessionId) { function readTranscriptTail (line 16511) | function readTranscriptTail(transcriptPath) { function estimateTranscriptContextPercent (line 16526) | function estimateTranscriptContextPercent(transcriptPath) { function isCriticalContextStop (line 16549) | function isCriticalContextStop(stopContext) { function isAwaitingConfirmation2 (line 16556) | function isAwaitingConfirmation2(state) { function checkArchitectApprovalInTranscript (line 16561) | function checkArchitectApprovalInTranscript(sessionId) { function checkArchitectRejectionInTranscript (line 16582) | function checkArchitectRejectionInTranscript(sessionId) { function checkRalphLoop (line 16604) | async function checkRalphLoop(sessionId, directory, cancelInProgress) { function readStopBreaker (line 16781) | function readStopBreaker(directory, name, sessionId, ttlMs) { function writeStopBreaker (line 16799) | function writeStopBreaker(directory, name, count, sessionId) { function checkTeamPipeline (line 16809) | async function checkTeamPipeline(sessionId, directory, cancelInProgress) { function checkRalplan (line 16898) | async function checkRalplan(sessionId, directory, cancelInProgress) { function checkUltrawork (line 16964) | async function checkUltrawork(sessionId, directory, _hasIncompleteTodos,... function checkPersistentModes (line 16997) | async function checkPersistentModes(sessionId, directory, stopContext) { function createHookOutput (line 17100) | function createHookOutput(result) { method "src/hooks/persistent-mode/index.ts" (line 17108) | "src/hooks/persistent-mode/index.ts"() { function getHookConfig (line 17137) | function getHookConfig() { function resetHookConfigCache (line 17157) | function resetHookConfigCache() { function resolveEventTemplate (line 17160) | function resolveEventTemplate(hookConfig, event, platform) { function mergeHookConfigIntoNotificationConfig (line 17170) | function mergeHookConfigIntoNotificationConfig(hookConfig, notifConfig) { method "src/notifications/hook-config.ts" (line 17188) | "src/notifications/hook-config.ts"() { function validateCustomIntegration (line 17198) | function validateCustomIntegration(integration) { function validateWebhookIntegrationConfig (line 17220) | function validateWebhookIntegrationConfig(config2) { function validateCliIntegrationConfig (line 17262) | function validateCliIntegrationConfig(config2) { function checkDuplicateIds (line 17294) | function checkDuplicateIds(integrations) { function sanitizeArgument (line 17305) | function sanitizeArgument(arg) { method "src/notifications/validation.ts" (line 17312) | "src/notifications/validation.ts"() { function readRawConfig (line 17345) | function readRawConfig() { function migrateStopHookCallbacks (line 17353) | function migrateStopHookCallbacks(raw) { function normalizeOptional (line 17381) | function normalizeOptional(value) { function validateMention (line 17385) | function validateMention(raw) { function validateSlackChannel (line 17393) | function validateSlackChannel(raw) { function validateSlackUsername (line 17400) | function validateSlackUsername(raw) { function validateSlackMention (line 17407) | function validateSlackMention(raw) { function parseMentionAllowedMentions (line 17415) | function parseMentionAllowedMentions(mention) { function buildConfigFromEnv (line 17423) | function buildConfigFromEnv() { function mergeEnvIntoFileConfig (line 17482) | function mergeEnvIntoFileConfig(fileConfig, envConfig) { function applyHookAndEnvMerge (line 17548) | function applyHookAndEnvMerge(config2) { function applyEnvMerge (line 17556) | function applyEnvMerge(config2) { function getVerbosity (line 17579) | function getVerbosity(config2) { function getTmuxTailLines (line 17589) | function getTmuxTailLines(config2) { function isEventAllowedByVerbosity (line 17600) | function isEventAllowedByVerbosity(verbosity, event) { function shouldIncludeTmuxTail (line 17613) | function shouldIncludeTmuxTail(verbosity) { function getNotificationConfig (line 17616) | function getNotificationConfig(profileName) { function isPlatformActivated (line 17648) | function isPlatformActivated(platform) { function isEventEnabled (line 17657) | function isEventEnabled(config2, event) { function getEnabledPlatforms (line 17669) | function getEnabledPlatforms(config2, event) { function getEnabledReplyPlatformConfig (line 17696) | function getEnabledReplyPlatformConfig(config2, platform) { function getReplyListenerPlatformConfig (line 17710) | function getReplyListenerPlatformConfig(config2) { function parseDiscordUserIds (line 17735) | function parseDiscordUserIds(envValue, configValue) { function parseIntSafe (line 17746) | function parseIntSafe(value) { function getReplyConfig (line 17751) | function getReplyConfig() { function detectLegacyOpenClawConfig (line 17789) | function detectLegacyOpenClawConfig() { function migrateLegacyOpenClawConfig (line 17792) | function migrateLegacyOpenClawConfig() { function getCustomIntegrationsConfig (line 17838) | function getCustomIntegrationsConfig() { function getCustomIntegrationsForEvent (line 17865) | function getCustomIntegrationsForEvent(event) { function hasCustomIntegrationsEnabled (line 17872) | function hasCustomIntegrationsEnabled(event) { method "src/notifications/config.ts" (line 17882) | "src/notifications/config.ts"() { function formatDuration2 (line 17915) | function formatDuration2(ms) { function projectDisplay (line 17928) | function projectDisplay(payload) { function buildFooter (line 17933) | function buildFooter(payload, markdown) { function formatSessionStart (line 17945) | function formatSessionStart(payload) { function formatSessionStop (line 17960) | function formatSessionStop(payload) { function formatSessionEnd (line 17975) | function formatSessionEnd(payload) { function formatSessionIdle (line 18000) | function formatSessionIdle(payload) { function parseTmuxTail (line 18015) | function parseTmuxTail(raw, maxLines = DEFAULT_MAX_TAIL_LINES) { function appendTmuxTail (line 18033) | function appendTmuxTail(lines, payload) { function formatAgentCall (line 18045) | function formatAgentCall(payload) { function formatAskUserQuestion (line 18057) | function formatAskUserQuestion(payload) { function formatNotification (line 18068) | function formatNotification(payload) { method "src/notifications/formatter.ts" (line 18088) | "src/notifications/formatter.ts"() { function formatDuration3 (line 18104) | function formatDuration3(ms) { function getProjectDisplay (line 18117) | function getProjectDisplay(payload) { function buildFooterText (line 18122) | function buildFooterText(payload) { function buildTmuxTailBlock (line 18130) | function buildTmuxTailBlock(payload) { function computeTemplateVariables (line 18141) | function computeTemplateVariables(payload) { function processConditionals (line 18179) | function processConditionals(template, vars) { function replaceVariables (line 18188) | function replaceVariables(template, vars) { function postProcess (line 18194) | function postProcess(text) { function interpolateTemplate (line 18197) | function interpolateTemplate(template, payload) { function validateTemplate (line 18204) | function validateTemplate(template) { function getDefaultTemplate (line 18218) | function getDefaultTemplate(event) { method "src/notifications/template-engine.ts" (line 18223) | "src/notifications/template-engine.ts"() { function composeDiscordContent (line 18277) | function composeDiscordContent(message, mention) { function validateDiscordUrl (line 18297) | function validateDiscordUrl(webhookUrl) { function validateTelegramToken (line 18311) | function validateTelegramToken(token) { function validateSlackUrl (line 18314) | function validateSlackUrl(webhookUrl) { function validateWebhookUrl (line 18322) | function validateWebhookUrl(url) { function sendDiscord (line 18330) | async function sendDiscord(config2, payload) { function sendDiscordBot (line 18372) | async function sendDiscordBot(config2, payload) { function sendTelegram (line 18422) | async function sendTelegram(config2, payload) { function composeSlackText (line 18500) | function composeSlackText(message, mention) { function sendSlack (line 18508) | async function sendSlack(config2, payload) { function sendSlackBot (line 18548) | async function sendSlackBot(config2, payload) { function sendWebhook (line 18596) | async function sendWebhook(config2, payload) { function getEffectivePlatformConfig (line 18650) | function getEffectivePlatformConfig(platform, config2, event) { function dispatchNotifications (line 18662) | async function dispatchNotifications(config2, event, payload, platformMe... function sendCustomWebhook (line 18762) | async function sendCustomWebhook(integration, payload) { function sendCustomCli (line 18799) | async function sendCustomCli(integration, payload) { function dispatchCustomIntegrations (line 18820) | async function dispatchCustomIntegrations(event, payload) { method "src/notifications/dispatcher.ts" (line 18843) | "src/notifications/dispatcher.ts"() { function getCurrentTmuxSession (line 18866) | function getCurrentTmuxSession() { function getTeamTmuxSessions (line 18891) | function getTeamTmuxSessions(teamName) { function formatTmuxInfo (line 18906) | function formatTmuxInfo() { function getCurrentTmuxPaneId (line 18911) | function getCurrentTmuxPaneId() { method "src/notifications/tmux.ts" (line 18928) | "src/notifications/tmux.ts"() { function redactTokens (line 18935) | function redactTokens(input) { method "src/notifications/redact.ts" (line 18939) | "src/notifications/redact.ts"() { function verifySlackSignature (line 18957) | function verifySlackSignature(signingSecret, signature, timestamp, body) { function isTimestampValid (line 18975) | function isTimestampValid(timestamp, maxAgeSeconds = MAX_TIMESTAMP_AGE_S... function validateSlackEnvelope (line 18983) | function validateSlackEnvelope(data) { function validateSlackMessage (line 19010) | function validateSlackMessage(rawMessage, connectionState, signingSecret... function postSlackBotMessage (line 19039) | async function postSlackBotMessage(botToken, channel, text) { function addSlackReaction (line 19051) | async function addSlackReaction(botToken, channel, timestamp, emoji2 = "... function replySlackThread (line 19062) | async function replySlackThread(botToken, channel, threadTs, text) { method "src/notifications/slack-socket.ts" (line 19075) | "src/notifications/slack-socket.ts"() { function getPresetList (line 19406) | function getPresetList() { function getPreset (line 19414) | function getPreset(id) { function isValidPreset (line 19417) | function isValidPreset(id) { method "src/notifications/presets.ts" (line 19422) | "src/notifications/presets.ts"() { function getVariablesForEvent (line 19518) | function getVariablesForEvent(event) { function getVariableDocumentation (line 19523) | function getVariableDocumentation() { method "src/notifications/template-variables.ts" (line 19537) | "src/notifications/template-variables.ts"() { function isValidPaneId (line 19658) | function isValidPaneId(paneId) { function sanitizeForTmux (line 19661) | function sanitizeForTmux(text) { function isTmuxAvailable (line 19664) | function isTmuxAvailable() { function isInsideTmux (line 19676) | function isInsideTmux() { function listTmuxPanes (line 19679) | function listTmuxPanes() { function capturePaneContent (line 19713) | function capturePaneContent(paneId, lines = 15) { function analyzePaneContent (line 19733) | function analyzePaneContent(content) { function scanForBlockedPanes (line 19774) | function scanForBlockedPanes(lines = 15) { function sendResumeSequence (line 19791) | function sendResumeSequence(paneId) { function sendToPane (line 19809) | function sendToPane(paneId, text, pressEnter = true) { function formatBlockedPanesSummary (line 19833) | function formatBlockedPanesSummary(blockedPanes) { method "src/features/rate-limit-wait/tmux-detector.ts" (line 19852) | "src/features/rate-limit-wait/tmux-detector.ts"() { function getRegistryStateDir (line 19903) | function getRegistryStateDir() { function getRegistryPath (line 19906) | function getRegistryPath() { function getRegistryReadPaths (line 19909) | function getRegistryReadPaths() { function getLockPath (line 19915) | function getLockPath() { function ensureRegistryDir (line 19918) | function ensureRegistryDir() { function sleepMs (line 19924) | function sleepMs(ms) { function readLockSnapshot (line 19927) | function readLockSnapshot() { function removeLockIfUnchanged (line 19952) | function removeLockIfUnchanged(snapshot) { function acquireRegistryLock (line 19968) | function acquireRegistryLock() { function acquireRegistryLockOrWait (line 20014) | function acquireRegistryLockOrWait(maxWaitMs = LOCK_MAX_WAIT_MS) { function releaseRegistryLock (line 20025) | function releaseRegistryLock(lock) { function withRegistryLockOrWait (line 20036) | function withRegistryLockOrWait(onLocked) { function withRegistryLock (line 20047) | function withRegistryLock(onLocked, onLockUnavailable) { function registerMessage (line 20058) | function registerMessage(mapping) { function loadAllMappings (line 20077) | function loadAllMappings() { function readAllMappingsUnsafe (line 20080) | function readAllMappingsUnsafe() { function lookupByMessageId (line 20100) | function lookupByMessageId(platform, messageId) { function removeSession (line 20104) | function removeSession(sessionId) { function removeMessagesByPane (line 20118) | function removeMessagesByPane(paneId) { function pruneStale (line 20132) | function pruneStale() { function rewriteRegistryUnsafe (line 20154) | function rewriteRegistryUnsafe(mappings) { method "src/notifications/session-registry.ts" (line 20165) | "src/notifications/session-registry.ts"() { function notify (line 20244) | async function notify(event, data) { method "src/notifications/index.ts" (line 20363) | "src/notifications/index.ts"() { function shouldSkipEntry (line 20389) | function shouldSkipEntry(name, isDir, ignorePatterns) { function buildTree (line 20410) | function buildTree(dir, depth, maxDepth, fileCount, maxFiles, ignorePatt... function renderTree (line 20452) | function renderTree(nodes, prefix, lines) { function extractPackageMetadata (line 20464) | function extractPackageMetadata(directory) { function generateCodebaseMap (line 20481) | function generateCodebaseMap(directory, options = {}) { method "src/hooks/codebase-map.ts" (line 20514) | "src/hooks/codebase-map.ts"() { function buildAgentsOverlay (line 20614) | function buildAgentsOverlay(directory, options) { method "src/hooks/agents-overlay.ts" (line 20647) | "src/hooks/agents-overlay.ts"() { function resolveDaemonModulePath (line 20655) | function resolveDaemonModulePath(currentFilename, distSegments) { method "src/utils/daemon-module-path.ts" (line 20671) | "src/utils/daemon-module-path.ts"() { function createMinimalDaemonEnv (line 20691) | function createMinimalDaemonEnv() { function ensureStateDir2 (line 20705) | function ensureStateDir2() { function writeSecureFile (line 20710) | function writeSecureFile(filePath, content) { function rotateLogIfNeeded (line 20718) | function rotateLogIfNeeded(logPath) { function log (line 20732) | function log(message) { function readDaemonState (line 20743) | function readDaemonState() { function writeDaemonState (line 20755) | function writeDaemonState(state) { function buildDaemonConfig (line 20758) | async function buildDaemonConfig() { function readPidFile (line 20770) | function readPidFile() { function writePidFile (line 20781) | function writePidFile(pid) { function removePidFile (line 20784) | function removePidFile() { function isDaemonRunning (line 20789) | function isDaemonRunning() { function sanitizeReplyInput (line 20800) | function sanitizeReplyInput(text) { function injectReply (line 20803) | function injectReply(paneId, text, platform, config2) { function pollDiscord (line 20821) | async function pollDiscord(config2, state, rateLimiter) { function pollTelegram (line 20928) | async function pollTelegram(config2, state, rateLimiter) { function pollLoop (line 21055) | async function pollLoop() { function startReplyListener (line 21183) | function startReplyListener(_config) { function stopReplyListener (line 21246) | function stopReplyListener() { function getReplyListenerStatus (line 21284) | function getReplyListenerStatus() { function processSlackSocketMessage (line 21306) | function processSlackSocketMessage(rawMessage, connectionState, paneId, ... method "src/notifications/reply-listener.ts" (line 21365) | "src/notifications/reply-listener.ts"() { function getOpenClawConfig (line 21446) | function getOpenClawConfig() { function resolveGateway (line 21470) | function resolveGateway(config2, event) { function resetOpenClawConfigCache (line 21486) | function resetOpenClawConfigCache() { method "src/openclaw/config.ts" (line 21491) | "src/openclaw/config.ts"() { function validateGatewayUrl (line 21502) | function validateGatewayUrl(url) { function interpolateInstruction (line 21514) | function interpolateInstruction(template, variables) { function isCommandGateway (line 21519) | function isCommandGateway(config2) { function shellEscapeArg (line 21522) | function shellEscapeArg(value) { function wakeGateway (line 21525) | async function wakeGateway(gatewayName, gatewayConfig, payload) { function wakeCommandGateway (line 21562) | async function wakeCommandGateway(gatewayName, gatewayConfig, variables,... method "src/openclaw/dispatcher.ts" (line 21598) | "src/openclaw/dispatcher.ts"() { function stripClaudeTempCwdErrors (line 21605) | function stripClaudeTempCwdErrors(output) { function isNonZeroExitWithOutput (line 21608) | function isNonZeroExitWithOutput(output) { function detectBashFailure (line 21628) | function detectBashFailure(output) { function detectWriteFailure (line 21645) | function detectWriteFailure(output) { function getCommand (line 21659) | function getCommand(toolInput) { function detectTestRunner (line 21664) | function detectTestRunner(command) { function summarize (line 21668) | function summarize(value, maxLength = 160) { function getToolPhase (line 21675) | function getToolPhase(toolName, toolOutput) { function buildToolSignal (line 21688) | function buildToolSignal(event, context) { function buildOpenClawSignal (line 21734) | function buildOpenClawSignal(event, context) { method "src/openclaw/signal.ts" (line 21794) | "src/openclaw/signal.ts"() { function buildWhitelistedContext (line 21826) | function buildWhitelistedContext(context) { function wakeOpenClaw (line 21842) | async function wakeOpenClaw(event, context) { method "src/openclaw/index.ts" (line 21935) | "src/openclaw/index.ts"() { function formatSessionSummary (line 21950) | function formatSessionSummary(metrics, format = "markdown") { function normalizeDiscordTagList (line 21967) | function normalizeDiscordTagList(tagList) { function normalizeTelegramTagList (line 21985) | function normalizeTelegramTagList(tagList) { function prefixMessageWithTags (line 21991) | function prefixMessageWithTags(message, tags) { function interpolatePath (line 21998) | function interpolatePath(pathTemplate, sessionId) { function writeToFile (line 22005) | async function writeToFile(config2, content, sessionId) { function sendTelegram2 (line 22016) | async function sendTelegram2(config2, message) { function sendDiscord2 (line 22045) | async function sendDiscord2(config2, message) { function triggerStopCallbacks (line 22082) | async function triggerStopCallbacks(metrics, _input, options = {}) { method "src/hooks/session-end/callbacks.ts" (line 22121) | "src/hooks/session-end/callbacks.ts"() { function normalizeTaskFileStem (line 22131) | function normalizeTaskFileStem(taskId) { function absPath (line 22137) | function absPath(cwd2, relativePath) { function teamStateRoot (line 22140) | function teamStateRoot(cwd2, teamName) { function getTaskStoragePath (line 22143) | function getTaskStoragePath(cwd2, teamName, taskId) { method "src/team/state-paths.ts" (line 22151) | "src/team/state-paths.ts"() { function normalizeTeamTransportPolicy (line 22201) | function normalizeTeamTransportPolicy(policy) { function normalizeTeamGovernance (line 22209) | function normalizeTeamGovernance(governance, legacyPolicy) { function normalizeTeamManifest (line 22218) | function normalizeTeamManifest(manifest) { function getConfigGovernance (line 22225) | function getConfigGovernance(config2) { function resolveLifecycleProfile (line 22228) | function resolveLifecycleProfile(config2, manifest) { function isLinkedRalphProfile (line 22233) | function isLinkedRalphProfile(config2, manifest) { method "src/team/governance.ts" (line 22238) | "src/team/governance.ts"() { function isTerminalTeamTaskStatus (line 22257) | function isTerminalTeamTaskStatus(status) { function canTransitionTeamTaskStatus (line 22260) | function canTransitionTeamTaskStatus(from, to) { method "src/team/contracts.ts" (line 22265) | "src/team/contracts.ts"() { function computeTaskReadiness (line 22296) | async function computeTaskReadiness(teamName, taskId, cwd2, deps) { function claimTask (line 22306) | async function claimTask(taskId, workerName2, expectedVersion, deps) { function transitionTaskStatus (line 22344) | async function transitionTaskStatus(taskId, from, to, claimToken, deps) { function releaseTaskClaim (line 22396) | async function releaseTaskClaim(taskId, claimToken, _workerName, deps) { function listTasks (line 22420) | async function listTasks(teamName, cwd2, deps) { method "src/team/state/tasks.ts" (line 22453) | "src/team/state/tasks.ts"() { function teamDir2 (line 22495) | function teamDir2(teamName, cwd2) { function normalizeTaskId (line 22498) | function normalizeTaskId(taskId) { function canonicalTaskFilePath (line 22502) | function canonicalTaskFilePath(teamName, taskId, cwd2) { function legacyTaskFilePath (line 22506) | function legacyTaskFilePath(teamName, taskId, cwd2) { function taskFileCandidates (line 22510) | function taskFileCandidates(teamName, taskId, cwd2) { function writeAtomic (line 22515) | async function writeAtomic(path22, data) { function readJsonSafe2 (line 22522) | async function readJsonSafe2(path22) { function normalizeTask (line 22531) | function normalizeTask(task) { function isTeamTask (line 22534) | function isTeamTask(value) { function withLock (line 22539) | async function withLock(lockDir, fn) { function withTaskClaimLock (line 22573) | async function withTaskClaimLock(teamName, taskId, cwd2, fn) { function withMailboxLock (line 22577) | async function withMailboxLock(teamName, workerName2, cwd2, fn) { function configFromManifest (line 22590) | function configFromManifest(manifest) { function mergeTeamConfigSources (line 22614) | function mergeTeamConfigSources(config2, manifest) { function teamReadConfig (line 22627) | async function teamReadConfig(teamName, cwd2) { function teamReadManifest (line 22634) | async function teamReadManifest(teamName, cwd2) { function teamCleanup (line 22639) | async function teamCleanup(teamName, cwd2) { function teamWriteWorkerIdentity (line 22642) | async function teamWriteWorkerIdentity(teamName, workerName2, identity, ... function teamReadWorkerHeartbeat (line 22646) | async function teamReadWorkerHeartbeat(teamName, workerName2, cwd2) { function teamUpdateWorkerHeartbeat (line 22650) | async function teamUpdateWorkerHeartbeat(teamName, workerName2, heartbea... function teamReadWorkerStatus (line 22654) | async function teamReadWorkerStatus(teamName, workerName2, cwd2) { function teamWriteWorkerInbox (line 22660) | async function teamWriteWorkerInbox(teamName, workerName2, prompt, cwd2) { function teamCreateTask (line 22664) | async function teamCreateTask(teamName, task, cwd2) { function teamReadTask (line 22683) | async function teamReadTask(teamName, taskId, cwd2) { function teamListTasks (line 22691) | async function teamListTasks(teamName, cwd2) { function teamUpdateTask (line 22698) | async function teamUpdateTask(teamName, taskId, updates, cwd2) { function teamClaimTask (line 22712) | async function teamClaimTask(teamName, taskId, workerName2, expectedVers... function teamTransitionTaskStatus (line 22736) | async function teamTransitionTaskStatus(teamName, taskId, from, to, clai... function teamReleaseTaskClaim (line 22753) | async function teamReleaseTaskClaim(teamName, taskId, claimToken, worker... function normalizeLegacyMailboxMessage (line 22766) | function normalizeLegacyMailboxMessage(raw) { function readLegacyMailboxJsonl (line 22786) | async function readLegacyMailboxJsonl(teamName, workerName2, cwd2) { function readMailbox (line 22810) | async function readMailbox(teamName, workerName2, cwd2) { function writeMailbox (line 22818) | async function writeMailbox(teamName, workerName2, mailbox, cwd2) { function teamSendMessage (line 22822) | async function teamSendMessage(teamName, fromWorker, toWorker, body, cwd... function teamBroadcast (line 22842) | async function teamBroadcast(teamName, fromWorker, body, cwd2) { function teamListMailbox (line 22853) | async function teamListMailbox(teamName, workerName2, cwd2) { function teamMarkMessageDelivered (line 22857) | async function teamMarkMessageDelivered(teamName, workerName2, messageId... function teamMarkMessageNotified (line 22867) | async function teamMarkMessageNotified(teamName, workerName2, messageId,... function teamAppendEvent (line 22877) | async function teamAppendEvent(teamName, event, cwd2) { function teamReadTaskApproval (line 22890) | async function teamReadTaskApproval(teamName, taskId, cwd2) { function teamWriteTaskApproval (line 22894) | async function teamWriteTaskApproval(teamName, approval, cwd2) { function teamGetSummary (line 22904) | async function teamGetSummary(teamName, cwd2) { function teamWriteShutdownRequest (line 22956) | async function teamWriteShutdownRequest(teamName, workerName2, requested... function teamReadShutdownAck (line 22960) | async function teamReadShutdownAck(teamName, workerName2, cwd2, minUpdat... function teamReadMonitorSnapshot (line 22971) | async function teamReadMonitorSnapshot(teamName, cwd2) { function teamWriteMonitorSnapshot (line 22975) | async function teamWriteMonitorSnapshot(teamName, snapshot, cwd2) { method "src/team/team-ops.ts" (line 22981) | "src/team/team-ops.ts"() { function allocateTasksToWorkers (line 22997) | function allocateTasksToWorkers(tasks, workers) { function isUniformRolePool (line 23025) | function isUniformRolePool(workers) { function pickLeastLoaded (line 23030) | function pickLeastLoaded(workers, loadMap) { function pickBestWorker (line 23042) | function pickBestWorker(task, workers, loadMap) { method "src/team/allocation-policy.ts" (line 23053) | "src/team/allocation-policy.ts"() { function readJsonSafe3 (line 23059) | async function readJsonSafe3(filePath) { function writeAtomic2 (line 23068) | async function writeAtomic2(filePath, data) { function configFromManifest2 (line 23076) | function configFromManifest2(manifest) { function readTeamConfig (line 23100) | async function readTeamConfig(teamName, cwd2) { function readTeamManifest (line 23117) | async function readTeamManifest(teamName, cwd2) { function readWorkerStatus (line 23121) | async function readWorkerStatus(teamName, workerName2, cwd2) { function readWorkerHeartbeat (line 23125) | async function readWorkerHeartbeat(teamName, workerName2, cwd2) { function readMonitorSnapshot (line 23128) | async function readMonitorSnapshot(teamName, cwd2) { function writeMonitorSnapshot (line 23157) | async function writeMonitorSnapshot(teamName, snapshot, cwd2) { function writeShutdownRequest (line 23160) | async function writeShutdownRequest(teamName, workerName2, fromWorker, c... function readShutdownAck (line 23167) | async function readShutdownAck(teamName, workerName2, cwd2, requestedAft... function listTasksFromFiles (line 23179) | async function listTasksFromFiles(teamName, cwd2) { function writeWorkerInbox (line 23193) | async function writeWorkerInbox(teamName, workerName2, content, cwd2) { function saveTeamConfig (line 23196) | async function saveTeamConfig(config2, cwd2) { function cleanupTeamState (line 23222) | async function cleanupTeamState(teamName, cwd2) { method "src/team/monitor.ts" (line 23232) | "src/team/monitor.ts"() { function appendTeamEvent (line 23251) | async function appendTeamEvent(teamName, event, cwd2) { function readTeamEvents (line 23264) | async function readTeamEvents(teamName, cwd2) { function readTeamEventsByType (line 23274) | async function readTeamEventsByType(teamName, eventType, cwd2) { function emitMonitorDerivedEvents (line 23278) | async function emitMonitorDerivedEvents(teamName, tasks, workers, previo... method "src/team/events.ts" (line 23325) | "src/team/events.ts"() { function inferPhase (line 23337) | function inferPhase(tasks) { method "src/team/phase-controller.ts" (line 23373) | "src/team/phase-controller.ts"() { function validateTeamName (line 23379) | function validateTeamName(teamName) { method "src/team/team-name.ts" (line 23389) | "src/team/team-name.ts"() { method "src/features/delegation-routing/types.ts" (line 23397) | "src/features/delegation-routing/types.ts"() { function normalizeToCcAlias (line 23403) | function normalizeToCcAlias(model) { method "src/features/delegation-enforcer.ts" (line 23409) | "src/features/delegation-enforcer.ts"() { function getTrustedPrefixes (line 23424) | function getTrustedPrefixes() { function isTrustedPrefix (line 23440) | function isTrustedPrefix(resolvedPath) { function assertBinaryName (line 23444) | function assertBinaryName(binary) { function resolveCliBinaryPath (line 23449) | function resolveCliBinaryPath(binary) { function getContract (line 23479) | function getContract(agentType) { function validateBinaryRef (line 23486) | function validateBinaryRef(binary) { function resolveBinaryPath (line 23491) | function resolveBinaryPath(binary) { function isCliAvailable (line 23506) | function isCliAvailable(agentType) { function resolveValidatedBinaryPath (line 23524) | function resolveValidatedBinaryPath(agentType) { function buildLaunchArgs (line 23528) | function buildLaunchArgs(agentType, config2) { function buildWorkerArgv (line 23531) | function buildWorkerArgv(agentType, config2) { function getWorkerEnv (line 23541) | function getWorkerEnv(teamName, workerName2, agentType, env2 = process.e... function isPromptModeAgent (line 23556) | function isPromptModeAgent(agentType) { function resolveClaudeWorkerModel (line 23560) | function resolveClaudeWorkerModel(env2 = process.env) { function getPromptModeArgs (line 23578) | function getPromptModeArgs(agentType, instruction) { method "src/team/model-contract.ts" (line 23590) | "src/team/model-contract.ts"() { function detectTeamMultiplexerContext (line 23719) | function detectTeamMultiplexerContext(env2 = process.env) { function isUnixLikeOnWindows (line 23724) | function isUnixLikeOnWindows() { function tmuxAsync (line 23727) | async function tmuxAsync(args) { function getDefaultShell (line 23734) | function getDefaultShell() { function resolveShellFromCandidates (line 23745) | function resolveShellFromCandidates(paths, rcFile) { function resolveSupportedShellAffinity (line 23751) | function resolveSupportedShellAffinity(shellPath) { function buildWorkerLaunchSpec (line 23760) | function buildWorkerLaunchSpec(shellPath) { function escapeForCmdSet (line 23775) | function escapeForCmdSet(value) { function shellNameFromPath (line 23778) | function shellNameFromPath(shellPath) { function shellEscape (line 23782) | function shellEscape(value) { function assertSafeEnvKey (line 23785) | function assertSafeEnvKey(key) { function isAbsoluteLaunchBinaryPath (line 23790) | function isAbsoluteLaunchBinaryPath(value) { function assertSafeLaunchBinary (line 23793) | function assertSafeLaunchBinary(launchBinary) { function getLaunchWords (line 23807) | function getLaunchWords(config2) { function buildWorkerStartCommand (line 23819) | function buildWorkerStartCommand(config2) { function validateTmux (line 23874) | function validateTmux() { function sanitizeName (line 23883) | function sanitizeName(name) { function sessionName (line 23893) | function sessionName(teamName, workerName2) { function createSession (line 23896) | function createSession(teamName, workerName2, workingDirectory) { function killSession (line 23909) | function killSession(teamName, workerName2) { function isSessionAlive (line 23916) | function isSessionAlive(teamName, workerName2) { function listActiveSessions (line 23925) | function listActiveSessions(teamName) { function spawnBridgeInSession (line 23938) | function spawnBridgeInSession(tmuxSession, bridgeScriptPath, configFileP... function createTeamSession (line 23942) | async function createTeamSession(teamName, workerCount, cwd2, options = ... function spawnWorkerInPane (line 24099) | async function spawnWorkerInPane(sessionName2, paneId, config2) { function normalizeTmuxCapture (line 24114) | function normalizeTmuxCapture(value) { function capturePaneAsync (line 24117) | async function capturePaneAsync(paneId, execFileAsync5) { function paneHasTrustPrompt (line 24125) | function paneHasTrustPrompt(captured) { function paneIsBootstrapping (line 24132) | function paneIsBootstrapping(captured) { function paneHasActiveTask (line 24138) | function paneHasActiveTask(captured) { function paneLooksReady (line 24147) | function paneLooksReady(captured) { function waitForPaneReady (line 24159) | async function waitForPaneReady(paneId, opts = {}) { function paneTailContainsLiteralLine (line 24176) | function paneTailContainsLiteralLine(captured, text) { function paneInCopyMode (line 24179) | async function paneInCopyMode(paneId) { function shouldAttemptAdaptiveRetry (line 24187) | function shouldAttemptAdaptiveRetry(args) { function sendToWorker (line 24198) | async function sendToWorker(_sessionName, paneId, message) { function injectToLeaderPane (line 24283) | async function injectToLeaderPane(sessionName2, leaderPaneId, message) { function isWorkerAlive (line 24301) | async function isWorkerAlive(paneId) { function killWorkerPanes (line 24315) | async function killWorkerPanes(opts) { function isPaneId (line 24338) | function isPaneId(value) { function dedupeWorkerPaneIds (line 24341) | function dedupeWorkerPaneIds(paneIds, leaderPaneId) { function resolveSplitPaneWorkerPaneIds (line 24351) | async function resolveSplitPaneWorkerPaneIds(sessionName2, recordedPaneI... function killTeamSession (line 24364) | async function killTeamSession(sessionName2, workerPaneIds, leaderPaneId... method "src/team/tmux-session.ts" (line 24405) | "src/team/tmux-session.ts"() { function buildInstructionPath (line 24425) | function buildInstructionPath(...parts) { function generateTriggerMessage (line 24428) | function generateTriggerMessage(teamName, workerName2, teamStateRoot2 = ... function generateMailboxTriggerMessage (line 24435) | function generateMailboxTriggerMessage(teamName, workerName2, count = 1,... function agentTypeGuidance (line 24443) | function agentTypeGuidance(agentType) { function generateWorkerOverlay (line 24471) | function generateWorkerOverlay(params) { function composeInitialInbox (line 24588) | async function composeInitialInbox(teamName, workerName2, content, cwd2) { function ensureWorkerStateDir (line 24593) | async function ensureWorkerStateDir(teamName, workerName2, cwd2) { function writeWorkerOverlay (line 24601) | async function writeWorkerOverlay(params) { method "src/team/worker-bootstrap.ts" (line 24611) | "src/team/worker-bootstrap.ts"() { function atomicWriteJson2 (line 24622) | function atomicWriteJson2(filePath, data, mode = 384) { function ensureDirWithMode (line 24629) | function ensureDirWithMode(dirPath, mode = 448) { function safeRealpath (line 24632) | function safeRealpath(p) { function validateResolvedPath (line 24645) | function validateResolvedPath(resolvedPath, expectedBase) { method "src/team/fs-utils.ts" (line 24655) | "src/team/fs-utils.ts"() { function validateWorkerName (line 24663) | function validateWorkerName(name) { function isDispatchKind (line 24668) | function isDispatchKind(value) { function isDispatchStatus (line 24671) | function isDispatchStatus(value) { function resolveDispatchLockTimeoutMs (line 24674) | function resolveDispatchLockTimeoutMs(env2 = process.env) { function withDispatchLock (line 24681) | async function withDispatchLock(teamName, cwd2, fn) { function readDispatchRequestsFromFile (line 24734) | async function readDispatchRequestsFromFile(teamName, cwd2) { function writeDispatchRequestsToFile (line 24746) | async function writeDispatchRequestsToFile(teamName, requests, cwd2) { function normalizeDispatchRequest (line 24752) | function normalizeDispatchRequest(teamName, raw, nowIso2 = (/* @__PURE__... function equivalentPendingDispatch (line 24779) | function equivalentPendingDispatch(existing, input) { function canTransitionDispatchStatus (line 24791) | function canTransitionDispatchStatus(from, to) { function enqueueDispatchRequest (line 24797) | async function enqueueDispatchRequest(teamName, requestInput, cwd2) { function listDispatchRequests (line 24826) | async function listDispatchRequests(teamName, cwd2, opts = {}) { function readDispatchRequest (line 24835) | async function readDispatchRequest(teamName, requestId, cwd2) { function transitionDispatchRequest (line 24839) | async function transitionDispatchRequest(teamName, requestId, from, to, ... function markDispatchRequestNotified (line 24867) | async function markDispatchRequestNotified(teamName, requestId, patch = ... function markDispatchRequestDelivered (line 24873) | async function markDispatchRequestDelivered(teamName, requestId, patch =... method "src/team/dispatch-queue.ts" (line 24881) | "src/team/dispatch-queue.ts"() { function isConfirmedNotification (line 24901) | function isConfirmedNotification(outcome) { function isLeaderPaneMissingMailboxPersistedOutcome (line 24906) | function isLeaderPaneMissingMailboxPersistedOutcome(request, outcome) { function fallbackTransportForPreference (line 24909) | function fallbackTransportForPreference(preference) { function notifyExceptionReason (line 24914) | function notifyExceptionReason(error2) { function markImmediateDispatchFailure (line 24918) | async function markImmediateDispatchFailure(params) { function markLeaderPaneMissingDeferred (line 24939) | async function markLeaderPaneMissingDeferred(params) { function queueInboxInstruction (line 24959) | async function queueInboxInstruction(params) { function queueDirectMailboxMessage (line 25010) | async function queueDirectMailboxMessage(params) { function queueBroadcastMailboxMessage (line 25078) | async function queueBroadcastMailboxMessage(params) { method "src/team/mcp-comm.ts" (line 25147) | "src/team/mcp-comm.ts"() { function getWorktreePath (line 25155) | function getWorktreePath(repoRoot, teamName, workerName2) { function getBranchName (line 25158) | function getBranchName(teamName, workerName2) { function getMetadataPath (line 25161) | function getMetadataPath(repoRoot, teamName) { function readMetadata (line 25164) | function readMetadata(repoRoot, teamName) { function writeMetadata (line 25176) | function writeMetadata(repoRoot, teamName, entries) { function removeWorkerWorktree (line 25183) | function removeWorkerWorktree(teamName, workerName2, repoRoot) { function cleanupTeamWorktrees (line 25202) | function cleanupTeamWorktrees(teamName, repoRoot) { method "src/team/git-worktree.ts" (line 25213) | "src/team/git-worktree.ts"() { function isRuntimeV2Enabled (line 25237) | function isRuntimeV2Enabled(env2 = process.env) { function sanitizeTeamName (line 25243) | function sanitizeTeamName(name) { function isWorkerPaneAlive (line 25248) | async function isWorkerPaneAlive(paneId) { function captureWorkerPane (line 25257) | async function captureWorkerPane(paneId) { function isFreshTimestamp (line 25266) | function isFreshTimestamp(value, maxAgeMs = MONITOR_SIGNAL_STALE_MS) { function findOutstandingWorkerTask (line 25272) | function findOutstandingWorkerTask(worker, taskById, inProgressByOwner) { function buildV2TaskInstruction (line 25284) | function buildV2TaskInstruction(teamName, workerName2, task, taskId) { function notifyStartupInbox (line 25319) | async function notifyStartupInbox(sessionName2, paneId, message) { function notifyPaneWithRetry (line 25323) | async function notifyPaneWithRetry(sessionName2, paneId, message, maxAtt... function hasWorkerStatusProgress (line 25334) | function hasWorkerStatusProgress(status, taskId) { function hasWorkerTaskClaimEvidence (line 25338) | async function hasWorkerTaskClaimEvidence(teamName, workerName2, cwd2, t... function hasWorkerStartupEvidence (line 25347) | async function hasWorkerStartupEvidence(teamName, workerName2, taskId, c... function waitForWorkerStartupEvidence (line 25354) | async function waitForWorkerStartupEvidence(teamName, workerName2, taskI... function spawnV2Worker (line 25365) | async function spawnV2Worker(opts) { function startTeamV2 (line 25537) | async function startTeamV2(config2) { function writeWatchdogFailedMarker (line 25735) | async function writeWatchdogFailedMarker(teamName, cwd2, reason) { function requeueDeadWorkerTasks (line 25747) | async function requeueDeadWorkerTasks(teamName, deadWorkerNames, cwd2) { function monitorTeamV2 (line 25794) | async function monitorTeamV2(teamName, cwd2) { function shutdownTeamV2 (line 25932) | async function shutdownTeamV2(teamName, cwd2, options = {}) { function resumeTeamV2 (line 26086) | async function resumeTeamV2(teamName, cwd2) { function findActiveTeamsV2 (line 26108) | async function findActiveTeamsV2(cwd2) { method "src/team/runtime-v2.ts" (line 26125) | "src/team/runtime-v2.ts"() { function acquireTaskLock (line 26176) | function acquireTaskLock(teamName, taskId, opts) { function releaseTaskLock (line 26207) | function releaseTaskLock(handle) { function withTaskLock (line 26217) | async function withTaskLock(teamName, taskId, fn, opts) { function isLockStale2 (line 26226) | function isLockStale2(lockPath, staleLockMs) { function sanitizeTaskId (line 26242) | function sanitizeTaskId(taskId) { function canonicalTasksDir (line 26248) | function canonicalTasksDir(teamName, cwd2) { function failureSidecarPath (line 26254) | function failureSidecarPath(teamName, taskId, cwd2) { function writeTaskFailure (line 26257) | function writeTaskFailure(teamName, taskId, error2, opts) { function readTaskFailure (line 26269) | function readTaskFailure(teamName, taskId, opts) { method "src/team/task-file-ops.ts" (line 26281) | "src/team/task-file-ops.ts"() { function workerName (line 26308) | function workerName(index) { function stateRoot (line 26311) | function stateRoot(cwd2, teamName) { function writeJson (line 26315) | async function writeJson(filePath, data) { function readJsonSafe4 (line 26319) | async function readJsonSafe4(filePath) { function parseWorkerIndex (line 26345) | function parseWorkerIndex(workerNameValue) { function taskPath (line 26351) | function taskPath(root2, taskId) { function writePanesTrackingFileIfPresent (line 26354) | async function writePanesTrackingFileIfPresent(runtime) { function readTask (line 26372) | async function readTask(root2, taskId) { function writeTask (line 26375) | async function writeTask(root2, task) { function markTaskInProgress (line 26378) | async function markTaskInProgress(root2, taskId, owner, teamName, cwd2) { function resetTaskToPending (line 26390) | async function resetTaskToPending(root2, taskId, teamName, cwd2) { function markTaskFromDone (line 26400) | async function markTaskFromDone(root2, teamName, cwd2, taskId, status, s... function applyDeadPaneTransition (line 26415) | async function applyDeadPaneTransition(runtime, workerNameValue, taskId) { function nextPendingTaskIndex (line 26450) | async function nextPendingTaskIndex(runtime) { function notifyPaneWithRetry2 (line 26468) | async function notifyPaneWithRetry2(sessionName2, paneId, message, maxAt... function allTasksTerminal (line 26479) | async function allTasksTerminal(runtime) { function buildInitialTaskInstruction (line 26488) | function buildInitialTaskInstruction(teamName, workerName2, task, taskId) { function startTeam (line 26504) | async function startTeam(config2) { function monitorTeam (line 26572) | async function monitorTeam(teamName, cwd2, workerPaneIds) { function watchdogCliWorkers (line 26638) | function watchdogCliWorkers(runtime, intervalMs) { function spawnWorkerForTask (line 26749) | async function spawnWorkerForTask(runtime, workerNameValue, taskIndex) { function killWorkerPane (line 26854) | async function killWorkerPane(runtime, workerNameValue, paneId) { function assignTask (line 26872) | async function assignTask(teamName, taskId, targetWorkerName, paneId, se... function shutdownTeam (line 26917) | async function shutdownTeam(teamName, sessionName2, cwd2, timeoutMs = 3e... function resumeTeam (line 26955) | async function resumeTeam(teamName, cwd2) { method "src/team/runtime.ts" (line 27009) | "src/team/runtime.ts"() { function hasExplicitNotificationConfig (line 27036) | function hasExplicitNotificationConfig(profileName) { function getLegacyPlatformsCoveredByNotifications (line 27049) | function getLegacyPlatformsCoveredByNotifications(enabledPlatforms) { function getAgentCounts (line 27059) | function getAgentCounts(directory) { function getModesUsed (line 27074) | function getModesUsed(directory) { function getSessionStartTime2 (line 27088) | function getSessionStartTime2(directory, sessionId) { function recordSessionMetrics (line 27127) | function recordSessionMetrics(directory, input) { function cleanupTransientState (line 27151) | function cleanupTransientState(directory) { function extractPythonReplSessionIdsFromTranscript (line 27257) | async function extractPythonReplSessionIdsFromTranscript(transcriptPath) { function cleanupModeStates (line 27300) | function cleanupModeStates(directory, sessionId) { function cleanupMissionState (line 27351) | function cleanupMissionState(directory, sessionId) { function extractTeamNameFromState (line 27381) | function extractTeamNameFromState(state) { function findSessionOwnedTeams (line 27386) | async function findSessionOwnedTeams(directory, sessionId) { function cleanupSessionOwnedTeams (line 27415) | async function cleanupSessionOwnedTeams(directory, sessionId) { function exportSessionSummary (line 27459) | function exportSessionSummary(directory, metrics) { function processSessionEnd (line 27475) | async function processSessionEnd(input) { function handleSessionEnd (line 27539) | async function handleSessionEnd(input) { method "src/hooks/session-end/index.ts" (line 27544) | "src/hooks/session-end/index.ts"() { function getDb (line 27562) | function getDb(cwd2) { function getDbPath (line 27579) | function getDbPath(cwd2) { function ensureStateDir3 (line 27582) | function ensureStateDir3(cwd2) { function rowToJobStatus (line 27588) | function rowToJobStatus(row) { function initJobDb (line 27607) | async function initJobDb(cwd2) { function getActiveJobs (line 27687) | function getActiveJobs(provider, cwd2) { function getRecentJobs (line 27710) | function getRecentJobs(provider, withinMs = 60 * 60 * 1e3, cwd2) { function getJobStats (line 27734) | function getJobStats(cwd2) { method "src/lib/job-state-db.ts" (line 27760) | "src/lib/job-state-db.ts"() { function getCheckpointPath (line 27785) | function getCheckpointPath(directory) { function exportWisdomToNotepad (line 27792) | async function exportWisdomToNotepad(directory) { function saveModeSummary (line 27832) | async function saveModeSummary(directory) { function readTodoSummary (line 27883) | function readTodoSummary(directory) { function getActiveJobsSummary (line 27906) | async function getActiveJobsSummary(directory) { function createCompactCheckpoint (line 27938) | async function createCompactCheckpoint(directory, trigger) { function formatCompactSummary2 (line 27955) | function formatCompactSummary2(checkpoint) { function doProcessPreCompact (line 28036) | async function doProcessPreCompact(input) { function processPreCompact2 (line 28063) | async function processPreCompact2(input) { function isCompactionInProgress (line 28088) | function isCompactionInProgress(directory) { function getCompactionQueueDepth (line 28091) | function getCompactionQueueDepth(directory) { method "src/hooks/pre-compact/index.ts" (line 28096) | "src/hooks/pre-compact/index.ts"() { method "src/features/context-injector/injector.ts" (line 28112) | "src/features/context-injector/injector.ts"() { method "src/features/context-injector/index.ts" (line 28119) | "src/features/context-injector/index.ts"() { method "src/hooks/beads-context/constants.ts" (line 28129) | "src/hooks/beads-context/constants.ts"() { function getBeadsInstructions (line 28169) | function getBeadsInstructions(tool2) { function getBeadsContextConfig (line 28176) | function getBeadsContextConfig() { function registerBeadsContext (line 28184) | function registerBeadsContext(sessionId) { method "src/hooks/beads-context/index.ts" (line 28203) | "src/hooks/beads-context/index.ts"() { function ensureDirectoryStructure (line 28229) | function ensureDirectoryStructure(directory) { function validateConfigFiles (line 28243) | function validateConfigFiles(directory) { function setEnvironmentVariables (line 28257) | function setEnvironmentVariables() { function patchHooksJsonForWindows (line 28270) | function patchHooksJsonForWindows(pluginRoot) { function processSetupInit (line 28297) | async function processSetupInit(input) { function pruneOldStateFiles (line 28336) | function pruneOldStateFiles(directory, maxAgeDays = DEFAULT_STATE_MAX_AG... function cleanupOrphanedState (line 28378) | function cleanupOrphanedState(directory) { function processSetupMaintenance (line 28406) | async function processSetupMaintenance(input) { function processSetup (line 28436) | async function processSetup(input) { method "src/hooks/setup/index.ts" (line 28453) | "src/hooks/setup/index.ts"() { function readOmcConfig (line 28485) | function readOmcConfig() { function isCodeSimplifierEnabled (line 28498) | function isCodeSimplifierEnabled() { function getModifiedFiles (line 28502) | function getModifiedFiles(cwd2, extensions = DEFAULT_EXTENSIONS, maxFile... function isAlreadyTriggered (line 28515) | function isAlreadyTriggered(stateDir) { function writeTriggerMarker (line 28518) | function writeTriggerMarker(stateDir) { function clearTriggerMarker (line 28527) | function clearTriggerMarker(stateDir) { function buildSimplifierMessage (line 28536) | function buildSimplifierMessage(files) { function processCodeSimplifier (line 28545) | function processCodeSimplifier(cwd2, stateDir) { method "src/hooks/code-simplifier/index.ts" (line 28568) | "src/hooks/code-simplifier/index.ts"() { method "node_modules/safe-regex/lib/analyzer.js" (line 28582) | "node_modules/safe-regex/lib/analyzer.js"(exports2, module2) { method "node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-dotall-s-transform.js" (line 28646) | "node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-dotal... method "node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-named-capturing-groups-transform.js" (line 28698) | "node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-named... method "node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-x-flag-transform.js" (line 28742) | "node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-x-fla... method "node_modules/regexp-tree/dist/compat-transpiler/transforms/index.js" (line 28757) | "node_modules/regexp-tree/dist/compat-transpiler/transforms/index.js"(ex... method "node_modules/regexp-tree/dist/generator/index.js" (line 28772) | "node_modules/regexp-tree/dist/generator/index.js"(exports2, module2) { method "node_modules/regexp-tree/dist/parser/unicode/parser-unicode-properties.js" (line 28912) | "node_modules/regexp-tree/dist/parser/unicode/parser-unicode-properties.... method "node_modules/regexp-tree/dist/parser/generated/regexp-tree.js" (line 29259) | "node_modules/regexp-tree/dist/parser/generated/regexp-tree.js"(exports2... method "node_modules/regexp-tree/dist/parser/index.js" (line 30406) | "node_modules/regexp-tree/dist/parser/index.js"(exports2, module2) { method "node_modules/regexp-tree/dist/traverse/node-path.js" (line 30420) | "node_modules/regexp-tree/dist/traverse/node-path.js"(exports2, module2) { method "node_modules/regexp-tree/dist/traverse/index.js" (line 30753) | "node_modules/regexp-tree/dist/traverse/index.js"(exports2, module2) { method "node_modules/regexp-tree/dist/transform/index.js" (line 30988) | "node_modules/regexp-tree/dist/transform/index.js"(exports2, module2) { method "node_modules/regexp-tree/dist/compat-transpiler/index.js" (line 31122) | "node_modules/regexp-tree/dist/compat-transpiler/index.js"(exports2, mod... method "node_modules/regexp-tree/dist/utils/clone.js" (line 31158) | "node_modules/regexp-tree/dist/utils/clone.js"(exports2, module2) { method "node_modules/regexp-tree/dist/optimizer/transforms/char-surrogate-pair-to-single-unicode-transform.js" (line 31180) | "node_modules/regexp-tree/dist/optimizer/transforms/char-surrogate-pair-... method "node_modules/regexp-tree/dist/optimizer/transforms/char-code-to-simple-char-transform.js" (line 31200) | "node_modules/regexp-tree/dist/optimizer/transforms/char-code-to-simple-... method "node_modules/regexp-tree/dist/optimizer/transforms/char-case-insensitive-lowercase-transform.js" (line 31254) | "node_modules/regexp-tree/dist/optimizer/transforms/char-case-insensitiv... method "node_modules/regexp-tree/dist/optimizer/transforms/char-class-remove-duplicates-transform.js" (line 31331) | "node_modules/regexp-tree/dist/optimizer/transforms/char-class-remove-du... method "node_modules/regexp-tree/dist/transform/utils.js" (line 31353) | "node_modules/regexp-tree/dist/transform/utils.js"(exports2, module2) { method "node_modules/regexp-tree/dist/optimizer/transforms/quantifiers-merge-transform.js" (line 31414) | "node_modules/regexp-tree/dist/optimizer/transforms/quantifiers-merge-tr... method "node_modules/regexp-tree/dist/optimizer/transforms/quantifier-range-to-symbol-transform.js" (line 31482) | "node_modules/regexp-tree/dist/optimizer/transforms/quantifier-range-to-... method "node_modules/regexp-tree/dist/optimizer/transforms/char-class-classranges-to-chars-transform.js" (line 31523) | "node_modules/regexp-tree/dist/optimizer/transforms/char-class-classrang... method "node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-meta-transform.js" (line 31541) | "node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-meta-t... method "node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-single-char-transform.js" (line 31685) | "node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-single... method "node_modules/regexp-tree/dist/optimizer/transforms/char-escape-unescape-transform.js" (line 31744) | "node_modules/regexp-tree/dist/optimizer/transforms/char-escape-unescape... method "node_modules/regexp-tree/dist/optimizer/transforms/char-class-classranges-merge-transform.js" (line 31844) | "node_modules/regexp-tree/dist/optimizer/transforms/char-class-classrang... method "node_modules/regexp-tree/dist/optimizer/transforms/disjunction-remove-duplicates-transform.js" (line 32063) | "node_modules/regexp-tree/dist/optimizer/transforms/disjunction-remove-d... method "node_modules/regexp-tree/dist/optimizer/transforms/group-single-chars-to-char-class.js" (line 32089) | "node_modules/regexp-tree/dist/optimizer/transforms/group-single-chars-t... method "node_modules/regexp-tree/dist/optimizer/transforms/remove-empty-group-transform.js" (line 32151) | "node_modules/regexp-tree/dist/optimizer/transforms/remove-empty-group-t... method "node_modules/regexp-tree/dist/optimizer/transforms/ungroup-transform.js" (line 32172) | "node_modules/regexp-tree/dist/optimizer/transforms/ungroup-transform.js... method "node_modules/regexp-tree/dist/optimizer/transforms/combine-repeating-patterns-transform.js" (line 32235) | "node_modules/regexp-tree/dist/optimizer/transforms/combine-repeating-pa... method "node_modules/regexp-tree/dist/optimizer/transforms/index.js" (line 32387) | "node_modules/regexp-tree/dist/optimizer/transforms/index.js"(exports2, ... method "node_modules/regexp-tree/dist/optimizer/index.js" (line 32428) | "node_modules/regexp-tree/dist/optimizer/index.js"(exports2, module2) { method "node_modules/regexp-tree/dist/interpreter/finite-automaton/special-symbols.js" (line 32492) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/special-symb... method "node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa.js" (line 32505) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa.js"(... method "node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa-minimizer.js" (line 32742) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa-mini... method "node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa.js" (line 33082) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa.js"(... method "node_modules/regexp-tree/dist/interpreter/finite-automaton/state.js" (line 33399) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/state.js"(ex... method "node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-state.js" (line 33465) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-stat... method "node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/builders.js" (line 33664) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/builders... method "node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-from-regexp.js" (line 33794) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-from... method "node_modules/regexp-tree/dist/interpreter/finite-automaton/index.js" (line 33878) | "node_modules/regexp-tree/dist/interpreter/finite-automaton/index.js"(ex... method "node_modules/regexp-tree/dist/compat-transpiler/runtime/index.js" (line 33928) | "node_modules/regexp-tree/dist/compat-transpiler/runtime/index.js"(expor... method "node_modules/regexp-tree/dist/regexp-tree.js" (line 34018) | "node_modules/regexp-tree/dist/regexp-tree.js"(exports2, module2) { method "node_modules/regexp-tree/index.js" (line 34170) | "node_modules/regexp-tree/index.js"(exports2, module2) { method "node_modules/safe-regex/lib/heuristic-analyzer.js" (line 34178) | "node_modules/safe-regex/lib/heuristic-analyzer.js"(exports2, module2) { method "node_modules/safe-regex/lib/analyzer-family.js" (line 34237) | "node_modules/safe-regex/lib/analyzer-family.js"(exports2, module2) { method "node_modules/safe-regex/index.js" (line 34245) | "node_modules/safe-regex/index.js"(exports2, module2) { function isZaiHost (line 34302) | function isZaiHost(urlString) { function getCachePath (line 34311) | function getCachePath() { function readCache (line 34314) | function readCache() { function writeCache (line 34342) | function writeCache(opts) { function sanitizePollIntervalMs (line 34364) | function sanitizePollIntervalMs(value) { function getUsagePollIntervalMs (line 34370) | function getUsagePollIntervalMs() { function getRateLimitedBackoffMs (line 34377) | function getRateLimitedBackoffMs(pollIntervalMs, count) { function getTransientNetworkBackoffMs (line 34384) | function getTransientNetworkBackoffMs(pollIntervalMs) { function isCacheValid (line 34387) | function isCacheValid(cache, pollIntervalMs) { function hasUsableStaleData (line 34398) | function hasUsableStaleData(cache) { function getCachedUsageResult (line 34407) | function getCachedUsageResult(cache) { function createRateLimitedCacheEntry (line 34423) | function createRateLimitedCacheEntry(source, data, pollIntervalMs, previ... function getKeychainServiceName (line 34438) | function getKeychainServiceName() { function isCredentialExpired (line 34446) | function isCredentialExpired(creds) { function readKeychainCredential (line 34449) | function readKeychainCredential(serviceName, account) { function readKeychainCredentials (line 34471) | function readKeychainCredentials() { function readFileCredentials (line 34494) | function readFileCredentials() { function getCredentials (line 34513) | function getCredentials() { function validateCredentials (line 34518) | function validateCredentials(creds) { function refreshAccessToken (line 34522) | function refreshAccessToken(refreshToken) { function fetchUsageFromApi (line 34576) | function fetchUsageFromApi(accessToken) { function fetchUsageFromZai (line 34621) | function fetchUsageFromZai() { function writeBackCredentials (line 34686) | function writeBackCredentials(creds) { function clamp (line 34728) | function clamp(v) { function parseUsageResponse (line 34732) | function parseUsageResponse(response) { function parseZaiResponse (line 34765) | function parseZaiResponse(response) { function getUsage (line 34788) | async function getUsage() { method "src/hud/usage-api.ts" (line 34919) | "src/hud/usage-api.ts"() { function formatTokenCount (line 34945) | function formatTokenCount(tokens) { method "src/cli/utils/formatting.ts" (line 34952) | "src/cli/utils/formatting.ts"() { function activeTaskCount (line 34972) | function activeTaskCount(input) { function deriveTeamLeaderGuidance (line 34975) | function deriveTeamLeaderGuidance(input) { method "src/team/leader-nudge-guidance.ts" (line 35016) | "src/team/leader-nudge-guidance.ts"() { function getStdinCachePath (line 35022) | function getStdinCachePath() { function writeStdinCache (line 35026) | function writeStdinCache(stdin) { function readStdinCache (line 35037) | function readStdinCache() { function readStdin (line 35048) | async function readStdin() { function getCurrentUsage (line 35067) | function getCurrentUsage(stdin) { function getTotalTokens (line 35070) | function getTotalTokens(stdin) { function getRoundedNativeContextPercent (line 35074) | function getRoundedNativeContextPercent(stdin) { function getManualContextPercent (line 35081) | function getManualContextPercent(stdin) { function isSameContextStream (line 35089) | function isSameContextStream(current, previous) { function stabilizeContextPercent (line 35092) | function stabilizeContextPercent(stdin, previousStdin) { function getContextPercent (line 35115) | function getContextPercent(stdin) { function getModelName (line 35122) | function getModelName(stdin) { method "src/hud/stdin.ts" (line 35127) | "src/hud/stdin.ts"() { function parseTranscript (line 35137) | async function parseTranscript(transcriptPath, options) { function cloneDate (line 35250) | function cloneDate(value) { function clonePendingPermission (line 35253) | function clonePendingPermission(permission) { function cloneTranscriptData (line 35259) | function cloneTranscriptData(result) { function finalizeTranscriptResult (line 35281) | function finalizeTranscriptResult(result, options, pendingPermissions) { function readTailLines (line 35308) | function readTailLines(filePath, fileSize, maxBytes) { function extractBackgroundAgentId (line 35325) | function extractBackgroundAgentId(content) { function parseTaskOutputResult (line 35330) | function parseTaskOutputResult(content) { function extractTargetSummary (line 35339) | function extractTargetSummary(input, toolName) { function processEntry (line 35357) | function processEntry(entry, agentMap, latestTodos, result, maxAgentMapS... function extractLastRequestTokenUsage (line 35484) | function extractLastRequestTokenUsage(usage) { function getNumericUsageValue (line 35503) | function getNumericUsageValue(value) { method "src/hud/transcript.ts" (line 35508) | "src/hud/transcript.ts"() { function isStateFileStale (line 35533) | function isStateFileStale(filePath) { function resolveStatePath2 (line 35542) | function resolveStatePath2(directory, filename, sessionId) { function readRalphStateForHud (line 35596) | function readRalphStateForHud(directory, sessionId) { function readUltraworkStateForHud (line 35621) | function readUltraworkStateForHud(directory, sessionId) { function readPrdStateForHud (line 35640) | function readPrdStateForHud(directory) { function readAutopilotStateForHud (line 35667) | function readAutopilotStateForHud(directory, sessionId) { method "src/hud/omc-state.ts" (line 35696) | "src/hud/omc-state.ts"() { function getCachePath2 (line 35706) | function getCachePath2() { function readCache2 (line 35714) | function readCache2() { function writeCache2 (line 35723) | function writeCache2(buckets) { function isCacheValid2 (line 35733) | function isCacheValid2(cache) { function spawnWithTimeout (line 35736) | function spawnWithTimeout(cmd, timeoutMs) { function parseOutput (line 35772) | function parseOutput(raw, periods) { function executeCustomProvider (line 35798) | async function executeCustomProvider(config2) { method "src/hud/custom-rate-provider.ts" (line 35829) | "src/hud/custom-rate-provider.ts"() { function cyan (line 35841) | function cyan(text) { function dim (line 35844) | function dim(text) { function bold (line 35847) | function bold(text) { function getModelTierColor (line 35850) | function getModelTierColor(model) { function getDurationColor (line 35858) | function getDurationColor(durationMs) { method "src/hud/colors.ts" (line 35866) | "src/hud/colors.ts"() { function renderRalph (line 35880) | function renderRalph(state, thresholds) { method "src/hud/elements/ralph.ts" (line 35899) | "src/hud/elements/ralph.ts"() { function getAgentCode (line 35909) | function getAgentCode(agentType, model) { function formatDuration4 (line 35927) | function formatDuration4(durationMs) { function renderAgents (line 35940) | function renderAgents(agents) { function sortByFreshest (line 35947) | function sortByFreshest(agents) { function renderAgentsCoded (line 35950) | function renderAgentsCoded(agents) { function renderAgentsCodedWithDuration (line 35962) | function renderAgentsCodedWithDuration(agents) { function renderAgentsDetailed (line 35984) | function renderAgentsDetailed(agents) { function truncateDescription (line 36022) | function truncateDescription(desc, maxWidth = 20) { function getShortAgentName (line 36026) | function getShortAgentName(agentType) { function renderAgentsWithDescriptions (line 36065) | function renderAgentsWithDescriptions(agents) { function renderAgentsDescOnly (line 36088) | function renderAgentsDescOnly(agents) { function formatDurationPadded (line 36110) | function formatDurationPadded(durationMs) { function renderAgentsMultiLine (line 36123) | function renderAgentsMultiLine(agents, maxLines = 5) { function renderAgentsByFormat (line 36153) | function renderAgentsByFormat(agents, format) { method "src/hud/elements/agents.ts" (line 36175) | "src/hud/elements/agents.ts"() { function renderTodosWithCurrent (line 36287) | function renderTodosWithCurrent(todos) { method "src/hud/elements/todos.ts" (line 36313) | "src/hud/elements/todos.ts"() { function truncate (line 36325) | function truncate(str, maxWidth) { function getSkillDisplayName (line 36328) | function getSkillDisplayName(skillName) { function isActiveMode (line 36331) | function isActiveMode(skillName, ultrawork, ralph) { function renderSkills (line 36337) | function renderSkills(ultrawork, ralph, lastSkill) { function renderLastSkill (line 36353) | function renderLastSkill(lastSkill) { method "src/hud/elements/skills.ts" (line 36361) | "src/hud/elements/skills.ts"() { function clampContextPercent (line 36371) | function clampContextPercent(percent) { function getContextSeverity (line 36374) | function getContextSeverity(safePercent, thresholds) { function getContextDisplayStyle (line 36386) | function getContextDisplayStyle(safePercent, thresholds) { function getStableContextDisplayPercent (line 36399) | function getStableContextDisplayPercent(percent, thresholds, displayScop... function renderContext (line 36430) | function renderContext(percent, thresholds, displayScope) { function renderContextWithBar (line 36435) | function renderContextWithBar(percent, thresholds, barWidth = 10, displa... method "src/hud/elements/context.ts" (line 36445) | "src/hud/elements/context.ts"() { function renderBackground (line 36462) | function renderBackground(tasks) { method "src/hud/elements/background.ts" (line 36479) | "src/hud/elements/background.ts"() { function renderPrd (line 36491) | function renderPrd(state) { method "src/hud/elements/prd.ts" (line 36506) | "src/hud/elements/prd.ts"() { function getColor (line 36515) | function getColor(percent) { function formatResetTime (line 36523) | function formatResetTime(date3) { function renderRateLimits (line 36539) | function renderRateLimits(limits, stale) { function renderRateLimitsWithBar (line 36564) | function renderRateLimitsWithBar(limits, barWidth = 8, stale) { function renderRateLimitsError (line 36598) | function renderRateLimitsError(result) { function bucketUsagePercent (line 36607) | function bucketUsagePercent(usage) { function renderBucketUsageValue (line 36612) | function renderBucketUsageValue(usage) { function renderCustomBuckets (line 36617) | function renderCustomBuckets(result, thresholdPercent = 85) { method "src/hud/elements/limits.ts" (line 36642) | "src/hud/elements/limits.ts"() { function renderPermission (line 36655) | function renderPermission(pending) { method "src/hud/elements/permission.ts" (line 36661) | "src/hud/elements/permission.ts"() { function renderThinking (line 36670) | function renderThinking(state, format = "text") { method "src/hud/elements/thinking.ts" (line 36687) | "src/hud/elements/thinking.ts"() { function renderSession (line 36695) | function renderSession(session) { method "src/hud/elements/session.ts" (line 36702) | "src/hud/elements/session.ts"() { function renderTokenUsage (line 36712) | function renderTokenUsage(usage, sessionTotalTokens) { method "src/hud/elements/token-usage.ts" (line 36728) | "src/hud/elements/token-usage.ts"() { function renderPromptTime (line 36735) | function renderPromptTime(promptTime) { method "src/hud/elements/prompt-time.ts" (line 36743) | "src/hud/elements/prompt-time.ts"() { function renderAutopilot (line 36750) | function renderAutopilot(state, _thresholds) { method "src/hud/elements/autopilot.ts" (line 36789) | "src/hud/elements/autopilot.ts"() { function renderCwd (line 36819) | function renderCwd(cwd2, format = "relative") { method "src/hud/elements/cwd.ts" (line 36841) | "src/hud/elements/cwd.ts"() { function getGitRepoName (line 36850) | function getGitRepoName(cwd2) { function getGitBranch (line 36877) | function getGitBranch(cwd2) { function renderGitRepo (line 36899) | function renderGitRepo(cwd2) { function renderGitBranch (line 36904) | function renderGitBranch(cwd2) { method "src/hud/elements/git.ts" (line 36911) | "src/hud/elements/git.ts"() { function extractVersion (line 36923) | function extractVersion(modelId) { function formatModelName (line 36930) | function formatModelName(modelId, format = "short") { function renderModel (line 36949) | function renderModel(modelId, format = "short") { method "src/hud/elements/model.ts" (line 36955) | "src/hud/elements/model.ts"() { function settingsFileHasApiKey (line 36963) | function settingsFileHasApiKey(filePath) { function detectApiKeySource (line 36975) | function detectApiKeySource(cwd2) { function renderApiKeySource (line 36985) | function renderApiKeySource(source) { method "src/hud/elements/api-key-source.ts" (line 36991) | "src/hud/elements/api-key-source.ts"() { function renderCallCounts (line 37001) | function renderCallCounts(toolCalls, agentInvocations, skillUsages) { method "src/hud/elements/call-counts.ts" (line 37016) | "src/hud/elements/call-counts.ts"() { function renderContextLimitWarning (line 37027) | function renderContextLimitWarning(contextPercent, threshold, autoCompac... method "src/hud/elements/context-warning.ts" (line 37040) | "src/hud/elements/context-warning.ts"() { function renderSessionSummary (line 37050) | function renderSessionSummary(summaryState) { method "src/hud/elements/session-summary.ts" (line 37055) | "src/hud/elements/session-summary.ts"() { function truncateLineToMaxWidth (line 37062) | function truncateLineToMaxWidth(line, maxWidth) { function wrapLineToMaxWidth (line 37093) | function wrapLineToMaxWidth(line, maxWidth) { function applyMaxWidthByMode (line 37127) | function applyMaxWidthByMode(lines, maxWidth, wrapMode) { function limitOutputLines (line 37134) | function limitOutputLines(lines, maxLines) { function render (line 37145) | async function render(context, config2) { method "src/hud/render.ts" (line 37353) | "src/hud/render.ts"() { function stripAnsi2 (line 37387) | function stripAnsi2(text) { function replaceUnicodeBlocks (line 37390) | function replaceUnicodeBlocks(text) { function sanitizeOutput (line 37393) | function sanitizeOutput(output) { method "src/hud/sanitize.ts" (line 37403) | "src/hud/sanitize.ts"() { function extractSessionIdFromPath (line 37416) | function extractSessionIdFromPath(transcriptPath) { function readSessionSummary (line 37421) | function readSessionSummary(stateDir, sessionId) { function spawnSessionSummaryScript (line 37430) | function spawnSessionSummaryScript(transcriptPath, stateDir, sessionId) { function calculateSessionHealth (line 37465) | async function calculateSessionHealth(sessionStart, contextPercent) { function main2 (line 37473) | async function main2(watchMode = false, skipInit = false) { method "src/hud/index.ts" (line 37676) | "src/hud/index.ts"() { function assembleStyles (line 37788) | function assembleStyles() { function hasFlag (line 37909) | function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : i... function envForceColor (line 37922) | function envForceColor() { function translateLevel (line 37933) | function translateLevel(level) { function _supportsColor (line 37944) | function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } =... function createSupportsColor (line 38024) | function createSupportsColor(stream, options = {}) { function stringReplaceAll (line 38038) | function stringReplaceAll(string3, substring, replacer) { function stringEncaseCRLFWithFirstIndex (line 38054) | function stringEncaseCRLFWithFirstIndex(string3, prefix, postfix, index) { function createChalk (line 38092) | function createChalk(options) { method get (line 38098) | get() { method get (line 38106) | get() { method get (line 38130) | get() { method get (line 38140) | get() { method get (line 38154) | get() { method set (line 38157) | set(level) { function createExaServer (line 38223) | function createExaServer(apiKey) { function createContext7Server (line 38230) | function createContext7Server() { function createPlaywrightServer (line 38236) | function createPlaywrightServer() { function createMemoryServer (line 38242) | function createMemoryServer() { function getDefaultMcpServers (line 38248) | function getDefaultMcpServers(options) { function toSdkMcpFormat (line 38264) | function toSdkMcpFormat(servers) { class _CodeOrName (line 38323) | class _CodeOrName { class Name (line 38327) | class Name extends _CodeOrName { method constructor (line 38328) | constructor(s) { method toString (line 38334) | toString() { method emptyStr (line 38337) | emptyStr() { method names (line 38340) | get names() { class _Code (line 38345) | class _Code extends _CodeOrName { method constructor (line 38346) | constructor(code) { method toString (line 38350) | toString() { method emptyStr (line 38353) | emptyStr() { method str (line 38359) | get str() { method names (line 38363) | get names() { function _ (line 38374) | function _(strs, ...args) { function str (line 38385) | function str(strs, ...args) { function addCodeArg (line 38397) | function addCodeArg(code, arg) { function optimize (line 38406) | function optimize(expr) { function mergeExprItems (line 38420) | function mergeExprItems(a, b) { function strConcat (line 38438) | function strConcat(c1, c2) { function interpolate (line 38442) | function interpolate(x) { function stringify (line 38445) | function stringify(x) { function safeStringify (line 38449) | function safeStringify(x) { function getProperty (line 38453) | function getProperty(key) { function getEsmExportName (line 38457) | function getEsmExportName(key) { function regexpCode (line 38464) | function regexpCode(rx) { class ValueError (line 38473) | class ValueError extends Error { method constructor (line 38474) | constructor(name) { class Scope (line 38489) | class Scope { method constructor (line 38490) | constructor({ prefixes, parent } = {}) { method toName (line 38495) | toName(nameOrPrefix) { method name (line 38498) | name(prefix) { method _newName (line 38501) | _newName(prefix) { method _nameGroup (line 38505) | _nameGroup(prefix) { class ValueScopeName (line 38514) | class ValueScopeName extends code_1.Name { method constructor (line 38515) | constructor(prefix, nameStr) { method setValue (line 38519) | setValue(value, { property, itemIndex }) { class ValueScope (line 38526) | class ValueScope extends Scope { method constructor (line 38527) | constructor(opts) { method get (line 38533) | get() { method name (line 38536) | name(prefix) { method value (line 38539) | value(nameOrPrefix, value) { method getValue (line 38561) | getValue(prefix, keyOrRef) { method scopeRefs (line 38567) | scopeRefs(scopeName, values = this._values) { method scopeCode (line 38574) | scopeCode(values = this._values, usedValues, getCode) { method _reduceValues (line 38581) | _reduceValues(values, valueCode, usedValues = {}, getCode) { class Node (line 38664) | class Node { method optimizeNodes (line 38665) | optimizeNodes() { method optimizeNames (line 38668) | optimizeNames(_names, _constants) { class Def (line 38672) | class Def extends Node { method constructor (line 38673) | constructor(varKind, name, rhs) { method render (line 38679) | render({ es5, _n }) { method optimizeNames (line 38684) | optimizeNames(names, constants4) { method names (line 38691) | get names() { class Assign (line 38695) | class Assign extends Node { method constructor (line 38696) | constructor(lhs, rhs, sideEffects) { method render (line 38702) | render({ _n }) { method optimizeNames (line 38705) | optimizeNames(names, constants4) { method names (line 38711) | get names() { class AssignOp (line 38716) | class AssignOp extends Assign { method constructor (line 38717) | constructor(lhs, op, rhs, sideEffects) { method render (line 38721) | render({ _n }) { class Label (line 38725) | class Label extends Node { method constructor (line 38726) | constructor(label) { method render (line 38731) | render({ _n }) { class Break (line 38735) | class Break extends Node { method constructor (line 38736) | constructor(label) { method render (line 38741) | render({ _n }) { class Throw (line 38746) | class Throw extends Node { method constructor (line 38747) | constructor(error2) { method render (line 38751) | render({ _n }) { method names (line 38754) | get names() { class AnyCode (line 38758) | class AnyCode extends Node { method constructor (line 38759) | constructor(code) { method render (line 38763) | render({ _n }) { method optimizeNodes (line 38766) | optimizeNodes() { method optimizeNames (line 38769) | optimizeNames(names, constants4) { method names (line 38773) | get names() { class ParentNode (line 38777) | class ParentNode extends Node { method constructor (line 38778) | constructor(nodes = []) { method render (line 38782) | render(opts) { method optimizeNodes (line 38785) | optimizeNodes() { method optimizeNames (line 38799) | optimizeNames(names, constants4) { method names (line 38811) | get names() { class BlockNode (line 38815) | class BlockNode extends ParentNode { method render (line 38816) | render(opts) { class Root (line 38820) | class Root extends ParentNode { class Else (line 38822) | class Else extends BlockNode { class If (line 38825) | class If extends BlockNode { method constructor (line 38826) | constructor(condition, nodes) { method render (line 38830) | render(opts) { method optimizeNodes (line 38836) | optimizeNodes() { method optimizeNames (line 38857) | optimizeNames(names, constants4) { method names (line 38865) | get names() { class For (line 38874) | class For extends BlockNode { class ForLoop (line 38877) | class ForLoop extends For { method constructor (line 38878) | constructor(iteration) { method render (line 38882) | render(opts) { method optimizeNames (line 38885) | optimizeNames(names, constants4) { method names (line 38891) | get names() { class ForRange (line 38895) | class ForRange extends For { method constructor (line 38896) | constructor(varKind, name, from, to) { method render (line 38903) | render(opts) { method names (line 38908) | get names() { class ForIter (line 38913) | class ForIter extends For { method constructor (line 38914) | constructor(loop, varKind, name, iterable) { method render (line 38921) | render(opts) { method optimizeNames (line 38924) | optimizeNames(names, constants4) { method names (line 38930) | get names() { class Func (line 38934) | class Func extends BlockNode { method constructor (line 38935) | constructor(name, args, async) { method render (line 38941) | render(opts) { class Return (line 38947) | class Return extends ParentNode { method render (line 38948) | render(opts) { class Try (line 38953) | class Try extends BlockNode { method render (line 38954) | render(opts) { method optimizeNodes (line 38962) | optimizeNodes() { method optimizeNames (line 38969) | optimizeNames(names, constants4) { method names (line 38976) | get names() { class Catch (line 38985) | class Catch extends BlockNode { method constructor (line 38986) | constructor(error2) { method render (line 38990) | render(opts) { class Finally (line 38995) | class Finally extends BlockNode { method render (line 38996) | render(opts) { class CodeGen (line 39001) | class CodeGen { method constructor (line 39002) | constructor(extScope, opts = {}) { method toString (line 39012) | toString() { method name (line 39015) | name(prefix) { method scopeName (line 39018) | scopeName(prefix) { method scopeValue (line 39021) | scopeValue(prefixOrName, value) { method getScopeValue (line 39027) | getScopeValue(prefix, keyOrRef) { method scopeRefs (line 39030) | scopeRefs(scopeName) { method scopeCode (line 39033) | scopeCode() { method _def (line 39036) | _def(varKind, nameOrPrefix, rhs, constant) { method const (line 39043) | const(nameOrPrefix, rhs, _constant) { method let (line 39046) | let(nameOrPrefix, rhs, _constant) { method var (line 39049) | var(nameOrPrefix, rhs, _constant) { method assign (line 39052) | assign(lhs, rhs, sideEffects) { method add (line 39055) | add(lhs, rhs) { method code (line 39058) | code(c) { method object (line 39065) | object(...keyValues) { method if (line 39079) | if(condition, thenBody, elseBody) { method elseIf (line 39090) | elseIf(condition) { method else (line 39093) | else() { method endIf (line 39096) | endIf() { method _for (line 39099) | _for(node, forBody) { method for (line 39105) | for(iteration, forBody) { method forRange (line 39108) | forRange(nameOrPrefix, from, to, forBody, varKind = this.opts.es5 ? sc... method forOf (line 39112) | forOf(nameOrPrefix, iterable, forBody, varKind = scope_1.varKinds.cons... method forIn (line 39123) | forIn(nameOrPrefix, obj, forBody, varKind = this.opts.es5 ? scope_1.va... method endFor (line 39130) | endFor() { method label (line 39133) | label(label) { method break (line 39136) | break(label) { method return (line 39139) | return(value) { method try (line 39147) | try(tryBody, catchCode, finallyCode) { method throw (line 39164) | throw(error2) { method block (line 39167) | block(body, nodeCount) { method endBlock (line 39173) | endBlock(nodeCount) { method func (line 39184) | func(name, args = code_1.nil, async, funcBody) { method endFunc (line 39190) | endFunc() { method optimize (line 39193) | optimize(n = 1) { method _leafNode (line 39199) | _leafNode(node) { method _blockNode (line 39203) | _blockNode(node) { method _endBlockNode (line 39207) | _endBlockNode(N1, N2) { method _elseNode (line 39215) | _elseNode(node) { method _root (line 39223) | get _root() { method _currNode (line 39226) | get _currNode() { method _currNode (line 39230) | set _currNode(node) { function addNames (line 39236) | function addNames(names, from) { function addExprNames (line 39241) | function addExprNames(names, from) { function optimizeExpr (line 39244) | function optimizeExpr(expr, names, constants4) { function subtractNames (line 39269) | function subtractNames(names, from) { function not (line 39273) | function not(x) { function and (line 39278) | function and(...args) { function or (line 39283) | function or(...args) { function mappend (line 39287) | function mappend(op) { function par (line 39290) | function par(x) { function toHash (line 39299) | function toHash(arr) { function alwaysValidSchema (line 39306) | function alwaysValidSchema(it, schema) { function checkUnknownRules (line 39315) | function checkUnknownRules(it, schema = it.schema) { function schemaHasRules (line 39328) | function schemaHasRules(schema, rules) { function schemaHasRulesButRef (line 39337) | function schemaHasRulesButRef(schema, RULES) { function schemaRefOrVal (line 39346) | function schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $... function unescapeFragment (line 39356) | function unescapeFragment(str) { function escapeFragment (line 39360) | function escapeFragment(str) { function escapeJsonPointer (line 39364) | function escapeJsonPointer(str) { function unescapeJsonPointer (line 39370) | function unescapeJsonPointer(str) { function eachItem (line 39374) | function eachItem(xs, f) { function makeMergeEvaluated (line 39383) | function makeMergeEvaluated({ mergeNames, mergeToName, mergeValues: merg... function evaluatedPropsToName (line 39412) | function evaluatedPropsToName(gen, ps) { function setEvaluated (line 39421) | function setEvaluated(gen, props, ps) { function useFunc (line 39426) | function useFunc(gen, f) { function getErrorPath (line 39438) | function getErrorPath(dataProp, dataPropType, jsPropertySyntax) { function checkStrictMode (line 39446) | function checkStrictMode(it, msg, mode = it.opts.strictSchema) { function reportError (line 39491) | function reportError(cxt, error2 = exports2.keywordError, errorPaths, ov... function reportExtraError (line 39502) | function reportExtraError(cxt, error2 = exports2.keywordError, errorPath... function resetErrorsCount (line 39512) | function resetErrorsCount(gen, errsCount) { function extendErrors (line 39517) | function extendErrors({ gen, keyword, schemaValue, data, errsCount, it }) { function addError (line 39532) | function addError(gen, errObj) { function returnErrors (line 39537) | function returnErrors(it, errs) { function errorObjectCode (line 39555) | function errorObjectCode(cxt, error2, errorPaths) { function errorObject (line 39561) | function errorObject(cxt, error2, errorPaths = {}) { function errorInstancePath (line 39570) | function errorInstancePath({ errorPath }, { instancePath }) { function errorSchemaPath (line 39574) | function errorSchemaPath({ keyword, it: { errSchemaPath } }, { schemaPat... function extraErrorProps (line 39581) | function extraErrorProps(cxt, { params, message }, keyValues) { function topBoolOrEmptySchema (line 39604) | function topBoolOrEmptySchema(it) { function boolOrEmptySchema (line 39616) | function boolOrEmptySchema(it, valid) { function falseSchemaError (line 39626) | function falseSchemaError(it, overrideAllErrors) { function isJSONType (line 39646) | function isJSONType(x) { function getRules (line 39650) | function getRules() { function schemaHasRulesForType (line 39670) | function schemaHasRulesForType({ schema, self: self2 }, type) { function shouldUseGroup (line 39675) | function shouldUseGroup(schema, group) { function shouldUseRule (line 39679) | function shouldUseRule(schema, rule) { function getSchemaTypes (line 39698) | function getSchemaTypes(schema) { function getJSONTypes (line 39714) | function getJSONTypes(ts) { function coerceAndCheckDataType (line 39721) | function coerceAndCheckDataType(it, types) { function coerceToTypes (line 39738) | function coerceToTypes(types, coerceTypes) { function coerceData (line 39741) | function coerceData(it, types, coerceTo) { function assignParentData (line 39787) | function assignParentData({ gen, parentData, parentDataProperty }, expr) { function checkDataType (line 39790) | function checkDataType(dataType, data, strictNums, correct = DataType.Co... function checkDataTypes (line 39817) | function checkDataTypes(dataTypes, data, strictNums, correct) { function reportTypeError (line 39843) | function reportTypeError(it) { function getTypeErrorContext (line 39848) | function getTypeErrorContext(it) { function assignDefaults (line 39869) | function assignDefaults(it, ty) { function assignDefault (line 39880) | function assignDefault(it, prop, defaultValue) { function checkReportMissingProp (line 39903) | function checkReportMissingProp(cxt, prop) { function checkMissingProp (line 39911) | function checkMissingProp({ gen, data, it: { opts } }, properties, missi... function reportMissingProp (line 39915) | function reportMissingProp(cxt, missing) { function hasPropFunc (line 39920) | function hasPropFunc(gen) { function isOwnProperty (line 39927) | function isOwnProperty(gen, data, property) { function propertyInData (line 39931) | function propertyInData(gen, data, property, ownProperties) { function noPropertyInData (line 39936) | function noPropertyInData(gen, data, property, ownProperties) { function allSchemaProperties (line 39941) | function allSchemaProperties(schemaMap) { function schemaProperties (line 39945) | function schemaProperties(it, schemaMap) { function callValidateCode (line 39949) | function callValidateCode({ schemaCode, data, it: { gen, topSchemaRef, s... function usePattern (line 39964) | function usePattern({ gen, it: { opts } }, pattern) { function validateArray (line 39975) | function validateArray(cxt) { function validateUnion (line 39999) | function validateUnion(cxt) { function macroKeywordCode (line 40030) | function macroKeywordCode(cxt, def) { function funcKeywordCode (line 40047) | function funcKeywordCode(cxt, def) { function modifyData (line 40091) | function modifyData(cxt) { function addErrs (line 40095) | function addErrs(cxt, errs) { function checkAsyncKeyword (line 40102) | function checkAsyncKeyword({ schemaEnv }, def) { function useKeyword (line 40106) | function useKeyword(gen, keyword, result) { function validSchemaType (line 40111) | function validSchemaType(schema, schemaType, allowUndefined = false) { function validateKeywordUsage (line 40115) | function validateKeywordUsage({ schema, opts, self: self2, errSchemaPath... function getSubschema (line 40141) | function getSubschema(it, { keyword, schemaProp, schema, schemaPath, err... function extendSubschemaData (line 40171) | function extendSubschemaData(subschema, it, { dataProp, dataPropType: dp... function extendSubschemaMode (line 40202) | function extendSubschemaMode(subschema, { jtdDiscriminator, jtdMetadata,... function _traverse (line 40311) | function _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJ... function escapeJsonPtr (line 40333) | function escapeJsonPtr(str) { function inlineRef (line 40361) | function inlineRef(schema, limit = true) { function hasRef (line 40378) | function hasRef(schema) { function countKeys (line 40390) | function countKeys(schema) { function getFullPath (line 40406) | function getFullPath(resolver, id = "", normalize10) { function _getFullPath (line 40413) | function _getFullPath(resolver, p) { function normalizeId (line 40419) | function normalizeId(id) { function resolveUrl (line 40423) | function resolveUrl(resolver, baseId, id) { function getSchemaRefs (line 40429) | function getSchemaRefs(schema, baseId) { function validateFunctionCode (line 40503) | function validateFunctionCode(it) { function validateFunction (line 40514) | function validateFunction({ gen, validateName, schema, schemaEnv, opts }... function destructureValCxt (line 40525) | function destructureValCxt(opts) { function destructureValCxtES5 (line 40528) | function destructureValCxtES5(gen, opts) { function topSchemaObjCode (line 40545) | function topSchemaObjCode(it) { function resetEvaluated (line 40560) | function resetEvaluated(it) { function funcSourceUrl (line 40566) | function funcSourceUrl(schema, opts) { function subschemaCode (line 40570) | function subschemaCode(it, valid) { function schemaCxtHasRules (line 40580) | function schemaCxtHasRules({ schema, self: self2 }) { function isSchemaObj (line 40588) | function isSchemaObj(it) { function subSchemaObjCode (line 40591) | function subSchemaObjCode(it, valid) { function checkKeywords (line 40601) | function checkKeywords(it) { function typeAndKeywords (line 40605) | function typeAndKeywords(it, errsCount) { function checkRefsAndKeywords (line 40612) | function checkRefsAndKeywords(it) { function checkNoDefault (line 40618) | function checkNoDefault(it) { function updateContext (line 40624) | function updateContext(it) { function checkAsyncSchema (line 40629) | function checkAsyncSchema(it) { function commentKeyword (line 40633) | function commentKeyword({ gen, schemaEnv, schema, errSchemaPath, opts }) { function returnResults (line 40643) | function returnResults(it) { function assignEvaluated (line 40654) | function assignEvaluated({ gen, evaluated, props, items }) { function schemaKeywords (line 40660) | function schemaKeywords(it, types, typeErrors, errsCount) { function iterateKeywords (line 40692) | function iterateKeywords(it, group) { function checkStrictTypes (line 40704) | function checkStrictTypes(it, types) { function checkContextTypes (line 40712) | function checkContextTypes(it, types) { function checkMultipleTypes (line 40726) | function checkMultipleTypes(it, ts) { function checkKeywordTypes (line 40731) | function checkKeywordTypes(it, ts) { function hasApplicableType (line 40743) | function hasApplicableType(schTs, kwdT) { function includesType (line 40746) | function includesType(ts, t) { function narrowSchemaTypes (line 40749) | function narrowSchemaTypes(it, withTypes) { function strictTypesError (line 40759) | function strictTypesError(it, msg) { class KeywordCxt (line 40764) | class KeywordCxt { method constructor (line 40765) | constructor(it, def, keyword) { method result (line 40791) | result(condition, successAction, failAction) { method failResult (line 40794) | failResult(condition, successAction, failAction) { method pass (line 40812) | pass(condition, failAction) { method fail (line 40815) | fail(condition) { method fail$data (line 40829) | fail$data(condition) { method error (line 40835) | error(append, errorParams, errorPaths) { method _error (line 40844) | _error(append, errorPaths) { method $dataError (line 40847) | $dataError() { method reset (line 40850) | reset() { method ok (line 40855) | ok(cond) { method setParams (line 40859) | setParams(obj, assign) { method block$data (line 40865) | block$data(valid, codeBlock, $dataValid = codegen_1.nil) { method check$data (line 40871) | check$data(valid = codegen_1.nil, $dataValid = codegen_1.nil) { method invalid$data (line 40886) | invalid$data() { method subschema (line 40906) | subschema(appl, valid) { method mergeEvaluated (line 40914) | mergeEvaluated(schemaCxt, toName) { method mergeValidEvaluated (line 40925) | mergeValidEvaluated(schemaCxt, valid) { function keywordCode (line 40934) | function keywordCode(it, keyword, def, ruleType) { function getData (line 40948) | function getData($data, { dataLevel, dataNames, dataPathArr }) { class ValidationError (line 40992) | class ValidationError extends Error { method constructor (line 40993) | constructor(errors3) { class MissingRefError (line 41004) | class MissingRefError extends Error { method constructor (line 41005) | constructor(resolver, baseId, ref, msg) { class SchemaEnv (line 41022) | class SchemaEnv { method constructor (line 41023) | constructor(env2) { function compileSchema (line 41042) | function compileSchema(sch) { function resolveRef (line 41127) | function resolveRef(root2, baseId, ref) { function inlineOrCompile (line 41145) | function inlineOrCompile(sch) { function getCompilingSchema (line 41150) | function getCompilingSchema(schEnv) { function sameSchemaEnv (line 41157) | function sameSchemaEnv(s1, s2) { function resolve17 (line 41160) | function resolve17(root2, ref) { function resolveSchema (line 41166) | function resolveSchema(root2, ref) { function getJsonPointer (line 41203) | function getJsonPointer(parsedRef, { baseId, schema, root: root2 }) { function normalizeIPv4 (line 41278) | function normalizeIPv4(host) { function stringArrayToHexStripped (line 41290) | function stringArrayToHexStripped(input, keepZero = false) { function getIPV6 (line 41305) | function getIPV6(input) { function normalizeIPv6 (line 41372) | function normalizeIPv6(host) { function stripLeadingZeros (line 41389) | function stripLeadingZeros(str, token) { function findToken (line 41411) | function findToken(str, token) { function removeDotSegments (line 41423) | function removeDotSegments(input) { function normalizeComponentEncoding (line 41448) | function normalizeComponentEncoding(components, esc2) { function recomposeAuthority (line 41470) | function recomposeAuthority(components) { function isSecure (line 41509) | function isSecure(wsComponents) { function httpParse (line 41512) | function httpParse(components) { function httpSerialize (line 41518) | function httpSerialize(components) { function wsParse (line 41528) | function wsParse(wsComponents) { function wsSerialize (line 41535) | function wsSerialize(wsComponents) { function urnParse (line 41552) | function urnParse(urnComponents, options) { function urnSerialize (line 41573) | function urnSerialize(urnComponents, options) { function urnuuidParse (line 41587) | function urnuuidParse(urnComponents, options) { function urnuuidSerialize (line 41596) | function urnuuidSerialize(uuidComponents) { function normalize10 (line 41650) | function normalize10(uri, options) { function resolve17 (line 41658) | function resolve17(baseURI, relativeURI, options) { function resolveComponents (line 41663) | function resolveComponents(base, relative15, options, skipNormalization) { function equal (line 41716) | function equal(uriA, uriB, options) { function serialize (line 41731) | function serialize(cmpts, opts) { function nonSimpleDomain (line 41795) | function nonSimpleDomain(value) { function parse6 (line 41806) | function parse6(uri, opts) { function requiredOptions (line 41984) | function requiredOptions(o) { class Ajv (line 42012) | class Ajv { method constructor (line 42013) | constructor(opts = {}) { method _addVocabularies (line 42041) | _addVocabularies() { method _addDefaultMetaSchema (line 42044) | _addDefaultMetaSchema() { method defaultMeta (line 42055) | defaultMeta() { method validate (line 42059) | validate(schemaKeyRef, data) { method compile (line 42073) | compile(schema, _meta) { method compileAsync (line 42077) | compileAsync(schema, meta) { method addSchema (line 42127) | addSchema(schema, key, _meta, _validateSchema = this.opts.validateSche... method addMetaSchema (line 42146) | addMetaSchema(schema, key, _validateSchema = this.opts.validateSchema) { method validateSchema (line 42150) | validateSchema(schema, throwOrLogError) { method getSchema (line 42174) | getSchema(keyRef) { method removeSchema (line 42188) | removeSchema(schemaKeyRef) { method addVocabulary (line 42223) | addVocabulary(definitions) { method addKeyword (line 42228) | addKeyword(kwdOrDef, def) { method getKeyword (line 42259) | getKeyword(keyword) { method removeKeyword (line 42263) | removeKeyword(keyword) { method addFormat (line 42274) | addFormat(name, format) { method errorsText (line 42280) | errorsText(errors3 = this.errors, { separator = ", ", dataVar = "data"... method $dataMetaSchema (line 42285) | $dataMetaSchema(metaSchema, keywordsJsonPointers) { method _removeAllSchemas (line 42305) | _removeAllSchemas(schemas4, regex) { method _addSchema (line 42318) | _addSchema(schema, meta, baseId, validateSchema = this.opts.validateSc... method _checkUnique (line 42345) | _checkUnique(id) { method _compileSchemaEnv (line 42350) | _compileSchemaEnv(sch) { method _compileMetaSchema (line 42359) | _compileMetaSchema(sch) { method _addVocabularies (line 44257) | _addVocabularies() { method _addDefaultMetaSchema (line 44263) | _addDefaultMetaSchema() { method defaultMeta (line 44271) | defaultMeta() { function checkOptions (line 42372) | function checkOptions(checkOpts, options, msg, log3 = "error") { function getSchEnv (line 42379) | function getSchEnv(keyRef) { function addInitialSchemas (line 42383) | function addInitialSchemas() { function addInitialFormats (line 42393) | function addInitialFormats() { function addInitialKeywords (line 42400) | function addInitialKeywords(defs) { function getMetaSchemaOptions (line 42413) | function getMetaSchemaOptions() { method log (line 42419) | log() { method warn (line 42420) | warn() { method error (line 42421) | error() { function getLogger (line 42423) | function getLogger(logger) { function checkKeyword (line 42433) | function checkKeyword(keyword, def) { function addRule (line 42447) | function addRule(keyword, definition, dataType) { function addBeforeRule (line 42476) | function addBeforeRule(ruleGroup, rule, before) { function keywordMetaschema (line 42485) | function keywordMetaschema(def) { function schemaOrData (line 42496) | function schemaOrData(schema) { method code (line 42504) | code() { method code (line 42522) | code(cxt) { function getValidate (line 42559) | function getValidate(cxt, sch) { function callRef (line 42564) | function callRef(cxt, v, sch, $async) { method code (line 42663) | code(cxt) { method code (line 42683) | code(cxt) { function ucs2length (line 42695) | function ucs2length(str) { method message (line 42720) | message({ keyword, schemaCode }) { method code (line 42732) | code(cxt) { method code (line 42755) | code(cxt) { method message (line 42768) | message({ keyword, schemaCode }) { method code (line 42780) | code(cxt) { method code (line 42803) | code(cxt) { method message (line 42869) | message({ keyword, schemaCode }) { method code (line 42881) | code(cxt) { method code (line 42911) | code(cxt) { method code (line 42970) | code(cxt) { method code (line 42995) | code(cxt) { method code (line 43068) | code(cxt) { function validateAdditionalItems (line 43078) | function validateAdditionalItems(cxt, items) { method code (line 43112) | code(cxt) { function validateTuple (line 43122) | function validateTuple(cxt, extraItems, schArr = cxt.schema) { method code (line 43181) | code(cxt) { method code (line 43210) | code(cxt) { method code (line 43305) | code(cxt) { function splitDependencies (line 43311) | function splitDependencies({ schema }) { function validatePropertyDeps (line 43322) | function validatePropertyDeps(cxt, propertyDeps = cxt.schema) { function validateSchemaDeps (line 43351) | function validateSchemaDeps(cxt, schemaDeps = cxt.schema) { method code (line 43380) | code(cxt) { method code (line 43422) | code(cxt) { method code (line 43516) | code(cxt) { method code (line 43569) | code(cxt) { method code (line 43635) | code(cxt) { method code (line 43679) | code(cxt) { method code (line 43725) | code(cxt) { method code (line 43754) | code(cxt) { function hasSchema (line 43799) | function hasSchema(it, keyword) { method code (line 43811) | code({ keyword, parentSchema, it }) { function getApplicator (line 43836) | function getApplicator(draft2020 = false) { method code (line 43872) | code(cxt, ruleType) { method code (line 44010) | code(cxt) { class Ajv (line 44256) | class Ajv extends core_1.default { method constructor (line 42013) | constructor(opts = {}) { method _addVocabularies (line 42041) | _addVocabularies() { method _addDefaultMetaSchema (line 42044) | _addDefaultMetaSchema() { method defaultMeta (line 42055) | defaultMeta() { method validate (line 42059) | validate(schemaKeyRef, data) { method compile (line 42073) | compile(schema, _meta) { method compileAsync (line 42077) | compileAsync(schema, meta) { method addSchema (line 42127) | addSchema(schema, key, _meta, _validateSchema = this.opts.validateSche... method addMetaSchema (line 42146) | addMetaSchema(schema, key, _validateSchema = this.opts.validateSchema) { method validateSchema (line 42150) | validateSchema(schema, throwOrLogError) { method getSchema (line 42174) | getSchema(keyRef) { method removeSchema (line 42188) | removeSchema(schemaKeyRef) { method addVocabulary (line 42223) | addVocabulary(definitions) { method addKeyword (line 42228) | addKeyword(kwdOrDef, def) { method getKeyword (line 42259) | getKeyword(keyword) { method removeKeyword (line 42263) | removeKeyword(keyword) { method addFormat (line 42274) | addFormat(name, format) { method errorsText (line 42280) | errorsText(errors3 = this.errors, { separator = ", ", dataVar = "data"... method $dataMetaSchema (line 42285) | $dataMetaSchema(metaSchema, keywordsJsonPointers) { method _removeAllSchemas (line 42305) | _removeAllSchemas(schemas4, regex) { method _addSchema (line 42318) | _addSchema(schema, meta, baseId, validateSchema = this.opts.validateSc... method _checkUnique (line 42345) | _checkUnique(id) { method _compileSchemaEnv (line 42350) | _compileSchemaEnv(sch) { method _compileMetaSchema (line 42359) | _compileMetaSchema(sch) { method _addVocabularies (line 44257) | _addVocabularies() { method _addDefaultMetaSchema (line 44263) | _addDefaultMetaSchema() { method defaultMeta (line 44271) | defaultMeta() { function fmtDef (line 44315) | function fmtDef(validate, compare) { function isLeapYear (line 44358) | function isLeapYear(year) { function date4 (line 44363) | function date4(str) { function compareDate (line 44372) | function compareDate(d1, d2) { function getTime (line 44382) | function getTime(strictTimeZone) { function compareTime (line 44403) | function compareTime(s1, s2) { function compareIsoTime (line 44412) | function compareIsoTime(t1, t2) { function getDateTime (line 44428) | function getDateTime(strictTimeZone) { function compareDateTime (line 44435) | function compareDateTime(dt1, dt2) { function compareIsoDateTime (line 44444) | function compareIsoDateTime(dt1, dt2) { function uri (line 44456) | function uri(str) { function byte (line 44460) | function byte(str) { function validateInt32 (line 44466) | function validateInt32(value) { function validateInt64 (line 44469) | function validateInt64(value) { function validateNumber (line 44472) | function validateNumber() { function regex (line 44476) | function regex(str) { method code (line 44509) | code(cxt) { function addFormats (line 44580) | function addFormats(ajv, list, fs22, exportName) { function getRawTag (line 44602) | function getRawTag(value) { function objectToString (line 44622) | function objectToString(value) { function baseGetTag (line 44629) | function baseGetTag(value) { function isObject (line 44636) | function isObject(value) { function isFunction (line 44645) | function isFunction(value) { function isMasked (line 44659) | function isMasked(func) { function toSource (line 44665) | function toSource(func) { function baseIsNative (line 44686) | function baseIsNative(value) { function getValue (line 44694) | function getValue(object3, key) { function getNative (line 44698) | function getNative(object3, key) { function hashClear (line 44705) | function hashClear() { function hashDelete (line 44710) | function hashDelete(key) { function hashGet (line 44719) | function hashGet(key) { function hashHas (line 44730) | function hashHas(key) { function hashSet (line 44736) | function hashSet(key, value) { function Hash (line 44743) | function Hash(entries) { function listCacheClear (line 44757) | function listCacheClear() { function eq (line 44762) | function eq(value, other) { function assocIndexOf (line 44766) | function assocIndexOf(array2, key) { function listCacheDelete (line 44778) | function listCacheDelete(key) { function listCacheGet (line 44793) | function listCacheGet(key) { function listCacheHas (line 44798) | function listCacheHas(key) { function listCacheSet (line 44802) | function listCacheSet(key, value) { function ListCache (line 44813) | function ListCache(entries) { function mapCacheClear (line 44829) | function mapCacheClear() { function isKeyable (line 44838) | function isKeyable(value) { function getMapData (line 44843) | function getMapData(map, key) { function mapCacheDelete (line 44848) | function mapCacheDelete(key) { function mapCacheGet (line 44854) | function mapCacheGet(key) { function mapCacheHas (line 44858) | function mapCacheHas(key) { function mapCacheSet (line 44862) | function mapCacheSet(key, value) { function MapCache (line 44869) | function MapCache(entries) { function memoize (line 44884) | function memoize(func, resolver) { function writeToStderr (line 44903) | function writeToStderr(data) { function extractDebugCategories (line 44931) | function extractDebugCategories(message) { function shouldShowDebugCategories (line 44959) | function shouldShowDebugCategories(categories, filter) { function shouldShowDebugMessage (line 44972) | function shouldShowDebugMessage(message, filter) { function getClaudeConfigHomeDir (line 44979) | function getClaudeConfigHomeDir() { function isEnvTruthy (line 44982) | function isEnvTruthy(envVar) { function createMaxOutputLengthValidator (line 44992) | function createMaxOutputLengthValidator(name) { function getInitialState (line 45051) | function getInitialState() { function getSessionId (line 45122) | function getSessionId() { function addSlowOperation (line 45127) | function addSlowOperation(operation, durationMs) { function createBufferedWriter (line 45137) | function createBufferedWriter({ function registerCleanup (line 45182) | function registerCleanup(cleanupFn) { function describeValue (line 45187) | function describeValue(value) { function withSlowLogging (line 45202) | function withSlowLogging(operation, fn) { function jsonStringify (line 45214) | function jsonStringify(value, replacer, space) { function shouldLogDebugMessage (line 45232) | function shouldLogDebugMessage(message) { function getDebugWriter (line 45243) | function getDebugWriter() { function logForDebugging (line 45262) | function logForDebugging(message, { level } = { function getDebugLogPath (line 45281) | function getDebugLogPath() { function withSlowLogging2 (line 45305) | function withSlowLogging2(operation, fn) { method cwd (line 45318) | cwd() { method existsSync (line 45321) | existsSync(fsPath) { method stat (line 45324) | async stat(fsPath) { method statSync (line 45327) | statSync(fsPath) { method lstatSync (line 45330) | lstatSync(fsPath) { method readFileSync (line 45333) | readFileSync(fsPath, options) { method readFileBytesSync (line 45336) | readFileBytesSync(fsPath) { method readSync (line 45339) | readSync(fsPath, options) { method appendFileSync (line 45353) | appendFileSync(path22, data, options) { method copyFileSync (line 45367) | copyFileSync(src, dest) { method unlinkSync (line 45370) | unlinkSync(path22) { method renameSync (line 45373) | renameSync(oldPath, newPath) { method linkSync (line 45376) | linkSync(target, path22) { method symlinkSync (line 45379) | symlinkSync(target, path22) { method readlinkSync (line 45382) | readlinkSync(path22) { method realpathSync (line 45385) | realpathSync(path22) { method mkdirSync (line 45388) | mkdirSync(dirPath, options) { method readdirSync (line 45401) | readdirSync(dirPath) { method readdirStringSync (line 45404) | readdirStringSync(dirPath) { method isDirEmptySync (line 45407) | isDirEmptySync(dirPath) { method rmdirSync (line 45413) | rmdirSync(dirPath) { method rmSync (line 45416) | rmSync(path22, options) { method createWriteStream (line 45419) | createWriteStream(path22) { function getFsImplementation (line 45424) | function getFsImplementation() { function assertIs2 (line 45431) | function assertIs2(_arg) { function assertNever2 (line 45434) | function assertNever2(_x) { function joinValues2 (line 45475) | function joinValues2(array2, separator = " | ") { method errors (line 45577) | get errors() { method constructor (line 45580) | constructor(issues) { method format (line 45598) | format(_mapper) { method assert (line 45634) | static assert(value) { method toString (line 45639) | toString() { method message (line 45642) | get message() { method isEmpty (line 45645) | get isEmpty() { method flatten (line 45648) | flatten(mapper = (issue2) => issue2.message) { method formErrors (line 45662) | get formErrors() { function getErrorMap (line 45772) | function getErrorMap() { function addIssueToContext (line 45800) | function addIssueToContext(ctx, issueData) { method constructor (line 45816) | constructor() { method dirty (line 45819) | dirty() { method abort (line 45823) | abort() { method mergeArray (line 45827) | static mergeArray(status, results) { method mergeObjectAsync (line 45838) | static async mergeObjectAsync(status, pairs) { method mergeObjectSync (line 45850) | static mergeObjectSync(status, pairs) { method constructor (line 45884) | constructor(parent, value, path22, key) { method path (line 45891) | get path() { method error (line 45911) | get error() { function processCreateParams (line 45921) | function processCreateParams(params) { method description (line 45945) | get description() { method _getType (line 45948) | _getType(input) { method _getOrReturnCtx (line 45951) | _getOrReturnCtx(input, ctx) { method _processInputParams (line 45961) | _processInputParams(input) { method _parseSync (line 45974) | _parseSync(input) { method _parseAsync (line 45981) | _parseAsync(input) { method parse (line 45985) | parse(data, params) { method safeParse (line 45991) | safeParse(data, params) { method "~validate" (line 46007) | "~validate"(data) { method parseAsync (line 46043) | async parseAsync(data, params) { method safeParseAsync (line 46049) | async safeParseAsync(data, params) { method refine (line 46066) | refine(check2, message) { method refinement (line 46100) | refinement(check2, refinementData) { method _refinement (line 46110) | _refinement(refinement) { method superRefine (line 46117) | superRefine(refinement) { method constructor (line 46120) | constructor(def) { method optional (line 46153) | optional() { method nullable (line 46156) | nullable() { method nullish (line 46159) | nullish() { method array (line 46162) | array() { method promise (line 46165) | promise() { method or (line 46168) | or(option) { method and (line 46171) | and(incoming) { method transform (line 46174) | transform(transform2) { method default (line 46182) | default(def) { method brand (line 46191) | brand() { method catch (line 46198) | catch(def) { method describe (line 46207) | describe(description) { method pipe (line 46214) | pipe(target) { method readonly (line 46217) | readonly() { method isOptional (line 46220) | isOptional() { method isNullable (line 46223) | isNullable() { function timeRegexSource (line 46245) | function timeRegexSource(args) { function timeRegex (line 46255) | function timeRegex(args) { function datetimeRegex (line 46258) | function datetimeRegex(args) { function isValidIP (line 46267) | function isValidIP(ip, version3) { function isValidJWT (line 46276) | function isValidJWT(jwt, alg) { function isValidCidr (line 46298) | function isValidCidr(ip, version3) { method _parse (line 46308) | _parse(input) { method _regex (line 46609) | _regex(regex, validation, message) { method _addCheck (line 46616) | _addCheck(check2) { method email (line 46622) | email(message) { method url (line 46625) | url(message) { method emoji (line 46628) | emoji(message) { method uuid (line 46631) | uuid(message) { method nanoid (line 46634) | nanoid(message) { method cuid (line 46637) | cuid(message) { method cuid2 (line 46640) | cuid2(message) { method ulid (line 46643) | ulid(message) { method base64 (line 46646) | base64(message) { method base64url (line 46649) | base64url(message) { method jwt (line 46655) | jwt(options) { method ip (line 46658) | ip(options) { method cidr (line 46661) | cidr(options) { method datetime (line 46664) | datetime(options) { method date (line 46682) | date(message) { method time (line 46685) | time(options) { method duration (line 46699) | duration(message) { method regex (line 46702) | regex(regex, message) { method includes (line 46709) | includes(value, options) { method startsWith (line 46717) | startsWith(value, message) { method endsWith (line 46724) | endsWith(value, message) { method min (line 46731) | min(minLength, message) { method max (line 46738) | max(maxLength, message) { method length (line 46745) | length(len, message) { method nonempty (line 46752) | nonempty(message) { method trim (line 46755) | trim() { method toLowerCase (line 46761) | toLowerCase() { method toUpperCase (line 46767) | toUpperCase() { method isDatetime (line 46773) | get isDatetime() { method isDate (line 46776) | get isDate() { method isTime (line 46779) | get isTime() { method isDuration (line 46782) | get isDuration() { method isEmail (line 46785) | get isEmail() { method isURL (line 46788) | get isURL() { method isEmoji (line 46791) | get isEmoji() { method isUUID (line 46794) | get isUUID() { method isNANOID (line 46797) | get isNANOID() { method isCUID (line 46800) | get isCUID() { method isCUID2 (line 46803) | get isCUID2() { method isULID (line 46806) | get isULID() { method isIP (line 46809) | get isIP() { method isCIDR (line 46812) | get isCIDR() { method isBase64 (line 46815) | get isBase64() { method isBase64url (line 46818) | get isBase64url() { method minLength (line 46821) | get minLength() { method maxLength (line 46831) | get maxLength() { function floatSafeRemainder (line 46850) | function floatSafeRemainder(val, step) { method constructor (line 46859) | constructor() { method _parse (line 46865) | _parse(input) { method gte (line 46946) | gte(value, message) { method gt (line 46949) | gt(value, message) { method lte (line 46952) | lte(value, message) { method lt (line 46955) | lt(value, message) { method setLimit (line 46958) | setLimit(kind, value, inclusive, message) { method _addCheck (line 46972) | _addCheck(check2) { method int (line 46978) | int(message) { method positive (line 46984) | positive(message) { method negative (line 46992) | negative(message) { method nonpositive (line 47000) | nonpositive(message) { method nonnegative (line 47008) | nonnegative(message) { method multipleOf (line 47016) | multipleOf(value, message) { method finite (line 47023) | finite(message) { method safe (line 47029) | safe(message) { method minValue (line 47042) | get minValue() { method maxValue (line 47052) | get maxValue() { method isInt (line 47062) | get isInt() { method isFinite (line 47065) | get isFinite() { method constructor (line 47091) | constructor() { method _parse (line 47096) | _parse(input) { method _getInvalidInput (line 47153) | _getInvalidInput(input) { method gte (line 47162) | gte(value, message) { method gt (line 47165) | gt(value, message) { method lte (line 47168) | lte(value, message) { method lt (line 47171) | lt(value, message) { method setLimit (line 47174) | setLimit(kind, value, inclusive, message) { method _addCheck (line 47188) | _addCheck(check2) { method positive (line 47194) | positive(message) { method negative (line 47202) | negative(message) { method nonpositive (line 47210) | nonpositive(message) { method nonnegative (line 47218) | nonnegative(message) { method multipleOf (line 47226) | multipleOf(value, message) { method minValue (line 47233) | get minValue() { method maxValue (line 47243) | get maxValue() { method _parse (line 47263) | _parse(input) { method _parse (line 47288) | _parse(input) { method _addCheck (line 47347) | _addCheck(check2) { method min (line 47353) | min(minDate, message) { method max (line 47360) | max(maxDate, message) { method minDate (line 47367) | get minDate() { method maxDate (line 47377) | get maxDate() { method _parse (line 47397) | _parse(input) { method _parse (line 47418) | _parse(input) { method _parse (line 47439) | _parse(input) { method constructor (line 47460) | constructor() { method _parse (line 47464) | _parse(input) { method constructor (line 47475) | constructor() { method _parse (line 47479) | _parse(input) { method _parse (line 47490) | _parse(input) { method _parse (line 47507) | _parse(input) { method _parse (line 47528) | _parse(input) { method element (line 47593) | get element() { method min (line 47596) | min(minLength, message) { method max (line 47602) | max(maxLength, message) { method length (line 47608) | length(len, message) { method nonempty (line 47614) | nonempty(message) { function deepPartialify (line 47628) | function deepPartialify(schema) { method constructor (line 47655) | constructor() { method _getCached (line 47661) | _getCached() { method _parse (line 47669) | _parse(input) { method shape (line 47752) | get shape() { method strict (line 47755) | strict(message) { method strip (line 47774) | strip() { method passthrough (line 47780) | passthrough() { method extend (line 47786) | extend(augmentation) { method merge (line 47795) | merge(merging) { method setKey (line 47807) | setKey(key, schema) { method catchall (line 47810) | catchall(index) { method pick (line 47816) | pick(mask) { method omit (line 47828) | omit(mask) { method deepPartial (line 47840) | deepPartial() { method partial (line 47843) | partial(mask) { method required (line 47858) | required(mask) { method keyof (line 47877) | keyof() { method _parse (line 47909) | _parse(input) { method options (line 47988) | get options() { method _parse (line 48031) | _parse(input) { method discriminator (line 48066) | get discriminator() { method options (line 48069) | get options() { method optionsMap (line 48072) | get optionsMap() { method create (line 48075) | static create(discriminator, options, params) { function mergeValues (line 48098) | function mergeValues(a, b) { method _parse (line 48137) | _parse(input) { method _parse (line 48190) | _parse(input) { method items (line 48235) | get items() { method rest (line 48238) | rest(rest) { method keySchema (line 48257) | get keySchema() { method valueSchema (line 48260) | get valueSchema() { method _parse (line 48263) | _parse(input) { method element (line 48289) | get element() { method create (line 48292) | static create(first, second, third) { method keySchema (line 48310) | get keySchema() { method valueSchema (line 48313) | get valueSchema() { method _parse (line 48316) | _parse(input) { method _parse (line 48376) | _parse(input) { method min (line 48432) | min(minSize, message) { method max (line 48438) | max(maxSize, message) { method size (line 48444) | size(size, message) { method nonempty (line 48447) | nonempty(message) { method constructor (line 48461) | constructor() { method _parse (line 48465) | _parse(input) { method parameters (line 48530) | parameters() { method returnType (line 48533) | returnType() { method args (line 48536) | args(...items) { method returns (line 48542) | returns(returnType) { method implement (line 48548) | implement(func) { method strictImplement (line 48552) | strictImplement(func) { method create (line 48556) | static create(args, returns, params) { method schema (line 48566) | get schema() { method _parse (line 48569) | _parse(input) { method _parse (line 48583) | _parse(input) { method value (line 48595) | get value() { function createZodEnum (line 48606) | function createZodEnum(values, params) { method _parse (line 48614) | _parse(input) { method options (line 48640) | get options() { method enum (line 48643) | get enum() { method Values (line 48650) | get Values() { method Enum (line 48657) | get Enum() { method extract (line 48664) | extract(values, newDef = this._def) { method exclude (line 48670) | exclude(values, newDef = this._def) { method _parse (line 48679) | _parse(input) { method enum (line 48705) | get enum() { method unwrap (line 48717) | unwrap() { method _parse (line 48720) | _parse(input) { method innerType (line 48747) | innerType() { method sourceType (line 48750) | sourceType() { method _parse (line 48753) | _parse(input) { method _parse (line 48886) | _parse(input) { method unwrap (line 48893) | unwrap() { method _parse (line 48905) | _parse(input) { method unwrap (line 48912) | unwrap() { method _parse (line 48924) | _parse(input) { method removeDefault (line 48936) | removeDefault() { method _parse (line 48949) | _parse(input) { method removeCatch (line 48989) | removeCatch() { method _parse (line 49002) | _parse(input) { method _parse (line 49023) | _parse(input) { method unwrap (line 49032) | unwrap() { method _parse (line 49037) | _parse(input) { method create (line 49083) | static create(a, b) { method _parse (line 49092) | _parse(input) { method unwrap (line 49102) | unwrap() { function $constructor (line 49192) | function $constructor(name, initializer3, params) { method constructor (line 49235) | constructor() { function config (line 49240) | function config(newConfig) { function assertEqual (line 49297) | function assertEqual(val) { function assertNotEqual (line 49300) | function assertNotEqual(val) { function assertIs (line 49303) | function assertIs(_arg) { function assertNever (line 49305) | function assertNever(_x) { function assert (line 49308) | function assert(_) { function getEnumValues (line 49310) | function getEnumValues(entries) { function joinValues (line 49315) | function joinValues(array2, separator = "|") { function jsonStringifyReplacer (line 49318) | function jsonStringifyReplacer(_, value) { function cached (line 49323) | function cached(getter) { function nullish (line 49336) | function nullish(input) { function cleanRegex (line 49339) | function cleanRegex(source) { function floatSafeRemainder2 (line 49344) | function floatSafeRemainder2(val, step) { function defineLazy (line 49352) | function defineLazy(object3, key, getter) { function assignProp (line 49371) | function assignProp(target, prop, value) { function getElementAtPath (line 49379) | function getElementAtPath(obj, path22) { function promiseAllObject (line 49384) | function promiseAllObject(promisesObj) { function randomString (line 49395) | function randomString(length = 10) { function esc (line 49403) | function esc(str) { function isObject2 (line 49408) | function isObject2(data) { function isPlainObject (line 49423) | function isPlainObject(o) { function numKeys (line 49437) | function numKeys(data) { function escapeRegex (line 49492) | function escapeRegex(str) { function clone (line 49495) | function clone(inst, def, params) { function normalizeParams (line 49501) | function normalizeParams(_params) { function createTransparentProxy (line 49517) | function createTransparentProxy(getter) { function stringifyPrimitive (line 49550) | function stringifyPrimitive(value) { function optionalKeys (line 49557) | function optionalKeys(shape) { function pick (line 49573) | function pick(schema, mask) { function omit (line 49590) | function omit(schema, mask) { function extend (line 49607) | function extend(schema, shape) { function merge (line 49622) | function merge(a, b) { function partial (line 49634) | function partial(Class2, schema, mask) { function required (line 49663) | function required(Class2, schema, mask) { function aborted (line 49692) | function aborted(x, startIndex = 0) { function prefixIssues (line 49699) | function prefixIssues(path22, issues) { function unwrapMessage (line 49707) | function unwrapMessage(message) { function finalizeIssue (line 49710) | function finalizeIssue(iss, ctx, config2) { function getSizableOrigin (line 49723) | function getSizableOrigin(input) { function getLengthableOrigin (line 49732) | function getLengthableOrigin(input) { function issue (line 49739) | function issue(...args) { function cleanEnum (line 49751) | function cleanEnum(obj) { method constructor (line 49757) | constructor(..._args) { method get (line 49771) | get() { function flattenError (line 49779) | function flattenError(error2, mapper = (issue2) => issue2.message) { function formatError (line 49792) | function formatError(error2, _mapper) { function emoji (line 49893) | function emoji() { function timeSource (line 49906) | function timeSource(args) { function time (line 49911) | function time(args) { function datetime (line 49914) | function datetime(args) { method constructor (line 50315) | constructor(args = []) { method indented (line 50321) | indented(fn) { method write (line 50326) | write(arg) { method compile (line 50341) | compile() { function isValidBase64 (line 50645) | function isValidBase64(data) { function isValidBase64URL (line 50675) | function isValidBase64URL(data) { function isValidJWT2 (line 50704) | function isValidJWT2(token, algorithm = null) { function handleArrayResult (line 50820) | function handleArrayResult(result, final, index) { function handleObjectResult (line 50859) | function handleObjectResult(result, final, key) { function handleOptionalObjectResult (line 50865) | function handleOptionalObjectResult(result, final, key, input) { function handleUnionResults (line 51045) | function handleUnionResults(results, final, inst, ctx) { function mergeValues2 (line 51180) | function mergeValues2(a, b) { function handleIntersectionResults (line 51224) | function handleIntersectionResults(result, left, right) { function handleDefaultResult (line 51442) | function handleDefaultResult(payload, def) { function handleNonOptionalResult (line 51473) | function handleNonOptionalResult(payload, inst) { function handlePipeResult (line 51534) | function handlePipeResult(left, def, ctx) { function handleReadonlyResult (line 51554) | function handleReadonlyResult(payload) { function handleRefineResult (line 51574) | function handleRefineResult(result, payload, input, inst) { function getSizing (line 51615) | function getSizing(origin) { function en_default2 (line 51699) | function en_default2() { method constructor (line 51705) | constructor() { method add (line 51709) | add(schema, ..._meta) { method remove (line 51720) | remove(schema) { method get (line 51724) | get(schema) { method has (line 51733) | has(schema) { function registry (line 51737) | function registry() { function _string (line 51741) | function _string(Class2, params) { function _email (line 51747) | function _email(Class2, params) { function _guid (line 51756) | function _guid(Class2, params) { function _uuid (line 51765) | function _uuid(Class2, params) { function _uuidv4 (line 51774) | function _uuidv4(Class2, params) { function _uuidv6 (line 51784) | function _uuidv6(Class2, params) { function _uuidv7 (line 51794) | function _uuidv7(Class2, params) { function _url (line 51804) | function _url(Class2, params) { function _emoji2 (line 51813) | function _emoji2(Class2, params) { function _nanoid (line 51822) | function _nanoid(Class2, params) { function _cuid (line 51831) | function _cuid(Class2, params) { function _cuid2 (line 51840) | function _cuid2(Class2, params) { function _ulid (line 51849) | function _ulid(Class2, params) { function _xid (line 51858) | function _xid(Class2, params) { function _ksuid (line 51867) | function _ksuid(Class2, params) { function _ipv4 (line 51876) | function _ipv4(Class2, params) { function _ipv6 (line 51885) | function _ipv6(Class2, params) { function _cidrv4 (line 51894) | function _cidrv4(Class2, params) { function _cidrv6 (line 51903) | function _cidrv6(Class2, params) { function _base64 (line 51912) | function _base64(Class2, params) { function _base64url (line 51921) | function _base64url(Class2, params) { function _e164 (line 51930) | function _e164(Class2, params) { function _jwt (line 51939) | function _jwt(Class2, params) { function _isoDateTime (line 51948) | function _isoDateTime(Class2, params) { function _isoDate (line 51959) | function _isoDate(Class2, params) { function _isoTime (line 51967) | function _isoTime(Class2, params) { function _isoDuration (line 51976) | function _isoDuration(Class2, params) { function _number (line 51984) | function _number(Class2, params) { function _int (line 51991) | function _int(Class2, params) { function _boolean (line 52000) | function _boolean(Class2, params) { function _null2 (line 52006) | function _null2(Class2, params) { function _unknown (line 52012) | function _unknown(Class2) { function _never (line 52017) | function _never(Class2, params) { function _lt (line 52023) | function _lt(value, params) { function _lte (line 52031) | function _lte(value, params) { function _gt (line 52039) | function _gt(value, params) { function _gte (line 52047) | function _gte(value, params) { function _multipleOf (line 52055) | function _multipleOf(value, params) { function _maxLength (line 52062) | function _maxLength(maximum, params) { function _minLength (line 52070) | function _minLength(minimum, params) { function _length (line 52077) | function _length(length, params) { function _regex (line 52084) | function _regex(pattern, params) { function _lowercase (line 52092) | function _lowercase(params) { function _uppercase (line 52099) | function _uppercase(params) { function _includes (line 52106) | function _includes(includes, params) { function _startsWith (line 52114) | function _startsWith(prefix, params) { function _endsWith (line 52122) | function _endsWith(suffix, params) { function _overwrite (line 52130) | function _overwrite(tx) { function _normalize (line 52136) | function _normalize(form) { function _trim (line 52139) | function _trim() { function _toLowerCase (line 52142) | function _toLowerCase() { function _toUpperCase (line 52145) | function _toUpperCase() { function _array (line 52148) | function _array(Class2, element, params) { function _custom (line 52155) | function _custom(Class2, fn, _params) { function _refine (line 52166) | function _refine(Class2, fn, _params) { method constructor (line 52176) | constructor(params) { method process (line 52186) | process(schema, _params = { path: [], schemaPath: [] }) { method emit (line 52646) | emit(schema, _params) { function toJSONSchema (line 52783) | function toJSONSchema(input, _params) { function isTransforming (line 52816) | function isTransforming(_schema, _ctx) { function object (line 52943) | function object(shape, params) { function isZ4Schema (line 52954) | function isZ4Schema(s) { function objectFromShape (line 52958) | function objectFromShape(shape) { function safeParse2 (line 52970) | function safeParse2(schema, data) { function safeParseAsync2 (line 52979) | async function safeParseAsync2(schema, data) { function getObjectShape (line 52988) | function getObjectShape(schema) { function normalizeObjectSchema (line 53011) | function normalizeObjectSchema(schema) { function getParseErrorMessage (line 53039) | function getParseErrorMessage(error2) { function getSchemaDescription (line 53058) | function getSchemaDescription(schema) { function isSchemaOptional (line 53067) | function isSchemaOptional(schema) { function getLiteralValue (line 53079) | function getLiteralValue(schema) { function datetime2 (line 53121) | function datetime2(params) { function date2 (line 53128) | function date2(params) { function time2 (line 53135) | function time2(params) { function duration2 (line 53142) | function duration2(params) { method get (line 53162) | get() { method get (line 53222) | get() { function string2 (line 53292) | function string2(params) { function number2 (line 53400) | function number2(params) { function int (line 53407) | function int(params) { function boolean2 (line 53414) | function boolean2(params) { function _null3 (line 53421) | function _null3(params) { function unknown (line 53428) | function unknown() { function never (line 53435) | function never(params) { function array (line 53448) | function array(element, params) { function object2 (line 53470) | function object2(shape, params) { function looseObject (line 53481) | function looseObject(shape, params) { function union (line 53497) | function union(options, params) { function discriminatedUnion (line 53508) | function discriminatedUnion(discriminator, options, params) { function intersection (line 53520) | function intersection(left, right) { function record (line 53533) | function record(keyType, valueType, params) { function _enum (line 53578) | function _enum(values, params) { method get (line 53591) | get() { function literal (line 53599) | function literal(value, params) { function transform (line 53635) | function transform(fn) { function optional (line 53646) | function optional(innerType) { function nullable (line 53657) | function nullable(innerType) { function _default (line 53669) | function _default(innerType, defaultValue) { function prefault (line 53683) | function prefault(innerType, defaultValue) { function nonoptional (line 53697) | function nonoptional(innerType, params) { function _catch (line 53710) | function _catch(innerType, catchValue) { function pipe (line 53723) | function pipe(in_, out) { function readonly (line 53734) | function readonly(innerType) { function check (line 53744) | function check(fn, params) { function custom (line 53752) | function custom(fn, _params) { function refine (line 53755) | function refine(fn, _params = {}) { function superRefine (line 53758) | function superRefine(fn, params) { function preprocess (line 53778) | function preprocess(fn, schema) { function assertCompleteRequestPrompt (line 54466) | function assertCompleteRequestPrompt(request) { function assertCompleteRequestResourceTemplate (line 54471) | function assertCompleteRequestResourceTemplate(request) { method constructor (line 54568) | constructor(code, message, data) { method fromError (line 54574) | static fromError(code, message, data) { method constructor (line 54585) | constructor(elicitations, message = `URL elicitation${elicitations.lengt... method elicitations (line 54590) | get elicitations() { function isTerminal (line 54595) | function isTerminal(status) { function addErrorMessage (line 54648) | function addErrorMessage(res, key, errorMessage, refs) { function setResponseValueAndErrors (line 54658) | function setResponseValueAndErrors(res, key, value, errorMessage, refs) { function parseAnyDef (line 54670) | function parseAnyDef(refs) { function parseArrayDef (line 54684) | function parseArrayDef(def, refs) { function parseBigintDef (line 54706) | function parseBigintDef(def, refs) { function parseBooleanDef (line 54750) | function parseBooleanDef() { function parseBrandedDef (line 54755) | function parseBrandedDef(_def, refs) { function parseDateDef (line 54761) | function parseDateDef(def, refs, overrideDateStrategy) { function parseDefaultDef (line 54804) | function parseDefaultDef(_def, refs) { function parseEffectsDef (line 54810) | function parseEffectsDef(_def, refs) { function parseEnumDef (line 54813) | function parseEnumDef(def) { function parseIntersectionDef (line 54824) | function parseIntersectionDef(def, refs) { function parseLiteralDef (line 54859) | function parseLiteralDef(def, refs) { function parseStringDef (line 54899) | function parseStringDef(def, refs) { function escapeLiteralCheckValue (line 55029) | function escapeLiteralCheckValue(literal2, refs) { function escapeNonAlphaNumeric (line 55033) | function escapeNonAlphaNumeric(source) { function addFormat (line 55043) | function addFormat(schema, value, message, refs) { function addPattern (line 55071) | function addPattern(schema, regex, message, refs) { function stringifyRegExpWithFlags (line 55099) | function stringifyRegExpWithFlags(regex, refs) { function parseRecordDef (line 55173) | function parseRecordDef(def, refs) { function parseMapDef (line 55223) | function parseMapDef(def, refs) { function parseNativeEnumDef (line 55246) | function parseNativeEnumDef(def) { function parseNeverDef (line 55258) | function parseNeverDef(refs) { function parseNullDef (line 55266) | function parseNullDef(refs) { function parseUnionDef (line 55281) | function parseUnionDef(def, refs) { function parseNullableDef (line 55340) | function parseNullableDef(def, refs) { function parseNumberDef (line 55370) | function parseNumberDef(def, refs) { function parseObjectDef (line 55417) | function parseObjectDef(def, refs) { function decideAdditionalProperties (line 55462) | function decideAdditionalProperties(def, refs) { function safeIsOptional (line 55478) | function safeIsOptional(schema) { function parsePromiseDef (line 55520) | function parsePromiseDef(def, refs) { function parseSetDef (line 55523) | function parseSetDef(def, refs) { function parseTupleDef (line 55541) | function parseTupleDef(def, refs) { function parseUndefinedDef (line 55567) | function parseUndefinedDef(refs) { function parseUnknownDef (line 55572) | function parseUnknownDef(refs) { function parseDef (line 55654) | function parseDef(def, refs, forceResolution = false) { function mapMiniTarget (line 55767) | function mapMiniTarget(t) { function toJsonSchemaCompat (line 55776) | function toJsonSchemaCompat(schema, opts) { function getMethodLiteral (line 55789) | function getMethodLiteral(schema) { function parseWithCompat (line 55801) | function parseWithCompat(schema, data) { method constructor (line 55810) | constructor(_options) { method _oncancel (line 55936) | async _oncancel(notification) { method _setupTimeout (line 55940) | _setupTimeout(messageId, timeout, maxTotalTimeout, onTimeout, resetTimeo... method _resetTimeout (line 55950) | _resetTimeout(messageId) { method _cleanupTimeout (line 55966) | _cleanupTimeout(messageId) { method connect (line 55973) | async connect(transport) { method _onclose (line 56001) | _onclose() { method _onerror (line 56015) | _onerror(error2) { method _onnotification (line 56019) | _onnotification(notification) { method _onrequest (line 56027) | _onrequest(request, extra) { method _onprogress (line 56137) | _onprogress(notification) { method _onresponse (line 56160) | _onresponse(response) { method transport (line 56201) | get transport() { method close (line 56204) | async close() { method requestStream (line 56208) | async *requestStream(request, resultSchema, options) { method request (line 56268) | request(request, resultSchema, options) { method getTask (line 56391) | async getTask(params, options) { method getTaskResult (line 56394) | async getTaskResult(params, resultSchema, options) { method listTasks (line 56397) | async listTasks(params, options) { method cancelTask (line 56400) | async cancelTask(params, options) { method notification (line 56403) | async notification(notification, options) { method setRequestHandler (line 56480) | setRequestHandler(requestSchema, handler) { method removeRequestHandler (line 56488) | removeRequestHandler(method) { method assertCanSetRequestHandler (line 56491) | assertCanSetRequestHandler(method) { method setNotificationHandler (line 56496) | setNotificationHandler(notificationSchema, handler) { method removeNotificationHandler (line 56503) | removeNotificationHandler(method) { method _cleanupTaskProgressHandler (line 56506) | _cleanupTaskProgressHandler(taskId) { method _enqueueTaskMessage (line 56513) | async _enqueueTaskMessage(taskId, message, sessionId) { method _clearTaskQueue (line 56521) | async _clearTaskQueue(taskId, sessionId) { method _waitForTaskUpdate (line 56538) | async _waitForTaskUpdate(taskId, signal) { method requestTaskStore (line 56560) | requestTaskStore(request, sessionId) { function isPlainObject2 (line 56626) | function isPlainObject2(value) { function mergeCapabilities (line 56629) | function mergeCapabilities(base, additional) { function createDefaultAjvInstance (line 56647) | function createDefaultAjvInstance() { method constructor (line 56659) | constructor(ajv) { method getValidator (line 56662) | getValidator(schema) { method constructor (line 56684) | constructor(_server) { method requestStream (line 56687) | requestStream(request, resultSchema, options) { method getTask (line 56690) | async getTask(taskId, options) { method getTaskResult (line 56693) | async getTaskResult(taskId, resultSchema, options) { method listTasks (line 56696) | async listTasks(cursor, options) { method cancelTask (line 56699) | async cancelTask(taskId, options) { function assertToolsCallTaskCapability (line 56703) | function assertToolsCallTaskCapability(requests, method, entityName) { function assertClientRequestTaskCapability (line 56718) | function assertClientRequestTaskCapability(requests, method, entityName) { method constructor (line 56739) | constructor(_serverInfo, options) { method experimental (line 56770) | get experimental() { method registerCapabilities (line 56778) | registerCapabilities(capabilities) { method setRequestHandler (line 56784) | setRequestHandler(requestSchema, handler) { method assertCapabilityForMethod (line 56833) | assertCapabilityForMethod(method) { method assertNotificationCapability (line 56855) | assertNotificationCapability(method) { method assertRequestHandlerCapability (line 56890) | assertRequestHandlerCapability(method) { method assertTaskCapability (line 56937) | assertTaskCapability(method) { method assertTaskHandlerCapability (line 56941) | assertTaskHandlerCapability(method) { method _oninitialize (line 56948) | async _oninitialize(request) { method getClientCapabilities (line 56960) | getClientCapabilities() { method getClientVersion (line 56963) | getClientVersion() { method getCapabilities (line 56966) | getCapabilities() { method ping (line 56969) | async ping() { method createMessage (line 56972) | async createMessage(params, options) { method elicitInput (line 57007) | async elicitInput(params, options) { method createElicitationCompletionNotifier (line 57042) | createElicitationCompletionNotifier(elicitationId, options) { method listRoots (line 57054) | async listRoots(params, options) { method sendLoggingMessage (line 57057) | async sendLoggingMessage(params, sessionId) { method sendResourceUpdated (line 57064) | async sendResourceUpdated(params) { method sendResourceListChanged (line 57070) | async sendResourceListChanged() { method sendToolListChanged (line 57075) | async sendToolListChanged() { method sendPromptListChanged (line 57078) | async sendPromptListChanged() { function isCompletable (line 57083) | function isCompletable(schema) { function getCompleter (line 57086) | function getCompleter(schema) { function validateToolName (line 57095) | function validateToolName(name) { function issueToolNameWarning (line 57134) | function issueToolNameWarning(name, warnings) { function validateAndWarnToolName (line 57145) | function validateAndWarnToolName(name) { method constructor (line 57151) | constructor(_mcpServer) { method registerToolTask (line 57154) | registerToolTask(name, config2, handler) { method constructor (line 57164) | constructor(serverInfo, options) { method experimental (line 57175) | get experimental() { method connect (line 57183) | async connect(transport) { method close (line 57186) | async close() { method setToolRequestHandlers (line 57189) | setToolRequestHandlers() { method createToolError (line 57269) | createToolError(errorMessage) { method validateToolInput (line 57280) | async validateToolInput(tool2, args, toolName) { method validateToolOutput (line 57294) | async validateToolOutput(tool2, result, toolName) { method executeToolHandler (line 57315) | async executeToolHandler(tool2, args, extra) { method handleAutomaticTaskPolling (line 57339) | async handleAutomaticTaskPolling(tool2, request, extra) { method setCompletionRequestHandler (line 57361) | setCompletionRequestHandler() { method handlePromptCompletion (line 57383) | async handlePromptCompletion(request, ref) { method handleResourceCompletion (line 57406) | async handleResourceCompletion(request, ref) { method setResourceRequestHandlers (line 57421) | setResourceRequestHandlers() { method setPromptRequestHandlers (line 57482) | setPromptRequestHandlers() { method resource (line 57530) | resource(name, uriOrTemplate, ...rest) { method registerResource (line 57554) | registerResource(name, uriOrTemplate, config2, readCallback) { method _createRegisteredResource (line 57573) | _createRegisteredResource(name, title, uri, metadata, readCallback) { method _createRegisteredResourceTemplate (line 57605) | _createRegisteredResourceTemplate(name, title, template, metadata, readC... method _createRegisteredPrompt (line 57637) | _createRegisteredPrompt(name, title, description, argsSchema, callback) { method _createRegisteredTool (line 57669) | _createRegisteredTool(name, title, description, inputSchema, outputSchem... method tool (line 57715) | tool(name, ...rest) { method registerTool (line 57740) | registerTool(name, config2, cb) { method prompt (line 57747) | prompt(name, ...rest) { method registerPrompt (line 57765) | registerPrompt(name, config2, cb) { method isConnected (line 57775) | isConnected() { method sendLoggingMessage (line 57778) | async sendLoggingMessage(params, sessionId) { method sendResourceListChanged (line 57781) | sendResourceListChanged() { method sendToolListChanged (line 57786) | sendToolListChanged() { method sendPromptListChanged (line 57791) | sendPromptListChanged() { function isZodTypeLike (line 57801) | function isZodTypeLike(value) { function isZodSchemaInstance (line 57804) | function isZodSchemaInstance(obj) { function isZodRawShapeCompat (line 57807) | function isZodRawShapeCompat(obj) { function getZodSchemaObject (line 57819) | function getZodSchemaObject(schema) { function promptArgumentsFromSchema (line 57828) | function promptArgumentsFromSchema(schema) { function getMethodValue (line 57842) | function getMethodValue(schema) { function createCompletionResult (line 57854) | function createCompletionResult(suggestions) { function tool (line 57869) | function tool(name, description, inputSchema, handler) { function createSdkMcpServer (line 57872) | function createSdkMcpServer(options) { function assertIs2 (line 58010) | function assertIs2(_arg) { function assertNever2 (line 58013) | function assertNever2(_x) { function joinValues2 (line 58054) | function joinValues2(array2, separator = " | ") { method errors (line 58163) | get errors() { method constructor (line 58166) | constructor(issues) { method format (line 58184) | format(_mapper) { method assert (line 58220) | static assert(value) { method toString (line 58225) | toString() { method message (line 58228) | get message() { method isEmpty (line 58231) | get isEmpty() { method flatten (line 58234) | flatten(mapper = (issue2) => issue2.message) { method formErrors (line 58248) | get formErrors() { function setErrorMap (line 58362) | function setErrorMap(map) { function getErrorMap2 (line 58365) | function getErrorMap2() { function addIssueToContext2 (line 58396) | function addIssueToContext2(ctx, issueData) { method constructor (line 58416) | constructor() { method dirty (line 58419) | dirty() { method abort (line 58423) | abort() { method mergeArray (line 58427) | static mergeArray(status, results) { method mergeObjectAsync (line 58438) | static async mergeObjectAsync(status, pairs) { method mergeObjectSync (line 58450) | static mergeObjectSync(status, pairs) { method constructor (line 58488) | constructor(parent, value, path22, key) { method path (line 58495) | get path() { method error (line 58515) | get error() { function processCreateParams2 (line 58525) | function processCreateParams2(params) { method description (line 58549) | get description() { method _getType (line 58552) | _getType(input) { method _getOrReturnCtx (line 58555) | _getOrReturnCtx(input, ctx) { method _processInputParams (line 58565) | _processInputParams(input) { method _parseSync (line 58578) | _parseSync(input) { method _parseAsync (line 58585) | _parseAsync(input) { method parse (line 58589) | parse(data, params) { method safeParse (line 58595) | safeParse(data, params) { method "~validate" (line 58611) | "~validate"(data) { method parseAsync (line 58647) | async parseAsync(data, params) { method safeParseAsync (line 58653) | async safeParseAsync(data, params) { method refine (line 58670) | refine(check2, message) { method refinement (line 58704) | refinement(check2, refinementData) { method _refinement (line 58714) | _refinement(refinement) { method superRefine (line 58721) | superRefine(refinement) { method constructor (line 58724) | constructor(def) { method optional (line 58757) | optional() { method nullable (line 58760) | nullable() { method nullish (line 58763) | nullish() { method array (line 58766) | array() { method promise (line 58769) | promise() { method or (line 58772) | or(option) { method and (line 58775) | and(incoming) { method transform (line 58778) | transform(transform2) { method default (line 58786) | default(def) { method brand (line 58795) | brand() { method catch (line 58802) | catch(def) { method describe (line 58811) | describe(description) { method pipe (line 58818) | pipe(target) { method readonly (line 58821) | readonly() { method isOptional (line 58824) | isOptional() { method isNullable (line 58827) | isNullable() { function timeRegexSource2 (line 58849) | function timeRegexSource2(args) { function timeRegex2 (line 58859) | function timeRegex2(args) { function datetimeRegex2 (line 58862) | function datetimeRegex2(args) { function isValidIP2 (line 58871) | function isValidIP2(ip, version3) { function isValidJWT3 (line 58880) | function isValidJWT3(jwt, alg) { function isValidCidr2 (line 58902) | function isValidCidr2(ip, version3) { method _parse (line 58912) | _parse(input) { method _regex (line 59213) | _regex(regex, validation, message) { method _addCheck (line 59220) | _addCheck(check2) { method email (line 59226) | email(message) { method url (line 59229) | url(message) { method emoji (line 59232) | emoji(message) { method uuid (line 59235) | uuid(message) { method nanoid (line 59238) | nanoid(message) { method cuid (line 59241) | cuid(message) { method cuid2 (line 59244) | cuid2(message) { method ulid (line 59247) | ulid(message) { method base64 (line 59250) | base64(message) { method base64url (line 59253) | base64url(message) { method jwt (line 59259) | jwt(options) { method ip (line 59262) | ip(options) { method cidr (line 59265) | cidr(options) { method datetime (line 59268) | datetime(options) { method date (line 59286) | date(message) { method time (line 59289) | time(options) { method duration (line 59303) | duration(message) { method regex (line 59306) | regex(regex, message) { method includes (line 59313) | includes(value, options) { method startsWith (line 59321) | startsWith(value, message) { method endsWith (line 59328) | endsWith(value, message) { method min (line 59335) | min(minLength, message) { method max (line 59342) | max(maxLength, message) { method length (line 59349) | length(len, message) { method nonempty (line 59359) | nonempty(message) { method trim (line 59362) | trim() { method toLowerCase (line 59368) | toLowerCase() { method toUpperCase (line 59374) | toUpperCase() { method isDatetime (line 59380) | get isDatetime() { method isDate (line 59383) | get isDate() { method isTime (line 59386) | get isTime() { method isDuration (line 59389) | get isDuration() { method isEmail (line 59392) | get isEmail() { method isURL (line 59395) | get isURL() { method isEmoji (line 59398) | get isEmoji() { method isUUID (line 59401) | get isUUID() { method isNANOID (line 59404) | get isNANOID() { method isCUID (line 59407) | get isCUID() { method isCUID2 (line 59410) | get isCUID2() { method isULID (line 59413) | get isULID() { method isIP (line 59416) | get isIP() { method isCIDR (line 59419) | get isCIDR() { method isBase64 (line 59422) | get isBase64() { method isBase64url (line 59425) | get isBase64url() { method minLength (line 59428) | get minLength() { method maxLength (line 59438) | get maxLength() { function floatSafeRemainder3 (line 59457) | function floatSafeRemainder3(val, step) { method constructor (line 59466) | constructor() { method _parse (line 59472) | _parse(input) { method gte (line 59553) | gte(value, message) { method gt (line 59556) | gt(value, message) { method lte (line 59559) | lte(value, message) { method lt (line 59562) | lt(value, message) { method setLimit (line 59565) | setLimit(kind, value, inclusive, message) { method _addCheck (line 59579) | _addCheck(check2) { method int (line 59585) | int(message) { method positive (line 59591) | positive(message) { method negative (line 59599) | negative(message) { method nonpositive (line 59607) | nonpositive(message) { method nonnegative (line 59615) | nonnegative(message) { method multipleOf (line 59623) | multipleOf(value, message) { method finite (line 59630) | finite(message) { method safe (line 59636) | safe(message) { method minValue (line 59649) | get minValue() { method maxValue (line 59659) | get maxValue() { method isInt (line 59669) | get isInt() { method isFinite (line 59672) | get isFinite() { method constructor (line 59698) | constructor() { method _parse (line 59703) | _parse(input) { method _getInvalidInput (line 59760) | _getInvalidInput(input) { method gte (line 59769) | gte(value, message) { method gt (line 59772) | gt(value, message) { method lte (line 59775) | lte(value, message) { method lt (line 59778) | lt(value, message) { method setLimit (line 59781) | setLimit(kind, value, inclusive, message) { method _addCheck (line 59795) | _addCheck(check2) { method positive (line 59801) | positive(message) { method negative (line 59809) | negative(message) { method nonpositive (line 59817) | nonpositive(message) { method nonnegative (line 59825) | nonnegative(message) { method multipleOf (line 59833) | multipleOf(value, message) { method minValue (line 59840) | get minValue() { method maxValue (line 59850) | get maxValue() { method _parse (line 59870) | _parse(input) { method _parse (line 59895) | _parse(input) { method _addCheck (line 59954) | _addCheck(check2) { method min (line 59960) | min(minDate, message) { method max (line 59967) | max(maxDate, message) { method minDate (line 59974) | get minDate() { method maxDate (line 59984) | get maxDate() { method _parse (line 60004) | _parse(input) { method _parse (line 60025) | _parse(input) { method _parse (line 60046) | _parse(input) { method constructor (line 60067) | constructor() { method _parse (line 60071) | _parse(input) { method constructor (line 60082) | constructor() { method _parse (line 60086) | _parse(input) { method _parse (line 60097) | _parse(input) { method _parse (line 60114) | _parse(input) { method _parse (line 60135) | _parse(input) { method element (line 60200) | get element() { method min (line 60203) | min(minLength, message) { method max (line 60209) | max(maxLength, message) { method length (line 60215) | length(len, message) { method nonempty (line 60221) | nonempty(message) { function deepPartialify2 (line 60235) | function deepPartialify2(schema) { method constructor (line 60262) | constructor() { method _getCached (line 60268) | _getCached() { method _parse (line 60276) | _parse(input) { method shape (line 60362) | get shape() { method strict (line 60365) | strict(message) { method strip (line 60384) | strip() { method passthrough (line 60390) | passthrough() { method extend (line 60413) | extend(augmentation) { method merge (line 60427) | merge(merging) { method setKey (line 60474) | setKey(key, schema) { method catchall (line 60498) | catchall(index) { method pick (line 60504) | pick(mask) { method omit (line 60516) | omit(mask) { method deepPartial (line 60531) | deepPartial() { method partial (line 60534) | partial(mask) { method required (line 60549) | required(mask) { method keyof (line 60568) | keyof() { method _parse (line 60600) | _parse(input) { method options (line 60679) | get options() { method _parse (line 60722) | _parse(input) { method discriminator (line 60757) | get discriminator() { method options (line 60760) | get options() { method optionsMap (line 60763) | get optionsMap() { method create (line 60774) | static create(discriminator, options, params) { function mergeValues3 (line 60797) | function mergeValues3(a, b) { method _parse (line 60836) | _parse(input) { method _parse (line 60889) | _parse(input) { method items (line 60934) | get items() { method rest (line 60937) | rest(rest) { method keySchema (line 60956) | get keySchema() { method valueSchema (line 60959) | get valueSchema() { method _parse (line 60962) | _parse(input) { method element (line 60988) | get element() { method create (line 60991) | static create(first, second, third) { method keySchema (line 61009) | get keySchema() { method valueSchema (line 61012) | get valueSchema() { method _parse (line 61015) | _parse(input) { method _parse (line 61075) | _parse(input) { method min (line 61131) | min(minSize, message) { method max (line 61137) | max(maxSize, message) { method size (line 61143) | size(size, message) { method nonempty (line 61146) | nonempty(message) { method constructor (line 61160) | constructor() { method _parse (line 61164) | _parse(input) { method parameters (line 61229) | parameters() { method returnType (line 61232) | returnType() { method args (line 61235) | args(...items) { method returns (line 61241) | returns(returnType) { method implement (line 61247) | implement(func) { method strictImplement (line 61251) | strictImplement(func) { method create (line 61255) | static create(args, returns, params) { method schema (line 61265) | get schema() { method _parse (line 61268) | _parse(input) { method _parse (line 61282) | _parse(input) { method value (line 61294) | get value() { function createZodEnum2 (line 61305) | function createZodEnum2(values, params) { method _parse (line 61313) | _parse(input) { method options (line 61339) | get options() { method enum (line 61342) | get enum() { method Values (line 61349) | get Values() { method Enum (line 61356) | get Enum() { method extract (line 61363) | extract(values, newDef = this._def) { method exclude (line 61369) | exclude(values, newDef = this._def) { method _parse (line 61378) | _parse(input) { method enum (line 61404) | get enum() { method unwrap (line 61416) | unwrap() { method _parse (line 61419) | _parse(input) { method innerType (line 61446) | innerType() { method sourceType (line 61449) | sourceType() { method _parse (line 61452) | _parse(input) { method _parse (line 61585) | _parse(input) { method unwrap (line 61592) | unwrap() { method _parse (line 61604) | _parse(input) { method unwrap (line 61611) | unwrap() { method _parse (line 61623) | _parse(input) { method removeDefault (line 61635) | removeDefault() { method _parse (line 61648) | _parse(input) { method removeCatch (line 61688) | removeCatch() { method _parse (line 61701) | _parse(input) { method _parse (line 61723) | _parse(input) { method unwrap (line 61732) | unwrap() { method _parse (line 61737) | _parse(input) { method create (line 61783) | static create(a, b) { method _parse (line 61792) | _parse(input) { method unwrap (line 61802) | unwrap() { function cleanParams (line 61813) | function cleanParams(params, data) { function custom2 (line 61818) | function custom2(check2, _params = {}, fatal) { function resolveDevContainerContext (line 61958) | function resolveDevContainerContext(workspaceRoot) { function hostPathToContainerPath (line 61990) | function hostPathToContainerPath(filePath, context) { function containerPathToHostPath (line 62005) | function containerPathToHostPath(filePath, context) { function hostUriToContainerUri (line 62019) | function hostUriToContainerUri(uri, context) { function containerUriToHostUri (line 62025) | function containerUriToHostUri(uri, context) { function resolveDevContainerConfigPath (line 62031) | function resolveDevContainerConfigPath(workspaceRoot) { function resolveDevContainerConfigPathAt (line 62045) | function resolveDevContainerConfigPathAt(dir) { function deriveHostDevContainerRoot (line 62061) | function deriveHostDevContainerRoot(configFilePath) { function readDevContainerConfig (line 62076) | function readDevContainerConfig(configFilePath) { function listRunningContainerIds (line 62087) | function listRunningContainerIds() { function inspectContainer (line 62095) | function inspectContainer(containerId) { function buildContextFromContainer (line 62112) | function buildContextFromContainer(containerId, hostWorkspaceRoot, confi... function buildContextFromInspect (line 62119) | function buildContextFromInspect(inspect, hostWorkspaceRoot, configFileP... function deriveContainerWorkspaceRoot (line 62131) | function deriveContainerWorkspaceRoot(inspect, hostWorkspaceRoot, worksp... function scoreContainerMatch (line 62159) | function scoreContainerMatch(inspect, hostWorkspaceRoot, configFilePath) { function normalizeContainerPath (line 62184) | function normalizeContainerPath(filePath) { function containerPathToFileUri (line 62187) | function containerPathToFileUri(filePath) { function runDocker (line 62192) | function runDocker(args) { function commandExists (line 62343) | function commandExists(command) { function getServerForFile (line 62349) | function getServerForFile(filePath) { function getAllServers (line 62358) | function getAllServers() { function getLspRequestTimeout (line 62369) | function getLspRequestTimeout(serverConfig, method, baseTimeout = DEFAUL... function readPositiveIntEnv (line 62375) | function readPositiveIntEnv(name, fallback) { function fileUri (line 62383) | function fileUri(filePath) { method constructor (line 62400) | constructor(workspaceRoot, serverConfig, devContainerContext = null) { method connect (line 62408) | async connect() { method forceKill (line 62454) | forceKill() { method disconnect (line 62471) | async disconnect() { method rejectPendingRequests (line 62496) | rejectPendingRequests(error2) { method handleData (line 62506) | handleData(data) { method handleMessage (line 62541) | handleMessage(message) { method handleNotification (line 62560) | handleNotification(notification) { method request (line 62574) | async request(method, params, timeout) { method notify (line 62606) | notify(method, params) { method initialize (line 62622) | async initialize() { method openDocument (line 62648) | async openDocument(filePath) { method closeDocument (line 62671) | closeDocument(filePath) { method getLanguageId (line 62683) | getLanguageId(filePath) { method prepareDocument (line 62729) | async prepareDocument(filePath) { method hover (line 62737) | async hover(filePath, line, character) { method definition (line 62748) | async definition(filePath, line, character) { method references (line 62759) | async references(filePath, line, character, includeDeclaration = true) { method documentSymbols (line 62771) | async documentSymbols(filePath) { method workspaceSymbols (line 62781) | async workspaceSymbols(query) { method getDiagnostics (line 62788) | getDiagnostics(filePath) { method waitForDiagnostics (line 62798) | waitForDiagnostics(filePath, timeoutMs = 2e3) { method prepareRename (line 62826) | async prepareRename(filePath, line, character) { method rename (line 62842) | async rename(filePath, line, character, newName) { method codeActions (line 62854) | async codeActions(filePath, range, diagnostics = []) { method getServerWorkspaceRoot (line 62863) | getServerWorkspaceRoot() { method getWorkspaceRootUri (line 62866) | getWorkspaceRootUri() { method toServerUri (line 62869) | toServerUri(uri) { method toHostUri (line 62872) | toHostUri(uri) { method translateIncomingPayload (line 62875) | translateIncomingPayload(value) { method translateIncomingValue (line 62881) | translateIncomingValue(value) { method constructor (line 62915) | constructor() { method registerCleanupHandlers (line 62924) | registerCleanupHandlers() { method getClientForFile (line 62952) | async getClientForFile(filePath) { method runWithClientLease (line 62978) | async runWithClientLease(filePath, fn) { method touchClient (line 63010) | touchClient(key) { method scheduleIdleDeadline (line 63014) | scheduleIdleDeadline(key) { method clearIdleDeadline (line 63025) | clearIdleDeadline(key) { method findWorkspaceRoot (line 63036) | findWorkspaceRoot(filePath) { method startIdleCheck (line 63057) | startIdleCheck() { method evictIdleClients (line 63070) | evictIdleClients() { method evictClientIfIdle (line 63075) | evictClientIfIdle(key) { method disconnectAll (line 63108) | async disconnectAll() { method getInFlightCount (line 63133) | getInFlightCount(key) { method clientCount (line 63137) | get clientCount() { method triggerEviction (line 63141) | triggerEviction() { function uriToPath (line 63184) | function uriToPath(uri) { function formatPosition (line 63194) | function formatPosition(line, character) { function formatRange (line 63197) | function formatRange(range) { function formatLocation (line 63202) | function formatLocation(location) { function formatHover (line 63211) | function formatHover(hover) { function formatLocations (line 63231) | function formatLocations(locations) { function formatDocumentSymbols (line 63237) | function formatDocumentSymbols(symbols, indent = 0) { function formatWorkspaceSymbols (line 63257) | function formatWorkspaceSymbols(symbols) { function formatDiagnostics (line 63268) | function formatDiagnostics(diagnostics, filePath) { function formatCodeActions (line 63281) | function formatCodeActions(actions) { function formatWorkspaceEdit (line 63290) | function formatWorkspaceEdit(edit) { function countEdits (line 63317) | function countEdits(edit) { function runTscDiagnostics (line 63340) | function runTscDiagnostics(directory) { function parseTscOutput (line 63367) | function parseTscOutput(output) { function findFiles (line 63394) | function findFiles(directory, extensions, ignoreDirs = []) { function runLspAggregatedDiagnostics (line 63425) | async function runLspAggregatedDiagnostics(directory, extensions = [".ts... function runDirectoryDiagnostics (line 63460) | async function runDirectoryDiagnostics(directory, strategy = "auto") { function formatTscResult (line 63475) | function formatTscResult(result) { function formatLspResult (line 63511) | function formatLspResult(result) { function withLspClient (line 63545) | async function withLspClient(filePath, operation, fn) { function getSgModule (line 63922) | async function getSgModule() { function toLangEnum (line 63942) | function toLangEnum(sg, language) { function getFilesForLanguage (line 64018) | function getFilesForLanguage(dirPath, language, maxFiles = 1e3) { function formatMatch (line 64063) | function formatMatch(filePath, matchText, startLine, endLine, context, f... method constructor (line 64376) | constructor(lockPath, timeout, lastHolder) { method constructor (line 64387) | constructor(message) { function isValidPid (line 64392) | function isValidPid(pid) { function getCurrentProcessStartTime (line 64395) | async function getCurrentProcessStartTime() { function isProcessAlive2 (line 64398) | async function isProcessAlive2(pid, recordedStartTime) { function isWindowsProcessAlive (line 64441) | async function isWindowsProcessAlive(pid) { function isWindowsProcessAlivePowerShell (line 64449) | async function isWindowsProcessAlivePowerShell(pid) { function openNoFollow (line 64466) | async function openNoFollow(filePath, flags, mode) { function readFileNoFollow (line 64478) | async function readFileNoFollow(filePath) { function readLockFile (line 64494) | async function readLockFile(lockPath) { function createLockInfo (line 64506) | async function createLockInfo(lockId) { function canBreakLock (line 64515) | async function canBreakLock(lockInfo) { method constructor (line 64531) | constructor(sessionId) { method acquire (line 64542) | async acquire(timeout = DEFAULT_ACQUIRE_TIMEOUT_MS) { method tryAcquire (line 64564) | async tryAcquire() { method release (line 64625) | async release() { method forceBreak (line 64645) | async forceBreak() { method isHeld (line 64659) | isHeld() { method getLockPath (line 64665) | getLockPath() { method getLockInfo (line 64671) | getLockInfo() { function sleep (line 64675) | function sleep(ms) { method constructor (line 64683) | constructor(message, socketPath, originalError) { method constructor (line 64691) | constructor(message, timeoutMs) { method constructor (line 64698) | constructor(message, code, data) { function sendSocketRequest (line 64705) | async function sendSocketRequest(socketPath, method, params, timeout = 6... function getNextExecutionCount (line 64869) | function getNextExecutionCount(sessionId) { function formatExecuteResult (line 64875) | function formatExecuteResult(result, sessionId, executionLabel, executio... function formatStateResult (line 64931) | function formatStateResult(result, sessionId) { function formatResetResult (line 64958) | function formatResetResult(result, sessionId) { function formatInterruptResult (line 64971) | function formatInterruptResult(result, sessionId) { function formatLockTimeoutError (line 64986) | function formatLockTimeoutError(error2, sessionId) { function formatSocketError (line 65007) | function formatSocketError(error2, sessionId) { function formatGeneralError (line 65021) | function formatGeneralError(error2, sessionId, action) { function handleExecute (line 65031) | async function handleExecute(sessionId, socketPath, code, executionTimeo... function handleReset (line 65071) | async function handleReset(sessionId, socketPath) { function handleGetState (line 65088) | async function handleGetState(sessionId, socketPath) { function handleInterrupt (line 65108) | async function handleInterrupt(sessionId, socketPath, gracePeriodMs = 5e... function pythonReplHandler (line 65136) | async function pythonReplHandler(input) { function validateProjectRoot (line 65312) | function validateProjectRoot(input) { function formatSkillOutput (line 65333) | function formatSkillOutput(skills) { function measureDepth (line 65436) | function measureDepth(value, current = 0, maxAllowed) { function validatePayload (line 65450) | function validatePayload(payload, limits = {}) { function readTeamNamesFromStateFile (line 65504) | function readTeamNamesFromStateFile(statePath) { function pruneMissionBoardTeams (line 65514) | function pruneMissionBoardTeams(root2, teamNames) { function cleanupTeamRuntimeState (line 65541) | function cleanupTeamRuntimeState(root2, teamNames) { function getStatePath (line 65564) | function getStatePath(mode, root2) { function getLegacyStateFileCandidates (line 65570) | function getLegacyStateFileCandidates(mode, root2) { function clearLegacyStateCandidates (line 65578) | function clearLegacyStateCandidates(mode, root2, sessionId) { function createSectionRegexSet (line 66325) | function createSectionRegexSet(header) { function getSectionRegexSet (line 66332) | function getSectionRegexSet(header) { function getNotepadPath (line 66335) | function getNotepadPath(directory) { function initNotepad (line 66338) | function initNotepad(directory) { function readNotepad (line 66371) | function readNotepad(directory) { function extractSection (line 66382) | function extractSection(content, header) { function replaceSection (line 66391) | function replaceSection(content, header, newContent) { function getPriorityContext (line 66399) | function getPriorityContext(directory) { function getWorkingMemory (line 66406) | function getWorkingMemory(directory) { function getManualSection (line 66413) | function getManualSection(directory) { function setPriorityContext (line 66420) | function setPriorityContext(directory, content, config2 = DEFAULT_CONFIG... function addWorkingMemoryEntry (line 66439) | function addWorkingMemoryEntry(directory, content) { function addManualEntry (line 66468) | function addManualEntry(directory, content) { function pruneOldEntries (line 66493) | function pruneOldEntries(directory, daysOld = DEFAULT_CONFIG2.workingMem... function getNotepadStats (line 66536) | function getNotepadStats(directory) { function formatFullNotepad (line 66572) | function formatFullNotepad(directory) { function getMemoryPath (line 66887) | function getMemoryPath(projectRoot) { function loadProjectMemory (line 66890) | async function loadProjectMemory(projectRoot) { function saveProjectMemory (line 66903) | async function saveProjectMemory(projectRoot, memory) { function withProjectMemoryLock (line 66914) | async function withProjectMemoryLock(projectRoot, fn) { function addDirective (line 66934) | function addDirective(directives, newDirective) { function withMutex (line 66955) | function withMutex(projectRoot, fn) { function addCustomNote (line 66967) | async function addCustomNote(projectRoot, category, content) { function isPlainObject3 (line 66993) | function isPlainObject3(value) { function deepMerge3 (line 66996) | function deepMerge3(base, incoming) { function mergeArrays (line 67017) | function mergeArrays(fieldName, base, incoming) { function mergeByKey (line 67061) | function mergeByKey(base, incoming, keyFn, resolve17) { function mergeScalarArray (line 67077) | function mergeScalarArray(base, incoming) { function mergeProjectMemory (line 67089) | function mergeProjectMemory(existing, incoming) { function getClaudeConfigDir2 (line 67325) | function getClaudeConfigDir2() { function compactWhitespace (line 67328) | function compactWhitespace(text) { function normalizeForSearch (line 67331) | function normalizeForSearch(value, caseSensitive) { function parseSinceSpec (line 67335) | function parseSinceSpec(since) { function encodeProjectPath (line 67355) | function encodeProjectPath(projectPath) { function getMainRepoRoot (line 67358) | function getMainRepoRoot(projectRoot) { function getClaudeWorktreeParent (line 67372) | function getClaudeWorktreeParent(projectRoot) { function listJsonlFiles (line 67379) | function listJsonlFiles(rootDir) { function uniqueSortedTargets (line 67406) | function uniqueSortedTargets(targets) { function buildCurrentProjectTargets (line 67419) | function buildCurrentProjectTargets(projectRoot) { function buildAllProjectTargets (line 67452) | function buildAllProjectTargets() { function isWithinProject (line 67463) | function isWithinProject(projectPath, projectRoots) { function matchesProjectFilter (line 67473) | function matchesProjectFilter(projectPath, projectFilter) { function stringLeaves (line 67482) | function stringLeaves(value, maxLeaves = 24) { function extractTranscriptTexts (line 67504) | function extractTranscriptTexts(entry) { function buildTranscriptEntry (line 67534) | function buildTranscriptEntry(entry) { function buildJsonArtifactEntry (line 67554) | function buildJsonArtifactEntry(entry, sourceType) { function buildSearchableEntry (line 67573) | function buildSearchableEntry(entry, sourceType) { function findMatchIndex (line 67582) | function findMatchIndex(text, query, caseSensitive) { function createExcerpt (line 67596) | function createExcerpt(text, matchIndex, contextChars) { function buildScopeMode (line 67608) | function buildScopeMode(project) { function collectMatchesFromFile (line 67613) | async function collectMatchesFromFile(target, options) { function searchSessionHistory (line 67691) | async function searchSessionHistory(rawOptions) { function buildToolJson (line 67744) | function buildToolJson(report) { function findLatestSessionId (line 67783) | function findLatestSessionId(directory) { function formatEventType (line 67796) | function formatEventType(event) { function formatTimelineEvent (line 67814) | function formatTimelineEvent(event) { function filterEvents (line 67873) | function filterEvents(events, filter) { function buildExecutionFlow (line 67888) | function buildExecutionFlow(events) { function isSharedMemoryEnabled (line 68141) | function isSharedMemoryEnabled() { function validateNamespace (line 68158) | function validateNamespace(namespace) { function validateKey (line 68169) | function validateKey(key) { function getNamespaceDir (line 68180) | function getNamespaceDir(namespace, worktreeRoot) { function getEntryPath (line 68185) | function getEntryPath(namespace, key, worktreeRoot) { function ensureNamespaceDir (line 68189) | function ensureNamespaceDir(namespace, worktreeRoot) { function isExpired (line 68196) | function isExpired(entry) { function writeEntry (line 68200) | function writeEntry(namespace, key, value, ttl, worktreeRoot) { function readEntry (line 68241) | function readEntry(namespace, key, worktreeRoot) { function listEntries (line 68260) | function listEntries(namespace, worktreeRoot) { function deleteEntry (line 68285) | function deleteEntry(namespace, key, worktreeRoot) { function cleanupExpired (line 68297) | function cleanupExpired(namespace, worktreeRoot) { function listNamespaces (line 68345) | function listNamespaces(worktreeRoot) { function disabledResponse (line 68359) | function disabledResponse() { function errorResponse (line 68365) | function errorResponse(msg) { function getInteropDir (line 68615) | function getInteropDir(cwd2) { function initInteropSession (line 68618) | function initInteropSession(sessionId, omcCwd, omxCwd) { function addSharedTask (line 68634) | function addSharedTask(cwd2, task) { function readSharedTasks (line 68650) | function readSharedTasks(cwd2, filter) { function addSharedMessage (line 68674) | function addSharedMessage(cwd2, message) { function readSharedMessages (line 68690) | function readSharedMessages(cwd2, filter) { function markMessageAsRead (line 68714) | function markMessageAsRead(cwd2, messageId) { function omxStateDir (line 68767) | function omxStateDir(cwd2) { function teamDir (line 68770) | function teamDir(teamName, cwd2) { function mailboxPath (line 68773) | function mailboxPath(teamName, workerName2, cwd2) { function taskFilePath (line 68776) | function taskFilePath(teamName, taskId, cwd2) { function eventLogPath (line 68779) | function eventLogPath(teamName, cwd2) { function listOmxTeams (line 68782) | async function listOmxTeams(cwd2) { function readOmxTeamConfig (line 68792) | async function readOmxTeamConfig(teamName, cwd2) { function readOmxMailbox (line 68827) | async function readOmxMailbox(teamName, workerName2, cwd2) { function listOmxMailboxMessages (line 68841) | async function listOmxMailboxMessages(teamName, workerName2, cwd2) { function sendOmxDirectMessage (line 68845) | async function sendOmxDirectMessage(teamName, fromWorker, toWorker, body... function broadcastOmxMessage (line 68870) | async function broadcastOmxMessage(teamName, fromWorker, body, cwd2) { function readOmxTask (line 68880) | async function readOmxTask(teamName, taskId, cwd2) { function listOmxTasks (line 68894) | async function listOmxTasks(teamName, cwd2) { function appendOmxTeamEvent (line 68912) | async function appendOmxTeamEvent(teamName, event, cwd2) { function getInteropMode (line 68927) | function getInteropMode(env2 = process.env) { function canUseOmxDirectWriteBridge (line 68934) | function canUseOmxDirectWriteBridge(env2 = process.env) { function getInteropTools (line 69404) | function getInteropTools() { function isExcluded (line 69467) | function isExcluded(name) { function scanDirectories (line 69470) | function scanDirectories(projectRoot) { function loadManifest (line 69525) | function loadManifest(manifestPath) { function computeDiff (line 69537) | function computeDiff(previous, current) { function resolveManifestPath (line 69606) | function resolveManifestPath(root2) { function handleDiff (line 69609) | function handleDiff(root2, mode) { function handleSave (line 69626) | function handleSave(root2, dryRun) { function handleCheck (line 69660) | function handleCheck(root2) { function tagCategory (line 69729) | function tagCategory(tools, category) { function parseDisabledGroups (line 69750) | function parseDisabledGroups(envValue) { function getOmcToolNames (line 69798) | function getOmcToolNames(options) { function removeCodeBlocks (line 69834) | function removeCodeBlocks(text) { function isInformationalKeywordContext (line 69844) | function isInformationalKeywordContext(text, position, keywordLength) { function escapeRegExp (line 69850) | function escapeRegExp(s) { function hasActionableTrigger (line 69853) | function hasActionableTrigger(text, trigger) { function isPlannerAgent (line 69915) | function isPlannerAgent(agentName) { function getUltraworkMessage (line 69920) | function getUltraworkMessage(agentName) { function removeTriggerWords (line 70120) | function removeTriggerWords(prompt, triggers) { function createMagicKeywordProcessor (line 70134) | function createMagicKeywordProcessor(config2) { function detectMagicKeywords (line 70175) | function detectMagicKeywords(prompt, config2) { function shouldRunInBackground (line 70269) | function shouldRunInBackground(command, currentBackgroundCount = 0, maxB... function createBackgroundTaskManager (line 70313) | function createBackgroundTaskManager(state, config2) { function getBackgroundTaskGuidance (line 70367) | function getBackgroundTaskGuidance(maxBackgroundTasks = DEFAULT_MAX_BACK... function countWords (line 70547) | function countWords(text) { function detectEscapeHatch (line 70550) | function detectEscapeHatch(text) { function hasSmallTaskSignals (line 70559) | function hasSmallTaskSignals(text) { function hasLargeTaskSignals (line 70562) | function hasLargeTaskSignals(text) { function classifyTaskSize (line 70565) | function classifyTaskSize(text, thresholds = DEFAULT_THRESHOLDS) { function isHeavyMode (line 70626) | function isHeavyMode(keywordType) { function removeCodeBlocks2 (line 70670) | function removeCodeBlocks2(text) { function sanitizeForKeywordDetection (line 70680) | function sanitizeForKeywordDetection(text) { function isInformationalKeywordContext2 (line 70695) | function isInformationalKeywordContext2(text, position, keywordLength) { function findActionableKeywordMatch (line 70701) | function findActionableKeywordMatch(text, pattern) { function detectKeywordsWithType (line 70719) | function detectKeywordsWithType(text, _agentName) { function getAllKeywords (line 70737) | function getAllKeywords(text) { function getAllKeywordsWithSizeCheck (line 70747) | function getAllKeywordsWithSizeCheck(text, options = {}) { function isUnderspecifiedForExecution (line 70817) | function isUnderspecifiedForExecution(text) { function applyRalplanGate (line 70829) | function applyRalplanGate(keywords, text) { function getBoulderFilePath (line 71036) | function getBoulderFilePath(directory) { function readBoulderState (line 71039) | function readBoulderState(directory) { function getPlanProgress (line 71051) | function getPlanProgress(planPath) { function logAuditEntry (line 71077) | function logAuditEntry(entry) { function getEnforcementLevel (line 71096) | function getEnforcementLevel(directory) { function isAllowedPath (line 71121) | function isAllowedPath(filePath, directory) { function isSourceFile (line 71136) | function isSourceFile(filePath) { function isWriteEditTool (line 71141) | function isWriteEditTool(toolName) { function isDelegationToolName (line 71144) | function isDelegationToolName(toolName) { function getGitDiffStats (line 71148) | function getGitDiffStats(directory) { function formatFileChanges (line 71193) | function formatFileChanges(stats) { function buildVerificationReminder (line 71222) | function buildVerificationReminder(sessionId) { function buildOrchestratorReminder (line 71234) | function buildOrchestratorReminder(planName, progress, sessionId) { function processRememberTags (line 71247) | function processRememberTags(output, directory) { function suggestAgentForFile (line 71263) | function suggestAgentForFile(filePath) { function processOrchestratorPreTool (line 71280) | function processOrchestratorPreTool(input) { function processOrchestratorPostTool (line 71330) | function processOrchestratorPostTool(input, output) { function hasSnakeCaseKeys (line 71445) | function hasSnakeCaseKeys(obj) { function isAlreadyCamelCase (line 71451) | function isAlreadyCamelCase(obj) { function normalizeHookInput (line 71462) | function normalizeHookInput(raw, hookType) { function filterPassthrough (line 71513) | function filterPassthrough(input, hookType) { function addBackgroundTask (line 71554) | function addBackgroundTask(id, description, agentType, directory) { function completeBackgroundTask (line 71572) | function completeBackgroundTask(id, directory, failed = false) { function remapBackgroundTaskId (line 71590) | function remapBackgroundTaskId(currentId, nextId, directory) { function findMostRecentMatchingRunningTask (line 71614) | function findMostRecentMatchingRunningTask(state, description, agentType) { function completeMostRecentMatchingBackgroundTask (line 71619) | function completeMostRecentMatchingBackgroundTask(description, directory... function remapMostRecentMatchingBackgroundTaskId (line 71637) | function remapMostRecentMatchingBackgroundTaskId(description, nextId, di... function cleanupTasks (line 71658) | function cleanupTasks(state) { function getRunningTaskCount (line 71682) | function getRunningTaskCount(directory) { function getExtraField (line 71743) | function getExtraField(input, key) { function getHookToolUseId (line 71746) | function getHookToolUseId(input) { function extractAsyncAgentId (line 71750) | function extractAsyncAgentId(toolOutput) { function parseTaskOutputLifecycle (line 71756) | function parseTaskOutputLifecycle(toolOutput) { function taskOutputDidFail (line 71767) | function taskOutputDidFail(status) { function taskLaunchDidFail (line 71770) | function taskLaunchDidFail(toolOutput) { function getModeStatePaths (line 71777) | function getModeStatePaths(directory, modeName, sessionId) { function updateModeAwaitingConfirmation (line 71785) | function updateModeAwaitingConfirmation(directory, modeName, sessionId, ... function markModeAwaitingConfirmation (line 71809) | function markModeAwaitingConfirmation(directory, sessionId, ...modeNames) { function confirmSkillModeStates (line 71814) | function confirmSkillModeStates(directory, skillName, sessionId) { function getSkillInvocationArgs (line 71819) | function getSkillInvocationArgs(toolInput) { function isConsensusPlanningSkillInvocation (line 71836) | function isConsensusPlanningSkillInvocation(skillName, toolInput) { function activateRalplanState (line 71848) | function activateRalplanState(directory, sessionId) { function readTeamStagedState (line 71861) | function readTeamStagedState(directory, sessionId) { function getTeamStage (line 71889) | function getTeamStage(state) { function getTeamStageForEnforcement (line 71892) | function getTeamStageForEnforcement(state) { function readTeamStopBreakerCount (line 71907) | function readTeamStopBreakerCount(directory, sessionId) { function writeTeamStopBreakerCount (line 71927) | function writeTeamStopBreakerCount(directory, sessionId, count) { function isTeamStateTerminal (line 71954) | function isTeamStateTerminal(state) { function getTeamStagePrompt (line 71962) | function getTeamStagePrompt(stage) { function teamWorkerIdentityFromEnv (line 71978) | function teamWorkerIdentityFromEnv(env2 = process.env) { function workerBashBlockReason (line 71984) | function workerBashBlockReason(command) { function requiredKeysForHook (line 71997) | function requiredKeysForHook(hookType) { function validateHookInput (line 72012) | function validateHookInput(input, requiredFields, hookType) { function isDelegationToolName2 (line 72026) | function isDelegationToolName2(toolName) { function getPromptText (line 72030) | function getPromptText(input) { function processKeywordDetector (line 72042) | async function processKeywordDetector(input) { function processStopContinuation (line 72224) | async function processStopContinuation(_input) { function processPersistentMode (line 72227) | async function processPersistentMode(input) { function processSessionStart (line 72328) | async function processSessionStart(input) { function dispatchAskUserQuestionNotification (line 72523) | function dispatchAskUserQuestionNotification(sessionId, directory, toolI... function processPreToolUse (line 72551) | function processPreToolUse(input) { function getInvokedSkillName (line 72774) | function getInvokedSkillName(toolInput) { function getRawSkillName (line 72787) | function getRawSkillName(toolInput) { function processPostToolUse (line 72793) | async function processPostToolUse(input) { function processAutopilot (line 72921) | async function processAutopilot(input) { function getSkipHooks (line 72947) | function getSkipHooks() { function processHook (line 72953) | async function processHook(hookType, rawInput) { function main (line 73139) | async function main() { function isMainModule (line 73166) | function isMainModule() { function stripOptionalQuotes (line 73339) | function stripOptionalQuotes(value) { function parseFrontmatter (line 73346) | function parseFrontmatter(content) { function parseFrontmatterAliases (line 73363) | function parseFrontmatterAliases(rawAliases) { function parseFrontmatterList (line 73375) | function parseFrontmatterList(rawValue) { function normalizeSkillReference (line 73392) | function normalizeSkillReference(value) { function uniqueStrings (line 73398) | function uniqueStrings(values) { function parseSkillPipelineMetadata (line 73411) | function parseSkillPipelineMetadata(frontmatter) { function renderSkillPipelineGuidance (line 73428) | function renderSkillPipelineGuidance(skillName, pipeline) { function toDisplayPath (line 73479) | function toDisplayPath(pathValue) { function summarizeSkillResources (line 73486) | function summarizeSkillResources(skillFilePath) { function renderSkillResourcesGuidance (line 73505) | function renderSkillResourcesGuidance(skillFilePath) { function detectSkillRuntimeAvailability (line 73523) | function detectSkillRuntimeAvailability(detector = isCliAvailable) { function normalizeSkillName (line 73530) | function normalizeSkillName(skillName) { function renderDeepInterviewRuntimeGuidance (line 73533) | function renderDeepInterviewRuntimeGuidance(availability) { function renderSkillRuntimeGuidance (line 73548) | function renderSkillRuntimeGuidance(skillName, availability) { function getPackageDir5 (line 73562) | function getPackageDir5() { function toSafeSkillName (line 73595) | function toSafeSkillName(name) { function loadSkillFromFile (line 73599) | function loadSkillFromFile(skillPath, skillName) { function loadSkillsFromDirectory (line 73645) | function loadSkillsFromDirectory() { function createBuiltinSkills (line 73672) | function createBuiltinSkills() { function listBuiltinSkillNames (line 73678) | function listBuiltinSkillNames(options) { function getClaudeCodeStorageDir (line 73704) | function getClaudeCodeStorageDir() { function createOmcSession (line 73944) | function createOmcSession(options) { function checkRateLimitStatus (line 74048) | async function checkRateLimitStatus() { function formatTimeUntilReset (line 74103) | function formatTimeUntilReset(ms) { function formatRateLimitStatus (line 74117) | function formatRateLimitStatus(status) { function isRateLimitStatusDegraded (line 74156) | function isRateLimitStatusDegraded(status) { function shouldMonitorBlockedPanes (line 74159) | function shouldMonitorBlockedPanes(status) { function createMinimalDaemonEnv2 (line 74229) | function createMinimalDaemonEnv2() { function getConfig (line 74238) | function getConfig(config2) { function ensureStateDir6 (line 74241) | function ensureStateDir6(config2) { function writeSecureFile2 (line 74247) | function writeSecureFile2(filePath, content) { function rotateLogIfNeeded2 (line 74257) | function rotateLogIfNeeded2(logPath) { function readDaemonState2 (line 74271) | function readDaemonState2(config2) { function writeDaemonState2 (line 74301) | function writeDaemonState2(state, config2) { function readPidFile2 (line 74305) | function readPidFile2(config2) { function writePidFile2 (line 74316) | function writePidFile2(pid, config2) { function removePidFile2 (line 74320) | function removePidFile2(config2) { function isDaemonRunning2 (line 74325) | function isDaemonRunning2(config2) { function log2 (line 74337) | function log2(message, config2) { function createInitialState (line 74351) | function createInitialState() { function registerDaemonCleanup (line 74365) | function registerDaemonCleanup(config2) { function pollLoop2 (line 74391) | async function pollLoop2(config2) { function startDaemon (line 74465) | function startDaemon(config2) { function runDaemonForeground (line 74529) | async function runDaemonForeground(config2) { function stopDaemon (line 74552) | function stopDaemon(config2) { function getDaemonStatus (line 74590) | function getDaemonStatus(config2) { function detectBlockedPanes (line 74613) | async function detectBlockedPanes(config2) { function waitCommand (line 74642) | async function waitCommand(options) { function waitStatusCommand (line 74702) | async function waitStatusCommand(options) { function waitDaemonCommand (line 74766) | async function waitDaemonCommand(action, options) { function waitDetectCommand (line 74805) | async function waitDetectCommand(options) { function collectHooksFromSettings (line 74838) | function collectHooksFromSettings(settingsPath) { function checkHookConflicts (line 74871) | function checkHookConflicts() { function checkFileForOmcMarkers (line 74887) | function checkFileForOmcMarkers(filePath) { function findCompanionClaudeMdFiles (line 74909) | function findCompanionClaudeMdFiles(configDir) { function checkClaudeMdStatus (line 74916) | function checkClaudeMdStatus() { function checkEnvFlags (line 74964) | function checkEnvFlags() { function checkLegacySkills (line 74972) | function checkLegacySkills() { function checkConfigIssues (line 74991) | function checkConfigIssues() { function runConflictCheck (line 75040) | function runConflictCheck() { function formatReport2 (line 75063) | function formatReport2(report, json) { function doctorConflictsCommand (line 75185) | async function doctorConflictsCommand(options) { function formatTimestamp (line 75192) | function formatTimestamp(timestamp) { function formatSessionSearchReport (line 75197) | function formatSessionSearchReport(report) { function sessionSearchCommand (line 75221) | async function sessionSearchCommand(query, options, logger = console) { function isFiniteInteger (line 75281) | function isFiniteInteger(value) { function parseValidatedTaskIdArray (line 75284) | function parseValidatedTaskIdArray(value, fieldName) { function teamStateExists (line 75301) | function teamStateExists(teamName, candidateCwd) { function parseTeamWorkerEnv (line 75306) | function parseTeamWorkerEnv(raw) { function parseTeamWorkerContextFromEnv (line 75312) | function parseTeamWorkerContextFromEnv(env2 = process.env) { function readTeamStateRootFromEnv (line 75315) | function readTeamStateRootFromEnv(env2 = process.env) { function isRuntimeV2Config (line 75319) | function isRuntimeV2Config(config2) { function isLegacyRuntimeConfig (line 75322) | function isLegacyRuntimeConfig(config2) { function executeTeamCleanupViaRuntime (line 75325) | async function executeTeamCleanupViaRuntime(teamName, cwd2) { function readTeamStateRootFromFile (line 75344) | function readTeamStateRootFromFile(path22) { function stateRootToWorkingDirectory (line 75353) | function stateRootToWorkingDirectory(stateRoot2) { function resolveTeamWorkingDirectoryFromMetadata (line 75374) | function resolveTeamWorkingDirectoryFromMetadata(teamName, candidateCwd,... function resolveTeamWorkingDirectory (line 75389) | function resolveTeamWorkingDirectory(teamName, preferredCwd) { function normalizeTeamName (line 75415) | function normalizeTeamName(toolOrOperationName) { function resolveTeamApiOperation (line 75420) | function resolveTeamApiOperation(name) { function resolveInstructionStateRoot (line 75427) | function resolveInstructionStateRoot(worktreePath) { function queuedForHookDispatch (line 75430) | function queuedForHookDispatch() { function notifyMailboxTarget (line 75437) | async function notifyMailboxTarget(teamName, toWorker, triggerMessage, c... function findWorkerDispatchTarget (line 75459) | function findWorkerDispatchTarget(teamName, toWorker, cwd2) { function findMailboxDispatchRequestId (line 75469) | async function findMailboxDispatchRequestId(teamName, workerName2, messa... function syncMailboxDispatchNotified (line 75478) | async function syncMailboxDispatchNotified(teamName, workerName2, messag... function syncMailboxDispatchDelivered (line 75491) | async function syncMailboxDispatchDelivered(teamName, workerName2, messa... function validateCommonFields (line 75510) | function validateCommonFields(args) { function executeTeamApiOperation (line 75526) | async function executeTeamApiOperation(operation, args, fallbackCwd) { function resolveTeamFanoutLimit (line 76050) | function resolveTeamFanoutLimit(requestedWorkerCount, _explicitAgentType... function splitTaskString (line 76058) | function splitTaskString(task) { function slugifyTask (line 76094) | function slugifyTask(task) { function getTeamWorkerIdentityFromEnv (line 76097) | function getTeamWorkerIdentityFromEnv(env2 = process.env) { function assertTeamSpawnAllowed (line 76103) | async function assertTeamSpawnAllowed(cwd2, env2 = process.env) { function parseTeamArgs (line 76136) | function parseTeamArgs(tokens) { function sampleValueForField (line 76217) | function sampleValueForField(field) { function buildOperationHelp (line 76287) | function buildOperationHelp(operation) { function parseTeamApiArgs (line 76312) | function parseTeamApiArgs(args) { function handleTeamStart (line 76358) | async function handleTeamStart(parsed, cwd2) { function handleTeamStatus (line 76462) | async function handleTeamStatus(teamName, cwd2) { function handleTeamShutdown (line 76510) | async function handleTeamShutdown(teamName, cwd2, force) { function handleTeamApi (line 76522) | async function handleTeamApi(args, cwd2) { function teamCommand (line 76584) | async function teamCommand(args) { function normalizePlanningContext (line 76647) | function normalizePlanningContext(context) { function getRalphthonPrdPath (line 76655) | function getRalphthonPrdPath(directory) { function findRalphthonPrdPath (line 76658) | function findRalphthonPrdPath(directory) { function readRalphthonPrd (line 76665) | function readRalphthonPrd(directory) { function writeRalphthonPrd (line 76679) | function writeRalphthonPrd(directory, prd) { function getRalphthonPrdStatus (line 76703) | function getRalphthonPrdStatus(prd) { function createRalphthonPrd (line 76764) | function createRalphthonPrd(project, branchName, description, stories, c... function initRalphthonPrd (line 76775) | function initRalphthonPrd(directory, project, branchName, description, s... function formatTaskPrompt (line 76786) | function formatTaskPrompt(storyId, task) { function formatHardeningTaskPrompt (line 76794) | function formatHardeningTaskPrompt(task) { function formatHardeningGenerationPrompt (line 76802) | function formatHardeningGenerationPrompt(wave, prd) { function formatRalphthonStatus (line 76823) | function formatRalphthonStatus(prd) { function readRalphthonState (line 76856) | function readRalphthonState(directory, sessionId) { function writeRalphthonState (line 76863) | function writeRalphthonState(directory, state, sessionId) { function clearRalphthonState (line 76871) | function clearRalphthonState(directory, sessionId) { function isPaneIdle (line 76874) | function isPaneIdle(paneId) { function paneExists (line 76887) | function paneExists(paneId) { function sendKeysToPane (line 76895) | function sendKeysToPane(paneId, text) { function detectLeaderIdle (line 76903) | function detectLeaderIdle(paneId, state, config2) { function initOrchestrator (line 76919) | function initOrchestrator(directory, tmuxSession, leaderPaneId, prdPath,... function getNextAction (line 76937) | function getNextAction(directory, sessionId) { function transitionPhase2 (line 76988) | function transitionPhase2(directory, newPhase, sessionId, onEvent) { function startHardeningWave (line 77002) | function startHardeningWave(directory, sessionId, onEvent) { function orchestratorTick (line 77020) | function orchestratorTick(directory, sessionId, onEvent) { function startOrchestratorLoop (line 77079) | function startOrchestratorLoop(directory, sessionId, onEvent) { function parseRalphthonArgs (line 77161) | function parseRalphthonArgs(args) { function buildRalphthonPlanningContext (line 77205) | function buildRalphthonPlanningContext(task) { function buildRalphthonInterviewPrompt (line 77216) | function buildRalphthonInterviewPrompt(task, options) { function buildDefaultSkipInterviewStories (line 77238) | function buildDefaultSkipInterviewStories(task) { function buildDefaultSkipInterviewPrdParams (line 77262) | function buildDefaultSkipInterviewPrdParams(task) { function createEventLogger (line 77271) | function createEventLogger() { function getCurrentTmuxSession2 (line 77328) | function getCurrentTmuxSession2() { function getCurrentTmuxPane (line 77338) | function getCurrentTmuxPane() { function isInsideTmux2 (line 77348) | function isInsideTmux2() { function ralphthonCommand (line 77351) | async function ralphthonCommand(args) { function sleep5 (line 77504) | function sleep5(ms) { method detectFromRemote (line 77521) | detectFromRemote(url) { method viewPR (line 77524) | viewPR(number3, owner, repo) { method viewIssue (line 77548) | viewIssue(number3, owner, repo) { method checkAuth (line 77570) | checkAuth() { method getRequiredCLI (line 77582) | getRequiredCLI() { method detectFromRemote (line 77594) | detectFromRemote(url) { method detectFromApi (line 77601) | async detectFromApi(baseUrl) { method viewPR (line 77609) | viewPR(number3, owner, repo) { method viewIssue (line 77633) | viewIssue(number3, owner, repo) { method checkAuth (line 77655) | checkAuth() { method getRequiredCLI (line 77667) | getRequiredCLI() { function getAuthHeader (line 77674) | function getAuthHeader() { function fetchApi (line 77686) | async function fetchApi(url) { method detectFromRemote (line 77705) | detectFromRemote(url) { method viewPR (line 77708) | async viewPR(number3, owner, repo) { method viewIssue (line 77729) | async viewIssue(number3, owner, repo) { method checkAuth (line 77743) | checkAuth() { method getRequiredCLI (line 77746) | getRequiredCLI() { function stripRefPrefix (line 77753) | function stripRefPrefix(ref) { method detectFromRemote (line 77761) | detectFromRemote(url) { method viewPR (line 77764) | viewPR(number3) { method viewIssue (line 77786) | viewIssue(number3) { method checkAuth (line 77805) | checkAuth() { method getRequiredCLI (line 77817) | getRequiredCLI() { function validateGiteaUrl (line 77824) | function validateGiteaUrl(raw) { method constructor (line 77840) | constructor(options) { method detectFromRemote (line 77844) | detectFromRemote(_url2) { method detectFromApi (line 77847) | async detectFromApi(baseUrl) { method viewPR (line 77860) | viewPR(number3, owner, repo) { method viewPRviaRest (line 77881) | viewPRviaRest(number3, owner, repo) { method viewIssue (line 77907) | viewIssue(number3, owner, repo) { method viewIssueviaRest (line 77926) | viewIssueviaRest(number3, owner, repo) { method checkAuth (line 77947) | checkAuth() { method getRequiredCLI (line 77960) | getRequiredCLI() { function detectProvider (line 77967) | function detectProvider(remoteUrl) { function parseRemoteUrl (line 77995) | function parseRemoteUrl(url) { function initRegistry (line 78068) | function initRegistry() { function getProvider (line 78080) | function getProvider(name) { function parseRef (line 78087) | function parseRef(ref) { function sanitize (line 78217) | function sanitize(str, maxLen = 30) { function getCurrentRepo (line 78220) | function getCurrentRepo() { function fetchProviderInfo (line 78232) | async function fetchProviderInfo(type, number3, provider, owner, repo) { function createWorktree (line 78240) | function createWorktree(repoRoot, worktreePath, branchName, baseBranch) { function teleportCommand (line 78270) | async function teleportCommand(ref, options) { function findWorktreeDirs (line 78399) | function findWorktreeDirs(dir, maxDepth = 3, currentDepth = 0) { function teleportListCommand (line 78422) | async function teleportListCommand(options) { function teleportRemoveCommand (line 78462) | async function teleportRemoveCommand(pathOrName, options) { function isTmuxAvailable2 (line 78544) | function isTmuxAvailable2() { function isClaudeAvailable (line 78552) | function isClaudeAvailable() { function resolveLaunchPolicy (line 78560) | function resolveLaunchPolicy(env2 = process.env, args = []) { function buildTmuxSessionName (line 78571) | function buildTmuxSessionName(cwd2) { function sanitizeTmuxToken (line 78591) | function sanitizeTmuxToken(value) { function buildTmuxShellCommand (line 78595) | function buildTmuxShellCommand(command, args) { function wrapWithLoginShell (line 78598) | function wrapWithLoginShell(command) { function quoteShellArg (line 78605) | function quoteShellArg(value) { function extractNotifyFlag (line 78619) | function extractNotifyFlag(args) { function extractOpenClawFlag (line 78642) | function extractOpenClawFlag(args) { function extractTelegramFlag (line 78659) | function extractTelegramFlag(args) { function extractDiscordFlag (line 78676) | function extractDiscordFlag(args) { function extractSlackFlag (line 78693) | function extractSlackFlag(args) { function extractWebhookFlag (line 78710) | function extractWebhookFlag(args) { function normalizeClaudeLaunchArgs (line 78727) | function normalizeClaudeLaunchArgs(args) { function preLaunch (line 78751) | async function preLaunch(_cwd, _sessionId) { function isPrintMode (line 78753) | function isPrintMode(args) { function runClaude (line 78756) | function runClaude(cwd2, args, sessionId) { function runClaudeInsideTmux (line 78774) | function runClaudeInsideTmux(cwd2, args) { function runClaudeOutsideTmux (line 78790) | function runClaudeOutsideTmux(cwd2, args, _sessionId) { function runClaudeDirect (line 78820) | function runClaudeDirect(cwd2, args) { function postLaunch (line 78832) | async function postLaunch(_cwd, _sessionId) { function launchCommand (line 78834) | async function launchCommand(args) { function readInteropRuntimeFlags (line 78896) | function readInteropRuntimeFlags(env2 = process.env) { function validateInteropRuntimeFlags (line 78906) | function validateInteropRuntimeFlags(flags) { function isCodexAvailable (line 78915) | function isCodexAvailable() { function launchInteropSession (line 78923) | function launchInteropSession(cwd2 = process.cwd()) { function interopCommand (line 79003) | function interopCommand(options = {}) { function askUsageError (line 79030) | function askUsageError(reason) { function warnDeprecatedAlias (line 79034) | function warnDeprecatedAlias(alias, canonical) { function getPackageRoot (line 79038) | function getPackageRoot() { function resolveAskPromptsDir (line 79057) | function resolveAskPromptsDir(cwd2, packageRoot, env2 = process.env) { function resolveAgentPromptContent (line 79074) | async function resolveAgentPromptContent(role, promptsDir) { function parseAskArgs (line 79095) | function parseAskArgs(args) { function resolveAskAdvisorScriptPath (line 79146) | function resolveAskAdvisorScriptPath(packageRoot = getPackageRoot(), env... function resolveSignalExitCode (line 79158) | function resolveSignalExitCode(signal) { function askCommand (line 79166) | async function askCommand(args) { function hasTmuxBinary (line 79210) | function hasTmuxBinary() { function warnIfWin32 (line 79218) | function warnIfWin32() { function contractError (line 79237) | function contractError(message) { function readGit (line 79240) | function readGit(repoPath, args) { function slugifyMissionName (line 79253) | function slugifyMissionName(value) { function ensurePathInside (line 79256) | function ensurePathInside(parentPath, childPath) { function extractFrontmatter (line 79261) | function extractFrontmatter(content) { function parseSimpleYamlFrontmatter (line 79271) | function parseSimpleYamlFrontmatter(frontmatter) { function parseKeepPolicy (line 79306) | function parseKeepPolicy(raw) { function parseSandboxContract (line 79317) | function parseSandboxContract(content) { function parseEvaluatorResult (line 79347) | function parseEvaluatorResult(raw) { function loadAutoresearchMissionContract (line 79366) | async function loadAutoresearchMissionContract(missionDirArg) { function nowIso (line 79408) | function nowIso() { function buildAutoresearchRunTag (line 79411) | function buildAutoresearchRunTag(date3 = /* @__PURE__ */ new Date()) { function buildRunId (line 79415) | function buildRunId(missionSlug, runTag) { function activeRunStateFile (line 79418) | function activeRunStateFile(projectRoot) { function trimContent (line 79421) | function trimContent(value, max = 4e3) { function readGit2 (line 79426) | function readGit2(repoPath, args) { function tryResolveGitCommit (line 79439) | function tryResolveGitCommit(worktreePath, ref) { function writeGitInfoExclude (line 79448) | async function writeGitInfoExclude(worktreePath, pattern) { function ensureRuntimeExcludes (line 79458) | async function ensureRuntimeExcludes(worktreePath) { function ensureAutoresearchWorktreeDependencies (line 79463) | async function ensureAutoresearchWorktreeDependencies(repoRoot, worktree... function readGitShortHead (line 79471) | function readGitShortHead(worktreePath) { function readGitFullHead (line 79474) | function readGitFullHead(worktreePath) { function requireGitSuccess (line 79477) | function requireGitSuccess(worktreePath, args) { function gitStatusLines (line 79485) | function gitStatusLines(worktreePath) { function normalizeGitStatusPath (line 79495) | function normalizeGitStatusPath(path22) { function isAllowedRuntimeDirtyPath (line 79498) | function isAllowedRuntimeDirtyPath(path22) { function allowedBootstrapDirtyPaths (line 79501) | function allowedBootstrapDirtyPaths(worktreePath, allowedDirtyPaths = []) { function isAllowedRuntimeDirtyLine (line 79510) | function isAllowedRuntimeDirtyLine(line, allowedBootstrapPaths) { function assertResetSafeWorktree (line 79517) | function assertResetSafeWorktree(worktreePath, allowedDirtyPaths = []) { function ensureParentDir2 (line 79524) | async function ensureParentDir2(filePath) { function writeJsonFile (line 79527) | async function writeJsonFile(filePath, value) { function readJsonFile2 (line 79532) | async function readJsonFile2(filePath) { function readActiveRunState (line 79535) | async function readActiveRunState(projectRoot) { function writeActiveRunState (line 79540) | async function writeActiveRunState(projectRoot, value) { function assertAutoresearchLockAvailable (line 79543) | async function assertAutoresearchLockAvailable(projectRoot) { function assertModeStartAllowed (line 79549) | async function assertModeStartAllowed(mode, projectRoot) { function activateAutoresearchRun (line 79558) | async function activateAutoresearchRun(manifest) { function deactivateAutoresearchRun (line 79570) | async function deactivateAutoresearchRun(manifest) { function startAutoresearchMode (line 79584) | function startAutoresearchMode(taskDescription, projectRoot) { function updateAutoresearchMode (line 79595) | function updateAutoresearchMode(updates, projectRoot) { function resultPassValue (line 79600) | function resultPassValue(value) { function resultScoreValue (line 79603) | function resultScoreValue(value) { function initializeAutoresearchResultsFile (line 79606) | async function initializeAutoresearchResultsFile(resultsFile) { function appendAutoresearchResultsRow (line 79611) | async function appendAutoresearchResultsRow(resultsFile, row) { function appendAutoresearchLedgerEntry (line 79620) | async function appendAutoresearchLedgerEntry(ledgerFile, entry) { function readAutoresearchLedgerEntries (line 79632) | async function readAutoresearchLedgerEntries(ledgerFile) { function countTrailingAutoresearchNoops (line 79637) | async function countTrailingAutoresearchNoops(ledgerFile) { function formatAutoresearchInstructionSummary (line 79647) | function formatAutoresearchInstructionSummary(entries, maxEntries = 3) { function buildAutoresearchInstructionContext (line 79659) | async function buildAutoresearchInstructionContext(manifest) { function runAutoresearchEvaluator (line 79667) | async function runAutoresearchEvaluator(contract, worktreePath, ledgerFi... function comparableScore (line 79734) | function comparableScore(previousScore, nextScore) { function decideAutoresearchOutcome (line 79737) | function decideAutoresearchOutcome(manifest, candidate, evaluation) { function buildAutoresearchInstructions (line 79818) | function buildAutoresearchInstructions(contract, context) { function materializeAutoresearchMissionToWorktree (line 79885) | async function materializeAutoresearchMissionToWorktree(contract, worktr... function loadAutoresearchRunManifest (line 79899) | async function loadAutoresearchRunManifest(projectRoot, runId) { function writeRunManifest (line 79906) | async function writeRunManifest(manifest) { function writeInstructionsFile (line 79910) | async function writeInstructionsFile(contract, manifest) { function seedBaseline (line 79930) | async function seedBaseline(contract, manifest) { function prepareAutoresearchRuntime (line 79961) | async function prepareAutoresearchRuntime(contract, projectRoot, worktre... function resumeAutoresearchRuntime (line 80087) | async function resumeAutoresearchRuntime(projectRoot, runId) { function parseAutoresearchCandidateArtifact (line 80139) | function parseAutoresearchCandidateArtifact(raw) { function readCandidateArtifact (line 80178) | async function readCandidateArtifact(candidateFile) { function finalizeRun (line 80184) | async function finalizeRun(manifest, projectRoot, updates) { function resetToLastKeptCommit (line 80197) | function resetToLastKeptCommit(manifest) { function validateAutoresearchCandidate (line 80201) | function validateAutoresearchCandidate(manifest, candidate) { function failAutoresearchIteration (line 80246) | async function failAutoresearchIteration(manifest, projectRoot, reason, ... function processAutoresearchCandidate (line 80278) | async function processAutoresearchCandidate(contract, manifest, projectR... function finalizeAutoresearchRunState (line 80425) | async function finalizeAutoresearchRunState(projectRoot, runId, updates) { function defaultDraftEvaluator (line 80455) | function defaultDraftEvaluator(topic) { function buildArtifactDir (line 80459) | function buildArtifactDir(repoRoot, slug) { function buildDraftArtifactPath (line 80462) | function buildDraftArtifactPath(repoRoot, slug) { function buildResultPath (line 80465) | function buildResultPath(repoRoot, slug) { function buildMissionContent (line 80468) | function buildMissionContent(topic) { function buildSandboxContent (line 80474) | function buildSandboxContent(evaluatorCommand, keepPolicy) { function isLaunchReadyEvaluatorCommand (line 80485) | function isLaunchReadyEvaluatorCommand(command) { function buildLaunchReadinessSection (line 80492) | function buildLaunchReadinessSection(launchReady, blockedReasons) { function buildAutoresearchDraftArtifactContent (line 80501) | function buildAutoresearchDraftArtifactContent(compileTarget, seedInputs... function writeAutoresearchDraftArtifact (line 80536) | async function writeAutoresearchDraftArtifact(input) { function writeAutoresearchDeepInterviewArtifacts (line 80565) | async function writeAutoresearchDeepInterviewArtifacts(input) { function createQuestionIO (line 80609) | function createQuestionIO() { function promptWithDefault (line 80620) | async function promptWithDefault(io, prompt, currentValue) { function promptAction (line 80626) | async function promptAction(io, launchReady) { function ensureLaunchReadyEvaluator (line 80641) | function ensureLaunchReadyEvaluator(command) { function materializeAutoresearchDeepInterviewResult (line 80646) | async function materializeAutoresearchDeepInterviewResult(result) { function initAutoresearchMission (line 80650) | async function initAutoresearchMission(opts) { function parseInitArgs (line 80668) | function parseInitArgs(args) { function runAutoresearchNoviceBridge (line 80707) | async function runAutoresearchNoviceBridge(repoRoot, seedInputs = {}, io... function guidedAutoresearchSetup (line 80752) | async function guidedAutoresearchSetup(repoRoot, seedInputs = {}, io = c... function checkTmuxAvailable (line 80755) | function checkTmuxAvailable() { function resolveMissionRepoRoot (line 80758) | function resolveMissionRepoRoot(missionDir) { function assertTmuxSessionAvailable (line 80765) | function assertTmuxSessionAvailable(sessionName2) { function spawnAutoresearchTmux (line 80774) | function spawnAutoresearchTmux(missionDir, slug) { function ensureSymlink (line 80803) | function ensureSymlink(target, linkPath) { function prepareAutoresearchSetupCodexHome (line 80814) | function prepareAutoresearchSetupCodexHome(repoRoot, sessionName2) { function buildAutoresearchSetupSlashCommand (line 80832) | function buildAutoresearchSetupSlashCommand() { function spawnAutoresearchSetupTmux (line 80835) | function spawnAutoresearchSetupTmux(repoRoot) { function normalizeAutoresearchClaudeArgs (line 80896) | function normalizeAutoresearchClaudeArgs(claudeArgs) { function runAutoresearchTurn (line 80914) | function runAutoresearchTurn(worktreePath, instructionsFile, claudeArgs) { function parseAutoresearchKeepPolicy (line 80931) | function parseAutoresearchKeepPolicy(value) { function parseAutoresearchBypassArgs (line 80938) | function parseAutoresearchBypassArgs(args) { function resolveRepoRoot (line 81032) | function resolveRepoRoot(cwd2) { function parseAutoresearchArgs (line 81039) | function parseAutoresearchArgs(args) { function runAutoresearchLoop (line 81082) | async function runAutoresearchLoop(claudeArgs, runtime, missionDir) { function planWorktree (line 81116) | function planWorktree(repoRoot, missionSlug, runTag) { function autoresearchCommand (line 81121) | async function autoresearchCommand(args) { function resolveParentPid (line 81188) | function resolveParentPid(processRef, overrideParentPid) { function registerStandaloneShutdownHandlers (line 81200) | function registerStandaloneShutdownHandlers(options) { function runHudWatchLoop (line 81252) | async function runHudWatchLoop(options) { function defaultAction (line 81288) | async function defaultAction() { FILE: bridge/gyoshu_bridge.py function _send_protocol (line 61) | def _send_protocol(data: dict) -> None: function send_response (line 71) | def send_response( function make_error (line 88) | def make_error(code: int, message: str, data: Optional[Any] = None) -> D... function parse_markers (line 156) | def parse_markers(text: str) -> List[Dict[str, Any]]: class BoundedStringIO (line 201) | class BoundedStringIO: method __init__ (line 204) | def __init__(self, max_size: int = MAX_CAPTURE_CHARS): method write (line 210) | def write(self, s: str) -> int: method getvalue (line 224) | def getvalue(self) -> str: method truncated (line 231) | def truncated(self) -> bool: method flush (line 234) | def flush(self) -> None: function get_memory_usage (line 244) | def get_memory_usage() -> Dict[str, float]: function clean_memory (line 292) | def clean_memory() -> Dict[str, float]: class ExecutionState (line 303) | class ExecutionState: method __init__ (line 306) | def __init__(self): method _initialize_namespace (line 314) | def _initialize_namespace(self): method reset (line 324) | def reset(self) -> Dict[str, Any]: method get_state (line 337) | def get_state(self) -> Dict[str, Any]: method interrupt (line 352) | def interrupt(self) -> Dict[str, Any]: method namespace (line 358) | def namespace(self) -> Dict[str, Any]: method interrupt_flag (line 362) | def interrupt_flag(self) -> threading.Event: class ExecutionTimeoutError (line 375) | class ExecutionTimeoutError(Exception): function _timeout_handler (line 381) | def _timeout_handler(signum, frame): function execute_code (line 386) | def execute_code( function handle_execute (line 479) | def handle_execute(id: str, params: Dict[str, Any]) -> None: function handle_interrupt (line 552) | def handle_interrupt(id: str, params: Dict[str, Any]) -> None: function handle_reset (line 558) | def handle_reset(id: str, params: Dict[str, Any]) -> None: function handle_get_state (line 564) | def handle_get_state(id: str, params: Dict[str, Any]) -> None: function handle_ping (line 570) | def handle_ping(id: str, params: Dict[str, Any]) -> None: function read_bounded_line (line 599) | def read_bounded_line(stream, max_bytes: int) -> Tuple[Optional[bytes], ... function process_request (line 627) | def process_request(line: str) -> None: function safe_unlink_socket (line 713) | def safe_unlink_socket(socket_path: str) -> None: function _get_port_file (line 732) | def _get_port_file(socket_path: str) -> str: function _get_expected_parent_pid (line 737) | def _get_expected_parent_pid() -> Optional[int]: function _bind_unix (line 751) | def _bind_unix(server: socket_module.socket, socket_path: str) -> None: function run_socket_server (line 782) | def run_socket_server(socket_path: str) -> None: function handle_socket_connection (line 879) | def handle_socket_connection(conn: socket_module.socket) -> None: function parse_args (line 917) | def parse_args() -> argparse.Namespace: function main (line 929) | def main() -> None: FILE: bridge/mcp-server.cjs method "node_modules/ajv/dist/compile/codegen/code.js" (line 48) | "node_modules/ajv/dist/compile/codegen/code.js"(exports2) { method "node_modules/ajv/dist/compile/codegen/scope.js" (line 202) | "node_modules/ajv/dist/compile/codegen/scope.js"(exports2) { method "node_modules/ajv/dist/compile/codegen/index.js" (line 347) | "node_modules/ajv/dist/compile/codegen/index.js"(exports2) { method "node_modules/ajv/dist/compile/util.js" (line 1067) | "node_modules/ajv/dist/compile/util.js"(exports2) { method "node_modules/ajv/dist/compile/names.js" (line 1234) | "node_modules/ajv/dist/compile/names.js"(exports2) { method "node_modules/ajv/dist/compile/errors.js" (line 1273) | "node_modules/ajv/dist/compile/errors.js"(exports2) { method "node_modules/ajv/dist/compile/validate/boolSchema.js" (line 1395) | "node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) { method "node_modules/ajv/dist/compile/rules.js" (line 1446) | "node_modules/ajv/dist/compile/rules.js"(exports2) { method "node_modules/ajv/dist/compile/validate/applicability.js" (line 1477) | "node_modules/ajv/dist/compile/validate/applicability.js"(exports2) { method "node_modules/ajv/dist/compile/validate/dataType.js" (line 1500) | "node_modules/ajv/dist/compile/validate/dataType.js"(exports2) { method "node_modules/ajv/dist/compile/validate/defaults.js" (line 1684) | "node_modules/ajv/dist/compile/validate/defaults.js"(exports2) { method "node_modules/ajv/dist/vocabularies/code.js" (line 1721) | "node_modules/ajv/dist/vocabularies/code.js"(exports2) { method "node_modules/ajv/dist/compile/validate/keyword.js" (line 1854) | "node_modules/ajv/dist/compile/validate/keyword.js"(exports2) { method "node_modules/ajv/dist/compile/validate/subschema.js" (line 1972) | "node_modules/ajv/dist/compile/validate/subschema.js"(exports2) { method "node_modules/fast-deep-equal/index.js" (line 2055) | "node_modules/fast-deep-equal/index.js"(exports2, module2) { method "node_modules/json-schema-traverse/index.js" (line 2090) | "node_modules/json-schema-traverse/index.js"(exports2, module2) { method "node_modules/ajv/dist/compile/resolve.js" (line 2178) | "node_modules/ajv/dist/compile/resolve.js"(exports2) { method "node_modules/ajv/dist/compile/validate/index.js" (line 2334) | "node_modules/ajv/dist/compile/validate/index.js"(exports2) { method "node_modules/ajv/dist/runtime/validation_error.js" (line 2842) | "node_modules/ajv/dist/runtime/validation_error.js"(exports2) { method "node_modules/ajv/dist/compile/ref_error.js" (line 2858) | "node_modules/ajv/dist/compile/ref_error.js"(exports2) { method "node_modules/ajv/dist/compile/index.js" (line 2875) | "node_modules/ajv/dist/compile/index.js"(exports2) { method "node_modules/ajv/dist/refs/data.json" (line 3099) | "node_modules/ajv/dist/refs/data.json"(exports2, module2) { method "node_modules/fast-uri/lib/utils.js" (line 3118) | "node_modules/fast-uri/lib/utils.js"(exports2, module2) { method "node_modules/fast-uri/lib/schemes.js" (line 3375) | "node_modules/fast-uri/lib/schemes.js"(exports2, module2) { method "node_modules/fast-uri/index.js" (line 3585) | "node_modules/fast-uri/index.js"(exports2, module2) { method "node_modules/ajv/dist/runtime/uri.js" (line 3840) | "node_modules/ajv/dist/runtime/uri.js"(exports2) { method "node_modules/ajv/dist/core.js" (line 3851) | "node_modules/ajv/dist/core.js"(exports2) { method "node_modules/ajv/dist/vocabularies/core/id.js" (line 4462) | "node_modules/ajv/dist/vocabularies/core/id.js"(exports2) { method "node_modules/ajv/dist/vocabularies/core/ref.js" (line 4477) | "node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) { method "node_modules/ajv/dist/vocabularies/core/index.js" (line 4599) | "node_modules/ajv/dist/vocabularies/core/index.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/limitNumber.js" (line 4620) | "node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/multipleOf.js" (line 4652) | "node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) { method "node_modules/ajv/dist/runtime/ucs2length.js" (line 4680) | "node_modules/ajv/dist/runtime/ucs2length.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/limitLength.js" (line 4706) | "node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/pattern.js" (line 4738) | "node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/limitProperties.js" (line 4775) | "node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(expor... method "node_modules/ajv/dist/vocabularies/validation/required.js" (line 4804) | "node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/limitItems.js" (line 4886) | "node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) { method "node_modules/ajv/dist/runtime/equal.js" (line 4915) | "node_modules/ajv/dist/runtime/equal.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js" (line 4926) | "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/const.js" (line 4993) | "node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/enum.js" (line 5022) | "node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/index.js" (line 5071) | "node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js" (line 5109) | "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(expor... method "node_modules/ajv/dist/vocabularies/applicator/items.js" (line 5162) | "node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js" (line 5219) | "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/items2020.js" (line 5236) | "node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/contains.js" (line 5271) | "node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/dependencies.js" (line 5365) | "node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js" (line 5459) | "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports... method "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js" (line 5502) | "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(... method "node_modules/ajv/dist/vocabularies/applicator/properties.js" (line 5608) | "node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js" (line 5666) | "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exp... method "node_modules/ajv/dist/vocabularies/applicator/not.js" (line 5740) | "node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/anyOf.js" (line 5771) | "node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/oneOf.js" (line 5788) | "node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/allOf.js" (line 5846) | "node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/if.js" (line 5873) | "node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/thenElse.js" (line 5942) | "node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/index.js" (line 5960) | "node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) { method "node_modules/ajv/dist/vocabularies/format/format.js" (line 6008) | "node_modules/ajv/dist/vocabularies/format/format.js"(exports2) { method "node_modules/ajv/dist/vocabularies/format/index.js" (line 6098) | "node_modules/ajv/dist/vocabularies/format/index.js"(exports2) { method "node_modules/ajv/dist/vocabularies/metadata.js" (line 6109) | "node_modules/ajv/dist/vocabularies/metadata.js"(exports2) { method "node_modules/ajv/dist/vocabularies/draft7.js" (line 6132) | "node_modules/ajv/dist/vocabularies/draft7.js"(exports2) { method "node_modules/ajv/dist/vocabularies/discriminator/types.js" (line 6154) | "node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) { method "node_modules/ajv/dist/vocabularies/discriminator/index.js" (line 6168) | "node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) { method "node_modules/ajv/dist/refs/json-schema-draft-07.json" (line 6273) | "node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) { method "node_modules/ajv/dist/ajv.js" (line 6430) | "node_modules/ajv/dist/ajv.js"(exports2, module2) { method "node_modules/ajv-formats/dist/formats.js" (line 6500) | "node_modules/ajv-formats/dist/formats.js"(exports2) { method "node_modules/ajv-formats/dist/limit.js" (line 6703) | "node_modules/ajv-formats/dist/limit.js"(exports2) { method "node_modules/ajv-formats/dist/index.js" (line 6775) | "node_modules/ajv-formats/dist/index.js"(exports2, module2) { function assertIs2 (line 6932) | function assertIs2(_arg) { function assertNever2 (line 6935) | function assertNever2(_x) { function joinValues2 (line 6976) | function joinValues2(array2, separator = " | ") { method errors (line 7085) | get errors() { method constructor (line 7088) | constructor(issues) { method format (line 7106) | format(_mapper) { method assert (line 7142) | static assert(value) { method toString (line 7147) | toString() { method message (line 7150) | get message() { method isEmpty (line 7153) | get isEmpty() { method flatten (line 7156) | flatten(mapper = (issue2) => issue2.message) { method formErrors (line 7170) | get formErrors() { function setErrorMap (line 7284) | function setErrorMap(map) { function getErrorMap (line 7287) | function getErrorMap() { function addIssueToContext (line 7318) | function addIssueToContext(ctx, issueData) { method constructor (line 7338) | constructor() { method dirty (line 7341) | dirty() { method abort (line 7345) | abort() { method mergeArray (line 7349) | static mergeArray(status, results) { method mergeObjectAsync (line 7360) | static async mergeObjectAsync(status, pairs) { method mergeObjectSync (line 7372) | static mergeObjectSync(status, pairs) { method constructor (line 7410) | constructor(parent, value, path13, key) { method path (line 7417) | get path() { method error (line 7437) | get error() { function processCreateParams (line 7447) | function processCreateParams(params) { method description (line 7471) | get description() { method _getType (line 7474) | _getType(input) { method _getOrReturnCtx (line 7477) | _getOrReturnCtx(input, ctx) { method _processInputParams (line 7487) | _processInputParams(input) { method _parseSync (line 7500) | _parseSync(input) { method _parseAsync (line 7507) | _parseAsync(input) { method parse (line 7511) | parse(data, params) { method safeParse (line 7517) | safeParse(data, params) { method "~validate" (line 7533) | "~validate"(data) { method parseAsync (line 7569) | async parseAsync(data, params) { method safeParseAsync (line 7575) | async safeParseAsync(data, params) { method refine (line 7592) | refine(check2, message) { method refinement (line 7626) | refinement(check2, refinementData) { method _refinement (line 7636) | _refinement(refinement) { method superRefine (line 7643) | superRefine(refinement) { method constructor (line 7646) | constructor(def) { method optional (line 7679) | optional() { method nullable (line 7682) | nullable() { method nullish (line 7685) | nullish() { method array (line 7688) | array() { method promise (line 7691) | promise() { method or (line 7694) | or(option) { method and (line 7697) | and(incoming) { method transform (line 7700) | transform(transform2) { method default (line 7708) | default(def) { method brand (line 7717) | brand() { method catch (line 7724) | catch(def) { method describe (line 7733) | describe(description) { method pipe (line 7740) | pipe(target) { method readonly (line 7743) | readonly() { method isOptional (line 7746) | isOptional() { method isNullable (line 7749) | isNullable() { function timeRegexSource (line 7771) | function timeRegexSource(args) { function timeRegex (line 7781) | function timeRegex(args) { function datetimeRegex (line 7784) | function datetimeRegex(args) { function isValidIP (line 7793) | function isValidIP(ip, version2) { function isValidJWT (line 7802) | function isValidJWT(jwt, alg) { function isValidCidr (line 7824) | function isValidCidr(ip, version2) { method _parse (line 7834) | _parse(input) { method _regex (line 8135) | _regex(regex, validation, message) { method _addCheck (line 8142) | _addCheck(check2) { method email (line 8148) | email(message) { method url (line 8151) | url(message) { method emoji (line 8154) | emoji(message) { method uuid (line 8157) | uuid(message) { method nanoid (line 8160) | nanoid(message) { method cuid (line 8163) | cuid(message) { method cuid2 (line 8166) | cuid2(message) { method ulid (line 8169) | ulid(message) { method base64 (line 8172) | base64(message) { method base64url (line 8175) | base64url(message) { method jwt (line 8181) | jwt(options) { method ip (line 8184) | ip(options) { method cidr (line 8187) | cidr(options) { method datetime (line 8190) | datetime(options) { method date (line 8208) | date(message) { method time (line 8211) | time(options) { method duration (line 8225) | duration(message) { method regex (line 8228) | regex(regex, message) { method includes (line 8235) | includes(value, options) { method startsWith (line 8243) | startsWith(value, message) { method endsWith (line 8250) | endsWith(value, message) { method min (line 8257) | min(minLength, message) { method max (line 8264) | max(maxLength, message) { method length (line 8271) | length(len, message) { method nonempty (line 8281) | nonempty(message) { method trim (line 8284) | trim() { method toLowerCase (line 8290) | toLowerCase() { method toUpperCase (line 8296) | toUpperCase() { method isDatetime (line 8302) | get isDatetime() { method isDate (line 8305) | get isDate() { method isTime (line 8308) | get isTime() { method isDuration (line 8311) | get isDuration() { method isEmail (line 8314) | get isEmail() { method isURL (line 8317) | get isURL() { method isEmoji (line 8320) | get isEmoji() { method isUUID (line 8323) | get isUUID() { method isNANOID (line 8326) | get isNANOID() { method isCUID (line 8329) | get isCUID() { method isCUID2 (line 8332) | get isCUID2() { method isULID (line 8335) | get isULID() { method isIP (line 8338) | get isIP() { method isCIDR (line 8341) | get isCIDR() { method isBase64 (line 8344) | get isBase64() { method isBase64url (line 8347) | get isBase64url() { method minLength (line 8350) | get minLength() { method maxLength (line 8360) | get maxLength() { function floatSafeRemainder (line 8379) | function floatSafeRemainder(val, step) { method constructor (line 8388) | constructor() { method _parse (line 8394) | _parse(input) { method gte (line 8475) | gte(value, message) { method gt (line 8478) | gt(value, message) { method lte (line 8481) | lte(value, message) { method lt (line 8484) | lt(value, message) { method setLimit (line 8487) | setLimit(kind, value, inclusive, message) { method _addCheck (line 8501) | _addCheck(check2) { method int (line 8507) | int(message) { method positive (line 8513) | positive(message) { method negative (line 8521) | negative(message) { method nonpositive (line 8529) | nonpositive(message) { method nonnegative (line 8537) | nonnegative(message) { method multipleOf (line 8545) | multipleOf(value, message) { method finite (line 8552) | finite(message) { method safe (line 8558) | safe(message) { method minValue (line 8571) | get minValue() { method maxValue (line 8581) | get maxValue() { method isInt (line 8591) | get isInt() { method isFinite (line 8594) | get isFinite() { method constructor (line 8620) | constructor() { method _parse (line 8625) | _parse(input) { method _getInvalidInput (line 8682) | _getInvalidInput(input) { method gte (line 8691) | gte(value, message) { method gt (line 8694) | gt(value, message) { method lte (line 8697) | lte(value, message) { method lt (line 8700) | lt(value, message) { method setLimit (line 8703) | setLimit(kind, value, inclusive, message) { method _addCheck (line 8717) | _addCheck(check2) { method positive (line 8723) | positive(message) { method negative (line 8731) | negative(message) { method nonpositive (line 8739) | nonpositive(message) { method nonnegative (line 8747) | nonnegative(message) { method multipleOf (line 8755) | multipleOf(value, message) { method minValue (line 8762) | get minValue() { method maxValue (line 8772) | get maxValue() { method _parse (line 8792) | _parse(input) { method _parse (line 8817) | _parse(input) { method _addCheck (line 8876) | _addCheck(check2) { method min (line 8882) | min(minDate, message) { method max (line 8889) | max(maxDate, message) { method minDate (line 8896) | get minDate() { method maxDate (line 8906) | get maxDate() { method _parse (line 8926) | _parse(input) { method _parse (line 8947) | _parse(input) { method _parse (line 8968) | _parse(input) { method constructor (line 8989) | constructor() { method _parse (line 8993) | _parse(input) { method constructor (line 9004) | constructor() { method _parse (line 9008) | _parse(input) { method _parse (line 9019) | _parse(input) { method _parse (line 9036) | _parse(input) { method _parse (line 9057) | _parse(input) { method element (line 9122) | get element() { method min (line 9125) | min(minLength, message) { method max (line 9131) | max(maxLength, message) { method length (line 9137) | length(len, message) { method nonempty (line 9143) | nonempty(message) { function deepPartialify (line 9157) | function deepPartialify(schema) { method constructor (line 9184) | constructor() { method _getCached (line 9190) | _getCached() { method _parse (line 9198) | _parse(input) { method shape (line 9284) | get shape() { method strict (line 9287) | strict(message) { method strip (line 9306) | strip() { method passthrough (line 9312) | passthrough() { method extend (line 9335) | extend(augmentation) { method merge (line 9349) | merge(merging) { method setKey (line 9396) | setKey(key, schema) { method catchall (line 9420) | catchall(index) { method pick (line 9426) | pick(mask) { method omit (line 9438) | omit(mask) { method deepPartial (line 9453) | deepPartial() { method partial (line 9456) | partial(mask) { method required (line 9471) | required(mask) { method keyof (line 9490) | keyof() { method _parse (line 9522) | _parse(input) { method options (line 9601) | get options() { method _parse (line 9644) | _parse(input) { method discriminator (line 9679) | get discriminator() { method options (line 9682) | get options() { method optionsMap (line 9685) | get optionsMap() { method create (line 9696) | static create(discriminator, options, params) { function mergeValues (line 9719) | function mergeValues(a, b) { method _parse (line 9758) | _parse(input) { method _parse (line 9811) | _parse(input) { method items (line 9856) | get items() { method rest (line 9859) | rest(rest) { method keySchema (line 9878) | get keySchema() { method valueSchema (line 9881) | get valueSchema() { method _parse (line 9884) | _parse(input) { method element (line 9910) | get element() { method create (line 9913) | static create(first, second, third) { method keySchema (line 9931) | get keySchema() { method valueSchema (line 9934) | get valueSchema() { method _parse (line 9937) | _parse(input) { method _parse (line 9997) | _parse(input) { method min (line 10053) | min(minSize, message) { method max (line 10059) | max(maxSize, message) { method size (line 10065) | size(size, message) { method nonempty (line 10068) | nonempty(message) { method constructor (line 10082) | constructor() { method _parse (line 10086) | _parse(input) { method parameters (line 10151) | parameters() { method returnType (line 10154) | returnType() { method args (line 10157) | args(...items) { method returns (line 10163) | returns(returnType) { method implement (line 10169) | implement(func) { method strictImplement (line 10173) | strictImplement(func) { method create (line 10177) | static create(args, returns, params) { method schema (line 10187) | get schema() { method _parse (line 10190) | _parse(input) { method _parse (line 10204) | _parse(input) { method value (line 10216) | get value() { function createZodEnum (line 10227) | function createZodEnum(values, params) { method _parse (line 10235) | _parse(input) { method options (line 10261) | get options() { method enum (line 10264) | get enum() { method Values (line 10271) | get Values() { method Enum (line 10278) | get Enum() { method extract (line 10285) | extract(values, newDef = this._def) { method exclude (line 10291) | exclude(values, newDef = this._def) { method _parse (line 10300) | _parse(input) { method enum (line 10326) | get enum() { method unwrap (line 10338) | unwrap() { method _parse (line 10341) | _parse(input) { method innerType (line 10368) | innerType() { method sourceType (line 10371) | sourceType() { method _parse (line 10374) | _parse(input) { method _parse (line 10507) | _parse(input) { method unwrap (line 10514) | unwrap() { method _parse (line 10526) | _parse(input) { method unwrap (line 10533) | unwrap() { method _parse (line 10545) | _parse(input) { method removeDefault (line 10557) | removeDefault() { method _parse (line 10570) | _parse(input) { method removeCatch (line 10610) | removeCatch() { method _parse (line 10623) | _parse(input) { method _parse (line 10645) | _parse(input) { method unwrap (line 10654) | unwrap() { method _parse (line 10659) | _parse(input) { method create (line 10705) | static create(a, b) { method _parse (line 10714) | _parse(input) { method unwrap (line 10724) | unwrap() { function cleanParams (line 10735) | function cleanParams(params, data) { function custom (line 10740) | function custom(check2, _params = {}, fatal) { function $constructor (line 10861) | function $constructor(name, initializer3, params) { method constructor (line 10904) | constructor() { function config (line 10909) | function config(newConfig) { function assertEqual (line 10968) | function assertEqual(val) { function assertNotEqual (line 10971) | function assertNotEqual(val) { function assertIs (line 10974) | function assertIs(_arg) { function assertNever (line 10976) | function assertNever(_x) { function assert (line 10979) | function assert(_) { function getEnumValues (line 10981) | function getEnumValues(entries) { function joinValues (line 10986) | function joinValues(array2, separator = "|") { function jsonStringifyReplacer (line 10989) | function jsonStringifyReplacer(_, value) { function cached (line 10994) | function cached(getter) { function nullish (line 11007) | function nullish(input) { function cleanRegex (line 11010) | function cleanRegex(source) { function floatSafeRemainder2 (line 11015) | function floatSafeRemainder2(val, step) { function defineLazy (line 11023) | function defineLazy(object3, key, getter) { function assignProp (line 11043) | function assignProp(target, prop, value) { function getElementAtPath (line 11051) | function getElementAtPath(obj, path13) { function promiseAllObject (line 11056) | function promiseAllObject(promisesObj) { function randomString (line 11067) | function randomString(length = 10) { function esc (line 11075) | function esc(str) { function isObject (line 11080) | function isObject(data) { function isPlainObject (line 11095) | function isPlainObject(o) { function numKeys (line 11109) | function numKeys(data) { function escapeRegex (line 11164) | function escapeRegex(str) { function clone (line 11167) | function clone(inst, def, params) { function normalizeParams (line 11173) | function normalizeParams(_params) { function createTransparentProxy (line 11189) | function createTransparentProxy(getter) { function stringifyPrimitive (line 11222) | function stringifyPrimitive(value) { function optionalKeys (line 11229) | function optionalKeys(shape) { function pick (line 11245) | function pick(schema, mask) { function omit (line 11262) | function omit(schema, mask) { function extend (line 11279) | function extend(schema, shape) { function merge (line 11295) | function merge(a, b) { function partial (line 11308) | function partial(Class2, schema, mask) { function required (line 11337) | function required(Class2, schema, mask) { function aborted (line 11367) | function aborted(x, startIndex = 0) { function prefixIssues (line 11374) | function prefixIssues(path13, issues) { function unwrapMessage (line 11382) | function unwrapMessage(message) { function finalizeIssue (line 11385) | function finalizeIssue(iss, ctx, config2) { function getSizableOrigin (line 11398) | function getSizableOrigin(input) { function getLengthableOrigin (line 11407) | function getLengthableOrigin(input) { function issue (line 11414) | function issue(...args) { function cleanEnum (line 11426) | function cleanEnum(obj) { method constructor (line 11432) | constructor(..._args) { method get (line 11448) | get() { function flattenError (line 11461) | function flattenError(error2, mapper = (issue2) => issue2.message) { function formatError (line 11474) | function formatError(error2, _mapper) { function emoji (line 11577) | function emoji() { function timeSource (line 11590) | function timeSource(args) { function time (line 11595) | function time(args) { function datetime (line 11598) | function datetime(args) { method constructor (line 12006) | constructor(args = []) { method indented (line 12012) | indented(fn) { method write (line 12017) | write(arg) { method compile (line 12031) | compile() { function isValidBase64 (line 12338) | function isValidBase64(data) { function isValidBase64URL (line 12368) | function isValidBase64URL(data) { function isValidJWT2 (line 12397) | function isValidJWT2(token, algorithm = null) { function handleArrayResult (line 12513) | function handleArrayResult(result, final, index) { function handleObjectResult (line 12552) | function handleObjectResult(result, final, key) { function handleOptionalObjectResult (line 12558) | function handleOptionalObjectResult(result, final, key, input) { function handleUnionResults (line 12738) | function handleUnionResults(results, final, inst, ctx) { function mergeValues2 (line 12873) | function mergeValues2(a, b) { function handleIntersectionResults (line 12917) | function handleIntersectionResults(result, left, right) { function handleDefaultResult (line 13135) | function handleDefaultResult(payload, def) { function handleNonOptionalResult (line 13166) | function handleNonOptionalResult(payload, inst) { function handlePipeResult (line 13227) | function handlePipeResult(left, def, ctx) { function handleReadonlyResult (line 13247) | function handleReadonlyResult(payload) { function handleRefineResult (line 13267) | function handleRefineResult(result, payload, input, inst) { function getSizing (line 13313) | function getSizing(origin) { function en_default2 (line 13397) | function en_default2() { method constructor (line 13405) | constructor() { method add (line 13409) | add(schema, ..._meta) { method clear (line 13420) | clear() { method remove (line 13425) | remove(schema) { method get (line 13433) | get(schema) { method has (line 13442) | has(schema) { function registry (line 13446) | function registry() { function _string (line 13452) | function _string(Class2, params) { function _email (line 13458) | function _email(Class2, params) { function _guid (line 13467) | function _guid(Class2, params) { function _uuid (line 13476) | function _uuid(Class2, params) { function _uuidv4 (line 13485) | function _uuidv4(Class2, params) { function _uuidv6 (line 13495) | function _uuidv6(Class2, params) { function _uuidv7 (line 13505) | function _uuidv7(Class2, params) { function _url (line 13515) | function _url(Class2, params) { function _emoji2 (line 13524) | function _emoji2(Class2, params) { function _nanoid (line 13533) | function _nanoid(Class2, params) { function _cuid (line 13542) | function _cuid(Class2, params) { function _cuid2 (line 13551) | function _cuid2(Class2, params) { function _ulid (line 13560) | function _ulid(Class2, params) { function _xid (line 13569) | function _xid(Class2, params) { function _ksuid (line 13578) | function _ksuid(Class2, params) { function _ipv4 (line 13587) | function _ipv4(Class2, params) { function _ipv6 (line 13596) | function _ipv6(Class2, params) { function _cidrv4 (line 13605) | function _cidrv4(Class2, params) { function _cidrv6 (line 13614) | function _cidrv6(Class2, params) { function _base64 (line 13623) | function _base64(Class2, params) { function _base64url (line 13632) | function _base64url(Class2, params) { function _e164 (line 13641) | function _e164(Class2, params) { function _jwt (line 13650) | function _jwt(Class2, params) { function _isoDateTime (line 13659) | function _isoDateTime(Class2, params) { function _isoDate (line 13670) | function _isoDate(Class2, params) { function _isoTime (line 13678) | function _isoTime(Class2, params) { function _isoDuration (line 13687) | function _isoDuration(Class2, params) { function _number (line 13695) | function _number(Class2, params) { function _int (line 13702) | function _int(Class2, params) { function _boolean (line 13711) | function _boolean(Class2, params) { function _null2 (line 13717) | function _null2(Class2, params) { function _unknown (line 13723) | function _unknown(Class2) { function _never (line 13728) | function _never(Class2, params) { function _lt (line 13734) | function _lt(value, params) { function _lte (line 13742) | function _lte(value, params) { function _gt (line 13750) | function _gt(value, params) { function _gte (line 13758) | function _gte(value, params) { function _multipleOf (line 13766) | function _multipleOf(value, params) { function _maxLength (line 13773) | function _maxLength(maximum, params) { function _minLength (line 13781) | function _minLength(minimum, params) { function _length (line 13788) | function _length(length, params) { function _regex (line 13795) | function _regex(pattern, params) { function _lowercase (line 13803) | function _lowercase(params) { function _uppercase (line 13810) | function _uppercase(params) { function _includes (line 13817) | function _includes(includes, params) { function _startsWith (line 13825) | function _startsWith(prefix, params) { function _endsWith (line 13833) | function _endsWith(suffix, params) { function _overwrite (line 13841) | function _overwrite(tx) { function _normalize (line 13847) | function _normalize(form) { function _trim (line 13850) | function _trim() { function _toLowerCase (line 13853) | function _toLowerCase() { function _toUpperCase (line 13856) | function _toUpperCase() { function _array (line 13859) | function _array(Class2, element, params) { function _custom (line 13869) | function _custom(Class2, fn, _params) { function _refine (line 13880) | function _refine(Class2, fn, _params) { function isZ4Schema (line 13891) | function isZ4Schema(s) { function safeParse2 (line 13895) | function safeParse2(schema, data) { function getObjectShape (line 13904) | function getObjectShape(schema) { function getLiteralValue (line 13926) | function getLiteralValue(schema) { function datetime2 (line 13969) | function datetime2(params) { function date2 (line 13976) | function date2(params) { function time2 (line 13983) | function time2(params) { function duration2 (line 13990) | function duration2(params) { method get (line 14016) | get() { method get (line 14084) | get() { function string2 (line 14154) | function string2(params) { function number2 (line 14262) | function number2(params) { function int (line 14269) | function int(params) { function boolean2 (line 14276) | function boolean2(params) { function _null3 (line 14283) | function _null3(params) { function unknown (line 14290) | function unknown() { function never (line 14297) | function never(params) { function array (line 14310) | function array(element, params) { function object2 (line 14332) | function object2(shape, params) { function looseObject (line 14343) | function looseObject(shape, params) { function union (line 14359) | function union(options, params) { function discriminatedUnion (line 14370) | function discriminatedUnion(discriminator, options, params) { function intersection (line 14382) | function intersection(left, right) { function record (line 14395) | function record(keyType, valueType, params) { function _enum (line 14440) | function _enum(values, params) { method get (line 14453) | get() { function literal (line 14461) | function literal(value, params) { function transform (line 14497) | function transform(fn) { function optional (line 14508) | function optional(innerType) { function nullable (line 14519) | function nullable(innerType) { function _default (line 14531) | function _default(innerType, defaultValue) { function prefault (line 14545) | function prefault(innerType, defaultValue) { function nonoptional (line 14559) | function nonoptional(innerType, params) { function _catch (line 14572) | function _catch(innerType, catchValue) { function pipe (line 14585) | function pipe(in_, out) { function readonly (line 14597) | function readonly(innerType) { function check (line 14607) | function check(fn) { function custom2 (line 14615) | function custom2(fn, _params) { function refine (line 14618) | function refine(fn, _params = {}) { function superRefine (line 14621) | function superRefine(fn) { function preprocess (line 14641) | function preprocess(fn, schema) { method constructor (line 16124) | constructor(code, message, data) { method fromError (line 16133) | static fromError(code, message, data) { method constructor (line 16144) | constructor(elicitations, message = `URL elicitation${elicitations.lengt... method elicitations (line 16149) | get elicitations() { function isTerminal (line 16155) | function isTerminal(status) { function getMethodLiteral (line 16163) | function getMethodLiteral(schema) { function parseWithCompat (line 16175) | function parseWithCompat(schema, data) { method constructor (line 16186) | constructor(_options) { method _oncancel (line 16314) | async _oncancel(notification) { method _setupTimeout (line 16321) | _setupTimeout(messageId, timeout, maxTotalTimeout, onTimeout, resetTimeo... method _resetTimeout (line 16331) | _resetTimeout(messageId) { method _cleanupTimeout (line 16347) | _cleanupTimeout(messageId) { method connect (line 16359) | async connect(transport) { method _onclose (line 16389) | _onclose() { method _onerror (line 16406) | _onerror(error2) { method _onnotification (line 16409) | _onnotification(notification) { method _onrequest (line 16416) | _onrequest(request, extra) { method _onprogress (line 16528) | _onprogress(notification) { method _onresponse (line 16551) | _onresponse(response) { method transport (line 16592) | get transport() { method close (line 16598) | async close() { method requestStream (line 16628) | async *requestStream(request, resultSchema, options) { method request (line 16692) | request(request, resultSchema, options) { method getTask (line 16816) | async getTask(params, options) { method getTaskResult (line 16824) | async getTaskResult(params, resultSchema, options) { method listTasks (line 16832) | async listTasks(params, options) { method cancelTask (line 16840) | async cancelTask(params, options) { method notification (line 16846) | async notification(notification, options) { method setRequestHandler (line 16926) | setRequestHandler(requestSchema, handler) { method removeRequestHandler (line 16937) | removeRequestHandler(method) { method assertCanSetRequestHandler (line 16943) | assertCanSetRequestHandler(method) { method setNotificationHandler (line 16953) | setNotificationHandler(notificationSchema, handler) { method removeNotificationHandler (line 16963) | removeNotificationHandler(method) { method _cleanupTaskProgressHandler (line 16970) | _cleanupTaskProgressHandler(taskId) { method _enqueueTaskMessage (line 16988) | async _enqueueTaskMessage(taskId, message, sessionId) { method _clearTaskQueue (line 17000) | async _clearTaskQueue(taskId, sessionId) { method _waitForTaskUpdate (line 17024) | async _waitForTaskUpdate(taskId, signal) { method requestTaskStore (line 17045) | requestTaskStore(request, sessionId) { function isPlainObject2 (line 17111) | function isPlainObject2(value) { function mergeCapabilities (line 17114) | function mergeCapabilities(base, additional) { function createDefaultAjvInstance (line 17134) | function createDefaultAjvInstance() { method constructor (line 17166) | constructor(ajv) { method getValidator (line 17178) | getValidator(schema) { method constructor (line 17201) | constructor(_server) { method requestStream (line 17218) | requestStream(request, resultSchema, options) { method getTask (line 17230) | async getTask(taskId, options) { method getTaskResult (line 17243) | async getTaskResult(taskId, resultSchema, options) { method listTasks (line 17255) | async listTasks(cursor, options) { method cancelTask (line 17266) | async cancelTask(taskId, options) { function assertToolsCallTaskCapability (line 17272) | function assertToolsCallTaskCapability(requests, method, entityName) { function assertClientRequestTaskCapability (line 17286) | function assertClientRequestTaskCapability(requests, method, entityName) { method constructor (line 17311) | constructor(_serverInfo, options) { method experimental (line 17344) | get experimental() { method registerCapabilities (line 17357) | registerCapabilities(capabilities) { method setRequestHandler (line 17366) | setRequestHandler(requestSchema, handler) { method assertCapabilityForMethod (line 17414) | assertCapabilityForMethod(method) { method assertNotificationCapability (line 17435) | assertNotificationCapability(method) { method assertRequestHandlerCapability (line 17469) | assertRequestHandlerCapability(method) { method assertTaskCapability (line 17516) | assertTaskCapability(method) { method assertTaskHandlerCapability (line 17519) | assertTaskHandlerCapability(method) { method _oninitialize (line 17525) | async _oninitialize(request) { method getClientCapabilities (line 17540) | getClientCapabilities() { method getClientVersion (line 17546) | getClientVersion() { method getCapabilities (line 17549) | getCapabilities() { method ping (line 17552) | async ping() { method createMessage (line 17556) | async createMessage(params, options) { method elicitInput (line 17597) | async elicitInput(params, options) { method createElicitationCompletionNotifier (line 17639) | createElicitationCompletionNotifier(elicitationId, options) { method listRoots (line 17650) | async listRoots(params, options) { method sendLoggingMessage (line 17660) | async sendLoggingMessage(params, sessionId) { method sendResourceUpdated (line 17667) | async sendResourceUpdated(params) { method sendResourceListChanged (line 17673) | async sendResourceListChanged() { method sendToolListChanged (line 17678) | async sendToolListChanged() { method sendPromptListChanged (line 17681) | async sendPromptListChanged() { method append (line 17691) | append(chunk) { method readMessage (line 17694) | readMessage() { method clear (line 17706) | clear() { function deserializeMessage (line 17710) | function deserializeMessage(line) { function serializeMessage (line 17713) | function serializeMessage(message) { method constructor (line 17719) | constructor(_stdin = import_node_process.default.stdin, _stdout = import... method start (line 17735) | async start() { method processReadBuffer (line 17743) | processReadBuffer() { method close (line 17756) | async close() { method send (line 17766) | send(message) { function parseJsonc (line 17792) | function parseJsonc(content) { function stripJsoncComments (line 17796) | function stripJsoncComments(content) { function resolveDevContainerContext (line 17854) | function resolveDevContainerContext(workspaceRoot) { function hostPathToContainerPath (line 17886) | function hostPathToContainerPath(filePath, context) { function containerPathToHostPath (line 17901) | function containerPathToHostPath(filePath, context) { function hostUriToContainerUri (line 17915) | function hostUriToContainerUri(uri, context) { function containerUriToHostUri (line 17921) | function containerUriToHostUri(uri, context) { function resolveDevContainerConfigPath (line 17927) | function resolveDevContainerConfigPath(workspaceRoot) { function resolveDevContainerConfigPathAt (line 17941) | function resolveDevContainerConfigPathAt(dir) { function deriveHostDevContainerRoot (line 17957) | function deriveHostDevContainerRoot(configFilePath) { function readDevContainerConfig (line 17972) | function readDevContainerConfig(configFilePath) { function listRunningContainerIds (line 17983) | function listRunningContainerIds() { function inspectContainer (line 17991) | function inspectContainer(containerId) { function buildContextFromContainer (line 18008) | function buildContextFromContainer(containerId, hostWorkspaceRoot, confi... function buildContextFromInspect (line 18015) | function buildContextFromInspect(inspect, hostWorkspaceRoot, configFileP... function deriveContainerWorkspaceRoot (line 18027) | function deriveContainerWorkspaceRoot(inspect, hostWorkspaceRoot, worksp... function scoreContainerMatch (line 18055) | function scoreContainerMatch(inspect, hostWorkspaceRoot, configFilePath) { function normalizeContainerPath (line 18080) | function normalizeContainerPath(filePath) { function containerPathToFileUri (line 18083) | function containerPathToFileUri(filePath) { function runDocker (line 18088) | function runDocker(args) { function commandExists (line 18239) | function commandExists(command) { function getServerForFile (line 18245) | function getServerForFile(filePath) { function getAllServers (line 18254) | function getAllServers() { function getLspRequestTimeout (line 18265) | function getLspRequestTimeout(serverConfig, method, baseTimeout = DEFAUL... function readPositiveIntEnv (line 18271) | function readPositiveIntEnv(name, fallback) { function fileUri (line 18279) | function fileUri(filePath) { method constructor (line 18296) | constructor(workspaceRoot, serverConfig, devContainerContext = null) { method connect (line 18304) | async connect() { method forceKill (line 18350) | forceKill() { method disconnect (line 18367) | async disconnect() { method rejectPendingRequests (line 18392) | rejectPendingRequests(error2) { method handleData (line 18402) | handleData(data) { method handleMessage (line 18437) | handleMessage(message) { method handleNotification (line 18456) | handleNotification(notification) { method request (line 18470) | async request(method, params, timeout) { method notify (line 18502) | notify(method, params) { method initialize (line 18518) | async initialize() { method openDocument (line 18544) | async openDocument(filePath) { method closeDocument (line 18567) | closeDocument(filePath) { method getLanguageId (line 18579) | getLanguageId(filePath) { method prepareDocument (line 18625) | async prepareDocument(filePath) { method hover (line 18633) | async hover(filePath, line, character) { method definition (line 18644) | async definition(filePath, line, character) { method references (line 18655) | async references(filePath, line, character, includeDeclaration = true) { method documentSymbols (line 18667) | async documentSymbols(filePath) { method workspaceSymbols (line 18677) | async workspaceSymbols(query) { method getDiagnostics (line 18684) | getDiagnostics(filePath) { method waitForDiagnostics (line 18694) | waitForDiagnostics(filePath, timeoutMs = 2e3) { method prepareRename (line 18722) | async prepareRename(filePath, line, character) { method rename (line 18738) | async rename(filePath, line, character, newName) { method codeActions (line 18750) | async codeActions(filePath, range, diagnostics = []) { method getServerWorkspaceRoot (line 18759) | getServerWorkspaceRoot() { method getWorkspaceRootUri (line 18762) | getWorkspaceRootUri() { method toServerUri (line 18765) | toServerUri(uri) { method toHostUri (line 18768) | toHostUri(uri) { method translateIncomingPayload (line 18771) | translateIncomingPayload(value) { method translateIncomingValue (line 18777) | translateIncomingValue(value) { method constructor (line 18811) | constructor() { method registerCleanupHandlers (line 18820) | registerCleanupHandlers() { method getClientForFile (line 18848) | async getClientForFile(filePath) { method runWithClientLease (line 18874) | async runWithClientLease(filePath, fn) { method touchClient (line 18906) | touchClient(key) { method scheduleIdleDeadline (line 18910) | scheduleIdleDeadline(key) { method clearIdleDeadline (line 18921) | clearIdleDeadline(key) { method findWorkspaceRoot (line 18932) | findWorkspaceRoot(filePath) { method startIdleCheck (line 18953) | startIdleCheck() { method evictIdleClients (line 18966) | evictIdleClients() { method evictClientIfIdle (line 18971) | evictClientIfIdle(key) { method disconnectAll (line 19004) | async disconnectAll() { method getInFlightCount (line 19029) | getInFlightCount(key) { method clientCount (line 19033) | get clientCount() { method triggerEviction (line 19037) | triggerEviction() { function disconnectAll (line 19044) | async function disconnectAll() { function uriToPath (line 19083) | function uriToPath(uri) { function formatPosition (line 19093) | function formatPosition(line, character) { function formatRange (line 19096) | function formatRange(range) { function formatLocation (line 19101) | function formatLocation(location) { function formatHover (line 19110) | function formatHover(hover) { function formatLocations (line 19130) | function formatLocations(locations) { function formatDocumentSymbols (line 19136) | function formatDocumentSymbols(symbols, indent = 0) { function formatWorkspaceSymbols (line 19156) | function formatWorkspaceSymbols(symbols) { function formatDiagnostics (line 19167) | function formatDiagnostics(diagnostics, filePath) { function formatCodeActions (line 19180) | function formatCodeActions(actions) { function formatWorkspaceEdit (line 19189) | function formatWorkspaceEdit(edit) { function countEdits (line 19216) | function countEdits(edit) { function runTscDiagnostics (line 19239) | function runTscDiagnostics(directory) { function parseTscOutput (line 19266) | function parseTscOutput(output) { function findFiles (line 19293) | function findFiles(directory, extensions, ignoreDirs = []) { function runLspAggregatedDiagnostics (line 19324) | async function runLspAggregatedDiagnostics(directory, extensions = [".ts... function runDirectoryDiagnostics (line 19359) | async function runDirectoryDiagnostics(directory, strategy = "auto") { function formatTscResult (line 19374) | function formatTscResult(result) { function formatLspResult (line 19410) | function formatLspResult(result) { function withLspClient (line 19444) | async function withLspClient(filePath, operation, fn) { function getSgModule (line 19822) | async function getSgModule() { function toLangEnum (line 19842) | function toLangEnum(sg, language) { function getFilesForLanguage (line 19918) | function getFilesForLanguage(dirPath, language, maxFiles = 1e3) { function formatMatch (line 19963) | function formatMatch(filePath, matchText, startLine, endLine, context, f... function isSecureRuntimeDir (line 20287) | function isSecureRuntimeDir(dir) { function getRuntimeDir (line 20299) | function getRuntimeDir() { function shortenSessionId (line 20315) | function shortenSessionId(sessionId) { function getSessionDir (line 20318) | function getSessionDir(sessionId) { function getBridgeSocketPath (line 20322) | function getBridgeSocketPath(sessionId) { function getBridgeMetaPath (line 20325) | function getBridgeMetaPath(sessionId) { function getBridgePortPath (line 20328) | function getBridgePortPath(sessionId) { function getSessionLockPath (line 20331) | function getSessionLockPath(sessionId) { function validatePathSegment (line 20334) | function validatePathSegment(segment, name) { function ensureDirSync (line 20375) | function ensureDirSync(dir) { function atomicWriteJson (line 20388) | async function atomicWriteJson(filePath, data) { function atomicWriteFileSync (line 20421) | function atomicWriteFileSync(filePath, content) { function atomicWriteJsonSync (line 20460) | function atomicWriteJsonSync(filePath, data) { function safeReadJson (line 20464) | async function safeReadJson(filePath) { function isProcessAlive (line 20487) | function isProcessAlive(pid) { function getProcessStartTime (line 20499) | async function getProcessStartTime(pid) { function getProcessStartTimeWindows (line 20510) | async function getProcessStartTimeWindows(pid) { function parseWmicCreationDate (line 20528) | function parseWmicCreationDate(stdout) { function parseWindowsEpochMilliseconds (line 20546) | function parseWindowsEpochMilliseconds(stdout) { function getProcessStartTimeWindowsPowerShellCim (line 20552) | async function getProcessStartTimeWindowsPowerShellCim(pid) { function getProcessStartTimeWindowsPowerShellProcess (line 20569) | async function getProcessStartTimeWindowsPowerShellProcess(pid) { function getProcessStartTimeMacOS (line 20586) | async function getProcessStartTimeMacOS(pid) { function getProcessStartTimeLinux (line 20598) | async function getProcessStartTimeLinux(pid) { method constructor (line 20621) | constructor(lockPath, timeout, lastHolder) { method constructor (line 20632) | constructor(message) { function isValidPid (line 20637) | function isValidPid(pid) { function getCurrentProcessStartTime (line 20640) | async function getCurrentProcessStartTime() { function isProcessAlive2 (line 20643) | async function isProcessAlive2(pid, recordedStartTime) { function isWindowsProcessAlive (line 20686) | async function isWindowsProcessAlive(pid) { function isWindowsProcessAlivePowerShell (line 20694) | async function isWindowsProcessAlivePowerShell(pid) { function openNoFollow (line 20711) | async function openNoFollow(filePath, flags, mode) { function readFileNoFollow (line 20723) | async function readFileNoFollow(filePath) { function readLockFile (line 20739) | async function readLockFile(lockPath) { function createLockInfo (line 20751) | async function createLockInfo(lockId) { function canBreakLock (line 20760) | async function canBreakLock(lockInfo) { method constructor (line 20776) | constructor(sessionId) { method acquire (line 20787) | async acquire(timeout = DEFAULT_ACQUIRE_TIMEOUT_MS) { method tryAcquire (line 20809) | async tryAcquire() { method release (line 20870) | async release() { method forceBreak (line 20890) | async forceBreak() { method isHeld (line 20904) | isHeld() { method getLockPath (line 20910) | getLockPath() { method getLockInfo (line 20916) | getLockInfo() { function sleep (line 20920) | function sleep(ms) { method constructor (line 20928) | constructor(message, socketPath, originalError) { method constructor (line 20936) | constructor(message, timeoutMs) { method constructor (line 20943) | constructor(message, code, data) { function sendSocketRequest (line 20950) | async function sendSocketRequest(socketPath, method, params, timeout = 6... function trackOwnedBridgeSession (line 21110) | function trackOwnedBridgeSession(sessionId) { function getBridgeScriptPath (line 21115) | function getBridgeScriptPath() { function detectExistingPythonEnv (line 21148) | function detectExistingPythonEnv(projectRoot) { function ensurePythonEnvironment (line 21158) | async function ensurePythonEnvironment(projectRoot) { function verifyProcessIdentity (line 21172) | async function verifyProcessIdentity(meta) { function isSocket (line 21188) | function isSocket(socketPath) { function isBridgeReady (line 21196) | function isBridgeReady(socketPath, sessionId) { function readTcpPort (line 21202) | function readTcpPort(sessionId) { function safeUnlinkSocket (line 21214) | function safeUnlinkSocket(socketPath) { function safeUnlinkPortFile (line 21222) | function safeUnlinkPortFile(sessionId) { function isValidBridgeMeta (line 21231) | function isValidBridgeMeta(data) { function killProcessGroup (line 21236) | function killProcessGroup(pid, signal) { function spawnBridgeServer (line 21263) | async function spawnBridgeServer(sessionId, projectDir) { function ensureBridge (line 21360) | async function ensureBridge(sessionId, projectDir) { function killBridgeWithEscalation (line 21392) | async function killBridgeWithEscalation(sessionId, options) { function cleanupBridgeSessions (line 21448) | async function cleanupBridgeSessions(sessionIds) { function cleanupOwnedBridgeSessions (line 21486) | async function cleanupOwnedBridgeSessions() { function deleteBridgeMeta (line 21491) | async function deleteBridgeMeta(sessionId) { function removeFileIfExists (line 21498) | async function removeFileIfExists(filePath) { function sleep2 (line 21509) | function sleep2(ms) { function getNextExecutionCount (line 21530) | function getNextExecutionCount(sessionId) { function formatExecuteResult (line 21536) | function formatExecuteResult(result, sessionId, executionLabel, executio... function formatStateResult (line 21592) | function formatStateResult(result, sessionId) { function formatResetResult (line 21619) | function formatResetResult(result, sessionId) { function formatInterruptResult (line 21632) | function formatInterruptResult(result, sessionId) { function formatLockTimeoutError (line 21647) | function formatLockTimeoutError(error2, sessionId) { function formatSocketError (line 21668) | function formatSocketError(error2, sessionId) { function formatGeneralError (line 21682) | function formatGeneralError(error2, sessionId, action) { function handleExecute (line 21692) | async function handleExecute(sessionId, socketPath, code, executionTimeo... function handleReset (line 21732) | async function handleReset(sessionId, socketPath) { function handleGetState (line 21749) | async function handleGetState(sessionId, socketPath) { function handleInterrupt (line 21769) | async function handleInterrupt(sessionId, socketPath, gracePeriodMs = 5e... function pythonReplHandler (line 21797) | async function pythonReplHandler(input) { function getWorktreeRoot (line 21969) | function getWorktreeRoot(cwd) { function validatePath (line 21996) | function validatePath(inputPath) { function getProjectIdentifier (line 22005) | function getProjectIdentifier(worktreeRoot) { function getOmcRoot (line 22022) | function getOmcRoot(worktreeRoot) { function resolveOmcPath (line 22041) | function resolveOmcPath(relativePath, worktreeRoot) { function resolveStatePath (line 22051) | function resolveStatePath(stateName, worktreeRoot) { function ensureOmcDir (line 22055) | function ensureOmcDir(relativePath, worktreeRoot) { function getWorktreeNotepadPath (line 22062) | function getWorktreeNotepadPath(worktreeRoot) { function getWorktreeProjectMemoryPath (line 22065) | function getWorktreeProjectMemoryPath(worktreeRoot) { function validateSessionId (line 22069) | function validateSessionId(sessionId) { function resolveSessionStatePath (line 22080) | function resolveSessionStatePath(stateName, sessionId, worktreeRoot) { function getSessionStateDir (line 22085) | function getSessionStateDir(sessionId, worktreeRoot) { function listSessionIds (line 22089) | function listSessionIds(worktreeRoot) { function ensureSessionStateDir (line 22101) | function ensureSessionStateDir(sessionId, worktreeRoot) { function resolveToWorktreeRoot (line 22108) | function resolveToWorktreeRoot(directory) { function validateWorkingDirectory (line 22119) | function validateWorkingDirectory(workingDirectory) { function measureDepth (line 22169) | function measureDepth(value, current = 0, maxAllowed) { function validatePayload (line 22183) | function validatePayload(payload, limits = {}) { function getStateSessionOwner (line 22222) | function getStateSessionOwner(state) { function canClearStateForSession (line 22236) | function canClearStateForSession(state, sessionId) { function getStateDir (line 22314) | function getStateDir(cwd) { function getStateFilePath (line 22317) | function getStateFilePath(cwd, mode, sessionId) { function getMarkerFilePath (line 22324) | function getMarkerFilePath(cwd, mode) { function isJsonModeActive (line 22329) | function isJsonModeActive(cwd, mode, sessionId) { function isModeActive (line 22365) | function isModeActive(mode, cwd, sessionId) { function getActiveModes (line 22368) | function getActiveModes(cwd, sessionId) { function getAllModeStatuses (line 22377) | function getAllModeStatuses(cwd, sessionId) { function clearModeState (line 22384) | function clearModeState(mode, cwd, sessionId) { function getActiveSessionsForMode (line 22482) | function getActiveSessionsForMode(mode, cwd) { function readTeamNamesFromStateFile (line 22503) | function readTeamNamesFromStateFile(statePath) { function pruneMissionBoardTeams (line 22513) | function pruneMissionBoardTeams(root, teamNames) { function cleanupTeamRuntimeState (line 22540) | function cleanupTeamRuntimeState(root, teamNames) { function getStatePath (line 22563) | function getStatePath(mode, root) { function getLegacyStateFileCandidates (line 22569) | function getLegacyStateFileCandidates(mode, root) { function clearLegacyStateCandidates (line 22577) | function clearLegacyStateCandidates(mode, root, sessionId) { function isLockStale (line 23309) | function isLockStale(lockPath, staleLockMs) { function lockPathFor (line 23325) | function lockPathFor(filePath) { function tryAcquireSync (line 23328) | function tryAcquireSync(lockPath, staleLockMs) { function acquireFileLockSync (line 23370) | function acquireFileLockSync(lockPath, opts) { function releaseFileLockSync (line 23393) | function releaseFileLockSync(handle) { function withFileLockSync (line 23403) | function withFileLockSync(lockPath, fn, opts) { function sleep3 (line 23414) | function sleep3(ms) { function acquireFileLock (line 23417) | async function acquireFileLock(lockPath, opts) { function releaseFileLock (line 23431) | function releaseFileLock(handle) { function withFileLock (line 23434) | async function withFileLock(lockPath, fn, opts) { function createSectionRegexSet (line 23462) | function createSectionRegexSet(header) { function getSectionRegexSet (line 23469) | function getSectionRegexSet(header) { function getNotepadPath (line 23472) | function getNotepadPath(directory) { function initNotepad (line 23475) | function initNotepad(directory) { function readNotepad (line 23508) | function readNotepad(directory) { function extractSection (line 23519) | function extractSection(content, header) { function replaceSection (line 23528) | function replaceSection(content, header, newContent) { function getPriorityContext (line 23536) | function getPriorityContext(directory) { function getWorkingMemory (line 23543) | function getWorkingMemory(directory) { function getManualSection (line 23550) | function getManualSection(directory) { function setPriorityContext (line 23557) | function setPriorityContext(directory, content, config2 = DEFAULT_CONFIG) { function addWorkingMemoryEntry (line 23576) | function addWorkingMemoryEntry(directory, content) { function addManualEntry (line 23605) | function addManualEntry(directory, content) { function pruneOldEntries (line 23630) | function pruneOldEntries(directory, daysOld = DEFAULT_CONFIG.workingMemo... function getNotepadStats (line 23673) | function getNotepadStats(directory) { function formatFullNotepad (line 23709) | function formatFullNotepad(directory) { method register (line 24013) | register(sessionId, options) { method getPending (line 24032) | getPending(sessionId) { method consume (line 24053) | consume(sessionId) { method clear (line 24061) | clear(sessionId) { method hasPending (line 24067) | hasPending(sessionId) { method getEntryCount (line 24074) | getEntryCount(sessionId) { method removeEntry (line 24081) | removeEntry(sessionId, source, id) { method getActiveSessions (line 24090) | getActiveSessions() { method sortEntries (line 24096) | sortEntries(entries) { function getMemoryPath (line 24124) | function getMemoryPath(projectRoot) { function loadProjectMemory (line 24127) | async function loadProjectMemory(projectRoot) { function saveProjectMemory (line 24140) | async function saveProjectMemory(projectRoot, memory) { function withProjectMemoryLock (line 24151) | async function withProjectMemoryLock(projectRoot, fn) { function addDirective (line 24171) | function addDirective(directives, newDirective) { function withMutex (line 24192) | function withMutex(projectRoot, fn) { function addCustomNote (line 24204) | async function addCustomNote(projectRoot, category, content) { function isPlainObject3 (line 24230) | function isPlainObject3(value) { function deepMerge (line 24233) | function deepMerge(base, incoming) { function mergeArrays (line 24254) | function mergeArrays(fieldName, base, incoming) { function mergeByKey (line 24298) | function mergeByKey(base, incoming, keyFn, resolve7) { function mergeScalarArray (line 24314) | function mergeScalarArray(base, incoming) { function mergeProjectMemory (line 24326) | function mergeProjectMemory(existing, incoming) { function getReplayFilePath (line 24556) | function getReplayFilePath(directory, sessionId) { function readReplayEvents (line 24564) | function readReplayEvents(directory, sessionId) { function detectCycles (line 24580) | function detectCycles(sequence) { function getReplaySummary (line 24602) | function getReplaySummary(directory, sessionId) { function getClaudeConfigDir (line 24746) | function getClaudeConfigDir() { function compactWhitespace (line 24749) | function compactWhitespace(text) { function normalizeForSearch (line 24752) | function normalizeForSearch(value, caseSensitive) { function parseSinceSpec (line 24756) | function parseSinceSpec(since) { function encodeProjectPath (line 24776) | function encodeProjectPath(projectPath) { function getMainRepoRoot (line 24779) | function getMainRepoRoot(projectRoot) { function getClaudeWorktreeParent (line 24793) | function getClaudeWorktreeParent(projectRoot) { function listJsonlFiles (line 24800) | function listJsonlFiles(rootDir) { function uniqueSortedTargets (line 24827) | function uniqueSortedTargets(targets) { function buildCurrentProjectTargets (line 24840) | function buildCurrentProjectTargets(projectRoot) { function buildAllProjectTargets (line 24873) | function buildAllProjectTargets() { function isWithinProject (line 24884) | function isWithinProject(projectPath, projectRoots) { function matchesProjectFilter (line 24894) | function matchesProjectFilter(projectPath, projectFilter) { function stringLeaves (line 24903) | function stringLeaves(value, maxLeaves = 24) { function extractTranscriptTexts (line 24925) | function extractTranscriptTexts(entry) { function buildTranscriptEntry (line 24955) | function buildTranscriptEntry(entry) { function buildJsonArtifactEntry (line 24975) | function buildJsonArtifactEntry(entry, sourceType) { function buildSearchableEntry (line 24994) | function buildSearchableEntry(entry, sourceType) { function findMatchIndex (line 25003) | function findMatchIndex(text, query, caseSensitive) { function createExcerpt (line 25017) | function createExcerpt(text, matchIndex, contextChars) { function buildScopeMode (line 25029) | function buildScopeMode(project) { function collectMatchesFromFile (line 25034) | async function collectMatchesFromFile(target, options) { function searchSessionHistory (line 25112) | async function searchSessionHistory(rawOptions) { function buildToolJson (line 25165) | function buildToolJson(report) { function findLatestSessionId (line 25204) | function findLatestSessionId(directory) { function formatEventType (line 25217) | function formatEventType(event) { function formatTimelineEvent (line 25235) | function formatTimelineEvent(event) { function filterEvents (line 25294) | function filterEvents(events, filter) { function buildExecutionFlow (line 25309) | function buildExecutionFlow(events) { function resolveParentPid (line 25554) | function resolveParentPid(processRef, overrideParentPid) { function registerStandaloneShutdownHandlers (line 25566) | function registerStandaloneShutdownHandlers(options) { function zodToJsonSchema2 (line 25627) | function zodToJsonSchema2(schema) { function zodTypeToJsonSchema (line 25645) | function zodTypeToJsonSchema(zodType) { function gracefulShutdown (line 25731) | async function gracefulShutdown(signal) { function main (line 25752) | async function main() { FILE: bridge/runtime-cli.cjs function validateTeamName (line 34) | function validateTeamName(teamName) { method "src/team/team-name.ts" (line 44) | "src/team/team-name.ts"() { function detectTeamMultiplexerContext (line 81) | function detectTeamMultiplexerContext(env = process.env) { function isUnixLikeOnWindows (line 86) | function isUnixLikeOnWindows() { function tmuxAsync (line 89) | async function tmuxAsync(args) { function getDefaultShell (line 96) | function getDefaultShell() { function resolveShellFromCandidates (line 107) | function resolveShellFromCandidates(paths, rcFile) { function resolveSupportedShellAffinity (line 113) | function resolveSupportedShellAffinity(shellPath) { function buildWorkerLaunchSpec (line 122) | function buildWorkerLaunchSpec(shellPath) { function escapeForCmdSet (line 137) | function escapeForCmdSet(value) { function shellNameFromPath (line 140) | function shellNameFromPath(shellPath) { function shellEscape (line 144) | function shellEscape(value) { function assertSafeEnvKey (line 147) | function assertSafeEnvKey(key) { function isAbsoluteLaunchBinaryPath (line 152) | function isAbsoluteLaunchBinaryPath(value) { function assertSafeLaunchBinary (line 155) | function assertSafeLaunchBinary(launchBinary) { function getLaunchWords (line 169) | function getLaunchWords(config) { function buildWorkerStartCommand (line 181) | function buildWorkerStartCommand(config) { function validateTmux (line 236) | function validateTmux() { function sanitizeName (line 245) | function sanitizeName(name) { function sessionName (line 255) | function sessionName(teamName, workerName2) { function createSession (line 258) | function createSession(teamName, workerName2, workingDirectory) { function killSession (line 271) | function killSession(teamName, workerName2) { function isSessionAlive (line 278) | function isSessionAlive(teamName, workerName2) { function listActiveSessions (line 287) | function listActiveSessions(teamName) { function spawnBridgeInSession (line 300) | function spawnBridgeInSession(tmuxSession, bridgeScriptPath, configFileP... function createTeamSession (line 304) | async function createTeamSession(teamName, workerCount, cwd, options = {... function spawnWorkerInPane (line 461) | async function spawnWorkerInPane(sessionName2, paneId, config) { function normalizeTmuxCapture (line 476) | function normalizeTmuxCapture(value) { function capturePaneAsync (line 479) | async function capturePaneAsync(paneId, execFileAsync2) { function paneHasTrustPrompt (line 487) | function paneHasTrustPrompt(captured) { function paneIsBootstrapping (line 494) | function paneIsBootstrapping(captured) { function paneHasActiveTask (line 500) | function paneHasActiveTask(captured) { function paneLooksReady (line 509) | function paneLooksReady(captured) { function waitForPaneReady (line 521) | async function waitForPaneReady(paneId, opts = {}) { function paneTailContainsLiteralLine (line 538) | function paneTailContainsLiteralLine(captured, text) { function paneInCopyMode (line 541) | async function paneInCopyMode(paneId) { function shouldAttemptAdaptiveRetry (line 549) | function shouldAttemptAdaptiveRetry(args) { function sendToWorker (line 560) | async function sendToWorker(_sessionName, paneId, message) { function injectToLeaderPane (line 645) | async function injectToLeaderPane(sessionName2, leaderPaneId, message) { function isWorkerAlive (line 663) | async function isWorkerAlive(paneId) { function killWorkerPanes (line 677) | async function killWorkerPanes(opts) { function isPaneId (line 700) | function isPaneId(value) { function dedupeWorkerPaneIds (line 703) | function dedupeWorkerPaneIds(paneIds, leaderPaneId) { function resolveSplitPaneWorkerPaneIds (line 713) | async function resolveSplitPaneWorkerPaneIds(sessionName2, recordedPaneI... function killTeamSession (line 726) | async function killTeamSession(sessionName2, workerPaneIds, leaderPaneId... method "src/team/tmux-session.ts" (line 767) | "src/team/tmux-session.ts"() { method "src/lib/atomic-write.ts" (line 789) | "src/lib/atomic-write.ts"() { function isProcessAlive (line 799) | function isProcessAlive(pid) { method "src/platform/process-utils.ts" (line 813) | "src/platform/process-utils.ts"() { method "src/platform/index.ts" (line 825) | "src/platform/index.ts"() { method "src/lib/file-lock.ts" (line 837) | "src/lib/file-lock.ts"() { function getPackageDir (line 873) | function getPackageDir() { function stripFrontmatter (line 892) | function stripFrontmatter(content) { function loadAgentPrompt (line 896) | function loadAgentPrompt(agentName) { function getConfigDir2 (line 935) | function getConfigDir2() { function parseJsonc (line 944) | function parseJsonc(content) { function stripJsoncComments (line 948) | function stripJsoncComments(content) { function validateUrlForSSRF (line 1022) | function validateUrlForSSRF(urlString) { function validateAnthropicBaseUrl (line 1082) | function validateAnthropicBaseUrl(urlString) { function resolveTierModelFromEnv (line 1136) | function resolveTierModelFromEnv(tier) { function getDefaultModelHigh (line 1145) | function getDefaultModelHigh() { function getDefaultModelMedium (line 1148) | function getDefaultModelMedium() { function getDefaultModelLow (line 1151) | function getDefaultModelLow() { function getDefaultTierModels (line 1154) | function getDefaultTierModels() { function resolveClaudeFamily (line 1161) | function resolveClaudeFamily(modelId) { function isBedrock (line 1169) | function isBedrock() { function isProviderSpecificModelId (line 1182) | function isProviderSpecificModelId(modelId) { function isVertexAI (line 1194) | function isVertexAI() { function isNonClaudeProvider (line 1204) | function isNonClaudeProvider() { function buildDefaultConfig (line 1233) | function buildDefaultConfig() { function getConfigPaths (line 1369) | function getConfigPaths() { function loadJsoncFile (line 1376) | function loadJsoncFile(path4) { function deepMerge (line 1389) | function deepMerge(target, source) { function loadEnvConfig (line 1408) | function loadEnvConfig() { function loadConfig (line 1528) | function loadConfig() { function normalizeToCcAlias (line 2038) | function normalizeToCcAlias(model) { function getTrustedPrefixes (line 2050) | function getTrustedPrefixes() { function isTrustedPrefix (line 2066) | function isTrustedPrefix(resolvedPath) { function assertBinaryName (line 2070) | function assertBinaryName(binary) { function resolveCliBinaryPath (line 2075) | function resolveCliBinaryPath(binary) { method buildLaunchArgs (line 2110) | buildLaunchArgs(model, extraFlags = []) { method parseOutput (line 2118) | parseOutput(rawOutput) { method buildLaunchArgs (line 2129) | buildLaunchArgs(model, extraFlags = []) { method parseOutput (line 2134) | parseOutput(rawOutput) { method buildLaunchArgs (line 2157) | buildLaunchArgs(model, extraFlags = []) { method parseOutput (line 2162) | parseOutput(rawOutput) { function getContract (line 2167) | function getContract(agentType) { function validateBinaryRef (line 2174) | function validateBinaryRef(binary) { function resolveBinaryPath (line 2179) | function resolveBinaryPath(binary) { function resolveValidatedBinaryPath (line 2194) | function resolveValidatedBinaryPath(agentType) { function buildLaunchArgs (line 2198) | function buildLaunchArgs(agentType, config) { function buildWorkerArgv (line 2201) | function buildWorkerArgv(agentType, config) { function getWorkerEnv (line 2231) | function getWorkerEnv(teamName, workerName2, agentType, env = process.en... function isPromptModeAgent (line 2246) | function isPromptModeAgent(agentType) { function resolveClaudeWorkerModel (line 2250) | function resolveClaudeWorkerModel(env = process.env) { function getPromptModeArgs (line 2268) | function getPromptModeArgs(agentType, instruction) { function getPackageDir2 (line 2292) | function getPackageDir2() { function getValidAgentRoles (line 2312) | function getValidAgentRoles() { function sanitizePromptContent (line 2332) | function sanitizePromptContent(content, maxLength = 4e3) { function commandExists (line 2353) | function commandExists(command, env) { function resolveOmcCliPrefix (line 2361) | function resolveOmcCliPrefix(options = {}) { function formatOmcCliInvocation (line 2373) | function formatOmcCliInvocation(commandSuffix, options = {}) { function buildInstructionPath (line 2379) | function buildInstructionPath(...parts) { function generateTriggerMessage (line 2382) | function generateTriggerMessage(teamName, workerName2, teamStateRoot2 = ... function agentTypeGuidance (line 2389) | function agentTypeGuidance(agentType) { function generateWorkerOverlay (line 2417) | function generateWorkerOverlay(params) { function composeInitialInbox (line 2534) | async function composeInitialInbox(teamName, workerName2, content, cwd) { function ensureWorkerStateDir (line 2539) | async function ensureWorkerStateDir(teamName, workerName2, cwd) { function writeWorkerOverlay (line 2547) | async function writeWorkerOverlay(params) { function atomicWriteJson (line 2564) | function atomicWriteJson(filePath, data, mode = 384) { function ensureDirWithMode (line 2571) | function ensureDirWithMode(dirPath, mode = 448) { function safeRealpath (line 2574) | function safeRealpath(p) { function validateResolvedPath (line 2587) | function validateResolvedPath(resolvedPath, expectedBase) { function getWorktreePath (line 2599) | function getWorktreePath(repoRoot, teamName, workerName2) { function getBranchName (line 2602) | function getBranchName(teamName, workerName2) { function getMetadataPath (line 2605) | function getMetadataPath(repoRoot, teamName) { function readMetadata (line 2608) | function readMetadata(repoRoot, teamName) { function writeMetadata (line 2620) | function writeMetadata(repoRoot, teamName, entries) { function removeWorkerWorktree (line 2627) | function removeWorkerWorktree(teamName, workerName2, repoRoot) { function cleanupTeamWorktrees (line 2646) | function cleanupTeamWorktrees(teamName, repoRoot) { function normalizeTaskFileStem (line 2664) | function normalizeTaskFileStem(taskId) { function absPath (line 2702) | function absPath(cwd, relativePath) { function teamStateRoot (line 2705) | function teamStateRoot(cwd, teamName) { function getTaskStoragePath (line 2708) | function getTaskStoragePath(cwd, teamName, taskId) { function acquireTaskLock (line 2717) | function acquireTaskLock(teamName, taskId, opts) { function releaseTaskLock (line 2748) | function releaseTaskLock(handle) { function withTaskLock (line 2758) | async function withTaskLock(teamName, taskId, fn, opts) { function isLockStale (line 2767) | function isLockStale(lockPath, staleLockMs) { function sanitizeTaskId (line 2783) | function sanitizeTaskId(taskId) { function canonicalTasksDir (line 2789) | function canonicalTasksDir(teamName, cwd) { function failureSidecarPath (line 2795) | function failureSidecarPath(teamName, taskId, cwd) { function writeTaskFailure (line 2798) | function writeTaskFailure(teamName, taskId, error, opts) { function readTaskFailure (line 2810) | function readTaskFailure(teamName, taskId, opts) { function workerName (line 2823) | function workerName(index) { function stateRoot (line 2826) | function stateRoot(cwd, teamName) { function writeJson (line 2830) | async function writeJson(filePath, data) { function readJsonSafe (line 2834) | async function readJsonSafe(filePath) { function parseWorkerIndex (line 2860) | function parseWorkerIndex(workerNameValue) { function taskPath (line 2866) | function taskPath(root, taskId) { function writePanesTrackingFileIfPresent (line 2869) | async function writePanesTrackingFileIfPresent(runtime) { function readTask (line 2887) | async function readTask(root, taskId) { function writeTask (line 2890) | async function writeTask(root, task) { function markTaskInProgress (line 2893) | async function markTaskInProgress(root, taskId, owner, teamName, cwd) { function resetTaskToPending (line 2905) | async function resetTaskToPending(root, taskId, teamName, cwd) { function markTaskFromDone (line 2915) | async function markTaskFromDone(root, teamName, cwd, taskId, status, sum... function applyDeadPaneTransition (line 2930) | async function applyDeadPaneTransition(runtime, workerNameValue, taskId) { function nextPendingTaskIndex (line 2965) | async function nextPendingTaskIndex(runtime) { function notifyPaneWithRetry (line 2983) | async function notifyPaneWithRetry(sessionName2, paneId, message, maxAtt... function allTasksTerminal (line 2994) | async function allTasksTerminal(runtime) { function buildInitialTaskInstruction (line 3003) | function buildInitialTaskInstruction(teamName, workerName2, task, taskId) { function startTeam (line 3019) | async function startTeam(config) { function monitorTeam (line 3087) | async function monitorTeam(teamName, cwd, workerPaneIds) { function watchdogCliWorkers (line 3153) | function watchdogCliWorkers(runtime, intervalMs) { function spawnWorkerForTask (line 3264) | async function spawnWorkerForTask(runtime, workerNameValue, taskIndex) { function killWorkerPane (line 3369) | async function killWorkerPane(runtime, workerNameValue, paneId) { function shutdownTeam (line 3387) | async function shutdownTeam(teamName, sessionName2, cwd, timeoutMs = 3e4... function formatSwallowedError (line 3433) | function formatSwallowedError(error) { function logSwallowedError (line 3442) | function logSwallowedError(context, error) { function createSwallowedErrorLogger (line 3448) | function createSwallowedErrorLogger(context) { function appendTeamEvent (line 3455) | async function appendTeamEvent(teamName, event, cwd) { function emitMonitorDerivedEvents (line 3468) | async function emitMonitorDerivedEvents(teamName, tasks, workers, previo... function activeTaskCount (line 3515) | function activeTaskCount(input) { function deriveTeamLeaderGuidance (line 3518) | function deriveTeamLeaderGuidance(input) { function checkMissingFields (line 3583) | function checkMissingFields(claims) { function checkMissingGates (line 3592) | function checkMissingGates(claims) { function getFalseGates (line 3602) | function getFalseGates(claims) { function sourceFileCount (line 3612) | function sourceFileCount(claims) { function checkPaths (line 3617) | function checkPaths(claims, policy) { function checkCommands (line 3649) | function checkCommands(claims, policy) { function checkCwdParity (line 3667) | function checkCwdParity(claimsCwd, runtimeCwd, mode, policy) { function expandTokens (line 3720) | function expandTokens(value, workspace) { function expandTokensDeep (line 3725) | function expandTokensDeep(obj, workspace) { function deepMergeGuards (line 3741) | function deepMergeGuards(target, source) { function loadGuardsConfig (line 3758) | function loadGuardsConfig(workspace) { function severityRank (line 3770) | function severityRank(value) { function runChecks (line 3775) | function runChecks(claims, mode, policy, runtimeCwd) { function runFactcheck (line 3844) | function runFactcheck(claims, options) { function computeRate (line 3852) | function computeRate(numerator, denominator) { function getPassRate (line 3856) | function getPassRate(stats) { function getTimeoutRate (line 3859) | function getTimeoutRate(stats) { function getWarnPlusFailRate (line 3862) | function getWarnPlusFailRate(stats) { function getReasonCoverageRate (line 3865) | function getReasonCoverageRate(stats) { function extractVerdict (line 3868) | function extractVerdict(entry) { function hasReason (line 3874) | function hasReason(entry) { function isTimeout (line 3877) | function isTimeout(entry) { function analyzeLog (line 3883) | function analyzeLog(logPath) { function isUpstreamReady (line 3919) | function isUpstreamReady(stats, policy) { function checkSentinelHealth (line 3947) | function checkSentinelHealth(logPath, workspace) { function mapFactcheckToBlockers (line 3955) | function mapFactcheckToBlockers(result) { function coerceArray (line 3966) | function coerceArray(value) { function sanitizeClaims (line 3972) | function sanitizeClaims(raw) { function checkSentinelReadiness (line 3989) | function checkSentinelReadiness(options = {}) { function waitForSentinelReadiness (line 4036) | async function waitForSentinelReadiness(options = {}) { function allocateTasksToWorkers (line 4083) | function allocateTasksToWorkers(tasks, workers) { function isUniformRolePool (line 4111) | function isUniformRolePool(workers) { function pickLeastLoaded (line 4116) | function pickLeastLoaded(workers, loadMap) { function pickBestWorker (line 4128) | function pickBestWorker(task, workers, loadMap) { function normalizeTeamTransportPolicy (line 4158) | function normalizeTeamTransportPolicy(policy) { function normalizeTeamGovernance (line 4166) | function normalizeTeamGovernance(governance, legacyPolicy) { function normalizeTeamManifest (line 4175) | function normalizeTeamManifest(manifest) { function getConfigGovernance (line 4182) | function getConfigGovernance(config) { function hasText (line 4187) | function hasText(value) { function hasAssignedTasks (line 4190) | function hasAssignedTasks(worker) { function workerPriority (line 4193) | function workerPriority(worker) { function mergeAssignedTasks (line 4200) | function mergeAssignedTasks(primary, secondary) { function backfillText (line 4208) | function backfillText(primary, secondary) { function backfillBoolean (line 4211) | function backfillBoolean(primary, secondary) { function backfillNumber (line 4214) | function backfillNumber(primary, secondary, predicate) { function chooseWinningWorker (line 4218) | function chooseWinningWorker(existing, incoming) { function canonicalizeWorkers (line 4226) | function canonicalizeWorkers(workers) { function canonicalizeTeamConfigWorkers (line 4265) | function canonicalizeTeamConfigWorkers(config) { function readJsonSafe2 (line 4279) | async function readJsonSafe2(filePath) { function writeAtomic (line 4288) | async function writeAtomic(filePath, data) { function configFromManifest (line 4296) | function configFromManifest(manifest) { function readTeamConfig (line 4320) | async function readTeamConfig(teamName, cwd) { function readTeamManifest (line 4337) | async function readTeamManifest(teamName, cwd) { function readWorkerStatus (line 4341) | async function readWorkerStatus(teamName, workerName2, cwd) { function readWorkerHeartbeat (line 4345) | async function readWorkerHeartbeat(teamName, workerName2, cwd) { function readMonitorSnapshot (line 4348) | async function readMonitorSnapshot(teamName, cwd) { function writeMonitorSnapshot (line 4377) | async function writeMonitorSnapshot(teamName, snapshot, cwd) { function writeShutdownRequest (line 4380) | async function writeShutdownRequest(teamName, workerName2, fromWorker, c... function readShutdownAck (line 4387) | async function readShutdownAck(teamName, workerName2, cwd, requestedAfte... function listTasksFromFiles (line 4399) | async function listTasksFromFiles(teamName, cwd) { function writeWorkerInbox (line 4413) | async function writeWorkerInbox(teamName, workerName2, content, cwd) { function saveTeamConfig (line 4416) | async function saveTeamConfig(config, cwd) { function cleanupTeamState (line 4442) | async function cleanupTeamState(teamName, cwd) { function inferPhase (line 4452) | function inferPhase(tasks) { function validateWorkerName (line 4509) | function validateWorkerName(name) { function isDispatchKind (line 4514) | function isDispatchKind(value) { function isDispatchStatus (line 4517) | function isDispatchStatus(value) { function resolveDispatchLockTimeoutMs (line 4520) | function resolveDispatchLockTimeoutMs(env = process.env) { function withDispatchLock (line 4527) | async function withDispatchLock(teamName, cwd, fn) { function readDispatchRequestsFromFile (line 4580) | async function readDispatchRequestsFromFile(teamName, cwd) { function writeDispatchRequestsToFile (line 4592) | async function writeDispatchRequestsToFile(teamName, requests, cwd) { function normalizeDispatchRequest (line 4598) | function normalizeDispatchRequest(teamName, raw, nowIso = (/* @__PURE__ ... function equivalentPendingDispatch (line 4625) | function equivalentPendingDispatch(existing, input) { function canTransitionDispatchStatus (line 4637) | function canTransitionDispatchStatus(from, to) { function enqueueDispatchRequest (line 4643) | async function enqueueDispatchRequest(teamName, requestInput, cwd) { function readDispatchRequest (line 4672) | async function readDispatchRequest(teamName, requestId, cwd) { function transitionDispatchRequest (line 4676) | async function transitionDispatchRequest(teamName, requestId, from, to, ... function markDispatchRequestNotified (line 4704) | async function markDispatchRequestNotified(teamName, requestId, patch = ... function isConfirmedNotification (line 4712) | function isConfirmedNotification(outcome) { function fallbackTransportForPreference (line 4717) | function fallbackTransportForPreference(preference) { function notifyExceptionReason (line 4722) | function notifyExceptionReason(error) { function markImmediateDispatchFailure (line 4726) | async function markImmediateDispatchFailure(params) { function queueInboxInstruction (line 4747) | async function queueInboxInstruction(params) { function isRuntimeV2Enabled (line 4800) | function isRuntimeV2Enabled(env = process.env) { function sanitizeTeamName (line 4807) | function sanitizeTeamName(name) { function isWorkerPaneAlive (line 4812) | async function isWorkerPaneAlive(paneId) { function captureWorkerPane (line 4821) | async function captureWorkerPane(paneId) { function isFreshTimestamp (line 4830) | function isFreshTimestamp(value, maxAgeMs = MONITOR_SIGNAL_STALE_MS) { function findOutstandingWorkerTask (line 4836) | function findOutstandingWorkerTask(worker, taskById, inProgressByOwner) { function buildV2TaskInstruction (line 4848) | function buildV2TaskInstruction(teamName, workerName2, task, taskId) { function notifyStartupInbox (line 4883) | async function notifyStartupInbox(sessionName2, paneId, message) { function notifyPaneWithRetry2 (line 4887) | async function notifyPaneWithRetry2(sessionName2, paneId, message, maxAt... function hasWorkerStatusProgress (line 4898) | function hasWorkerStatusProgress(status, taskId) { function hasWorkerTaskClaimEvidence (line 4902) | async function hasWorkerTaskClaimEvidence(teamName, workerName2, cwd, ta... function hasWorkerStartupEvidence (line 4911) | async function hasWorkerStartupEvidence(teamName, workerName2, taskId, c... function waitForWorkerStartupEvidence (line 4918) | async function waitForWorkerStartupEvidence(teamName, workerName2, taskI... function spawnV2Worker (line 4929) | async function spawnV2Worker(opts) { function startTeamV2 (line 5101) | async function startTeamV2(config) { function monitorTeamV2 (line 5299) | async function monitorTeamV2(teamName, cwd) { function shutdownTeamV2 (line 5437) | async function shutdownTeamV2(teamName, cwd, options = {}) { function getTerminalStatus (line 5593) | function getTerminalStatus(taskCounts, expectedTaskCount) { function parseWatchdogFailedAt (line 5599) | function parseWatchdogFailedAt(marker) { function checkWatchdogFailedMarker (line 5609) | async function checkWatchdogFailedMarker(stateRoot2, startTime) { function writeResultArtifact (line 5640) | async function writeResultArtifact(output, finishedAt, jobId = process.e... function writePanesFile (line 5651) | async function writePanesFile(jobId, paneIds, leaderPaneId, sessionName2... function collectTaskResults (line 5661) | function collectTaskResults(stateRoot2) { function main (line 5682) | async function main() { FILE: bridge/team-bridge.cjs function atomicWriteJson (line 61) | function atomicWriteJson(filePath, data, mode = 384) { function writeFileWithMode (line 68) | function writeFileWithMode(filePath, data, mode = 384) { function appendFileWithMode (line 71) | function appendFileWithMode(filePath, data, mode = 384) { function ensureDirWithMode (line 79) | function ensureDirWithMode(dirPath, mode = 448) { function safeRealpath (line 82) | function safeRealpath(p) { function validateResolvedPath (line 95) | function validateResolvedPath(resolvedPath, expectedBase) { function getConfigDir (line 116) | function getConfigDir() { function getClaudeConfigDir (line 121) | function getClaudeConfigDir() { function sanitizeName (line 135) | function sanitizeName(name) { function sessionName (line 145) | function sessionName(teamName, workerName) { function killSession (line 148) | function killSession(teamName, workerName) { function isProcessAlive (line 165) | function isProcessAlive(pid) { function normalizeTaskFileStem (line 183) | function normalizeTaskFileStem(taskId) { function getTaskStoragePath (line 221) | function getTaskStoragePath(cwd, teamName, taskId) { function getLegacyTaskStoragePath (line 227) | function getLegacyTaskStoragePath(claudeConfigDir, teamName, taskId) { function acquireTaskLock (line 236) | function acquireTaskLock(teamName, taskId, opts) { function releaseTaskLock (line 267) | function releaseTaskLock(handle) { function isLockStale (line 277) | function isLockStale(lockPath, staleLockMs) { function sanitizeTaskId (line 293) | function sanitizeTaskId(taskId) { function canonicalTasksDir (line 299) | function canonicalTasksDir(teamName, cwd) { function legacyTasksDir (line 305) | function legacyTasksDir(teamName) { function resolveTaskPathForRead (line 311) | function resolveTaskPathForRead(teamName, taskId, cwd) { function resolveTaskPathForWrite (line 318) | function resolveTaskPathForWrite(teamName, taskId, cwd) { function failureSidecarPath (line 321) | function failureSidecarPath(teamName, taskId, cwd) { function readTask (line 324) | function readTask(teamName, taskId, opts) { function updateTask (line 334) | function updateTask(teamName, taskId, updates, opts) { function findNextTask (line 367) | async function findNextTask(teamName, workerName, opts) { function areBlockersResolved (line 405) | function areBlockersResolved(teamName, blockedBy, opts) { function writeTaskFailure (line 413) | function writeTaskFailure(teamName, taskId, error, opts) { function readTaskFailure (line 425) | function readTaskFailure(teamName, taskId, opts) { function listTaskIds (line 435) | function listTaskIds(teamName, opts) { function teamsDir (line 460) | function teamsDir(teamName) { function inboxPath (line 465) | function inboxPath(teamName, workerName) { function inboxCursorPath (line 468) | function inboxCursorPath(teamName, workerName) { function outboxPath (line 471) | function outboxPath(teamName, workerName) { function signalPath (line 474) | function signalPath(teamName, workerName) { function drainSignalPath (line 477) | function drainSignalPath(teamName, workerName) { function ensureDir (line 480) | function ensureDir(filePath) { function appendOutbox (line 484) | function appendOutbox(teamName, workerName, message) { function rotateOutboxIfNeeded (line 489) | function rotateOutboxIfNeeded(teamName, workerName, maxLines) { function rotateInboxIfNeeded (line 504) | function rotateInboxIfNeeded(teamName, workerName, maxSizeBytes) { function readNewInboxMessages (line 522) | function readNewInboxMessages(teamName, workerName) { function checkShutdownSignal (line 584) | function checkShutdownSignal(teamName, workerName) { function deleteShutdownSignal (line 594) | function deleteShutdownSignal(teamName, workerName) { function checkDrainSignal (line 603) | function checkDrainSignal(teamName, workerName) { function deleteDrainSignal (line 613) | function deleteDrainSignal(teamName, workerName) { function configPath (line 638) | function configPath(teamName) { function shadowRegistryPath (line 643) | function shadowRegistryPath(workingDirectory) { function unregisterMcpWorker (line 648) | function unregisterMcpWorker(teamName, workerName, workingDirectory) { function isMcpWorker (line 670) | function isMcpWorker(member) { function listMcpWorkers (line 673) | function listMcpWorkers(teamName, workingDirectory) { function heartbeatPath (line 705) | function heartbeatPath(workingDirectory, teamName, workerName) { function writeHeartbeat (line 708) | function writeHeartbeat(workingDirectory, data) { function readHeartbeat (line 712) | function readHeartbeat(workingDirectory, teamName, workerName) { function isWorkerAlive (line 722) | function isWorkerAlive(workingDirectory, teamName, workerName, maxAgeMs) { function deleteHeartbeat (line 733) | function deleteHeartbeat(workingDirectory, teamName, workerName) { function getLogPath (line 746) | function getLogPath(workingDirectory, teamName) { function logAuditEvent (line 749) | function logAuditEvent(workingDirectory, event) { function matchGlob (line 760) | function matchGlob(pattern, path4) { function isPathAllowed (line 812) | function isPathAllowed(permissions, filePath, workingDirectory) { function getDefaultPermissions (line 825) | function getDefaultPermissions(workerName) { function getEffectivePermissions (line 844) | function getEffectivePermissions(base) { function findPermissionViolations (line 854) | function findPermissionViolations(changedPaths, permissions, cwd) { function getBuiltinExternalDefaultModel (line 897) | function getBuiltinExternalDefaultModel(provider) { function getUsageLogPath (line 908) | function getUsageLogPath(workingDirectory, teamName) { function recordTaskUsage (line 911) | function recordTaskUsage(workingDirectory, teamName, record) { function measureCharCounts (line 918) | function measureCharCounts(promptFilePath, outputFilePath) { function readUsageRecords (line 935) | function readUsageRecords(workingDirectory, teamName) { function generateUsageReport (line 949) | function generateUsageReport(workingDirectory, teamName) { function emptyUsageReport (line 981) | function emptyUsageReport(teamName) { function peekRecentOutboxMessages (line 989) | function peekRecentOutboxMessages(teamName, workerName, maxMessages = 10) { function getTeamStatus (line 1010) | function getTeamStatus(teamName, workingDirectory, heartbeatMaxAgeMs = 3... function log (line 1080) | function log(message) { function audit (line 1084) | function audit(config, eventType, taskId, details) { function sleep (line 1097) | function sleep(ms) { function captureFileSnapshot (line 1100) | function captureFileSnapshot(cwd) { function diffSnapshots (line 1126) | function diffSnapshots(before, after) { function buildEffectivePermissions (line 1135) | function buildEffectivePermissions(config) { function validateModelName (line 1150) | function validateModelName(model) { function validateProvider (line 1158) | function validateProvider(provider) { function buildHeartbeat (line 1167) | function buildHeartbeat(config, status, currentTaskId, consecutiveErrors) { function sanitizePromptContent (line 1181) | function sanitizePromptContent(content, maxLength) { function formatPromptTemplate (line 1195) | function formatPromptTemplate(sanitizedSubject, sanitizedDescription, wo... function buildTaskPrompt (line 1224) | function buildTaskPrompt(task, messages, config) { function writePromptFile (line 1274) | function writePromptFile(config, taskId, prompt) { function getOutputPath (line 1282) | function getOutputPath(config, taskId) { function readOutputSummary (line 1291) | function readOutputSummary(outputFile) { function recordTaskCompletionUsage (line 1311) | function recordTaskCompletionUsage(args) { function parseCodexOutput (line 1331) | function parseCodexOutput(output) { function spawnCliProcess (line 1368) | function spawnCliProcess(provider, prompt, model, cwd, timeoutMs) { function handleShutdown (line 1442) | async function handleShutdown(config, signal, activeChild) { function runBridge (line 1479) | async function runBridge(config) { function getWorktreeRoot (line 1869) | function getWorktreeRoot(cwd) { function validateConfigPath (line 1898) | function validateConfigPath(configPath2, homeDir, claudeConfigDir) { function validateBridgeWorkingDirectory (line 1916) | function validateBridgeWorkingDirectory(workingDirectory) { function main (line 1936) | function main() { FILE: bridge/team-mcp.cjs method "node_modules/ajv/dist/compile/codegen/code.js" (line 36) | "node_modules/ajv/dist/compile/codegen/code.js"(exports2) { method "node_modules/ajv/dist/compile/codegen/scope.js" (line 190) | "node_modules/ajv/dist/compile/codegen/scope.js"(exports2) { method "node_modules/ajv/dist/compile/codegen/index.js" (line 335) | "node_modules/ajv/dist/compile/codegen/index.js"(exports2) { method "node_modules/ajv/dist/compile/util.js" (line 1055) | "node_modules/ajv/dist/compile/util.js"(exports2) { method "node_modules/ajv/dist/compile/names.js" (line 1222) | "node_modules/ajv/dist/compile/names.js"(exports2) { method "node_modules/ajv/dist/compile/errors.js" (line 1261) | "node_modules/ajv/dist/compile/errors.js"(exports2) { method "node_modules/ajv/dist/compile/validate/boolSchema.js" (line 1383) | "node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) { method "node_modules/ajv/dist/compile/rules.js" (line 1434) | "node_modules/ajv/dist/compile/rules.js"(exports2) { method "node_modules/ajv/dist/compile/validate/applicability.js" (line 1465) | "node_modules/ajv/dist/compile/validate/applicability.js"(exports2) { method "node_modules/ajv/dist/compile/validate/dataType.js" (line 1488) | "node_modules/ajv/dist/compile/validate/dataType.js"(exports2) { method "node_modules/ajv/dist/compile/validate/defaults.js" (line 1672) | "node_modules/ajv/dist/compile/validate/defaults.js"(exports2) { method "node_modules/ajv/dist/vocabularies/code.js" (line 1709) | "node_modules/ajv/dist/vocabularies/code.js"(exports2) { method "node_modules/ajv/dist/compile/validate/keyword.js" (line 1842) | "node_modules/ajv/dist/compile/validate/keyword.js"(exports2) { method "node_modules/ajv/dist/compile/validate/subschema.js" (line 1960) | "node_modules/ajv/dist/compile/validate/subschema.js"(exports2) { method "node_modules/fast-deep-equal/index.js" (line 2043) | "node_modules/fast-deep-equal/index.js"(exports2, module2) { method "node_modules/json-schema-traverse/index.js" (line 2078) | "node_modules/json-schema-traverse/index.js"(exports2, module2) { method "node_modules/ajv/dist/compile/resolve.js" (line 2166) | "node_modules/ajv/dist/compile/resolve.js"(exports2) { method "node_modules/ajv/dist/compile/validate/index.js" (line 2322) | "node_modules/ajv/dist/compile/validate/index.js"(exports2) { method "node_modules/ajv/dist/runtime/validation_error.js" (line 2830) | "node_modules/ajv/dist/runtime/validation_error.js"(exports2) { method "node_modules/ajv/dist/compile/ref_error.js" (line 2846) | "node_modules/ajv/dist/compile/ref_error.js"(exports2) { method "node_modules/ajv/dist/compile/index.js" (line 2863) | "node_modules/ajv/dist/compile/index.js"(exports2) { method "node_modules/ajv/dist/refs/data.json" (line 3087) | "node_modules/ajv/dist/refs/data.json"(exports2, module2) { method "node_modules/fast-uri/lib/utils.js" (line 3106) | "node_modules/fast-uri/lib/utils.js"(exports2, module2) { method "node_modules/fast-uri/lib/schemes.js" (line 3363) | "node_modules/fast-uri/lib/schemes.js"(exports2, module2) { method "node_modules/fast-uri/index.js" (line 3573) | "node_modules/fast-uri/index.js"(exports2, module2) { method "node_modules/ajv/dist/runtime/uri.js" (line 3828) | "node_modules/ajv/dist/runtime/uri.js"(exports2) { method "node_modules/ajv/dist/core.js" (line 3839) | "node_modules/ajv/dist/core.js"(exports2) { method "node_modules/ajv/dist/vocabularies/core/id.js" (line 4450) | "node_modules/ajv/dist/vocabularies/core/id.js"(exports2) { method "node_modules/ajv/dist/vocabularies/core/ref.js" (line 4465) | "node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) { method "node_modules/ajv/dist/vocabularies/core/index.js" (line 4587) | "node_modules/ajv/dist/vocabularies/core/index.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/limitNumber.js" (line 4608) | "node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/multipleOf.js" (line 4640) | "node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) { method "node_modules/ajv/dist/runtime/ucs2length.js" (line 4668) | "node_modules/ajv/dist/runtime/ucs2length.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/limitLength.js" (line 4694) | "node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/pattern.js" (line 4726) | "node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/limitProperties.js" (line 4763) | "node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(expor... method "node_modules/ajv/dist/vocabularies/validation/required.js" (line 4792) | "node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/limitItems.js" (line 4874) | "node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) { method "node_modules/ajv/dist/runtime/equal.js" (line 4903) | "node_modules/ajv/dist/runtime/equal.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js" (line 4914) | "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/const.js" (line 4981) | "node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/enum.js" (line 5010) | "node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) { method "node_modules/ajv/dist/vocabularies/validation/index.js" (line 5059) | "node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js" (line 5097) | "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(expor... method "node_modules/ajv/dist/vocabularies/applicator/items.js" (line 5150) | "node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js" (line 5207) | "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/items2020.js" (line 5224) | "node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/contains.js" (line 5259) | "node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/dependencies.js" (line 5353) | "node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js" (line 5447) | "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports... method "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js" (line 5490) | "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(... method "node_modules/ajv/dist/vocabularies/applicator/properties.js" (line 5596) | "node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js" (line 5654) | "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exp... method "node_modules/ajv/dist/vocabularies/applicator/not.js" (line 5728) | "node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/anyOf.js" (line 5759) | "node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/oneOf.js" (line 5776) | "node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/allOf.js" (line 5834) | "node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/if.js" (line 5861) | "node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/thenElse.js" (line 5930) | "node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) { method "node_modules/ajv/dist/vocabularies/applicator/index.js" (line 5948) | "node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) { method "node_modules/ajv/dist/vocabularies/format/format.js" (line 5996) | "node_modules/ajv/dist/vocabularies/format/format.js"(exports2) { method "node_modules/ajv/dist/vocabularies/format/index.js" (line 6086) | "node_modules/ajv/dist/vocabularies/format/index.js"(exports2) { method "node_modules/ajv/dist/vocabularies/metadata.js" (line 6097) | "node_modules/ajv/dist/vocabularies/metadata.js"(exports2) { method "node_modules/ajv/dist/vocabularies/draft7.js" (line 6120) | "node_modules/ajv/dist/vocabularies/draft7.js"(exports2) { method "node_modules/ajv/dist/vocabularies/discriminator/types.js" (line 6142) | "node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) { method "node_modules/ajv/dist/vocabularies/discriminator/index.js" (line 6156) | "node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) { method "node_modules/ajv/dist/refs/json-schema-draft-07.json" (line 6261) | "node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) { method "node_modules/ajv/dist/ajv.js" (line 6418) | "node_modules/ajv/dist/ajv.js"(exports2, module2) { method "node_modules/ajv-formats/dist/formats.js" (line 6488) | "node_modules/ajv-formats/dist/formats.js"(exports2) { method "node_modules/ajv-formats/dist/limit.js" (line 6691) | "node_modules/ajv-formats/dist/limit.js"(exports2) { method "node_modules/ajv-formats/dist/index.js" (line 6763) | "node_modules/ajv-formats/dist/index.js"(exports2, module2) { function assertIs2 (line 6931) | function assertIs2(_arg) { function assertNever2 (line 6934) | function assertNever2(_x) { function joinValues2 (line 6975) | function joinValues2(array2, separator = " | ") { method errors (line 7084) | get errors() { method constructor (line 7087) | constructor(issues) { method format (line 7105) | format(_mapper) { method assert (line 7141) | static assert(value) { method toString (line 7146) | toString() { method message (line 7149) | get message() { method isEmpty (line 7152) | get isEmpty() { method flatten (line 7155) | flatten(mapper = (issue2) => issue2.message) { method formErrors (line 7169) | get formErrors() { function setErrorMap (line 7283) | function setErrorMap(map) { function getErrorMap (line 7286) | function getErrorMap() { function addIssueToContext (line 7317) | function addIssueToContext(ctx, issueData) { method constructor (line 7337) | constructor() { method dirty (line 7340) | dirty() { method abort (line 7344) | abort() { method mergeArray (line 7348) | static mergeArray(status, results) { method mergeObjectAsync (line 7359) | static async mergeObjectAsync(status, pairs) { method mergeObjectSync (line 7371) | static mergeObjectSync(status, pairs) { method constructor (line 7409) | constructor(parent, value, path4, key) { method path (line 7416) | get path() { method error (line 7436) | get error() { function processCreateParams (line 7446) | function processCreateParams(params) { method description (line 7470) | get description() { method _getType (line 7473) | _getType(input) { method _getOrReturnCtx (line 7476) | _getOrReturnCtx(input, ctx) { method _processInputParams (line 7486) | _processInputParams(input) { method _parseSync (line 7499) | _parseSync(input) { method _parseAsync (line 7506) | _parseAsync(input) { method parse (line 7510) | parse(data, params) { method safeParse (line 7516) | safeParse(data, params) { method "~validate" (line 7532) | "~validate"(data) { method parseAsync (line 7568) | async parseAsync(data, params) { method safeParseAsync (line 7574) | async safeParseAsync(data, params) { method refine (line 7591) | refine(check2, message) { method refinement (line 7625) | refinement(check2, refinementData) { method _refinement (line 7635) | _refinement(refinement) { method superRefine (line 7642) | superRefine(refinement) { method constructor (line 7645) | constructor(def) { method optional (line 7678) | optional() { method nullable (line 7681) | nullable() { method nullish (line 7684) | nullish() { method array (line 7687) | array() { method promise (line 7690) | promise() { method or (line 7693) | or(option) { method and (line 7696) | and(incoming) { method transform (line 7699) | transform(transform2) { method default (line 7707) | default(def) { method brand (line 7716) | brand() { method catch (line 7723) | catch(def) { method describe (line 7732) | describe(description) { method pipe (line 7739) | pipe(target) { method readonly (line 7742) | readonly() { method isOptional (line 7745) | isOptional() { method isNullable (line 7748) | isNullable() { function timeRegexSource (line 7770) | function timeRegexSource(args) { function timeRegex (line 7780) | function timeRegex(args) { function datetimeRegex (line 7783) | function datetimeRegex(args) { function isValidIP (line 7792) | function isValidIP(ip, version2) { function isValidJWT (line 7801) | function isValidJWT(jwt, alg) { function isValidCidr (line 7823) | function isValidCidr(ip, version2) { method _parse (line 7833) | _parse(input) { method _regex (line 8134) | _regex(regex, validation, message) { method _addCheck (line 8141) | _addCheck(check2) { method email (line 8147) | email(message) { method url (line 8150) | url(message) { method emoji (line 8153) | emoji(message) { method uuid (line 8156) | uuid(message) { method nanoid (line 8159) | nanoid(message) { method cuid (line 8162) | cuid(message) { method cuid2 (line 8165) | cuid2(message) { method ulid (line 8168) | ulid(message) { method base64 (line 8171) | base64(message) { method base64url (line 8174) | base64url(message) { method jwt (line 8180) | jwt(options) { method ip (line 8183) | ip(options) { method cidr (line 8186) | cidr(options) { method datetime (line 8189) | datetime(options) { method date (line 8207) | date(message) { method time (line 8210) | time(options) { method duration (line 8224) | duration(message) { method regex (line 8227) | regex(regex, message) { method includes (line 8234) | includes(value, options) { method startsWith (line 8242) | startsWith(value, message) { method endsWith (line 8249) | endsWith(value, message) { method min (line 8256) | min(minLength, message) { method max (line 8263) | max(maxLength, message) { method length (line 8270) | length(len, message) { method nonempty (line 8280) | nonempty(message) { method trim (line 8283) | trim() { method toLowerCase (line 8289) | toLowerCase() { method toUpperCase (line 8295) | toUpperCase() { method isDatetime (line 8301) | get isDatetime() { method isDate (line 8304) | get isDate() { method isTime (line 8307) | get isTime() { method isDuration (line 8310) | get isDuration() { method isEmail (line 8313) | get isEmail() { method isURL (line 8316) | get isURL() { method isEmoji (line 8319) | get isEmoji() { method isUUID (line 8322) | get isUUID() { method isNANOID (line 8325) | get isNANOID() { method isCUID (line 8328) | get isCUID() { method isCUID2 (line 8331) | get isCUID2() { method isULID (line 8334) | get isULID() { method isIP (line 8337) | get isIP() { method isCIDR (line 8340) | get isCIDR() { method isBase64 (line 8343) | get isBase64() { method isBase64url (line 8346) | get isBase64url() { method minLength (line 8349) | get minLength() { method maxLength (line 8359) | get maxLength() { function floatSafeRemainder (line 8378) | function floatSafeRemainder(val, step) { method constructor (line 8387) | constructor() { method _parse (line 8393) | _parse(input) { method gte (line 8474) | gte(value, message) { method gt (line 8477) | gt(value, message) { method lte (line 8480) | lte(value, message) { method lt (line 8483) | lt(value, message) { method setLimit (line 8486) | setLimit(kind, value, inclusive, message) { method _addCheck (line 8500) | _addCheck(check2) { method int (line 8506) | int(message) { method positive (line 8512) | positive(message) { method negative (line 8520) | negative(message) { method nonpositive (line 8528) | nonpositive(message) { method nonnegative (line 8536) | nonnegative(message) { method multipleOf (line 8544) | multipleOf(value, message) { method finite (line 8551) | finite(message) { method safe (line 8557) | safe(message) { method minValue (line 8570) | get minValue() { method maxValue (line 8580) | get maxValue() { method isInt (line 8590) | get isInt() { method isFinite (line 8593) | get isFinite() { method constructor (line 8619) | constructor() { method _parse (line 8624) | _parse(input) { method _getInvalidInput (line 8681) | _getInvalidInput(input) { method gte (line 8690) | gte(value, message) { method gt (line 8693) | gt(value, message) { method lte (line 8696) | lte(value, message) { method lt (line 8699) | lt(value, message) { method setLimit (line 8702) | setLimit(kind, value, inclusive, message) { method _addCheck (line 8716) | _addCheck(check2) { method positive (line 8722) | positive(message) { method negative (line 8730) | negative(message) { method nonpositive (line 8738) | nonpositive(message) { method nonnegative (line 8746) | nonnegative(message) { method multipleOf (line 8754) | multipleOf(value, message) { method minValue (line 8761) | get minValue() { method maxValue (line 8771) | get maxValue() { method _parse (line 8791) | _parse(input) { method _parse (line 8816) | _parse(input) { method _addCheck (line 8875) | _addCheck(check2) { method min (line 8881) | min(minDate, message) { method max (line 8888) | max(maxDate, message) { method minDate (line 8895) | get minDate() { method maxDate (line 8905) | get maxDate() { method _parse (line 8925) | _parse(input) { method _parse (line 8946) | _parse(input) { method _parse (line 8967) | _parse(input) { method constructor (line 8988) | constructor() { method _parse (line 8992) | _parse(input) { method constructor (line 9003) | constructor() { method _parse (line 9007) | _parse(input) { method _parse (line 9018) | _parse(input) { method _parse (line 9035) | _parse(input) { method _parse (line 9056) | _parse(input) { method element (line 9121) | get element() { method min (line 9124) | min(minLength, message) { method max (line 9130) | max(maxLength, message) { method length (line 9136) | length(len, message) { method nonempty (line 9142) | nonempty(message) { function deepPartialify (line 9156) | function deepPartialify(schema) { method constructor (line 9183) | constructor() { method _getCached (line 9189) | _getCached() { method _parse (line 9197) | _parse(input) { method shape (line 9283) | get shape() { method strict (line 9286) | strict(message) { method strip (line 9305) | strip() { method passthrough (line 9311) | passthrough() { method extend (line 9334) | extend(augmentation) { method merge (line 9348) | merge(merging) { method setKey (line 9395) | setKey(key, schema) { method catchall (line 9419) | catchall(index) { method pick (line 9425) | pick(mask) { method omit (line 9437) | omit(mask) { method deepPartial (line 9452) | deepPartial() { method partial (line 9455) | partial(mask) { method required (line 9470) | required(mask) { method keyof (line 9489) | keyof() { method _parse (line 9521) | _parse(input) { method options (line 9600) | get options() { method _parse (line 9643) | _parse(input) { method discriminator (line 9678) | get discriminator() { method options (line 9681) | get options() { method optionsMap (line 9684) | get optionsMap() { method create (line 9695) | static create(discriminator, options, params) { function mergeValues (line 9718) | function mergeValues(a, b) { method _parse (line 9757) | _parse(input) { method _parse (line 9810) | _parse(input) { method items (line 9855) | get items() { method rest (line 9858) | rest(rest) { method keySchema (line 9877) | get keySchema() { method valueSchema (line 9880) | get valueSchema() { method _parse (line 9883) | _parse(input) { method element (line 9909) | get element() { method create (line 9912) | static create(first, second, third) { method keySchema (line 9930) | get keySchema() { method valueSchema (line 9933) | get valueSchema() { method _parse (line 9936) | _parse(input) { method _parse (line 9996) | _parse(input) { method min (line 10052) | min(minSize, message) { method max (line 10058) | max(maxSize, message) { method size (line 10064) | size(size, message) { method nonempty (line 10067) | nonempty(message) { method constructor (line 10081) | constructor() { method _parse (line 10085) | _parse(input) { method parameters (line 10150) | parameters() { method returnType (line 10153) | returnType() { method args (line 10156) | args(...items) { method returns (line 10162) | returns(returnType) { method implement (line 10168) | implement(func) { method strictImplement (line 10172) | strictImplement(func) { method create (line 10176) | static create(args, returns, params) { method schema (line 10186) | get schema() { method _parse (line 10189) | _parse(input) { method _parse (line 10203) | _parse(input) { method value (line 10215) | get value() { function createZodEnum (line 10226) | function createZodEnum(values, params) { method _parse (line 10234) | _parse(input) { method options (line 10260) | get options() { method enum (line 10263) | get enum() { method Values (line 10270) | get Values() { method Enum (line 10277) | get Enum() { method extract (line 10284) | extract(values, newDef = this._def) { method exclude (line 10290) | exclude(values, newDef = this._def) { method _parse (line 10299) | _parse(input) { method enum (line 10325) | get enum() { method unwrap (line 10337) | unwrap() { method _parse (line 10340) | _parse(input) { method innerType (line 10367) | innerType() { method sourceType (line 10370) | sourceType() { method _parse (line 10373) | _parse(input) { method _parse (line 10506) | _parse(input) { method unwrap (line 10513) | unwrap() { method _parse (line 10525) | _parse(input) { method unwrap (line 10532) | unwrap() { method _parse (line 10544) | _parse(input) { method removeDefault (line 10556) | removeDefault() { method _parse (line 10569) | _parse(input) { method removeCatch (line 10609) | removeCatch() { method _parse (line 10622) | _parse(input) { method _parse (line 10644) | _parse(input) { method unwrap (line 10653) | unwrap() { method _parse (line 10658) | _parse(input) { method create (line 10704) | static create(a, b) { method _parse (line 10713) | _parse(input) { method unwrap (line 10723) | unwrap() { function cleanParams (line 10734) | function cleanParams(params, data) { function custom (line 10739) | function custom(check2, _params = {}, fatal) { function $constructor (line 10860) | function $constructor(name, initializer3, params) { method constructor (line 10903) | constructor() { function config (line 10908) | function config(newConfig) { function assertEqual (line 10967) | function assertEqual(val) { function assertNotEqual (line 10970) | function assertNotEqual(val) { function assertIs (line 10973) | function assertIs(_arg) { function assertNever (line 10975) | function assertNever(_x) { function assert (line 10978) | function assert(_) { function getEnumValues (line 10980) | function getEnumValues(entries) { function joinValues (line 10985) | function joinValues(array2, separator = "|") { function jsonStringifyReplacer (line 10988) | function jsonStringifyReplacer(_, value) { function cached (line 10993) | function cached(getter) { function nullish (line 11006) | function nullish(input) { function cleanRegex (line 11009) | function cleanRegex(source) { function floatSafeRemainder2 (line 11014) | function floatSafeRemainder2(val, step) { function defineLazy (line 11022) | function defineLazy(object3, key, getter) { function assignProp (line 11042) | function assignProp(target, prop, value) { function getElementAtPath (line 11050) | function getElementAtPath(obj, path4) { function promiseAllObject (line 11055) | function promiseAllObject(promisesObj) { function randomString (line 11066) | function randomString(length = 10) { function esc (line 11074) | function esc(str) { function isObject (line 11079) | function isObject(data) { function isPlainObject (line 11094) | function isPlainObject(o) { function numKeys (line 11108) | function numKeys(data) { function escapeRegex (line 11163) | function escapeRegex(str) { function clone (line 11166) | function clone(inst, def, params) { function normalizeParams (line 11172) | function normalizeParams(_params) { function createTransparentProxy (line 11188) | function createTransparentProxy(getter) { function stringifyPrimitive (line 11221) | function stringifyPrimitive(value) { function optionalKeys (line 11228) | function optionalKeys(shape) { function pick (line 11244) | function pick(schema, mask) { function omit (line 11261) | function omit(schema, mask) { function extend (line 11278) | function extend(schema, shape) { function merge (line 11294) | function merge(a, b) { function partial (line 11307) | function partial(Class2, schema, mask) { function required (line 11336) | function required(Class2, schema, mask) { function aborted (line 11366) | function aborted(x, startIndex = 0) { function prefixIssues (line 11373) | function prefixIssues(path4, issues) { function unwrapMessage (line 11381) | function unwrapMessage(message) { function finalizeIssue (line 11384) | function finalizeIssue(iss, ctx, config2) { function getSizableOrigin (line 11397) | function getSizableOrigin(input) { function getLengthableOrigin (line 11406) | function getLengthableOrigin(input) { function issue (line 11413) | function issue(...args) { function cleanEnum (line 11425) | function cleanEnum(obj) { method constructor (line 11431) | constructor(..._args) { method get (line 11447) | get() { function flattenError (line 11460) | function flattenError(error2, mapper = (issue2) => issue2.message) { function formatError (line 11473) | function formatError(error2, _mapper) { function emoji (line 11576) | function emoji() { function timeSource (line 11589) | function timeSource(args) { function time (line 11594) | function time(args) { function datetime (line 11597) | function datetime(args) { method constructor (line 12005) | constructor(args = []) { method indented (line 12011) | indented(fn) { method write (line 12016) | write(arg) { method compile (line 12030) | compile() { function isValidBase64 (line 12337) | function isValidBase64(data) { function isValidBase64URL (line 12367) | function isValidBase64URL(data) { function isValidJWT2 (line 12396) | function isValidJWT2(token, algorithm = null) { function handleArrayResult (line 12512) | function handleArrayResult(result, final, index) { function handleObjectResult (line 12551) | function handleObjectResult(result, final, key) { function handleOptionalObjectResult (line 12557) | function handleOptionalObjectResult(result, final, key, input) { function handleUnionResults (line 12737) | function handleUnionResults(results, final, inst, ctx) { function mergeValues2 (line 12872) | function mergeValues2(a, b) { function handleIntersectionResults (line 12916) | function handleIntersectionResults(result, left, right) { function handleDefaultResult (line 13134) | function handleDefaultResult(payload, def) { function handleNonOptionalResult (line 13165) | function handleNonOptionalResult(payload, inst) { function handlePipeResult (line 13226) | function handlePipeResult(left, def, ctx) { function handleReadonlyResult (line 13246) | function handleReadonlyResult(payload) { function handleRefineResult (line 13266) | function handleRefineResult(result, payload, input, inst) { function getSizing (line 13312) | function getSizing(origin) { function en_default2 (line 13396) | function en_default2() { method constructor (line 13404) | constructor() { method add (line 13408) | add(schema, ..._meta) { method clear (line 13419) | clear() { method remove (line 13424) | remove(schema) { method get (line 13432) | get(schema) { method has (line 13441) | has(schema) { function registry (line 13445) | function registry() { function _string (line 13451) | function _string(Class2, params) { function _email (line 13457) | function _email(Class2, params) { function _guid (line 13466) | function _guid(Class2, params) { function _uuid (line 13475) | function _uuid(Class2, params) { function _uuidv4 (line 13484) | function _uuidv4(Class2, params) { function _uuidv6 (line 13494) | function _uuidv6(Class2, params) { function _uuidv7 (line 13504) | function _uuidv7(Class2, params) { function _url (line 13514) | function _url(Class2, params) { function _emoji2 (line 13523) | function _emoji2(Class2, params) { function _nanoid (line 13532) | function _nanoid(Class2, params) { function _cuid (line 13541) | function _cuid(Class2, params) { function _cuid2 (line 13550) | function _cuid2(Class2, params) { function _ulid (line 13559) | function _ulid(Class2, params) { function _xid (line 13568) | function _xid(Class2, params) { function _ksuid (line 13577) | function _ksuid(Class2, params) { function _ipv4 (line 13586) | function _ipv4(Class2, params) { function _ipv6 (line 13595) | function _ipv6(Class2, params) { function _cidrv4 (line 13604) | function _cidrv4(Class2, params) { function _cidrv6 (line 13613) | function _cidrv6(Class2, params) { function _base64 (line 13622) | function _base64(Class2, params) { function _base64url (line 13631) | function _base64url(Class2, params) { function _e164 (line 13640) | function _e164(Class2, params) { function _jwt (line 13649) | function _jwt(Class2, params) { function _isoDateTime (line 13658) | function _isoDateTime(Class2, params) { function _isoDate (line 13669) | function _isoDate(Class2, params) { function _isoTime (line 13677) | function _isoTime(Class2, params) { function _isoDuration (line 13686) | function _isoDuration(Class2, params) { function _number (line 13694) | function _number(Class2, params) { function _int (line 13701) | function _int(Class2, params) { function _boolean (line 13710) | function _boolean(Class2, params) { function _null2 (line 13716) | function _null2(Class2, params) { function _unknown (line 13722) | function _unknown(Class2) { function _never (line 13727) | function _never(Class2, params) { function _lt (line 13733) | function _lt(value, params) { function _lte (line 13741) | function _lte(value, params) { function _gt (line 13749) | function _gt(value, params) { function _gte (line 13757) | function _gte(value, params) { function _multipleOf (line 13765) | function _multipleOf(value, params) { function _maxLength (line 13772) | function _maxLength(maximum, params) { function _minLength (line 13780) | function _minLength(minimum, params) { function _length (line 13787) | function _length(length, params) { function _regex (line 13794) | function _regex(pattern, params) { function _lowercase (line 13802) | function _lowercase(params) { function _uppercase (line 13809) | function _uppercase(params) { function _includes (line 13816) | function _includes(includes, params) { function _startsWith (line 13824) | function _startsWith(prefix, params) { function _endsWith (line 13832) | function _endsWith(suffix, params) { function _overwrite (line 13840) | function _overwrite(tx) { function _normalize (line 13846) | function _normalize(form) { function _trim (line 13849) | function _trim() { function _toLowerCase (line 13852) | function _toLowerCase() { function _toUpperCase (line 13855) | function _toUpperCase() { function _array (line 13858) | function _array(Class2, element, params) { function _custom (line 13868) | function _custom(Class2, fn, _params) { function _refine (line 13879) | function _refine(Class2, fn, _params) { function isZ4Schema (line 13890) | function isZ4Schema(s) { function safeParse2 (line 13894) | function safeParse2(schema, data) { function getObjectShape (line 13903) | function getObjectShape(schema) { function getLiteralValue (line 13925) | function getLiteralValue(schema) { function datetime2 (line 13968) | function datetime2(params) { function date2 (line 13975) | function date2(params) { function time2 (line 13982) | function time2(params) { function duration2 (line 13989) | function duration2(params) { method get (line 14015) | get() { method get (line 14083) | get() { function string2 (line 14153) | function string2(params) { function number2 (line 14261) | function number2(params) { function int (line 14268) | function int(params) { function boolean2 (line 14275) | function boolean2(params) { function _null3 (line 14282) | function _null3(params) { function unknown (line 14289) | function unknown() { function never (line 14296) | function never(params) { function array (line 14309) | function array(element, params) { function object2 (line 14331) | function object2(shape, params) { function looseObject (line 14342) | function looseObject(shape, params) { function union (line 14358) | function union(options, params) { function discriminatedUnion (line 14369) | function discriminatedUnion(discriminator, options, params) { function intersection (line 14381) | function intersection(left, right) { function record (line 14394) | function record(keyType, valueType, params) { function _enum (line 14439) | function _enum(values, params) { method get (line 14452) | get() { function literal (line 14460) | function literal(value, params) { function transform (line 14496) | function transform(fn) { function optional (line 14507) | function optional(innerType) { function nullable (line 14518) | function nullable(innerType) { function _default (line 14530) | function _default(innerType, defaultValue) { function prefault (line 14544) | function prefault(innerType, defaultValue) { function nonoptional (line 14558) | function nonoptional(innerType, params) { function _catch (line 14571) | function _catch(innerType, catchValue) { function pipe (line 14584) | function pipe(in_, out) { function readonly (line 14596) | function readonly(innerType) { function check (line 14606) | function check(fn) { function custom2 (line 14614) | function custom2(fn, _params) { function refine (line 14617) | function refine(fn, _params = {}) { function superRefine (line 14620) | function superRefine(fn) { function preprocess (line 14640) | function preprocess(fn, schema) { method constructor (line 16123) | constructor(code, message, data) { method fromError (line 16132) | static fromError(code, message, data) { method constructor (line 16143) | constructor(elicitations, message = `URL elicitation${elicitations.lengt... method elicitations (line 16148) | get elicitations() { function isTerminal (line 16154) | function isTerminal(status) { function getMethodLiteral (line 16162) | function getMethodLiteral(schema) { function parseWithCompat (line 16174) | function parseWithCompat(schema, data) { method constructor (line 16185) | constructor(_options) { method _oncancel (line 16313) | async _oncancel(notification) { method _setupTimeout (line 16320) | _setupTimeout(messageId, timeout, maxTotalTimeout, onTimeout, resetTimeo... method _resetTimeout (line 16330) | _resetTimeout(messageId) { method _cleanupTimeout (line 16346) | _cleanupTimeout(messageId) { method connect (line 16358) | async connect(transport) { method _onclose (line 16388) | _onclose() { method _onerror (line 16405) | _onerror(error2) { method _onnotification (line 16408) | _onnotification(notification) { method _onrequest (line 16415) | _onrequest(request, extra) { method _onprogress (line 16527) | _onprogress(notification) { method _onresponse (line 16550) | _onresponse(response) { method transport (line 16591) | get transport() { method close (line 16597) | async close() { method requestStream (line 16627) | async *requestStream(request, resultSchema, options) { method request (line 16691) | request(request, resultSchema, options) { method getTask (line 16815) | async getTask(params, options) { method getTaskResult (line 16823) | async getTaskResult(params, resultSchema, options) { method listTasks (line 16831) | async listTasks(params, options) { method cancelTask (line 16839) | async cancelTask(params, options) { method notification (line 16845) | async notification(notification, options) { method setRequestHandler (line 16925) | setRequestHandler(requestSchema, handler) { method removeRequestHandler (line 16936) | removeRequestHandler(method) { method assertCanSetRequestHandler (line 16942) | assertCanSetRequestHandler(method) { method setNotificationHandler (line 16952) | setNotificationHandler(notificationSchema, handler) { method removeNotificationHandler (line 16962) | removeNotificationHandler(method) { method _cleanupTaskProgressHandler (line 16969) | _cleanupTaskProgressHandler(taskId) { method _enqueueTaskMessage (line 16987) | async _enqueueTaskMessage(taskId, message, sessionId) { method _clearTaskQueue (line 16999) | async _clearTaskQueue(taskId, sessionId) { method _waitForTaskUpdate (line 17023) | async _waitForTaskUpdate(taskId, signal) { method requestTaskStore (line 17044) | requestTaskStore(request, sessionId) { function isPlainObject2 (line 17110) | function isPlainObject2(value) { function mergeCapabilities (line 17113) | function mergeCapabilities(base, additional) { function createDefaultAjvInstance (line 17133) | function createDefaultAjvInstance() { method constructor (line 17165) | constructor(ajv) { method getValidator (line 17177) | getValidator(schema) { method constructor (line 17200) | constructor(_server) { method requestStream (line 17217) | requestStream(request, resultSchema, options) { method getTask (line 17229) | async getTask(taskId, options) { method getTaskResult (line 17242) | async getTaskResult(taskId, resultSchema, options) { method listTasks (line 17254) | async listTasks(cursor, options) { method cancelTask (line 17265) | async cancelTask(taskId, options) { function assertToolsCallTaskCapability (line 17271) | function assertToolsCallTaskCapability(requests, method, entityName) { function assertClientRequestTaskCapability (line 17285) | function assertClientRequestTaskCapability(requests, method, entityName) { method constructor (line 17310) | constructor(_serverInfo, options) { method experimental (line 17343) | get experimental() { method registerCapabilities (line 17356) | registerCapabilities(capabilities) { method setRequestHandler (line 17365) | setRequestHandler(requestSchema, handler) { method assertCapabilityForMethod (line 17413) | assertCapabilityForMethod(method) { method assertNotificationCapability (line 17434) | assertNotificationCapability(method) { method assertRequestHandlerCapability (line 17468) | assertRequestHandlerCapability(method) { method assertTaskCapability (line 17515) | assertTaskCapability(method) { method assertTaskHandlerCapability (line 17518) | assertTaskHandlerCapability(method) { method _oninitialize (line 17524) | async _oninitialize(request) { method getClientCapabilities (line 17539) | getClientCapabilities() { method getClientVersion (line 17545) | getClientVersion() { method getCapabilities (line 17548) | getCapabilities() { method ping (line 17551) | async ping() { method createMessage (line 17555) | async createMessage(params, options) { method elicitInput (line 17596) | async elicitInput(params, options) { method createElicitationCompletionNotifier (line 17638) | createElicitationCompletionNotifier(elicitationId, options) { method listRoots (line 17649) | async listRoots(params, options) { method sendLoggingMessage (line 17659) | async sendLoggingMessage(params, sessionId) { method sendResourceUpdated (line 17666) | async sendResourceUpdated(params) { method sendResourceListChanged (line 17672) | async sendResourceListChanged() { method sendToolListChanged (line 17677) | async sendToolListChanged() { method sendPromptListChanged (line 17680) | async sendPromptListChanged() { method append (line 17690) | append(chunk) { method readMessage (line 17693) | readMessage() { method clear (line 17705) | clear() { function deserializeMessage (line 17709) | function deserializeMessage(line) { function serializeMessage (line 17712) | function serializeMessage(message) { method constructor (line 17718) | constructor(_stdin = import_node_process.default.stdin, _stdout = import... method start (line 17734) | async start() { method processReadBuffer (line 17742) | processReadBuffer() { method close (line 17755) | async close() { method send (line 17765) | send(message) { function validateTeamName (line 17793) | function validateTeamName(teamName) { function tmuxAsync (line 17806) | async function tmuxAsync(args) { function sanitizeName (line 17813) | function sanitizeName(name) { function normalizeTmuxCapture (line 17823) | function normalizeTmuxCapture(value) { function capturePaneAsync (line 17826) | async function capturePaneAsync(paneId, execFileAsync2) { function paneHasTrustPrompt (line 17834) | function paneHasTrustPrompt(captured) { function paneIsBootstrapping (line 17841) | function paneIsBootstrapping(captured) { function paneHasActiveTask (line 17847) | function paneHasActiveTask(captured) { function paneLooksReady (line 17856) | function paneLooksReady(captured) { function paneTailContainsLiteralLine (line 17868) | function paneTailContainsLiteralLine(captured, text) { function paneInCopyMode (line 17871) | async function paneInCopyMode(paneId) { function shouldAttemptAdaptiveRetry (line 17879) | function shouldAttemptAdaptiveRetry(args) { function sendToWorker (line 17890) | async function sendToWorker(_sessionName, paneId, message) { function isWorkerAlive (line 17975) | async function isWorkerAlive(paneId) { function killWorkerPanes (line 17989) | async function killWorkerPanes(opts) { function killTeamSession (line 18012) | async function killTeamSession(sessionName, workerPaneIds, leaderPaneId,... function capturePane (line 18059) | function capturePane(paneId) { function isPaneIdle (line 18067) | async function isPaneIdle(paneId) { method constructor (line 18078) | constructor(config2) { method checkAndNudge (line 18089) | async checkAndNudge(paneIds, leaderPaneId, sessionName) { method getSummary (line 18122) | getSummary() { method totalNudges (line 18132) | get totalNudges() { function atomicWriteJson (line 18153) | function atomicWriteJson(filePath, data, mode = 384) { function ensureDirWithMode (line 18160) | function ensureDirWithMode(dirPath, mode = 448) { function safeRealpath (line 18163) | function safeRealpath(p) { function validateResolvedPath (line 18176) | function validateResolvedPath(resolvedPath, expectedBase) { function isProcessAlive (line 18204) | function isProcessAlive(pid) { function getWorktreePath (line 18221) | function getWorktreePath(repoRoot, teamName, workerName) { function getBranchName (line 18224) | function getBranchName(teamName, workerName) { function getMetadataPath (line 18227) | function getMetadataPath(repoRoot, teamName) { function readMetadata (line 18230) | function readMetadata(repoRoot, teamName) { function writeMetadata (line 18242) | function writeMetadata(repoRoot, teamName, entries) { function removeWorkerWorktree (line 18249) | function removeWorkerWorktree(teamName, workerName, repoRoot) { function cleanupTeamWorktrees (line 18268) | function cleanupTeamWorktrees(teamName, repoRoot) { function readResultArtifact (line 18279) | function readResultArtifact(omcJobsDir, jobId) { function convergeJobWithResultArtifact (line 18309) | function convergeJobWithResultArtifact(job, jobId, omcJobsDir) { function isJobTerminal (line 18334) | function isJobTerminal(job) { function clearScopedTeamState (line 18337) | function clearScopedTeamState(job) { function getStateDir (line 18369) | function getStateDir() { function prefersXdgOmcDirs (line 18375) | function prefersXdgOmcDirs() { function getUserHomeDir (line 18378) | function getUserHomeDir() { function getLegacyOmcDir (line 18384) | function getLegacyOmcDir() { function getGlobalOmcStateRoot (line 18387) | function getGlobalOmcStateRoot() { function getGlobalOmcStatePath (line 18397) | function getGlobalOmcStatePath(...segments) { function isDeprecatedTeamToolName (line 18414) | function isDeprecatedTeamToolName(name) { function createDeprecatedCliOnlyEnvelope (line 18417) | function createDeprecatedCliOnlyEnvelope(toolName) { function quoteCliValue (line 18420) | function quoteCliValue(value) { function buildCliReplacement (line 18423) | function buildCliReplacement(toolName, args) { function createDeprecatedCliOnlyEnvelopeWithArgs (line 18474) | function createDeprecatedCliOnlyEnvelopeWithArgs(toolName, args) { function persistJob (line 18489) | function persistJob(jobId, job) { function loadJobFromDisk (line 18496) | function loadJobFromDisk(jobId) { function loadPaneIds (line 18503) | async function loadPaneIds(jobId) { function validateJobId (line 18511) | function validateJobId(job_id) { function saveJobState (line 18516) | function saveJobState(jobId, job) { function makeJobResponse (line 18521) | function makeJobResponse(jobId, job, extra = {}) { function handleStart (line 18558) | async function handleStart(args) { function handleStatus (line 18613) | async function handleStatus(args) { function handleWait (line 18637) | async function handleWait(args) { function handleCleanup (line 18711) | async function handleCleanup(args) { function main (line 18828) | async function main() { FILE: bridge/team.js function isTerminalTeamTaskStatus (line 12) | function isTerminalTeamTaskStatus(status) { function canTransitionTeamTaskStatus (line 15) | function canTransitionTeamTaskStatus(from, to) { method "src/team/contracts.ts" (line 20) | "src/team/contracts.ts"() { function normalizeTaskFileStem (line 52) | function normalizeTaskFileStem(taskId) { function absPath (line 58) | function absPath(cwd, relativePath) { function teamStateRoot (line 61) | function teamStateRoot(cwd, teamName) { method "src/team/state-paths.ts" (line 66) | "src/team/state-paths.ts"() { function normalizeTeamTransportPolicy (line 115) | function normalizeTeamTransportPolicy(policy) { function normalizeTeamGovernance (line 123) | function normalizeTeamGovernance(governance, legacyPolicy) { function normalizeTeamManifest (line 132) | function normalizeTeamManifest(manifest) { function getConfigGovernance (line 139) | function getConfigGovernance(config) { function resolveLifecycleProfile (line 142) | function resolveLifecycleProfile(config, manifest) { function isLinkedRalphProfile (line 147) | function isLinkedRalphProfile(config, manifest) { method "src/team/governance.ts" (line 152) | "src/team/governance.ts"() { function computeTaskReadiness (line 175) | async function computeTaskReadiness(teamName, taskId, cwd, deps) { function claimTask (line 185) | async function claimTask(taskId, workerName, expectedVersion, deps) { function transitionTaskStatus (line 223) | async function transitionTaskStatus(taskId, from, to, claimToken, deps) { function releaseTaskClaim (line 275) | async function releaseTaskClaim(taskId, claimToken, _workerName, deps) { function listTasks (line 299) | async function listTasks(teamName, cwd, deps) { method "src/team/state/tasks.ts" (line 331) | "src/team/state/tasks.ts"() { function hasText (line 337) | function hasText(value) { function hasAssignedTasks (line 340) | function hasAssignedTasks(worker) { function workerPriority (line 343) | function workerPriority(worker) { function mergeAssignedTasks (line 350) | function mergeAssignedTasks(primary, secondary) { function backfillText (line 358) | function backfillText(primary, secondary) { function backfillBoolean (line 361) | function backfillBoolean(primary, secondary) { function backfillNumber (line 364) | function backfillNumber(primary, secondary, predicate) { function chooseWinningWorker (line 368) | function chooseWinningWorker(existing, incoming) { function canonicalizeWorkers (line 376) | function canonicalizeWorkers(workers) { function canonicalizeTeamConfigWorkers (line 415) | function canonicalizeTeamConfigWorkers(config) { method "src/team/worker-canonicalization.ts" (line 428) | "src/team/worker-canonicalization.ts"() { function teamDir (line 470) | function teamDir(teamName, cwd) { function normalizeTaskId (line 473) | function normalizeTaskId(taskId) { function canonicalTaskFilePath (line 477) | function canonicalTaskFilePath(teamName, taskId, cwd) { function legacyTaskFilePath (line 481) | function legacyTaskFilePath(teamName, taskId, cwd) { function taskFileCandidates (line 485) | function taskFileCandidates(teamName, taskId, cwd) { function writeAtomic (line 490) | async function writeAtomic(path4, data) { function readJsonSafe (line 497) | async function readJsonSafe(path4) { function normalizeTask (line 506) | function normalizeTask(task) { function isTeamTask (line 509) | function isTeamTask(value) { function withLock (line 514) | async function withLock(lockDir, fn) { function withTaskClaimLock (line 548) | async function withTaskClaimLock(teamName, taskId, cwd, fn) { function withMailboxLock (line 552) | async function withMailboxLock(teamName, workerName, cwd, fn) { function configFromManifest (line 565) | function configFromManifest(manifest) { function mergeTeamConfigSources (line 589) | function mergeTeamConfigSources(config, manifest) { function teamReadConfig (line 602) | async function teamReadConfig(teamName, cwd) { function teamReadManifest (line 609) | async function teamReadManifest(teamName, cwd) { function teamCleanup (line 614) | async function teamCleanup(teamName, cwd) { function teamWriteWorkerIdentity (line 617) | async function teamWriteWorkerIdentity(teamName, workerName, identity, c... function teamReadWorkerHeartbeat (line 621) | async function teamReadWorkerHeartbeat(teamName, workerName, cwd) { function teamUpdateWorkerHeartbeat (line 625) | async function teamUpdateWorkerHeartbeat(teamName, workerName, heartbeat... function teamReadWorkerStatus (line 629) | async function teamReadWorkerStatus(teamName, workerName, cwd) { function teamWriteWorkerInbox (line 635) | async function teamWriteWorkerInbox(teamName, workerName, prompt, cwd) { function teamCreateTask (line 639) | async function teamCreateTask(teamName, task, cwd) { function teamReadTask (line 658) | async function teamReadTask(teamName, taskId, cwd) { function teamListTasks (line 666) | async function teamListTasks(teamName, cwd) { function teamUpdateTask (line 673) | async function teamUpdateTask(teamName, taskId, updates, cwd) { function teamClaimTask (line 687) | async function teamClaimTask(teamName, taskId, workerName, expectedVersi... function teamTransitionTaskStatus (line 711) | async function teamTransitionTaskStatus(teamName, taskId, from, to, clai... function teamReleaseTaskClaim (line 728) | async function teamReleaseTaskClaim(teamName, taskId, claimToken, worker... function normalizeLegacyMailboxMessage (line 741) | function normalizeLegacyMailboxMessage(raw) { function readLegacyMailboxJsonl (line 761) | async function readLegacyMailboxJsonl(teamName, workerName, cwd) { function readMailbox (line 785) | async function readMailbox(teamName, workerName, cwd) { function writeMailbox (line 793) | async function writeMailbox(teamName, workerName, mailbox, cwd) { function teamSendMessage (line 797) | async function teamSendMessage(teamName, fromWorker, toWorker, body, cwd) { function teamBroadcast (line 817) | async function teamBroadcast(teamName, fromWorker, body, cwd) { function teamListMailbox (line 828) | async function teamListMailbox(teamName, workerName, cwd) { function teamMarkMessageDelivered (line 832) | async function teamMarkMessageDelivered(teamName, workerName, messageId,... function teamMarkMessageNotified (line 842) | async function teamMarkMessageNotified(teamName, workerName, messageId, ... function teamAppendEvent (line 852) | async function teamAppendEvent(teamName, event, cwd) { function teamReadTaskApproval (line 865) | async function teamReadTaskApproval(teamName, taskId, cwd) { function teamWriteTaskApproval (line 869) | async function teamWriteTaskApproval(teamName, approval, cwd) { function teamGetSummary (line 879) | async function teamGetSummary(teamName, cwd) { function teamWriteShutdownRequest (line 931) | async function teamWriteShutdownRequest(teamName, workerName, requestedB... function teamReadShutdownAck (line 935) | async function teamReadShutdownAck(teamName, workerName, cwd, minUpdated... function teamReadMonitorSnapshot (line 946) | async function teamReadMonitorSnapshot(teamName, cwd) { function teamWriteMonitorSnapshot (line 950) | async function teamWriteMonitorSnapshot(teamName, snapshot, cwd) { method "src/team/team-ops.ts" (line 955) | "src/team/team-ops.ts"() { function atomicWriteJson (line 969) | function atomicWriteJson(filePath, data, mode = 384) { function ensureDirWithMode (line 976) | function ensureDirWithMode(dirPath, mode = 448) { function safeRealpath (line 979) | function safeRealpath(p) { function validateResolvedPath (line 992) | function validateResolvedPath(resolvedPath, expectedBase) { method "src/team/fs-utils.ts" (line 1001) | "src/team/fs-utils.ts"() { function validateWorkerName (line 1011) | function validateWorkerName(name) { function isDispatchKind (line 1016) | function isDispatchKind(value) { function isDispatchStatus (line 1019) | function isDispatchStatus(value) { function resolveDispatchLockTimeoutMs (line 1022) | function resolveDispatchLockTimeoutMs(env = process.env) { function withDispatchLock (line 1029) | async function withDispatchLock(teamName, cwd, fn) { function readDispatchRequestsFromFile (line 1082) | async function readDispatchRequestsFromFile(teamName, cwd) { function writeDispatchRequestsToFile (line 1094) | async function writeDispatchRequestsToFile(teamName, requests, cwd) { function normalizeDispatchRequest (line 1100) | function normalizeDispatchRequest(teamName, raw, nowIso = (/* @__PURE__ ... function equivalentPendingDispatch (line 1127) | function equivalentPendingDispatch(existing, input) { function canTransitionDispatchStatus (line 1139) | function canTransitionDispatchStatus(from, to) { function enqueueDispatchRequest (line 1145) | async function enqueueDispatchRequest(teamName, requestInput, cwd) { function listDispatchRequests (line 1174) | async function listDispatchRequests(teamName, cwd, opts = {}) { function readDispatchRequest (line 1183) | async function readDispatchRequest(teamName, requestId, cwd) { function transitionDispatchRequest (line 1187) | async function transitionDispatchRequest(teamName, requestId, from, to, ... function markDispatchRequestNotified (line 1215) | async function markDispatchRequestNotified(teamName, requestId, patch = ... function markDispatchRequestDelivered (line 1221) | async function markDispatchRequestDelivered(teamName, requestId, patch =... method "src/team/dispatch-queue.ts" (line 1229) | "src/team/dispatch-queue.ts"() { function formatSwallowedError (line 1245) | function formatSwallowedError(error) { function logSwallowedError (line 1254) | function logSwallowedError(context, error) { function createSwallowedErrorLogger (line 1260) | function createSwallowedErrorLogger(context) { method "src/lib/swallowed-error.ts" (line 1266) | "src/lib/swallowed-error.ts"() { function isConfirmedNotification (line 1272) | function isConfirmedNotification(outcome) { function isLeaderPaneMissingMailboxPersistedOutcome (line 1277) | function isLeaderPaneMissingMailboxPersistedOutcome(request, outcome) { function fallbackTransportForPreference (line 1280) | function fallbackTransportForPreference(preference) { function notifyExceptionReason (line 1285) | function notifyExceptionReason(error) { function markImmediateDispatchFailure (line 1289) | async function markImmediateDispatchFailure(params) { function markLeaderPaneMissingDeferred (line 1310) | async function markLeaderPaneMissingDeferred(params) { function queueInboxInstruction (line 1330) | async function queueInboxInstruction(params) { function queueDirectMailboxMessage (line 1381) | async function queueDirectMailboxMessage(params) { function queueBroadcastMailboxMessage (line 1449) | async function queueBroadcastMailboxMessage(params) { method "src/team/mcp-comm.ts" (line 1518) | "src/team/mcp-comm.ts"() { function validateTeamName (line 1526) | function validateTeamName(teamName) { method "src/team/team-name.ts" (line 1536) | "src/team/team-name.ts"() { function detectTeamMultiplexerContext (line 1578) | function detectTeamMultiplexerContext(env = process.env) { function isUnixLikeOnWindows (line 1583) | function isUnixLikeOnWindows() { function tmuxAsync (line 1586) | async function tmuxAsync(args) { function getDefaultShell (line 1593) | function getDefaultShell() { function resolveShellFromCandidates (line 1604) | function resolveShellFromCandidates(paths, rcFile) { function resolveSupportedShellAffinity (line 1610) | function resolveSupportedShellAffinity(shellPath) { function buildWorkerLaunchSpec (line 1619) | function buildWorkerLaunchSpec(shellPath) { function escapeForCmdSet (line 1634) | function escapeForCmdSet(value) { function shellNameFromPath (line 1637) | function shellNameFromPath(shellPath) { function shellEscape (line 1641) | function shellEscape(value) { function assertSafeEnvKey (line 1644) | function assertSafeEnvKey(key) { function isAbsoluteLaunchBinaryPath (line 1649) | function isAbsoluteLaunchBinaryPath(value) { function assertSafeLaunchBinary (line 1652) | function assertSafeLaunchBinary(launchBinary) { function getLaunchWords (line 1666) | function getLaunchWords(config) { function buildWorkerStartCommand (line 1678) | function buildWorkerStartCommand(config) { function validateTmux (line 1733) | function validateTmux() { function sanitizeName (line 1742) | function sanitizeName(name) { function sessionName (line 1752) | function sessionName(teamName, workerName) { function createSession (line 1755) | function createSession(teamName, workerName, workingDirectory) { function killSession (line 1768) | function killSession(teamName, workerName) { function isSessionAlive (line 1775) | function isSessionAlive(teamName, workerName) { function listActiveSessions (line 1784) | function listActiveSessions(teamName) { function spawnBridgeInSession (line 1797) | function spawnBridgeInSession(tmuxSession, bridgeScriptPath, configFileP... function createTeamSession (line 1801) | async function createTeamSession(teamName, workerCount, cwd, options = {... function spawnWorkerInPane (line 1958) | async function spawnWorkerInPane(sessionName2, paneId, config) { function normalizeTmuxCapture (line 1973) | function normalizeTmuxCapture(value) { function capturePaneAsync (line 1976) | async function capturePaneAsync(paneId, execFileAsync2) { function paneHasTrustPrompt (line 1984) | function paneHasTrustPrompt(captured) { function paneIsBootstrapping (line 1991) | function paneIsBootstrapping(captured) { function paneHasActiveTask (line 1997) | function paneHasActiveTask(captured) { function paneLooksReady (line 2006) | function paneLooksReady(captured) { function waitForPaneReady (line 2018) | async function waitForPaneReady(paneId, opts = {}) { function paneTailContainsLiteralLine (line 2035) | function paneTailContainsLiteralLine(captured, text) { function paneInCopyMode (line 2038) | async function paneInCopyMode(paneId) { function shouldAttemptAdaptiveRetry (line 2046) | function shouldAttemptAdaptiveRetry(args) { function sendToWorker (line 2057) | async function sendToWorker(_sessionName, paneId, message) { function injectToLeaderPane (line 2142) | async function injectToLeaderPane(sessionName2, leaderPaneId, message) { function isWorkerAlive (line 2160) | async function isWorkerAlive(paneId) { function killWorkerPanes (line 2174) | async function killWorkerPanes(opts) { function isPaneId (line 2197) | function isPaneId(value) { function dedupeWorkerPaneIds (line 2200) | function dedupeWorkerPaneIds(paneIds, leaderPaneId) { function resolveSplitPaneWorkerPaneIds (line 2210) | async function resolveSplitPaneWorkerPaneIds(sessionName2, recordedPaneI... function killTeamSession (line 2223) | async function killTeamSession(sessionName2, workerPaneIds, leaderPaneId... method "src/team/tmux-session.ts" (line 2264) | "src/team/tmux-session.ts"() { function getPackageDir (line 2282) | function getPackageDir() { function stripFrontmatter (line 2301) | function stripFrontmatter(content) { function loadAgentPrompt (line 2305) | function loadAgentPrompt(agentName) { method "src/agents/utils.ts" (line 2336) | "src/agents/utils.ts"() { function getPackageDir2 (line 2345) | function getPackageDir2() { function getValidAgentRoles (line 2364) | function getValidAgentRoles() { function sanitizePromptContent (line 2383) | function sanitizePromptContent(content, maxLength = 4e3) { method "src/agents/prompt-helpers.ts" (line 2401) | "src/agents/prompt-helpers.ts"() { function commandExists (line 2411) | function commandExists(command, env) { function resolveOmcCliPrefix (line 2419) | function resolveOmcCliPrefix(options = {}) { function formatOmcCliInvocation (line 2431) | function formatOmcCliInvocation(commandSuffix, options = {}) { method "src/utils/omc-cli-rendering.ts" (line 2437) | "src/utils/omc-cli-rendering.ts"() { method "src/utils/config-dir.ts" (line 2446) | "src/utils/config-dir.ts"() { function getStateDir (line 2455) | function getStateDir() { function prefersXdgOmcDirs (line 2461) | function prefersXdgOmcDirs() { function getUserHomeDir (line 2464) | function getUserHomeDir() { function getLegacyOmcDir (line 2470) | function getLegacyOmcDir() { function getGlobalOmcStateRoot (line 2473) | function getGlobalOmcStateRoot() { function getGlobalOmcStatePath (line 2483) | function getGlobalOmcStatePath(...segments) { method "src/utils/paths.ts" (line 2488) | "src/utils/paths.ts"() { method "src/utils/jsonc.ts" (line 2497) | "src/utils/jsonc.ts"() { method "src/utils/ssrf-guard.ts" (line 2504) | "src/utils/ssrf-guard.ts"() { function resolveTierModelFromEnv (line 2510) | function resolveTierModelFromEnv(tier) { function getDefaultModelHigh (line 2519) | function getDefaultModelHigh() { function getDefaultModelMedium (line 2522) | function getDefaultModelMedium() { function getDefaultModelLow (line 2525) | function getDefaultModelLow() { function getDefaultTierModels (line 2528) | function getDefaultTierModels() { function resolveClaudeFamily (line 2535) | function resolveClaudeFamily(modelId) { function isBedrock (line 2543) | function isBedrock() { function isProviderSpecificModelId (line 2556) | function isProviderSpecificModelId(modelId) { function isVertexAI (line 2568) | function isVertexAI() { method "src/config/models.ts" (line 2580) | "src/config/models.ts"() { function buildDefaultConfig (line 2625) | function buildDefaultConfig() { method "src/config/loader.ts" (line 2762) | "src/config/loader.ts"() { method "src/agents/architect.ts" (line 2774) | "src/agents/architect.ts"() { method "src/agents/designer.ts" (line 2816) | "src/agents/designer.ts"() { method "src/agents/writer.ts" (line 2860) | "src/agents/writer.ts"() { method "src/agents/critic.ts" (line 2900) | "src/agents/critic.ts"() { method "src/agents/analyst.ts" (line 2939) | "src/agents/analyst.ts"() { method "src/agents/executor.ts" (line 2979) | "src/agents/executor.ts"() { method "src/agents/planner.ts" (line 3017) | "src/agents/planner.ts"() { method "src/agents/qa-tester.ts" (line 3056) | "src/agents/qa-tester.ts"() { method "src/agents/scientist.ts" (line 3096) | "src/agents/scientist.ts"() { method "src/agents/explore.ts" (line 3144) | "src/agents/explore.ts"() { method "src/agents/tracer.ts" (line 3185) | "src/agents/tracer.ts"() { method "src/agents/document-specialist.ts" (line 3225) | "src/agents/document-specialist.ts"() { method "src/agents/definitions.ts" (line 3289) | "src/agents/definitions.ts"() { method "src/features/delegation-routing/types.ts" (line 3371) | "src/features/delegation-routing/types.ts"() { function normalizeToCcAlias (line 3377) | function normalizeToCcAlias(model) { method "src/features/delegation-enforcer.ts" (line 3383) | "src/features/delegation-enforcer.ts"() { function getTrustedPrefixes (line 3400) | function getTrustedPrefixes() { function isTrustedPrefix (line 3416) | function isTrustedPrefix(resolvedPath) { function assertBinaryName (line 3420) | function assertBinaryName(binary) { function resolveCliBinaryPath (line 3425) | function resolveCliBinaryPath(binary) { function getContract (line 3455) | function getContract(agentType) { function validateBinaryRef (line 3462) | function validateBinaryRef(binary) { function resolveBinaryPath (line 3467) | function resolveBinaryPath(binary) { function resolveValidatedBinaryPath (line 3482) | function resolveValidatedBinaryPath(agentType) { function buildLaunchArgs (line 3486) | function buildLaunchArgs(agentType, config) { function buildWorkerArgv (line 3489) | function buildWorkerArgv(agentType, config) { function getWorkerEnv (line 3499) | function getWorkerEnv(teamName, workerName, agentType, env = process.env) { function isPromptModeAgent (line 3514) | function isPromptModeAgent(agentType) { function resolveClaudeWorkerModel (line 3518) | function resolveClaudeWorkerModel(env = process.env) { function getPromptModeArgs (line 3536) | function getPromptModeArgs(agentType, instruction) { method "src/team/model-contract.ts" (line 3548) | "src/team/model-contract.ts"() { function buildInstructionPath (line 3647) | function buildInstructionPath(...parts) { function generateTriggerMessage (line 3650) | function generateTriggerMessage(teamName, workerName, teamStateRoot3 = "... function generateMailboxTriggerMessage (line 3657) | function generateMailboxTriggerMessage(teamName, workerName, count = 1, ... function agentTypeGuidance (line 3665) | function agentTypeGuidance(agentType) { function generateWorkerOverlay (line 3693) | function generateWorkerOverlay(params) { function composeInitialInbox (line 3810) | async function composeInitialInbox(teamName, workerName, content, cwd) { function ensureWorkerStateDir (line 3815) | async function ensureWorkerStateDir(teamName, workerName, cwd) { function writeWorkerOverlay (line 3823) | async function writeWorkerOverlay(params) { method "src/team/worker-bootstrap.ts" (line 3832) | "src/team/worker-bootstrap.ts"() { function ensureDirSync (line 3845) | function ensureDirSync(dir) { method "src/lib/atomic-write.ts" (line 3859) | "src/lib/atomic-write.ts"() { function isProcessAlive (line 3868) | function isProcessAlive(pid) { method "src/platform/process-utils.ts" (line 3882) | "src/platform/process-utils.ts"() { method "src/platform/index.ts" (line 3893) | "src/platform/index.ts"() { function isLockStale (line 3921) | function isLockStale(lockPath, staleLockMs) { function lockPathFor (line 3937) | function lockPathFor(filePath) { function tryAcquireSync (line 3940) | function tryAcquireSync(lockPath, staleLockMs) { function acquireFileLockSync (line 3982) | function acquireFileLockSync(lockPath, opts) { function releaseFileLockSync (line 4005) | function releaseFileLockSync(handle) { function withFileLockSync (line 4015) | function withFileLockSync(lockPath, fn, opts) { function sleep2 (line 4026) | function sleep2(ms) { function acquireFileLock (line 4029) | async function acquireFileLock(lockPath, opts) { function releaseFileLock (line 4043) | function releaseFileLock(handle) { function withFileLock (line 4046) | async function withFileLock(lockPath, fn, opts) { method "src/lib/file-lock.ts" (line 4059) | "src/lib/file-lock.ts"() { function getWorktreePath (line 4072) | function getWorktreePath(repoRoot, teamName, workerName) { function getBranchName (line 4075) | function getBranchName(teamName, workerName) { function getMetadataPath (line 4078) | function getMetadataPath(repoRoot, teamName) { function readMetadata (line 4081) | function readMetadata(repoRoot, teamName) { function writeMetadata (line 4093) | function writeMetadata(repoRoot, teamName, entries) { function removeWorkerWorktree (line 4100) | function removeWorkerWorktree(teamName, workerName, repoRoot) { function cleanupTeamWorktrees (line 4119) | function cleanupTeamWorktrees(teamName, repoRoot) { method "src/team/git-worktree.ts" (line 4129) | "src/team/git-worktree.ts"() { function allocateTasksToWorkers (line 4138) | function allocateTasksToWorkers(tasks, workers) { function isUniformRolePool (line 4166) | function isUniformRolePool(workers) { function pickLeastLoaded (line 4171) | function pickLeastLoaded(workers, loadMap) { function pickBestWorker (line 4183) | function pickBestWorker(task, workers, loadMap) { method "src/team/allocation-policy.ts" (line 4194) | "src/team/allocation-policy.ts"() { function readJsonSafe3 (line 4203) | async function readJsonSafe3(filePath) { function writeAtomic2 (line 4212) | async function writeAtomic2(filePath, data) { function configFromManifest2 (line 4220) | function configFromManifest2(manifest) { function readTeamConfig (line 4244) | async function readTeamConfig(teamName, cwd) { function readTeamManifest (line 4261) | async function readTeamManifest(teamName, cwd) { function readWorkerStatus (line 4265) | async function readWorkerStatus(teamName, workerName, cwd) { function readWorkerHeartbeat (line 4269) | async function readWorkerHeartbeat(teamName, workerName, cwd) { function readMonitorSnapshot (line 4272) | async function readMonitorSnapshot(teamName, cwd) { function writeMonitorSnapshot (line 4301) | async function writeMonitorSnapshot(teamName, snapshot, cwd) { function writeShutdownRequest (line 4304) | async function writeShutdownRequest(teamName, workerName, fromWorker, cw... function readShutdownAck (line 4311) | async function readShutdownAck(teamName, workerName, cwd, requestedAfter) { function listTasksFromFiles (line 4323) | async function listTasksFromFiles(teamName, cwd) { function writeWorkerInbox (line 4337) | async function writeWorkerInbox(teamName, workerName, content, cwd) { function saveTeamConfig (line 4340) | async function saveTeamConfig(config, cwd) { function cleanupTeamState (line 4366) | async function cleanupTeamState(teamName, cwd) { method "src/team/monitor.ts" (line 4375) | "src/team/monitor.ts"() { function appendTeamEvent (line 4388) | async function appendTeamEvent(teamName, event, cwd) { function emitMonitorDerivedEvents (line 4401) | async function emitMonitorDerivedEvents(teamName, tasks, workers, previo... method "src/team/events.ts" (line 4447) | "src/team/events.ts"() { function inferPhase (line 4455) | function inferPhase(tasks) { method "src/team/phase-controller.ts" (line 4491) | "src/team/phase-controller.ts"() { function isRuntimeV2Enabled (line 4514) | function isRuntimeV2Enabled(env = process.env) { function sanitizeTeamName (line 4520) | function sanitizeTeamName(name) { function isWorkerPaneAlive (line 4525) | async function isWorkerPaneAlive(paneId) { function captureWorkerPane (line 4534) | async function captureWorkerPane(paneId) { function isFreshTimestamp (line 4543) | function isFreshTimestamp(value, maxAgeMs = MONITOR_SIGNAL_STALE_MS) { function findOutstandingWorkerTask (line 4549) | function findOutstandingWorkerTask(worker, taskById, inProgressByOwner) { function buildV2TaskInstruction (line 4561) | function buildV2TaskInstruction(teamName, workerName, task, taskId) { function notifyStartupInbox (line 4596) | async function notifyStartupInbox(sessionName2, paneId, message) { function notifyPaneWithRetry (line 4600) | async function notifyPaneWithRetry(sessionName2, paneId, message, maxAtt... function hasWorkerStatusProgress (line 4611) | function hasWorkerStatusProgress(status, taskId) { function hasWorkerTaskClaimEvidence (line 4615) | async function hasWorkerTaskClaimEvidence(teamName, workerName, cwd, tas... function hasWorkerStartupEvidence (line 4624) | async function hasWorkerStartupEvidence(teamName, workerName, taskId, cw... function waitForWorkerStartupEvidence (line 4631) | async function waitForWorkerStartupEvidence(teamName, workerName, taskId... function spawnV2Worker (line 4642) | async function spawnV2Worker(opts) { function startTeamV2 (line 4814) | async function startTeamV2(config) { function writeWatchdogFailedMarker (line 5012) | async function writeWatchdogFailedMarker(teamName, cwd, reason) { function requeueDeadWorkerTasks (line 5024) | async function requeueDeadWorkerTasks(teamName, deadWorkerNames, cwd) { function monitorTeamV2 (line 5071) | async function monitorTeamV2(teamName, cwd) { function shutdownTeamV2 (line 5209) | async function shutdownTeamV2(teamName, cwd, options = {}) { function resumeTeamV2 (line 5363) | async function resumeTeamV2(teamName, cwd) { function findActiveTeamsV2 (line 5385) | async function findActiveTeamsV2(cwd) { method "src/team/runtime-v2.ts" (line 5402) | "src/team/runtime-v2.ts"() { function stateRoot (line 5484) | function stateRoot(cwd, teamName) { function writeJson (line 5488) | async function writeJson(filePath, data) { function readJsonSafe2 (line 5492) | async function readJsonSafe2(filePath) { function taskPath (line 5518) | function taskPath(root, taskId) { function readTask (line 5521) | async function readTask(root, taskId) { function monitorTeam (line 5524) | async function monitorTeam(teamName, cwd, workerPaneIds) { function shutdownTeam (line 5590) | async function shutdownTeam(teamName, sessionName2, cwd, timeoutMs = 3e4... function resumeTeam (line 5628) | async function resumeTeam(teamName, cwd) { function isFiniteInteger (line 5717) | function isFiniteInteger(value) { function parseValidatedTaskIdArray (line 5720) | function parseValidatedTaskIdArray(value, fieldName) { function teamStateExists (line 5737) | function teamStateExists(teamName, candidateCwd) { function parseTeamWorkerEnv (line 5742) | function parseTeamWorkerEnv(raw) { function parseTeamWorkerContextFromEnv (line 5748) | function parseTeamWorkerContextFromEnv(env = process.env) { function readTeamStateRootFromEnv (line 5751) | function readTeamStateRootFromEnv(env = process.env) { function isRuntimeV2Config (line 5755) | function isRuntimeV2Config(config) { function isLegacyRuntimeConfig (line 5758) | function isLegacyRuntimeConfig(config) { function executeTeamCleanupViaRuntime (line 5761) | async function executeTeamCleanupViaRuntime(teamName, cwd) { function readTeamStateRootFromFile (line 5780) | function readTeamStateRootFromFile(path4) { function stateRootToWorkingDirectory (line 5789) | function stateRootToWorkingDirectory(stateRoot2) { function resolveTeamWorkingDirectoryFromMetadata (line 5810) | function resolveTeamWorkingDirectoryFromMetadata(teamName, candidateCwd,... function resolveTeamWorkingDirectory (line 5825) | function resolveTeamWorkingDirectory(teamName, preferredCwd) { function normalizeTeamName (line 5851) | function normalizeTeamName(toolOrOperationName) { function resolveTeamApiOperation (line 5856) | function resolveTeamApiOperation(name) { function resolveInstructionStateRoot (line 5863) | function resolveInstructionStateRoot(worktreePath) { function queuedForHookDispatch (line 5866) | function queuedForHookDispatch() { function notifyMailboxTarget (line 5873) | async function notifyMailboxTarget(teamName, toWorker, triggerMessage, c... function findWorkerDispatchTarget (line 5895) | function findWorkerDispatchTarget(teamName, toWorker, cwd) { function findMailboxDispatchRequestId (line 5905) | async function findMailboxDispatchRequestId(teamName, workerName, messag... function syncMailboxDispatchNotified (line 5914) | async function syncMailboxDispatchNotified(teamName, workerName, message... function syncMailboxDispatchDelivered (line 5927) | async function syncMailboxDispatchDelivered(teamName, workerName, messag... function validateCommonFields (line 5946) | function validateCommonFields(args) { function executeTeamApiOperation (line 5962) | async function executeTeamApiOperation(operation, args, fallbackCwd) { function getTeamWorkerIdentityFromEnv (line 6423) | function getTeamWorkerIdentityFromEnv(env = process.env) { function assertTeamSpawnAllowed (line 6429) | async function assertTeamSpawnAllowed(cwd, env = process.env) { function resolveJobsDir (line 6461) | function resolveJobsDir(env = process.env) { function resolveRuntimeCliPath (line 6464) | function resolveRuntimeCliPath(env = process.env) { function ensureJobsDir (line 6471) | function ensureJobsDir(jobsDir) { function jobPath (line 6476) | function jobPath(jobsDir, jobId) { function resultArtifactPath (line 6479) | function resultArtifactPath(jobsDir, jobId) { function panesArtifactPath (line 6482) | function panesArtifactPath(jobsDir, jobId) { function teamStateRoot2 (line 6485) | function teamStateRoot2(cwd, teamName) { function validateJobId (line 6488) | function validateJobId(jobId) { function parseJsonSafe (line 6493) | function parseJsonSafe(content) { function readJobFromDisk (line 6500) | function readJobFromDisk(jobId, jobsDir) { function writeJobToDisk (line 6508) | function writeJobToDisk(jobId, job, jobsDir) { function parseJobResult (line 6512) | function parseJobResult(raw) { function buildStatus (line 6517) | function buildStatus(jobId, job) { function generateJobId (line 6526) | function generateJobId(now = Date.now()) { function convergeWithResultArtifact (line 6529) | function convergeWithResultArtifact(jobId, job, jobsDir) { function output (line 6551) | function output(value, asJson) { function toInt (line 6558) | function toInt(value, flag) { function normalizeAgentType (line 6565) | function normalizeAgentType(value) { function autoTeamName (line 6573) | function autoTeamName(task) { function parseJsonInput (line 6577) | function parseJsonInput(inputRaw) { function startTeamJob (line 6585) | async function startTeamJob(input) { function getTeamJobStatus (line 6640) | async function getTeamJobStatus(jobId) { function waitForTeamJob (line 6653) | async function waitForTeamJob(jobId, options = {}) { function cleanupTeamJob (line 6672) | async function cleanupTeamJob(jobId, graceMs = 1e4) { function teamStatusByTeamName (line 6714) | async function teamStatusByTeamName(teamName, cwd = process.cwd()) { function teamResumeByName (line 6756) | async function teamResumeByName(teamName, cwd = process.cwd()) { function teamShutdownByName (line 6775) | async function teamShutdownByName(teamName, options = {}) { function executeTeamApiOperation2 (line 6818) | async function executeTeamApiOperation2(operation, input, cwd = process.... function teamStartCommand (line 6842) | async function teamStartCommand(input, options = {}) { function teamStatusCommand (line 6847) | async function teamStatusCommand(jobId, options = {}) { function teamWaitCommand (line 6852) | async function teamWaitCommand(jobId, waitOptions = {}, options = {}) { function teamCleanupCommand (line 6857) | async function teamCleanupCommand(jobId, cleanupOptions = {}, options = ... function parseStartArgs (line 6882) | function parseStartArgs(args) { function parseCommonJobArgs (line 7027) | function parseCommonJobArgs(args, command) { function parseTeamTargetArgs (line 7101) | function parseTeamTargetArgs(args, command) { function parseApiArgs (line 7143) | function parseApiArgs(args) { function parseLegacyStartAlias (line 7193) | function parseLegacyStartAlias(args) { function teamCommand (line 7251) | async function teamCommand(argv) { function main (line 7334) | async function main(argv) { FILE: dist/__tests__/agent-registry.test.js constant MODEL_ENV_KEYS (line 8) | const MODEL_ENV_KEYS = [ FILE: dist/__tests__/auto-slash-aliases.test.js function loadExecutor (line 13) | async function loadExecutor() { FILE: dist/__tests__/auto-update.test.js function mockPlatform (line 45) | function mockPlatform(platform) { FILE: dist/__tests__/bash-history.test.js function appendToBashHistory (line 19) | function appendToBashHistory(command, historyPath) { function getBashHistoryEnabled (line 57) | function getBashHistoryEnabled(config) { FILE: dist/__tests__/bedrock-lm-suffix-hook.test.js constant HOOK_PATH (line 30) | const HOOK_PATH = resolve(__dirname, '../../scripts/pre-tool-enforcer.mj... constant ENV_KEYS (line 31) | const ENV_KEYS = ['ANTHROPIC_MODEL', 'CLAUDE_MODEL', 'OMC_ROUTING_FORCE_... function runHook (line 148) | function runHook(toolInput, env) { FILE: dist/__tests__/bedrock-model-routing.test.js constant BEDROCK_ENV_KEYS (line 22) | const BEDROCK_ENV_KEYS = [ function saveAndClear (line 40) | function saveAndClear() { function restore (line 48) | function restore(saved) { FILE: dist/__tests__/cli-config-stop-callback.test.js constant REPO_ROOT (line 8) | const REPO_ROOT = join(__dirname, '..', '..'); constant CLI_ENTRY (line 9) | const CLI_ENTRY = join(REPO_ROOT, 'src', 'cli', 'index.ts'); function runCli (line 10) | function runCli(args, homeDir) { function readConfig (line 26) | function readConfig(configPath) { FILE: dist/__tests__/cli-notify-profile.test.js constant REPO_ROOT (line 8) | const REPO_ROOT = join(__dirname, '..', '..'); constant CLI_ENTRY (line 9) | const CLI_ENTRY = join(REPO_ROOT, 'src', 'cli', 'index.ts'); function runCli (line 10) | function runCli(args, homeDir) { function readConfig (line 26) | function readConfig(configPath) { FILE: dist/__tests__/consensus-execution-handoff.test.js function extractSection (line 21) | function extractSection(template, heading) { function extractTagContent (line 29) | function extractTagContent(template, tag) { FILE: dist/__tests__/context-guard-stop.test.js constant SCRIPT_PATH (line 6) | const SCRIPT_PATH = join(process.cwd(), 'scripts', 'context-guard-stop.m... function runContextGuardStop (line 7) | function runContextGuardStop(input) { function writeTranscriptWithContext (line 16) | function writeTranscriptWithContext(filePath, contextWindow, inputTokens) { FILE: dist/__tests__/context-safety.test.js constant SCRIPT_PATH (line 6) | const SCRIPT_PATH = join(process.cwd(), 'scripts', 'context-safety.mjs'); constant HOOKS_PATH (line 7) | const HOOKS_PATH = join(process.cwd(), 'hooks', 'hooks.json'); function makeTempDir (line 9) | function makeTempDir() { function writeTranscript (line 14) | function writeTranscript(dir, inputTokens, contextWindow) { function runContextSafety (line 19) | function runContextSafety(input, env = {}) { FILE: dist/__tests__/delegation-enforcement-levels.test.js function getWarningForFile (line 52) | function getWarningForFile(filename) { function setEnforcement (line 204) | function setEnforcement(level) { FILE: dist/__tests__/doctor-conflicts.test.js constant TEST_CLAUDE_DIR (line 11) | let TEST_CLAUDE_DIR = ''; constant TEST_PROJECT_DIR (line 12) | let TEST_PROJECT_DIR = ''; constant TEST_PROJECT_CLAUDE_DIR (line 13) | let TEST_PROJECT_CLAUDE_DIR = ''; function resetTestDirs (line 14) | function resetTestDirs() { FILE: dist/__tests__/helpers/prompt-test-helpers.js constant STANDARD_MISSING_PROMPT_ERROR (line 2) | const STANDARD_MISSING_PROMPT_ERROR = "Either 'prompt' (inline) or 'prom... function expectMissingPromptError (line 3) | function expectMissingPromptError(text) { function expectNoMissingPromptError (line 6) | function expectNoMissingPromptError(text) { FILE: dist/__tests__/hooks-command-escaping.test.js function getHookCommands (line 6) | function getHookCommands() { FILE: dist/__tests__/hooks.test.js function writeTranscriptWithContext (line 20) | function writeTranscriptWithContext(filePath, contextWindow, inputTokens) { FILE: dist/__tests__/hooks/plugin-patterns.test.js function makeTempDir (line 6) | function makeTempDir() { FILE: dist/__tests__/hud-agents.test.js constant RESET (line 9) | const RESET = '\x1b[0m'; constant CYAN (line 10) | const CYAN = '\x1b[36m'; constant MAGENTA (line 11) | const MAGENTA = '\x1b[35m'; constant YELLOW (line 12) | const YELLOW = '\x1b[33m'; constant GREEN (line 13) | const GREEN = '\x1b[32m'; function createAgent (line 15) | function createAgent(type, model, startTime) { FILE: dist/__tests__/hud/context.test.js constant ANSI_REGEX (line 3) | const ANSI_REGEX = /\x1b\[[0-9;]*m/g; function stripAnsi (line 10) | function stripAnsi(value) { FILE: dist/__tests__/hud/custom-rate-provider.test.js function mockSpawn (line 26) | function mockSpawn(stdout, exitCode = 0, delay = 0) { function mockSpawnError (line 40) | function mockSpawnError(err) { constant VALID_OUTPUT (line 52) | const VALID_OUTPUT = JSON.stringify({ constant BASE_CONFIG (line 60) | const BASE_CONFIG = { FILE: dist/__tests__/hud/mission-board-state.test.js function makeTempDir (line 7) | function makeTempDir() { FILE: dist/__tests__/hud/mission-board.test.js function createMissionState (line 5) | function createMissionState() { FILE: dist/__tests__/hud/omc-state.test.js function writeJson (line 6) | function writeJson(path, data, mtimeMs = Date.now()) { function createWorktree (line 21) | function createWorktree() { FILE: dist/__tests__/hud/render-rate-limits-priority.test.js function makeContext (line 18) | function makeContext(overrides = {}) { function makeConfig (line 48) | function makeConfig(overrides = {}) { FILE: dist/__tests__/hud/stale-indicator.test.js constant DIM (line 10) | const DIM = '\x1b[2m'; FILE: dist/__tests__/hud/stdin.test.js function makeStdin (line 3) | function makeStdin(overrides = {}) { FILE: dist/__tests__/hud/token-usage.test.js function createTempTranscript (line 8) | function createTempTranscript(lines) { FILE: dist/__tests__/hud/usage-api-lock.test.js constant CLAUDE_CONFIG_DIR (line 3) | const CLAUDE_CONFIG_DIR = '/tmp/test-claude'; constant CACHE_PATH (line 4) | const CACHE_PATH = `${CLAUDE_CONFIG_DIR}/plugins/oh-my-claudecode/.usage... constant LOCK_PATH (line 5) | const LOCK_PATH = `${CACHE_PATH}.lock`; function createFsMock (line 6) | function createFsMock(initialFiles) { FILE: dist/__tests__/hud/usage-api-stale.test.js constant CLAUDE_CONFIG_DIR (line 10) | const CLAUDE_CONFIG_DIR = '/tmp/test-claude'; constant CACHE_PATH (line 11) | const CACHE_PATH = `${CLAUDE_CONFIG_DIR}/plugins/oh-my-claudecode/.usage... constant CACHE_DIR (line 12) | const CACHE_DIR = `${CLAUDE_CONFIG_DIR}/plugins/oh-my-claudecode`; function createFsMock (line 13) | function createFsMock(initialFiles) { function setupMocks (line 68) | function setupMocks(fsModule, httpStatus, httpBody) { FILE: dist/__tests__/hud/version-display.test.js function createMinimalContext (line 4) | function createMinimalContext(overrides = {}) { function createMinimalConfig (line 34) | function createMinimalConfig(overrides = {}) { FILE: dist/__tests__/hud/watch-mode-init.test.js function importHudModule (line 42) | async function importHudModule() { FILE: dist/__tests__/hud/windows-platform.test.js function isWin32 (line 23) | function isWin32(platform) { function getSeparator (line 26) | function getSeparator(platform) { function getShellOption (line 29) | function getShellOption(platform) { function getSafeMode (line 32) | function getSafeMode(configSafeMode, platform) { FILE: dist/__tests__/installer-hooks-merge.test.js function mergeEventHooks (line 19) | function mergeEventHooks(existingGroups, newOmcGroups, options) { function omcGroup (line 62) | function omcGroup(command) { function userGroup (line 65) | function userGroup(command) { constant OMC_CMD (line 68) | const OMC_CMD = 'node "$HOME/.claude/hooks/keyword-detector.mjs"'; constant USER_CMD (line 69) | const USER_CMD = '/usr/local/bin/my-custom-hook.sh'; constant NEW_OMC_CMD (line 70) | const NEW_OMC_CMD = 'node "$HOME/.claude/hooks/session-start.mjs"'; FILE: dist/__tests__/installer-mcp-config.test.js function loadInstallerWithEnv (line 24) | async function loadInstallerWithEnv(claudeConfigDir, homeDir, codexHome,... FILE: dist/__tests__/installer-omc-reference.test.js function loadInstallerWithEnv (line 35) | async function loadInstallerWithEnv(claudeConfigDir, homeDir) { FILE: dist/__tests__/installer-plugin-agents.test.js function loadInstallerWithEnv (line 35) | async function loadInstallerWithEnv(claudeConfigDir, homeDir) { FILE: dist/__tests__/installer-version-guard.test.js function withUnixPaths (line 18) | function withUnixPaths(pathLike) { FILE: dist/__tests__/installer.test.js function getPackageDir (line 12) | function getPackageDir() { function loadAgentDefinitions (line 21) | function loadAgentDefinitions() { function loadClaudeMdContent (line 37) | function loadClaudeMdContent() { FILE: dist/__tests__/job-management-sqlite.test.js constant TEST_DIR (line 36) | const TEST_DIR = join(process.cwd(), '.test-job-mgmt-sqlite-' + process.... function createTestJob (line 37) | function createTestJob(overrides = {}) { FILE: dist/__tests__/job-state-db.test.js constant TEST_DIR (line 6) | const TEST_DIR = join(process.cwd(), '.test-job-state-db-' + process.pid); constant PROMPTS_DIR (line 7) | const PROMPTS_DIR = join(TEST_DIR, '.omc', 'prompts'); function createTestJob (line 8) | function createTestJob(overrides = {}) { FILE: dist/__tests__/live-data.test.js function setupPolicy (line 208) | function setupPolicy(policy) { FILE: dist/__tests__/omc-tools-server-interop.test.js function importFresh (line 3) | async function importFresh() { FILE: dist/__tests__/package-dir-resolution-regression.test.js constant REPO_ROOT (line 10) | const REPO_ROOT = join(__dirname, '..', '..'); function getSnippetByMarker (line 11) | function getSnippetByMarker(source, marker) { FILE: dist/__tests__/plugin-setup-deps.test.js constant PACKAGE_ROOT (line 7) | const PACKAGE_ROOT = join(__dirname, '..', '..'); constant PLUGIN_SETUP_PATH (line 8) | const PLUGIN_SETUP_PATH = join(PACKAGE_ROOT, 'scripts', 'plugin-setup.mj... FILE: dist/__tests__/pre-compact-cwd.test.js constant TEST_BASE (line 10) | const TEST_BASE = join(process.cwd(), '.test-pre-compact-cwd-' + process... constant DIR_A (line 11) | const DIR_A = join(TEST_BASE, 'worktree-a'); constant DIR_B (line 12) | const DIR_B = join(TEST_BASE, 'worktree-b'); function makeJob (line 13) | function makeJob(overrides = {}) { FILE: dist/__tests__/pre-tool-enforcer.test.js constant SCRIPT_PATH (line 6) | const SCRIPT_PATH = join(process.cwd(), 'scripts', 'pre-tool-enforcer.mj... function runPreToolEnforcer (line 7) | function runPreToolEnforcer(input) { function runPreToolEnforcerWithEnv (line 10) | function runPreToolEnforcerWithEnv(input, env = {}) { function writeJson (line 19) | function writeJson(filePath, data) { function writeTranscriptWithContext (line 23) | function writeTranscriptWithContext(filePath, contextWindow, inputTokens) { FILE: dist/__tests__/project-memory-merge.test.js function baseMemory (line 6) | function baseMemory(overrides = {}) { FILE: dist/__tests__/purge-stale-cache.test.js function dirent (line 25) | function dirent(name) { function staleStats (line 30) | function staleStats(ageMs = 25 * 60 * 60 * 1000) { function freshStats (line 34) | function freshStats() { function setupFreshNonActiveCache (line 232) | function setupFreshNonActiveCache() { FILE: dist/__tests__/run-cjs-graceful-fallback.test.js constant RUN_CJS_PATH (line 6) | const RUN_CJS_PATH = join(__dirname, '..', '..', 'scripts', 'run.cjs'); constant NODE (line 7) | const NODE = process.execPath; function createFakeVersion (line 25) | function createFakeVersion(version, scripts = {}) { function runCjs (line 34) | function runCjs(target, env = {}) { FILE: dist/__tests__/session-history-search.test.js function encodeProjectPath (line 6) | function encodeProjectPath(projectPath) { function writeTranscript (line 9) | function writeTranscript(filePath, entries) { FILE: dist/__tests__/session-start-cache-cleanup.test.js constant SCRIPT_PATH (line 6) | const SCRIPT_PATH = join(__dirname, '..', '..', 'scripts', 'session-star... constant NODE (line 7) | const NODE = process.execPath; function createFakeVersion (line 35) | function createFakeVersion(version) { function runSessionStart (line 42) | function runSessionStart(env = {}) { FILE: dist/__tests__/session-start-script-context.test.js constant SCRIPT_PATH (line 6) | const SCRIPT_PATH = join(__dirname, '..', '..', 'scripts', 'session-star... constant NODE (line 7) | const NODE = process.execPath; FILE: dist/__tests__/setup-claude-md-script.test.js constant REPO_ROOT (line 6) | const REPO_ROOT = join(__dirname, '..', '..'); constant SETUP_SCRIPT (line 7) | const SETUP_SCRIPT = join(REPO_ROOT, 'scripts', 'setup-claude-md.sh'); function createPluginFixture (line 9) | function createPluginFixture(claudeMdContent) { FILE: dist/__tests__/slack-socket.test.js class MockWebSocket (line 9) | class MockWebSocket { method addEventListener (line 13) | addEventListener(event, handler) { method removeEventListener (line 18) | removeEventListener(event, handler) { method fire (line 29) | fire(event, data) { method listenerCount (line 32) | listenerCount(event) { method constructor (line 46) | constructor(_url) { constant CONFIG (line 69) | const CONFIG = { function envelope (line 74) | function envelope(overrides = {}) { function helloEnvelope (line 90) | function helloEnvelope() { function authenticate (line 94) | async function authenticate(ws) { FILE: dist/__tests__/smoke-slack-and-state.test.js class MockWebSocket (line 47) | class MockWebSocket { method addEventListener (line 51) | addEventListener(event, handler) { method removeEventListener (line 56) | removeEventListener(event, handler) { method fire (line 66) | fire(event, data) { constant CONFIG (line 77) | const CONFIG = { function makeEnvelope (line 82) | function makeEnvelope(overrides = {}) { function helloEnvelope (line 98) | function helloEnvelope() { function authenticate (line 102) | async function authenticate(ws) { method constructor (line 113) | constructor(_url) { method constructor (line 233) | constructor(_url) { method constructor (line 330) | constructor(_url) { function callTool (line 428) | async function callTool(tool, args) { FILE: dist/__tests__/team-server-validation.test.js constant VALID_JOB_ID_RE (line 44) | const VALID_JOB_ID_RE = /^omc-[a-z0-9]{1,12}$/; function validateJobId (line 45) | function validateJobId(job_id) { FILE: dist/__tests__/tier0-contracts.test.js constant TIER0_SKILLS (line 7) | const TIER0_SKILLS = ['team', 'ralph', 'ultrawork', 'autopilot']; FILE: dist/__tests__/tier0-docs-consistency.test.js constant PROJECT_ROOT (line 7) | const PROJECT_ROOT = join(__dirname, '../..'); function readProjectFile (line 8) | function readProjectFile(...segments) { FILE: dist/__tests__/visual-verdict-skill.test.js constant PROJECT_ROOT (line 7) | const PROJECT_ROOT = join(__dirname, '../..'); FILE: dist/agents/analyst.js constant ANALYST_PROMPT_METADATA (line 9) | const ANALYST_PROMPT_METADATA = { FILE: dist/agents/architect.js constant ARCHITECT_PROMPT_METADATA (line 10) | const ARCHITECT_PROMPT_METADATA = { FILE: dist/agents/critic.js constant CRITIC_PROMPT_METADATA (line 9) | const CRITIC_PROMPT_METADATA = { FILE: dist/agents/definitions.js constant AGENT_CONFIG_KEY_MAP (line 130) | const AGENT_CONFIG_KEY_MAP = { function getConfiguredAgentModel (line 151) | function getConfiguredAgentModel(name, config) { function getAgentDefinitions (line 175) | function getAgentDefinitions(options) { FILE: dist/agents/designer.js constant FRONTEND_ENGINEER_PROMPT_METADATA (line 9) | const FRONTEND_ENGINEER_PROMPT_METADATA = { FILE: dist/agents/document-specialist.js constant DOCUMENT_SPECIALIST_PROMPT_METADATA (line 10) | const DOCUMENT_SPECIALIST_PROMPT_METADATA = { FILE: dist/agents/executor.js constant EXECUTOR_PROMPT_METADATA (line 11) | const EXECUTOR_PROMPT_METADATA = { FILE: dist/agents/explore.js constant EXPLORE_PROMPT_METADATA (line 10) | const EXPLORE_PROMPT_METADATA = { FILE: dist/agents/planner.js constant PLANNER_PROMPT_METADATA (line 9) | const PLANNER_PROMPT_METADATA = { FILE: dist/agents/prompt-helpers.d.ts type AgentRole (line 21) | type AgentRole = string; FILE: dist/agents/prompt-helpers.js function getPackageDir (line 17) | function getPackageDir() { constant AGENT_ROLE_NAME_REGEX (line 49) | const AGENT_ROLE_NAME_REGEX = /^[a-z0-9-]+$/; function isValidAgentRoleName (line 54) | function isValidAgentRoleName(name) { function getValidAgentRoles (line 64) | function getValidAgentRoles() { constant VALID_AGENT_ROLES (line 97) | const VALID_AGENT_ROLES = getValidAgentRoles(); function resolveSystemPrompt (line 104) | function resolveSystemPrompt(systemPrompt, agentRole) { function wrapUntrustedFileContent (line 127) | function wrapUntrustedFileContent(filepath, content) { function wrapUntrustedCliResponse (line 134) | function wrapUntrustedCliResponse(content, metadata) { function singleErrorBlock (line 137) | function singleErrorBlock(text) { function inlineSuccessBlocks (line 140) | function inlineSuccessBlocks(metadataText, wrappedResponse) { function sanitizePromptContent (line 162) | function sanitizePromptContent(content, maxLength = 4000) { function buildPromptWithSystemContext (line 181) | function buildPromptWithSystemContext(userPrompt, fileContext, systemPro... FILE: dist/agents/prompt-sections/index.js function buildHeader (line 10) | function buildHeader() { function buildAgentRegistry (line 23) | function buildAgentRegistry(agents) { function buildTriggerTable (line 56) | function buildTriggerTable(agents) { function buildToolSelectionSection (line 79) | function buildToolSelectionSection(agents) { function buildDelegationMatrix (line 113) | function buildDelegationMatrix(agents) { function buildOrchestrationPrinciples (line 144) | function buildOrchestrationPrinciples() { function buildWorkflow (line 155) | function buildWorkflow() { function buildCriticalRules (line 169) | function buildCriticalRules() { function buildCompletionChecklist (line 183) | function buildCompletionChecklist() { function capitalizeFirst (line 197) | function capitalizeFirst(str) { FILE: dist/agents/qa-tester.js constant QA_TESTER_PROMPT_METADATA (line 14) | const QA_TESTER_PROMPT_METADATA = { FILE: dist/agents/scientist.js constant SCIENTIST_PROMPT_METADATA (line 14) | const SCIENTIST_PROMPT_METADATA = { FILE: dist/agents/tracer.js constant TRACER_PROMPT_METADATA (line 9) | const TRACER_PROMPT_METADATA = { FILE: dist/agents/types.d.ts type AgentCost (line 13) | type AgentCost = 'FREE' | 'CHEAP' | 'EXPENSIVE'; type AgentCategory (line 17) | type AgentCategory = 'exploration' | 'specialist' | 'advisor' | 'utility... type DelegationTrigger (line 21) | interface DelegationTrigger { type AgentPromptMetadata (line 31) | interface AgentPromptMetadata { type AgentConfig (line 52) | interface AgentConfig { type FullAgentConfig (line 73) | interface FullAgentConfig extends AgentConfig { type AgentOverrideConfig (line 89) | interface AgentOverrideConfig { type AgentOverrides (line 102) | type AgentOverrides = Partial>; type AgentFactory (line 106) | type AgentFactory = (model?: string) => AgentConfig; type AvailableAgent (line 110) | interface AvailableAgent { FILE: dist/agents/types.js function isGptModel (line 10) | function isGptModel(modelId) { function isClaudeModel (line 16) | function isClaudeModel(modelId) { function getDefaultModelForCategory (line 22) | function getDefaultModelForCategory(category) { FILE: dist/agents/utils.js function getPackageDir (line 18) | function getPackageDir() { function stripFrontmatter (line 48) | function stripFrontmatter(content) { function loadAgentPrompt (line 59) | function loadAgentPrompt(agentName) { function createAgentToolRestrictions (line 103) | function createAgentToolRestrictions(blockedTools) { function mergeAgentConfig (line 113) | function mergeAgentConfig(base, override) { function buildDelegationTable (line 128) | function buildDelegationTable(availableAgents) { function buildUseAvoidSection (line 152) | function buildUseAvoidSection(metadata) { function createEnvContext (line 167) | function createEnvContext() { function getAvailableAgents (line 187) | function getAvailableAgents(agents) { function buildKeyTriggersSection (line 199) | function buildKeyTriggersSection(availableAgents) { function validateAgentConfig (line 216) | function validateAgentConfig(config) { function parseDisallowedTools (line 233) | function parseDisallowedTools(agentName) { constant OPEN_QUESTIONS_PATH (line 267) | const OPEN_QUESTIONS_PATH = '.omc/plans/open-questions.md'; function formatOpenQuestions (line 275) | function formatOpenQuestions(topic, questions) { function deepMerge (line 287) | function deepMerge(target, source) { FILE: dist/agents/writer.js constant DOCUMENT_WRITER_PROMPT_METADATA (line 9) | const DOCUMENT_WRITER_PROMPT_METADATA = { FILE: dist/autoresearch/__tests__/contracts.test.js function initRepo (line 7) | async function initRepo() { FILE: dist/autoresearch/__tests__/runtime-parity-extra.test.js function initRepo (line 7) | async function initRepo() { function makeContract (line 17) | async function makeContract(repo, keepPolicy) { FILE: dist/autoresearch/__tests__/runtime.test.js function initRepo (line 9) | async function initRepo() { function makeContract (line 19) | async function makeContract(repo) { FILE: dist/autoresearch/contracts.d.ts type AutoresearchKeepPolicy (line 1) | type AutoresearchKeepPolicy = 'score_improvement' | 'pass_only'; type AutoresearchEvaluatorContract (line 2) | interface AutoresearchEvaluatorContract { type ParsedSandboxContract (line 7) | interface ParsedSandboxContract { type AutoresearchEvaluatorResult (line 12) | interface AutoresearchEvaluatorResult { type AutoresearchMissionContract (line 16) | interface AutoresearchMissionContract { FILE: dist/autoresearch/contracts.js function contractError (line 5) | function contractError(message) { function readGit (line 8) | function readGit(repoPath, args) { function slugifyMissionName (line 26) | function slugifyMissionName(value) { function ensurePathInside (line 34) | function ensurePathInside(parentPath, childPath) { function extractFrontmatter (line 40) | function extractFrontmatter(content) { function parseSimpleYamlFrontmatter (line 50) | function parseSimpleYamlFrontmatter(frontmatter) { function parseKeepPolicy (line 86) | function parseKeepPolicy(raw) { function parseSandboxContract (line 101) | function parseSandboxContract(content) { function parseEvaluatorResult (line 135) | function parseEvaluatorResult(raw) { function loadAutoresearchMissionContract (line 157) | async function loadAutoresearchMissionContract(missionDirArg) { FILE: dist/autoresearch/runtime.d.ts type AutoresearchCandidateStatus (line 2) | type AutoresearchCandidateStatus = 'candidate' | 'noop' | 'abort' | 'int... type AutoresearchDecisionStatus (line 3) | type AutoresearchDecisionStatus = 'baseline' | 'keep' | 'discard' | 'amb... type AutoresearchRunStatus (line 4) | type AutoresearchRunStatus = 'running' | 'stopped' | 'completed' | 'fail... type PreparedAutoresearchRuntime (line 5) | interface PreparedAutoresearchRuntime { type AutoresearchEvaluationRecord (line 20) | interface AutoresearchEvaluationRecord { type AutoresearchCandidateArtifact (line 31) | interface AutoresearchCandidateArtifact { type AutoresearchLedgerEntry (line 39) | interface AutoresearchLedgerEntry { type AutoresearchRunManifest (line 54) | interface AutoresearchRunManifest { type AutoresearchDecision (line 84) | interface AutoresearchDecision { type AutoresearchInstructionLedgerSummary (line 91) | interface AutoresearchInstructionLedgerSummary { FILE: dist/autoresearch/runtime.js constant AUTORESEARCH_RESULTS_HEADER (line 7) | const AUTORESEARCH_RESULTS_HEADER = 'iteration\tcommit\tpass\tscore\tsta... constant AUTORESEARCH_WORKTREE_EXCLUDES (line 8) | const AUTORESEARCH_WORKTREE_EXCLUDES = ['results.tsv', 'run.log', 'node_... constant EXCLUSIVE_MODES (line 10) | const EXCLUSIVE_MODES = ['ralph', 'ultrawork', 'autopilot', 'autoresearc... function nowIso (line 11) | function nowIso() { function buildAutoresearchRunTag (line 14) | function buildAutoresearchRunTag(date = new Date()) { function buildRunId (line 21) | function buildRunId(missionSlug, runTag) { function activeRunStateFile (line 24) | function activeRunStateFile(projectRoot) { function trimContent (line 27) | function trimContent(value, max = 4000) { function readGit (line 31) | function readGit(repoPath, args) { function tryResolveGitCommit (line 49) | function tryResolveGitCommit(worktreePath, ref) { function writeGitInfoExclude (line 59) | async function writeGitInfoExclude(worktreePath, pattern) { function ensureRuntimeExcludes (line 71) | async function ensureRuntimeExcludes(worktreePath) { function ensureAutoresearchWorktreeDependencies (line 76) | async function ensureAutoresearchWorktreeDependencies(repoRoot, worktree... function readGitShortHead (line 84) | function readGitShortHead(worktreePath) { function readGitFullHead (line 87) | function readGitFullHead(worktreePath) { function requireGitSuccess (line 90) | function requireGitSuccess(worktreePath, args) { function gitStatusLines (line 99) | function gitStatusLines(worktreePath) { function normalizeGitStatusPath (line 112) | function normalizeGitStatusPath(path) { function isAllowedRuntimeDirtyPath (line 117) | function isAllowedRuntimeDirtyPath(path) { function allowedBootstrapDirtyPaths (line 122) | function allowedBootstrapDirtyPaths(worktreePath, allowedDirtyPaths = []) { function isAllowedRuntimeDirtyLine (line 133) | function isAllowedRuntimeDirtyLine(line, allowedBootstrapPaths) { function assertResetSafeWorktree (line 142) | function assertResetSafeWorktree(worktreePath, allowedDirtyPaths = []) { function ensureParentDir (line 150) | async function ensureParentDir(filePath) { function writeJsonFile (line 153) | async function writeJsonFile(filePath, value) { function readJsonFile (line 157) | async function readJsonFile(filePath) { function readActiveRunState (line 160) | async function readActiveRunState(projectRoot) { function writeActiveRunState (line 166) | async function writeActiveRunState(projectRoot, value) { function assertAutoresearchLockAvailable (line 169) | async function assertAutoresearchLockAvailable(projectRoot) { function assertModeStartAllowed (line 179) | async function assertModeStartAllowed(mode, projectRoot) { function activateAutoresearchRun (line 189) | async function activateAutoresearchRun(manifest) { function deactivateAutoresearchRun (line 201) | async function deactivateAutoresearchRun(manifest) { function startAutoresearchMode (line 218) | function startAutoresearchMode(taskDescription, projectRoot) { function updateAutoresearchMode (line 232) | function updateAutoresearchMode(updates, projectRoot) { function cancelAutoresearchMode (line 241) | function cancelAutoresearchMode(projectRoot) { function resultPassValue (line 252) | function resultPassValue(value) { function resultScoreValue (line 255) | function resultScoreValue(value) { function initializeAutoresearchResultsFile (line 258) | async function initializeAutoresearchResultsFile(resultsFile) { function appendAutoresearchResultsRow (line 264) | async function appendAutoresearchResultsRow(resultsFile, row) { function appendAutoresearchLedgerEntry (line 270) | async function appendAutoresearchLedgerEntry(ledgerFile, entry) { function readAutoresearchLedgerEntries (line 284) | async function readAutoresearchLedgerEntries(ledgerFile) { function countTrailingAutoresearchNoops (line 290) | async function countTrailingAutoresearchNoops(ledgerFile) { function formatAutoresearchInstructionSummary (line 301) | function formatAutoresearchInstructionSummary(entries, maxEntries = 3) { function buildAutoresearchInstructionContext (line 315) | async function buildAutoresearchInstructionContext(manifest) { function runAutoresearchEvaluator (line 325) | async function runAutoresearchEvaluator(contract, worktreePath, ledgerFi... function comparableScore (line 394) | function comparableScore(previousScore, nextScore) { function decideAutoresearchOutcome (line 397) | function decideAutoresearchOutcome(manifest, candidate, evaluation) { function buildAutoresearchInstructions (line 478) | function buildAutoresearchInstructions(contract, context) { function materializeAutoresearchMissionToWorktree (line 545) | async function materializeAutoresearchMissionToWorktree(contract, worktr... function loadAutoresearchRunManifest (line 559) | async function loadAutoresearchRunManifest(projectRoot, runId) { function writeRunManifest (line 566) | async function writeRunManifest(manifest) { function writeInstructionsFile (line 570) | async function writeInstructionsFile(contract, manifest) { function seedBaseline (line 585) | async function seedBaseline(contract, manifest) { function prepareAutoresearchRuntime (line 616) | async function prepareAutoresearchRuntime(contract, projectRoot, worktre... function resumeAutoresearchRuntime (line 742) | async function resumeAutoresearchRuntime(projectRoot, runId) { function parseAutoresearchCandidateArtifact (line 794) | function parseAutoresearchCandidateArtifact(raw) { function readCandidateArtifact (line 834) | async function readCandidateArtifact(candidateFile) { function finalizeRun (line 840) | async function finalizeRun(manifest, projectRoot, updates) { function resetToLastKeptCommit (line 853) | function resetToLastKeptCommit(manifest) { function validateAutoresearchCandidate (line 857) | function validateAutoresearchCandidate(manifest, candidate) { function failAutoresearchIteration (line 902) | async function failAutoresearchIteration(manifest, projectRoot, reason, ... function processAutoresearchCandidate (line 935) | async function processAutoresearchCandidate(contract, manifest, projectR... function finalizeAutoresearchRunState (line 1081) | async function finalizeAutoresearchRunState(projectRoot, runId, updates) { function stopAutoresearchRuntime (line 1088) | async function stopAutoresearchRuntime(projectRoot) { FILE: dist/autoresearch/setup-contract.d.ts type AutoresearchSetupEvaluatorSource (line 3) | type AutoresearchSetupEvaluatorSource = 'user' | 'inferred'; type AutoresearchSetupHandoff (line 4) | interface AutoresearchSetupHandoff { FILE: dist/autoresearch/setup-contract.js constant AUTORESEARCH_SETUP_CONFIDENCE_THRESHOLD (line 2) | const AUTORESEARCH_SETUP_CONFIDENCE_THRESHOLD = 0.8; function contractError (line 3) | function contractError(message) { function normalizeConfidence (line 6) | function normalizeConfidence(raw) { function parseKeepPolicy (line 15) | function parseKeepPolicy(raw) { function buildSetupSandboxContent (line 28) | function buildSetupSandboxContent(evaluatorCommand, keepPolicy) { function validateAutoresearchSetupHandoff (line 33) | function validateAutoresearchSetupHandoff(raw) { function parseAutoresearchSetupHandoffJson (line 83) | function parseAutoresearchSetupHandoffJson(raw) { FILE: dist/cli/__tests__/ask.test.js constant REPO_ROOT (line 10) | const REPO_ROOT = join(__dirname, '..', '..', '..'); constant CLI_ENTRY (line 11) | const CLI_ENTRY = join(REPO_ROOT, 'src', 'cli', 'index.ts'); constant TSX_LOADER (line 12) | const TSX_LOADER = join(REPO_ROOT, 'node_modules', 'tsx', 'dist', 'loade... constant ADVISOR_SCRIPT (line 13) | const ADVISOR_SCRIPT = join(REPO_ROOT, 'scripts', 'run-provider-advisor.... function buildChildEnv (line 14) | function buildChildEnv(envOverrides = {}, options = {}) { function runCli (line 21) | function runCli(args, cwd, envOverrides = {}, options = {}) { function runAdvisorScript (line 34) | function runAdvisorScript(args, cwd, envOverrides = {}, options = {}) { function runAdvisorScriptWithPrelude (line 47) | function runAdvisorScriptWithPrelude(preludePath, args, cwd, envOverride... function writeAdvisorStub (line 60) | function writeAdvisorStub(dir) { function writeFakeProviderBinary (line 78) | function writeFakeProviderBinary(dir, provider) { function writeSpawnSyncCapturePrelude (line 86) | function writeSpawnSyncCapturePrelude(dir) { function writeFakeCodexBinary (line 134) | function writeFakeCodexBinary(dir) { FILE: dist/cli/__tests__/autoresearch-guided.test.js function initRepo (line 27) | async function initRepo() { function withMockedTty (line 37) | function withMockedTty(fn) { function makeFakeIo (line 49) | function makeFakeIo(answers) { FILE: dist/cli/__tests__/autoresearch-intake.test.js function initRepo (line 7) | async function initRepo() { FILE: dist/cli/__tests__/cli-boot.test.js constant CLI_ENTRY (line 13) | const CLI_ENTRY = join(__dirname, '../../../bridge/cli.cjs'); constant CLI_SOURCE (line 14) | const CLI_SOURCE = join(__dirname, '../index.ts'); FILE: dist/cli/__tests__/session-search.test.js function encodeProjectPath (line 6) | function encodeProjectPath(projectPath) { function writeTranscript (line 9) | function writeTranscript(filePath, entries) { FILE: dist/cli/ask.d.ts type AskProvider (line 3) | type AskProvider = (typeof ASK_PROVIDERS)[number]; type ParsedAskArgs (line 4) | interface ParsedAskArgs { FILE: dist/cli/ask.js constant ASK_USAGE (line 7) | const ASK_USAGE = [ constant ASK_PROVIDERS (line 15) | const ASK_PROVIDERS = ['claude', 'codex', 'gemini']; constant ASK_PROVIDER_SET (line 16) | const ASK_PROVIDER_SET = new Set(ASK_PROVIDERS); constant ASK_AGENT_PROMPT_FLAG (line 17) | const ASK_AGENT_PROMPT_FLAG = '--agent-prompt'; constant SAFE_ROLE_PATTERN (line 18) | const SAFE_ROLE_PATTERN = /^[a-z][a-z0-9-]*$/; constant ASK_ADVISOR_SCRIPT_ENV (line 19) | const ASK_ADVISOR_SCRIPT_ENV = 'OMC_ASK_ADVISOR_SCRIPT'; constant ASK_ADVISOR_SCRIPT_ENV_ALIAS (line 20) | const ASK_ADVISOR_SCRIPT_ENV_ALIAS = 'OMX_ASK_ADVISOR_SCRIPT'; constant ASK_ORIGINAL_TASK_ENV (line 21) | const ASK_ORIGINAL_TASK_ENV = 'OMC_ASK_ORIGINAL_TASK'; function askUsageError (line 22) | function askUsageError(reason) { function warnDeprecatedAlias (line 25) | function warnDeprecatedAlias(alias, canonical) { function getPackageRoot (line 28) | function getPackageRoot() { function resolveAskPromptsDir (line 48) | function resolveAskPromptsDir(cwd, packageRoot, env = process.env) { function resolveAgentPromptContent (line 67) | async function resolveAgentPromptContent(role, promptsDir) { function parseAskArgs (line 93) | function parseAskArgs(args) { function resolveAskAdvisorScriptPath (line 144) | function resolveAskAdvisorScriptPath(packageRoot = getPackageRoot(), env... function resolveSignalExitCode (line 156) | function resolveSignalExitCode(signal) { function askCommand (line 165) | async function askCommand(args) { FILE: dist/cli/autoresearch-guided.d.ts type InitAutoresearchOptions (line 6) | interface InitAutoresearchOptions { type InitAutoresearchResult (line 13) | interface InitAutoresearchResult { type AutoresearchQuestionIO (line 17) | interface AutoresearchQuestionIO { type GuidedAutoresearchSetupDeps (line 21) | interface GuidedAutoresearchSetupDeps { FILE: dist/cli/autoresearch-guided.js constant CLAUDE_BYPASS_FLAG (line 12) | const CLAUDE_BYPASS_FLAG = '--dangerously-skip-permissions'; constant AUTORESEARCH_SETUP_SLASH_COMMAND (line 13) | const AUTORESEARCH_SETUP_SLASH_COMMAND = '/deep-interview --autoresearch'; function createQuestionIO (line 14) | function createQuestionIO() { function askQuestion (line 25) | async function askQuestion(rl, prompt) { function promptWithDefault (line 28) | async function promptWithDefault(io, prompt, currentValue) { function promptAction (line 33) | async function promptAction(io, launchReady) { function ensureLaunchReadyEvaluator (line 46) | function ensureLaunchReadyEvaluator(command) { function materializeAutoresearchDeepInterviewResult (line 51) | async function materializeAutoresearchDeepInterviewResult(result) { function initAutoresearchMission (line 55) | async function initAutoresearchMission(opts) { function parseInitArgs (line 73) | function parseInitArgs(args) { function runAutoresearchNoviceBridge (line 122) | async function runAutoresearchNoviceBridge(repoRoot, seedInputs = {}, io... function guidedAutoresearchSetup (line 163) | async function guidedAutoresearchSetup(repoRoot, seedInputs = {}, io = c... function guidedAutoresearchSetupInference (line 166) | async function guidedAutoresearchSetupInference(repoRoot, deps = {}) { function checkTmuxAvailable (line 215) | function checkTmuxAvailable() { function resolveMissionRepoRoot (line 218) | function resolveMissionRepoRoot(missionDir) { function assertTmuxSessionAvailable (line 225) | function assertTmuxSessionAvailable(sessionName) { function spawnAutoresearchTmux (line 234) | function spawnAutoresearchTmux(missionDir, slug) { function ensureSymlink (line 262) | function ensureSymlink(target, linkPath) { function prepareAutoresearchSetupCodexHome (line 275) | function prepareAutoresearchSetupCodexHome(repoRoot, sessionName) { function buildAutoresearchSetupSlashCommand (line 288) | function buildAutoresearchSetupSlashCommand() { function spawnAutoresearchSetupTmux (line 291) | function spawnAutoresearchSetupTmux(repoRoot) { FILE: dist/cli/autoresearch-intake.d.ts type AutoresearchSeedInputs (line 2) | interface AutoresearchSeedInputs { type AutoresearchDraftCompileTarget (line 8) | interface AutoresearchDraftCompileTarget { type AutoresearchDraftArtifact (line 15) | interface AutoresearchDraftArtifact { type AutoresearchDeepInterviewResult (line 22) | interface AutoresearchDeepInterviewResult { FILE: dist/cli/autoresearch-intake.js constant BLOCKED_EVALUATOR_PATTERNS (line 5) | const BLOCKED_EVALUATOR_PATTERNS = [ constant DEEP_INTERVIEW_DRAFT_PREFIX (line 13) | const DEEP_INTERVIEW_DRAFT_PREFIX = 'deep-interview-autoresearch-'; constant AUTORESEARCH_ARTIFACT_DIR_PREFIX (line 14) | const AUTORESEARCH_ARTIFACT_DIR_PREFIX = 'autoresearch-'; constant AUTORESEARCH_DEEP_INTERVIEW_RESULT_KIND (line 15) | const AUTORESEARCH_DEEP_INTERVIEW_RESULT_KIND = 'omc.autoresearch.deep-i... function defaultDraftEvaluator (line 16) | function defaultDraftEvaluator(topic) { function escapeRegex (line 20) | function escapeRegex(value) { function extractMarkdownSection (line 23) | function extractMarkdownSection(markdown, heading) { function parseLaunchReadinessSection (line 33) | function parseLaunchReadinessSection(section) { function normalizeKeepPolicy (line 49) | function normalizeKeepPolicy(raw) { function buildArtifactDir (line 52) | function buildArtifactDir(repoRoot, slug) { function buildDraftArtifactPath (line 55) | function buildDraftArtifactPath(repoRoot, slug) { function buildResultPath (line 58) | function buildResultPath(repoRoot, slug) { function buildMissionContent (line 61) | function buildMissionContent(topic) { function buildSandboxContent (line 64) | function buildSandboxContent(evaluatorCommand, keepPolicy) { function isLaunchReadyEvaluatorCommand (line 69) | function isLaunchReadyEvaluatorCommand(command) { function buildLaunchReadinessSection (line 76) | function buildLaunchReadinessSection(launchReady, blockedReasons) { function buildAutoresearchDraftArtifactContent (line 85) | function buildAutoresearchDraftArtifactContent(compileTarget, seedInputs... function writeAutoresearchDraftArtifact (line 120) | async function writeAutoresearchDraftArtifact(input) { function writeAutoresearchDeepInterviewArtifacts (line 149) | async function writeAutoresearchDeepInterviewArtifacts(input) { function parseDraftArtifactContent (line 183) | function parseDraftArtifactContent(content, repoRoot, draftArtifactPath) { function readPersistedResult (line 218) | async function readPersistedResult(resultPath) { function listMarkdownDraftPaths (line 254) | async function listMarkdownDraftPaths(repoRoot) { function listAutoresearchDeepInterviewResultPaths (line 263) | async function listAutoresearchDeepInterviewResultPaths(repoRoot) { function filterRecentPaths (line 274) | async function filterRecentPaths(paths, newerThanMs, excludePaths) { function resolveAutoresearchDeepInterviewResult (line 290) | async function resolveAutoresearchDeepInterviewResult(repoRoot, options ... FILE: dist/cli/autoresearch-setup-session.d.ts type AutoresearchRepoSignalSummary (line 2) | interface AutoresearchRepoSignalSummary { type AutoresearchSetupSessionInput (line 5) | interface AutoresearchSetupSessionInput { FILE: dist/cli/autoresearch-setup-session.js constant AUTORESEARCH_SETUP_ENTRYPOINT (line 5) | const AUTORESEARCH_SETUP_ENTRYPOINT = 'autoresearch-setup'; function safeReadFile (line 6) | function safeReadFile(filePath) { function collectPackageJsonSignals (line 14) | function collectPackageJsonSignals(repoRoot) { function collectFilePresenceSignals (line 30) | function collectFilePresenceSignals(repoRoot) { function collectMissionExampleSignals (line 46) | function collectMissionExampleSignals(repoRoot) { function collectAutoresearchRepoSignals (line 65) | function collectAutoresearchRepoSignals(repoRoot) { function buildAutoresearchSetupPrompt (line 75) | function buildAutoresearchSetupPrompt(input) { function runAutoresearchSetupSession (line 115) | function runAutoresearchSetupSession(input) { FILE: dist/cli/autoresearch.d.ts type ParsedAutoresearchArgs (line 5) | interface ParsedAutoresearchArgs { FILE: dist/cli/autoresearch.js constant CLAUDE_BYPASS_FLAG (line 6) | const CLAUDE_BYPASS_FLAG = '--dangerously-skip-permissions'; constant AUTORESEARCH_HELP (line 7) | const AUTORESEARCH_HELP = `omc autoresearch - Launch OMC autoresearch wi... constant AUTORESEARCH_APPEND_INSTRUCTIONS_ENV (line 39) | const AUTORESEARCH_APPEND_INSTRUCTIONS_ENV = 'OMC_AUTORESEARCH_APPEND_IN... constant AUTORESEARCH_MAX_CONSECUTIVE_NOOPS (line 40) | const AUTORESEARCH_MAX_CONSECUTIVE_NOOPS = 3; function normalizeAutoresearchClaudeArgs (line 41) | function normalizeAutoresearchClaudeArgs(claudeArgs) { function runAutoresearchTurn (line 59) | function runAutoresearchTurn(worktreePath, instructionsFile, claudeArgs) { function parseAutoresearchKeepPolicy (line 76) | function parseAutoresearchKeepPolicy(value) { function parseAutoresearchBypassArgs (line 83) | function parseAutoresearchBypassArgs(args) { function resolveRepoRoot (line 177) | function resolveRepoRoot(cwd) { function parseAutoresearchArgs (line 184) | function parseAutoresearchArgs(args) { function runAutoresearchLoop (line 225) | async function runAutoresearchLoop(claudeArgs, runtime, missionDir) { function planWorktree (line 261) | function planWorktree(repoRoot, missionSlug, runTag) { function autoresearchCommand (line 266) | async function autoresearchCommand(args) { FILE: dist/cli/commands/__tests__/team.test.js function captureLog (line 7) | async function captureLog(fn) { function initTeamState (line 20) | async function initTeamState(teamName, wd) { FILE: dist/cli/commands/doctor-conflicts.d.ts type ConflictReport (line 6) | interface ConflictReport { FILE: dist/cli/commands/doctor-conflicts.js function collectHooksFromSettings (line 15) | function collectHooksFromSettings(settingsPath) { function checkHookConflicts (line 59) | function checkHookConflicts() { function checkFileForOmcMarkers (line 80) | function checkFileForOmcMarkers(filePath) { function findCompanionClaudeMdFiles (line 110) | function findCompanionClaudeMdFiles(configDir) { function checkClaudeMdStatus (line 125) | function checkClaudeMdStatus() { function checkEnvFlags (line 182) | function checkEnvFlags() { function checkLegacySkills (line 195) | function checkLegacySkills() { function checkConfigIssues (line 219) | function checkConfigIssues() { function runConflictCheck (line 279) | function runConflictCheck() { function formatReport (line 310) | function formatReport(report, json) { function doctorConflictsCommand (line 456) | async function doctorConflictsCommand(options) { FILE: dist/cli/commands/ralphthon.js constant RALPHTHON_HELP (line 19) | const RALPHTHON_HELP = ` function parseRalphthonArgs (line 45) | function parseRalphthonArgs(args) { function buildRalphthonPlanningContext (line 91) | function buildRalphthonPlanningContext(task) { function buildRalphthonInterviewPrompt (line 102) | function buildRalphthonInterviewPrompt(task, options) { function buildDefaultSkipInterviewStories (line 124) | function buildDefaultSkipInterviewStories(task) { function buildDefaultSkipInterviewPrdParams (line 148) | function buildDefaultSkipInterviewPrdParams(task) { function createEventLogger (line 160) | function createEventLogger() { function getCurrentTmuxSession (line 200) | function getCurrentTmuxSession() { function getCurrentTmuxPane (line 211) | function getCurrentTmuxPane() { function isInsideTmux (line 222) | function isInsideTmux() { function ralphthonCommand (line 231) | async function ralphthonCommand(args) { function sleep (line 358) | function sleep(ms) { FILE: dist/cli/commands/session-search.d.ts type SessionSearchCommandOptions (line 2) | interface SessionSearchCommandOptions { type LoggerLike (line 12) | interface LoggerLike { FILE: dist/cli/commands/session-search.js function formatTimestamp (line 3) | function formatTimestamp(timestamp) { function formatSessionSearchReport (line 9) | function formatSessionSearchReport(report) { function sessionSearchCommand (line 33) | async function sessionSearchCommand(query, options, logger = console) { FILE: dist/cli/commands/team.d.ts type DecompositionStrategy (line 10) | type DecompositionStrategy = 'numbered' | 'bulleted' | 'conjunction' | '... type DecompositionPlan (line 11) | interface DecompositionPlan { type ParsedWorkerSpec (line 38) | interface ParsedWorkerSpec { type ParsedTeamArgs (line 42) | interface ParsedTeamArgs { FILE: dist/cli/commands/team.js constant HELP_TOKENS (line 11) | const HELP_TOKENS = new Set(['--help', '-h', 'help']); constant MIN_WORKER_COUNT (line 12) | const MIN_WORKER_COUNT = 1; constant MAX_WORKER_COUNT (line 13) | const MAX_WORKER_COUNT = 20; constant TEAM_HELP (line 14) | const TEAM_HELP = ` constant TEAM_API_HELP (line 34) | const TEAM_API_HELP = ` constant TEAM_API_OPERATION_REQUIRED_FIELDS (line 45) | const TEAM_API_OPERATION_REQUIRED_FIELDS = { constant TEAM_API_OPERATION_OPTIONAL_FIELDS (line 76) | const TEAM_API_OPERATION_OPTIONAL_FIELDS = { constant TEAM_API_OPERATION_NOTES (line 88) | const TEAM_API_OPERATION_NOTES = { constant NUMBERED_LINE_RE (line 93) | const NUMBERED_LINE_RE = /^\s*\d+[.)]\s+(.+)$/; constant BULLETED_LINE_RE (line 94) | const BULLETED_LINE_RE = /^\s*[-*•]\s+(.+)$/; constant CONJUNCTION_SPLIT_RE (line 96) | const CONJUNCTION_SPLIT_RE = /\s+(?:and|,\s*and|,)\s+/i; constant PARALLELIZATION_KEYWORDS_RE (line 98) | const PARALLELIZATION_KEYWORDS_RE = /\b(?:parallel|concurrently|simultan... constant FILE_REF_RE (line 99) | const FILE_REF_RE = /\b\S+\.\w{1,6}\b/g; constant CODE_SYMBOL_RE (line 100) | const CODE_SYMBOL_RE = /`[^`]+`/g; function hasAtomicParallelizationSignals (line 105) | function hasAtomicParallelizationSignals(task, _size) { function resolveTeamFanoutLimit (line 116) | function resolveTeamFanoutLimit(requestedWorkerCount, _explicitAgentType... function splitTaskString (line 134) | function splitTaskString(task) { function slugifyTask (line 177) | function slugifyTask(task) { function getTeamWorkerIdentityFromEnv (line 185) | function getTeamWorkerIdentityFromEnv(env = process.env) { function assertTeamSpawnAllowed (line 192) | async function assertTeamSpawnAllowed(cwd, env = process.env) { constant SINGLE_SPEC_RE (line 219) | const SINGLE_SPEC_RE = /^(\d+)(?::([a-z][a-z0-9-]*)(?::([a-z][a-z0-9-]*)... function parseTeamArgs (line 221) | function parseTeamArgs(tokens) { function buildStartupTasks (line 311) | function buildStartupTasks(parsed) { function sampleValueForField (line 324) | function sampleValueForField(field) { function buildOperationHelp (line 366) | function buildOperationHelp(operation) { function parseTeamApiArgs (line 391) | function parseTeamApiArgs(args) { function handleTeamStart (line 442) | async function handleTeamStart(parsed, cwd) { function handleTeamStatus (line 554) | async function handleTeamStatus(teamName, cwd) { function handleTeamShutdown (line 604) | async function handleTeamShutdown(teamName, cwd, force) { function handleTeamApi (line 620) | async function handleTeamApi(args, cwd) { function teamCommand (line 697) | async function teamCommand(args) { FILE: dist/cli/commands/teleport.d.ts type TeleportOptions (line 7) | interface TeleportOptions { type TeleportResult (line 14) | interface TeleportResult { FILE: dist/cli/commands/teleport.js constant DEFAULT_WORKTREE_ROOT (line 14) | const DEFAULT_WORKTREE_ROOT = join(homedir(), 'Workspace', 'omc-worktree... function parseRef (line 19) | function parseRef(ref) { function sanitize (line 161) | function sanitize(str, maxLen = 30) { function getCurrentRepo (line 171) | function getCurrentRepo() { function fetchProviderInfo (line 188) | async function fetchProviderInfo(type, number, provider, owner, repo) { function createWorktree (line 199) | function createWorktree(repoRoot, worktreePath, branchName, baseBranch) { function teleportCommand (line 240) | async function teleportCommand(ref, options) { function findWorktreeDirs (line 387) | function findWorktreeDirs(dir, maxDepth = 3, currentDepth = 0) { function teleportListCommand (line 419) | async function teleportListCommand(options) { function teleportRemoveCommand (line 467) | async function teleportRemoveCommand(pathOrName, options) { FILE: dist/cli/commands/wait.d.ts type WaitOptions (line 18) | interface WaitOptions { type WaitStatusOptions (line 23) | interface WaitStatusOptions { type WaitDaemonOptions (line 26) | interface WaitDaemonOptions { type WaitDetectOptions (line 31) | interface WaitDetectOptions { FILE: dist/cli/commands/wait.js function waitCommand (line 24) | async function waitCommand(options) { function waitStatusCommand (line 91) | async function waitStatusCommand(options) { function waitDaemonCommand (line 167) | async function waitDaemonCommand(action, options) { function waitDetectCommand (line 214) | async function waitDetectCommand(options) { FILE: dist/cli/hud-watch.d.ts type HudMainLike (line 2) | interface HudMainLike { type HudWatchLoopOptions (line 5) | interface HudWatchLoopOptions { FILE: dist/cli/hud-watch.js function runHudWatchLoop (line 6) | async function runHudWatchLoop(options) { FILE: dist/cli/index.js function defaultAction (line 38) | async function defaultAction() { FILE: dist/cli/interop.d.ts type InteropMode (line 7) | type InteropMode = 'off' | 'observe' | 'active'; type InteropRuntimeFlags (line 8) | interface InteropRuntimeFlags { FILE: dist/cli/interop.js function readInteropRuntimeFlags (line 11) | function readInteropRuntimeFlags(env = process.env) { function validateInteropRuntimeFlags (line 21) | function validateInteropRuntimeFlags(flags) { function isCodexAvailable (line 33) | function isCodexAvailable() { function launchInteropSession (line 45) | function launchInteropSession(cwd = process.cwd()) { function interopCommand (line 137) | function interopCommand(options = {}) { FILE: dist/cli/launch.js constant MADMAX_FLAG (line 8) | const MADMAX_FLAG = '--madmax'; constant YOLO_FLAG (line 9) | const YOLO_FLAG = '--yolo'; constant CLAUDE_BYPASS_FLAG (line 10) | const CLAUDE_BYPASS_FLAG = '--dangerously-skip-permissions'; constant NOTIFY_FLAG (line 11) | const NOTIFY_FLAG = '--notify'; constant OPENCLAW_FLAG (line 12) | const OPENCLAW_FLAG = '--openclaw'; constant TELEGRAM_FLAG (line 13) | const TELEGRAM_FLAG = '--telegram'; constant DISCORD_FLAG (line 14) | const DISCORD_FLAG = '--discord'; constant SLACK_FLAG (line 15) | const SLACK_FLAG = '--slack'; constant WEBHOOK_FLAG (line 16) | const WEBHOOK_FLAG = '--webhook'; function extractNotifyFlag (line 23) | function extractNotifyFlag(args) { function extractOpenClawFlag (line 60) | function extractOpenClawFlag(args) { function extractTelegramFlag (line 90) | function extractTelegramFlag(args) { function extractDiscordFlag (line 119) | function extractDiscordFlag(args) { function extractSlackFlag (line 148) | function extractSlackFlag(args) { function extractWebhookFlag (line 177) | function extractWebhookFlag(args) { function normalizeClaudeLaunchArgs (line 199) | function normalizeClaudeLaunchArgs(args) { function preLaunch (line 230) | async function preLaunch(_cwd, _sessionId) { function isPrintMode (line 239) | function isPrintMode(args) { function runClaude (line 251) | function runClaude(cwd, args, sessionId) { function runClaudeInsideTmux (line 274) | function runClaudeInsideTmux(cwd, args) { function runClaudeOutsideTmux (line 298) | function runClaudeOutsideTmux(cwd, args, _sessionId) { function runClaudeDirect (line 332) | function runClaudeDirect(cwd, args) { function postLaunch (line 353) | async function postLaunch(_cwd, _sessionId) { function launchCommand (line 361) | async function launchCommand(args) { FILE: dist/cli/team.d.ts type TeamApiEnvelope (line 1) | interface TeamApiEnvelope { type TeamTaskInput (line 10) | interface TeamTaskInput { type TeamStartInput (line 14) | interface TeamStartInput { type TeamStartResult (line 25) | interface TeamStartResult { type TeamJobStatus (line 30) | interface TeamJobStatus { type TeamWaitOptions (line 37) | interface TeamWaitOptions { type TeamWaitResult (line 40) | interface TeamWaitResult extends TeamJobStatus { type TeamCleanupResult (line 44) | interface TeamCleanupResult { FILE: dist/cli/team.js constant JOB_ID_PATTERN (line 14) | const JOB_ID_PATTERN = /^omc-[a-z0-9]{1,12}$/; constant VALID_CLI_AGENT_TYPES (line 15) | const VALID_CLI_AGENT_TYPES = new Set(['claude', 'codex', 'gemini']); constant SUBCOMMANDS (line 16) | const SUBCOMMANDS = new Set(['start', 'status', 'wait', 'cleanup', 'resu... constant SUPPORTED_API_OPERATIONS (line 17) | const SUPPORTED_API_OPERATIONS = new Set([ constant TEAM_API_USAGE (line 29) | const TEAM_API_USAGE = ` function getTeamWorkerIdentityFromEnv (line 36) | function getTeamWorkerIdentityFromEnv(env = process.env) { function assertTeamSpawnAllowed (line 43) | async function assertTeamSpawnAllowed(cwd, env = process.env) { function resolveJobsDir (line 69) | function resolveJobsDir(env = process.env) { function resolveRuntimeCliPath (line 72) | function resolveRuntimeCliPath(env = process.env) { function ensureJobsDir (line 79) | function ensureJobsDir(jobsDir) { function jobPath (line 84) | function jobPath(jobsDir, jobId) { function resultArtifactPath (line 87) | function resultArtifactPath(jobsDir, jobId) { function panesArtifactPath (line 90) | function panesArtifactPath(jobsDir, jobId) { function teamStateRoot (line 93) | function teamStateRoot(cwd, teamName) { function validateJobId (line 96) | function validateJobId(jobId) { function parseJsonSafe (line 101) | function parseJsonSafe(content) { function readJobFromDisk (line 109) | function readJobFromDisk(jobId, jobsDir) { function writeJobToDisk (line 118) | function writeJobToDisk(jobId, job, jobsDir) { function parseJobResult (line 122) | function parseJobResult(raw) { function buildStatus (line 128) | function buildStatus(jobId, job) { function generateJobId (line 137) | function generateJobId(now = Date.now()) { function convergeWithResultArtifact (line 140) | function convergeWithResultArtifact(jobId, job, jobsDir) { function output (line 164) | function output(value, asJson) { function toInt (line 171) | function toInt(value, flag) { function normalizeAgentType (line 178) | function normalizeAgentType(value) { function autoTeamName (line 187) | function autoTeamName(task) { function parseJsonInput (line 195) | function parseJsonInput(inputRaw) { function startTeamJob (line 204) | async function startTeamJob(input) { function getTeamJobStatus (line 258) | async function getTeamJobStatus(jobId) { function waitForTeamJob (line 271) | async function waitForTeamJob(jobId, options = {}) { function cleanupTeamJob (line 290) | async function cleanupTeamJob(jobId, graceMs = 10_000) { function teamStatusByTeamName (line 338) | async function teamStatusByTeamName(teamName, cwd = process.cwd()) { function teamResumeByName (line 380) | async function teamResumeByName(teamName, cwd = process.cwd()) { function teamShutdownByName (line 399) | async function teamShutdownByName(teamName, options = {}) { function executeTeamApiOperation (line 434) | async function executeTeamApiOperation(operation, input, cwd = process.c... function teamStartCommand (line 470) | async function teamStartCommand(input, options = {}) { function teamStatusCommand (line 475) | async function teamStatusCommand(jobId, options = {}) { function teamWaitCommand (line 480) | async function teamWaitCommand(jobId, waitOptions = {}, options = {}) { function teamCleanupCommand (line 485) | async function teamCleanupCommand(jobId, cleanupOptions = {}, options = ... constant TEAM_USAGE (line 490) | const TEAM_USAGE = ` function parseStartArgs (line 510) | function parseStartArgs(args) { function parseCommonJobArgs (line 671) | function parseCommonJobArgs(args, command) { function parseTeamTargetArgs (line 749) | function parseTeamTargetArgs(args, command) { function parseApiArgs (line 792) | function parseApiArgs(args) { function parseLegacyStartAlias (line 842) | function parseLegacyStartAlias(args) { function teamCommand (line 906) | async function teamCommand(argv) { function main (line 987) | async function main(argv) { FILE: dist/cli/tmux-utils.d.ts type ClaudeLaunchPolicy (line 5) | type ClaudeLaunchPolicy = 'inside-tmux' | 'outside-tmux' | 'direct'; type TmuxPaneSnapshot (line 6) | interface TmuxPaneSnapshot { FILE: dist/cli/tmux-utils.js function isTmuxAvailable (line 10) | function isTmuxAvailable() { function isClaudeAvailable (line 22) | function isClaudeAvailable() { function resolveLaunchPolicy (line 38) | function resolveLaunchPolicy(env = process.env, args = []) { function buildTmuxSessionName (line 61) | function buildTmuxSessionName(cwd) { function sanitizeTmuxToken (line 92) | function sanitizeTmuxToken(value) { function buildTmuxShellCommand (line 102) | function buildTmuxShellCommand(command, args) { function wrapWithLoginShell (line 114) | function wrapWithLoginShell(command) { function quoteShellArg (line 127) | function quoteShellArg(value) { function parseTmuxPaneSnapshot (line 133) | function parseTmuxPaneSnapshot(output) { function isHudWatchPane (line 151) | function isHudWatchPane(pane) { function findHudWatchPaneIds (line 160) | function findHudWatchPaneIds(panes, currentPaneId) { function listHudWatchPaneIdsInCurrentWindow (line 169) | function listHudWatchPaneIdsInCurrentWindow(currentPaneId) { function createHudWatchPane (line 182) | function createHudWatchPane(cwd, hudCmd) { function killTmuxPane (line 196) | function killTmuxPane(paneId) { FILE: dist/cli/utils/formatting.d.ts type TableColumn (line 1) | interface TableColumn { FILE: dist/cli/utils/formatting.js function renderTable (line 1) | function renderTable(data, columns) { function padString (line 20) | function padString(str, width, align) { function formatCostWithColor (line 46) | function formatCostWithColor(cost) { function formatTokenCount (line 53) | function formatTokenCount(tokens) { function formatDuration (line 60) | function formatDuration(ms) { FILE: dist/cli/win32-warning.js function hasTmuxBinary (line 6) | function hasTmuxBinary() { function warnIfWin32 (line 20) | function warnIfWin32() { FILE: dist/commands/index.d.ts type CommandInfo (line 7) | interface CommandInfo { type ExpandedCommand (line 13) | interface ExpandedCommand { FILE: dist/commands/index.js function getCommandsDir (line 13) | function getCommandsDir() { function parseCommandFile (line 19) | function parseCommandFile(content) { function getCommand (line 34) | function getCommand(name) { function getAllCommands (line 58) | function getAllCommands() { function listCommands (line 83) | function listCommands() { function expandCommand (line 101) | function expandCommand(name, args = '') { function expandCommandPrompt (line 130) | function expandCommandPrompt(name, args = '') { function commandExists (line 137) | function commandExists(name) { function expandCommands (line 143) | function expandCommands(commands) { FILE: dist/config/__tests__/loader.test.js constant ALL_KEYS (line 7) | const ALL_KEYS = [ FILE: dist/config/__tests__/models.test.js constant BEDROCK_KEYS (line 4) | const BEDROCK_KEYS = ['CLAUDE_CODE_USE_BEDROCK', 'CLAUDE_MODEL', 'ANTHRO... constant VERTEX_KEYS (line 5) | const VERTEX_KEYS = ['CLAUDE_CODE_USE_VERTEX', 'CLAUDE_MODEL', 'ANTHROPI... constant ALL_KEYS (line 6) | const ALL_KEYS = [ FILE: dist/config/__tests__/test-helpers.js function saveAndClear (line 1) | function saveAndClear(keys) { function restore (line 9) | function restore(saved) { FILE: dist/config/loader.js function buildDefaultConfig (line 25) | function buildDefaultConfig() { constant DEFAULT_CONFIG (line 158) | const DEFAULT_CONFIG = buildDefaultConfig(); function getConfigPaths (line 162) | function getConfigPaths() { function loadJsoncFile (line 172) | function loadJsoncFile(path) { function deepMerge (line 189) | function deepMerge(target, source) { function loadEnvConfig (line 215) | function loadEnvConfig() { function loadConfig (line 354) | function loadConfig() { constant OMC_STARTUP_COMPACTABLE_SECTIONS (line 387) | const OMC_STARTUP_COMPACTABLE_SECTIONS = [ function looksLikeOmcGuidance (line 392) | function looksLikeOmcGuidance(content) { function compactOmcStartupGuidance (line 397) | function compactOmcStartupGuidance(content) { function findContextFiles (line 420) | function findContextFiles(startDir) { function loadContextFromFiles (line 451) | function loadContextFromFiles(files) { function generateConfigSchema (line 467) | function generateConfigSchema() { FILE: dist/config/models.d.ts type ModelTier (line 1) | type ModelTier = 'LOW' | 'MEDIUM' | 'HIGH'; type ClaudeModelFamily (line 2) | type ClaudeModelFamily = 'HAIKU' | 'SONNET' | 'OPUS'; FILE: dist/config/models.js constant TIER_ENV_KEYS (line 2) | const TIER_ENV_KEYS = { constant CLAUDE_FAMILY_DEFAULTS (line 23) | const CLAUDE_FAMILY_DEFAULTS = { constant BUILTIN_TIER_MODEL_DEFAULTS (line 29) | const BUILTIN_TIER_MODEL_DEFAULTS = { constant CLAUDE_FAMILY_HIGH_VARIANTS (line 35) | const CLAUDE_FAMILY_HIGH_VARIANTS = { constant BUILTIN_EXTERNAL_MODEL_DEFAULTS (line 41) | const BUILTIN_EXTERNAL_MODEL_DEFAULTS = { function resolveTierModelFromEnv (line 71) | function resolveTierModelFromEnv(tier) { function hasTierModelEnvOverrides (line 80) | function hasTierModelEnvOverrides() { function getDefaultModelHigh (line 86) | function getDefaultModelHigh() { function getDefaultModelMedium (line 89) | function getDefaultModelMedium() { function getDefaultModelLow (line 92) | function getDefaultModelLow() { function getDefaultTierModels (line 99) | function getDefaultTierModels() { function resolveClaudeFamily (line 110) | function resolveClaudeFamily(modelId) { function getClaudeHighVariantFromModel (line 126) | function getClaudeHighVariantFromModel(modelId) { function getBuiltinExternalDefaultModel (line 131) | function getBuiltinExternalDefaultModel(provider) { function isBedrock (line 149) | function isBedrock() { function isProviderSpecificModelId (line 181) | function isProviderSpecificModelId(modelId) { function hasExtendedContextSuffix (line 205) | function hasExtendedContextSuffix(modelId) { function isSubagentSafeModelId (line 216) | function isSubagentSafeModelId(modelId) { function isVertexAI (line 228) | function isVertexAI() { function isNonClaudeProvider (line 250) | function isNonClaudeProvider() { FILE: dist/config/plan-output.d.ts type PlanOutputKind (line 4) | type PlanOutputKind = "autopilot-impl" | "open-questions"; FILE: dist/config/plan-output.js constant DEFAULT_PLAN_OUTPUT_DIRECTORY (line 3) | const DEFAULT_PLAN_OUTPUT_DIRECTORY = ".omc/plans"; constant DEFAULT_PLAN_OUTPUT_FILENAME_TEMPLATE (line 4) | const DEFAULT_PLAN_OUTPUT_FILENAME_TEMPLATE = "{{name}}.md"; function sanitizePlanOutputSegment (line 5) | function sanitizePlanOutputSegment(value) { function getPlanOutputDirectory (line 16) | function getPlanOutputDirectory(config) { function getPlanOutputFilenameTemplate (line 28) | function getPlanOutputFilenameTemplate(config) { function resolvePlanOutputFilename (line 39) | function resolvePlanOutputFilename(kind, config) { function resolvePlanOutputPath (line 55) | function resolvePlanOutputPath(kind, config) { function resolvePlanOutputAbsolutePath (line 58) | function resolvePlanOutputAbsolutePath(directory, kind, config) { function resolveAutopilotPlanPath (line 61) | function resolveAutopilotPlanPath(config) { function resolveOpenQuestionsPlanPath (line 64) | function resolveOpenQuestionsPlanPath(config) { FILE: dist/constants/names.d.ts type ModeName (line 15) | type ModeName = typeof MODES[keyof typeof MODES]; type ToolCategory (line 31) | type ToolCategory = typeof TOOL_CATEGORIES[keyof typeof TOOL_CATEGORIES]; type HookEvent (line 41) | type HookEvent = typeof HOOK_EVENTS[keyof typeof HOOK_EVENTS]; FILE: dist/constants/names.js constant MODES (line 8) | const MODES = { constant TOOL_CATEGORIES (line 17) | const TOOL_CATEGORIES = { constant HOOK_EVENTS (line 33) | const HOOK_EVENTS = { FILE: dist/features/auto-update.d.ts type StopCallbackFileConfig (line 32) | interface StopCallbackFileConfig { type StopCallbackTelegramConfig (line 42) | interface StopCallbackTelegramConfig { type StopCallbackDiscordConfig (line 54) | interface StopCallbackDiscordConfig { type StopCallbackSlackConfig (line 64) | interface StopCallbackSlackConfig { type StopHookCallbacksConfig (line 74) | interface StopHookCallbacksConfig { type OMCConfig (line 83) | interface OMCConfig { type VersionMetadata (line 140) | interface VersionMetadata { type ReleaseInfo (line 155) | interface ReleaseInfo { type UpdateCheckResult (line 167) | interface UpdateCheckResult { type UpdateResult (line 177) | interface UpdateResult { type UpdateReconcileResult (line 184) | interface UpdateReconcileResult { type SilentUpdateConfig (line 252) | interface SilentUpdateConfig { FILE: dist/features/auto-update.js constant REPO_OWNER (line 19) | const REPO_OWNER = 'Yeachan-Heo'; constant REPO_NAME (line 20) | const REPO_NAME = 'oh-my-claudecode'; constant GITHUB_API_URL (line 21) | const GITHUB_API_URL = `https://api.github.com/repos/${REPO_OWNER}/${REP... constant GITHUB_RAW_URL (line 22) | const GITHUB_RAW_URL = `https://raw.githubusercontent.com/${REPO_OWNER}/... function syncMarketplaceClone (line 29) | function syncMarketplaceClone(verbose = false) { constant PLUGIN_SYNC_PAYLOAD (line 103) | const PLUGIN_SYNC_PAYLOAD = [ function copyPluginSyncPayload (line 118) | function copyPluginSyncPayload(sourceRoot, targetRoots) { function syncActivePluginCache (line 147) | function syncActivePluginCache() { function shouldBlockStandaloneUpdateInCurrentSession (line 158) | function shouldBlockStandaloneUpdateInCurrentSession() { function syncPluginCache (line 172) | function syncPluginCache(verbose = false) { constant CLAUDE_CONFIG_DIR (line 220) | const CLAUDE_CONFIG_DIR = getConfigDir(); constant VERSION_FILE (line 221) | const VERSION_FILE = join(CLAUDE_CONFIG_DIR, '.omc-version.json'); constant CONFIG_FILE (line 222) | const CONFIG_FILE = join(CLAUDE_CONFIG_DIR, '.omc-config.json'); function getOMCConfig (line 226) | function getOMCConfig() { function isSilentAutoUpdateEnabled (line 258) | function isSilentAutoUpdateEnabled() { function isAutoUpgradePromptEnabled (line 265) | function isAutoUpgradePromptEnabled() { function isTeamEnabled (line 273) | function isTeamEnabled() { function getInstalledVersion (line 293) | function getInstalledVersion() { function saveVersionMetadata (line 329) | function saveVersionMetadata(metadata) { function updateLastCheckTime (line 339) | function updateLastCheckTime() { function fetchLatestRelease (line 349) | async function fetchLatestRelease() { function compareVersions (line 386) | function compareVersions(a, b) { function checkForUpdates (line 406) | async function checkForUpdates() { function reconcileUpdateRuntime (line 428) | function reconcileUpdateRuntime(options) { function getFirstResolvedBinaryPath (line 499) | function getFirstResolvedBinaryPath(output) { function resolveOmcBinaryPath (line 509) | function resolveOmcBinaryPath() { function performUpdate (line 527) | async function performUpdate(options) { function formatUpdateNotification (line 640) | function formatUpdateNotification(checkResult) { function shouldCheckForUpdates (line 671) | function shouldCheckForUpdates(intervalHours = 24) { function backgroundUpdateCheck (line 684) | function backgroundUpdateCheck(callback) { function interactiveUpdate (line 709) | async function interactiveUpdate() { constant SILENT_UPDATE_STATE_FILE (line 738) | const SILENT_UPDATE_STATE_FILE = join(CLAUDE_CONFIG_DIR, '.omc-silent-up... function getSilentUpdateState (line 742) | function getSilentUpdateState() { function saveSilentUpdateState (line 756) | function saveSilentUpdateState(state) { function silentLog (line 766) | function silentLog(message, logFile) { function silentAutoUpdate (line 798) | async function silentAutoUpdate(config = {}) { function hasPendingUpdateRestart (line 876) | function hasPendingUpdateRestart() { function clearPendingUpdateRestart (line 883) | function clearPendingUpdateRestart() { function getPendingUpdateVersion (line 891) | function getPendingUpdateVersion() { function initSilentAutoUpdate (line 904) | function initSilentAutoUpdate(config = {}) { FILE: dist/features/background-agent/concurrency.d.ts class ConcurrencyManager (line 13) | class ConcurrencyManager { FILE: dist/features/background-agent/concurrency.js class ConcurrencyManager (line 12) | class ConcurrencyManager { method constructor (line 16) | constructor(config) { method getConcurrencyLimit (line 22) | getConcurrencyLimit(key) { method acquire (line 46) | async acquire(key) { method release (line 67) | release(key) { method getCount (line 89) | getCount(key) { method getQueueLength (line 95) | getQueueLength(key) { method isAtCapacity (line 101) | isAtCapacity(key) { method getActiveCounts (line 110) | getActiveCounts() { method clear (line 116) | clear() { FILE: dist/features/background-agent/manager.d.ts class BackgroundManager (line 14) | class BackgroundManager { FILE: dist/features/background-agent/manager.js constant DEFAULT_TASK_TTL_MS (line 15) | const DEFAULT_TASK_TTL_MS = 30 * 60 * 1000; constant BACKGROUND_TASKS_DIR (line 17) | const BACKGROUND_TASKS_DIR = join(getClaudeConfigDir(), '.omc', 'backgro... class BackgroundManager (line 21) | class BackgroundManager { method constructor (line 27) | constructor(config) { method ensureStorageDir (line 37) | ensureStorageDir() { method generateTaskId (line 45) | generateTaskId() { method getTaskPath (line 53) | getTaskPath(taskId) { method persistTask (line 59) | persistTask(task) { method unpersistTask (line 66) | unpersistTask(taskId) { method loadPersistedTasks (line 75) | loadPersistedTasks() { method startPruning (line 115) | startPruning() { method stopPruning (line 129) | stopPruning() { method pruneStaleTasksAndNotifications (line 138) | pruneStaleTasksAndNotifications() { method detectAndHandleStaleSessions (line 175) | detectAndHandleStaleSessions() { method launch (line 210) | async launch(input) { method resume (line 266) | async resume(input) { method getResumeContext (line 286) | getResumeContext(sessionId) { method getTask (line 304) | getTask(id) { method findBySession (line 310) | findBySession(sessionId) { method getTasksByParentSession (line 321) | getTasksByParentSession(sessionId) { method getAllTasks (line 333) | getAllTasks() { method getRunningTasks (line 339) | getRunningTasks() { method updateTaskStatus (line 345) | updateTaskStatus(taskId, status, result, error) { method updateTaskProgress (line 366) | updateTaskProgress(taskId, progress) { method markForNotification (line 379) | markForNotification(task) { method getPendingNotifications (line 387) | getPendingNotifications(sessionId) { method clearNotifications (line 393) | clearNotifications(sessionId) { method clearNotificationsForTask (line 399) | clearNotificationsForTask(taskId) { method removeTask (line 413) | removeTask(taskId) { method formatDuration (line 425) | formatDuration(start, end) { method getStatusSummary (line 441) | getStatusSummary() { method cleanup (line 468) | cleanup() { function getBackgroundManager (line 479) | function getBackgroundManager(config) { function resetBackgroundManager (line 488) | function resetBackgroundManager() { FILE: dist/features/background-agent/types.d.ts type BackgroundTaskStatus (line 11) | type BackgroundTaskStatus = 'queued' | 'pending' | 'running' | 'complete... type TaskProgress (line 15) | interface TaskProgress { type BackgroundTask (line 30) | interface BackgroundTask { type LaunchInput (line 65) | interface LaunchInput { type ResumeInput (line 80) | interface ResumeInput { type ResumeContext (line 91) | interface ResumeContext { type BackgroundTaskConfig (line 110) | interface BackgroundTaskConfig { FILE: dist/features/background-tasks.d.ts type TaskExecutionDecision (line 36) | interface TaskExecutionDecision { type BackgroundTaskManager (line 64) | interface BackgroundTaskManager { FILE: dist/features/background-tasks.js constant DEFAULT_MAX_BACKGROUND_TASKS (line 21) | const DEFAULT_MAX_BACKGROUND_TASKS = 5; constant LONG_RUNNING_PATTERNS (line 26) | const LONG_RUNNING_PATTERNS = [ constant BLOCKING_PATTERNS (line 64) | const BLOCKING_PATTERNS = [ function shouldRunInBackground (line 100) | function shouldRunInBackground(command, currentBackgroundCount = 0, maxB... function createBackgroundTaskManager (line 152) | function createBackgroundTaskManager(state, config) { function getBackgroundTaskGuidance (line 214) | function getBackgroundTaskGuidance(maxBackgroundTasks = DEFAULT_MAX_BACK... FILE: dist/features/boulder-state/constants.js constant BOULDER_DIR (line 8) | const BOULDER_DIR = OmcPaths.ROOT; constant BOULDER_FILE (line 10) | const BOULDER_FILE = 'boulder.json'; constant BOULDER_STATE_PATH (line 12) | const BOULDER_STATE_PATH = `${BOULDER_DIR}/${BOULDER_FILE}`; constant NOTEPAD_DIR (line 14) | const NOTEPAD_DIR = 'notepads'; constant NOTEPAD_BASE_PATH (line 16) | const NOTEPAD_BASE_PATH = `${BOULDER_DIR}/${NOTEPAD_DIR}`; constant PLANNER_PLANS_DIR (line 18) | const PLANNER_PLANS_DIR = OmcPaths.PLANS; constant PLAN_EXTENSION (line 20) | const PLAN_EXTENSION = '.md'; FILE: dist/features/boulder-state/storage.js function getBoulderFilePath (line 16) | function getBoulderFilePath(directory) { function readBoulderState (line 22) | function readBoulderState(directory) { function writeBoulderState (line 38) | function writeBoulderState(directory, state) { function appendSessionId (line 53) | function appendSessionId(directory, sessionId) { function clearBoulderState (line 72) | function clearBoulderState(directory) { function findPlannerPlans (line 89) | function findPlannerPlans(directory) { function getPlanProgress (line 113) | function getPlanProgress(planPath) { function getPlanName (line 137) | function getPlanName(planPath) { function createBoulderState (line 143) | function createBoulderState(planPath, sessionId) { function getPlanSummaries (line 157) | function getPlanSummaries(directory) { function hasBoulder (line 172) | function hasBoulder(directory) { function getActivePlanPath (line 178) | function getActivePlanPath(directory) { FILE: dist/features/boulder-state/types.d.ts type BoulderState (line 12) | interface BoulderState { type PlanProgress (line 31) | interface PlanProgress { type PlanSummary (line 42) | interface PlanSummary { FILE: dist/features/builtin-skills/runtime-guidance.d.ts type SkillRuntimeAvailability (line 2) | interface SkillRuntimeAvailability { FILE: dist/features/builtin-skills/runtime-guidance.js function detectSkillRuntimeAvailability (line 2) | function detectSkillRuntimeAvailability(detector = isCliAvailable) { function normalizeSkillName (line 9) | function normalizeSkillName(skillName) { function renderDeepInterviewRuntimeGuidance (line 12) | function renderDeepInterviewRuntimeGuidance(availability) { function renderSkillRuntimeGuidance (line 27) | function renderSkillRuntimeGuidance(skillName, availability) { FILE: dist/features/builtin-skills/skills.d.ts type ListBuiltinSkillNamesOptions (line 23) | interface ListBuiltinSkillNamesOptions { FILE: dist/features/builtin-skills/skills.js function getPackageDir (line 19) | function getPackageDir() { constant SKILLS_DIR (line 42) | const SKILLS_DIR = join(getPackageDir(), 'skills'); constant CC_NATIVE_COMMANDS (line 48) | const CC_NATIVE_COMMANDS = new Set([ function toSafeSkillName (line 60) | function toSafeSkillName(name) { function loadSkillFromFile (line 69) | function loadSkillFromFile(skillPath, skillName) { function loadSkillsFromDirectory (line 120) | function loadSkillsFromDirectory() { function createBuiltinSkills (line 158) | function createBuiltinSkills() { function getBuiltinSkill (line 167) | function getBuiltinSkill(name) { function listBuiltinSkillNames (line 174) | function listBuiltinSkillNames(options) { function clearSkillsCache (line 185) | function clearSkillsCache() { function getSkillsDir (line 191) | function getSkillsDir() { FILE: dist/features/builtin-skills/types.d.ts type SkillMcpConfig (line 12) | interface SkillMcpConfig { type BuiltinSkill (line 22) | interface BuiltinSkill { type SkillRegistry (line 61) | interface SkillRegistry { FILE: dist/features/context-injector/collector.d.ts class ContextCollector (line 13) | class ContextCollector { FILE: dist/features/context-injector/collector.js constant PRIORITY_ORDER (line 10) | const PRIORITY_ORDER = { constant CONTEXT_SEPARATOR (line 17) | const CONTEXT_SEPARATOR = '\n\n---\n\n'; class ContextCollector (line 21) | class ContextCollector { method register (line 27) | register(sessionId, options) { method getPending (line 46) | getPending(sessionId) { method consume (line 67) | consume(sessionId) { method clear (line 75) | clear(sessionId) { method hasPending (line 81) | hasPending(sessionId) { method getEntryCount (line 88) | getEntryCount(sessionId) { method removeEntry (line 95) | removeEntry(sessionId, source, id) { method getActiveSessions (line 105) | getActiveSessions() { method sortEntries (line 111) | sortEntries(entries) { FILE: dist/features/context-injector/injector.js constant DEFAULT_SEPARATOR (line 9) | const DEFAULT_SEPARATOR = '\n\n---\n\n'; function injectPendingContext (line 14) | function injectPendingContext(collector, sessionId, parts, strategy = 'p... function injectContextIntoText (line 44) | function injectContextIntoText(collector, sessionId, text, strategy = 'p... function createContextInjectorHook (line 77) | function createContextInjectorHook(collector) { FILE: dist/features/context-injector/types.d.ts type ContextSourceType (line 14) | type ContextSourceType = 'keyword-detector' | 'rules-injector' | 'direct... type ContextPriority (line 19) | type ContextPriority = 'critical' | 'high' | 'normal' | 'low'; type ContextEntry (line 23) | interface ContextEntry { type RegisterContextOptions (line 40) | interface RegisterContextOptions { type PendingContext (line 55) | interface PendingContext { type MessageContext (line 67) | interface MessageContext { type OutputPart (line 83) | interface OutputPart { type InjectionStrategy (line 91) | type InjectionStrategy = 'prepend' | 'append' | 'wrap'; type InjectionResult (line 95) | interface InjectionResult { FILE: dist/features/continuation-enforcement.js constant CONTINUATION_REMINDERS (line 15) | const CONTINUATION_REMINDERS = [ function getRandomReminder (line 25) | function getRandomReminder() { function createContinuationHook (line 35) | function createContinuationHook() { function detectCompletionSignals (line 128) | function detectCompletionSignals(response) { function generateVerificationPrompt (line 165) | function generateVerificationPrompt(taskSummary) { FILE: dist/features/delegation-categories/index.js constant CATEGORY_CONFIGS (line 24) | const CATEGORY_CONFIGS = { constant THINKING_BUDGET_TOKENS (line 76) | const THINKING_BUDGET_TOKENS = { constant CATEGORY_KEYWORDS (line 93) | const CATEGORY_KEYWORDS = { function resolveCategory (line 125) | function resolveCategory(category) { function isValidCategory (line 141) | function isValidCategory(category) { function getAllCategories (line 149) | function getAllCategories() { function getCategoryDescription (line 158) | function getCategoryDescription(category) { function detectCategoryFromPrompt (line 167) | function detectCategoryFromPrompt(taskPrompt) { function getCategoryForTask (line 209) | function getCategoryForTask(context) { function getCategoryTier (line 233) | function getCategoryTier(category) { function getCategoryTemperature (line 242) | function getCategoryTemperature(category) { function getCategoryThinkingBudget (line 251) | function getCategoryThinkingBudget(category) { function getCategoryThinkingBudgetTokens (line 260) | function getCategoryThinkingBudgetTokens(category) { function getCategoryPromptAppend (line 270) | function getCategoryPromptAppend(category) { function enhancePromptWithCategory (line 280) | function enhancePromptWithCategory(taskPrompt, category) { FILE: dist/features/delegation-categories/types.d.ts type DelegationCategory (line 11) | type DelegationCategory = 'visual-engineering' | 'ultrabrain' | 'artistr... type ThinkingBudget (line 15) | type ThinkingBudget = 'low' | 'medium' | 'high' | 'max'; type CategoryConfig (line 19) | interface CategoryConfig { type ResolvedCategory (line 34) | interface ResolvedCategory extends CategoryConfig { type CategoryContext (line 41) | interface CategoryContext { FILE: dist/features/delegation-enforcer.d.ts type AgentInput (line 20) | interface AgentInput { type EnforcementResult (line 31) | interface EnforcementResult { FILE: dist/features/delegation-enforcer.js constant CONFIG_ENV_KEYS (line 29) | const CONFIG_ENV_KEYS = [ function buildEnvCacheKey (line 56) | function buildEnvCacheKey() { function getCachedConfig (line 61) | function getCachedConfig() { constant FAMILY_TO_ALIAS (line 75) | const FAMILY_TO_ALIAS = { function normalizeToCcAlias (line 81) | function normalizeToCcAlias(model) { function isDelegationToolName (line 85) | function isDelegationToolName(toolName) { function canonicalizeSubagentType (line 89) | function canonicalizeSubagentType(subagentType) { function enforceModel (line 105) | function enforceModel(agentInput) { function isAgentCall (line 193) | function isAgentCall(toolName, toolInput) { function processPreToolUse (line 208) | function processPreToolUse(toolName, toolInput) { function getModelForAgent (line 224) | function getModelForAgent(agentType) { FILE: dist/features/delegation-routing/resolver.js function resolveDelegation (line 16) | function resolveDelegation(options) { function resolveExplicitTool (line 35) | function resolveExplicitTool(tool, model, agentRole) { function resolveFromConfig (line 47) | function resolveFromConfig(agentRole, route) { function resolveDefault (line 81) | function resolveDefault(agentRole, config) { function parseFallbackChain (line 108) | function parseFallbackChain(fallback) { FILE: dist/features/delegation-routing/types.js constant DEFAULT_DELEGATION_CONFIG (line 10) | const DEFAULT_DELEGATION_CONFIG = { constant ROLE_CATEGORY_DEFAULTS (line 18) | const ROLE_CATEGORY_DEFAULTS = { constant DEPRECATED_ROLE_ALIASES (line 46) | const DEPRECATED_ROLE_ALIASES = { function normalizeDelegationRole (line 63) | function normalizeDelegationRole(role) { function isDelegationEnabled (line 69) | function isDelegationEnabled(config) { FILE: dist/features/magic-keywords.js constant CODE_BLOCK_PATTERN (line 10) | const CODE_BLOCK_PATTERN = /```[\s\S]*?```/g; constant INLINE_CODE_PATTERN (line 11) | const INLINE_CODE_PATTERN = /`[^`]+`/g; function removeCodeBlocks (line 15) | function removeCodeBlocks(text) { constant INFORMATIONAL_INTENT_PATTERNS (line 18) | const INFORMATIONAL_INTENT_PATTERNS = [ constant INFORMATIONAL_CONTEXT_WINDOW (line 24) | const INFORMATIONAL_CONTEXT_WINDOW = 80; function isInformationalKeywordContext (line 25) | function isInformationalKeywordContext(text, position, keywordLength) { function escapeRegExp (line 34) | function escapeRegExp(s) { function hasActionableTrigger (line 37) | function hasActionableTrigger(text, trigger) { constant ULTRAWORK_PLANNER_SECTION (line 53) | const ULTRAWORK_PLANNER_SECTION = `## CRITICAL: YOU ARE A PLANNER, NOT A... function isPlannerAgent (line 106) | function isPlannerAgent(agentName) { function getUltraworkMessage (line 117) | function getUltraworkMessage(agentName) { function removeTriggerWords (line 340) | function removeTriggerWords(prompt, triggers) { function createMagicKeywordProcessor (line 360) | function createMagicKeywordProcessor(config) { function detectMagicKeywords (line 405) | function detectMagicKeywords(prompt, config) { function extractPromptText (line 445) | function extractPromptText(parts) { FILE: dist/features/model-routing/index.js function routeAndAdaptTask (line 37) | function routeAndAdaptTask(taskPrompt, agentType, previousFailures) { FILE: dist/features/model-routing/prompts/haiku.js constant HAIKU_PROMPT_PREFIX (line 13) | const HAIKU_PROMPT_PREFIX = `TASK: `; constant HAIKU_PROMPT_SUFFIX (line 17) | const HAIKU_PROMPT_SUFFIX = ` function adaptPromptForHaiku (line 23) | function adaptPromptForHaiku(basePrompt) { function condensePrompt (line 31) | function condensePrompt(prompt) { constant HAIKU_SEARCH_TEMPLATE (line 50) | const HAIKU_SEARCH_TEMPLATE = `SEARCH: {QUERY} constant HAIKU_LIST_TEMPLATE (line 63) | const HAIKU_LIST_TEMPLATE = `LIST: {TARGET} constant HAIKU_DOC_TEMPLATE (line 70) | const HAIKU_DOC_TEMPLATE = `DOCUMENT: {TARGET} constant HAIKU_SIMPLE_TEMPLATE (line 80) | const HAIKU_SIMPLE_TEMPLATE = `DO: {TASK} constant HAIKU_DELEGATION_TEMPLATE (line 89) | const HAIKU_DELEGATION_TEMPLATE = `TASK: {TASK} function extractKeyAction (line 96) | function extractKeyAction(prompt) { function createExplorePrompt (line 115) | function createExplorePrompt(query) { function createDocPrompt (line 132) | function createDocPrompt(target, requirements) { FILE: dist/features/model-routing/prompts/index.js function adaptPromptForTier (line 18) | function adaptPromptForTier(prompt, tier) { function getPromptStrategy (line 31) | function getPromptStrategy(tier) { function getPromptPrefix (line 37) | function getPromptPrefix(tier) { function getPromptSuffix (line 50) | function getPromptSuffix(tier) { function createDelegationPrompt (line 63) | function createDelegationPrompt(tier, task, context) { constant TIER_TASK_INSTRUCTIONS (line 93) | const TIER_TASK_INSTRUCTIONS = { function getTaskInstructions (line 119) | function getTaskInstructions(tier, taskType) { FILE: dist/features/model-routing/prompts/opus.js constant OPUS_PROMPT_PREFIX (line 13) | const OPUS_PROMPT_PREFIX = `deep constant OPUS_PROMPT_SUFFIX (line 34) | const OPUS_PROMPT_SUFFIX = ` function adaptPromptForOpus (line 45) | function adaptPromptForOpus(basePrompt) { constant OPUS_DELEGATION_TEMPLATE (line 51) | const OPUS_DELEGATION_TEMPLATE = `## HIGH-TIER TASK DELEGATION constant OPUS_DEBUG_TEMPLATE (line 80) | const OPUS_DEBUG_TEMPLATE = `## DEEP DEBUGGING ANALYSIS constant OPUS_ARCHITECTURE_TEMPLATE (line 112) | const OPUS_ARCHITECTURE_TEMPLATE = `## ARCHITECTURAL ANALYSIS FILE: dist/features/model-routing/prompts/sonnet.js constant SONNET_PROMPT_PREFIX (line 13) | const SONNET_PROMPT_PREFIX = `## Task Execution Mode constant SONNET_PROMPT_SUFFIX (line 21) | const SONNET_PROMPT_SUFFIX = ` function adaptPromptForSonnet (line 29) | function adaptPromptForSonnet(basePrompt) { constant SONNET_DELEGATION_TEMPLATE (line 35) | const SONNET_DELEGATION_TEMPLATE = `## TASK DELEGATION constant SONNET_IMPLEMENTATION_TEMPLATE (line 64) | const SONNET_IMPLEMENTATION_TEMPLATE = `## IMPLEMENTATION TASK constant SONNET_RESEARCH_TEMPLATE (line 90) | const SONNET_RESEARCH_TEMPLATE = `## RESEARCH TASK constant SONNET_FRONTEND_TEMPLATE (line 127) | const SONNET_FRONTEND_TEMPLATE = `## FRONTEND TASK FILE: dist/features/model-routing/router.js function routeTask (line 14) | function routeTask(context, config = {}) { function createDecision (line 91) | function createDecision(tier, tierModels, reasons, escalated, originalTi... function modelTypeToTier (line 105) | function modelTypeToTier(modelType) { function escalateModel (line 119) | function escalateModel(currentTier) { function canEscalate (line 132) | function canEscalate(currentTier) { function getRoutingRecommendation (line 143) | function getRoutingRecommendation(context, config = {}) { function routeWithEscalation (line 151) | function routeWithEscalation(context, config = {}) { function explainRouting (line 159) | function explainRouting(context, config = {}) { function quickTierForAgent (line 196) | function quickTierForAgent(agentType) { function getModelForTask (line 226) | function getModelForTask(agentType, taskPrompt, config = {}) { function analyzeTaskComplexity (line 241) | function analyzeTaskComplexity(taskPrompt, agentType) { FILE: dist/features/model-routing/rules.js constant DEFAULT_ROUTING_RULES (line 10) | const DEFAULT_ROUTING_RULES = [ function evaluateRules (line 171) | function evaluateRules(context, signals, rules = DEFAULT_ROUTING_RULES) { function getMatchingRules (line 193) | function getMatchingRules(context, signals, rules = DEFAULT_ROUTING_RULE... function createRule (line 199) | function createRule(name, condition, tier, reason, priority) { function mergeRules (line 210) | function mergeRules(customRules) { FILE: dist/features/model-routing/scorer.js constant TIER_THRESHOLDS (line 10) | const TIER_THRESHOLDS = { constant WEIGHTS (line 19) | const WEIGHTS = { function scoreLexicalSignals (line 56) | function scoreLexicalSignals(signals) { function scoreStructuralSignals (line 105) | function scoreStructuralSignals(signals) { function scoreContextSignals (line 159) | function scoreContextSignals(signals) { function calculateComplexityScore (line 177) | function calculateComplexityScore(signals) { function scoreToTier (line 186) | function scoreToTier(score) { function calculateComplexityTier (line 196) | function calculateComplexityTier(signals) { function getScoreBreakdown (line 203) | function getScoreBreakdown(signals) { function calculateConfidence (line 220) | function calculateConfidence(score, tier) { FILE: dist/features/model-routing/signals.js function extractLexicalSignals (line 12) | function extractLexicalSignals(prompt) { function extractStructuralSignals (line 31) | function extractStructuralSignals(prompt) { function extractContextSignals (line 46) | function extractContextSignals(context) { function extractAllSignals (line 58) | function extractAllSignals(prompt, context) { function countFilePaths (line 69) | function countFilePaths(prompt) { function countCodeBlocks (line 87) | function countCodeBlocks(prompt) { function hasKeywords (line 95) | function hasKeywords(prompt, keywords) { function detectQuestionDepth (line 102) | function detectQuestionDepth(prompt) { function detectImplicitRequirements (line 120) | function detectImplicitRequirements(prompt) { function estimateSubtasks (line 134) | function estimateSubtasks(prompt) { function detectCrossFileDependencies (line 151) | function detectCrossFileDependencies(prompt) { function detectTestRequirements (line 169) | function detectTestRequirements(prompt) { function detectDomain (line 185) | function detectDomain(prompt) { function detectExternalKnowledge (line 214) | function detectExternalKnowledge(prompt) { function assessReversibility (line 230) | function assessReversibility(prompt) { function assessImpactScope (line 256) | function assessImpactScope(prompt) { FILE: dist/features/model-routing/types.d.ts type ComplexityTier (line 12) | type ComplexityTier = 'LOW' | 'MEDIUM' | 'HIGH'; type LexicalSignals (line 28) | interface LexicalSignals { type StructuralSignals (line 51) | interface StructuralSignals { type ContextSignals (line 70) | interface ContextSignals { type ComplexitySignals (line 85) | interface ComplexitySignals { type RoutingDecision (line 93) | interface RoutingDecision { type RoutingContext (line 114) | interface RoutingContext { type RoutingRule (line 137) | interface RoutingRule { type RoutingConfig (line 153) | interface RoutingConfig { type PromptAdaptationStrategy (line 204) | type PromptAdaptationStrategy = 'full' | 'balanced' | 'concise'; FILE: dist/features/model-routing/types.js constant TIER_MODELS (line 16) | const TIER_MODELS = getDefaultTierModels(); constant TIER_TO_MODEL_TYPE (line 20) | const TIER_TO_MODEL_TYPE = { constant DEFAULT_ROUTING_CONFIG (line 30) | const DEFAULT_ROUTING_CONFIG = { constant AGENT_CATEGORY_TIERS (line 48) | const AGENT_CATEGORY_TIERS = { constant COMPLEXITY_KEYWORDS (line 60) | const COMPLEXITY_KEYWORDS = { constant TIER_PROMPT_STRATEGIES (line 78) | const TIER_PROMPT_STRATEGIES = { FILE: dist/features/notepad-wisdom/extractor.d.ts type ExtractedWisdom (line 7) | interface ExtractedWisdom { FILE: dist/features/notepad-wisdom/extractor.js function extractWisdomFromCompletion (line 16) | function extractWisdomFromCompletion(response) { function isValidCategory (line 50) | function isValidCategory(category) { function extractWisdomByCategory (line 56) | function extractWisdomByCategory(response, targetCategory) { function hasWisdom (line 65) | function hasWisdom(response) { FILE: dist/features/notepad-wisdom/index.js constant WISDOM_FILES (line 11) | const WISDOM_FILES = { function sanitizePlanName (line 20) | function sanitizePlanName(planName) { function getNotepadDir (line 27) | function getNotepadDir(planName, directory) { function getWisdomFilePath (line 34) | function getWisdomFilePath(planName, category, directory) { function initPlanNotepad (line 42) | function initPlanNotepad(planName, directory = process.cwd()) { function readWisdomCategory (line 68) | function readWisdomCategory(planName, category, directory) { function readPlanWisdom (line 96) | function readPlanWisdom(planName, directory = process.cwd()) { function addWisdomEntry (line 108) | function addWisdomEntry(planName, category, content, directory) { function addLearning (line 128) | function addLearning(planName, content, directory = process.cwd()) { function addDecision (line 134) | function addDecision(planName, content, directory = process.cwd()) { function addIssue (line 140) | function addIssue(planName, content, directory = process.cwd()) { function addProblem (line 146) | function addProblem(planName, content, directory = process.cwd()) { function getWisdomSummary (line 152) | function getWisdomSummary(planName, directory = process.cwd()) { FILE: dist/features/notepad-wisdom/types.d.ts type WisdomEntry (line 6) | interface WisdomEntry { type WisdomCategory (line 10) | type WisdomCategory = 'learnings' | 'decisions' | 'issues' | 'problems'; type PlanWisdom (line 11) | interface PlanWisdom { FILE: dist/features/rate-limit-wait/daemon.js constant DEFAULT_CONFIG (line 26) | const DEFAULT_CONFIG = { constant MAX_LOG_SIZE_BYTES (line 35) | const MAX_LOG_SIZE_BYTES = 1 * 1024 * 1024; constant SECURE_FILE_MODE (line 37) | const SECURE_FILE_MODE = 0o600; constant DAEMON_ENV_ALLOWLIST (line 42) | const DAEMON_ENV_ALLOWLIST = [ function createMinimalDaemonEnv (line 68) | function createMinimalDaemonEnv() { function getConfig (line 80) | function getConfig(config) { function ensureStateDir (line 86) | function ensureStateDir(config) { function writeSecureFile (line 95) | function writeSecureFile(filePath, content) { function rotateLogIfNeeded (line 111) | function rotateLogIfNeeded(logPath) { function readDaemonState (line 133) | function readDaemonState(config) { function writeDaemonState (line 172) | function writeDaemonState(state, config) { function readPidFile (line 179) | function readPidFile(config) { function writePidFile (line 194) | function writePidFile(pid, config) { function removePidFile (line 201) | function removePidFile(config) { function isDaemonRunning (line 209) | function isDaemonRunning(config) { function log (line 226) | function log(message, config) { function createInitialState (line 246) | function createInitialState() { function registerDaemonCleanup (line 264) | function registerDaemonCleanup(config) { function pollLoop (line 291) | async function pollLoop(config) { function startDaemon (line 378) | function startDaemon(config) { function runDaemonForeground (line 456) | async function runDaemonForeground(config) { function stopDaemon (line 486) | function stopDaemon(config) { function getDaemonStatus (line 529) | function getDaemonStatus(config) { function detectBlockedPanes (line 555) | async function detectBlockedPanes(config) { function formatDaemonState (line 585) | function formatDaemonState(state) { function pollLoopWithConfigFile (line 636) | async function pollLoopWithConfigFile(configPath) { FILE: dist/features/rate-limit-wait/rate-limit-monitor.js constant RATE_LIMIT_THRESHOLD (line 9) | const RATE_LIMIT_THRESHOLD = 100; function checkRateLimitStatus (line 15) | async function checkRateLimitStatus() { function formatTimeUntilReset (line 76) | function formatTimeUntilReset(ms) { function formatRateLimitStatus (line 95) | function formatRateLimitStatus(status) { function isRateLimitStatusDegraded (line 137) | function isRateLimitStatusDegraded(status) { function shouldMonitorBlockedPanes (line 144) | function shouldMonitorBlockedPanes(status) { FILE: dist/features/rate-limit-wait/tmux-detector.js function isValidPaneId (line 16) | function isValidPaneId(paneId) { function sanitizeForTmux (line 23) | function sanitizeForTmux(text) { constant RATE_LIMIT_PATTERNS (line 28) | const RATE_LIMIT_PATTERNS = [ constant CLAUDE_CODE_PATTERNS (line 43) | const CLAUDE_CODE_PATTERNS = [ constant WAITING_PATTERNS (line 52) | const WAITING_PATTERNS = [ function isTmuxAvailable (line 66) | function isTmuxAvailable() { function isInsideTmux (line 82) | function isInsideTmux() { function listTmuxPanes (line 88) | function listTmuxPanes() { function capturePaneContent (line 132) | function capturePaneContent(paneId, lines = 15) { function analyzePaneContent (line 159) | function analyzePaneContent(content) { function scanForBlockedPanes (line 213) | function scanForBlockedPanes(lines = 15) { function sendResumeSequence (line 239) | function sendResumeSequence(paneId) { function sendToPane (line 265) | function sendToPane(paneId, text, pressEnter = true) { function formatBlockedPanesSummary (line 296) | function formatBlockedPanesSummary(blockedPanes) { FILE: dist/features/rate-limit-wait/types.d.ts type RateLimitStatus (line 8) | interface RateLimitStatus { type TmuxPane (line 40) | interface TmuxPane { type PaneAnalysisResult (line 56) | interface PaneAnalysisResult { type BlockedPane (line 68) | interface BlockedPane extends TmuxPane { type DaemonState (line 78) | interface DaemonState { type DaemonConfig (line 102) | interface DaemonConfig { type ResumeResult (line 116) | interface ResumeResult { type DaemonCommand (line 126) | interface DaemonCommand { type DaemonResponse (line 130) | interface DaemonResponse { FILE: dist/features/session-history-search/index.js constant DEFAULT_LIMIT (line 7) | const DEFAULT_LIMIT = 10; constant DEFAULT_CONTEXT_CHARS (line 8) | const DEFAULT_CONTEXT_CHARS = 120; function getClaudeConfigDir (line 9) | function getClaudeConfigDir() { function compactWhitespace (line 12) | function compactWhitespace(text) { function normalizeForSearch (line 15) | function normalizeForSearch(value, caseSensitive) { function parseSinceSpec (line 19) | function parseSinceSpec(since) { function encodeProjectPath (line 41) | function encodeProjectPath(projectPath) { function getMainRepoRoot (line 44) | function getMainRepoRoot(projectRoot) { function getClaudeWorktreeParent (line 59) | function getClaudeWorktreeParent(projectRoot) { function listJsonlFiles (line 67) | function listJsonlFiles(rootDir) { function uniqueSortedTargets (line 95) | function uniqueSortedTargets(targets) { function buildCurrentProjectTargets (line 111) | function buildCurrentProjectTargets(projectRoot) { function buildAllProjectTargets (line 146) | function buildAllProjectTargets() { function isWithinProject (line 157) | function isWithinProject(projectPath, projectRoots) { function matchesProjectFilter (line 167) | function matchesProjectFilter(projectPath, projectFilter) { function stringLeaves (line 176) | function stringLeaves(value, maxLeaves = 24) { function extractTranscriptTexts (line 198) | function extractTranscriptTexts(entry) { function buildTranscriptEntry (line 230) | function buildTranscriptEntry(entry) { function buildJsonArtifactEntry (line 256) | function buildJsonArtifactEntry(entry, sourceType) { function buildSearchableEntry (line 285) | function buildSearchableEntry(entry, sourceType) { function findMatchIndex (line 294) | function findMatchIndex(text, query, caseSensitive) { function createExcerpt (line 309) | function createExcerpt(text, matchIndex, contextChars) { function buildScopeMode (line 321) | function buildScopeMode(project) { function collectMatchesFromFile (line 328) | async function collectMatchesFromFile(target, options) { function searchSessionHistory (line 422) | async function searchSessionHistory(rawOptions) { FILE: dist/features/session-history-search/types.d.ts type SessionHistorySearchOptions (line 1) | interface SessionHistorySearchOptions { type SessionHistoryMatch (line 11) | interface SessionHistoryMatch { type SessionHistorySearchReport (line 23) | interface SessionHistorySearchReport { FILE: dist/features/state-manager/__tests__/cache.test.js function writeStateToDisk (line 39) | function writeStateToDisk(name, data) { function writeStateFile (line 130) | function writeStateFile(name, data) { function readStateFile (line 136) | function readStateFile(name) { function writeStateToDisk (line 191) | function writeStateToDisk(name, data) { function writeStateToDisk (line 271) | function writeStateToDisk(name, data) { FILE: dist/features/state-manager/index.d.ts class StateManager (line 110) | class StateManager { FILE: dist/features/state-manager/index.js function getLocalStateDir (line 22) | function getLocalStateDir() { constant GLOBAL_STATE_DIR (line 29) | const GLOBAL_STATE_DIR = getGlobalOmcStateRoot(); constant MAX_STATE_AGE_MS (line 31) | const MAX_STATE_AGE_MS = 4 * 60 * 60 * 1000; constant STATE_CACHE_TTL_MS (line 33) | const STATE_CACHE_TTL_MS = 5_000; constant MAX_CACHE_SIZE (line 34) | const MAX_CACHE_SIZE = 200; function clearStateCache (line 40) | function clearStateCache() { constant LEGACY_LOCATIONS (line 44) | const LEGACY_LOCATIONS = { function getStatePath (line 61) | function getStatePath(name, location) { function getLegacyPaths (line 68) | function getLegacyPaths(name, location = StateLocation.LOCAL) { function ensureStateDir (line 78) | function ensureStateDir(location) { function readState (line 90) | function readState(name, location = StateLocation.LOCAL, options) { function writeState (line 185) | function writeState(name, data, location = StateLocation.LOCAL, options) { function clearState (line 215) | function clearState(name, location) { function migrateState (line 281) | function migrateState(name, location = StateLocation.LOCAL) { function listStates (line 331) | function listStates(options) { function cleanupOrphanedStates (line 392) | function cleanupOrphanedStates(options) { function isStateStale (line 446) | function isStateStale(meta, now, maxAgeMs) { function cleanupStaleStates (line 479) | function cleanupStaleStates(directory, maxAgeMs = MAX_STATE_AGE_MS) { constant LOCK_STALE_MS (line 546) | const LOCK_STALE_MS = 30_000; constant LOCK_TIMEOUT_MS (line 547) | const LOCK_TIMEOUT_MS = 5_000; constant LOCK_POLL_MS (line 548) | const LOCK_POLL_MS = 10; function withFileLock (line 556) | function withFileLock(filePath, fn) { class StateManager (line 621) | class StateManager { method constructor (line 624) | constructor(name, location = StateLocation.LOCAL) { method read (line 628) | read(options) { method write (line 631) | write(data, options) { method clear (line 634) | clear() { method migrate (line 637) | migrate() { method exists (line 640) | exists() { method get (line 643) | get() { method set (line 646) | set(data) { method update (line 649) | update(updater) { function createStateManager (line 664) | function createStateManager(name, location = StateLocation.LOCAL) { FILE: dist/features/state-manager/types.d.ts type StateLocation (line 10) | enum StateLocation { type StateConfig (line 19) | interface StateConfig { type StateReadResult (line 32) | interface StateReadResult { type StateWriteResult (line 45) | interface StateWriteResult { type StateClearResult (line 56) | interface StateClearResult { type StateMigrationResult (line 70) | interface StateMigrationResult { type StateFileInfo (line 83) | interface StateFileInfo { type ListStatesOptions (line 100) | interface ListStatesOptions { type CleanupOptions (line 111) | interface CleanupOptions { type CleanupResult (line 122) | interface CleanupResult { type StateData (line 138) | type StateData = Record; FILE: dist/features/state-manager/types.js function isStateLocation (line 20) | function isStateLocation(value) { constant DEFAULT_STATE_CONFIG (line 26) | const DEFAULT_STATE_CONFIG = { FILE: dist/features/task-decomposer/index.js function decomposeTask (line 10) | async function decomposeTask(task, projectContext = { rootDir: process.c... function analyzeTask (line 38) | function analyzeTask(task, context) { function identifyComponents (line 70) | function identifyComponents(analysis, context) { function generateSubtasks (line 94) | function generateSubtasks(components, analysis, context) { function assignFileOwnership (line 119) | function assignFileOwnership(subtasks, sharedFiles, context) { function identifySharedFiles (line 153) | function identifySharedFiles(components, context) { function detectTaskType (line 194) | function detectTaskType(task) { function estimateComplexity (line 243) | function estimateComplexity(task, type) { function extractAreas (line 283) | function extractAreas(task, _type) { function extractTechnologies (line 301) | function extractTechnologies(task, context) { function extractFilePatterns (line 333) | function extractFilePatterns(task, _context) { function analyzeDependencies (line 350) | function analyzeDependencies(areas, _type) { function selectStrategy (line 369) | function selectStrategy(analysis) { function generatePromptForComponent (line 530) | function generatePromptForComponent(component, analysis, _context) { function selectAgentType (line 548) | function selectAgentType(component) { function selectModelTier (line 563) | function selectModelTier(component) { function generateAcceptanceCriteria (line 570) | function generateAcceptanceCriteria(component, _analysis) { function generateVerificationSteps (line 589) | function generateVerificationSteps(component, _analysis) { function inferFilePatterns (line 602) | function inferFilePatterns(component, _context) { function inferSpecificFiles (line 630) | function inferSpecificFiles(_component, _context) { function calculateExecutionOrder (line 635) | function calculateExecutionOrder(subtasks) { function validateDecomposition (line 663) | function validateDecomposition(subtasks, sharedFiles) { function explainStrategy (line 692) | function explainStrategy(analysis, components) { FILE: dist/features/task-decomposer/types.d.ts type TaskType (line 7) | type TaskType = 'fullstack-app' | 'refactoring' | 'bug-fix' | 'feature' ... type ComponentRole (line 8) | type ComponentRole = 'frontend' | 'backend' | 'database' | 'api' | 'ui' ... type TaskAnalysis (line 9) | interface TaskAnalysis { type Component (line 32) | interface Component { type FileOwnership (line 50) | interface FileOwnership { type Subtask (line 60) | interface Subtask { type SharedFile (line 82) | interface SharedFile { type DecompositionResult (line 92) | interface DecompositionResult { type ProjectContext (line 108) | interface ProjectContext { type DecompositionStrategy (line 122) | interface DecompositionStrategy { FILE: dist/features/verification/index.js constant STANDARD_CHECKS (line 13) | const STANDARD_CHECKS = { function createProtocol (line 77) | function createProtocol(name, description, checks, strictMode = true) { function createChecklist (line 88) | function createChecklist(protocol) { function runSingleCheck (line 99) | async function runSingleCheck(check, options = {}) { function runVerification (line 141) | async function runVerification(checklist, options = {}) { function checkEvidence (line 204) | function checkEvidence(check, evidence) { function generateSummary (line 249) | function generateSummary(checklist) { function formatReport (line 285) | function formatReport(checklist, options = {}) { function validateChecklist (line 393) | async function validateChecklist(checklist) { FILE: dist/features/verification/types.d.ts type VerificationEvidenceType (line 9) | type VerificationEvidenceType = 'build_success' | 'test_pass' | 'lint_cl... type VerificationEvidence (line 13) | interface VerificationEvidence { type VerificationCheck (line 32) | interface VerificationCheck { type VerificationProtocol (line 53) | interface VerificationProtocol { type VerificationChecklist (line 68) | interface VerificationChecklist { type VerificationSummary (line 85) | interface VerificationSummary { type ValidationResult (line 104) | interface ValidationResult { type VerificationOptions (line 117) | interface VerificationOptions { type ReportOptions (line 132) | interface ReportOptions { FILE: dist/hooks/__tests__/bridge-security.test.js function makePermissionInput (line 225) | function makePermissionInput(toolName, command) { FILE: dist/hooks/__tests__/codebase-map.test.js function createTempDir (line 15) | function createTempDir() { function writeFile (line 18) | function writeFile(dir, relPath, content = '') { FILE: dist/hooks/__tests__/compaction-concurrency.test.js function createTempDir (line 18) | function createTempDir() { function makePreCompactInput (line 23) | function makePreCompactInput(cwd, trigger = 'auto') { FILE: dist/hooks/agent-usage-reminder/constants.js constant OMC_STORAGE_DIR (line 11) | const OMC_STORAGE_DIR = join(homedir(), '.omc'); constant AGENT_USAGE_REMINDER_STORAGE (line 12) | const AGENT_USAGE_REMINDER_STORAGE = join(OMC_STORAGE_DIR, 'agent-usage-... constant TARGET_TOOLS (line 14) | const TARGET_TOOLS = new Set([ constant AGENT_TOOLS (line 26) | const AGENT_TOOLS = new Set([ constant REMINDER_MESSAGE (line 32) | const REMINDER_MESSAGE = ` FILE: dist/hooks/agent-usage-reminder/index.d.ts type ToolExecuteInput (line 16) | interface ToolExecuteInput { type ToolExecuteOutput (line 21) | interface ToolExecuteOutput { type EventInput (line 26) | interface EventInput { FILE: dist/hooks/agent-usage-reminder/index.js function createAgentUsageReminderHook (line 18) | function createAgentUsageReminderHook() { FILE: dist/hooks/agent-usage-reminder/storage.js function getStoragePath (line 11) | function getStoragePath(sessionID) { function loadAgentUsageState (line 14) | function loadAgentUsageState(sessionID) { function saveAgentUsageState (line 26) | function saveAgentUsageState(state) { function clearAgentUsageState (line 33) | function clearAgentUsageState(sessionID) { FILE: dist/hooks/agent-usage-reminder/types.d.ts type AgentUsageState (line 8) | interface AgentUsageState { FILE: dist/hooks/agents-overlay.d.ts type AgentsOverlayResult (line 11) | interface AgentsOverlayResult { FILE: dist/hooks/agents-overlay.js function buildAgentsOverlay (line 18) | function buildAgentsOverlay(directory, options) { FILE: dist/hooks/auto-slash-command/constants.js constant HOOK_NAME (line 8) | const HOOK_NAME = 'auto-slash-command'; constant AUTO_SLASH_COMMAND_TAG_OPEN (line 10) | const AUTO_SLASH_COMMAND_TAG_OPEN = ''; constant AUTO_SLASH_COMMAND_TAG_CLOSE (line 11) | const AUTO_SLASH_COMMAND_TAG_CLOSE = ''; constant SLASH_COMMAND_PATTERN (line 13) | const SLASH_COMMAND_PATTERN = /^\/([a-zA-Z][\w-]*)\s*(.*)/; constant EXCLUDED_COMMANDS (line 18) | const EXCLUDED_COMMANDS = new Set([ FILE: dist/hooks/auto-slash-command/detector.js constant CODE_BLOCK_PATTERN (line 10) | const CODE_BLOCK_PATTERN = /```[\s\S]*?```/g; function removeCodeBlocks (line 14) | function removeCodeBlocks(text) { function parseSlashCommand (line 20) | function parseSlashCommand(text) { function isExcludedCommand (line 39) | function isExcludedCommand(command) { function detectSlashCommand (line 46) | function detectSlashCommand(text) { function extractPromptText (line 67) | function extractPromptText(parts) { FILE: dist/hooks/auto-slash-command/executor.js constant CLAUDE_CONFIG_DIR (line 19) | const CLAUDE_CONFIG_DIR = getClaudeConfigDir(); constant CC_NATIVE_COMMANDS (line 25) | const CC_NATIVE_COMMANDS = new Set([ function toSafeSkillName (line 37) | function toSafeSkillName(name) { function getFrontmatterString (line 43) | function getFrontmatterString(data, key) { function discoverCommandsFromDir (line 53) | function discoverCommandsFromDir(commandsDir, scope) { function discoverSkillsFromDir (line 95) | function discoverSkillsFromDir(skillsDir) { function discoverAllCommands (line 160) | function discoverAllCommands() { function findCommand (line 193) | function findCommand(commandName) { function resolveArguments (line 200) | function resolveArguments(content, args) { function hasInvocationFlag (line 203) | function hasInvocationFlag(args, flag) { function stripInvocationFlag (line 207) | function stripInvocationFlag(args, flag) { function renderDeepInterviewAutoresearchGuidance (line 214) | function renderDeepInterviewAutoresearchGuidance(args) { function formatCommandTemplate (line 235) | function formatCommandTemplate(cmd, args) { function executeSlashCommand (line 289) | function executeSlashCommand(parsed) { function listAvailableCommands (line 314) | function listAvailableCommands() { function listAvailableCommandsWithOptions (line 317) | function listAvailableCommandsWithOptions(options) { FILE: dist/hooks/auto-slash-command/index.js function createAutoSlashCommandHook (line 25) | function createAutoSlashCommandHook() { function processSlashCommand (line 101) | function processSlashCommand(prompt) { FILE: dist/hooks/auto-slash-command/live-data.js constant TIMEOUT_MS (line 22) | const TIMEOUT_MS = 10_000; constant MAX_OUTPUT_BYTES (line 23) | const MAX_OUTPUT_BYTES = 50 * 1024; constant MAX_CACHE_SIZE (line 24) | const MAX_CACHE_SIZE = 200; constant MAX_ONCE_COMMANDS (line 25) | const MAX_ONCE_COMMANDS = 500; constant LIVE_DATA_LINE_PATTERN (line 27) | const LIVE_DATA_LINE_PATTERN = /^\s*!(.+)/; constant CODE_BLOCK_FENCE_PATTERN (line 28) | const CODE_BLOCK_FENCE_PATTERN = /^\s*(`{3,}|~{3,})/; constant CACHE_DIRECTIVE_PATTERN (line 29) | const CACHE_DIRECTIVE_PATTERN = /^cache\s+(\d+)s?\s+(.+)$/; constant IF_MODIFIED_DIRECTIVE_PATTERN (line 30) | const IF_MODIFIED_DIRECTIVE_PATTERN = /^if-modified\s+(\S+)\s+then\s+(.+... constant IF_BRANCH_DIRECTIVE_PATTERN (line 31) | const IF_BRANCH_DIRECTIVE_PATTERN = /^if-branch\s+(\S+)\s+then\s+(.+)$/; constant ONLY_ONCE_DIRECTIVE_PATTERN (line 32) | const ONLY_ONCE_DIRECTIVE_PATTERN = /^only-once\s+(.+)$/; constant FORMAT_DIRECTIVE_PATTERN (line 33) | const FORMAT_DIRECTIVE_PATTERN = /^(json|table|diff)\s+(.+)$/; constant REGEX_ESCAPE_PATTERN (line 34) | const REGEX_ESCAPE_PATTERN = /[.+^${}()|[\]\\]/g; constant DIFF_ADDED_LINES_PATTERN (line 35) | const DIFF_ADDED_LINES_PATTERN = /^\+[^+]/gm; constant DIFF_DELETED_LINES_PATTERN (line 36) | const DIFF_DELETED_LINES_PATTERN = /^-[^-]/gm; constant DIFF_FILE_HEADER_PATTERN (line 37) | const DIFF_FILE_HEADER_PATTERN = /^(?:diff --git|---|\+\+\+) [ab]\/(.+)/gm; constant DIFF_HEADER_PREFIX_PATTERN (line 38) | const DIFF_HEADER_PREFIX_PATTERN = /^(?:diff --git|---|\+\+\+) [ab]\//; constant SCRIPT_BEGIN_PATTERN (line 39) | const SCRIPT_BEGIN_PATTERN = /^\s*!begin-script\s+(\S+)\s*$/; constant SCRIPT_END_PATTERN (line 40) | const SCRIPT_END_PATTERN = /^\s*!end-script\s*$/; constant WHITESPACE_SPLIT_PATTERN (line 41) | const WHITESPACE_SPLIT_PATTERN = /\s/; constant DEFAULT_TTL (line 46) | const DEFAULT_TTL = { function getDefaultTtl (line 54) | function getDefaultTtl(command) { function getCached (line 61) | function getCached(command) { function setCache (line 71) | function setCache(command, output, error, ttl) { function markCommandExecuted (line 81) | function markCommandExecuted(command) { function clearCache (line 93) | function clearCache() { function loadSecurityPolicy (line 100) | function loadSecurityPolicy() { function resetSecurityPolicy (line 123) | function resetSecurityPolicy() { function checkSecurity (line 127) | function checkSecurity(command) { function isLiveDataLine (line 197) | function isLiveDataLine(line) { function getCodeBlockRanges (line 200) | function getCodeBlockRanges(lines) { function isInsideCodeBlock (line 220) | function isInsideCodeBlock(lineIndex, ranges) { function parseDirective (line 223) | function parseDirective(raw) { function globToRegex (line 264) | function globToRegex(glob) { function checkIfModified (line 273) | function checkIfModified(pattern) { function checkIfBranch (line 287) | function checkIfBranch(pattern) { function executeCommand (line 301) | function executeCommand(command) { function escapeHtml (line 330) | function escapeHtml(s) { function formatOutput (line 339) | function formatOutput(command, output, error, format) { function extractScriptBlocks (line 352) | function extractScriptBlocks(lines, codeBlockRanges) { function resolveLiveData (line 384) | function resolveLiveData(content) { FILE: dist/hooks/auto-slash-command/types.d.ts type AutoSlashCommandHookInput (line 12) | interface AutoSlashCommandHookInput { type AutoSlashCommandHookOutput (line 20) | interface AutoSlashCommandHookOutput { type ParsedSlashCommand (line 30) | interface ParsedSlashCommand { type AutoSlashCommandResult (line 41) | interface AutoSlashCommandResult { type CommandScope (line 49) | type CommandScope = 'user' | 'project' | 'skill'; type CommandMetadata (line 53) | interface CommandMetadata { type CommandInfo (line 68) | interface CommandInfo { type ExecuteResult (line 78) | interface ExecuteResult { FILE: dist/hooks/autopilot/adapters/execution-adapter.js constant EXECUTION_COMPLETION_SIGNAL (line 10) | const EXECUTION_COMPLETION_SIGNAL = "PIPELINE_EXECUTION_COMPLETE"; method shouldSkip (line 15) | shouldSkip(_config) { method getPrompt (line 19) | getPrompt(context) { FILE: dist/hooks/autopilot/adapters/index.js constant ALL_ADAPTERS (line 20) | const ALL_ADAPTERS = [ function getAdapterById (line 29) | function getAdapterById(id) { FILE: dist/hooks/autopilot/adapters/qa-adapter.js constant QA_COMPLETION_SIGNAL (line 10) | const QA_COMPLETION_SIGNAL = 'PIPELINE_QA_COMPLETE'; method shouldSkip (line 15) | shouldSkip(config) { method getPrompt (line 18) | getPrompt(_context) { FILE: dist/hooks/autopilot/adapters/ralph-adapter.js constant RALPH_COMPLETION_SIGNAL (line 12) | const RALPH_COMPLETION_SIGNAL = 'PIPELINE_RALPH_COMPLETE'; method shouldSkip (line 17) | shouldSkip(config) { method getPrompt (line 20) | getPrompt(context) { FILE: dist/hooks/autopilot/adapters/ralplan-adapter.js constant RALPLAN_COMPLETION_SIGNAL (line 13) | const RALPLAN_COMPLETION_SIGNAL = "PIPELINE_RALPLAN_COMPLETE"; method shouldSkip (line 18) | shouldSkip(config) { method getPrompt (line 21) | getPrompt(context) { FILE: dist/hooks/autopilot/cancel.d.ts type CancelResult (line 8) | interface CancelResult { FILE: dist/hooks/autopilot/cancel.js function cancelAutopilot (line 14) | function cancelAutopilot(directory, sessionId) { function clearAutopilot (line 80) | function clearAutopilot(directory, sessionId) { constant STALE_STATE_MAX_AGE_MS (line 127) | const STALE_STATE_MAX_AGE_MS = 60 * 60 * 1000; function canResumeAutopilot (line 137) | function canResumeAutopilot(directory, sessionId) { function resumeAutopilot (line 168) | function resumeAutopilot(directory, sessionId) { function formatCancelMessage (line 194) | function formatCancelMessage(result) { FILE: dist/hooks/autopilot/enforcement.d.ts type AutopilotEnforcementResult (line 11) | interface AutopilotEnforcementResult { FILE: dist/hooks/autopilot/enforcement.js constant SIGNAL_PATTERNS (line 23) | const SIGNAL_PATTERNS = { function detectSignal (line 36) | function detectSignal(sessionId, signal) { function getExpectedSignalForPhase (line 64) | function getExpectedSignalForPhase(phase) { function detectAnySignal (line 83) | function detectAnySignal(sessionId) { function isAwaitingConfirmation (line 94) | function isAwaitingConfirmation(state) { function getNextPhase (line 102) | function getNextPhase(current) { function checkAutopilot (line 122) | async function checkAutopilot(sessionId, directory) { function generateContinuationPrompt (line 214) | function generateContinuationPrompt(state, directory, sessionId) { function checkPipelineAutopilot (line 267) | function checkPipelineAutopilot(state, sessionId, directory) { function detectPipelineSignal (line 393) | function detectPipelineSignal(sessionId, signal) { FILE: dist/hooks/autopilot/pipeline-types.d.ts type PipelineStageId (line 14) | type PipelineStageId = "ralplan" | "execution" | "ralph" | "qa"; type PipelineTerminalState (line 16) | type PipelineTerminalState = "complete" | "failed" | "cancelled"; type PipelinePhase (line 18) | type PipelinePhase = PipelineStageId | PipelineTerminalState; type StageStatus (line 20) | type StageStatus = "pending" | "active" | "complete" | "failed" | "skipp... type ExecutionBackend (line 24) | type ExecutionBackend = "team" | "solo"; type VerificationConfig (line 26) | interface VerificationConfig { type PipelineConfig (line 48) | interface PipelineConfig { type PipelineContext (line 63) | interface PipelineContext { type PipelineStageAdapter (line 84) | interface PipelineStageAdapter { type PipelineStageState (line 101) | interface PipelineStageState { type PipelineTracking (line 119) | interface PipelineTracking { FILE: dist/hooks/autopilot/pipeline-types.js constant STAGE_ORDER (line 11) | const STAGE_ORDER = [ constant DEFAULT_PIPELINE_CONFIG (line 18) | const DEFAULT_PIPELINE_CONFIG = { constant DEPRECATED_MODE_ALIASES (line 34) | const DEPRECATED_MODE_ALIASES = { FILE: dist/hooks/autopilot/pipeline.js function resolvePipelineConfig (line 26) | function resolvePipelineConfig(userConfig, deprecatedMode) { function getDeprecationWarning (line 49) | function getDeprecationWarning(mode) { function buildPipelineTracking (line 62) | function buildPipelineTracking(config) { function getActiveAdapters (line 86) | function getActiveAdapters(config) { function readPipelineTracking (line 93) | function readPipelineTracking(state) { function writePipelineTracking (line 100) | function writePipelineTracking(directory, tracking, sessionId) { function initPipeline (line 125) | function initPipeline(directory, idea, sessionId, autopilotConfig, pipel... function getCurrentStageAdapter (line 154) | function getCurrentStageAdapter(tracking) { function getNextStageAdapter (line 170) | function getNextStageAdapter(tracking) { function advanceStage (line 186) | function advanceStage(directory, sessionId) { function failCurrentStage (line 236) | function failCurrentStage(directory, error, sessionId) { function incrementStageIteration (line 253) | function incrementStageIteration(directory, sessionId) { function getCurrentCompletionSignal (line 272) | function getCurrentCompletionSignal(tracking) { function getSignalToStageMap (line 282) | function getSignalToStageMap() { function generatePipelinePrompt (line 296) | function generatePipelinePrompt(directory, sessionId) { function generateTransitionPrompt (line 312) | function generateTransitionPrompt(fromStage, toStage) { function getPipelineStatus (line 335) | function getPipelineStatus(tracking) { function formatPipelineHUD (line 373) | function formatPipelineHUD(tracking) { function buildContext (line 405) | function buildContext(state, tracking) { function hasPipelineTracking (line 419) | function hasPipelineTracking(state) { FILE: dist/hooks/autopilot/prompts.js function resolvePromptPlanPath (line 2) | function resolvePromptPlanPath(planPathOrConfig) { function resolvePromptOpenQuestionsPath (line 7) | function resolvePromptOpenQuestionsPath(openQuestionsPathOrConfig) { function getExpansionPrompt (line 16) | function getExpansionPrompt(idea, openQuestionsPathOrConfig) { function getDirectPlanningPrompt (line 90) | function getDirectPlanningPrompt(specPath, planPathOrConfig) { function getExecutionPrompt (line 172) | function getExecutionPrompt(planPath) { function getQAPrompt (line 217) | function getQAPrompt() { function getValidationPrompt (line 279) | function getValidationPrompt(specPath) { function escapeForPrompt (line 359) | function escapeForPrompt(text) { function getPhasePrompt (line 369) | function getPhasePrompt(phase, context) { FILE: dist/hooks/autopilot/state.d.ts type TransitionResult (line 75) | interface TransitionResult { FILE: dist/hooks/autopilot/state.js constant SPEC_DIR (line 19) | const SPEC_DIR = "autopilot"; function ensureAutopilotDir (line 26) | function ensureAutopilotDir(directory) { function readAutopilotState (line 34) | function readAutopilotState(directory, sessionId) { function writeAutopilotState (line 48) | function writeAutopilotState(directory, state, sessionId) { function clearAutopilotState (line 54) | function clearAutopilotState(directory, sessionId) { function getAutopilotStateAge (line 61) | function getAutopilotStateAge(directory, sessionId) { function isAutopilotActive (line 79) | function isAutopilotActive(directory, sessionId) { function initAutopilot (line 86) | function initAutopilot(directory, idea, sessionId, config) { function transitionPhase (line 148) | function transitionPhase(directory, newPhase, sessionId) { function incrementAgentCount (line 174) | function incrementAgentCount(directory, count = 1, sessionId) { function updateExpansion (line 184) | function updateExpansion(directory, updates, sessionId) { function updatePlanning (line 194) | function updatePlanning(directory, updates, sessionId) { function updateExecution (line 204) | function updateExecution(directory, updates, sessionId) { function updateQA (line 214) | function updateQA(directory, updates, sessionId) { function updateValidation (line 224) | function updateValidation(directory, updates, sessionId) { function getSpecPath (line 234) | function getSpecPath(directory) { function getPlanPath (line 240) | function getPlanPath(directory) { function transitionRalphToUltraQA (line 252) | function transitionRalphToUltraQA(directory, sessionId) { function transitionUltraQAToValidation (line 319) | function transitionUltraQAToValidation(directory, sessionId) { function transitionToComplete (line 357) | function transitionToComplete(directory, sessionId) { function transitionToFailed (line 370) | function transitionToFailed(directory, error, sessionId) { function getTransitionPrompt (line 383) | function getTransitionPrompt(fromPhase, toPhase) { FILE: dist/hooks/autopilot/transition-helper.d.ts type TransitionStep (line 7) | interface TransitionStep { type TransitionResult (line 12) | interface TransitionResult { FILE: dist/hooks/autopilot/transition-helper.js function executeTransition (line 11) | async function executeTransition(steps) { FILE: dist/hooks/autopilot/types.d.ts type AutopilotPhase (line 16) | type AutopilotPhase = 'expansion' | 'planning' | 'execution' | 'qa' | 'v... type QAStatus (line 20) | type QAStatus = 'pending' | 'passing' | 'failing'; type ValidationVerdictType (line 24) | type ValidationVerdictType = 'functional' | 'security' | 'quality'; type ValidationVerdict (line 28) | type ValidationVerdict = 'APPROVED' | 'REJECTED' | 'NEEDS_FIX'; type ValidationResult (line 32) | interface ValidationResult { type AutopilotExpansion (line 43) | interface AutopilotExpansion { type AutopilotPlanning (line 58) | interface AutopilotPlanning { type AutopilotExecution (line 69) | interface AutopilotExecution { type AutopilotQA (line 88) | interface AutopilotQA { type AutopilotValidation (line 103) | interface AutopilotValidation { type AutopilotState (line 116) | interface AutopilotState { type AutopilotConfig (line 147) | interface AutopilotConfig { type AutopilotResult (line 197) | interface AutopilotResult { type AutopilotSummary (line 210) | interface AutopilotSummary { type AutopilotSignal (line 229) | type AutopilotSignal = 'EXPANSION_COMPLETE' | 'PLANNING_COMPLETE' | 'EXE... FILE: dist/hooks/autopilot/types.js constant DEFAULT_CONFIG (line 16) | const DEFAULT_CONFIG = { FILE: dist/hooks/autopilot/validation.d.ts type ValidationCoordinatorResult (line 11) | interface ValidationCoordinatorResult { FILE: dist/hooks/autopilot/validation.js constant REQUIRED_ARCHITECTS (line 10) | const REQUIRED_ARCHITECTS = 3; function recordValidationVerdict (line 14) | function recordValidationVerdict(directory, type, verdict, issues, sessi... function getValidationStatus (line 42) | function getValidationStatus(directory, sessionId) { function startValidationRound (line 64) | function startValidationRound(directory, sessionId) { function shouldRetryValidation (line 78) | function shouldRetryValidation(directory, maxRounds = 3, sessionId) { function getIssuesToFix (line 90) | function getIssuesToFix(directory, sessionId) { function getValidationSpawnPrompt (line 106) | function getValidationSpawnPrompt(specPath) { function formatValidationResults (line 170) | function formatValidationResults(state, _sessionId) { function generateSummary (line 200) | function generateSummary(directory, sessionId) { function formatDuration (line 246) | function formatDuration(ms) { function formatSummary (line 263) | function formatSummary(summary) { function formatCompactSummary (line 295) | function formatCompactSummary(state) { function formatFailureSummary (line 311) | function formatFailureSummary(state, error) { function formatFileList (line 336) | function formatFileList(files, title, maxFiles = 10) { FILE: dist/hooks/background-notification/index.js constant HOOK_NAME (line 12) | const HOOK_NAME = 'background-notification'; function formatTaskNotification (line 16) | function formatTaskNotification(task) { function formatDuration (line 41) | function formatDuration(start, end) { function defaultFormatNotification (line 57) | function defaultFormatNotification(tasks) { function checkBackgroundNotifications (line 72) | function checkBackgroundNotifications(sessionId, manager, config) { function processBackgroundNotification (line 93) | function processBackgroundNotification(input, config) { function handleBackgroundEvent (line 120) | function handleBackgroundEvent(event, manager) { function createBackgroundNotificationHook (line 135) | function createBackgroundNotificationHook(manager, config) { function processBackgroundNotificationHook (line 175) | async function processBackgroundNotificationHook(input, config) { FILE: dist/hooks/background-notification/types.d.ts type BackgroundNotificationHookConfig (line 11) | interface BackgroundNotificationHookConfig { type BackgroundNotificationHookInput (line 31) | interface BackgroundNotificationHookInput { type BackgroundNotificationHookOutput (line 45) | interface BackgroundNotificationHookOutput { type NotificationCheckResult (line 56) | interface NotificationCheckResult { FILE: dist/hooks/beads-context/constants.js constant BEADS_INSTRUCTIONS (line 1) | const BEADS_INSTRUCTIONS = `## Task Management: Beads constant BEADS_RUST_INSTRUCTIONS (line 18) | const BEADS_RUST_INSTRUCTIONS = `## Task Management: Beads-Rust FILE: dist/hooks/beads-context/index.js constant INSTRUCTIONS_MAP (line 8) | const INSTRUCTIONS_MAP = { function getBeadsInstructions (line 15) | function getBeadsInstructions(tool) { function getBeadsContextConfig (line 25) | function getBeadsContextConfig() { function registerBeadsContext (line 37) | function registerBeadsContext(sessionId) { function clearBeadsContext (line 59) | function clearBeadsContext(sessionId) { FILE: dist/hooks/beads-context/types.d.ts type TaskTool (line 1) | type TaskTool = 'builtin' | 'beads' | 'beads-rust'; type BeadsContextConfig (line 2) | interface BeadsContextConfig { FILE: dist/hooks/bridge-normalize.js constant SENSITIVE_HOOKS (line 44) | const SENSITIVE_HOOKS = new Set([ constant KNOWN_FIELDS (line 51) | const KNOWN_FIELDS = new Set([ constant CAMEL_CASE_MARKERS (line 68) | const CAMEL_CASE_MARKERS = new Set(['sessionId', 'toolName', 'directory']); function hasSnakeCaseKeys (line 70) | function hasSnakeCaseKeys(obj) { function isAlreadyCamelCase (line 78) | function isAlreadyCamelCase(obj) { function normalizeHookInput (line 103) | function normalizeHookInput(raw, hookType) { function filterPassthrough (line 159) | function filterPassthrough(input, hookType) { FILE: dist/hooks/bridge.d.ts type HookInput (line 23) | interface HookInput { type HookOutput (line 49) | interface HookOutput { type HookType (line 62) | type HookType = "keyword-detector" | "stop-continuation" | "ralph" | "pe... FILE: dist/hooks/bridge.js constant PKILL_F_FLAG_PATTERN (line 39) | const PKILL_F_FLAG_PATTERN = /\bpkill\b.*\s-f\b/; constant PKILL_FULL_FLAG_PATTERN (line 40) | const PKILL_FULL_FLAG_PATTERN = /\bpkill\b.*--full\b/; constant WORKER_BLOCKED_TMUX_PATTERN (line 41) | const WORKER_BLOCKED_TMUX_PATTERN = /\btmux\s+(split-window|new-session|... constant WORKER_BLOCKED_TEAM_CLI_PATTERN (line 42) | const WORKER_BLOCKED_TEAM_CLI_PATTERN = /\bom[cx]\s+team\b(?!\s+api\b)/i; constant WORKER_BLOCKED_SKILL_PATTERN (line 43) | const WORKER_BLOCKED_SKILL_PATTERN = /\$(team|ultrawork|autopilot|ralph)... constant TEAM_TERMINAL_VALUES (line 44) | const TEAM_TERMINAL_VALUES = new Set([ constant TEAM_ACTIVE_STAGES (line 55) | const TEAM_ACTIVE_STAGES = new Set([ constant TEAM_STOP_BLOCKER_MAX (line 62) | const TEAM_STOP_BLOCKER_MAX = 20; constant TEAM_STOP_BLOCKER_TTL_MS (line 63) | const TEAM_STOP_BLOCKER_TTL_MS = 5 * 60 * 1000; constant TEAM_STAGE_ALIASES (line 64) | const TEAM_STAGE_ALIASES = { constant BACKGROUND_AGENT_ID_PATTERN (line 74) | const BACKGROUND_AGENT_ID_PATTERN = /agentId:\s*([a-zA-Z0-9_-]+)/; constant TASK_OUTPUT_ID_PATTERN (line 75) | const TASK_OUTPUT_ID_PATTERN = /([^<]+)<\/task_id>/i; constant TASK_OUTPUT_STATUS_PATTERN (line 76) | const TASK_OUTPUT_STATUS_PATTERN = /([^<]+)<\/status>/i; constant SAFE_SESSION_ID_PATTERN (line 77) | const SAFE_SESSION_ID_PATTERN = /^[a-zA-Z0-9][a-zA-Z0-9_-]{0,255}$/; constant MODE_CONFIRMATION_SKILL_MAP (line 78) | const MODE_CONFIRMATION_SKILL_MAP = { function getExtraField (line 84) | function getExtraField(input, key) { function getHookToolUseId (line 87) | function getHookToolUseId(input) { function extractAsyncAgentId (line 91) | function extractAsyncAgentId(toolOutput) { function parseTaskOutputLifecycle (line 97) | function parseTaskOutputLifecycle(toolOutput) { function taskOutputDidFail (line 108) | function taskOutputDidFail(status) { function taskLaunchDidFail (line 111) | function taskLaunchDidFail(toolOutput) { function getModeStatePaths (line 118) | function getModeStatePaths(directory, modeName, sessionId) { function updateModeAwaitingConfirmation (line 128) | function updateModeAwaitingConfirmation(directory, modeName, sessionId, ... function markModeAwaitingConfirmation (line 156) | function markModeAwaitingConfirmation(directory, sessionId, ...modeNames) { function confirmSkillModeStates (line 161) | function confirmSkillModeStates(directory, skillName, sessionId) { function getSkillInvocationArgs (line 166) | function getSkillInvocationArgs(toolInput) { function isConsensusPlanningSkillInvocation (line 183) | function isConsensusPlanningSkillInvocation(skillName, toolInput) { function activateRalplanState (line 195) | function activateRalplanState(directory, sessionId) { function readTeamStagedState (line 203) | function readTeamStagedState(directory, sessionId) { function getTeamStage (line 232) | function getTeamStage(state) { function getTeamStageForEnforcement (line 240) | function getTeamStageForEnforcement(state) { function readTeamStopBreakerCount (line 259) | function readTeamStopBreakerCount(directory, sessionId) { function writeTeamStopBreakerCount (line 283) | function writeTeamStopBreakerCount(directory, sessionId, count) { function isTeamStateTerminal (line 308) | function isTeamStateTerminal(state) { function getTeamStagePrompt (line 319) | function getTeamStagePrompt(stage) { function teamWorkerIdentityFromEnv (line 335) | function teamWorkerIdentityFromEnv(env = process.env) { function workerBashBlockReason (line 342) | function workerBashBlockReason(command) { function requiredKeysForHook (line 360) | function requiredKeysForHook(hookType) { function validateHookInput (line 380) | function validateHookInput(input, requiredFields, hookType) { function isDelegationToolName (line 391) | function isDelegationToolName(toolName) { function getPromptText (line 398) | function getPromptText(input) { function processKeywordDetector (line 418) | async function processKeywordDetector(input) { function processStopContinuation (line 615) | async function processStopContinuation(_input) { function processPersistentMode (line 629) | async function processPersistentMode(input) { function processSessionStart (line 748) | async function processSessionStart(input) { function dispatchAskUserQuestionNotification (line 957) | function dispatchAskUserQuestionNotification(sessionId, directory, toolI... function processPreToolUse (line 1000) | function processPreToolUse(input) { function getInvokedSkillName (line 1263) | function getInvokedSkillName(toolInput) { function getRawSkillName (line 1284) | function getRawSkillName(toolInput) { function processPostToolUse (line 1291) | async function processPostToolUse(input) { function processAutopilot (line 1412) | async function processAutopilot(input) { function getSkipHooks (line 1441) | function getSkipHooks() { function resetSkipHooksCache (line 1453) | function resetSkipHooksCache() { function processHook (line 1460) | async function processHook(hookType, rawInput) { function main (line 1645) | async function main() { function isMainModule (line 1679) | function isMainModule() { FILE: dist/hooks/code-simplifier/index.d.ts type CodeSimplifierConfig (line 11) | interface CodeSimplifierConfig { type OmcGlobalConfig (line 19) | interface OmcGlobalConfig { type CodeSimplifierHookResult (line 23) | interface CodeSimplifierHookResult { FILE: dist/hooks/code-simplifier/index.js constant DEFAULT_EXTENSIONS (line 14) | const DEFAULT_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.py', '.go', ... constant DEFAULT_MAX_FILES (line 15) | const DEFAULT_MAX_FILES = 10; constant TRIGGER_MARKER_FILENAME (line 17) | const TRIGGER_MARKER_FILENAME = 'code-simplifier-triggered.marker'; function readOmcConfig (line 23) | function readOmcConfig() { function isCodeSimplifierEnabled (line 41) | function isCodeSimplifierEnabled() { function getModifiedFiles (line 49) | function getModifiedFiles(cwd, extensions = DEFAULT_EXTENSIONS, maxFiles... function isAlreadyTriggered (line 72) | function isAlreadyTriggered(stateDir) { function writeTriggerMarker (line 78) | function writeTriggerMarker(stateDir) { function clearTriggerMarker (line 93) | function clearTriggerMarker(stateDir) { function buildSimplifierMessage (line 107) | function buildSimplifierMessage(files) { function processCodeSimplifier (line 126) | function processCodeSimplifier(cwd, stateDir) { FILE: dist/hooks/codebase-map.d.ts type CodebaseMapOptions (line 9) | interface CodebaseMapOptions { type CodebaseMapResult (line 19) | interface CodebaseMapResult { type TreeNode (line 27) | interface TreeNode { FILE: dist/hooks/codebase-map.js constant SKIP_DIRS (line 12) | const SKIP_DIRS = new Set([ constant SOURCE_EXTENSIONS (line 22) | const SOURCE_EXTENSIONS = new Set([ constant SKIP_FILE_SUFFIXES (line 35) | const SKIP_FILE_SUFFIXES = ['-lock.json', '.lock', '-lock.yaml', '-lock.... constant IMPORTANT_FILES (line 37) | const IMPORTANT_FILES = new Set([ function shouldSkipEntry (line 47) | function shouldSkipEntry(name, isDir, ignorePatterns) { function buildTree (line 77) | function buildTree(dir, depth, maxDepth, fileCount, maxFiles, ignorePatt... function renderTree (line 125) | function renderTree(nodes, prefix, lines) { function extractPackageMetadata (line 140) | function extractPackageMetadata(directory) { function generateCodebaseMap (line 169) | function generateCodebaseMap(directory, options = {}) { FILE: dist/hooks/comment-checker/constants.js constant BDD_KEYWORDS (line 11) | const BDD_KEYWORDS = new Set([ constant TYPE_CHECKER_PREFIXES (line 24) | const TYPE_CHECKER_PREFIXES = [ constant HOOK_MESSAGE_HEADER (line 72) | const HOOK_MESSAGE_HEADER = `COMMENT/DOCSTRING DETECTED - IMMEDIATE ACTI... constant LINE_COMMENT_PATTERNS (line 114) | const LINE_COMMENT_PATTERNS = { constant EXTENSION_TO_LANGUAGE (line 150) | const EXTENSION_TO_LANGUAGE = { FILE: dist/hooks/comment-checker/filters.js function filterShebangComments (line 12) | function filterShebangComments(comment) { function filterBddComments (line 22) | function filterBddComments(comment) { function filterDirectiveComments (line 46) | function filterDirectiveComments(comment) { function filterDocstringComments (line 59) | function filterDocstringComments(_comment) { function filterCopyrightComments (line 67) | function filterCopyrightComments(comment) { function filterTodoComments (line 90) | function filterTodoComments(comment) { constant ALL_FILTERS (line 103) | const ALL_FILTERS = [ function applyFilters (line 115) | function applyFilters(comments) { FILE: dist/hooks/comment-checker/index.d.ts type CommentCheckerConfig (line 22) | interface CommentCheckerConfig { FILE: dist/hooks/comment-checker/index.js constant DEBUG (line 16) | const DEBUG = process.env.COMMENT_CHECKER_DEBUG === '1'; constant DEBUG_FILE (line 17) | const DEBUG_FILE = path.join(tmpdir(), 'comment-checker-debug.log'); function debugLog (line 18) | function debugLog(...args) { function getLanguageFromPath (line 29) | function getLanguageFromPath(filePath) { function detectComments (line 36) | function detectComments(content, filePath) { function extractCommentsFromContent (line 82) | function extractCommentsFromContent(content, filePath) { function extractCommentsFromEdit (line 88) | function extractCommentsFromEdit(newString, filePath, oldString) { function formatCommentMessage (line 102) | function formatCommentMessage(comments) { function checkForComments (line 125) | function checkForComments(filePath, content, oldString, newString, edits) { function createCommentCheckerHook (line 169) | function createCommentCheckerHook(config) { FILE: dist/hooks/comment-checker/types.d.ts type CommentType (line 11) | type CommentType = 'line' | 'block' | 'docstring'; type CommentInfo (line 15) | interface CommentInfo { type PendingCall (line 32) | interface PendingCall { type FileComments (line 56) | interface FileComments { type FilterResult (line 65) | interface FilterResult { type CommentFilter (line 74) | type CommentFilter = (comment: CommentInfo) => FilterResult; type CommentCheckResult (line 78) | interface CommentCheckResult { FILE: dist/hooks/directory-readme-injector/constants.js constant OMC_STORAGE_DIR (line 11) | const OMC_STORAGE_DIR = join(homedir(), '.omc'); constant README_INJECTOR_STORAGE (line 12) | const README_INJECTOR_STORAGE = join(OMC_STORAGE_DIR, 'directory-readme'); constant README_FILENAME (line 14) | const README_FILENAME = 'README.md'; constant AGENTS_FILENAME (line 16) | const AGENTS_FILENAME = 'AGENTS.md'; constant CONTEXT_FILENAMES (line 18) | const CONTEXT_FILENAMES = [README_FILENAME, AGENTS_FILENAME]; constant TRACKED_TOOLS (line 20) | const TRACKED_TOOLS = ['read', 'write', 'edit', 'multiedit']; FILE: dist/hooks/directory-readme-injector/index.js constant CHARS_PER_TOKEN (line 21) | const CHARS_PER_TOKEN = 4; constant DEFAULT_MAX_README_TOKENS (line 22) | const DEFAULT_MAX_README_TOKENS = 5000; function truncateContent (line 26) | function truncateContent(content, maxTokens = DEFAULT_MAX_README_TOKENS) { function createDirectoryReadmeInjectorHook (line 44) | function createDirectoryReadmeInjectorHook(workingDirectory) { function getReadmesForPath (line 180) | function getReadmesForPath(filePath, workingDirectory) { FILE: dist/hooks/directory-readme-injector/storage.js function getStoragePath (line 14) | function getStoragePath(sessionID) { function loadInjectedPaths (line 20) | function loadInjectedPaths(sessionID) { function saveInjectedPaths (line 36) | function saveInjectedPaths(sessionID, paths) { function clearInjectedPaths (line 50) | function clearInjectedPaths(sessionID) { FILE: dist/hooks/directory-readme-injector/types.d.ts type InjectedPathsData (line 12) | interface InjectedPathsData { FILE: dist/hooks/empty-message-sanitizer/__tests__/index.test.js function createTextPart (line 4) | function createTextPart(text, id) { function createToolPart (line 11) | function createToolPart(type, id) { function createMessage (line 18) | function createMessage(role, parts, id) { FILE: dist/hooks/empty-message-sanitizer/constants.js constant PLACEHOLDER_TEXT (line 12) | const PLACEHOLDER_TEXT = '[user interrupted]'; constant TOOL_PART_TYPES (line 16) | const TOOL_PART_TYPES = new Set([ constant HOOK_NAME (line 24) | const HOOK_NAME = 'empty-message-sanitizer'; constant DEBUG_PREFIX (line 28) | const DEBUG_PREFIX = '[empty-message-sanitizer]'; constant ERROR_PATTERNS (line 32) | const ERROR_PATTERNS = { FILE: dist/hooks/empty-message-sanitizer/index.js constant DEBUG (line 23) | const DEBUG = process.env.EMPTY_MESSAGE_SANITIZER_DEBUG === '1'; constant DEBUG_FILE (line 24) | const DEBUG_FILE = path.join(tmpdir(), 'empty-message-sanitizer-debug.lo... function debugLog (line 25) | function debugLog(...args) { function hasTextContent (line 36) | function hasTextContent(part) { function isToolPart (line 46) | function isToolPart(part) { function hasValidContent (line 53) | function hasValidContent(parts) { function sanitizeMessage (line 59) | function sanitizeMessage(message, isLastMessage, placeholderText = PLACE... function sanitizeMessages (line 126) | function sanitizeMessages(input, config) { function createEmptyMessageSanitizerHook (line 152) | function createEmptyMessageSanitizerHook(config) { FILE: dist/hooks/empty-message-sanitizer/types.d.ts type MessagePart (line 12) | interface MessagePart { type MessageInfo (line 31) | interface MessageInfo { type MessageWithParts (line 44) | interface MessageWithParts { type EmptyMessageSanitizerInput (line 53) | interface EmptyMessageSanitizerInput { type EmptyMessageSanitizerOutput (line 62) | interface EmptyMessageSanitizerOutput { type EmptyMessageSanitizerConfig (line 73) | interface EmptyMessageSanitizerConfig { FILE: dist/hooks/factcheck/__tests__/factcheck.test.js function defaultPolicy (line 14) | function defaultPolicy() { function baseClaims (line 30) | function baseClaims() { FILE: dist/hooks/factcheck/__tests__/sentinel-gate.test.js function writeJsonl (line 9) | function writeJsonl(path, rows) { FILE: dist/hooks/factcheck/__tests__/sentinel.test.js function defaultReadinessPolicy (line 14) | function defaultReadinessPolicy() { function writeJsonl (line 22) | function writeJsonl(path, rows) { FILE: dist/hooks/factcheck/checks.js function checkMissingFields (line 16) | function checkMissingFields(claims) { function checkMissingGates (line 28) | function checkMissingGates(claims) { function getFalseGates (line 44) | function getFalseGates(claims) { function sourceFileCount (line 57) | function sourceFileCount(claims) { function checkPaths (line 68) | function checkPaths(claims, policy) { function checkCommands (line 107) | function checkCommands(claims, policy) { function checkCwdParity (line 128) | function checkCwdParity(claimsCwd, runtimeCwd, mode, policy) { FILE: dist/hooks/factcheck/config.js constant DEFAULT_FACTCHECK_POLICY (line 12) | const DEFAULT_FACTCHECK_POLICY = { constant DEFAULT_SENTINEL_POLICY (line 26) | const DEFAULT_SENTINEL_POLICY = { constant DEFAULT_GUARDS_CONFIG (line 35) | const DEFAULT_GUARDS_CONFIG = { function expandTokens (line 45) | function expandTokens(value, workspace) { function expandTokensDeep (line 55) | function expandTokensDeep(obj, workspace) { function deepMergeGuards (line 74) | function deepMergeGuards(target, source) { function loadGuardsConfig (line 100) | function loadGuardsConfig(workspace) { function shouldUseStrictMode (line 116) | function shouldUseStrictMode(projectName, patterns) { FILE: dist/hooks/factcheck/index.js function severityRank (line 19) | function severityRank(value) { function runChecks (line 38) | function runChecks(claims, mode, policy, runtimeCwd) { function runFactcheck (line 115) | function runFactcheck(claims, options) { FILE: dist/hooks/factcheck/sentinel.js function computeRate (line 12) | function computeRate(numerator, denominator) { function getPassRate (line 17) | function getPassRate(stats) { function getTimeoutRate (line 20) | function getTimeoutRate(stats) { function getWarnPlusFailRate (line 23) | function getWarnPlusFailRate(stats) { function getReasonCoverageRate (line 26) | function getReasonCoverageRate(stats) { function extractVerdict (line 35) | function extractVerdict(entry) { function hasReason (line 46) | function hasReason(entry) { function isTimeout (line 52) | function isTimeout(entry) { function analyzeLog (line 69) | function analyzeLog(logPath) { function isUpstreamReady (line 124) | function isUpstreamReady(stats, policy) { function checkSentinelHealth (line 147) | function checkSentinelHealth(logPath, workspace) { FILE: dist/hooks/factcheck/types.d.ts type FactcheckGates (line 7) | interface FactcheckGates { type FactcheckClaims (line 14) | interface FactcheckClaims { type FactcheckPolicy (line 28) | interface FactcheckPolicy { type SentinelReadinessPolicy (line 40) | interface SentinelReadinessPolicy { type SentinelPolicy (line 46) | interface SentinelPolicy { type GuardsConfig (line 50) | interface GuardsConfig { type FactcheckMode (line 54) | type FactcheckMode = 'strict' | 'declared' | 'manual' | 'quick'; type Severity (line 55) | type Severity = 'PASS' | 'WARN' | 'FAIL'; type Mismatch (line 56) | interface Mismatch { type FactcheckResult (line 61) | interface FactcheckResult { type SentinelLogEntry (line 72) | interface SentinelLogEntry { type SentinelStats (line 84) | interface SentinelStats { type SentinelReadinessResult (line 92) | interface SentinelReadinessResult { FILE: dist/hooks/factcheck/types.js constant REQUIRED_FIELDS (line 10) | const REQUIRED_FIELDS = new Set([ constant REQUIRED_GATES (line 21) | const REQUIRED_GATES = new Set([ FILE: dist/hooks/keyword-detector/index.d.ts type KeywordType (line 10) | type KeywordType = 'cancel' | 'ralph' | 'autopilot' | 'team' | 'ultrawor... type DetectedKeyword (line 11) | interface DetectedKeyword { type TaskSizeFilterOptions (line 55) | interface TaskSizeFilterOptions { type TaskSizeAwareKeywordsResult (line 68) | interface TaskSizeAwareKeywordsResult { FILE: dist/hooks/keyword-detector/index.js constant KEYWORD_PATTERNS (line 13) | const KEYWORD_PATTERNS = { constant KEYWORD_PRIORITY (line 36) | const KEYWORD_PRIORITY = [ function removeCodeBlocks (line 45) | function removeCodeBlocks(text) { constant NON_LATIN_SCRIPT_PATTERN (line 58) | const NON_LATIN_SCRIPT_PATTERN = function sanitizeForKeywordDetection (line 65) | function sanitizeForKeywordDetection(text) { constant INFORMATIONAL_INTENT_PATTERNS (line 78) | const INFORMATIONAL_INTENT_PATTERNS = [ constant INFORMATIONAL_CONTEXT_WINDOW (line 84) | const INFORMATIONAL_CONTEXT_WINDOW = 80; function isInformationalKeywordContext (line 85) | function isInformationalKeywordContext(text, position, keywordLength) { function findActionableKeywordMatch (line 91) | function findActionableKeywordMatch(text, pattern) { function extractPromptText (line 112) | function extractPromptText(parts) { function detectKeywordsWithType (line 121) | function detectKeywordsWithType(text, _agentName) { function hasKeyword (line 144) | function hasKeyword(text) { function getAllKeywords (line 150) | function getAllKeywords(text) { function getAllKeywordsWithSizeCheck (line 172) | function getAllKeywordsWithSizeCheck(text, options = {}) { function getPrimaryKeyword (line 201) | function getPrimaryKeyword(text) { constant EXECUTION_GATE_KEYWORDS (line 217) | const EXECUTION_GATE_KEYWORDS = new Set([ constant GATE_BYPASS_PREFIXES (line 226) | const GATE_BYPASS_PREFIXES = ['force:', '!']; constant WELL_SPECIFIED_SIGNALS (line 231) | const WELL_SPECIFIED_SIGNALS = [ function isUnderspecifiedForExecution (line 270) | function isUnderspecifiedForExecution(text) { function applyRalplanGate (line 298) | function applyRalplanGate(keywords, text) { FILE: dist/hooks/learner/auto-invoke.d.ts type InvocationConfig (line 1) | interface InvocationConfig { type InvocationRecord (line 7) | interface InvocationRecord { type AutoInvokeState (line 16) | interface AutoInvokeState { FILE: dist/hooks/learner/auto-invoke.js constant DEFAULT_CONFIG (line 6) | const DEFAULT_CONFIG = { function loadInvocationConfig (line 15) | function loadInvocationConfig() { function initAutoInvoke (line 39) | function initAutoInvoke(sessionId) { function shouldAutoInvoke (line 50) | function shouldAutoInvoke(state, skillId, confidence) { function recordInvocation (line 79) | function recordInvocation(state, record) { function updateInvocationSuccess (line 89) | function updateInvocationSuccess(state, skillId, wasSuccessful) { function formatAutoInvoke (line 101) | function formatAutoInvoke(skill) { function getInvocationStats (line 120) | function getInvocationStats(state) { function saveInvocationHistory (line 139) | function saveInvocationHistory(state) { function loadInvocationHistory (line 155) | function loadInvocationHistory(sessionId) { function getAggregatedStats (line 179) | function getAggregatedStats() { FILE: dist/hooks/learner/auto-learner.d.ts type PatternDetection (line 11) | interface PatternDetection { type AutoLearnerState (line 25) | interface AutoLearnerState { FILE: dist/hooks/learner/auto-learner.js constant ABSOLUTE_PATH_PATTERN (line 8) | const ABSOLUTE_PATH_PATTERN = /(?:^|\s)((?:[A-Z]:)?(?:\/|\\)[\w\/\\.-]+\... constant RELATIVE_PATH_PATTERN (line 9) | const RELATIVE_PATH_PATTERN = /(?:^|\s)(\.\.?\/[\w\/.-]+\.\w+)/gi; constant SIMPLE_PATH_PATTERN (line 10) | const SIMPLE_PATH_PATTERN = /(?:^|\s)([\w-]+(?:\/[\w-]+)+\.\w+)/gi; constant ERROR_MESSAGE_PATTERN (line 11) | const ERROR_MESSAGE_PATTERN = /(?:Error|Exception|Warning):\s*([^\n]+)/gi; constant TYPE_ERROR_PATTERN (line 12) | const TYPE_ERROR_PATTERN = /(?:Type|Reference|Syntax|Range|URI)Error:\s*... constant ERROR_CODE_PATTERN (line 13) | const ERROR_CODE_PATTERN = /E[A-Z]+:\s*([^\n]+)/gi; constant QUOTED_STRING_PATTERN (line 14) | const QUOTED_STRING_PATTERN = /['"`]([^'"`]+)['"`]/g; constant PASCAL_CASE_PATTERN (line 15) | const PASCAL_CASE_PATTERN = /\b([A-Z][a-zA-Z0-9]{2,})\b/g; constant DEFAULT_SUGGESTION_THRESHOLD (line 19) | const DEFAULT_SUGGESTION_THRESHOLD = 70; constant HIGH_VALUE_KEYWORDS (line 23) | const HIGH_VALUE_KEYWORDS = [ constant TECHNICAL_EXTENSIONS (line 36) | const TECHNICAL_EXTENSIONS = [ constant GENERIC_PATTERNS (line 52) | const GENERIC_PATTERNS = [ function initAutoLearner (line 62) | function initAutoLearner(sessionId) { function generateContentHash (line 72) | function generateContentHash(problem, solution) { function extractFilePaths (line 79) | function extractFilePaths(text) { function extractErrorMessages (line 100) | function extractErrorMessages(text) { function extractKeyTerms (line 121) | function extractKeyTerms(text) { function extractTriggers (line 142) | function extractTriggers(problem, solution) { function generateTags (line 183) | function generateTags(problem, solution) { function calculateSkillWorthiness (line 236) | function calculateSkillWorthiness(pattern) { function recordPattern (line 289) | function recordPattern(state, problem, solution) { function getSuggestedSkills (line 342) | function getSuggestedSkills(state, threshold = DEFAULT_SUGGESTION_THRESH... function patternToSkillMetadata (line 350) | function patternToSkillMetadata(pattern) { FILE: dist/hooks/learner/bridge.d.ts type SkillFileCandidate (line 23) | interface SkillFileCandidate { type ParseResult (line 30) | interface ParseResult { type MatchedSkill (line 45) | interface MatchedSkill { FILE: dist/hooks/learner/bridge.js constant USER_SKILLS_DIR (line 16) | const USER_SKILLS_DIR = join(homedir(), ".claude", "skills", "omc-learne... constant GLOBAL_SKILLS_DIR (line 17) | const GLOBAL_SKILLS_DIR = join(homedir(), ".omc", "skills"); constant PROJECT_SKILLS_SUBDIR (line 18) | const PROJECT_SKILLS_SUBDIR = OmcPaths.SKILLS; constant PROJECT_AGENT_SKILLS_SUBDIR (line 19) | const PROJECT_AGENT_SKILLS_SUBDIR = join(".agents", "skills"); constant SKILL_EXTENSION (line 20) | const SKILL_EXTENSION = ".md"; constant SESSION_TTL_MS (line 22) | const SESSION_TTL_MS = 60 * 60 * 1000; constant MAX_RECURSION_DEPTH (line 24) | const MAX_RECURSION_DEPTH = 10; constant LEVENSHTEIN_CACHE_SIZE (line 26) | const LEVENSHTEIN_CACHE_SIZE = 1000; constant SKILL_CACHE_TTL_MS (line 28) | const SKILL_CACHE_TTL_MS = 30 * 1000; constant MAX_CACHE_ENTRIES (line 29) | const MAX_CACHE_ENTRIES = 50; function getCachedLevenshtein (line 39) | function getCachedLevenshtein(str1, str2) { function getSkillMetadataCache (line 61) | function getSkillMetadataCache(projectRoot) { function clearSkillMetadataCache (line 110) | function clearSkillMetadataCache() { function clearLevenshteinCache (line 116) | function clearLevenshteinCache() { constant STATE_FILE (line 120) | const STATE_FILE = `${OmcPaths.STATE}/skill-sessions.json`; function getStateFilePath (line 127) | function getStateFilePath(projectRoot) { function readSessionState (line 133) | function readSessionState(projectRoot) { function writeSessionState (line 149) | function writeSessionState(projectRoot, state) { function getInjectedSkillPaths (line 162) | function getInjectedSkillPaths(sessionId, projectRoot) { function markSkillsInjected (line 176) | function markSkillsInjected(sessionId, paths, projectRoot) { function findSkillFilesRecursive (line 200) | function findSkillFilesRecursive(dir, results, depth = 0) { function safeRealpathSync (line 224) | function safeRealpathSync(filePath) { function isWithinBoundary (line 235) | function isWithinBoundary(realPath, boundary) { function findSkillFiles (line 250) | function findSkillFiles(projectRoot, options) { function parseSkillFile (line 309) | function parseSkillFile(content) { function parseYamlMetadata (line 346) | function parseYamlMetadata(yamlContent) { function parseStringValue (line 399) | function parseStringValue(value) { function parseArrayValue (line 408) | function parseArrayValue(rawValue, lines, currentIndex) { function levenshteinDistance (line 456) | function levenshteinDistance(str1, str2) { function fuzzyMatchTrigger (line 486) | function fuzzyMatchTrigger(prompt, trigger) { function matchSkillsForInjection (line 512) | function matchSkillsForInjection(prompt, projectRoot, sessionId, options... FILE: dist/hooks/learner/config.d.ts type LearnerConfig (line 6) | interface LearnerConfig { FILE: dist/hooks/learner/config.js constant DEFAULT_CONFIG (line 10) | const DEFAULT_CONFIG = { constant CONFIG_PATH (line 28) | const CONFIG_PATH = join(getClaudeConfigDir(), 'omc', 'learner.json'); function loadConfig (line 32) | function loadConfig() { function saveConfig (line 51) | function saveConfig(config) { function mergeConfig (line 71) | function mergeConfig(defaults, partial) { function getConfigValue (line 91) | function getConfigValue(key) { function setConfigValue (line 98) | function setConfigValue(key, value) { FILE: dist/hooks/learner/constants.js constant USER_SKILLS_DIR (line 9) | const USER_SKILLS_DIR = join(getClaudeConfigDir(), 'skills', 'omc-learne... constant GLOBAL_SKILLS_DIR (line 11) | const GLOBAL_SKILLS_DIR = join(homedir(), '.omc', 'skills'); constant PROJECT_SKILLS_SUBDIR (line 13) | const PROJECT_SKILLS_SUBDIR = OmcPaths.SKILLS; constant PROJECT_AGENT_SKILLS_SUBDIR (line 15) | const PROJECT_AGENT_SKILLS_SUBDIR = join('.agents', 'skills'); constant MAX_RECURSION_DEPTH (line 17) | const MAX_RECURSION_DEPTH = 10; constant SKILL_EXTENSION (line 19) | const SKILL_EXTENSION = '.md'; constant FEATURE_FLAG_KEY (line 21) | const FEATURE_FLAG_KEY = 'learner.enabled'; constant FEATURE_FLAG_DEFAULT (line 23) | const FEATURE_FLAG_DEFAULT = true; constant MAX_SKILL_CONTENT_LENGTH (line 25) | const MAX_SKILL_CONTENT_LENGTH = 4000; constant MIN_QUALITY_SCORE (line 27) | const MIN_QUALITY_SCORE = 50; constant REQUIRED_METADATA_FIELDS (line 29) | const REQUIRED_METADATA_FIELDS = ['id', 'name', 'description', 'triggers... constant MAX_SKILLS_PER_SESSION (line 31) | const MAX_SKILLS_PER_SESSION = 10; constant DEBUG_ENABLED (line 33) | const DEBUG_ENABLED = process.env.OMC_DEBUG === '1'; FILE: dist/hooks/learner/detection-hook.d.ts type DetectionConfig (line 10) | interface DetectionConfig { FILE: dist/hooks/learner/detection-hook.js constant DEFAULT_CONFIG (line 8) | const DEFAULT_CONFIG = { function getSessionState (line 17) | function getSessionState(sessionId) { function processResponseForDetection (line 31) | function processResponseForDetection(assistantMessage, userMessage, sess... function getLastDetection (line 56) | function getLastDetection(sessionId) { function clearDetectionState (line 62) | function clearDetectionState(sessionId) { function getDetectionStats (line 68) | function getDetectionStats(sessionId) { FILE: dist/hooks/learner/detector.d.ts type DetectionResult (line 6) | interface DetectionResult { FILE: dist/hooks/learner/detector.js constant DETECTION_PATTERNS (line 10) | const DETECTION_PATTERNS = [ constant TRIGGER_KEYWORDS (line 156) | const TRIGGER_KEYWORDS = [ function detectExtractableMoment (line 184) | function detectExtractableMoment(assistantMessage, userMessage) { function shouldPromptExtraction (line 231) | function shouldPromptExtraction(detection, threshold = 60) { function generateExtractionPrompt (line 237) | function generateExtractionPrompt(detection) { FILE: dist/hooks/learner/finder.js function findSkillFilesRecursive (line 13) | function findSkillFilesRecursive(dir, results, depth = 0) { function safeRealpathSync (line 39) | function safeRealpathSync(filePath) { function isWithinBoundary (line 51) | function isWithinBoundary(realPath, boundary) { function findSkillFiles (line 61) | function findSkillFiles(projectRoot, options) { function getSkillsDir (line 127) | function getSkillsDir(scope, projectRoot, sourceDir) { function ensureSkillsDir (line 141) | function ensureSkillsDir(scope, projectRoot) { FILE: dist/hooks/learner/index.js constant MAX_SESSIONS (line 31) | const MAX_SESSIONS = 100; function isLearnerEnabled (line 35) | function isLearnerEnabled() { function formatSkillsForContext (line 41) | function formatSkillsForContext(skills) { function processMessageForSkills (line 70) | function processMessageForSkills(message, sessionId, projectRoot) { function clearSkillSession (line 111) | function clearSkillSession(sessionId) { function getAllSkills (line 117) | function getAllSkills(projectRoot) { function createLearnedSkillsHook (line 123) | function createLearnedSkillsHook(projectRoot) { FILE: dist/hooks/learner/loader.js function createContentHash (line 15) | function createContentHash(content) { function loadAllSkills (line 22) | function loadAllSkills(projectRoot) { function loadSkillById (line 64) | function loadSkillById(skillId, projectRoot) { function findMatchingSkills (line 71) | function findMatchingSkills(message, projectRoot, limit = 5) { FILE: dist/hooks/learner/matcher.d.ts type MatchResult (line 1) | interface MatchResult { type MatchContext (line 8) | interface MatchContext { type SkillInput (line 13) | interface SkillInput { type MatchOptions (line 18) | interface MatchOptions { FILE: dist/hooks/learner/matcher.js function matchSkills (line 6) | function matchSkills(prompt, skills, options = {}) { function fuzzyMatch (line 63) | function fuzzyMatch(text, pattern) { function levenshteinDistance (line 89) | function levenshteinDistance(str1, str2) { function patternMatch (line 123) | function patternMatch(text, pattern) { function extractContext (line 157) | function extractContext(prompt) { function calculateConfidence (line 214) | function calculateConfidence(matches, total, matchType) { FILE: dist/hooks/learner/parser.d.ts type SkillParseResult (line 7) | interface SkillParseResult { FILE: dist/hooks/learner/parser.js function parseSkillFile (line 9) | function parseSkillFile(rawContent) { function parseYamlMetadata (line 63) | function parseYamlMetadata(yamlContent) { function parseStringValue (line 118) | function parseStringValue(value) { function parseArrayValue (line 127) | function parseArrayValue(rawValue, lines, currentIndex) { function generateSkillFrontmatter (line 169) | function generateSkillFrontmatter(metadata) { FILE: dist/hooks/learner/promotion.d.ts type PromotionCandidate (line 7) | interface PromotionCandidate { FILE: dist/hooks/learner/promotion.js function extractTriggers (line 11) | function extractTriggers(text) { function getPromotionCandidates (line 23) | function getPromotionCandidates(directory, limit = 10) { function promoteLearning (line 50) | function promoteLearning(candidate, skillName, additionalTriggers, targe... function listPromotableLearnings (line 62) | function listPromotableLearnings(directory) { FILE: dist/hooks/learner/transliteration-map.js constant KOREAN_MAP (line 18) | const KOREAN_MAP = { function expandTriggers (line 39) | function expandTriggers(triggersLower) { FILE: dist/hooks/learner/types.d.ts type SkillMetadata (line 10) | interface SkillMetadata { type LearnedSkill (line 35) | interface LearnedSkill { type SkillFileCandidate (line 54) | interface SkillFileCandidate { type QualityValidation (line 67) | interface QualityValidation { type SkillExtractionRequest (line 80) | interface SkillExtractionRequest { type InjectedSkillsData (line 95) | interface InjectedSkillsData { type HookContext (line 106) | interface HookContext { FILE: dist/hooks/learner/validator.js function validateExtractionRequest (line 10) | function validateExtractionRequest(request) { function validateSkillMetadata (line 59) | function validateSkillMetadata(metadata) { FILE: dist/hooks/learner/writer.d.ts type WriteSkillResult (line 10) | interface WriteSkillResult { FILE: dist/hooks/learner/writer.js function generateSkillId (line 15) | function generateSkillId() { function sanitizeFilename (line 23) | function sanitizeFilename(name) { function writeSkill (line 33) | function writeSkill(request, projectRoot, skillName) { function checkDuplicateTriggers (line 109) | function checkDuplicateTriggers(triggers, projectRoot) { FILE: dist/hooks/mode-registry/__tests__/session-isolation.test.js function createSessionState (line 17) | function createSessionState(sessionId, mode, data) { function createLegacyState (line 23) | function createLegacyState(mode, data) { FILE: dist/hooks/mode-registry/index.js constant MODE_CONFIGS (line 22) | const MODE_CONFIGS = { constant EXCLUSIVE_MODES (line 58) | const EXCLUSIVE_MODES = [MODE_NAMES.AUTOPILOT]; function getStateDir (line 62) | function getStateDir(cwd) { function ensureStateDir (line 68) | function ensureStateDir(cwd) { function getStateFilePath (line 75) | function getStateFilePath(cwd, mode, sessionId) { function getMarkerFilePath (line 85) | function getMarkerFilePath(cwd, mode) { function getGlobalStateFilePath (line 96) | function getGlobalStateFilePath(_mode) { function isJsonModeActive (line 103) | function isJsonModeActive(cwd, mode, sessionId) { function isModeActive (line 155) | function isModeActive(mode, cwd, sessionId) { function hasModeState (line 162) | function hasModeState(cwd, mode, sessionId) { function getActiveModes (line 169) | function getActiveModes(cwd, sessionId) { function isAnyModeActive (line 184) | function isAnyModeActive(cwd) { function getActiveExclusiveMode (line 193) | function getActiveExclusiveMode(cwd) { function canStartMode (line 208) | function canStartMode(mode, cwd) { function getAllModeStatuses (line 232) | function getAllModeStatuses(cwd, sessionId) { function clearModeState (line 250) | function clearModeState(mode, cwd, sessionId) { function clearAllModeStates (line 369) | function clearAllModeStates(cwd) { function isModeActiveInAnySession (line 406) | function isModeActiveInAnySession(mode, cwd) { function getActiveSessionsForMode (line 427) | function getActiveSessionsForMode(mode, cwd) { function clearStaleSessionDirs (line 440) | function clearStaleSessionDirs(cwd, maxAgeMs = 24 * 60 * 60 * 1000) { function createModeMarker (line 483) | function createModeMarker(mode, cwd, metadata) { function removeModeMarker (line 511) | function removeModeMarker(mode, cwd) { function readModeMarker (line 534) | function readModeMarker(mode, cwd) { function forceRemoveMarker (line 557) | function forceRemoveMarker(mode, cwd) { FILE: dist/hooks/mode-registry/types.d.ts type ExecutionMode (line 6) | type ExecutionMode = 'autopilot' | 'team' | 'ralph' | 'ultrawork' | 'ult... type ModeConfig (line 7) | interface ModeConfig { type ModeStatus (line 21) | interface ModeStatus { type CanStartResult (line 26) | interface CanStartResult { FILE: dist/hooks/non-interactive-env/constants.js constant HOOK_NAME (line 1) | const HOOK_NAME = "non-interactive-env"; constant NON_INTERACTIVE_ENV (line 2) | const NON_INTERACTIVE_ENV = { constant SHELL_COMMAND_PATTERNS (line 28) | const SHELL_COMMAND_PATTERNS = { FILE: dist/hooks/non-interactive-env/detector.js function isNonInteractive (line 1) | function isNonInteractive() { FILE: dist/hooks/non-interactive-env/index.js constant BANNED_ENTRIES (line 5) | const BANNED_ENTRIES = SHELL_COMMAND_PATTERNS.banned function detectBannedCommand (line 8) | function detectBannedCommand(command) { function shellEscape (line 20) | function shellEscape(value) { function buildEnvPrefix (line 37) | function buildEnvPrefix(env) { method beforeCommand (line 53) | async beforeCommand(command) { FILE: dist/hooks/non-interactive-env/types.d.ts type NonInteractiveEnvConfig (line 1) | interface NonInteractiveEnvConfig { type ShellHook (line 7) | interface ShellHook { FILE: dist/hooks/notepad/index.d.ts type NotepadConfig (line 25) | interface NotepadConfig { type NotepadStats (line 33) | interface NotepadStats { type PriorityContextResult (line 45) | interface PriorityContextResult { type PruneResult (line 51) | interface PruneResult { FILE: dist/hooks/notepad/index.js constant NOTEPAD_FILENAME (line 33) | const NOTEPAD_FILENAME = "notepad.md"; constant DEFAULT_CONFIG (line 34) | const DEFAULT_CONFIG = { constant PRIORITY_HEADER (line 39) | const PRIORITY_HEADER = "## Priority Context"; constant WORKING_MEMORY_HEADER (line 40) | const WORKING_MEMORY_HEADER = "## Working Memory"; constant MANUAL_HEADER (line 41) | const MANUAL_HEADER = "## MANUAL"; constant SECTION_REGEXES (line 42) | const SECTION_REGEXES = { function createSectionRegexSet (line 47) | function createSectionRegexSet(header) { function getSectionRegexSet (line 54) | function getSectionRegexSet(header) { function getNotepadPath (line 63) | function getNotepadPath(directory) { function initNotepad (line 69) | function initNotepad(directory) { function readNotepad (line 107) | function readNotepad(directory) { function extractSection (line 122) | function extractSection(content, header) { function replaceSection (line 137) | function replaceSection(content, header, newContent) { function getPriorityContext (line 150) | function getPriorityContext(directory) { function getWorkingMemory (line 160) | function getWorkingMemory(directory) { function getManualSection (line 170) | function getManualSection(directory) { function setPriorityContext (line 183) | function setPriorityContext(directory, content, config = DEFAULT_CONFIG) { function addWorkingMemoryEntry (line 211) | function addWorkingMemoryEntry(directory, content) { function addManualEntry (line 245) | function addManualEntry(directory, content) { function pruneOldEntries (line 281) | function pruneOldEntries(directory, daysOld = DEFAULT_CONFIG.workingMemo... function getNotepadStats (line 332) | function getNotepadStats(directory) { function formatNotepadContext (line 373) | function formatNotepadContext(directory) { function formatFullNotepad (line 397) | function formatFullNotepad(directory) { FILE: dist/hooks/omc-orchestrator/audit.d.ts type AuditEntry (line 5) | interface AuditEntry { FILE: dist/hooks/omc-orchestrator/audit.js constant LOG_DIR (line 8) | const LOG_DIR = OmcPaths.LOGS; constant LOG_FILE (line 9) | const LOG_FILE = 'delegation-audit.jsonl'; function logAuditEntry (line 13) | function logAuditEntry(entry) { function readAuditLog (line 33) | function readAuditLog(directory) { function getAuditSummary (line 51) | function getAuditSummary(directory) { FILE: dist/hooks/omc-orchestrator/constants.js constant HOOK_NAME (line 8) | const HOOK_NAME = 'omc-orchestrator'; constant ALLOWED_PATH_PREFIX (line 10) | const ALLOWED_PATH_PREFIX = '.omc/'; constant ALLOWED_PATH_PATTERNS (line 13) | const ALLOWED_PATH_PATTERNS = [ constant WARNED_EXTENSIONS (line 22) | const WARNED_EXTENSIONS = [ constant WRITE_EDIT_TOOLS (line 47) | const WRITE_EDIT_TOOLS = ['Write', 'Edit', 'write', 'edit']; constant DIRECT_WORK_REMINDER (line 49) | const DIRECT_WORK_REMINDER = ` constant ORCHESTRATOR_DELEGATION_REQUIRED (line 77) | const ORCHESTRATOR_DELEGATION_REQUIRED = ` constant BOULDER_CONTINUATION_PROMPT (line 127) | const BOULDER_CONTINUATION_PROMPT = `[SYSTEM REMINDER - BOULDER CONTINUA... constant VERIFICATION_REMINDER (line 138) | const VERIFICATION_REMINDER = `**MANDATORY VERIFICATION - SUBAGENTS LIE** constant SINGLE_TASK_DIRECTIVE (line 155) | const SINGLE_TASK_DIRECTIVE = ` FILE: dist/hooks/omc-orchestrator/index.d.ts type EnforcementLevel (line 11) | type EnforcementLevel = 'off' | 'warn' | 'strict'; type ToolExecuteInput (line 20) | interface ToolExecuteInput { type ToolExecuteOutput (line 29) | interface ToolExecuteOutput { type GitFileStat (line 38) | interface GitFileStat { FILE: dist/hooks/omc-orchestrator/index.js constant CACHE_TTL_MS (line 25) | const CACHE_TTL_MS = 30_000; function clearEnforcementCache (line 30) | function clearEnforcementCache() { function getEnforcementLevel (line 37) | function getEnforcementLevel(directory) { function isAllowedPath (line 71) | function isAllowedPath(filePath, directory) { function isSourceFile (line 98) | function isSourceFile(filePath) { function isWriteEditTool (line 107) | function isWriteEditTool(toolName) { function isDelegationToolName (line 110) | function isDelegationToolName(toolName) { function getGitDiffStats (line 117) | function getGitDiffStats(directory) { function formatFileChanges (line 171) | function formatFileChanges(stats) { function buildVerificationReminder (line 204) | function buildVerificationReminder(sessionId) { function buildOrchestratorReminder (line 219) | function buildOrchestratorReminder(planName, progress, sessionId) { function buildBoulderContinuation (line 235) | function buildBoulderContinuation(planName, remaining, total) { function processRememberTags (line 244) | function processRememberTags(output, directory) { function suggestAgentForFile (line 265) | function suggestAgentForFile(filePath) { function processOrchestratorPreTool (line 286) | function processOrchestratorPreTool(input) { function processOrchestratorPostTool (line 350) | function processOrchestratorPostTool(input, output) { function checkBoulderContinuation (line 402) | function checkBoulderContinuation(directory) { function createOmcOrchestratorHook (line 420) | function createOmcOrchestratorHook(directory) { FILE: dist/hooks/permission-handler/index.d.ts type PermissionRequestInput (line 1) | interface PermissionRequestInput { type HookOutput (line 16) | interface HookOutput { type BackgroundPermissionFallbackResult (line 30) | interface BackgroundPermissionFallbackResult { FILE: dist/hooks/permission-handler/index.js constant SAFE_PATTERNS (line 5) | const SAFE_PATTERNS = [ constant DANGEROUS_SHELL_CHARS (line 23) | const DANGEROUS_SHELL_CHARS = /[;&|`$()<>\n\r\t\0\\{}\[\]*?~!#]/; constant HEREDOC_PATTERN (line 25) | const HEREDOC_PATTERN = /<<[-~]?\s*['"]?\w+['"]?/; constant SAFE_HEREDOC_PATTERNS (line 31) | const SAFE_HEREDOC_PATTERNS = [ constant BACKGROUND_MUTATION_SUBAGENTS (line 35) | const BACKGROUND_MUTATION_SUBAGENTS = new Set([ function readPermissionStringEntries (line 45) | function readPermissionStringEntries(filePath, key) { function getClaudePermissionAllowEntries (line 58) | function getClaudePermissionAllowEntries(directory) { function hasGenericToolPermission (line 74) | function hasGenericToolPermission(allowEntries, toolName) { function hasClaudePermissionApproval (line 77) | function hasClaudePermissionApproval(directory, toolName, command) { function getClaudePermissionAskEntries (line 91) | function getClaudePermissionAskEntries(directory) { function commandMatchesPermissionPattern (line 107) | function commandMatchesPermissionPattern(command, pattern) { function hasClaudePermissionAsk (line 125) | function hasClaudePermissionAsk(directory, toolName, command) { function getBackgroundTaskPermissionFallback (line 144) | function getBackgroundTaskPermissionFallback(directory, subagentType) { function getBackgroundBashPermissionFallback (line 155) | function getBackgroundBashPermissionFallback(directory, command) { function isSafeCommand (line 172) | function isSafeCommand(command) { function isHeredocWithSafeBase (line 192) | function isHeredocWithSafeBase(command) { function isActiveModeRunning (line 210) | function isActiveModeRunning(directory) { function processPermissionRequest (line 245) | function processPermissionRequest(input) { function handlePermissionRequest (line 290) | async function handlePermissionRequest(input) { FILE: dist/hooks/persistent-mode/__tests__/cancel-race.test.js function makeRalphSession (line 7) | function makeRalphSession(tempDir, sessionId) { FILE: dist/hooks/persistent-mode/__tests__/error-handling.test.js constant HOOK_PATH (line 8) | const HOOK_PATH = join(__dirname, '../../../../templates/hooks/persisten... constant TIMEOUT_MS (line 9) | const TIMEOUT_MS = 3000; function runHook (line 33) | function runHook(input, closeImmediately = false) { FILE: dist/hooks/persistent-mode/__tests__/idle-cooldown.test.js constant TEST_STATE_DIR (line 36) | const TEST_STATE_DIR = '/project/.omc/state'; constant COOLDOWN_PATH (line 37) | const COOLDOWN_PATH = join(TEST_STATE_DIR, 'idle-notif-cooldown.json'); constant TEST_SESSION_ID (line 38) | const TEST_SESSION_ID = 'session-123'; constant SESSION_COOLDOWN_PATH (line 39) | const SESSION_COOLDOWN_PATH = join(TEST_STATE_DIR, 'sessions', TEST_SESS... function getConfigPaths (line 40) | function getConfigPaths() { FILE: dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js function writeRalphState (line 32) | function writeRalphState(sessionId, extra = {}) { FILE: dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.js function makeRalphWorktree (line 16) | function makeRalphWorktree(sessionId) { FILE: dist/hooks/persistent-mode/__tests__/skill-state-stop.test.js function makeTempProject (line 7) | function makeTempProject() { function writeSkillState (line 12) | function writeSkillState(tempDir, sessionId, skillName, overrides = {}) { function writeSubagentTrackingState (line 27) | function writeSubagentTrackingState(tempDir, agents) { FILE: dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js function makeTempProject (line 7) | function makeTempProject() { function writeTeamPipelineState (line 12) | function writeTeamPipelineState(tempDir, sessionId, overrides = {}) { function writeRalplanState (line 35) | function writeRalplanState(tempDir, sessionId, overrides = {}) { function writeRalphState (line 46) | function writeRalphState(tempDir, sessionId) { function writeStopBreaker (line 61) | function writeStopBreaker(tempDir, sessionId, name, count) { function writeSubagentTrackingState (line 66) | function writeSubagentTrackingState(tempDir, agents) { FILE: dist/hooks/persistent-mode/index.d.ts type ToolErrorState (line 13) | interface ToolErrorState { type PersistentModeResult (line 20) | interface PersistentModeResult { FILE: dist/hooks/persistent-mode/index.js constant MAX_TODO_CONTINUATION_ATTEMPTS (line 27) | const MAX_TODO_CONTINUATION_ATTEMPTS = 5; constant CANCEL_SIGNAL_TTL_MS (line 28) | const CANCEL_SIGNAL_TTL_MS = 30_000; function isSessionCancelInProgress (line 35) | function isSessionCancelInProgress(directory, sessionId) { function readLastToolError (line 69) | function readLastToolError(directory) { function clearToolErrorState (line 99) | function clearToolErrorState(directory) { function getToolErrorRetryGuidance (line 115) | function getToolErrorRetryGuidance(toolError) { function trackTodoContinuationAttempt (line 152) | function trackTodoContinuationAttempt(sessionId) { function resetTodoContinuationAttempts (line 163) | function resetTodoContinuationAttempts(sessionId) { function getIdleNotificationCooldownSeconds (line 170) | function getIdleNotificationCooldownSeconds() { function getIdleNotificationCooldownPath (line 188) | function getIdleNotificationCooldownPath(stateDir, sessionId) { function shouldSendIdleNotification (line 199) | function shouldSendIdleNotification(stateDir, sessionId) { function recordIdleNotificationSent (line 222) | function recordIdleNotificationSent(stateDir, sessionId) { constant TRANSCRIPT_TAIL_BYTES (line 232) | const TRANSCRIPT_TAIL_BYTES = 32 * 1024; constant CRITICAL_CONTEXT_STOP_PERCENT (line 233) | const CRITICAL_CONTEXT_STOP_PERCENT = 95; function readTranscriptTail (line 239) | function readTranscriptTail(transcriptPath) { function estimateTranscriptContextPercent (line 255) | function estimateTranscriptContextPercent(transcriptPath) { function isCriticalContextStop (line 279) | function isCriticalContextStop(stopContext) { function isAwaitingConfirmation (line 286) | function isAwaitingConfirmation(state) { function checkArchitectApprovalInTranscript (line 294) | function checkArchitectApprovalInTranscript(sessionId) { function checkArchitectRejectionInTranscript (line 319) | function checkArchitectRejectionInTranscript(sessionId) { function checkRalphLoop (line 346) | async function checkRalphLoop(sessionId, directory, cancelInProgress) { function readStopBreaker (line 549) | function readStopBreaker(directory, name, sessionId, ttlMs) { function writeStopBreaker (line 571) | function writeStopBreaker(directory, name, count, sessionId) { constant TEAM_PIPELINE_STOP_BLOCKER_MAX (line 588) | const TEAM_PIPELINE_STOP_BLOCKER_MAX = 20; constant TEAM_PIPELINE_STOP_BLOCKER_TTL_MS (line 589) | const TEAM_PIPELINE_STOP_BLOCKER_TTL_MS = 5 * 60 * 1000; function checkTeamPipeline (line 595) | async function checkTeamPipeline(sessionId, directory, cancelInProgress) { constant RALPLAN_STOP_BLOCKER_MAX (line 705) | const RALPLAN_STOP_BLOCKER_MAX = 30; constant RALPLAN_STOP_BLOCKER_TTL_MS (line 706) | const RALPLAN_STOP_BLOCKER_TTL_MS = 45 * 60 * 1000; constant RALPLAN_ACTIVE_AGENT_RECENCY_WINDOW_MS (line 707) | const RALPLAN_ACTIVE_AGENT_RECENCY_WINDOW_MS = 5_000; function checkRalplan (line 713) | async function checkRalplan(sessionId, directory, cancelInProgress) { function checkUltrawork (line 792) | async function checkUltrawork(sessionId, directory, _hasIncompleteTodos,... function _checkTodoContinuation (line 833) | async function _checkTodoContinuation(sessionId, directory) { function checkPersistentModes (line 891) | async function checkPersistentModes(sessionId, directory, stopContext //... function createHookOutput (line 1036) | function createHookOutput(result) { FILE: dist/hooks/persistent-mode/session-isolation.test.js function runPersistentModeScript (line 89) | function runPersistentModeScript(input) { function createUltraworkState (line 114) | function createUltraworkState(dir, sessionId, prompt) { function runPersistentModeScript (line 264) | function runPersistentModeScript(input) { function createUltraworkState (line 286) | function createUltraworkState(dir, sessionId, prompt) { function runPersistentModeScript (line 378) | function runPersistentModeScript(input) { FILE: dist/hooks/persistent-mode/stop-hook-blocking.test.js function writeTranscriptWithContext (line 8) | function writeTranscriptWithContext(filePath, contextWindow, inputTokens) { function writeSubagentTrackingState (line 15) | function writeSubagentTrackingState(tempDir, agents) { function runScript (line 276) | function runScript(input) { function runScript (line 509) | function runScript(input) { FILE: dist/hooks/plugin-patterns/index.d.ts type FormatConfig (line 16) | interface FormatConfig { type LintConfig (line 39) | interface LintConfig { type CommitConfig (line 58) | interface CommitConfig { type PreCommitResult (line 96) | interface PreCommitResult { FILE: dist/hooks/plugin-patterns/index.js function isValidFilePath (line 21) | function isValidFilePath(filePath) { constant DEFAULT_FORMATTERS (line 34) | const DEFAULT_FORMATTERS = { function getFormatter (line 50) | function getFormatter(ext) { function isFormatterAvailable (line 56) | function isFormatterAvailable(command) { function formatFile (line 65) | function formatFile(filePath) { constant DEFAULT_LINTERS (line 87) | const DEFAULT_LINTERS = { function getLinter (line 99) | function getLinter(ext) { function lintFile (line 105) | function lintFile(filePath) { constant DEFAULT_COMMIT_TYPES (line 130) | const DEFAULT_COMMIT_TYPES = [ constant CONVENTIONAL_COMMIT_REGEX (line 143) | const CONVENTIONAL_COMMIT_REGEX = /^(feat|fix|docs|style|refactor|perf|t... function validateCommitMessage (line 147) | function validateCommitMessage(message, config) { function runTypeCheck (line 192) | function runTypeCheck(directory) { function runTests (line 214) | function runTests(directory) { function runLint (line 246) | function runLint(directory) { function runPreCommitChecks (line 270) | function runPreCommitChecks(directory, commitMessage) { function getPreCommitReminderMessage (line 312) | function getPreCommitReminderMessage(result) { function getAutoFormatMessage (line 335) | function getAutoFormatMessage(filePath, result) { FILE: dist/hooks/pre-compact/index.d.ts type PreCompactInput (line 11) | interface PreCompactInput { type CompactCheckpoint (line 20) | interface CompactCheckpoint { type HookOutput (line 69) | interface HookOutput { FILE: dist/hooks/pre-compact/index.js constant CHECKPOINT_DIR (line 19) | const CHECKPOINT_DIR = "checkpoints"; function getCheckpointPath (line 42) | function getCheckpointPath(directory) { function exportWisdomToNotepad (line 52) | async function exportWisdomToNotepad(directory) { function saveModeSummary (line 96) | async function saveModeSummary(directory) { function readTodoSummary (line 159) | function readTodoSummary(directory) { function getActiveJobsSummary (line 190) | async function getActiveJobsSummary(directory) { function createCompactCheckpoint (line 227) | async function createCompactCheckpoint(directory, trigger) { function formatCompactSummary (line 247) | function formatCompactSummary(checkpoint) { function doProcessPreCompact (line 336) | async function doProcessPreCompact(input) { function processPreCompact (line 380) | async function processPreCompact(input) { function isCompactionInProgress (line 415) | function isCompactionInProgress(directory) { function getCompactionQueueDepth (line 422) | function getCompactionQueueDepth(directory) { FILE: dist/hooks/preemptive-compaction/constants.js constant DEFAULT_THRESHOLD (line 11) | const DEFAULT_THRESHOLD = 0.85; constant CRITICAL_THRESHOLD (line 15) | const CRITICAL_THRESHOLD = 0.95; constant MIN_TOKENS_FOR_COMPACTION (line 19) | const MIN_TOKENS_FOR_COMPACTION = 50_000; constant COMPACTION_COOLDOWN_MS (line 23) | const COMPACTION_COOLDOWN_MS = 60_000; constant MAX_WARNINGS (line 27) | const MAX_WARNINGS = 3; constant CLAUDE_DEFAULT_CONTEXT_LIMIT (line 31) | const CLAUDE_DEFAULT_CONTEXT_LIMIT = process.env.ANTHROPIC_1M_CONTEXT ==... constant CHARS_PER_TOKEN (line 38) | const CHARS_PER_TOKEN = 4; constant CONTEXT_WARNING_MESSAGE (line 42) | const CONTEXT_WARNING_MESSAGE = `CONTEXT WINDOW WARNING - APPROACHING LIMIT constant CONTEXT_CRITICAL_MESSAGE (line 66) | const CONTEXT_CRITICAL_MESSAGE = `CRITICAL: CONTEXT WINDOW ALMOST FULL constant COMPACTION_SUCCESS_MESSAGE (line 89) | const COMPACTION_SUCCESS_MESSAGE = `Context compacted successfully. Sess... FILE: dist/hooks/preemptive-compaction/index.js constant DEBUG (line 17) | const DEBUG = process.env.PREEMPTIVE_COMPACTION_DEBUG === '1'; constant DEBUG_FILE (line 18) | const DEBUG_FILE = path.join(tmpdir(), 'preemptive-compaction-debug.log'); constant RAPID_FIRE_DEBOUNCE_MS (line 27) | const RAPID_FIRE_DEBOUNCE_MS = 500; function debugLog (line 33) | function debugLog(...args) { function _cleanupSessionStates (line 48) | function _cleanupSessionStates() { function estimateTokens (line 69) | function estimateTokens(text) { function analyzeContextUsage (line 75) | function analyzeContextUsage(content, config) { function getSessionState (line 101) | function getSessionState(sessionId) { function shouldShowWarning (line 116) | function shouldShowWarning(sessionId, config) { function recordWarning (line 144) | function recordWarning(sessionId) { function createPreemptiveCompactionHook (line 155) | function createPreemptiveCompactionHook(config) { function getSessionTokenEstimate (line 254) | function getSessionTokenEstimate(sessionId) { function resetSessionTokenEstimate (line 261) | function resetSessionTokenEstimate(sessionId) { function clearRapidFireDebounce (line 273) | function clearRapidFireDebounce(sessionId) { FILE: dist/hooks/preemptive-compaction/types.d.ts type PreemptiveCompactionState (line 11) | interface PreemptiveCompactionState { type TokenInfo (line 22) | interface TokenInfo { type ModelLimits (line 38) | interface ModelLimits { type ContextUsageResult (line 47) | interface ContextUsageResult { type PreemptiveCompactionConfig (line 62) | interface PreemptiveCompactionConfig { FILE: dist/hooks/project-memory/__tests__/formatter.test.js constant NOW (line 7) | const NOW = Date.parse("2026-03-24T15:00:00Z"); FILE: dist/hooks/project-memory/constants.js constant MEMORY_FILE (line 4) | const MEMORY_FILE = 'project-memory.json'; constant MEMORY_DIR (line 5) | const MEMORY_DIR = '.omc'; constant CACHE_EXPIRY_MS (line 6) | const CACHE_EXPIRY_MS = 24 * 60 * 60 * 1000; constant SCHEMA_VERSION (line 7) | const SCHEMA_VERSION = '1.0.0'; constant CONFIG_PATTERNS (line 8) | const CONFIG_PATTERNS = [ constant FRAMEWORK_PATTERNS (line 45) | const FRAMEWORK_PATTERNS = { constant MAIN_DIRECTORIES (line 92) | const MAIN_DIRECTORIES = [ constant BUILD_COMMAND_PATTERNS (line 110) | const BUILD_COMMAND_PATTERNS = [ constant TEST_COMMAND_PATTERNS (line 122) | const TEST_COMMAND_PATTERNS = [ FILE: dist/hooks/project-memory/detector.js function detectProjectEnvironment (line 12) | async function detectProjectEnvironment(projectRoot) { function detectTechStack (line 37) | async function detectTechStack(projectRoot) { function detectBuildInfo (line 105) | async function detectBuildInfo(projectRoot) { function detectConventions (line 185) | async function detectConventions(projectRoot) { function detectStructure (line 278) | async function detectStructure(projectRoot) { function fileExists (line 330) | async function fileExists(filePath) { function extractVersion (line 342) | async function extractVersion(filePath, _language) { function detectFrameworksFromPackageJson (line 370) | async function detectFrameworksFromPackageJson(filePath) { function detectFrameworksFromCargoToml (line 394) | async function detectFrameworksFromCargoToml(filePath) { function detectFrameworksFromPyproject (line 418) | async function detectFrameworksFromPyproject(filePath) { function detectRuntime (line 442) | async function detectRuntime(filePath) { function detectGitBranch (line 459) | async function detectGitBranch(projectRoot) { FILE: dist/hooks/project-memory/directive-detector.js constant DIRECTIVE_PATTERNS (line 8) | const DIRECTIVE_PATTERNS = [ function detectDirectivesFromMessage (line 36) | function detectDirectivesFromMessage(message) { function isPriorityDirective (line 61) | function isPriorityDirective(text) { function inferDirectiveFromPattern (line 68) | function inferDirectiveFromPattern(commandHistory, threshold = 3) { function normalizeCommand (line 98) | function normalizeCommand(cmd) { function addDirective (line 105) | function addDirective(directives, newDirective) { function formatDirectivesForContext (line 127) | function formatDirectivesForContext(directives) { FILE: dist/hooks/project-memory/directory-mapper.js constant DIRECTORY_PURPOSES (line 10) | const DIRECTORY_PURPOSES = { function mapDirectoryStructure (line 55) | async function mapDirectoryStructure(projectRoot) { function countFiles (line 122) | async function countFiles(dirPath) { function getKeyFiles (line 134) | async function getKeyFiles(dirPath, limit) { function updateDirectoryAccess (line 151) | function updateDirectoryAccess(directoryMap, dirPath) { FILE: dist/hooks/project-memory/formatter.js constant SUMMARY_CHAR_BUDGET (line 7) | const SUMMARY_CHAR_BUDGET = 650; constant MAX_HOT_PATH_ITEMS (line 8) | const MAX_HOT_PATH_ITEMS = 3; constant MAX_DIRECTIVE_ITEMS (line 9) | const MAX_DIRECTIVE_ITEMS = 3; constant MAX_LEARNING_ITEMS (line 10) | const MAX_LEARNING_ITEMS = 3; function formatContextSummary (line 15) | function formatContextSummary(memory, context = {}) { function formatFullContext (line 27) | function formatFullContext(memory) { function formatEnvironmentTier (line 100) | function formatEnvironmentTier(memory) { function formatHotPathsTier (line 137) | function formatHotPathsTier(memory, context) { function formatDirectivesTier (line 148) | function formatDirectivesTier(memory) { function formatLearningsTier (line 162) | function formatLearningsTier(memory, context) { function createBoundedTierWriter (line 175) | function createBoundedTierWriter(lines) { function trimToBudget (line 186) | function trimToBudget(summary, budget) { function scoreDirective (line 192) | function scoreDirective(directive) { function scoreLearning (line 196) | function scoreLearning(note, context) { function normalizeScopePath (line 213) | function normalizeScopePath(workingDirectory) { function getPrimaryFramework (line 230) | function getPrimaryFramework(frameworks) { FILE: dist/hooks/project-memory/hot-path-tracker.js constant MAX_HOT_PATHS (line 6) | const MAX_HOT_PATHS = 50; function trackAccess (line 10) | function trackAccess(hotPaths, filePath, projectRoot, type) { function shouldIgnorePath (line 36) | function shouldIgnorePath(relativePath) { function getTopHotPaths (line 54) | function getTopHotPaths(hotPaths, limit = 10, context) { function decayHotPaths (line 65) | function decayHotPaths(hotPaths) { function scoreHotPath (line 81) | function scoreHotPath(hotPath, scopePath, now) { function getScopeAffinityScore (line 89) | function getScopeAffinityScore(hotPath, scopePath) { function normalizeScopePath (line 112) | function normalizeScopePath(workingDirectory) { FILE: dist/hooks/project-memory/index.js constant MAX_SESSIONS (line 17) | const MAX_SESSIONS = 100; function registerProjectMemoryContext (line 18) | async function registerProjectMemoryContext(sessionId, workingDirectory) { function clearProjectMemorySession (line 77) | function clearProjectMemorySession(sessionId) { function rescanProjectEnvironment (line 80) | async function rescanProjectEnvironment(projectRoot) { function getScopeKey (line 90) | function getScopeKey(projectRoot, workingDirectory) { FILE: dist/hooks/project-memory/learner.js function withMutex (line 19) | function withMutex(projectRoot, fn) { function learnFromToolOutput (line 36) | async function learnFromToolOutput(toolName, toolInput, toolOutput, proj... function isBuildCommand (line 127) | function isBuildCommand(command) { function isTestCommand (line 133) | function isTestCommand(command) { function extractEnvironmentHints (line 140) | function extractEnvironmentHints(output) { function addCustomNote (line 204) | async function addCustomNote(projectRoot, category, content) { FILE: dist/hooks/project-memory/pre-compact.d.ts type PreCompactInput (line 5) | interface PreCompactInput { type PreCompactOutput (line 14) | interface PreCompactOutput { FILE: dist/hooks/project-memory/pre-compact.js function processPreCompact (line 12) | async function processPreCompact(input) { FILE: dist/hooks/project-memory/storage.js function getMemoryPath (line 14) | function getMemoryPath(projectRoot) { function loadProjectMemory (line 21) | async function loadProjectMemory(projectRoot) { function saveProjectMemory (line 41) | async function saveProjectMemory(projectRoot, memory) { constant MEMORY_LOCK_OPTS (line 56) | const MEMORY_LOCK_OPTS = { timeoutMs: 5000 }; function withProjectMemoryLock (line 65) | async function withProjectMemoryLock(projectRoot, fn) { function shouldRescan (line 72) | function shouldRescan(memory) { function deleteProjectMemory (line 80) | async function deleteProjectMemory(projectRoot) { FILE: dist/hooks/project-memory/types.d.ts type ProjectMemory (line 5) | interface ProjectMemory { type TechStack (line 18) | interface TechStack { type LanguageDetection (line 24) | interface LanguageDetection { type FrameworkDetection (line 30) | interface FrameworkDetection { type BuildInfo (line 35) | interface BuildInfo { type CodeConventions (line 42) | interface CodeConventions { type ProjectStructure (line 48) | interface ProjectStructure { type GitBranchPattern (line 54) | interface GitBranchPattern { type CustomNote (line 58) | interface CustomNote { type ConfigPattern (line 64) | interface ConfigPattern { type DirectoryInfo (line 75) | interface DirectoryInfo { type HotPath (line 85) | interface HotPath { type UserDirective (line 94) | interface UserDirective { type ProjectMemoryContext (line 101) | interface ProjectMemoryContext { FILE: dist/hooks/ralph/loop.d.ts type RalphLoopState (line 14) | interface RalphLoopState { type RalphCriticMode (line 39) | type RalphCriticMode = typeof RALPH_CRITIC_MODES[number]; type RalphLoopOptions (line 40) | interface RalphLoopOptions { type RalphLoopHook (line 48) | interface RalphLoopHook { FILE: dist/hooks/ralph/loop.js function isUltraQAActive (line 21) | function isUltraQAActive(directory, sessionId) { constant RALPH_CRITIC_MODES (line 52) | const RALPH_CRITIC_MODES = ['architect', 'critic', 'codex']; constant DEFAULT_MAX_ITERATIONS (line 53) | const DEFAULT_MAX_ITERATIONS = 10; constant DEFAULT_RALPH_CRITIC_MODE (line 54) | const DEFAULT_RALPH_CRITIC_MODE = 'architect'; function readRalphState (line 58) | function readRalphState(directory, sessionId) { function writeRalphState (line 72) | function writeRalphState(directory, state, sessionId) { function clearRalphState (line 78) | function clearRalphState(directory, sessionId) { function clearLinkedUltraworkState (line 84) | function clearLinkedUltraworkState(directory, sessionId) { function incrementRalphIteration (line 95) | function incrementRalphIteration(directory, sessionId) { function detectNoPrdFlag (line 112) | function detectNoPrdFlag(prompt) { function stripNoPrdFlag (line 118) | function stripNoPrdFlag(prompt) { function normalizeRalphCriticMode (line 127) | function normalizeRalphCriticMode(value) { function detectCriticModeFlag (line 139) | function detectCriticModeFlag(prompt) { function stripCriticModeFlag (line 146) | function stripCriticModeFlag(prompt) { function createRalphLoopHook (line 155) | function createRalphLoopHook(directory) { function hasPrd (line 231) | function hasPrd(directory) { function getPrdCompletionStatus (line 238) | function getPrdCompletionStatus(directory) { function getRalphContext (line 260) | function getRalphContext(directory) { function setCurrentStory (line 281) | function setCurrentStory(directory, storyId) { function enablePrdMode (line 292) | function enablePrdMode(directory) { function recordStoryProgress (line 305) | function recordStoryProgress(directory, storyId, implementation, filesCh... function recordPattern (line 316) | function recordPattern(directory, pattern) { function getTeamPhaseDirective (line 326) | function getTeamPhaseDirective(directory, sessionId) { function shouldCompleteByPrd (line 353) | function shouldCompleteByPrd(directory) { FILE: dist/hooks/ralph/prd.d.ts type UserStory (line 14) | interface UserStory { type PRD (line 30) | interface PRD { type PRDStatus (line 40) | interface PRDStatus { type UserStoryInput (line 99) | type UserStoryInput = Omit & { FILE: dist/hooks/ralph/prd.js constant PRD_FILENAME (line 20) | const PRD_FILENAME = 'prd.json'; constant PRD_EXAMPLE_FILENAME (line 21) | const PRD_EXAMPLE_FILENAME = 'prd.example.json'; function getPrdPath (line 28) | function getPrdPath(directory) { function getOmcPrdPath (line 34) | function getOmcPrdPath(directory) { function findPrdPath (line 40) | function findPrdPath(directory) { function readPrd (line 54) | function readPrd(directory) { function writePrd (line 75) | function writePrd(directory, prd) { function getPrdStatus (line 104) | function getPrdStatus(prd) { function markStoryComplete (line 122) | function markStoryComplete(directory, storyId, notes) { function markStoryIncomplete (line 140) | function markStoryIncomplete(directory, storyId, notes) { function getStory (line 158) | function getStory(directory, storyId) { function getNextStory (line 168) | function getNextStory(directory) { function createPrd (line 179) | function createPrd(project, branchName, description, stories) { function createSimplePrd (line 194) | function createSimplePrd(project, branchName, taskDescription) { function initPrd (line 213) | function initPrd(directory, project, branchName, description, stories) { function formatPrdStatus (line 225) | function formatPrdStatus(status) { function formatStory (line 242) | function formatStory(story) { function formatPrd (line 263) | function formatPrd(prd) { function formatNextStoryPrompt (line 288) | function formatNextStoryPrompt(story) { FILE: dist/hooks/ralph/progress.d.ts type ProgressEntry (line 12) | interface ProgressEntry { type CodebasePattern (line 24) | interface CodebasePattern { type ProgressLog (line 30) | interface ProgressLog { FILE: dist/hooks/ralph/progress.js constant PROGRESS_FILENAME (line 18) | const PROGRESS_FILENAME = 'progress.txt'; constant PATTERNS_HEADER (line 19) | const PATTERNS_HEADER = '## Codebase Patterns'; constant ENTRY_SEPARATOR (line 20) | const ENTRY_SEPARATOR = '---'; function getProgressPath (line 27) | function getProgressPath(directory) { function getOmcProgressPath (line 33) | function getOmcProgressPath(directory) { function findProgressPath (line 39) | function findProgressPath(directory) { function readProgressRaw (line 53) | function readProgressRaw(directory) { function parseProgress (line 68) | function parseProgress(content) { function readProgress (line 159) | function readProgress(directory) { function initProgress (line 172) | function initProgress(directory) { function appendProgress (line 204) | function appendProgress(directory, entry) { function addPattern (line 256) | function addPattern(directory, pattern, retryCount = 0) { function getPatterns (line 298) | function getPatterns(directory) { function getRecentLearnings (line 308) | function getRecentLearnings(directory, limit = 5) { function formatPatternsForContext (line 326) | function formatPatternsForContext(directory) { function formatProgressForContext (line 348) | function formatProgressForContext(directory, limit = 3) { function formatLearningsForContext (line 376) | function formatLearningsForContext(directory) { function getProgressContext (line 400) | function getProgressContext(directory) { FILE: dist/hooks/ralph/verifier.d.ts type VerificationState (line 16) | interface VerificationState { FILE: dist/hooks/ralph/verifier.js constant DEFAULT_MAX_VERIFICATION_ATTEMPTS (line 18) | const DEFAULT_MAX_VERIFICATION_ATTEMPTS = 3; constant DEFAULT_RALPH_CRITIC_MODE (line 19) | const DEFAULT_RALPH_CRITIC_MODE = 'architect'; function getCriticMode (line 20) | function getCriticMode(mode) { function getCriticLabel (line 23) | function getCriticLabel(mode) { function getVerificationAgentStep (line 33) | function getVerificationAgentStep(mode) { function getVerificationStatePath (line 57) | function getVerificationStatePath(directory, sessionId) { function readVerificationState (line 67) | function readVerificationState(directory, sessionId) { function writeVerificationState (line 82) | function writeVerificationState(directory, state, sessionId) { function clearVerificationState (line 110) | function clearVerificationState(directory, sessionId) { function startVerification (line 126) | function startVerification(directory, completionClaim, originalTask, cri... function recordArchitectFeedback (line 142) | function recordArchitectFeedback(directory, approved, feedback, sessionI... function getArchitectVerificationPrompt (line 168) | function getArchitectVerificationPrompt(state, currentStory) { function getArchitectRejectionContinuationPrompt (line 220) | function getArchitectRejectionContinuationPrompt(state) { function detectArchitectApproval (line 252) | function detectArchitectApproval(text) { function detectArchitectRejection (line 258) | function detectArchitectRejection(text) { FILE: dist/hooks/recovery/__tests__/storage.test.js constant SYNTHETIC_THINKING_CONTENT (line 5) | const SYNTHETIC_THINKING_CONTENT = '[Synthetic thinking block inserted t... FILE: dist/hooks/recovery/constants.js function getClaudeCodeStorageDir (line 12) | function getClaudeCodeStorageDir() { constant CLAUDE_CODE_STORAGE (line 15) | const CLAUDE_CODE_STORAGE = getClaudeCodeStorageDir(); constant MESSAGE_STORAGE (line 16) | const MESSAGE_STORAGE = join(CLAUDE_CODE_STORAGE, 'message'); constant PART_STORAGE (line 17) | const PART_STORAGE = join(CLAUDE_CODE_STORAGE, 'part'); constant DEBUG (line 21) | const DEBUG = process.env.RECOVERY_DEBUG === '1' || constant DEBUG_FILE (line 24) | const DEBUG_FILE = join(tmpdir(), 'recovery-debug.log'); constant THINKING_TYPES (line 28) | const THINKING_TYPES = new Set(['thinking', 'redacted_thinking', 'reason... constant META_TYPES (line 29) | const META_TYPES = new Set(['step-start', 'step-finish']); constant CONTENT_TYPES (line 30) | const CONTENT_TYPES = new Set(['text', 'tool', 'tool_use', 'tool_result']); constant PLACEHOLDER_TEXT (line 34) | const PLACEHOLDER_TEXT = '[user interrupted]'; constant CONTEXT_LIMIT_RECOVERY_MESSAGE (line 43) | const CONTEXT_LIMIT_RECOVERY_MESSAGE = `CONTEXT WINDOW LIMIT REACHED - I... constant CONTEXT_LIMIT_SHORT_MESSAGE (line 72) | const CONTEXT_LIMIT_SHORT_MESSAGE = `Context window limit reached. Pleas... constant NON_EMPTY_CONTENT_RECOVERY_MESSAGE (line 76) | const NON_EMPTY_CONTENT_RECOVERY_MESSAGE = `API ERROR: Non-empty content... constant TRUNCATION_APPLIED_MESSAGE (line 91) | const TRUNCATION_APPLIED_MESSAGE = `CONTEXT OPTIMIZATION APPLIED constant RECOVERY_FAILED_MESSAGE (line 105) | const RECOVERY_FAILED_MESSAGE = `CONTEXT RECOVERY FAILED constant TOKEN_LIMIT_PATTERNS (line 120) | const TOKEN_LIMIT_PATTERNS = [ constant TOKEN_LIMIT_KEYWORDS (line 130) | const TOKEN_LIMIT_KEYWORDS = [ constant EDIT_ERROR_PATTERNS (line 148) | const EDIT_ERROR_PATTERNS = [ constant EDIT_ERROR_REMINDER (line 159) | const EDIT_ERROR_REMINDER = ` constant RECOVERY_MESSAGES (line 179) | const RECOVERY_MESSAGES = { constant ERROR_PATTERNS (line 208) | const ERROR_PATTERNS = { FILE: dist/hooks/recovery/context-window.js function debugLog (line 10) | function debugLog(...args) { constant STATE_TTL (line 19) | const STATE_TTL = 300_000; function clearSessionState (line 23) | function clearSessionState(sessionId) { function gcSessionStates (line 30) | function gcSessionStates() { constant THINKING_BLOCK_ERROR_PATTERNS (line 41) | const THINKING_BLOCK_ERROR_PATTERNS = [ function isThinkingBlockError (line 52) | function isThinkingBlockError(text) { function isTokenLimitError (line 58) | function isTokenLimitError(text) { function extractTokensFromMessage (line 68) | function extractTokensFromMessage(message) { function extractMessageIndex (line 84) | function extractMessageIndex(text) { function parseTokenLimitError (line 94) | function parseTokenLimitError(err) { function containsTokenLimitError (line 238) | function containsTokenLimitError(text) { function getSessionState (line 244) | function getSessionState(sessionId) { function generateRecoveryMessage (line 266) | function generateRecoveryMessage(parsed, state, config) { function handleContextWindowRecovery (line 314) | function handleContextWindowRecovery(sessionId, error, config) { function detectContextLimitError (line 339) | function detectContextLimitError(text) { FILE: dist/hooks/recovery/edit-error.js function detectEditError (line 11) | function detectEditError(output) { function injectEditErrorRecovery (line 18) | function injectEditErrorRecovery(output) { function handleEditErrorRecovery (line 27) | function handleEditErrorRecovery(toolName, output) { function processEditOutput (line 50) | function processEditOutput(toolName, output) { FILE: dist/hooks/recovery/index.js function handleRecovery (line 35) | async function handleRecovery(input) { function detectRecoverableError (line 68) | function detectRecoverableError(error) { function detectEditErrorInOutput (line 92) | function detectEditErrorInOutput(output) { function createRecoveryHook (line 100) | function createRecoveryHook(config) { function parseContextLimitError (line 145) | function parseContextLimitError(error) { function detectContextLimitErrorInText (line 151) | function detectContextLimitErrorInText(text) { function detectEditErrorInText (line 157) | function detectEditErrorInText(text) { function isSessionRecoverable (line 163) | function isSessionRecoverable(error) { FILE: dist/hooks/recovery/session-recovery.d.ts type RecoveryErrorType (line 11) | type RecoveryErrorType = 'tool_result_missing' | 'thinking_block_order' ... FILE: dist/hooks/recovery/session-recovery.js function debugLog (line 13) | function debugLog(...args) { function getErrorMessage (line 24) | function getErrorMessage(error) { function extractMessageIndex (line 54) | function extractMessageIndex(error) { function detectErrorType (line 62) | function detectErrorType(error) { function isRecoverableError (line 88) | function isRecoverableError(error) { function extractToolUseIds (line 94) | function extractToolUseIds(parts) { function _recoverToolResultMissing (line 102) | async function _recoverToolResultMissing(sessionID, failedAssistantMsg) { function recoverThinkingBlockOrder (line 132) | async function recoverThinkingBlockOrder(sessionID, _failedAssistantMsg,... function recoverThinkingDisabledViolation (line 159) | async function recoverThinkingDisabledViolation(sessionID, _failedAssist... function recoverEmptyContentMessage (line 178) | async function recoverEmptyContentMessage(sessionID, failedAssistantMsg,... function handleSessionRecovery (line 233) | async function handleSessionRecovery(sessionID, error, failedMessage, co... FILE: dist/hooks/recovery/storage.js constant SYNTHETIC_THINKING_CONTENT (line 9) | const SYNTHETIC_THINKING_CONTENT = '[Synthetic thinking block inserted t... function generatePartId (line 13) | function generatePartId() { function getMessageDir (line 21) | function getMessageDir(sessionID) { function readMessages (line 39) | function readMessages(sessionID) { function readParts (line 66) | function readParts(messageID) { function hasContent (line 87) | function hasContent(part) { function messageHasContent (line 107) | function messageHasContent(messageID) { function injectTextPart (line 114) | function injectTextPart(sessionID, messageID, text) { function findEmptyMessages (line 139) | function findEmptyMessages(sessionID) { function findEmptyMessageByIndex (line 152) | function findEmptyMessageByIndex(sessionID, targetIndex) { function findMessagesWithThinkingBlocks (line 178) | function findMessagesWithThinkingBlocks(sessionID) { function findMessagesWithThinkingOnly (line 195) | function findMessagesWithThinkingOnly(sessionID) { function findMessagesWithOrphanThinking (line 215) | function findMessagesWithOrphanThinking(sessionID) { function prependThinkingPart (line 240) | function prependThinkingPart(sessionID, messageID) { function stripThinkingParts (line 265) | function stripThinkingParts(messageID) { function replaceEmptyTextParts (line 291) | function replaceEmptyTextParts(messageID, replacementText = PLACEHOLDER_... function findMessagesWithEmptyTextParts (line 322) | function findMessagesWithEmptyTextParts(sessionID) { function findMessageByIndexNeedingThinking (line 342) | function findMessageByIndexNeedingThinking(sessionID, targetIndex) { FILE: dist/hooks/recovery/types.d.ts type RecoveryErrorType (line 9) | type RecoveryErrorType = 'context_window_limit' | 'edit_error' | 'tool_r... type RecoveryResult (line 13) | interface RecoveryResult { type ParsedTokenLimitError (line 26) | interface ParsedTokenLimitError { type RetryState (line 45) | interface RetryState { type TruncateState (line 54) | interface TruncateState { type MessageData (line 63) | interface MessageData { type StoredMessageMeta (line 91) | interface StoredMessageMeta { type StoredTextPart (line 105) | interface StoredTextPart { type StoredToolPart (line 117) | interface StoredToolPart { type StoredReasoningPart (line 134) | interface StoredReasoningPart { type StoredPart (line 144) | type StoredPart = StoredTextPart | StoredToolPart | StoredReasoningPart | { type RecoveryConfig (line 154) | interface RecoveryConfig { FILE: dist/hooks/recovery/types.js constant RETRY_CONFIG (line 9) | const RETRY_CONFIG = { constant TRUNCATE_CONFIG (line 22) | const TRUNCATE_CONFIG = { FILE: dist/hooks/rules-injector/constants.js constant OMC_STORAGE_DIR (line 11) | const OMC_STORAGE_DIR = join(homedir(), '.omc'); constant RULES_INJECTOR_STORAGE (line 12) | const RULES_INJECTOR_STORAGE = join(OMC_STORAGE_DIR, 'rules-injector'); constant PROJECT_MARKERS (line 14) | const PROJECT_MARKERS = [ constant PROJECT_RULE_SUBDIRS (line 23) | const PROJECT_RULE_SUBDIRS = [ constant PROJECT_RULE_FILES (line 29) | const PROJECT_RULE_FILES = [ constant GITHUB_INSTRUCTIONS_PATTERN (line 33) | const GITHUB_INSTRUCTIONS_PATTERN = /\.instructions\.md$/; constant USER_RULE_DIR (line 35) | const USER_RULE_DIR = '.claude/rules'; constant RULE_EXTENSIONS (line 37) | const RULE_EXTENSIONS = ['.md', '.mdc']; constant TRACKED_TOOLS (line 39) | const TRACKED_TOOLS = ['read', 'write', 'edit', 'multiedit']; FILE: dist/hooks/rules-injector/finder.js function isGitHubInstructionsDir (line 14) | function isGitHubInstructionsDir(dir) { function isValidRuleFile (line 20) | function isValidRuleFile(fileName, dir) { function findProjectRoot (line 30) | function findProjectRoot(startPath) { function findRuleFilesRecursive (line 56) | function findRuleFilesRecursive(dir, results) { function safeRealpathSync (line 80) | function safeRealpathSync(filePath) { function calculateDistance (line 91) | function calculateDistance(rulePath, currentFile, projectRoot) { function findRuleFiles (line 129) | function findRuleFiles(projectRoot, homeDir, currentFile) { FILE: dist/hooks/rules-injector/index.js function createRulesInjectorHook (line 31) | function createRulesInjectorHook(workingDirectory) { function getRulesForPath (line 182) | function getRulesForPath(filePath, workingDirectory) { FILE: dist/hooks/rules-injector/matcher.js function matchGlob (line 14) | function matchGlob(pattern, filePath) { function shouldApplyRule (line 28) | function shouldApplyRule(metadata, currentFilePath, projectRoot) { function isDuplicateByRealPath (line 55) | function isDuplicateByRealPath(realPath, cache) { function createContentHash (line 61) | function createContentHash(content) { function isDuplicateByContentHash (line 67) | function isDuplicateByContentHash(hash, cache) { FILE: dist/hooks/rules-injector/parser.js function parseRuleFrontmatter (line 18) | function parseRuleFrontmatter(content) { function parseYamlContent (line 37) | function parseYamlContent(yamlContent) { function parseStringValue (line 70) | function parseStringValue(value) { function parseArrayOrStringValue (line 84) | function parseArrayOrStringValue(rawValue, lines, currentIndex) { function parseInlineArray (line 132) | function parseInlineArray(value) { function mergeGlobs (line 174) | function mergeGlobs(existing, newValue) { FILE: dist/hooks/rules-injector/storage.js function getStoragePath (line 14) | function getStoragePath(sessionId) { function loadInjectedRules (line 20) | function loadInjectedRules(sessionId) { function saveInjectedRules (line 40) | function saveInjectedRules(sessionId, data) { function clearInjectedRules (line 55) | function clearInjectedRules(sessionId) { FILE: dist/hooks/rules-injector/types.d.ts type RuleMetadata (line 13) | interface RuleMetadata { type RuleInfo (line 24) | interface RuleInfo { type RuleFileCandidate (line 45) | interface RuleFileCandidate { type InjectedRulesData (line 60) | interface InjectedRulesData { type RuleToInject (line 73) | interface RuleToInject { type MatchResult (line 86) | interface MatchResult { type RuleFrontmatterResult (line 95) | interface RuleFrontmatterResult { FILE: dist/hooks/session-end/__tests__/callbacks.test.js function createTestMetrics (line 25) | function createTestMetrics(overrides) { FILE: dist/hooks/session-end/__tests__/session-duration.test.js function stateDir (line 13) | function stateDir() { function writeState (line 16) | function writeState(filename, state) { function makeInput (line 21) | function makeInput(overrides) { FILE: dist/hooks/session-end/callbacks.d.ts type TriggerStopCallbacksOptions (line 12) | interface TriggerStopCallbacksOptions { FILE: dist/hooks/session-end/callbacks.js function formatSessionSummary (line 14) | function formatSessionSummary(metrics, format = 'markdown') { function normalizeDiscordTagList (line 33) | function normalizeDiscordTagList(tagList) { function normalizeTelegramTagList (line 54) | function normalizeTelegramTagList(tagList) { function prefixMessageWithTags (line 63) | function prefixMessageWithTags(message, tags) { function interpolatePath (line 72) | function interpolatePath(pathTemplate, sessionId) { function writeToFile (line 87) | async function writeToFile(config, content, sessionId) { function sendTelegram (line 105) | async function sendTelegram(config, message) { function sendDiscord (line 141) | async function sendDiscord(config, message) { function triggerStopCallbacks (line 188) | async function triggerStopCallbacks(metrics, _input, options = {}) { FILE: dist/hooks/session-end/index.d.ts type SessionEndInput (line 1) | interface SessionEndInput { type SessionMetrics (line 9) | interface SessionMetrics { type HookOutput (line 19) | interface HookOutput { FILE: dist/hooks/session-end/index.js function hasExplicitNotificationConfig (line 12) | function hasExplicitNotificationConfig(profileName) { function getLegacyPlatformsCoveredByNotifications (line 25) | function getLegacyPlatformsCoveredByNotifications(enabledPlatforms) { function getAgentCounts (line 38) | function getAgentCounts(directory) { function getModesUsed (line 57) | function getModesUsed(directory) { function getSessionStartTime (line 86) | function getSessionStartTime(directory, sessionId) { function recordSessionMetrics (line 133) | function recordSessionMetrics(directory, input) { function cleanupTransientState (line 163) | function cleanupTransientState(directory) { constant PYTHON_REPL_TOOL_NAMES (line 295) | const PYTHON_REPL_TOOL_NAMES = new Set(['python_repl', 'mcp__t__python_r... function extractPythonReplSessionIdsFromTranscript (line 300) | async function extractPythonReplSessionIdsFromTranscript(transcriptPath) { function cleanupModeStates (line 357) | function cleanupModeStates(directory, sessionId) { function cleanupMissionState (line 428) | function cleanupMissionState(directory, sessionId) { function extractTeamNameFromState (line 463) | function extractTeamNameFromState(state) { function findSessionOwnedTeams (line 471) | async function findSessionOwnedTeams(directory, sessionId) { function cleanupSessionOwnedTeams (line 505) | async function cleanupSessionOwnedTeams(directory, sessionId) { function exportSessionSummary (line 557) | function exportSessionSummary(directory, metrics) { function processSessionEnd (line 583) | async function processSessionEnd(input) { function handleSessionEnd (line 680) | async function handleSessionEnd(input) { FILE: dist/hooks/setup/__tests__/prune.test.js function writeStateFile (line 17) | function writeStateFile(name, content, ageDays = 0) { FILE: dist/hooks/setup/__tests__/windows-patch.test.js function makeHooksJson (line 16) | function makeHooksJson(commands) { FILE: dist/hooks/setup/index.d.ts type SetupInput (line 9) | interface SetupInput { type SetupResult (line 17) | interface SetupResult { type HookOutput (line 23) | interface HookOutput { FILE: dist/hooks/setup/index.js constant REQUIRED_DIRECTORIES (line 15) | const REQUIRED_DIRECTORIES = [ constant CONFIG_FILES (line 22) | const CONFIG_FILES = [ constant DEFAULT_STATE_MAX_AGE_DAYS (line 25) | const DEFAULT_STATE_MAX_AGE_DAYS = 7; function ensureDirectoryStructure (line 32) | function ensureDirectoryStructure(directory) { function validateConfigFiles (line 51) | function validateConfigFiles(directory) { function setEnvironmentVariables (line 71) | function setEnvironmentVariables() { function patchHooksJsonForWindows (line 103) | function patchHooksJsonForWindows(pluginRoot) { function processSetupInit (line 137) | async function processSetupInit(input) { function pruneOldStateFiles (line 195) | function pruneOldStateFiles(directory, maxAgeDays = DEFAULT_STATE_MAX_AG... function cleanupOrphanedState (line 252) | function cleanupOrphanedState(directory) { function processSetupMaintenance (line 289) | async function processSetupMaintenance(input) { function processSetup (line 332) | async function processSetup(input) { FILE: dist/hooks/setup/types.d.ts type SetupInput (line 4) | interface SetupInput { type SetupResult (line 12) | interface SetupResult { type HookOutput (line 18) | interface HookOutput { FILE: dist/hooks/skill-bridge.cjs function expandTriggers (line 75) | function expandTriggers(triggersLower) { function getCachedLevenshtein (line 105) | function getCachedLevenshtein(str1, str2) { function getSkillMetadataCache (line 122) | function getSkillMetadataCache(projectRoot) { function clearSkillMetadataCache (line 162) | function clearSkillMetadataCache() { function clearLevenshteinCache (line 165) | function clearLevenshteinCache() { function getStateFilePath (line 169) | function getStateFilePath(projectRoot) { function readSessionState (line 172) | function readSessionState(projectRoot) { function writeSessionState (line 183) | function writeSessionState(projectRoot, state) { function getInjectedSkillPaths (line 191) | function getInjectedSkillPaths(sessionId, projectRoot) { function markSkillsInjected (line 200) | function markSkillsInjected(sessionId, paths, projectRoot) { function findSkillFilesRecursive (line 215) | function findSkillFilesRecursive(dir, results, depth = 0) { function safeRealpathSync (line 231) | function safeRealpathSync(filePath) { function isWithinBoundary (line 238) | function isWithinBoundary(realPath, boundary) { function findSkillFiles (line 243) | function findSkillFiles(projectRoot, options) { function parseSkillFile (line 290) | function parseSkillFile(content) { function parseYamlMetadata (line 321) | function parseYamlMetadata(yamlContent) { function parseStringValue (line 369) | function parseStringValue(value) { function parseArrayValue (line 376) | function parseArrayValue(rawValue, lines, currentIndex) { function levenshteinDistance (line 407) | function levenshteinDistance(str1, str2) { function fuzzyMatchTrigger (line 429) | function fuzzyMatchTrigger(prompt, trigger) { function matchSkillsForInjection (line 446) | function matchSkillsForInjection(prompt, projectRoot, sessionId, options... FILE: dist/hooks/skill-state/__tests__/skill-state.test.js function makeTempDir (line 7) | function makeTempDir() { function writeSubagentTrackingState (line 12) | function writeSubagentTrackingState(tempDir, agents) { FILE: dist/hooks/skill-state/index.d.ts type SkillProtectionLevel (line 18) | type SkillProtectionLevel = 'none' | 'light' | 'medium' | 'heavy'; type SkillStateConfig (line 19) | interface SkillStateConfig { type SkillActiveState (line 25) | interface SkillActiveState { FILE: dist/hooks/skill-state/index.js constant PROTECTION_CONFIGS (line 23) | const PROTECTION_CONFIGS = { constant SKILL_PROTECTION (line 45) | const SKILL_PROTECTION = { function getSkillProtection (line 105) | function getSkillProtection(skillName, rawSkillName) { function getSkillConfig (line 117) | function getSkillConfig(skillName, rawSkillName) { function readSkillActiveState (line 124) | function readSkillActiveState(directory, sessionId) { function writeSkillActiveState (line 138) | function writeSkillActiveState(directory, skillName, sessionId, rawSkill... function clearSkillActiveState (line 164) | function clearSkillActiveState(directory, sessionId) { function isSkillStateStale (line 170) | function isSkillStateStale(state) { function checkSkillActiveState (line 191) | function checkSkillActiveState(directory, sessionId) { FILE: dist/hooks/subagent-tracker/__tests__/flush-race.test.js function makeState (line 6) | function makeState(overrides = {}) { FILE: dist/hooks/subagent-tracker/flow-tracer.js function recordHookFire (line 11) | function recordHookFire(directory, sessionId, hookName, hookEvent) { function recordHookResult (line 22) | function recordHookResult(directory, sessionId, hookName, hookEvent, dur... function recordKeywordDetected (line 36) | function recordKeywordDetected(directory, sessionId, keyword) { function recordSkillActivated (line 46) | function recordSkillActivated(directory, sessionId, skillName, source) { function recordSkillInvoked (line 57) | function recordSkillInvoked(directory, sessionId, skillName) { function recordModeChange (line 67) | function recordModeChange(directory, sessionId, fromMode, toMode) { FILE: dist/hooks/subagent-tracker/index.d.ts type SubagentInfo (line 11) | interface SubagentInfo { type ToolUsageEntry (line 26) | interface ToolUsageEntry { type ToolTimingStats (line 32) | interface ToolTimingStats { type AgentPerformance (line 39) | interface AgentPerformance { type TokenUsage (line 46) | interface TokenUsage { type SubagentTrackingState (line 52) | interface SubagentTrackingState { type SubagentStartInput (line 59) | interface SubagentStartInput { type SubagentStopInput (line 70) | interface SubagentStopInput { type HookOutput (line 82) | interface HookOutput { type AgentIntervention (line 91) | interface AgentIntervention { type ActiveAgentSnapshot (line 161) | interface ActiveAgentSnapshot { FILE: dist/hooks/subagent-tracker/index.js constant COST_LIMIT_USD (line 17) | const COST_LIMIT_USD = 1.0; constant DEADLOCK_CHECK_THRESHOLD (line 18) | const DEADLOCK_CHECK_THRESHOLD = 3; constant STATE_FILE (line 22) | const STATE_FILE = "subagent-tracking.json"; constant STALE_THRESHOLD_MS (line 23) | const STALE_THRESHOLD_MS = 5 * 60 * 1000; constant MAX_COMPLETED_AGENTS (line 24) | const MAX_COMPLETED_AGENTS = 100; constant LOCK_TIMEOUT_MS (line 25) | const LOCK_TIMEOUT_MS = 5000; constant LOCK_RETRY_MS (line 26) | const LOCK_RETRY_MS = 50; constant WRITE_DEBOUNCE_MS (line 27) | const WRITE_DEBOUNCE_MS = 100; constant MAX_FLUSH_RETRIES (line 28) | const MAX_FLUSH_RETRIES = 3; constant FLUSH_RETRY_BASE_MS (line 29) | const FLUSH_RETRY_BASE_MS = 50; function syncSleep (line 38) | function syncSleep(ms) { function mergeTrackerStates (line 55) | function mergeTrackerStates(diskState, pendingState) { function acquireLock (line 102) | function acquireLock(directory) { function releaseLock (line 175) | function releaseLock(directory) { function getStateFilePath (line 187) | function getStateFilePath(directory) { function readDiskState (line 198) | function readDiskState(directory) { function readTrackingState (line 228) | function readTrackingState(directory) { function writeTrackingStateImmediate (line 238) | function writeTrackingStateImmediate(directory, state) { function executeFlush (line 252) | function executeFlush(directory, pendingState) { function writeTrackingState (line 273) | function writeTrackingState(directory, state) { function flushPendingWrites (line 326) | function flushPendingWrites() { function detectParentMode (line 343) | function detectParentMode(directory) { function getStaleAgents (line 380) | function getStaleAgents(state) { function processSubagentStart (line 397) | function processSubagentStart(input) { function processSubagentStop (line 479) | function processSubagentStop(input) { function cleanupStaleAgents (line 561) | function cleanupStaleAgents(directory) { function getActiveAgentSnapshot (line 588) | function getActiveAgentSnapshot(directory) { function getActiveAgentCount (line 595) | function getActiveAgentCount(directory) { function getAgentsByType (line 601) | function getAgentsByType(directory, agentType) { function getRunningAgents (line 608) | function getRunningAgents(directory) { function getTrackingStats (line 615) | function getTrackingStats(directory) { function recordToolUsage (line 628) | function recordToolUsage(directory, agentId, toolName, success) { function recordToolUsageWithTiming (line 657) | function recordToolUsageWithTiming(directory, agentId, toolName, duratio... function getAgentDashboard (line 686) | function getAgentDashboard(directory) { function getAgentObservatory (line 714) | function getAgentObservatory(directory) { function suggestInterventions (line 776) | function suggestInterventions(directory) { function calculateParallelEfficiency (line 839) | function calculateParallelEfficiency(directory) { function recordFileOwnership (line 856) | function recordFileOwnership(directory, agentId, filePath) { function detectFileConflicts (line 885) | function detectFileConflicts(directory) { function getFileOwnershipMap (line 910) | function getFileOwnershipMap(directory) { function getAgentPerformance (line 928) | function getAgentPerformance(directory, agentId) { function getAllAgentPerformance (line 978) | function getAllAgentPerformance(directory) { function updateTokenUsage (line 988) | function updateTokenUsage(directory, agentId, tokens) { function handleSubagentStart (line 1024) | async function handleSubagentStart(input) { function handleSubagentStop (line 1030) | async function handleSubagentStop(input) { function clearTrackingState (line 1036) | function clearTrackingState(directory) { FILE: dist/hooks/subagent-tracker/session-replay.d.ts type ReplayEventType (line 9) | type ReplayEventType = 'agent_start' | 'agent_stop' | 'tool_start' | 'to... type ReplayEvent (line 10) | interface ReplayEvent { type AgentBreakdown (line 47) | interface AgentBreakdown { type ReplaySummary (line 54) | interface ReplaySummary { FILE: dist/hooks/subagent-tracker/session-replay.js constant REPLAY_PREFIX (line 15) | const REPLAY_PREFIX = 'agent-replay-'; constant MAX_REPLAY_FILES (line 16) | const MAX_REPLAY_FILES = 10; constant MAX_REPLAY_SIZE_BYTES (line 17) | const MAX_REPLAY_SIZE_BYTES = 5 * 1024 * 1024; function getReplayFilePath (line 26) | function getReplayFilePath(directory, sessionId) { function getSessionStartTime (line 38) | function getSessionStartTime(sessionId) { function getElapsedSeconds (line 47) | function getElapsedSeconds(sessionId) { function appendReplayEvent (line 54) | function appendReplayEvent(directory, sessionId, event) { function recordAgentStart (line 82) | function recordAgentStart(directory, sessionId, agentId, agentType, task... function recordAgentStop (line 95) | function recordAgentStop(directory, sessionId, agentId, agentType, succe... function recordToolEvent (line 107) | function recordToolEvent(directory, sessionId, agentId, toolName, eventT... function recordFileTouch (line 119) | function recordFileTouch(directory, sessionId, agentId, filePath) { function recordIntervention (line 129) | function recordIntervention(directory, sessionId, agentId, reason) { function readReplayEvents (line 142) | function readReplayEvents(directory, sessionId) { function detectCycles (line 170) | function detectCycles(sequence) { function getReplaySummary (line 198) | function getReplaySummary(directory, sessionId) { function cleanupReplayFiles (line 357) | function cleanupReplayFiles(directory) { function resetSessionStartTimes (line 387) | function resetSessionStartTimes() { FILE: dist/hooks/task-size-detector/index.d.ts type TaskSize (line 9) | type TaskSize = 'small' | 'medium' | 'large'; type TaskSizeResult (line 10) | interface TaskSizeResult { type TaskSizeThresholds (line 22) | interface TaskSizeThresholds { FILE: dist/hooks/task-size-detector/index.js constant DEFAULT_THRESHOLDS (line 9) | const DEFAULT_THRESHOLDS = { constant ESCAPE_HATCH_PREFIXES (line 17) | const ESCAPE_HATCH_PREFIXES = [ constant SMALL_TASK_SIGNALS (line 30) | const SMALL_TASK_SIGNALS = [ constant LARGE_TASK_SIGNALS (line 55) | const LARGE_TASK_SIGNALS = [ function countWords (line 78) | function countWords(text) { function detectEscapeHatch (line 85) | function detectEscapeHatch(text) { function hasSmallTaskSignals (line 97) | function hasSmallTaskSignals(text) { function hasLargeTaskSignals (line 103) | function hasLargeTaskSignals(text) { function classifyTaskSize (line 117) | function classifyTaskSize(text, thresholds = DEFAULT_THRESHOLDS) { constant HEAVY_MODE_KEYWORDS (line 180) | const HEAVY_MODE_KEYWORDS = new Set([ function isHeavyMode (line 191) | function isHeavyMode(keywordType) { FILE: dist/hooks/team-dispatch-hook.d.ts type DispatchRequest (line 15) | interface DispatchRequest { type TeamConfig (line 35) | interface TeamConfig { type InjectionResult (line 45) | interface InjectionResult { type Injector (line 50) | type Injector = (request: DispatchRequest, config: TeamConfig, cwd: stri... type DrainResult (line 51) | interface DrainResult { FILE: dist/hooks/team-dispatch-hook.js function safeString (line 20) | function safeString(value, fallback = '') { function readJson (line 27) | async function readJson(path, fallback) { function writeJsonAtomic (line 36) | async function writeJsonAtomic(path, value) { constant DISPATCH_LOCK_STALE_MS (line 43) | const DISPATCH_LOCK_STALE_MS = 5 * 60 * 1000; constant DEFAULT_ISSUE_DISPATCH_COOLDOWN_MS (line 44) | const DEFAULT_ISSUE_DISPATCH_COOLDOWN_MS = 15 * 60 * 1000; constant ISSUE_DISPATCH_COOLDOWN_ENV (line 45) | const ISSUE_DISPATCH_COOLDOWN_ENV = 'OMC_TEAM_DISPATCH_ISSUE_COOLDOWN_MS'; constant DEFAULT_DISPATCH_TRIGGER_COOLDOWN_MS (line 46) | const DEFAULT_DISPATCH_TRIGGER_COOLDOWN_MS = 30 * 1000; constant DISPATCH_TRIGGER_COOLDOWN_ENV (line 47) | const DISPATCH_TRIGGER_COOLDOWN_ENV = 'OMC_TEAM_DISPATCH_TRIGGER_COOLDOW... constant LEADER_PANE_MISSING_DEFERRED_REASON (line 48) | const LEADER_PANE_MISSING_DEFERRED_REASON = 'leader_pane_missing_deferred'; constant LEADER_NOTIFICATION_DEFERRED_TYPE (line 49) | const LEADER_NOTIFICATION_DEFERRED_TYPE = 'leader_notification_deferred'; constant INJECT_VERIFY_DELAY_MS (line 50) | const INJECT_VERIFY_DELAY_MS = 250; constant INJECT_VERIFY_ROUNDS (line 51) | const INJECT_VERIFY_ROUNDS = 3; constant MAX_UNCONFIRMED_ATTEMPTS (line 52) | const MAX_UNCONFIRMED_ATTEMPTS = 3; function resolveIssueDispatchCooldownMs (line 54) | function resolveIssueDispatchCooldownMs(env = process.env) { function resolveDispatchTriggerCooldownMs (line 63) | function resolveDispatchTriggerCooldownMs(env = process.env) { function extractIssueKey (line 72) | function extractIssueKey(triggerMessage) { function normalizeTriggerKey (line 76) | function normalizeTriggerKey(value) { function withDispatchLock (line 80) | async function withDispatchLock(teamDirPath, fn) { function withMailboxLock (line 128) | async function withMailboxLock(teamDirPath, workerName, fn) { function issueCooldownStatePath (line 177) | function issueCooldownStatePath(teamDirPath) { function triggerCooldownStatePath (line 180) | function triggerCooldownStatePath(teamDirPath) { function readIssueCooldownState (line 183) | async function readIssueCooldownState(teamDirPath) { function readTriggerCooldownState (line 191) | async function readTriggerCooldownState(teamDirPath) { function parseTriggerCooldownEntry (line 199) | function parseTriggerCooldownEntry(entry) { function defaultInjectTarget (line 211) | function defaultInjectTarget(request, config) { function normalizeCaptureText (line 231) | function normalizeCaptureText(value) { function capturedPaneContainsTrigger (line 234) | function capturedPaneContainsTrigger(captured, trigger) { function capturedPaneContainsTriggerNearTail (line 239) | function capturedPaneContainsTriggerNearTail(captured, trigger, nonEmpty... function paneHasActiveTask (line 254) | function paneHasActiveTask(captured) { function paneIsBootstrapping (line 270) | function paneIsBootstrapping(captured) { function paneLooksReady (line 279) | function paneLooksReady(captured) { function resolveWorkerCliForRequest (line 298) | function resolveWorkerCliForRequest(request, config) { function runProcess (line 309) | async function runProcess(cmd, args, timeoutMs) { function defaultInjector (line 316) | async function defaultInjector(request, config, _cwd) { function updateMailboxNotified (line 380) | async function updateMailboxNotified(stateDir, teamName, workerName, mes... function appendDispatchLog (line 442) | async function appendDispatchLog(logsDir, event) { function appendLeaderNotificationDeferredEvent (line 447) | async function appendLeaderNotificationDeferredEvent(params) { function shouldSkipRequest (line 465) | function shouldSkipRequest(request) { function drainPendingTeamDispatch (line 470) | async function drainPendingTeamDispatch(options = { cwd: '' }) { FILE: dist/hooks/team-leader-nudge-hook.d.ts type TmuxRunner (line 11) | interface TmuxRunner { type LeaderStalenessResult (line 14) | interface LeaderStalenessResult { FILE: dist/hooks/team-leader-nudge-hook.js function safeString (line 18) | function safeString(value, fallback = '') { function asNumber (line 25) | function asNumber(value) { function readJsonSafe (line 35) | async function readJsonSafe(path, fallback) { function writeJsonAtomic (line 46) | async function writeJsonAtomic(path, value) { function defaultTmuxSendKeys (line 53) | async function defaultTmuxSendKeys(target, text, literal = false) { method sendKeys (line 63) | async sendKeys(target, text, literal = false) { constant DEFAULT_LEADER_STALE_MS (line 68) | const DEFAULT_LEADER_STALE_MS = 120_000; constant DEFAULT_NUDGE_COOLDOWN_MS (line 69) | const DEFAULT_NUDGE_COOLDOWN_MS = 60_000; constant DEFAULT_MAX_NUDGE_COUNT (line 70) | const DEFAULT_MAX_NUDGE_COUNT = 5; constant INJECT_MARKER (line 71) | const INJECT_MARKER = '[OMC_TMUX_INJECT]'; function resolveLeaderStaleMs (line 72) | function resolveLeaderStaleMs() { function resolveNudgeCooldownMs (line 79) | function resolveNudgeCooldownMs() { function resolveMaxNudgeCount (line 86) | function resolveMaxNudgeCount() { function checkLeaderStaleness (line 93) | async function checkLeaderStaleness(params) { function maybeNudgeLeader (line 238) | async function maybeNudgeLeader(params) { FILE: dist/hooks/team-pipeline/__tests__/transitions.test.js function makeExecState (line 81) | function makeExecState(tasksTotal, tasksCompleted) { FILE: dist/hooks/team-pipeline/state.js function nowIso (line 5) | function nowIso() { function getTeamStatePath (line 8) | function getTeamStatePath(directory, sessionId) { function initTeamPipelineState (line 14) | function initTeamPipelineState(directory, sessionId, options) { function readTeamPipelineState (line 53) | function readTeamPipelineState(directory, sessionId) { function writeTeamPipelineState (line 74) | function writeTeamPipelineState(directory, state, sessionId) { function clearTeamPipelineState (line 95) | function clearTeamPipelineState(directory, sessionId) { function markTeamPhase (line 110) | function markTeamPhase(state, nextPhase, reason) { FILE: dist/hooks/team-pipeline/transitions.js constant ALLOWED (line 2) | const ALLOWED = { function isAllowedTransition (line 12) | function isAllowedTransition(from, to) { function isNonNegativeFiniteInteger (line 16) | function isNonNegativeFiniteInteger(n) { function hasRequiredArtifactsForPhase (line 19) | function hasRequiredArtifactsForPhase(state, next) { function transitionTeamPhase (line 43) | function transitionTeamPhase(state, next, reason) { function requestTeamCancel (line 80) | function requestTeamCancel(state, preserveForResume = true) { FILE: dist/hooks/team-pipeline/types.d.ts type TeamPipelinePhase (line 7) | type TeamPipelinePhase = 'team-plan' | 'team-prd' | 'team-exec' | 'team-... type TeamPhaseHistoryEntry (line 8) | interface TeamPhaseHistoryEntry { type TeamPipelineArtifacts (line 13) | interface TeamPipelineArtifacts { type TeamPipelineExecution (line 18) | interface TeamPipelineExecution { type TeamPipelineFixLoop (line 25) | interface TeamPipelineFixLoop { type TeamPipelineCancel (line 30) | interface TeamPipelineCancel { type TeamPipelineState (line 35) | interface TeamPipelineState { type TeamTransitionResult (line 53) | interface TeamTransitionResult { FILE: dist/hooks/team-pipeline/types.js constant TEAM_PIPELINE_SCHEMA_VERSION (line 6) | const TEAM_PIPELINE_SCHEMA_VERSION = 1; FILE: dist/hooks/team-worker-hook.d.ts type TmuxRunner (line 22) | interface TmuxRunner { FILE: dist/hooks/team-worker-hook.js function safeString (line 20) | function safeString(value, fallback = '') { function asNumber (line 27) | function asNumber(value) { function parseTeamWorkerEnv (line 37) | function parseTeamWorkerEnv(rawValue) { function resolveWorkerIdleNotifyEnabled (line 45) | function resolveWorkerIdleNotifyEnabled() { function resolveWorkerIdleCooldownMs (line 51) | function resolveWorkerIdleCooldownMs() { function resolveAllWorkersIdleCooldownMs (line 58) | function resolveAllWorkersIdleCooldownMs() { function resolveStatusStaleMs (line 65) | function resolveStatusStaleMs() { function resolveHeartbeatStaleMs (line 72) | function resolveHeartbeatStaleMs() { function parseIsoMs (line 80) | function parseIsoMs(value) { function isFreshIso (line 89) | function isFreshIso(value, maxAgeMs, nowMs) { function readJsonIfExists (line 96) | async function readJsonIfExists(path, fallback) { function writeJsonAtomic (line 107) | async function writeJsonAtomic(path, value) { function defaultTmuxSendKeys (line 114) | async function defaultTmuxSendKeys(target, text, literal = false) { method sendKeys (line 124) | async sendKeys(target, text, literal = false) { function readWorkerStatusSnapshot (line 128) | async function readWorkerStatusSnapshot(stateDir, teamName, workerName, ... function readWorkerHeartbeatSnapshot (line 156) | async function readWorkerHeartbeatSnapshot(stateDir, teamName, workerNam... function readTeamWorkersForIdleCheck (line 171) | async function readTeamWorkersForIdleCheck(stateDir, teamName) { function updateWorkerHeartbeat (line 194) | async function updateWorkerHeartbeat(stateDir, teamName, workerName) { constant DEFAULT_MARKER (line 212) | const DEFAULT_MARKER = '[OMC_TMUX_INJECT]'; function maybeNotifyLeaderWorkerIdle (line 213) | async function maybeNotifyLeaderWorkerIdle(params) { function maybeNotifyLeaderAllWorkersIdle (line 341) | async function maybeNotifyLeaderAllWorkersIdle(params) { function handleWorkerTurn (line 411) | async function handleWorkerTurn(teamName, workerName, cwd, tmux) { FILE: dist/hooks/think-mode/detector.js constant ENGLISH_PATTERNS (line 10) | const ENGLISH_PATTERNS = [/\bultrathink\b/i, /\bthink\b/i]; constant MULTILINGUAL_KEYWORDS (line 12) | const MULTILINGUAL_KEYWORDS = [ constant MULTILINGUAL_PATTERNS (line 71) | const MULTILINGUAL_PATTERNS = MULTILINGUAL_KEYWORDS.map((kw) => new RegE... constant THINK_PATTERNS (line 72) | const THINK_PATTERNS = [...ENGLISH_PATTERNS, ...MULTILINGUAL_PATTERNS]; constant CODE_BLOCK_PATTERN (line 74) | const CODE_BLOCK_PATTERN = /```[\s\S]*?```/g; constant INLINE_CODE_PATTERN (line 75) | const INLINE_CODE_PATTERN = /`[^`]+`/g; function removeCodeBlocks (line 79) | function removeCodeBlocks(text) { function detectThinkKeyword (line 85) | function detectThinkKeyword(text) { function extractPromptText (line 92) | function extractPromptText(parts) { function detectUltrathinkKeyword (line 101) | function detectUltrathinkKeyword(text) { FILE: dist/hooks/think-mode/index.js function clearThinkModeState (line 20) | function clearThinkModeState(sessionId) { function getThinkModeState (line 26) | function getThinkModeState(sessionId) { function isThinkModeActive (line 32) | function isThinkModeActive(sessionId) { function processThinkMode (line 40) | function processThinkMode(sessionId, promptText) { function createThinkModeHook (line 57) | function createThinkModeHook() { function shouldActivateThinkMode (line 130) | function shouldActivateThinkMode(prompt) { function shouldActivateUltrathink (line 136) | function shouldActivateUltrathink(prompt) { FILE: dist/hooks/think-mode/switcher.js function extractModelPrefix (line 14) | function extractModelPrefix(modelId) { function normalizeModelId (line 28) | function normalizeModelId(modelId) { constant HIGH_VARIANT_MAP (line 35) | const HIGH_VARIANT_MAP = { constant ALREADY_HIGH (line 53) | const ALREADY_HIGH = new Set(Object.values(HIGH_VARIANT_MAP)); constant THINKING_CONFIGS (line 57) | const THINKING_CONFIGS = { constant THINKING_CAPABLE_MODELS (line 88) | const THINKING_CAPABLE_MODELS = { function getHighVariant (line 98) | function getHighVariant(modelId) { function isAlreadyHighVariant (line 119) | function isAlreadyHighVariant(modelId) { function resolveProvider (line 127) | function resolveProvider(providerId, modelId) { function isThinkingProvider (line 144) | function isThinkingProvider(provider) { function getThinkingConfig (line 151) | function getThinkingConfig(providerId, modelId) { function getClaudeThinkingConfig (line 175) | function getClaudeThinkingConfig(budgetTokens = 64000) { FILE: dist/hooks/think-mode/types.d.ts type ThinkModeState (line 11) | interface ThinkModeState { type ModelRef (line 26) | interface ModelRef { type MessageWithModel (line 33) | interface MessageWithModel { type ThinkModeInput (line 39) | interface ThinkModeInput { type ClaudeThinkingConfig (line 49) | interface ClaudeThinkingConfig { type ThinkingConfig (line 59) | type ThinkingConfig = Record; FILE: dist/hooks/thinking-block-validator/__tests__/index.test.js constant MODEL_ID (line 3) | const MODEL_ID = 'claude-sonnet-4-6'; constant SYNTHETIC_THINKING_CONTENT (line 4) | const SYNTHETIC_THINKING_CONTENT = '[Synthetic thinking block inserted t... FILE: dist/hooks/thinking-block-validator/constants.js constant HOOK_NAME (line 11) | const HOOK_NAME = "thinking-block-validator"; constant CONTENT_PART_TYPES (line 15) | const CONTENT_PART_TYPES = [ constant THINKING_PART_TYPES (line 23) | const THINKING_PART_TYPES = [ constant THINKING_MODEL_PATTERNS (line 31) | const THINKING_MODEL_PATTERNS = [ constant DEFAULT_THINKING_CONTENT (line 41) | const DEFAULT_THINKING_CONTENT = "[Continuing from previous reasoning]"; constant SYNTHETIC_THINKING_ID_PREFIX (line 45) | const SYNTHETIC_THINKING_ID_PREFIX = "prt_0000000000_synthetic_thinking"; constant PREVENTED_ERROR (line 49) | const PREVENTED_ERROR = "Expected thinking/redacted_thinking but found t... FILE: dist/hooks/thinking-block-validator/index.js constant SYNTHETIC_THINKING_CONTENT (line 21) | const SYNTHETIC_THINKING_CONTENT = "[Synthetic thinking block inserted t... function isContentPartType (line 22) | function isContentPartType(type) { function isThinkingPartType (line 25) | function isThinkingPartType(type) { function isExtendedThinkingModel (line 28) | function isExtendedThinkingModel(modelID) { function hasContentParts (line 39) | function hasContentParts(parts) { function startsWithThinkingBlock (line 44) | function startsWithThinkingBlock(parts) { function findPreviousThinkingContent (line 50) | function findPreviousThinkingContent(messages, currentIndex) { function prependThinkingBlock (line 70) | function prependThinkingBlock(message, thinkingContent) { function validateMessage (line 84) | function validateMessage(message, messages, index, modelID) { function createThinkingBlockValidatorHook (line 107) | function createThinkingBlockValidatorHook() { function validateMessages (line 141) | function validateMessages(messages, modelID) { function getValidationStats (line 149) | function getValidationStats(results) { FILE: dist/hooks/thinking-block-validator/types.d.ts type MessagePart (line 11) | interface MessagePart { type MessageInfo (line 23) | interface MessageInfo { type MessageWithParts (line 32) | interface MessageWithParts { type MessagesTransformInput (line 39) | interface MessagesTransformInput { type MessagesTransformOutput (line 45) | interface MessagesTransformOutput { type MessagesTransformHook (line 51) | interface MessagesTransformHook { type ValidationResult (line 57) | interface ValidationResult { FILE: dist/hooks/todo-continuation/index.d.ts type Todo (line 18) | interface Todo { type Task (line 36) | interface Task { type TaskCheckResult (line 46) | interface TaskCheckResult { type IncompleteTodosResult (line 51) | interface IncompleteTodosResult { type StopContext (line 66) | interface StopContext { type TodoContinuationHook (line 96) | interface TodoContinuationHook { FILE: dist/hooks/todo-continuation/index.js function debugLog (line 19) | function debugLog(message, ...args) { function isValidSessionId (line 37) | function isValidSessionId(sessionId) { function getStopReasonFields (line 47) | function getStopReasonFields(context) { function isUserAbort (line 80) | function isUserAbort(context) { function isExplicitCancelCommand (line 104) | function isExplicitCancelCommand(context) { function isContextLimitStop (line 146) | function isContextLimitStop(context) { function isRateLimitStop (line 162) | function isRateLimitStop(context) { constant AUTHENTICATION_ERROR_PATTERNS (line 182) | const AUTHENTICATION_ERROR_PATTERNS = [ function isAuthenticationError (line 206) | function isAuthenticationError(context) { function getTodoFilePaths (line 216) | function getTodoFilePaths(sessionId, directory) { function parseTodoFile (line 236) | function parseTodoFile(filePath) { function isIncomplete (line 265) | function isIncomplete(todo) { function getTaskDirectory (line 275) | function getTaskDirectory(sessionId) { function isValidTask (line 286) | function isValidTask(data) { function readTaskFiles (line 299) | function readTaskFiles(sessionId) { function isTaskIncomplete (line 341) | function isTaskIncomplete(task) { function checkIncompleteTasks (line 356) | function checkIncompleteTasks(sessionId) { function checkLegacyTodos (line 371) | function checkLegacyTodos(sessionId, directory) { function checkIncompleteTodos (line 412) | async function checkIncompleteTodos(sessionId, directory, stopContext) { function createTodoContinuationHook (line 444) | function createTodoContinuationHook(directory) { function formatTodoStatus (line 452) | function formatTodoStatus(result) { function getNextPendingTodo (line 461) | function getNextPendingTodo(result) { FILE: dist/hooks/ultraqa/index.d.ts type UltraQAGoalType (line 7) | type UltraQAGoalType = 'tests' | 'build' | 'lint' | 'typecheck' | 'custom'; type UltraQAState (line 8) | interface UltraQAState { type UltraQAOptions (line 28) | interface UltraQAOptions { type UltraQAResult (line 34) | interface UltraQAResult { FILE: dist/hooks/ultraqa/index.js constant DEFAULT_MAX_CYCLES (line 9) | const DEFAULT_MAX_CYCLES = 5; constant SAME_FAILURE_THRESHOLD (line 10) | const SAME_FAILURE_THRESHOLD = 3; function readUltraQAState (line 14) | function readUltraQAState(directory, sessionId) { function writeUltraQAState (line 20) | function writeUltraQAState(directory, state, sessionId) { function clearUltraQAState (line 26) | function clearUltraQAState(directory, sessionId) { function isRalphLoopActive (line 32) | function isRalphLoopActive(directory, sessionId) { function startUltraQA (line 40) | function startUltraQA(directory, goalType, sessionId, options) { function recordFailure (line 65) | function recordFailure(directory, failureDescription, sessionId) { function completeUltraQA (line 100) | function completeUltraQA(directory, sessionId) { function stopUltraQA (line 116) | function stopUltraQA(directory, reason, diagnosis, sessionId) { function cancelUltraQA (line 133) | function cancelUltraQA(directory, sessionId) { function normalizeFailure (line 139) | function normalizeFailure(failure) { function getGoalCommand (line 152) | function getGoalCommand(goalType) { function formatProgressMessage (line 169) | function formatProgressMessage(cycle, maxCycles, status) { FILE: dist/hooks/ultrawork/index.d.ts type UltraworkState (line 8) | interface UltraworkState { FILE: dist/hooks/ultrawork/index.js function getStateFilePath (line 21) | function getStateFilePath(directory, sessionId) { function readUltraworkState (line 34) | function readUltraworkState(directory, sessionId) { function writeUltraworkState (line 48) | function writeUltraworkState(state, directory, sessionId) { function activateUltrawork (line 54) | function activateUltrawork(prompt, sessionId, directory, linkedToRalph) { function deactivateUltrawork (line 75) | function deactivateUltrawork(directory, sessionId) { function incrementReinforcement (line 116) | function incrementReinforcement(directory, sessionId) { function shouldReinforceUltrawork (line 131) | function shouldReinforceUltrawork(sessionId, directory) { function getUltraworkPersistenceMessage (line 147) | function getUltraworkPersistenceMessage(state) { function createUltraworkStateHook (line 174) | function createUltraworkStateHook(directory) { FILE: dist/hooks/ultrawork/session-isolation.test.js function createLegacyState (line 243) | function createLegacyState(data) { function createLegacyState (line 273) | function createLegacyState(data) { function legacyFileExists (line 278) | function legacyFileExists() { function readLegacyState (line 281) | function readLegacyState() { FILE: dist/hud/background-cleanup.js constant STALE_TASK_THRESHOLD_MS (line 7) | const STALE_TASK_THRESHOLD_MS = 30 * 60 * 1000; function cleanupStaleBackgroundTasks (line 15) | async function cleanupStaleBackgroundTasks(thresholdMs = STALE_TASK_THRE... function detectOrphanedTasks (line 47) | async function detectOrphanedTasks() { function markOrphanedTasksAsStale (line 73) | async function markOrphanedTasksAsStale() { FILE: dist/hud/background-tasks.js constant MAX_TASK_HISTORY (line 8) | const MAX_TASK_HISTORY = 20; constant TASK_EXPIRY_MS (line 9) | const TASK_EXPIRY_MS = 30 * 60 * 1000; function addBackgroundTask (line 14) | function addBackgroundTask(id, description, agentType, directory) { function completeBackgroundTask (line 39) | function completeBackgroundTask(id, directory, failed = false) { function remapBackgroundTaskId (line 62) | function remapBackgroundTaskId(currentId, nextId, directory) { function findMostRecentMatchingRunningTask (line 87) | function findMostRecentMatchingRunningTask(state, description, agentType) { function completeMostRecentMatchingBackgroundTask (line 94) | function completeMostRecentMatchingBackgroundTask(description, directory... function remapMostRecentMatchingBackgroundTaskId (line 113) | function remapMostRecentMatchingBackgroundTaskId(description, nextId, di... function cleanupTasks (line 138) | function cleanupTasks(state) { function getRunningTaskCount (line 174) | function getRunningTaskCount(directory) { function clearBackgroundTasks (line 184) | function clearBackgroundTasks(directory) { FILE: dist/hud/colors.js constant RESET (line 8) | const RESET = '\x1b[0m'; constant DIM (line 9) | const DIM = '\x1b[2m'; constant BOLD (line 10) | const BOLD = '\x1b[1m'; constant RED (line 11) | const RED = '\x1b[31m'; constant GREEN (line 12) | const GREEN = '\x1b[32m'; constant YELLOW (line 13) | const YELLOW = '\x1b[33m'; constant BLUE (line 14) | const BLUE = '\x1b[34m'; constant MAGENTA (line 15) | const MAGENTA = '\x1b[35m'; constant CYAN (line 16) | const CYAN = '\x1b[36m'; constant WHITE (line 17) | const WHITE = '\x1b[37m'; constant BRIGHT_BLUE (line 18) | const BRIGHT_BLUE = '\x1b[94m'; constant BRIGHT_MAGENTA (line 19) | const BRIGHT_MAGENTA = '\x1b[95m'; constant BRIGHT_CYAN (line 20) | const BRIGHT_CYAN = '\x1b[96m'; function green (line 24) | function green(text) { function yellow (line 27) | function yellow(text) { function red (line 30) | function red(text) { function cyan (line 33) | function cyan(text) { function magenta (line 36) | function magenta(text) { function blue (line 39) | function blue(text) { function dim (line 42) | function dim(text) { function bold (line 45) | function bold(text) { function white (line 48) | function white(text) { function brightCyan (line 51) | function brightCyan(text) { function brightMagenta (line 54) | function brightMagenta(text) { function brightBlue (line 57) | function brightBlue(text) { function getContextColor (line 66) | function getContextColor(percent) { function getRalphColor (line 76) | function getRalphColor(iteration, maxIterations) { function getTodoColor (line 88) | function getTodoColor(completed, total) { function getModelTierColor (line 107) | function getModelTierColor(model) { function getDurationColor (line 125) | function getDurationColor(durationMs) { function coloredBar (line 139) | function coloredBar(percent, width = 10) { function coloredValue (line 152) | function coloredValue(value, total, getColor) { FILE: dist/hud/custom-rate-provider.js constant CACHE_TTL_MS (line 25) | const CACHE_TTL_MS = 30_000; constant DEFAULT_TIMEOUT_MS (line 26) | const DEFAULT_TIMEOUT_MS = 800; function getCachePath (line 27) | function getCachePath() { function readCache (line 30) | function readCache() { function writeCache (line 41) | function writeCache(buckets) { function isCacheValid (line 54) | function isCacheValid(cache) { function spawnWithTimeout (line 63) | function spawnWithTimeout(cmd, timeoutMs) { function parseOutput (line 109) | function parseOutput(raw, periods) { function executeCustomProvider (line 155) | async function executeCustomProvider(config) { FILE: dist/hud/elements/agents.d.ts type MultiLineRenderResult (line 55) | interface MultiLineRenderResult { FILE: dist/hud/elements/agents.js constant CYAN (line 11) | const CYAN = '\x1b[36m'; constant AGENT_TYPE_CODES (line 19) | const AGENT_TYPE_CODES = { function getAgentCode (line 98) | function getAgentCode(agentType, model) { function formatDuration (line 127) | function formatDuration(durationMs) { function renderAgents (line 152) | function renderAgents(agents) { function sortByFreshest (line 162) | function sortByFreshest(agents) { function renderAgentsCoded (line 172) | function renderAgentsCoded(agents) { function renderAgentsCodedWithDuration (line 191) | function renderAgentsCodedWithDuration(agents) { function renderAgentsDetailed (line 225) | function renderAgentsDetailed(agents) { function truncateDescription (line 294) | function truncateDescription(desc, maxWidth = 20) { function getShortAgentName (line 303) | function getShortAgentName(agentType) { function renderAgentsWithDescriptions (line 346) | function renderAgentsWithDescriptions(agents) { function renderAgentsDescOnly (line 378) | function renderAgentsDescOnly(agents) { function formatDurationPadded (line 405) | function formatDurationPadded(durationMs) { function renderAgentsMultiLine (line 430) | function renderAgentsMultiLine(agents, maxLines = 5) { function renderAgentsByFormat (line 465) | function renderAgentsByFormat(agents, format) { FILE: dist/hud/elements/api-key-source.d.ts type ApiKeySource (line 11) | type ApiKeySource = 'project' | 'global' | 'env'; FILE: dist/hud/elements/api-key-source.js function settingsFileHasApiKey (line 18) | function settingsFileHasApiKey(filePath) { function detectApiKeySource (line 44) | function detectApiKeySource(cwd) { function renderApiKeySource (line 65) | function renderApiKeySource(source) { FILE: dist/hud/elements/autopilot.d.ts type AutopilotStateForHud (line 7) | interface AutopilotStateForHud { FILE: dist/hud/elements/autopilot.js constant CYAN (line 8) | const CYAN = '\x1b[36m'; constant GREEN (line 9) | const GREEN = '\x1b[32m'; constant YELLOW (line 10) | const YELLOW = '\x1b[33m'; constant RED (line 11) | const RED = '\x1b[31m'; constant MAGENTA (line 12) | const MAGENTA = '\x1b[35m'; constant PHASE_NAMES (line 13) | const PHASE_NAMES = { constant PHASE_INDEX (line 22) | const PHASE_INDEX = { function renderAutopilot (line 37) | function renderAutopilot(state, _thresholds) { function renderAutopilotCompact (line 83) | function renderAutopilotCompact(state) { FILE: dist/hud/elements/background.js constant CYAN (line 8) | const CYAN = '\x1b[36m'; constant GREEN (line 9) | const GREEN = '\x1b[32m'; constant YELLOW (line 10) | const YELLOW = '\x1b[33m'; constant DIM (line 11) | const DIM = '\x1b[2m'; constant MAX_CONCURRENT (line 12) | const MAX_CONCURRENT = 5; function renderBackground (line 19) | function renderBackground(tasks) { function renderBackgroundDetailed (line 42) | function renderBackgroundDetailed(tasks) { FILE: dist/hud/elements/call-counts.js constant TOOL_ICON (line 15) | const TOOL_ICON = useAscii ? 'T:' : '\u{1F527}'; constant AGENT_ICON (line 16) | const AGENT_ICON = useAscii ? 'A:' : '\u{1F916}'; constant SKILL_ICON (line 17) | const SKILL_ICON = useAscii ? 'S:' : '\u26A1'; function renderCallCounts (line 28) | function renderCallCounts(toolCalls, agentInvocations, skillUsages) { FILE: dist/hud/elements/context-warning.js constant YELLOW (line 8) | const YELLOW = '\x1b[33m'; constant RED (line 9) | const RED = '\x1b[31m'; constant BOLD (line 10) | const BOLD = '\x1b[1m'; function renderContextLimitWarning (line 20) | function renderContextLimitWarning(contextPercent, threshold, autoCompac... FILE: dist/hud/elements/context.js constant GREEN (line 7) | const GREEN = '\x1b[32m'; constant YELLOW (line 8) | const YELLOW = '\x1b[33m'; constant RED (line 9) | const RED = '\x1b[31m'; constant DIM (line 10) | const DIM = '\x1b[2m'; constant CONTEXT_DISPLAY_HYSTERESIS (line 11) | const CONTEXT_DISPLAY_HYSTERESIS = 2; constant CONTEXT_DISPLAY_STATE_TTL_MS (line 12) | const CONTEXT_DISPLAY_STATE_TTL_MS = 5_000; function clampContextPercent (line 17) | function clampContextPercent(percent) { function getContextSeverity (line 20) | function getContextSeverity(safePercent, thresholds) { function getContextDisplayStyle (line 32) | function getContextDisplayStyle(safePercent, thresholds) { function resetContextDisplayState (line 49) | function resetContextDisplayState() { function getStableContextDisplayPercent (line 59) | function getStableContextDisplayPercent(percent, thresholds, displayScop... function renderContext (line 97) | function renderContext(percent, thresholds, displayScope) { function renderContextWithBar (line 107) | function renderContextWithBar(percent, thresholds, barWidth = 10, displa... FILE: dist/hud/elements/cwd.js function renderCwd (line 16) | function renderCwd(cwd, format = 'relative') { FILE: dist/hud/elements/git.js constant CACHE_TTL_MS (line 9) | const CACHE_TTL_MS = 30_000; function resetGitCache (line 15) | function resetGitCache() { function getGitRepoName (line 28) | function getGitRepoName(cwd) { function getGitBranch (line 65) | function getGitBranch(cwd) { function renderGitRepo (line 94) | function renderGitRepo(cwd) { function renderGitBranch (line 106) | function renderGitBranch(cwd) { FILE: dist/hud/elements/limits.js constant GREEN (line 8) | const GREEN = '\x1b[32m'; constant YELLOW (line 9) | const YELLOW = '\x1b[33m'; constant RED (line 10) | const RED = '\x1b[31m'; constant DIM (line 11) | const DIM = '\x1b[2m'; constant WARNING_THRESHOLD (line 13) | const WARNING_THRESHOLD = 70; constant CRITICAL_THRESHOLD (line 14) | const CRITICAL_THRESHOLD = 90; function getColor (line 18) | function getColor(percent) { function formatResetTime (line 31) | function formatResetTime(date) { function renderRateLimits (line 55) | function renderRateLimits(limits, stale) { function renderRateLimitsCompact (line 92) | function renderRateLimitsCompact(limits, stale) { function renderRateLimitsWithBar (line 116) | function renderRateLimitsWithBar(limits, barWidth = 8, stale) { function renderRateLimitsError (line 164) | function renderRateLimitsError(result) { function bucketUsagePercent (line 185) | function bucketUsagePercent(usage) { function renderBucketUsageValue (line 198) | function renderBucketUsageValue(usage) { function renderCustomBuckets (line 214) | function renderCustomBuckets(result, thresholdPercent = 85) { FILE: dist/hud/elements/model.js function extractVersion (line 14) | function extractVersion(modelId) { function formatModelName (line 29) | function formatModelName(modelId, format = 'short') { function renderModel (line 57) | function renderModel(modelId, format = 'short') { FILE: dist/hud/elements/permission.js constant YELLOW (line 8) | const YELLOW = '\x1b[33m'; constant DIM (line 9) | const DIM = '\x1b[2m'; function renderPermission (line 15) | function renderPermission(pending) { FILE: dist/hud/elements/prd.js constant CYAN (line 7) | const CYAN = '\x1b[36m'; constant GREEN (line 8) | const GREEN = '\x1b[32m'; constant DIM (line 9) | const DIM = '\x1b[2m'; function renderPrd (line 16) | function renderPrd(state) { function renderPrdWithProgress (line 36) | function renderPrdWithProgress(state) { FILE: dist/hud/elements/prompt-time.js function renderPromptTime (line 13) | function renderPromptTime(promptTime) { FILE: dist/hud/elements/ralph.js constant RED (line 8) | const RED = '\x1b[31m'; constant YELLOW (line 9) | const YELLOW = '\x1b[33m'; constant GREEN (line 10) | const GREEN = '\x1b[32m'; function renderRalph (line 17) | function renderRalph(state, thresholds) { FILE: dist/hud/elements/session-summary.d.ts type SessionSummaryState (line 13) | interface SessionSummaryState { FILE: dist/hud/elements/session-summary.js function renderSessionSummary (line 18) | function renderSessionSummary(summaryState) { FILE: dist/hud/elements/session.js constant GREEN (line 8) | const GREEN = '\x1b[32m'; constant YELLOW (line 9) | const YELLOW = '\x1b[33m'; constant RED (line 10) | const RED = '\x1b[31m'; function renderSession (line 16) | function renderSession(session) { FILE: dist/hud/elements/skills.js constant MAGENTA (line 8) | const MAGENTA = '\x1b[35m'; constant BRIGHT_MAGENTA (line 9) | const BRIGHT_MAGENTA = '\x1b[95m'; function truncate (line 14) | function truncate(str, maxWidth) { function getSkillDisplayName (line 22) | function getSkillDisplayName(skillName) { function isActiveMode (line 28) | function isActiveMode(skillName, ultrawork, ralph) { function renderSkills (line 43) | function renderSkills(ultrawork, ralph, lastSkill) { function renderLastSkill (line 67) | function renderLastSkill(lastSkill) { function renderSkillsWithReinforcement (line 79) | function renderSkillsWithReinforcement(ultrawork, ralph) { FILE: dist/hud/elements/thinking.js constant CYAN (line 7) | const CYAN = '\x1b[36m'; function renderThinking (line 15) | function renderThinking(state, format = 'text') { FILE: dist/hud/elements/todos.js constant GREEN (line 8) | const GREEN = "\x1b[32m"; constant YELLOW (line 9) | const YELLOW = "\x1b[33m"; constant CYAN (line 10) | const CYAN = "\x1b[36m"; constant DIM (line 11) | const DIM = "\x1b[2m"; function renderTodos (line 18) | function renderTodos(todos) { function renderTodosWithCurrent (line 43) | function renderTodosWithCurrent(todos) { FILE: dist/hud/elements/token-usage.js function renderTokenUsage (line 7) | function renderTokenUsage(usage, sessionTotalTokens) { FILE: dist/hud/index.js function extractSessionIdFromPath (line 31) | function extractSessionIdFromPath(transcriptPath) { function readSessionSummary (line 40) | function readSessionSummary(stateDir, sessionId) { function spawnSessionSummaryScript (line 55) | function spawnSessionSummaryScript(transcriptPath, stateDir, sessionId) { function calculateSessionHealth (line 83) | async function calculateSessionHealth(sessionStart, contextPercent) { function main (line 97) | async function main(watchMode = false, skipInit = false) { FILE: dist/hud/mission-board.d.ts type MissionBoardSource (line 1) | type MissionBoardSource = 'session' | 'team'; type MissionBoardStatus (line 2) | type MissionBoardStatus = 'blocked' | 'waiting' | 'running' | 'done'; type MissionTimelineEventType (line 3) | type MissionTimelineEventType = 'handoff' | 'completion' | 'failure' | '... type MissionBoardConfig (line 4) | interface MissionBoardConfig { type MissionBoardTimelineEvent (line 11) | interface MissionBoardTimelineEvent { type MissionBoardAgent (line 19) | interface MissionBoardAgent { type MissionBoardMission (line 29) | interface MissionBoardMission { type MissionBoardState (line 50) | interface MissionBoardState { type MissionAgentStartInput (line 54) | interface MissionAgentStartInput { type MissionAgentStopInput (line 62) | interface MissionAgentStopInput { FILE: dist/hud/mission-board.js constant DEFAULT_CONFIG (line 7) | const DEFAULT_CONFIG = { constant STATUS_ORDER (line 14) | const STATUS_ORDER = { constant DEFAULT_MISSION_BOARD_CONFIG (line 20) | const DEFAULT_MISSION_BOARD_CONFIG = DEFAULT_CONFIG; function resolveConfig (line 21) | function resolveConfig(config) { function stateFilePath (line 28) | function stateFilePath(directory) { function readJsonSafe (line 31) | function readJsonSafe(path) { function readJsonLinesSafe (line 41) | function readJsonLinesSafe(path) { function writeState (line 55) | function writeState(directory, state) { function parseTime (line 63) | function parseTime(value) { function compactText (line 69) | function compactText(value, width = 64) { function formatTime (line 75) | function formatTime(value) { function latest (line 81) | function latest(...values) { function shortAgentType (line 86) | function shortAgentType(agentType) { function sessionAgentName (line 89) | function sessionAgentName(agentType, agentId) { function summarizeTask (line 92) | function summarizeTask(task) { function deriveSessionStatus (line 97) | function deriveSessionStatus(mission) { function ensureSessionMission (line 106) | function ensureSessionMission(state, input) { function recalcSessionMission (line 127) | function recalcSessionMission(mission) { function readMissionBoardState (line 139) | function readMissionBoardState(directory) { function recordMissionAgentStart (line 142) | function recordMissionAgentStart(directory, input) { function recordMissionAgentStop (line 179) | function recordMissionAgentStop(directory, input) { function deriveTeamStatus (line 210) | function deriveTeamStatus(taskCounts, agents) { function deriveWorkerStatus (line 222) | function deriveWorkerStatus(workerStatus, task) { function collectTeamMission (line 231) | function collectTeamMission(teamRoot, teamName, config) { function mergeMissions (line 351) | function mergeMissions(previous, teamMissions, config) { function refreshMissionBoardState (line 369) | function refreshMissionBoardState(directory, rawConfig = DEFAULT_CONFIG) { function renderMissionBoard (line 385) | function renderMissionBoard(state, rawConfig = DEFAULT_CONFIG) { FILE: dist/hud/omc-state.js constant MAX_STATE_AGE_MS (line 14) | const MAX_STATE_AGE_MS = 2 * 60 * 60 * 1000; function isStateFileStale (line 18) | function isStateFileStale(filePath) { function resolveStatePath (line 37) | function resolveStatePath(directory, filename, sessionId) { function readRalphStateForHud (line 107) | function readRalphStateForHud(directory, sessionId) { function readUltraworkStateForHud (line 138) | function readUltraworkStateForHud(directory, sessionId) { function readPrdStateForHud (line 163) | function readPrdStateForHud(directory) { function readAutopilotStateForHud (line 200) | function readAutopilotStateForHud(directory, sessionId) { function isAnyModeActive (line 235) | function isAnyModeActive(directory, sessionId) { function getActiveSkills (line 244) | function getActiveSkills(directory, sessionId) { FILE: dist/hud/render.js constant ANSI_REGEX (line 35) | const ANSI_REGEX = /\x1b\[[0-9;]*[a-zA-Z]|\x1b\][^\x07]*\x07/; constant PLAIN_SEPARATOR (line 36) | const PLAIN_SEPARATOR = " | "; constant DIM_SEPARATOR (line 37) | const DIM_SEPARATOR = dim(PLAIN_SEPARATOR); function truncateLineToMaxWidth (line 46) | function truncateLineToMaxWidth(line, maxWidth) { function wrapLineToMaxWidth (line 93) | function wrapLineToMaxWidth(line, maxWidth) { function applyMaxWidthByMode (line 138) | function applyMaxWidthByMode(lines, maxWidth, wrapMode) { function limitOutputLines (line 154) | function limitOutputLines(lines, maxLines) { function render (line 165) | async function render(context, config) { FILE: dist/hud/sanitize.js constant CSI_NON_SGR_REGEX (line 24) | const CSI_NON_SGR_REGEX = /\x1b\[\??[0-9;]*[A-LN-Za-ln-z]/g; constant OSC_REGEX (line 26) | const OSC_REGEX = /\x1b\][^\x07]*\x07/g; constant SIMPLE_ESC_REGEX (line 28) | const SIMPLE_ESC_REGEX = /\x1b[^[\]]/g; function stripAnsi (line 42) | function stripAnsi(text) { function replaceUnicodeBlocks (line 53) | function replaceUnicodeBlocks(text) { function sanitizeOutput (line 75) | function sanitizeOutput(output) { FILE: dist/hud/state.js function getLocalStateFilePath (line 21) | function getLocalStateFilePath(directory) { function getSettingsFilePath (line 29) | function getSettingsFilePath() { function getConfigFilePath (line 35) | function getConfigFilePath() { function readJsonFile (line 38) | function readJsonFile(filePath) { function getLegacyHudConfig (line 49) | function getLegacyHudConfig() { function mergeElements (line 52) | function mergeElements(primary, secondary) { function mergeThresholds (line 58) | function mergeThresholds(primary, secondary) { function mergeContextLimitWarning (line 64) | function mergeContextLimitWarning(primary, secondary) { function mergeMissionBoardConfig (line 70) | function mergeMissionBoardConfig(primary, secondary) { function mergeElementsForWrite (line 76) | function mergeElementsForWrite(legacyElements, nextElements) { function ensureStateDir (line 89) | function ensureStateDir(directory) { function readHudState (line 102) | function readHudState(directory) { function writeHudState (line 133) | function writeHudState(state, directory) { function createEmptyHudState (line 149) | function createEmptyHudState() { function getRunningTasks (line 158) | function getRunningTasks(state) { function getBackgroundTaskCount (line 166) | function getBackgroundTaskCount(state) { function readHudConfig (line 180) | function readHudConfig() { function mergeWithDefaults (line 210) | function mergeWithDefaults(config) { function writeHudConfig (line 253) | function writeHudConfig(config) { function applyPreset (line 282) | function applyPreset(preset) { function initializeHUDState (line 300) | async function initializeHUDState() { FILE: dist/hud/stdin.js constant TRANSIENT_CONTEXT_PERCENT_TOLERANCE (line 10) | const TRANSIENT_CONTEXT_PERCENT_TOLERANCE = 3; function getStdinCachePath (line 14) | function getStdinCachePath() { function writeStdinCache (line 22) | function writeStdinCache(stdin) { function readStdinCache (line 39) | function readStdinCache() { function readStdin (line 58) | async function readStdin() { function getCurrentUsage (line 79) | function getCurrentUsage(stdin) { function getTotalTokens (line 85) | function getTotalTokens(stdin) { function getRoundedNativeContextPercent (line 91) | function getRoundedNativeContextPercent(stdin) { function getManualContextPercent (line 98) | function getManualContextPercent(stdin) { function isSameContextStream (line 106) | function isSameContextStream(current, previous) { function stabilizeContextPercent (line 116) | function stabilizeContextPercent(stdin, previousStdin) { function getContextPercent (line 144) | function getContextPercent(stdin) { function getModelName (line 155) | function getModelName(stdin) { FILE: dist/hud/transcript.d.ts type ParseTranscriptOptions (line 19) | interface ParseTranscriptOptions { FILE: dist/hud/transcript.js constant MAX_TAIL_BYTES (line 16) | const MAX_TAIL_BYTES = 512 * 1024; constant MAX_AGENT_MAP_SIZE (line 17) | const MAX_AGENT_MAP_SIZE = 100; constant PERMISSION_TOOLS (line 23) | const PERMISSION_TOOLS = [ constant PERMISSION_THRESHOLD_MS (line 35) | const PERMISSION_THRESHOLD_MS = 3000; constant THINKING_PART_TYPES (line 45) | const THINKING_PART_TYPES = ["thinking", "reasoning"]; constant THINKING_RECENCY_MS (line 49) | const THINKING_RECENCY_MS = 30_000; constant TRANSCRIPT_CACHE_MAX_SIZE (line 51) | const TRANSCRIPT_CACHE_MAX_SIZE = 20; function parseTranscript (line 52) | async function parseTranscript(transcriptPath, options) { function cloneDate (line 158) | function cloneDate(value) { function clonePendingPermission (line 161) | function clonePendingPermission(permission) { function cloneTranscriptData (line 167) | function cloneTranscriptData(result) { function finalizeTranscriptResult (line 197) | function finalizeTranscriptResult(result, options, pendingPermissions) { function readTailLines (line 224) | function readTailLines(filePath, fileSize, maxBytes) { function extractBackgroundAgentId (line 249) | function extractBackgroundAgentId(content) { function parseTaskOutputResult (line 260) | function parseTaskOutputResult(content) { function extractTargetSummary (line 275) | function extractTargetSummary(input, toolName) { function processEntry (line 300) | function processEntry(entry, agentMap, latestTodos, result, maxAgentMapS... function extractLastRequestTokenUsage (line 442) | function extractLastRequestTokenUsage(usage) { function getNumericUsageValue (line 464) | function getNumericUsageValue(value) { function getRunningAgentCount (line 473) | function getRunningAgentCount(agents) { function getTodoStats (line 479) | function getTodoStats(todos) { FILE: dist/hud/types.d.ts type BackgroundTask (line 11) | interface BackgroundTask { type OmcHudState (line 21) | interface OmcHudState { type StatuslineStdin (line 31) | interface StatuslineStdin { type TodoItem (line 52) | interface TodoItem { type ActiveAgent (line 57) | interface ActiveAgent { type SkillInvocation (line 66) | interface SkillInvocation { type PendingPermission (line 71) | interface PendingPermission { type ThinkingState (line 76) | interface ThinkingState { type SessionHealth (line 80) | interface SessionHealth { type LastRequestTokenUsage (line 85) | interface LastRequestTokenUsage { type TranscriptData (line 90) | interface TranscriptData { type RalphStateForHud (line 103) | interface RalphStateForHud { type UltraworkStateForHud (line 110) | interface UltraworkStateForHud { type PrdStateForHud (line 114) | interface PrdStateForHud { type RateLimits (line 119) | interface RateLimits { type UsageErrorReason (line 147) | type UsageErrorReason = 'network' | 'timeout' | 'http' | 'auth' | 'no_cr... type UsageResult (line 153) | interface UsageResult { type RateLimitsProviderConfig (line 164) | interface RateLimitsProviderConfig { type BucketUsagePercent (line 176) | interface BucketUsagePercent { type BucketUsageCredit (line 181) | interface BucketUsageCredit { type BucketUsageString (line 187) | interface BucketUsageString { type CustomBucketUsage (line 191) | type CustomBucketUsage = BucketUsagePercent | BucketUsageCredit | Bucket... type CustomBucket (line 193) | interface CustomBucket { type CustomProviderOutput (line 201) | interface CustomProviderOutput { type CustomProviderResult (line 210) | interface CustomProviderResult { type HudRenderContext (line 217) | interface HudRenderContext { type HudPreset (line 279) | type HudPreset = 'minimal' | 'focused' | 'full' | 'opencode' | 'dense'; type AgentsFormat (line 290) | type AgentsFormat = 'count' | 'codes' | 'codes-duration' | 'detailed' | ... type ThinkingFormat (line 298) | type ThinkingFormat = 'bubble' | 'brain' | 'face' | 'text'; type CwdFormat (line 305) | type CwdFormat = 'relative' | 'absolute' | 'folder'; type ModelFormat (line 312) | type ModelFormat = 'short' | 'versioned' | 'full'; type HudElementConfig (line 313) | interface HudElementConfig { type HudThresholds (line 351) | interface HudThresholds { type ContextLimitWarningConfig (line 361) | interface ContextLimitWarningConfig { type HudConfig (line 367) | interface HudConfig { FILE: dist/hud/types.js constant DEFAULT_HUD_USAGE_POLL_INTERVAL_MS (line 7) | const DEFAULT_HUD_USAGE_POLL_INTERVAL_MS = 90 * 1000; constant DEFAULT_HUD_CONFIG (line 8) | const DEFAULT_HUD_CONFIG = { constant PRESET_CONFIGS (line 63) | const PRESET_CONFIGS = { FILE: dist/hud/usage-api.d.ts type ZaiQuotaResponse (line 15) | interface ZaiQuotaResponse { FILE: dist/hud/usage-api.js constant CACHE_TTL_FAILURE_MS (line 26) | const CACHE_TTL_FAILURE_MS = 15 * 1000; constant CACHE_TTL_TRANSIENT_NETWORK_MS (line 27) | const CACHE_TTL_TRANSIENT_NETWORK_MS = 2 * 60 * 1000; constant MAX_RATE_LIMITED_BACKOFF_MS (line 28) | const MAX_RATE_LIMITED_BACKOFF_MS = 5 * 60 * 1000; constant API_TIMEOUT_MS (line 29) | const API_TIMEOUT_MS = 10000; constant MAX_STALE_DATA_MS (line 30) | const MAX_STALE_DATA_MS = 15 * 60 * 1000; constant TOKEN_REFRESH_URL_HOSTNAME (line 31) | const TOKEN_REFRESH_URL_HOSTNAME = 'platform.claude.com'; constant USAGE_CACHE_LOCK_OPTS (line 32) | const USAGE_CACHE_LOCK_OPTS = { staleLockMs: API_TIMEOUT_MS + 5000 }; constant TOKEN_REFRESH_URL_PATH (line 33) | const TOKEN_REFRESH_URL_PATH = '/v1/oauth/token'; constant DEFAULT_OAUTH_CLIENT_ID (line 38) | const DEFAULT_OAUTH_CLIENT_ID = '9d1c250a-e61b-44d9-88ed-5944d1962f5e'; function isZaiHost (line 42) | function isZaiHost(urlString) { function getCachePath (line 55) | function getCachePath() { function readCache (line 61) | function readCache() { function writeCache (line 95) | function writeCache(opts) { function sanitizePollIntervalMs (line 122) | function sanitizePollIntervalMs(value) { function getUsagePollIntervalMs (line 128) | function getUsagePollIntervalMs() { function getRateLimitedBackoffMs (line 136) | function getRateLimitedBackoffMs(pollIntervalMs, count) { function getTransientNetworkBackoffMs (line 140) | function getTransientNetworkBackoffMs(pollIntervalMs) { function isCacheValid (line 143) | function isCacheValid(cache, pollIntervalMs) { function hasUsableStaleData (line 158) | function hasUsableStaleData(cache) { function getCachedUsageResult (line 167) | function getCachedUsageResult(cache) { function createRateLimitedCacheEntry (line 183) | function createRateLimitedCacheEntry(source, data, pollIntervalMs, previ... function getKeychainServiceName (line 202) | function getKeychainServiceName() { function isCredentialExpired (line 210) | function isCredentialExpired(creds) { function readKeychainCredential (line 213) | function readKeychainCredential(serviceName, account) { function readKeychainCredentials (line 244) | function readKeychainCredentials() { function readFileCredentials (line 274) | function readFileCredentials() { function getCredentials (line 300) | function getCredentials() { function validateCredentials (line 311) | function validateCredentials(creds) { function refreshAccessToken (line 320) | function refreshAccessToken(refreshToken) { function fetchUsageFromApi (line 373) | function fetchUsageFromApi(accessToken) { function fetchUsageFromZai (line 421) | function fetchUsageFromZai() { function writeBackCredentials (line 488) | function writeBackCredentials(creds) { function clamp (line 544) | function clamp(v) { function parseUsageResponse (line 552) | function parseUsageResponse(response) { function parseZaiResponse (line 597) | function parseZaiResponse(response) { function getUsage (line 636) | async function getUsage() { FILE: dist/index.d.ts type OmcOptions (line 38) | interface OmcOptions { type OmcSession (line 55) | interface OmcSession { FILE: dist/index.js function createOmcSession (line 75) | function createOmcSession(options) { function enhancePrompt (line 170) | function enhancePrompt(prompt, config) { function getOmcSystemPrompt (line 177) | function getOmcSystemPrompt(options) { FILE: dist/installer/__tests__/claude-md-merge.test.js constant START_MARKER (line 7) | const START_MARKER = ''; constant END_MARKER (line 8) | const END_MARKER = ''; constant USER_CUSTOMIZATIONS (line 9) | const USER_CUSTOMIZATIONS = ''; constant USER_CUSTOMIZATIONS_RECOVERED (line 10) | const USER_CUSTOMIZATIONS_RECOVERED = '/; function isComparableVersion (line 43) | function isComparableVersion(version) { function compareVersions (line 46) | function compareVersions(a, b) { function extractOmcVersionMarker (line 60) | function extractOmcVersionMarker(content) { function getNewestInstalledVersionHint (line 64) | function getNewestInstalledVersionHint() { function findLineAnchoredMarker (line 107) | function findLineAnchoredMarker(content, marker, fromEnd = false) { function escapeRegex (line 126) | function escapeRegex(value) { function createLineAnchoredMarkerRegex (line 129) | function createLineAnchoredMarkerRegex(marker, flags = 'gm') { function stripGeneratedUserCustomizationHeaders (line 132) | function stripGeneratedUserCustomizationHeaders(content) { function trimClaudeUserContent (line 135) | function trimClaudeUserContent(content) { function isHudEnabledInConfig (line 148) | function isHudEnabledInConfig() { function isOmcStatusLine (line 173) | function isOmcStatusLine(statusLine) { constant OMC_HOOK_FILENAMES (line 193) | const OMC_HOOK_FILENAMES = new Set([ function isOmcHook (line 213) | function isOmcHook(command) { function checkNodeVersion (line 233) | function checkNodeVersion() { function isClaudeInstalled (line 245) | function isClaudeInstalled() { function isRunningAsPlugin (line 267) | function isRunningAsPlugin() { function isProjectScopedPlugin (line 283) | function isProjectScopedPlugin() { function directoryHasMarkdownFiles (line 296) | function directoryHasMarkdownFiles(directory) { function getInstalledOmcPluginRoots (line 307) | function getInstalledOmcPluginRoots() { function hasPluginProvidedAgentFiles (line 340) | function hasPluginProvidedAgentFiles() { function getPackageDir (line 349) | function getPackageDir() { function getRuntimePackageRoot (line 366) | function getRuntimePackageRoot() { function loadAgentDefinitions (line 372) | function loadAgentDefinitions() { function loadCommandDefinitions (line 393) | function loadCommandDefinitions() { function loadBundledSkillContent (line 409) | function loadBundledSkillContent(skillName) { function loadClaudeMdContent (line 416) | function loadClaudeMdContent() { function extractOmcVersionFromClaudeMd (line 430) | function extractOmcVersionFromClaudeMd(content) { function syncPersistedSetupVersion (line 450) | function syncPersistedSetupVersion(options) { function mergeClaudeMd (line 488) | function mergeClaudeMd(existingContent, omcContent, version) { function install (line 531) | function install(options = {}) { function isInstalled (line 1031) | function isInstalled() { function getInstallInfo (line 1037) | function getInstallInfo() { FILE: dist/installer/mcp-registry.d.ts type UnifiedMcpRegistryEntry (line 1) | interface UnifiedMcpRegistryEntry { type UnifiedMcpRegistry (line 8) | type UnifiedMcpRegistry = Record; type UnifiedMcpRegistrySyncResult (line 9) | interface UnifiedMcpRegistrySyncResult { type UnifiedMcpRegistryStatus (line 19) | interface UnifiedMcpRegistryStatus { FILE: dist/installer/mcp-registry.js constant MANAGED_START (line 6) | const MANAGED_START = '# BEGIN OMC MANAGED MCP REGISTRY'; constant MANAGED_END (line 7) | const MANAGED_END = '# END OMC MANAGED MCP REGISTRY'; function getUnifiedMcpRegistryPath (line 8) | function getUnifiedMcpRegistryPath() { function getUnifiedMcpRegistryStatePath (line 11) | function getUnifiedMcpRegistryStatePath() { function getUnifiedMcpRegistryPathCandidates (line 14) | function getUnifiedMcpRegistryPathCandidates() { function getUnifiedMcpRegistryStatePathCandidates (line 20) | function getUnifiedMcpRegistryStatePathCandidates() { function getClaudeMcpConfigPath (line 23) | function getClaudeMcpConfigPath() { function getCodexConfigPath (line 29) | function getCodexConfigPath() { function isStringRecord (line 33) | function isStringRecord(value) { function normalizeRegistryEntry (line 39) | function normalizeRegistryEntry(value) { function normalizeRegistry (line 68) | function normalizeRegistry(value) { function extractClaudeMcpRegistry (line 84) | function extractClaudeMcpRegistry(settings) { function loadRegistryFromDisk (line 87) | function loadRegistryFromDisk(path) { function ensureParentDir (line 95) | function ensureParentDir(path) { function readManagedServerNames (line 101) | function readManagedServerNames() { function writeManagedServerNames (line 118) | function writeManagedServerNames(serverNames) { function bootstrapRegistryFromClaude (line 123) | function bootstrapRegistryFromClaude(settings, registryPath) { function loadOrBootstrapRegistry (line 132) | function loadOrBootstrapRegistry(settings) { function entriesEqual (line 150) | function entriesEqual(left, right) { function applyRegistryToClaudeSettings (line 153) | function applyRegistryToClaudeSettings(settings) { function syncClaudeMcpConfig (line 162) | function syncClaudeMcpConfig(existingClaudeConfig, registry, managedServ... function escapeTomlString (line 183) | function escapeTomlString(value) { function unescapeTomlString (line 188) | function unescapeTomlString(value) { function renderTomlString (line 193) | function renderTomlString(value) { function parseTomlQuotedString (line 196) | function parseTomlQuotedString(value) { function renderTomlStringArray (line 200) | function renderTomlStringArray(values) { function parseTomlStringArray (line 203) | function parseTomlStringArray(value) { function renderTomlEnvTable (line 214) | function renderTomlEnvTable(env) { function parseTomlEnvTable (line 220) | function parseTomlEnvTable(value) { function renderCodexServerBlock (line 234) | function renderCodexServerBlock(name, entry) { function stripManagedCodexBlock (line 253) | function stripManagedCodexBlock(content) { function renderManagedCodexMcpBlock (line 257) | function renderManagedCodexMcpBlock(registry) { function syncCodexConfigToml (line 265) | function syncCodexConfigToml(existingContent, registry) { function parseCodexMcpRegistryEntries (line 276) | function parseCodexMcpRegistryEntries(content) { function syncUnifiedMcpRegistryTargets (line 341) | function syncUnifiedMcpRegistryTargets(settings) { function readJsonObject (line 385) | function readJsonObject(path) { function inspectUnifiedMcpRegistrySync (line 399) | function inspectUnifiedMcpRegistrySync() { FILE: dist/interop/mcp-bridge.d.ts type InteropMode (line 9) | type InteropMode = 'off' | 'observe' | 'active'; FILE: dist/interop/mcp-bridge.js function getInteropMode (line 10) | function getInteropMode(env = process.env) { function canUseOmxDirectWriteBridge (line 17) | function canUseOmxDirectWriteBridge(env = process.env) { function getInteropTools (line 516) | function getInteropTools() { FILE: dist/interop/omx-team-state.d.ts type OmxTeamConfig (line 14) | interface OmxTeamConfig { type OmxWorkerInfo (line 25) | interface OmxWorkerInfo { type OmxTeamTask (line 33) | interface OmxTeamTask { type OmxTeamMailboxMessage (line 48) | interface OmxTeamMailboxMessage { type OmxTeamMailbox (line 57) | interface OmxTeamMailbox { type OmxTeamEvent (line 61) | interface OmxTeamEvent { type OmxTeamManifestV2 (line 73) | interface OmxTeamManifestV2 { FILE: dist/interop/omx-team-state.js function omxStateDir (line 56) | function omxStateDir(cwd) { function teamDir (line 60) | function teamDir(teamName, cwd) { function mailboxPath (line 63) | function mailboxPath(teamName, workerName, cwd) { function taskFilePath (line 66) | function taskFilePath(teamName, taskId, cwd) { function eventLogPath (line 69) | function eventLogPath(teamName, cwd) { function listOmxTeams (line 78) | async function listOmxTeams(cwd) { function readOmxTeamConfig (line 99) | async function readOmxTeamConfig(teamName, cwd) { function readOmxMailbox (line 147) | async function readOmxMailbox(teamName, workerName, cwd) { function listOmxMailboxMessages (line 166) | async function listOmxMailboxMessages(teamName, workerName, cwd) { function sendOmxDirectMessage (line 176) | async function sendOmxDirectMessage(teamName, fromWorker, toWorker, body... function broadcastOmxMessage (line 203) | async function broadcastOmxMessage(teamName, fromWorker, body, cwd) { function markOmxMessageDelivered (line 220) | async function markOmxMessageDelivered(teamName, workerName, messageId, ... function readOmxTask (line 238) | async function readOmxTask(teamName, taskId, cwd) { function listOmxTasks (line 259) | async function listOmxTasks(teamName, cwd) { function appendOmxTeamEvent (line 289) | async function appendOmxTeamEvent(teamName, event, cwd) { FILE: dist/interop/shared-state.d.ts type InteropConfig (line 9) | interface InteropConfig { type SharedTask (line 16) | interface SharedTask { type SharedMessage (line 30) | interface SharedMessage { FILE: dist/interop/shared-state.js function getInteropDir (line 47) | function getInteropDir(cwd) { function initInteropSession (line 54) | function initInteropSession(sessionId, omcCwd, omxCwd) { function readInteropConfig (line 74) | function readInteropConfig(cwd) { function addSharedTask (line 91) | function addSharedTask(cwd, task) { function readSharedTasks (line 111) | function readSharedTasks(cwd, filter) { function updateSharedTask (line 144) | function updateSharedTask(cwd, taskId, updates) { function addSharedMessage (line 174) | function addSharedMessage(cwd, message) { function readSharedMessages (line 194) | function readSharedMessages(cwd, filter) { function markMessageAsRead (line 227) | function markMessageAsRead(cwd, messageId) { function cleanupInterop (line 250) | function cleanupInterop(cwd, options) { FILE: dist/lib/__tests__/worktree-paths.test.js constant TEST_DIR (line 6) | const TEST_DIR = '/tmp/worktree-paths-test'; FILE: dist/lib/atomic-write.js function ensureDirSync (line 15) | function ensureDirSync(dir) { function atomicWriteJson (line 39) | async function atomicWriteJson(filePath, data) { function atomicWriteSync (line 92) | function atomicWriteSync(filePath, content) { function atomicWriteFileSync (line 154) | function atomicWriteFileSync(filePath, content) { function atomicWriteJsonSync (line 218) | function atomicWriteJsonSync(filePath, data) { function safeReadJson (line 222) | async function safeReadJson(filePath) { FILE: dist/lib/featured-contributors.d.ts type GitHubContributor (line 5) | interface GitHubContributor { type GitHubRepo (line 11) | interface GitHubRepo { type FeaturedContributor (line 23) | interface FeaturedContributor { type SyncFeaturedContributorsOptions (line 31) | interface SyncFeaturedContributorsOptions { type SyncFeaturedContributorsResult (line 38) | interface SyncFeaturedContributorsResult { FILE: dist/lib/featured-contributors.js constant FEATURED_CONTRIBUTORS_START_MARKER (line 7) | const FEATURED_CONTRIBUTORS_START_MARKER = ''; constant END_MARKER (line 10) | const END_MARKER = ''; constant USER_CUSTOMIZATIONS (line 11) | const USER_CUSTOMIZATIONS = ''; constant USER_CUSTOMIZATIONS_RECOVERED (line 12) | const USER_CUSTOMIZATIONS_RECOVERED = '/; function isComparableVersion (line 52) | function isComparableVersion(version: string | null | undefined): versio... function compareVersions (line 56) | function compareVersions(a: string, b: string): number { function extractOmcVersionMarker (line 71) | function extractOmcVersionMarker(content: string): string | null { function getNewestInstalledVersionHint (line 76) | function getNewestInstalledVersionHint(): string | null { function findLineAnchoredMarker (line 124) | function findLineAnchoredMarker(content: string, marker: string, fromEnd... function escapeRegex (line 144) | function escapeRegex(value: string): string { function createLineAnchoredMarkerRegex (line 148) | function createLineAnchoredMarkerRegex(marker: string, flags: string = '... function stripGeneratedUserCustomizationHeaders (line 152) | function stripGeneratedUserCustomizationHeaders(content: string): string { function trimClaudeUserContent (line 159) | function trimClaudeUserContent(content: string): string { type InstallResult (line 171) | interface InstallResult { type InstallOptions (line 183) | interface InstallOptions { function isHudEnabledInConfig (line 197) | function isHudEnabledInConfig(): boolean { function isOmcStatusLine (line 222) | function isOmcStatusLine(statusLine: unknown): boolean { constant OMC_HOOK_FILENAMES (line 242) | const OMC_HOOK_FILENAMES = new Set([ function isOmcHook (line 263) | function isOmcHook(command: string): boolean { function checkNodeVersion (line 284) | function checkNodeVersion(): { valid: boolean; current: number; required... function isClaudeInstalled (line 297) | function isClaudeInstalled(): boolean { function isRunningAsPlugin (line 319) | function isRunningAsPlugin(): boolean { function isProjectScopedPlugin (line 336) | function isProjectScopedPlugin(): boolean { function directoryHasMarkdownFiles (line 353) | function directoryHasMarkdownFiles(directory: string): boolean { function getInstalledOmcPluginRoots (line 365) | function getInstalledOmcPluginRoots(): string[] { function hasPluginProvidedAgentFiles (line 406) | function hasPluginProvidedAgentFiles(): boolean { function getPackageDir (line 418) | function getPackageDir(): string { function getRuntimePackageRoot (line 435) | function getRuntimePackageRoot(): string { function loadAgentDefinitions (line 442) | function loadAgentDefinitions(): Record { function loadCommandDefinitions (line 467) | function loadCommandDefinitions(): Record { function loadBundledSkillContent (line 487) | function loadBundledSkillContent(skillName: string): string | null { function loadClaudeMdContent (line 497) | function loadClaudeMdContent(): string { function extractOmcVersionFromClaudeMd (line 514) | function extractOmcVersionFromClaudeMd(content: string): string | null { function syncPersistedSetupVersion (line 537) | function syncPersistedSetupVersion(options?: { function mergeClaudeMd (line 587) | function mergeClaudeMd(existingContent: string | null, omcContent: strin... function install (line 650) | function install(options: InstallOptions = {}): InstallResult { function isInstalled (line 1169) | function isInstalled(): boolean { function getInstallInfo (line 1176) | function getInstallInfo(): { version: string; installedAt: string; metho... FILE: src/installer/mcp-registry.ts type UnifiedMcpRegistryEntry (line 13) | interface UnifiedMcpRegistryEntry { type UnifiedMcpRegistry (line 21) | type UnifiedMcpRegistry = Record; type UnifiedMcpRegistrySyncResult (line 23) | interface UnifiedMcpRegistrySyncResult { type UnifiedMcpRegistryStatus (line 34) | interface UnifiedMcpRegistryStatus { constant MANAGED_START (line 46) | const MANAGED_START = '# BEGIN OMC MANAGED MCP REGISTRY'; constant MANAGED_END (line 47) | const MANAGED_END = '# END OMC MANAGED MCP REGISTRY'; function getUnifiedMcpRegistryPath (line 49) | function getUnifiedMcpRegistryPath(): string { function getUnifiedMcpRegistryStatePath (line 53) | function getUnifiedMcpRegistryStatePath(): string { function getUnifiedMcpRegistryPathCandidates (line 57) | function getUnifiedMcpRegistryPathCandidates(): string[] { function getUnifiedMcpRegistryStatePathCandidates (line 65) | function getUnifiedMcpRegistryStatePathCandidates(): string[] { function getClaudeMcpConfigPath (line 69) | function getClaudeMcpConfigPath(): string { function getCodexConfigPath (line 77) | function getCodexConfigPath(): string { function isStringRecord (line 82) | function isStringRecord(value: unknown): value is Record { function normalizeRegistryEntry (line 89) | function normalizeRegistryEntry(value: unknown): UnifiedMcpRegistryEntry... function normalizeRegistry (line 123) | function normalizeRegistry(value: unknown): UnifiedMcpRegistry { function extractClaudeMcpRegistry (line 143) | function extractClaudeMcpRegistry(settings: Record): Un... function loadRegistryFromDisk (line 147) | function loadRegistryFromDisk(path: string): UnifiedMcpRegistry { function ensureParentDir (line 155) | function ensureParentDir(path: string): void { function readManagedServerNames (line 162) | function readManagedServerNames(): string[] { function writeManagedServerNames (line 181) | function writeManagedServerNames(serverNames: string[]): void { function bootstrapRegistryFromClaude (line 187) | function bootstrapRegistryFromClaude(settings: Record, ... function loadOrBootstrapRegistry (line 198) | function loadOrBootstrapRegistry(settings: Record): { function entriesEqual (line 222) | function entriesEqual(left: unknown, right: unknown): boolean { function applyRegistryToClaudeSettings (line 226) | function applyRegistryToClaudeSettings( function syncClaudeMcpConfig (line 239) | function syncClaudeMcpConfig( function escapeTomlString (line 269) | function escapeTomlString(value: string): string { function unescapeTomlString (line 275) | function unescapeTomlString(value: string): string { function renderTomlString (line 281) | function renderTomlString(value: string): string { function parseTomlQuotedString (line 285) | function parseTomlQuotedString(value: string): string | undefined { function renderTomlStringArray (line 290) | function renderTomlStringArray(values: string[]): string { function parseTomlStringArray (line 294) | function parseTomlStringArray(value: string): string[] | undefined { function renderTomlEnvTable (line 305) | function renderTomlEnvTable(env: Record): string { function parseTomlEnvTable (line 313) | function parseTomlEnvTable(value: string): Record | unde... function renderCodexServerBlock (line 331) | function renderCodexServerBlock(name: string, entry: UnifiedMcpRegistryE... function stripManagedCodexBlock (line 353) | function stripManagedCodexBlock(content: string): string { function renderManagedCodexMcpBlock (line 362) | function renderManagedCodexMcpBlock(registry: UnifiedMcpRegistry): string { function syncCodexConfigToml (line 372) | function syncCodexConfigToml(existingContent: string, registry: UnifiedM... function parseCodexMcpRegistryEntries (line 385) | function parseCodexMcpRegistryEntries(content: string): UnifiedMcpRegist... function syncUnifiedMcpRegistryTargets (line 449) | function syncUnifiedMcpRegistryTargets( function readJsonObject (line 501) | function readJsonObject(path: string): Record { function inspectUnifiedMcpRegistrySync (line 516) | function inspectUnifiedMcpRegistrySync(): UnifiedMcpRegistryStatus { FILE: src/interop/mcp-bridge.ts type InteropMode (line 27) | type InteropMode = 'off' | 'observe' | 'active'; function getInteropMode (line 29) | function getInteropMode(env: NodeJS.ProcessEnv = process.env): InteropMo... function canUseOmxDirectWriteBridge (line 37) | function canUseOmxDirectWriteBridge(env: NodeJS.ProcessEnv = process.env... function getInteropTools (line 631) | function getInteropTools(): ToolDefinition[] { FILE: src/interop/omx-team-state.ts type OmxTeamConfig (line 26) | interface OmxTeamConfig { type OmxWorkerInfo (line 38) | interface OmxWorkerInfo { type OmxTeamTask (line 47) | interface OmxTeamTask { type OmxTeamMailboxMessage (line 63) | interface OmxTeamMailboxMessage { type OmxTeamMailbox (line 73) | interface OmxTeamMailbox { type OmxTeamEvent (line 78) | interface OmxTeamEvent { type OmxTeamManifestV2 (line 98) | interface OmxTeamManifestV2 { function omxStateDir (line 151) | function omxStateDir(cwd: string): string { function teamDir (line 156) | function teamDir(teamName: string, cwd: string): string { function mailboxPath (line 160) | function mailboxPath(teamName: string, workerName: string, cwd: string):... function taskFilePath (line 164) | function taskFilePath(teamName: string, taskId: string, cwd: string): st... function eventLogPath (line 168) | function eventLogPath(teamName: string, cwd: string): string { function listOmxTeams (line 179) | async function listOmxTeams(cwd: string): Promise { function readOmxTeamConfig (line 201) | async function readOmxTeamConfig(teamName: string, cwd: string): Promise... function readOmxMailbox (line 250) | async function readOmxMailbox( function listOmxMailboxMessages (line 272) | async function listOmxMailboxMessages( function sendOmxDirectMessage (line 287) | async function sendOmxDirectMessage( function broadcastOmxMessage (line 328) | async function broadcastOmxMessage( function markOmxMessageDelivered (line 350) | async function markOmxMessageDelivered( function readOmxTask (line 374) | async function readOmxTask( function listOmxTasks (line 396) | async function listOmxTasks( function appendOmxTeamEvent (line 430) | async function appendOmxTeamEvent( FILE: src/interop/shared-state.ts type InteropConfig (line 16) | interface InteropConfig { type SharedTask (line 24) | interface SharedTask { type SharedMessage (line 39) | interface SharedMessage { function getInteropDir (line 86) | function getInteropDir(cwd: string): string { function initInteropSession (line 94) | function initInteropSession( function readInteropConfig (line 123) | function readInteropConfig(cwd: string): InteropConfig | null { function addSharedTask (line 142) | function addSharedTask( function readSharedTasks (line 171) | function readSharedTasks(cwd: string, filter?: { function updateSharedTask (line 212) | function updateSharedTask( function addSharedMessage (line 255) | function addSharedMessage( function readSharedMessages (line 284) | function readSharedMessages(cwd: string, filter?: { function markMessageAsRead (line 325) | function markMessageAsRead(cwd: string, messageId: string): boolean { function cleanupInterop (line 351) | function cleanupInterop(cwd: string, options?: { FILE: src/lib/__tests__/worktree-paths.test.ts constant TEST_DIR (line 30) | const TEST_DIR = '/tmp/worktree-paths-test'; FILE: src/lib/atomic-write.ts function ensureDirSync (line 17) | function ensureDirSync(dir: string): void { function atomicWriteJson (line 42) | async function atomicWriteJson( function atomicWriteSync (line 102) | function atomicWriteSync(filePath: string, content: string): void { function atomicWriteFileSync (line 166) | function atomicWriteFileSync(filePath: string, content: string): void { function atomicWriteJsonSync (line 235) | function atomicWriteJsonSync(filePath: string, data: unknown): void { function safeReadJson (line 240) | async function safeReadJson(filePath: string): Promise { FILE: src/lib/featured-contributors.ts constant FEATURED_CONTRIBUTORS_START_MARKER (line 9) | const FEATURED_CONTRIBUTORS_START_MARKER = '