fix(deploy): restore sharedCodexRuntime flag lost in v0.30.3 rebase; add compact to opencode slash builtins

This commit is contained in:
2026-09-15 13:58:53 +08:00
parent 41179575a5
commit 41f0935bd3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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(),
+1
View File
@@ -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' },