ac-teams 0.0.10 → 0.0.11

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/README.md CHANGED
@@ -14,6 +14,8 @@ Restart Pi after installation. Use Pi's `/trust` command to save approval for ea
14
14
 
15
15
  ## Use it
16
16
 
17
+ Use `team_task` for substantial solo work as well as team deliverables. Agents receive guidance to plan multi-step work, start tasks before working, and complete them after verification. Simple tasks need no list.
18
+
17
19
  Your Pi session is the root; its child agents are members. Ask Pi to delegate a bounded assignment, for example:
18
20
 
19
21
  > Launch a member to review src/parser.ts without editing, and have it send findings back to me.
@@ -21,7 +23,7 @@ Your Pi session is the root; its child agents are members. Ask Pi to delegate a
21
23
  | Tool | Purpose |
22
24
  | --- | --- |
23
25
  | `team_agent` | Launch, inspect, stop, and resume members; manage limits and worktrees |
24
- | `team_task` | Track shared work, ownership, and dependencies |
26
+ | `team_task` | Plan solo or team work, create tasks in batches, and track ownership and dependencies |
25
27
  | `team_message` | Send notifications and read or search team history |
26
28
 
27
29
  `/teams` or `/teams panel` opens Tasks, Teammates, and Activity. `/teams teammate <name-or-id>` opens a teammate directly; subcommands and teammate names autocomplete. Use the task graph or list, send feedback, and open a member's full live Pi session.
package/docs/usage.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Use ac-teams
2
2
 
