jdcodec 0.1.0__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.
- jdcodec-0.1.0/PKG-INFO +21 -0
- jdcodec-0.1.0/jdcodec.egg-info/PKG-INFO +21 -0
- jdcodec-0.1.0/jdcodec.egg-info/SOURCES.txt +9 -0
- jdcodec-0.1.0/jdcodec.egg-info/dependency_links.txt +1 -0
- jdcodec-0.1.0/jdcodec.egg-info/entry_points.txt +2 -0
- jdcodec-0.1.0/jdcodec.egg-info/requires.txt +2 -0
- jdcodec-0.1.0/jdcodec.egg-info/top_level.txt +1 -0
- jdcodec-0.1.0/jdcodec_audit/__init__.py +1 -0
- jdcodec-0.1.0/jdcodec_audit/audit.py +74 -0
- jdcodec-0.1.0/setup.cfg +4 -0
- jdcodec-0.1.0/setup.py +26 -0
jdcodec-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: jdcodec
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: The Temporal Codec for AI Agents - Diagnostic Tool
|
|
5
|
+
Home-page: https://jdcodec.com
|
|
6
|
+
Author: JDCodec
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
|
+
Requires-Dist: rich
|
|
12
|
+
Requires-Dist: requests
|
|
13
|
+
Dynamic: author
|
|
14
|
+
Dynamic: classifier
|
|
15
|
+
Dynamic: description
|
|
16
|
+
Dynamic: home-page
|
|
17
|
+
Dynamic: requires-dist
|
|
18
|
+
Dynamic: requires-python
|
|
19
|
+
Dynamic: summary
|
|
20
|
+
|
|
21
|
+
Hollow CLI prototype for capturing installation intent and auditing agent environments.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: jdcodec
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: The Temporal Codec for AI Agents - Diagnostic Tool
|
|
5
|
+
Home-page: https://jdcodec.com
|
|
6
|
+
Author: JDCodec
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
|
+
Requires-Dist: rich
|
|
12
|
+
Requires-Dist: requests
|
|
13
|
+
Dynamic: author
|
|
14
|
+
Dynamic: classifier
|
|
15
|
+
Dynamic: description
|
|
16
|
+
Dynamic: home-page
|
|
17
|
+
Dynamic: requires-dist
|
|
18
|
+
Dynamic: requires-python
|
|
19
|
+
Dynamic: summary
|
|
20
|
+
|
|
21
|
+
Hollow CLI prototype for capturing installation intent and auditing agent environments.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
jdcodec_audit
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# JD Codec Python Audit Package
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import sys
|
|
3
|
+
import time
|
|
4
|
+
import json
|
|
5
|
+
import random
|
|
6
|
+
from rich.console import Console
|
|
7
|
+
from rich.panel import Panel
|
|
8
|
+
from rich.progress import Progress, SpinnerColumn, TextColumn
|
|
9
|
+
from rich.theme import Theme
|
|
10
|
+
|
|
11
|
+
# Set up UI theme
|
|
12
|
+
custom_theme = Theme({
|
|
13
|
+
"info": "cyan",
|
|
14
|
+
"warning": "yellow",
|
|
15
|
+
"danger": "bold red",
|
|
16
|
+
"success": "green",
|
|
17
|
+
})
|
|
18
|
+
console = Console(theme=custom_theme)
|
|
19
|
+
|
|
20
|
+
def main():
|
|
21
|
+
console.print("\n[bold info] 🚀 JD Codec v0.1.0-alpha initializing...[/bold info]\n")
|
|
22
|
+
|
|
23
|
+
with Progress(
|
|
24
|
+
SpinnerColumn(),
|
|
25
|
+
TextColumn("[progress.description]{task.description}"),
|
|
26
|
+
transient=True,
|
|
27
|
+
) as progress:
|
|
28
|
+
task = progress.add_task(description="Analyzing local agent environment...", total=None)
|
|
29
|
+
|
|
30
|
+
# Probing for common agent libraries
|
|
31
|
+
audit_results = {
|
|
32
|
+
"langchain": os.path.exists("requirements.txt") and "langchain" in open("requirements.txt").read(),
|
|
33
|
+
"playwright": os.path.exists("requirements.txt") and "playwright" in open("requirements.txt").read(),
|
|
34
|
+
"browser_use": os.path.exists("requirements.txt") and "browser-use" in open("requirements.txt").read(),
|
|
35
|
+
"keys_found": 0
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
# Check env variables
|
|
39
|
+
if os.environ.get("OPENAI_API_KEY"): audit_results["keys_found"] += 1
|
|
40
|
+
if os.environ.get("ANTHROPIC_API_KEY"): audit_results["keys_found"] += 1
|
|
41
|
+
|
|
42
|
+
# Artificial delay for "AI vibes"
|
|
43
|
+
time.sleep(1.5)
|
|
44
|
+
progress.update(task, description="Checking system compatibility...")
|
|
45
|
+
time.sleep(0.5)
|
|
46
|
+
|
|
47
|
+
# Reporting
|
|
48
|
+
if audit_results["playwright"] or audit_results["browser_use"]:
|
|
49
|
+
console.print("[success] ✅ System Check: COMPATIBLE[/success]")
|
|
50
|
+
console.print("[dim] Detected: Python Agent framework found.[/dim]\n")
|
|
51
|
+
else:
|
|
52
|
+
console.print("[warning] ⚠️ System Check: PARTIAL COMPATIBILITY[/warning]")
|
|
53
|
+
console.print("[dim] Note: No active Python agent framework detected in current directory.[/dim]\n")
|
|
54
|
+
|
|
55
|
+
# Waitlist Mock
|
|
56
|
+
waitlist_pos = random.randint(100, 600)
|
|
57
|
+
|
|
58
|
+
status_panel = Panel(
|
|
59
|
+
f"[bold white]Status:[/bold white] [cyan]Waitlisted[/cyan]\n"
|
|
60
|
+
f"[bold white]Position:[/bold white] [bold white]#{waitlist_pos}[/bold white]\n"
|
|
61
|
+
f"[bold white]Savings:[/bold white] [green]~86% tokens projected[/green]",
|
|
62
|
+
title="[bold black on cyan] JD CODEC STATUS: PROVISIONING [/bold black on cyan]",
|
|
63
|
+
expand=False
|
|
64
|
+
)
|
|
65
|
+
console.print(status_panel)
|
|
66
|
+
console.print()
|
|
67
|
+
|
|
68
|
+
console.print("[dim]----------------------------------------------------------------[/dim]")
|
|
69
|
+
console.print("Access is restricted to founding partners to ensure sub-10ms sync.")
|
|
70
|
+
console.print(f"Visit [link=https://jdcodec.pages.dev]https://jdcodec.pages.dev[/link] to verify your priority access.")
|
|
71
|
+
console.print("[dim]----------------------------------------------------------------[/dim]\n")
|
|
72
|
+
|
|
73
|
+
if __name__ == "__main__":
|
|
74
|
+
main()
|
jdcodec-0.1.0/setup.cfg
ADDED
jdcodec-0.1.0/setup.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="jdcodec",
|
|
5
|
+
version="0.1.0",
|
|
6
|
+
packages=find_packages(),
|
|
7
|
+
install_requires=[
|
|
8
|
+
"rich",
|
|
9
|
+
"requests",
|
|
10
|
+
],
|
|
11
|
+
entry_points={
|
|
12
|
+
"console_scripts": [
|
|
13
|
+
"jdcodec=jdcodec_audit.audit:main",
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
author="JDCodec",
|
|
17
|
+
description="The Temporal Codec for AI Agents - Diagnostic Tool",
|
|
18
|
+
long_description="Hollow CLI prototype for capturing installation intent and auditing agent environments.",
|
|
19
|
+
url="https://jdcodec.com",
|
|
20
|
+
classifiers=[
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"License :: OSI Approved :: MIT License",
|
|
23
|
+
"Operating System :: OS Independent",
|
|
24
|
+
],
|
|
25
|
+
python_requires=">=3.8",
|
|
26
|
+
)
|