claude-jacked 0.2.7__py3-none-any.whl → 0.3.0__py3-none-any.whl
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.
- claude_jacked-0.3.0.dist-info/METADATA +667 -0
- claude_jacked-0.3.0.dist-info/RECORD +33 -0
- jacked/__init__.py +34 -14
- jacked/cli.py +513 -60
- jacked/client.py +78 -28
- jacked/data/agents/double-check-reviewer.md +42 -0
- jacked/data/commands/audit-rules.md +103 -0
- jacked/data/commands/dc.md +36 -3
- jacked/data/commands/learn.md +89 -0
- jacked/data/commands/redo.md +85 -0
- jacked/data/commands/techdebt.md +115 -0
- jacked/data/hooks/security_gatekeeper.py +415 -0
- jacked/data/rules/jacked_behaviors.md +11 -0
- jacked/index_write_tracker.py +227 -0
- jacked/indexer.py +189 -163
- jacked/searcher.py +4 -0
- claude_jacked-0.2.7.dist-info/METADATA +0 -580
- claude_jacked-0.2.7.dist-info/RECORD +0 -26
- {claude_jacked-0.2.7.dist-info → claude_jacked-0.3.0.dist-info}/WHEEL +0 -0
- {claude_jacked-0.2.7.dist-info → claude_jacked-0.3.0.dist-info}/entry_points.txt +0 -0
- {claude_jacked-0.2.7.dist-info → claude_jacked-0.3.0.dist-info}/licenses/LICENSE +0 -0
jacked/__init__.py
CHANGED
|
@@ -1,22 +1,42 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Claude Jacked -
|
|
2
|
+
Claude Jacked - Smart reviewers, commands, and session search for Claude Code.
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Base install provides agents, commands, and behavioral rules.
|
|
5
|
+
Install extras for additional features:
|
|
6
|
+
pip install "claude-jacked[search]" — session search via Qdrant
|
|
7
|
+
pip install "claude-jacked[security]" — security gatekeeper hook
|
|
8
|
+
pip install "claude-jacked[all]" — everything
|
|
6
9
|
"""
|
|
7
10
|
|
|
8
|
-
__version__ = "0.
|
|
11
|
+
__version__ = "0.3.0"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _qdrant_available() -> bool:
|
|
15
|
+
"""Check if qdrant-client is installed."""
|
|
16
|
+
try:
|
|
17
|
+
import qdrant_client # noqa: F401
|
|
18
|
+
return True
|
|
19
|
+
except ImportError:
|
|
20
|
+
return False
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def __getattr__(name: str):
|
|
24
|
+
"""Lazy imports for backwards compat — only works if [search] extra installed."""
|
|
25
|
+
_search_classes = {
|
|
26
|
+
"SmartForkConfig": "jacked.config",
|
|
27
|
+
"QdrantSessionClient": "jacked.client",
|
|
28
|
+
"SessionIndexer": "jacked.indexer",
|
|
29
|
+
"SessionSearcher": "jacked.searcher",
|
|
30
|
+
"SessionRetriever": "jacked.retriever",
|
|
31
|
+
}
|
|
32
|
+
if name in _search_classes:
|
|
33
|
+
import importlib
|
|
34
|
+
module = importlib.import_module(_search_classes[name])
|
|
35
|
+
return getattr(module, name)
|
|
36
|
+
raise AttributeError(f"module 'jacked' has no attribute {name!r}")
|
|
9
37
|
|
|
10
|
-
from jacked.config import SmartForkConfig
|
|
11
|
-
from jacked.client import QdrantSessionClient
|
|
12
|
-
from jacked.indexer import SessionIndexer
|
|
13
|
-
from jacked.searcher import SessionSearcher
|
|
14
|
-
from jacked.retriever import SessionRetriever
|
|
15
38
|
|
|
16
39
|
__all__ = [
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"SessionIndexer",
|
|
20
|
-
"SessionSearcher",
|
|
21
|
-
"SessionRetriever",
|
|
40
|
+
"__version__",
|
|
41
|
+
"_qdrant_available",
|
|
22
42
|
]
|