3
- ac-teams provides three tools with lightweight guidance for tracking delegated work. Your Pi session is a main session; the agents it launches are members. The first main session opens coordination state on the first team request. See [main sessions](#main-sessions-share-one-team) for adding more.
3
+ ac-teams provides three tools for planning and tracking solo and delegated work. Your Pi session is a main session; the agents it launches are members. The first main session opens coordination state on the first team request. See [main sessions](#main-sessions-share-one-team) for adding more.
4
4
 
5
5
  | Tool | Actions | Main rule |
6
6
  | --- | --- | --- |
@@ -55,10 +55,11 @@ The task summary sits above the input editor; the agent selector sits below the
55
55
 
56
56
  1. In-progress work
57
57
  2. Ready prerequisites blocking other tasks, with the most dependents first
58
- 3. Blocked work, marked `⊘` with prerequisite numbers such as `blocked by #3`
59
- 4. Recently completed work, newest first
58
+ 3. Other ready work
59
+ 4. Blocked work, marked `⊘` with prerequisite numbers such as `blocked by #3`
60
+ 5. Recently completed work, newest first
60
61
 
61
- Ordinary ready tasks remain in `/teams`; the summary is not the full task list. Completion time determines recent order for newly completed tasks. Older completed tasks without timestamps fall back to task-number order.
62
+ The summary shows at most five tasks; `/teams` retains the full list. Completion time determines recent order for newly completed tasks. Older completed tasks without timestamps fall back to task-number order.
62
63
 
63
64
  ac-teams leaves your existing footer intact and publishes a compact summary under the `ac-teams` extension-status key. Custom footers must support extension statuses to show it. In Zentui, use `/zentui extensions` to choose a placement for `ac-teams` if statuses are hidden by default. Agent navigation remains available in its own row even when the footer hides statuses.
64
65
 
@@ -66,6 +67,22 @@ Use `/teams config` to toggle **Task summary** and **Agent selector** independen
66
67
 
67
68
  Hiding a display does not stop agents, change tasks, or disable `/teams`. With the agent selector hidden, ordinary editor Down behavior returns. These global display preferences do not change the team's resource ceilings.
68
69
 
70
+ ## Plan solo and team work
71
+
72
+ The tool guidance asks agents to use `team_task` for substantial work with three or more steps, explicit task lists, and coordinated deliverables, including solo research, design, implementation, and verification. Single trivial tasks and conversation need no list. This is guidance, not automatic task creation or enforcement.
73
+
74
+ Create independent tasks in one call:
75
+
76
+ ```json
77
+ {"action":"create","tasks":[{"title":"Review parser behavior","description":"Acceptance: identify malformed-input failures with reproduction steps."},{"title":"Review display ordering","description":"Acceptance: compare implementation and display tests, and report mismatches."}]}
78
+ ```
79
+
80
+ A batch creates 1–100 tasks atomically: invalid input leaves no tasks created. Use either `tasks` or top-level task fields, not both. Existing single-task creation remains supported. A title is enough for a simple task; description defaults to title and label defaults to its first three words, capped at 60 characters. Supply explicit acceptance criteria for substantial or delegated work. Dependencies must reference existing task UUIDs, so create prerequisites before dependent tasks.
81
+
82
+ Start a task before working and complete it immediately after checking the result. One agent normally works on one task at a time; teammates can work in parallel. Never complete partial work or work with unresolved failures.
83
+
84
+ Task list and mutation responses give the model compact summaries, including UUIDs, revisions, owners, and dependencies. `read` returns full descriptions and acceptance criteria. Expanded tool responses retain full records for people to inspect.
85
+
69
86
  ## Give members bounded assignments
70
87
 
71
88
  Before delegating a deliverable, create or reuse a shared task and include its ID in the member's brief. Track independently owned outcomes, not every agent, tool call, or procedural step. For example:
@@ -101,11 +118,11 @@ Children can delegate through the same coordinator, subject to depth and capacit
101
118
 
102
119
  ## Track progress separately from ownership
103
120
 
104
- Task owners claim and start their work, then complete it after checking acceptance criteria or report blockers. Claiming reserves a task; starting also requires its dependencies to be done.
121
+ Start ready work directly; `start` claims an unowned task and begins it atomically. Use `claim` only to reserve work in advance. Complete work after checking acceptance criteria or report blockers. Starting requires every dependency to be done.
105
122
 
106
123
  Each task has a stable team-local `number` and a 1–3-word `label` (at most 60 characters). The graph and list show `#3 Parser review`; details retain the full title, description, and UUID.
107
124
 
108
- Numbers follow creation order. Editing, filtering, or reopening tasks never changes their numbers. A concise title can supply an omitted label; longer titles need an explicit label.
125
+ Numbers follow creation order. Editing, filtering, or reopening tasks never changes their numbers. An omitted label is derived from the title's first three words, capped at 60 characters. An explicit label must satisfy the same limits.
109
126
 
110
127
  Interim and final goals are ordinary tasks. Use dependencies for real prerequisites, not to make the diagram connected. Independent tasks remain disconnected until they genuinely contribute to a dependent task.
111
128
 
@@ -120,12 +137,12 @@ Use the returned task ID with these actions:
120
137
  | Action | Effect |
121
138
  | --- | --- |
122
139
  | `claim` | Reserve an unowned to-do task, even if blocked. Progress stays `todo`. |
123
- | `start` | The owner moves `todo` to `in_progress`, only when every dependency is `done`. |
140
+ | `start` | Claim unowned work and move `todo` to `in_progress` atomically, only when every dependency is `done`. An existing owner must be the caller. |
124
141
  | `complete` | The owner moves `in_progress` to `done`, with `acceptance: true`. Ownership remains. |
125
142
  | `release` | Clear ownership. In-progress work returns to `todo`; done work stays `done`. |
126
143
  | `reopen` | Explicitly move `done` to `todo`, retaining any owner. Refuse if a dependent is in progress or done. |
127
144
 
128
- Only the owner can start, complete, or release its work. An ancestor may explicitly release a stopped or interrupted descendant's ownership. The owner or root can reopen an owned task; any member can reopen an unowned one. Done tasks cannot be claimed until reopened.
145
+ Starting never steals another owner's work. Only the owner can complete or release its work. An ancestor may explicitly release a stopped or interrupted descendant's ownership. The owner or root can reopen an owned task; any member can reopen an unowned one. Done tasks cannot be claimed until reopened.
129
146
 
130
147
  Include `dependencies` on creation or `edit`. Any member can edit unowned to-do work; only the owner can edit reserved to-do work. In-progress and done tasks cannot be edited. The coordinator rejects unknown dependencies and cycles. An optional `revision` rejects stale mutations.
131
148
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ac-teams",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Small, persistent teams for Pi",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/index.ts CHANGED
@@ -274,7 +274,7 @@ export default function teams(pi: ExtensionAPI) {
274
274
  });
275
275
  function output(data: unknown) { return { content: [{ type: "text" as const, text: JSON.stringify(data) }], details: data }; }
276
276
  const guidance = "Team launches use real long-lived Pi sessions. Idle members count against the shared ceiling. Use stable member/task IDs; query status and history instead of acknowledging notifications. Limits cover only ac-teams, not other launchers or shell commands.";
277
- const taskTrackingGuidance = "Before delegating a deliverable through team_agent, create or reuse a team_task and include its ID in the member's brief. Track independently owned outcomes, not tool calls or procedural steps; do not create one task per teammate by default. Skip tasks for quick lookups, clarification, and brief second opinions unless results need coordination or follow-up. Task owners claim and start their work, then complete it after checking acceptance criteria or report blockers.";
277
+ const taskTrackingGuidance = "Before delegating a deliverable through team_agent, create or reuse a team_task and include its ID in the member's brief. Use one shared task list for your own work and delegated work; do not create one task per teammate by default. Quick lookups and brief second opinions need no separate task unless their results need coordination or follow-up.";
278
278
  pi.registerTool({
279
279
  name: "team_agent", label: "Team agent", description: "Launch/resume Pi members, list/status, stop owned subtrees, change root limits, and explicitly clean stopped worktrees. Create or reuse team_task entries for delegated deliverables; quick lookups need no task unless results need coordination or follow-up.",
280
280
  promptGuidelines: [guidance, taskTrackingGuidance, "Delegation needs the user's authorization. Give each new member a unique descriptive name (one or two lowercase words, hyphenated if two), plus a bounded brief. Names remain stable on resume. Avoid concurrent writers in the same cwd. Worktrees are opt-in."],
@@ -283,11 +283,24 @@ export default function teams(pi: ExtensionAPI) {
283
283
  async execute(_id, args, _signal, _update, ctx) { return output(await handle("agent", args, ctx)); },
284
284
  });
285
285
  pi.registerTool({
286
- name: "team_task", label: "Team task", description: "Track delegated deliverables, not every agent or action. Create or reuse tasks before delegation; quick lookups need no task unless results need coordination or follow-up. Manage shared tasks: create/list/read/edit, claim a reservation, start work, complete, release ownership, or explicitly reopen. Progress is todo/in_progress/done; blockedBy is derived from unfinished dependencies. Mutations support revision checks.",
287
- promptGuidelines: [taskTrackingGuidance, taskRequestGuidance, "Give every task a concise 1–3-word label, alongside its full title and acceptance criteria. Stable team-local numbers are assigned automatically; use UUIDs for API references. Interim and final goals are ordinary tasks. Add dependencies only for real prerequisites, never merely to connect the diagram.", "Claim reserves a to-do task even if blocked; start requires ownership and all dependencies done. Complete requires in-progress work and acceptance=true after checking the criteria. Release clears ownership, returns in-progress work to todo, and leaves done work done. Reopen is explicit and cannot invalidate active or done dependents."],
286
+ name: "team_task", label: "Team task", description: "Plan and track multi-step solo and team work in one shared list. Create one task or a batch with tasks:[{title,...}], list compact summaries, read full details, edit, claim a reservation, start, complete, release, or reopen. Start atomically claims unowned ready work. Progress is todo/in_progress/done; blockedBy is derived from unfinished dependencies. Mutations support revision checks.",
287
+ promptSnippet: "Plan and track multi-step work, alone or with teammates",
288
+ promptGuidelines: [
289
+ "Use team_task before substantial work with 3+ steps, when the user gives an explicit task list, or when coordinating deliverables. This includes your own research, design, implementation, and verification; no teammate is required. Skip single trivial tasks, conversation, and tool-by-tool bookkeeping.",
290
+ "Create the initial plan in one team_task call with tasks:[{title,description},...]. Titles are required; labels and descriptions default from titles. Include acceptance criteria for substantial or delegated work. Dependencies must reference existing task UUIDs; create prerequisites before dependent tasks. Reuse relevant existing tasks rather than duplicating them.",
291
+ "Call team_task start BEFORE beginning a task; it claims unowned ready work atomically. Use claim only to reserve work in advance, including blocked work. Complete each task IMMEDIATELY after checking its result with acceptance=true; never complete partial work or work with unresolved failures. Report blockers. Each agent should normally work on one task at a time; teammates can work in parallel.",
292
+ taskTrackingGuidance, taskRequestGuidance,
293
+ "team_task list returns compact summaries; read a task for its full description and acceptance criteria. Use returned UUIDs for API references and stable task numbers/names when reporting to people. Add dependencies only for real prerequisites, never merely to connect the diagram.",
294
+ "team_task start refuses another owner's task or unfinished dependencies. Complete requires ownership, in-progress work, and acceptance=true. Release clears ownership, returns in-progress work to todo, and leaves done work done. Reopen is explicit and cannot invalidate active or done dependents.",
295
+ ],
288
296
  parameters: TaskSchema,
289
297
  ...teamToolRenderers("team_task"),
290
- async execute(_id, args, _signal, _update, ctx) { return output(await handle("task", args, ctx)); },
298
+ async execute(_id, args, _signal, _update, ctx) {
299
+ const data = await handle("task", args, ctx) as TaskView | { tasks: TaskView[]; total: number };
300
+ const compact = (task: TaskView) => ({ id: task.id, number: task.number, label: task.label, title: task.title, status: task.status, owner: task.owner, revision: task.revision, dependencies: task.dependencies, blockedBy: task.blockedBy });
301
+ const content = args.action === "read" ? data : "tasks" in data ? { tasks: data.tasks.map(compact), total: data.total } : compact(data);
302
+ return { content: [{ type: "text" as const, text: JSON.stringify(content) }], details: data };
303
+ },
291
304
  });
292
305
  pi.registerTool({
293
306
  name: "team_message", label: "Team message", description: "Send a persistent direct/team message or read cursor-paged history. Send returns a receipt; history and search return full messages. New messages queue a compact follow-up notification for each recipient.",
package/src/render.ts CHANGED
@@ -57,7 +57,7 @@ function toolSummary(data: unknown, theme: Theme): string {
57
57
  if (data && typeof data === "object") {
58
58
  const value = data as Record<string, unknown>;
59
59
  if (Array.isArray(value.members)) return preview(value.members, `${value.members.length} members`, theme);
60
- if (Array.isArray(value.tasks)) return preview(value.tasks, `${value.tasks.length} of ${value.total} tasks`, theme);
60
+ if (Array.isArray(value.tasks)) return preview(value.tasks, value.total === undefined ? `${value.tasks.length} tasks` : `${value.tasks.length} of ${value.total} tasks`, theme);
61
61
  const label = value.title ?? value.name ?? value.brief ?? value.text ?? value.query ?? value.id;
62
62
  const status = value.status === undefined ? "" : inline(value.status);
63
63
  const color = status === "done" ? "success"
package/src/schemas.ts CHANGED
@@ -21,14 +21,18 @@ export const AgentSchema = Type.Object({
21
21
  }, { additionalProperties: false, description: "Omit to keep the requester's network access. Children can only narrow it. The model provider stays reachable." })),
22
22
  }, { additionalProperties: false, description: "Launch only: OS-enforced directory access (Docker container). Paths are absolute or cwd-relative directories; write implies read and permits changing those live files; everything else on the host is hidden, and outbound access goes through a proxy that reaches only public addresses. Omit to inherit the requesting member's access; an unsandboxed requester then launches an unsandboxed member. Children can only narrow access. Launch fails if enforcement is unavailable; check team_agent list/limits sandbox first." })),
23
23
  }, { additionalProperties: false });
