The best way to control Claude Code, Codex and more from any computer or phone

main
mjs 14 lines 428 Bytes
Raw
1 /* oxlint-disable no-undef */
2 import * as Fs from "fs/promises"
3
4 const jsBundle = await fetch(
5 "https://cdn.jsdelivr.net/npm/@scalar/api-reference@latest/dist/browser/standalone.min.js"
6 ).then((res) => res.text())
7
8 const source = `/* oxlint-disable no-undef */
9
10 /** @internal */
11 export const javascript = ${JSON.stringify(`${jsBundle}`)}
12 `
13
14 await Fs.writeFile("packages/effect/src/http-api/internal/httpApiScalar.ts", source)