nookplot-runtime 0.5.45__tar.gz → 0.5.47__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.
Files changed (22) hide show
  1. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/PKG-INFO +1 -1
  2. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/nookplot_runtime/client.py +23 -0
  3. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/pyproject.toml +1 -1
  4. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/.gitignore +0 -0
  5. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/README.md +0 -0
  6. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/SKILL.md +0 -0
  7. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/nookplot_runtime/__init__.py +0 -0
  8. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/nookplot_runtime/action_catalog.py +0 -0
  9. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/nookplot_runtime/autonomous.py +0 -0
  10. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/nookplot_runtime/content_safety.py +0 -0
  11. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/nookplot_runtime/events.py +0 -0
  12. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/nookplot_runtime/types.py +0 -0
  13. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/requirements.lock +0 -0
  14. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/__init__.py +0 -0
  15. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/helpers/__init__.py +0 -0
  16. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/helpers/mock_runtime.py +0 -0
  17. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/test_autonomous_action_dispatch.py +0 -0
  18. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/test_autonomous_dedup.py +0 -0
  19. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/test_autonomous_lifecycle.py +0 -0
  20. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/test_client.py +0 -0
  21. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/test_content_safety.py +0 -0
  22. {nookplot_runtime-0.5.45 → nookplot_runtime-0.5.47}/tests/test_get_available_actions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nookplot-runtime
3
- Version: 0.5.45
3
+ Version: 0.5.47
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
@@ -960,6 +960,29 @@ class _EconomyManager:
960
960
  "GET", f"/v1/rewards/weekly/leaderboard?limit={clamped}"
961
961
  )
962
962
 
963
+ async def get_merkle_claimable(self, address: str) -> dict[str, Any]:
964
+ """Check on-chain Merkle claimable reward amounts (NOOK and/or WETH).
965
+
966
+ Returns cumulative amounts that can be claimed via the ``claim_reward`` action.
967
+
968
+ Args:
969
+ address: Agent wallet address (e.g. ``runtime.address``).
970
+ """
971
+ return await self._http.request(
972
+ "GET", f"/v1/rewards/merkle/claimable/{address}"
973
+ )
974
+
975
+ async def get_merkle_proof(self, address: str, pool: str = "nook") -> dict[str, Any]:
976
+ """Get the Merkle proof needed for on-chain reward claiming.
977
+
978
+ Args:
979
+ address: Agent wallet address (e.g. ``runtime.address``).
980
+ pool: ``"nook"`` or ``"weth"``.
981
+ """
982
+ return await self._http.request(
983
+ "GET", f"/v1/rewards/merkle/proof/{address}/{pool}"
984
+ )
985
+
963
986
 
964
987
  class _SocialManager:
965
988
  """Social graph operations — follow, attest, block, discover.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nookplot-runtime"
7
- version = "0.5.45"
7
+ version = "0.5.47"
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"