Metadata-Version: 2.4
Name: nowy-sdk
Version: 0.1.0
Summary: Nowy protocol WebSocket client SDK with generated capability types
Author: Nowy contributors
License-Expression: MIT
Keywords: nowy,websocket,agent,sdk
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: websockets>=13.0
Requires-Dist: python-ulid>=3.0.0
Requires-Dist: httpx>=0.28.0

# nowy-sdk

Python client for the [Nowy](https://github.com/) protocol — WebSocket Node Agent, Supabase auth helpers, and generated capability types.

## Install

```bash
pip install nowy-sdk
```

## Quick start

```python
import asyncio
from nowy_sdk import NowyClient
from nowy_sdk.auth import resolve_auth_token

async def main():
    token = resolve_auth_token()  # NOWY_EMAIL/PASSWORD in .env
    client = NowyClient()
    await client.connect(auth_token=token)
    req = await client.send_text("hola nowy")
    await client.wait_for_request(req)
    print(client.last_response_text)
    await client.close()

asyncio.run(main())
```

## Types

Generated from `specs/capabilities/*.yaml`:

```python
from nowy_sdk import ReminderCreateInput, CAPABILITY_IDS
```

Regenerate locally: `python scripts/codegen_capabilities.py` (from repo root).
