feat(acp): add Devin model families and workspace skills for v2 #11850
ClosedDerpedyea(GitHub profile, opens in a new tab)wants to merge 250+ commits into
t3code/codex-turn-mapping fromrefs/pull/11850/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XXL
- packages/shared/src/model.ts line 222OutdatedResolvedby Derpedyea(GitHub profile, opens in a new tab)@@ -196,0 +202,21 @@202+ for (const selection of selections ?? []) {203+ const index = baseDescriptors.findIndex((descriptor) => descriptor.id === selection.id);204+ const descriptor = baseDescriptors[index];205+ if (!descriptor) {206+ baseDescriptors.push(207+ Predicate.isBoolean(selection.value)208+ ? {209+ id: selection.id,210+ label: `${selection.id} (Unavailable)`,211+ type: "boolean",212+ currentValue: selection.value,213+ }214+ : {215+ id: selection.id,216+ label: selection.id,217+ type: "select",218+ currentValue: selection.value,219+ options: [{ id: selection.value, label: `${selection.value} (Unavailable)` }],220+ },221+ );222+ } else if (apps/web/src/modelSelection.ts lines 445 to 445OutdatedResolvedby Derpedyea(GitHub profile, opens in a new tab)@@ -432,5 +440,6 @@432440 provider,433441 model,434442 models: entry.models,443+ modelPolicy: resolveProviderModelPolicy(entry.snapshot),435444 modelOptions: selectedEntry ? selection.options : undefined,436445 planModeEnabled: settings.planModeEnabled,apps/server/src/provider/Drivers/AcpRegistryDriver.ts line 765OutdatedResolvedby Derpedyea(GitHub profile, opens in a new tab)@@ -718,3 +762,4 @@718762 accentColor,719763 enabled,720764 snapshot,765+ snapshotForCwd: (cwd) =>apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.ts line 5780OutdatedResolvedby Derpedyea(GitHub profile, opens in a new tab)@@ -5774,3 +5777,4 @@57745777 runtime,57755778 startResult,57765779 modelSelection,5780+ cwd: input.runtimePolicy.cwd ?? process.cwd(),apps/server/src/provider/Drivers/AcpRegistryDriver.ts line 561OutdatedResolvedby Derpedyea(GitHub profile, opens in a new tab)@@ -528,9 +541,21 @@528541 Effect.flatMap(withLiveRuntimeState),529542 );543+ const lastDevinModels = yield* Ref.make<ReadonlyArray<ServerProviderModel>>([]);530544 const enrichProvider = checkAcpRegistryProviderStatus(531545 {532546 ...readinessInput,533547 cwd: serverConfig.cwd,534548 },535549 probeAcpRegistryConfiguration,536550 ).pipe(551+ Effect.flatMap((provider) => {552+ if (effectiveConfig.agentId !== "devin") {553+ return Effect.succeed(provider);554+ }555+ if (provider.auth.status !== "authenticated") {556+ return Ref.set(lastDevinModels, []).pipe(Effect.as(provider));557+ }558+ return catalog.resolve(effectiveConfig, serverConfig.cwd, processEnvironment).pipe(559+ Effect.flatMap(({ spawn }) => readDevinModelCatalog(spawn)),560+ Effect.map(devinModels),561+ Effect.tap((models) => Ref.set(lastDevinModels, models)),
- apps/server/src/provider/Drivers/AcpRegistryDriver.ts lines 768 to 773OutdatedResolvedby Derpedyea(GitHub profile, opens in a new tab)@@ -718,3 +762,12 @@718762 accentColor,719763 enabled,720764 snapshot,765+ snapshotForCwd: (cwd) =>766+ snapshot.getSnapshot.pipe(767+ Effect.flatMap((provider) => {768+ if (769+ effectiveConfig.agentId !== "devin" ||770+ !provider.enabled ||771+ provider.auth.status !== "authenticated"772+ ) {773+ return Effect.succeed(provider);
Sign in to join this conversation.




Codex Review Summary#
This comment shows the latest Codex review activity on this pull request.
f915168ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.