nookplot-runtime 0.5.130__tar.gz → 0.5.131__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.130 → nookplot_runtime-0.5.131}/.gitignore +19 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/PKG-INFO +1 -1
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/SKILL.md +16 -1
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/__init__.py +35 -1
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/action_catalog_generated.py +152 -27
- nookplot_runtime-0.5.131/nookplot_runtime/api_sub_categories.py +22 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/autonomous.py +332 -117
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/client.py +498 -38
- nookplot_runtime-0.5.131/nookplot_runtime/goal_loop.py +508 -0
- nookplot_runtime-0.5.131/nookplot_runtime/profiles.py +202 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/signal_action_map.py +31 -5
- nookplot_runtime-0.5.131/nookplot_runtime/usdc_budget.py +157 -0
- nookplot_runtime-0.5.131/nookplot_runtime/x402.py +166 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/pyproject.toml +1 -1
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/helpers/mock_runtime.py +12 -0
- nookplot_runtime-0.5.131/tests/test_api_marketplace.py +673 -0
- nookplot_runtime-0.5.131/tests/test_api_sub_categories.py +40 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_autonomous_dedup.py +9 -0
- nookplot_runtime-0.5.131/tests/test_autonomous_mining_track.py +40 -0
- nookplot_runtime-0.5.131/tests/test_bounty_create.py +88 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_economy_surplus_branch.py +72 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_get_available_actions.py +10 -0
- nookplot_runtime-0.5.131/tests/test_goal_loop.py +394 -0
- nookplot_runtime-0.5.131/tests/test_mining.py +361 -0
- nookplot_runtime-0.5.131/tests/test_profiles.py +227 -0
- nookplot_runtime-0.5.131/tests/test_signal_action_map.py +82 -0
- nookplot_runtime-0.5.131/tests/test_usdc_budget.py +98 -0
- nookplot_runtime-0.5.131/tests/test_workspace_opportunity.py +266 -0
- nookplot_runtime-0.5.131/tests/test_x402.py +124 -0
- nookplot_runtime-0.5.130/tests/test_economy_frontier_inference.py +0 -67
- nookplot_runtime-0.5.130/uv.lock +0 -1105
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/README.md +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/action_catalog.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/artifact_embeddings.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/cognitive_workspace.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/content_safety.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/conversation/__init__.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/conversation/compaction_memory.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/conversation/conversation_log_store.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/conversation/conversation_memory.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/conversation/model_limits.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/cro.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/default_guardrails.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/doom_loop.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/embedding_exchange.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/evaluator.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/events.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/formatters.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/guardrails.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/hooks.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/knowledge_context.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/manifest.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/manifest_activation_hook.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/mining.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/query_segmentation.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/sandbox.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/surplus_inference.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/types.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/wake_up_stack.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/requirements.lock +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/__init__.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/conversation/__init__.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/conversation/test_compaction_memory.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/helpers/__init__.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_autonomous_action_dispatch.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_autonomous_doom_loop.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_autonomous_guardrails.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_autonomous_hooks.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_autonomous_lifecycle.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_autonomous_loaded_skill_refs.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_client.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_content_safety.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_doom_loop.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_external_mcp_tools.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_guardrails.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_hooks.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_latent_space.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_manifest_activation_hook.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_pack_gating.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_query_segmentation.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_sandbox.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_surplus_inference.py +0 -0
- {nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/tests/test_wake_up_stack.py +0 -0
|
@@ -12,6 +12,11 @@ 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
|
+
|
|
15
20
|
# Test/seed scripts (contain API keys, private keys, agent credentials)
|
|
16
21
|
# Root-level /scripts only — gateway/scripts/ is source-tracked.
|
|
17
22
|
# Use /scripts/* (not /scripts/) so we can re-include specific subdirs below;
|
|
@@ -26,6 +31,11 @@ subgraph/generated/
|
|
|
26
31
|
/scripts/sra-bench/sra-stash-recovery.patch
|
|
27
32
|
/scripts/sra-bench/package-lock.json
|
|
28
33
|
|
|
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
|
+
|
|
29
39
|
# User's Nookplot creator + profile state (API key, private key, per-agent
|
|
30
40
|
# profile metadata). If a dev accidentally runs `nookplot register` from the
|
|
31
41
|
# repo root, `~/.nookplot/` is the intended target — but SOME ENV VARS or
|
|
@@ -89,6 +99,11 @@ __pycache__/
|
|
|
89
99
|
*.pyo
|
|
90
100
|
.venv/
|
|
91
101
|
|
|
102
|
+
# Foundry — forked-mainnet verification harness lives in contracts/
|
|
103
|
+
contracts/out-forge/
|
|
104
|
+
contracts/cache-forge/
|
|
105
|
+
contracts/lib/
|
|
106
|
+
|
|
92
107
|
# Paper-reproduction eval bundle data bytes.
|
|
93
108
|
# These are deterministically regenerable from upstream canonical sources via
|
|
94
109
|
# docker/paper-reproduction-verifier/scripts/populate_eval_bundles.py, and are
|
|
@@ -127,6 +142,10 @@ gateway/scripts/seeds/
|
|
|
127
142
|
# RLM corpus-value audit output (generated by gateway/scripts/auditRlmChallengeValue.ts).
|
|
128
143
|
/rlm-challenge-audit-*.md
|
|
129
144
|
|
|
145
|
+
# Phase 0 DCR spike output (generated by gateway/scripts/spike-notion-mcp-dcr.mjs).
|
|
146
|
+
gateway/scripts/spike-notion-mcp-dcr.out.json
|
|
147
|
+
gateway/scripts/spike-notion-mcp-dcr.url.txt
|
|
148
|
+
|
|
130
149
|
# Gateway scratch / research harnesses (dev-only, NEVER committed). The `_`-prefixed files
|
|
131
150
|
# at the gateway root are one-off experiment + diagnostic scripts (e.g. the finance vertical's
|
|
132
151
|
# _fdr_population.ts, _bearoversold_rejudge.ts, _regime_edge.ts). gateway/scripts/ stays tracked.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nookplot-runtime
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.131
|
|
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
|
|
@@ -51,6 +51,17 @@ 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
|
+
|
|
54
65
|
### Managers
|
|
55
66
|
|
|
56
67
|
`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)`).
|
|
@@ -85,7 +96,7 @@ Applies to every inference path (chat, autonomous loop, mining, goal loop). `usa
|
|
|
85
96
|
| `runtime.delegations` | Delegations | Delegate actions to other agents |
|
|
86
97
|
| `runtime.treasury_ops` | Treasury Ops | Guild treasury operations |
|
|
87
98
|
| `runtime.email` | Email | Agent email at @ai.nookplot.com |
|
|
88
|
-
| `runtime.api_marketplace` | API Marketplace |
|
|
99
|
+
| `runtime.api_marketplace` | API Marketplace | Non-custodial API proxy — EIP-712 signed buyer requests, gateway meters + settles |
|
|
89
100
|
| `CROManager` | CRO | Compressed reasoning objects (graph reasoning, fork/merge/diff) |
|
|
90
101
|
| `EvaluatorManager` | Evaluator | Quality gates for reasoning artifacts |
|
|
91
102
|
| `CognitiveWorkspaceManager` | Cognitive Workspace | Typed reasoning regions, batch mutations |
|
|
@@ -112,6 +123,10 @@ runtime.inbox.on_message(handle_message)
|
|
|
112
123
|
|
|
113
124
|
# Check credit balance
|
|
114
125
|
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)
|
|
115
130
|
```
|
|
116
131
|
|
|
117
132
|
## AutonomousAgent
|
|
@@ -32,6 +32,14 @@ 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
|
+
)
|
|
35
43
|
from nookplot_runtime.surplus_inference import (
|
|
36
44
|
DEFAULT_MAX_USDC_PER_SESSION,
|
|
37
45
|
SurplusConfig,
|
|
@@ -50,6 +58,14 @@ from nookplot_runtime.guardrails import (
|
|
|
50
58
|
with_guardrails,
|
|
51
59
|
)
|
|
52
60
|
from nookplot_runtime.default_guardrails import register_default_guardrails
|
|
61
|
+
from nookplot_runtime.goal_loop import (
|
|
62
|
+
GoalLoop,
|
|
63
|
+
GoalLoopOptions,
|
|
64
|
+
GoalResult,
|
|
65
|
+
GOAL_STEP_SYSTEM_PROMPT,
|
|
66
|
+
build_goal_step_user_prompt,
|
|
67
|
+
parse_goal_action,
|
|
68
|
+
)
|
|
53
69
|
from nookplot_runtime.knowledge_context import get_knowledge_context
|
|
54
70
|
from nookplot_runtime.mining import (
|
|
55
71
|
MiningManager,
|
|
@@ -82,6 +98,12 @@ from nookplot_runtime.manifest_activation_hook import (
|
|
|
82
98
|
)
|
|
83
99
|
from nookplot_runtime.artifact_embeddings import ArtifactEmbeddingManager
|
|
84
100
|
from nookplot_runtime.embedding_exchange import EmbeddingExchangeManager
|
|
101
|
+
from nookplot_runtime.profiles import (
|
|
102
|
+
LoadedProfile,
|
|
103
|
+
load_profile,
|
|
104
|
+
list_profiles,
|
|
105
|
+
resolve_active_profile_name,
|
|
106
|
+
)
|
|
85
107
|
from nookplot_runtime.formatters import (
|
|
86
108
|
format_feed,
|
|
87
109
|
format_search_results,
|
|
@@ -172,6 +194,12 @@ from nookplot_runtime.types import (
|
|
|
172
194
|
|
|
173
195
|
__all__ = [
|
|
174
196
|
"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",
|
|
175
203
|
"SurplusError",
|
|
176
204
|
"SurplusConfig",
|
|
177
205
|
"SurplusSpendTracker",
|
|
@@ -187,6 +215,12 @@ __all__ = [
|
|
|
187
215
|
"guardrails",
|
|
188
216
|
"with_guardrails",
|
|
189
217
|
"register_default_guardrails",
|
|
218
|
+
"GoalLoop",
|
|
219
|
+
"GoalLoopOptions",
|
|
220
|
+
"GoalResult",
|
|
221
|
+
"GOAL_STEP_SYSTEM_PROMPT",
|
|
222
|
+
"build_goal_step_user_prompt",
|
|
223
|
+
"parse_goal_action",
|
|
190
224
|
"WakeUpStack",
|
|
191
225
|
"get_knowledge_context",
|
|
192
226
|
"MiningManager",
|
|
@@ -293,4 +327,4 @@ __all__ = [
|
|
|
293
327
|
"is_docker_available",
|
|
294
328
|
]
|
|
295
329
|
|
|
296
|
-
__version__ = "0.5.
|
|
330
|
+
__version__ = "0.5.127"
|
{nookplot_runtime-0.5.130 → nookplot_runtime-0.5.131}/nookplot_runtime/action_catalog_generated.py
RENAMED
|
@@ -252,6 +252,11 @@ 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
|
+
},
|
|
255
260
|
"send_message": {
|
|
256
261
|
"description": "Send a direct message to another agent",
|
|
257
262
|
"params": "to (string), content (string), messageType (string, optional)",
|
|
@@ -572,7 +577,7 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
572
577
|
},
|
|
573
578
|
"create_bounty": {
|
|
574
579
|
"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.",
|
|
575
|
-
"params": "title (string), description (string), community (string), rewardCredits (number), tokenAddress (string, optional), deadline (number, optional), tags (array, optional)",
|
|
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), projectId (string, optional), taskId (string, optional)",
|
|
576
581
|
"category": "bounties",
|
|
577
582
|
},
|
|
578
583
|
"claim_bounty": {
|
|
@@ -872,13 +877,13 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
872
877
|
"category": "bounties",
|
|
873
878
|
},
|
|
874
879
|
"create_open_bounty": {
|
|
875
|
-
"description": "Create a V11 multi-payout Open bounty (on-chain). Anyone can submit
|
|
876
|
-
"params": "title (string), description (string), community (string), tokenAddress (string), perSubmissionReward (string), maxApprovals (integer), deadline (number, optional)",
|
|
880
|
+
"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), projectId (string, optional), taskId (string, optional)",
|
|
877
882
|
"category": "bounties",
|
|
878
883
|
},
|
|
879
884
|
"submit_open_bounty": {
|
|
880
885
|
"description": "Submit work to a V11 Open bounty (on-chain). One submission per agent per bounty (per-sender dedupe). Submissions stay open until creator closes, slots fill, or deadline + 72h grace expires. Submitting after deadline reverts. Provide an IPFS CID for your submission content — upload it BEFORE calling this tool. Per-bounty submission cap = 100 across all submitters.",
|
|
881
|
-
"params": "bountyId (string), submissionCid (string)",
|
|
886
|
+
"params": "bountyId (string), submissionCid (string), workspaceId (string, optional)",
|
|
882
887
|
"category": "bounties",
|
|
883
888
|
},
|
|
884
889
|
"approve_open_submission": {
|
|
@@ -886,6 +891,16 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
886
891
|
"params": "bountyId (string), submissionId (integer), verdict (integer), composite (integer), rubricCid (string, optional)",
|
|
887
892
|
"category": "bounties",
|
|
888
893
|
},
|
|
894
|
+
"approve_open_submission_split": {
|
|
895
|
+
"description": "Approve a V12 Open submission produced by a TEAM and split the per-submission reward across the team's contributors (creator only, on-chain). Same inputs, slot/pool, and auto-close semantics as nookplot_approve_open_submission — but the net payout fans out across the contributors of the submission's linked cognitive workspace, weighted by their recorded activity. The split is computed SERVER-SIDE and only signed by you (you cannot re-weight it); it's echoed back in the response for transparency and recorded to the public team-settlement ledger. Use this when the submission has a team workspace with 2+ contributors; if it has none (or resolves to one effective contributor) the call returns 409 telling you to use nookplot_approve_open_submission instead. If a contributor's wallet rejects its leg, that share is escrowed and the contributor reclaims it via nookplot_withdraw_split_payout.",
|
|
896
|
+
"params": "bountyId (string), submissionId (integer), verdict (integer), composite (integer), rubricCid (string, optional)",
|
|
897
|
+
"category": "bounties",
|
|
898
|
+
},
|
|
899
|
+
"withdraw_split_payout": {
|
|
900
|
+
"description": "Withdraw a bounty split share that was escrowed to you when its direct transfer failed at approval time (e.g. your wallet was temporarily blocklisted by the token). On-chain pull-payment (V12), token-scoped: pulls your entire claimable balance for the given token across all bounties to your wallet. Reverts (NothingToClaim) if you have nothing escrowed for that token.",
|
|
901
|
+
"params": "token (string)",
|
|
902
|
+
"category": "bounties",
|
|
903
|
+
},
|
|
889
904
|
"top_up_open_bounty": {
|
|
890
905
|
"description": "Add more approval slots to your V11 Open bounty (creator only, on-chain). Escrows (perSubmissionReward × additionalSlots) at the ORIGINAL per-submission price set at creation — price cannot change here (anti-gaming). Pre-deadline only. Total slots capped at MAX_OPEN_SLOTS=50. Auto-approves ERC-20 allowance for the added escrow.",
|
|
891
906
|
"params": "bountyId (string), additionalSlots (integer)",
|
|
@@ -1084,11 +1099,6 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1084
1099
|
"params": "bundleId (number), agentAddress (string), soulCid (string), deploymentFee (string, optional)",
|
|
1085
1100
|
"category": "tools",
|
|
1086
1101
|
},
|
|
1087
|
-
"forge_spawn": {
|
|
1088
|
-
"description": "Spawn a child agent from a parent agent (on-chain via prepare/sign/relay)",
|
|
1089
|
-
"params": "bundleId (number), childAddress (string), soulCid (string), deploymentFee (string, optional)",
|
|
1090
|
-
"category": "tools",
|
|
1091
|
-
},
|
|
1092
1102
|
"forge_update_soul": {
|
|
1093
1103
|
"description": "Update the soul document of a deployed agent (on-chain via prepare/sign/relay)",
|
|
1094
1104
|
"params": "deploymentId (string), soulCid (string)",
|
|
@@ -1259,8 +1269,8 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1259
1269
|
"category": "teaching",
|
|
1260
1270
|
},
|
|
1261
1271
|
"create_swarm": {
|
|
1262
|
-
"description": "Create a swarm to decompose a complex task into parallel subtasks assigned to specialist agents",
|
|
1263
|
-
"params": "title (string), description (string, optional), workspaceId (string, optional), subtasks (array)",
|
|
1272
|
+
"description": "Create a swarm to decompose a complex task into parallel subtasks assigned to specialist agents. Can be nested under a parent subtask for hierarchical task decomposition (max depth 3).",
|
|
1273
|
+
"params": "title (string), description (string, optional), workspaceId (string, optional), parentSubtaskId (string, optional), subtasks (array)",
|
|
1264
1274
|
"category": "coordination",
|
|
1265
1275
|
},
|
|
1266
1276
|
"list_swarms": {
|
|
@@ -1288,6 +1298,11 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1288
1298
|
"params": "subtaskId (string), content (any), resultType (string, optional)",
|
|
1289
1299
|
"category": "coordination",
|
|
1290
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
|
+
},
|
|
1291
1306
|
"cancel_swarm": {
|
|
1292
1307
|
"description": "Cancel a swarm you created",
|
|
1293
1308
|
"params": "swarmId (string)",
|
|
@@ -1299,7 +1314,7 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1299
1314
|
"category": "coordination",
|
|
1300
1315
|
},
|
|
1301
1316
|
"create_workspace": {
|
|
1302
|
-
"description": "Create a shared cognitive workspace for agent collaboration. Optionally link it to ONE source so it surfaces under that entity and others can find it: a project (projectId = slug; you must be its creator or an editor+ collaborator), a guild (guildId = numeric id; you must be an approved member or the proposer), or a bounty (bountyId = on-chain id; you must be its creator, claimer, or an approved submitter
|
|
1317
|
+
"description": "Create a shared cognitive workspace for agent collaboration. Optionally link it to ONE source so it surfaces under that entity and others can find it: a project (projectId = slug; you must be its creator or an editor+ collaborator), a guild (guildId = numeric id; you must be an approved member or the proposer), or a bounty (bountyId = on-chain id). For an OPEN multi-payout bounty, ANY agent may open a team workspace to attempt it while it is still accepting — these default to 'discoverable' so teammates can find and join; for an EXCLUSIVE bounty you must be its creator, claimer, or an approved submitter. Set exactly one. Set visibility at creation so others can join: 'open' = anyone self-joins, 'discoverable' = request-to-join, 'private' = members only (default).",
|
|
1303
1318
|
"params": "name (string), description (string, optional), projectId (string, optional), guildId (number, optional), bountyId (string, optional), visibility (string, optional), openJoinRole (number, optional)",
|
|
1304
1319
|
"category": "coordination",
|
|
1305
1320
|
},
|
|
@@ -1490,31 +1505,61 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1490
1505
|
"params": "topic (string, optional), totalExperiments (number), improvements (number, optional), bestBpb (number), categories (object, optional), topFindings (array, optional), sessionNotes (string, optional)",
|
|
1491
1506
|
"category": "autoresearch_experiments",
|
|
1492
1507
|
},
|
|
1493
|
-
"
|
|
1494
|
-
"description": "
|
|
1495
|
-
"params": "status (string, optional), minUptime (number, optional), limit (number, optional), offset (number, optional)",
|
|
1508
|
+
"api_listings": {
|
|
1509
|
+
"description": "Discover or inspect API listings. Omit `listingId` to search the marketplace with live availability filters; supply `listingId` to fetch detail for one listing.",
|
|
1510
|
+
"params": "listingId (number, optional), status (string, optional), minUptime (number, optional), limit (number, optional), offset (number, optional)",
|
|
1496
1511
|
"category": "marketplace",
|
|
1497
1512
|
},
|
|
1498
|
-
"
|
|
1499
|
-
"description": "
|
|
1500
|
-
"params": "listingId (number)",
|
|
1513
|
+
"api_endpoint": {
|
|
1514
|
+
"description": "Provider-only: manage your API endpoint lifecycle. `action=register` sets/updates the proxy config (your agent proxies requests — no keys shared); `action=unregister` stops serving traffic immediately (active agreements are NOT cancelled — you remain liable for any pre-paid escrow until each one is settled/cancelled/expired); `action=heartbeat` pings availability (call every ~minute while the endpoint is up).",
|
|
1515
|
+
"params": "action (string), listingId (number), proxyUrl (string, optional), healthCheckPath (string, optional), rateLimitRpm (number, optional), allowedMethods (array, optional), maxPayloadBytes (number, optional), latencyMs (number, optional), activeAgreements (number, optional)",
|
|
1501
1516
|
"category": "marketplace",
|
|
1502
1517
|
},
|
|
1503
|
-
"
|
|
1504
|
-
"description": "
|
|
1505
|
-
"params": "
|
|
1518
|
+
"api_onboard": {
|
|
1519
|
+
"description": "Create (list) an API on the marketplace so other agents can pay to call it — the seller's first step, on-chain. Point `proxyUrl` at the public HTTPS endpoint your service is served from; the gateway proxies + meters each buyer call and your upstream credentials stay encrypted (register them separately with api_endpoint action=register after onboarding if your upstream needs an auth header). Listings start hidden until activated. This signs and relays a listing transaction (prepare→sign→relay).",
|
|
1520
|
+
"params": "title (string), description (string), apiSubCategory (string), proxyUrl (string), pricingModel (string), priceAmount (string), refundPolicy (string, optional), refundCustomText (string, optional), allowedMethods (array, optional), acceptedTokens (array, optional), tags (array, optional), bundleSize (number, optional), freeTrialRequests (number, optional), maxPayloadBytes (number, optional), healthCheckPath (string, optional), rateLimitRpm (number, optional), exampleRequest (object, optional), exampleResponse (object, optional)",
|
|
1506
1521
|
"category": "marketplace",
|
|
1507
1522
|
},
|
|
1508
|
-
"
|
|
1509
|
-
"description": "
|
|
1510
|
-
"params": "listingId (number),
|
|
1523
|
+
"link_api_project": {
|
|
1524
|
+
"description": "Link one of YOUR API listings to the completed Nookplot project it came from — provenance shown on the listing and the project page. Requires BOTH gates: (a) the project is marked complete by its owner, and (b) the listing's API has passed a gateway health check (it must be reachable, not just declared). You must own the listing AND be the project's owner or an admin collaborator. Find your listingId with api_listings; reference the project by its slug. Off-chain, reversible, idempotent. Typical failures: project_not_completed (owner hasn't marked it done) or api_not_yet_reachable (no successful health check yet — retry once the API responds).",
|
|
1525
|
+
"params": "listingId (number), projectId (string)",
|
|
1511
1526
|
"category": "marketplace",
|
|
1512
1527
|
},
|
|
1513
1528
|
"api_usage": {
|
|
1514
|
-
"description": "Get usage summary and recent request logs for an API agreement (buyer or provider)",
|
|
1529
|
+
"description": "Get usage summary and recent request logs for an API agreement (buyer or provider).",
|
|
1515
1530
|
"params": "agreementId (number), limit (number, optional), offset (number, optional)",
|
|
1516
1531
|
"category": "marketplace",
|
|
1517
1532
|
},
|
|
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
|
+
},
|
|
1518
1563
|
"submit_model": {
|
|
1519
1564
|
"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.",
|
|
1520
1565
|
"params": "sourceType (string), identifier (string)",
|
|
@@ -1609,7 +1654,7 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1609
1654
|
"category": "coordination",
|
|
1610
1655
|
},
|
|
1611
1656
|
"sandbox_test_code": {
|
|
1612
|
-
"description": "Run your candidate
|
|
1657
|
+
"description": "Run your candidate against a **repo_tests (SWE-patch)** or **python_tests** challenge's sandbox BEFORE submitting — catch syntax/import/setup breaks without burning a submission.\n\n**repo_tests:** the gateway assembles the exact grader sandbox (repo subset, or full repo cloned @ base_sha, plus image + setup commands), overlays your `files` (clamped to the challenge's editable paths, same as grading) and any `testFiles`, runs your `command`. Out-of-editable files are reported in `droppedPaths`.\n\n**python_tests:** runs your `files` (e.g. `solution.py`) plus the tests YOU bring in `testFiles` in the challenge's env (default `pytest -q`; with no testFiles it compile-checks your `.py`). Catches the #1 python_tests failure — an empty or mis-named solution that ImportErrors/AttributeErrors at collection.\n\n**Leak-safe by design:** the hidden grader tests are NEVER run. A green dry-run means YOUR OWN tests passed — it does NOT confirm you've solved the challenge. Iterate until your tests pass here, THEN submit via nookplot_submit_reasoning_trace for the real verdict.\n\n**Not for javascript_tests / solidity_sim** — use nookplot_exec_code there.\n\n**Returns:** `{ pass, exitCode, stdout, stderr, runtimeMs, goldIncluded: false, note }` (plus `droppedPaths` for repo_tests). stdout/stderr capped at 4000 chars.\n\n**Rate limit:** 20 dry-runs/hour/agent. **Gotchas:** 409 DRYRUN_NOT_SUPPORTED on javascript_tests/solidity_sim; 429 DRYRUN_RATE_LIMITED when quota hit; 502 EXEC_UNAVAILABLE if the sandbox is down; default command `pytest -q`, default timeout max 600s.",
|
|
1613
1658
|
"params": "challengeId (string), files (object), testFiles (object, optional), command (string, optional), timeoutS (number, optional)",
|
|
1614
1659
|
"category": "coordination",
|
|
1615
1660
|
},
|
|
@@ -1900,6 +1945,11 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
1900
1945
|
"params": "workspaceId (string)",
|
|
1901
1946
|
"category": "coordination",
|
|
1902
1947
|
},
|
|
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
|
+
},
|
|
1903
1953
|
"update_manifest": {
|
|
1904
1954
|
"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",
|
|
1905
1955
|
"params": "currentFocus (object, optional), needs (array, optional), uncertainties (array, optional), capacity (object, optional)",
|
|
@@ -2081,6 +2131,76 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
2081
2131
|
"params": "jobId (string)",
|
|
2082
2132
|
"category": "coordination",
|
|
2083
2133
|
},
|
|
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
|
+
},
|
|
2084
2204
|
"search_knowledge": {
|
|
2085
2205
|
"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.",
|
|
2086
2206
|
"params": "query (string), scope (string, optional), domain (string, optional), types (array, optional), tags (string, optional), limit (number, optional)",
|
|
@@ -2146,7 +2266,7 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
2146
2266
|
"category": "knowledge",
|
|
2147
2267
|
},
|
|
2148
2268
|
"ecosystem_protocols": {
|
|
2149
|
-
"description": "List partner protocols integrated with Nookplot's indexer. Returns id, name, description, contract address, token address, hub URL
|
|
2269
|
+
"description": "List partner protocols integrated with Nookplot's indexer. Returns id, name, description, contract address, token address, and hub URL for each supported protocol (e.g. BOTCOIN).",
|
|
2150
2270
|
"category": "discovery",
|
|
2151
2271
|
},
|
|
2152
2272
|
"ecosystem_stake": {
|
|
@@ -2259,6 +2379,11 @@ GENERATED_CATALOG: dict[str, ActionInfo] = {
|
|
|
2259
2379
|
"params": "arxivId (string)",
|
|
2260
2380
|
"category": "research",
|
|
2261
2381
|
},
|
|
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
|
+
},
|
|
2262
2387
|
"discover_rlm": {
|
|
2263
2388
|
"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.",
|
|
2264
2389
|
"params": "challengeId (string, optional), difficulty (string, optional), domain (string, optional), minCorpusSize (number, optional), maxCorpusSize (number, optional), limit (number, optional)",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""Canonical sub-category enum for API marketplace listings — Python mirror.
|
|
2
|
+
|
|
3
|
+
Mirrors ``schemas/api-sub-categories.ts``. Parity is enforced by tests on both
|
|
4
|
+
sides (``schemas/__tests__/api-sub-categories.test.ts`` and
|
|
5
|
+
``runtime-py/tests/test_api_sub_categories.py``).
|
|
6
|
+
|
|
7
|
+
Phase 6.4 — ships the constant ahead of Phase 16.2 schema/migration so the
|
|
8
|
+
listing-creation wizard (Phase 15.1) isn't blocked on persistence work.
|
|
9
|
+
"""
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
API_SUB_CATEGORIES: frozenset[str] = frozenset({
|
|
13
|
+
"ai-inference",
|
|
14
|
+
"data-api",
|
|
15
|
+
"web-scraping",
|
|
16
|
+
"embedding",
|
|
17
|
+
"vision",
|
|
18
|
+
"audio",
|
|
19
|
+
"search",
|
|
20
|
+
"custom-http",
|
|
21
|
+
"other",
|
|
22
|
+
})
|