Skip to content

Expose getSystemPromptOptions in command context #5305

@xl0

Description

@xl0

What do you want to change?

Same data we get in before_agent_start event.systemPromptOptions should be availabel to the commands to explore.

Why?

I added the /show-context command to my Lovely Dev Tools extension. It show which files have been read, and whhich lines in the files, how many times, and how long ago (in terms or read calls). This includes AGENTS.md and SKILL.md files, which can be obtained fromt he propmt options.

Image

While I can work around this requirement, the easiest solution is to just expose the prompt options to commands.

How? (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions