codebase-cortex 0.1.1__tar.gz → 0.1.3__tar.gz
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.
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/PKG-INFO +1 -1
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/pyproject.toml +1 -1
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/sprint_reporter.py +4 -5
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/cli.py +4 -4
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/.gitignore +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/LICENSE +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/README.md +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/docs/agents.md +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/docs/architecture.md +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/docs/cli-reference.md +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/docs/configuration.md +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/docs/contributing.md +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/docs/embeddings.md +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/docs/notion-integration.md +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/__init__.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/__init__.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/base.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/code_analyzer.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/doc_writer.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/semantic_finder.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/task_creator.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/auth/__init__.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/auth/callback_server.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/auth/oauth.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/auth/token_store.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/config.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/embeddings/__init__.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/embeddings/clustering.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/embeddings/indexer.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/embeddings/store.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/git/__init__.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/git/diff_parser.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/git/github_client.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/graph.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/mcp_client.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/notion/__init__.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/notion/bootstrap.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/notion/page_cache.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/state.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/utils/__init__.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/utils/json_parsing.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/utils/logging.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/utils/rate_limiter.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/utils/section_parser.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/__init__.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/conftest.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_agents.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_bootstrap.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_config.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_diff_parser.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_embeddings.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_graph.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_page_cache.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_section_parser.py +0 -0
- {codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/tests/test_state.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codebase-cortex
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: AI-powered documentation autopilot — commit code, docs update themselves. Five LangGraph agents analyze diffs, find related code via FAISS embeddings, and sync Notion pages through MCP.
|
|
5
5
|
Project-URL: Homepage, https://github.com/sarupurisailalith/codebase-cortex
|
|
6
6
|
Project-URL: Repository, https://github.com/sarupurisailalith/codebase-cortex
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "codebase-cortex"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.3"
|
|
4
4
|
description = "AI-powered documentation autopilot — commit code, docs update themselves. Five LangGraph agents analyze diffs, find related code via FAISS embeddings, and sync Notion pages through MCP."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
{codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/sprint_reporter.py
RENAMED
|
@@ -101,17 +101,16 @@ Write a complete sprint report in markdown."""
|
|
|
101
101
|
content = f"# Sprint Report — Week of {week_label}\n\n{summary}"
|
|
102
102
|
|
|
103
103
|
if sprint_page:
|
|
104
|
-
#
|
|
104
|
+
# Replace Sprint Log content with latest report
|
|
105
105
|
await session.call_tool(
|
|
106
106
|
"notion-update-page",
|
|
107
107
|
arguments={
|
|
108
108
|
"page_id": sprint_page.page_id,
|
|
109
|
-
"command": "
|
|
110
|
-
"
|
|
111
|
-
"new_str": f"\n\n---\n\n{content}",
|
|
109
|
+
"command": "replace_content",
|
|
110
|
+
"new_str": content,
|
|
112
111
|
},
|
|
113
112
|
)
|
|
114
|
-
logger.info(f"
|
|
113
|
+
logger.info(f"Updated Sprint Log for week of {week_label}")
|
|
115
114
|
else:
|
|
116
115
|
# Create new sprint report page
|
|
117
116
|
create_args: dict = {
|
|
@@ -46,13 +46,13 @@ def init() -> None:
|
|
|
46
46
|
|
|
47
47
|
api_key = ""
|
|
48
48
|
if provider == "google":
|
|
49
|
-
api_key = click.prompt("Google API key (GOOGLE_API_KEY)")
|
|
49
|
+
api_key = click.prompt("Google API key (GOOGLE_API_KEY)", hide_input=True)
|
|
50
50
|
key_name = "GOOGLE_API_KEY"
|
|
51
51
|
elif provider == "anthropic":
|
|
52
|
-
api_key = click.prompt("Anthropic API key (ANTHROPIC_API_KEY)")
|
|
52
|
+
api_key = click.prompt("Anthropic API key (ANTHROPIC_API_KEY)", hide_input=True)
|
|
53
53
|
key_name = "ANTHROPIC_API_KEY"
|
|
54
54
|
else:
|
|
55
|
-
api_key = click.prompt("OpenRouter API key (OPENROUTER_API_KEY)")
|
|
55
|
+
api_key = click.prompt("OpenRouter API key (OPENROUTER_API_KEY)", hide_input=True)
|
|
56
56
|
key_name = "OPENROUTER_API_KEY"
|
|
57
57
|
|
|
58
58
|
# Step 1b: Model selection
|
|
@@ -96,7 +96,7 @@ def init() -> None:
|
|
|
96
96
|
github_token = result.stdout.strip()
|
|
97
97
|
console.print("[green]GitHub token obtained from gh CLI[/green]")
|
|
98
98
|
except (subprocess.CalledProcessError, FileNotFoundError):
|
|
99
|
-
github_token = click.prompt("GitHub Personal Access Token")
|
|
99
|
+
github_token = click.prompt("GitHub Personal Access Token", hide_input=True)
|
|
100
100
|
|
|
101
101
|
# Step 3: Create .cortex/ directory
|
|
102
102
|
cortex_dir.mkdir(exist_ok=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/agents/semantic_finder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codebase_cortex-0.1.1 → codebase_cortex-0.1.3}/src/codebase_cortex/embeddings/clustering.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|