[FEATURE]: commands getting access information about the session #2911

Open
opened 2026-02-16 17:37:46 -05:00 by yindo · 4 comments
Owner

Originally created by @IndianBoy42 on GitHub (Nov 17, 2025).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Useful information: session name, tasks list (current, done or not done separately) and files modified by previous command(s)

e.g. when creating commands for git workflows (branches, commits, etc) the above information would be useful

Originally created by @IndianBoy42 on GitHub (Nov 17, 2025). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Useful information: session name, tasks list (current, done or not done separately) and files modified by previous command(s) e.g. when creating commands for git workflows (branches, commits, etc) the above information would be useful
yindo added the discussion label 2026-02-16 17:37:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 17, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3169: Both request access to session information, though #3169 focuses on session state (active/idle) while this requests session name, tasks, and file modifications
  • #4134: Related to task management within sessions, specifically requesting /todo command for direct todo list management

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 17, 2025): This issue might be a duplicate of existing issues. Please check: - #3169: Both request access to session information, though #3169 focuses on session state (active/idle) while this requests session name, tasks, and file modifications - #4134: Related to task management within sessions, specifically requesting /todo command for direct todo list management Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 18, 2025):

Yeah i think we are gonna have a more powerful commands option where you can define them in typescript and do a bunch of cool shit

@rekram1-node commented on GitHub (Nov 18, 2025): Yeah i think we are gonna have a more powerful commands option where you can define them in typescript and do a bunch of cool shit
Author
Owner

@IndianBoy42 commented on GitHub (Nov 19, 2025):

full on commands in whatever language (i would vote lua as a neovim user) is nice but increasing the ability of the substitutions into prompts would also cover a lot of use cases. in some sense the power of the llm is that we need to do less programming of these custom behaviours and we just ask the llm to do it, even super cheap llms can understand something like

The current session is: $SESSION_NAME
We just completed $TASKS_COMPLETED_LAST by modifying $FILES_MODIFIED_LAST
Please create a commit 
@IndianBoy42 commented on GitHub (Nov 19, 2025): full on commands in whatever language (i would vote lua as a neovim user) is nice but increasing the ability of the substitutions into prompts would also cover a lot of use cases. in some sense the power of the llm is that we need to do less programming of these custom behaviours and we just ask the llm to do it, even super cheap llms can understand something like ``` The current session is: $SESSION_NAME We just completed $TASKS_COMPLETED_LAST by modifying $FILES_MODIFIED_LAST Please create a commit ```
Author
Owner

@rekram1-node commented on GitHub (Nov 19, 2025):

Yeah that's fair

@rekram1-node commented on GitHub (Nov 19, 2025): Yeah that's fair
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2911