mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-19 03:40:50 +00:00
fix(deploy): restore sharedCodexRuntime flag lost in v0.30.3 rebase; add compact to opencode slash builtins
This commit is contained in:
@@ -1095,6 +1095,7 @@ export async function startRunner(options: { workspaceRoots?: string[] } = {}):
|
||||
|
||||
// Write initial runner state (no lock needed for state file)
|
||||
const fileState: RunnerLocallyPersistedState = {
|
||||
sharedCodexRuntime: true,
|
||||
pid: process.pid,
|
||||
httpPort: controlPort,
|
||||
startTime: new Date().toLocaleString(),
|
||||
|
||||
@@ -46,6 +46,7 @@ export const BUILTIN_SLASH_COMMANDS = {
|
||||
{ name: 'compact', description: 'Compact older conversation history', source: 'builtin' },
|
||||
],
|
||||
opencode: [
|
||||
{ name: 'compact', description: 'Compact (summarize) the session context', source: 'builtin' },
|
||||
{ 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' },
|
||||
|
||||
Reference in New Issue
Block a user