Skip to content

bug(commands): four Pi commands completely dead, four more hidden from discovery #103

@akougkas

Description

@akougkas

Problem

Shell-overrides.ts hides all 19 Pi built-in commands. Of these:

Dead commands (hidden, no patch, unreachable):

  • /scoped-models: Controls which models appear in Ctrl+P cycling. No PanCode equivalent. Users cannot configure model cycling.
  • /changelog: Shows version information. No PanCode equivalent.
  • /resume: TUI session switcher. Users cannot resume previous sessions.
  • /quit: Standard quit command. Users must discover PanCode's /exit instead.

Hidden but functional (no autocomplete, not in /help):

  • /export: Export session to HTML
  • /copy: Copy last message to clipboard
  • /fork: Branch from previous message
  • /tree: Navigate session history

Pi's hardcoded dispatch still routes these, so they work if typed manually. But users cannot discover them through autocomplete or /help.

Audit Reference

AUDIT-ISSUES.md: B3, B4

Objective

Restore access to valuable Pi commands. Remove hiding for commands PanCode does not need to replace.

Deliverables

  • Determine which Pi commands should remain hidden vs restored
  • At minimum: unhide /export, /copy, /fork, /tree, /resume (pure Pi features PanCode doesn't replace)
  • Create PanCode equivalents for /scoped-models (model cycling config) or unhide Pi's
  • Add /fork, /tree, /export, /copy to PanCode's /help output under a "Pi SDK" category
  • Update /hotkeys to mention /quit as an alternative to /exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditIssues from command/keybinding auditbugSomething isn't workingcommandsSlash command surface issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions