mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
@@ -32,7 +32,13 @@ export const BUILTIN_SLASH_COMMANDS = {
|
||||
{ name: 'compress', description: 'Compress the context by replacing it with a summary', source: 'builtin' },
|
||||
{ name: 'stats', description: 'Check session stats', source: 'builtin' },
|
||||
],
|
||||
opencode: [],
|
||||
opencode: [
|
||||
{ name: 'help', description: 'Show supported HAPI OpenCode slash commands', source: 'builtin' },
|
||||
{ name: 'status', description: 'Show current OpenCode session config', source: 'builtin' },
|
||||
{ name: 'plan', description: 'Enable plan mode; use /plan off to return to default', source: 'builtin' },
|
||||
{ name: 'default', description: 'Return OpenCode permission mode to default', source: 'builtin' },
|
||||
{ name: 'init', description: 'Generate or refresh AGENTS.md for this project', source: 'builtin' },
|
||||
],
|
||||
cursor: [],
|
||||
} as const satisfies Record<string, readonly SlashCommand[]>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user