24
+ const taskFields = {
25
+ title: Type.Optional(Type.String({ minLength: 1, maxLength: 500 })),
26
+ label: Type.Optional(Type.String({ minLength: 1, maxLength: taskLabelMaxLength, pattern: taskLabelPattern.source, description: "Optional 1–3-word label. Derived from title when omitted." })),
27
+ description: Type.Optional(Type.String({ maxLength: 16000, description: "Details and acceptance criteria. Defaults to title; include explicit criteria for substantial or delegated work." })),
28
+ dependencies: Type.Optional(Type.Array(id, { maxItems: 100, uniqueItems: true })),
29
+ };
24
30
  export const TaskSchema = Type.Object({
25
31
  revision: Type.Optional(Type.Integer({ minimum: 1 })), acceptance: Type.Optional(Type.Boolean()),
26
32
  offset: Type.Optional(Type.Integer({ minimum: 0 })), limit: Type.Optional(Type.Integer({ minimum: 1, maximum: 100 })),
27
33
  action: Type.Union(["create", "list", "read", "edit", "claim", "start", "release", "complete", "reopen"].map(v => Type.Literal(v))),
28
- id: Type.Optional(id), title: Type.Optional(Type.String({ minLength: 1, maxLength: 500 })),
29
- label: Type.Optional(Type.String({ minLength: 1, maxLength: taskLabelMaxLength, pattern: taskLabelPattern.source, description: "A concise 1–3-word task label. Defaults to title only when title satisfies this limit." })),
30
- description: Type.Optional(Type.String({ maxLength: 16000 })),
31
- dependencies: Type.Optional(Type.Array(id, { maxItems: 100, uniqueItems: true })),
34
+ id: Type.Optional(id), ...taskFields,
35
+ tasks: Type.Optional(Type.Array(Type.Object({ ...taskFields, title: Type.String({ minLength: 1, maxLength: 500 }) }, { additionalProperties: false }), { minItems: 1, maxItems: 100, description: "Create several tasks atomically. Use instead of top-level task fields. Dependencies must refer to existing task IDs, not items in this batch." })),
32
36
  }, { additionalProperties: false });
