@foxden-app/foxclaw 0.5.9 → 0.5.10

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable FoxClaw changes are listed here. Each release note is bilingual so GitHub Releases and the npm package are useful to both Chinese and English readers.
4
4
 
5
+ ## 0.5.10 - 2026-06-08
6
+
7
+ ### 中文
8
+ - Telegram 输入队列改为 SQLite 持久化 FIFO,FoxClaw 重启后不再丢失排队中的 Codex 请求,并在 `/status` 中显示排队数量。
9
+ - Telegram 图片和文件会先进入附件暂存区,支持媒体组归并、下一条文字自动带附件发给 Codex,以及“分析 / 清空”按钮操作。
10
+ - 引导式 Plan 会话现在会持久化并在重启后恢复,减少长任务或确认流程被服务重启打断的风险。
11
+ - `/update` 完成回报会从已安装包的 `CHANGELOG.md` 读取当前版本更新内容,让 Telegram 里直接看到这次升级改了什么。
12
+
13
+ ### English
14
+ - Replaced the in-memory Telegram prompt queue with a persisted SQLite FIFO so queued Codex requests survive FoxClaw restarts, and `/status` now reports queued turn count.
15
+ - Telegram photos and files are staged before dispatch, with media-group merging, next-message attachment consumption, and Analyze/Clear buttons.
16
+ - Guided Plan sessions are persisted and restored after restart, reducing interruption risk for long-running or confirmation-based flows.
17
+ - `/update` completion reports now read the installed package `CHANGELOG.md` entry for the target version so Telegram shows what changed in the upgrade.
18
+
5
19
  ## 0.5.9 - 2026-06-07
6
20
 
7
21
  ### 中文
@@ -50,11 +50,9 @@ export declare class BridgeSessionCore {
50
50
  private activeTurns;
51
51
  private activeTurnsByTurnId;
52
52
  private observedThreadWatchers;
53
- private queuedPrompts;
54
53
  private pendingTurnErrors;
55
54
  private pendingUserInputs;
56
55
  private pendingMcpElicitations;
57
- private pendingPlanImplementations;
58
56
  private pendingLoginsByScope;
59
57
  private pendingLoginScopesById;
60
58
  private pendingAuthAddsByLoginId;
@@ -159,6 +157,8 @@ export declare class BridgeSessionCore {
159
157
  private maybeSendPlanImplementationPrompt;
160
158
  private findPendingPlanImplementation;
161
159
  private clearPlanImplementationPromptsForScope;
160
+ private pendingPlanImplementationFromSession;
161
+ private restoreGuidedPlanSessions;
162
162
  private hasPendingUserInputForTurn;
163
163
  private finalizeUserInputsForTurn;
164
164
  private handlePlanImplementationCallback;
@@ -173,8 +173,15 @@ export declare class BridgeSessionCore {
173
173
  private createBinding;
174
174
  private startTurnWithRecovery;
175
175
  private buildTurnInput;
176
+ private buildTurnInputFromStagedAttachments;
176
177
  private resolveServiceTierForTurn;
177
178
  private stageAttachments;
179
+ private handleTelegramAttachmentBatch;
180
+ private consumePendingAttachmentBatchWithText;
181
+ private handleAttachmentBatchCallback;
182
+ private consumePendingAttachmentBatch;
183
+ private startTurnFromPreparedAttachmentBatch;
184
+ private renderAttachmentBatchCard;
178
185
  private registerActiveTurn;
179
186
  private createActiveTurnState;
180
187
  getCurrentAuthLabel(): Promise<string | null>;
@@ -247,7 +254,11 @@ export declare class BridgeSessionCore {
247
254
  private handleActiveTurnInboundMessage;
248
255
  private queuePromptAfterActiveTurn;
249
256
  private steerActiveTurn;
257
+ private enqueuePreparedTurnInput;
258
+ private startBoundTurnFromQueuedInput;
250
259
  private startQueuedPromptIfPresent;
260
+ private recoverQueuedTurns;
261
+ private markQueuedTurnCompleted;
251
262
  private handleModeCommand;
252
263
  private handleActiveTurnMessageModeCommand;
253
264
  private handleGoalCommand;
@@ -263,6 +274,7 @@ export declare class BridgeSessionCore {
263
274
  private clearSelfUpdateStatusPoll;
264
275
  private pollSelfUpdateStatus;
265
276
  private formatSelfUpdateResult;
277
+ private formatSelfUpdateReleaseNotes;
266
278
  private formatCodexUpdateResult;
267
279
  private scheduleProactiveAuthRefresh;
268
280
  private clearProactiveAuthRefreshTimer;