@@ -119,6 +119,7 @@ Needs an undo.
119119 <time elapsed> <timestamp> <toekns in current count>/<tokens out current count> (<total tokens in context at current count).
120120 <undo if most recent agent message>
121121 ```
122+
122123 Refactor so it shows two lines as above with text right aligned. Remove existing `---` separator completly
123124 **DONE**
124125
@@ -126,7 +127,7 @@ Refactor so it shows two lines as above with text right aligned. Remove existing
126127 - Old tool results are compacted to their header line after the assistant responds, preventing resend of full payloads on subsequent rounds.
127128
128129 2. Gather baseline data with no context management. Then study:
129-**INPROGRESS**
130+ **INPROGRESS**
130131
131132 https://manus.im/blog/Context-Engineering-for-AI-Agents-Lessons-from-Building-Manus
132133 (Search for more resources like the one above, build a document with concise knowledge base (500 lines max)
@@ -157,30 +158,35 @@ Right (right aligned text)
157158 Opens via keybind: <ctrl + f>
158159
159160 File search modal:
160- - Centered in the UI, 80% of legth and width of the main app window, resizable with the rest of the app.
161- - Top row is the input for the file search query
162- - Rest of the modal is the list of matches.
163- - Results update after the user stops typing for a few hundred miliseconds.
164- - Up/down arrow select from the search results. If focus is on input and user presses down arrow, it focus the list. If focus is on first result and user presses up arrow focus the input.
165- - `Enter` on input selects the first match closing the modal
166- - `Enter` on result list row selected the selected row. closing the modal
167- - `ESC` cancels the file search closing the modal.
168-
169- Selection is opened in the editor.
170-
171- Make a generic modal with inputbox + list combo for re-use. The use that to make the file search one.
172- (It will be used for a command box maybe)
173-
161+
162+- Centered in the UI, 80% of legth and width of the main app window, resizable with the rest of the app.
163+- Top row is the input for the file search query
164+- Rest of the modal is the list of matches.
165+- Results update after the user stops typing for a few hundred miliseconds.
166+- Up/down arrow select from the search results. If focus is on input and user presses down arrow, it focus the list. If focus is on first result and user presses up arrow focus the input.
167+- `Enter` on input selects the first match closing the modal
168+- `Enter` on result list row selected the selected row. closing the modal
169+- `ESC` cancels the file search closing the modal.
170+
171+Selection is opened in the editor.
172+
173+Make a generic modal with inputbox + list combo for re-use. The use that to make the file search one.
174+(It will be used for a command box maybe)
175+
176+### Session cli flags:
177+
178+- `-s`, `--session`: Takes a session id
179+- `-l`, `--list`: Lists sessions with id, last user message timestamp, and 50 characters of the last user user message.
180+- `-c`, `--continue`: continues last session (most recent user message)
174181
175182 ## Features waiting implementation for current version:
176183
177184 Testing current feature set
178185
179-
180186 ### Code viewer pane -> Becomes Code editor pane
181187
182- - Enable the same editting abilities as the agent input box.
183- - <ctrl + s> Saves the file. (Do we just save it, or we send a message to the LLM to apply the edit?)
188+- Enable the same editting abilities as the agent input box.
189+- <ctrl + s> Saves the file. (Do we just save it, or we send a message to the LLM to apply the edit?)
184190
185191 # TODO (after features)
186192
@@ -213,9 +219,10 @@ turn. Needs careful coordination with FileReadTracker and TUI updates.
213219 ### Editor-LLM link:
214220
215221 LLM input (in the spirit of the app, symbiotic):
216- - User types in agent input
217- - with `@cursor` or `@selected` -- Works with `@` filesearh modal.
218- - creates a reference with hashes of where the user's cursor or selection is in the filesystem/file
222+
223+- User types in agent input
224+- with `@cursor` or `@selected` -- Works with `@` filesearh modal.
225+- creates a reference with hashes of where the user's cursor or selection is in the filesystem/file
219226
220227 ### UI Polish
221228
@@ -227,4 +234,3 @@ Logs should be in app data home dir, not in .local
227234
228235 29 tests, all passing. Coverage: hashline 96.7%, filesearch 76%,
229236 mcp_tools 43.2%, tui/editor 42.1%, tui 41.9%.
230-