b82843f1c0d7916b80bef08f1fc718d66efcd08b
L1 Server:
- Extended save_cache_meta to support updates
- Added GET/PATCH /cache/{hash}/meta endpoints
- Added user data storage for folders/collections
- Added folder CRUD endpoints (/user/folders)
- Added collection CRUD endpoints (/user/collections)
- Cache list now supports filtering by folder/collection/tag
CLI:
- Added `meta` command to view/update cache item metadata
- Added `folder` command group (list, create, delete)
- Added `collection` command group (list, create, delete)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Art DAG Client
CLI for interacting with the Art DAG L1 rendering server.
Setup
pip install -r requirements.txt
Usage
# Set server URL (default: http://localhost:8100)
export ARTDAG_SERVER=http://localhost:8100
# Or pass with every command
./artdag.py --server http://localhost:8100 <command>
Authentication
The client authenticates against an L2 server for commands that require login (e.g., run, publish).
# Set L2 server URL (default: http://localhost:8200)
export ARTDAG_L2=https://artdag.rose-ash.com
# Or pass with every command
./artdag.py --l2 https://artdag.rose-ash.com <command>
Login
./artdag.py login <username>
# You'll be prompted for your password
# Or specify password with -p flag (will prompt)
./artdag.py login <username> -p
Register
./artdag.py register <username>
# You'll be prompted to enter and confirm your password
# Optionally include email
./artdag.py register <username> --email user@example.com
Check Current User
./artdag.py whoami
Logout
./artdag.py logout
Commands
Server Info
./artdag.py info
List Known Assets
./artdag.py assets
Start a Rendering Run
# Using asset name
./artdag.py run dog cat
# Using content hash
./artdag.py run dog 33268b6e167deaf018cc538de12dbe562612b33e89a749391cef855b320a269b
# Wait for completion
./artdag.py run dog cat --wait
# Custom output name
./artdag.py run dog cat --name my-dog-video
List Runs
./artdag.py runs
./artdag.py runs --limit 20
Check Run Status
./artdag.py status <run-id>
List Cached Content
./artdag.py cache
View/Download Cached Content
# Show info
./artdag.py view <content-hash>
# Download to file
./artdag.py view <content-hash> -o output.mkv
# Pipe to mpv (use -o - for stdout)
./artdag.py view <content-hash> -o - | mpv -
Import Local File to Cache
./artdag.py import /path/to/file.jpg
Example Workflow
# Check server
./artdag.py info
# See available assets
./artdag.py assets
# Run dog effect on cat, wait for result
./artdag.py run dog cat --wait
# List completed runs
./artdag.py runs
# Download the output
./artdag.py view <output-hash> -o result.mkv
Description
Languages
Python
97.8%
Common Lisp
2.2%