33
37
  export const MessageSchema = Type.Object({
34
38
  action: Type.Union(["send", "history", "search"].map(v => Type.Literal(v))),
package/src/store.ts CHANGED
@@ -53,6 +53,10 @@ function taskView(state: TeamState, task: Task): TaskView {
53
53
  return structuredClone({ ...task, blockedBy: task.dependencies.filter(id => state.tasks[id]?.status !== "done") });
54
54
  }
55
55
 
56
+ function taskLabel(title: string): string {
57
+ return stripVTControlCharacters(title).replace(/[\x00-\x1f\x7f-\x9f]/g, " ").trim().split(/\s+/).slice(0, 3).join(" ").slice(0, taskLabelMaxLength).trim();
58
+ }
59
+
56
60
  function migrate(state: unknown): boolean {
57
61
  if (!object(state) || ![1, 2, 3].includes(state.version as number)) return false;
58
62
  if (state.version !== 3) migrateTasks(state);
@@ -78,7 +82,7 @@ function migrateTasks(state: Record<string, unknown>): void {
78
82
  else task.status = "done";
79
83
  }
80
84
  task.number = ++number;
81
- task.label = stripVTControlCharacters(task.title).replace(/[\x00-\x1f\x7f-\x9f]/g, " ").trim().split(/\s+/).slice(0, 3).join(" ").slice(0, taskLabelMaxLength).trim() || "Task";
85
+ task.label = taskLabel(task.title) || "Task";
82
86
  }
83
87
  }
84
88
 
@@ -273,6 +277,7 @@ export class Store {
273
277
 
274
278
  task(actor: string, args: TaskArgs): TaskView | { tasks: TaskView[]; total: number } {
275
279
  requireValue(!this.closed && Object.hasOwn(this.state.members, actor), "Unknown actor or closed store");
280
+ requireValue(args.tasks === undefined || args.action === "create", "tasks is only valid for create");
276
281
  if (args.action === "list") {
277
282
  const tasks = Object.values(this.state.tasks);
278
283
  const offset = args.offset ?? 0, limit = args.limit ?? 100;
@@ -285,13 +290,24 @@ export class Store {
285
290
  }
286
291
  return this.update(state => {
287
292
  if (args.action === "create") {
288
- requireValue(text(args.title, 500) && text(args.description), "Task requires a title (max 500) and description (max 16000)");
289
- const label = args.label ?? args.title;
290
- requireValue(text(label, taskLabelMaxLength) && taskLabelPattern.test(label), "Task requires a 1–3-word label (max 60 characters); a concise title can serve as the label");
291
- const number = Object.values(state.tasks).reduce((max, task) => Math.max(max, task.number), 0) + 1;
292
- const task: Task = { id: randomUUID(), number, label, revision: 1, creator: actor, title: args.title, description: args.description, dependencies: args.dependencies === undefined ? [] : structuredClone(args.dependencies), status: "todo" };
293
- state.tasks[task.id] = task;
294
- return taskView(state, task);
293
+ requireValue(args.tasks === undefined || (Array.isArray(args.tasks) && args.tasks.length > 0 && args.tasks.length <= 100), "Batch create requires 1-100 tasks");
294
+ requireValue(args.tasks === undefined || [args.title, args.label, args.description, args.dependencies].every(value => value === undefined), "Use tasks or top-level task fields, not both");
295
+ const inputs = args.tasks ?? [args];
296
+ let number = Object.values(state.tasks).reduce((max, task) => Math.max(max, task.number), 0);
297
+ const existing = new Set(Object.keys(state.tasks));
298
+ const created = inputs.map(input => {
299
+ requireValue(object(input) && text(input.title, 500), "Task requires a title (max 500)");
300
+ const description = input.description === undefined ? input.title : input.description;
301
+ requireValue(text(description), "Task requires a description (max 16000)");
302
+ const label = input.label === undefined ? taskLabel(input.title) : input.label;
303
+ requireValue(text(label, taskLabelMaxLength) && taskLabelPattern.test(label), "Task requires a 1–3-word label (max 60 characters)");
304
+ const dependencies = input.dependencies === undefined ? [] : structuredClone(input.dependencies);
305
+ requireValue(Array.isArray(dependencies) && dependencies.length <= 100 && dependencies.every(dep => existing.has(dep)), "Dependencies must refer to existing tasks");
306
+ const task: Task = { id: randomUUID(), number: ++number, label, revision: 1, creator: actor, title: input.title, description, dependencies, status: "todo" };
307
+ state.tasks[task.id] = task;
308
+ return taskView(state, task);
309
+ });
310
+ return args.tasks === undefined ? created[0] : { tasks: created, total: created.length };
295
311
  }
296
312
  requireValue(args.id && Object.hasOwn(state.tasks, args.id), "Unknown task");
297
313
  const task = state.tasks[args.id];
@@ -308,10 +324,11 @@ export class Store {
308
324
  requireValue(!task.owner, `Task is already owned by ${task.owner}`);
309
325
  task.owner = actor;
310
326
  } else if (args.action === "start") {
311
- requireValue(task.owner === actor, "Only the owner can start this task; claim it first");
327
+ requireValue(!task.owner || task.owner === actor, "Only the owner can start this task");
312
328
  requireValue(task.status === "todo", "Only to-do tasks can be started");
313
329
  const blocked = taskView(state, task).blockedBy;
314
330
  requireValue(blocked.length === 0, `Task is blocked by unfinished dependencies: ${blocked.join(", ")}`);
331
+ task.owner = actor;
315
332
  task.status = "in_progress";
316
333
  } else if (args.action === "complete") {
317
334
  requireValue(task.owner === actor, "Only the owner can complete this task");
@@ -9,8 +9,8 @@ export function summaryTasks(tasks: TaskView[]): TaskView[] {
9
9
  if (task.status !== "done") for (const id of task.blockedBy) dependents.set(id, (dependents.get(id) ?? 0) + 1);
10
10
  }
11
11
  const rank = (task: TaskView) => task.status === "in_progress" ? 0
12
- : task.status === "done" ? 3 : task.blockedBy.length ? 2 : dependents.has(task.id) ? 1 : 4;
13
- return tasks.filter(task => rank(task) < 4).sort((a, b) => rank(a) - rank(b)
12
+ : task.status === "done" ? 4 : task.blockedBy.length ? 3 : dependents.has(task.id) ? 1 : 2;
13
+ return [...tasks].sort((a, b) => rank(a) - rank(b)
14
14
  || (a.status === "done" && b.status === "done" ? (b.completedAt ?? -1) - (a.completedAt ?? -1) || b.number - a.number
15
15
  : (dependents.get(b.id) ?? 0) - (dependents.get(a.id) ?? 0) || a.number - b.number)).slice(0, 5);
16
16
  }
package/src/types.ts CHANGED
@@ -97,7 +97,14 @@ export interface TeamState {
97
97
  tasks: Record<string, Task>;
98
98
  messages: Message[];
99
99
  }
100
+ export interface TaskInput {
101
+ title: string;
102
+ label?: string;
103
+ description?: string;
104
+ dependencies?: string[];
105
+ }
100
106
  export interface TaskArgs {
107
+ tasks?: TaskInput[];
101
108
  action: "create" | "list" | "read" | "edit" | "claim" | "start" | "release" | "complete" | "reopen";
102
109
  revision?: number;
103
110
  acceptance?: boolean;