Repository navigation
Commit 390afc8
feat(v1): add clean_segments helper to RoomsTrait (#1081)
* feat(v1): add clean_segments helper to CommandTrait
Starting a V1 room clean meant building the app_segment_clean payload by
hand, while Q7 and Q10 already expose clean_segments(segment_ids).
CommandTrait.clean_segments(segment_ids) sends [{"segments": segment_ids}]
and does not set a repeat count.
* refactor: move clean_segments to RoomsTrait
CommandTrait is meant to only expose the low-level send command.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Harry Coureau <183213654+hCoureau@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 93f0d98 commit 390afc8
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
138 | 145 | | |
139 | 146 | | |
140 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
0 commit comments