From fa4e214eb16714cedfac661e8557884fac6b6b2f Mon Sep 17 00:00:00 2001 From: Behzad Date: Mon, 27 Jul 2026 13:56:44 +0200 Subject: [PATCH] Call it a node pack, not a plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "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 --- README.md | 6 +++--- styleref_api.py | 2 +- styleref_auth.py | 2 +- tests/test_api.py | 4 ++-- tests/test_auth.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 032f2a3..e465b25 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/styleref_api.py b/styleref_api.py index 870b625..a56c04f 100644 --- a/styleref_api.py +++ b/styleref_api.py @@ -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 diff --git a/styleref_auth.py b/styleref_auth.py index 6f41246..435b0b8 100644 --- a/styleref_auth.py +++ b/styleref_auth.py @@ -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" diff --git a/tests/test_api.py b/tests/test_api.py index 6e9aad7..01c5635 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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: diff --git a/tests/test_auth.py b/tests/test_auth.py index e9757fe..d1c7ba0 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -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")