contextl 1.2.21 → 1.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contextl",
3
- "version": "1.2.21",
3
+ "version": "1.2.22",
4
4
  "description": "contextl — finds the most relevant files in your codebase for any change request. MCP server for AI coding agents.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -508,7 +508,7 @@ async def _handle_export_obsidian(args: dict) -> list[types.TextContent]:
508
508
  def _run_export_obsidian(repo_path: str, output_dir: str) -> dict:
509
509
  """Uses cached graph — pipeline runs only on first call or after file changes."""
510
510
  scan, repo_graph = _get_graph(repo_path)
511
- vault_path = export_obsidian_vault(repo_graph, output_dir)
511
+ vault_path = export_obsidian_vault(repo_path, output_dir)
512
512
 
513
513
  return {
514
514
  "repo": scan.root,
@@ -145,10 +145,6 @@ if __name__ == "__main__":
145
145
  repo_path = sys.argv[1]
146
146
  output_dir = sys.argv[2]
147
147
 
148
- scan = scan_repo(repo_path)
149
- parse = parse_imports(scan)
150
- repo_graph = build_graph(scan, parse)
151
-
152
- vault_path = export_obsidian_vault(repo_graph, output_dir)
148
+ vault_path = export_obsidian_vault(repo_path, output_dir)
153
149
  print(f"Obsidian Vault successfully generated at: {vault_path}")
154
150
  print("Open this folder in Obsidian to view your codebase graph!")