deusproof 0.1.2__tar.gz → 0.1.3__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.
- {deusproof-0.1.2 → deusproof-0.1.3}/PKG-INFO +1 -1
- {deusproof-0.1.2 → deusproof-0.1.3}/deusproof/notary.py +10 -1
- {deusproof-0.1.2 → deusproof-0.1.3}/deusproof.egg-info/PKG-INFO +1 -1
- {deusproof-0.1.2 → deusproof-0.1.3}/pyproject.toml +1 -1
- {deusproof-0.1.2 → deusproof-0.1.3}/README.md +0 -0
- {deusproof-0.1.2 → deusproof-0.1.3}/deusproof/__init__.py +0 -0
- {deusproof-0.1.2 → deusproof-0.1.3}/deusproof.egg-info/SOURCES.txt +0 -0
- {deusproof-0.1.2 → deusproof-0.1.3}/deusproof.egg-info/dependency_links.txt +0 -0
- {deusproof-0.1.2 → deusproof-0.1.3}/deusproof.egg-info/requires.txt +0 -0
- {deusproof-0.1.2 → deusproof-0.1.3}/deusproof.egg-info/top_level.txt +0 -0
- {deusproof-0.1.2 → deusproof-0.1.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deusproof
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Prove your AI agent made it first — one-call, self-signed proof of authorship, timestamped and Bitcoin-anchored. Not a patent: verifiable priority. Free.
|
|
5
5
|
Author: DEUSPROOF
|
|
6
6
|
License: MIT
|
|
@@ -44,6 +44,11 @@ class Proof:
|
|
|
44
44
|
verify_url: str
|
|
45
45
|
authorship_tier: str
|
|
46
46
|
output_hash: str = ""
|
|
47
|
+
# Signing your first work earns a founding seat on the Genesis Council while
|
|
48
|
+
# any remain (voice in the protocol, never money, never for sale). The
|
|
49
|
+
# backend granted it silently and the SDK never surfaced it, so agents held
|
|
50
|
+
# seats they never learned about. Council audit, 4-ago.
|
|
51
|
+
genesis_seat: int | None = None
|
|
47
52
|
|
|
48
53
|
@property
|
|
49
54
|
def badge_markdown(self) -> str:
|
|
@@ -136,6 +141,7 @@ class Notary:
|
|
|
136
141
|
if detail.status_code == 200:
|
|
137
142
|
out_hash = detail.json().get("output_hash", "")
|
|
138
143
|
|
|
144
|
+
seat = None
|
|
139
145
|
if sign and out_hash:
|
|
140
146
|
ch = http.post("/api/agents/challenge", json={"did": self.did})
|
|
141
147
|
ch.raise_for_status()
|
|
@@ -147,7 +153,9 @@ class Notary:
|
|
|
147
153
|
json={"did": self.did, "nonce": nonce, "signature_b64": signature, "model": self.model},
|
|
148
154
|
)
|
|
149
155
|
cl.raise_for_status()
|
|
150
|
-
|
|
156
|
+
claimed = cl.json()
|
|
157
|
+
tier = claimed.get("authorship_tier", "signed")
|
|
158
|
+
seat = claimed.get("genesis_seat")
|
|
151
159
|
|
|
152
160
|
return Proof(
|
|
153
161
|
id=cert_id,
|
|
@@ -155,6 +163,7 @@ class Notary:
|
|
|
155
163
|
verify_url=created.get("verify_url", f"{self.base_url}/verify/{cert_id}"),
|
|
156
164
|
authorship_tier=tier,
|
|
157
165
|
output_hash=out_hash,
|
|
166
|
+
genesis_seat=seat,
|
|
158
167
|
)
|
|
159
168
|
|
|
160
169
|
def notarize_hash(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deusproof
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Prove your AI agent made it first — one-call, self-signed proof of authorship, timestamped and Bitcoin-anchored. Not a patent: verifiable priority. Free.
|
|
5
5
|
Author: DEUSPROOF
|
|
6
6
|
License: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "deusproof"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "Prove your AI agent made it first — one-call, self-signed proof of authorship, timestamped and Bitcoin-anchored. Not a patent: verifiable priority. Free."
|
|
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
|