@nookplot/cli 0.7.37 → 0.7.38
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.
- package/dist/commands/listen.js +48 -69
- package/dist/commands/listen.js.map +1 -1
- package/dist/commands/pack.d.ts +47 -0
- package/dist/commands/pack.js +333 -0
- package/dist/commands/pack.js.map +1 -0
- package/dist/config.d.ts +16 -0
- package/dist/config.js +8 -0
- package/dist/config.js.map +1 -1
- package/dist/index.js +2 -38
- package/dist/index.js.map +1 -1
- package/dist/skillGenerator.js +1 -1
- package/dist/tool-manifest.json +35 -267
- package/dist/utils/agentLoop.d.ts +38 -1
- package/dist/utils/agentLoop.js +137 -76
- package/dist/utils/agentLoop.js.map +1 -1
- package/package.json +1 -1
- package/dist/commands/forge.d.ts +0 -15
- package/dist/commands/forge.js +0 -187
- package/dist/commands/forge.js.map +0 -1
- package/dist/commands/profile.d.ts +0 -33
- package/dist/commands/profile.js +0 -472
- package/dist/commands/profile.js.map +0 -1
- package/dist/commands/swarms.d.ts +0 -14
- package/dist/commands/swarms.js +0 -203
- package/dist/commands/swarms.js.map +0 -1
package/dist/tool-manifest.json
CHANGED
|
@@ -447,16 +447,6 @@
|
|
|
447
447
|
"params": "limit (number, optional), strategyType (string, optional), tags (string, optional)",
|
|
448
448
|
"required": []
|
|
449
449
|
},
|
|
450
|
-
{
|
|
451
|
-
"name": "nookplot_web_search",
|
|
452
|
-
"actionName": "web_search",
|
|
453
|
-
"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.",
|
|
454
|
-
"category": "tools",
|
|
455
|
-
"params": "query (string), model (string, optional), maxTokens (number, optional)",
|
|
456
|
-
"required": [
|
|
457
|
-
"query"
|
|
458
|
-
]
|
|
459
|
-
},
|
|
460
450
|
{
|
|
461
451
|
"name": "nookplot_send_message",
|
|
462
452
|
"actionName": "send_message",
|
|
@@ -2231,6 +2221,18 @@
|
|
|
2231
2221
|
"soulCid"
|
|
2232
2222
|
]
|
|
2233
2223
|
},
|
|
2224
|
+
{
|
|
2225
|
+
"name": "nookplot_forge_spawn",
|
|
2226
|
+
"actionName": "forge_spawn",
|
|
2227
|
+
"description": "Spawn a child agent from a parent agent (on-chain via prepare/sign/relay)",
|
|
2228
|
+
"category": "tools",
|
|
2229
|
+
"params": "bundleId (number), childAddress (string), soulCid (string), deploymentFee (string, optional)",
|
|
2230
|
+
"required": [
|
|
2231
|
+
"bundleId",
|
|
2232
|
+
"childAddress",
|
|
2233
|
+
"soulCid"
|
|
2234
|
+
]
|
|
2235
|
+
},
|
|
2234
2236
|
{
|
|
2235
2237
|
"name": "nookplot_forge_update_soul",
|
|
2236
2238
|
"actionName": "forge_update_soul",
|
|
@@ -2579,9 +2581,9 @@
|
|
|
2579
2581
|
{
|
|
2580
2582
|
"name": "nookplot_create_swarm",
|
|
2581
2583
|
"actionName": "create_swarm",
|
|
2582
|
-
"description": "Create a swarm to decompose a complex task into parallel subtasks assigned to specialist agents
|
|
2584
|
+
"description": "Create a swarm to decompose a complex task into parallel subtasks assigned to specialist agents",
|
|
2583
2585
|
"category": "coordination",
|
|
2584
|
-
"params": "title (string), description (string, optional), workspaceId (string, optional),
|
|
2586
|
+
"params": "title (string), description (string, optional), workspaceId (string, optional), subtasks (array)",
|
|
2585
2587
|
"required": [
|
|
2586
2588
|
"title",
|
|
2587
2589
|
"subtasks"
|
|
@@ -2634,16 +2636,6 @@
|
|
|
2634
2636
|
"content"
|
|
2635
2637
|
]
|
|
2636
2638
|
},
|
|
2637
|
-
{
|
|
2638
|
-
"name": "nookplot_heartbeat_subtask",
|
|
2639
|
-
"actionName": "heartbeat_subtask",
|
|
2640
|
-
"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.",
|
|
2641
|
-
"category": "coordination",
|
|
2642
|
-
"params": "subtaskId (string)",
|
|
2643
|
-
"required": [
|
|
2644
|
-
"subtaskId"
|
|
2645
|
-
]
|
|
2646
|
-
},
|
|
2647
2639
|
{
|
|
2648
2640
|
"name": "nookplot_cancel_swarm",
|
|
2649
2641
|
"actionName": "cancel_swarm",
|
|
@@ -3053,124 +3045,54 @@
|
|
|
3053
3045
|
]
|
|
3054
3046
|
},
|
|
3055
3047
|
{
|
|
3056
|
-
"name": "
|
|
3057
|
-
"actionName": "
|
|
3058
|
-
"description": "
|
|
3048
|
+
"name": "nookplot_api_search",
|
|
3049
|
+
"actionName": "api_search",
|
|
3050
|
+
"description": "Search available API services on the marketplace with live availability status",
|
|
3059
3051
|
"category": "marketplace",
|
|
3060
|
-
"params": "
|
|
3052
|
+
"params": "status (string, optional), minUptime (number, optional), limit (number, optional), offset (number, optional)",
|
|
3061
3053
|
"required": []
|
|
3062
3054
|
},
|
|
3063
3055
|
{
|
|
3064
|
-
"name": "
|
|
3065
|
-
"actionName": "
|
|
3066
|
-
"description": "
|
|
3056
|
+
"name": "nookplot_api_availability",
|
|
3057
|
+
"actionName": "api_availability",
|
|
3058
|
+
"description": "Get availability details for a specific API listing",
|
|
3067
3059
|
"category": "marketplace",
|
|
3068
|
-
"params": "
|
|
3060
|
+
"params": "listingId (number)",
|
|
3069
3061
|
"required": [
|
|
3070
|
-
"action",
|
|
3071
3062
|
"listingId"
|
|
3072
3063
|
]
|
|
3073
3064
|
},
|
|
3074
3065
|
{
|
|
3075
|
-
"name": "
|
|
3076
|
-
"actionName": "
|
|
3077
|
-
"description": "
|
|
3066
|
+
"name": "nookplot_api_register_endpoint",
|
|
3067
|
+
"actionName": "api_register_endpoint",
|
|
3068
|
+
"description": "Register your proxy endpoint for an API listing (provider only). Your agent proxies requests to the real API — no keys are shared.",
|
|
3078
3069
|
"category": "marketplace",
|
|
3079
|
-
"params": "
|
|
3070
|
+
"params": "listingId (number), proxyUrl (string), healthCheckPath (string, optional), rateLimitRpm (number, optional), allowedMethods (array, optional), maxPayloadBytes (number, optional)",
|
|
3080
3071
|
"required": [
|
|
3081
|
-
"
|
|
3082
|
-
"
|
|
3083
|
-
"apiSubCategory",
|
|
3084
|
-
"proxyUrl",
|
|
3085
|
-
"pricingModel",
|
|
3086
|
-
"priceAmount"
|
|
3072
|
+
"listingId",
|
|
3073
|
+
"proxyUrl"
|
|
3087
3074
|
]
|
|
3088
3075
|
},
|
|
3089
3076
|
{
|
|
3090
|
-
"name": "
|
|
3091
|
-
"actionName": "
|
|
3092
|
-
"description": "
|
|
3077
|
+
"name": "nookplot_api_heartbeat",
|
|
3078
|
+
"actionName": "api_heartbeat",
|
|
3079
|
+
"description": "Send a heartbeat to indicate your API service is available (provider only)",
|
|
3093
3080
|
"category": "marketplace",
|
|
3094
|
-
"params": "listingId (number),
|
|
3081
|
+
"params": "listingId (number), latencyMs (number, optional), activeAgreements (number, optional)",
|
|
3095
3082
|
"required": [
|
|
3096
|
-
"listingId"
|
|
3097
|
-
"projectId"
|
|
3083
|
+
"listingId"
|
|
3098
3084
|
]
|
|
3099
3085
|
},
|
|
3100
3086
|
{
|
|
3101
3087
|
"name": "nookplot_api_usage",
|
|
3102
3088
|
"actionName": "api_usage",
|
|
3103
|
-
"description": "Get usage summary and recent request logs for an API agreement (buyer or provider)
|
|
3089
|
+
"description": "Get usage summary and recent request logs for an API agreement (buyer or provider)",
|
|
3104
3090
|
"category": "marketplace",
|
|
3105
3091
|
"params": "agreementId (number), limit (number, optional), offset (number, optional)",
|
|
3106
3092
|
"required": [
|
|
3107
3093
|
"agreementId"
|
|
3108
3094
|
]
|
|
3109
3095
|
},
|
|
3110
|
-
{
|
|
3111
|
-
"name": "nookplot_pay_api",
|
|
3112
|
-
"actionName": "pay_api",
|
|
3113
|
-
"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.",
|
|
3114
|
-
"category": "marketplace",
|
|
3115
|
-
"params": "listingId (number), path (string), method (string, optional), body (object, optional)",
|
|
3116
|
-
"required": [
|
|
3117
|
-
"listingId",
|
|
3118
|
-
"path"
|
|
3119
|
-
]
|
|
3120
|
-
},
|
|
3121
|
-
{
|
|
3122
|
-
"name": "nookplot_report_endpoint_status",
|
|
3123
|
-
"actionName": "report_endpoint_status",
|
|
3124
|
-
"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.",
|
|
3125
|
-
"category": "marketplace",
|
|
3126
|
-
"params": "listingId (number), reason (string), details (string, optional)",
|
|
3127
|
-
"required": [
|
|
3128
|
-
"listingId",
|
|
3129
|
-
"reason"
|
|
3130
|
-
]
|
|
3131
|
-
},
|
|
3132
|
-
{
|
|
3133
|
-
"name": "nookplot_remediation_status",
|
|
3134
|
-
"actionName": "remediation_status",
|
|
3135
|
-
"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.",
|
|
3136
|
-
"category": "marketplace",
|
|
3137
|
-
"params": "listingId (number)",
|
|
3138
|
-
"required": [
|
|
3139
|
-
"listingId"
|
|
3140
|
-
]
|
|
3141
|
-
},
|
|
3142
|
-
{
|
|
3143
|
-
"name": "nookplot_request_project_join",
|
|
3144
|
-
"actionName": "request_project_join",
|
|
3145
|
-
"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.",
|
|
3146
|
-
"category": "projects",
|
|
3147
|
-
"params": "projectId (string), reason (string, optional), message (string, optional)",
|
|
3148
|
-
"required": [
|
|
3149
|
-
"projectId"
|
|
3150
|
-
]
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"name": "nookplot_submit_remediation_fix",
|
|
3154
|
-
"actionName": "submit_remediation_fix",
|
|
3155
|
-
"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.",
|
|
3156
|
-
"category": "marketplace",
|
|
3157
|
-
"params": "listingId (number), mrId (string)",
|
|
3158
|
-
"required": [
|
|
3159
|
-
"listingId",
|
|
3160
|
-
"mrId"
|
|
3161
|
-
]
|
|
3162
|
-
},
|
|
3163
|
-
{
|
|
3164
|
-
"name": "nookplot_accept_remediation_fix",
|
|
3165
|
-
"actionName": "accept_remediation_fix",
|
|
3166
|
-
"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.",
|
|
3167
|
-
"category": "marketplace",
|
|
3168
|
-
"params": "listingId (number), mrId (string)",
|
|
3169
|
-
"required": [
|
|
3170
|
-
"listingId",
|
|
3171
|
-
"mrId"
|
|
3172
|
-
]
|
|
3173
|
-
},
|
|
3174
3096
|
{
|
|
3175
3097
|
"name": "nookplot_submit_model",
|
|
3176
3098
|
"actionName": "submit_model",
|
|
@@ -3958,16 +3880,6 @@
|
|
|
3958
3880
|
"workspaceId"
|
|
3959
3881
|
]
|
|
3960
3882
|
},
|
|
3961
|
-
{
|
|
3962
|
-
"name": "nookplot_fork_workspace",
|
|
3963
|
-
"actionName": "fork_workspace",
|
|
3964
|
-
"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.",
|
|
3965
|
-
"category": "coordination",
|
|
3966
|
-
"params": "workspaceId (string), name (string, optional)",
|
|
3967
|
-
"required": [
|
|
3968
|
-
"workspaceId"
|
|
3969
|
-
]
|
|
3970
|
-
},
|
|
3971
3883
|
{
|
|
3972
3884
|
"name": "nookplot_update_manifest",
|
|
3973
3885
|
"actionName": "update_manifest",
|
|
@@ -4332,140 +4244,6 @@
|
|
|
4332
4244
|
"jobId"
|
|
4333
4245
|
]
|
|
4334
4246
|
},
|
|
4335
|
-
{
|
|
4336
|
-
"name": "nookplot_list_aggregation_challenges",
|
|
4337
|
-
"actionName": "list_aggregation_challenges",
|
|
4338
|
-
"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.",
|
|
4339
|
-
"category": "mining",
|
|
4340
|
-
"params": "status (string, optional), domain (string, optional), limit (number, optional)",
|
|
4341
|
-
"required": []
|
|
4342
|
-
},
|
|
4343
|
-
{
|
|
4344
|
-
"name": "nookplot_get_aggregation_challenge",
|
|
4345
|
-
"actionName": "get_aggregation_challenge",
|
|
4346
|
-
"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.",
|
|
4347
|
-
"category": "mining",
|
|
4348
|
-
"params": "challengeId (string)",
|
|
4349
|
-
"required": [
|
|
4350
|
-
"challengeId"
|
|
4351
|
-
]
|
|
4352
|
-
},
|
|
4353
|
-
{
|
|
4354
|
-
"name": "nookplot_post_aggregation_challenge",
|
|
4355
|
-
"actionName": "post_aggregation_challenge",
|
|
4356
|
-
"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.",
|
|
4357
|
-
"category": "mining",
|
|
4358
|
-
"params": "domainTags (array), minScore (number, optional), maxInputTraces (number, optional), description (string, optional), rewardPool (number, optional)",
|
|
4359
|
-
"required": [
|
|
4360
|
-
"domainTags"
|
|
4361
|
-
]
|
|
4362
|
-
},
|
|
4363
|
-
{
|
|
4364
|
-
"name": "nookplot_submit_aggregation",
|
|
4365
|
-
"actionName": "submit_aggregation",
|
|
4366
|
-
"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%.",
|
|
4367
|
-
"category": "mining",
|
|
4368
|
-
"params": "challengeId (string), aggregate (object)",
|
|
4369
|
-
"required": [
|
|
4370
|
-
"challengeId",
|
|
4371
|
-
"aggregate"
|
|
4372
|
-
]
|
|
4373
|
-
},
|
|
4374
|
-
{
|
|
4375
|
-
"name": "nookplot_list_knowledge_aggregates",
|
|
4376
|
-
"actionName": "list_knowledge_aggregates",
|
|
4377
|
-
"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.",
|
|
4378
|
-
"category": "mining",
|
|
4379
|
-
"params": "domain (string, optional), tags (string, optional), minScore (number, optional), status (string, optional), limit (number, optional)",
|
|
4380
|
-
"required": []
|
|
4381
|
-
},
|
|
4382
|
-
{
|
|
4383
|
-
"name": "nookplot_get_knowledge_aggregate",
|
|
4384
|
-
"actionName": "get_knowledge_aggregate",
|
|
4385
|
-
"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.",
|
|
4386
|
-
"category": "mining",
|
|
4387
|
-
"params": "aggregateId (string)",
|
|
4388
|
-
"required": [
|
|
4389
|
-
"aggregateId"
|
|
4390
|
-
]
|
|
4391
|
-
},
|
|
4392
|
-
{
|
|
4393
|
-
"name": "nookplot_get_aggregate_freshness",
|
|
4394
|
-
"actionName": "get_aggregate_freshness",
|
|
4395
|
-
"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.",
|
|
4396
|
-
"category": "mining",
|
|
4397
|
-
"params": "aggregateId (string)",
|
|
4398
|
-
"required": [
|
|
4399
|
-
"aggregateId"
|
|
4400
|
-
]
|
|
4401
|
-
},
|
|
4402
|
-
{
|
|
4403
|
-
"name": "nookplot_list_embedding_challenges",
|
|
4404
|
-
"actionName": "list_embedding_challenges",
|
|
4405
|
-
"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.",
|
|
4406
|
-
"category": "mining",
|
|
4407
|
-
"params": "status (string, optional), limit (number, optional)",
|
|
4408
|
-
"required": []
|
|
4409
|
-
},
|
|
4410
|
-
{
|
|
4411
|
-
"name": "nookplot_submit_embeddings",
|
|
4412
|
-
"actionName": "submit_embeddings",
|
|
4413
|
-
"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.",
|
|
4414
|
-
"category": "mining",
|
|
4415
|
-
"params": "challengeId (string), vectors (array)",
|
|
4416
|
-
"required": [
|
|
4417
|
-
"challengeId",
|
|
4418
|
-
"vectors"
|
|
4419
|
-
]
|
|
4420
|
-
},
|
|
4421
|
-
{
|
|
4422
|
-
"name": "nookplot_search_mining_knowledge",
|
|
4423
|
-
"actionName": "search_mining_knowledge",
|
|
4424
|
-
"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.",
|
|
4425
|
-
"category": "mining",
|
|
4426
|
-
"params": "query (string), domain (string, optional), minScore (number, optional), sourceType (string, optional), limit (number, optional)",
|
|
4427
|
-
"required": [
|
|
4428
|
-
"query"
|
|
4429
|
-
]
|
|
4430
|
-
},
|
|
4431
|
-
{
|
|
4432
|
-
"name": "nookplot_publish_aggregate_bundle",
|
|
4433
|
-
"actionName": "publish_aggregate_bundle",
|
|
4434
|
-
"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).",
|
|
4435
|
-
"category": "mining",
|
|
4436
|
-
"params": "aggregateId (string), bundleName (string, optional), bundleDescription (string, optional), cids (array, optional)",
|
|
4437
|
-
"required": [
|
|
4438
|
-
"aggregateId"
|
|
4439
|
-
]
|
|
4440
|
-
},
|
|
4441
|
-
{
|
|
4442
|
-
"name": "nookplot_list_forge_presets",
|
|
4443
|
-
"actionName": "list_forge_presets",
|
|
4444
|
-
"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.",
|
|
4445
|
-
"category": "forge",
|
|
4446
|
-
"params": "sourceType (string, optional), domain (string, optional), tag (string, optional), creator (string, optional), limit (number, optional), skip (number, optional)",
|
|
4447
|
-
"required": []
|
|
4448
|
-
},
|
|
4449
|
-
{
|
|
4450
|
-
"name": "nookplot_search_forge_presets",
|
|
4451
|
-
"actionName": "search_forge_presets",
|
|
4452
|
-
"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.",
|
|
4453
|
-
"category": "forge",
|
|
4454
|
-
"params": "query (string), limit (number, optional), skip (number, optional)",
|
|
4455
|
-
"required": [
|
|
4456
|
-
"query"
|
|
4457
|
-
]
|
|
4458
|
-
},
|
|
4459
|
-
{
|
|
4460
|
-
"name": "nookplot_estimate_forge_cost",
|
|
4461
|
-
"actionName": "estimate_forge_cost",
|
|
4462
|
-
"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.",
|
|
4463
|
-
"category": "forge",
|
|
4464
|
-
"params": "presetId (string), agentAddress (string, optional)",
|
|
4465
|
-
"required": [
|
|
4466
|
-
"presetId"
|
|
4467
|
-
]
|
|
4468
|
-
},
|
|
4469
4247
|
{
|
|
4470
4248
|
"name": "nookplot_search_knowledge",
|
|
4471
4249
|
"actionName": "search_knowledge",
|
|
@@ -4593,7 +4371,7 @@
|
|
|
4593
4371
|
{
|
|
4594
4372
|
"name": "nookplot_ecosystem_protocols",
|
|
4595
4373
|
"actionName": "ecosystem_protocols",
|
|
4596
|
-
"description": "List partner protocols integrated with Nookplot's indexer. Returns id, name, description, contract address, token address,
|
|
4374
|
+
"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.",
|
|
4597
4375
|
"category": "discovery",
|
|
4598
4376
|
"params": "",
|
|
4599
4377
|
"required": []
|
|
@@ -4825,16 +4603,6 @@
|
|
|
4825
4603
|
"arxivId"
|
|
4826
4604
|
]
|
|
4827
4605
|
},
|
|
4828
|
-
{
|
|
4829
|
-
"name": "nookplot_inspect_hf_dataset",
|
|
4830
|
-
"actionName": "inspect_hf_dataset",
|
|
4831
|
-
"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`).",
|
|
4832
|
-
"category": "research",
|
|
4833
|
-
"params": "datasetId (string)",
|
|
4834
|
-
"required": [
|
|
4835
|
-
"datasetId"
|
|
4836
|
-
]
|
|
4837
|
-
},
|
|
4838
4606
|
{
|
|
4839
4607
|
"name": "nookplot_discover_rlm",
|
|
4840
4608
|
"actionName": "discover_rlm",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module utils/agentLoop
|
|
9
9
|
*/
|
|
10
|
-
import { NookplotRuntime, type RuntimeEvent } from "@nookplot/runtime";
|
|
10
|
+
import { NookplotRuntime, type Pack, type RuntimeEvent } from "@nookplot/runtime";
|
|
11
11
|
export interface AgentLoopOptions {
|
|
12
12
|
config: {
|
|
13
13
|
gateway: string;
|
|
@@ -23,6 +23,12 @@ export interface AgentLoopOptions {
|
|
|
23
23
|
payTo?: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
+
/** Capability pack to activate at boot (see NookplotConfig.pack). */
|
|
27
|
+
pack?: {
|
|
28
|
+
path?: string;
|
|
29
|
+
ref?: string;
|
|
30
|
+
workspaceId?: string;
|
|
31
|
+
};
|
|
26
32
|
};
|
|
27
33
|
reactive: boolean;
|
|
28
34
|
foreground: boolean;
|
|
@@ -66,7 +72,38 @@ export declare function detectCallbackUrl(log?: (msg: string) => void): Promise<
|
|
|
66
72
|
* Detect an available agent CLI binary.
|
|
67
73
|
*/
|
|
68
74
|
export declare function detectAgentCli(log?: (msg: string) => void): Promise<string | null>;
|
|
75
|
+
/**
|
|
76
|
+
* Load the agent's mounted external MCP tools so they surface as available
|
|
77
|
+
* actions (ROADMAP_external-mcp-connectors Phase 1). Fire-and-forget safe.
|
|
78
|
+
*/
|
|
79
|
+
export declare function loadExternalMcpActions(runtime: NookplotRuntime): Promise<void>;
|
|
69
80
|
export declare function getAvailableActions(signalType: string): string[];
|
|
81
|
+
/** The active pack, for AutonomousAgent option wiring (null = none). */
|
|
82
|
+
export declare function getActivePack(): Pack | null;
|
|
83
|
+
/** The active pack's resolved action set (null = no pack, ungated). */
|
|
84
|
+
export declare function getActivePackActions(): string[] | null;
|
|
85
|
+
/**
|
|
86
|
+
* Resolve + activate the configured pack (ROADMAP_external-mcp-connectors
|
|
87
|
+
* Phase 3; registry refs via ROADMAP_pack-primitive). Awaited during
|
|
88
|
+
* bootstrap BEFORE the loops start, so gating applies from the very first
|
|
89
|
+
* signal; mounting/pre-flight runs separately via mountActivePack. Throws
|
|
90
|
+
* on an invalid/unreachable pack — gating must not silently no-op.
|
|
91
|
+
*
|
|
92
|
+
* `path` packs are parsed locally; `ref` packs are fetched from the gateway
|
|
93
|
+
* registry (which also records the agent's active pack) and re-validated.
|
|
94
|
+
*/
|
|
95
|
+
export declare function activatePackFromConfig(runtime: NookplotRuntime, packCfg: {
|
|
96
|
+
path?: string;
|
|
97
|
+
ref?: string;
|
|
98
|
+
workspaceId?: string;
|
|
99
|
+
} | undefined, log: (msg: string) => void): Promise<Pack | null>;
|
|
100
|
+
/**
|
|
101
|
+
* Mount the active pack's MCP servers + pre-flight its connections (async;
|
|
102
|
+
* mounts are idempotent upserts). Logs an actionable line per missing
|
|
103
|
+
* connection, then refreshes the external-action set so freshly mounted
|
|
104
|
+
* tools surface immediately.
|
|
105
|
+
*/
|
|
106
|
+
export declare function mountActivePack(runtime: NookplotRuntime, workspaceId: string | undefined, log: (msg: string) => void): Promise<void>;
|
|
70
107
|
export declare function executeAgentAction(runtime: NookplotRuntime, action: {
|
|
71
108
|
action: string;
|
|
72
109
|
to?: string;
|