@kinkai.cloud/vibecheck 0.1.6 → 0.3.0
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.
- package/README.md +40 -0
- package/dist/cli.js +4737 -530
- package/engines/engines.json +7 -0
- package/engines/install.py +20 -0
- package/engines/requirements.txt +66 -0
- package/package.json +16 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Install pinned Linux x64 engines after verifying release checksums."""
|
|
2
|
+
import hashlib, io, json, pathlib, sys, tarfile, urllib.request
|
|
3
|
+
root = pathlib.Path(sys.argv[1]).resolve()
|
|
4
|
+
root.mkdir(parents=True, exist_ok=True)
|
|
5
|
+
lock = json.loads(pathlib.Path(__file__).with_name('engines.json').read_text())
|
|
6
|
+
artifacts = [
|
|
7
|
+
('osv-scanner', f"https://github.com/google/osv-scanner/releases/download/v{lock['osv']}/osv-scanner_linux_amd64", lock['osvLinuxAmd64Sha256']),
|
|
8
|
+
('gitleaks', f"https://github.com/gitleaks/gitleaks/releases/download/v{lock['gitleaks']}/gitleaks_{lock['gitleaks']}_linux_x64.tar.gz", lock['gitleaksLinuxAmd64Sha256']),
|
|
9
|
+
]
|
|
10
|
+
for name, url, checksum in artifacts:
|
|
11
|
+
data = urllib.request.urlopen(url, timeout=60).read()
|
|
12
|
+
if hashlib.sha256(data).hexdigest() != checksum:
|
|
13
|
+
raise RuntimeError('Checksum mismatch: ' + name)
|
|
14
|
+
if name == 'gitleaks':
|
|
15
|
+
with tarfile.open(fileobj=io.BytesIO(data)) as archive:
|
|
16
|
+
data = archive.extractfile('gitleaks').read()
|
|
17
|
+
target = root / name
|
|
18
|
+
target.write_bytes(data)
|
|
19
|
+
target.chmod(0o755)
|
|
20
|
+
print(name + ' installed and verified')
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
annotated-types==0.8.0
|
|
2
|
+
anyio==4.15.1
|
|
3
|
+
attrs==26.1.0
|
|
4
|
+
boltons==21.0.0
|
|
5
|
+
bracex==3.0.1
|
|
6
|
+
certifi==2026.7.22
|
|
7
|
+
cffi==2.1.1
|
|
8
|
+
charset-normalizer==3.5.1
|
|
9
|
+
click==8.4.2
|
|
10
|
+
click-option-group==0.5.9
|
|
11
|
+
colorama==0.4.6
|
|
12
|
+
cryptography==50.0.1
|
|
13
|
+
exceptiongroup==1.2.2
|
|
14
|
+
face==26.0.1
|
|
15
|
+
glom==25.12.0
|
|
16
|
+
googleapis-common-protos==1.75.3
|
|
17
|
+
h11==0.16.0
|
|
18
|
+
httpcore==1.0.9
|
|
19
|
+
httpx==0.28.1
|
|
20
|
+
httpx-sse==0.4.3
|
|
21
|
+
idna==3.19
|
|
22
|
+
importlib_metadata==8.7.1
|
|
23
|
+
jsonschema==4.25.1
|
|
24
|
+
jsonschema-specifications==2025.9.1
|
|
25
|
+
markdown-it-py==4.2.0
|
|
26
|
+
mcp==1.29.0
|
|
27
|
+
mdurl==0.1.2
|
|
28
|
+
opentelemetry-api==1.37.0
|
|
29
|
+
opentelemetry-exporter-otlp-proto-common==1.37.0
|
|
30
|
+
opentelemetry-exporter-otlp-proto-http==1.37.0
|
|
31
|
+
opentelemetry-instrumentation==0.58b0
|
|
32
|
+
opentelemetry-instrumentation-requests==0.58b0
|
|
33
|
+
opentelemetry-instrumentation-threading==0.58b0
|
|
34
|
+
opentelemetry-proto==1.37.0
|
|
35
|
+
opentelemetry-sdk==1.37.0
|
|
36
|
+
opentelemetry-semantic-conventions==0.58b0
|
|
37
|
+
opentelemetry-util-http==0.58b0
|
|
38
|
+
packaging==26.3
|
|
39
|
+
peewee==3.19.0
|
|
40
|
+
protobuf==6.33.6
|
|
41
|
+
pycparser==3.0
|
|
42
|
+
pydantic==2.13.5
|
|
43
|
+
pydantic-settings==2.15.0
|
|
44
|
+
pydantic_core==2.46.5
|
|
45
|
+
Pygments==2.21.0
|
|
46
|
+
PyJWT==2.13.0
|
|
47
|
+
python-dotenv==1.2.3
|
|
48
|
+
python-multipart==0.0.32
|
|
49
|
+
referencing==0.37.0
|
|
50
|
+
requests==2.34.2
|
|
51
|
+
rich==15.0.0
|
|
52
|
+
rpds-py==2026.6.3
|
|
53
|
+
ruamel.yaml==0.19.1
|
|
54
|
+
ruamel.yaml.clib==0.2.15
|
|
55
|
+
semantic-version==2.10.0
|
|
56
|
+
semgrep==1.176.0
|
|
57
|
+
sse-starlette==3.4.11
|
|
58
|
+
starlette==1.6.0
|
|
59
|
+
tomli==2.4.1
|
|
60
|
+
typing-inspection==0.4.4
|
|
61
|
+
typing_extensions==4.16.0
|
|
62
|
+
urllib3==2.7.0
|
|
63
|
+
uvicorn==0.52.4
|
|
64
|
+
wcmatch==8.5.2
|
|
65
|
+
wrapt==1.17.3
|
|
66
|
+
zipp==4.1.0
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinkai.cloud/vibecheck",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"vibecheck": "./dist/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
|
-
"dist"
|
|
10
|
+
"dist",
|
|
11
|
+
"engines"
|
|
11
12
|
],
|
|
12
13
|
"publishConfig": {
|
|
13
14
|
"access": "public"
|
|
@@ -21,7 +22,19 @@
|
|
|
21
22
|
"tsx": "^4",
|
|
22
23
|
"typescript": "^5",
|
|
23
24
|
"vitest": "^3",
|
|
24
|
-
"
|
|
25
|
+
"zod": "^4",
|
|
26
|
+
"@vibecheck/checks": "0.0.0",
|
|
27
|
+
"@vibecheck/graph": "0.0.0",
|
|
28
|
+
"@vibecheck/schema": "0.0.0",
|
|
29
|
+
"@vibecheck/analysis": "0.0.0"
|
|
30
|
+
},
|
|
31
|
+
"exports": {
|
|
32
|
+
"./login": "./src/login.ts",
|
|
33
|
+
"./token": "./src/token.ts",
|
|
34
|
+
"./walker": "./src/walker.ts",
|
|
35
|
+
"./graphify": "./src/graphify.ts",
|
|
36
|
+
"./follow": "./src/follow.ts",
|
|
37
|
+
"./repo": "./src/repo.ts"
|
|
25
38
|
},
|
|
26
39
|
"scripts": {
|
|
27
40
|
"build": "tsup",
|