feat(oauth): Enabled manual OAuth callbacks via slash command input

- Introduced OAuthManualInputManager and routed callback-server logins to await pasted redirect URLs with a visible tip.
- Extended /login slash command to submit redirect URLs, block overlapping logins, and covered manual callbacks in tests.
- Propagated onManualCodeInput through OAuth provider login helpers with a default authorization prompt.
- Resolved docs index generation paths using path.resolve relative to the script directory.
This commit is contained in:
julia
2026-02-23 06:21:32 +00:00
parent 6e596fbed9
commit 85219821ff
11 changed files with 235 additions and 12 deletions
@@ -3,8 +3,8 @@
import { Glob } from "bun";
import * as path from "node:path";
const docsDir = new URL("../../../docs/", import.meta.url).pathname;
const outputPath = new URL("../src/internal-urls/docs-index.generated.ts", import.meta.url).pathname;
const docsDir = path.resolve(import.meta.dir, "../../../docs");
const outputPath = path.resolve(import.meta.dir, "../src/internal-urls/docs-index.generated.ts");
const glob = new Glob("**/*.md");
const entries: string[] = [];