coder / coder/create-task-action

Resume existing task instead of sending new input

未关闭
#15 0 条评论 1 个 reaction 已指派 1 人 已被 @johnstcn 认领 在 GitHub 查看
主要语言
TypeScript
星标
2
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

Currently, when the create-task action finds an existing task with the same name, it waits for the task to become active/idle and then sends the prompt as new input via `sendTaskInput`. This does not resume the original task's work — it gives the task a brand new instruction.

The action should attempt to resume the existing task (i.e. continue/retry the original work) rather than just sending new input to it.

## Current Behavior

1. `getTask()` finds an existing task by name
2. `waitForTaskActive()` waits for the task to be active and idle
3. `sendTaskInput()` sends the prompt as new input to the existing task
4. Returns `taskCreated: false`

## Expected Behavior

When an existing task is found, the action should attempt to resume/retry the task's original work.

---

Created on behalf of @johnstcn

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。