@@ -51,7 +51,7 @@ export interface AgentSession {
5151 logUrl ?: string ;
5252 processedLineCount ?: number ;
5353 model ?: string ;
54- framework ?: "claude" | "codex" ;
54+ framework ?: "claude" ;
5555 // Current execution mode (plan = read-only, default = manual approve, acceptEdits = auto-approve edits)
5656 currentMode : ExecutionMode ;
5757 // Permission requests waiting for user response
@@ -416,7 +416,6 @@ function createBaseSession(
416416 taskRunId : string ,
417417 taskId : string ,
418418 isCloud : boolean ,
419- framework ?: "claude" | "codex" ,
420419 executionMode ?: "plan" | "acceptEdits" ,
421420) : AgentSession {
422421 return {
@@ -428,7 +427,6 @@ function createBaseSession(
428427 status : "connecting" ,
429428 isPromptPending : false ,
430429 isCloud,
431- framework,
432430 currentMode : executionMode ?? "default" ,
433431 pendingPermissions : new Map ( ) ,
434432 } ;
@@ -667,7 +665,7 @@ const useStore = create<SessionStore>()(
667665 const persistedMode = getPersistedTaskMode ( taskId ) ;
668666 const effectiveMode = executionMode ?? persistedMode ;
669667
670- const { defaultModel, defaultFramework } = useSettingsStore . getState ( ) ;
668+ const { defaultModel } = useSettingsStore . getState ( ) ;
671669 const result = await trpcVanilla . agent . start . mutate ( {
672670 taskId,
673671 taskRunId : taskRun . id ,
@@ -676,15 +674,13 @@ const useStore = create<SessionStore>()(
676674 apiHost : auth . apiHost ,
677675 projectId : auth . projectId ,
678676 model : defaultModel ,
679- framework : defaultFramework ,
680677 executionMode : effectiveMode ,
681678 } ) ;
682679
683680 const session = createBaseSession (
684681 taskRun . id ,
685682 taskId ,
686683 false ,
687- defaultFramework ,
688684 effectiveMode === "default" ? undefined : effectiveMode ,
689685 ) ;
690686 session . channel = result . channel ;
@@ -701,7 +697,6 @@ const useStore = create<SessionStore>()(
701697 task_id : taskId ,
702698 execution_type : "local" ,
703699 model : defaultModel ,
704- framework : defaultFramework ,
705700 } ) ;
706701
707702 if ( initialPrompt ?. length ) {
0 commit comments