nodes.py:
- move json/urllib/logging imports to module top
- replace inline imports inside _get_balance with module-level log
- extract endpoint/key constants instead of inline literals
- add from __future__ import annotations for cleaner typing
- document the error-path padding to 4-tuple matching RETURN_TYPES
Root __init__.py:
- expose WEB_DIRECTORY pointing at custom_nodes/credit_tracker/js so the
live-update extension loads when the repo is installed as custom_fns/
pyproject.toml:
- fix invalid build-backend (was setuptools.backends.legacy:build)
- bump to 0.2.0, add author/homepage fields
README + CONFLUENCE:
- document balance check, block_if_insufficient, and optional wired inputs
- update sample output to include Balance / After run / Status lines
- drop stale "no API calls" line and inaccurate "41 models total" claim
- mention JS pricing mirror must be updated alongside Python PRICING
Made-with: Cursor