fix(rebase): retain OMP resume and fresh launch behavior

This commit is contained in:
Neil
2026-09-19 17:16:23 -07:00
parent a342e3fd77
commit 04035f646c
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -111,6 +111,9 @@ export class RelayAgentHookRuntime {
const kind = explicitKind ?? 'pi'
const hasLaunchCommand =
typeof launchCommandHint === 'string' && launchCommandHint.trim().length > 0
if (kind === 'omp' || !hasLaunchCommand) {
env.ORCA_OMP_FRESH_CONFIG = this.pluginOverlay.materializeOmpFreshConfig()
}
if (kind === 'pi') {
const sourceDir = resolvePiSourceAgentDir(context.env, context.shell, 'pi')
const result = this.pluginOverlay.materializePi(overlayId, sourceDir, 'pi', {
+2 -2
View File
@@ -205,8 +205,8 @@ export function extractAgentProviderSession(
return id ? { key: 'conversation_id', id } : null
}
case 'opencode':
case 'mimo-code':
case 'opencode2': {
case 'opencode2':
case 'mimo-code': {
const id = readSessionId(payload, ['sessionID'])
return id ? { key: 'session_id', id } : null
}