@@ -116,12 +116,10 @@ end
116116-- Delegate global state management to ChatContext
117117function M .add_selection (selection )
118118 ChatContext .add_selection (selection )
119- state .context .set_context_updated_at (vim .uv .now ())
120119end
121120
122121function M .remove_selection (selection )
123122 ChatContext .remove_selection (selection )
124- state .context .set_context_updated_at (vim .uv .now ())
125123end
126124
127125function M .clear_selections ()
@@ -216,13 +214,11 @@ function M.add_file(file)
216214
217215 file = vim .fn .fnamemodify (file , ' :p' )
218216 ChatContext .add_file (file )
219- state .context .set_context_updated_at (vim .uv .now ())
220217end
221218
222219function M .remove_file (file )
223220 file = vim .fn .fnamemodify (file , ' :p' )
224221 ChatContext .remove_file (file )
225- state .context .set_context_updated_at (vim .uv .now ())
226222end
227223
228224function M .clear_files ()
@@ -231,12 +227,10 @@ end
231227
232228function M .add_subagent (subagent )
233229 ChatContext .add_subagent (subagent )
234- state .context .set_context_updated_at (vim .uv .now ())
235230end
236231
237232function M .remove_subagent (subagent )
238233 ChatContext .remove_subagent (subagent )
239- state .context .set_context_updated_at (vim .uv .now ())
240234end
241235
242236function M .clear_subagents ()
249243
250244function M .load ()
251245 ChatContext .load ()
252- state .context .set_context_updated_at (vim .uv .now ())
253246end
254247
255248-- Context creation with delta logic (delegates to ChatContext)
0 commit comments