hey-cli-python 1.0.4__tar.gz → 1.0.5__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.
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/PKG-INFO +1 -1
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli/runner.py +3 -1
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli_python.egg-info/PKG-INFO +1 -1
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/pyproject.toml +1 -1
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/LICENSE +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/README.md +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli/__init__.py +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli/cli.py +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli/governance.py +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli/history.py +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli/llm.py +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli/models.py +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli/skills.py +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli_python.egg-info/SOURCES.txt +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli_python.egg-info/dependency_links.txt +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli_python.egg-info/entry_points.txt +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli_python.egg-info/requires.txt +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/hey_cli_python.egg-info/top_level.txt +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/setup.cfg +0 -0
- {hey_cli_python-1.0.4 → hey_cli_python-1.0.5}/tests/test_cli.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hey-cli-python
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Summary: A secure, zero-bloat CLI companion that turns natural language and error logs into executable commands.
|
|
5
5
|
Author: Mohit Singh Sinsniwal
|
|
6
6
|
Project-URL: Homepage, https://github.com/sinsniwal/hey-cli
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import subprocess
|
|
2
2
|
import sys
|
|
3
|
+
import json
|
|
4
|
+
import dataclasses
|
|
3
5
|
from typing import Optional
|
|
4
6
|
|
|
5
7
|
from .governance import GovernanceEngine, Action
|
|
@@ -121,7 +123,7 @@ class CommandRunner:
|
|
|
121
123
|
if not cmd or cmd.startswith("echo ") or cmd.startswith("printf "):
|
|
122
124
|
self.history_mgr.append("assistant", current_response.explanation)
|
|
123
125
|
else:
|
|
124
|
-
self.history_mgr.append("assistant",
|
|
126
|
+
self.history_mgr.append("assistant", json.dumps(dataclasses.asdict(current_response)))
|
|
125
127
|
|
|
126
128
|
# Level 0 = Dry Run
|
|
127
129
|
if self.level == 0:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hey-cli-python
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Summary: A secure, zero-bloat CLI companion that turns natural language and error logs into executable commands.
|
|
5
5
|
Author: Mohit Singh Sinsniwal
|
|
6
6
|
Project-URL: Homepage, https://github.com/sinsniwal/hey-cli
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hey-cli-python"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.5"
|
|
8
8
|
description = "A secure, zero-bloat CLI companion that turns natural language and error logs into executable commands."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
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
|