[{"data":1,"prerenderedAt":842},["ShallowReactive",2],{"navigation_docs":3,"-tools-index-directory":340,"-tools-index-directory-surround":837},[4,30,55,254,271,294,311],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","/getting-started","1.getting-started",[9,13,17,21,25],{"title":10,"path":11,"stem":12},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":14,"path":15,"stem":16},"Platform","/getting-started/platforms","1.getting-started/2.platforms",{"title":18,"path":19,"stem":20},"Installation","/getting-started/installation","1.getting-started/3.installation",{"title":22,"path":23,"stem":24},"Licensing","/getting-started/licensing","1.getting-started/4.licensing",{"title":26,"path":27,"stem":28},"Quick Start","/getting-started/quick-start","1.getting-started/5.quick-start",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Features","/features","2.features",[35,39,43,47,51],{"title":36,"path":37,"stem":38},"Features Overview","/features/overview","2.features/1.overview",{"title":40,"path":41,"stem":42},"Code Quality Metrics","/features/code-quality-metrics","2.features/2.code-quality-metrics",{"title":44,"path":45,"stem":46},"Technical Debt Analysis","/features/technical-debt-analysis","2.features/3.technical-debt-analysis",{"title":48,"path":49,"stem":50},"Code Search","/features/code-search","2.features/4.code-search",{"title":52,"path":53,"stem":54},"Reports","/features/reports","2.features/5.reports",{"title":56,"path":57,"stem":58,"children":59,"page":29},"Tools","/tools","3.tools",[60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,142,148,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222,226,230,234,238,242,246,250],{"title":61,"path":62,"stem":63},"Tools Overview","/tools/overview","3.tools/1.overview",{"title":65,"path":66,"stem":67},"stellarion_get_symbol_info","/tools/get-symbol-info","3.tools/10.get-symbol-info",{"title":69,"path":70,"stem":71},"stellarion_symbol_search","/tools/symbol-search","3.tools/11.symbol-search",{"title":73,"path":74,"stem":75},"stellarion_get_callers","/tools/get-callers","3.tools/12.get-callers",{"title":77,"path":78,"stem":79},"stellarion_get_callees","/tools/get-callees","3.tools/13.get-callees",{"title":81,"path":82,"stem":83},"stellarion_get_detailed_symbol","/tools/get-detailed-symbol","3.tools/14.get-detailed-symbol",{"title":85,"path":86,"stem":87},"stellarion_find_by_imports","/tools/find-by-imports","3.tools/15.find-by-imports",{"title":89,"path":90,"stem":91},"stellarion_find_by_signature","/tools/find-by-signature","3.tools/16.find-by-signature",{"title":93,"path":94,"stem":95},"stellarion_find_entry_points","/tools/find-entry-points","3.tools/17.find-entry-points",{"title":97,"path":98,"stem":99},"stellarion_find_implementors","/tools/find-implementors","3.tools/18.find-implementors",{"title":101,"path":102,"stem":103},"stellarion_traverse_graph","/tools/traverse-graph","3.tools/19.traverse-graph",{"title":105,"path":106,"stem":107},"stellarion_get_ai_context","/tools/get-ai-context","3.tools/2.get-ai-context",{"title":109,"path":110,"stem":111},"stellarion_memory_store","/tools/memory-store","3.tools/20.memory-store",{"title":113,"path":114,"stem":115},"stellarion_memory_search","/tools/memory-search","3.tools/21.memory-search",{"title":117,"path":118,"stem":119},"stellarion_memory_get","/tools/memory-get","3.tools/22.memory-get",{"title":121,"path":122,"stem":123},"stellarion_memory_context","/tools/memory-context","3.tools/23.memory-context",{"title":125,"path":126,"stem":127},"stellarion_memory_invalidate","/tools/memory-invalidate","3.tools/24.memory-invalidate",{"title":129,"path":130,"stem":131},"stellarion_memory_list","/tools/memory-list","3.tools/25.memory-list",{"title":133,"path":134,"stem":135},"stellarion_memory_stats","/tools/memory-stats","3.tools/26.memory-stats",{"title":137,"path":138,"stem":139,"children":140},"stellarion_reindex_workspace","/tools/reindex-workspace","3.tools/27.reindex-workspace",[141],{"title":137,"path":138,"stem":139},{"title":143,"path":144,"stem":145,"children":146},"stellarion_index_files","/tools/index-files","3.tools/28.index-files",[147],{"title":143,"path":144,"stem":145},{"title":149,"path":150,"stem":151,"children":152},"stellarion_index_directory","/tools/index-directory","3.tools/29.index-directory",[153],{"title":149,"path":150,"stem":151},{"title":155,"path":156,"stem":157},"stellarion_get_edit_context","/tools/get-edit-context","3.tools/3.get-edit-context",{"title":159,"path":160,"stem":161},"stellarion_scan_security [Pro]","/tools/scan-security","3.tools/30.scan-security",{"title":163,"path":164,"stem":165},"stellarion_analyze_coupling [Pro]","/tools/analyze-coupling","3.tools/31.analyze-coupling",{"title":167,"path":168,"stem":169},"stellarion_find_unused_code [Pro]","/tools/find-unused-code","3.tools/32.find-unused-code",{"title":171,"path":172,"stem":173},"stellarion_codebase_health [Pro]","/tools/codebase-health","3.tools/33.codebase-health",{"title":175,"path":176,"stem":177},"stellarion_tech_debt_report [Pro]","/tools/tech-debt-report","3.tools/34.tech-debt-report",{"title":179,"path":180,"stem":181},"stellarion_assess_change_risk [Pro]","/tools/assess-change-risk","3.tools/35.assess-change-risk",{"title":183,"path":184,"stem":185},"stellarion_dependency_drift [Pro]","/tools/dependency-drift","3.tools/36.dependency-drift",{"title":187,"path":188,"stem":189},"stellarion_api_surface [Pro]","/tools/api-surface","3.tools/37.api-surface",{"title":191,"path":192,"stem":193},"stellarion_find_duplicates [Pro]","/tools/find-duplicates","3.tools/38.find-duplicates",{"title":195,"path":196,"stem":197},"stellarion_find_similar [Pro]","/tools/find-similar","3.tools/39.find-similar",{"title":199,"path":200,"stem":201},"stellarion_get_curated_context","/tools/get-curated-context","3.tools/4.get-curated-context",{"title":203,"path":204,"stem":205},"stellarion_cluster_symbols [Pro]","/tools/cluster-symbols","3.tools/40.cluster-symbols",{"title":207,"path":208,"stem":209},"stellarion_compare_symbols [Pro]","/tools/compare-symbols","3.tools/41.compare-symbols",{"title":211,"path":212,"stem":213},"stellarion_mine_git_history [Pro]","/tools/mine-git-history","3.tools/42.mine-git-history",{"title":215,"path":216,"stem":217},"stellarion_mine_git_history_for_file [Pro]","/tools/mine-git-history-for-file","3.tools/43.mine-git-history-for-file",{"title":219,"path":220,"stem":221},"stellarion_search_git_history [Pro]","/tools/search-git-history","3.tools/44.search-git-history",{"title":223,"path":224,"stem":225},"stellarion_find_eda_calls [Pro · EDA]","/tools/find-eda-calls","3.tools/45.find-eda-calls",{"title":227,"path":228,"stem":229},"stellarion_get_flow_graph [Pro · EDA]","/tools/get-flow-graph","3.tools/46.get-flow-graph",{"title":231,"path":232,"stem":233},"stellarion_find_duplicate_constraints [Pro · EDA]","/tools/find-duplicate-constraints","3.tools/47.find-duplicate-constraints",{"title":235,"path":236,"stem":237},"stellarion_analyze_impact","/tools/analyze-impact","3.tools/5.analyze-impact",{"title":239,"path":240,"stem":241},"stellarion_analyze_complexity","/tools/analyze-complexity","3.tools/6.analyze-complexity",{"title":243,"path":244,"stem":245},"stellarion_get_call_graph","/tools/get-call-graph","3.tools/7.get-call-graph",{"title":247,"path":248,"stem":249},"stellarion_get_dependency_graph","/tools/get-dependency-graph","3.tools/8.get-dependency-graph",{"title":251,"path":252,"stem":253},"stellarion_find_related_tests","/tools/find-related-tests","3.tools/9.find-related-tests",{"title":255,"path":256,"stem":257,"children":258,"page":29},"Integrations","/integrations","4.integrations",[259,263,267],{"title":260,"path":261,"stem":262},"Claude Code","/integrations/claude-code","4.integrations/1.claude-code",{"title":264,"path":265,"stem":266},"Cursor","/integrations/cursor","4.integrations/2.cursor",{"title":268,"path":269,"stem":270},"Other MCP Clients","/integrations/other-mcp-clients","4.integrations/3.other-mcp-clients",{"title":272,"path":273,"stem":274,"children":275,"page":29},"Guides","/guides","5.guides",[276,282,286,290],{"title":277,"path":278,"stem":279,"children":280},"Indexing Your Project","/guides/indexing-your-project","5.guides/1.indexing-your-project",[281],{"title":277,"path":278,"stem":279},{"title":283,"path":284,"stem":285},"Improving Code Quality","/guides/improving-code-quality","5.guides/2.improving-code-quality",{"title":287,"path":288,"stem":289},"Reducing Technical Debt","/guides/reducing-technical-debt","5.guides/3.reducing-technical-debt",{"title":291,"path":292,"stem":293},"Slash Commands","/guides/slash-commands","5.guides/4.slash-commands",{"title":295,"path":296,"stem":297,"children":298,"page":29},"Reference","/reference","6.reference",[299,303,307],{"title":300,"path":301,"stem":302},"CLI Commands","/reference/cli-commands","6.reference/1.cli-commands",{"title":304,"path":305,"stem":306},"Environment Variables","/reference/environment-variables","6.reference/2.environment-variables",{"title":308,"path":309,"stem":310},"Troubleshooting","/reference/troubleshooting","6.reference/3.troubleshooting",{"title":312,"path":313,"stem":314,"children":315,"page":29},"Quality","/quality","7.quality",[316,320,324,328,332,336],{"title":317,"path":318,"stem":319},"Code Quality Metrics Overview","/quality/stellarion_quality_metrics","7.quality/1.Stellarion_Quality_Metrics",{"title":321,"path":322,"stem":323},"Cognitive Complexity","/quality/cognitive-complexity","7.quality/2.cognitive-complexity",{"title":325,"path":326,"stem":327},"Cyclomatic Complexity","/quality/cyclomatic-complexity","7.quality/3.cyclomatic-complexity",{"title":329,"path":330,"stem":331},"Maintainability Index","/quality/maintainability","7.quality/4.maintainability",{"title":333,"path":334,"stem":335},"Circular Dependencies","/quality/circular-dependencies","7.quality/5.circular-dependencies",{"title":337,"path":338,"stem":339},"Unused Code Detection","/quality/unused-code","7.quality/6.unused-code",{"id":341,"title":149,"body":342,"description":830,"extension":831,"links":832,"meta":833,"navigation":834,"path":150,"seo":835,"stem":151,"__hash__":836},"docs/3.tools/29.index-directory.md",{"type":343,"value":344,"toc":819},"minimark",[345,353,358,374,378,447,451,456,462,468,473,566,570,574,579,583,663,667,671,676,680,744,748,751,787,791,815],[346,347,348,349,352],"p",{},"Indexes all supported files in a directory, adding them to the existing code graph. Unlike ",[350,351,137],"code",{}," which operates on the configured workspace root, this tool lets you add any directory — useful for monorepos, external dependencies, or directories outside the main project.",[354,355,357],"h2",{"id":356},"when-to-use","When to Use",[359,360,361,365,368,371],"ul",{},[362,363,364],"li",{},"You want to add a new sub-project or package to the graph in a monorepo",[362,366,367],{},"You need to index a directory outside the main workspace (e.g., a shared library)",[362,369,370],{},"You added a new top-level directory to the project and want it indexed",[362,372,373],{},"You want to include vendored or generated code in the graph",[354,375,377],{"id":376},"parameters","Parameters",[379,380,381,403],"table",{},[382,383,384],"thead",{},[385,386,387,391,394,397,400],"tr",{},[388,389,390],"th",{},"Parameter",[388,392,393],{},"Type",[388,395,396],{},"Required",[388,398,399],{},"Default",[388,401,402],{},"Description",[404,405,406,426],"tbody",{},[385,407,408,414,417,420,423],{},[409,410,411],"td",{},[350,412,413],{},"path",[409,415,416],{},"string",[409,418,419],{},"yes",[409,421,422],{},"—",[409,424,425],{},"Absolute path to the directory to index",[385,427,428,433,436,439,444],{},[409,429,430],{},[350,431,432],{},"embed",[409,434,435],{},"boolean",[409,437,438],{},"no",[409,440,441],{},[350,442,443],{},"true",[409,445,446],{},"Whether to generate embeddings for semantic search (disable for faster indexing if you only need structural analysis)",[354,448,450],{"id":449},"examples","Examples",[452,453,455],"h3",{"id":454},"index-a-new-package-in-a-monorepo","Index a new package in a monorepo",[346,457,458],{},[459,460,461],"strong",{},"Natural language:",[463,464,465],"blockquote",{},[346,466,467],{},"Add the packages/shared-utils directory to the code graph",[346,469,470],{},[459,471,472],{},"MCP call:",[474,475,480],"pre",{"className":476,"code":477,"language":478,"meta":479,"style":479},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"tool\": \"stellarion_index_directory\",\n  \"arguments\": {\n    \"path\": \"/Users/dev/monorepo/packages/shared-utils\"\n  }\n}\n","json","",[350,481,482,491,518,533,554,560],{"__ignoreMap":479},[483,484,487],"span",{"class":485,"line":486},"line",1,[483,488,490],{"class":489},"sMK4o","{\n",[483,492,494,497,501,504,507,510,513,515],{"class":485,"line":493},2,[483,495,496],{"class":489},"  \"",[483,498,500],{"class":499},"spNyl","tool",[483,502,503],{"class":489},"\"",[483,505,506],{"class":489},":",[483,508,509],{"class":489}," \"",[483,511,149],{"class":512},"sfazB",[483,514,503],{"class":489},[483,516,517],{"class":489},",\n",[483,519,521,523,526,528,530],{"class":485,"line":520},3,[483,522,496],{"class":489},[483,524,525],{"class":499},"arguments",[483,527,503],{"class":489},[483,529,506],{"class":489},[483,531,532],{"class":489}," {\n",[483,534,536,539,542,544,546,548,551],{"class":485,"line":535},4,[483,537,538],{"class":489},"    \"",[483,540,413],{"class":541},"sBMFI",[483,543,503],{"class":489},[483,545,506],{"class":489},[483,547,509],{"class":489},[483,549,550],{"class":512},"/Users/dev/monorepo/packages/shared-utils",[483,552,553],{"class":489},"\"\n",[483,555,557],{"class":485,"line":556},5,[483,558,559],{"class":489},"  }\n",[483,561,563],{"class":485,"line":562},6,[483,564,565],{"class":489},"}\n",[452,567,569],{"id":568},"index-without-embeddings-faster","Index without embeddings (faster)",[346,571,572],{},[459,573,461],{},[463,575,576],{},[346,577,578],{},"Index the vendor directory but skip embedding generation — I just need the call graph",[346,580,581],{},[459,582,472],{},[474,584,586],{"className":476,"code":585,"language":478,"meta":479,"style":479},"{\n  \"tool\": \"stellarion_index_directory\",\n  \"arguments\": {\n    \"path\": \"/Users/dev/project/vendor\",\n    \"embed\": false\n  }\n}\n",[350,587,588,592,610,622,641,654,658],{"__ignoreMap":479},[483,589,590],{"class":485,"line":486},[483,591,490],{"class":489},[483,593,594,596,598,600,602,604,606,608],{"class":485,"line":493},[483,595,496],{"class":489},[483,597,500],{"class":499},[483,599,503],{"class":489},[483,601,506],{"class":489},[483,603,509],{"class":489},[483,605,149],{"class":512},[483,607,503],{"class":489},[483,609,517],{"class":489},[483,611,612,614,616,618,620],{"class":485,"line":520},[483,613,496],{"class":489},[483,615,525],{"class":499},[483,617,503],{"class":489},[483,619,506],{"class":489},[483,621,532],{"class":489},[483,623,624,626,628,630,632,634,637,639],{"class":485,"line":535},[483,625,538],{"class":489},[483,627,413],{"class":541},[483,629,503],{"class":489},[483,631,506],{"class":489},[483,633,509],{"class":489},[483,635,636],{"class":512},"/Users/dev/project/vendor",[483,638,503],{"class":489},[483,640,517],{"class":489},[483,642,643,645,647,649,651],{"class":485,"line":556},[483,644,538],{"class":489},[483,646,432],{"class":541},[483,648,503],{"class":489},[483,650,506],{"class":489},[483,652,653],{"class":489}," false\n",[483,655,656],{"class":485,"line":562},[483,657,559],{"class":489},[483,659,661],{"class":485,"line":660},7,[483,662,565],{"class":489},[452,664,666],{"id":665},"index-an-external-dependency-for-cross-project-analysis","Index an external dependency for cross-project analysis",[346,668,669],{},[459,670,461],{},[463,672,673],{},[346,674,675],{},"Add our shared library to the graph so I can trace cross-project calls",[346,677,678],{},[459,679,472],{},[474,681,683],{"className":476,"code":682,"language":478,"meta":479,"style":479},"{\n  \"tool\": \"stellarion_index_directory\",\n  \"arguments\": {\n    \"path\": \"/Users/dev/shared-lib/src\"\n  }\n}\n",[350,684,685,689,707,719,736,740],{"__ignoreMap":479},[483,686,687],{"class":485,"line":486},[483,688,490],{"class":489},[483,690,691,693,695,697,699,701,703,705],{"class":485,"line":493},[483,692,496],{"class":489},[483,694,500],{"class":499},[483,696,503],{"class":489},[483,698,506],{"class":489},[483,700,509],{"class":489},[483,702,149],{"class":512},[483,704,503],{"class":489},[483,706,517],{"class":489},[483,708,709,711,713,715,717],{"class":485,"line":520},[483,710,496],{"class":489},[483,712,525],{"class":499},[483,714,503],{"class":489},[483,716,506],{"class":489},[483,718,532],{"class":489},[483,720,721,723,725,727,729,731,734],{"class":485,"line":535},[483,722,538],{"class":489},[483,724,413],{"class":541},[483,726,503],{"class":489},[483,728,506],{"class":489},[483,730,509],{"class":489},[483,732,733],{"class":512},"/Users/dev/shared-lib/src",[483,735,553],{"class":489},[483,737,738],{"class":485,"line":556},[483,739,559],{"class":489},[483,741,742],{"class":485,"line":562},[483,743,565],{"class":489},[354,745,747],{"id":746},"output-format","Output Format",[346,749,750],{},"Returns indexing summary:",[359,752,753,759,765,775,781],{},[362,754,755,758],{},[459,756,757],{},"filesProcessed"," — Number of files parsed",[362,760,761,764],{},[459,762,763],{},"symbolsIndexed"," — Number of symbols added to the graph",[362,766,767,770,771,774],{},[459,768,769],{},"embeddingsGenerated"," — Number of embeddings created (if ",[350,772,773],{},"embed: true",")",[362,776,777,780],{},[459,778,779],{},"duration"," — Time taken",[362,782,783,786],{},[459,784,785],{},"errors"," — Any files that failed to parse",[354,788,790],{"id":789},"tips","Tips",[359,792,793,796,803,809,812],{},[362,794,795],{},"The directory is added alongside existing data — it does not replace or clear the current graph.",[362,797,798,799,802],{},"Set ",[350,800,801],{},"embed: false"," when you only need structural analysis (call graphs, imports) and don't need semantic search. This significantly speeds up indexing.",[362,804,805,806,808],{},"For individual files, use ",[350,807,143],{}," instead.",[362,810,811],{},"The path must be absolute. Relative paths will not resolve correctly.",[362,813,814],{},"Large directories with thousands of files may take a minute or more to index, especially with embeddings enabled.",[816,817,818],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":479,"searchDepth":493,"depth":493,"links":820},[821,822,823,828,829],{"id":356,"depth":493,"text":357},{"id":376,"depth":493,"text":377},{"id":449,"depth":493,"text":450,"children":824},[825,826,827],{"id":454,"depth":520,"text":455},{"id":568,"depth":520,"text":569},{"id":665,"depth":520,"text":666},{"id":746,"depth":493,"text":747},{"id":789,"depth":493,"text":790},"Add a directory to the code graph alongside existing indexed data","md",null,{},true,{"title":149,"description":830},"ExY4O_e07B5dHMKOmId72MhuiySy6-KJSJhNraNQKW4",[838,840],{"title":143,"path":144,"stem":145,"description":839,"children":-1},"Add or update specific files in the index without a full workspace reindex",{"title":155,"path":156,"stem":157,"description":841,"children":-1},"Assembles source, callers, tests, memories, and git history for editing code",1777612945093]