Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

436 B
Raw Blame
/* oxlint-disable no-undef */
import * as Fs from "fs/promises"

const jsBundle = await fetch(
  "https://cdn.jsdelivr.net/npm/@scalar/api-reference@latest/dist/browser/standalone.min.js"
).then((res) => res.text())

const source = `/* oxlint-disable no-undef */

/** @internal */
export const javascript = ${JSON.stringify(`${jsBundle}`)}
`

await Fs.writeFile("packages/effect/src/unstable/httpapi/internal/httpApiScalar.ts", source)