mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 05:03:26 +00:00
feat(coding-agent): reimplement tree selector features
- Label editing with 'l' key - Ctrl+O cycles through filters: default -> user-only -> labeled-only -> all - Preserve cursor position when toggling filters - Labels shown at front of node - Normalize tabs/newlines in content - extractContent limited to 200 chars for performance - truncateToWidth on all rendered lines - Iterative flattenTree to avoid stack overflow - Linear chain optimization (no indent for single-child chains)
This commit is contained in:
parent
544814875e
commit
6b7ad0ed4b
2 changed files with 237 additions and 119 deletions
|
|
@ -1647,6 +1647,10 @@ export class InteractiveMode {
|
|||
done();
|
||||
this.ui.requestRender();
|
||||
},
|
||||
(entryId, label) => {
|
||||
this.sessionManager.appendLabelChange(entryId, label);
|
||||
this.ui.requestRender();
|
||||
},
|
||||
);
|
||||
return { component: selector, focus: selector };
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue