Compare commits

...
82 changed files with 1335 additions and 662 deletions

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ const DIAGNOSTIC_BUFFER_LIMIT = 200;
const MAX_ARTIFACT_SITE_SLUG_LENGTH = 80;
const AGENT_CURSOR_MOVE_MS = 160;
const AGENT_CURSOR_CLICK_LEAD_MS = 40;
const encodeUnknownJson = Schema.encodeUnknownEffect(Schema.UnknownFromJsonString);
const encodeUnknownJson = Schema.encodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
const DEFAULT_ANNOTATION_THEME: DesktopPreviewAnnotationTheme = {
colorScheme: "light",
radius: "0.625rem",
@@ -8,7 +8,7 @@ import * as Effect from "effect/Effect";
import * as Schema from "effect/Schema";
const require = NodeModule.createRequire(import.meta.url);
const encodeUnknownJson = Schema.encodeUnknownEffect(Schema.UnknownFromJsonString);
const encodeUnknownJson = Schema.encodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
const PLAYWRIGHT_PACKAGE_SPECIFIER = "playwright-core/package.json";
const PLAYWRIGHT_SOURCE_MARKER = "source3 = ";
const PLAYWRIGHT_SOURCE_TERMINATOR = ";\n }\n});";
@@ -438,6 +438,51 @@ describe("DesktopWindow", () => {
}),
);
it.effect("blocks only repeated Cmd+W input before it reaches the native window menu", () =>
Effect.gen(function* () {
const fakeWindow = makeFakeBrowserWindow();
const createCount = yield* Ref.make(0);
const mainWindow = yield* Ref.make<Option.Option<Electron.BrowserWindow>>(Option.none());
const layer = makeTestLayer({
window: fakeWindow.window,
createCount,
mainWindow,
});
yield* Effect.gen(function* () {
const desktopWindow = yield* DesktopWindow.DesktopWindow;
yield* desktopWindow.handleBackendReady(new URL("http://127.0.0.1:3773"));
const beforeInput = fakeWindow.webContentsListeners.get("before-input-event");
if (!beforeInput) {
return yield* Effect.die("before-input-event listener was not registered");
}
let prevented = false;
const event = { preventDefault: () => (prevented = true) };
const input = {
type: "keyDown",
isAutoRepeat: true,
key: "W",
meta: true,
control: false,
alt: false,
shift: false,
};
beforeInput(event, input);
assert.isTrue(prevented);
prevented = false;
beforeInput(event, { ...input, isAutoRepeat: false });
assert.isFalse(prevented);
prevented = false;
beforeInput(event, { ...input, meta: false });
assert.isFalse(prevented);
}).pipe(Effect.provide(layer));
}),
);
it.effect("uses the persisted main window bounds when opening the window", () =>
Effect.gen(function* () {
const fakeWindow = makeFakeBrowserWindow();
+12
View File
@@ -514,6 +514,18 @@ export const make = Effect.gen(function* () {
}
});
// Electron's windowMenu close role owns CmdOrCtrl+W. Holding the
// close-terminal shortcut can outlive the terminal that handled its first
// press, so reject repeats before they reach the native window accelerator.
// Deliberate presses still flow through the renderer or native menu.
window.webContents.on("before-input-event", (event, input) => {
if (input.type !== "keyDown" || !input.isAutoRepeat) return;
const modifier = environment.platform === "darwin" ? input.meta : input.control;
if (modifier && !input.alt && !input.shift && input.key.toLowerCase() === "w") {
event.preventDefault();
}
});
window.on("page-title-updated", (event) => {
event.preventDefault();
window.setTitle(environment.displayName);
+1
View File
@@ -30,6 +30,7 @@ export const RPC_REQUIRED_SCOPES = {
[ORCHESTRATION_WS_METHODS.subscribeThread]: AuthOrchestrationReadScope,
[WS_METHODS.serverProbe]: AuthOrchestrationReadScope,
[WS_METHODS.serverGetConfig]: AuthOrchestrationReadScope,
[WS_METHODS.serverListProviderSkills]: AuthOrchestrationReadScope,
[WS_METHODS.serverRefreshProviders]: AuthOrchestrationOperateScope,
[WS_METHODS.serverUpdateProvider]: AuthOrchestrationOperateScope,
[WS_METHODS.serverUpdateServer]: AuthOrchestrationOperateScope,
+6 -2
View File
@@ -1,3 +1,5 @@
// @effect-diagnostics nodeBuiltinImport:off
import * as NodeFS from "node:fs";
import * as NodeOS from "node:os";
import { assert, expect, it } from "@effect/vitest";
@@ -56,8 +58,10 @@ it.layer(NodeServices.layer)("cli config resolution", (it) => {
const filePath = yield* fs.makeTempFileScoped({ prefix: "t3-bootstrap-", suffix: ".ndjson" });
const encoded = yield* encodeDesktopBootstrap(payload);
yield* fs.writeFileString(filePath, `${encoded}\n`);
const { fd } = yield* fs.open(filePath, { flag: "r" });
return fd;
return yield* Effect.acquireRelease(
Effect.sync(() => NodeFS.openSync(filePath, "r")),
(fd) => Effect.sync(() => NodeFS.closeSync(fd)),
);
});
it.effect("falls back to effect/config values when flags are omitted", () =>
+1 -1
View File
@@ -466,7 +466,7 @@ export const DurationFromString = Schema.String.pipe(
return Effect.succeed(duration);
}
return Effect.fail(
new SchemaIssue.InvalidValue(Option.some(value), {
new SchemaIssue.InvalidValue({
message: "Invalid duration. Use values like 5m, 1h, 30d, or 15 minutes.",
}),
);
+2 -3
View File
@@ -4,7 +4,6 @@ import { normalizeSecureRelayUrl } from "@t3tools/shared/relayUrl";
import * as Config from "effect/Config";
import * as ConfigProvider from "effect/ConfigProvider";
import * as Effect from "effect/Effect";
import * as Option from "effect/Option";
import * as Schema from "effect/Schema";
import * as SchemaIssue from "effect/SchemaIssue";
@@ -24,7 +23,7 @@ function validateRelayUrl(value: string) {
? Effect.fail(
new Config.ConfigError(
new Schema.SchemaError(
new SchemaIssue.InvalidValue(Option.some(value), {
new SchemaIssue.InvalidValue({
message: "Relay URL must be a secure absolute HTTPS origin.",
}),
),
@@ -130,7 +129,7 @@ function validateHostedAppUrl(value: string) {
return Effect.fail(
new Config.ConfigError(
new Schema.SchemaError(
new SchemaIssue.InvalidValue(Option.some(value), {
new SchemaIssue.InvalidValue({
message: "Hosted app URL must be an absolute HTTPS origin (or HTTP loopback origin).",
}),
),
+3 -68
View File
@@ -14,10 +14,10 @@ import * as Option from "effect/Option";
import * as Path from "effect/Path";
import { cast } from "effect/Function";
import {
Headers,
HttpBody,
HttpClient,
HttpClientResponse,
HttpMiddleware,
HttpRouter,
HttpServerResponse,
HttpServerRequest,
@@ -30,7 +30,6 @@ import * as ServerConfig from "./config.ts";
import { ASSET_ROUTE_PREFIX, resolveAsset } from "./assets/AssetAccess.ts";
import * as BrowserTraceCollector from "./observability/BrowserTraceCollector.ts";
import * as EnvironmentAuth from "./auth/EnvironmentAuth.ts";
import * as HttpResponseCompression from "./httpCompression/HttpResponseCompression.ts";
import { traceRelayRequest } from "./cloud/traceRelayRequest.ts";
import {
annotateEnvironmentRequest,
@@ -44,74 +43,10 @@ import { browserApiCorsAllowedHeaders, browserApiCorsAllowedMethods } from "./ht
const OTLP_TRACES_PROXY_PATH = "/api/observability/v1/traces";
const LOOPBACK_HOSTNAMES = new Set(["127.0.0.1", "::1", "localhost"]);
const DESKTOP_RENDERER_ORIGINS = ["t3code://app", "t3code-dev://app"];
const GZIP_MIN_BYTES = 1024;
function acceptsGzip(value: string | undefined): boolean {
if (!value) return false;
const accepted = new Map(
value.split(",").map((entry) => {
const [coding = "", ...parameters] = entry.trim().toLowerCase().split(";");
const quality = parameters
.map((parameter) => parameter.trim().match(/^q=(.+)$/)?.[1])
.find((parameter) => parameter !== undefined);
return [coding, quality === undefined ? 1 : Number(quality)] as const;
}),
);
return (accepted.get("gzip") ?? accepted.get("*") ?? 0) > 0;
}
function varyByAcceptEncoding(value: string | undefined): string {
if (!value) return "Accept-Encoding";
const values = new Set(value.split(",").map((entry) => entry.trim().toLowerCase()));
return values.has("*") || values.has("accept-encoding") ? value : `${value}, Accept-Encoding`;
}
const compressHttpResponse = Effect.fnUntraced(function* (
response: HttpServerResponse.HttpServerResponse,
acceptEncoding: string | undefined,
) {
const body = response.body;
if (
body._tag !== "Uint8Array" ||
body.contentLength < GZIP_MIN_BYTES ||
!body.contentType.startsWith("application/json") ||
response.headers["content-encoding"]
) {
return response;
}
const variedResponse = HttpServerResponse.setHeader(
response,
"vary",
varyByAcceptEncoding(response.headers.vary),
);
if (!acceptsGzip(acceptEncoding)) return variedResponse;
const compression = yield* HttpResponseCompression.HttpResponseCompression;
const headers = Headers.set(
Headers.remove(variedResponse.headers, "content-length"),
"content-encoding",
"gzip",
);
return compression.gzip(body.body, {
status: response.status,
statusText: response.statusText,
headers,
cookies: response.cookies,
contentType: body.contentType,
});
export const httpCompressionLayer = HttpRouter.middleware(HttpMiddleware.compression(), {
global: true,
});
export const httpCompressionLayer = HttpRouter.middleware(
(httpEffect) =>
Effect.flatMap(
Effect.all([httpEffect, HttpServerRequest.HttpServerRequest]),
([response, request]) => compressHttpResponse(response, request.headers["accept-encoding"]),
),
{ global: true },
);
export const browserApiCorsLayer = Layer.unwrap(
Effect.gen(function* () {
const config = yield* ServerConfig.ServerConfig;
@@ -1,29 +0,0 @@
import { expect, it } from "@effect/vitest";
import * as NodeStream from "node:stream";
import * as Effect from "effect/Effect";
import * as HttpResponseCompression from "./HttpResponseCompression.ts";
it.effect("uses a native Node stream", () =>
Effect.gen(function* () {
const compression = yield* HttpResponseCompression.HttpResponseCompression;
const response = compression.gzip(new Uint8Array(), {});
expect(response.body._tag).toBe("Raw");
if (response.body._tag === "Raw") {
expect(response.body.body).toBeInstanceOf(NodeStream.Readable);
}
}).pipe(Effect.provide(HttpResponseCompression.layerNode)),
);
it.effect("uses a native Web stream for Bun", () =>
Effect.gen(function* () {
const compression = yield* HttpResponseCompression.HttpResponseCompression;
const response = compression.gzip(new Uint8Array(), {});
expect(response.body._tag).toBe("Raw");
if (response.body._tag === "Raw") {
expect(response.body.body).toBeInstanceOf(ReadableStream);
}
}).pipe(Effect.provide(HttpResponseCompression.layerBun)),
);
@@ -1,36 +0,0 @@
import * as Context from "effect/Context";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import * as HttpServerResponse from "effect/unstable/http/HttpServerResponse";
export class HttpResponseCompression extends Context.Service<
HttpResponseCompression,
{
readonly gzip: (
body: Uint8Array,
options: HttpServerResponse.Options,
) => HttpServerResponse.HttpServerResponse;
}
>()("t3/httpCompression/HttpResponseCompression") {}
export const layerNode = Layer.effect(
HttpResponseCompression,
Effect.gen(function* () {
const NodeZlib = yield* Effect.promise(() => import("node:zlib"));
return {
gzip: (body, options) => {
const stream = NodeZlib.createGzip();
stream.end(body);
return HttpServerResponse.raw(stream, options);
},
};
}),
);
export const layerBun = Layer.succeed(HttpResponseCompression, {
gzip: (body, options) =>
HttpServerResponse.raw(
new Response(body).body!.pipeThrough(new CompressionStream("gzip")),
options,
),
});
+2 -3
View File
@@ -29,7 +29,6 @@ import * as Exit from "effect/Exit";
import * as FileSystem from "effect/FileSystem";
import * as Path from "effect/Path";
import * as Layer from "effect/Layer";
import * as Option from "effect/Option";
import * as Predicate from "effect/Predicate";
import * as PubSub from "effect/PubSub";
import * as Result from "effect/Result";
@@ -68,7 +67,7 @@ export const ResolvedKeybindingFromConfig = KeybindingRule.pipe(
Effect.filterOrFail(
Predicate.isNotNull,
() =>
new SchemaIssue.InvalidValue(Option.some(rule), {
new SchemaIssue.InvalidValue({
message: "Invalid keybinding rule",
}),
),
@@ -80,7 +79,7 @@ export const ResolvedKeybindingFromConfig = KeybindingRule.pipe(
const key = encodeShortcut(resolved.shortcut);
if (!key) {
return yield* Effect.fail(
new SchemaIssue.InvalidValue(Option.some(resolved), {
new SchemaIssue.InvalidValue({
message: "Resolved shortcut cannot be encoded to key string",
}),
);
+6 -3
View File
@@ -5,7 +5,7 @@ import { EnvironmentId, PreviewTabId, ProviderInstanceId, ThreadId } from "@t3to
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import * as Stream from "effect/Stream";
import { McpSchema, McpServer } from "effect/unstable/ai";
import { McpProtocol, McpSchema, McpServer } from "effect/unstable/ai";
import { HttpBody, HttpClient, HttpRouter, HttpServerResponse } from "effect/unstable/http";
import * as McpHttpServer from "./McpHttpServer.ts";
@@ -26,8 +26,9 @@ const invocation = {
};
const client = McpSchema.McpServerClient.of({
clientId: 1,
protocolVersion: "2025-06-18",
initializePayload: {
protocolVersion: "2025-03-26",
protocolVersion: "2025-06-18",
capabilities: {},
clientInfo: { name: "mcp-test", version: "1.0.0" },
},
@@ -103,6 +104,7 @@ it.effect("terminates HTTP MCP sessions with DELETE", () =>
name: "MCP termination test",
version: "1.0.0",
path: "/mcp",
protocols: [McpProtocol.v2025_06_18],
});
yield* HttpRouter.serve(serverLayer, {
disableListenLog: true,
@@ -239,8 +241,9 @@ it.effect("registers annotated tools and preserves authenticated request context
.pipe(
Effect.provideService(McpInvocationContext.McpInvocationContext, invocation),
Effect.provideService(McpSchema.McpServerClient, client),
Effect.flip,
);
expect(malformed.isError).toBe(true);
expect(malformed._tag).toBe("InvalidParams");
const snapshot = yield* server
.callTool({ name: "preview_snapshot", arguments: { tabId: alternateTabId } })
+2 -1
View File
@@ -6,7 +6,7 @@ import * as Option from "effect/Option";
import * as Sink from "effect/Sink";
import * as Stream from "effect/Stream";
import type * as Types from "effect/Types";
import { McpSchema, McpServer, Tool } from "effect/unstable/ai";
import { McpProtocol, McpSchema, McpServer, Tool } from "effect/unstable/ai";
import { HttpRouter, HttpServerRequest, HttpServerResponse } from "effect/unstable/http";
import packageJson from "../../package.json" with { type: "json" };
@@ -220,6 +220,7 @@ const McpTransportLive = McpServer.layerHttp({
name: "T3 Code",
version: packageJson.version,
path: "/mcp",
protocols: [McpProtocol.v2025_06_18],
}).pipe(Layer.provide(McpAuthMiddlewareLive));
export const layer = PreviewToolkitRegistrationLive.pipe(Layer.provideMerge(McpTransportLive));
@@ -23,6 +23,7 @@
*/
import { CodexSettings, ProviderDriverKind, type ServerProvider } from "@t3tools/contracts";
import * as Crypto from "effect/Crypto";
import * as Duration from "effect/Duration";
import * as Effect from "effect/Effect";
import * as FileSystem from "effect/FileSystem";
import * as Path from "effect/Path";
@@ -36,7 +37,12 @@ import { ServerConfig } from "../../config.ts";
import { ServerSettingsService } from "../../serverSettings.ts";
import { ProviderDriverError } from "../Errors.ts";
import { makeCodexAdapter } from "../Layers/CodexAdapter.ts";
import { checkCodexProviderStatus, makePendingCodexProvider } from "../Layers/CodexProvider.ts";
import { resolveCodexLaunchArgs } from "../Layers/codexLaunchArgs.ts";
import {
checkCodexProviderStatus,
listCodexProviderSkills,
makePendingCodexProvider,
} from "../Layers/CodexProvider.ts";
import { ProviderEventLoggers } from "../Layers/ProviderEventLoggers.ts";
import { makeManagedServerProvider } from "../makeManagedServerProvider.ts";
import type { ProviderDriver, ProviderInstance } from "../ProviderDriver.ts";
@@ -198,6 +204,29 @@ export const CodexDriver: ProviderDriver<CodexSettings, CodexDriverEnv> = {
),
);
const listSkills = (cwd: string) =>
listCodexProviderSkills({
binaryPath: effectiveConfig.binaryPath,
homePath: effectiveConfig.homePath,
launchArgs: resolveCodexLaunchArgs(effectiveConfig.launchArgs, processEnv),
cwd,
environment: processEnv,
}).pipe(
Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, spawner),
Effect.scoped,
Effect.timeout(Duration.seconds(10)),
Effect.catch((error) =>
Effect.logWarning("Codex workspace skill discovery failed; using global skills.", {
cwd,
error: String(error),
instanceId,
}).pipe(
Effect.andThen(snapshot.getSnapshot),
Effect.map((provider) => provider.skills),
),
),
);
return {
instanceId,
driverKind: DRIVER_KIND,
@@ -208,6 +237,7 @@ export const CodexDriver: ProviderDriver<CodexSettings, CodexDriverEnv> = {
snapshot,
adapter,
textGeneration,
listSkills,
} satisfies ProviderInstance;
}),
};
@@ -90,8 +90,8 @@ import {
} from "../Errors.ts";
import { type ClaudeAdapterShape } from "../Services/ClaudeAdapter.ts";
import { type EventNdjsonLogger, makeEventNdjsonLogger } from "./EventNdjsonLogger.ts";
const encodeUnknownJsonStringExit = Schema.encodeUnknownExit(Schema.UnknownFromJsonString);
const decodeUnknownJsonStringExit = Schema.decodeUnknownExit(Schema.UnknownFromJsonString);
const encodeUnknownJsonStringExit = Schema.encodeUnknownExit(Schema.fromJsonString(Schema.Unknown));
const decodeUnknownJsonStringExit = Schema.decodeUnknownExit(Schema.fromJsonString(Schema.Unknown));
const PROVIDER = ProviderDriverKind.make("claudeAgent");
type ClaudeTextStreamKind = Extract<RuntimeContentStreamKind, "assistant_text" | "reasoning_text">;
@@ -319,14 +319,17 @@ export function buildCodexInitializeParams(): CodexSchema.V1InitializeParams {
};
}
const probeCodexAppServerProvider = Effect.fn("probeCodexAppServerProvider")(function* (input: {
interface CodexAppServerProbeInput {
readonly binaryPath: string;
readonly homePath?: string;
readonly launchArgs?: string;
readonly cwd: string;
readonly customModels?: ReadonlyArray<string>;
readonly environment?: NodeJS.ProcessEnv;
}) {
}
const openCodexAppServerProbe = Effect.fn("openCodexAppServerProbe")(function* (
input: CodexAppServerProbeInput,
) {
// `~` is not shell-expanded when env vars are set via `child_process.spawn`,
// so `CODEX_HOME=~/.codex_work` would reach codex verbatim and trip
// "CODEX_HOME points to '~/.codex_work', but that path does not exist".
@@ -369,22 +372,33 @@ const probeCodexAppServerProvider = Effect.fn("probeCodexAppServerProvider")(fun
Effect.provide(clientContext),
);
const initialize = yield* client.request("initialize", {
clientInfo: {
name: "t3code_desktop",
title: "T3 Code Desktop",
version: "0.1.0",
},
capabilities: {
experimentalApi: true,
},
});
const initialize = yield* client.request("initialize", buildCodexInitializeParams());
yield* client.notify("initialized", undefined);
// Extract the version string after the first '/' in userAgent, up to the next space or the end
const versionMatch = initialize.userAgent.match(/\/([^\s]+)/);
const version = versionMatch ? versionMatch[1] : undefined;
return { client, version };
});
export const listCodexProviderSkills = Effect.fn("listCodexProviderSkills")(function* (input: {
readonly binaryPath: string;
readonly homePath?: string;
readonly launchArgs?: string;
readonly cwd: string;
readonly environment?: NodeJS.ProcessEnv;
}) {
const { client } = yield* openCodexAppServerProbe(input);
const response = yield* client.request("skills/list", { cwds: [input.cwd] });
return parseCodexSkillsListResponse(response, input.cwd);
});
const probeCodexAppServerProvider = Effect.fn("probeCodexAppServerProvider")(function* (
input: CodexAppServerProbeInput & { readonly customModels?: ReadonlyArray<string> },
) {
const { client, version } = yield* openCodexAppServerProbe(input);
const accountResponse = yield* client.request("account/read", {});
if (!accountResponse.account && accountResponse.requiresOpenaiAuth) {
return {
@@ -411,7 +425,9 @@ const probeCodexAppServerProvider = Effect.fn("probeCodexAppServerProvider")(fun
models: applyPreferredCodexDefaultModel(
appendCustomCodexModels(models, input.customModels ?? []),
),
skills: parseCodexSkillsListResponse(skillsResponse, input.cwd),
skills: parseCodexSkillsListResponse(skillsResponse, input.cwd).filter(
(skill) => skill.scope !== "repo",
),
} satisfies CodexAppServerProviderSnapshot;
});
@@ -77,7 +77,7 @@ import {
import { type CursorAdapterShape } from "../Services/CursorAdapter.ts";
import { resolveCursorAcpBaseModelId } from "./CursorProvider.ts";
import { type EventNdjsonLogger, makeEventNdjsonLogger } from "./EventNdjsonLogger.ts";
const encodeUnknownJsonStringExit = Schema.encodeUnknownExit(Schema.UnknownFromJsonString);
const encodeUnknownJsonStringExit = Schema.encodeUnknownExit(Schema.fromJsonString(Schema.Unknown));
const PROVIDER = ProviderDriverKind.make("cursor");
const CURSOR_RESUME_VERSION = 1 as const;
@@ -20,7 +20,7 @@ import {
writeBatchedMessages,
} from "./EventNdjsonLogger.ts";
const encodeUnknownJson = Schema.encodeUnknownSync(Schema.UnknownFromJsonString);
const encodeUnknownJson = Schema.encodeUnknownSync(Schema.fromJsonString(Schema.Unknown));
function ownedLogPath(basePath: string, segment: string): string {
const basename = NodePath.basename(basePath);
@@ -34,7 +34,7 @@ const DEFAULT_MAX_BUFFERED_BYTES = MEBIBYTE;
const DEFAULT_MAX_BUFFERED_RECORDS = 512;
const GLOBAL_THREAD_SEGMENT = "_global";
const LOG_SCOPE = "provider-observability";
const encodeUnknownJsonString = Schema.encodeUnknownEffect(Schema.UnknownFromJsonString);
const encodeUnknownJsonString = Schema.encodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
const transientCanonicalEventTypes = new Set([
"content.delta",
@@ -69,7 +69,7 @@ import {
import { type GrokAdapterShape } from "../Services/GrokAdapter.ts";
import { type EventNdjsonLogger, makeEventNdjsonLogger } from "./EventNdjsonLogger.ts";
const encodeUnknownJsonStringExit = Schema.encodeUnknownExit(Schema.UnknownFromJsonString);
const encodeUnknownJsonStringExit = Schema.encodeUnknownExit(Schema.fromJsonString(Schema.Unknown));
const PROVIDER = ProviderDriverKind.make("grok");
const GROK_RESUME_VERSION = 1 as const;
@@ -819,7 +819,7 @@ it.layer(Layer.mergeAll(NodeServices.layer, ServerSettingsModule.layerTest(), Te
]);
});
it.effect("does not run provider probes during layer construction", () =>
it.effect("does not probe at construction and routes cwd-scoped skill discovery", () =>
Effect.gen(function* () {
const codexDriver = ProviderDriverKind.make("codex");
const codexInstanceId = ProviderInstanceId.make("codex");
@@ -838,6 +838,13 @@ it.layer(Layer.mergeAll(NodeServices.layer, ServerSettingsModule.layerTest(), Te
skills: [],
} as const satisfies ServerProvider;
const refreshCalls = yield* Ref.make(0);
const skillCwds = yield* Ref.make<ReadonlyArray<string>>([]);
const workspaceSkill = {
name: "project-review",
path: "/tmp/project/.agents/skills/project-review/SKILL.md",
scope: "repo",
enabled: true,
} as const;
const instance = {
instanceId: codexInstanceId,
driverKind: codexDriver,
@@ -860,6 +867,8 @@ it.layer(Layer.mergeAll(NodeServices.layer, ServerSettingsModule.layerTest(), Te
},
adapter: {} as ProviderInstance["adapter"],
textGeneration: {} as ProviderInstance["textGeneration"],
listSkills: (cwd: string) =>
Ref.update(skillCwds, (cwds) => [...cwds, cwd]).pipe(Effect.as([workspaceSkill])),
} satisfies ProviderInstance;
const instanceRegistryLayer = Layer.succeed(
ProviderInstanceRegistry.ProviderInstanceRegistry,
@@ -889,6 +898,11 @@ it.layer(Layer.mergeAll(NodeServices.layer, ServerSettingsModule.layerTest(), Te
const registry = yield* ProviderRegistry.ProviderRegistry;
assert.deepStrictEqual(yield* registry.getProviders, [initialProvider]);
assert.strictEqual(yield* Ref.get(refreshCalls), 0);
assert.deepStrictEqual(
yield* registry.listSkills({ instanceId: codexInstanceId, cwd: "/tmp/project" }),
[workspaceSkill],
);
assert.deepStrictEqual(yield* Ref.get(skillCwds), ["/tmp/project"]);
}).pipe(Effect.provide(runtimeServices));
}),
);
@@ -496,6 +496,20 @@ export const ProviderRegistryLive = Layer.effect(
return yield* refreshOneSource(providerSource);
});
const listSkills = Effect.fn("listSkills")(function* (input: {
readonly instanceId: ProviderInstanceId;
readonly cwd: string;
}) {
const instance = yield* instanceRegistry.getInstance(input.instanceId);
if (instance === undefined || !instance.enabled) {
return [];
}
if (instance.listSkills !== undefined) {
return yield* instance.listSkills(input.cwd);
}
return (yield* instance.snapshot.getSnapshot).skills;
});
const getProviderMaintenanceCapabilitiesForInstance = Effect.fn(
"getProviderMaintenanceCapabilitiesForInstance",
)(function* (instanceId: ProviderInstanceId, provider: ProviderDriverKind) {
@@ -710,6 +724,7 @@ export const ProviderRegistryLive = Layer.effect(
refresh(provider).pipe(Effect.catchCause(recoverRefreshFailure)),
refreshInstance: (instanceId: ProviderInstanceId) =>
refreshInstance(instanceId).pipe(Effect.catchCause(recoverRefreshFailure)),
listSkills,
getProviderMaintenanceCapabilitiesForInstance,
setProviderMaintenanceActionState,
get streamChanges() {
@@ -25,6 +25,7 @@ import type {
ProviderDriverKind,
ProviderInstanceEnvironment,
ProviderInstanceId,
ServerProviderSkill,
} from "@t3tools/contracts";
import type * as Effect from "effect/Effect";
import type * as Schema from "effect/Schema";
@@ -71,6 +72,8 @@ export interface ProviderInstance {
readonly snapshot: ServerProviderShape;
readonly adapter: ProviderAdapterShape<ProviderAdapterError>;
readonly textGeneration: TextGeneration.TextGeneration["Service"];
/** Resolve the skills visible from a workspace cwd. */
readonly listSkills?: (cwd: string) => Effect.Effect<ReadonlyArray<ServerProviderSkill>>;
}
export interface ProviderContinuationIdentity {
@@ -10,6 +10,7 @@ import type {
ProviderInstanceId,
ProviderDriverKind,
ServerProvider,
ServerProviderSkill,
ServerProviderUpdateState,
} from "@t3tools/contracts";
import * as Context from "effect/Context";
@@ -19,6 +20,11 @@ import type { ProviderMaintenanceCapabilities } from "../providerMaintenance.ts"
export type ProviderMaintenanceActionKind = "update";
export interface ProviderRegistryListSkillsInput {
readonly instanceId: ProviderInstanceId;
readonly cwd: string;
}
export interface ProviderRegistryShape {
/**
* Read the latest provider snapshots for every configured instance.
@@ -48,6 +54,11 @@ export interface ProviderRegistryShape {
instanceId: ProviderInstanceId,
) => Effect.Effect<ReadonlyArray<ServerProvider>>;
/** Resolve provider skills using the active workspace cwd. */
readonly listSkills: (
input: ProviderRegistryListSkillsInput,
) => Effect.Effect<ReadonlyArray<ServerProviderSkill>>;
/**
* Resolve the maintenance capabilities owned by one live provider instance.
* Falls back to manual-only capabilities when the instance is not live.
@@ -12,7 +12,7 @@ import type { EventNdjsonLogger } from "../Layers/EventNdjsonLogger.ts";
import { makeAcpNativeLoggerFactory } from "./AcpNativeLogging.ts";
const nodeServicesIt = it.layer(NodeServices.layer);
const encodeUnknownJson = Schema.encodeUnknownSync(Schema.UnknownFromJsonString);
const encodeUnknownJson = Schema.encodeUnknownSync(Schema.fromJsonString(Schema.Unknown));
nodeServicesIt("ACP native logging", (it) => {
it.effect("records bounded request and protocol diagnostics without raw payloads", () =>
@@ -107,6 +107,25 @@ describe("CursorAcpExtension", () => {
});
});
it("falls back to the title when content is present but blank", () => {
expect(
extractTodosAsPlan({
toolCallId: "todos-2",
todos: [
{ id: "1", content: "", title: "Titled step", status: "pending" },
{ id: "2", content: " ", title: "Whitespace content", status: "in_progress" },
{ id: "3", content: "", title: "", status: "pending" },
],
merge: true,
}),
).toEqual({
plan: [
{ step: "Titled step", status: "pending" },
{ step: "Whitespace content", status: "inProgress" },
],
});
});
it("decodes Cursor list_available_models responses with per-model config options", () => {
const decoded = CursorListAvailableModelsResponse.make({
models: [
@@ -94,7 +94,10 @@ export function extractTodosAsPlan(params: typeof CursorUpdateTodosRequest.Type)
}>;
} {
const plan = params.todos.flatMap((todo) => {
const step = todo.content?.trim() ?? todo.title?.trim() ?? "";
// Fall back to the title when content is missing OR blank. `??` only
// covers a missing content, so a present-but-empty content ("" or
// whitespace) would shadow a real title and drop the step below.
const step = todo.content?.trim() || todo.title?.trim() || "";
if (step === "") {
return [];
}
+1 -1
View File
@@ -34,7 +34,7 @@ import { collectStreamAsString } from "./providerSnapshot.ts";
import * as NetService from "@t3tools/shared/Net";
import { HostProcessPlatform } from "@t3tools/shared/hostProcess";
import { resolveSpawnCommand } from "@t3tools/shared/shell";
const encodeUnknownJsonStringExit = Schema.encodeUnknownExit(Schema.UnknownFromJsonString);
const encodeUnknownJsonStringExit = Schema.encodeUnknownExit(Schema.fromJsonString(Schema.Unknown));
const OPENCODE_EMPTY_CONFIG_CONTENT = "{}";
const OPENCODE_SERVER_READY_PREFIX = "opencode server listening";
@@ -187,6 +187,7 @@ function makeRegistry(
const registry: ProviderRegistryShape = {
getProviders: Ref.get(providersRef),
listSkills: () => Effect.succeed([]),
refresh: () => Ref.get(providersRef),
refreshInstance: () => Ref.get(providersRef),
getProviderMaintenanceCapabilitiesForInstance: (_instanceId, provider) =>
@@ -9,6 +9,7 @@ export const makeProviderRegistryMock = (
providers: ReadonlyArray<ServerProvider> = [],
): ProviderRegistryShape => ({
getProviders: Effect.succeed(providers),
listSkills: () => Effect.succeed([]),
refresh: () => Effect.succeed(providers),
refreshInstance: () => Effect.succeed(providers),
getProviderMaintenanceCapabilitiesForInstance: (_instanceId, provider) =>
+102 -3
View File
@@ -73,7 +73,6 @@ const TEST_EPOCH = DateTime.makeUnsafe("1970-01-01T00:00:00.000Z");
import * as BackgroundPolicy from "./background/BackgroundPolicy.ts";
import * as ServerConfig from "./config.ts";
import * as HttpResponseCompression from "./httpCompression/HttpResponseCompression.ts";
import { makeRoutesLayer } from "./server.ts";
import { resolveAvailableEditorsForConfig } from "./ws.ts";
import * as CheckpointDiffQuery from "./checkpointing/CheckpointDiffQuery.ts";
@@ -892,7 +891,6 @@ const buildAppUnderTest = (options?: {
Layer.provideMerge(ServerSecretStore.layer),
Layer.provide(workspaceAndProjectServicesLayer),
Layer.provideMerge(FetchHttpClient.layer),
Layer.provide(HttpResponseCompression.layerNode),
Layer.provide(layerConfig),
);
@@ -3221,6 +3219,28 @@ it.layer(NodeServices.layer)("server router seam", (it) => {
}).pipe(Effect.provide(NodeHttpServer.layerTest)),
);
// Mirrors NodeHttpServer.layerTest, which does not expose server options,
// with the production `websocket: { perMessageDeflate: true }` setting.
const NodeHttpServerTestWithWsDeflate = HttpServer.layerTestClient.pipe(
Layer.provide(
Layer.fresh(FetchHttpClient.layer).pipe(
Layer.provide(Layer.succeed(FetchHttpClient.RequestInit)({ keepalive: false })),
),
),
Layer.provideMerge(
Layer.unwrap(
Effect.map(
Effect.promise(() => import("node:http")),
(NodeHttp) =>
NodeHttpServer.layer(NodeHttp.createServer, {
port: 0,
websocket: { perMessageDeflate: true },
}),
),
),
),
);
it.effect("negotiates permessage-deflate with clients that offer it", () =>
Effect.gen(function* () {
yield* buildAppUnderTest();
@@ -3246,7 +3266,7 @@ it.layer(NodeServices.layer)("server router seam", (it) => {
const plain = yield* openSocket(false);
assert.notInclude(plain.extensions, "permessage-deflate");
}).pipe(Effect.scoped, Effect.provide(NodeHttpServer.layerTest)),
}).pipe(Effect.scoped, Effect.provide(NodeHttpServerTestWithWsDeflate)),
);
it.effect("issues short-lived websocket tickets for authenticated bearer sessions", () =>
@@ -4322,6 +4342,85 @@ it.layer(NodeServices.layer)("server router seam", (it) => {
}).pipe(Effect.provide(NodeHttpServer.layerTest)),
);
it.effect("routes websocket rpc server.listProviderSkills with the active workspace cwd", () =>
Effect.gen(function* () {
const instanceId = ProviderInstanceId.make("codex_work");
const projectId = ProjectId.make("project-skills");
const threadId = ThreadId.make("thread-skills");
const skills = [
{
name: "project-review",
path: "/tmp/project-worktree/.agents/skills/project-review/SKILL.md",
scope: "repo",
enabled: true,
},
] as const;
const receivedInputs: Array<{
readonly instanceId: ProviderInstanceId;
readonly cwd: string;
}> = [];
yield* buildAppUnderTest({
layers: {
providerRegistry: {
listSkills: (input) =>
Effect.sync(() => {
receivedInputs.push(input);
return skills;
}),
},
projectionSnapshotQuery: {
getProjectShellById: (requestedProjectId) =>
Effect.succeed(
Option.some({
...makeDefaultOrchestrationReadModel().projects[0]!,
id: requestedProjectId,
workspaceRoot: "/tmp/project",
}),
),
getThreadShellById: (requestedThreadId) =>
Effect.succeed(
Option.some(
makeDefaultOrchestrationThreadShell({
id: requestedThreadId,
projectId,
worktreePath: "/tmp/project-worktree",
}),
),
),
},
},
});
const wsUrl = yield* getWsServerUrl("/ws");
const responses = yield* Effect.scoped(
withWsRpcClient(wsUrl, (client) =>
Effect.gen(function* () {
const projectResponse = yield* client[WS_METHODS.serverListProviderSkills]({
instanceId,
projectId,
});
const threadResponse = yield* client[WS_METHODS.serverListProviderSkills]({
instanceId,
projectId,
threadId,
});
return [projectResponse, threadResponse] as const;
}),
),
);
assert.deepEqual(receivedInputs, [
{ instanceId, cwd: "/tmp/project" },
{ instanceId, cwd: "/tmp/project-worktree" },
]);
assert.deepEqual(
responses.map((response) => response.skills),
[skills, skills],
);
}).pipe(Effect.provide(NodeHttpServer.layerTest)),
);
it.effect("routes websocket rpc server.removeKeybinding", () =>
Effect.gen(function* () {
const rule: KeybindingRule = {
+21 -5
View File
@@ -10,7 +10,6 @@ import * as HttpApiBuilder from "effect/unstable/httpapi/HttpApiBuilder";
import * as BackgroundPolicy from "./background/BackgroundPolicy.ts";
import * as HostPowerMonitor from "./background/HostPowerMonitor.ts";
import * as ServerConfig from "./config.ts";
import * as HttpResponseCompression from "./httpCompression/HttpResponseCompression.ts";
import {
otlpTracesProxyRouteLayer,
assetRouteLayer,
@@ -182,6 +181,20 @@ const HttpServerLive = Layer.unwrap(
port: config.port,
hostname: config.host ?? "127.0.0.1",
gracefulShutdownTimeout: HTTP_PREEMPTIVE_SHUTDOWN_GRACE_MS,
websocket: {
// Negotiate permessage-deflate with clients that offer it; clients
// that don't still get uncompressed frames on their connection. A
// dedicated compressor keeps a per-connection sliding window
// (context takeover) so the compression dictionary is shared across
// server-to-client frames. Decompression uses the shared
// decompressor: uWebSockets' dedicated decompressor path can abort
// connections (close 1006) on valid DEFLATE input — see
// https://github.com/uNetworking/uWebSockets.js/issues/633.
perMessageDeflate: {
compress: "dedicated",
decompress: "shared",
},
},
});
} else {
const [NodeHttpServer, NodeHttp] = yield* Effect.all([
@@ -192,14 +205,18 @@ const HttpServerLive = Layer.unwrap(
host: config.host ?? "127.0.0.1",
port: config.port,
gracefulShutdownTimeout: HTTP_PREEMPTIVE_SHUTDOWN_GRACE_MS,
// Negotiate permessage-deflate with clients that offer it; clients
// that don't still get uncompressed frames on their connection.
// Context takeover stays enabled (ws default) so the compression
// window is shared across frames — that also makes small frames cheap
// to compress, so no size threshold is set (ws only honors
// `threshold` when context takeover is disabled).
websocket: { perMessageDeflate: true },
});
}
}),
);
const HttpResponseCompressionLive =
typeof Bun !== "undefined" ? HttpResponseCompression.layerBun : HttpResponseCompression.layerNode;
const PlatformServicesLive = Layer.unwrap(
Effect.gen(function* () {
if (typeof Bun !== "undefined") {
@@ -622,7 +639,6 @@ export const makeServerLayer = Layer.unwrap(
Layer.provideMerge(runtimeServicesLive),
Layer.provide(activationLayer),
Layer.provideMerge(serverRelayBrokerTracingLayer),
Layer.provideMerge(HttpResponseCompressionLive),
Layer.provideMerge(HttpServerLive),
Layer.provide(ApplicationObservabilityLive),
Layer.provideMerge(FetchHttpClient.layer),
+55
View File
@@ -991,6 +991,61 @@ it.layer(
}),
);
it.effect("strips replayable CSI and DCS traffic while preserving setters", () =>
Effect.gen(function* () {
const { manager, ptyAdapter } = yield* createManager();
yield* manager.open(openInput());
const process = ptyAdapter.processes[0];
expect(process).toBeDefined();
if (!process) return;
process.emitData("prompt ");
// DECRQM/DECRPM, XTVERSION, and kitty-keyboard CSI query/reply traffic.
process.emitData("\u001b[?2026$p\u001b[?2026;2$y\u001b[>q\u001b[?u\u001b[?31u");
// DECRQSS and XTGETTCAP query/reply traffic in 7-bit DCS form.
process.emitData("\u001bP$q m\u001b\\\u001bP1$r0m\u001b\\");
process.emitData("\u001bP+q544e\u001b\\\u001bP1+r544e=1b\u001b\\");
// The same DCS traffic in 8-bit form.
process.emitData("\u0090$q m\u009c\u00901$r0m\u009c");
process.emitData("\u0090+q544e\u009c\u00901+r544e=1b\u009c");
// Setters and cursor movement share final bytes with query families but
// have visible terminal-state value and must survive replay.
process.emitData('\u001b[!p\u001b["p\u001b[4 q\u001b[u');
process.emitData("done\n");
yield* manager.close({ threadId: "thread-1" });
const reopened = yield* manager.open(openInput());
assert.equal(reopened.history, 'prompt \u001b[!p\u001b["p\u001b[4 q\u001b[udone\n');
}),
);
it.effect("handles CSI and DCS query sequences split across output chunks", () =>
Effect.gen(function* () {
const { manager, ptyAdapter } = yield* createManager();
yield* manager.open(openInput());
const process = ptyAdapter.processes[0];
expect(process).toBeDefined();
if (!process) return;
process.emitData("before ");
process.emitData("\u001b[?2026$");
process.emitData("pafter ");
process.emitData("\u001bP$q ");
process.emitData("m\u001b");
process.emitData("\\after ");
process.emitData("\u009b?3");
process.emitData("1uafter ");
process.emitData("\u0090+q544e");
process.emitData("\u009cafter\n");
yield* manager.close({ threadId: "thread-1" });
const reopened = yield* manager.open(openInput());
assert.equal(reopened.history, "before after after after after\n");
}),
);
it.effect(
"preserves clear and style control sequences while dropping chunk-split query traffic",
() =>
+30 -2
View File
@@ -878,9 +878,31 @@ function shouldStripCsiSequence(body: string, finalByte: string): boolean {
if (finalByte === "c" && /^[>0-9;?]*$/.test(body)) {
return true;
}
// DECRQM mode queries (…$p) and DECRPM replies (…$y): replaying a stored
// query makes the terminal answer again, and the shell echoes the answer as
// junk at the prompt. The `$` guard keeps setters like DECSTR (!p) and
// DECSCL ("p) intact.
if ((finalByte === "p" || finalByte === "y") && /^[0-9;?]*\$$/.test(body)) {
return true;
}
// XTVERSION query (>q). DECSCUSR (space-intermediate q) stays.
if (finalByte === "q" && /^>[0-9;]*$/.test(body)) {
return true;
}
// Kitty keyboard protocol query/reply (?u). Restore-cursor (bare u) stays.
if (finalByte === "u" && body.startsWith("?")) {
return true;
}
return false;
}
// DECRQSS ($q) and XTGETTCAP (+q) queries plus their replies ([01]$r / [01]+r):
// pure request/response traffic with no visual value, and replaying a stored
// query triggers a fresh reply.
function shouldStripDcsSequence(content: string): boolean {
return /^[01]?[$+][qr]/.test(content);
}
function shouldStripOscSequence(content: string): boolean {
return /^(10|11|12);(?:\?|rgb:)/.test(content);
}
@@ -981,7 +1003,10 @@ function sanitizeTerminalHistoryChunk(
}
const sequence = input.slice(index, terminatorIndex);
const content = stripStringTerminator(input.slice(index + 2, terminatorIndex));
if (nextCodePoint !== 0x5d || !shouldStripOscSequence(content)) {
const strip =
(nextCodePoint === 0x5d && shouldStripOscSequence(content)) ||
(nextCodePoint === 0x50 && shouldStripDcsSequence(content));
if (!strip) {
append(sequence);
}
index = terminatorIndex;
@@ -1024,7 +1049,10 @@ function sanitizeTerminalHistoryChunk(
}
const sequence = input.slice(index, terminatorIndex);
const content = stripStringTerminator(input.slice(index + 1, terminatorIndex));
if (codePoint !== 0x9d || !shouldStripOscSequence(content)) {
const strip =
(codePoint === 0x9d && shouldStripOscSequence(content)) ||
(codePoint === 0x90 && shouldStripDcsSequence(content));
if (!strip) {
append(sequence);
}
index = terminatorIndex;
@@ -55,7 +55,7 @@ const ClaudeOutputEnvelope = Schema.Struct({
structured_output: Schema.Unknown,
});
const encodeJsonString = Schema.encodeEffect(Schema.UnknownFromJsonString);
const encodeJsonString = Schema.encodeEffect(Schema.fromJsonString(Schema.Unknown));
const decodeClaudeOutputEnvelope = Schema.decodeEffect(Schema.fromJsonString(ClaudeOutputEnvelope));
export const makeClaudeTextGeneration = Effect.fn("makeClaudeTextGeneration")(function* (
@@ -35,7 +35,7 @@ import { getCodexServiceTierOptionValue } from "../codexModelOptions.ts";
const CODEX_GIT_TEXT_GENERATION_REASONING_EFFORT = "low";
const CODEX_TIMEOUT_MS = 180_000;
const encodeJsonString = Schema.encodeEffect(Schema.UnknownFromJsonString);
const encodeJsonString = Schema.encodeEffect(Schema.fromJsonString(Schema.Unknown));
/**
* Build a Codex text-generation closure bound to a specific `CodexSettings`
* payload. See `makeCodexAdapter` for the overall per-instance rationale.
+30
View File
@@ -1389,6 +1389,36 @@ const makeWsRpcLayer = (
).pipe(Effect.map((providers) => ({ providers }))),
{ "rpc.aggregate": "server" },
),
[WS_METHODS.serverListProviderSkills]: (input) =>
observeRpcEffect(
WS_METHODS.serverListProviderSkills,
Effect.gen(function* () {
const project = yield* projectionSnapshotQuery
.getProjectShellById(input.projectId)
.pipe(Effect.orElseSucceed(() => Option.none()));
if (Option.isNone(project)) {
return { skills: [] };
}
let cwd = project.value.workspaceRoot;
if (input.threadId !== undefined) {
const thread = yield* projectionSnapshotQuery
.getThreadShellById(input.threadId)
.pipe(Effect.orElseSucceed(() => Option.none()));
if (Option.isNone(thread) || thread.value.projectId !== input.projectId) {
return { skills: [] };
}
cwd = thread.value.worktreePath ?? cwd;
}
const skills = yield* providerRegistry.listSkills({
instanceId: input.instanceId,
cwd,
});
return { skills };
}),
{ "rpc.aggregate": "server" },
),
[WS_METHODS.serverUpdateProvider]: (input) =>
observeRpcEffect(
WS_METHODS.serverUpdateProvider,
+4 -4
View File
@@ -7,14 +7,14 @@
content="width=device-width, initial-scale=1.0, viewport-fit=cover, interactive-widget=resizes-content"
/>
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#161616" media="(prefers-color-scheme: dark)" />
<meta name="theme-color" content="#161616" />
<meta name="theme-color" content="#0a0a0a" media="(prefers-color-scheme: dark)" />
<meta name="theme-color" content="#0a0a0a" />
<link rel="icon" href="/favicon.ico" sizes="48x48" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<script>
(() => {
const LIGHT_BACKGROUND = "#ffffff";
const DARK_BACKGROUND = "#161616";
const DARK_BACKGROUND = "#0a0a0a";
const themeColorMeta = document.querySelector('meta[name="theme-color"]');
try {
const storedTheme = window.localStorage.getItem("t3code:theme");
@@ -58,7 +58,7 @@
}
html.dark body {
background: #161616;
background: #0a0a0a;
color: #f5f5f5;
}
+2 -2
View File
@@ -594,7 +594,7 @@ function MarkdownCodeBlock({
return (
<div
className="chat-markdown-codeblock leading-snug"
className="chat-markdown-codeblock border border-border/70 bg-secondary leading-snug dark:border-transparent dark:bg-input/32"
data-language={language}
data-wrap={wrapped ? "true" : "false"}
>
@@ -606,7 +606,7 @@ function MarkdownCodeBlock({
theme={theme}
/>
</span>
<span className="flex items-center gap-0.5">
<span className="flex items-center gap-0.5" role="toolbar" aria-label="Code block actions">
<Tooltip>
<TooltipTrigger
render={
+6
View File
@@ -171,6 +171,7 @@ import { useNowMinute } from "../hooks/useNowMinute";
import { useNewThreadHandler } from "../hooks/useHandleNewThread";
import { resolveAppModelSelectionForInstance } from "../modelSelection";
import { getTerminalFocusOwner } from "../lib/terminalFocus";
import { preventRepeatedTerminalCloseShortcut } from "../lib/terminalCloseShortcut";
import { resolveNewDraftStartFromOrigin } from "../lib/chatThreadActions";
import {
deriveLogicalProjectKeyFromSettings,
@@ -4354,6 +4355,10 @@ function ChatViewContent(props: ChatViewProps) {
useEffect(() => {
const handler = (event: globalThis.KeyboardEvent) => {
if (preventRepeatedTerminalCloseShortcut(event, keybindings)) {
event.stopPropagation();
return;
}
if (!activeThreadId || isCommandPaletteOpen()) {
return;
}
@@ -5916,6 +5921,7 @@ function ChatViewContent(props: ChatViewProps) {
routeKind={routeKind}
routeThreadRef={routeThreadRef}
draftId={draftId}
activeProjectId={activeProject?.id ?? null}
activeThreadId={activeThreadId}
activeThreadEnvironmentId={activeThread?.environmentId}
activeThread={activeThread}
@@ -43,7 +43,6 @@ import { isTerminalLinkActivation, resolvePathLinkTarget } from "../terminal-lin
import {
isDiffToggleShortcut,
isTerminalClearShortcut,
isTerminalCloseShortcut,
isTerminalNewShortcut,
isTerminalSplitShortcut,
isTerminalSplitVerticalShortcut,
@@ -63,6 +62,7 @@ import { previewEnvironment } from "../state/preview";
import { terminalEnvironment } from "../state/terminal";
import { openTerminalLinkInPreview } from "./preview/openTerminalLinkInPreview";
import { useAtomCommand } from "../state/use-atom-command";
import { preventTerminalCloseShortcut } from "../lib/terminalCloseShortcut";
const MIN_DRAWER_HEIGHT = 180;
const MAX_DRAWER_HEIGHT_RATIO = 0.75;
@@ -527,12 +527,14 @@ export function TerminalViewport({
function handleBeforeKey(event: KeyboardEvent): boolean {
const currentKeybindings = keybindingsRef.current;
const options = { context: { terminalFocus: true, terminalOpen: true } };
if (preventTerminalCloseShortcut(event, currentKeybindings)) {
return false;
}
if (
isTerminalToggleShortcut(event, currentKeybindings, options) ||
isTerminalSplitShortcut(event, currentKeybindings, options) ||
isTerminalSplitVerticalShortcut(event, currentKeybindings, options) ||
isTerminalNewShortcut(event, currentKeybindings, options) ||
isTerminalCloseShortcut(event, currentKeybindings, options) ||
isDiffToggleShortcut(event, currentKeybindings, options)
) {
return false;
+54 -18
View File
@@ -3,12 +3,14 @@ import type {
EnvironmentId,
ModelSelection,
PreviewAnnotationPayload,
ProjectId,
ProviderApprovalDecision,
ProviderInteractionMode,
ResolvedKeybindingsConfig,
RuntimeMode,
ScopedThreadRef,
ServerProvider,
ServerProviderSkill,
ThreadId,
TurnId,
} from "@t3tools/contracts";
@@ -76,6 +78,7 @@ import {
removeInlineTerminalContextPlaceholder,
} from "../../lib/terminalContext";
import { useComposerPathSearch } from "../../lib/composerPathSearchState";
import { useProviderSkills } from "../../state/queries";
import { type ElementContextDraft } from "../../lib/elementContext";
import { ComposerPendingElementContexts } from "./ComposerPendingElementContexts";
import { ComposerPendingReviewComments } from "./ComposerPendingReviewComments";
@@ -514,6 +517,7 @@ export interface ChatComposerProps {
draftId: DraftId | null;
// Thread context
activeProjectId: ProjectId | null;
activeThreadId: ThreadId | null;
activeThreadEnvironmentId: EnvironmentId | undefined;
activeThread: Thread | undefined;
@@ -628,10 +632,11 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
routeKind,
routeThreadRef,
draftId,
activeProjectId,
activeThreadId,
activeThreadEnvironmentId: _activeThreadEnvironmentId,
activeThread,
isServerThread: _isServerThread,
isServerThread,
isLocalDraftThread: _isLocalDraftThread,
forceExpandedOnMobile,
projectSelectionRequired,
@@ -875,7 +880,6 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
() => selectedProviderEntry?.models ?? [],
[selectedProviderEntry],
);
const composerPromptInjectionState = useMemo(
() => getComposerPromptInjectionState(prompt),
[prompt],
@@ -1047,6 +1051,33 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
cwd: isPathTrigger ? gitCwd : null,
query: isPathTrigger ? pathTriggerQuery : null,
});
const providerSkillsThreadId = isServerThread ? activeThreadId : null;
const providerSkills = useProviderSkills({
environmentId,
instanceId: selectedInstanceId,
projectId: activeProjectId,
threadId: providerSkillsThreadId,
enabled: composerTriggerKind === "skill",
});
const providerSkillsTargetKey = `${environmentId}\0${selectedInstanceId}\0${activeProjectId ?? ""}\0${providerSkillsThreadId ?? ""}`;
const [cachedProviderSkills, setCachedProviderSkills] = useState<{
readonly targetKey: string;
readonly skills: ReadonlyArray<ServerProviderSkill>;
} | null>(null);
useEffect(() => {
if (providerSkills.data) {
setCachedProviderSkills({
targetKey: providerSkillsTargetKey,
skills: providerSkills.data.skills,
});
}
}, [providerSkills.data, providerSkillsTargetKey]);
const selectedProviderSkills =
providerSkills.data?.skills ??
(cachedProviderSkills?.targetKey === providerSkillsTargetKey
? cachedProviderSkills.skills
: selectedProviderStatus?.skills.filter((skill) => skill.scope !== "repo")) ??
[];
const composerMenuItems = useMemo<ComposerCommandItem[]>(() => {
if (!composerTrigger) return [];
@@ -1102,22 +1133,26 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
return searchSlashCommandItems(slashCommandItems, query);
}
if (composerTrigger.kind === "skill") {
return searchProviderSkills(selectedProviderStatus?.skills ?? [], composerTrigger.query).map(
(skill) => ({
id: `skill:${selectedProvider}:${skill.name}`,
type: "skill" as const,
provider: selectedProvider,
skill,
label: formatProviderSkillDisplayName(skill),
description:
skill.shortDescription ??
skill.description ??
(skill.scope ? `${skill.scope} skill` : "Run provider skill"),
}),
);
return searchProviderSkills(selectedProviderSkills, composerTrigger.query).map((skill) => ({
id: `skill:${selectedProvider}:${skill.name}`,
type: "skill" as const,
provider: selectedProvider,
skill,
label: formatProviderSkillDisplayName(skill),
description:
skill.shortDescription ??
skill.description ??
(skill.scope ? `${skill.scope} skill` : "Run provider skill"),
}));
}
return [];
}, [composerTrigger, selectedProvider, selectedProviderStatus, workspaceEntries.entries]);
}, [
composerTrigger,
selectedProvider,
selectedProviderSkills,
selectedProviderStatus,
workspaceEntries.entries,
]);
const composerMenuOpen = Boolean(composerTrigger);
const composerMenuSearchKey = composerTrigger
@@ -1182,7 +1217,8 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
]);
const isComposerMenuLoading =
composerTriggerKind === "path" && pathTriggerQuery.length > 0 && workspaceEntries.isPending;
(composerTriggerKind === "path" && pathTriggerQuery.length > 0 && workspaceEntries.isPending) ||
(composerTriggerKind === "skill" && providerSkills.isPending && composerMenuItems.length === 0);
const composerMenuEmptyState = useMemo(() => {
if (composerTriggerKind === "skill") {
return "No skills found. Try / to browse provider commands.";
@@ -3048,7 +3084,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
? composerTerminalContexts
: []
}
skills={selectedProviderStatus?.skills ?? []}
skills={selectedProviderSkills}
{...(showMobilePendingAnswerActions ? { className: "max-sm:pb-11" } : {})}
onRemoveTerminalContext={removeComposerTerminalContextFromDraft}
onChange={onPromptChange}
@@ -0,0 +1,23 @@
import { renderToStaticMarkup } from "react-dom/server";
import { describe, expect, it } from "vite-plus/test";
import { ThreadErrorBanner } from "./ThreadErrorBanner";
describe("ThreadErrorBanner", () => {
it("aligns the warning and dismiss icons with the first line of a multi-line error", () => {
const markup = renderToStaticMarkup(
<ThreadErrorBanner
error={"The first error line\ncontinues on a second line"}
onDismiss={() => {}}
/>,
);
expect(markup).toContain('role="alert"');
expect(markup).toContain('aria-label="Dismiss error"');
expect(markup).not.toContain("controlAlignment");
expect(markup).toContain("flex gap-2 items-start");
expect(markup).toContain("min-h-7 pt-1 sm:min-h-6 sm:pt-0.5");
expect(markup).toContain("h-lh w-4");
expect(markup).toContain("h-lh self-start");
});
});
@@ -14,7 +14,7 @@ export const ThreadErrorBanner = memo(function ThreadErrorBanner({
if (!error) return null;
return (
<div className="mx-auto w-fit max-w-[min(48rem,calc(100%-2rem))] pt-3">
<Alert variant="error">
<Alert variant="error" controlAlignment="first-line">
<CircleAlertIcon />
<AlertDescription>
<Tooltip>
+30 -4
View File
@@ -42,9 +42,13 @@ function alertChildSlot(child: React.ReactElement): string | undefined {
function Alert({
className,
variant,
controlAlignment = "center",
children,
...props
}: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>) {
}: React.ComponentProps<"div"> &
VariantProps<typeof alertVariants> & {
controlAlignment?: "center" | "first-line";
}) {
const icon: React.ReactNode[] = [];
const content: React.ReactNode[] = [];
const action: React.ReactNode[] = [];
@@ -71,9 +75,24 @@ function Alert({
role="alert"
{...props}
>
<div className="flex items-center gap-2">
<div
className={cn(
"flex gap-2",
controlAlignment === "first-line" ? "items-start" : "items-center",
controlAlignment === "first-line" &&
action.length > 0 &&
"min-h-7 pt-1 sm:min-h-6 sm:pt-0.5",
)}
>
{icon.length > 0 && (
<div className="flex size-4 shrink-0 items-center justify-center [&>svg]:size-full">
<div
className={cn(
"flex shrink-0 items-center justify-center",
controlAlignment === "first-line"
? "h-lh w-4 [&>svg]:size-4"
: "size-4 [&>svg]:size-full",
)}
>
{icon}
</div>
)}
@@ -81,7 +100,14 @@ function Alert({
<div className="flex min-w-0 flex-1 flex-col gap-0.5">{content}</div>
)}
{action.length > 0 && (
<div className="flex shrink-0 items-center self-center">{action}</div>
<div
className={cn(
"flex shrink-0 items-center",
controlAlignment === "first-line" ? "h-lh self-start" : "self-center",
)}
>
{action}
</div>
)}
</div>
</div>
+1 -1
View File
@@ -33,7 +33,7 @@ function TooltipPopup({
<TooltipPrimitive.Positioner
align={align}
anchor={anchor}
className="pointer-events-none z-50 h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom,transform] data-instant:transition-none"
className="pointer-events-none z-70 h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom,transform] data-instant:transition-none"
data-slot="tooltip-positioner"
side={side}
sideOffset={sideOffset}
+4 -8
View File
@@ -1415,9 +1415,7 @@ label:has(> select#reasoning-effort) select {
.chat-markdown .chat-markdown-codeblock {
margin: 0.65rem 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 0.75rem;
background: color-mix(in srgb, var(--muted) 78%, var(--background));
border-radius: var(--radius);
}
.chat-markdown .chat-markdown-codeblock-header {
@@ -1425,10 +1423,8 @@ label:has(> select#reasoning-effort) select {
align-items: center;
justify-content: space-between;
gap: 0.5rem;
border-bottom: 1px solid var(--border);
background: var(--muted);
padding: 0.25rem 0.375rem 0.25rem 0.7rem;
color: var(--muted-foreground);
padding: 0.375rem 0.375rem 0 0.75rem;
color: color-mix(in srgb, var(--foreground) 72%, transparent);
}
.chat-markdown .chat-markdown-codeblock-title {
@@ -1441,7 +1437,7 @@ label:has(> select#reasoning-effort) select {
}
.chat-markdown .chat-markdown-chrome-action {
color: var(--muted-foreground);
color: color-mix(in srgb, var(--foreground) 72%, transparent);
}
.chat-markdown .chat-markdown-chrome-action:hover {
@@ -0,0 +1,93 @@
import { describe, expect, it } from "vite-plus/test";
import type { ResolvedKeybindingsConfig } from "@t3tools/contracts";
import {
preventRepeatedTerminalCloseShortcut,
preventTerminalCloseShortcut,
type TerminalCloseShortcutEvent,
} from "./terminalCloseShortcut";
const keybindings = [
{
command: "terminal.close",
shortcut: {
key: "w",
metaKey: false,
ctrlKey: false,
shiftKey: false,
altKey: false,
modKey: true,
},
whenAst: { type: "identifier", name: "terminalFocus" },
},
] satisfies ResolvedKeybindingsConfig;
type KeyboardEventOverrides = Partial<
Pick<
TerminalCloseShortcutEvent,
"key" | "code" | "metaKey" | "ctrlKey" | "shiftKey" | "altKey" | "repeat"
>
>;
function keyboardEvent(
overrides: KeyboardEventOverrides = {},
): TerminalCloseShortcutEvent & { readonly defaultPrevented: boolean } {
let defaultPrevented = false;
return {
key: "w",
code: "KeyW",
metaKey: false,
ctrlKey: true,
shiftKey: false,
altKey: false,
repeat: false,
...overrides,
preventDefault: () => {
defaultPrevented = true;
},
get defaultPrevented() {
return defaultPrevented;
},
};
}
describe("terminal close shortcut guards", () => {
it("prevents the browser default for a deliberate terminal close", () => {
const event = keyboardEvent();
expect(preventTerminalCloseShortcut(event, keybindings, "Linux x86_64")).toBe(true);
expect(event.defaultPrevented).toBe(true);
});
it("keeps held close repeats from closing the browser after the last terminal unmounts", () => {
const firstPress = keyboardEvent();
expect(preventTerminalCloseShortcut(firstPress, keybindings, "Linux x86_64")).toBe(true);
let browserCloseCount = 0;
for (const repeat of [true, true, true]) {
const event = keyboardEvent({ repeat });
preventRepeatedTerminalCloseShortcut(event, keybindings, "Linux x86_64");
if (!event.defaultPrevented) browserCloseCount += 1;
}
expect(browserCloseCount).toBe(0);
expect(preventRepeatedTerminalCloseShortcut(keyboardEvent(), keybindings, "Linux x86_64")).toBe(
false,
);
});
it("leaves a non-repeated window close and unrelated repeats alone", () => {
const deliberateWindowClose = keyboardEvent({ repeat: false });
const unrelatedRepeat = keyboardEvent({ key: "q", code: "KeyQ", repeat: true });
expect(
preventRepeatedTerminalCloseShortcut(deliberateWindowClose, keybindings, "Linux x86_64"),
).toBe(false);
expect(deliberateWindowClose.defaultPrevented).toBe(false);
expect(preventRepeatedTerminalCloseShortcut(unrelatedRepeat, keybindings, "Linux x86_64")).toBe(
false,
);
expect(unrelatedRepeat.defaultPrevented).toBe(false);
});
});
+36
View File
@@ -0,0 +1,36 @@
import type { ResolvedKeybindingsConfig } from "@t3tools/contracts";
import { isTerminalCloseShortcut, type ShortcutEventLike } from "../keybindings";
export interface TerminalCloseShortcutEvent extends ShortcutEventLike {
readonly repeat?: boolean;
readonly preventDefault: () => void;
}
function terminalCloseShortcutOptions(platform?: string) {
return {
...(platform === undefined ? {} : { platform }),
context: { terminalFocus: true, terminalOpen: true },
};
}
export function preventTerminalCloseShortcut(
event: TerminalCloseShortcutEvent,
keybindings: ResolvedKeybindingsConfig,
platform?: string,
): boolean {
if (!isTerminalCloseShortcut(event, keybindings, terminalCloseShortcutOptions(platform))) {
return false;
}
event.preventDefault();
return true;
}
export function preventRepeatedTerminalCloseShortcut(
event: TerminalCloseShortcutEvent,
keybindings: ResolvedKeybindingsConfig,
platform?: string,
): boolean {
if (!event.repeat) return false;
return preventTerminalCloseShortcut(event, keybindings, platform);
}
+27
View File
@@ -14,6 +14,8 @@ import type {
OrchestrationThread,
ProjectContentMatch,
ProjectEntryKind,
ProjectId,
ProviderInstanceId,
ThreadId,
VcsListRefsResult,
VcsRef,
@@ -28,6 +30,7 @@ import { orchestrationEnvironment } from "./orchestration";
import { isPaginatedBranchesNextPagePending } from "./paginatedBranches";
import { projectContentSearch, projectEnvironment } from "./projects";
import { useEnvironmentQuery } from "./query";
import { serverEnvironment } from "./server";
import { useEnvironmentThread } from "./threads";
import { vcsEnvironment } from "./vcs";
@@ -297,6 +300,30 @@ export function useComposerPathSearch(target: ComposerPathSearchTarget) {
return useProjectPathSearch(target, COMPOSER_PATH_SEARCH_LIMIT);
}
export function useProviderSkills(target: {
readonly environmentId: EnvironmentId | null;
readonly instanceId: ProviderInstanceId | null;
readonly projectId: ProjectId | null;
readonly threadId: ThreadId | null;
readonly enabled: boolean;
}) {
return useEnvironmentQuery(
target.enabled &&
target.environmentId !== null &&
target.instanceId !== null &&
target.projectId !== null
? serverEnvironment.providerSkills({
environmentId: target.environmentId,
input: {
instanceId: target.instanceId,
projectId: target.projectId,
...(target.threadId !== null ? { threadId: target.threadId } : {}),
},
})
: null,
);
}
interface ProjectContentSearchTarget {
readonly environmentId: EnvironmentId | null;
readonly cwd: string | null;
+18
View File
@@ -233,6 +233,7 @@ export class GhosttyTerminalCore {
this.runtime.free(options, optionsSize);
this.assertSuccess("ghostty_terminal_new", terminalResult);
this.terminal = this.runtime.readPointer(this.terminalSlot);
this.applyDefaultCursorBlink();
this.ptyWriter = onPtyData;
this.ptyWriterId = this.runtime.attachPtyWriter(this.terminal, onPtyData);
@@ -302,6 +303,9 @@ export class GhosttyTerminalCore {
resetAndWrite(data: string): void {
this.ensureActive();
this.runtime.call("ghostty_terminal_reset", this.terminal);
// RIS returns the cursor to Ghostty's built-in steady default, so the
// embedder default has to be applied again before the replay runs.
this.applyDefaultCursorBlink();
this.rows = [];
if (data.length === 0) return;
const writer = this.ptyWriter;
@@ -333,6 +337,20 @@ export class GhosttyTerminalCore {
);
}
/**
* Ghostty's built-in default cursor is steady, while the xterm.js renderer
* this replaced ran with `cursorBlink: true`. Option 23 is the embedder's
* default blink, which is the state a session starts in and returns to on
* DECSCUSR reset (CSI 0 q), so programs that ask for a specific cursor
* through DECSCUSR or DEC mode 12 still win.
*/
private applyDefaultCursorBlink(): void {
const blink = this.runtime.alloc(1);
this.runtime.bytes(blink, 1)[0] = 1;
this.runtime.call("ghostty_terminal_set", this.terminal, 23, blink);
this.runtime.free(blink, 1);
}
setTheme(theme: GhosttyTheme): void {
this.ensureActive();
const color = this.runtime.alloc(3);
@@ -120,6 +120,60 @@ describe("renderGhosttySnapshot", () => {
]);
});
it("repaints the cell without an overlay during the blink off phase", () => {
const fillTextCalls: unknown[][] = [];
const context = {
canvas: { width: 200, height: 40 },
beginPath: () => {},
clip: () => {},
fillRect: () => {},
fillText: (...args: unknown[]) => fillTextCalls.push(args),
rect: () => {},
resetTransform: () => {},
restore: () => {},
save: () => {},
set fillStyle(_value: string) {},
set font(_value: string) {},
set textBaseline(_value: string) {},
} as unknown as CanvasRenderingContext2D;
const snapshot: GhosttySnapshot = {
cols: 3,
rows: 1,
foreground: { r: 255, g: 255, b: 255 },
background: { r: 0, g: 0, b: 0 },
cursor: { r: 255, g: 255, b: 255 },
cursorX: 2,
cursorY: 0,
cursorVisible: true,
cursorBlinking: true,
cursorStyle: 1,
dirtyRows: new Set(),
rowData: [
{
cells: [cell("a"), cell("b"), cell("x")],
text: "abx",
isWrapContinuation: false,
wrapsToNext: false,
},
],
};
renderGhosttySnapshot({
context,
snapshot,
metrics: { width: 7.2, height: 16, baseline: 11 },
fontSize: 12,
fontFamily: "monospace",
padding: 4,
forceFull: false,
cursorOn: false,
});
// The cursor row still repaints so the block disappears, but the inverted
// glyph the on phase draws over the cell is gone.
expect(fillTextCalls).toEqual([["abx", 4, 15, 21.6]]);
});
it("repaints the previous cursor row after the cursor moves", () => {
const clearedRows: number[] = [];
const context = {
@@ -83,6 +83,79 @@ describe("vendored libghostty-vt WebAssembly", () => {
}
});
it("blinks the default cursor until a program asks for a steady one", async () => {
const result = await WebAssembly.instantiate(
decodeWasmDataUrl(wasmDataUrl).buffer as ArrayBuffer,
{ env: { log: () => {} } },
);
const instance = result instanceof WebAssembly.Instance ? result : result.instance;
const memory = instance.exports.memory as WebAssembly.Memory;
const call = (name: string, ...args: number[]) =>
(instance.exports[name] as WasmFunction)(...args);
const alloc = (size: number) => call("ghostty_wasm_alloc_u8_array", size);
const options = alloc(8);
const optionsView = new DataView(memory.buffer, options, 8);
optionsView.setUint16(0, 80, true);
optionsView.setUint16(2, 24, true);
const terminalSlot = call("ghostty_wasm_alloc_opaque");
expect(call("ghostty_terminal_new", 0, terminalSlot, options)).toBe(0);
const terminal = new DataView(memory.buffer).getUint32(terminalSlot, true);
const renderStateSlot = call("ghostty_wasm_alloc_opaque");
expect(call("ghostty_render_state_new", 0, renderStateSlot)).toBe(0);
const renderState = new DataView(memory.buffer).getUint32(renderStateSlot, true);
const scratch = alloc(4);
const blinking = () => {
expect(call("ghostty_render_state_update", renderState, terminal)).toBe(0);
expect(call("ghostty_render_state_get", renderState, 12, scratch)).toBe(0);
return new DataView(memory.buffer, scratch, 4).getUint8(0) !== 0;
};
const write = (data: string) => {
const bytes = new TextEncoder().encode(data);
const pointer = alloc(bytes.length);
new Uint8Array(memory.buffer, pointer, bytes.length).set(bytes);
call("ghostty_terminal_vt_write", terminal, pointer, bytes.length);
call("ghostty_wasm_free_u8_array", pointer, bytes.length);
};
const setDefaultCursorBlink = (blink: boolean) => {
const value = alloc(1);
new Uint8Array(memory.buffer, value, 1)[0] = blink ? 1 : 0;
expect(call("ghostty_terminal_set", terminal, 23, value)).toBe(0);
call("ghostty_wasm_free_u8_array", value, 1);
};
// Ghostty's own default is a steady cursor, so the blink the web terminal
// inherited from xterm.js only exists because option 23 asks for it.
expect(blinking()).toBe(false);
setDefaultCursorBlink(true);
expect(blinking()).toBe(true);
// Programs still own the cursor: DECSCUSR steady block and DEC mode 12 both
// stop the blink, and DECSCUSR reset returns to the embedder default.
write("\u001b[2 q");
expect(blinking()).toBe(false);
write("\u001b[0 q");
expect(blinking()).toBe(true);
write("\u001b[?12l");
expect(blinking()).toBe(false);
write("\u001b[?12h");
expect(blinking()).toBe(true);
// RIS restores Ghostty's built-in steady default rather than the embedder's,
// which is why the core reapplies the option around a session replay.
call("ghostty_terminal_reset", terminal);
expect(blinking()).toBe(false);
setDefaultCursorBlink(true);
expect(blinking()).toBe(true);
call("ghostty_wasm_free_u8_array", scratch, 4);
call("ghostty_render_state_free", renderState);
call("ghostty_wasm_free_opaque", renderStateSlot);
call("ghostty_terminal_free", terminal);
call("ghostty_wasm_free_opaque", terminalSlot);
call("ghostty_wasm_free_u8_array", options, 8);
});
it("reports and scrolls the viewport with Ghostty's scrollbar state", async () => {
const result = await WebAssembly.instantiate(
decodeWasmDataUrl(wasmDataUrl).buffer as ArrayBuffer,
@@ -11,6 +11,7 @@ import {
isTerminalCopyShortcut,
isTerminalLinkPointerGesture,
isTerminalPasteShortcut,
shouldBlinkTerminalCursor,
shouldReportTerminalMouse,
terminalScrollbarGeometry,
terminalScrollbarOffsetAtPointer,
@@ -54,6 +55,29 @@ describe("isTerminalAltGraphText", () => {
});
});
describe("shouldBlinkTerminalCursor", () => {
const blinking = {
focused: true,
cursorBlinking: true,
cursorVisible: true,
reducedMotion: false,
};
it("blinks a focused visible cursor the terminal asked to blink", () => {
expect(shouldBlinkTerminalCursor(blinking)).toBe(true);
});
it("holds the cursor steady when blinking would be unwanted", () => {
// Unfocused surfaces draw a steady hollow cursor, DECSCUSR steady styles and
// DEC mode 12 turn blinking off, a hidden cursor has nothing to toggle, and
// reduced-motion readers get no permanently animating element.
expect(shouldBlinkTerminalCursor({ ...blinking, focused: false })).toBe(false);
expect(shouldBlinkTerminalCursor({ ...blinking, cursorBlinking: false })).toBe(false);
expect(shouldBlinkTerminalCursor({ ...blinking, cursorVisible: false })).toBe(false);
expect(shouldBlinkTerminalCursor({ ...blinking, reducedMotion: true })).toBe(false);
});
});
describe("terminalLinkAtColumn", () => {
it("maps terminal cells to UTF-16 offsets after a wide emoji", () => {
const cells = [
+48 -4
View File
@@ -31,6 +31,8 @@ export const DEFAULT_TERMINAL_FONT_FAMILY =
'"SF Mono", "SFMono-Regular", "JetBrains Mono", ' + TERMINAL_GLYPH_FALLBACKS;
const CONTENT_PADDING = 4;
const MIN_SCROLLBAR_THUMB_HEIGHT = 18;
/** Half a blink cycle: the visible and hidden phases are equally long. */
const CURSOR_BLINK_INTERVAL_MS = 500;
/** Requested terminal font; omitted fields fall back to the defaults. */
export interface GhosttyTerminalFont {
@@ -71,6 +73,20 @@ export function terminalFontSize(size?: number): number {
return Math.max(MIN_TERMINAL_FONT_SIZE, Math.min(MAX_TERMINAL_FONT_SIZE, Math.round(size)));
}
/**
* Whether the cursor should keep toggling. An unfocused surface draws a steady
* hollow cursor instead of blinking, and a reduced-motion reader gets a steady
* cursor too rather than a permanently animating element.
*/
export function shouldBlinkTerminalCursor(state: {
readonly focused: boolean;
readonly cursorBlinking: boolean;
readonly cursorVisible: boolean;
readonly reducedMotion: boolean;
}): boolean {
return state.focused && state.cursorBlinking && state.cursorVisible && !state.reducedMotion;
}
/**
* Vertical origin of the grid inside the mount. While content is shorter than
* the viewport the grid sits at the top like a fresh terminal. Once scrollback
@@ -380,6 +396,9 @@ export class GhosttyTerminalSurface {
private pasteShortcutToken = 0;
private wheelRemainder = 0;
private dprMedia: MediaQueryList | null = null;
// Read live on every blink decision, and watched so that dropping the
// preference restarts a blink cycle that has no timer left to notice it.
private readonly reducedMotionMedia = window.matchMedia?.("(prefers-reduced-motion: reduce)");
private inputLeft = -1;
private inputTop = -1;
@@ -409,6 +428,7 @@ export class GhosttyTerminalSurface {
this.resizeObserver = new ResizeObserver(() => this.fit());
this.installEvents();
this.watchDevicePixelRatio();
this.reducedMotionMedia?.addEventListener("change", this.onReducedMotionChange);
document.fonts.addEventListener("loadingdone", this.onFontsLoaded);
this.resizeObserver.observe(mount);
}
@@ -494,6 +514,9 @@ export class GhosttyTerminalSurface {
resetAndWrite(data: string): void {
if (this.disposed) return;
this.core.resetAndWrite(data);
// A replayed session starts from the visible phase like any other write:
// reattaching mid-blink must not open on an invisible cursor.
this.cursorOn = true;
this.forceFullRender = true;
this.scrollbarDirty = true;
this.requestRender();
@@ -537,6 +560,14 @@ export class GhosttyTerminalSurface {
this.requestRender();
}
private readonly onReducedMotionChange = () => {
if (this.disposed) return;
// Nothing else wakes an idle steady cursor: the blink timer only reschedules
// from a render, and reduced motion is exactly the state that stopped it.
this.cursorOn = true;
this.requestRender();
};
private readonly onFontsLoaded = () => {
if (this.disposed) return;
// A face that finished loading after the initial measurement changes glyph
@@ -679,6 +710,7 @@ export class GhosttyTerminalSurface {
document.fonts.removeEventListener("loadingdone", this.onFontsLoaded);
this.dprMedia?.removeEventListener("change", this.onDevicePixelRatioChange);
this.dprMedia = null;
this.reducedMotionMedia?.removeEventListener("change", this.onReducedMotionChange);
if (this.selectionScrollTimer !== null) window.clearInterval(this.selectionScrollTimer);
if (this.resizeNotifyTimer !== null) {
window.clearTimeout(this.resizeNotifyTimer);
@@ -1249,7 +1281,9 @@ export class GhosttyTerminalSurface {
this.frame = 0;
}
this.snapshot = this.core.snapshot();
if (!this.snapshot.cursorBlinking) this.cursorOn = true;
// A cursor that is not blinking right now must be drawn, never caught in an
// off phase left behind by a blink that has since been turned off.
if (!this.blinkEnabled()) this.cursorOn = true;
// The origin only moves together with a forced full repaint: partial
// dirty-row redraws must never composite rows at a shifted origin over
// rows painted at the previous one. Bottom anchoring starts once
@@ -1299,13 +1333,23 @@ export class GhosttyTerminalSurface {
private scheduleCursorBlink(): void {
if (this.cursorTimer !== null) window.clearTimeout(this.cursorTimer);
this.cursorTimer = null;
// An unfocused surface shows a steady hollow cursor instead of blinking.
if (!this.focused || !this.snapshot?.cursorBlinking || !this.snapshot.cursorVisible) return;
if (!this.blinkEnabled()) return;
this.cursorTimer = window.setTimeout(() => {
this.cursorTimer = null;
this.cursorOn = !this.cursorOn;
this.requestRender();
}, 500);
}, CURSOR_BLINK_INTERVAL_MS);
}
private blinkEnabled(): boolean {
const snapshot = this.snapshot;
if (!snapshot) return false;
return shouldBlinkTerminalCursor({
focused: this.focused,
cursorBlinking: snapshot.cursorBlinking,
cursorVisible: snapshot.cursorVisible,
reducedMotion: this.reducedMotionMedia?.matches ?? false,
});
}
private positionInput(): void {
@@ -91,8 +91,8 @@ export class AgentActivityRows extends Context.Service<
}
>()("t3code-relay/agentActivity/AgentActivityRows") {}
const decodeJsonString = Schema.decodeEffect(Schema.UnknownFromJsonString);
const encodeJsonValue = Schema.encodeEffect(Schema.UnknownFromJsonString);
const decodeJsonString = Schema.decodeEffect(Schema.fromJsonString(Schema.Unknown));
const encodeJsonValue = Schema.encodeEffect(Schema.fromJsonString(Schema.Unknown));
const encodeRelayAgentActivityStateJson = Schema.encodeEffect(
Schema.fromJsonString(RelayAgentActivityStateSchema),
@@ -122,8 +122,8 @@ export class LiveActivities extends Context.Service<
}
>()("t3code-relay/agentActivity/LiveActivities") {}
const decodeJsonString = Schema.decodeEffect(Schema.UnknownFromJsonString);
const encodeJsonValue = Schema.encodeEffect(Schema.UnknownFromJsonString);
const decodeJsonString = Schema.decodeEffect(Schema.fromJsonString(Schema.Unknown));
const encodeJsonValue = Schema.encodeEffect(Schema.fromJsonString(Schema.Unknown));
const encodeRelayAgentActivityAggregateStateJson = Schema.encodeEffect(
Schema.fromJsonString(RelayAgentActivityAggregateStateSchema),
+2 -2
View File
@@ -21,11 +21,11 @@ interface ExportedRequest {
const otlpAttributeValue = (value: {
readonly stringValue?: string | null;
readonly boolValue?: boolean | null;
readonly intValue?: number | null;
readonly intValue?: string | number | null;
readonly doubleValue?: number | null;
}) => value.stringValue ?? value.boolValue ?? value.intValue ?? value.doubleValue;
const decodeJson = Schema.decodeUnknownEffect(Schema.UnknownFromJsonString);
const decodeJson = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
it.effect("exports schema error fields as span attributes", () =>
Effect.gen(function* () {
+5
View File
@@ -72,6 +72,11 @@ const webcryptoLayer = Layer.succeed(
);
const httpPlatformNotSupportedLayer = Layer.succeed(HttpPlatform.HttpPlatform, {
platform: "web",
compression: {
algorithms: new Set<HttpPlatform.CompressionAlgorithm>(),
compressResponse: (response) => Effect.succeed(response),
},
fileResponse: () => Effect.die("Relay API does not serve filesystem responses"),
fileWebResponse: () => Effect.die("Relay API does not serve file responses"),
});
+1 -1
View File
@@ -38,7 +38,7 @@ class OxlintFixtureExpectedFailure extends Data.TaggedError("OxlintFixtureExpect
}
}
const encodeOxlintConfig = Schema.encodeEffect(Schema.UnknownFromJsonString);
const encodeOxlintConfig = Schema.encodeEffect(Schema.fromJsonString(Schema.Unknown));
interface RuleHarness {
readonly run: (
@@ -138,9 +138,9 @@ const RpcRequest = Schema.TaggedStruct("Request", {
payload: Schema.Unknown,
tag: Schema.String,
});
const decodeJson = Schema.decodeUnknownSync(Schema.UnknownFromJsonString);
const decodeJson = Schema.decodeUnknownSync(Schema.fromJsonString(Schema.Unknown));
const decodeRpcRequest = Schema.decodeUnknownSync(RpcRequest);
const encodeJson = Schema.encodeUnknownSync(Schema.UnknownFromJsonString);
const encodeJson = Schema.encodeUnknownSync(Schema.fromJsonString(Schema.Unknown));
const encodeServerConfig = Schema.encodeSync(ServerConfig);
const ENCODED_SERVER_CONFIG = encodeServerConfig(SERVER_CONFIG);
const LEGACY_SERVER_CONFIG = {
@@ -683,6 +683,11 @@ export function createServerEnvironmentAtoms<R, E>(
tag: WS_METHODS.serverGetResourceTelemetryHistory,
staleTimeMs: 5_000,
}),
providerSkills: createEnvironmentRpcQueryAtomFamily(runtime, {
label: "environment-data:server:provider-skills",
tag: WS_METHODS.serverListProviderSkills,
staleTimeMs: 30_000,
}),
configProjection,
welcome: createEnvironmentRpcSubscriptionAtomFamily(runtime, {
label: "environment-data:server:welcome",
+1 -2
View File
@@ -1,5 +1,4 @@
import * as Effect from "effect/Effect";
import * as Option from "effect/Option";
import * as Schema from "effect/Schema";
import * as SchemaIssue from "effect/SchemaIssue";
import * as SchemaTransformation from "effect/SchemaTransformation";
@@ -1320,7 +1319,7 @@ export const TurnCountRange = Schema.Struct({
Schema.makeFilter(
(input) =>
input.fromTurnCount <= input.toTurnCount ||
new SchemaIssue.InvalidValue(Option.some(input.fromTurnCount), {
new SchemaIssue.InvalidValue({
message: "fromTurnCount must be less than or equal to toTurnCount",
}),
{ identifier: "OrchestrationTurnDiffRange" },
+10
View File
@@ -126,6 +126,8 @@ import {
ServerConfig,
ServerProviderUpdateError,
ServerProviderUpdateInput,
ServerProviderListSkillsInput,
ServerProviderListSkillsResult,
ServerLifecycleStreamEvent,
ServerRemoveKeybindingInput,
ServerRemoveKeybindingResult,
@@ -223,6 +225,7 @@ export const WS_METHODS = {
serverProbe: "server.probe",
serverGetConfig: "server.getConfig",
serverRefreshProviders: "server.refreshProviders",
serverListProviderSkills: "server.listProviderSkills",
serverUpdateProvider: "server.updateProvider",
serverUpdateServer: "server.updateServer",
serverUpdateServerWithProgress: "server.updateServerWithProgress",
@@ -301,6 +304,12 @@ export const WsServerRefreshProvidersRpc = Rpc.make(WS_METHODS.serverRefreshProv
error: EnvironmentAuthorizationError,
});
export const WsServerListProviderSkillsRpc = Rpc.make(WS_METHODS.serverListProviderSkills, {
payload: ServerProviderListSkillsInput,
success: ServerProviderListSkillsResult,
error: EnvironmentAuthorizationError,
});
export const WsServerUpdateProviderRpc = Rpc.make(WS_METHODS.serverUpdateProvider, {
payload: ServerProviderUpdateInput,
success: ServerProviderUpdatedPayload,
@@ -787,6 +796,7 @@ export const WsRpcGroup = RpcGroup.make(
WsServerProbeRpc,
WsServerGetConfigRpc,
WsServerRefreshProvidersRpc,
WsServerListProviderSkillsRpc,
WsServerUpdateProviderRpc,
WsServerUpdateServerRpc,
WsServerUpdateServerWithProgressRpc,
+36 -1
View File
@@ -1,12 +1,30 @@
import * as Schema from "effect/Schema";
import { describe, expect, it } from "vite-plus/test";
import { ServerConfig, ServerProvider, ServerUpsertKeybindingResult } from "./server.ts";
import {
ServerConfig,
ServerProvider,
ServerProviders,
ServerUpsertKeybindingResult,
} from "./server.ts";
const decodeServerProvider = Schema.decodeUnknownSync(ServerProvider);
const decodeServerProviders = Schema.decodeUnknownSync(ServerProviders);
const decodeUpsertKeybindingResult = Schema.decodeUnknownSync(ServerUpsertKeybindingResult);
const decodeAvailableEditors = Schema.decodeUnknownSync(ServerConfig.fields.availableEditors);
const baseProviderSnapshot = {
instanceId: "codex",
driver: "codex",
enabled: true,
installed: true,
version: "1.0.0",
status: "ready",
auth: { status: "authenticated" },
checkedAt: "2026-04-10T00:00:00.000Z",
models: [],
};
describe("ServerProvider", () => {
it("defaults capability arrays when decoding provider snapshots", () => {
const parsed = decodeServerProvider({
@@ -119,4 +137,21 @@ describe("server config forward compatibility", () => {
expect(parsed).toEqual(["zed", "vscode"]);
});
// A provider status this build has never seen (a new ServerProviderState,
// ServerProviderAuthStatus, etc. member) previously failed the whole
// `providers` array, taking every other provider down with it and, since
// `providers` sits inside `ServerConfig`, failing the whole config decode —
// an older client would drop its connection over one provider it can't
// render. Dropping just that element keeps every other provider working.
it("drops providers this build cannot decode instead of failing the whole array", () => {
const decodedBase = decodeServerProvider(baseProviderSnapshot);
const parsed = decodeServerProviders([
baseProviderSnapshot,
{ ...baseProviderSnapshot, instanceId: "future", status: "some-future-status" },
]);
expect(parsed).toEqual([decodedBase]);
});
});
+17 -1
View File
@@ -96,6 +96,18 @@ export const ServerProviderSkill = Schema.Struct({
});
export type ServerProviderSkill = typeof ServerProviderSkill.Type;
export const ServerProviderListSkillsInput = Schema.Struct({
instanceId: ProviderInstanceId,
projectId: ProjectId,
threadId: Schema.optional(ThreadId),
});
export type ServerProviderListSkillsInput = typeof ServerProviderListSkillsInput.Type;
export const ServerProviderListSkillsResult = Schema.Struct({
skills: Schema.Array(ServerProviderSkill),
});
export type ServerProviderListSkillsResult = typeof ServerProviderListSkillsResult.Type;
/**
* Availability of a configured provider instance from the runtime's POV.
*
@@ -197,7 +209,11 @@ export const ServerProvider = Schema.Struct({
});
export type ServerProvider = typeof ServerProvider.Type;
export const ServerProviders = Schema.Array(ServerProvider);
// Provider status kinds grow over time (ServerProviderState,
// ServerProviderAuthStatus, ServerProviderVersionAdvisoryStatus,
// ServerProviderUpdateStatus); an older client must not fail the whole config
// decode over one provider it cannot render.
export const ServerProviders = ForwardCompatibleArray(ServerProvider);
export type ServerProviders = typeof ServerProviders.Type;
/**
+1 -1
View File
@@ -10,7 +10,7 @@ import * as AcpError from "./errors.ts";
const decodeNestedNumberPayload = Schema.decodeUnknownEffect(
Schema.Struct({ profile: Schema.Struct({ token: Schema.Number }) }),
);
const encodeUnknownJson = Schema.encodeSync(Schema.UnknownFromJsonString);
const encodeUnknownJson = Schema.encodeSync(Schema.fromJsonString(Schema.Unknown));
describe("effect-acp errors", () => {
it.effect("retains RPC method and cause without deriving the message from the cause", () => {
+1 -1
View File
@@ -49,7 +49,7 @@ const decodeExtResponse = Schema.decodeEffect(Schema.fromJsonString(ExtResponse)
const decodeRequestPermissionResponse = Schema.decodeEffect(
Schema.fromJsonString(RequestPermissionResponse),
);
const encodeUnknownJsonString = Schema.encodeUnknownSync(Schema.UnknownFromJsonString);
const encodeUnknownJsonString = Schema.encodeUnknownSync(Schema.fromJsonString(Schema.Unknown));
const encoder = new TextEncoder();
const mockPeerPath = Effect.map(Effect.service(Path.Path), (path) =>
path.join(import.meta.dirname, "../test/fixtures/acp-mock-peer.ts"),
@@ -8,7 +8,7 @@ import * as Shared from "./shared.ts";
const decodeNestedNumberPayload = Schema.decodeUnknownEffect(
Schema.Struct({ profile: Schema.Struct({ token: Schema.Number }) }),
);
const encodeUnknownJson = Schema.encodeSync(Schema.UnknownFromJsonString);
const encodeUnknownJson = Schema.encodeSync(Schema.fromJsonString(Schema.Unknown));
it.effect("preserves schema decode diagnostics without deriving the message from the cause", () =>
Effect.gen(function* () {
@@ -13,13 +13,13 @@ import * as CodexProtocol from "./protocol.ts";
import * as CodexRpc from "./rpc.ts";
import * as CodexSchema from "./schema.ts";
import { makeInMemoryStdio } from "./_internal/stdio.ts";
const encodeUnknownJsonString = Schema.encodeUnknownSync(Schema.UnknownFromJsonString);
const encodeUnknownJsonString = Schema.encodeUnknownSync(Schema.fromJsonString(Schema.Unknown));
const encoder = new TextEncoder();
const encodeJsonl = (value: unknown) => encoder.encode(`${encodeUnknownJsonString(value)}\n`);
const decodeJson = Schema.decodeEffect(Schema.UnknownFromJsonString);
const decodeJson = Schema.decodeEffect(Schema.fromJsonString(Schema.Unknown));
const decodeAccountTokenUsageResponse = Schema.decodeUnknownEffect(
CodexRpc.CLIENT_REQUEST_RESPONSES["account/usage/read"],
);
@@ -91,8 +91,8 @@ function isIncomingResponse(value: unknown): value is typeof JsonRpcResponseEnve
return isJsonRpcResponseEnvelope(value);
}
const encodeJsonString = Schema.encodeUnknownEffect(Schema.UnknownFromJsonString);
const decodeJsonString = Schema.decodeUnknownEffect(Schema.UnknownFromJsonString);
const encodeJsonString = Schema.encodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
const decodeJsonString = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
const encodeWireMessage = (
message: Record<string, unknown>,
+1 -1
View File
@@ -175,7 +175,7 @@ export const formatSchemaError = (cause: Cause.Cause<Schema.SchemaError>) => {
*
* Mirrors `SchemaGetter.parseJson()` but strips JSONC syntax before parsing.
*/
const decodeJsonString = Schema.decodeEffect(Schema.UnknownFromJsonString);
const decodeJsonString = Schema.decodeEffect(Schema.fromJsonString(Schema.Unknown));
const parseLenientJsonGetter = SchemaGetter.onSome((input: string) => {
// Strip single-line comments - alternation preserves quoted strings.
+2 -5
View File
@@ -1,5 +1,4 @@
import * as Effect from "effect/Effect";
import * as Option from "effect/Option";
import * as Schema from "effect/Schema";
import * as SchemaGetter from "effect/SchemaGetter";
import * as SchemaIssue from "effect/SchemaIssue";
@@ -62,8 +61,7 @@ export function parseYaml<E extends string>(
return SchemaGetter.transformOrFail((input: E) =>
Effect.try({
try: () => parseYamlString(input, options) as unknown,
catch: (error) =>
new SchemaIssue.InvalidValue(Option.none(), { message: formatYamlParseError(error) }),
catch: (error) => new SchemaIssue.InvalidValue({ message: formatYamlParseError(error) }),
}),
);
}
@@ -97,8 +95,7 @@ export function stringifyYaml(
return SchemaGetter.transformOrFail((input: unknown) =>
Effect.try({
try: () => stringifyYamlValue(input, options),
catch: () =>
new SchemaIssue.InvalidValue(Option.none(), { message: "Failed to stringify YAML." }),
catch: () => new SchemaIssue.InvalidValue({ message: "Failed to stringify YAML." }),
}),
);
}
-50
View File
@@ -1,50 +0,0 @@
diff --git a/dist/BunHttpServer.js b/dist/BunHttpServer.js
index 5fb0cbacc183b58e31a442badf4aef06bebcd592..e31fb00c430821fc06247079091a93fb15a1ab92 100644
--- a/dist/BunHttpServer.js
+++ b/dist/BunHttpServer.js
@@ -45,6 +45,20 @@ export const make = /*#__PURE__*/Effect.fnUntraced(function* (options) {
...options,
fetch: handlerStack[0],
websocket: {
+ // Patch: upstreamed as https://github.com/Effect-TS/effect/pull/6691 (ships
+ // in >= 4.0.0-beta.103 as the layer option `websocket: { ... }`). On
+ // upgrade: drop this patch and pass the option in apps/server/src/server.ts.
+ // Negotiate permessage-deflate with clients that offer it; clients that
+ // don't still get uncompressed frames on their connection. A dedicated
+ // compressor keeps a per-connection sliding window (context takeover) so
+ // the compression dictionary is shared across server-to-client frames.
+ // Decompression uses the shared decompressor: uWebSockets' dedicated
+ // decompressor path can abort connections (close 1006) on valid DEFLATE
+ // input — see https://github.com/uNetworking/uWebSockets.js/issues/633.
+ perMessageDeflate: {
+ compress: "dedicated",
+ decompress: "shared"
+ },
open(ws) {
Deferred.doneUnsafe(ws.data.deferred, Exit.succeed(ws));
},
diff --git a/src/BunHttpServer.ts b/src/BunHttpServer.ts
index 9f2ac3dfc018e2d35c6f44785f1ce05e2e06fc7c..f2bd3def712677ae1e7d475f5eaf27ac2e42ae1a 100644
--- a/src/BunHttpServer.ts
+++ b/src/BunHttpServer.ts
@@ -90,6 +90,20 @@ export const make = Effect.fnUntraced(
...options as ServeOptions<R>,
fetch: handlerStack[0],
websocket: {
+ // Patch: upstreamed as https://github.com/Effect-TS/effect/pull/6691 (ships
+ // in >= 4.0.0-beta.103 as the layer option `websocket: { ... }`). On
+ // upgrade: drop this patch and pass the option in apps/server/src/server.ts.
+ // Negotiate permessage-deflate with clients that offer it; clients that
+ // don't still get uncompressed frames on their connection. A dedicated
+ // compressor keeps a per-connection sliding window (context takeover) so
+ // the compression dictionary is shared across server-to-client frames.
+ // Decompression uses the shared decompressor: uWebSockets' dedicated
+ // decompressor path can abort connections (close 1006) on valid DEFLATE
+ // input — see https://github.com/uNetworking/uWebSockets.js/issues/633.
+ perMessageDeflate: {
+ compress: "dedicated",
+ decompress: "shared"
+ },
open(ws) {
Deferred.doneUnsafe(ws.data.deferred, Exit.succeed(ws))
},
-50
View File
@@ -1,50 +0,0 @@
diff --git a/dist/NodeHttpServer.js b/dist/NodeHttpServer.js
index ab7c9354853032fefa192ebfa8ab2026bac6ddb7..319815f01e78f5d4e6f7e62a00046ec092eaf797 100644
--- a/dist/NodeHttpServer.js
+++ b/dist/NodeHttpServer.js
@@ -83,7 +83,17 @@ export const make = /*#__PURE__*/Effect.fnUntraced(function* (evaluate, options)
});
const address = server.address();
const wss = yield* Effect.acquireRelease(Effect.sync(() => new NodeWS.WebSocketServer({
- noServer: true
+ noServer: true,
+ // Patch: upstreamed as https://github.com/Effect-TS/effect/pull/6691 (ships
+ // in >= 4.0.0-beta.103 as the layer option `websocket: { perMessageDeflate }`).
+ // On upgrade: drop this patch and pass the option in apps/server/src/server.ts.
+ // Negotiate permessage-deflate with clients that offer it; clients that
+ // don't still get uncompressed frames on their connection. Context
+ // takeover stays enabled (ws default) so the compression window is shared
+ // across frames — that also makes small frames cheap to compress, so no
+ // size threshold is set (ws only honors `threshold` when context takeover
+ // is disabled).
+ perMessageDeflate: true
})), wss => Effect.callback(resume => {
wss.close(() => resume(Effect.void));
})).pipe(Scope.provide(scope), Effect.cached);
diff --git a/src/NodeHttpServer.ts b/src/NodeHttpServer.ts
index e18cd931f17c26d6ca985a2d1ece9e9d760851d3..9c888a581738aea12dbdb2b213cce1c480aa2ecc 100644
--- a/src/NodeHttpServer.ts
+++ b/src/NodeHttpServer.ts
@@ -116,7 +116,21 @@ export const make = Effect.fnUntraced(function*(
const address = server.address()!
const wss = yield* Effect.acquireRelease(
- Effect.sync(() => new NodeWS.WebSocketServer({ noServer: true })),
+ Effect.sync(() =>
+ new NodeWS.WebSocketServer({
+ noServer: true,
+ // Patch: upstreamed as https://github.com/Effect-TS/effect/pull/6691 (ships
+ // in >= 4.0.0-beta.103 as the layer option `websocket: { perMessageDeflate }`).
+ // On upgrade: drop this patch and pass the option in apps/server/src/server.ts.
+ // Negotiate permessage-deflate with clients that offer it; clients that
+ // don't still get uncompressed frames on their connection. Context
+ // takeover stays enabled (ws default) so the compression window is
+ // shared across frames — that also makes small frames cheap to
+ // compress, so no size threshold is set (ws only honors `threshold`
+ // when context takeover is disabled).
+ perMessageDeflate: true
+ })
+ ),
(wss) =>
Effect.callback<void>((resume) => {
wss.close(() => resume(Effect.void))
@@ -1,5 +1,5 @@
diff --git a/dist/index.d.ts b/dist/index.d.ts
index bc52d20f3116059904e99498447451bd4083c0fe..43cf0824f9f294cb441d9ee4cc12de9f82c04e46 100644
index a364638..4ee44c2 100644
--- a/dist/index.d.ts
+++ b/dist/index.d.ts
@@ -7,11 +7,11 @@ import type * as Layer from "effect/Layer";
@@ -17,7 +17,7 @@ index bc52d20f3116059904e99498447451bd4083c0fe..43cf0824f9f294cb441d9ee4cc12de9f
* @since 4.0.0
*/
diff --git a/dist/index.js b/dist/index.js
index 938c9c817abe9aeddb9ad8c74e099c62cbf5f091..760ecc47fec5e9df2efd75de17c05ba4b0700ec1 100644
index a1a89bd..687df5a 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,9 +1,9 @@
@@ -33,29 +33,20 @@ index 938c9c817abe9aeddb9ad8c74e099c62cbf5f091..760ecc47fec5e9df2efd75de17c05ba4
* @since 4.0.0
*/
diff --git a/dist/internal/internal.js b/dist/internal/internal.js
index 29ea5844d6c7db5f8ee9cb40eea09fa06306ac76..45461c6610983e6b55cb0b303f3064fe0e12574c 100644
index fe41479..8ae751c 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";
@@ -16,7 +16,7 @@ import * as Scope from "effect/Scope";
@@ -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 getCurrentSuite = V.TestRunner.getCurrentSuite;
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
index 4871215..2c46e2b 100644
--- a/dist/utils.js
+++ b/dist/utils.js
@@ -4,7 +4,7 @@ import * as Option from "effect/Option";
@@ -68,7 +59,7 @@ index cfb2c39847518b491ca5db87ef693947a75e5e53..c044d7a01c2dd9d86e35db3910aed384
// Primitives
// ----------------------------
diff --git a/src/index.ts b/src/index.ts
index 37886fb6c37a12710f73ccee87a3ff6ca8b2c9fa..2207df940dfae2a346211d09b8d39554e0c00d34 100644
index b524786..8d4025d 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -7,13 +7,13 @@ import type * as Layer from "effect/Layer"
@@ -88,19 +79,10 @@ index 37886fb6c37a12710f73ccee87a3ff6ca8b2c9fa..2207df940dfae2a346211d09b8d39554
/**
* @since 4.0.0
diff --git a/src/internal/internal.ts b/src/internal/internal.ts
index 59c35ec9e65c93df8e2ba21299a5b23f2ce27772..38475742e3d39e8cb30c5ab6a1a45916882cdca4 100644
index d4040a0..f02fc9d 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"
@@ -17,7 +17,7 @@ import * as Scope from "effect/Scope"
@@ -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"
@@ -108,9 +90,9 @@ index 59c35ec9e65c93df8e2ba21299a5b23f2ce27772..38475742e3d39e8cb30c5ab6a1a45916
+import * as V from "vite-plus/test"
import type * as Vitest from "../index.ts"
const runPromise: <E, A>(
const getCurrentSuite = V.TestRunner.getCurrentSuite
diff --git a/src/utils.ts b/src/utils.ts
index 09c824139056c992bf978c15dc3836b3dd2257a9..6cd39bf9c0f332ba65842e555cc1c3fe0675e923 100644
index 4a4612c..846bcc9 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -16,7 +16,7 @@ import * as Option from "effect/Option"
@@ -1,11 +1,11 @@
diff --git a/dist/unstable/ai/McpServer.js b/dist/unstable/ai/McpServer.js
index 2830482842c07f2f0fb412076c901e52830b7e24..cd92160578fd152c6b6399ad8a328c4ddd7d300c 100644
index 755e41c..dc431aa 100644
--- a/dist/unstable/ai/McpServer.js
+++ b/dist/unstable/ai/McpServer.js
@@ -230,6 +230,26 @@ export const run = /*#__PURE__*/Effect.fnUntraced(function* (options) {
@@ -262,6 +262,26 @@ const runWithProtocolState = /*#__PURE__*/Effect.fnUntraced(function* (options,
const server = yield* McpServer;
const isHttp = Option.isSome(yield* Effect.serviceOption(HttpRouter.HttpRouter));
const clientSessions = protocolState.clientSessions;
const sessions = protocolState.sessions;
+ if (isHttp && options.path !== undefined) {
+ const router = yield* HttpRouter.HttpRouter;
+ yield* router.add("DELETE", options.path, Effect.gen(function* () {
@@ -16,7 +16,7 @@ index 2830482842c07f2f0fb412076c901e52830b7e24..cd92160578fd152c6b6399ad8a328c4d
+ status: 400
+ });
+ }
+ if (!clientSessions.delete(sessionId)) {
+ if (!sessions.bySessionId.delete(sessionId)) {
+ return HttpServerResponse.empty({
+ status: 404
+ });
@@ -26,20 +26,20 @@ index 2830482842c07f2f0fb412076c901e52830b7e24..cd92160578fd152c6b6399ad8a328c4d
+ });
+ }));
+ }
const handlers = yield* Layer.build(layerHandlers(options)).pipe(Effect.provideService(McpProtocolState, protocolState));
const clients = yield* RcMap.make({
lookup: Effect.fnUntraced(function* (clientId) {
@@ -493,7 +513,7 @@ export const layerHttp = options => {
allow: "POST"
}
});
- const routes = Layer.mergeAll(HttpRouter.add("GET", options.path, methodNotAllowedResponse), HttpRouter.add("PUT", options.path, methodNotAllowedResponse), HttpRouter.add("PATCH", options.path, methodNotAllowedResponse), HttpRouter.add("DELETE", options.path, methodNotAllowedResponse));
+ const routes = Layer.mergeAll(HttpRouter.add("GET", options.path, methodNotAllowedResponse), HttpRouter.add("PUT", options.path, methodNotAllowedResponse), HttpRouter.add("PATCH", options.path, methodNotAllowedResponse));
const clientProtocols = new Map();
const cancelledRequests = new Map();
const handlers = yield* Layer.build(layerHandlers(options, {
@@ -719,7 +739,7 @@ export const layerHttp = options => {
const methodNotAllowed = request => Effect.succeed(request.headers.origin !== undefined && !options.allowedOrigins?.includes(request.headers.origin) ? HttpServerResponse.empty({
status: 403
}) : methodNotAllowedResponse);
- const routes = Layer.mergeAll(HttpRouter.add("GET", options.path, methodNotAllowed), HttpRouter.add("PUT", options.path, methodNotAllowed), HttpRouter.add("PATCH", options.path, methodNotAllowed), HttpRouter.add("DELETE", options.path, methodNotAllowed), HttpRouter.add("OPTIONS", options.path, methodNotAllowed));
+ const routes = Layer.mergeAll(HttpRouter.add("GET", options.path, methodNotAllowed), HttpRouter.add("PUT", options.path, methodNotAllowed), HttpRouter.add("PATCH", options.path, methodNotAllowed), HttpRouter.add("OPTIONS", options.path, methodNotAllowed));
return Layer.merge(layerWithProtocolState(options), routes).pipe(Layer.provide(layerMcpProtocolHttp(options)), Layer.provide(protocolState), Layer.provide(RpcSerialization.layerJsonRpc()));
};
const layerMcpProtocolHttp = options => Layer.effect(RpcServer.Protocol)(Effect.gen(function* () {
diff --git a/dist/unstable/rpc/RpcClient.d.ts b/dist/unstable/rpc/RpcClient.d.ts
index a70061a638faabdd663eca25cb79585fec06e03c..15c940b61860830f11cad86b155e3b76f43d34ea 100644
index aba2779..581d267 100644
--- a/dist/unstable/rpc/RpcClient.d.ts
+++ b/dist/unstable/rpc/RpcClient.d.ts
@@ -2,6 +2,7 @@ import * as Cause from "../../Cause.ts";
@@ -92,7 +92,7 @@ index a70061a638faabdd663eca25cb79585fec06e03c..15c940b61860830f11cad86b155e3b76
/**
* Represents optional client protocol hooks that run when a transport connects
diff --git a/dist/unstable/rpc/RpcClient.js b/dist/unstable/rpc/RpcClient.js
index b6ddbacbde74fb0ce98c79452b95a1c8fc0e65ed..154fe9a1ec64e5a47cd2ea89536186d6a73a74f6 100644
index b536d0a..12ffac0 100644
--- a/dist/unstable/rpc/RpcClient.js
+++ b/dist/unstable/rpc/RpcClient.js
@@ -47,6 +47,7 @@ export const makeNoSerialization = /*#__PURE__*/Effect.fnUntraced(function* (gro
@@ -261,9 +261,9 @@ index b6ddbacbde74fb0ce98c79452b95a1c8fc0e65ed..154fe9a1ec64e5a47cd2ea89536186d6
- return Effect.void;
+ return pinger.onPong;
}
if ("requestId" in response) {
const clientId = requestClientMap.get(response.requestId);
@@ -639,12 +668,12 @@ export const makeProtocolSocket = options => Protocol.make(Effect.fnUntraced(fun
if (Object.hasOwn(response, "requestId")) {
const requestId = response.requestId;
@@ -640,12 +669,12 @@ export const makeProtocolSocket = options => Protocol.make(Effect.fnUntraced(fun
}
}, {
onOpen
@@ -278,7 +278,7 @@ index b6ddbacbde74fb0ce98c79452b95a1c8fc0e65ed..154fe9a1ec64e5a47cd2ea89536186d6
}).pipe(Effect.flatMap(() => Effect.fail(new Socket.SocketError({
reason: new Socket.SocketCloseError({
code: 1000
@@ -686,20 +715,20 @@ export const makeProtocolSocket = options => Protocol.make(Effect.fnUntraced(fun
@@ -687,20 +716,20 @@ export const makeProtocolSocket = options => Protocol.make(Effect.fnUntraced(fun
};
}));
const defaultRetryPolicy = /*#__PURE__*/Schedule.min([/*#__PURE__*/Schedule.exponential(500, 1.5), /*#__PURE__*/Schedule.spaced(5000)]);
@@ -303,7 +303,7 @@ index b6ddbacbde74fb0ce98c79452b95a1c8fc0e65ed..154fe9a1ec64e5a47cd2ea89536186d6
}).pipe(Effect.delay("5 seconds"), Effect.ignore, Effect.forever, Effect.interruptible, Effect.forkScoped);
return {
timeout: latch.await,
@@ -842,6 +871,11 @@ export const makeProtocolWorker = options => Protocol.make(Effect.fnUntraced(fun
@@ -843,6 +872,11 @@ export const makeProtocolWorker = options => Protocol.make(Effect.fnUntraced(fun
* @since 4.0.0
*/
export const layerProtocolWorker = /*#__PURE__*/flow(makeProtocolWorker, /*#__PURE__*/Layer.effect(Protocol));
+227 -234
View File
@@ -7,8 +7,8 @@ settings:
catalogs:
default:
'@effect/openapi-generator':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103
'@effect/tsgo':
specifier: 0.13.2
version: 0.13.2
@@ -48,18 +48,18 @@ overrides:
'@clerk/expo': 4.1.2
'@clerk/react': 6.12.9
'@clerk/shared': 4.25.9
'@effect/atom-react': 4.0.0-beta.102
'@effect/platform-bun': 4.0.0-beta.102
'@effect/platform-node': 4.0.0-beta.102
'@effect/platform-node-shared': 4.0.0-beta.102
'@effect/sql-pg': 4.0.0-beta.102
'@effect/sql-sqlite-bun': 4.0.0-beta.102
'@effect/vitest': 4.0.0-beta.102
'@effect/atom-react': 4.0.0-beta.103
'@effect/platform-bun': 4.0.0-beta.103
'@effect/platform-node': 4.0.0-beta.103
'@effect/platform-node-shared': 4.0.0-beta.103
'@effect/sql-pg': 4.0.0-beta.103
'@effect/sql-sqlite-bun': 4.0.0-beta.103
'@effect/vitest': 4.0.0-beta.103
'@effect/vitest>vitest': '-'
'@expo/metro-config': 56.0.14
'@pierre/diffs>@shikijs/transformers': ^4.2.0
'@types/node': 24.12.4
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
expo-modules-jsi: 56.0.10
expo-sharing>@expo/config-plugins: 56.0.9
expo-sharing>@expo/config-types: 56.0.6
@@ -69,16 +69,14 @@ overrides:
packageExtensionsChecksum: sha256-CUzzeefpj3gNFrCKNBhV9FOaniNbrLdKyIhWQyXuaiE=
patchedDependencies:
'@effect/platform-bun@4.0.0-beta.102': 9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23
'@effect/[email protected]': cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0
'@effect/[email protected]': a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425
'@effect/vitest@4.0.0-beta.103': a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b
'@expo/[email protected]': 8cb08b5bb7051ed9d2dbe46a2c293c5a1e17f1bd6ddf30de27909e18c921ff46
'@ff-labs/[email protected]': 2b16019ce7ab61aec6478dd02f79ef468cc1d5c51e9d00764f7d2ab8167210c8
'@legendapp/[email protected]': d162d67b73933ab077d00627cdf52b18ea88b28c4fae4e8340a854df25026f09
'@pierre/[email protected]': 7ef7cb0cbabb17c15cdb137554068b36f15f6f5265e73fb51452aa3380db91aa
'@react-native-menu/[email protected]': 5ea3ae4bf1d9baf5443b65c269bb09621c27a68d556f713778f37b1e8d46aaae
'@react-navigation/[email protected]': c7fc101b78d434904425e5a24c22fb0042298dec6f807250486e784f3c717273
[email protected]2: 71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488
[email protected]3: a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9
[email protected]: 9170f8074ae4e35a0a086e756c8f815794fd3abe51eac67ca3ba02804225ec1f
[email protected]: 808eb26f9e57cf4945efd3985af4d9c764da6f91f4c9764433cc868602bbf4d3
[email protected]: 20be72c84d74253acdcfefbc6defe36dc396944f1a44cab2bdd0e3cd572ae008
@@ -117,8 +115,8 @@ importers:
specifier: 0.0.3
version: 0.0.3
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@t3tools/client-runtime':
specifier: workspace:*
version: link:../../packages/client-runtime
@@ -135,8 +133,8 @@ importers:
specifier: workspace:*
version: link:../../packages/tailscale
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
electron:
specifier: 41.5.0
version: 41.5.0
@@ -154,8 +152,8 @@ importers:
version: 0.1.44([email protected])
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -200,8 +198,8 @@ importers:
specifier: 4.1.2
version: 4.1.2([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])))([email protected])([email protected]([email protected]))([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])([email protected])
'@effect/atom-react':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@expo-google-fonts/dm-sans':
specifier: ^0.4.2
version: 0.4.2
@@ -275,8 +273,8 @@ importers:
specifier: 8.0.3
version: 8.0.3
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
expo:
specifier: ~56.0.12
version: 56.0.12(8895228379997a2a064f9644cda56ed0)
@@ -423,8 +421,8 @@ importers:
version: 1.7.0([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])([email protected])
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@pierre/trees':
specifier: 1.0.0-beta.4
version: 1.0.0-beta.4([email protected]([email protected]))([email protected])
@@ -447,17 +445,17 @@ importers:
specifier: ^0.3.170
version: 0.3.170(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))([email protected])
'@effect/platform-bun':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@effect/platform-node-shared':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
'@effect/sql-sqlite-bun':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@ff-labs/fff-node':
specifier: 0.9.4
version: 0.9.4(patch_hash=2b16019ce7ab61aec6478dd02f79ef468cc1d5c51e9d00764f7d2ab8167210c8)
@@ -468,8 +466,8 @@ importers:
specifier: 'catalog:'
version: 1.3.0-beta.10(patch_hash=7ef7cb0cbabb17c15cdb137554068b36f15f6f5265e73fb51452aa3380db91aa)(@shikijs/[email protected])([email protected]([email protected]))([email protected])
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
node-pty:
specifier: ^1.1.0
version: 1.1.0
@@ -478,8 +476,8 @@ importers:
version: 2.9.0
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@t3tools/contracts':
specifier: workspace:*
version: link:../../packages/contracts
@@ -532,8 +530,8 @@ importers:
specifier: ^3.2.2
version: 3.2.2([email protected])
'@effect/atom-react':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@fontsource-variable/dm-sans':
specifier: ^5.2.8
version: 5.2.8
@@ -574,8 +572,8 @@ importers:
specifier: ^0.7.1
version: 0.7.1
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
jose:
specifier: 'catalog:'
version: 6.2.2
@@ -614,11 +612,11 @@ importers:
version: 5.0.14(@types/[email protected])([email protected])([email protected]([email protected]))
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@rolldown/plugin-babel':
specifier: ^0.2.0
version: 0.2.3(@babel/[email protected])(@babel/[email protected](@babel/[email protected]))(@babel/[email protected])(@voidzero-dev/[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])
@@ -665,8 +663,8 @@ importers:
specifier: 3.14.0
version: 3.14.0([email protected]([email protected]))([email protected])
'@effect/sql-pg':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@noble/curves':
specifier: 'catalog:'
version: 1.9.1
@@ -684,23 +682,23 @@ importers:
version: link:../../packages/shared
alchemy:
specifier: 2.0.0-beta.65
version: 2.0.0-beta.65(249551d75ad3792c0b22cd2754b25266)
version: 2.0.0-beta.65(a455401069e1fee89f31a277c51247f6)
drizzle-orm:
specifier: 1.0.0-rc.4
version: 1.0.0-rc.4(@cloudflare/[email protected])(@effect/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected])
version: 1.0.0-rc.4(@cloudflare/[email protected])(@effect/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected])
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
devDependencies:
'@cloudflare/workers-types':
specifier: ^4.20260601.1
version: 4.20260604.1
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -717,18 +715,18 @@ importers:
oxlint-plugin-t3code:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@oxlint/plugins':
specifier: ^1.63.0
version: 1.68.0
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
vite-plus:
specifier: 'catalog:'
version: 0.2.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])
@@ -742,12 +740,12 @@ importers:
specifier: workspace:*
version: link:../shared
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
vite-plus:
specifier: 'catalog:'
version: 0.2.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])
@@ -755,12 +753,12 @@ importers:
packages/contracts:
dependencies:
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
vite-plus:
specifier: 'catalog:'
version: 0.2.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])
@@ -768,18 +766,18 @@ importers:
packages/effect-acp:
dependencies:
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
devDependencies:
'@effect/openapi-generator':
specifier: 'catalog:'
version: 4.0.0-beta.102(@effect/[email protected]2(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected]))([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
version: 4.0.0-beta.103(@effect/[email protected]3([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -790,18 +788,18 @@ importers:
packages/effect-codex-app-server:
dependencies:
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
devDependencies:
'@effect/openapi-generator':
specifier: 'catalog:'
version: 4.0.0-beta.102(@effect/[email protected]2(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected]))([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
version: 4.0.0-beta.103(@effect/[email protected]3([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -821,8 +819,8 @@ importers:
specifier: workspace:*
version: link:../contracts
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
jose:
specifier: 'catalog:'
version: 6.2.2
@@ -831,11 +829,11 @@ importers:
version: 2.9.0
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -852,15 +850,15 @@ importers:
specifier: workspace:*
version: link:../shared
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -871,18 +869,18 @@ importers:
packages/tailscale:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@t3tools/shared':
specifier: workspace:*
version: link:../shared
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -893,8 +891,8 @@ importers:
scripts:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@t3tools/contracts':
specifier: workspace:*
version: link:../packages/contracts
@@ -905,8 +903,8 @@ importers:
specifier: workspace:*
version: link:../packages/tailscale
effect:
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
pngjs:
specifier: 7.0.0
version: 7.0.0
@@ -915,8 +913,8 @@ importers:
version: 2.9.0
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.102
version: 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@types/pngjs':
specifier: 6.0.5
version: 6.0.5
@@ -1844,12 +1842,12 @@ packages:
'@distilled.cloud/[email protected]':
resolution: {integrity: sha512-Uw2yZf7PJ2ienrKG49HN1ajnke65mTtHBUrSb/3ykeZ/8cLaSgwVhPscHxSzGByY0TEtYcYKNNmfUVISgGQl9g==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@distilled.cloud/[email protected]':
resolution: {integrity: sha512-6g7tN/fKdMjnZYswlvwmLPeCqa2/jTsuOG7cSyUldhd6akxwWlMYqqDxwiOjgJfBZIOmcqSs5XVwiGMonZQTBw==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@distilled.cloud/[email protected]':
resolution: {integrity: sha512-UO9wjepZWYupWMf/KYKY7LUueHNawdp0qBGc9z3XYxjodrQaMwFQWtIGG1yWOHjTWl1BUx86A69hyB8kHYRAeA==}
@@ -1866,9 +1864,9 @@ packages:
resolution: {integrity: sha512-0mtI2rmxKiRcuZVXsQZfPnHWstUTCyPlg4q6EbxdImfiB4CCL2F56orGl9UhuBy+BPgO37wDgMe2GIpAHIUNWA==}
peerDependencies:
'@distilled.cloud/cloudflare': ^0.29.0
'@effect/platform-bun': 4.0.0-beta.102
'@effect/platform-node': 4.0.0-beta.102
effect: 4.0.0-beta.102
'@effect/platform-bun': 4.0.0-beta.103
'@effect/platform-node': 4.0.0-beta.103
effect: 4.0.0-beta.103
peerDependenciesMeta:
'@effect/platform-bun':
optional: true
@@ -1880,9 +1878,9 @@ packages:
peerDependencies:
'@distilled.cloud/cloudflare': ^0.29.0
'@distilled.cloud/cloudflare-runtime': 0.13.10
'@effect/platform-bun': 4.0.0-beta.102
'@effect/platform-node': 4.0.0-beta.102
effect: 4.0.0-beta.102
'@effect/platform-bun': 4.0.0-beta.103
'@effect/platform-node': 4.0.0-beta.103
effect: 4.0.0-beta.103
vite: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
'@effect/platform-bun':
@@ -1893,22 +1891,22 @@ packages:
'@distilled.cloud/[email protected]':
resolution: {integrity: sha512-bY0WAXL7Xw1mbo9twdXcaSCKL1rMi1o4aDzVwhnHASxe416oWvDARUo2/DPhQqN48r3q9BY2AyRAxRf65X6z0g==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@distilled.cloud/[email protected]':
resolution: {integrity: sha512-7wurt9mk2Z3h0zJ00FAXD9ApSLoiBdjArctc9k706JPwzo6uhSJNkTwVMFdYM6V3m5186cY5C8ukzstrCRkJSw==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@distilled.cloud/[email protected]':
resolution: {integrity: sha512-mFNmN4sUGIa7WukCSmU1KQSDZKmByjGY5Neh05IiM4b38UaJ80zYws0ZKLVsM3NNpypwnwcibYv3RwXxfG4f/Q==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@distilled.cloud/[email protected]':
resolution: {integrity: sha512-Ph4lY6Ds8xC0l8ZDaEsX4E5oPCHqnDHb3RYKbOPeO8fjaXdZHWxn24gxCWpzSU+fVnkmdKy9ntflqxK2l+12rQ==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@dnd-kit/[email protected]':
resolution: {integrity: sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==}
@@ -1941,52 +1939,52 @@ packages:
'@drizzle-team/[email protected]':
resolution: {integrity: sha512-mlUE+rZ8CatQekLhnaiN91Iemdd+e2gFKooGlnRB3oPTL3VghLfX24dx7HrzMNeC1JrIB/0kpsfyty3f5HNfxQ==}
'@effect/[email protected]2':
resolution: {integrity: sha512-6SX11h7OFwje4YhxYUml9qGjBU8hvnEMrLWe3TKI3lEH/W6tkU/BzajC263eXkxM68h+BJNzE81Ipi5DTfEgug==}
'@effect/[email protected]3':
resolution: {integrity: sha512-1HJ+Cyq4ssLnH2UZ8OVnhtMGAySabtzZo7imKC+vEfxOW3lvJYpGZeicxQX5Ii/7AdvlR+19p/6K2a5IPKYAow==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
react: ^19.2.4
scheduler: '*'
'@effect/[email protected]2':
resolution: {integrity: sha512-LeUj+Z1J58+Xj1WtyhF/cpFIcTOEAHvcQe++Sh6b/o4tZPaC2UDb0144bOFjTNPgOBKcNb6FvVQXwPGV2wv3ZQ==}
'@effect/[email protected]3':
resolution: {integrity: sha512-wWp3n0w9g7edprSue5xLB68Lu3PNdeW1n8girDmV2RKdmVKgrvY0+iIyzYqEMhVGOxc7P0g/ZtMWzaAnJAxbBA==}
hasBin: true
peerDependencies:
'@effect/platform-node': 4.0.0-beta.102
effect: 4.0.0-beta.102
'@effect/platform-node': 4.0.0-beta.103
effect: 4.0.0-beta.103
'@effect/[email protected]2':
resolution: {integrity: sha512-hTIb0jjTfXhNgnDq2OX5wrigc0OSvTT0VWWb1PLpMM395RJPu8rCIbTlGhy0NS7kZOd8FfgNi9e0sDhgyu+5Ag==}
'@effect/[email protected]3':
resolution: {integrity: sha512-/ay1/lhE9FUKEiDRQs56463eJ9u9ivtUtOCi2eeqI8Aooau7PupKNtV5zKjoRBCLInZMAX7JezT46NW5AdACBQ==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@effect/[email protected]2':
resolution: {integrity: sha512-gVd793I72MrkX4dXo7eYtRKfNj0RW4eMRfVEKEJI16h2+mBDCzQ+gqMrog2hSTHQnaIbvbYShNQ4TVGuRCYZeQ==}
'@effect/[email protected]3':
resolution: {integrity: sha512-0aCZMBid5ifqmY55TkfCDLaGTIM8qu3bNFUW7qL9vh/7jFOkaIAMX2MA8muG4deqW17XWxawddWu4v0fK+UW3g==}
engines: {node: '>=18.0.0'}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@effect/[email protected]2':
resolution: {integrity: sha512-wYVAU9jAePT+gouMr/EVz1CaW6yDLjPAgXYeEFLz7wugT5iZhFRag6mqajV/wwN3bzWP2fzZHokLuPmqD/rqeA==}
'@effect/[email protected]3':
resolution: {integrity: sha512-VD8fbpendwFokMwzC7/MxazjhEVDihPC5NZtomYEyZwGaA1LXMvwP1y8pfXwfshUkG56TN4EMQqzu72c0B9FhA==}
engines: {node: '>=18.0.0'}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
ioredis: ^5.7.0
'@effect/[email protected]':
resolution: {integrity: sha512-4M/2lm7y1M1Fg1fCc31BTtU3p8lK0jHUlPGqIiJ97pOSXZJrlv21087VVLbJ/1i4svuSUshnShDsce9ZwZKsOQ==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@effect/[email protected]2':
resolution: {integrity: sha512-02a+fNfECWCZIZcgHl7OLQN2jZj42gq90EdwdnvR3KA6GLGypY02swABS4zFtaW9H80rTa0ukqVnTdcO/DT5GQ==}
'@effect/[email protected]3':
resolution: {integrity: sha512-jzlTFtFaaoOmT87rQMKUBhkFeIQQwDKtlB+MOYn1jIPssLvXZVnMqo9GahCjsNcXVlB6QGBkUgD1HCA6+tJvBw==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@effect/[email protected]2':
resolution: {integrity: sha512-pBO6FBJ+a21j2qHmzJDK1DeJsxm7HpUQBgucw6prHQXLMUBkhOsfZofhw1FKEdGRDEhO0sGTjffa2KP7iOuDIg==}
'@effect/[email protected]3':
resolution: {integrity: sha512-u10I6SEWgUc1sKrlT0luxOBNzlUXunzxCChrD75pK5khIN1baKlPn2DD3f7bkh20NxwSzOfxF3hWsrO4VktvNg==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@effect/[email protected]':
resolution: {integrity: sha512-AlYlxU2sD3urNCmNCQWtatPJS/+m2r3CvgZdDTs9KEz2YcyQc2GV1g2RWFkoMwmgzYBx69DBLu1oscqJO2qAog==}
@@ -2027,10 +2025,10 @@ packages:
resolution: {integrity: sha512-zPQMHBdCN1k7Jbxjxq0HVAbzsZd+LAoRPzBEZ3F4y/uxNK0K/XGvFXUUw/CUAsD6rhUtC2VahZY1tp0owb5lgg==}
hasBin: true
'@effect/[email protected]2':
resolution: {integrity: sha512-4dipFAYG6imOzrY3zy3BgzCJkbb9xESyzUef0WSx8bsK0/SpITqbJpdwKeOyDWLZ+rimjua8IbTFMAde865pIQ==}
'@effect/[email protected]3':
resolution: {integrity: sha512-Kz3gemVuJNAZ3e4V6A7BwAP87x2Av8LyHOlCjy9jbZzlncwJXO7Olk1Sje3hdKaet3wEl51A/0/89xJ2IYSgNg==}
peerDependencies:
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
'@egjs/[email protected]':
resolution: {integrity: sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==}
@@ -5295,12 +5293,12 @@ packages:
hasBin: true
peerDependencies:
'@aws/durable-execution-sdk-js': ^2.1.0
'@effect/platform-bun': 4.0.0-beta.102
'@effect/platform-node': 4.0.0-beta.102
'@effect/sql-pg': 4.0.0-beta.102
'@effect/platform-bun': 4.0.0-beta.103
'@effect/platform-node': 4.0.0-beta.103
'@effect/sql-pg': 4.0.0-beta.103
drizzle-kit: 1.0.0-rc.4
drizzle-orm: 1.0.0-rc.4
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
vite: ^8.0.7
ws: ^8.20.0
peerDependenciesMeta:
@@ -6160,9 +6158,9 @@ packages:
'@effect/sql-d1': '>=4.0.0-beta.83 || >=4.0.0'
'@effect/sql-libsql': '>=4.0.0-beta.83 || >=4.0.0'
'@effect/sql-mysql2': '>=4.0.0-beta.83 || >=4.0.0'
'@effect/sql-pg': 4.0.0-beta.102
'@effect/sql-pg': 4.0.0-beta.103
'@effect/sql-pglite': '>=4.0.0-beta.83 || >=4.0.0'
'@effect/sql-sqlite-bun': 4.0.0-beta.102
'@effect/sql-sqlite-bun': 4.0.0-beta.103
'@effect/sql-sqlite-do': '>=4.0.0-beta.83 || >=4.0.0'
'@effect/sql-sqlite-node': '>=4.0.0-beta.83 || >=4.0.0'
'@effect/sql-sqlite-wasm': '>=4.0.0-beta.83 || >=4.0.0'
@@ -6191,7 +6189,7 @@ packages:
arktype: '>=2.0.0'
better-sqlite3: '>=9.3.0'
bun-types: '*'
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
expo-sqlite: '>=14.0.0'
mssql: ^11.0.1
mysql2: '>=2'
@@ -6312,8 +6310,8 @@ packages:
[email protected]:
resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
[email protected]2:
resolution: {integrity: sha512-z8Y+Q76Hh/kjLFZrXu8tGn6e+tDsg45R+UHhxd190pXxD53OGwf/G/zDxXTkse4HJ5mobNZfitLfUCp4fMvu6w==}
[email protected]3:
resolution: {integrity: sha512-pE8TxF4m2tQzVI+77dIlm3s+81TACV1AiX1JEkvY+zVuxgQQ8aGSkqXNJF6b/ST+coCSk5cUdbULpQ7sm4oHyw==}
[email protected]:
resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}
@@ -8610,9 +8608,6 @@ packages:
[email protected]:
resolution: {integrity: sha512-Vo7z/6rrQYxpNRylp4Tlob2elzbh+N/MOQbxFVWCxS7oEx6jF53GTJFxK2WWpKuBRkmiin4Mt+xofFDjx09R0A==}
[email protected]:
resolution: {integrity: sha512-EMnU9E2fSULdsbErBbMaXJvFeD9B4+nPcM3f+4lsiCR0BHLPrLVjv3DbyM2hgQQviKJaTWIRRTjKjWlHg3p2ig==}
[email protected]:
resolution: {integrity: sha512-XwWDGcLRGCXAR8F/AM5bG7Q+A3Wm2s6QeEjlOKZLlH3UYcguiqCWKyWXVag5TLTIjR7oOJUY8kcADaZgWPyLeg==}
@@ -11657,24 +11652,24 @@ snapshots:
'@cloudflare/[email protected]': {}
'@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
'@aws-crypto/crc32': 5.2.0
'@aws-crypto/util': 5.2.0
'@aws-sdk/credential-providers': 3.1062.0
'@aws-sdk/types': 3.973.10
'@distilled.cloud/core': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/core': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@smithy/shared-ini-file-loader': 4.5.6
'@smithy/types': 4.14.3
'@smithy/util-base64': 4.4.6
aws4fetch: 1.0.20
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
fast-xml-parser: 5.8.0
'@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
'@distilled.cloud/core': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@distilled.cloud/core': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
'@distilled.cloud/[email protected](@voidzero-dev/[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])([email protected])':
dependencies:
@@ -11687,48 +11682,48 @@ snapshots:
transitivePeerDependencies:
- workerd
'@distilled.cloud/[email protected](@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected](patch_hash=9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected]))(@effect/[email protected](patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected]))([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@distilled.cloud/[email protected](@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]))(@effect/[email protected]([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
'@alchemy.run/node-utils': 0.0.5
'@distilled.cloud/cloudflare': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@distilled.cloud/cloudflare': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
workerd: 1.20260704.1
optionalDependencies:
'@effect/platform-bun': 4.0.0-beta.102(patch_hash=9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])
'@effect/platform-node': 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
'@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
'@effect/platform-node': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@distilled.cloud/[email protected](554b80dcfb9268a9eeb72fedc0ae62a5)':
'@distilled.cloud/[email protected](8bf551e378e9cbc11f8bf1003fbc14a8)':
dependencies:
'@distilled.cloud/cloudflare': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/cloudflare': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@distilled.cloud/cloudflare-rolldown-plugin': 0.13.10(@voidzero-dev/[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])([email protected])
'@distilled.cloud/cloudflare-runtime': 0.13.10(@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected](patch_hash=9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected]))(@effect/[email protected](patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected]))([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@distilled.cloud/cloudflare-runtime': 0.13.10(@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]))(@effect/[email protected]([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
vite: '@voidzero-dev/[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])'
optionalDependencies:
'@effect/platform-bun': 4.0.0-beta.102(patch_hash=9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])
'@effect/platform-node': 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
'@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
'@effect/platform-node': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
transitivePeerDependencies:
- rolldown
- workerd
'@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
'@distilled.cloud/core': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@distilled.cloud/core': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
'@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
'@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
'@distilled.cloud/core': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@distilled.cloud/core': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
'@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
'@distilled.cloud/core': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@distilled.cloud/core': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
'@dnd-kit/[email protected]([email protected])':
dependencies:
@@ -11764,47 +11759,47 @@ snapshots:
'@drizzle-team/[email protected]': {}
'@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])':
'@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])':
dependencies:
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
react: 19.2.3
scheduler: 0.27.0
'@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])':
'@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])':
dependencies:
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
react: 19.2.6
scheduler: 0.27.0
'@effect/[email protected]2(@effect/[email protected]2(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected]))([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@effect/[email protected]3(@effect/[email protected]3([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
'@effect/platform-node': 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@effect/platform-node': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
swagger2openapi: 7.0.8
transitivePeerDependencies:
- encoding
'@effect/[email protected]2(patch_hash=9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])':
'@effect/[email protected]3([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])':
dependencies:
'@effect/platform-node-shared': 4.0.0-beta.102([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@effect/platform-node-shared': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
transitivePeerDependencies:
- bufferutil
- utf-8-validate
'@effect/[email protected]2([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])':
'@effect/[email protected]3([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])':
dependencies:
'@types/ws': 8.18.1
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
ws: 8.21.0([email protected])([email protected])
transitivePeerDependencies:
- bufferutil
- utf-8-validate
'@effect/[email protected]2(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])':
'@effect/[email protected]3([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])':
dependencies:
'@effect/platform-node-shared': 4.0.0-beta.102([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
'@effect/platform-node-shared': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
ioredis: 5.11.0
mime: 4.1.0
undici: 8.9.0
@@ -11812,14 +11807,14 @@ snapshots:
- bufferutil
- utf-8-validate
'@effect/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@effect/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
'@cloudflare/workers-types': 5.20260726.1
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
'@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
pg: 8.22.0
pg-connection-string: 2.14.0
pg-cursor: 2.21.0([email protected])
@@ -11828,9 +11823,9 @@ snapshots:
transitivePeerDependencies:
- pg-native
'@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
'@effect/[email protected]':
optional: true
@@ -11863,9 +11858,9 @@ snapshots:
'@effect/tsgo-win32-arm64': 0.13.2
'@effect/tsgo-win32-x64': 0.13.2
'@effect/[email protected]2(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))':
'@effect/[email protected]3(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
dependencies:
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
'@egjs/[email protected]':
dependencies:
@@ -15371,22 +15366,22 @@ snapshots:
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
[email protected](249551d75ad3792c0b22cd2754b25266):
[email protected](a455401069e1fee89f31a277c51247f6):
dependencies:
'@alchemy.run/node-utils': 0.0.5
'@aws-sdk/credential-providers': 3.1062.0
'@clack/prompts': 0.11.0
'@distilled.cloud/aws': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/axiom': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/cloudflare': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/aws': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@distilled.cloud/axiom': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@distilled.cloud/cloudflare': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@distilled.cloud/cloudflare-rolldown-plugin': 0.13.10(@voidzero-dev/[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])([email protected])
'@distilled.cloud/cloudflare-runtime': 0.13.10(@distilled.cloud/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected](patch_hash=9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected]))(@effect/[email protected](patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected]))([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/cloudflare-vite-plugin': 0.13.10(554b80dcfb9268a9eeb72fedc0ae62a5)
'@distilled.cloud/core': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/neon': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/planetscale': 0.30.2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@effect/sql-d1': 4.0.0-beta.101([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@effect/vitest': 4.0.0-beta.102(patch_hash=a607339aab944136a084a05f159aa0f5a69776934d4b835dab8f9992f1c13425)([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@distilled.cloud/cloudflare-runtime': 0.13.10(@distilled.cloud/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]))(@effect/[email protected]([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@distilled.cloud/cloudflare-vite-plugin': 0.13.10(8bf551e378e9cbc11f8bf1003fbc14a8)
'@distilled.cloud/core': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@distilled.cloud/neon': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@distilled.cloud/planetscale': 0.30.2([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@effect/sql-d1': 4.0.0-beta.101([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@effect/vitest': 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@libsql/client': 0.17.3([email protected])([email protected])
'@octokit/rest': 22.0.1
'@octokit/webhooks': 14.2.0
@@ -15396,7 +15391,7 @@ snapshots:
'@types/aws-lambda': 8.10.161
aws4fetch: 1.0.20
capnweb: 0.6.1
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
fast-glob: 3.3.3
fast-xml-parser: 5.8.0
ink: 6.8.0(@types/[email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])
@@ -15412,11 +15407,11 @@ snapshots:
undici: 7.27.1
yaml: 2.9.0
optionalDependencies:
'@effect/platform-bun': 4.0.0-beta.102(patch_hash=9f7cfa69ef19b624ac7704fe505a6775dc272d734208883f3decc7e5201a3d23)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])
'@effect/platform-node': 4.0.0-beta.102(patch_hash=cae7efcda6fd29f4db2efd357cb7dc6c41cb6adc957901d437e13ed1f3c017f0)([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected])([email protected])
'@effect/sql-pg': 4.0.0-beta.102([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
'@effect/platform-node': 4.0.0-beta.103([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
'@effect/sql-pg': 4.0.0-beta.103([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
drizzle-kit: 1.0.0-rc.4
drizzle-orm: 1.0.0-rc.4(@cloudflare/[email protected])(@effect/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected])
drizzle-orm: 1.0.0-rc.4(@cloudflare/[email protected])(@effect/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected])
vite: '@voidzero-dev/[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])'
ws: 8.21.0([email protected])([email protected])
transitivePeerDependencies:
@@ -16439,15 +16434,15 @@ snapshots:
get-tsconfig: 4.14.0
jiti: 2.7.0
[email protected](@cloudflare/[email protected])(@effect/[email protected]([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@effect/[email protected]2([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected]):
[email protected](@cloudflare/[email protected])(@effect/[email protected]([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]3([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected]):
optionalDependencies:
'@cloudflare/workers-types': 4.20260604.1
'@effect/sql-d1': 4.0.0-beta.101([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@effect/sql-pg': 4.0.0-beta.102([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@effect/sql-sqlite-bun': 4.0.0-beta.102([email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488))
'@effect/sql-d1': 4.0.0-beta.101([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@effect/sql-pg': 4.0.0-beta.103([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@effect/sql-sqlite-bun': 4.0.0-beta.103([email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
'@libsql/client': 0.17.3([email protected])([email protected])
bun-types: 1.3.14
effect: 4.0.0-beta.102(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488)
effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
expo-sqlite: 56.0.5([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])
mysql2: 3.22.4(@types/[email protected])
pg: 8.21.0
@@ -16467,7 +16462,7 @@ snapshots:
[email protected]: {}
[email protected]2(patch_hash=71215759e1ac0a7f65d7b75d816986687ae6c3a6cba02d928d184ca71790d488):
[email protected]3(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9):
dependencies:
'@standard-schema/spec': 1.1.0
fast-check: 4.9.0
@@ -19487,8 +19482,6 @@ snapshots:
[email protected]:
optional: true
[email protected]: {}
[email protected]: {}
[email protected]([email protected]):
@@ -19531,7 +19524,7 @@ snapshots:
[email protected]:
dependencies:
pg-connection-string: 2.13.0
pg-connection-string: 2.14.0
pg-pool: 3.14.0([email protected])
pg-protocol: 1.14.0
pg-types: 2.2.0
+20 -22
View File
@@ -30,21 +30,21 @@ catalog:
"@clerk/expo": 4.1.2
"@clerk/react": 6.12.9
"@clerk/shared": 4.25.9
"@effect/atom-react": 4.0.0-beta.102
"@effect/openapi-generator": 4.0.0-beta.102
"@effect/platform-bun": 4.0.0-beta.102
"@effect/platform-node": 4.0.0-beta.102
"@effect/platform-node-shared": 4.0.0-beta.102
"@effect/sql-pg": 4.0.0-beta.102
"@effect/sql-sqlite-bun": 4.0.0-beta.102
"@effect/atom-react": 4.0.0-beta.103
"@effect/openapi-generator": 4.0.0-beta.103
"@effect/platform-bun": 4.0.0-beta.103
"@effect/platform-node": 4.0.0-beta.103
"@effect/platform-node-shared": 4.0.0-beta.103
"@effect/sql-pg": 4.0.0-beta.103
"@effect/sql-sqlite-bun": 4.0.0-beta.103
"@effect/tsgo": 0.13.2
"@effect/vitest": 4.0.0-beta.102
"@effect/vitest": 4.0.0-beta.103
"@noble/curves": 1.9.1
"@noble/hashes": 1.8.0
"@pierre/diffs": 1.3.0-beta.10
"@types/node": 24.12.4
"@typescript/native-preview": 7.0.0-dev.20260604.1
effect: 4.0.0-beta.102
effect: 4.0.0-beta.103
jose: 6.2.2
typescript: ~6.0.3
vite: npm:@voidzero-dev/[email protected]
@@ -64,16 +64,16 @@ minimumReleaseAgeExclude:
- "@distilled.cloud/[email protected]"
- "@distilled.cloud/[email protected]"
- "@distilled.cloud/[email protected]"
- "@effect/[email protected]2"
- "@effect/[email protected]2"
- "@effect/[email protected]2"
- "@effect/[email protected]2"
- "@effect/[email protected]2"
- "@effect/[email protected]2"
- "@effect/[email protected]2"
- "@effect/[email protected]2"
- "@effect/[email protected]3"
- "@effect/[email protected]3"
- "@effect/[email protected]3"
- "@effect/[email protected]3"
- "@effect/[email protected]3"
- "@effect/[email protected]3"
- "@effect/[email protected]3"
- "@effect/[email protected]3"
- [email protected]
- [email protected]2
- [email protected]3
overrides:
"@clerk/backend": "catalog:"
@@ -122,16 +122,14 @@ packageExtensions:
vite: "catalog:"
patchedDependencies:
"@effect/platform-bun@4.0.0-beta.102": patches/@effect__platform-bun@4.0.0-beta.102.patch
"@effect/[email protected]": patches/@[email protected]
"@effect/[email protected]": patches/@[email protected]
"@effect/vitest@4.0.0-beta.103": patches/@effect__vitest@4.0.0-beta.103.patch
"@expo/[email protected]": patches/@expo%[email protected]
"@ff-labs/[email protected]": patches/@[email protected]
"@legendapp/[email protected]": patches/@[email protected]
"@pierre/[email protected]": patches/@pierre%[email protected]
"@react-native-menu/[email protected]": patches/@[email protected]
"@react-navigation/[email protected]": patches/@react-navigation%[email protected]
[email protected]2: patches/[email protected]2.patch
[email protected]3: patches/[email protected]3.patch
[email protected]: patches/[email protected]
[email protected]: patches/[email protected]
[email protected]: patches/[email protected]
+1 -1
View File
@@ -67,7 +67,7 @@ type StageWorkspaceConfig = typeof StageWorkspaceConfig.Type;
const RepoRoot = Effect.service(Path.Path).pipe(
Effect.flatMap((path) => path.fromFileUrl(new URL("..", import.meta.url))),
);
const encodeJsonString = Schema.encodeEffect(Schema.UnknownFromJsonString);
const encodeJsonString = Schema.encodeEffect(Schema.fromJsonString(Schema.Unknown));
const decodeWorkspaceConfig = Schema.decodeEffect(fromYaml(WorkspaceConfig));
const decodeNodePtyManifest = Schema.decodeUnknownEffect(
Schema.fromJsonString(Schema.Struct({ version: Schema.String })),
+1 -1
View File
@@ -100,7 +100,7 @@ export const ReferenceRepoSyncError = Schema.Union([
export type ReferenceRepoSyncError = typeof ReferenceRepoSyncError.Type;
export const isReferenceRepoSyncError = Schema.is(ReferenceRepoSyncError);
const decodeJsonSource = Schema.decodeUnknownEffect(Schema.UnknownFromJsonString);
const decodeJsonSource = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
const decodeYamlSource = Schema.decodeEffect(fromYaml(Schema.Unknown));
const collectStreamAsString = <E>(stream: Stream.Stream<Uint8Array, E>): Effect.Effect<string, E> =>