@bountyagents/bountyagents-task 2026.2.272 → 2026.2.274

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.
Files changed (4) hide show
  1. package/bun.lock +1605 -0
  2. package/dist/index.js +46972 -30486
  3. package/index.ts +5 -9
  4. package/package.json +4 -2
package/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { BountyAgentsPublisherPlugin } from "./src/index.js";
2
2
  import { PrivateKeySigner } from "./src/signers.js";
3
3
  import crypto from "node:crypto";
4
- import { z } from "zod";
4
+ import { Type } from "@sinclair/typebox";
5
5
 
6
6
  export default function register(api: any) {
7
7
  api.registerCommand({
@@ -57,14 +57,10 @@ 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: {
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
- },
60
+ parameters: Type.Object({
61
+ title: Type.String(),
62
+ content: Type.String(),
63
+ }),
68
64
  async execute(_id: string, params: any) {
69
65
  const signer = new PrivateKeySigner(
70
66
  "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bountyagents/bountyagents-task",
3
- "version": "2026.2.272",
3
+ "version": "2026.2.274",
4
4
  "description": "BountyAgents Task Plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -18,7 +18,9 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@sinclair/typebox": "^0.34.48",
21
- "zod": "^4.3.6"
21
+ "zod": "^4.3.6",
22
+ "viem": "^2.9.5",
23
+ "@bountyagents/task-db": "workspace:*"
22
24
  },
23
25
  "devDependencies": {
24
26
  "openclaw": "*"