tweek 0.2.1__py3-none-any.whl → 0.3.1__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.
- tweek/__init__.py +1 -1
- tweek/audit.py +2 -2
- tweek/cli.py +698 -439
- tweek/cli_helpers.py +6 -6
- tweek/cli_model.py +7 -7
- tweek/config/__init__.py +8 -0
- tweek/config/manager.py +33 -1
- tweek/config/models.py +307 -0
- tweek/config/patterns.yaml +1 -1
- tweek/diagnostics.py +59 -7
- tweek/hooks/post_tool_use.py +1 -1
- tweek/hooks/pre_tool_use.py +3 -3
- tweek/licensing.py +1 -1
- tweek/mcp/approval_cli.py +4 -4
- tweek/sandbox/linux.py +5 -5
- tweek/skill_template/SKILL.md +2 -3
- tweek/skill_template/cli-reference.md +33 -18
- tweek/skill_template/scripts/check_installed.py +4 -4
- {tweek-0.2.1.dist-info → tweek-0.3.1.dist-info}/METADATA +22 -15
- {tweek-0.2.1.dist-info → tweek-0.3.1.dist-info}/RECORD +25 -23
- tweek-0.3.1.dist-info/licenses/NOTICE +199 -0
- {tweek-0.2.1.dist-info → tweek-0.3.1.dist-info}/WHEEL +0 -0
- {tweek-0.2.1.dist-info → tweek-0.3.1.dist-info}/entry_points.txt +0 -0
- {tweek-0.2.1.dist-info → tweek-0.3.1.dist-info}/licenses/LICENSE +0 -0
- {tweek-0.2.1.dist-info → tweek-0.3.1.dist-info}/top_level.txt +0 -0
tweek/__init__.py
CHANGED
tweek/audit.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Tweek Skill Audit — Security analysis for skill files and tool descriptions.
|
|
3
3
|
|
|
4
4
|
Reads skill content, detects language, translates non-English content,
|
|
5
|
-
and runs the full
|
|
5
|
+
and runs the full 259-pattern regex analysis + LLM semantic review.
|
|
6
6
|
Designed for one-time evaluation of skills before installation.
|
|
7
7
|
"""
|
|
8
8
|
|
|
@@ -173,7 +173,7 @@ def audit_content(
|
|
|
173
173
|
except Exception:
|
|
174
174
|
pass
|
|
175
175
|
|
|
176
|
-
# Step 3: Pattern matching (all
|
|
176
|
+
# Step 3: Pattern matching (all 259 patterns against English content)
|
|
177
177
|
try:
|
|
178
178
|
from tweek.hooks.pre_tool_use import PatternMatcher
|
|
179
179
|
|