mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-10 20:46:28 +01:00
feat: default new Codex agents to the qualified Paperclip Runner
Resolve creation intent across onboarding, hires, imports, and the UI. Preserve existing execution and qualify automatic defaults for shipped Linux x64 artifacts. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
835a022936
commit
aa879604ae
91 files changed
+2718
-884
No files matched your search
@@ -483,9 +483,11 @@ const paperclipRunnerAdapter: ServerAdapterModule = {
|
||||
}],
|
||||
};
|
||||
}
|
||||
const result = profile.provider === "opencode"
|
||||
? await openCodeTestEnvironment(context)
|
||||
: await codexTestEnvironment(context);
|
||||
if (profile.provider === "codex") {
|
||||
const { testNativeRunnerAuthentication } = await import("../services/native-runtime/setup-readiness.js");
|
||||
return testNativeRunnerAuthentication(context, "codex", profile.model);
|
||||
}
|
||||
const result = await openCodeTestEnvironment(context);
|
||||
return { ...result, adapterType: "paperclip_runner" };
|
||||
},
|
||||
listSkills: listCodexSkills,
|
||||
@@ -1177,6 +1179,12 @@ export function isOverridePaused(type: string): boolean {
|
||||
return pausedOverrides.has(type);
|
||||
}
|
||||
|
||||
export function hasActiveAdapterOverride(type: string): boolean {
|
||||
const registered = adaptersByType.get(type);
|
||||
return builtinFallbacks.has(type) && registered !== undefined
|
||||
&& registered !== builtinFallbacks.get(type) && !pausedOverrides.has(type);
|
||||
}
|
||||
|
||||
/** Get the set of types whose overrides are currently paused. */
|
||||
export function getPausedOverrides(): Set<string> {
|
||||
return pausedOverrides;
|
||||
|
||||
Reference in new issue
Block a user