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.
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/PKG-INFO +1 -1
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/__init__.py +1 -1
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/enforcer.py +5 -4
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/pyproject.toml +1 -1
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/LICENSE +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/README.md +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/__main__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/ai/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/ai/enricher.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/ai/pro_features.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/ai/stack_learner.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/base.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/dependency_analyzer.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/java_analyzer.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/analyzer/typescript_analyzer.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/cli.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/context/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/context/engine.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/config.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/constants.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/graph.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/core/project.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/git/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/graph/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/graph/builder.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/graph/query.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/graph/store.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/checker.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/dependency_check.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/pattern_check.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/health/test_coverage.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/architecture.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/connection_builder.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/connections.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/generator.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/knowledge/index_builder.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/client.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/keygen.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/license/license.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/connect.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/decisions.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/server.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/mcp/tools.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/base.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/gap_detector.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/java_parser.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/python_parser.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/registry.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/rule_cache.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/parser/typescript_parser.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/router/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/router/call_extractor.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/router/linker.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/router/route_extractor.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/generator.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/pattern_extractor.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/controller.java.j2 +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/entity.java.j2 +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/repository.java.j2 +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/service.java.j2 +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/java/test.java.j2 +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/typescript/service.ts.j2 +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/tasks/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/watcher/__init__.py +0 -0
- {codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/watcher/handler.py +0 -0
|
@@ -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
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codemind_sh-0.1.2 → codemind_sh-0.1.3}/codemind/scaffold/templates/typescript/service.ts.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|