refactor(coding-agent): delete unreachable empty-selector auto-cancel timers (#1855)
1- Removed delayed cancellation callbacks from empty interactive selectors.1196 unmodified linesExpand all11971198119912001201120212031204120112021203120434 unmodified lines1196 unmodified linesExpand all this.addChild(this.treeContainer); this.addChild(this.labelInputContainer); this.addChild(new Spacer(1)); this.addChild(new DynamicBorder());
if (tree.length === 0) { setTimeout(() => onCancel(), 100); } }
private showLabelInput(entryId: string, currentLabel: string | undefined): void { this.labelInput = new LabelInput(entryId, currentLabel);34 unmodified lines115 unmodified linesExpand all1161171181191201211221231201211221232 unmodified lines115 unmodified linesExpand all this.addChild(this.messageList);
this.addChild(new Spacer(1)); this.addChild(new DynamicBorder());
if (messages.length === 0) { setTimeout(() => onCancel(), 100); } }
getMessageList(): UserMessageList { return this.messageList;2 unmodified lines