diff --git a/.github/workflows/deploy-relay.yml b/.github/workflows/deploy-relay.yml index d813135c56..1f777ed291 100644 --- a/.github/workflows/deploy-relay.yml +++ b/.github/workflows/deploy-relay.yml @@ -8,6 +8,7 @@ on: permissions: contents: read id-token: none + statuses: write concurrency: group: relay-production @@ -46,7 +47,8 @@ jobs: run-install: true - name: Deploy production relay stage - run: vp run --filter t3code-relay deploy --stage prod --yes + id: deploy + run: vp run --filter t3code-relay deploy --stage prod --yes --github-output env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} PLANETSCALE_API_TOKEN_ID: ${{ secrets.PLANETSCALE_API_TOKEN_ID }} @@ -54,3 +56,25 @@ jobs: AXIOM_TOKEN: ${{ secrets.AXIOM_TOKEN }} CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }} APNS_PRIVATE_KEY: ${{ secrets.APNS_PRIVATE_KEY }} + + - name: Publish relay deploy commit status + uses: actions/github-script@v8 + with: + script: | + const result = "${{ steps.deploy.outputs.result }}"; + const changed = "${{ steps.deploy.outputs.changed }}" === "true"; + const description = changed + ? "Relay production deploy applied infrastructure changes." + : result === "noop" + ? "Relay production deploy was a no-op." + : `Relay production deploy completed with result: ${result}.`; + + await github.rest.repos.createCommitStatus({ + owner: context.repo.owner, + repo: context.repo.repo, + sha: context.sha, + state: "success", + context: "Relay deploy / production", + description, + target_url: `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`, + }); diff --git a/.mise.toml b/.mise.toml deleted file mode 100644 index 2014a9bf29..0000000000 --- a/.mise.toml +++ /dev/null @@ -1,2 +0,0 @@ -[tools] -node = "24.13.1" diff --git a/.vite-hooks/pre-commit b/.vite-hooks/pre-commit deleted file mode 100755 index 85fb65b4fc..0000000000 --- a/.vite-hooks/pre-commit +++ /dev/null @@ -1 +0,0 @@ -vp staged diff --git a/README.md b/README.md index a7a6cf402f..6aebfc7e8b 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,26 @@ # T3 Code -T3 Code is a minimal web GUI for coding agents (currently Codex, Claude, and OpenCode, more coming soon). +T3 Code is a minimal web GUI for coding agents (currently Codex, Claude, Cursor, and OpenCode, more coming soon). ## Installation > [!WARNING] -> T3 Code currently supports Codex, Claude, and OpenCode. +> T3 Code currently supports Codex, Claude, Cursor, and OpenCode. > Install and authenticate at least one provider before use: > > - Codex: install [Codex CLI](https://developers.openai.com/codex/cli) and run `codex login` > - Claude: install [Claude Code](https://claude.com/product/claude-code) and run `claude auth login` +> - Cursor: install [Cursor CLI](https://cursor.com/cli) and run `cursor-agent login` > - OpenCode: install [OpenCode](https://opencode.ai) and run `opencode auth login` ### Run without installing ```bash -npx t3 +npx t3@latest ``` +Tip: Use `npx t3@latest --help` for the full CLI reference. + ### Desktop app Install the latest version of the desktop app from [GitHub Releases](https://github.com/pingdotgg/t3code/releases), or from your favorite package registry: @@ -46,11 +49,7 @@ We are very very early in this project. Expect bugs. We are not accepting contributions yet. -Observability guide: [docs/operations/observability.md](./docs/operations/observability.md) - -Relay observability: [docs/operations/relay-observability.md](./docs/operations/relay-observability.md) - -T3 Cloud Clerk setup: [docs/cloud/t3-cloud-clerk.md](./docs/cloud/t3-cloud-clerk.md) +There's no public docs site yet, checkout the miscellaneous markdown files in [docs](./docs). ## Documentation @@ -62,17 +61,29 @@ T3 Cloud Clerk setup: [docs/cloud/t3-cloud-clerk.md](./docs/cloud/t3-cloud-clerk ## If you REALLY want to contribute still.... read this first -Before local development, prepare the environment and install dependencies: +### Install `vp` + +T3 Code uses Vite+ so you'll need to install the global `vp` command-line tool. + +#### macOS / Linux ```bash -# Optional: only needed if you use mise for dev tool management. -mise install -vp install +curl -fsSL https://vite.plus | bash ``` -T3 Cloud is optional and disabled in a fresh clone. To enable it for web, desktop, and mobile source -builds, copy [`.env.example`](./.env.example) to `.env` at the repository root and set the canonical -public configuration there. +#### Windows + +```bash +irm https://vite.plus/ps1 | iex +``` + +Checkout their getting started guide for more information: https://viteplus.dev/guide/ + +### Install dependencies + +```bash +vp i +``` Read [CONTRIBUTING.md](./CONTRIBUTING.md) before opening an issue or PR. diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 75fc86203a..0795c48a6e 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -27,8 +27,7 @@ "@types/node": "catalog:", "cross-env": "^10.1.0", "electron-builder": "26.8.1", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" }, "productName": "T3 Code (Alpha)" } diff --git a/apps/desktop/src/app/DesktopAppIdentity.ts b/apps/desktop/src/app/DesktopAppIdentity.ts index 7a566194ab..52f4b12808 100644 --- a/apps/desktop/src/app/DesktopAppIdentity.ts +++ b/apps/desktop/src/app/DesktopAppIdentity.ts @@ -52,7 +52,7 @@ const make = Effect.gen(function* () { Effect.map((parsed) => Option.fromNullishOr(parsed.t3codeCommitHash).pipe(Option.flatMap(normalizeCommitHash)), ), - Effect.catch(() => Effect.succeed(Option.none())), + Effect.orElseSucceed(() => Option.none()), ), }); }); diff --git a/apps/desktop/src/backend/tailscaleEndpointProvider.ts b/apps/desktop/src/backend/tailscaleEndpointProvider.ts index bd46e9f03f..b343c3c2bf 100644 --- a/apps/desktop/src/backend/tailscaleEndpointProvider.ts +++ b/apps/desktop/src/backend/tailscaleEndpointProvider.ts @@ -116,11 +116,11 @@ export const resolveTailscaleAdvertisedEndpoints = Effect.fn("resolveTailscaleAd input.statusJson === undefined ? yield* readTailscaleStatus.pipe( Effect.map((status) => status.magicDnsName), - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ) : input.statusJson ? yield* parseTailscaleMagicDnsName(input.statusJson).pipe( - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ) : null; const magicDnsEndpoint = yield* resolveTailscaleMagicDnsAdvertisedEndpoint({ diff --git a/apps/desktop/src/ipc/methods/cloudAuth.test.ts b/apps/desktop/src/ipc/methods/cloudAuth.test.ts index 7418771573..c0e4d8b261 100644 --- a/apps/desktop/src/ipc/methods/cloudAuth.test.ts +++ b/apps/desktop/src/ipc/methods/cloudAuth.test.ts @@ -2,7 +2,7 @@ import { assert, describe, it } from "@effect/vitest"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http"; -import { afterEach } from "vitest"; +import { afterEach } from "vite-plus/test"; import { fetchCloudAuth, validateClerkFrontendApiUrl } from "./cloudAuth.ts"; diff --git a/apps/desktop/src/settings/DesktopAppSettings.ts b/apps/desktop/src/settings/DesktopAppSettings.ts index 497d20b720..f90869b2dc 100644 --- a/apps/desktop/src/settings/DesktopAppSettings.ts +++ b/apps/desktop/src/settings/DesktopAppSettings.ts @@ -295,7 +295,7 @@ function readSettings( onSome: (raw) => decodeDesktopSettingsJson(raw).pipe( Effect.map((parsed) => normalizeDesktopSettingsDocument(parsed, appVersion)), - Effect.catch(() => Effect.succeed(defaultSettings)), + Effect.orElseSucceed(() => defaultSettings), ), }), ), diff --git a/apps/desktop/src/settings/DesktopClientSettings.ts b/apps/desktop/src/settings/DesktopClientSettings.ts index be49435941..68d3fdc904 100644 --- a/apps/desktop/src/settings/DesktopClientSettings.ts +++ b/apps/desktop/src/settings/DesktopClientSettings.ts @@ -63,7 +63,7 @@ const readClientSettings = ( onSome: (raw) => decodeClientSettingsJson(raw).pipe( Effect.map((settings) => Option.some(settings)), - Effect.catch(() => Effect.succeed(Option.none())), + Effect.orElseSucceed(() => Option.none()), ), }), ), diff --git a/apps/desktop/src/settings/DesktopSavedEnvironments.ts b/apps/desktop/src/settings/DesktopSavedEnvironments.ts index bb571a9ad3..531b50ba73 100644 --- a/apps/desktop/src/settings/DesktopSavedEnvironments.ts +++ b/apps/desktop/src/settings/DesktopSavedEnvironments.ts @@ -185,7 +185,7 @@ function readRegistryDocument( onSome: (raw) => decodeSavedEnvironmentRegistryDocumentJson(raw).pipe( Effect.map(normalizeSavedEnvironmentRegistryDocument), - Effect.catch(() => Effect.succeed({ version: 1, records: [] })), + Effect.orElseSucceed(() => ({ version: 1, records: [] })), ), }), ), diff --git a/apps/desktop/src/shell/DesktopShellEnvironment.ts b/apps/desktop/src/shell/DesktopShellEnvironment.ts index a7d775d68f..13ac35b629 100644 --- a/apps/desktop/src/shell/DesktopShellEnvironment.ts +++ b/apps/desktop/src/shell/DesktopShellEnvironment.ts @@ -196,7 +196,7 @@ const runCommandOutput = Effect.fn("desktop.shellEnvironment.runCommandOutput")( .pipe( Effect.timeoutOption(input.timeout), Effect.map(Option.getOrElse(() => "")), - Effect.catch(() => Effect.succeed("")), + Effect.orElseSucceed(() => ""), ); }); diff --git a/apps/desktop/src/updates/DesktopUpdates.ts b/apps/desktop/src/updates/DesktopUpdates.ts index 7702d9eff6..3563a01f61 100644 --- a/apps/desktop/src/updates/DesktopUpdates.ts +++ b/apps/desktop/src/updates/DesktopUpdates.ts @@ -120,7 +120,7 @@ function parseAppUpdateYml(raw: string): Effect.Effect (config.provider ? Option.some(config) : Option.none())), - Effect.catch(() => Effect.succeed(Option.none())), + Effect.orElseSucceed(() => Option.none()), ); } diff --git a/apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts b/apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts index e10876796a..f06868ed7d 100644 --- a/apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts +++ b/apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts @@ -1,4 +1,4 @@ -import { beforeEach, vi } from "vitest"; +import { beforeEach, vi } from "vite-plus/test"; import { describe, expect, it } from "@effect/vitest"; import * as Effect from "effect/Effect"; import type { EnvironmentId } from "@t3tools/contracts"; diff --git a/apps/mobile/src/features/agent-awareness/notificationNavigation.test.ts b/apps/mobile/src/features/agent-awareness/notificationNavigation.test.ts index 361641557a..6d7c247dfa 100644 --- a/apps/mobile/src/features/agent-awareness/notificationNavigation.test.ts +++ b/apps/mobile/src/features/agent-awareness/notificationNavigation.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { extractAgentNotificationDeepLink, diff --git a/apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts b/apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts index 616aab1cb0..346680df8c 100644 --- a/apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts +++ b/apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts @@ -2,7 +2,7 @@ import * as NodeCrypto from "node:crypto"; -import { beforeEach, vi } from "vitest"; +import { beforeEach, vi } from "vite-plus/test"; import { describe, expect, it } from "@effect/vitest"; import Constants from "expo-constants"; import * as Effect from "effect/Effect"; diff --git a/apps/mobile/src/features/cloud/dpop.test.ts b/apps/mobile/src/features/cloud/dpop.test.ts index ccab9ac047..8eda21b96c 100644 --- a/apps/mobile/src/features/cloud/dpop.test.ts +++ b/apps/mobile/src/features/cloud/dpop.test.ts @@ -2,7 +2,7 @@ import * as NodeCrypto from "node:crypto"; -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; import { describe, expect, it } from "@effect/vitest"; import * as Crypto from "effect/Crypto"; import * as Effect from "effect/Effect"; diff --git a/apps/mobile/src/features/cloud/linkEnvironment.test.ts b/apps/mobile/src/features/cloud/linkEnvironment.test.ts index f99a5addcc..16a7a74539 100644 --- a/apps/mobile/src/features/cloud/linkEnvironment.test.ts +++ b/apps/mobile/src/features/cloud/linkEnvironment.test.ts @@ -1,4 +1,4 @@ -import { beforeEach, vi } from "vitest"; +import { beforeEach, vi } from "vite-plus/test"; import { describe, expect, it } from "@effect/vitest"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; diff --git a/apps/mobile/src/features/cloud/publicConfig.test.ts b/apps/mobile/src/features/cloud/publicConfig.test.ts index df9aefdc43..ed5567fe3a 100644 --- a/apps/mobile/src/features/cloud/publicConfig.test.ts +++ b/apps/mobile/src/features/cloud/publicConfig.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { resolveCloudPublicConfig } from "./publicConfig"; diff --git a/apps/mobile/src/lib/storage.test.ts b/apps/mobile/src/lib/storage.test.ts index 3522caa154..83ff2db574 100644 --- a/apps/mobile/src/lib/storage.test.ts +++ b/apps/mobile/src/lib/storage.test.ts @@ -1,5 +1,5 @@ import { EnvironmentId } from "@t3tools/contracts"; -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; const mocks = vi.hoisted(() => { const values = new Map(); diff --git a/apps/mobile/src/state/use-remote-environment-registry.test.ts b/apps/mobile/src/state/use-remote-environment-registry.test.ts index cd3a823af5..fc465bbfb8 100644 --- a/apps/mobile/src/state/use-remote-environment-registry.test.ts +++ b/apps/mobile/src/state/use-remote-environment-registry.test.ts @@ -6,7 +6,7 @@ import { setManagedRelaySession, } from "@t3tools/client-runtime"; import * as Effect from "effect/Effect"; -import { beforeEach, vi } from "vitest"; +import { beforeEach, vi } from "vite-plus/test"; const mocks = vi.hoisted(() => { const environmentConnection = { diff --git a/apps/mobile/src/widgets/AgentActivity.test.ts b/apps/mobile/src/widgets/AgentActivity.test.ts index 03ba05283c..719e39554f 100644 --- a/apps/mobile/src/widgets/AgentActivity.test.ts +++ b/apps/mobile/src/widgets/AgentActivity.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; vi.mock("@expo/ui/swift-ui", () => ({ HStack: "HStack", diff --git a/apps/server/package.json b/apps/server/package.json index 2440caf936..8c248df16b 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -38,12 +38,11 @@ "@t3tools/shared": "workspace:*", "@t3tools/tailscale": "workspace:*", "@t3tools/web": "workspace:*", - "@types/bun": "catalog:", + "@types/bun": "1.3.14", "@types/node": "catalog:", "effect-acp": "workspace:*", "effect-codex-app-server": "workspace:*", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" }, "engines": { "node": "^22.16 || ^23.11 || >=24.10" diff --git a/apps/server/scripts/cli.ts b/apps/server/scripts/cli.ts index 65f99505a8..aced926673 100644 --- a/apps/server/scripts/cli.ts +++ b/apps/server/scripts/cli.ts @@ -195,6 +195,31 @@ const buildCmd = Command.make( // publish subcommand // --------------------------------------------------------------------------- +interface PublishCommandConfig { + readonly access: string; + readonly tag: string; + readonly provenance: boolean; + readonly dryRun: boolean; +} + +const createVpPmPublishArgs = (config: PublishCommandConfig): ReadonlyArray => { + const args = [ + "publish", + "--filter", + "t3", + "--access", + config.access, + "--tag", + config.tag, + "--no-git-checks", + ]; + + if (config.provenance) args.push("--provenance"); + if (config.dryRun) args.push("--dry-run"); + + return args; +}; + const publishCmd = Command.make( "publish", { @@ -260,17 +285,16 @@ const publishCmd = Command.make( const iconBackups = yield* applyPublishIconOverrides(repoRoot, serverDir); return { iconBackups }; }), - // Use: npm publish + // Use: pnpm publish from the workspace root so pnpm-only workspace + // config, including override selectors, is interpreted correctly. () => Effect.gen(function* () { - const args = ["publish", "--access", config.access, "--tag", config.tag]; - if (config.provenance) args.push("--provenance"); - if (config.dryRun) args.push("--dry-run"); + const args = createVpPmPublishArgs(config); - yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`); + yield* Effect.log(`[cli] Running: vp pm ${args.join(" ")}`); yield* runCommand( - ChildProcess.make("npm", [...args], { - cwd: serverDir, + ChildProcess.make("vp", ["pm", ...args], { + cwd: repoRoot, stdout: config.verbose ? "inherit" : "ignore", stderr: "inherit", // Windows needs shell mode to resolve .cmd shims. diff --git a/apps/server/src/auth/dpop.test.ts b/apps/server/src/auth/dpop.test.ts index 379e77844e..76898bc946 100644 --- a/apps/server/src/auth/dpop.test.ts +++ b/apps/server/src/auth/dpop.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import * as PlatformError from "effect/PlatformError"; import * as ServerSecretStore from "./ServerSecretStore.ts"; diff --git a/apps/server/src/checkpointing/Layers/CheckpointStore.ts b/apps/server/src/checkpointing/Layers/CheckpointStore.ts index 9bd72e78b6..53b8d163e4 100644 --- a/apps/server/src/checkpointing/Layers/CheckpointStore.ts +++ b/apps/server/src/checkpointing/Layers/CheckpointStore.ts @@ -35,7 +35,7 @@ const makeCheckpointStore = Effect.gen(function* () { const isGitRepository: CheckpointStoreShape["isGitRepository"] = (cwd) => vcsRegistry.resolve({ cwd, requestedKind: "git" }).pipe( Effect.map(() => true), - Effect.catch(() => Effect.succeed(false)), + Effect.orElseSucceed(() => false), ); const captureCheckpoint: CheckpointStoreShape["captureCheckpoint"] = Effect.fn( diff --git a/apps/server/src/cloud/ManagedEndpointRuntime.test.ts b/apps/server/src/cloud/ManagedEndpointRuntime.test.ts index 16cf946cf0..9ce33deaae 100644 --- a/apps/server/src/cloud/ManagedEndpointRuntime.test.ts +++ b/apps/server/src/cloud/ManagedEndpointRuntime.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from "@effect/vitest"; -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; import * as Deferred from "effect/Deferred"; import * as Effect from "effect/Effect"; import * as Fiber from "effect/Fiber"; diff --git a/apps/server/src/cloud/ManagedEndpointRuntime.ts b/apps/server/src/cloud/ManagedEndpointRuntime.ts index 65656292eb..73e549ebf4 100644 --- a/apps/server/src/cloud/ManagedEndpointRuntime.ts +++ b/apps/server/src/cloud/ManagedEndpointRuntime.ts @@ -152,9 +152,7 @@ export const makeCloudManagedEndpointRuntime = Effect.gen(function* () { const nextConfigKey = runtimeConfigKey(config); const active = yield* Ref.get(activeRef); if (active?.configKey === nextConfigKey) { - const isRunning = yield* active.child.isRunning.pipe( - Effect.catch(() => Effect.succeed(false)), - ); + const isRunning = yield* active.child.isRunning.pipe(Effect.orElseSucceed(() => false)); if (isRunning) { return { status: "running", diff --git a/apps/server/src/git/GitManager.ts b/apps/server/src/git/GitManager.ts index 8d1a71f830..5423f4f147 100644 --- a/apps/server/src/git/GitManager.ts +++ b/apps/server/src/git/GitManager.ts @@ -702,7 +702,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { const tempDir = process.env.TMPDIR ?? process.env.TEMP ?? process.env.TMP ?? "/tmp"; const canonicalizeExistingPath = (value: string) => - fileSystem.realPath(value).pipe(Effect.catch(() => Effect.succeed(value))); + fileSystem.realPath(value).pipe(Effect.orElseSucceed(() => value)); const normalizeStatusCacheKey = canonicalizeExistingPath; const nonRepositoryStatusDetails = { isRepo: false, @@ -766,7 +766,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { if (details.isDefaultBranch && latest.state !== "open") return null; return toStatusPr(latest); }), - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ) : null; @@ -788,7 +788,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { ); const readConfigValueNullable = (cwd: string, key: string) => - gitCore.readConfigValue(cwd, key).pipe(Effect.catch(() => Effect.succeed(null))); + gitCore.readConfigValue(cwd, key).pipe(Effect.orElseSucceed(() => null)); const resolveHostingProvider = Effect.fn("resolveHostingProvider")(function* ( cwd: string, @@ -972,7 +972,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { ) { const terms = yield* sourceControlProvider(cwd).pipe( Effect.map((provider) => getChangeRequestTerminologyForKind(provider.kind)), - Effect.catch(() => Effect.succeed(getChangeRequestTerminologyForKind("unknown"))), + Effect.orElseSucceed(() => getChangeRequestTerminologyForKind("unknown")), ); const summary = summarizeGitActionResult(result, terms); let latestOpenPr: PullRequestInfo | null = null; @@ -1016,7 +1016,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { upstreamRef: finalBranchContext.upstreamRef, }).pipe( Effect.flatMap((headContext) => findOpenPr(cwd, headContext)), - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ); } @@ -1080,7 +1080,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { const defaultFromProvider = yield* sourceControlProvider(cwd).pipe( Effect.flatMap((provider) => provider.getDefaultBranch({ cwd })), - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ); if (defaultFromProvider) { return defaultFromProvider; @@ -1686,7 +1686,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { const changeRequestTerms = wantsPr ? yield* sourceControlProvider(input.cwd).pipe( Effect.map((provider) => getChangeRequestTerminologyForKind(provider.kind)), - Effect.catch(() => Effect.succeed(getChangeRequestTerminologyForKind("unknown"))), + Effect.orElseSucceed(() => getChangeRequestTerminologyForKind("unknown")), ) : null; diff --git a/apps/server/src/http.ts b/apps/server/src/http.ts index 4e815aae8c..517d57168c 100644 --- a/apps/server/src/http.ts +++ b/apps/server/src/http.ts @@ -156,8 +156,8 @@ export const otlpTracesProxyRouteLayer = HttpRouter.add( otlpTracesUrl, }), ), - Effect.catch(() => - Effect.succeed(HttpServerResponse.text("Trace export failed.", { status: 502 })), + Effect.orElseSucceed(() => + HttpServerResponse.text("Trace export failed.", { status: 502 }), ), ); }).pipe( @@ -205,9 +205,7 @@ export const attachmentsRouteLayer = HttpRouter.add( } const fileSystem = yield* FileSystem.FileSystem; - const fileInfo = yield* fileSystem - .stat(filePath) - .pipe(Effect.catch(() => Effect.succeed(null))); + const fileInfo = yield* fileSystem.stat(filePath).pipe(Effect.orElseSucceed(() => null)); if (!fileInfo || fileInfo.type !== "File") { return HttpServerResponse.text("Not Found", { status: 404 }); } @@ -218,9 +216,7 @@ export const attachmentsRouteLayer = HttpRouter.add( "Cache-Control": "public, max-age=31536000, immutable", }, }).pipe( - Effect.catch(() => - Effect.succeed(HttpServerResponse.text("Internal Server Error", { status: 500 })), - ), + Effect.orElseSucceed(() => HttpServerResponse.text("Internal Server Error", { status: 500 })), ); }).pipe( Effect.catchTags({ @@ -265,9 +261,7 @@ export const projectFaviconRouteLayer = HttpRouter.add( "Cache-Control": PROJECT_FAVICON_CACHE_CONTROL, }, }).pipe( - Effect.catch(() => - Effect.succeed(HttpServerResponse.text("Internal Server Error", { status: 500 })), - ), + Effect.orElseSucceed(() => HttpServerResponse.text("Internal Server Error", { status: 500 })), ); }).pipe( Effect.catchTags({ @@ -337,14 +331,12 @@ export const staticAndDevRouteLayer = HttpRouter.add( } } - const fileInfo = yield* fileSystem - .stat(filePath) - .pipe(Effect.catch(() => Effect.succeed(null))); + const fileInfo = yield* fileSystem.stat(filePath).pipe(Effect.orElseSucceed(() => null)); if (!fileInfo || fileInfo.type !== "File") { const indexPath = path.resolve(staticRoot, "index.html"); const indexData = yield* fileSystem .readFile(indexPath) - .pipe(Effect.catch(() => Effect.succeed(null))); + .pipe(Effect.orElseSucceed(() => null)); if (!indexData) { return HttpServerResponse.text("Not Found", { status: 404 }); } @@ -355,9 +347,7 @@ export const staticAndDevRouteLayer = HttpRouter.add( } const contentType = Mime.getType(filePath) ?? "application/octet-stream"; - const data = yield* fileSystem - .readFile(filePath) - .pipe(Effect.catch(() => Effect.succeed(null))); + const data = yield* fileSystem.readFile(filePath).pipe(Effect.orElseSucceed(() => null)); if (!data) { return HttpServerResponse.text("Internal Server Error", { status: 500 }); } diff --git a/apps/server/src/orchestration/Layers/ProjectionPipeline.ts b/apps/server/src/orchestration/Layers/ProjectionPipeline.ts index c201e1d9f9..4a48de19d3 100644 --- a/apps/server/src/orchestration/Layers/ProjectionPipeline.ts +++ b/apps/server/src/orchestration/Layers/ProjectionPipeline.ts @@ -335,7 +335,7 @@ const runAttachmentSideEffects = Effect.fn("runAttachmentSideEffects")(function* const attachmentsRootDir = serverConfig.attachmentsDir; const readAttachmentRootEntries = fileSystem .readDirectory(attachmentsRootDir, { recursive: false }) - .pipe(Effect.catch(() => Effect.succeed([] as Array))); + .pipe(Effect.orElseSucceed(() => [] as Array)); const removeDeletedThreadAttachmentEntry = Effect.fn("removeDeletedThreadAttachmentEntry")( function* (threadSegment: string, entry: string) { @@ -397,9 +397,7 @@ const runAttachmentSideEffects = Effect.fn("runAttachmentSideEffects")(function* } const absolutePath = path.join(attachmentsRootDir, relativePath); - const fileInfo = yield* fileSystem - .stat(absolutePath) - .pipe(Effect.catch(() => Effect.succeed(null))); + const fileInfo = yield* fileSystem.stat(absolutePath).pipe(Effect.orElseSucceed(() => null)); if (!fileInfo || fileInfo.type !== "File") { return; } diff --git a/apps/server/src/project/Layers/ProjectFaviconResolver.ts b/apps/server/src/project/Layers/ProjectFaviconResolver.ts index ed5412bf13..cdfddd5438 100644 --- a/apps/server/src/project/Layers/ProjectFaviconResolver.ts +++ b/apps/server/src/project/Layers/ProjectFaviconResolver.ts @@ -80,9 +80,7 @@ export const makeProjectFaviconResolver = Effect.gen(function* () { if (!isPathWithinProject(projectCwd, candidate)) { continue; } - const stats = yield* fileSystem - .stat(candidate) - .pipe(Effect.catch(() => Effect.succeed(null))); + const stats = yield* fileSystem.stat(candidate).pipe(Effect.orElseSucceed(() => null)); if (stats?.type === "File") { return candidate; } @@ -105,7 +103,7 @@ export const makeProjectFaviconResolver = Effect.gen(function* () { const sourcePath = path.join(cwd, sourceFile); const source = yield* fileSystem .readFileString(sourcePath) - .pipe(Effect.catch(() => Effect.succeed(null))); + .pipe(Effect.orElseSucceed(() => null)); if (!source) { continue; } diff --git a/apps/server/src/provider/providerMaintenance.ts b/apps/server/src/provider/providerMaintenance.ts index 7f5e9d94dc..3b0fabf6a9 100644 --- a/apps/server/src/provider/providerMaintenance.ts +++ b/apps/server/src/provider/providerMaintenance.ts @@ -347,7 +347,7 @@ export const resolveProviderMaintenanceCapabilitiesEffect = Effect.fn( const fileSystem = yield* FileSystem.FileSystem; const realCommandPath = yield* fileSystem .realPath(resolvedCommandPath) - .pipe(Effect.catch(() => Effect.succeed(resolvedCommandPath))); + .pipe(Effect.orElseSucceed(() => resolvedCommandPath)); return resolver.resolve({ ...options, realCommandPath, @@ -406,7 +406,7 @@ const fetchNpmLatestVersion = Effect.fn("fetchNpmLatestVersion")(function* (pack ).pipe(HttpClientRequest.setHeader("accept", "application/json")); const response = yield* client.execute(request).pipe( Effect.timeoutOption(LATEST_VERSION_TIMEOUT_MS), - Effect.catch(() => Effect.succeed(Option.none())), + Effect.orElseSucceed(() => Option.none()), ); if (Option.isNone(response)) { return null; @@ -417,7 +417,7 @@ const fetchNpmLatestVersion = Effect.fn("fetchNpmLatestVersion")(function* (pack } const payload = yield* httpResponse.json.pipe( Effect.flatMap(Schema.decodeUnknownEffect(NpmLatestVersionResponse)), - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ); return payload ? nonEmptyString(payload.version) : null; }); diff --git a/apps/server/src/review/ReviewService.ts b/apps/server/src/review/ReviewService.ts index ddbad606e9..63f1d13321 100644 --- a/apps/server/src/review/ReviewService.ts +++ b/apps/server/src/review/ReviewService.ts @@ -35,9 +35,7 @@ export const make = Effect.fn("makeReviewService")(function* () { const git = yield* GitVcsDriver.GitVcsDriver; const canonicalizePath = (value: string) => - fileSystem - .realPath(path.resolve(value)) - .pipe(Effect.catch(() => Effect.succeed(path.resolve(value)))); + fileSystem.realPath(path.resolve(value)).pipe(Effect.orElseSucceed(() => path.resolve(value))); const isWithinRoot = (candidate: string, root: string) => { const relative = path.relative(root, candidate); diff --git a/apps/server/src/sourceControl/BitbucketApi.ts b/apps/server/src/sourceControl/BitbucketApi.ts index 7b5f19b6b9..632778eca2 100644 --- a/apps/server/src/sourceControl/BitbucketApi.ts +++ b/apps/server/src/sourceControl/BitbucketApi.ts @@ -359,7 +359,7 @@ function responseError( response: HttpClientResponse.HttpClientResponse, ): Effect.Effect { return response.text.pipe( - Effect.catch(() => Effect.succeed("")), + Effect.orElseSucceed(() => ""), Effect.flatMap((body) => Effect.fail( new BitbucketApiError({ @@ -524,7 +524,7 @@ export const make = Effect.fn("makeBitbucketApi")(function* () { ); const readConfigValueNullable = (cwd: string, key: string) => - git.readConfigValue(cwd, key).pipe(Effect.catch(() => Effect.succeed(null))); + git.readConfigValue(cwd, key).pipe(Effect.orElseSucceed(() => null)); const resolveCheckoutRemote = Effect.fn("BitbucketApi.resolveCheckoutRemote")(function* (input: { readonly cwd: string; @@ -544,7 +544,7 @@ export const make = Effect.fn("makeBitbucketApi")(function* () { if (!input.isCrossRepository) { const remoteName = yield* git .resolvePrimaryRemoteName(input.cwd) - .pipe(Effect.catch(() => Effect.succeed(null))); + .pipe(Effect.orElseSucceed(() => null)); if (remoteName) return remoteName; } @@ -575,7 +575,7 @@ export const make = Effect.fn("makeBitbucketApi")(function* () { host: Option.some("bitbucket.org"), detail: Option.none(), })), - Effect.catch(() => Effect.succeed(authFromConfig(config))), + Effect.orElseSucceed(() => authFromConfig(config)), ), listPullRequests: (input) => resolveRepository(input).pipe( @@ -685,8 +685,8 @@ export const make = Effect.fn("makeBitbucketApi")(function* () { { repository: getRepositoryFromLocator(locator), branchingModel: getBranchingModelFromLocator(locator).pipe( - Effect.catch(() => - Effect.succeed(null), + Effect.orElseSucceed( + (): typeof RawBitbucketBranchingModelSchema.Type | null => null, ), ), }, diff --git a/apps/server/src/sourceControl/SourceControlProviderDiscovery.ts b/apps/server/src/sourceControl/SourceControlProviderDiscovery.ts index c5ab091ac4..856d6948e0 100644 --- a/apps/server/src/sourceControl/SourceControlProviderDiscovery.ts +++ b/apps/server/src/sourceControl/SourceControlProviderDiscovery.ts @@ -299,7 +299,7 @@ export const refineUnknownRemoteProvider = Effect.fn("refineUnknownRemoteProvide auth, }), ), - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ), ); const provider = providers.find((candidate) => candidate !== null); diff --git a/apps/server/src/sourceControl/SourceControlRepositoryService.ts b/apps/server/src/sourceControl/SourceControlRepositoryService.ts index 3f8c146f4c..106d300ec2 100644 --- a/apps/server/src/sourceControl/SourceControlRepositoryService.ts +++ b/apps/server/src/sourceControl/SourceControlRepositoryService.ts @@ -277,12 +277,10 @@ export const make = Effect.fn("makeSourceControlRepositoryService")(function* () }) .pipe( Effect.map(() => true), - Effect.catch(() => Effect.succeed(false)), + Effect.orElseSucceed(() => false), ); if (!hasCommits) { - const details = yield* git - .statusDetails(input.cwd) - .pipe(Effect.catch(() => Effect.succeed(null))); + const details = yield* git.statusDetails(input.cwd).pipe(Effect.orElseSucceed(() => null)); return { repository: toRepositoryInfo(providerKind, urls), remoteName, diff --git a/apps/server/src/telemetry/Layers/AnalyticsService.test.ts b/apps/server/src/telemetry/Layers/AnalyticsService.test.ts index 03ebd2fdc6..5aa47406d9 100644 --- a/apps/server/src/telemetry/Layers/AnalyticsService.test.ts +++ b/apps/server/src/telemetry/Layers/AnalyticsService.test.ts @@ -62,7 +62,7 @@ it.layer(NodeServices.layer)("AnalyticsService test", (it) => { const payload = yield* request.json.pipe( Effect.map((body) => body as RecordedBatchRequest["body"]), - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ); capturedRequests.push({ path: request.url, body: payload }); diff --git a/apps/server/src/terminal/Layers/BunPTY.ts b/apps/server/src/terminal/Layers/BunPTY.ts index 40113a1915..5fde146919 100644 --- a/apps/server/src/terminal/Layers/BunPTY.ts +++ b/apps/server/src/terminal/Layers/BunPTY.ts @@ -1,3 +1,5 @@ +/// + import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; import { PtyAdapter } from "../Services/PTY.ts"; diff --git a/apps/server/src/terminal/Layers/Manager.ts b/apps/server/src/terminal/Layers/Manager.ts index a690975a4b..cd490de1e3 100644 --- a/apps/server/src/terminal/Layers/Manager.ts +++ b/apps/server/src/terminal/Layers/Manager.ts @@ -1289,7 +1289,7 @@ export const makeTerminalManagerWithOptions = Effect.fn("makeTerminalManagerWith const threadPrefix = `${toSafeThreadId(threadId)}_`; const entries = yield* fileSystem .readDirectory(logsDir, { recursive: false }) - .pipe(Effect.catch(() => Effect.succeed([] as Array))); + .pipe(Effect.orElseSucceed(() => [] as Array)); yield* Effect.forEach( entries.filter( (name) => diff --git a/apps/server/src/textGeneration/CodexTextGeneration.ts b/apps/server/src/textGeneration/CodexTextGeneration.ts index 7f400d9ce5..d42fb07aa0 100644 --- a/apps/server/src/textGeneration/CodexTextGeneration.ts +++ b/apps/server/src/textGeneration/CodexTextGeneration.ts @@ -140,9 +140,7 @@ export const makeCodexTextGeneration = Effect.fn("makeCodexTextGeneration")(func if (!resolvedPath || !path.isAbsolute(resolvedPath)) { continue; } - const fileInfo = yield* fileSystem - .stat(resolvedPath) - .pipe(Effect.catch(() => Effect.succeed(null))); + const fileInfo = yield* fileSystem.stat(resolvedPath).pipe(Effect.orElseSucceed(() => null)); if (!fileInfo || fileInfo.type !== "File") { continue; } diff --git a/apps/server/src/vcs/GitVcsDriver.ts b/apps/server/src/vcs/GitVcsDriver.ts index c75570d4b1..465cd21f32 100644 --- a/apps/server/src/vcs/GitVcsDriver.ts +++ b/apps/server/src/vcs/GitVcsDriver.ts @@ -403,7 +403,7 @@ export const makeVcsDriverShape = Effect.fn("makeGitVcsDriverShape")(function* ( "GitVcsDriver.detectRepository.commonDir", cwd, ["rev-parse", "--git-common-dir"], - ).pipe(Effect.catch(() => Effect.succeed(null))); + ).pipe(Effect.orElseSucceed(() => null)); return { kind: "git" as const, diff --git a/apps/server/src/vcs/GitVcsDriverCore.ts b/apps/server/src/vcs/GitVcsDriverCore.ts index b6a48f5b18..240c20336c 100644 --- a/apps/server/src/vcs/GitVcsDriverCore.ts +++ b/apps/server/src/vcs/GitVcsDriverCore.ts @@ -885,7 +885,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* const remoteNames = yield* runGitStdout("GitVcsDriver.listRemoteNames", cwd, ["remote"]).pipe( Effect.map(parseRemoteNames), - Effect.catch(() => Effect.succeed>([])), + Effect.orElseSucceed((): ReadonlyArray => []), ); return ( parseUpstreamRefWithRemoteNames(upstreamRef, remoteNames) ?? @@ -996,7 +996,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* cwd: string, branchName: string, ) { - const remoteNames = yield* listRemoteNames(cwd).pipe(Effect.catch(() => Effect.succeed([]))); + const remoteNames = yield* listRemoteNames(cwd).pipe(Effect.orElseSucceed(() => [])); const parsedRemoteRef = parseRemoteRefWithRemoteNames(branchName, remoteNames); return parsedRemoteRef?.branchName ?? branchName; }); @@ -1042,7 +1042,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* return pushDefaultRemote; } - return yield* resolvePrimaryRemoteName(cwd).pipe(Effect.catch(() => Effect.succeed(null))); + return yield* resolvePrimaryRemoteName(cwd).pipe(Effect.orElseSucceed(() => null)); }); const ensureRemote: GitVcsDriver.GitVcsDriverShape["ensureRemote"] = Effect.fn("ensureRemote")( @@ -1090,7 +1090,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* ).pipe(Effect.map((stdout) => stdout.trim())); const primaryRemoteName = yield* resolvePrimaryRemoteName(cwd).pipe( - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ); const defaultBranch = primaryRemoteName === null ? null : yield* resolveDefaultBranchName(cwd, primaryRemoteName); @@ -1231,7 +1231,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* allowNonZeroExit: true, }, ), - originRemoteExists(cwd).pipe(Effect.catch(() => Effect.succeed(false))), + originRemoteExists(cwd).pipe(Effect.orElseSucceed(() => false)), ], { concurrency: "unbounded" }, ); @@ -1276,9 +1276,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* const fallbackAheadCount = !upstreamRef && refName - ? yield* computeAheadCountAgainstBase(cwd, refName).pipe( - Effect.catch(() => Effect.succeed(0)), - ) + ? yield* computeAheadCountAgainstBase(cwd, refName).pipe(Effect.orElseSucceed(() => 0)) : null; if (fallbackAheadCount !== null) { @@ -1294,9 +1292,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* aheadOfDefaultCount = fallbackAheadCount !== null ? fallbackAheadCount - : yield* computeAheadCountAgainstBase(cwd, refName).pipe( - Effect.catch(() => Effect.succeed(0)), - ); + : yield* computeAheadCountAgainstBase(cwd, refName).pipe(Effect.orElseSucceed(() => 0)); } const stagedEntries = parseNumstatEntries(stagedNumstatStdout); @@ -1494,11 +1490,11 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* } const comparableBaseBranch = yield* resolveBaseBranchForNoUpstream(cwd, branch).pipe( - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ); if (comparableBaseBranch) { const publishRemoteName = yield* resolvePushRemoteName(cwd, branch).pipe( - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ); if (!publishRemoteName) { return { @@ -1508,7 +1504,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* } const hasRemoteBranch = yield* remoteBranchExists(cwd, publishRemoteName, branch).pipe( - Effect.catch(() => Effect.succeed(false)), + Effect.orElseSucceed(() => false), ); if (hasRemoteBranch) { return { @@ -1545,7 +1541,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* } const currentUpstream = yield* resolveCurrentUpstream(cwd).pipe( - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ); if (currentUpstream) { yield* runGit("GitVcsDriver.pushCurrentBranch.pushUpstream", cwd, [ @@ -1716,7 +1712,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* input.baseRef ?? (branch ? yield* resolveBaseBranchForNoUpstream(input.cwd, branch).pipe( - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ) : null); @@ -1729,18 +1725,16 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* appendTruncationMarker: true, }, ).pipe( - Effect.catch(() => - Effect.succeed({ - exitCode: 0, - stdout: "", - stderr: "", - stdoutTruncated: false, - stderrTruncated: false, - }), - ), + Effect.orElseSucceed(() => ({ + exitCode: 0, + stdout: "", + stderr: "", + stdoutTruncated: false, + stderrTruncated: false, + })), ); const dirtyUntracked = yield* readUntrackedReviewDiffs(input.cwd).pipe( - Effect.catch(() => Effect.succeed({ diff: "", truncated: false })), + Effect.orElseSucceed(() => ({ diff: "", truncated: false })), ); const dirtyDiff = [dirtyTrackedResult.stdout.trimEnd(), dirtyUntracked.diff.trimEnd()] .filter((diff) => diff.length > 0) @@ -1757,15 +1751,13 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* appendTruncationMarker: true, }, ).pipe( - Effect.catch(() => - Effect.succeed({ - exitCode: 0, - stdout: "", - stderr: "", - stdoutTruncated: false, - stderrTruncated: false, - }), - ), + Effect.orElseSucceed(() => ({ + exitCode: 0, + stdout: "", + stderr: "", + stdoutTruncated: false, + stderrTruncated: false, + })), ) : null; const baseDiff = baseResult?.stdout ?? ""; @@ -1827,7 +1819,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* const listRefs: GitVcsDriver.GitVcsDriverShape["listRefs"] = Effect.fn("listRefs")( function* (input) { const branchRecencyPromise = readBranchRecency(input.cwd).pipe( - Effect.catch(() => Effect.succeed(new Map())), + Effect.orElseSucceed(() => new Map()), ); const localBranchResult = yield* executeGit( "GitVcsDriver.listRefs.branchNoColor", @@ -1970,7 +1962,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* const candidatePath = line.slice("worktree ".length); const exists = yield* fileSystem.stat(candidatePath).pipe( Effect.map(() => true), - Effect.catch(() => Effect.succeed(false)), + Effect.orElseSucceed(() => false), ); currentPath = exists ? candidatePath : null; } else if (line.startsWith("branch refs/heads/") && currentPath) { diff --git a/apps/server/src/workspace/Layers/WorkspaceEntries.ts b/apps/server/src/workspace/Layers/WorkspaceEntries.ts index f3b9d5b767..d52d4f1466 100644 --- a/apps/server/src/workspace/Layers/WorkspaceEntries.ts +++ b/apps/server/src/workspace/Layers/WorkspaceEntries.ts @@ -188,7 +188,7 @@ export const makeWorkspaceEntries = Effect.gen(function* () { const isInsideVcsWorkTree = (cwd: string): Effect.Effect => vcsRegistry.detect({ cwd }).pipe( Effect.map((handle) => handle !== null), - Effect.catch(() => Effect.succeed(false)), + Effect.orElseSucceed(() => false), ); const filterVcsIgnoredPaths = ( @@ -200,23 +200,23 @@ export const makeWorkspaceEntries = Effect.gen(function* () { handle ? handle.driver.filterIgnoredPaths(cwd, relativePaths).pipe( Effect.map((paths) => [...paths]), - Effect.catch(() => Effect.succeed(relativePaths)), + Effect.orElseSucceed(() => relativePaths), ) : Effect.succeed(relativePaths), ), - Effect.catch(() => Effect.succeed(relativePaths)), + Effect.orElseSucceed(() => relativePaths), ); const buildWorkspaceIndexFromVcs = Effect.fn("WorkspaceEntries.buildWorkspaceIndexFromVcs")( function* (cwd: string) { - const vcs = yield* vcsRegistry.detect({ cwd }).pipe(Effect.catch(() => Effect.succeed(null))); + const vcs = yield* vcsRegistry.detect({ cwd }).pipe(Effect.orElseSucceed(() => null)); if (!vcs) { return null; } const listedFiles = yield* vcs.driver .listWorkspaceFiles(cwd) - .pipe(Effect.catch(() => Effect.succeed(null))); + .pipe(Effect.orElseSucceed(() => null)); if (!listedFiles) { return null; @@ -431,7 +431,7 @@ export const makeWorkspaceEntries = Effect.gen(function* () { const invalidate: WorkspaceEntriesShape["invalidate"] = Effect.fn("WorkspaceEntries.invalidate")( function* (cwd) { const normalizedCwd = yield* normalizeWorkspaceRoot(cwd).pipe( - Effect.catch(() => Effect.succeed(cwd)), + Effect.orElseSucceed(() => cwd), ); yield* Cache.invalidate(workspaceIndexCache, cwd); if (normalizedCwd !== cwd) { diff --git a/apps/server/src/workspace/Layers/WorkspaceFileSystem.test.ts b/apps/server/src/workspace/Layers/WorkspaceFileSystem.test.ts index e748a27a58..9b93b1e863 100644 --- a/apps/server/src/workspace/Layers/WorkspaceFileSystem.test.ts +++ b/apps/server/src/workspace/Layers/WorkspaceFileSystem.test.ts @@ -132,7 +132,7 @@ it.layer(TestLayer)("WorkspaceFileSystemLive", (it) => { const escapedPath = path.resolve(cwd, "..", "escape.md"); const escapedStat = yield* fileSystem .stat(escapedPath) - .pipe(Effect.catch(() => Effect.succeed(null))); + .pipe(Effect.orElseSucceed(() => null)); expect(escapedStat).toBeNull(); }), ); diff --git a/apps/server/src/workspace/Layers/WorkspacePaths.ts b/apps/server/src/workspace/Layers/WorkspacePaths.ts index 9dd33aaac7..f994aa875e 100644 --- a/apps/server/src/workspace/Layers/WorkspacePaths.ts +++ b/apps/server/src/workspace/Layers/WorkspacePaths.ts @@ -37,7 +37,7 @@ export const makeWorkspacePaths = Effect.gen(function* () { const normalizedWorkspaceRoot = path.resolve(expandHomePath(workspaceRoot.trim(), path)); let workspaceStat = yield* fileSystem .stat(normalizedWorkspaceRoot) - .pipe(Effect.catch(() => Effect.succeed(null))); + .pipe(Effect.orElseSucceed(() => null)); if (!workspaceStat && options?.createIfMissing) { yield* fileSystem.makeDirectory(normalizedWorkspaceRoot, { recursive: true }).pipe( Effect.mapError( @@ -50,7 +50,7 @@ export const makeWorkspacePaths = Effect.gen(function* () { ); workspaceStat = yield* fileSystem .stat(normalizedWorkspaceRoot) - .pipe(Effect.catch(() => Effect.succeed(null))); + .pipe(Effect.orElseSucceed(() => null)); } if (!workspaceStat) { return yield* new WorkspaceRootNotExistsError({ diff --git a/apps/server/src/ws.ts b/apps/server/src/ws.ts index 059918e132..0f2a8f790b 100644 --- a/apps/server/src/ws.ts +++ b/apps/server/src/ws.ts @@ -436,7 +436,7 @@ const makeWsRpcLayer = (currentSession: AuthenticatedSession) => repositoryIdentity, }, } satisfies OrchestrationEvent; - }).pipe(Effect.catch(() => Effect.succeed(event))); + }).pipe(Effect.orElseSucceed(() => event)); default: return Effect.succeed(event); } @@ -459,7 +459,7 @@ const makeWsRpcLayer = (currentSession: AuthenticatedSession) => project: nextProject, })), ), - Effect.catch(() => Effect.succeed(Option.none())), + Effect.orElseSucceed(() => Option.none()), ); case "project.deleted": return Effect.succeed( @@ -487,7 +487,7 @@ const makeWsRpcLayer = (currentSession: AuthenticatedSession) => thread: nextThread, })), ), - Effect.catch(() => Effect.succeed(Option.none())), + Effect.orElseSucceed(() => Option.none()), ); default: if (event.aggregateKind !== "thread") { @@ -503,7 +503,7 @@ const makeWsRpcLayer = (currentSession: AuthenticatedSession) => thread: nextThread, })), ), - Effect.catch(() => Effect.succeed(Option.none())), + Effect.orElseSucceed(() => Option.none()), ); } }; @@ -777,7 +777,7 @@ const makeWsRpcLayer = (currentSession: AuthenticatedSession) => thread.session !== null && thread.session.status !== "stopped", }), ), - Effect.catch(() => Effect.succeed(false)), + Effect.orElseSucceed(() => false), ) : false; const result = yield* dispatchNormalizedCommand(normalizedCommand); diff --git a/apps/server/tsconfig.json b/apps/server/tsconfig.json index 44e9d1206d..63ce5a30c4 100644 --- a/apps/server/tsconfig.json +++ b/apps/server/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "types": ["node", "bun"], + "types": ["node"], "lib": ["ESNext", "esnext.disposable"] }, "include": ["src", "vite.config.ts", "scripts", "integration", "../../scripts/lib"] diff --git a/apps/web/package.json b/apps/web/package.json index 2d09705313..64c59f0e89 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -62,7 +62,6 @@ "tailwindcss": "^4.0.0", "vite": "catalog:", "vite-plus": "catalog:", - "vitest": "catalog:", "vitest-browser-react": "^2.0.5" } } diff --git a/apps/web/src/cloud/desktopAuth.test.ts b/apps/web/src/cloud/desktopAuth.test.ts index 9a9b244517..520130518d 100644 --- a/apps/web/src/cloud/desktopAuth.test.ts +++ b/apps/web/src/cloud/desktopAuth.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { resolveDesktopCloudAuthOAuthOptions } from "./desktopAuth"; diff --git a/apps/web/src/cloud/desktopClerkExternalAccounts.test.ts b/apps/web/src/cloud/desktopClerkExternalAccounts.test.ts index 361b52001b..031094b7a0 100644 --- a/apps/web/src/cloud/desktopClerkExternalAccounts.test.ts +++ b/apps/web/src/cloud/desktopClerkExternalAccounts.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { makeDesktopClerkExternalAccountAdapter, diff --git a/apps/web/src/cloud/dpop.test.ts b/apps/web/src/cloud/dpop.test.ts index bea52c9664..754930d0ce 100644 --- a/apps/web/src/cloud/dpop.test.ts +++ b/apps/web/src/cloud/dpop.test.ts @@ -1,6 +1,6 @@ import { verifyDpopProof } from "@t3tools/shared/dpop"; import * as Effect from "effect/Effect"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { browserCryptoLayer, createBrowserDpopProof, generateBrowserDpopKey } from "./dpop"; diff --git a/apps/web/src/cloud/linkEnvironment.test.ts b/apps/web/src/cloud/linkEnvironment.test.ts index 6b7143b186..9baae20a68 100644 --- a/apps/web/src/cloud/linkEnvironment.test.ts +++ b/apps/web/src/cloud/linkEnvironment.test.ts @@ -1,6 +1,6 @@ import { EnvironmentId } from "@t3tools/contracts"; import { RelayWebClientId } from "@t3tools/contracts/relay"; -import { afterEach, beforeEach, vi } from "vitest"; +import { afterEach, beforeEach, vi } from "vite-plus/test"; import { describe, expect, it } from "@effect/vitest"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; diff --git a/apps/web/src/cloud/publicConfig.test.ts b/apps/web/src/cloud/publicConfig.test.ts index a19814beb3..bb188d0b11 100644 --- a/apps/web/src/cloud/publicConfig.test.ts +++ b/apps/web/src/cloud/publicConfig.test.ts @@ -1,4 +1,4 @@ -import { afterEach, describe, expect, it, vi } from "vitest"; +import { afterEach, describe, expect, it, vi } from "vite-plus/test"; import { hasCloudPublicConfig } from "./publicConfig.ts"; diff --git a/apps/web/src/cloud/relayClientInstallDialog.test.ts b/apps/web/src/cloud/relayClientInstallDialog.test.ts index 85f3cbe57b..8f2a25bc3a 100644 --- a/apps/web/src/cloud/relayClientInstallDialog.test.ts +++ b/apps/web/src/cloud/relayClientInstallDialog.test.ts @@ -1,4 +1,4 @@ -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import { completeRelayClientInstallDialogClose, diff --git a/apps/web/src/components/clerk/DesktopClerkSignIn.browser.tsx b/apps/web/src/components/clerk/DesktopClerkSignIn.browser.tsx index b3b55c3c31..a5dc52053e 100644 --- a/apps/web/src/components/clerk/DesktopClerkSignIn.browser.tsx +++ b/apps/web/src/components/clerk/DesktopClerkSignIn.browser.tsx @@ -1,7 +1,7 @@ import "../../index.css"; -import { page, userEvent } from "vitest/browser"; -import { afterEach, describe, expect, it, vi } from "vitest"; +import { page, userEvent } from "vite-plus/test/browser"; +import { afterEach, describe, expect, it, vi } from "vite-plus/test"; import { render } from "vitest-browser-react"; import type { DesktopCloudAuthOAuthOption } from "../../cloud/desktopAuth"; diff --git a/apps/web/src/components/cloud/RelayClientInstallDialog.browser.tsx b/apps/web/src/components/cloud/RelayClientInstallDialog.browser.tsx index d58b561841..b4bb763593 100644 --- a/apps/web/src/components/cloud/RelayClientInstallDialog.browser.tsx +++ b/apps/web/src/components/cloud/RelayClientInstallDialog.browser.tsx @@ -1,7 +1,7 @@ import "../../index.css"; -import { page } from "vitest/browser"; -import { beforeEach, describe, expect, it } from "vitest"; +import { page } from "vite-plus/test/browser"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import { render } from "vitest-browser-react"; import { diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index f8684c2d0e..0e226fc136 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -8,7 +8,6 @@ "verbatimModuleSyntax": false, "jsx": "react-jsx", "lib": ["ES2023", "DOM", "DOM.Iterable"], - "types": ["vite/client"], "paths": { "~/*": ["./src/*"] }, diff --git a/infra/relay/package.json b/infra/relay/package.json index 47cc7a7c76..4fa7686e76 100644 --- a/infra/relay/package.json +++ b/infra/relay/package.json @@ -14,7 +14,7 @@ "@t3tools/client-runtime": "workspace:*", "@t3tools/contracts": "workspace:*", "@t3tools/shared": "workspace:*", - "alchemy": "https://pkg.ing/alchemy/8b9c241", + "alchemy": "https://pkg.ing/alchemy/078ff00", "drizzle-orm": "1.0.0-rc.3", "effect": "catalog:" }, @@ -24,6 +24,7 @@ "@effect/vitest": "catalog:", "@types/node": "catalog:", "drizzle-kit": "1.0.0-rc.3", - "vitest": "catalog:" + "vite": "catalog:", + "vite-plus": "catalog:" } } diff --git a/infra/relay/scripts/deploy.test.ts b/infra/relay/scripts/deploy.test.ts index 3adc2468a8..db4d3df312 100644 --- a/infra/relay/scripts/deploy.test.ts +++ b/infra/relay/scripts/deploy.test.ts @@ -1,6 +1,6 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; -import { hasDeployChanges, reconcileRootEnvRelayUrl } from "./deploy.ts"; +import { hasDeployChanges, reconcileRootEnvRelayUrl, serializeGithubOutput } from "./deploy.ts"; describe("hasDeployChanges", () => { it("detects resource, binding, and deletion changes", () => { @@ -50,3 +50,15 @@ describe("reconcileRootEnvRelayUrl", () => { ); }); }); + +describe("serializeGithubOutput", () => { + it("serializes relay deploy metadata for GitHub Actions outputs", () => { + expect( + serializeGithubOutput({ + changed: false, + result: "noop", + relay_url: "https://relay.example.test", + }), + ).toBe("changed=false\nresult=noop\nrelay_url=https://relay.example.test\n"); + }); +}); diff --git a/infra/relay/scripts/deploy.ts b/infra/relay/scripts/deploy.ts index b2d1ecf0e8..d259b8b026 100644 --- a/infra/relay/scripts/deploy.ts +++ b/infra/relay/scripts/deploy.ts @@ -39,6 +39,7 @@ export interface RelayDeployOptions { readonly stage: Option.Option; readonly yes: boolean; readonly adopt: boolean; + readonly githubOutput: boolean; } export function reconcileRootEnvRelayUrl(contents: string, relayUrl: string): string { @@ -62,6 +63,20 @@ export function hasDeployChanges(plan: Plan.Plan): boolean { ); } +export type RelayDeployResult = "applied" | "noop" | "dry-run" | "cancelled"; + +export interface RelayDeployOutcome { + readonly result: RelayDeployResult; + readonly changed: boolean; + readonly relayUrl: Option.Option; +} + +export function serializeGithubOutput(entries: Readonly>): string { + return Object.entries(entries) + .map(([key, value]) => `${key}=${value}\n`) + .join(""); +} + const relayRoot = Effect.service(Path.Path).pipe( Effect.flatMap((path) => path.fromFileUrl(new URL("..", import.meta.url))), ); @@ -80,7 +95,7 @@ const loadDeployConfigProvider = Effect.fn("relay.deploy.loadConfigProvider")(fu } return yield* ConfigProvider.fromDotEnv({ path: path.join(root, ".env") }).pipe( - Effect.catch(() => Effect.succeed(ConfigProvider.fromEnv())), + Effect.orElseSucceed(() => ConfigProvider.fromEnv()), ); }); @@ -102,6 +117,22 @@ const reconcileRootEnv = Effect.fn("relay.deploy.reconcileRootEnv")(function* (r yield* Console.log(`Updated ${rootEnvPath} with T3CODE_RELAY_URL=${relayUrl}`); }); +const writeGithubOutput = Effect.fn("relay.deploy.writeGithubOutput")(function* ( + outcome: RelayDeployOutcome, +) { + const fs = yield* FileSystem.FileSystem; + const githubOutputPath = yield* Config.nonEmptyString("GITHUB_OUTPUT"); + yield* fs.writeFileString( + githubOutputPath, + serializeGithubOutput({ + changed: outcome.changed, + result: outcome.result, + ...(Option.isSome(outcome.relayUrl) ? { relay_url: outcome.relayUrl.value } : {}), + }), + { flag: "a" }, + ); +}); + const deployServices = Layer.mergeAll( Layer.provideMerge(AlchemyContextLive, PlatformServices), Layer.provide(ProfileLive, PlatformServices), @@ -123,11 +154,16 @@ const runRelayDeploy = Effect.fn("relay.deploy.run")( const plan = yield* Plan.make(stack, { force: options.force }).pipe( Effect.provide(stack.services), ); + const changed = hasDeployChanges(plan); if (options.dryRun) { yield* cli.displayPlan(plan); - return Option.none(); + return { + result: "dry-run", + changed, + relayUrl: Option.none(), + } satisfies RelayDeployOutcome; } - if (!options.yes && hasDeployChanges(plan)) { + if (!options.yes && changed) { yield* cli.displayPlan(plan); const approved = yield* Prompt.run( Prompt.confirm({ @@ -136,7 +172,11 @@ const runRelayDeploy = Effect.fn("relay.deploy.run")( ); if (!approved) { yield* Console.log("Deployment cancelled."); - return Option.none(); + return { + result: "cancelled", + changed, + relayUrl: Option.none(), + } satisfies RelayDeployOutcome; } } const output = yield* Apply.apply(plan).pipe(Effect.provide(stack.services)); @@ -145,7 +185,11 @@ const runRelayDeploy = Effect.fn("relay.deploy.run")( message: "Alchemy relay deploy output did not include a URL", }); } - return Option.some(output.url); + return { + result: changed ? "applied" : "noop", + changed, + relayUrl: Option.some(output.url), + } satisfies RelayDeployOutcome; }, (effect, options, configProvider, stage) => effect.pipe( @@ -171,9 +215,12 @@ export const deploy = Effect.fn("relay.deploy")(function* (options: RelayDeployO Effect.provide(ConfigProvider.layer(configProvider)), ); const stage = Option.getOrElse(options.stage, () => configuredStage); - const relayUrl = yield* runRelayDeploy(options, configProvider, stage); - if (Option.isSome(relayUrl)) { - yield* reconcileRootEnv(relayUrl.value); + const outcome = yield* runRelayDeploy(options, configProvider, stage); + if (Option.isSome(outcome.relayUrl)) { + yield* reconcileRootEnv(outcome.relayUrl.value); + } + if (options.githubOutput) { + yield* writeGithubOutput(outcome); } }); @@ -206,6 +253,10 @@ export const relayDeployCommand = Command.make( Flag.withDescription("Adopt pre-existing cloud resources that conflict with this stack."), Flag.withDefault(false), ), + githubOutput: Flag.boolean("github-output").pipe( + Flag.withDescription("Append relay deployment metadata to GITHUB_OUTPUT."), + Flag.withDefault(false), + ), }, deploy, ).pipe(Command.withDescription("Deploy the T3 Code relay through Alchemy.")); diff --git a/infra/relay/src/auth/RelayTokens.ts b/infra/relay/src/auth/RelayTokens.ts index b9c50bd2e8..f7f02c49f8 100644 --- a/infra/relay/src/auth/RelayTokens.ts +++ b/infra/relay/src/auth/RelayTokens.ts @@ -161,7 +161,7 @@ const make = Effect.gen(function* () { } return claims; }), - Effect.catch(() => Effect.succeed(null)), + Effect.orElseSucceed(() => null), ), ); diff --git a/infra/relay/src/dbConfig.test.ts b/infra/relay/src/dbConfig.test.ts index 31a1c06531..e97b29a742 100644 --- a/infra/relay/src/dbConfig.test.ts +++ b/infra/relay/src/dbConfig.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { relayDatabaseMode } from "./dbConfig.ts"; diff --git a/infra/relay/src/deploymentConfig.test.ts b/infra/relay/src/deploymentConfig.test.ts index b83e750ad0..d7940b8031 100644 --- a/infra/relay/src/deploymentConfig.test.ts +++ b/infra/relay/src/deploymentConfig.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { managedEndpointDigestInput, diff --git a/infra/relay/src/environments/ManagedEndpointProvider.ts b/infra/relay/src/environments/ManagedEndpointProvider.ts index 068beccff0..00fef2bbf7 100644 --- a/infra/relay/src/environments/ManagedEndpointProvider.ts +++ b/infra/relay/src/environments/ManagedEndpointProvider.ts @@ -242,7 +242,7 @@ const make = Effect.gen(function* () { .updateRecord(preferredDnsRecordId, dnsRecord) .pipe( Effect.as(true), - Effect.catch(() => Effect.succeed(false)), + Effect.orElseSucceed(() => false), ); if (checkpointedRecordUpdated) { return preferredDnsRecordId; diff --git a/infra/relay/src/http/Api.test.ts b/infra/relay/src/http/Api.test.ts index 0f25e4632c..9595ce9556 100644 --- a/infra/relay/src/http/Api.test.ts +++ b/infra/relay/src/http/Api.test.ts @@ -1,6 +1,6 @@ import { createClerkClient, verifyToken } from "@clerk/backend"; import { describe, expect, it } from "@effect/vitest"; -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; import * as Context from "effect/Context"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; diff --git a/oxlint-plugin-t3code/package.json b/oxlint-plugin-t3code/package.json index 6625595ea1..08c7c54b9f 100644 --- a/oxlint-plugin-t3code/package.json +++ b/oxlint-plugin-t3code/package.json @@ -13,8 +13,6 @@ }, "devDependencies": { "@effect/vitest": "catalog:", - "@types/bun": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/oxlint-plugin-t3code/tsconfig.json b/oxlint-plugin-t3code/tsconfig.json index 266b534fef..61307d2992 100644 --- a/oxlint-plugin-t3code/tsconfig.json +++ b/oxlint-plugin-t3code/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../tsconfig.base.json", "compilerOptions": { "composite": true, - "types": ["bun", "node"], + "types": ["node"], "lib": ["ESNext", "esnext.disposable"] }, "include": ["**/*.ts"] diff --git a/package.json b/package.json index 85a231554c..ec11096b45 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "type": "module", "scripts": { - "prepare": "vp config && effect-tsgo patch", + "prepare": "effect-tsgo patch", "dev": "node scripts/dev-runner.ts dev", "dev:server": "node scripts/dev-runner.ts dev:server", "dev:web": "node scripts/dev-runner.ts dev:web", @@ -17,6 +17,7 @@ "build:marketing": "vp run --filter @t3tools/marketing build", "build:desktop": "vp run --filter @t3tools/desktop --filter t3 build", "typecheck": "vp run -r --concurrency-limit 2 typecheck", + "tc": "vp run -r --concurrency-limit 2 typecheck", "lint": "vp lint --report-unused-disable-directives", "lint:mobile": "node scripts/mobile-native-static-check.ts", "test": "vp run -r test", @@ -43,10 +44,7 @@ "@oxlint/plugins": "^1.63.0", "@types/node": "catalog:", "@typescript/native-preview": "catalog:", - "@vitest/runner": "catalog:", - "vite": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" }, "engines": { "node": "^24.13.1" diff --git a/packages/client-runtime/package.json b/packages/client-runtime/package.json index 2ff98fa2af..bf1c1bdc0c 100644 --- a/packages/client-runtime/package.json +++ b/packages/client-runtime/package.json @@ -24,7 +24,6 @@ }, "devDependencies": { "@effect/vitest": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/packages/client-runtime/src/managedRelayState.test.ts b/packages/client-runtime/src/managedRelayState.test.ts index 382fcae4ca..ce58241e79 100644 --- a/packages/client-runtime/src/managedRelayState.test.ts +++ b/packages/client-runtime/src/managedRelayState.test.ts @@ -7,7 +7,7 @@ import type { import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; import { Atom, AtomRegistry } from "effect/unstable/reactivity"; -import { afterEach, describe, expect, it, vi } from "vitest"; +import { afterEach, describe, expect, it, vi } from "vite-plus/test"; import { ManagedRelayClient, type ManagedRelayClientShape } from "./managedRelay.ts"; import { diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 5f2cb0909d..92f8bdcace 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -29,7 +29,6 @@ }, "devDependencies": { "@effect/vitest": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/packages/contracts/src/relay.test.ts b/packages/contracts/src/relay.test.ts index 42ce2e196a..4ad600953b 100644 --- a/packages/contracts/src/relay.test.ts +++ b/packages/contracts/src/relay.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import * as OpenApi from "effect/unstable/httpapi/OpenApi"; import { RelayApi } from "./relay.ts"; diff --git a/packages/effect-acp/package.json b/packages/effect-acp/package.json index 5082bf97b2..4455dd460e 100644 --- a/packages/effect-acp/package.json +++ b/packages/effect-acp/package.json @@ -45,7 +45,6 @@ "@effect/platform-node": "catalog:", "@effect/vitest": "catalog:", "@types/node": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/packages/effect-codex-app-server/package.json b/packages/effect-codex-app-server/package.json index 7efe6425ac..a067976c61 100644 --- a/packages/effect-codex-app-server/package.json +++ b/packages/effect-codex-app-server/package.json @@ -38,7 +38,6 @@ "@effect/platform-node": "catalog:", "@effect/vitest": "catalog:", "@types/node": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/packages/shared/package.json b/packages/shared/package.json index f5407e2709..ce5d8a4141 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -164,7 +164,6 @@ "@effect/platform-node": "catalog:", "@effect/vitest": "catalog:", "@types/node": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/packages/shared/src/composerTrigger.test.ts b/packages/shared/src/composerTrigger.test.ts index 99c34a3731..3d51d19cf4 100644 --- a/packages/shared/src/composerTrigger.test.ts +++ b/packages/shared/src/composerTrigger.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { serializeComposerMentionPath } from "./composerTrigger.ts"; diff --git a/packages/shared/src/oauthScope.test.ts b/packages/shared/src/oauthScope.test.ts index 7b0033d98c..0aa4ef595a 100644 --- a/packages/shared/src/oauthScope.test.ts +++ b/packages/shared/src/oauthScope.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { encodeOAuthScope, parseAllowedOAuthScope, parseOAuthScope } from "./oauthScope.ts"; diff --git a/packages/shared/src/relayAuth.test.ts b/packages/shared/src/relayAuth.test.ts index 0bf9af82ea..dc06ce5323 100644 --- a/packages/shared/src/relayAuth.test.ts +++ b/packages/shared/src/relayAuth.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { clerkFrontendApiHostnameFromPublishableKey, diff --git a/packages/shared/src/relayUrl.test.ts b/packages/shared/src/relayUrl.test.ts index 23b8568669..5127db85d1 100644 --- a/packages/shared/src/relayUrl.test.ts +++ b/packages/shared/src/relayUrl.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { isSecureRelayUrl, normalizeSecureRelayUrl } from "./relayUrl.ts"; diff --git a/packages/ssh/package.json b/packages/ssh/package.json index 25bd1372ce..ed0712e26f 100644 --- a/packages/ssh/package.json +++ b/packages/ssh/package.json @@ -37,7 +37,6 @@ "@effect/platform-node": "catalog:", "@effect/vitest": "catalog:", "@types/node": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/packages/tailscale/package.json b/packages/tailscale/package.json index 25cb548d59..f7c358799a 100644 --- a/packages/tailscale/package.json +++ b/packages/tailscale/package.json @@ -19,7 +19,6 @@ "devDependencies": { "@effect/vitest": "catalog:", "@types/node": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/packages/tailscale/src/tailscale.ts b/packages/tailscale/src/tailscale.ts index cdb549232b..45fdbc6d0d 100644 --- a/packages/tailscale/src/tailscale.ts +++ b/packages/tailscale/src/tailscale.ts @@ -297,7 +297,7 @@ export const probeTailscaleHttpsEndpoint = (input: { onNone: () => false, onSome: (httpResponse) => httpResponse.status >= 200 && httpResponse.status < 300, }); - }).pipe(Effect.catch(() => Effect.succeed(false))); + }).pipe(Effect.orElseSucceed(() => false)); export const resolveTailscaleHttpsBaseUrl = ( input: { diff --git a/patches/@effect__vitest@4.0.0-beta.78.patch b/patches/@effect__vitest@4.0.0-beta.78.patch new file mode 100644 index 0000000000..7e45072288 --- /dev/null +++ b/patches/@effect__vitest@4.0.0-beta.78.patch @@ -0,0 +1,124 @@ +diff --git a/dist/index.d.ts b/dist/index.d.ts +index 14b0e5d443f6cf615d81960ca0c4942ffa0ac39b..68eebc89c6288f5bdee5fa4515e94e7fc0d332a0 100644 +--- a/dist/index.d.ts ++++ b/dist/index.d.ts +@@ -7,11 +7,11 @@ import type * as Layer from "effect/Layer"; + import type * as Schema from "effect/Schema"; + import type * as Scope from "effect/Scope"; + import type * as FC from "effect/testing/FastCheck"; +-import * as V from "vitest"; ++import * as V from "vite-plus/test"; + /** + * @since 4.0.0 + */ +-export * from "vitest"; ++export * from "vite-plus/test"; + /** + * @since 4.0.0 + */ +diff --git a/dist/index.js b/dist/index.js +index 938c9c817abe9aeddb9ad8c74e099c62cbf5f091..760ecc47fec5e9df2efd75de17c05ba4b0700ec1 100644 +--- a/dist/index.js ++++ b/dist/index.js +@@ -1,9 +1,9 @@ +-import * as V from "vitest"; ++import * as V from "vite-plus/test"; + import * as internal from "./internal/internal.js"; + /** + * @since 4.0.0 + */ +-export * from "vitest"; ++export * from "vite-plus/test"; + /** + * @since 4.0.0 + */ +diff --git a/dist/internal/internal.js b/dist/internal/internal.js +index a30fc1a0dfed2ef215faa9554a151a53443b05d7..405a7cc184e29de5d327c01876963c8a57e80361 100644 +--- a/dist/internal/internal.js ++++ b/dist/internal/internal.js +@@ -1,7 +1,7 @@ + /** + * @since 4.0.0 + */ +-import { getCurrentSuite } from "@vitest/runner"; ++import { getCurrentSuite } from "vite-plus/test/plugins/runner"; + import * as Cause from "effect/Cause"; + import * as Duration from "effect/Duration"; + import * as Effect from "effect/Effect"; +@@ -15,7 +15,7 @@ import * as Scope from "effect/Scope"; + import * as fc from "effect/testing/FastCheck"; + import * as TestClock from "effect/testing/TestClock"; + import * as TestConsole from "effect/testing/TestConsole"; +-import * as V from "vitest"; ++import * as V from "vite-plus/test"; + const runPromise = /*#__PURE__*/Effect.fnUntraced(function* (effect, _ctx) { + const exit = yield* Effect.exit(effect); + if (Exit.isFailure(exit)) { +diff --git a/dist/utils.js b/dist/utils.js +index cfb2c39847518b491ca5db87ef693947a75e5e53..c044d7a01c2dd9d86e35db3910aed384eca53a3b 100644 +--- a/dist/utils.js ++++ b/dist/utils.js +@@ -4,7 +4,7 @@ import * as Option from "effect/Option"; + import * as Predicate from "effect/Predicate"; + import * as Result from "effect/Result"; + import * as assert from "node:assert"; +-import { assert as vassert } from "vitest"; ++import { assert as vassert } from "vite-plus/test"; + // ---------------------------- + // Primitives + // ---------------------------- +diff --git a/src/index.ts b/src/index.ts +index 37886fb6c37a12710f73ccee87a3ff6ca8b2c9fa..2207df940dfae2a346211d09b8d39554e0c00d34 100644 +--- a/src/index.ts ++++ b/src/index.ts +@@ -7,13 +7,13 @@ import type * as Layer from "effect/Layer" + import type * as Schema from "effect/Schema" + import type * as Scope from "effect/Scope" + import type * as FC from "effect/testing/FastCheck" +-import * as V from "vitest" ++import * as V from "vite-plus/test" + import * as internal from "./internal/internal.ts" + + /** + * @since 4.0.0 + */ +-export * from "vitest" ++export * from "vite-plus/test" + + /** + * @since 4.0.0 +diff --git a/src/internal/internal.ts b/src/internal/internal.ts +index 31c7ea1299a85ad30f2e07f740ba109e42c4ed5d..9db9071c45d27095af21787cbdebb1c57178f167 100644 +--- a/src/internal/internal.ts ++++ b/src/internal/internal.ts +@@ -2,7 +2,7 @@ + * @since 4.0.0 + */ + +-import { getCurrentSuite } from "@vitest/runner" ++import { getCurrentSuite } from "vite-plus/test/plugins/runner" + import * as Cause from "effect/Cause" + import * as Duration from "effect/Duration" + import * as Effect from "effect/Effect" +@@ -16,7 +16,7 @@ import * as Scope from "effect/Scope" + import * as fc from "effect/testing/FastCheck" + import * as TestClock from "effect/testing/TestClock" + import * as TestConsole from "effect/testing/TestConsole" +-import * as V from "vitest" ++import * as V from "vite-plus/test" + import type * as Vitest from "../index.ts" + + const runPromise: ( +diff --git a/src/utils.ts b/src/utils.ts +index ad704454c0d2d3a3f0de9cdb8ffcca616d5f859c..dbd050bff6f27e111ebc89a6f8be07767dc164d8 100644 +--- a/src/utils.ts ++++ b/src/utils.ts +@@ -37,7 +37,7 @@ import * as Option from "effect/Option" + import * as Predicate from "effect/Predicate" + import * as Result from "effect/Result" + import * as assert from "node:assert" +-import { assert as vassert } from "vitest" ++import { assert as vassert } from "vite-plus/test" + + // ---------------------------- + // Primitives diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b963bb723..686a725883 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,8 +10,8 @@ catalogs: specifier: 4.0.0-beta.78 version: 4.0.0-beta.78 '@effect/tsgo': - specifier: 0.11.4 - version: 0.11.4 + specifier: 0.13.2 + version: 0.13.2 '@noble/curves': specifier: 1.9.1 version: 1.9.1 @@ -21,15 +21,9 @@ catalogs: '@pierre/diffs': specifier: 1.1.20 version: 1.1.20 - '@types/bun': - specifier: ^1.3.11 - version: 1.3.14 '@typescript/native-preview': - specifier: 7.0.0-dev.20260527.2 - version: 7.0.0-dev.20260527.2 - '@vitest/runner': - specifier: ^4.1.8 - version: 4.1.8 + specifier: 7.0.0-dev.20260604.1 + version: 7.0.0-dev.20260604.1 jose: specifier: 6.2.2 version: 6.2.2 @@ -37,7 +31,7 @@ catalogs: specifier: ~6.0.3 version: 6.0.3 vite-plus: - specifier: latest + specifier: 0.1.24 version: 0.1.24 overrides: @@ -54,15 +48,20 @@ overrides: '@effect/sql-pg': 4.0.0-beta.78 '@effect/sql-sqlite-bun': 4.0.0-beta.78 '@effect/vitest': 4.0.0-beta.78 + '@effect/vitest>@vitest/runner': '-' + '@effect/vitest>vitest': '-' '@types/node': 24.12.4 effect: 4.0.0-beta.78 - vite: npm:@voidzero-dev/vite-plus-core@latest - vitest: npm:@voidzero-dev/vite-plus-test@latest + vite: npm:@voidzero-dev/vite-plus-core@0.1.24 + vitest: npm:@voidzero-dev/vite-plus-test@0.1.24 yaml: ^2.9.0 -packageExtensionsChecksum: sha256-MDpMSm2Rk8Y7FDIbaAgFkT45PZBPV7JBzjTAft+noEM= +packageExtensionsChecksum: sha256-FV3+2NW/9MFbunJaPsMxvO0LAzyfccoPtPiKoIXAwUU= patchedDependencies: + '@effect/vitest@4.0.0-beta.78': + hash: 42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f + path: patches/@effect__vitest@4.0.0-beta.78.patch '@expo/metro-config@56.0.13': hash: 8cb08b5bb7051ed9d2dbe46a2c293c5a1e17f1bd6ddf30de27909e18c921ff46 path: patches/@expo%2Fmetro-config@56.0.13.patch @@ -85,7 +84,7 @@ importers: version: 7.28.6(@babel/core@7.29.7) '@effect/tsgo': specifier: 'catalog:' - version: 0.11.4 + version: 0.13.2 '@oxlint/plugins': specifier: ^1.63.0 version: 1.68.0 @@ -94,19 +93,10 @@ importers: version: 24.12.4 '@typescript/native-preview': specifier: 'catalog:' - version: 7.0.0-dev.20260527.2 - '@vitest/runner': - specifier: 'catalog:' - version: 4.1.8 - vite: - specifier: npm:@voidzero-dev/vite-plus-core@latest - version: '@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0)' + version: 7.0.0-dev.20260604.1 vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) apps/desktop: dependencies: @@ -140,7 +130,7 @@ importers: devDependencies: '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@types/node': specifier: 24.12.4 version: 24.12.4 @@ -152,10 +142,7 @@ importers: version: 26.8.1(electron-builder-squirrel-windows@26.8.1) vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) apps/marketing: dependencies: @@ -367,7 +354,7 @@ importers: devDependencies: '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@types/react': specifier: ~19.2.0 version: 19.2.16 @@ -413,7 +400,7 @@ importers: devDependencies: '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@t3tools/contracts': specifier: workspace:* version: link:../../packages/contracts @@ -427,7 +414,7 @@ importers: specifier: workspace:* version: link:../web '@types/bun': - specifier: 'catalog:' + specifier: 1.3.14 version: 1.3.14 '@types/node': specifier: 24.12.4 @@ -440,10 +427,7 @@ importers: version: link:../../packages/effect-codex-app-server vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) apps/web: dependencies: @@ -546,7 +530,7 @@ importers: version: 4.0.0-beta.78(bufferutil@4.1.0)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))(ioredis@5.11.0)(utf-8-validate@6.0.6) '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@rolldown/plugin-babel': specifier: ^0.2.0 version: 0.2.3(@babel/core@7.29.7)(@babel/plugin-transform-runtime@7.29.7(@babel/core@7.29.7))(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(rolldown@1.0.3) @@ -584,17 +568,14 @@ importers: specifier: ^4.0.0 version: 4.3.0 vite: - specifier: npm:@voidzero-dev/vite-plus-core@latest + specifier: npm:@voidzero-dev/vite-plus-core@0.1.24 version: '@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0)' vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) vitest-browser-react: specifier: ^2.0.5 - version: 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.16))(@types/react@19.2.16)(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(react-dom@19.2.6(react@19.2.6))(react@19.2.6) + version: 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.16))(@types/react@19.2.16)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)(vitest@4.1.8(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(msw@2.12.11(@types/node@24.12.4)(typescript@6.0.3))) infra/relay: dependencies: @@ -614,8 +595,8 @@ importers: specifier: workspace:* version: link:../../packages/shared alchemy: - specifier: https://pkg.ing/alchemy/8b9c241 - version: https://pkg.ing/alchemy/8b9c241(9558be4f034193caa013885b5f553eec) + specifier: https://pkg.ing/alchemy/078ff00 + version: https://pkg.ing/alchemy/078ff00(044daa5923befe9f328e27c790bb74e1) drizzle-orm: specifier: 1.0.0-rc.3 version: 1.0.0-rc.3(@cloudflare/workers-types@4.20260604.1)(@effect/sql-pg@4.0.0-beta.78(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@libsql/client@0.17.3(bufferutil@4.1.0)(utf-8-validate@6.0.6))(bun-types@1.3.14)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))(mysql2@3.22.4(@types/node@24.12.4))(pg@8.21.0)(zod@4.4.3) @@ -631,16 +612,19 @@ importers: version: 4.0.0-beta.78(bufferutil@4.1.0)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))(ioredis@5.11.0)(utf-8-validate@6.0.6) '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@types/node': specifier: 24.12.4 version: 24.12.4 drizzle-kit: specifier: 1.0.0-rc.3 version: 1.0.0-rc.3 - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + vite: + specifier: npm:@voidzero-dev/vite-plus-core@0.1.24 + version: '@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0)' + vite-plus: + specifier: 'catalog:' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) oxlint-plugin-t3code: dependencies: @@ -656,16 +640,10 @@ importers: devDependencies: '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) - '@types/bun': - specifier: 'catalog:' - version: 1.3.14 + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) packages/client-runtime: dependencies: @@ -681,13 +659,10 @@ importers: devDependencies: '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) packages/contracts: dependencies: @@ -697,13 +672,10 @@ importers: devDependencies: '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) packages/effect-acp: dependencies: @@ -719,16 +691,13 @@ importers: version: 4.0.0-beta.78(bufferutil@4.1.0)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))(ioredis@5.11.0)(utf-8-validate@6.0.6) '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@types/node': specifier: 24.12.4 version: 24.12.4 vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) packages/effect-codex-app-server: dependencies: @@ -744,16 +713,13 @@ importers: version: 4.0.0-beta.78(bufferutil@4.1.0)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))(ioredis@5.11.0)(utf-8-validate@6.0.6) '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@types/node': specifier: 24.12.4 version: 24.12.4 vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) packages/shared: dependencies: @@ -781,16 +747,13 @@ importers: version: 4.0.0-beta.78(bufferutil@4.1.0)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))(ioredis@5.11.0)(utf-8-validate@6.0.6) '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@types/node': specifier: 24.12.4 version: 24.12.4 vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) packages/ssh: dependencies: @@ -809,16 +772,13 @@ importers: version: 4.0.0-beta.78(bufferutil@4.1.0)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))(ioredis@5.11.0)(utf-8-validate@6.0.6) '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@types/node': specifier: 24.12.4 version: 24.12.4 vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) packages/tailscale: dependencies: @@ -831,22 +791,16 @@ importers: devDependencies: '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@types/node': specifier: 24.12.4 version: 24.12.4 vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) scripts: dependencies: - '@anthropic-ai/claude-agent-sdk': - specifier: ^0.2.77 - version: 0.2.141(zod@4.4.3) '@effect/platform-node': specifier: 4.0.0-beta.78 version: 4.0.0-beta.78(bufferutil@4.1.0)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))(ioredis@5.11.0)(utf-8-validate@6.0.6) @@ -865,16 +819,10 @@ importers: devDependencies: '@effect/vitest': specifier: 4.0.0-beta.78 - version: 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) - '@types/bun': - specifier: 'catalog:' - version: 1.3.14 + version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) vite-plus: specifier: 'catalog:' - version: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - vitest: - specifier: npm:@voidzero-dev/vite-plus-test@latest - version: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + version: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) packages: @@ -891,92 +839,46 @@ packages: '@alchemy.run/node-utils@0.0.4': resolution: {integrity: sha512-TiIhPXCTCi3tk0zmdYJJ14CNSesSfsJxXdIOP0HTSItQ1mZWLocrF7qCuEWKyW/IEFzp6kaiOf19aIA/mbCp1g==} - '@anthropic-ai/claude-agent-sdk-darwin-arm64@0.2.141': - resolution: {integrity: sha512-9HZ0ot6+FwOfQ1aeMqQLH4IJGMm/DcP08SysDxscVjBm6l2JjqleHohxi3zid0DurfGweqT+4x9GScJffwg55g==} - cpu: [arm64] - os: [darwin] - '@anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.159': resolution: {integrity: sha512-3nnH4yUNJVSyaU5DBlGw2yxc4zlnVvAnc9UOe+La47QVG7/dN+rWAgn4zCbqKk9bWFLDQ1Ek0r56EZE1Qo4UKQ==} cpu: [arm64] os: [darwin] - '@anthropic-ai/claude-agent-sdk-darwin-x64@0.2.141': - resolution: {integrity: sha512-4iAdarJaQ+2R58s6QJswZCzUdz2WQmL5lYG7Y+FLzWbRSROFfcH0QYpmOqSaPXd2KRQhIJwEacqecDZd/Q1XKQ==} - cpu: [x64] - os: [darwin] - '@anthropic-ai/claude-agent-sdk-darwin-x64@0.3.159': resolution: {integrity: sha512-iv+NRjz+t4Q1R2+kLdDbccSo3b0wedVJ9jMT3noznOVojZHzgkxVpTvt36/XkXV0rqIDQ5H18bBYIZZzOXu7mg==} cpu: [x64] os: [darwin] - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.2.141': - resolution: {integrity: sha512-6H1AJ/AVaWNnV22kubUPkOTRzZFH0+qP9k7WlhriHMN9gtgZcVAsITMddDeGjQsQJMCAdhXFd6sgi7TM1LdeOQ==} - cpu: [arm64] - os: [linux] - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.159': resolution: {integrity: sha512-WvwiQBWt3tdu5EwqjpDZszI6p2uetYsw4Cxc6ptO/SmLIYXcDienP8nmirZdsZrS+Gzk6imgY0IY5mmNaRhelQ==} cpu: [arm64] os: [linux] - '@anthropic-ai/claude-agent-sdk-linux-arm64@0.2.141': - resolution: {integrity: sha512-Jdf0ZEwJzOP8sE6rPqdJN+SxMb0/L8sxJg4twCv/7S+Qzk0hJtls+wxSi+0Tjh6EEMaNxJqEGc7S3fx99Wi99Q==} - cpu: [arm64] - os: [linux] - '@anthropic-ai/claude-agent-sdk-linux-arm64@0.3.159': resolution: {integrity: sha512-FlsS5M4GCpzsQVaNDFF8dRgFGR3QwyAHZFl/xM/2Y2BqVBH+NH17RpKQSJxr1qr41QnsNkinMnu2iSKoc33hKg==} cpu: [arm64] os: [linux] - '@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.2.141': - resolution: {integrity: sha512-fTI1YuM4cxOa4nSgsyMAdB5ELizkWp+w5Ispo4JnnYtcczMAL4D9GBNjWPW0sUzKvjsJOUVim68SmWLWhUOpXQ==} - cpu: [x64] - os: [linux] - '@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.159': resolution: {integrity: sha512-kFH6RC2YJbPc8XWRNy/wL4YU7LzdJjSwAdH488sVzIif3q+TrvVrV5y/IW0+MLmta+CKIqtFYpGaucsJYvj7Eg==} cpu: [x64] os: [linux] - '@anthropic-ai/claude-agent-sdk-linux-x64@0.2.141': - resolution: {integrity: sha512-DVjp72f3HmrRYpbneWZZWIqkUht5kTZXS7wXGFiwzLz6eNYEgjjh+GcsnhIi8UOwZUtNiKUrjZnoP38ovFqV8A==} - cpu: [x64] - os: [linux] - '@anthropic-ai/claude-agent-sdk-linux-x64@0.3.159': resolution: {integrity: sha512-uNPEC/iRzVb4bEdzs0KAz1zV7i1PVGEZZnJTQyi1OtgVa81sAoH/H0CbbzDiTsquKdaESf+1DSSEkUlfZmMUEw==} cpu: [x64] os: [linux] - '@anthropic-ai/claude-agent-sdk-win32-arm64@0.2.141': - resolution: {integrity: sha512-Wm10J6kfbufbPGFELokiJ/7Y5Oqug4Uag3HXFsV8g7TWCpaItx/oqVaJoiGptuAtXQB7xGLQVTuk082wER+Y5w==} - cpu: [arm64] - os: [win32] - '@anthropic-ai/claude-agent-sdk-win32-arm64@0.3.159': resolution: {integrity: sha512-WN1QEZGgWXz9GMl61QU6j9E+LEF5plki87bL2xsGwuCPzK+OeVPQU55pabuP8P+vFBFHUo3Y9OlTVyZHnUzmAQ==} cpu: [arm64] os: [win32] - '@anthropic-ai/claude-agent-sdk-win32-x64@0.2.141': - resolution: {integrity: sha512-IXuP29YJuWbR5Q6xOHrjFVGG54V2s1FC61UVNwEN5fpxL09MwPnbwtQL6fqgzt/U1MP7vWAwpXZriYAklkH/mg==} - cpu: [x64] - os: [win32] - '@anthropic-ai/claude-agent-sdk-win32-x64@0.3.159': resolution: {integrity: sha512-Ty4seccD+dTDX5hhj89IUELZd/LkxO5O43Uiz5Mo8ZJktoX38SK4XMZlBS935QdqTFLRvPL0hvK4Lt4dTOqzPw==} cpu: [x64] os: [win32] - '@anthropic-ai/claude-agent-sdk@0.2.141': - resolution: {integrity: sha512-AIBacMWGcZIUcXlUoObqjwJ6pmJI3BayAqPAFXuvSq3DHJXdiuZVs7l/zTB5l3nRhRv5cqSrI2XbiDeHgZWizw==} - engines: {node: '>=18.0.0'} - peerDependencies: - zod: ^4.0.0 - '@anthropic-ai/claude-agent-sdk@0.3.159': resolution: {integrity: sha512-Xh1oVMIK6N3KsiNIhqNH8ZK90zjRmAEL9d1Md8ZlGdHJE+HhdMYdBadujc3KEkV0uufsEUvYp+A3fDenfypGSA==} engines: {node: '>=18.0.0'} @@ -1816,50 +1718,49 @@ packages: peerDependencies: effect: 4.0.0-beta.78 - '@effect/tsgo-darwin-arm64@0.11.4': - resolution: {integrity: sha512-rslT4W8tWY8pdd48kDpY7Q+yo0xkrmcEySG1+sJfb06w7TwbywjHsGlC0BmcUaQt0qmLY+BApbWWDfZw7fgwjw==} + '@effect/tsgo-darwin-arm64@0.13.2': + resolution: {integrity: sha512-AlYlxU2sD3urNCmNCQWtatPJS/+m2r3CvgZdDTs9KEz2YcyQc2GV1g2RWFkoMwmgzYBx69DBLu1oscqJO2qAog==} cpu: [arm64] os: [darwin] - '@effect/tsgo-darwin-x64@0.11.4': - resolution: {integrity: sha512-p3v3j+zp7L7yx5ctjvA1W85I4WjOpbOcga8kUu5MFEKfYfsApxUHXwsunCVbUKwrpXqcTc0sw9AjnCNs6i6GRw==} + '@effect/tsgo-darwin-x64@0.13.2': + resolution: {integrity: sha512-oGWIUsWuzCGBRaxB3R4ZjzmqaWb20OtLpBc8HKf3mGstyiCpGUtb7arqncpSq04nN9yb+mM5yBpGKZ9EJAYuEA==} cpu: [x64] os: [darwin] - '@effect/tsgo-linux-arm64@0.11.4': - resolution: {integrity: sha512-dz5ZIQUnRzN9mpVcELYCmVERpmstes5rVHbKUb7DOWCbrbupT3tV1LCzOaNX9sIsoBKmpvdGvAWEPLHgymSgTQ==} + '@effect/tsgo-linux-arm64@0.13.2': + resolution: {integrity: sha512-v9PIgdLR6jREQk42EIm/mtFBwmB4Xzuq70l1Uf/7MnV/eivrZP+Wjfex/UuzMRbjM5eLRP3FFMj2HZvjkFQv6Q==} cpu: [arm64] os: [linux] - '@effect/tsgo-linux-arm@0.11.4': - resolution: {integrity: sha512-uXsw+IbO+ltn/fbhOWWqXK8ZW3Qa5EZD+wnGbF3gIGWINthbF+/7X+CgRzvcgLBWeBfV6F83hAmOaEZ4hQmd+w==} + '@effect/tsgo-linux-arm@0.13.2': + resolution: {integrity: sha512-y5aTN7MrwnsStcSJ4Z8J93Nszeh9yf8kbaHk+03bRm9n0TrhVea/bJZoi9cprLJSy01Umt+xC3jFyvOSMrWB8g==} cpu: [arm] os: [linux] - '@effect/tsgo-linux-x64@0.11.4': - resolution: {integrity: sha512-P3m7Y4FJtziL13Muffyb99AnQeTRvo0/knfYRqoHKNwYUaNM59RO3qFi5y57Hasgd8rKat0xTPmUkK6koZPPFQ==} + '@effect/tsgo-linux-x64@0.13.2': + resolution: {integrity: sha512-MzrApKfCL0DnFGvoyJUKtW39PGDykJZkkB/tOZSuTSurcYAzkmUIOUwuTASeNqDjj4/DixT7Ha4CMVeCQgg6hg==} cpu: [x64] os: [linux] - '@effect/tsgo-win32-arm64@0.11.4': - resolution: {integrity: sha512-FKLm9Y+luZSdLpfkbdw8VXa8xy0zR+Asg078qemqHHGwRQLDVGjvIk7tj1HxBM6VQN+TwsofDd225ht83kMk8w==} + '@effect/tsgo-win32-arm64@0.13.2': + resolution: {integrity: sha512-WwYLSrgCa4iiSIZe5KkG2P1q+JmIloDI6tbqHqpvumrz3uU8fg33e5A7wQ68sRgr4ofqrTYPQhJ6b+Eyeadazg==} cpu: [arm64] os: [win32] - '@effect/tsgo-win32-x64@0.11.4': - resolution: {integrity: sha512-oc4Y8TbLlv0b1deAILAEep1N6pnSS1d4pk7gJJM4NDXrTKWDyEulO6tXwRQ6vWkO2lhLTUVWHDFfzmMJj3HxPQ==} + '@effect/tsgo-win32-x64@0.13.2': + resolution: {integrity: sha512-M4Cf98tlCzCWig61QNoPxhE0LyMJtlVIQY2hed0Y1uYpwv0W1BMyOACLcj6ll+vuLWmXvVlOfXC+BuDOqPo9fg==} cpu: [x64] os: [win32] - '@effect/tsgo@0.11.4': - resolution: {integrity: sha512-wliq5Dis2gLoIUKoCRT3Iv5kpO+fKrUBJPPxIsHADeirk9HMQevKvYaBpGS3Khw1tNLmoQWsSX559owJAdHgBA==} + '@effect/tsgo@0.13.2': + resolution: {integrity: sha512-zPQMHBdCN1k7Jbxjxq0HVAbzsZd+LAoRPzBEZ3F4y/uxNK0K/XGvFXUUw/CUAsD6rhUtC2VahZY1tp0owb5lgg==} hasBin: true '@effect/vitest@4.0.0-beta.78': resolution: {integrity: sha512-5KQsQYrQ/o7mfOVAxRtNnfD9M0W4OI6yQd0n/m2N7OOLxTdX4FwN4s/X4obykBC7ZEwH+bzMrFJiB4pq9lrQKQ==} peerDependencies: effect: 4.0.0-beta.78 - vitest: ^3.0.0 || ^4.0.0 '@egjs/hammerjs@2.0.17': resolution: {integrity: sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==} @@ -4546,50 +4447,50 @@ packages: '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260527.2': - resolution: {integrity: sha512-3LqSu4DlxkEfeC/Z/29QMCJn5jjkDtXI7LYuxfmjdmAatS6umDKqm8J17fnP/7fyrZUMBTIYRwSDpChGV3G1ew==} + '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260604.1': + resolution: {integrity: sha512-zs616um9UuaODLsNlCu5Aw95rFcTV4u3hVt090r6k0lVvTxfaJOv8HKA6BpIotcEYlZlMQowrMSYCCdedo7iyA==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [darwin] - '@typescript/native-preview-darwin-x64@7.0.0-dev.20260527.2': - resolution: {integrity: sha512-H4+sxE9qaBbLF83wMdWE0FsgfK0Pom+/O+/oxqyGzhVkDJlNt3vfpgQZMit48/Gm44AacGfBggJ9Dhbi3aeSFw==} + '@typescript/native-preview-darwin-x64@7.0.0-dev.20260604.1': + resolution: {integrity: sha512-pOdNAf2pwc9JBjo8gUsvLs5uqg7d0AhYXfE8/3zvPKBlIZG+mTcvEWW1hPawlWxXzf/vxnP4dgYwUHAMDghhKA==} engines: {node: '>=16.20.0'} cpu: [x64] os: [darwin] - '@typescript/native-preview-linux-arm64@7.0.0-dev.20260527.2': - resolution: {integrity: sha512-BGUDMjC2Z3TTdZRkGGwhBLelkP5UYgO2rbep8aF4dS3fu7T5lFPPrnfS6EgqJgie+cF5Fsev7xEq8wWyBDM+lg==} + '@typescript/native-preview-linux-arm64@7.0.0-dev.20260604.1': + resolution: {integrity: sha512-GjIrt6YHP3bbOWBCCE08SlBSDf84Lnjn3Td822/lOX9nm6ODlA/HI7rtGh7KzS/fxehep2Vy4dXU4Il12X1s5A==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [linux] - '@typescript/native-preview-linux-arm@7.0.0-dev.20260527.2': - resolution: {integrity: sha512-6I9Cv9ozwfS9zB9vRQDPIYseLX3artEO9jl3yVgLj4ishwlSF4cWAbIsjl5IztPaEgHv8coej/6tX1D0uaBzXg==} + '@typescript/native-preview-linux-arm@7.0.0-dev.20260604.1': + resolution: {integrity: sha512-IKaZL3i5HKmKqwb2IZEXW1j68fVg1HsvAaXkbrkOIG/J5Eyksu5tEnTzucrIY1oPdzgHT+y2HpDIYp2sGeHFvw==} engines: {node: '>=16.20.0'} cpu: [arm] os: [linux] - '@typescript/native-preview-linux-x64@7.0.0-dev.20260527.2': - resolution: {integrity: sha512-vpazOu+ozlxBo8U57YJMzsOPuxAV8H7fu36KJ8ea8At/D8pdGmOAy5TuB+9OBQV9JDe0OXJMy2kmbhOpmkTAmA==} + '@typescript/native-preview-linux-x64@7.0.0-dev.20260604.1': + resolution: {integrity: sha512-twQ7XDjsmaHIevN1MjeRYIVLUPL0fBm8A0jg1FhGYPckhTxEBiHIpJf9E//eFidAdrEHjeTSBP1jJw3GNAensg==} engines: {node: '>=16.20.0'} cpu: [x64] os: [linux] - '@typescript/native-preview-win32-arm64@7.0.0-dev.20260527.2': - resolution: {integrity: sha512-DBFnFE3V6AITkPO1K1VxXf3yEZKjU2FwtXlNwRqhzDu0rrL2SsJHOSrBDX+OacTxQFzZMxFcpiuhV8jHZALPEg==} + '@typescript/native-preview-win32-arm64@7.0.0-dev.20260604.1': + resolution: {integrity: sha512-QBRxaVT3SFiNfOhwYb/56ddpHWPMFdfiJ4zkFJIjaAXeZ/ssWNHM9lH7yR++GrE9VTsUZ4eVSZfOmQbzRERhgw==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [win32] - '@typescript/native-preview-win32-x64@7.0.0-dev.20260527.2': - resolution: {integrity: sha512-1tBlErMvQgcMqqYwsx4tytupcjCJcOUXD3vBn1Wb/kAvus1FzWQAFE0fcKBvLfcqLQfTiiEwKKEtbLjGmakqqg==} + '@typescript/native-preview-win32-x64@7.0.0-dev.20260604.1': + resolution: {integrity: sha512-hR7YHoRpm88Q86gK6/IMayWUA+ROdHGzOPKK8EBp1xD/Cg2Bh5AXbut8HcyUDx/bcGQvnuht/XsW47bT3to9mg==} engines: {node: '>=16.20.0'} cpu: [x64] os: [win32] - '@typescript/native-preview@7.0.0-dev.20260527.2': - resolution: {integrity: sha512-piqkDwikVeizCFqA1lcwI5F4wOAtBdxuliWe77ApBNRyBPPvfCJB+u/HYi9/8t5nd0sWvFs6/qt/AzJ1CCoykQ==} + '@typescript/native-preview@7.0.0-dev.20260604.1': + resolution: {integrity: sha512-A3/9yZTt2V5NlDURcVJ4mN2YjfeQTXCRyLuENKrNdGhO+y59mC/2UDr7UvpB3Li+83TRAuhDN8SBoM+7gkHdzQ==} engines: {node: '>=16.20.0'} hasBin: true @@ -4616,12 +4517,32 @@ packages: babel-plugin-react-compiler: optional: true + '@vitest/expect@4.1.8': + resolution: {integrity: sha512-h3nDO677RDLEGlBxyQ5CW8RlMThSKSRLUePLOx09gNIWRL40edgA1GCZSZgf1W55MFAG6/Sw14KeaAnqv0NKdQ==} + + '@vitest/mocker@4.1.8': + resolution: {integrity: sha512-LEiN/xe4OSIbKe9HQIp5OC24agGD9J5CnmMgsLohVVoOPWL9a2sBoR6VBx43jQZb7Kr1l4RCuyCJzcAa0+dojw==} + peerDependencies: + msw: ^2.4.9 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + '@vitest/pretty-format@4.1.8': resolution: {integrity: sha512-9GasEBxpZ1VYIpqHf/0+YGg121uSNwCKOJqIrTwWP/TB7DmFCiaBpNl3aPZzoLWfWkuqhbH8vJIVobZkvdo2cA==} '@vitest/runner@4.1.8': resolution: {integrity: sha512-EmVxeBAfMJvycdjd6Hm+RbFBbA9fKvo0Kx37hNpBYoYeavH3RNsBXWDooR1mgD52dCrxIIuP7UotpfiwOikvcg==} + '@vitest/snapshot@4.1.8': + resolution: {integrity: sha512-acfZboRmAIf05DEKcBQy33VXojFJjtUdLyo7oOmV9kebb2xdU01UknNiPuPZoJZQyO7DF0gZdTGTpeAzET9QPQ==} + + '@vitest/spy@4.1.8': + resolution: {integrity: sha512-6EevtBp6OZOPF7bmz36HrGMeP3txgVSrgebWxHOafDXGkhIzfXK14f8KF6MuFfgXXUeHxmpD3BQxkV00/3s5mA==} + '@vitest/utils@4.1.8': resolution: {integrity: sha512-uOJamYALNhfJ6iolExyQM40yIQwDqYnkKtQ5VCiSe17E33H0aQ/u+1GlRuz4LZBk6Mm3sg90G9hEbmEt37C1Zg==} @@ -4865,8 +4786,8 @@ packages: ajv@8.20.0: resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==} - alchemy@https://pkg.ing/alchemy/8b9c241: - resolution: {tarball: https://pkg.ing/alchemy/8b9c241} + alchemy@https://pkg.ing/alchemy/078ff00: + resolution: {tarball: https://pkg.ing/alchemy/078ff00} version: 2.0.0-beta.51 hasBin: true peerDependencies: @@ -5214,6 +5135,10 @@ packages: ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} + chai@6.2.2: + resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} + engines: {node: '>=18'} + chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -5935,6 +5860,9 @@ packages: estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} @@ -5954,6 +5882,10 @@ packages: resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==} engines: {node: '>=18.0.0'} + expect-type@1.3.0: + resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==} + engines: {node: '>=12.0.0'} + expo-application@56.0.3: resolution: {integrity: sha512-DdGGPlMuM6cSTeKhbvh6OeLr2O/+EI5BHKYrD+Do8sJPYgLwzGrgESELfyjJCpEhFzT+TgKIdmLmWXhNUQnHiw==} peerDependencies: @@ -8666,6 +8598,9 @@ packages: resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} engines: {node: '>= 0.4'} + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} @@ -8747,6 +8682,9 @@ packages: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} engines: {node: '>=10'} + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + stackframe@1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} @@ -9323,6 +9261,47 @@ packages: '@types/react-dom': optional: true + vitest@4.1.8: + resolution: {integrity: sha512-flY6ScbCIt9HThs+C5HS7jvGOB560DJtk/Z15IQROTA6zEy49Nh8T/dofWTQL+n3vswqn87sbJNiuqw1SDp5Ig==} + engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@opentelemetry/api': ^1.9.0 + '@types/node': 24.12.4 + '@vitest/browser-playwright': 4.1.8 + '@vitest/browser-preview': 4.1.8 + '@vitest/browser-webdriverio': 4.1.8 + '@vitest/coverage-istanbul': 4.1.8 + '@vitest/coverage-v8': 4.1.8 + '@vitest/ui': 4.1.8 + happy-dom: '*' + jsdom: '*' + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@opentelemetry/api': + optional: true + '@types/node': + optional: true + '@vitest/browser-playwright': + optional: true + '@vitest/browser-preview': + optional: true + '@vitest/browser-webdriverio': + optional: true + '@vitest/coverage-istanbul': + optional: true + '@vitest/coverage-v8': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + vlq@1.0.1: resolution: {integrity: sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==} @@ -9466,6 +9445,11 @@ packages: engines: {node: ^20.17.0 || >=22.9.0} hasBin: true + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + widest-line@6.0.0: resolution: {integrity: sha512-U89AsyEeAsyoF0zVJBkG9zBgekjgjK7yk9sje3F4IQpXBJ10TF6ByLlIfjMhcmHMJgHZI4KHt4rdNfktzxIAMA==} engines: {node: '>=20'} @@ -9656,72 +9640,30 @@ snapshots: '@alchemy.run/node-utils@0.0.4': {} - '@anthropic-ai/claude-agent-sdk-darwin-arm64@0.2.141': - optional: true - '@anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.159': optional: true - '@anthropic-ai/claude-agent-sdk-darwin-x64@0.2.141': - optional: true - '@anthropic-ai/claude-agent-sdk-darwin-x64@0.3.159': optional: true - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.2.141': - optional: true - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.159': optional: true - '@anthropic-ai/claude-agent-sdk-linux-arm64@0.2.141': - optional: true - '@anthropic-ai/claude-agent-sdk-linux-arm64@0.3.159': optional: true - '@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.2.141': - optional: true - '@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.159': optional: true - '@anthropic-ai/claude-agent-sdk-linux-x64@0.2.141': - optional: true - '@anthropic-ai/claude-agent-sdk-linux-x64@0.3.159': optional: true - '@anthropic-ai/claude-agent-sdk-win32-arm64@0.2.141': - optional: true - '@anthropic-ai/claude-agent-sdk-win32-arm64@0.3.159': optional: true - '@anthropic-ai/claude-agent-sdk-win32-x64@0.2.141': - optional: true - '@anthropic-ai/claude-agent-sdk-win32-x64@0.3.159': optional: true - '@anthropic-ai/claude-agent-sdk@0.2.141(zod@4.4.3)': - dependencies: - '@anthropic-ai/sdk': 0.93.0(zod@4.4.3) - '@modelcontextprotocol/sdk': 1.29.0(zod@4.4.3) - zod: 4.4.3 - optionalDependencies: - '@anthropic-ai/claude-agent-sdk-darwin-arm64': 0.2.141 - '@anthropic-ai/claude-agent-sdk-darwin-x64': 0.2.141 - '@anthropic-ai/claude-agent-sdk-linux-arm64': 0.2.141 - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl': 0.2.141 - '@anthropic-ai/claude-agent-sdk-linux-x64': 0.2.141 - '@anthropic-ai/claude-agent-sdk-linux-x64-musl': 0.2.141 - '@anthropic-ai/claude-agent-sdk-win32-arm64': 0.2.141 - '@anthropic-ai/claude-agent-sdk-win32-x64': 0.2.141 - transitivePeerDependencies: - - '@cfworker/json-schema' - - supports-color - '@anthropic-ai/claude-agent-sdk@0.3.159(@anthropic-ai/sdk@0.93.0(zod@4.4.3))(@modelcontextprotocol/sdk@1.29.0(zod@4.4.3))(zod@4.4.3)': dependencies: '@anthropic-ai/sdk': 0.93.0(zod@4.4.3) @@ -10889,41 +10831,40 @@ snapshots: dependencies: effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754) - '@effect/tsgo-darwin-arm64@0.11.4': + '@effect/tsgo-darwin-arm64@0.13.2': optional: true - '@effect/tsgo-darwin-x64@0.11.4': + '@effect/tsgo-darwin-x64@0.13.2': optional: true - '@effect/tsgo-linux-arm64@0.11.4': + '@effect/tsgo-linux-arm64@0.13.2': optional: true - '@effect/tsgo-linux-arm@0.11.4': + '@effect/tsgo-linux-arm@0.13.2': optional: true - '@effect/tsgo-linux-x64@0.11.4': + '@effect/tsgo-linux-x64@0.13.2': optional: true - '@effect/tsgo-win32-arm64@0.11.4': + '@effect/tsgo-win32-arm64@0.13.2': optional: true - '@effect/tsgo-win32-x64@0.11.4': + '@effect/tsgo-win32-x64@0.13.2': optional: true - '@effect/tsgo@0.11.4': + '@effect/tsgo@0.13.2': optionalDependencies: - '@effect/tsgo-darwin-arm64': 0.11.4 - '@effect/tsgo-darwin-x64': 0.11.4 - '@effect/tsgo-linux-arm': 0.11.4 - '@effect/tsgo-linux-arm64': 0.11.4 - '@effect/tsgo-linux-x64': 0.11.4 - '@effect/tsgo-win32-arm64': 0.11.4 - '@effect/tsgo-win32-x64': 0.11.4 + '@effect/tsgo-darwin-arm64': 0.13.2 + '@effect/tsgo-darwin-x64': 0.13.2 + '@effect/tsgo-linux-arm': 0.13.2 + '@effect/tsgo-linux-arm64': 0.13.2 + '@effect/tsgo-linux-x64': 0.13.2 + '@effect/tsgo-win32-arm64': 0.13.2 + '@effect/tsgo-win32-x64': 0.13.2 - '@effect/vitest@4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))': + '@effect/vitest@4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))': dependencies: effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754) - vitest: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' '@egjs/hammerjs@2.0.17': dependencies: @@ -13540,36 +13481,36 @@ snapshots: '@types/node': 24.12.4 optional: true - '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260527.2': + '@typescript/native-preview-darwin-arm64@7.0.0-dev.20260604.1': optional: true - '@typescript/native-preview-darwin-x64@7.0.0-dev.20260527.2': + '@typescript/native-preview-darwin-x64@7.0.0-dev.20260604.1': optional: true - '@typescript/native-preview-linux-arm64@7.0.0-dev.20260527.2': + '@typescript/native-preview-linux-arm64@7.0.0-dev.20260604.1': optional: true - '@typescript/native-preview-linux-arm@7.0.0-dev.20260527.2': + '@typescript/native-preview-linux-arm@7.0.0-dev.20260604.1': optional: true - '@typescript/native-preview-linux-x64@7.0.0-dev.20260527.2': + '@typescript/native-preview-linux-x64@7.0.0-dev.20260604.1': optional: true - '@typescript/native-preview-win32-arm64@7.0.0-dev.20260527.2': + '@typescript/native-preview-win32-arm64@7.0.0-dev.20260604.1': optional: true - '@typescript/native-preview-win32-x64@7.0.0-dev.20260527.2': + '@typescript/native-preview-win32-x64@7.0.0-dev.20260604.1': optional: true - '@typescript/native-preview@7.0.0-dev.20260527.2': + '@typescript/native-preview@7.0.0-dev.20260604.1': optionalDependencies: - '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260527.2 - '@typescript/native-preview-darwin-x64': 7.0.0-dev.20260527.2 - '@typescript/native-preview-linux-arm': 7.0.0-dev.20260527.2 - '@typescript/native-preview-linux-arm64': 7.0.0-dev.20260527.2 - '@typescript/native-preview-linux-x64': 7.0.0-dev.20260527.2 - '@typescript/native-preview-win32-arm64': 7.0.0-dev.20260527.2 - '@typescript/native-preview-win32-x64': 7.0.0-dev.20260527.2 + '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260604.1 + '@typescript/native-preview-darwin-x64': 7.0.0-dev.20260604.1 + '@typescript/native-preview-linux-arm': 7.0.0-dev.20260604.1 + '@typescript/native-preview-linux-arm64': 7.0.0-dev.20260604.1 + '@typescript/native-preview-linux-x64': 7.0.0-dev.20260604.1 + '@typescript/native-preview-win32-arm64': 7.0.0-dev.20260604.1 + '@typescript/native-preview-win32-x64': 7.0.0-dev.20260604.1 '@ungap/structured-clone@1.3.1': {} @@ -13594,6 +13535,24 @@ snapshots: '@rolldown/plugin-babel': 0.2.3(@babel/core@7.29.7)(@babel/plugin-transform-runtime@7.29.7(@babel/core@7.29.7))(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(rolldown@1.0.3) babel-plugin-react-compiler: 1.0.0 + '@vitest/expect@4.1.8': + dependencies: + '@standard-schema/spec': 1.1.0 + '@types/chai': 5.2.3 + '@vitest/spy': 4.1.8 + '@vitest/utils': 4.1.8 + chai: 6.2.2 + tinyrainbow: 3.1.0 + + '@vitest/mocker@4.1.8(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(msw@2.12.11(@types/node@24.12.4)(typescript@6.0.3))': + dependencies: + '@vitest/spy': 4.1.8 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + msw: 2.12.11(@types/node@24.12.4)(typescript@6.0.3) + vite: '@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0)' + '@vitest/pretty-format@4.1.8': dependencies: tinyrainbow: 3.1.0 @@ -13603,6 +13562,15 @@ snapshots: '@vitest/utils': 4.1.8 pathe: 2.0.3 + '@vitest/snapshot@4.1.8': + dependencies: + '@vitest/pretty-format': 4.1.8 + '@vitest/utils': 4.1.8 + magic-string: 0.30.21 + pathe: 2.0.3 + + '@vitest/spy@4.1.8': {} + '@vitest/utils@4.1.8': dependencies: '@vitest/pretty-format': 4.1.8 @@ -13799,7 +13767,7 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 - alchemy@https://pkg.ing/alchemy/8b9c241(9558be4f034193caa013885b5f553eec): + alchemy@https://pkg.ing/alchemy/078ff00(044daa5923befe9f328e27c790bb74e1): dependencies: '@alchemy.run/node-utils': 0.0.4 '@aws-sdk/credential-providers': 3.1062.0 @@ -13813,7 +13781,7 @@ snapshots: '@distilled.cloud/core': 0.23.1(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@distilled.cloud/neon': 0.23.1(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@distilled.cloud/planetscale': 0.23.1(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) - '@effect/vitest': 4.0.0-beta.78(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) + '@effect/vitest': 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)(effect@4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)) '@libsql/client': 0.17.3(bufferutil@4.1.0)(utf-8-validate@6.0.6) '@octokit/rest': 22.0.1 '@smithy/node-config-provider': 4.4.6 @@ -13852,7 +13820,6 @@ snapshots: - pg-native - react-devtools-core - utf-8-validate - - vitest - workerd alien-signals@2.0.6: {} @@ -14353,6 +14320,8 @@ snapshots: ccount@2.0.1: {} + chai@6.2.2: {} + chalk@2.4.2: dependencies: ansi-styles: 3.2.1 @@ -15017,6 +14986,10 @@ snapshots: estree-walker@2.0.2: {} + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.9 + etag@1.8.1: {} event-target-shim@5.0.1: {} @@ -15029,6 +15002,8 @@ snapshots: dependencies: eventsource-parser: 3.1.0 + expect-type@1.3.0: {} + expo-application@56.0.3(expo@56.0.8): dependencies: expo: 56.0.8(@babel/core@7.29.7)(@expo/dom-webview@56.0.5)(@expo/metro-runtime@56.0.13)(bufferutil@4.1.0)(expo-router@56.2.8)(expo-widgets@56.0.16)(react-dom@19.2.3(react@19.2.3))(react-native-worklets@0.8.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7))(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6))(react@19.2.3))(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6))(react@19.2.3)(typescript@6.0.3)(utf-8-validate@6.0.6) @@ -17293,7 +17268,7 @@ snapshots: outvariant@1.4.3: {} - oxfmt@0.52.0(vite-plus@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)): + oxfmt@0.52.0(vite-plus@0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)): dependencies: tinypool: 2.1.0 optionalDependencies: @@ -17316,7 +17291,7 @@ snapshots: '@oxfmt/binding-win32-arm64-msvc': 0.52.0 '@oxfmt/binding-win32-ia32-msvc': 0.52.0 '@oxfmt/binding-win32-x64-msvc': 0.52.0 - vite-plus: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) + vite-plus: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) oxlint-tsgolint@0.23.0: optionalDependencies: @@ -17327,7 +17302,7 @@ snapshots: '@oxlint-tsgolint/win32-arm64': 0.23.0 '@oxlint-tsgolint/win32-x64': 0.23.0 - oxlint@1.67.0(oxlint-tsgolint@0.23.0)(vite-plus@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)): + oxlint@1.67.0(oxlint-tsgolint@0.23.0)(vite-plus@0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)): optionalDependencies: '@oxlint/binding-android-arm-eabi': 1.67.0 '@oxlint/binding-android-arm64': 1.67.0 @@ -17349,7 +17324,7 @@ snapshots: '@oxlint/binding-win32-ia32-msvc': 1.67.0 '@oxlint/binding-win32-x64-msvc': 1.67.0 oxlint-tsgolint: 0.23.0 - vite-plus: 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) + vite-plus: 0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) p-cancelable@2.1.1: {} @@ -18413,6 +18388,8 @@ snapshots: side-channel-map: 1.0.1 side-channel-weakmap: 1.0.2 + siginfo@2.0.0: {} + signal-exit@3.0.7: {} signal-exit@4.1.0: {} @@ -18484,6 +18461,8 @@ snapshots: dependencies: escape-string-regexp: 2.0.0 + stackback@0.0.2: {} + stackframe@1.3.4: {} stacktrace-parser@0.1.11: @@ -18958,15 +18937,16 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite-plus@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0): + vite-plus@0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0): dependencies: '@oxc-project/types': 0.133.0 '@oxlint/plugins': 1.61.0 '@voidzero-dev/vite-plus-core': 0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0) '@voidzero-dev/vite-plus-test': 0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0) - oxfmt: 0.52.0(vite-plus@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)) - oxlint: 1.67.0(oxlint-tsgolint@0.23.0)(vite-plus@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)) + oxfmt: 0.52.0(vite-plus@0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)) + oxlint: 1.67.0(oxlint-tsgolint@0.23.0)(vite-plus@0.1.24(@types/node@24.12.4)(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)) oxlint-tsgolint: 0.23.0 + vite: '@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0)' optionalDependencies: '@voidzero-dev/vite-plus-darwin-arm64': 0.1.24 '@voidzero-dev/vite-plus-darwin-x64': 0.1.24 @@ -19005,22 +18985,48 @@ snapshots: - unplugin-unused - unrun - utf-8-validate - - vite - yaml vitefu@1.1.3(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0)): optionalDependencies: vite: '@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0)' - vitest-browser-react@2.2.0(@types/react-dom@19.2.3(@types/react@19.2.16))(@types/react@19.2.16)(@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0))(react-dom@19.2.6(react@19.2.6))(react@19.2.6): + vitest-browser-react@2.2.0(@types/react-dom@19.2.3(@types/react@19.2.16))(@types/react@19.2.16)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)(vitest@4.1.8(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(msw@2.12.11(@types/node@24.12.4)(typescript@6.0.3))): dependencies: react: 19.2.6 react-dom: 19.2.6(react@19.2.6) - vitest: '@voidzero-dev/vite-plus-test@0.1.24(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(bufferutil@4.1.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(utf-8-validate@6.0.6)(yaml@2.9.0)' + vitest: 4.1.8(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(msw@2.12.11(@types/node@24.12.4)(typescript@6.0.3)) optionalDependencies: '@types/react': 19.2.16 '@types/react-dom': 19.2.3(@types/react@19.2.16) + vitest@4.1.8(@types/node@24.12.4)(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(msw@2.12.11(@types/node@24.12.4)(typescript@6.0.3)): + dependencies: + '@vitest/expect': 4.1.8 + '@vitest/mocker': 4.1.8(@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0))(msw@2.12.11(@types/node@24.12.4)(typescript@6.0.3)) + '@vitest/pretty-format': 4.1.8 + '@vitest/runner': 4.1.8 + '@vitest/snapshot': 4.1.8 + '@vitest/spy': 4.1.8 + '@vitest/utils': 4.1.8 + es-module-lexer: 2.1.0 + expect-type: 1.3.0 + magic-string: 0.30.21 + obug: 2.1.1 + pathe: 2.0.3 + picomatch: 4.0.4 + std-env: 4.1.0 + tinybench: 2.9.0 + tinyexec: 1.2.4 + tinyglobby: 0.2.17 + tinyrainbow: 3.1.0 + vite: '@voidzero-dev/vite-plus-core@0.1.24(@types/node@24.12.4)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(typescript@6.0.3)(unrun@0.2.39)(yaml@2.9.0)' + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 24.12.4 + transitivePeerDependencies: + - msw + vlq@1.0.1: {} volar-service-css@0.0.70(@volar/language-service@2.4.28): @@ -19160,6 +19166,11 @@ snapshots: dependencies: isexe: 4.0.0 + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + widest-line@6.0.0: dependencies: string-width: 8.2.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e298f8b3eb..ccd810fdbf 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -25,20 +25,18 @@ catalog: "@effect/sql-pg": 4.0.0-beta.78 "@effect/sql-sqlite-bun": 4.0.0-beta.78 "@effect/vitest": 4.0.0-beta.78 - "@effect/tsgo": 0.11.4 + "@effect/tsgo": 0.13.2 "@noble/curves": 1.9.1 "@noble/hashes": 1.8.0 "@pierre/diffs": 1.1.20 - "@vitest/runner": ^4.1.8 - "@types/bun": ^1.3.11 + "@vitest/runner": 4.1.8 "@types/node": 24.12.4 - "@typescript/native-preview": 7.0.0-dev.20260527.2 + "@typescript/native-preview": 7.0.0-dev.20260604.1 jose: 6.2.2 - tsdown: ^0.20.3 typescript: ~6.0.3 - vitest: npm:@voidzero-dev/vite-plus-test@latest - vite: npm:@voidzero-dev/vite-plus-core@latest - vite-plus: latest + vitest: npm:@voidzero-dev/vite-plus-test@0.1.24 + vite: npm:@voidzero-dev/vite-plus-core@0.1.24 + vite-plus: 0.1.24 yaml: ^2.9.0 overrides: # Clerk publishes wallet auth integrations as required dependencies. T3 Code does @@ -56,6 +54,8 @@ overrides: "@effect/sql-pg": "catalog:" "@effect/sql-sqlite-bun": "catalog:" "@effect/vitest": "catalog:" + "@effect/vitest>@vitest/runner": "-" + "@effect/vitest>vitest": "-" "@types/node": "catalog:" effect: "catalog:" vite: "catalog:" @@ -71,8 +71,15 @@ peerDependencyRules: packageExtensions: "@effect/vitest@*": dependencies: - "@vitest/runner": "catalog:" + vite-plus: "catalog:" + peerDependenciesMeta: + vitest: + optional: true + "vite-plus@*": + dependencies: + vite: "catalog:" patchedDependencies: + "@effect/vitest@4.0.0-beta.78": patches/@effect__vitest@4.0.0-beta.78.patch "@expo/metro-config@56.0.13": patches/@expo%2Fmetro-config@56.0.13.patch "@pierre/diffs@1.1.20": patches/@pierre%2Fdiffs@1.1.20.patch effect@4.0.0-beta.78: patches/effect@4.0.0-beta.78.patch diff --git a/scripts/build-desktop-artifact.ts b/scripts/build-desktop-artifact.ts index 0ee2e38880..4d63a11dbb 100644 --- a/scripts/build-desktop-artifact.ts +++ b/scripts/build-desktop-artifact.ts @@ -178,13 +178,11 @@ const resolveGitCommitHash = Effect.fn("resolveGitCommitHash")(function* (repoRo cwd: repoRoot, }), ).pipe( - Effect.catch(() => - Effect.succeed({ - stdout: "", - stderr: "", - exitCode: 1, - }), - ), + Effect.orElseSucceed(() => ({ + stdout: "", + stderr: "", + exitCode: 1, + })), ); if (result.exitCode !== 0) { @@ -220,13 +218,11 @@ const resolvePythonForNodeGyp = Effect.fn("resolvePythonForNodeGyp")(function* ( const probe = yield* spawnAndCollectOutput( ChildProcess.make("python", ["-c", "import sys;print(sys.executable)"]), ).pipe( - Effect.catch(() => - Effect.succeed({ - stdout: "", - stderr: "", - exitCode: 1, - }), - ), + Effect.orElseSucceed(() => ({ + stdout: "", + stderr: "", + exitCode: 1, + })), ); if (probe.exitCode !== 0) { @@ -1008,7 +1004,7 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* ( const copiedArtifacts: string[] = []; for (const entry of stageEntries) { const from = path.join(stageDistDir, entry); - const stat = yield* fs.stat(from).pipe(Effect.catch(() => Effect.succeed(null))); + const stat = yield* fs.stat(from).pipe(Effect.orElseSucceed(() => null)); if (!stat || stat.type !== "File") continue; const to = path.join(options.outputDir, entry); diff --git a/scripts/lib/public-config.test.ts b/scripts/lib/public-config.test.ts index 52eaf43192..369fc4e1de 100644 --- a/scripts/lib/public-config.test.ts +++ b/scripts/lib/public-config.test.ts @@ -2,7 +2,7 @@ import { mkdtempSync, rmSync, writeFileSync } from "node:fs"; import { tmpdir } from "node:os"; import { join } from "node:path"; -import { afterEach, describe, expect, it } from "vitest"; +import { afterEach, describe, expect, it } from "vite-plus/test"; import { loadRepoEnv, resolvePublicConfig } from "./public-config.ts"; diff --git a/scripts/mobile-native-static-check.ts b/scripts/mobile-native-static-check.ts index ca871fd8a1..2f29034b42 100644 --- a/scripts/mobile-native-static-check.ts +++ b/scripts/mobile-native-static-check.ts @@ -73,7 +73,7 @@ const commandExists = Effect.fn("commandExists")(function* (command: string) { return yield* spawner.spawn(lookupCommand).pipe( Effect.flatMap((child) => child.exitCode), Effect.map((exitCode) => exitCode === 0), - Effect.catch(() => Effect.succeed(false)), + Effect.orElseSucceed(() => false), ); }); diff --git a/scripts/package.json b/scripts/package.json index e4420bd80e..510bb230b8 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -7,7 +7,6 @@ "test": "vp test run" }, "dependencies": { - "@anthropic-ai/claude-agent-sdk": "^0.2.77", "@effect/platform-node": "catalog:", "@t3tools/contracts": "workspace:*", "@t3tools/shared": "workspace:*", @@ -16,8 +15,6 @@ }, "devDependencies": { "@effect/vitest": "catalog:", - "@types/bun": "catalog:", - "vite-plus": "catalog:", - "vitest": "catalog:" + "vite-plus": "catalog:" } } diff --git a/vite.config.ts b/vite.config.ts index 253972fca1..2ccc1fb948 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,14 +14,12 @@ export default defineConfig({ hookTimeout: 60_000, testTimeout: 60_000, }, - staged: { - "*": "vp check --fix", - }, fmt: { ignorePatterns: [ ".reference", ".repos/**", ".plans", + ".alchemy", "dist", "dist-electron", "node_modules",