zeroclaw-api-client 0.1.0__py3-none-any.whl
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.
- zeroclaw_api_client-0.1.0.dist-info/METADATA +283 -0
- zeroclaw_api_client-0.1.0.dist-info/RECORD +31 -0
- zeroclaw_api_client-0.1.0.dist-info/WHEEL +4 -0
- zeroclaw_api_client-0.1.0.dist-info/licenses/LICENSE-APACHE +176 -0
- zeroclaw_api_client-0.1.0.dist-info/licenses/LICENSE-MIT +21 -0
- zeroclaw_api_client-0.1.0.dist-info/licenses/NOTICE +5 -0
- zeroclaw_client/__init__.py +361 -0
- zeroclaw_client/_client.py +415 -0
- zeroclaw_client/_errors.py +171 -0
- zeroclaw_client/_model.py +51 -0
- zeroclaw_client/_transport.py +307 -0
- zeroclaw_client/_version.py +1 -0
- zeroclaw_client/agents.py +227 -0
- zeroclaw_client/canvas.py +78 -0
- zeroclaw_client/channels.py +220 -0
- zeroclaw_client/chat.py +372 -0
- zeroclaw_client/config.py +713 -0
- zeroclaw_client/cost.py +98 -0
- zeroclaw_client/cron.py +314 -0
- zeroclaw_client/events.py +141 -0
- zeroclaw_client/files.py +98 -0
- zeroclaw_client/memory.py +111 -0
- zeroclaw_client/pairing.py +156 -0
- zeroclaw_client/py.typed +0 -0
- zeroclaw_client/quickstart.py +68 -0
- zeroclaw_client/sessions.py +115 -0
- zeroclaw_client/skills.py +129 -0
- zeroclaw_client/sops.py +258 -0
- zeroclaw_client/system.py +504 -0
- zeroclaw_client/webauthn.py +71 -0
- zeroclaw_client/webhook.py +127 -0
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: zeroclaw-api-client
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Independent, typed, resilient async Python client for the ZeroClaw gateway: HTTP API, events and chat.
|
|
5
|
+
Project-URL: Homepage, https://github.com/RustLangLatam/zeroclaw-api-client-python
|
|
6
|
+
Project-URL: Documentation, https://github.com/RustLangLatam/zeroclaw-api-client-python/tree/main/docs/book/src
|
|
7
|
+
Project-URL: Issues, https://github.com/RustLangLatam/zeroclaw-api-client-python/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/CHANGELOG.md
|
|
9
|
+
Author-email: RustLangLatam <rust.lang.latam@gmail.com>
|
|
10
|
+
License-Expression: MIT OR Apache-2.0
|
|
11
|
+
License-File: LICENSE-APACHE
|
|
12
|
+
License-File: LICENSE-MIT
|
|
13
|
+
License-File: NOTICE
|
|
14
|
+
Keywords: agents,ai,asyncio,client,gateway,sdk,zeroclaw
|
|
15
|
+
Classifier: Development Status :: 4 - Beta
|
|
16
|
+
Classifier: Framework :: AsyncIO
|
|
17
|
+
Classifier: Intended Audience :: Developers
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
26
|
+
Classifier: Typing :: Typed
|
|
27
|
+
Requires-Python: >=3.11
|
|
28
|
+
Requires-Dist: aiolimiter<2,>=1.1
|
|
29
|
+
Requires-Dist: httpx<1,>=0.27
|
|
30
|
+
Requires-Dist: purgatory<4,>=3.0
|
|
31
|
+
Requires-Dist: pydantic<3,>=2.7
|
|
32
|
+
Requires-Dist: tenacity<10,>=9.0
|
|
33
|
+
Requires-Dist: websockets<18,>=13.0
|
|
34
|
+
Description-Content-Type: text/markdown
|
|
35
|
+
|
|
36
|
+
<h1 align="center"><img src="https://raw.githubusercontent.com/RustLangLatam/zeroclaw-api-client-python/main/docs/assets/python.svg" alt="Python logo" height="40" align="absmiddle" /> zeroclaw-api-client-python</h1>
|
|
37
|
+
|
|
38
|
+
<p align="center">
|
|
39
|
+
<strong>Your ZeroClaw, from Python. Typed calls, live streams, resilient by default.</strong>
|
|
40
|
+
</p>
|
|
41
|
+
|
|
42
|
+
<p align="center">
|
|
43
|
+
<a href="https://github.com/RustLangLatam/zeroclaw-api-client-python/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/RustLangLatam/zeroclaw-api-client-python/ci.yml?branch=main&label=build" alt="Build Status" /></a>
|
|
44
|
+
<a href="https://pypi.org/project/zeroclaw-api-client/"><img src="https://img.shields.io/pypi/v/zeroclaw-api-client?label=PyPI" alt="PyPI" /></a>
|
|
45
|
+
<a href="https://pypi.org/project/zeroclaw-api-client/"><img src="https://img.shields.io/pypi/pyversions/zeroclaw-api-client" alt="Python versions" /></a>
|
|
46
|
+
<a href="https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/LICENSE-APACHE"><img src="https://img.shields.io/badge/license-MIT%20OR%20Apache%202.0-blue.svg" alt="License" /></a>
|
|
47
|
+
<a href="https://mypy-lang.org/"><img src="https://img.shields.io/badge/types-mypy%20strict-2a6db2" alt="mypy strict" /></a>
|
|
48
|
+
<a href="https://github.com/zeroclaw-labs/zeroclaw"><img src="https://img.shields.io/badge/ZeroClaw-0.8.5-black" alt="ZeroClaw 0.8.5" /></a>
|
|
49
|
+
</p>
|
|
50
|
+
|
|
51
|
+
<p align="center">
|
|
52
|
+
<a href="https://www.python-httpx.org/"><img src="https://img.shields.io/badge/HTTP-httpx-3776ab" alt="httpx" /></a>
|
|
53
|
+
<a href="https://docs.pydantic.dev/"><img src="https://img.shields.io/badge/models-pydantic%20v2-e92063" alt="pydantic" /></a>
|
|
54
|
+
<a href="https://websockets.readthedocs.io/"><img src="https://img.shields.io/badge/WebSocket-websockets-475569" alt="websockets" /></a>
|
|
55
|
+
<a href="https://tenacity.readthedocs.io/"><img src="https://img.shields.io/badge/retries-tenacity-c2410c" alt="tenacity" /></a>
|
|
56
|
+
<a href="https://github.com/pypa/pip-audit"><img src="https://img.shields.io/badge/supply%20chain-pip--audit-15803d" alt="pip-audit" /></a>
|
|
57
|
+
</p>
|
|
58
|
+
|
|
59
|
+
<p align="center">
|
|
60
|
+
<a href="https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/docs/book/src/introduction.md">Docs</a> ·
|
|
61
|
+
<a href="https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/docs/book/src/getting-started/index.md">Quick start</a> ·
|
|
62
|
+
<a href="https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/docs/book/src/guides/index.md">Guides</a> ·
|
|
63
|
+
<a href="https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/docs/book/src/guides/resilience.md">Resilience</a> ·
|
|
64
|
+
<a href="https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/docs/book/src/reference/endpoints.md">Endpoint map</a> ·
|
|
65
|
+
<a href="https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/docs/book/src/architecture/overview.md">Architecture</a> ·
|
|
66
|
+
<a href="https://github.com/zeroclaw-labs/zeroclaw">ZeroClaw</a>
|
|
67
|
+
</p>
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
`zeroclaw-api-client` is a typed, resilient, async Python client for the
|
|
72
|
+
[ZeroClaw](https://github.com/zeroclaw-labs/zeroclaw) gateway: its HTTP API,
|
|
73
|
+
its Server-Sent Events stream and its WebSocket chat. It is the Python port
|
|
74
|
+
of [zeroclaw-api-client-rust](https://github.com/RustLangLatam/zeroclaw-api-client-rust)
|
|
75
|
+
and [zeroclaw-api-client-go](https://github.com/RustLangLatam/zeroclaw-api-client-go),
|
|
76
|
+
with the same surface, behavior and tests.
|
|
77
|
+
|
|
78
|
+
> An independent, community-maintained client. It is not affiliated with or
|
|
79
|
+
> endorsed by ZeroClaw Labs; ZeroClaw is a trademark of ZeroClaw Labs.
|
|
80
|
+
|
|
81
|
+
```sh
|
|
82
|
+
pip install zeroclaw-api-client # or: uv add zeroclaw-api-client
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
import asyncio
|
|
87
|
+
|
|
88
|
+
from zeroclaw_client import Client
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
async def main() -> None:
|
|
92
|
+
async with Client("http://127.0.0.1:42617", token="zc_…") as client:
|
|
93
|
+
status = await client.system.status()
|
|
94
|
+
channels = await client.channels.list()
|
|
95
|
+
await client.config.set("agents.helper.model", "gpt-5.4-mini")
|
|
96
|
+
|
|
97
|
+
async with await client.chat("helper") as chat:
|
|
98
|
+
reply = await chat.ask("How many orders are pending?")
|
|
99
|
+
print(status.version, len(channels), reply.full_response)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
asyncio.run(main())
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Why an SDK
|
|
106
|
+
|
|
107
|
+
ZeroClaw is a self-hosted AI agent runtime. Everything an operator can do
|
|
108
|
+
with it (configure agents, models and channels, pair devices, run SOPs,
|
|
109
|
+
schedule jobs, read sessions and costs, talk to an agent) is exposed by its
|
|
110
|
+
gateway over HTTP and WebSockets. Calling that surface by hand from every
|
|
111
|
+
application that embeds ZeroClaw means repeating, in each of them:
|
|
112
|
+
|
|
113
|
+
- **the contract**: about 150 routes, a dozen response shapes for errors, a
|
|
114
|
+
JSON Patch dialect for the configuration, an event stream whose frames have
|
|
115
|
+
no names, a chat protocol with typed frames;
|
|
116
|
+
- **the edge cases**: secrets that are never returned, paths that must be
|
|
117
|
+
encoded segment by segment, a gateway that drops connections while it
|
|
118
|
+
reloads, routes that only exist with some build features;
|
|
119
|
+
- **the resilience**: timeouts that must not cut a stream, retries that must
|
|
120
|
+
never repeat a write, back-pressure.
|
|
121
|
+
|
|
122
|
+
This package does it once, typed and tested, so applications talk to
|
|
123
|
+
ZeroClaw in terms of channels, agents and sessions instead of URLs and JSON.
|
|
124
|
+
When the gateway changes, one place changes.
|
|
125
|
+
|
|
126
|
+
## Features
|
|
127
|
+
|
|
128
|
+
- **The whole client surface** of the gateway, one attribute per area:
|
|
129
|
+
|
|
130
|
+
| Attribute | Covers |
|
|
131
|
+
|---|---|
|
|
132
|
+
| `config` | per-field reads and writes, atomic JSON Patch, map aliases (agents, providers, channels), drift, catalogs, setup sections |
|
|
133
|
+
| `pairing` | pairing codes, bearer tokens, paired devices |
|
|
134
|
+
| `channels` | channel state, sending, group chats and their members, identity binding, relinking |
|
|
135
|
+
| `chat()` | agent chat over WebSocket: streamed replies, tool calls, tool approvals |
|
|
136
|
+
| `sessions`, `events` | transcripts, session state, the live Server-Sent Events stream |
|
|
137
|
+
| `agent()`, `files`, `skills` | agent workspaces, personality files, shared files, image uploads, skill bundles |
|
|
138
|
+
| `cron`, `memory`, `cost` | scheduled jobs, long-term memory, usage and cost |
|
|
139
|
+
| `sops`, `canvas`, `quickstart` | SOP authoring, runs and approvals; canvases; the first-agent setup |
|
|
140
|
+
| `system` | health, status, metrics, diagnostics, tools, logs, upgrades, reload |
|
|
141
|
+
| `webhook`, `webauthn` | one-shot webhook and A2A messages; hardware-key ceremonies |
|
|
142
|
+
|
|
143
|
+
- **Async from end to end** (`asyncio`): one client is shared by every task;
|
|
144
|
+
the streams are async iterators.
|
|
145
|
+
- **Resilient by default**, built as a stack of layers over an `httpx`
|
|
146
|
+
transport: answer timeouts that never cut a stream, retries with jittered
|
|
147
|
+
exponential backoff for idempotent calls only that honor `Retry-After`
|
|
148
|
+
([tenacity](https://tenacity.readthedocs.io/)), and, opt-in, a circuit
|
|
149
|
+
breaker ([purgatory](https://github.com/mardiros/purgatory)), a client-side
|
|
150
|
+
rate limit ([aiolimiter](https://github.com/mjpieters/aiolimiter)) and a
|
|
151
|
+
shared concurrency limit; plus your own middleware (metrics, tracing,
|
|
152
|
+
signing) around every request.
|
|
153
|
+
- **Typed end to end**: every answer is a [pydantic](https://docs.pydantic.dev/)
|
|
154
|
+
model validated on arrival, the package ships `py.typed` and passes
|
|
155
|
+
`mypy --strict`.
|
|
156
|
+
- **Typed errors**: every failure is a `ZeroClawError`; a gateway refusal is
|
|
157
|
+
an `APIError` that keeps its status, its explanation and its JSON body;
|
|
158
|
+
`is_not_found`, `is_unauthorized`, `is_rate_limited` and `is_transient`
|
|
159
|
+
classify any error.
|
|
160
|
+
- **Pull, not callbacks**: the event feed is an `EventStream`, the canvas
|
|
161
|
+
and SOP-run feeds a `Feed`, and a chat a session you iterate with
|
|
162
|
+
`async for`. The client starts no background work of its own.
|
|
163
|
+
- **Safe by construction**: every path segment is percent-encoded, the token
|
|
164
|
+
never appears in `repr`, nothing is printed or logged.
|
|
165
|
+
|
|
166
|
+
## Technologies
|
|
167
|
+
|
|
168
|
+
| Concern | Choice |
|
|
169
|
+
|---|---|
|
|
170
|
+
| Language | Python 3.11+ (`asyncio`) |
|
|
171
|
+
| HTTP | [httpx](https://www.python-httpx.org/) (HTTP/1.1, optional HTTP/2, proxies, TLS) |
|
|
172
|
+
| Middleware | layered transport: deadline, rate limit, retry (jitter, `Retry-After`), concurrency limit, circuit breaker, your own `Middleware` |
|
|
173
|
+
| Retries | [tenacity](https://tenacity.readthedocs.io/) |
|
|
174
|
+
| Rate limiting | [aiolimiter](https://github.com/mjpieters/aiolimiter) leaky bucket |
|
|
175
|
+
| Circuit breaking | [purgatory](https://github.com/mardiros/purgatory) |
|
|
176
|
+
| WebSockets | [websockets](https://websockets.readthedocs.io/) (`zeroclaw.v1` subprotocol, keep-alive pings) |
|
|
177
|
+
| Models | [pydantic v2](https://docs.pydantic.dev/) |
|
|
178
|
+
| Tests | pytest with an `httpx.MockTransport` gateway, an in-test WebSocket gateway, captured response vectors, parametrized tests |
|
|
179
|
+
| Quality | ruff (format and lint), mypy strict |
|
|
180
|
+
| Docs | Google-style docstrings and an [mdBook](https://rust-lang.github.io/mdBook/) book |
|
|
181
|
+
| Supply chain | [pip-audit](https://github.com/pypa/pip-audit), a locked `uv.lock`, PyPI trusted publishing |
|
|
182
|
+
|
|
183
|
+
## Architecture
|
|
184
|
+
|
|
185
|
+
```text
|
|
186
|
+
your code
|
|
187
|
+
│ await client.channels.rooms("whatsapp.main")
|
|
188
|
+
▼
|
|
189
|
+
Client ── resource attributes (config, channels, chat, …) ── pydantic requests/responses
|
|
190
|
+
│
|
|
191
|
+
├─ HTTP ──► your middleware ─► circuit breaker ─► concurrency limit ─► retry ─► rate limit ─► deadline ─► httpx transport ─► gateway
|
|
192
|
+
├─ SSE ───► the same stack; the body is read as a stream of events
|
|
193
|
+
└─ WebSocket ─► websockets (chat, canvas and SOP-run feeds)
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Each method's docstring names the route it calls; the
|
|
197
|
+
[endpoint map](https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/docs/book/src/reference/endpoints.md)
|
|
198
|
+
is generated from them.
|
|
199
|
+
|
|
200
|
+
## Resilience
|
|
201
|
+
|
|
202
|
+
```python
|
|
203
|
+
from zeroclaw_client import CircuitBreaker, Client, RateLimit, RetryPolicy
|
|
204
|
+
|
|
205
|
+
client = Client(
|
|
206
|
+
"http://127.0.0.1:42617",
|
|
207
|
+
token="zc_…",
|
|
208
|
+
timeout=10, # wait for an answer at most 10 s
|
|
209
|
+
retry=RetryPolicy(max_retries=5, base_delay=0.25, max_delay=8),
|
|
210
|
+
concurrency_limit=4, # shared by every copy
|
|
211
|
+
rate_limit=RateLimit(rate=10, burst=20), # 10 requests/s, bursts of 20
|
|
212
|
+
circuit_breaker=CircuitBreaker(), # open after 5 failures in a row, for 30 s
|
|
213
|
+
middleware=[my_middleware], # async (request, next) -> response
|
|
214
|
+
)
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
Retries apply to `GET`, `HEAD`, `OPTIONS`, `PUT` and `DELETE` after a
|
|
218
|
+
connection failure, a connection dropped before the answer, a timeout, or a
|
|
219
|
+
408, 429, 502, 503 or 504, with jittered backoff and the gateway's
|
|
220
|
+
`Retry-After` honored. A `POST` or `PATCH` is never repeated. An open
|
|
221
|
+
breaker fails calls at once with `CircuitOpenError`; the rate limit fails a
|
|
222
|
+
wait longer than the timeout with `RateLimitedError`. The timeout bounds the
|
|
223
|
+
wait for the answer's headers, so the event stream stays open.
|
|
224
|
+
|
|
225
|
+
## Examples
|
|
226
|
+
|
|
227
|
+
Runnable scripts under [`examples/`](https://github.com/RustLangLatam/zeroclaw-api-client-python/tree/main/examples):
|
|
228
|
+
|
|
229
|
+
| Example | Shows |
|
|
230
|
+
|---|---|
|
|
231
|
+
| `status.py` | version, model and channels |
|
|
232
|
+
| `pairing.py` | exchanging a pairing code for a token |
|
|
233
|
+
| `config.py` | reading fields, listing agents, an atomic patch |
|
|
234
|
+
| `group_chats.py` | channels, their group chats and members |
|
|
235
|
+
| `events.py` | following the live event stream, reconnecting |
|
|
236
|
+
| `chat.py` | streaming an agent's reply over the WebSocket |
|
|
237
|
+
| `announce.py` | posting on a channel through a one-off cron job |
|
|
238
|
+
| `resilient.py` | timeouts, retries, rate limit, circuit breaker, concurrency limit and a custom middleware |
|
|
239
|
+
|
|
240
|
+
```sh
|
|
241
|
+
ZEROCLAW_URL=http://127.0.0.1:42617 ZEROCLAW_TOKEN=zc_… python examples/status.py
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
## Testing
|
|
245
|
+
|
|
246
|
+
- **Parametrized unit tests** for every piece of logic: error mapping, URL
|
|
247
|
+
encoding, SSE parsing, chat frames, retry decisions, backoff, patch
|
|
248
|
+
operations, schedules.
|
|
249
|
+
- **HTTP-boundary tests** for every endpoint against a mock gateway: method,
|
|
250
|
+
path, query, body and decoding; plus retry, timeout, circuit breaker, rate
|
|
251
|
+
limit, concurrency and middleware behavior.
|
|
252
|
+
- **Response vectors**: answers captured from a real gateway
|
|
253
|
+
(`scripts/capture-vectors.py`, anonymized) must decode into the SDK's
|
|
254
|
+
models and re-encode without losing a field.
|
|
255
|
+
- **Live tests** against a running gateway (`pytest -m live`): every read
|
|
256
|
+
decodes real answers, and a write suite covers the rest of the surface,
|
|
257
|
+
cleaning up after itself.
|
|
258
|
+
|
|
259
|
+
```sh
|
|
260
|
+
uv sync && uv run pytest
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
## Compatibility
|
|
264
|
+
|
|
265
|
+
Targets the ZeroClaw **0.8.5** gateway; see
|
|
266
|
+
[Compatibility](https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/docs/book/src/reference/compatibility.md)
|
|
267
|
+
for the builds it is verified against and the routes that need a newer one.
|
|
268
|
+
|
|
269
|
+
## Contributing
|
|
270
|
+
|
|
271
|
+
Work happens on branches with pull requests to `main`; see
|
|
272
|
+
[CONTRIBUTING.md](https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/CONTRIBUTING.md)
|
|
273
|
+
and [AGENTS.md](https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/AGENTS.md).
|
|
274
|
+
|
|
275
|
+
## License
|
|
276
|
+
|
|
277
|
+
Licensed under either of [Apache License, Version 2.0](https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/LICENSE-APACHE)
|
|
278
|
+
or [MIT license](https://github.com/RustLangLatam/zeroclaw-api-client-python/blob/main/LICENSE-MIT),
|
|
279
|
+
at your option.
|
|
280
|
+
|
|
281
|
+
The Python logo is a trademark of the Python Software Foundation, used here
|
|
282
|
+
to say the client is written in Python, in line with the
|
|
283
|
+
[PSF Trademark Usage Policy](https://www.python.org/psf/trademarks/).
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
zeroclaw_client/__init__.py,sha256=-CbVmX3sMLngrIClPy-xeozY40D5dRHtwVU4Zm131RM,6576
|
|
2
|
+
zeroclaw_client/_client.py,sha256=pAn4loG-fzLZMLrE5WGy7zQUPQZwZOyLWVY15XKOCpI,14959
|
|
3
|
+
zeroclaw_client/_errors.py,sha256=XI6BSL6iMskQq2zinnDXIeE9KGazJsMlnf59j3JWBNw,5462
|
|
4
|
+
zeroclaw_client/_model.py,sha256=RYGLmHNct_u7klSIvhp08KYcv0SE847wS3qIi8q2Jxc,1568
|
|
5
|
+
zeroclaw_client/_transport.py,sha256=5Ttl_FZRUrTlnZ8KMRRVHwXWS5EECd_SiI2zYCLXWfY,11446
|
|
6
|
+
zeroclaw_client/_version.py,sha256=kUR5RAFc7HCeiqdlX36dZOHkUI5wI6V_43RpEcD8b-0,22
|
|
7
|
+
zeroclaw_client/agents.py,sha256=5okFbxi-kJQlHDglD2NuLvhTcyIeZvi7EoBQqtEDfmI,7327
|
|
8
|
+
zeroclaw_client/canvas.py,sha256=WtHgLmq2hyR93c9C2WSyXm1r-N4ppbJ0ZH4Sh7oqbJk,2536
|
|
9
|
+
zeroclaw_client/channels.py,sha256=ORAoixvyacykH-a1pt0JeWA9zot5zaa9_emMVnoQrdw,7076
|
|
10
|
+
zeroclaw_client/chat.py,sha256=_L9wn-YGoWujzi3ddOK9HJ4PHYjL6BKTR5jT0ySx06k,13586
|
|
11
|
+
zeroclaw_client/config.py,sha256=HAuw8H3YRqHXYiZYZtzsVZUZU0cVoL7D6n0AgmrrxaI,21961
|
|
12
|
+
zeroclaw_client/cost.py,sha256=djol2m5PkatUUbRWbSAQ-sAAnx42aVKPy0cYWyi0kxo,2593
|
|
13
|
+
zeroclaw_client/cron.py,sha256=JhPA90MvlNNeQwcQgUF-9iO7ZjpO6Qvu-CT5vgE5CEo,9222
|
|
14
|
+
zeroclaw_client/events.py,sha256=V_JnLVt5A7EA2ZDqh43HiDoRi2N_Fjh13Gn6d1wUPjc,4980
|
|
15
|
+
zeroclaw_client/files.py,sha256=sRpK-NzLYYRkim6ARYjlGT82kIhqEkAQLXjRo35Z9Q8,2723
|
|
16
|
+
zeroclaw_client/memory.py,sha256=fCSIP7ig07bN4jesxjXj0VB76EYQr55_AojDFUYy690,3341
|
|
17
|
+
zeroclaw_client/pairing.py,sha256=B42UdU_a1gB1o_R_DK-1xjkCfjQZSbXoEJSQGySsOZw,5572
|
|
18
|
+
zeroclaw_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
+
zeroclaw_client/quickstart.py,sha256=rt-ozBPMivJoMuRlNFEzB_0auS_IHUfq7PZyVNhqmGM,2567
|
|
20
|
+
zeroclaw_client/sessions.py,sha256=GzIwCxrZGXY3loHz4yq7Lvu7wY0UlkP2eNwzldvKZ9c,3964
|
|
21
|
+
zeroclaw_client/skills.py,sha256=I8ocvhGR_ryP74oz2TVhZZ6iWO0tOND3zZFjWeeHSH4,3934
|
|
22
|
+
zeroclaw_client/sops.py,sha256=1kcQvgRzR7wcstRHMocuXNwO1PL519fTcJoQwgS0no0,9057
|
|
23
|
+
zeroclaw_client/system.py,sha256=eYxw3bnc5ffhbYDZrr5ifnw4nXpLh7Ubro5U-1xdC8M,15776
|
|
24
|
+
zeroclaw_client/webauthn.py,sha256=yfNLNP_9osbktklp3d5zK_43k7bgP-R8XR5hkNxGnCs,2928
|
|
25
|
+
zeroclaw_client/webhook.py,sha256=Pzf-5TiuUGktjeDNQBXDhUVCt0kFjQ0_HfGCtx9KzNk,4368
|
|
26
|
+
zeroclaw_api_client-0.1.0.dist-info/METADATA,sha256=C5BLPmBpp0mttKEbtSAO9zwu4OI7AEGlbJZ_5rieKpA,14926
|
|
27
|
+
zeroclaw_api_client-0.1.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
28
|
+
zeroclaw_api_client-0.1.0.dist-info/licenses/LICENSE-APACHE,sha256=Yseh419WQGiW16p8pS0MwNJyrAIrXSeW59aQXbijY2o,9723
|
|
29
|
+
zeroclaw_api_client-0.1.0.dist-info/licenses/LICENSE-MIT,sha256=nZ0wQbi1lRh1AkO6VAyOVT9wBeUnV1xT3-o8M00vi1U,1070
|
|
30
|
+
zeroclaw_api_client-0.1.0.dist-info/licenses/NOTICE,sha256=5DuL4RrDwvDVmHmjlOTu850GUuXZAtpTrLwNH0yUUno,232
|
|
31
|
+
zeroclaw_api_client-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 RustLangLatam
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|