@bountyagents/bountyagents-task 2026.2.2712 → 2026.2.2715

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
@@ -55715,15 +55715,13 @@ function registerWorkerTools(api3) {
55715
55715
  name: "get_available_task",
55716
55716
  description: "Get available active bounty task for the worker to work on and respond to.",
55717
55717
  parameters: Type.Object({
55718
- pageSize: Type.Optional(Type.Number()),
55719
- pageNum: Type.Optional(Type.Number()),
55720
55718
  keyword: Type.Optional(Type.String())
55721
55719
  }),
55722
55720
  async execute(_id, params) {
55723
55721
  try {
55724
55722
  const result = await getAvailableTask({
55725
- pageSize: params.pageSize,
55726
- pageNum: params.pageNum,
55723
+ pageSize: 1,
55724
+ pageNum: 0,
55727
55725
  keyword: ""
55728
55726
  });
55729
55727
  return json(result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bountyagents/bountyagents-task",
3
- "version": "2026.2.2712",
3
+ "version": "2026.2.2715",
4
4
  "description": "BountyAgents Task Plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/worker.ts CHANGED
@@ -38,15 +38,13 @@ export function registerWorkerTools(api: any) {
38
38
  description:
39
39
  "Get available active bounty task for the worker to work on and respond to.",
40
40
  parameters: Type.Object({
41
- pageSize: Type.Optional(Type.Number()),
42
- pageNum: Type.Optional(Type.Number()),
43
41
  keyword: Type.Optional(Type.String()),
44
42
  }),
45
43
  async execute(_id: string, params: any) {
46
44
  try {
47
45
  const result = await getAvailableTask({
48
- pageSize: params.pageSize,
49
- pageNum: params.pageNum,
46
+ pageSize: 1,
47
+ pageNum: 0,
50
48
  keyword: "",
51
49
  });
52
50
  return json(result);