mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-10 20:31:16 +02:00
Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <codex@users.noreply.github.com>
22 lines
650 B
TypeScript
22 lines
650 B
TypeScript
import * as Alchemy from "alchemy";
|
|
import * as Cloudflare from "alchemy/Cloudflare";
|
|
import * as GitHub from "alchemy/GitHub";
|
|
import { Layer } from "effect";
|
|
import * as Effect from "effect/Effect";
|
|
import DevBoxLive from "./src/DevBox.ts";
|
|
import ReleaseService from "./src/ReleaseService.ts";
|
|
|
|
export default Alchemy.Stack(
|
|
"Stack",
|
|
{
|
|
providers: Layer.mergeAll(Cloudflare.providers(), GitHub.providers()),
|
|
state: Cloudflare.state(),
|
|
},
|
|
Effect.gen(function* () {
|
|
const releaseService = yield* ReleaseService;
|
|
|
|
return {
|
|
releaseService: releaseService.url.as<string>(),
|
|
};
|
|
}).pipe(Effect.provide(DevBoxLive)),
|
|
);
|