Call it a node pack, not a plugin

"Plugin" is not ComfyUI's vocabulary. What Manager installs into custom_nodes/
is a custom node pack, and what the Registry publishes is a "node" — so to
someone browsing the Registry, "plugin" reads slightly off-ecosystem, like
calling a VS Code extension an add-on. The README is the listing page, so the
wording is user-facing.

Replaces the eight occurrences with "node pack", "the nodes", or "this pack" as
each sentence reads best. "Extension" stays reserved for its narrow ComfyUI
meaning: the frontend JS registered via app.registerExtension, which is
web/styleref.js and nothing else.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Behzad
2026-07-27 13:56:44 +02:00
co-authored by Claude Sonnet 5
parent 9e723479f8
commit fa4e214eb1
5 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ The style is compiled server-side for whichever model you point it at, so the
same style produces prompt text phrased appropriately for each one.
**No account needed** to load and apply public gallery styles. An account adds
your own private styles. **Nothing in this plugin spends credits.**
your own private styles. **Nothing in this node pack spends credits.**
---
@@ -125,7 +125,7 @@ detects the headless case and prints these instructions rather than hanging.
## Credits
**Nothing in this plugin spends credits.** Loading, searching, and applying
**Nothing in this node pack spends credits.** Loading, searching, and applying
styles is free and unlimited within the public rate limit. Extraction — the one
paid action — happens on [styleref.io](https://styleref.io), where you can
preview and refine the result before it costs anything beyond the extraction
@@ -155,7 +155,7 @@ The nodes are a thin client over StyleRef's public
[REST API v1](https://docs.styleref.io/for-ai-agents/rest-api/overview-and-authentication)
([OpenAPI](https://styleref.io/api/v1/openapi.json)). All prompt compilation
happens server-side — this pack never writes style prose itself, so improvements
to StyleRef's compiler reach you without a plugin update.
to StyleRef's compiler reach you without an update to this pack.
## Docs & support
+1 -1
View File
@@ -31,7 +31,7 @@ DEFAULT_TIMEOUT_S = 30
def api_base() -> str:
"""Env override exists so the plugin can be pointed at a local dev server."""
"""Env override exists so the nodes can be pointed at a local dev server."""
return (os.environ.get("STYLEREF_API") or "").strip() or DEFAULT_API_BASE
+1 -1
View File
@@ -29,7 +29,7 @@ from styleref_api import DEFAULT_API_BASE, StyleRefError, request_json, site_ori
# Identical to the CLI's scope set on purpose: the two tools share one
# credentials file, so a login from either must satisfy both. (`extract` is in
# the set for the CLI's sake; the plugin doesn't extract — that lives on the web
# the set for the CLI's sake; these nodes don't extract — that lives on the web
# app, where you can preview and refine the result.)
SCOPES = "styles:read styles:write extract"
+2 -2
View File
@@ -218,7 +218,7 @@ def test_get_style_spec_reads_the_canonical_url_header(monkeypatch):
def test_client_has_no_extraction_endpoints():
"""
Extraction is a web-app experience; the plugin must not grow it back
Extraction is a web-app experience; this pack must not grow it back
quietly. The REST /extractions tier itself remains for CLI/agents.
"""
assert not hasattr(api, "create_extraction")
@@ -279,7 +279,7 @@ def test_get_retries_on_5xx(monkeypatch):
def test_client_tag_header_is_sent(monkeypatch):
"""Telemetry attributes API usage to the plugin via X-StyleRef-Client."""
"""Telemetry attributes API usage to this pack via X-StyleRef-Client."""
captured = {}
class _Response:
+1 -1
View File
@@ -52,7 +52,7 @@ def test_credentials_path_prefers_xdg():
def test_credentials_path_matches_the_cli_default():
"""CLI and plugin must share one file, or signing in twice becomes necessary."""
"""CLI and nodes must share one file, or signing in twice becomes necessary."""
path = auth.credentials_path({"HOME": "/home/u"})
assert path == os.path.join("/home/u", ".config", "styleref", "credentials.json")