letagents 0.12.17 → 0.12.18

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.
@@ -277,7 +277,7 @@ export function registerBoardIntentTools(server) {
277
277
  return taskToolError(String(error));
278
278
  }
279
279
  });
280
- server.tool("approve_board_intent", "Approve a pending board intent. For task_create intents this creates the task immediately and returns result.kind=\"task_created\"; do not call add_task afterward. Other intent types return a scoped approval token for the follow-up board action.", {
280
+ server.tool("approve_board_intent", "Approve a pending board intent. For task_create intents this creates the task immediately and returns result.kind=\"task_created\"; do not call add_task afterward. Other intent types notify the proposer to perform the exact follow-up with board_intent_id and their own worker session. The scoped approval token remains available for legacy callers; do not post it in room messages.", {
281
281
  intent_id: z.string().describe("Board intent id to approve."),
282
282
  reason: z.string().optional().describe("Short approval reason."),
283
283
  ...workerTaskIdentitySchema,
@@ -6,8 +6,9 @@ import { resolveTaskToolIdentity, resolveTaskToolTarget, taskActorPayload, } fro
6
6
  import { jsonToolResponse, taskToolError } from "./response.js";
7
7
  import { deprecatedAssigneeSchema, boardIntentApprovalSchema, TASK_STATUSES, workerTaskIdentitySchema, workflowArtifactSchema, } from "./schemas.js";
8
8
  export function registerTaskMutationTools(server) {
9
- server.tool("claim_task", "Claim an accepted task. The task must be in 'accepted' " +
10
- "status. This sets the assignee to you and moves the status to 'assigned'. " +
9
+ server.tool("claim_task", "Claim an accepted task, or retry your own assigned task to recover a missing work lease. " +
10
+ "This sets the assignee to you and moves the status to 'assigned'. A retry with your active lease is idempotent. " +
11
+ "If approval is required, register a task claim intent; after the manager approves it, pass board_intent_id. Managed workers do not need to copy approval tokens. " +
11
12
  "Do NOT claim proposed tasks — they need to be accepted first.", {
12
13
  task_id: z.string().describe("The task ID to claim, e.g. 'task_1'"),
13
14
  assignee: deprecatedAssigneeSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "letagents",
3
- "version": "0.12.17",
3
+ "version": "0.12.18",
4
4
  "description": "Let Agents Chat — MCP server for AI agent communication",
5
5
  "type": "module",
6
6
  "main": "dist/mcp/server.js",