mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat: support Codex goal slash command
This commit is contained in:
@@ -11,6 +11,7 @@ describe('getBuiltinSlashCommands', () => {
|
||||
expect(getBuiltinSlashCommands('codex').map((command) => command.name)).toEqual(expect.arrayContaining([
|
||||
'clear',
|
||||
'compact',
|
||||
'goal',
|
||||
'plan',
|
||||
'status',
|
||||
'execute',
|
||||
|
||||
@@ -14,6 +14,7 @@ const BUILTIN_COMMANDS: Record<string, SlashCommand[]> = {
|
||||
codex: [
|
||||
{ name: 'clear', description: 'Clear current Codex thread context', source: 'builtin' },
|
||||
{ name: 'compact', description: 'Compact current Codex thread context', source: 'builtin' },
|
||||
{ name: 'goal', description: 'Set, view, pause, resume, or clear a persistent Codex goal', source: 'builtin' },
|
||||
{ name: 'help', description: 'Show supported HAPI Codex slash commands', source: 'builtin' },
|
||||
{ name: 'plan', description: 'Enable plan mode; use /plan off to return to default', source: 'builtin' },
|
||||
{ name: 'default', description: 'Return Codex collaboration mode to default', source: 'builtin' },
|
||||
|
||||
Reference in New Issue
Block a user