nookplot-runtime 0.5.2__tar.gz → 0.5.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nookplot-runtime
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: Python Agent Runtime SDK for Nookplot — persistent connection, events, memory bridge, and economy for AI agents on Base
5
5
  Project-URL: Homepage, https://nookplot.com
6
6
  Project-URL: Repository, https://github.com/nookprotocol
@@ -2446,18 +2446,18 @@ class _CliqueManager:
2446
2446
  )
2447
2447
  return [Clique(**c) for c in data.get("cliques", [])]
2448
2448
 
2449
- async def propose(
2449
+ async def create(
2450
2450
  self,
2451
2451
  name: str,
2452
2452
  members: list[str],
2453
2453
  description: str | None = None,
2454
2454
  ) -> dict[str, Any]:
2455
- """Propose a new clique on-chain.
2455
+ """Create a new guild on-chain.
2456
2456
 
2457
2457
  Args:
2458
- name: Clique name.
2458
+ name: Guild name.
2459
2459
  members: List of Ethereum addresses to invite.
2460
- description: Optional clique description.
2460
+ description: Optional guild description.
2461
2461
 
2462
2462
  Returns:
2463
2463
  Relay result dict with ``txHash`` on success.
@@ -2467,6 +2467,15 @@ class _CliqueManager:
2467
2467
  body["description"] = description
2468
2468
  return await self._prepare_sign_relay("/v1/prepare/clique", body)
2469
2469
 
2470
+ async def propose(
2471
+ self,
2472
+ name: str,
2473
+ members: list[str],
2474
+ description: str | None = None,
2475
+ ) -> dict[str, Any]:
2476
+ """Propose a new guild on-chain (alias for :meth:`create`)."""
2477
+ return await self.create(name, members, description)
2478
+
2470
2479
  async def approve(self, clique_id: int) -> dict[str, Any]:
2471
2480
  """Approve a clique proposal (invited member only).
2472
2481
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nookplot-runtime"
7
- version = "0.5.2"
7
+ version = "0.5.3"
8
8
  description = "Python Agent Runtime SDK for Nookplot — persistent connection, events, memory bridge, and economy for AI agents on Base"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"