Skip to content

feat: add titleFormat config with placeholder support#5

Open
frankhommers wants to merge 2 commits intoTarquinen:masterfrom
frankhommers:feature/title-format-placeholders
Open

feat: add titleFormat config with placeholder support#5
frankhommers wants to merge 2 commits intoTarquinen:masterfrom
frankhommers:feature/title-format-placeholders

Conversation

@frankhommers
Copy link

Summary

  • Add titleFormat config option with {title}, {cwd}, {cwdTip} placeholders for customizable session titles
  • Update AI SDK from v5 to v6 for model specification v3 compatibility
  • Update README with format examples

Example Usage

{
  "titleFormat": "[{cwdTip}] {title}"
}

Produces titles like: [my-project] Debugging API errors

Available Placeholders

Placeholder Description
{title} AI-generated title
{cwd} Full working directory path
{cwdTip} Last folder name (e.g., "my-project")

- Add titleFormat config option with {title}, {cwd}, {cwdTip} placeholders
- Update AI SDK from v5 to v6 for model spec v3 compatibility
- Update README with format examples
- {cwdTip:N} for N folder segments deep
- {cwdTip:N:sep} for custom separator between segments
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

Comments