Compare commits

..
23 changed files with 939 additions and 331 deletions

No files matched your search

@@ -0,0 +1,31 @@
import { describe, expect, it } from "vite-plus/test";
import { scaleContextMenuPositionForElectron } from "./contextMenuPosition.ts";
describe("scaleContextMenuPositionForElectron", () => {
it("scales CSS pixel positions by the renderer zoom factor", () => {
expect(scaleContextMenuPositionForElectron({ x: 120, y: 80 }, 0.8)).toEqual({
x: 96,
y: 64,
});
expect(scaleContextMenuPositionForElectron({ x: 120, y: 80 }, 1.25)).toEqual({
x: 150,
y: 100,
});
});
it("leaves missing positions missing", () => {
expect(scaleContextMenuPositionForElectron(undefined, 0.8)).toBeUndefined();
});
it("falls back to unscaled coordinates for invalid zoom factors", () => {
expect(scaleContextMenuPositionForElectron({ x: 120, y: 80 }, 0)).toEqual({
x: 120,
y: 80,
});
expect(scaleContextMenuPositionForElectron({ x: 120, y: 80 }, Number.NaN)).toEqual({
x: 120,
y: 80,
});
});
});
+19
View File
@@ -0,0 +1,19 @@
export interface ContextMenuPosition {
readonly x: number;
readonly y: number;
}
export function scaleContextMenuPositionForElectron(
position: ContextMenuPosition | undefined,
zoomFactor: number,
): ContextMenuPosition | undefined {
if (position === undefined) {
return undefined;
}
const normalizedZoomFactor = Number.isFinite(zoomFactor) && zoomFactor > 0 ? zoomFactor : 1;
return {
x: position.x * normalizedZoomFactor,
y: position.y * normalizedZoomFactor,
};
}
+39
View File
@@ -0,0 +1,39 @@
import { describe, expect, it } from "vite-plus/test";
import { normalizeDesktopZoomFactor, resolveDesktopZoomCssVariables } from "./desktopZoom.ts";
describe("desktopZoom", () => {
it("gradually reduces zoomed-out titlebar leading spacing", () => {
expect(resolveDesktopZoomCssVariables(0.8)).toEqual({
titlebarHeight: "65px",
titlebarLeadingOffset: "106.5px",
});
expect(resolveDesktopZoomCssVariables(0.6)).toEqual({
titlebarHeight: "86.66666666666667px",
titlebarLeadingOffset: "136.66666666666669px",
});
});
it("keeps a minimum leading offset clear of the traffic lights", () => {
expect(resolveDesktopZoomCssVariables(0.4)).toEqual({
titlebarHeight: "130px",
titlebarLeadingOffset: "205px",
});
});
it("compensates titlebar spacing when zoomed in", () => {
expect(resolveDesktopZoomCssVariables(1.25)).toEqual({
titlebarHeight: "41.6px",
titlebarLeadingOffset: "72px",
});
});
it("normalizes invalid zoom factors", () => {
expect(normalizeDesktopZoomFactor(0)).toBe(1);
expect(normalizeDesktopZoomFactor(Number.NaN)).toBe(1);
expect(resolveDesktopZoomCssVariables(0)).toEqual({
titlebarHeight: "52px",
titlebarLeadingOffset: "90px",
});
});
});
+30
View File
@@ -0,0 +1,30 @@
export interface DesktopZoomCssVariables {
readonly titlebarHeight: string;
readonly titlebarLeadingOffset: string;
}
export const DESKTOP_TITLEBAR_HEIGHT_PX = 52;
export const DESKTOP_TITLEBAR_LEADING_OFFSET_PX = 90;
export const DESKTOP_TITLEBAR_MIN_SCREEN_LEADING_OFFSET_PX = 82;
export const DESKTOP_TITLEBAR_ZOOM_OUT_SCREEN_OFFSET_STEP_PX = 24;
export function normalizeDesktopZoomFactor(zoomFactor: number): number {
return Number.isFinite(zoomFactor) && zoomFactor > 0 ? zoomFactor : 1;
}
export function resolveDesktopZoomCssVariables(zoomFactor: number): DesktopZoomCssVariables {
const normalizedZoomFactor = normalizeDesktopZoomFactor(zoomFactor);
const screenLeadingOffset =
normalizedZoomFactor >= 1
? DESKTOP_TITLEBAR_LEADING_OFFSET_PX
: Math.max(
DESKTOP_TITLEBAR_MIN_SCREEN_LEADING_OFFSET_PX,
DESKTOP_TITLEBAR_LEADING_OFFSET_PX -
(1 - normalizedZoomFactor) * DESKTOP_TITLEBAR_ZOOM_OUT_SCREEN_OFFSET_STEP_PX,
);
return {
titlebarHeight: `${DESKTOP_TITLEBAR_HEIGHT_PX / normalizedZoomFactor}px`,
titlebarLeadingOffset: `${screenLeadingOffset / normalizedZoomFactor}px`,
};
}
+1
View File
@@ -10,6 +10,7 @@ export const CLEAR_CLOUD_AUTH_TOKEN_CHANNEL = "desktop:clear-cloud-auth-token";
export const FETCH_CLOUD_AUTH_CHANNEL = "desktop:fetch-cloud-auth";
export const CLOUD_AUTH_CALLBACK_CHANNEL = "desktop:cloud-auth-callback";
export const MENU_ACTION_CHANNEL = "desktop:menu-action";
export const ZOOM_FACTOR_CHANGED_CHANNEL = "desktop:zoom-factor-changed";
export const UPDATE_STATE_CHANNEL = "desktop:update-state";
export const UPDATE_GET_STATE_CHANNEL = "desktop:update-get-state";
export const UPDATE_SET_CHANNEL_CHANNEL = "desktop:update-set-channel";
+52 -2
View File
@@ -4,9 +4,57 @@ import type {
DesktopPreviewRecordingFrame,
DesktopPreviewTabState,
} from "@t3tools/contracts";
import { contextBridge, ipcRenderer } from "electron";
import { contextBridge, ipcRenderer, webFrame } from "electron";
import { normalizeDesktopZoomFactor, resolveDesktopZoomCssVariables } from "./desktopZoom.ts";
import * as IpcChannels from "./ipc/channels.ts";
import { scaleContextMenuPositionForElectron } from "./contextMenuPosition.ts";
let lastAppliedDesktopZoomFactor: number | undefined;
let pendingDesktopZoomSyncFrame: number | null = null;
function applyDesktopZoomCssVariables(zoomFactor: number) {
const normalizedZoomFactor = normalizeDesktopZoomFactor(zoomFactor);
if (lastAppliedDesktopZoomFactor === normalizedZoomFactor) {
return;
}
lastAppliedDesktopZoomFactor = normalizedZoomFactor;
const variables = resolveDesktopZoomCssVariables(normalizedZoomFactor);
document.documentElement.style.setProperty("--desktop-zoom-factor", String(normalizedZoomFactor));
document.documentElement.style.setProperty("--desktop-titlebar-height", variables.titlebarHeight);
document.documentElement.style.setProperty(
"--desktop-titlebar-leading-offset",
variables.titlebarLeadingOffset,
);
}
function syncDesktopZoomCssVariables() {
applyDesktopZoomCssVariables(webFrame.getZoomFactor());
}
function scheduleDesktopZoomCssVariableSync() {
if (pendingDesktopZoomSyncFrame !== null) {
return;
}
pendingDesktopZoomSyncFrame = window.requestAnimationFrame(() => {
pendingDesktopZoomSyncFrame = null;
syncDesktopZoomCssVariables();
});
}
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", syncDesktopZoomCssVariables, { once: true });
} else {
syncDesktopZoomCssVariables();
}
window.addEventListener("resize", scheduleDesktopZoomCssVariableSync);
window.visualViewport?.addEventListener("resize", scheduleDesktopZoomCssVariableSync);
ipcRenderer.on(IpcChannels.ZOOM_FACTOR_CHANGED_CHANNEL, (_event, zoomFactor: unknown) => {
if (typeof zoomFactor !== "number") return;
applyDesktopZoomCssVariables(zoomFactor);
});
function unwrapEnsureSshEnvironmentResult(result: unknown) {
if (
@@ -98,7 +146,9 @@ contextBridge.exposeInMainWorld("desktopBridge", {
showContextMenu: (items, position) =>
ipcRenderer.invoke(IpcChannels.CONTEXT_MENU_CHANNEL, {
items,
...(position === undefined ? {} : { position }),
...(position === undefined
? {}
: { position: scaleContextMenuPositionForElectron(position, webFrame.getZoomFactor()) }),
}),
openExternal: (url: string) => ipcRenderer.invoke(IpcChannels.OPEN_EXTERNAL_CHANNEL, url),
createCloudAuthRequest: () => ipcRenderer.invoke(IpcChannels.CREATE_CLOUD_AUTH_REQUEST_CHANNEL),
@@ -55,6 +55,7 @@ function makeFakeBrowserWindow() {
openDevTools: vi.fn(),
replaceMisspelling: vi.fn(),
send: vi.fn(),
getZoomFactor: vi.fn(() => 1),
setWindowOpenHandler: vi.fn(),
};
+10
View File
@@ -274,6 +274,16 @@ const make = Effect.gen(function* () {
void runPromise(electronMenu.popupTemplate({ window, template: menuTemplate }));
});
const syncZoomCssVariables = () => {
if (window.isDestroyed()) return;
window.webContents.send(
IpcChannels.ZOOM_FACTOR_CHANGED_CHANNEL,
window.webContents.getZoomFactor(),
);
};
window.webContents.on("zoom-changed", syncZoomCssVariables);
window.webContents.on("did-finish-load", syncZoomCssVariables);
window.webContents.setWindowOpenHandler(({ url }) => {
if (Option.isSome(ElectronShell.parseSafeExternalUrl(url))) {
void runPromise(electronShell.openExternal(url));
+3 -1
View File
@@ -1361,7 +1361,9 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () {
},
);
const status: GitManagerShape["status"] = Effect.fn("status")(function* (input) {
const [local, remote] = yield* Effect.all([localStatus(input), remoteStatus(input)]);
const [local, remote] = yield* Effect.all([localStatus(input), remoteStatus(input)], {
concurrency: "unbounded",
});
return mergeGitStatusParts(local, remote);
});
const invalidateLocalStatus: GitManagerShape["invalidateLocalStatus"] = Effect.fn(
+55 -1
View File
@@ -1,10 +1,11 @@
import { expect, it } from "@effect/vitest";
import { NodeHttpServer } from "@effect/platform-node";
import { EnvironmentId, PreviewTabId, ProviderInstanceId, ThreadId } from "@t3tools/contracts";
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 { HttpServerResponse } from "effect/unstable/http";
import { HttpBody, HttpClient, HttpRouter, HttpServerResponse } from "effect/unstable/http";
import * as McpHttpServer from "./McpHttpServer.ts";
import * as McpInvocationContext from "./McpInvocationContext.ts";
@@ -48,6 +49,59 @@ it("normalizes empty successful notification responses to accepted", () => {
expect(resultResponse.status).toBe(200);
});
it.effect("terminates HTTP MCP sessions with DELETE", () =>
Effect.scoped(
Effect.gen(function* () {
const serverLayer = McpServer.layerHttp({
name: "MCP termination test",
version: "1.0.0",
path: "/mcp",
});
yield* HttpRouter.serve(serverLayer, {
disableListenLog: true,
disableLogger: true,
}).pipe(Layer.build);
const httpClient = yield* HttpClient.HttpClient;
const initializeResponse = yield* httpClient.post("/mcp", {
headers: { accept: "application/json, text/event-stream" },
body: HttpBody.text(
`{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"mcp-test","version":"1.0.0"}}}`,
"application/json",
),
});
const sessionId = initializeResponse.headers["mcp-session-id"];
expect(initializeResponse.status).toBe(200);
expect(sessionId).not.toBeNull();
const missingSessionResponse = yield* httpClient.del("/mcp");
expect(missingSessionResponse.status).toBe(400);
const unknownSessionResponse = yield* httpClient.del("/mcp", {
headers: { "mcp-session-id": "unknown-session" },
});
expect(unknownSessionResponse.status).toBe(404);
const terminateResponse = yield* httpClient.del("/mcp", {
headers: { "mcp-session-id": sessionId! },
});
expect(terminateResponse.status).toBe(204);
const reusedSessionResponse = yield* httpClient.post("/mcp", {
headers: {
accept: "application/json, text/event-stream",
"mcp-session-id": sessionId!,
},
body: HttpBody.text(
`{"jsonrpc":"2.0","id":2,"method":"ping","params":{}}`,
"application/json",
),
});
expect(reusedSessionResponse.status).toBe(404);
}),
).pipe(Effect.provide(NodeHttpServer.layerTest)),
);
it.effect("registers annotated tools and preserves authenticated request context", () =>
Effect.scoped(
Effect.gen(function* () {
@@ -17,6 +17,7 @@ import type {
VcsStatusResult,
VcsStatusStreamEvent,
} from "@t3tools/contracts";
import { GitManagerError } from "@t3tools/contracts";
import * as VcsStatusBroadcaster from "./VcsStatusBroadcaster.ts";
import * as GitWorkflowService from "../git/GitWorkflowService.ts";
@@ -149,6 +150,71 @@ describe("VcsStatusBroadcaster", () => {
}).pipe(Effect.provide(makeTestLayer(state)));
});
it.effect("keeps the cached snapshot unchanged when a refresh branch fails", () => {
const state = {
currentLocalStatus: baseLocalStatus,
currentRemoteStatus: baseRemoteStatus,
localStatusCalls: 0,
remoteStatusCalls: 0,
localInvalidationCalls: 0,
remoteInvalidationCalls: 0,
failRemoteStatus: false,
};
const testLayer = VcsStatusBroadcaster.layer.pipe(
Layer.provideMerge(NodeServices.layer),
Layer.provide(
Layer.mock(GitWorkflowService.GitWorkflowService)({
localStatus: () =>
Effect.sync(() => {
state.localStatusCalls += 1;
return state.currentLocalStatus;
}),
remoteStatus: () =>
Effect.suspend(() => {
state.remoteStatusCalls += 1;
return state.failRemoteStatus
? Effect.fail(
new GitManagerError({
operation: "VcsStatusBroadcaster.test",
detail: "remote status failed",
}),
)
: Effect.succeed(state.currentRemoteStatus);
}),
invalidateLocalStatus: () =>
Effect.sync(() => {
state.localInvalidationCalls += 1;
}),
invalidateRemoteStatus: () =>
Effect.sync(() => {
state.remoteInvalidationCalls += 1;
}),
}),
),
);
return Effect.gen(function* () {
const broadcaster = yield* VcsStatusBroadcaster.VcsStatusBroadcaster;
yield* broadcaster.getStatus({ cwd: "/repo" });
state.currentLocalStatus = {
...baseLocalStatus,
refName: "feature/partial-refresh",
};
state.currentRemoteStatus = {
...baseRemoteStatus,
aheadCount: 3,
};
state.failRemoteStatus = true;
const refreshExit = yield* broadcaster.refreshStatus("/repo").pipe(Effect.exit);
const cached = yield* broadcaster.getStatus({ cwd: "/repo" });
assert.isTrue(Exit.isFailure(refreshExit));
assert.deepStrictEqual(cached, baseStatus);
}).pipe(Effect.provide(testLayer));
});
it.effect("refreshes only the cached local snapshot when requested", () => {
const state = {
currentLocalStatus: baseLocalStatus,
+72 -30
View File
@@ -179,6 +179,48 @@ export const layer = Layer.effect(
},
);
const updateCachedStatus = Effect.fn("VcsStatusBroadcaster.updateCachedStatus")(function* (
cwd: string,
local: VcsStatusLocalResult,
remote: VcsStatusRemoteResult | null,
options?: { publish?: boolean },
) {
const nextLocal = {
fingerprint: fingerprintStatusPart(local),
value: local,
} satisfies CachedValue<VcsStatusLocalResult>;
const nextRemote = {
fingerprint: fingerprintStatusPart(remote),
value: remote,
} satisfies CachedValue<VcsStatusRemoteResult | null>;
const shouldPublish = yield* Ref.modify(cacheRef, (cache) => {
const previous = cache.get(cwd) ?? { local: null, remote: null };
const nextCache = new Map(cache);
nextCache.set(cwd, {
local: nextLocal,
remote: nextRemote,
});
return [
previous.local?.fingerprint !== nextLocal.fingerprint ||
previous.remote?.fingerprint !== nextRemote.fingerprint,
nextCache,
] as const;
});
if (options?.publish && shouldPublish) {
yield* PubSub.publish(changesPubSub, {
cwd,
event: {
_tag: "snapshot",
local,
remote,
},
});
}
return mergeGitStatusParts(local, remote);
});
const loadLocalStatus = Effect.fn("VcsStatusBroadcaster.loadLocalStatus")(function* (
cwd: string,
) {
@@ -186,13 +228,6 @@ export const layer = Layer.effect(
return yield* updateCachedLocalStatus(cwd, local);
});
const loadRemoteStatus = Effect.fn("VcsStatusBroadcaster.loadRemoteStatus")(function* (
cwd: string,
) {
const remote = yield* workflow.remoteStatus({ cwd });
return yield* updateCachedRemoteStatus(cwd, remote);
});
const getOrLoadLocalStatus = Effect.fn("VcsStatusBroadcaster.getOrLoadLocalStatus")(function* (
cwd: string,
) {
@@ -203,36 +238,39 @@ export const layer = Layer.effect(
return yield* loadLocalStatus(cwd);
});
const getOrLoadRemoteStatus = Effect.fn("VcsStatusBroadcaster.getOrLoadRemoteStatus")(
function* (cwd: string) {
const cached = yield* getCachedStatus(cwd);
if (cached?.remote) {
return cached.remote.value;
}
return yield* loadRemoteStatus(cwd);
},
);
const withFileSystem = Effect.provideService(FileSystem.FileSystem, fs);
const getStatus: VcsStatusBroadcasterShape["getStatus"] = Effect.fn(
"VcsStatusBroadcaster.getStatus",
)(function* (input) {
const cwd = yield* withFileSystem(normalizeCwd(input.cwd));
const [local, remote] = yield* Effect.all([
getOrLoadLocalStatus(cwd),
getOrLoadRemoteStatus(cwd),
]);
return mergeGitStatusParts(local, remote);
const cached = yield* getCachedStatus(cwd);
if (cached?.local && cached.remote) {
return mergeGitStatusParts(cached.local.value, cached.remote.value);
}
const [local, remote] = yield* Effect.all(
[
cached?.local ? Effect.succeed(cached.local.value) : workflow.localStatus({ cwd }),
cached?.remote ? Effect.succeed(cached.remote.value) : workflow.remoteStatus({ cwd }),
],
{ concurrency: "unbounded" },
);
return yield* updateCachedStatus(cwd, local, remote);
});
const refreshLocalStatusCore = Effect.fn("VcsStatusBroadcaster.refreshLocalStatusCore")(
function* (cwd: string) {
yield* workflow.invalidateLocalStatus(cwd);
const local = yield* workflow.localStatus({ cwd });
return yield* updateCachedLocalStatus(cwd, local, { publish: true });
},
);
const refreshLocalStatus: VcsStatusBroadcasterShape["refreshLocalStatus"] = Effect.fn(
"VcsStatusBroadcaster.refreshLocalStatus",
)(function* (rawCwd) {
const cwd = yield* withFileSystem(normalizeCwd(rawCwd));
yield* workflow.invalidateLocalStatus(cwd);
const local = yield* workflow.localStatus({ cwd });
return yield* updateCachedLocalStatus(cwd, local, { publish: true });
return yield* refreshLocalStatusCore(cwd);
});
const refreshRemoteStatus = Effect.fn("VcsStatusBroadcaster.refreshRemoteStatus")(function* (
@@ -247,11 +285,15 @@ export const layer = Layer.effect(
"VcsStatusBroadcaster.refreshStatus",
)(function* (rawCwd) {
const cwd = yield* withFileSystem(normalizeCwd(rawCwd));
const [local, remote] = yield* Effect.all([
refreshLocalStatus(cwd),
refreshRemoteStatus(cwd),
]);
return mergeGitStatusParts(local, remote);
yield* Effect.all(
[workflow.invalidateLocalStatus(cwd), workflow.invalidateRemoteStatus(cwd)],
{ concurrency: "unbounded", discard: true },
);
const [local, remote] = yield* Effect.all(
[workflow.localStatus({ cwd }), workflow.remoteStatus({ cwd })],
{ concurrency: "unbounded" },
);
return yield* updateCachedStatus(cwd, local, remote, { publish: true });
});
const makeRemoteRefreshLoop = (
@@ -384,64 +384,6 @@ describe("ChatMarkdown", () => {
}
});
it("renders path-shaped inline code as interactive file chips", async () => {
const source = [
"Call `appendFileSync` once per batch.",
"Inspect `apps/server/src/provider/Layers/EventNdjsonLogger.ts:148` and keep `1.2.3` unchanged.",
].join("\n\n");
const screen = await render(
<ChatMarkdown text={source} cwd="/repo/project" threadRef={threadRef} />,
);
try {
const link = page.getByRole("link", { name: "EventNdjsonLogger.ts · L148" });
await expect.element(link).toHaveClass(/chat-markdown-file-link/);
await expect
.element(link)
.toHaveAttribute(
"href",
"/repo/project/apps/server/src/provider/Layers/EventNdjsonLogger.ts:148",
);
const inlineCodeValues = [
...document.querySelectorAll<HTMLElement>(".chat-markdown :not(pre) > code"),
].map((element) => element.textContent);
expect(inlineCodeValues).toEqual(["appendFileSync", "1.2.3"]);
await link.click();
await vi.waitFor(() => {
expect(
selectThreadRightPanelState(useRightPanelStore.getState().byThreadKey, threadRef),
).toMatchObject({
isOpen: true,
activeSurfaceId: "file:apps/server/src/provider/Layers/EventNdjsonLogger.ts",
});
});
} finally {
await screen.unmount();
}
});
it("disambiguates inline-code file chips with duplicate basenames", async () => {
const screen = await render(
<ChatMarkdown
text="Compare `apps/web/src/first/config.ts` with `packages/shared/src/second/config.ts`."
cwd="/repo/project"
/>,
);
try {
await expect
.element(page.getByRole("link", { name: "config.ts · src/first" }))
.toBeInTheDocument();
await expect
.element(page.getByRole("link", { name: "config.ts · src/second" }))
.toBeInTheDocument();
} finally {
await screen.unmount();
}
});
it("renders sanitized details with the design-system collapsible", async () => {
const source = [
"<details open>",
+3 -55
View File
@@ -54,7 +54,6 @@ import {
import {
normalizeMarkdownLinkDestination,
resolveMarkdownFileLinkMeta,
resolveMarkdownInlineCodeFileLinkMeta,
rewriteMarkdownFileUriHref,
} from "../markdown-links";
import { readLocalApi } from "../localApi";
@@ -162,8 +161,6 @@ function extractPreCodeMeta(node: unknown): string | undefined {
type MarkdownAstNode = {
type?: string;
meta?: unknown;
value?: unknown;
url?: string;
data?: {
hProperties?: Record<string, unknown>;
};
@@ -189,25 +186,6 @@ function remarkPreserveCodeMeta() {
};
}
function remarkLinkInlineCodeFilePaths(options: { readonly cwd: string | undefined }) {
return (tree: MarkdownAstNode) => {
const visit = (node: MarkdownAstNode) => {
if (node.type === "inlineCode" && typeof node.value === "string") {
const value = node.value;
if (resolveMarkdownInlineCodeFileLinkMeta(value, options.cwd)) {
node.type = "link";
node.url = value.trim();
node.children = [{ type: "text", value }];
delete node.value;
}
}
node.children?.forEach(visit);
};
visit(tree);
};
}
function nodeToPlainText(node: ReactNode): string {
if (typeof node === "string" || typeof node === "number") {
return String(node);
@@ -689,8 +667,6 @@ interface MarkdownFileLinkProps {
}
const MARKDOWN_LINK_HREF_PATTERN = /\[[^\]]*]\(([^)\s]+)(?:\s+["'][^"']*["'])?\)/g;
const MARKDOWN_INLINE_CODE_PATTERN = /(?<!`)(`{1,2})(?!`)([\s\S]*?)(?<!`)\1(?!`)/g;
const MARKDOWN_FENCED_CODE_BLOCK_PATTERN = /^(`{3,}|~{3,})[^\n]*\n[\s\S]*?^\1\s*$/gm;
const MARKDOWN_FILE_LINK_CLASS_NAME =
"chat-markdown-file-link cursor-pointer transition-colors hover:bg-accent/70";
@@ -764,17 +740,6 @@ function extractMarkdownLinkHrefs(text: string): string[] {
return hrefs;
}
function extractMarkdownInlineCodeValues(text: string): string[] {
const stripped = text.replace(MARKDOWN_FENCED_CODE_BLOCK_PATTERN, "");
const values: string[] = [];
for (const match of stripped.matchAll(MARKDOWN_INLINE_CODE_PATTERN)) {
const value = match[2]?.trim();
if (!value) continue;
values.push(value);
}
return values;
}
function normalizeMarkdownLinkHrefKey(href: string): string {
const normalizedHref = normalizeMarkdownLinkDestination(href);
return rewriteMarkdownFileUriHref(normalizedHref) ?? normalizedHref;
@@ -1225,14 +1190,6 @@ function ChatMarkdown({
metaByHref.set(normalizedHref, meta);
}
}
for (const value of extractMarkdownInlineCodeValues(text)) {
const normalizedHref = normalizeMarkdownLinkHrefKey(value);
if (metaByHref.has(normalizedHref)) continue;
const meta = resolveMarkdownInlineCodeFileLinkMeta(normalizedHref, cwd);
if (meta) {
metaByHref.set(normalizedHref, meta);
}
}
return metaByHref;
}, [cwd, text]);
const fileLinkParentSuffixByPath = useMemo(() => {
@@ -1263,10 +1220,7 @@ function ChatMarkdown({
},
a({ node, href, children, ...props }) {
const normalizedHref = href ? normalizeMarkdownLinkHrefKey(href) : "";
const fileLinkMeta = normalizedHref
? (markdownFileLinkMetaByHref.get(normalizedHref) ??
resolveMarkdownFileLinkMeta(normalizedHref, cwd))
: null;
const fileLinkMeta = normalizedHref ? markdownFileLinkMetaByHref.get(normalizedHref) : null;
if (!fileLinkMeta) {
const faviconHost = resolveExternalLinkHost(href);
const isSameDocumentLink = href?.startsWith("#") ?? false;
@@ -1373,7 +1327,6 @@ function ChatMarkdown({
}),
[
diffThemeName,
cwd,
fileLinkParentSuffixByPath,
isStreaming,
markdownFileLinkMetaByHref,
@@ -1394,13 +1347,8 @@ function ChatMarkdown({
<ReactMarkdown
remarkPlugins={
lineBreaks
? [
remarkGfm,
remarkBreaks,
[remarkLinkInlineCodeFilePaths, { cwd }],
remarkPreserveCodeMeta,
]
: [remarkGfm, [remarkLinkInlineCodeFilePaths, { cwd }], remarkPreserveCodeMeta]
? [remarkGfm, remarkBreaks, remarkPreserveCodeMeta]
: [remarkGfm, remarkPreserveCodeMeta]
}
rehypePlugins={[rehypeRaw, [rehypeSanitize, CHAT_MARKDOWN_SANITIZE_SCHEMA]]}
components={markdownComponents}
@@ -0,0 +1,255 @@
import "../index.css";
import { EnvironmentId, ProjectId, ThreadId } from "@t3tools/contracts";
import { useCallback, useRef, useState } from "react";
import { afterEach, beforeEach, describe, expect, it, vi } from "vite-plus/test";
import { page, userEvent } from "vite-plus/test/browser";
import { cleanup, render } from "vitest-browser-react";
import { AppAtomRegistryProvider } from "../rpc/atomRegistry";
import { DEFAULT_INTERACTION_MODE } from "../types";
import type { SidebarThreadSummary } from "../types";
import { SidebarThreadRow } from "./Sidebar";
// Double-click-to-rename is a desktop affordance; force the non-mobile path so
// the rename input is reachable regardless of the test browser viewport.
vi.mock("~/hooks/useMediaQuery", () => ({
useIsMobile: () => false,
useMediaQuery: () => false,
}));
const THREAD_ID = ThreadId.make("thread-1");
const ENVIRONMENT_ID = EnvironmentId.make("environment-local");
const PROJECT_ID = ProjectId.make("project-1");
const INITIAL_TITLE = "Original title";
const ROW_TESTID = `thread-row-${THREAD_ID}`;
const TITLE_TESTID = `thread-title-${THREAD_ID}`;
// Spies live at module scope so their call history survives the row's
// re-renders; reset between tests.
const spies = {
handleThreadClick: vi.fn(),
startThreadRename: vi.fn(),
navigateToThread: vi.fn(),
handleMultiSelectContextMenu: vi.fn(async () => {}),
handleThreadContextMenu: vi.fn(async () => {}),
clearSelection: vi.fn(),
commitRename: vi.fn(),
attemptArchiveThread: vi.fn(async () => {}),
openPrLink: vi.fn(),
};
function buildThread(title: string): SidebarThreadSummary {
return {
id: THREAD_ID,
environmentId: ENVIRONMENT_ID,
projectId: PROJECT_ID,
title,
interactionMode: DEFAULT_INTERACTION_MODE,
session: null,
createdAt: "2024-01-01T00:00:00.000Z",
archivedAt: null,
updatedAt: undefined,
latestTurn: null,
branch: null,
worktreePath: null,
latestUserMessageAt: null,
hasPendingApprovals: false,
hasPendingUserInput: false,
hasActionableProposedPlan: false,
};
}
// Mirrors the real parent (`SidebarProjectItem`): holds the rename state, wires
// `startThreadRename`, and commits by clearing the rename state and persisting
// the new title back onto the thread so the row re-renders with it.
function Harness() {
const [title, setTitle] = useState(INITIAL_TITLE);
const [renamingThreadKey, setRenamingThreadKey] = useState<string | null>(null);
const [renamingTitle, setRenamingTitle] = useState("");
const [confirmingArchiveThreadKey, setConfirmingArchiveThreadKey] = useState<string | null>(null);
const renamingInputRef = useRef<HTMLInputElement | null>(null);
const renamingCommittedRef = useRef(false);
const confirmArchiveButtonRefs = useRef(new Map<string, HTMLButtonElement>());
const startThreadRename = useCallback((threadKey: string, nextTitle: string) => {
spies.startThreadRename(threadKey, nextTitle);
setRenamingThreadKey(threadKey);
setRenamingTitle(nextTitle);
renamingCommittedRef.current = false;
}, []);
const commitRename = useCallback(
async (threadRef: unknown, newTitle: string, originalTitle: string) => {
spies.commitRename(threadRef, newTitle, originalTitle);
const trimmed = newTitle.trim();
if (trimmed.length > 0) {
setTitle(trimmed);
}
setRenamingThreadKey(null);
renamingInputRef.current = null;
},
[],
);
const cancelRename = useCallback(() => {
setRenamingThreadKey(null);
renamingInputRef.current = null;
}, []);
return (
<AppAtomRegistryProvider>
<ul>
<SidebarThreadRow
thread={buildThread(title)}
projectCwd={null}
orderedProjectThreadKeys={[]}
isActive={false}
jumpLabel={null}
appSettingsConfirmThreadArchive={false}
renamingThreadKey={renamingThreadKey}
renamingTitle={renamingTitle}
setRenamingTitle={setRenamingTitle}
startThreadRename={startThreadRename}
renamingInputRef={renamingInputRef}
renamingCommittedRef={renamingCommittedRef}
confirmingArchiveThreadKey={confirmingArchiveThreadKey}
setConfirmingArchiveThreadKey={setConfirmingArchiveThreadKey}
confirmArchiveButtonRefs={confirmArchiveButtonRefs}
handleThreadClick={spies.handleThreadClick}
navigateToThread={spies.navigateToThread}
handleMultiSelectContextMenu={spies.handleMultiSelectContextMenu}
handleThreadContextMenu={spies.handleThreadContextMenu}
clearSelection={spies.clearSelection}
commitRename={commitRename}
cancelRename={cancelRename}
attemptArchiveThread={spies.attemptArchiveThread}
openPrLink={spies.openPrLink}
/>
</ul>
</AppAtomRegistryProvider>
);
}
describe("SidebarThreadRow double-click rename", () => {
beforeEach(() => {
for (const spy of Object.values(spies)) spy.mockClear();
});
afterEach(() => {
cleanup();
});
it("double-clicking a row starts the inline rename, focused with text selected", async () => {
render(<Harness />);
await expect.element(page.getByTestId(TITLE_TESTID)).toBeVisible();
await userEvent.dblClick(page.getByTestId(ROW_TESTID));
const input = page.getByRole("textbox");
await expect.element(input).toBeVisible();
const element = input.element() as HTMLInputElement;
expect(element.value).toBe(INITIAL_TITLE);
// The existing rename-input ref focuses + selects the whole title.
expect(document.activeElement).toBe(element);
expect(element.selectionStart).toBe(0);
expect(element.selectionEnd).toBe(INITIAL_TITLE.length);
});
it("Enter commits the rename and the new title persists on the row", async () => {
render(<Harness />);
await userEvent.dblClick(page.getByTestId(ROW_TESTID));
const input = page.getByRole("textbox");
await expect.element(input).toBeVisible();
await userEvent.fill(input, "Renamed thread");
await userEvent.keyboard("{Enter}");
// commitRename was invoked with (threadRef, newTitle, originalTitle).
expect(spies.commitRename).toHaveBeenCalledTimes(1);
expect(spies.commitRename).toHaveBeenCalledWith(
expect.anything(),
"Renamed thread",
INITIAL_TITLE,
);
// Input is gone and the row now shows the persisted title.
const title = page.getByTestId(TITLE_TESTID);
await expect.element(title).toBeVisible();
await expect.element(title).toHaveTextContent("Renamed thread");
});
it("Escape cancels the rename without committing", async () => {
render(<Harness />);
await userEvent.dblClick(page.getByTestId(ROW_TESTID));
await expect.element(page.getByRole("textbox")).toBeVisible();
await userEvent.keyboard("{Escape}");
expect(spies.commitRename).not.toHaveBeenCalled();
const title = page.getByTestId(TITLE_TESTID);
await expect.element(title).toBeVisible();
await expect.element(title).toHaveTextContent(INITIAL_TITLE);
});
it("double-clicking inside the rename input keeps the edit (does not reset to the title)", async () => {
render(<Harness />);
await userEvent.dblClick(page.getByTestId(ROW_TESTID));
const input = page.getByRole("textbox");
await expect.element(input).toBeVisible();
await userEvent.fill(input, "Edited but not committed");
// Double-clicking inside the input (e.g. to select a word) must not bubble
// to the row and restart the rename, which would wipe the edit.
await userEvent.dblClick(input);
expect((input.element() as HTMLInputElement).value).toBe("Edited but not committed");
expect(spies.commitRename).not.toHaveBeenCalled();
});
it("double-clicking the row chrome while already renaming does not restart/reset it", async () => {
render(<Harness />);
await userEvent.dblClick(page.getByTestId(ROW_TESTID));
const input = page.getByRole("textbox");
await expect.element(input).toBeVisible();
await userEvent.fill(input, "Edited");
expect(spies.startThreadRename).toHaveBeenCalledTimes(1);
// Double-click the row element itself (chrome, not the input).
const rowEl = page.getByTestId(ROW_TESTID).element();
rowEl.dispatchEvent(new MouseEvent("dblclick", { bubbles: true, cancelable: true, detail: 2 }));
// Guard short-circuits: rename is not restarted and the edit is preserved.
expect(spies.startThreadRename).toHaveBeenCalledTimes(1);
expect((input.element() as HTMLInputElement).value).toBe("Edited");
});
it("modifier double-click is multi-select intent and does not start a rename", async () => {
render(<Harness />);
await userEvent.keyboard("{Shift>}");
await userEvent.dblClick(page.getByTestId(ROW_TESTID));
await userEvent.keyboard("{/Shift}");
await expect.element(page.getByTestId(TITLE_TESTID)).toBeVisible();
expect(page.getByRole("textbox").elements()).toHaveLength(0);
});
it("single click routes through the navigation handler and does not start a rename", async () => {
render(<Harness />);
await userEvent.click(page.getByTestId(ROW_TESTID));
expect(spies.handleThreadClick).toHaveBeenCalledTimes(1);
// No rename input: the title span is still shown.
await expect.element(page.getByTestId(TITLE_TESTID)).toBeVisible();
expect(page.getByRole("textbox").elements()).toHaveLength(0);
});
});
@@ -11,6 +11,7 @@ import {
getProjectSortTimestamp,
hasUnseenCompletion,
isContextMenuPointerDown,
isTrailingDoubleClick,
orderItemsByPreferredIds,
resolveProjectStatusIndicator,
resolveSidebarNewThreadSeedContext,
@@ -171,6 +172,24 @@ describe("shouldClearThreadSelectionOnMouseDown", () => {
});
});
describe("isTrailingDoubleClick", () => {
it("treats a single click as a normal activation", () => {
expect(isTrailingDoubleClick(1)).toBe(false);
});
it("treats synthetic/keyboard activations (detail 0) as a normal activation", () => {
expect(isTrailingDoubleClick(0)).toBe(false);
});
it("ignores the second click of a double-click so it does not navigate", () => {
expect(isTrailingDoubleClick(2)).toBe(true);
});
it("ignores further clicks of a triple-click", () => {
expect(isTrailingDoubleClick(3)).toBe(true);
});
});
describe("resolveSidebarNewThreadEnvMode", () => {
it("uses the app default when the caller does not request a specific mode", () => {
expect(
+9
View File
@@ -160,6 +160,15 @@ export function shouldClearThreadSelectionOnMouseDown(target: HTMLElement | null
return !target.closest(THREAD_SELECTION_SAFE_SELECTOR);
}
// A double-click dispatches two `click` events before `dblclick`: the first has
// `detail === 1`, the second `detail === 2`. The second click must not run the
// row's single-click navigation, otherwise double-click-to-rename would also
// navigate. `MouseEvent.detail` is 0 for synthetic/keyboard activations, which
// still count as a normal single activation.
export function isTrailingDoubleClick(detail: number): boolean {
return detail > 1;
}
export function resolveSidebarNewThreadEnvMode(input: {
requestedEnvMode?: SidebarNewThreadEnvMode;
defaultEnvMode: SidebarNewThreadEnvMode;
+124 -7
View File
@@ -20,7 +20,15 @@ import {
} from "./ThreadStatusIndicators";
import { ProjectFavicon } from "./ProjectFavicon";
import { autoAnimate } from "@formkit/auto-animate";
import React, { useCallback, useEffect, memo, useMemo, useRef, useState } from "react";
import React, {
useCallback,
useEffect,
useLayoutEffect,
memo,
useMemo,
useRef,
useState,
} from "react";
import { useShallow } from "zustand/react/shallow";
import {
DndContext,
@@ -164,6 +172,7 @@ import {
getSidebarThreadIdsToPrewarm,
resolveAdjacentThreadId,
isContextMenuPointerDown,
isTrailingDoubleClick,
resolveProjectStatusIndicator,
resolveSidebarNewThreadSeedContext,
resolveSidebarNewThreadEnvMode,
@@ -178,6 +187,7 @@ import {
import { sortThreads } from "../lib/threadSort";
import { SidebarUpdatePill } from "./sidebar/SidebarUpdatePill";
import { useCopyToClipboard } from "~/hooks/useCopyToClipboard";
import { useIsMobile } from "~/hooks/useMediaQuery";
import { CommandDialogTrigger } from "./ui/command";
import { readEnvironmentApi } from "../environmentApi";
import { useSettings, useUpdateSettings } from "~/hooks/useSettings";
@@ -292,6 +302,7 @@ interface SidebarThreadRowProps {
renamingThreadKey: string | null;
renamingTitle: string;
setRenamingTitle: (title: string) => void;
startThreadRename: (threadKey: string, title: string) => void;
renamingInputRef: React.RefObject<HTMLInputElement | null>;
renamingCommittedRef: React.RefObject<boolean>;
confirmingArchiveThreadKey: string | null;
@@ -319,7 +330,7 @@ interface SidebarThreadRowProps {
openPrLink: (event: React.MouseEvent<HTMLElement>, prUrl: string) => void;
}
const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowProps) {
export const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowProps) {
const {
orderedProjectThreadKeys,
isActive,
@@ -328,6 +339,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
renamingThreadKey,
renamingTitle,
setRenamingTitle,
startThreadRename,
renamingInputRef,
renamingCommittedRef,
confirmingArchiveThreadKey,
@@ -352,6 +364,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
environmentId: thread.environmentId,
threadId: thread.id,
});
const isMobile = useIsMobile();
const discoveredPorts = useThreadDiscoveredPorts({
environmentId: thread.environmentId,
threadId: thread.id,
@@ -437,6 +450,24 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
},
[discoveredPorts, navigateToThread, threadRef],
);
const handleRowDoubleClick = useCallback(
(event: React.MouseEvent) => {
// Already renaming this row: a double-click on the row chrome (outside the
// input) must not restart and discard the in-progress edit.
if (renamingThreadKey === threadKey) return;
// On mobile the first tap navigates and closes the sidebar sheet, so the
// inline rename can't be shown. Renaming there stays on the context menu.
if (isMobile) return;
// cmd/ctrl/shift double-clicks are multi-select intent, not rename.
if (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;
// Ignore double-clicks bubbling from nested controls (PR status, port,
// archive buttons) — only the row body should enter inline rename.
if ((event.target as HTMLElement).closest("button, a")) return;
event.preventDefault();
startThreadRename(threadKey, thread.title);
},
[isMobile, renamingThreadKey, startThreadRename, threadKey, thread.title],
);
const handleRowKeyDown = useCallback(
(event: React.KeyboardEvent) => {
if (event.key !== "Enter" && event.key !== " ") return;
@@ -510,6 +541,9 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
void commitRename(threadRef, renamingTitle, thread.title);
}
}, [commitRename, renamingCommittedRef, renamingTitle, thread.title, threadRef]);
// Keep clicks/double-clicks inside the rename input from bubbling to the row.
// Without stopping `dblclick`, double-clicking to select a word would re-fire
// the row's rename handler and reset the in-progress edit back to the title.
const handleRenameInputClick = useCallback((event: React.MouseEvent<HTMLInputElement>) => {
event.stopPropagation();
}, []);
@@ -576,6 +610,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
isSelected,
})} relative isolate`}
onClick={handleRowClick}
onDoubleClick={handleRowDoubleClick}
onKeyDown={handleRowKeyDown}
onContextMenu={handleRowContextMenu}
>
@@ -607,6 +642,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
onKeyDown={handleRenameInputKeyDown}
onBlur={handleRenameInputBlur}
onClick={handleRenameInputClick}
onDoubleClick={handleRenameInputClick}
/>
) : (
<Tooltip>
@@ -789,6 +825,7 @@ interface SidebarProjectThreadListProps {
renamingThreadKey: string | null;
renamingTitle: string;
setRenamingTitle: (title: string) => void;
startThreadRename: (threadKey: string, title: string) => void;
renamingInputRef: React.RefObject<HTMLInputElement | null>;
renamingCommittedRef: React.RefObject<boolean>;
confirmingArchiveThreadKey: string | null;
@@ -839,6 +876,7 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
renamingThreadKey,
renamingTitle,
setRenamingTitle,
startThreadRename,
renamingInputRef,
renamingCommittedRef,
confirmingArchiveThreadKey,
@@ -890,6 +928,7 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
renamingThreadKey={renamingThreadKey}
renamingTitle={renamingTitle}
setRenamingTitle={setRenamingTitle}
startThreadRename={startThreadRename}
renamingInputRef={renamingInputRef}
renamingCommittedRef={renamingCommittedRef}
confirmingArchiveThreadKey={confirmingArchiveThreadKey}
@@ -1626,6 +1665,13 @@ const SidebarProjectItem = memo(function SidebarProjectItem(props: SidebarProjec
return;
}
// Ignore the trailing click of a plain double-click so it doesn't navigate
// while a double-click is starting an inline rename. Placed after the
// modifier branches so cmd/shift selection still processes every click.
if (isTrailingDoubleClick(event.detail)) {
return;
}
if (currentSelectionCount > 0) {
clearSelection();
}
@@ -1820,6 +1866,12 @@ const SidebarProjectItem = memo(function SidebarProjectItem(props: SidebarProjec
renamingInputRef.current = null;
}, []);
const startThreadRename = useCallback((threadKey: string, title: string) => {
setRenamingThreadKey(threadKey);
setRenamingTitle(title);
renamingCommittedRef.current = false;
}, []);
const commitRename = useCallback(
async (threadRef: ScopedThreadRef, newTitle: string, originalTitle: string) => {
const threadKey = scopedThreadKey(threadRef);
@@ -1979,9 +2031,7 @@ const SidebarProjectItem = memo(function SidebarProjectItem(props: SidebarProjec
);
if (clicked === "rename") {
setRenamingThreadKey(threadKey);
setRenamingTitle(thread.title);
renamingCommittedRef.current = false;
startThreadRename(threadKey, thread.title);
return;
}
@@ -2029,6 +2079,7 @@ const SidebarProjectItem = memo(function SidebarProjectItem(props: SidebarProjec
markThreadUnread,
memberProjectByScopedKey,
project.cwd,
startThreadRename,
],
);
@@ -2151,6 +2202,7 @@ const SidebarProjectItem = memo(function SidebarProjectItem(props: SidebarProjec
renamingThreadKey={renamingThreadKey}
renamingTitle={renamingTitle}
setRenamingTitle={setRenamingTitle}
startThreadRename={startThreadRename}
renamingInputRef={renamingInputRef}
renamingCommittedRef={renamingCommittedRef}
confirmingArchiveThreadKey={confirmingArchiveThreadKey}
@@ -2511,8 +2563,70 @@ const SidebarChromeHeader = memo(function SidebarChromeHeader({
}: {
isElectron: boolean;
}) {
const headerRef = useRef<HTMLDivElement | null>(null);
const wordmarkRef = useRef<HTMLDivElement | null>(null);
const [isWordmarkVisible, setIsWordmarkVisible] = useState(true);
useLayoutEffect(() => {
if (!isElectron) {
setIsWordmarkVisible(true);
return;
}
const headerElement = headerRef.current;
const wordmarkElement = wordmarkRef.current;
if (!headerElement || !wordmarkElement) {
return;
}
let frame: number | null = null;
const updateWordmarkVisibility = () => {
frame = null;
const style = window.getComputedStyle(headerElement);
const availableWidth =
headerElement.clientWidth -
(Number.parseFloat(style.paddingLeft) || 0) -
(Number.parseFloat(style.paddingRight) || 0);
const requiredWidth = wordmarkElement.getBoundingClientRect().width;
setIsWordmarkVisible(requiredWidth <= availableWidth + 1);
};
const scheduleUpdate = () => {
if (frame !== null) {
return;
}
frame = window.requestAnimationFrame(updateWordmarkVisibility);
};
scheduleUpdate();
const resizeObserver =
typeof ResizeObserver === "undefined"
? null
: new ResizeObserver(() => {
scheduleUpdate();
});
resizeObserver?.observe(headerElement);
resizeObserver?.observe(wordmarkElement);
window.addEventListener("resize", scheduleUpdate);
window.visualViewport?.addEventListener("resize", scheduleUpdate);
return () => {
if (frame !== null) {
window.cancelAnimationFrame(frame);
}
resizeObserver?.disconnect();
window.removeEventListener("resize", scheduleUpdate);
window.visualViewport?.removeEventListener("resize", scheduleUpdate);
};
}, [isElectron]);
const wordmark = (
<div className="flex items-center gap-2">
<div
ref={wordmarkRef}
className={`flex items-center gap-2 ${
isWordmarkVisible ? "" : "invisible pointer-events-none"
}`}
>
<SidebarTrigger className="shrink-0 md:hidden" />
<Tooltip>
<TooltipTrigger
@@ -2540,7 +2654,10 @@ const SidebarChromeHeader = memo(function SidebarChromeHeader({
);
return isElectron ? (
<SidebarHeader className="drag-region h-[52px] flex-row items-center gap-2 px-4 py-0 pl-[90px] wco:h-[env(titlebar-area-height)] wco:pl-[calc(env(titlebar-area-x)+1em)]">
<SidebarHeader
ref={headerRef}
className="drag-region h-[var(--desktop-titlebar-height,52px)] flex-row items-center gap-2 px-4 py-0 pl-[var(--desktop-titlebar-leading-offset,90px)] wco:h-[env(titlebar-area-height)] wco:pl-[calc(env(titlebar-area-x)+1em)]"
>
{wordmark}
</SidebarHeader>
) : (
-33
View File
@@ -3,7 +3,6 @@ import { describe, expect, it } from "vite-plus/test";
import {
resolveMarkdownFileLinkMeta,
resolveMarkdownFileLinkTarget,
resolveMarkdownInlineCodeFileLinkMeta,
rewriteMarkdownFileUriHref,
} from "./markdown-links";
@@ -128,35 +127,3 @@ describe("resolveMarkdownFileLinkTarget", () => {
expect(resolveMarkdownFileLinkTarget("/chat/settings")).toBeNull();
});
});
describe("resolveMarkdownInlineCodeFileLinkMeta", () => {
it("resolves path-shaped inline code with source positions", () => {
expect(
resolveMarkdownInlineCodeFileLinkMeta(
"apps/server/src/provider/Layers/EventNdjsonLogger.ts:148",
"/repo/project",
),
).toMatchObject({
basename: "EventNdjsonLogger.ts",
line: 148,
targetPath: "/repo/project/apps/server/src/provider/Layers/EventNdjsonLogger.ts:148",
workspaceRelativePath: "apps/server/src/provider/Layers/EventNdjsonLogger.ts",
});
});
it("resolves bare filenames only when they include a source position", () => {
expect(resolveMarkdownInlineCodeFileLinkMeta("script.ts:10", "/repo/project")).toMatchObject({
basename: "script.ts",
line: 10,
targetPath: "/repo/project/script.ts:10",
});
expect(resolveMarkdownInlineCodeFileLinkMeta("script.ts", "/repo/project")).toBeNull();
});
it("leaves ordinary code and ambiguous slash values alone", () => {
expect(resolveMarkdownInlineCodeFileLinkMeta("sink.write()", "/repo/project")).toBeNull();
expect(resolveMarkdownInlineCodeFileLinkMeta("1.2.3", "/repo/project")).toBeNull();
expect(resolveMarkdownInlineCodeFileLinkMeta("1/2", "/repo/project")).toBeNull();
expect(resolveMarkdownInlineCodeFileLinkMeta("client/server", "/repo/project")).toBeNull();
});
});
-25
View File
@@ -211,28 +211,3 @@ export function resolveMarkdownFileLinkMeta(
...(columnNumber !== undefined ? { column: columnNumber } : {}),
};
}
/**
* Inline code is used for many non-path values, so only promote references
* with unambiguous path syntax. Markdown links remain more permissive because
* the link destination itself already signals intent.
*/
export function resolveMarkdownInlineCodeFileLinkMeta(
value: string,
cwd?: string,
): MarkdownFileLinkMeta | null {
const candidate = value.trim();
const hasSourcePosition =
POSITION_SUFFIX_PATTERN.test(candidate) || /#L\d+(?:C\d+)?$/i.test(candidate);
if (!/[\\/]/.test(candidate) && !hasSourcePosition) {
return null;
}
const meta = resolveMarkdownFileLinkMeta(candidate, cwd);
if (!meta) {
return null;
}
if (!/[A-Za-z]/.test(meta.basename) || (!meta.basename.includes(".") && !hasSourcePosition)) {
return null;
}
return meta;
}
+1 -1
View File
@@ -40,7 +40,7 @@ export type SidebarThreadPreviewCount = typeof SidebarThreadPreviewCount.Type;
export const DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT: SidebarThreadPreviewCount = 6;
export const ClientSettingsSchema = Schema.Struct({
autoOpenPlanSidebar: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(true))),
autoOpenPlanSidebar: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(false))),
confirmThreadArchive: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(false))),
confirmThreadDelete: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(true))),
dismissedProviderUpdateNotificationKeys: Schema.Array(TrimmedNonEmptyString).pipe(
+31
View File
@@ -1,3 +1,34 @@
diff --git a/dist/unstable/ai/McpServer.js b/dist/unstable/ai/McpServer.js
index 4819ff0..f5e0f60 100644
--- a/dist/unstable/ai/McpServer.js
+++ b/dist/unstable/ai/McpServer.js
@@ -235,6 +235,26 @@ export const run = /*#__PURE__*/Effect.fnUntraced(function* (options) {
const server = yield* McpServer;
const isHttp = Option.isSome(yield* Effect.serviceOption(HttpRouter.HttpRouter));
const clientSessions = new Map();
+ if (isHttp && options.path !== undefined) {
+ const router = yield* HttpRouter.HttpRouter;
+ yield* router.add("DELETE", options.path, Effect.gen(function* () {
+ const request = yield* HttpServerRequest.HttpServerRequest;
+ const sessionId = request.headers[mcpSessionIdHeader];
+ if (sessionId === undefined) {
+ return HttpServerResponse.empty({
+ status: 400
+ });
+ }
+ if (!clientSessions.delete(sessionId)) {
+ return HttpServerResponse.empty({
+ status: 404
+ });
+ }
+ return HttpServerResponse.empty({
+ status: 204
+ });
+ }));
+ }
const handlers = yield* Layer.build(layerHandlers(options, {
clientSessions
}));
diff --git a/dist/unstable/rpc/RpcClient.d.ts b/dist/unstable/rpc/RpcClient.d.ts
index b0f61df..ead663e 100644
--- a/dist/unstable/rpc/RpcClient.d.ts
+118 -118
View File
@@ -73,7 +73,7 @@ patchedDependencies:
hash: f5d41705ce94bbafc731d92e9cb1671db710df046dd135cb894e3e3e9164a75b
path: patches/@pierre%[email protected]
[email protected]:
hash: 883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754
hash: c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5
path: patches/[email protected]
[email protected]:
hash: 825622aae63a8fb5b904f3c77908a0e216261d727ea171709f2c0b6088422675
@@ -106,7 +106,7 @@ importers:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@t3tools/client-runtime':
specifier: workspace:*
version: link:../../packages/client-runtime
@@ -124,7 +124,7 @@ importers:
version: link:../../packages/tailscale
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
electron:
specifier: 41.5.0
version: 41.5.0
@@ -140,7 +140,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -183,7 +183,7 @@ importers:
version: 3.4.1([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[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]))(@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]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])
'@effect/atom-react':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@expo-google-fonts/dm-sans':
specifier: ^0.4.2
version: 0.4.2
@@ -243,7 +243,7 @@ importers:
version: 8.0.3
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
expo:
specifier: ^56.0.0
version: 56.0.8(@babel/[email protected])(@expo/[email protected])(@expo/[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](@babel/[email protected])(@react-native/[email protected](@babel/[email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])([email protected])([email protected])
@@ -373,7 +373,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@pierre/trees':
specifier: 1.0.0-beta.4
version: 1.0.0-beta.4([email protected]([email protected]))([email protected])
@@ -397,16 +397,16 @@ importers:
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.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@effect/platform-node-shared':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])
'@effect/sql-sqlite-bun':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@ff-labs/fff-node':
specifier: 0.9.4
version: 0.9.4(patch_hash=2b16019ce7ab61aec6478dd02f79ef468cc1d5c51e9d00764f7d2ab8167210c8)
@@ -418,14 +418,14 @@ importers:
version: 1.3.0-beta.4(patch_hash=f5d41705ce94bbafc731d92e9cb1671db710df046dd135cb894e3e3e9164a75b)(@shikijs/[email protected])([email protected]([email protected]))([email protected])
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
node-pty:
specifier: ^1.1.0
version: 1.1.0
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@t3tools/contracts':
specifier: workspace:*
version: link:../../packages/contracts
@@ -479,7 +479,7 @@ importers:
version: 3.2.2([email protected])
'@effect/atom-react':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@fontsource-variable/dm-sans':
specifier: ^5.2.8
version: 5.2.8
@@ -530,7 +530,7 @@ importers:
version: 0.7.1
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
jose:
specifier: 'catalog:'
version: 6.2.2
@@ -570,10 +570,10 @@ importers:
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@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])
@@ -627,7 +627,7 @@ importers:
version: 3.6.1([email protected]([email protected]))([email protected])
'@effect/sql-pg':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@t3tools/client-runtime':
specifier: workspace:*
version: link:../../packages/client-runtime
@@ -639,23 +639,23 @@ importers:
version: link:../../packages/shared
alchemy:
specifier: https://pkg.ing/alchemy/078ff00
version: https://pkg.ing/alchemy/078ff00(044daa5923befe9f328e27c790bb74e1)
version: https://pkg.ing/alchemy/078ff00(c6ed9425e2527ee8a94fe8655db2a250)
drizzle-orm:
specifier: 1.0.0-rc.3
version: 1.0.0-rc.3(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected](@types/[email protected]))([email protected])([email protected])
version: 1.0.0-rc.3(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected](@types/[email protected]))([email protected])([email protected])
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
devDependencies:
'@cloudflare/workers-types':
specifier: ^4.20260601.1
version: 4.20260604.1
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -673,17 +673,17 @@ importers:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@oxlint/plugins':
specifier: ^1.63.0
version: 1.68.0
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
vite-plus:
specifier: 'catalog:'
version: 0.1.24(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])
@@ -698,11 +698,11 @@ importers:
version: link:../shared
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
vite-plus:
specifier: 'catalog:'
version: 0.1.24(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])
@@ -711,11 +711,11 @@ importers:
dependencies:
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
vite-plus:
specifier: 'catalog:'
version: 0.1.24(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])
@@ -724,17 +724,17 @@ importers:
dependencies:
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
devDependencies:
'@effect/openapi-generator':
specifier: 'catalog:'
version: 4.0.0-beta.78(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected]))([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected]))([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -746,17 +746,17 @@ importers:
dependencies:
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
devDependencies:
'@effect/openapi-generator':
specifier: 'catalog:'
version: 4.0.0-beta.78(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected]))([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected]))([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -777,7 +777,7 @@ importers:
version: link:../contracts
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
jose:
specifier: 'catalog:'
version: 6.2.2
@@ -787,10 +787,10 @@ importers:
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -808,14 +808,14 @@ importers:
version: link:../shared
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -827,17 +827,17 @@ importers:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@t3tools/shared':
specifier: workspace:*
version: link:../shared
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -849,7 +849,7 @@ importers:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@t3tools/contracts':
specifier: workspace:*
version: link:../packages/contracts
@@ -858,14 +858,14 @@ importers:
version: link:../packages/shared
effect:
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
version: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
yaml:
specifier: ^2.9.0
version: 2.9.0
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
vite-plus:
specifier: 'catalog:'
version: 0.1.24(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])
@@ -10975,24 +10975,24 @@ snapshots:
ajv: 6.15.0
ajv-keywords: 3.5.2([email protected])
'@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
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.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@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.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
fast-xml-parser: 5.8.0
'@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
'@distilled.cloud/[email protected]([email protected])([email protected])':
dependencies:
@@ -11004,51 +11004,51 @@ snapshots:
transitivePeerDependencies:
- workerd
'@distilled.cloud/[email protected](@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected]))([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@distilled.cloud/[email protected](@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)))(@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected]))([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
'@alchemy.run/node-utils': 0.0.4
'@distilled.cloud/cloudflare': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/cloudflare': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
capnweb: 0.7.0
chokidar: 4.0.3
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
workerd: 1.20260526.1
xdg-app-paths: 8.3.0
optionalDependencies:
'@effect/platform-bun': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/platform-bun': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@distilled.cloud/[email protected](874b2206c1318ea354f257cb5515510e)':
'@distilled.cloud/[email protected](1a78211785aa6331880fcdb516c7c682)':
dependencies:
'@distilled.cloud/cloudflare': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/cloudflare': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@distilled.cloud/cloudflare-rolldown-plugin': 0.10.5([email protected])([email protected])
'@distilled.cloud/cloudflare-runtime': 0.10.5(@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected]))([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
'@distilled.cloud/cloudflare-runtime': 0.10.5(@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)))(@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected]))([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
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.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/platform-bun': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
transitivePeerDependencies:
- rolldown
- workerd
'@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
'@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
'@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
'@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
'@dnd-kit/[email protected]([email protected])':
dependencies:
@@ -11084,44 +11084,44 @@ snapshots:
'@drizzle-team/[email protected]': {}
'@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])':
'@effect/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])':
dependencies:
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
react: 19.2.3
scheduler: 0.27.0
'@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])':
'@effect/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])':
dependencies:
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
react: 19.2.6
scheduler: 0.27.0
'@effect/[email protected](@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected]))([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@effect/[email protected](@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected]))([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
'@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])':
'@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])':
dependencies:
'@effect/platform-node-shared': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
'@effect/platform-node-shared': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
transitivePeerDependencies:
- bufferutil
- utf-8-validate
'@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])':
'@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])':
dependencies:
'@types/ws': 8.18.1
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
ws: 8.21.0([email protected])([email protected])
transitivePeerDependencies:
- bufferutil
- utf-8-validate
'@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])':
'@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])':
dependencies:
'@effect/platform-node-shared': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
'@effect/platform-node-shared': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
ioredis: 5.11.0
mime: 4.1.0
undici: 8.3.0
@@ -11129,9 +11129,9 @@ snapshots:
- bufferutil
- utf-8-validate
'@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@effect/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
pg: 8.21.0
pg-connection-string: 2.12.0
pg-cursor: 2.20.0([email protected])
@@ -11140,9 +11140,9 @@ snapshots:
transitivePeerDependencies:
- pg-native
'@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@effect/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
'@effect/[email protected]':
optional: true
@@ -11175,9 +11175,9 @@ snapshots:
'@effect/tsgo-win32-arm64': 0.13.2
'@effect/tsgo-win32-x64': 0.13.2
'@effect/[email protected](patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
'@effect/[email protected](patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))':
dependencies:
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
'@egjs/[email protected]':
dependencies:
@@ -14229,21 +14229,21 @@ snapshots:
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
alchemy@https://pkg.ing/alchemy/078ff00(044daa5923befe9f328e27c790bb74e1):
alchemy@https://pkg.ing/alchemy/078ff00(c6ed9425e2527ee8a94fe8655db2a250):
dependencies:
'@alchemy.run/node-utils': 0.0.4
'@aws-sdk/credential-providers': 3.1062.0
'@clack/prompts': 0.11.0
'@distilled.cloud/aws': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/axiom': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/cloudflare': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/aws': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@distilled.cloud/axiom': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@distilled.cloud/cloudflare': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@distilled.cloud/cloudflare-rolldown-plugin': 0.10.5([email protected])([email protected])
'@distilled.cloud/cloudflare-runtime': 0.10.5(@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected]))([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/cloudflare-vite-plugin': 0.10.5(874b2206c1318ea354f257cb5515510e)
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/neon': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/planetscale': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@effect/vitest': 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/cloudflare-runtime': 0.10.5(@distilled.cloud/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)))(@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected]))([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@distilled.cloud/cloudflare-vite-plugin': 0.10.5(1a78211785aa6331880fcdb516c7c682)
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@distilled.cloud/neon': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@distilled.cloud/planetscale': 0.23.1([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@effect/vitest': 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@libsql/client': 0.17.3([email protected])([email protected])
'@octokit/rest': 22.0.1
'@smithy/node-config-provider': 4.4.6
@@ -14252,7 +14252,7 @@ snapshots:
'@types/aws-lambda': 8.10.161
aws4fetch: 1.0.20
capnweb: 0.6.1
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
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])
@@ -14268,11 +14268,11 @@ snapshots:
undici: 7.27.1
yaml: 2.9.0
optionalDependencies:
'@effect/platform-bun': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/sql-pg': 4.0.0-beta.78([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@effect/platform-bun': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected])([email protected])
'@effect/sql-pg': 4.0.0-beta.78([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
drizzle-kit: 1.0.0-rc.3
drizzle-orm: 1.0.0-rc.3(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected](@types/[email protected]))([email protected])([email protected])
drizzle-orm: 1.0.0-rc.3(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([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:
@@ -15215,13 +15215,13 @@ snapshots:
get-tsconfig: 4.14.0
jiti: 2.7.0
[email protected](@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected](@types/[email protected]))([email protected])([email protected]):
[email protected](@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))([email protected](@types/[email protected]))([email protected])([email protected]):
optionalDependencies:
'@cloudflare/workers-types': 4.20260604.1
'@effect/sql-pg': 4.0.0-beta.78([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@effect/sql-pg': 4.0.0-beta.78([email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5))
'@libsql/client': 0.17.3([email protected])([email protected])
bun-types: 1.3.14
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
effect: 4.0.0-beta.78(patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5)
mysql2: 3.22.4(@types/[email protected])
pg: 8.21.0
zod: 4.4.3
@@ -15236,7 +15236,7 @@ snapshots:
[email protected]: {}
[email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754):
[email protected](patch_hash=c502bc684210b707dfceb87d8fe6ad6843395af6e19cfc02cd65854898bde2c5):
dependencies:
'@standard-schema/spec': 1.1.0
fast-check: 4.8.0