/drop works like /new but permanently deletes the current session file and artifacts instead of flushing (saving) it. Useful when the session should not be kept. - add drop?: boolean to NewSessionOptions - branch in AgentSession.newSession(): skip flush, delete via FileSessionStorage.deleteSessionWithArtifacts when drop=true; deletion failure is non-fatal (logged, new session still starts) - wire handleDropCommand() through InteractiveModeContext interface, InteractiveMode delegation, and CommandController implementation - guard: shows error if session has not been saved yet (no file to drop) - register /drop in builtin-registry adjacent to /new
@oh-my-pi/pi-coding-agent
Core implementation package for the omp coding agent in the oh-my-pi monorepo.
For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:
Package-specific references: