Alishahryar1
|
64e5b10612
|
Refactor done by z-ai/glm5
|
2026-02-14 18:47:26 -08:00 |
|
Cursor Agent
|
959d1bdf5b
|
Phase 5: Encapsulation - Repository and MessageTree API
TreeRepository:
- Add has_node(node_id) -> bool
- Add tree_count() -> int
MessageTree:
- Add cancel_current_task() -> bool
- Add drain_queue_and_mark_cancelled() -> List[MessageNode]
- Add reset_processing_state()
- Add current_node_id property
TreeQueueManager:
- Remove _trees and _node_to_tree properties
- add_to_tree: use has_node() and get_tree_for_node()
- get_tree_count: use repository.tree_count()
- cancel_tree: use tree.cancel_current_task(), drain_queue_and_mark_cancelled(), reset_processing_state()
TreeQueueProcessor:
- cancel_current: delegate to tree.cancel_current_task()
Tests: update to use get_tree_count(), has_node(), get_tree_for_node()
Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
|
2026-02-15 01:38:35 +00:00 |
|
Alishahryar1
|
fabca59f5c
|
lint
|
2026-02-13 17:24:18 -08:00 |
|
Alishahryar1
|
459ce6e8fd
|
introduced per reply /stop command to stop just that task and fixed context leakage in reply session forking
|
2026-02-13 14:53:48 -08:00 |
|
Alishahryar1
|
ff22e9baa2
|
lint
|
2026-02-08 04:10:57 -08:00 |
|
Alishahryar1
|
697bc37faf
|
Upon dequeue the current request immediately displays processing state instead of position 1 waiting
|
2026-02-08 04:06:41 -08:00 |
|
Alishahryar1
|
6d8f13d84e
|
Added feature to update queue positions on telegram when messages are dequeued and added new tests
|
2026-02-08 04:00:58 -08:00 |
|
Alishahryar1
|
fcbe204f44
|
Major refactor done with kimi-k2.5 in claude code
|
2026-02-05 10:51:33 -08:00 |
|
Alishahryar1
|
78d0276d03
|
fixed /stop
|
2026-01-31 14:39:24 -08:00 |
|
Alishahryar1
|
5bc978c545
|
Implemented fixes using test case errors
|
2026-01-30 17:11:35 -08:00 |
|
Alishahryar1
|
5d26bdbb9f
|
fixed /stop race condition
|
2026-01-30 17:01:41 -08:00 |
|
Alishahryar1
|
3b037932d7
|
refactor to reduce coupling
|
2026-01-30 13:39:40 -08:00 |
|
Alishahryar1
|
7a25c967b0
|
moved rate limiting to the api level
|
2026-01-29 18:59:25 -08:00 |
|
Alishahryar1
|
5fd7268d3f
|
added tree based session handler
|
2026-01-29 18:17:42 -08:00 |
|