Skip to content

Conversation

@JiahaoZhu11
Copy link
Contributor

Summary

  • Add autoRun toggle to templates allowing users to choose whether templates automatically start execution or just populate the prompt for review
  • Display quick start templates in the session empty state for faster workflow access
  • Rename runTemplateapplyTemplate to better reflect the new behavior

Test plan

  • Create a new template with auto-run ON → verify it creates session and runs immediately
  • Create a new template with auto-run OFF → verify it creates session but only populates prompt
  • Open a session with no messages → verify quick start templates appear
  • Verify existing templates default to auto-run enabled

…sion (#6)

- Add autoRun boolean to templates (default true for backwards compat)
- When autoRun is false, template populates prompt without executing
- Show quick start templates in session empty state
- Rename runTemplate → applyTemplate to reflect new behavior
- Update Rust backend to serialize autoRun in frontmatter
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

@JiahaoZhu11 JiahaoZhu11 marked this pull request as ready for review January 24, 2026 00:13
@JiahaoZhu11
Copy link
Contributor Author

@benjaminshafii Hi Ben! I noticed you've renamed "template" to "command" – that's a significant change!

I've already resolved merge conflicts with dev twice for this PR, but with the latest changes touching the same areas, there are now substantial conflicts again. Before I invest more time in resolving them, I'd love to get your thoughts on whether this feature direction aligns with what you want for the project.

My use case: I wanted a template (now "command") that can organize a folder for me, with the ability to specify which folder to organize. That's the core motivation behind this PR.

Would you be open to this feature, or would you prefer a different approach? Happy to discuss or adjust the implementation based on your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant