[verified] refactor: remove codex-pool references

This commit is contained in:
2026-05-10 08:57:19 +09:00
parent a05d3a4f90
commit 7885824f92
5 changed files with 40 additions and 4 deletions

View File

@@ -546,8 +546,7 @@ function ConnectAccountDialog() {
/>
</div>
<div className="rounded-2xl border border-white/10 bg-white/4 p-4 text-sm leading-6 text-slate-400">
CodexDash reuses the Codex public-client login shape discovered in
codex-pool, but presents it as an integrated popup flow with a manual pasted-URL fallback instead of asking you to paste cookies manually.
CodexDash opens the official OpenAI sign-in flow in a popup and also supports a manual pasted-URL fallback when the local callback bridge is unavailable.
</div>
<Button className="w-full" disabled={startMutation.isPending} type="submit">
{startMutation.isPending ? 'Preparing login…' : 'Continue to OpenAI'}

View File

@@ -0,0 +1,20 @@
import { describe, expect, test } from 'bun:test';
import { readFileSync } from 'node:fs';
import { join } from 'node:path';
const appSource = readFileSync(join(import.meta.dir, '../src/App.tsx'), 'utf8');
const readmeSource = readFileSync(join(import.meta.dir, '../../../README.md'), 'utf8');
const legacyProjectName = ['codex', 'pool'].join('-');
const legacyRepoPath = ['darvell', legacyProjectName].join('/');
describe('legacy upstream copy removal', () => {
test('removes legacy upstream references from the web app copy', () => {
expect(appSource).not.toContain(legacyProjectName);
expect(appSource).not.toContain('public-client login shape discovered in');
});
test('removes legacy upstream references from the README', () => {
expect(readmeSource).not.toContain(legacyProjectName);
expect(readmeSource).not.toContain(legacyRepoPath);
});
});