openclaw-remote 0.5.4 → 0.5.5
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 +14 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3167,11 +3167,11 @@ function createRemotePlugin() {
|
|
|
3167
3167
|
{
|
|
3168
3168
|
name: "remote_update_task",
|
|
3169
3169
|
label: "Update a task on the Remote project board",
|
|
3170
|
-
description: "Update an existing task on the Remote project board. Specify the task_id and any fields to change: status (todo/in_progress/review/done), priority, assigned_to, title, description, type, epic_id, or assigned_role_id.",
|
|
3170
|
+
description: "Update an existing task on the Remote project board. Specify the task_id and any fields to change: status (todo/in_progress/blocked/review/done), priority, assigned_to, title, description, type, epic_id, or assigned_role_id.",
|
|
3171
3171
|
parameters: Type.Object({
|
|
3172
3172
|
task_id: Type.String({ description: "ID of the task to update" }),
|
|
3173
|
-
status: optionalStringEnum(["todo", "in_progress", "review", "done"], {
|
|
3174
|
-
description: "New status: todo, in_progress, review, or done"
|
|
3173
|
+
status: optionalStringEnum(["todo", "in_progress", "blocked", "review", "done"], {
|
|
3174
|
+
description: "New status: todo, in_progress, blocked, review, or done"
|
|
3175
3175
|
}),
|
|
3176
3176
|
priority: optionalStringEnum(["low", "medium", "high", "urgent"], {
|
|
3177
3177
|
description: "New priority: low, medium, high, or urgent"
|
|
@@ -3219,10 +3219,10 @@ function createRemotePlugin() {
|
|
|
3219
3219
|
{
|
|
3220
3220
|
name: "remote_list_tasks",
|
|
3221
3221
|
label: "List tasks on the Remote project board",
|
|
3222
|
-
description: "List tasks on the Remote project board. Optionally filter by status (todo/in_progress/review/done) and assigned_to (use 'me' for tasks assigned to the agent).",
|
|
3222
|
+
description: "List tasks on the Remote project board. Optionally filter by status (todo/in_progress/blocked/review/done) and assigned_to (use 'me' for tasks assigned to the agent).",
|
|
3223
3223
|
parameters: Type.Object({
|
|
3224
|
-
status: optionalStringEnum(["todo", "in_progress", "review", "done"], {
|
|
3225
|
-
description: "Filter by status: todo, in_progress, review, or done"
|
|
3224
|
+
status: optionalStringEnum(["todo", "in_progress", "blocked", "review", "done"], {
|
|
3225
|
+
description: "Filter by status: todo, in_progress, blocked, review, or done"
|
|
3226
3226
|
}),
|
|
3227
3227
|
assigned_to: Type.Optional(
|
|
3228
3228
|
Type.String({ description: "Filter by assignee. Use 'me' for self." })
|
|
@@ -3309,7 +3309,7 @@ function createRemotePlugin() {
|
|
|
3309
3309
|
`\u{1F4CA} **Board Health \u2014 ${h.project.name}**`,
|
|
3310
3310
|
"",
|
|
3311
3311
|
`**Tasks** (${s.total_tasks} total):`,
|
|
3312
|
-
` todo: ${s.by_status.todo} | in_progress: ${s.by_status.in_progress} | review: ${s.by_status.review} | done: ${s.by_status.done}`,
|
|
3312
|
+
` todo: ${s.by_status.todo} | in_progress: ${s.by_status.in_progress} | blocked: ${s.by_status.blocked || 0} | review: ${s.by_status.review} | done: ${s.by_status.done}`,
|
|
3313
3313
|
` unassigned: ${s.unassigned}`,
|
|
3314
3314
|
"",
|
|
3315
3315
|
`**By priority**: urgent: ${s.by_priority.urgent} | high: ${s.by_priority.high} | medium: ${s.by_priority.medium} | low: ${s.by_priority.low}`
|
|
@@ -3470,10 +3470,15 @@ function createRemotePlugin() {
|
|
|
3470
3470
|
}
|
|
3471
3471
|
const lines = [`\u{1F465} **Team** (${total} members: ${humans} human, ${agents} agent)`, ""];
|
|
3472
3472
|
for (const m of team) {
|
|
3473
|
-
const
|
|
3473
|
+
const roleDetails = m.project_roles.length > 0 ? m.project_roles.map((r) => {
|
|
3474
|
+
let detail = r.name;
|
|
3475
|
+
if (r.manager) detail += ` (reports to: ${r.manager.name})`;
|
|
3476
|
+
if (r.direct_reports?.length > 0) detail += ` [${r.direct_reports.length} direct report(s)]`;
|
|
3477
|
+
return detail;
|
|
3478
|
+
}).join(", ") : "no role";
|
|
3474
3479
|
const me = m.is_me ? " \u2B50 (you)" : "";
|
|
3475
3480
|
const status = m.type === "agent" && m.status ? ` [${m.status}]` : "";
|
|
3476
|
-
lines.push(`- **${m.name}** (${m.type}${status}) \u2014 ${
|
|
3481
|
+
lines.push(`- **${m.name}** (${m.type}${status}) \u2014 ${roleDetails} \u2014 mention: \`${m.mention}\`${me}`);
|
|
3477
3482
|
}
|
|
3478
3483
|
return {
|
|
3479
3484
|
content: [{ type: "text", text: lines.join("\n") }],
|