[{"data":1,"prerenderedAt":816},["ShallowReactive",2],{"navigation_docs":3,"-tools-get-edit-context":340,"-tools-get-edit-context-surround":811},[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":155,"body":342,"description":804,"extension":805,"links":806,"meta":807,"navigation":808,"path":156,"seo":809,"stem":157,"__hash__":810},"docs/3.tools/3.get-edit-context.md",{"type":343,"value":344,"toc":794},"minimark",[345,349,354,370,377,381,464,468,473,488,493,600,609,613,618,622,717,722,726,729,762,766,790],[346,347,348],"p",{},"A single-call tool that gathers everything you need before modifying code at a specific location. It bundles the function source, all callers that would be affected, related tests, relevant memories, and recent git history into one response.",[350,351,353],"h2",{"id":352},"when-to-use","When to Use",[355,356,357,361,364,367],"ul",{},[358,359,360],"li",{},"About to modify a function's signature or behavior",[358,362,363],{},"Refactoring code and need to know what will break",[358,365,366],{},"Fixing a bug and want to see related tests and recent changes",[358,368,369],{},"Any time you need the full picture before writing code",[346,371,372,373,376],{},"Use ",[374,375,105],"code",{}," instead when you only need to understand or explain code without making changes.",[350,378,380],{"id":379},"parameters","Parameters",[382,383,384,406],"table",{},[385,386,387],"thead",{},[388,389,390,394,397,400,403],"tr",{},[391,392,393],"th",{},"Parameter",[391,395,396],{},"Type",[391,398,399],{},"Required",[391,401,402],{},"Default",[391,404,405],{},"Description",[407,408,409,431,446],"tbody",{},[388,410,411,415,418,421,424],{},[412,413,414],"td",{},"uri",[412,416,417],{},"string",[412,419,420],{},"Yes",[412,422,423],{},"--",[412,425,426,427,430],{},"File URI of the code being edited (e.g., ",[374,428,429],{},"file:///path/to/file.ts",")",[388,432,433,436,439,441,443],{},[412,434,435],{},"line",[412,437,438],{},"number",[412,440,420],{},[412,442,423],{},[412,444,445],{},"Line number being edited (0-indexed)",[388,447,448,451,453,456,461],{},[412,449,450],{},"maxTokens",[412,452,438],{},[412,454,455],{},"No",[412,457,458],{},[374,459,460],{},"8000",[412,462,463],{},"Maximum tokens of context to return. Priority order: symbol > callers > tests > memories > git history.",[350,465,467],{"id":466},"examples","Examples",[469,470,472],"h3",{"id":471},"before-modifying-a-function-signature","Before Modifying a Function Signature",[346,474,475,479,480,483,484,487],{},[476,477,478],"strong",{},"Natural Language:","\n\"I need to add a ",[374,481,482],{},"timeout"," parameter to ",[374,485,486],{},"fetchUserProfile","\"",[346,489,490],{},[476,491,492],{},"MCP Tool Call:",[494,495,500],"pre",{"className":496,"code":497,"language":498,"meta":499,"style":499},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"name\": \"stellarion_get_edit_context\",\n  \"arguments\": {\n    \"uri\": \"file:///home/dev/project/src/api/users.ts\",\n    \"line\": 34\n  }\n}\n","json","",[374,501,502,510,536,551,573,588,594],{"__ignoreMap":499},[503,504,506],"span",{"class":435,"line":505},1,[503,507,509],{"class":508},"sMK4o","{\n",[503,511,513,516,520,522,525,528,531,533],{"class":435,"line":512},2,[503,514,515],{"class":508},"  \"",[503,517,519],{"class":518},"spNyl","name",[503,521,487],{"class":508},[503,523,524],{"class":508},":",[503,526,527],{"class":508}," \"",[503,529,155],{"class":530},"sfazB",[503,532,487],{"class":508},[503,534,535],{"class":508},",\n",[503,537,539,541,544,546,548],{"class":435,"line":538},3,[503,540,515],{"class":508},[503,542,543],{"class":518},"arguments",[503,545,487],{"class":508},[503,547,524],{"class":508},[503,549,550],{"class":508}," {\n",[503,552,554,557,560,562,564,566,569,571],{"class":435,"line":553},4,[503,555,556],{"class":508},"    \"",[503,558,414],{"class":559},"sBMFI",[503,561,487],{"class":508},[503,563,524],{"class":508},[503,565,527],{"class":508},[503,567,568],{"class":530},"file:///home/dev/project/src/api/users.ts",[503,570,487],{"class":508},[503,572,535],{"class":508},[503,574,576,578,580,582,584],{"class":435,"line":575},5,[503,577,556],{"class":508},[503,579,435],{"class":559},[503,581,487],{"class":508},[503,583,524],{"class":508},[503,585,587],{"class":586},"sbssI"," 34\n",[503,589,591],{"class":435,"line":590},6,[503,592,593],{"class":508},"  }\n",[503,595,597],{"class":435,"line":596},7,[503,598,599],{"class":508},"}\n",[346,601,602,605,606,608],{},[476,603,604],{},"Returns:"," Full source of ",[374,607,486],{},", all 7 callers that would need updating, 3 test functions that call it, a memory noting \"fetchUserProfile was recently refactored to use async/await\", and 2 recent commits touching this file.",[469,610,612],{"id":611},"fixing-a-bug","Fixing a Bug",[346,614,615,617],{},[476,616,478],{},"\n\"There's an off-by-one error in the pagination logic\"",[346,619,620],{},[476,621,492],{},[494,623,625],{"className":496,"code":624,"language":498,"meta":499,"style":499},"{\n  \"name\": \"stellarion_get_edit_context\",\n  \"arguments\": {\n    \"uri\": \"file:///home/dev/project/src/db/pagination.rs\",\n    \"line\": 72,\n    \"maxTokens\": 12000\n  }\n}\n",[374,626,627,631,649,661,680,695,708,712],{"__ignoreMap":499},[503,628,629],{"class":435,"line":505},[503,630,509],{"class":508},[503,632,633,635,637,639,641,643,645,647],{"class":435,"line":512},[503,634,515],{"class":508},[503,636,519],{"class":518},[503,638,487],{"class":508},[503,640,524],{"class":508},[503,642,527],{"class":508},[503,644,155],{"class":530},[503,646,487],{"class":508},[503,648,535],{"class":508},[503,650,651,653,655,657,659],{"class":435,"line":538},[503,652,515],{"class":508},[503,654,543],{"class":518},[503,656,487],{"class":508},[503,658,524],{"class":508},[503,660,550],{"class":508},[503,662,663,665,667,669,671,673,676,678],{"class":435,"line":553},[503,664,556],{"class":508},[503,666,414],{"class":559},[503,668,487],{"class":508},[503,670,524],{"class":508},[503,672,527],{"class":508},[503,674,675],{"class":530},"file:///home/dev/project/src/db/pagination.rs",[503,677,487],{"class":508},[503,679,535],{"class":508},[503,681,682,684,686,688,690,693],{"class":435,"line":575},[503,683,556],{"class":508},[503,685,435],{"class":559},[503,687,487],{"class":508},[503,689,524],{"class":508},[503,691,692],{"class":586}," 72",[503,694,535],{"class":508},[503,696,697,699,701,703,705],{"class":435,"line":590},[503,698,556],{"class":508},[503,700,450],{"class":559},[503,702,487],{"class":508},[503,704,524],{"class":508},[503,706,707],{"class":586}," 12000\n",[503,709,710],{"class":435,"line":596},[503,711,593],{"class":508},[503,713,715],{"class":435,"line":714},8,[503,716,599],{"class":508},[346,718,719,721],{},[476,720,604],{}," Full source of the pagination function, callers from API handlers, existing test cases for boundary conditions, a known_issue memory about \"pagination breaks on empty result sets\", and git log showing the last 3 changes to the file.",[350,723,725],{"id":724},"output-format","Output Format",[346,727,728],{},"The response contains 5 sections, filled within the token budget in priority order:",[730,731,732,738,744,750,756],"ol",{},[358,733,734,737],{},[476,735,736],{},"symbol"," -- Full source code of the function or method at the given line. Always included.",[358,739,740,743],{},[476,741,742],{},"callers"," -- Functions that call this symbol. Shows name, file, and line for each caller so you can assess impact.",[358,745,746,749],{},[476,747,748],{},"tests"," -- Related test functions that exercise this code. Includes test name, file, and relationship type.",[358,751,752,755],{},[476,753,754],{},"memories"," -- Relevant debug notes, architectural decisions, known issues, and conventions. Surfaced by hybrid search over the memory store.",[358,757,758,761],{},[476,759,760],{},"recentChanges"," -- Recent git commits that touched this file. Includes commit hash, message, author, and date.",[350,763,765],{"id":764},"tips","Tips",[355,767,768,775,778,781,784],{},[358,769,770,771,774],{},"This tool has a larger default token budget (8000) than ",[374,772,773],{},"get_ai_context"," (4000) because it includes more context sections. Increase it further for complex functions.",[358,776,777],{},"The callers section is critical before signature changes. Every caller listed is a site you need to update.",[358,779,780],{},"Check the memories section for past decisions -- someone may have already tried what you are about to do.",[358,782,783],{},"The git history section helps avoid conflicts. If someone recently changed the same code, coordinate before making further changes.",[358,785,786,787,789],{},"For a quick check without the full context, use ",[374,788,65],{}," instead -- it returns just the metadata.",[791,792,793],"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 pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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":499,"searchDepth":512,"depth":512,"links":795},[796,797,798,802,803],{"id":352,"depth":512,"text":353},{"id":379,"depth":512,"text":380},{"id":466,"depth":512,"text":467,"children":799},[800,801],{"id":471,"depth":538,"text":472},{"id":611,"depth":538,"text":612},{"id":724,"depth":512,"text":725},{"id":764,"depth":512,"text":765},"Assembles source, callers, tests, memories, and git history for editing code","md",null,{},true,{"title":155,"description":804},"cg4-wtc3ZpSXAgFmknWjnaLuOZS59DhZB9Qw3YLN4_k",[812,814],{"title":149,"path":150,"stem":151,"description":813,"children":-1},"Add a directory to the code graph alongside existing indexed data",{"title":159,"path":160,"stem":161,"description":815,"children":-1},"Scan codebase for security vulnerabilities and unsafe patterns",1777612938164]