dominusnode-dify 1.0.0__tar.gz → 1.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dominusnode-dify might be problematic. Click here for more details.

@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: dominusnode-dify
3
- Version: 1.0.0
4
- Summary: DomiNode tool provider for Dify -- 22 proxy, wallet, and team management tools
3
+ Version: 1.0.1
4
+ Summary: Dominus Node tool provider for Dify -- 22 proxy, wallet, and team management tools
5
5
  License: MIT
6
6
  Requires-Python: >=3.10
7
7
  Description-Content-Type: text/markdown
@@ -9,10 +9,11 @@ License-File: LICENSE
9
9
  Requires-Dist: httpx>=0.25.0
10
10
  Provides-Extra: dev
11
11
  Requires-Dist: pytest>=7.0; extra == "dev"
12
+ Dynamic: license-file
12
13
 
13
14
  # dominusnode-dify
14
15
 
15
- Dify tool provider for the [DomiNode](https://dominusnode.com) rotating proxy-as-a-service platform. Provides 22 tools for proxy management, wallet operations, team administration, and payment processing.
16
+ Dify tool provider for the [Dominus Node](https://dominusnode.com) rotating proxy-as-a-service platform. Provides 22 tools for proxy management, wallet operations, team administration, and payment processing.
16
17
 
17
18
  ## Installation
18
19
 
@@ -1,6 +1,6 @@
1
1
  # dominusnode-dify
2
2
 
3
- Dify tool provider for the [DomiNode](https://dominusnode.com) rotating proxy-as-a-service platform. Provides 22 tools for proxy management, wallet operations, team administration, and payment processing.
3
+ Dify tool provider for the [Dominus Node](https://dominusnode.com) rotating proxy-as-a-service platform. Provides 22 tools for proxy management, wallet operations, team administration, and payment processing.
4
4
 
5
5
  ## Installation
6
6
 
@@ -1,7 +1,7 @@
1
- """DomiNode Dify integration -- 24 tools for the Dify AI platform.
1
+ """Dominus Node Dify integration -- 24 tools for the Dify AI platform.
2
2
 
3
3
  Provides a Dify-compatible tool provider that exposes 24 tools for
4
- interacting with the DomiNode rotating proxy-as-a-service platform.
4
+ interacting with the Dominus Node rotating proxy-as-a-service platform.
5
5
 
6
6
  Tools cover:
7
7
  - Proxied HTTP fetching through rotating proxies
@@ -1,9 +1,9 @@
1
- """DomiNode Dify tool provider -- 24 tools with full security hardening.
1
+ """Dominus Node Dify tool provider -- 24 tools with full security hardening.
2
2
 
3
3
  This module implements the DominusNodeProvider class that Dify invokes.
4
4
  Each tool is a method that receives credentials (from the provider YAML)
5
5
  and parameters (from the tool YAML), performs the operation against the
6
- DomiNode REST API, and returns a dict result.
6
+ Dominus Node REST API, and returns a dict result.
7
7
 
8
8
  Security code is copied verbatim from the AutoGPT integration to ensure
9
9
  identical SSRF, OFAC, credential scrubbing, and prototype pollution
@@ -346,7 +346,7 @@ _CREDENTIAL_RE = re.compile(r"dn_(live|test)_[a-zA-Z0-9]+")
346
346
 
347
347
 
348
348
  def _sanitize_error(message: str) -> str:
349
- """Remove DomiNode API key patterns from error messages."""
349
+ """Remove Dominus Node API key patterns from error messages."""
350
350
  return _CREDENTIAL_RE.sub("***", message)
351
351
 
352
352
 
@@ -474,9 +474,9 @@ def _validate_allowed_domains(domains: Any) -> Optional[str]:
474
474
 
475
475
 
476
476
  class DominusNodeProvider:
477
- """Dify tool provider for DomiNode rotating proxy service.
477
+ """Dify tool provider for Dominus Node rotating proxy service.
478
478
 
479
- Authenticates using a DomiNode API key and exposes 24 tool methods that
479
+ Authenticates using a Dominus Node API key and exposes 24 tool methods that
480
480
  Dify can invoke. Each tool method receives ``credentials`` and ``params``
481
481
  dicts from the Dify runtime and returns a dict result.
482
482
 
@@ -509,7 +509,7 @@ class DominusNodeProvider:
509
509
  # ------------------------------------------------------------------
510
510
 
511
511
  def _authenticate(self) -> str:
512
- """Authenticate with the DomiNode API using the API key.
512
+ """Authenticate with the Dominus Node API using the API key.
513
513
 
514
514
  Returns:
515
515
  The JWT bearer token.
@@ -519,7 +519,7 @@ class DominusNodeProvider:
519
519
  """
520
520
  if not self.api_key:
521
521
  raise RuntimeError(
522
- "DomiNode API key is required. Set api_key in provider credentials "
522
+ "Dominus Node API key is required. Set api_key in provider credentials "
523
523
  "or DOMINUSNODE_API_KEY environment variable."
524
524
  )
525
525
 
@@ -564,7 +564,7 @@ class DominusNodeProvider:
564
564
  path: str,
565
565
  body: Optional[Dict[str, Any]] = None,
566
566
  ) -> Any:
567
- """Make an authenticated API request to the DomiNode REST API.
567
+ """Make an authenticated API request to the Dominus Node REST API.
568
568
 
569
569
  Args:
570
570
  method: HTTP method (GET, POST, PATCH, DELETE).
@@ -639,7 +639,7 @@ class DominusNodeProvider:
639
639
  # ==================================================================
640
640
 
641
641
  def proxied_fetch(self, params: Dict[str, Any]) -> Dict[str, Any]:
642
- """Fetch a URL through the DomiNode rotating proxy network.
642
+ """Fetch a URL through the Dominus Node rotating proxy network.
643
643
 
644
644
  Args:
645
645
  params: Dict with keys: url (required), method, country, proxy_type.
@@ -724,7 +724,7 @@ class DominusNodeProvider:
724
724
  except Exception as e:
725
725
  return {
726
726
  "error": f"Proxy fetch failed: {_sanitize_error(str(e))}",
727
- "hint": "Ensure the DomiNode proxy gateway is running and accessible.",
727
+ "hint": "Ensure the Dominus Node proxy gateway is running and accessible.",
728
728
  }
729
729
 
730
730
  # ==================================================================
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: dominusnode-dify
3
- Version: 1.0.0
4
- Summary: DomiNode tool provider for Dify -- 22 proxy, wallet, and team management tools
3
+ Version: 1.0.1
4
+ Summary: Dominus Node tool provider for Dify -- 22 proxy, wallet, and team management tools
5
5
  License: MIT
6
6
  Requires-Python: >=3.10
7
7
  Description-Content-Type: text/markdown
@@ -9,10 +9,11 @@ License-File: LICENSE
9
9
  Requires-Dist: httpx>=0.25.0
10
10
  Provides-Extra: dev
11
11
  Requires-Dist: pytest>=7.0; extra == "dev"
12
+ Dynamic: license-file
12
13
 
13
14
  # dominusnode-dify
14
15
 
15
- Dify tool provider for the [DomiNode](https://dominusnode.com) rotating proxy-as-a-service platform. Provides 22 tools for proxy management, wallet operations, team administration, and payment processing.
16
+ Dify tool provider for the [Dominus Node](https://dominusnode.com) rotating proxy-as-a-service platform. Provides 22 tools for proxy management, wallet operations, team administration, and payment processing.
16
17
 
17
18
  ## Installation
18
19
 
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "dominusnode-dify"
7
- version = "1.0.0"
8
- description = "DomiNode tool provider for Dify -- 22 proxy, wallet, and team management tools"
7
+ version = "1.0.1"
8
+ description = "Dominus Node tool provider for Dify -- 22 proxy, wallet, and team management tools"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
11
11
  requires-python = ">=3.10"