mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
fix(rebase): retain OMP resume and fresh launch behavior
This commit is contained in:
@@ -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', {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user