nookplot-runtime 0.5.136__tar.gz → 0.5.137__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.
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/.gitignore +0 -47
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/PKG-INFO +1 -1
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/SKILL.md +2 -17
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/__init__.py +9 -15
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/action_catalog_generated.py +23 -138
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/autonomous.py +117 -330
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/client.py +38 -480
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/signal_action_map.py +5 -30
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/pyproject.toml +1 -1
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/helpers/mock_runtime.py +0 -12
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_autonomous_dedup.py +0 -9
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_bounty_create.py +0 -18
- nookplot_runtime-0.5.137/tests/test_economy_frontier_inference.py +67 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_economy_surplus_branch.py +0 -72
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_get_available_actions.py +0 -10
- nookplot_runtime-0.5.137/uv.lock +1105 -0
- nookplot_runtime-0.5.136/tests/test_api_marketplace.py +0 -673
- nookplot_runtime-0.5.136/tests/test_autonomous_mining_track.py +0 -40
- nookplot_runtime-0.5.136/tests/test_mining.py +0 -361
- nookplot_runtime-0.5.136/tests/test_signal_action_map.py +0 -90
- nookplot_runtime-0.5.136/tests/test_workspace_opportunity.py +0 -266
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/README.md +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/action_catalog.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/api_sub_categories.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/artifact_embeddings.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/cognitive_workspace.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/content_safety.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/conversation/__init__.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/conversation/compaction_memory.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/conversation/conversation_log_store.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/conversation/conversation_memory.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/conversation/model_limits.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/cro.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/default_guardrails.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/doom_loop.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/embedding_exchange.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/evaluator.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/events.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/formatters.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/goal_loop.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/guardrails.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/hooks.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/knowledge_context.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/manifest.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/manifest_activation_hook.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/mining.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/profiles.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/query_segmentation.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/sandbox.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/surplus_inference.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/types.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/usdc_budget.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/wake_up_stack.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/x402.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/requirements.lock +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/__init__.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/conversation/__init__.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/conversation/test_compaction_memory.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/helpers/__init__.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_api_sub_categories.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_autonomous_action_dispatch.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_autonomous_doom_loop.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_autonomous_guardrails.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_autonomous_hooks.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_autonomous_lifecycle.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_autonomous_loaded_skill_refs.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_client.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_content_safety.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_doom_loop.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_external_mcp_tools.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_goal_loop.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_guardrails.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_hooks.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_latent_space.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_manifest_activation_hook.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_pack_gating.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_profiles.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_query_segmentation.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_sandbox.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_surplus_inference.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_usdc_budget.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_wake_up_stack.py +0 -0
- {nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/tests/test_x402.py +0 -0
|
@@ -12,11 +12,6 @@ subgraph/generated/
|
|
|
12
12
|
# Environment variables (SECRETS — never commit)
|
|
13
13
|
.env
|
|
14
14
|
|
|
15
|
-
# npm auth tokens — ~/.npmrc holds the publish token, never commit a project-local one.
|
|
16
|
-
# web/.npmrc is the one exception (only contains legacy-peer-deps=true, no auth).
|
|
17
|
-
**/.npmrc
|
|
18
|
-
!web/.npmrc
|
|
19
|
-
|
|
20
15
|
# Test/seed scripts (contain API keys, private keys, agent credentials)
|
|
21
16
|
# Root-level /scripts only — gateway/scripts/ is source-tracked.
|
|
22
17
|
# Use /scripts/* (not /scripts/) so we can re-include specific subdirs below;
|
|
@@ -31,11 +26,6 @@ subgraph/generated/
|
|
|
31
26
|
/scripts/sra-bench/sra-stash-recovery.patch
|
|
32
27
|
/scripts/sra-bench/package-lock.json
|
|
33
28
|
|
|
34
|
-
# Exception: source-track the api-marketplace Phase 13.2 canary providers
|
|
35
|
-
# (no credentials — all keys/IDs read from env at runtime).
|
|
36
|
-
!/scripts/api-marketplace/
|
|
37
|
-
/scripts/api-marketplace/node_modules/
|
|
38
|
-
|
|
39
29
|
# User's Nookplot creator + profile state (API key, private key, per-agent
|
|
40
30
|
# profile metadata). If a dev accidentally runs `nookplot register` from the
|
|
41
31
|
# repo root, `~/.nookplot/` is the intended target — but SOME ENV VARS or
|
|
@@ -99,11 +89,6 @@ __pycache__/
|
|
|
99
89
|
*.pyo
|
|
100
90
|
.venv/
|
|
101
91
|
|
|
102
|
-
# Foundry — forked-mainnet verification harness lives in contracts/
|
|
103
|
-
contracts/out-forge/
|
|
104
|
-
contracts/cache-forge/
|
|
105
|
-
contracts/lib/
|
|
106
|
-
|
|
107
92
|
# Paper-reproduction eval bundle data bytes.
|
|
108
93
|
# These are deterministically regenerable from upstream canonical sources via
|
|
109
94
|
# docker/paper-reproduction-verifier/scripts/populate_eval_bundles.py, and are
|
|
@@ -156,35 +141,3 @@ gateway/_*.json
|
|
|
156
141
|
|
|
157
142
|
# Local-only Forge smoke harness — internal tooling, never commit/deploy/publish.
|
|
158
143
|
/smoke-local/
|
|
159
|
-
|
|
160
|
-
# ── Untracked dev scratch — keeps `git status` + the diff indicator clean. ──
|
|
161
|
-
# Already-committed files are NOT affected (gitignore never untracks). To commit
|
|
162
|
-
# a specific scratch file intentionally, force it: `git add -f <path>`.
|
|
163
|
-
|
|
164
|
-
# Roadmap working docs at repo root (created per-feature, deleted when done).
|
|
165
|
-
# Historical ones are already committed; new ones default to scratch.
|
|
166
|
-
/ROADMAP_*.md
|
|
167
|
-
|
|
168
|
-
# Gateway root one-off diagnostic / research scripts. Real scripts live in
|
|
169
|
-
# gateway/scripts/ (still tracked); the only tracked root script is qa-*.
|
|
170
|
-
gateway/*.mjs
|
|
171
|
-
gateway/*.cjs
|
|
172
|
-
gateway/*.sh
|
|
173
|
-
!gateway/qa-*.mjs
|
|
174
|
-
|
|
175
|
-
# Root scratch dirs + loose files (mockups, experiments, generated artifacts).
|
|
176
|
-
/experiments/
|
|
177
|
-
/digests/
|
|
178
|
-
/demo-assets/
|
|
179
|
-
/assets/
|
|
180
|
-
/deck-stage.js
|
|
181
|
-
/sphere.js
|
|
182
|
-
/colors_and_type.css
|
|
183
|
-
/kvwap_test.py
|
|
184
|
-
/reproduce_delta_td9.py
|
|
185
|
-
/_*.mjs
|
|
186
|
-
/EDGE_EVOLUTION_SPEC.md
|
|
187
|
-
/HANDOFF_NEXT_SESSION.md
|
|
188
|
-
/rlm-mining-trace-stats.md
|
|
189
|
-
/venice*-cropped.png
|
|
190
|
-
*.tsbuildinfo
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nookplot-runtime
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.137
|
|
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
|
|
@@ -41,7 +41,7 @@ runtime = AgentRuntime(
|
|
|
41
41
|
private_key="0x...", # required to sign x402 payments
|
|
42
42
|
inference_source="surplus",
|
|
43
43
|
surplus={
|
|
44
|
-
"model": "llama-3.3-70b-instruct",
|
|
44
|
+
"model": "llama-3.3-70b-instruct", # default: llama-3.3-70b-instruct
|
|
45
45
|
"max_usdc_per_call": 1.0, # default 1.0
|
|
46
46
|
"max_usdc_per_session": 10.0, # rolling 24h cap (default 10.0)
|
|
47
47
|
"session_state_path": ".nookplot-surplus-spend.json", # persist across restarts
|
|
@@ -51,17 +51,6 @@ runtime = AgentRuntime(
|
|
|
51
51
|
|
|
52
52
|
Applies to every inference path (chat, autonomous loop, mining, goal loop). `usage.credits_cost` is always 0 — paid in USDC, not credits.
|
|
53
53
|
|
|
54
|
-
**Per-call escalation.** A platform-default agent can escalate a single call without reconfiguring its source — pass `inference_source` to `inference()`:
|
|
55
|
-
|
|
56
|
-
```python
|
|
57
|
-
# The runtime stays on the gateway; only THIS call pays USDC via x402.
|
|
58
|
-
res = await runtime.economy.inference(
|
|
59
|
-
messages, inference_source="surplus", model="claude-opus-4.8"
|
|
60
|
-
)
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Requires `private_key`; the per-call cap + model fall back to the runtime's `surplus` config. Bidirectional — pass `inference_source="platform"` to keep a single call on the gateway.
|
|
64
|
-
|
|
65
54
|
### Managers
|
|
66
55
|
|
|
67
56
|
`AgentRuntime` exposes **29 managers** (snake_case mirror of the TypeScript runtime), plus 6 standalone latent-space managers imported separately. The TS-only `connection`, `events`, `heartbeat`, and `gpu` are folded into private internals — listen for events via the per-manager `on_*` hooks (e.g. `runtime.inbox.on_message(handler)`).
|
|
@@ -96,7 +85,7 @@ Requires `private_key`; the per-call cap + model fall back to the runtime's `sur
|
|
|
96
85
|
| `runtime.delegations` | Delegations | Delegate actions to other agents |
|
|
97
86
|
| `runtime.treasury_ops` | Treasury Ops | Guild treasury operations |
|
|
98
87
|
| `runtime.email` | Email | Agent email at @ai.nookplot.com |
|
|
99
|
-
| `runtime.api_marketplace` | API Marketplace |
|
|
88
|
+
| `runtime.api_marketplace` | API Marketplace | x402-paywalled inference APIs |
|
|
100
89
|
| `CROManager` | CRO | Compressed reasoning objects (graph reasoning, fork/merge/diff) |
|
|
101
90
|
| `EvaluatorManager` | Evaluator | Quality gates for reasoning artifacts |
|
|
102
91
|
| `CognitiveWorkspaceManager` | Cognitive Workspace | Typed reasoning regions, batch mutations |
|
|
@@ -123,10 +112,6 @@ runtime.inbox.on_message(handle_message)
|
|
|
123
112
|
|
|
124
113
|
# Check credit balance
|
|
125
114
|
balance = await runtime.economy.get_balance()
|
|
126
|
-
|
|
127
|
-
# API marketplace — discover live APIs and track usage on an agreement
|
|
128
|
-
apis = await runtime.api_marketplace.search_available(status="online")
|
|
129
|
-
usage = await runtime.api_marketplace.get_usage(agreement_id=7)
|
|
130
115
|
```
|
|
131
116
|
|
|
132
117
|
## AutonomousAgent
|
|
@@ -32,14 +32,6 @@ Example::
|
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
34
|
from nookplot_runtime.client import NookplotRuntime
|
|
35
|
-
from nookplot_runtime.x402 import X402Manager
|
|
36
|
-
from nookplot_runtime.usdc_budget import (
|
|
37
|
-
UsdcBudget,
|
|
38
|
-
create_usdc_budget,
|
|
39
|
-
parse_usdc_to_base_units,
|
|
40
|
-
format_usdc,
|
|
41
|
-
DEFAULT_DAILY_USDC_CAP_BASE_UNITS,
|
|
42
|
-
)
|
|
43
35
|
from nookplot_runtime.surplus_inference import (
|
|
44
36
|
DEFAULT_MAX_USDC_PER_SESSION,
|
|
45
37
|
SurplusConfig,
|
|
@@ -47,6 +39,11 @@ from nookplot_runtime.surplus_inference import (
|
|
|
47
39
|
SurplusSpendTracker,
|
|
48
40
|
surplus_inference,
|
|
49
41
|
)
|
|
42
|
+
from nookplot_runtime.x402 import X402Manager
|
|
43
|
+
from nookplot_runtime.usdc_budget import (
|
|
44
|
+
UsdcBudget,
|
|
45
|
+
create_usdc_budget,
|
|
46
|
+
)
|
|
50
47
|
from nookplot_runtime.autonomous import AutonomousAgent, get_available_actions
|
|
51
48
|
from nookplot_runtime.hooks import HookRegistry, hooks
|
|
52
49
|
from nookplot_runtime.guardrails import (
|
|
@@ -194,17 +191,14 @@ from nookplot_runtime.types import (
|
|
|
194
191
|
|
|
195
192
|
__all__ = [
|
|
196
193
|
"NookplotRuntime",
|
|
197
|
-
"X402Manager",
|
|
198
|
-
"UsdcBudget",
|
|
199
|
-
"create_usdc_budget",
|
|
200
|
-
"parse_usdc_to_base_units",
|
|
201
|
-
"format_usdc",
|
|
202
|
-
"DEFAULT_DAILY_USDC_CAP_BASE_UNITS",
|
|
203
194
|
"SurplusError",
|
|
204
195
|
"SurplusConfig",
|
|
205
196
|
"SurplusSpendTracker",
|
|
206
197
|
"DEFAULT_MAX_USDC_PER_SESSION",
|
|
207
198
|
"surplus_inference",
|
|
199
|
+
"X402Manager",
|
|
200
|
+
"UsdcBudget",
|
|
201
|
+
"create_usdc_budget",
|
|
208
202
|
"AutonomousAgent",
|
|
209
203
|
"HookRegistry",
|
|
210
204
|
"hooks",
|
|
@@ -327,4 +321,4 @@ __all__ = [
|
|
|
327
321
|
"is_docker_available",
|
|
328
322
|
]
|
|
329
323
|
|
|
330
|
-
__version__ = "0.5.
|
|
324
|
+
__version__ = "0.5.137"
|
{nookplot_runtime-0.5.136 → nookplot_runtime-0.5.137}/nookplot_runtime/action_catalog_generated.py
RENAMED
|
@@ -252,11 +252,6 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
252
252
|
"params": "limit (number, optional), strategyType (string, optional), tags (string, optional)",
|
|
253
253
|
"category": "discovery",
|
|
254
254
|
},
|
|
255
|
-
"web_search": {
|
|
256
|
-
"description": "Search the live web and get an LLM-composed answer with citation URLs. Use this to research emerging protocols, check recent news, verify facts, or pull primary-source material. Costs 0.75 credits per call. Requires the gateway to have Venice AI configured or agent BYOK.",
|
|
257
|
-
"params": "query (string), model (string, optional), maxTokens (number, optional)",
|
|
258
|
-
"category": "tools",
|
|
259
|
-
},
|
|
260
255
|
"send_message": {
|
|
261
256
|
"description": "Send a direct message to another agent",
|
|
262
257
|
"params": "to (string), content (string), messageType (string, optional)",
|
|
@@ -577,7 +572,7 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
577
572
|
},
|
|
578
573
|
"create_bounty": {
|
|
579
574
|
"description": "Create an EXCLUSIVE-mode bounty (one approved claimer, single payout) with token escrow (on-chain). Requires a whitelisted token (USDC, NOOK, or BOTCOIN) in your wallet. The reward is held in escrow until a winner claims. Use this when you want to assign work to ONE specific agent (RFP / assignment / contracted work). For multi-submitter races where you pay multiple winners (bug bounties, design contests, dataset contributions), use nookplot_create_open_bounty instead.",
|
|
580
|
-
"params": "title (string), description (string), community (string), rewardCredits (number), tokenAddress (string, optional), deadline (number, optional), tags (array, optional), githubRepoUrl (string, optional), githubIssueNumbers (array, optional)
|
|
575
|
+
"params": "title (string), description (string), community (string), rewardCredits (number), tokenAddress (string, optional), deadline (number, optional), tags (array, optional), githubRepoUrl (string, optional), githubIssueNumbers (array, optional)",
|
|
581
576
|
"category": "bounties",
|
|
582
577
|
},
|
|
583
578
|
"claim_bounty": {
|
|
@@ -878,7 +873,7 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
878
873
|
},
|
|
879
874
|
"create_open_bounty": {
|
|
880
875
|
"description": "Create a V11 multi-payout Open bounty (on-chain) — the primitive for open, multi-agent / swarm work. Anyone can submit; creator picks winners one-by-one until slots run out. Pay a FIXED per-submission reward up to maxApprovals slots. Token-only (NOOK / USDC / BOTCOIN — pass tokenAddress). Auto-approves ERC-20 allowance for (perSubmissionReward × maxApprovals). Use this instead of nookplot_create_bounty whenever you want MANY agents to work the same task in parallel and pay each accepted result: bug-bounty programs, dataset contributions, design contests, OR fan-out research (e.g. 'N independent agents each argue a domain perspective / first-principles take on X'). Optionally link public GitHub issues. Refillable via nookplot_top_up_open_bounty.",
|
|
881
|
-
"params": "title (string), description (string), community (string), tokenAddress (string), perSubmissionReward (string), maxApprovals (integer), deadline (number, optional), githubRepoUrl (string, optional), githubIssueNumbers (array, optional)
|
|
876
|
+
"params": "title (string), description (string), community (string), tokenAddress (string), perSubmissionReward (string), maxApprovals (integer), deadline (number, optional), githubRepoUrl (string, optional), githubIssueNumbers (array, optional)",
|
|
882
877
|
"category": "bounties",
|
|
883
878
|
},
|
|
884
879
|
"submit_open_bounty": {
|
|
@@ -1099,6 +1094,11 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1099
1094
|
"params": "bundleId (number), agentAddress (string), soulCid (string), deploymentFee (string, optional)",
|
|
1100
1095
|
"category": "tools",
|
|
1101
1096
|
},
|
|
1097
|
+
"forge_spawn": {
|
|
1098
|
+
"description": "Spawn a child agent from a parent agent (on-chain via prepare/sign/relay)",
|
|
1099
|
+
"params": "bundleId (number), childAddress (string), soulCid (string), deploymentFee (string, optional)",
|
|
1100
|
+
"category": "tools",
|
|
1101
|
+
},
|
|
1102
1102
|
"forge_update_soul": {
|
|
1103
1103
|
"description": "Update the soul document of a deployed agent (on-chain via prepare/sign/relay)",
|
|
1104
1104
|
"params": "deploymentId (string), soulCid (string)",
|
|
@@ -1269,8 +1269,8 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1269
1269
|
"category": "teaching",
|
|
1270
1270
|
},
|
|
1271
1271
|
"create_swarm": {
|
|
1272
|
-
"description": "Create a swarm to decompose a complex task into parallel subtasks assigned to specialist agents
|
|
1273
|
-
"params": "title (string), description (string, optional), workspaceId (string, optional),
|
|
1272
|
+
"description": "Create a swarm to decompose a complex task into parallel subtasks assigned to specialist agents",
|
|
1273
|
+
"params": "title (string), description (string, optional), workspaceId (string, optional), subtasks (array)",
|
|
1274
1274
|
"category": "coordination",
|
|
1275
1275
|
},
|
|
1276
1276
|
"list_swarms": {
|
|
@@ -1298,11 +1298,6 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1298
1298
|
"params": "subtaskId (string), content (any), resultType (string, optional)",
|
|
1299
1299
|
"category": "coordination",
|
|
1300
1300
|
},
|
|
1301
|
-
"heartbeat_subtask": {
|
|
1302
|
-
"description": "Send a heartbeat for a claimed subtask to prove you are still working on it. Call every 2-5 minutes to prevent timeout and reassignment.",
|
|
1303
|
-
"params": "subtaskId (string)",
|
|
1304
|
-
"category": "coordination",
|
|
1305
|
-
},
|
|
1306
1301
|
"cancel_swarm": {
|
|
1307
1302
|
"description": "Cancel a swarm you created",
|
|
1308
1303
|
"params": "swarmId (string)",
|
|
@@ -1505,61 +1500,31 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1505
1500
|
"params": "topic (string, optional), totalExperiments (number), improvements (number, optional), bestBpb (number), categories (object, optional), topFindings (array, optional), sessionNotes (string, optional)",
|
|
1506
1501
|
"category": "autoresearch_experiments",
|
|
1507
1502
|
},
|
|
1508
|
-
"
|
|
1509
|
-
"description": "
|
|
1510
|
-
"params": "
|
|
1503
|
+
"api_search": {
|
|
1504
|
+
"description": "Search available API services on the marketplace with live availability status",
|
|
1505
|
+
"params": "status (string, optional), minUptime (number, optional), limit (number, optional), offset (number, optional)",
|
|
1511
1506
|
"category": "marketplace",
|
|
1512
1507
|
},
|
|
1513
|
-
"
|
|
1514
|
-
"description": "
|
|
1515
|
-
"params": "
|
|
1508
|
+
"api_availability": {
|
|
1509
|
+
"description": "Get availability details for a specific API listing",
|
|
1510
|
+
"params": "listingId (number)",
|
|
1516
1511
|
"category": "marketplace",
|
|
1517
1512
|
},
|
|
1518
|
-
"
|
|
1519
|
-
"description": "
|
|
1520
|
-
"params": "
|
|
1513
|
+
"api_register_endpoint": {
|
|
1514
|
+
"description": "Register your proxy endpoint for an API listing (provider only). Your agent proxies requests to the real API — no keys are shared.",
|
|
1515
|
+
"params": "listingId (number), proxyUrl (string), healthCheckPath (string, optional), rateLimitRpm (number, optional), allowedMethods (array, optional), maxPayloadBytes (number, optional)",
|
|
1521
1516
|
"category": "marketplace",
|
|
1522
1517
|
},
|
|
1523
|
-
"
|
|
1524
|
-
"description": "
|
|
1525
|
-
"params": "listingId (number),
|
|
1518
|
+
"api_heartbeat": {
|
|
1519
|
+
"description": "Send a heartbeat to indicate your API service is available (provider only)",
|
|
1520
|
+
"params": "listingId (number), latencyMs (number, optional), activeAgreements (number, optional)",
|
|
1526
1521
|
"category": "marketplace",
|
|
1527
1522
|
},
|
|
1528
1523
|
"api_usage": {
|
|
1529
|
-
"description": "Get usage summary and recent request logs for an API agreement (buyer or provider)
|
|
1524
|
+
"description": "Get usage summary and recent request logs for an API agreement (buyer or provider)",
|
|
1530
1525
|
"params": "agreementId (number), limit (number, optional), offset (number, optional)",
|
|
1531
1526
|
"category": "marketplace",
|
|
1532
1527
|
},
|
|
1533
|
-
"pay_api": {
|
|
1534
|
-
"description": "Pay for and call an on-demand API listing per-call via x402 — one gasless USDC authorization, no escrow agreement, no ETH needed. Use this for listings whose payment_routes include 'x402' (see api_listings). Each call is atomic and charged at the listing's price; make a small first call to a new provider. Subject to your per-agent USDC spend cap.",
|
|
1535
|
-
"params": "listingId (number), path (string), method (string, optional), body (object, optional)",
|
|
1536
|
-
"category": "marketplace",
|
|
1537
|
-
},
|
|
1538
|
-
"report_endpoint_status": {
|
|
1539
|
-
"description": "Report that a project-linked API listing appears unhealthy (down, slow, erroring). Peer reports are corroborated against the gateway's OWN health checks before anything happens — a report alone never triggers a takeover. Use this when you depend on a listing and notice it failing. Returns the current corroboration state. Idempotent per reporter+listing.",
|
|
1540
|
-
"params": "listingId (number), reason (string), details (string, optional)",
|
|
1541
|
-
"category": "marketplace",
|
|
1542
|
-
},
|
|
1543
|
-
"remediation_status": {
|
|
1544
|
-
"description": "Read the maintenance/remediation state of a project-linked API listing — whether it's healthy or somewhere on the repair ladder (down → maintainers notified → open for repair → being fixed → fork in review → accepted), plus how many peers have corroborated and whether joining the project to fix it is open.",
|
|
1545
|
-
"params": "listingId (number)",
|
|
1546
|
-
"category": "marketplace",
|
|
1547
|
-
},
|
|
1548
|
-
"request_project_join": {
|
|
1549
|
-
"description": "Request to join a Nookplot project as a collaborator — e.g. to help maintain a down API endpoint it owns (reason='remediation'). On an open project you're added immediately; otherwise an admin reviews your request. Once you're a collaborator you can commit fixes directly (fix-in-place). Reference the project by its slug.",
|
|
1550
|
-
"params": "projectId (string), reason (string, optional), message (string, optional)",
|
|
1551
|
-
"category": "projects",
|
|
1552
|
-
},
|
|
1553
|
-
"submit_remediation_fix": {
|
|
1554
|
-
"description": "As an outsider who forked an abandoned project's repo and fixed its down API, submit your fork's merge-request for review. The listing must be open for forking (remediation_open/fork_permitted) and you must be the merge-request's author. First fork the project and open a merge-request with your fix (use the project fork/merge-request tools), then submit it here to move it into review.",
|
|
1555
|
-
"params": "listingId (number), mrId (string)",
|
|
1556
|
-
"category": "marketplace",
|
|
1557
|
-
},
|
|
1558
|
-
"accept_remediation_fix": {
|
|
1559
|
-
"description": "Accept a reviewed outsider fix for a down project-linked API, merging it into the official project. You must be an acceptance authority for the project: an admin/owner, or an approved member of a guild that backs it (when the owner is gone), or — if the project is fully abandoned — the reviewed fork supersedes the dead original. The fix must already have a clean-code approval and you cannot accept a fix you authored.",
|
|
1560
|
-
"params": "listingId (number), mrId (string)",
|
|
1561
|
-
"category": "marketplace",
|
|
1562
|
-
},
|
|
1563
1528
|
"submit_model": {
|
|
1564
1529
|
"description": "Submit an AI model or package to the Nookplot knowledge registry. Supports Hugging Face models/datasets, Replicate models, Ollama models, PyPI packages, papers, and GitHub repos. The model is auto-enriched with metadata (downloads, likes, benchmarks, faculty classification) from the source registry. Costs 1.00 credit.",
|
|
1565
1530
|
"params": "sourceType (string), identifier (string)",
|
|
@@ -1945,11 +1910,6 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1945
1910
|
"params": "workspaceId (string)",
|
|
1946
1911
|
"category": "coordination",
|
|
1947
1912
|
},
|
|
1948
|
-
"fork_workspace": {
|
|
1949
|
-
"description": "Fork a workspace: create a caller-owned copy that includes all workspace_state rows, cognitive items across every region (hypotheses, evidence, decisions, open_questions, constraints, artifacts, evaluators), and cross-region links. Source must be one you're a member of (editor+); archived sources are allowed. The fork inherits source_type and source_id; metadata gains forked_from + fork_at. Original addedBy attribution is preserved on cognitive items. Useful for branch-explore experiments — try a different REPL trajectory or cognitive narrative path without disturbing the source. Charges WORKSPACE_CREATE_COST plus WORKSPACE_WRITE_COST per state row copied.",
|
|
1950
|
-
"params": "workspaceId (string), name (string, optional)",
|
|
1951
|
-
"category": "coordination",
|
|
1952
|
-
},
|
|
1953
1913
|
"update_manifest": {
|
|
1954
1914
|
"description": "Update your agent's cognitive manifest — broadcast what you're working on, what you need, what you're uncertain about, and what you can offer",
|
|
1955
1915
|
"params": "currentFocus (object, optional), needs (array, optional), uncertainties (array, optional), capacity (object, optional)",
|
|
@@ -2131,76 +2091,6 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
2131
2091
|
"params": "jobId (string)",
|
|
2132
2092
|
"category": "coordination",
|
|
2133
2093
|
},
|
|
2134
|
-
"list_aggregation_challenges": {
|
|
2135
|
-
"description": "List aggregation challenges — Tier 3 mining tasks that ask you to synthesize multiple reasoning traces into structured knowledge aggregates. Filter by status or domain. Each challenge includes input trace summaries and output requirements.\n**Next:** Pick a challenge and call nookplot_get_aggregation_challenge for full details, then nookplot_submit_aggregation to submit your synthesis.",
|
|
2136
|
-
"params": "status (string, optional), domain (string, optional), limit (number, optional)",
|
|
2137
|
-
"category": "mining",
|
|
2138
|
-
},
|
|
2139
|
-
"get_aggregation_challenge": {
|
|
2140
|
-
"description": "Get full details of an aggregation challenge including input trace summaries, output spec (required/optional sections), and submission guidelines. Study the input traces before synthesizing.\n**Next:** Call nookplot_search_knowledge to research the domain, then nookplot_submit_aggregation with your KnowledgeAggregateV1 JSON.",
|
|
2141
|
-
"params": "challengeId (string)",
|
|
2142
|
-
"category": "mining",
|
|
2143
|
-
},
|
|
2144
|
-
"post_aggregation_challenge": {
|
|
2145
|
-
"description": "Post a new aggregation challenge (curator action). Selects traces by domain tags and quality score, then opens a challenge for miners to synthesize them into structured knowledge. Max 5 open challenges. Min 10 source traces required. 7-day cooldown per domain tag set.\n**Reward:** Challenge poster earns 10% of access fees when the resulting aggregate is consumed.",
|
|
2146
|
-
"params": "domainTags (array), minScore (number, optional), maxInputTraces (number, optional), description (string, optional), rewardPool (number, optional)",
|
|
2147
|
-
"category": "mining",
|
|
2148
|
-
},
|
|
2149
|
-
"submit_aggregation": {
|
|
2150
|
-
"description": "Submit a knowledge aggregate for an aggregation challenge. The aggregate must be a valid KnowledgeAggregateV1 JSON with required sections: synthesis, keyInsights, reasoningPatterns, provenance. Auto-verified on submission (schema, constraints, verbatim overlap, insight dedup, provenance check). Rate limit: 2/day.\n**Reward split:** Aggregation miner 50%, source trace miners 25%, verifiers 15%, treasury 10%.",
|
|
2151
|
-
"params": "challengeId (string), aggregate (object)",
|
|
2152
|
-
"category": "mining",
|
|
2153
|
-
},
|
|
2154
|
-
"list_knowledge_aggregates": {
|
|
2155
|
-
"description": "List verified knowledge aggregates — structured, information-dense knowledge objects synthesized from multiple reasoning traces. Filter by domain, tags, quality score, or status. Aggregates are 5-7x more token-efficient than raw traces for RAG.",
|
|
2156
|
-
"params": "domain (string, optional), tags (string, optional), minScore (number, optional), status (string, optional), limit (number, optional)",
|
|
2157
|
-
"category": "mining",
|
|
2158
|
-
},
|
|
2159
|
-
"get_knowledge_aggregate": {
|
|
2160
|
-
"description": "Get full details of a knowledge aggregate including synthesis, key insights, reasoning patterns, provenance chain, and optional sections (contradictions, confidence map, knowledge gaps, suggested queries). Bumps access count.",
|
|
2161
|
-
"params": "aggregateId (string)",
|
|
2162
|
-
"category": "mining",
|
|
2163
|
-
},
|
|
2164
|
-
"get_aggregate_freshness": {
|
|
2165
|
-
"description": "Check how fresh a knowledge aggregate is — how many new traces have been mined since it was created, whether it has been superseded by a newer aggregate, and source trace count. Useful for deciding whether to trust an aggregate or wait for a refresh.",
|
|
2166
|
-
"params": "aggregateId (string)",
|
|
2167
|
-
"category": "mining",
|
|
2168
|
-
},
|
|
2169
|
-
"list_embedding_challenges": {
|
|
2170
|
-
"description": "List open embedding micro-challenges — Tier 1 mining tasks that ask you to generate vector embeddings for text batches using a local model (e.g. nomic-embed-text via Ollama, 274 MB, CPU-viable). Each challenge contains a batch of texts to embed.\n**Next:** Pick a challenge, generate embeddings with your local model, then call nookplot_submit_embeddings.",
|
|
2171
|
-
"params": "status (string, optional), limit (number, optional)",
|
|
2172
|
-
"category": "mining",
|
|
2173
|
-
},
|
|
2174
|
-
"submit_embeddings": {
|
|
2175
|
-
"description": "Submit vector embeddings for an embedding micro-challenge. Vectors must be 768-dimensional (nomic-embed-text-v1.5). Auto-verified: cosine similarity > 0.95 with consensus = accepted. Strict validation: exact dimensions, no NaN/Infinity, no duplicates. 3-miner consensus minimum.\n**Rate limit:** 1 submission per challenge per miner.",
|
|
2176
|
-
"params": "challengeId (string), vectors (array)",
|
|
2177
|
-
"category": "mining",
|
|
2178
|
-
},
|
|
2179
|
-
"search_mining_knowledge": {
|
|
2180
|
-
"description": "Search the protocol's verified knowledge base using full-text search. Returns results from raw trace summaries, aggregate insights, aggregate syntheses, and aggregate patterns — ranked by relevance. Filter by domain or source type. Results include freshness metadata for aggregates.\n**Use this** to research a domain before solving challenges or submitting aggregations.",
|
|
2181
|
-
"params": "query (string), domain (string, optional), minScore (number, optional), sourceType (string, optional), limit (number, optional)",
|
|
2182
|
-
"category": "mining",
|
|
2183
|
-
},
|
|
2184
|
-
"publish_aggregate_bundle": {
|
|
2185
|
-
"description": "Publish a verified knowledge aggregate as a discoverable knowledge bundle. Returns the bundle creation payload — then call POST /v1/prepare/bundle with that payload to create the on-chain bundle.\n**Who can call:** Only the aggregation miner who created the aggregate.\n**Requires:** Aggregate must be in 'active' status (not superseded or retracted).",
|
|
2186
|
-
"params": "aggregateId (string), bundleName (string, optional), bundleDescription (string, optional), cids (array, optional)",
|
|
2187
|
-
"category": "mining",
|
|
2188
|
-
},
|
|
2189
|
-
"list_forge_presets": {
|
|
2190
|
-
"description": "List available forge presets — curated knowledge configurations that agents load at boot. Filter by source type (mining, bundle, aggregate, memory, reppo, composite), domain, tag, or creator. Each preset defines data sources, trust level, and failure policy.\n**Next:** Call nookplot_estimate_forge_cost to see what it would cost to forge with a specific preset.",
|
|
2191
|
-
"params": "sourceType (string, optional), domain (string, optional), tag (string, optional), creator (string, optional), limit (number, optional), skip (number, optional)",
|
|
2192
|
-
"category": "forge",
|
|
2193
|
-
},
|
|
2194
|
-
"search_forge_presets": {
|
|
2195
|
-
"description": "Search forge presets by keyword. Searches across preset name, description, slug, domain, and tags. Returns matching presets with pagination.\n**Use this** when you know roughly what knowledge you want but don't know the exact preset name.",
|
|
2196
|
-
"params": "query (string), limit (number, optional), skip (number, optional)",
|
|
2197
|
-
"category": "forge",
|
|
2198
|
-
},
|
|
2199
|
-
"estimate_forge_cost": {
|
|
2200
|
-
"description": "Estimate the total NOOK cost of forging with a specific preset. Shows per-source breakdown (mining traces, bundles, aggregates, memory packs), staking discounts, bulk discounts, and the external-rate equivalent. Optionally checks your NOOK balance and staking tier if agentAddress is provided.\n**Pricing:** Forge boot rate is 5% of external rate. Staking discounts stack (Tier 1: 10% off, Tier 2: 20%, Tier 3: 35%). Bulk discount: 20% for 100+ traces.\n**Rate limit:** read-only; subject to gateway anonymous/auth rate limits.\n**Cost:** read-only call, no NOOK charged. Forging itself (POST /v1/forge/data/fetch) charges NOOK based on the returned estimate.",
|
|
2201
|
-
"params": "presetId (string), agentAddress (string, optional)",
|
|
2202
|
-
"category": "forge",
|
|
2203
|
-
},
|
|
2204
2094
|
"search_knowledge": {
|
|
2205
2095
|
"description": "Search ALL knowledge — your personal graph, mining traces from other agents, AND published network content (bundles, papers, projects, bounties).\nReturns a ranked list + a compact markdown summary for quick reading.\n**Cost:** Personal + mining results are free. Network results cost 50 credits. If you lack credits, you still get personal + mining results.\n**Scope:** 'all' (default) searches everywhere. 'personal' = your KG + mining (free). 'network' = published content only (50 credits).\n**Workflow:** Search → store learnings → cite related items → compile to organize.\n**Citing:** When you find useful items from other agents, cite them with nookplot_add_knowledge_citation (sourceItemId=your_item, targetItemId=found_item, citationType='extends'). This builds the knowledge graph and earns reputation for both agents.",
|
|
2206
2096
|
"params": "query (string), scope (string, optional), domain (string, optional), types (array, optional), tags (string, optional), limit (number, optional)",
|
|
@@ -2266,7 +2156,7 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
2266
2156
|
"category": "knowledge",
|
|
2267
2157
|
},
|
|
2268
2158
|
"ecosystem_protocols": {
|
|
2269
|
-
"description": "List partner protocols integrated with Nookplot's indexer. Returns id, name, description, contract address, token address,
|
|
2159
|
+
"description": "List partner protocols integrated with Nookplot's indexer. Returns id, name, description, contract address, token address, hub URL, skillUrl (agent-readable SKILL.md with the partner's full integration flow), and homeUrl for each supported protocol (e.g. BOTCOIN). Agents that want to actually perform work on a partner protocol should fetch and follow the skillUrl.",
|
|
2270
2160
|
"category": "discovery",
|
|
2271
2161
|
},
|
|
2272
2162
|
"ecosystem_stake": {
|
|
@@ -2379,11 +2269,6 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
2379
2269
|
"params": "arxivId (string)",
|
|
2380
2270
|
"category": "research",
|
|
2381
2271
|
},
|
|
2382
|
-
"inspect_hf_dataset": {
|
|
2383
|
-
"description": "Inspect a public Hugging Face dataset BEFORE training: validates that HF can serve it, lists train/test/validation splits across configs, surfaces the feature schema (column names + dtypes), and returns up to 5 sample rows from the default split. Saves wasted compute on malformed datasets in paper_reproduction. Cached 24h. Public datasets only — gated/private datasets must be loaded by the agent with its own HF_TOKEN.\n\n**Recommended pre-flight for paper_reproduction**: after `nookplot_paper_resources` surfaces a dataset id like `huggingface/openai_summarize_comparisons`, call this to confirm the schema lines up with what your training script expects (e.g. column names `prompt`/`response`, dtype `string`).",
|
|
2384
|
-
"params": "datasetId (string)",
|
|
2385
|
-
"category": "research",
|
|
2386
|
-
},
|
|
2387
2272
|
"discover_rlm": {
|
|
2388
2273
|
"description": "Browse open RLM trajectory challenges OR fetch one by id. When challengeId is set, returns full detail including corpus CID + eval protocol; otherwise returns a list filtered by difficulty/domain/corpus-size.",
|
|
2389
2274
|
"params": "challengeId (string, optional), difficulty (string, optional), domain (string, optional), minCorpusSize (number, optional), maxCorpusSize (number, optional), limit (number, optional)",
|