Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

fix(server,web): a queued follow-up is recallable however it was queued (#485)

Yaowei Zheng522990955707
diff --git a/changelog/unreleased/2026-08-27-follow-up-recall.md b/changelog/unreleased/2026-08-27-follow-up-recall.md
new file mode 100644
index 00000000..707ba7dc
--- /dev/null
+++ b/changelog/unreleased/2026-08-27-follow-up-recall.md
@@ -0,0 +1,28 @@
+# Queued follow-ups are recallable however they were queued
+
+- **Date:** 2026-08-27
+- **Type:** fix
+- **Scope:** `server`, `web`, `docs`
+- **PR:** [#485](https://github.com/Prism-Shadow/penguin-harness/pull/485)
+
+[中文版](2026-08-27-follow-up-recall.zh.md)
+
+A message sent to a busy Session from a bound chat channel joined the follow-up queue without
+the content a recall hands back, so the Web App drew its queued line empty and its recall
+button answered "this message already went out" while the message was still waiting. The
+queue now keeps that content for every entry, and the two recall endpoints stopped sharing one
+error code.
+
+## Details
+
+- `startTask` derives a queued follow-up's recall content from the input when the caller
+ supplies none, so a follow-up queued straight through the manager — the path the messaging
+ bridge takes for Feishu and Telegram — carries its text and inline images like one posted
+ over HTTP. The queued line in the composer shows what is waiting, and its recall button
+ withdraws it.
+- `DELETE /api/sessions/:id/follow-ups/:followUpId` refuses only ids that are no longer in the
+ queue, and refuses them as 409 `follow_up_started`. `DELETE /steer/:steerId` keeps
+ `not_pending` for a steering message the model already received.
+- The Web App's error copy split with the codes: a recalled-too-late follow-up reads "This
+ follow-up already started and can no longer be recalled", a recalled-too-late steering
+ message "This steering message already reached the model and can no longer be recalled".
diff --git a/changelog/unreleased/2026-08-27-follow-up-recall.zh.md b/changelog/unreleased/2026-08-27-follow-up-recall.zh.md
new file mode 100644
index 00000000..95931a98
--- /dev/null
+++ b/changelog/unreleased/2026-08-27-follow-up-recall.zh.md
@@ -0,0 +1,22 @@
+# 排队中的跟进消息一律可撤回
+
+- **Date:** 2026-08-27
+- **Type:** fix
+- **Scope:** `server`, `web`, `docs`
+- **PR:** [#485](https://github.com/Prism-Shadow/penguin-harness/pull/485)
+
+[English](2026-08-27-follow-up-recall.md)
+
+从绑定的聊天渠道发往繁忙 Session 的消息进入跟进队列时,不带撤回所需的原始内容,于是 Web App 中
+这条排队行内容为空,撤回按钮又答以「该消息已发出」——而消息其实仍在等待。现在队列为每一条条目都
+保留该内容,两个撤回端点也不再共用同一个错误码。
+
+## 细节
+
+- 调用方未提供时,`startTask` 从输入本身推导跟进消息的撤回内容;因此直接经 manager 入队的跟进消息
+ ——飞书与 Telegram 走的 messaging bridge 路径——与经 HTTP 提交的一样带有文本和内联图片。输入框中的
+ 排队行会显示等待中的内容,其撤回按钮也能真正撤回。
+- `DELETE /api/sessions/:id/follow-ups/:followUpId` 仅拒绝已不在队列中的 id,并以 409
+ `follow_up_started` 拒绝;`DELETE /steer/:steerId` 对已被模型收到的插话仍返回 `not_pending`。
+- Web App 的提示文案随错误码分开:撤回过晚的跟进消息显示「该跟进消息已开始发送,无法撤回。」,
+ 撤回过晚的插话显示「该插话已随本轮送达模型,无法撤回。」。
diff --git a/packages/docs/content/server-api.en.md b/packages/docs/content/server-api.en.md
index 16825578..5a540465 100644
--- a/packages/docs/content/server-api.en.md
+++ b/packages/docs/content/server-api.en.md
@@ -227,7 +227,7 @@ The paths below omit the `/api/sessions/:sessionId` prefix. For the storage mode
| POST | /tasks | Start a Task: `{input: TaskInputPart[], thinkingLevel?, queueIfBusy?}` → 202. With `queueIfBusy`, a busy session holds the input as a follow-up (`queued: true`) and auto-starts it as an ordinary next task once idle; `task_state` events report the queued count. `file` input parts are written to the Session scratchpad and handed to the model as `[attached file: <path>]` lines (see the request body below). With `goal: {budget?}` the input starts a goal loop instead: it must carry non-empty text (an image alone states no objective), any images it carries fold into the objective as scratchpad path lines whatever the model's vision, and `file` parts are refused — nothing folds them into a re-injected objective — see [Goal mode](/goal-mode) |
| POST | /steer | Mid-run steering: `{text, images?}` queues a message for the running Task (delivered between turns as a standalone `[user_steering]` user message, with its images right behind it) → 202; either field can carry the message on its own, but a request with neither is a 400; 409 `not_running` when no Task is in progress |
| DELETE | /steer/:steerId | Recall an undelivered steering message (ids ride `task_state`'s `pendingSteering`): withdraws it from the queue → 200 with its original content `{text, images, files}` (files read back from the scratchpad as data URLs, their disk copies deleted) so the composer can restore it for editing; 409 `not_pending` once it was delivered to the model |
-| DELETE | /follow-ups/:followUpId | Recall a queued follow-up task (ids ride `task_state`'s `pendingFollowUps`): removes it before it auto-starts → 200 with its original content `{text, images, files, thinkingLevel?}`; 409 `not_pending` once it already started |
+| DELETE | /follow-ups/:followUpId | Recall a queued follow-up task (ids ride `task_state`'s `pendingFollowUps`): removes it before it auto-starts → 200 with its original content `{text, images, files, thinkingLevel?}` — every queued follow-up carries that content, however it was queued; 409 `follow_up_started` once it already started |
| POST | /approvals/:toolCallId | Approval decision: `{decision}` is `allow` or `deny` → 204 |
| POST | /abort | Interrupt the current Task: 202 when triggered, 204 when idle |
| POST | /retry-now | "Retry now" on the reconnect countdown: skips the in-progress backoff wait, firing the next retry immediately (attempt counter unchanged) → 200 `{skipped}` — `skipped:false` is the benign "no wait in progress" case, never an error |
diff --git a/packages/docs/content/server-api.zh.md b/packages/docs/content/server-api.zh.md
index 5c0a5693..0a137544 100644
--- a/packages/docs/content/server-api.zh.md
+++ b/packages/docs/content/server-api.zh.md
@@ -227,7 +227,7 @@ Trace 下载对任意成员开放;导入仅限 owner(同 Agent 快照导入
| POST | /tasks | 发起 Task:`{input: TaskInputPart[], thinkingLevel?, queueIfBusy?}` → 202。带 `queueIfBusy` 时,运行中的 Session 会把输入暂存为跟进消息(`queued: true`),空闲后按序自动作为普通 Task 发出;`task_state` 事件携带排队数。`file` 类型的输入会写入 Session scratchpad,以 `[attached file: <路径>]` 行交给模型(见下方请求体)。带 `goal: {budget?}` 时该输入转为发起目标循环:必须含非空文字(一张图说明不了目标),随行的图片一律折叠成 scratchpad 路径行写入目标文本、与模型是否支持视觉无关,而 `file` 会被拒绝——没有东西能把它折进每轮重注入的目标里——见[目标模式](/goal-mode) |
| POST | /steer | 运行中插话:`{text, images?}` 为运行中的 Task 排队一条消息(作为独立的 `[user_steering]` 用户消息随下一轮送达,图片紧随其后)→ 202;两个字段任一非空即可成消息,都为空则 400;无 Task 运行返回 409 `not_running` |
| DELETE | /steer/:steerId | 撤回一条尚未送达的插话(id 随 `task_state` 的 `pendingSteering` 下发):从队列中撤出 → 200,返回其原始内容 `{text, images, files}`(文件从 scratchpad 读回为 data URL,磁盘副本随之删除),供输入框恢复编辑;已送达模型则 409 `not_pending` |
-| DELETE | /follow-ups/:followUpId | 撤回一条排队中的跟进消息(id 随 `task_state` 的 `pendingFollowUps` 下发):在自动发出前移除 → 200,返回其原始内容 `{text, images, files, thinkingLevel?}`;已自动发出则 409 `not_pending` |
+| DELETE | /follow-ups/:followUpId | 撤回一条排队中的跟进消息(id 随 `task_state` 的 `pendingFollowUps` 下发):在自动发出前移除 → 200,返回其原始内容 `{text, images, files, thinkingLevel?}`——排队中的跟进消息一律带有该内容,与其入队路径无关;已自动发出则 409 `follow_up_started` |
| POST | /approvals/:toolCallId | 审批决定:`{decision}` 取 `allow` 或 `deny` → 204 |
| POST | /abort | 中断当前 Task:已触发返回 202,无任务返回 204 |
| POST | /retry-now | 重连倒计时上的「立即重试」:跳过进行中的退避等待、立刻发起下一次重试(重试计数不变)→ 200 `{skipped}`——`skipped:false` 表示当前没有等待可跳过(良性空操作,非错误) |
diff --git a/packages/server/src/api/types.ts b/packages/server/src/api/types.ts
index 03315764..e77f52f2 100644
--- a/packages/server/src/api/types.ts
+++ b/packages/server/src/api/types.ts
@@ -1549,9 +1549,10 @@ export interface SubagentMessageResponse {
* DELETE /api/sessions/:id/follow-ups/:followUpId: the withdrawn message's original content,
* for the composer to restore into the input box for editing and resending (#287). File
* attachments are read back from the Session scratchpad (then deleted from it); one that
- * disappeared meanwhile is omitted rather than failing the recall. 409 `not_pending` when
- * the entry is no longer queued — steering already delivered to the model, or a follow-up
- * already auto-started (or unknown id either way).
+ * disappeared meanwhile is omitted rather than failing the recall. 409 when the entry is no
+ * longer queued, with a code per endpoint because the reasons read differently to the user:
+ * `not_pending` — the steering message already reached the model; `follow_up_started` — the
+ * follow-up already auto-started as a task of its own (unknown ids land on the same code).
*/
export interface RecalledMessageResponse {
text: string;
diff --git a/packages/server/src/http/routes/sessions.ts b/packages/server/src/http/routes/sessions.ts
index 405ff721..4728e1f8 100644
--- a/packages/server/src/http/routes/sessions.ts
+++ b/packages/server/src/http/routes/sessions.ts
@@ -1061,7 +1061,10 @@ export function sessionsRoutes(deps: AppDeps): Hono<AppEnv> {
// Recall a queued follow-up task back to the composer (#287): removes it from the queue
// before it auto-starts and returns its original content (with the thinking level it was
- // queued with). 409 not_pending once it already started (or the id is unknown).
+ // queued with). Every queued follow-up carries that content, whichever path queued it, so
+ // being in the queue is the whole condition. 409 follow_up_started once it already
+ // started (or the id is unknown) — steering's not_pending is a different sentence to the
+ // user and keeps its own code.
app.delete("/:sessionId/follow-ups/:followUpId", async (c) => {
const row = resolveSession(c);
const { recall, thinkingLevel } = deps.manager.recallFollowUp(
diff --git a/packages/server/src/runtime/session-manager.ts b/packages/server/src/runtime/session-manager.ts
index bf4ef193..eee0c18d 100644
--- a/packages/server/src/runtime/session-manager.ts
+++ b/packages/server/src/runtime/session-manager.ts
@@ -331,8 +331,14 @@ interface QueuedFollowUp {
id: string;
input: OmniMessage[];
thinkingLevel?: ThinkingLevelName;
- /** Original content for recall; absent when the queueing path predates or bypasses the route (recall then returns 409). */
- recall?: RecallStore;
+ /**
+ * Original content for recall, and the content `task_state` shows on the queued line.
+ * Always present: a caller that knows more than the input carries (the HTTP route, which
+ * also knows where the file attachments landed on disk) supplies it, and every other
+ * queueing path gets it derived from the input — what can be recalled must not depend on
+ * which door the message came through.
+ */
+ recall: RecallStore;
}
/** One undelivered steering entry: the display info broadcast on task_state, plus what a recall needs — the exact input list core queued (its unsteer handle) and the original content. */
@@ -410,16 +416,42 @@ function agentKey(projectId: string, agentId: string): string {
return `${projectId}\0${agentId}`;
}
-/** The `task_state` display info of one queued follow-up (see PendingFollowUpInfo); an entry queued without a recall store truthfully reports empty content. */
+/** The `task_state` display info of one queued follow-up (see PendingFollowUpInfo). */
function followUpInfo(f: QueuedFollowUp): PendingFollowUpInfo {
return {
id: f.id,
- text: f.recall?.text ?? "",
- images: f.recall?.images.length ?? 0,
- files: f.recall?.files.length ?? 0,
+ text: f.recall.text,
+ images: f.recall.images.length,
+ files: f.recall.files.length,
};
}
+/**
+ * The recall store of a queued input whose caller supplied none (the messaging bridge's
+ * inbound path): everything recallable is already in the input itself — the user's text and
+ * the inline image URLs, the only two shapes a task input is ever built from. `files` is
+ * empty because only the HTTP route writes file attachments to the Session scratchpad, and
+ * only it knows the paths they landed on.
+ */
+function recallStoreOf(input: OmniMessage[]): RecallStore {
+ const text = input
+ .filter(isPlainText("user"))
+ .map((m) => m.payload.text)
+ .join("\n");
+ const images: string[] = [];
+ for (const msg of input) {
+ const payload = msg.payload as { type?: string; image_url?: unknown };
+ if (
+ msg.type === "model_msg" &&
+ payload.type === "image_url" &&
+ typeof payload.image_url === "string"
+ ) {
+ images.push(payload.image_url);
+ }
+ }
+ return { text, images, files: [] };
+}
+
/** If msg is a run_subagent tool call carrying a `prompt`, return its id and prompt (for use as the subagent's title); otherwise null. */
/** Whether this main-stream message is a delivered `[user_steering]` user text (one per queued steering entry, see core's steeringMessages). */
function isDeliveredSteering(msg: OmniMessage): boolean {
@@ -789,7 +821,11 @@ export class SessionManager {
* With `queueIfBusy`, a busy session (running/compacting) enqueues the input as a
* follow-up instead of 409: it auto-starts as an ordinary next task once the session
* returns to idle (`queued: true` in the result; see startQueuedFollowUp), keeping its
- * thinkingLevel for that auto-start.
+ * thinkingLevel for that auto-start. `opts.recall` is that queued message's original
+ * content — optional, because only the HTTP route knows the parts of it the input does
+ * not carry (the pre-attachment text and where each file landed on disk); every other
+ * caller's store is read off the input, so a queued follow-up is recallable and shows
+ * its content whichever path queued it.
*/
async startTask(
sessionId: string,
@@ -806,8 +842,10 @@ export class SessionManager {
id: randomUUID(),
input,
...(opts.thinkingLevel !== undefined ? { thinkingLevel: opts.thinkingLevel } : {}),
- // The original content rides the queue so a recall can hand it back (see recallFollowUp).
- ...(opts.recall !== undefined ? { recall: opts.recall } : {}),
+ // The original content rides the queue so a recall can hand it back, and so the
+ // queued line shows what is waiting (see recallFollowUp). Callers that know more
+ // than the input carries pass their own; the rest get it read off the input.
+ recall: opts.recall ?? recallStoreOf(input),
});
entry.lastActivityMs = Date.now();
// Re-publish the current state so subscribers pick up the new queued count (the
@@ -1173,9 +1211,12 @@ export class SessionManager {
/**
* Recall a queued follow-up task (#287): remove it from the queue before it auto-starts,
* re-broadcast state, and hand back its original content (plus the thinking level it was
- * queued with). 409 `not_pending` when the id is not in the queue — it already
- * auto-started (or the runtime was evicted/restarted, which empties the queue) — or the
- * entry has no recall store to give back.
+ * queued with). Being in the queue is the whole condition — every queued entry carries a
+ * recall store (see QueuedFollowUp.recall), so no queued message is ever refused. 409
+ * `follow_up_started` when the id is not in the queue: it already auto-started, or the
+ * runtime was released and took the queue with it. Its own code, distinct from steering's
+ * `not_pending`, because the two mean different things to the user — a follow-up became a
+ * task of its own, a steering message reached the model mid-run.
*/
recallFollowUp(
sessionId: string,
@@ -1184,10 +1225,10 @@ export class SessionManager {
const entry = this.entries.get(sessionId);
const i = entry?.followUps.findIndex((f) => f.id === followUpId) ?? -1;
const queued = i >= 0 ? entry!.followUps[i]! : undefined;
- if (!entry || !queued?.recall) {
+ if (!entry || !queued) {
throw new HttpError(
409,
- "not_pending",
+ "follow_up_started",
"This follow-up message already started and can no longer be recalled.",
);
}
diff --git a/packages/server/test/followup.test.ts b/packages/server/test/followup.test.ts
index cb4face2..72279b39 100644
--- a/packages/server/test/followup.test.ts
+++ b/packages/server/test/followup.test.ts
@@ -3,11 +3,12 @@
* `queueIfBusy`):
* - busy session → 202 `{queued: true}`, input held server-side, auto-started as an
* ordinary task once the current run finishes;
- * - idle session → the flag is a no-op (`queued: false`, task starts directly).
+ * - idle session → the flag is a no-op (`queued: false`, task starts directly);
+ * - one queued input starts exactly one task, and recall works whichever path queued it.
* (The queued count on task_state events is covered by the session-manager unit tests.)
*/
import { afterEach, beforeEach, describe, expect, it } from "vitest";
-import { approvalDecision, assistantText, toolCall } from "@prismshadow/penguin-core";
+import { approvalDecision, assistantText, toolCall, userText } from "@prismshadow/penguin-core";
import type { ApproveFn, OmniMessage } from "@prismshadow/penguin-core";
import type { TaskCreateResponse } from "../src/api/types.js";
import type { SessionRow } from "../src/db/repos/sessions.js";
@@ -139,10 +140,13 @@ describe("follow-up queue route", () => {
await waitFor(() => runs.length === 2);
expect(runs[1]).toEqual(["follow-up 2"]);
- // Gone (recalled or auto-started) → 409 not_pending.
+ // Gone (recalled or auto-started) → 409 follow_up_started, steering's not_pending being
+ // a different sentence to the user.
const again = await api.delete(`/api/sessions/${SID}/follow-ups/${pending[0]!.id}`);
expect(again.status).toBe(409);
- expect(((await again.json()) as { error: { code: string } }).error.code).toBe("not_pending");
+ expect(((await again.json()) as { error: { code: string } }).error.code).toBe(
+ "follow_up_started",
+ );
await waitFor(() => t.deps.manager.pendingApprovalCount(SID) === 1);
t.deps.manager.decideApproval(SID, "tc-fu", "allow");
@@ -232,4 +236,75 @@ describe("follow-up queue route", () => {
// emptied queue, so the entry disappears there without a reload.
expect(lastQueued).toBe(0);
});
+
+ it("one queued follow-up starts exactly one task, whether the run completes or is aborted", async () => {
+ // The whole point of the queue: a message posted while a Task runs is delivered once.
+ // drive's finally is the only drain trigger and it shifts under the session lock, so a
+ // run's end can never launch the same queued input twice — pin that for both ways a run
+ // can end, each with something actually queued behind it (a queued follow-up
+ // deliberately survives an abort of the run under way).
+ await api.post(`/api/sessions/${SID}/tasks`, { input: [{ type: "text", text: "task 1" }] });
+ await waitFor(() => t.deps.manager.pendingApprovalCount(SID) === 1);
+ await api.post(`/api/sessions/${SID}/tasks`, {
+ input: [{ type: "text", text: "after a finish" }],
+ queueIfBusy: true,
+ });
+ expect(t.deps.manager.pendingFollowUpCount(SID)).toBe(1);
+
+ // Run 1 completes: the follow-up becomes run 2 and the queue empties.
+ t.deps.manager.decideApproval(SID, "tc-fu", "allow");
+ await waitFor(() => runs.length === 2);
+ expect(t.deps.manager.pendingFollowUpCount(SID)).toBe(0);
+
+ // Queue behind run 2, then abort it rather than letting it finish — the other exit from
+ // drive's finally, this time with a queue to drain. The abort discards the run under
+ // way, never the tasks queued behind it, so exactly one third run starts.
+ await waitFor(() => t.deps.manager.pendingApprovalCount(SID) === 1);
+ await api.post(`/api/sessions/${SID}/tasks`, {
+ input: [{ type: "text", text: "after an abort" }],
+ queueIfBusy: true,
+ });
+ expect(t.deps.manager.pendingFollowUpCount(SID)).toBe(1);
+ await api.post(`/api/sessions/${SID}/abort`, {});
+ await waitFor(() => runs.length === 3);
+ // Settle window: a second launch rides the same lock chain and would land well inside it.
+ await new Promise((resolve) => setTimeout(resolve, 50));
+ expect(runs).toEqual([["task 1"], ["after a finish"], ["after an abort"]]);
+ expect(t.deps.manager.pendingFollowUpCount(SID)).toBe(0);
+
+ // Settle the last run so teardown does not race it.
+ await waitFor(() => t.deps.manager.pendingApprovalCount(SID) === 1);
+ t.deps.manager.decideApproval(SID, "tc-fu", "allow");
+ await waitFor(() => t.deps.manager.statusOf(SID) === "idle");
+ });
+
+ it("recall (#287) works on a follow-up queued straight through the manager (the messaging bridge's path)", async () => {
+ await api.post(`/api/sessions/${SID}/tasks`, { input: [{ type: "text", text: "task 1" }] });
+ await waitFor(() => t.deps.manager.pendingApprovalCount(SID) === 1);
+
+ // What the messaging bridge does with a Feishu/Telegram message on a busy Session: the
+ // manager API directly, with no recall store of its own (only the HTTP route knows the
+ // parts of one the input does not carry). The queued entry must still show its content
+ // and still be recallable — a queued message's recallability cannot depend on which
+ // door it came through.
+ const queued = await t.deps.manager.startTask(SID, [userText("from the chat channel")], {
+ queueIfBusy: true,
+ });
+ expect(queued.queued).toBe(true);
+ const pending = t.deps.manager.pendingFollowUpsOf(SID);
+ expect(pending).toEqual([
+ { id: expect.any(String), text: "from the chat channel", images: 0, files: 0 },
+ ]);
+
+ const res = await api.delete(`/api/sessions/${SID}/follow-ups/${pending[0]!.id}`);
+ expect(res.status).toBe(200);
+ expect(await res.json()).toEqual({ text: "from the chat channel", images: [], files: [] });
+ expect(t.deps.manager.pendingFollowUpCount(SID)).toBe(0);
+
+ // Recalled means never started: run 1 stays the only run.
+ t.deps.manager.decideApproval(SID, "tc-fu", "allow");
+ await waitFor(() => t.deps.manager.statusOf(SID) === "idle");
+ await new Promise((resolve) => setTimeout(resolve, 50));
+ expect(runs).toEqual([["task 1"]]);
+ });
});
diff --git a/packages/web/src/api/endpoints.ts b/packages/web/src/api/endpoints.ts
index e3269e91..3e42dfc1 100644
--- a/packages/web/src/api/endpoints.ts
+++ b/packages/web/src/api/endpoints.ts
@@ -671,7 +671,7 @@ export const recallSteer = (sessionId: string, steerId: string) =>
{ method: "DELETE" },
);
-/** Recall a queued follow-up task back to the composer (#287): returns its original content (+ queued thinking level); 409 not_pending once it already auto-started. */
+/** Recall a queued follow-up task back to the composer (#287): returns its original content (+ queued thinking level); 409 follow_up_started once it already auto-started. */
export const recallFollowUp = (sessionId: string, followUpId: string) =>
apiFetch<RecalledMessageResponse>(
`/api/sessions/${encodeURIComponent(sessionId)}/follow-ups/${encodeURIComponent(followUpId)}`,
diff --git a/packages/web/src/features/chat/chat-page.tsx b/packages/web/src/features/chat/chat-page.tsx
index be6c88cc..7661d08b 100644
--- a/packages/web/src/features/chat/chat-page.tsx
+++ b/packages/web/src/features/chat/chat-page.tsx
@@ -1171,9 +1171,10 @@ export function ChatPage() {
);
// Recall a queued message back into the composer (#287): the DELETE returns the original
- // content (text / images / files) and the input area restores it as the draft. A 409
- // not_pending (steering already delivered, follow-up already started) surfaces as a toast;
- // the queued hint retires on its own via the re-broadcast task_state.
+ // content (text / images / files) and the input area restores it as the draft. A 409 —
+ // not_pending (steering already delivered) or follow_up_started (the follow-up already
+ // became a task) — surfaces as a toast, each with its own sentence; the queued hint
+ // retires on its own via the re-broadcast task_state.
const onRecallSteering = useCallback(
async (steerId: string) => {
if (!selected) return null;
diff --git a/packages/web/src/lib/strings-en.ts b/packages/web/src/lib/strings-en.ts
index 6a5c9c1b..e9d734bc 100644
--- a/packages/web/src/lib/strings-en.ts
+++ b/packages/web/src/lib/strings-en.ts
@@ -2051,7 +2051,8 @@ Scenarios:
unknown_skill: "This skill is not in the library.",
skill_too_large: "This skill directory exceeds the import limits.",
file_not_found: "This file no longer exists.",
- not_pending: "This message already went out and can no longer be recalled.",
+ not_pending: "This steering message already reached the model and can no longer be recalled.",
+ follow_up_started: "This follow-up already started and can no longer be recalled.",
file_too_large: "The file is too large.",
too_many_files: "Too many files attached to one message.",
payload_too_large: "The request is too large.",
diff --git a/packages/web/src/lib/strings.ts b/packages/web/src/lib/strings.ts
index b94da347..a4e68bca 100644
--- a/packages/web/src/lib/strings.ts
+++ b/packages/web/src/lib/strings.ts
@@ -2016,7 +2016,8 @@ Benchmark:
unknown_skill: "该技能不在技能库中。",
skill_too_large: "该技能目录过大,超出了导入限制。",
file_not_found: "该文件已不存在。",
- not_pending: "该消息已发出,无法撤回。",
+ not_pending: "该插话已随本轮送达模型,无法撤回。",
+ follow_up_started: "该跟进消息已开始发送,无法撤回。",
file_too_large: "文件过大。",
too_many_files: "一条消息附加的文件过多。",
payload_too_large: "请求体过大。",