codedoc-ai 0.7.0__tar.gz → 0.7.1__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.
Files changed (74) hide show
  1. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/CHANGELOG.md +12 -0
  2. {codedoc_ai-0.7.0/codedoc_ai.egg-info → codedoc_ai-0.7.1}/PKG-INFO +2 -2
  3. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/README.md +1 -1
  4. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/cli/cli.py +1 -1
  5. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/core/loader.py +1 -1
  6. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1/codedoc_ai.egg-info}/PKG-INFO +2 -2
  7. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/pyproject.toml +1 -1
  8. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/.env.example +0 -0
  9. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  10. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  11. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  12. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/CODE_OF_CONDUCT.md +0 -0
  13. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/CONTRIBUTING.md +0 -0
  14. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/LICENSE +0 -0
  15. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/MANIFEST.in +0 -0
  16. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/SECURITY.md +0 -0
  17. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/__init__.py +0 -0
  18. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/__main__.py +0 -0
  19. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/agents/__init__.py +0 -0
  20. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/agents/base_agent.py +0 -0
  21. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/agents/dependency_agent.py +0 -0
  22. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/agents/documentation_agent.py +0 -0
  23. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/agents/orchestrator.py +0 -0
  24. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/agents/structure_agent.py +0 -0
  25. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/bootstrap.py +0 -0
  26. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/cli/__init__.py +0 -0
  27. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/core/__init__.py +0 -0
  28. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/core/db.py +0 -0
  29. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/core/graph.py +0 -0
  30. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/core/output.py +0 -0
  31. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/core/project_view.py +0 -0
  32. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/core/queue.py +0 -0
  33. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/core/scanner.py +0 -0
  34. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/llm/__init__.py +0 -0
  35. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/llm/api_provider.py +0 -0
  36. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/llm/base.py +0 -0
  37. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/llm/factory.py +0 -0
  38. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/llm/local_provider.py +0 -0
  39. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/parser/__init__.py +0 -0
  40. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/parser/factory.py +0 -0
  41. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/parser/generic_parser.py +0 -0
  42. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/parser/python_parser.py +0 -0
  43. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/parser/react_parser.py +0 -0
  44. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/pipeline.py +0 -0
  45. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/utils/__init__.py +0 -0
  46. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/utils/errors.py +0 -0
  47. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc/utils/logger.py +0 -0
  48. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc_ai.egg-info/SOURCES.txt +0 -0
  49. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc_ai.egg-info/dependency_links.txt +0 -0
  50. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc_ai.egg-info/entry_points.txt +0 -0
  51. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc_ai.egg-info/requires.txt +0 -0
  52. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/codedoc_ai.egg-info/top_level.txt +0 -0
  53. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/setup.cfg +0 -0
  54. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/__init__.py +0 -0
  55. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/flutter_app/app.dart +0 -0
  56. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/flutter_app/main.dart +0 -0
  57. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/java_app/Main.java +0 -0
  58. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/java_app/Service.java +0 -0
  59. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/python_app/main.py +0 -0
  60. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/python_app/models.py +0 -0
  61. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/python_app/utils.py +0 -0
  62. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/react_app/App.tsx +0 -0
  63. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/react_app/index.html +0 -0
  64. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/react_app/main.tsx +0 -0
  65. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/react_app/router.tsx +0 -0
  66. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/fixtures/react_sample.tsx +0 -0
  67. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/test_agents.py +0 -0
  68. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/test_graph.py +0 -0
  69. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/test_llm_mock.py +0 -0
  70. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/test_parser.py +0 -0
  71. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/test_pipeline.py +0 -0
  72. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/test_queue.py +0 -0
  73. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/test_scanner.py +0 -0
  74. {codedoc_ai-0.7.0 → codedoc_ai-0.7.1}/tests/test_scenarios.py +0 -0
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.1 - 2026-05-25
4
+
5
+ ### Fixed: provider-specific default models not applied when `--model` is omitted (GitHub Issue #2)
6
+
7
+ - `codedoc/core/loader.py`: changed `DEFAULTS["model_name"]` from `"gpt-4o-mini"` to `""`.
8
+ - Previously, the global default `"gpt-4o-mini"` was a truthy string that short-circuited the `or` fallbacks in the provider factory for every provider. Running `--provider gemini` without `--model` would silently send requests to Gemini using the OpenAI model name `gpt-4o-mini`, causing a 404 from the Gemini API. The same bug applied to `--provider anthropic` without `--model`, which would have called Anthropic with `gpt-4o-mini` and failed.
9
+ - With an empty string default, the factory's per-provider fallbacks now activate correctly:
10
+ - Gemini with no model → `gemini-2.5-flash`
11
+ - Anthropic with no model → `claude-haiku-4-5-20251001`
12
+ - OpenAI / auto with no model → `gpt-4o-mini` (unchanged)
13
+ - Behaviour when `--model` is explicitly passed is unchanged.
14
+
3
15
  ## 0.7.0 - 2026-05-24
4
16
 
5
17
  ### MD-only incremental now works (Issue 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codedoc-ai
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Local-first, LLM-agnostic codebase documentation for AI coding agents
5
5
  Author: Atharv Mannur
6
6
  License-Expression: MIT
@@ -40,7 +40,7 @@ Dynamic: license-file
40
40
 
41
41
  The tool scans source files, resolves project-local imports into a dependency graph, sends only files that need analysis to an LLM, and writes one combined, structured documentation artifact designed for both humans and AI. By default that artifact is JSON.
42
42
 
43
- Current release: `0.7.0`.
43
+ Current release: `0.7.1`.
44
44
 
45
45
  ## What It Does
46
46
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  The tool scans source files, resolves project-local imports into a dependency graph, sends only files that need analysis to an LLM, and writes one combined, structured documentation artifact designed for both humans and AI. By default that artifact is JSON.
6
6
 
7
- Current release: `0.7.0`.
7
+ Current release: `0.7.1`.
8
8
 
9
9
  ## What It Does
10
10
 
@@ -137,7 +137,7 @@ examples:
137
137
  parser.add_argument(
138
138
  "--version",
139
139
  action="version",
140
- version="%(prog)s 0.7.0",
140
+ version="%(prog)s 0.7.1",
141
141
  )
142
142
 
143
143
  return parser
@@ -21,7 +21,7 @@ logger = get_logger(__name__)
21
21
  DEFAULTS: dict[str, Any] = {
22
22
  "llm_mode": "api",
23
23
  "llm_provider": "auto",
24
- "model_name": "gpt-4o-mini",
24
+ "model_name": "",
25
25
  "api_base_url": None,
26
26
  "api_key": None,
27
27
  "entry_file": None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codedoc-ai
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Local-first, LLM-agnostic codebase documentation for AI coding agents
5
5
  Author: Atharv Mannur
6
6
  License-Expression: MIT
@@ -40,7 +40,7 @@ Dynamic: license-file
40
40
 
41
41
  The tool scans source files, resolves project-local imports into a dependency graph, sends only files that need analysis to an LLM, and writes one combined, structured documentation artifact designed for both humans and AI. By default that artifact is JSON.
42
42
 
43
- Current release: `0.7.0`.
43
+ Current release: `0.7.1`.
44
44
 
45
45
  ## What It Does
46
46
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "codedoc-ai"
7
- version = "0.7.0"
7
+ version = "0.7.1"
8
8
  description = "Local-first, LLM-agnostic codebase documentation for AI coding agents"
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes