Skip to content

Add message counter/turn number placeholder for multi-turn sessions #37

@bestK

Description

@bestK

Feature Request

Problem

Currently, notifications only support two placeholders: {sessionTitle} and {projectName}. In a single conversation, there can be multiple question/answer interactions (e.g., multiple question events), and users cannot distinguish between them in the notification message.

Proposed Solution

Add a {turn} or {messageCount} placeholder that increments for each notification within a session. This would allow users to see which turn/question triggered the notification.

Example:

  • [问题] {sessionTitle} (Turn {turn})
  • Output: [问题] Fix bug #123 (Turn 1)
  • Output: [问题] Fix bug #123 (Turn 2)

Alternative consideration

If implementing a session-based counter is too complex, consider adding {timestamp} placeholder with a simple format like HH:MM:SS to differentiate messages by time.

Use case

Users who integrate notifications with external systems (Telegram, Slack, etc.) need to distinguish between multiple interactions within the same session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions