Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.
This repository was archived by the owner on May 24, 2026. It is now read-only.

Add Custom Slash Commands support #689

@PureWeen

Description

@PureWeen

Summary

SDK v0.2.1 added CommandDefinition — register custom slash commands per session that trigger PolyPilot-specific behavior.

SDK API

  • SessionConfig.CommandsCommandDefinition[] (v0.2.1)
  • CommandDefinitionName, Description, Handler
  • Events: CommandQueuedEvent, CommandExecuteEvent, CommandCompletedEvent, CommandsChangedEvent
  • RPC: session.Rpc.Commands.HandlePendingCommandAsync(id, response)

Proposed Implementation

  1. Register PolyPilot-specific commands at session creation:
    • /deploy — trigger build & deploy workflow
    • /test — run project test suite
    • /review — run code review agent
    • /screenshot — capture app screenshot via MauiDevFlow
  2. Command palette — show available commands with descriptions when user types /
  3. Custom command editor — let users define their own commands per session/group
  4. Command activity log — show when commands fire via CommandExecuteEvent

Priority: 🟡 MEDIUM

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions