mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 10:27:33 +00:00
refactor: group agent launch contracts under concrete owners (#37915)
This commit is contained in:
@@ -1,20 +1,23 @@
|
||||
import type { AgentStartupPlanInputs } from '../../shared/agent-startup-plan-inputs'
|
||||
import type { AgentStartupPlanInputs } from '../../shared/agent-launch/startup/agent-startup-plan-inputs'
|
||||
import {
|
||||
buildAgentDraftLaunchPlan,
|
||||
buildAgentStartupPlan,
|
||||
type AgentStartupPlan
|
||||
} from '../../shared/tui-agent-startup'
|
||||
} from '../../shared/agent-launch/startup/tui-agent-startup'
|
||||
import { planStartupWithPromptCandidate } from '../../shared/startup-line-prompt-carry'
|
||||
import { buildSleepingAgentLaunchConfig } from '../../shared/sleeping-agent-launch-config'
|
||||
import type { SleepingAgentLaunchConfig } from '../../shared/agent-session/lifecycle/agent-session-resume'
|
||||
import type { TuiAgent } from '../../shared/tui-agent'
|
||||
import type { TuiAgent } from '../../shared/agent-launch/catalog/tui-agent'
|
||||
import { probeOpenCodeLaunchModelContext } from './opencode-launch-model-context'
|
||||
import { resolveOpenCodeLaunchModelConfig } from './opencode-launch-model-config'
|
||||
import {
|
||||
isVerifiedOpenCodeConfigModelVersion,
|
||||
isVerifiedOpenCodeLegacyModelVersion
|
||||
} from './opencode-model-version-policy'
|
||||
import { getTuiAgentLaunchCommand, TUI_AGENT_CONFIG } from '../../shared/tui-agent-config'
|
||||
import {
|
||||
getTuiAgentLaunchCommand,
|
||||
TUI_AGENT_CONFIG
|
||||
} from '../../shared/agent-launch/catalog/tui-agent-config'
|
||||
import { applyManagedDataAccountEnvironment } from '../managed-data-accounts/launch-environment'
|
||||
import { OrchestrationError } from '../runtime/orchestration/orchestration-error'
|
||||
import { probeOpenCodeLaunchCapabilities } from './opencode-launch-capabilities'
|
||||
@@ -23,7 +26,7 @@ import {
|
||||
OPENCODE_MODEL_CONFIG_REFUSAL,
|
||||
OPENCODE_MODEL_TRANSPORT_REFUSAL,
|
||||
OPENCODE_MODEL_VERSION_REFUSAL
|
||||
} from '../../shared/agent-launch-model-preferences'
|
||||
} from '../../shared/agent-launch/choices/agent-launch-model-preferences'
|
||||
|
||||
type StartupScope = {
|
||||
inputs: AgentStartupPlanInputs
|
||||
|
||||
Reference in New Issue
Block a user