Replies: 2 comments
-
|
yes, worth adding. The append-then- go with Option A - = create and place right after the current session, one round-trip. for the PR:
usual keep-in-sync (protocol round-trip + e2e + agent-skill docs). Send it when ready. |
Beta Was this translation helpful? Give feedback.
-
|
Shipped in #134 (merged). Thanks for the design guidance — went with Option A, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now
session newalways appends the new session to the end of the workspace. When I want a new session right after the current one, I create it and then repeatedlysession move --to upuntil it lands in place.With only a few sessions that's fine, but I usually have dozens. Then the walk-up takes many
movecalls, and it's visually noticeable in the sidebar as the session hops upward one step at a time. It would be much nicer to place it in one shot.I see two possible shapes and would like your take on which fits agterm better:
Option A — reference-based flags on
session new(andsession move)Add
--after <sid>/--before <sid>:Creates (or moves) the session directly at the target position — no follow-up moves.
Option B — extend the existing
--tovocabularysession movealready takes--to up|down|top|bottom. Add reference targets to it, e.g.--to after:<sid>/--to before:<sid>, and letsession newaccept the same--to:This stays inside the vocabulary that already exists — just new values for
--to— and collapses the placement to a single move.Either works for my use case — a session placed after the current one, without the visible step-by-step shuffle.
Questions:
--after/--beforeflags, or extending--towithafter:<sid>/before:<sid>?Happy to send a PR once the direction is clear.
Beta Was this translation helpful? Give feedback.
All reactions