codemind-sh 0.1.2__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.
Files changed (73) hide show
  1. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/PKG-INFO +1 -1
  2. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/__init__.py +1 -1
  3. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/enforcer.py +5 -4
  4. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/pyproject.toml +1 -1
  5. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/LICENSE +0 -0
  6. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/README.md +0 -0
  7. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/__main__.py +0 -0
  8. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/ai/__init__.py +0 -0
  9. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/ai/enricher.py +0 -0
  10. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/ai/pro_features.py +0 -0
  11. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/ai/stack_learner.py +0 -0
  12. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/__init__.py +0 -0
  13. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/base.py +0 -0
  14. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/dependency_analyzer.py +0 -0
  15. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/java_analyzer.py +0 -0
  16. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/typescript_analyzer.py +0 -0
  17. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/cli.py +0 -0
  18. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/context/__init__.py +0 -0
  19. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/context/engine.py +0 -0
  20. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/__init__.py +0 -0
  21. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/config.py +0 -0
  22. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/constants.py +0 -0
  23. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/graph.py +0 -0
  24. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/project.py +0 -0
  25. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/git/__init__.py +0 -0
  26. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/graph/__init__.py +0 -0
  27. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/graph/builder.py +0 -0
  28. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/graph/query.py +0 -0
  29. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/graph/store.py +0 -0
  30. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/__init__.py +0 -0
  31. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/checker.py +0 -0
  32. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/dependency_check.py +0 -0
  33. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/pattern_check.py +0 -0
  34. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/test_coverage.py +0 -0
  35. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/__init__.py +0 -0
  36. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/architecture.py +0 -0
  37. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/connection_builder.py +0 -0
  38. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/connections.py +0 -0
  39. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/generator.py +0 -0
  40. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/index_builder.py +0 -0
  41. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/__init__.py +0 -0
  42. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/client.py +0 -0
  43. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/keygen.py +0 -0
  44. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/license.py +0 -0
  45. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/__init__.py +0 -0
  46. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/connect.py +0 -0
  47. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/decisions.py +0 -0
  48. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/server.py +0 -0
  49. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/tools.py +0 -0
  50. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/__init__.py +0 -0
  51. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/base.py +0 -0
  52. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/gap_detector.py +0 -0
  53. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/java_parser.py +0 -0
  54. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/python_parser.py +0 -0
  55. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/registry.py +0 -0
  56. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/rule_cache.py +0 -0
  57. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/typescript_parser.py +0 -0
  58. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/router/__init__.py +0 -0
  59. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/router/call_extractor.py +0 -0
  60. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/router/linker.py +0 -0
  61. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/router/route_extractor.py +0 -0
  62. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/__init__.py +0 -0
  63. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/generator.py +0 -0
  64. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/pattern_extractor.py +0 -0
  65. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/controller.java.j2 +0 -0
  66. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/entity.java.j2 +0 -0
  67. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/repository.java.j2 +0 -0
  68. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/service.java.j2 +0 -0
  69. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/test.java.j2 +0 -0
  70. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/typescript/service.ts.j2 +0 -0
  71. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/tasks/__init__.py +0 -0
  72. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/watcher/__init__.py +0 -0
  73. {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/watcher/handler.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codemind-sh
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Local-first knowledge graph for software projects. Gives AI tools structural facts about your codebase via 11 MCP tools.
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
1
  """CodeMind — Local-first intelligence layer for software projects."""
2
2
 
3
- __version__ = "0.1.2"
3
+ __version__ = "0.1.3"
4
4
  __app_name__ = "codemind"
@@ -60,9 +60,10 @@ def _expiry_warning(state: LicenseState) -> str:
60
60
  )
61
61
 
62
62
 
63
- def _limit_reached_reason() -> str:
63
+ def _limit_reached_reason(limit: int = 1) -> str:
64
+ projects = f"{limit} project" if limit == 1 else f"{limit} projects"
64
65
  return (
65
- "Free plan supports 1 project.\n\n"
66
+ f"Free plan supports {projects}.\n\n"
66
67
  " Upgrade at [cyan]codemind.sh/upgrade[/cyan] to add unlimited projects\n"
67
68
  " and unlock Pro AI features (review, brief, impact --ai)."
68
69
  )
@@ -105,7 +106,7 @@ class LicenseEnforcer:
105
106
 
106
107
  # Check project limit (secondary to server-side enforcement)
107
108
  if not state.within_project_limit():
108
- return EnforcementResult(allowed=False, reason=_limit_reached_reason())
109
+ return EnforcementResult(allowed=False, reason=_limit_reached_reason(state.project_limit or 1))
109
110
 
110
111
  return EnforcementResult(allowed=True, warning=_expiry_warning(state))
111
112
 
@@ -128,7 +129,7 @@ class LicenseEnforcer:
128
129
 
129
130
  # Project not yet initialized — check limit before first scan
130
131
  if not state.within_project_limit():
131
- return EnforcementResult(allowed=False, reason=_limit_reached_reason())
132
+ return EnforcementResult(allowed=False, reason=_limit_reached_reason(state.project_limit or 1))
132
133
 
133
134
  return EnforcementResult(allowed=True, warning=_expiry_warning(state))
134
135
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "codemind-sh"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  description = "Local-first knowledge graph for software projects. Gives AI tools structural facts about your codebase via 11 MCP tools."
5
5
  authors = ["Mohammed <mohammed@onixsolutions.net>"]
6
6
  license = "MIT"
File without changes
File without changes
File without changes