agentsecrets-cli 1.1.2__tar.gz → 3.1.2__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.
- {agentsecrets_cli-1.1.2 → agentsecrets_cli-3.1.2}/.gitignore +1 -1
- {agentsecrets_cli-1.1.2 → agentsecrets_cli-3.1.2}/PKG-INFO +8 -8
- {agentsecrets_cli-1.1.2 → agentsecrets_cli-3.1.2}/README.md +5 -5
- {agentsecrets_cli-1.1.2 → agentsecrets_cli-3.1.2}/pyproject.toml +36 -36
- {agentsecrets_cli-1.1.2 → agentsecrets_cli-3.1.2}/src/agentsecrets/binary.py +29 -18
- {agentsecrets_cli-1.1.2 → agentsecrets_cli-3.1.2}/src/agentsecrets/__init__.py +0 -0
- {agentsecrets_cli-1.1.2 → agentsecrets_cli-3.1.2}/src/agentsecrets/main.py +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: agentsecrets-cli
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.2
|
|
4
4
|
Summary: AI-native zero-knowledge secrets manager
|
|
5
|
-
Author-email: The Seventeen <
|
|
5
|
+
Author-email: The Seventeen <engineering@theseventeen.co>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Keywords: agents,ai,cli,credentials,secrets,security
|
|
8
8
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -474,10 +474,10 @@ agentsecrets mcp install # Auto-configure AI tools
|
|
|
474
474
|
|
|
475
475
|
### Logging & Audit
|
|
476
476
|
```bash
|
|
477
|
-
agentsecrets
|
|
478
|
-
agentsecrets
|
|
479
|
-
agentsecrets
|
|
480
|
-
agentsecrets
|
|
477
|
+
agentsecrets logs list [--tail] # View or stream global backend logs
|
|
478
|
+
agentsecrets logs export --format csv # Export global logs to CSV/JSON
|
|
479
|
+
agentsecrets logs summary # View global statistics and usage metrics
|
|
480
|
+
agentsecrets logs detail <id> # Inspect a specific request deeply
|
|
481
481
|
```
|
|
482
482
|
|
|
483
483
|
### Agent Identity
|
|
@@ -618,7 +618,7 @@ See [ARCHITECTURE.md](docs/ARCHITECTURE.md) and [PROXY.md](docs/PROXY.md) for de
|
|
|
618
618
|
## Security
|
|
619
619
|
|
|
620
620
|
Reporting vulnerabilities: do NOT open public issues.
|
|
621
|
-
Email:
|
|
621
|
+
Email: engineering@theseventeen.co — response within 24 hours.
|
|
622
622
|
|
|
623
623
|
---
|
|
624
624
|
|
|
@@ -459,10 +459,10 @@ agentsecrets mcp install # Auto-configure AI tools
|
|
|
459
459
|
|
|
460
460
|
### Logging & Audit
|
|
461
461
|
```bash
|
|
462
|
-
agentsecrets
|
|
463
|
-
agentsecrets
|
|
464
|
-
agentsecrets
|
|
465
|
-
agentsecrets
|
|
462
|
+
agentsecrets logs list [--tail] # View or stream global backend logs
|
|
463
|
+
agentsecrets logs export --format csv # Export global logs to CSV/JSON
|
|
464
|
+
agentsecrets logs summary # View global statistics and usage metrics
|
|
465
|
+
agentsecrets logs detail <id> # Inspect a specific request deeply
|
|
466
466
|
```
|
|
467
467
|
|
|
468
468
|
### Agent Identity
|
|
@@ -603,7 +603,7 @@ See [ARCHITECTURE.md](docs/ARCHITECTURE.md) and [PROXY.md](docs/PROXY.md) for de
|
|
|
603
603
|
## Security
|
|
604
604
|
|
|
605
605
|
Reporting vulnerabilities: do NOT open public issues.
|
|
606
|
-
Email:
|
|
606
|
+
Email: engineering@theseventeen.co — response within 24 hours.
|
|
607
607
|
|
|
608
608
|
---
|
|
609
609
|
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["hatchling"]
|
|
3
|
-
build-backend = "hatchling.build"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "agentsecrets-cli"
|
|
7
|
-
version = "
|
|
8
|
-
description = "AI-native zero-knowledge secrets manager"
|
|
9
|
-
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.8"
|
|
11
|
-
license = "MIT"
|
|
12
|
-
authors = [
|
|
13
|
-
{ name = "The Seventeen", email = "
|
|
14
|
-
]
|
|
15
|
-
keywords = [
|
|
16
|
-
"ai",
|
|
17
|
-
"agents",
|
|
18
|
-
"secrets",
|
|
19
|
-
"security",
|
|
20
|
-
"credentials",
|
|
21
|
-
"cli",
|
|
22
|
-
]
|
|
23
|
-
classifiers = [
|
|
24
|
-
"Development Status :: 4 - Beta",
|
|
25
|
-
"Intended Audience :: Developers",
|
|
26
|
-
"License :: OSI Approved :: MIT License",
|
|
27
|
-
"Programming Language :: Python :: 3",
|
|
28
|
-
"Topic :: Security",
|
|
29
|
-
]
|
|
30
|
-
dependencies = []
|
|
31
|
-
|
|
32
|
-
[project.scripts]
|
|
33
|
-
agentsecrets = "agentsecrets.main:main"
|
|
34
|
-
|
|
35
|
-
[tool.hatch.build.targets.wheel]
|
|
36
|
-
packages = ["src/agentsecrets"]
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "agentsecrets-cli"
|
|
7
|
+
version = "3.1.2"
|
|
8
|
+
description = "AI-native zero-knowledge secrets manager"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "The Seventeen", email = "engineering@theseventeen.co" },
|
|
14
|
+
]
|
|
15
|
+
keywords = [
|
|
16
|
+
"ai",
|
|
17
|
+
"agents",
|
|
18
|
+
"secrets",
|
|
19
|
+
"security",
|
|
20
|
+
"credentials",
|
|
21
|
+
"cli",
|
|
22
|
+
]
|
|
23
|
+
classifiers = [
|
|
24
|
+
"Development Status :: 4 - Beta",
|
|
25
|
+
"Intended Audience :: Developers",
|
|
26
|
+
"License :: OSI Approved :: MIT License",
|
|
27
|
+
"Programming Language :: Python :: 3",
|
|
28
|
+
"Topic :: Security",
|
|
29
|
+
]
|
|
30
|
+
dependencies = []
|
|
31
|
+
|
|
32
|
+
[project.scripts]
|
|
33
|
+
agentsecrets = "agentsecrets.main:main"
|
|
34
|
+
|
|
35
|
+
[tool.hatch.build.targets.wheel]
|
|
36
|
+
packages = ["src/agentsecrets"]
|
|
@@ -8,28 +8,26 @@ import tempfile
|
|
|
8
8
|
import shutil
|
|
9
9
|
import stat
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
def _get_version():
|
|
13
|
-
try:
|
|
14
|
-
from importlib.metadata import version, PackageNotFoundError
|
|
15
|
-
except ImportError: # Python < 3.8
|
|
16
|
-
try:
|
|
17
|
-
from pkg_resources import get_distribution, DistributionNotFound
|
|
18
|
-
except ImportError:
|
|
19
|
-
# Fallback if pkg_resources is also not available
|
|
20
|
-
return "1.1.0"
|
|
11
|
+
import json
|
|
21
12
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
def get_latest_github_version():
|
|
14
|
+
"""Fetches the latest version tag from GitHub API."""
|
|
15
|
+
try:
|
|
16
|
+
url = "https://api.github.com/repos/The-17/agentsecrets/releases/latest"
|
|
17
|
+
req = urllib.request.Request(url, headers={'User-Agent': 'agentsecrets-pypi'})
|
|
18
|
+
with urllib.request.urlopen(req) as response:
|
|
19
|
+
data = json.loads(response.read().decode())
|
|
20
|
+
return data['tag_name'].lstrip('v')
|
|
21
|
+
except Exception:
|
|
22
|
+
return None
|
|
27
23
|
|
|
24
|
+
def _get_version():
|
|
28
25
|
try:
|
|
26
|
+
from importlib.metadata import version, PackageNotFoundError
|
|
29
27
|
return version("agentsecrets-cli")
|
|
30
|
-
except PackageNotFoundError:
|
|
31
|
-
|
|
32
|
-
return "1.1
|
|
28
|
+
except (ImportError, PackageNotFoundError):
|
|
29
|
+
latest = get_latest_github_version()
|
|
30
|
+
return latest if latest else "1.3.1"
|
|
33
31
|
|
|
34
32
|
VERSION = _get_version()
|
|
35
33
|
GITHUB_REPO = "The-17/agentsecrets"
|
|
@@ -126,6 +124,19 @@ def ensure_binary():
|
|
|
126
124
|
# Ensure executable
|
|
127
125
|
st = os.stat(binary_path)
|
|
128
126
|
os.chmod(binary_path, st.st_mode | stat.S_IEXEC | stat.S_IXGRP | stat.S_IXOTH)
|
|
127
|
+
|
|
128
|
+
# Pre-register with keychain-auth if available. This eliminates
|
|
129
|
+
# the one-time setup spinner on the user's first command.
|
|
130
|
+
import subprocess
|
|
131
|
+
kc = shutil.which("keychain-auth")
|
|
132
|
+
if kc:
|
|
133
|
+
try:
|
|
134
|
+
subprocess.run(
|
|
135
|
+
[kc, "register", binary_path],
|
|
136
|
+
timeout=5, capture_output=True,
|
|
137
|
+
)
|
|
138
|
+
except Exception:
|
|
139
|
+
pass # AutoSetup handles registration at runtime if needed
|
|
129
140
|
|
|
130
141
|
return binary_path
|
|
131
142
|
|
|
File without changes
|
|
File without changes
|