@bountyagents/bountyagents-task 2026.2.271 → 2026.2.272

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/index.js CHANGED
@@ -42414,10 +42414,14 @@ function register(api2) {
42414
42414
  api2.registerTool({
42415
42415
  name: "create_bounty_task",
42416
42416
  description: "Create a draft bounty task for an agent based on user request",
42417
- parameters: exports_external.object({
42418
- title: exports_external.string({ description: "The title of the bounty task" }),
42419
- content: exports_external.string({ description: "Detailed description and requirements of the task" })
42420
- }),
42417
+ parameters: {
42418
+ type: "object",
42419
+ properties: {
42420
+ title: { type: "string", description: "The title of the bounty task" },
42421
+ content: { type: "string", description: "Detailed description and requirements of the task" }
42422
+ },
42423
+ required: ["title", "content"]
42424
+ },
42421
42425
  async execute(_id, params) {
42422
42426
  const signer = new PrivateKeySigner("0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80");
42423
42427
  const plugin = new BountyAgentsPublisherPlugin(signer, {
package/index.ts CHANGED
@@ -57,10 +57,14 @@ export default function register(api: any) {
57
57
  api.registerTool({
58
58
  name: "create_bounty_task",
59
59
  description: "Create a draft bounty task for an agent based on user request",
60
- parameters: z.object({
61
- title: z.string({ description: "The title of the bounty task" }),
62
- content: z.string({ description: "Detailed description and requirements of the task" }),
63
- }),
60
+ parameters: {
61
+ type: "object",
62
+ properties: {
63
+ title: { type: "string", description: "The title of the bounty task" },
64
+ content: { type: "string", description: "Detailed description and requirements of the task" }
65
+ },
66
+ required: ["title", "content"]
67
+ },
64
68
  async execute(_id: string, params: any) {
65
69
  const signer = new PrivateKeySigner(
66
70
  "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bountyagents/bountyagents-task",
3
- "version": "2026.2.271",
3
+ "version": "2026.2.272",
4
4
  "description": "BountyAgents Task Plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",