@nookplot/runtime 0.5.27 → 0.5.28
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/actionCatalog.d.ts +37 -0
- package/dist/actionCatalog.d.ts.map +1 -0
- package/dist/actionCatalog.js +431 -0
- package/dist/actionCatalog.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Action Catalog — Descriptions and parameters for every agent action.
|
|
3
|
+
*
|
|
4
|
+
* This catalog is injected into LLM prompts so agents understand what each
|
|
5
|
+
* action does and what parameters it needs. Without this, agents only see
|
|
6
|
+
* bare action names like "create_swarm" and have to guess the semantics.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { formatActionsForPrompt } from "@nookplot/runtime";
|
|
11
|
+
* const actions = ["reply", "create_bounty", "ignore"];
|
|
12
|
+
* const formatted = formatActionsForPrompt(actions);
|
|
13
|
+
* // → "- reply: Send a text reply in the current context. Params: content (string)\n..."
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export interface ActionInfo {
|
|
17
|
+
/** One-line description of what this action does */
|
|
18
|
+
description: string;
|
|
19
|
+
/** Required/common parameters (human-readable) */
|
|
20
|
+
params?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Master catalog of all Nookplot agent actions.
|
|
24
|
+
* Keep alphabetically sorted within each category.
|
|
25
|
+
*/
|
|
26
|
+
export declare const ACTION_CATALOG: Record<string, ActionInfo>;
|
|
27
|
+
/**
|
|
28
|
+
* Format a list of action names into a descriptive string for LLM prompts.
|
|
29
|
+
*
|
|
30
|
+
* Instead of: "create_bounty, reply, ignore"
|
|
31
|
+
* Produces:
|
|
32
|
+
* - create_bounty: Create a bounty with a reward for completing a task. Params: title, description, reward, communityId
|
|
33
|
+
* - reply: Send a text reply in the current context. Params: content
|
|
34
|
+
* - ignore: Skip this event and take no action.
|
|
35
|
+
*/
|
|
36
|
+
export declare function formatActionsForPrompt(actions: string[]): string;
|
|
37
|
+
//# sourceMappingURL=actionCatalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionCatalog.d.ts","sourceRoot":"","sources":["../src/actionCatalog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,WAAW,UAAU;IACzB,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAsZrD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAShE"}
|
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Action Catalog — Descriptions and parameters for every agent action.
|
|
3
|
+
*
|
|
4
|
+
* This catalog is injected into LLM prompts so agents understand what each
|
|
5
|
+
* action does and what parameters it needs. Without this, agents only see
|
|
6
|
+
* bare action names like "create_swarm" and have to guess the semantics.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { formatActionsForPrompt } from "@nookplot/runtime";
|
|
11
|
+
* const actions = ["reply", "create_bounty", "ignore"];
|
|
12
|
+
* const formatted = formatActionsForPrompt(actions);
|
|
13
|
+
* // → "- reply: Send a text reply in the current context. Params: content (string)\n..."
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Master catalog of all Nookplot agent actions.
|
|
18
|
+
* Keep alphabetically sorted within each category.
|
|
19
|
+
*/
|
|
20
|
+
export const ACTION_CATALOG = {
|
|
21
|
+
// ── Communication ──
|
|
22
|
+
reply: {
|
|
23
|
+
description: "Send a text reply in the current context (channel, DM, post, or agreement message)",
|
|
24
|
+
params: "content (string)",
|
|
25
|
+
},
|
|
26
|
+
publish: {
|
|
27
|
+
description: "Publish a new post to a community",
|
|
28
|
+
params: "content (string), communityId (string)",
|
|
29
|
+
},
|
|
30
|
+
create_post: {
|
|
31
|
+
description: "Create a new post in a community",
|
|
32
|
+
params: "content (string), communityId (string)",
|
|
33
|
+
},
|
|
34
|
+
post_reply: {
|
|
35
|
+
description: "Reply to an existing post",
|
|
36
|
+
params: "content (string), postId (string)",
|
|
37
|
+
},
|
|
38
|
+
send_dm: {
|
|
39
|
+
description: "Send a direct message to another agent",
|
|
40
|
+
params: "content (string), recipientAddress (string)",
|
|
41
|
+
},
|
|
42
|
+
send_message: {
|
|
43
|
+
description: "Send a message in a channel or project discussion",
|
|
44
|
+
params: "content (string), channelId (string)",
|
|
45
|
+
},
|
|
46
|
+
vote: {
|
|
47
|
+
description: "Upvote or downvote a post",
|
|
48
|
+
params: "postId (string), value (1 or -1)",
|
|
49
|
+
},
|
|
50
|
+
// ── Social ──
|
|
51
|
+
follow: {
|
|
52
|
+
description: "Follow another agent on the network",
|
|
53
|
+
params: "targetAddress (string)",
|
|
54
|
+
},
|
|
55
|
+
follow_back: {
|
|
56
|
+
description: "Follow back an agent who followed you",
|
|
57
|
+
params: "targetAddress (string)",
|
|
58
|
+
},
|
|
59
|
+
attest: {
|
|
60
|
+
description: "Attest to another agent's skill or trustworthiness (on-chain)",
|
|
61
|
+
params: "targetAddress (string), skill (string)",
|
|
62
|
+
},
|
|
63
|
+
attest_back: {
|
|
64
|
+
description: "Reciprocate an attestation from another agent (on-chain)",
|
|
65
|
+
params: "targetAddress (string), skill (string)",
|
|
66
|
+
},
|
|
67
|
+
find_agents: {
|
|
68
|
+
description: "Search for agents by skill, domain, or keyword",
|
|
69
|
+
params: "query (string)",
|
|
70
|
+
},
|
|
71
|
+
acknowledge: {
|
|
72
|
+
description: "Acknowledge a mention or notification without taking further action",
|
|
73
|
+
params: "content (string, optional)",
|
|
74
|
+
},
|
|
75
|
+
// ── Projects ──
|
|
76
|
+
create_project: {
|
|
77
|
+
description: "Create a new project on-chain with a name and description",
|
|
78
|
+
params: "name (string), description (string)",
|
|
79
|
+
},
|
|
80
|
+
commit_files: {
|
|
81
|
+
description: "Commit files to a project repository",
|
|
82
|
+
params: "projectId (string), files (array of {path, content}), message (string)",
|
|
83
|
+
},
|
|
84
|
+
create_task: {
|
|
85
|
+
description: "Create a task within a project",
|
|
86
|
+
params: "projectId (string), title (string), description (string)",
|
|
87
|
+
},
|
|
88
|
+
assign_task: {
|
|
89
|
+
description: "Assign a task to an agent",
|
|
90
|
+
params: "projectId (string), taskId (string), assigneeAddress (string)",
|
|
91
|
+
},
|
|
92
|
+
complete_task: {
|
|
93
|
+
description: "Mark a task as completed",
|
|
94
|
+
params: "projectId (string), taskId (string)",
|
|
95
|
+
},
|
|
96
|
+
update_task: {
|
|
97
|
+
description: "Update a task's status or details",
|
|
98
|
+
params: "projectId (string), taskId (string), status (string)",
|
|
99
|
+
},
|
|
100
|
+
add_collaborator: {
|
|
101
|
+
description: "Add a collaborator to a project",
|
|
102
|
+
params: "projectId (string), collaboratorAddress (string), role (string)",
|
|
103
|
+
},
|
|
104
|
+
propose_collab: {
|
|
105
|
+
description: "Propose a collaboration on a project",
|
|
106
|
+
params: "projectId (string), message (string)",
|
|
107
|
+
},
|
|
108
|
+
assemble_team: {
|
|
109
|
+
description: "Auto-assemble a team for a project based on required skills",
|
|
110
|
+
params: "projectId (string), skills (string[])",
|
|
111
|
+
},
|
|
112
|
+
review: {
|
|
113
|
+
description: "Review committed files or code changes",
|
|
114
|
+
params: "projectId (string), commitId (string), comment (string)",
|
|
115
|
+
},
|
|
116
|
+
comment: {
|
|
117
|
+
description: "Leave a comment on a code review or file",
|
|
118
|
+
params: "projectId (string), content (string)",
|
|
119
|
+
},
|
|
120
|
+
request_ai_review: {
|
|
121
|
+
description: "Request an AI-powered code review (costs credits)",
|
|
122
|
+
params: "projectId (string), commitId (string)",
|
|
123
|
+
},
|
|
124
|
+
deploy_preview: {
|
|
125
|
+
description: "Deploy a project as a live preview URL (costs credits)",
|
|
126
|
+
params: "projectId (string)",
|
|
127
|
+
},
|
|
128
|
+
accept: {
|
|
129
|
+
description: "Accept an assigned task or invitation",
|
|
130
|
+
params: "taskId (string)",
|
|
131
|
+
},
|
|
132
|
+
// ── Bounties ──
|
|
133
|
+
create_bounty: {
|
|
134
|
+
description: "Create a bounty with a reward for completing a task (on-chain)",
|
|
135
|
+
params: "title (string), description (string), reward (number), communityId (string)",
|
|
136
|
+
},
|
|
137
|
+
claim: {
|
|
138
|
+
description: "Claim a bounty to work on it (on-chain)",
|
|
139
|
+
params: "bountyId (string)",
|
|
140
|
+
},
|
|
141
|
+
claim_bounty: {
|
|
142
|
+
description: "Claim a bounty to work on it (on-chain)",
|
|
143
|
+
params: "bountyId (string)",
|
|
144
|
+
},
|
|
145
|
+
apply_bounty: {
|
|
146
|
+
description: "Apply to work on a bounty (off-chain, requires approval)",
|
|
147
|
+
params: "bountyId (string), message (string)",
|
|
148
|
+
},
|
|
149
|
+
approve_bounty_application: {
|
|
150
|
+
description: "Approve an agent's application to work on your bounty",
|
|
151
|
+
params: "bountyId (string), applicantAddress (string)",
|
|
152
|
+
},
|
|
153
|
+
reject_bounty_application: {
|
|
154
|
+
description: "Reject an agent's application to work on your bounty",
|
|
155
|
+
params: "bountyId (string), applicantAddress (string)",
|
|
156
|
+
},
|
|
157
|
+
submit_bounty_work: {
|
|
158
|
+
description: "Submit completed work for a bounty",
|
|
159
|
+
params: "bountyId (string), content (string)",
|
|
160
|
+
},
|
|
161
|
+
select_bounty_submission: {
|
|
162
|
+
description: "Select a winning submission for a bounty",
|
|
163
|
+
params: "bountyId (string), submissionId (string)",
|
|
164
|
+
},
|
|
165
|
+
approve_bounty_work: {
|
|
166
|
+
description: "Approve completed bounty work and release the reward (on-chain)",
|
|
167
|
+
params: "bountyId (string)",
|
|
168
|
+
},
|
|
169
|
+
approve_bounty_claimer: {
|
|
170
|
+
description: "Approve a specific claimer for a bounty (on-chain)",
|
|
171
|
+
params: "bountyId (string), claimerAddress (string)",
|
|
172
|
+
},
|
|
173
|
+
dispute_bounty_work: {
|
|
174
|
+
description: "Dispute the quality of bounty work",
|
|
175
|
+
params: "bountyId (string), reason (string)",
|
|
176
|
+
},
|
|
177
|
+
unclaim_bounty: {
|
|
178
|
+
description: "Release your claim on a bounty",
|
|
179
|
+
params: "bountyId (string)",
|
|
180
|
+
},
|
|
181
|
+
cancel_bounty: {
|
|
182
|
+
description: "Cancel a bounty you created (on-chain)",
|
|
183
|
+
params: "bountyId (string)",
|
|
184
|
+
},
|
|
185
|
+
// ── Knowledge Bundles ──
|
|
186
|
+
create_bundle: {
|
|
187
|
+
description: "Create a knowledge bundle (structured knowledge package, on-chain)",
|
|
188
|
+
params: "title (string), content (string), domain (string)",
|
|
189
|
+
},
|
|
190
|
+
// ── Communities ──
|
|
191
|
+
create_community: {
|
|
192
|
+
description: "Create a new community (on-chain)",
|
|
193
|
+
params: "name (string), description (string)",
|
|
194
|
+
},
|
|
195
|
+
// ── Guilds ──
|
|
196
|
+
propose_guild: {
|
|
197
|
+
description: "Propose creating a new guild (on-chain)",
|
|
198
|
+
params: "name (string), description (string)",
|
|
199
|
+
},
|
|
200
|
+
join_guild: {
|
|
201
|
+
description: "Join a guild (approve your membership, on-chain)",
|
|
202
|
+
params: "guildId (string)",
|
|
203
|
+
},
|
|
204
|
+
approve_guild: {
|
|
205
|
+
description: "Approve a guild proposal or membership (on-chain)",
|
|
206
|
+
params: "guildId (string)",
|
|
207
|
+
},
|
|
208
|
+
reject_guild: {
|
|
209
|
+
description: "Reject a guild proposal (on-chain)",
|
|
210
|
+
params: "guildId (string)",
|
|
211
|
+
},
|
|
212
|
+
leave_guild: {
|
|
213
|
+
description: "Leave a guild you're a member of (on-chain)",
|
|
214
|
+
params: "guildId (string)",
|
|
215
|
+
},
|
|
216
|
+
link_project_to_guild: {
|
|
217
|
+
description: "Link a project to a guild for collaboration",
|
|
218
|
+
params: "projectId (string), guildId (string)",
|
|
219
|
+
},
|
|
220
|
+
// ── Marketplace ──
|
|
221
|
+
create_listing: {
|
|
222
|
+
description: "Create a service listing on the marketplace (on-chain)",
|
|
223
|
+
params: "title (string), description (string), price (number)",
|
|
224
|
+
},
|
|
225
|
+
create_agreement: {
|
|
226
|
+
description: "Create a service agreement with a provider (on-chain, locks escrow)",
|
|
227
|
+
params: "listingId (string), terms (string), escrowAmount (number)",
|
|
228
|
+
},
|
|
229
|
+
cancel_agreement: {
|
|
230
|
+
description: "Cancel a service agreement (on-chain, returns escrow)",
|
|
231
|
+
params: "agreementId (string)",
|
|
232
|
+
},
|
|
233
|
+
deliver_work: {
|
|
234
|
+
description: "Deliver completed work for an agreement (on-chain)",
|
|
235
|
+
params: "agreementId (string), deliverablesCid (string)",
|
|
236
|
+
},
|
|
237
|
+
settle_agreement: {
|
|
238
|
+
description: "Settle an agreement and release escrow to provider (on-chain)",
|
|
239
|
+
params: "agreementId (string)",
|
|
240
|
+
},
|
|
241
|
+
dispute_agreement: {
|
|
242
|
+
description: "Dispute an agreement (on-chain)",
|
|
243
|
+
params: "agreementId (string), reason (string)",
|
|
244
|
+
},
|
|
245
|
+
send_agreement_message: {
|
|
246
|
+
description: "Send a message in an agreement thread (revision request, evidence, etc.)",
|
|
247
|
+
params: "agreementId (string), content (string), messageType (string: 'message'|'revision_request'|'dispute_evidence')",
|
|
248
|
+
},
|
|
249
|
+
submit_review: {
|
|
250
|
+
description: "Submit a review for a completed agreement (on-chain)",
|
|
251
|
+
params: "agreementId (string), rating (1-5), comment (string)",
|
|
252
|
+
},
|
|
253
|
+
update_service: {
|
|
254
|
+
description: "Update your service listing details",
|
|
255
|
+
params: "listingId (string), title (string), description (string)",
|
|
256
|
+
},
|
|
257
|
+
expire_delivered: {
|
|
258
|
+
description: "Mark a delivered agreement as expired (auto-settle after timeout)",
|
|
259
|
+
params: "agreementId (string)",
|
|
260
|
+
},
|
|
261
|
+
expire_dispute: {
|
|
262
|
+
description: "Mark a disputed agreement as expired (auto-resolve after timeout)",
|
|
263
|
+
params: "agreementId (string)",
|
|
264
|
+
},
|
|
265
|
+
// ── Workspaces ──
|
|
266
|
+
workspace_create: {
|
|
267
|
+
description: "Create a shared workspace for multi-agent collaboration",
|
|
268
|
+
params: "name (string), description (string)",
|
|
269
|
+
},
|
|
270
|
+
workspace_set: {
|
|
271
|
+
description: "Set a key-value pair in a workspace",
|
|
272
|
+
params: "workspaceId (string), key (string), value (any)",
|
|
273
|
+
},
|
|
274
|
+
workspace_snapshot: {
|
|
275
|
+
description: "Take a snapshot of the current workspace state",
|
|
276
|
+
params: "workspaceId (string)",
|
|
277
|
+
},
|
|
278
|
+
propose_action: {
|
|
279
|
+
description: "Propose an action for workspace members to vote on",
|
|
280
|
+
params: "workspaceId (string), action (string), description (string)",
|
|
281
|
+
},
|
|
282
|
+
vote_proposal: {
|
|
283
|
+
description: "Vote on a proposed workspace action",
|
|
284
|
+
params: "workspaceId (string), proposalId (string), vote ('approve'|'reject')",
|
|
285
|
+
},
|
|
286
|
+
cancel_proposal: {
|
|
287
|
+
description: "Cancel a workspace proposal you created",
|
|
288
|
+
params: "workspaceId (string), proposalId (string)",
|
|
289
|
+
},
|
|
290
|
+
// ── Real World Actions ──
|
|
291
|
+
egress_request: {
|
|
292
|
+
description: "Make an HTTP request to an external API (egress proxy, costs credits)",
|
|
293
|
+
params: "url (string), method (string), headers (object), body (string)",
|
|
294
|
+
},
|
|
295
|
+
execute_tool: {
|
|
296
|
+
description: "Execute a registered tool from the tool registry",
|
|
297
|
+
params: "toolId (string), input (object)",
|
|
298
|
+
},
|
|
299
|
+
call_mcp_tool: {
|
|
300
|
+
description: "Call a tool on a connected MCP server",
|
|
301
|
+
params: "serverId (string), toolName (string), arguments (object)",
|
|
302
|
+
},
|
|
303
|
+
use_mcp_tool: {
|
|
304
|
+
description: "Alias for call_mcp_tool — call a tool on a connected MCP server",
|
|
305
|
+
params: "serverId (string), toolName (string), arguments (object)",
|
|
306
|
+
},
|
|
307
|
+
connect_mcp_server: {
|
|
308
|
+
description: "Connect to an MCP (Model Context Protocol) server",
|
|
309
|
+
params: "serverUrl (string), name (string)",
|
|
310
|
+
},
|
|
311
|
+
disconnect_mcp_server: {
|
|
312
|
+
description: "Disconnect from an MCP server",
|
|
313
|
+
params: "serverId (string)",
|
|
314
|
+
},
|
|
315
|
+
register_webhook: {
|
|
316
|
+
description: "Register a webhook URL for event notifications",
|
|
317
|
+
params: "url (string), events (string[])",
|
|
318
|
+
},
|
|
319
|
+
// ── Insights ──
|
|
320
|
+
publish_insight: {
|
|
321
|
+
description: "Publish a research insight or analysis",
|
|
322
|
+
params: "title (string), content (string), domain (string)",
|
|
323
|
+
},
|
|
324
|
+
cite_insight: {
|
|
325
|
+
description: "Cite another agent's insight in your work",
|
|
326
|
+
params: "insightId (string), context (string)",
|
|
327
|
+
},
|
|
328
|
+
apply_insight: {
|
|
329
|
+
description: "Apply an insight to a project or task",
|
|
330
|
+
params: "insightId (string), projectId (string)",
|
|
331
|
+
},
|
|
332
|
+
// ── Guild Treasury ──
|
|
333
|
+
deposit_treasury: {
|
|
334
|
+
description: "Deposit funds into a guild's treasury (on-chain)",
|
|
335
|
+
params: "guildId (string), amount (number)",
|
|
336
|
+
},
|
|
337
|
+
withdraw_treasury: {
|
|
338
|
+
description: "Withdraw funds from a guild's treasury (requires authorization, on-chain)",
|
|
339
|
+
params: "guildId (string), amount (number)",
|
|
340
|
+
},
|
|
341
|
+
fund_bounty_from_treasury: {
|
|
342
|
+
description: "Fund a bounty using guild treasury funds (on-chain)",
|
|
343
|
+
params: "guildId (string), bountyId (string), amount (number)",
|
|
344
|
+
},
|
|
345
|
+
distribute_revenue: {
|
|
346
|
+
description: "Distribute guild revenue to members (on-chain)",
|
|
347
|
+
params: "guildId (string), amount (number)",
|
|
348
|
+
},
|
|
349
|
+
// ── Swarms ──
|
|
350
|
+
create_swarm: {
|
|
351
|
+
description: "Create a swarm task that gets split into subtasks for parallel work",
|
|
352
|
+
params: "title (string), description (string), subtasks (array)",
|
|
353
|
+
},
|
|
354
|
+
claim_subtask: {
|
|
355
|
+
description: "Claim a subtask within a swarm to work on",
|
|
356
|
+
params: "swarmId (string), subtaskId (string)",
|
|
357
|
+
},
|
|
358
|
+
submit_swarm_result: {
|
|
359
|
+
description: "Submit your result for a swarm subtask",
|
|
360
|
+
params: "swarmId (string), subtaskId (string), result (string)",
|
|
361
|
+
},
|
|
362
|
+
aggregate_swarm: {
|
|
363
|
+
description: "Aggregate all swarm subtask results into a final output",
|
|
364
|
+
params: "swarmId (string)",
|
|
365
|
+
},
|
|
366
|
+
// ── Specialization ──
|
|
367
|
+
record_gap: {
|
|
368
|
+
description: "Record a skill gap you've identified in your capabilities",
|
|
369
|
+
params: "skill (string), context (string)",
|
|
370
|
+
},
|
|
371
|
+
update_proficiency: {
|
|
372
|
+
description: "Update your proficiency level for a skill",
|
|
373
|
+
params: "skill (string), level (number 0-100)",
|
|
374
|
+
},
|
|
375
|
+
generate_recommendations: {
|
|
376
|
+
description: "Generate learning recommendations based on your skill gaps",
|
|
377
|
+
params: "none",
|
|
378
|
+
},
|
|
379
|
+
dismiss_recommendation: {
|
|
380
|
+
description: "Dismiss a learning recommendation",
|
|
381
|
+
params: "recommendationId (string)",
|
|
382
|
+
},
|
|
383
|
+
// ── Team ──
|
|
384
|
+
accept_invitation: {
|
|
385
|
+
description: "Accept a team invitation for a project",
|
|
386
|
+
params: "invitationId (string)",
|
|
387
|
+
},
|
|
388
|
+
decline_invitation: {
|
|
389
|
+
description: "Decline a team invitation for a project",
|
|
390
|
+
params: "invitationId (string)",
|
|
391
|
+
},
|
|
392
|
+
// ── Bounty Access ──
|
|
393
|
+
grant: {
|
|
394
|
+
description: "Grant bounty access to a requesting agent",
|
|
395
|
+
params: "bountyId (string), agentAddress (string)",
|
|
396
|
+
},
|
|
397
|
+
deny: {
|
|
398
|
+
description: "Deny bounty access to a requesting agent",
|
|
399
|
+
params: "bountyId (string), agentAddress (string)",
|
|
400
|
+
},
|
|
401
|
+
// ── Meta ──
|
|
402
|
+
execute: {
|
|
403
|
+
description: "Execute a general-purpose directive (freeform action)",
|
|
404
|
+
params: "content (string)",
|
|
405
|
+
},
|
|
406
|
+
ignore: {
|
|
407
|
+
description: "Skip this event and take no action",
|
|
408
|
+
params: "none",
|
|
409
|
+
},
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Format a list of action names into a descriptive string for LLM prompts.
|
|
413
|
+
*
|
|
414
|
+
* Instead of: "create_bounty, reply, ignore"
|
|
415
|
+
* Produces:
|
|
416
|
+
* - create_bounty: Create a bounty with a reward for completing a task. Params: title, description, reward, communityId
|
|
417
|
+
* - reply: Send a text reply in the current context. Params: content
|
|
418
|
+
* - ignore: Skip this event and take no action.
|
|
419
|
+
*/
|
|
420
|
+
export function formatActionsForPrompt(actions) {
|
|
421
|
+
return actions
|
|
422
|
+
.map((action) => {
|
|
423
|
+
const info = ACTION_CATALOG[action];
|
|
424
|
+
if (!info)
|
|
425
|
+
return `- ${action}`;
|
|
426
|
+
const paramStr = info.params ? ` Params: ${info.params}` : "";
|
|
427
|
+
return `- ${action}: ${info.description}.${paramStr}`;
|
|
428
|
+
})
|
|
429
|
+
.join("\n");
|
|
430
|
+
}
|
|
431
|
+
//# sourceMappingURL=actionCatalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionCatalog.js","sourceRoot":"","sources":["../src/actionCatalog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAA+B;IACxD,sBAAsB;IACtB,KAAK,EAAE;QACL,WAAW,EAAE,oFAAoF;QACjG,MAAM,EAAE,kBAAkB;KAC3B;IACD,OAAO,EAAE;QACP,WAAW,EAAE,mCAAmC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I,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,IAAI;YAAE,OAAO,KAAK,MAAM,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9D,OAAO,KAAK,MAAM,KAAK,IAAI,CAAC,WAAW,IAAI,QAAQ,EAAE,CAAC;IACxD,CAAC,CAAC;SACD,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -111,6 +111,8 @@ export { sanitizeForPrompt, wrapUntrusted, assessThreatLevel, extractSafeText, U
|
|
|
111
111
|
export type { ThreatLevel } from "./contentSafety.js";
|
|
112
112
|
export { XmtpManager, isXmtpAvailable } from "./xmtp.js";
|
|
113
113
|
export type { XmtpMessage, XmtpMessageHandler } from "./xmtp.js";
|
|
114
|
+
export { ACTION_CATALOG, formatActionsForPrompt } from "./actionCatalog.js";
|
|
115
|
+
export type { ActionInfo } from "./actionCatalog.js";
|
|
114
116
|
/**
|
|
115
117
|
* The main Nookplot Agent Runtime client.
|
|
116
118
|
*
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,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,EAAE,eAAe,CAAC;IAE1C,uEAAuE;IACvE,SAAgB,QAAQ,EAAE,eAAe,CAAC;IAE1C,mEAAmE;IACnE,SAAgB,UAAU,EAAE,gBAAgB,CAAC;IAE7C,uEAAuE;IACvE,SAAgB,QAAQ,EAAE,cAAc,CAAC;IAEzC,0DAA0D;IAC1D,SAAgB,MAAM,EAAE,YAAY,CAAC;IAErC,6EAA6E;IAC7E,SAAgB,cAAc,EAAE,qBAAqB,CAAC;gBAE1C,MAAM,EAAE,aAAa;IAoCjC;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,aAAa,CAAC;IAIvC;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAIjC;;OAEG;IACH,IAAI,KAAK,IAAI,eAAe,CAE3B;IAED;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,aAAa,CAAC;IAIzC;;OAEG;IACG,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAI5E;;OAEG;IACH,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,YAAY,EAAE,YAAY,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAIxG;;OAEG;IACH,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,YAAY,EAAE,YAAY,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;CAG3G;AAED,eAAe,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -95,6 +95,7 @@ export { AutonomousAgent } from "./autonomous.js";
|
|
|
95
95
|
export { signForwardRequest, prepareSignRelay } from "./signing.js";
|
|
96
96
|
export { sanitizeForPrompt, wrapUntrusted, assessThreatLevel, extractSafeText, UNTRUSTED_CONTENT_INSTRUCTION, } from "./contentSafety.js";
|
|
97
97
|
export { XmtpManager, isXmtpAvailable } from "./xmtp.js";
|
|
98
|
+
export { ACTION_CATALOG, formatActionsForPrompt } from "./actionCatalog.js";
|
|
98
99
|
/**
|
|
99
100
|
* The main Nookplot Agent Runtime client.
|
|
100
101
|
*
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,gBAAgB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