Skip to content

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

fix: prevent reconnect loops during server stalls (#5561)

Gabe Fletcherae7b27de824e
diff --git a/apps/server/src/process/externalLauncher.test.ts b/apps/server/src/process/externalLauncher.test.ts
index 43ca40e9c..36ef82643 100644
--- a/apps/server/src/process/externalLauncher.test.ts
+++ b/apps/server/src/process/externalLauncher.test.ts
@@ -7,6 +7,7 @@ import * as Layer from "effect/Layer";
import * as Path from "effect/Path";
import * as Sink from "effect/Sink";
import * as Stream from "effect/Stream";
+import * as TestClock from "effect/testing/TestClock";
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
import { HostProcessPlatform } from "@t3tools/shared/hostProcess";
@@ -155,6 +156,66 @@ it.effect("discovers editors through the service API", () =>
}).pipe(Effect.scoped, Effect.provide(NodeServices.layer)),
);
+it.effect("memoizes editor discovery and refreshes after the cache window", () => {
+ let statCalls = 0;
+ const fileInfo = { type: "File" } as FileSystem.File.Info;
+ const launcherLayer = ExternalLauncher.layer.pipe(
+ Layer.provide(
+ Layer.mergeAll(
+ FileSystem.layerNoop({
+ stat: () =>
+ Effect.sync(() => {
+ statCalls += 1;
+ return fileInfo;
+ }),
+ }),
+ Path.layer,
+ Layer.succeed(
+ ChildProcessSpawner.ChildProcessSpawner,
+ ChildProcessSpawner.make(() => Effect.sync(() => makeMockDetachedHandle())),
+ ),
+ ),
+ ),
+ );
+
+ return Effect.gen(function* () {
+ const launcher = yield* ExternalLauncher.ExternalLauncher;
+
+ const first = yield* launcher.resolveAvailableEditors();
+ assert.equal(first.includes("vscode"), true);
+ const statCallsAfterFirstScan = statCalls;
+ assert.isAbove(statCallsAfterFirstScan, 0);
+
+ // Past the shared command-resolution cache TTL (30s) but within the
+ // discovery cache window: the memoized set is reused without any scan.
+ yield* TestClock.adjust("31 seconds");
+ const second = yield* launcher.resolveAvailableEditors();
+ assert.deepEqual([...second], [...first]);
+ assert.equal(statCalls, statCallsAfterFirstScan);
+
+ // Past the discovery cache window the next call rescans.
+ yield* TestClock.adjust("30 seconds");
+ yield* launcher.resolveAvailableEditors();
+ assert.isAbove(statCalls, statCallsAfterFirstScan);
+ }).pipe(
+ Effect.provide(
+ Layer.mergeAll(
+ launcherLayer,
+ Layer.succeed(HostProcessPlatform, "win32"),
+ ConfigProvider.layer(
+ ConfigProvider.fromEnv({
+ env: {
+ PATH: "C:\\t3-editor-discovery-cache-test",
+ PATHEXT: ".COM;.EXE;.BAT;.CMD",
+ },
+ }),
+ ),
+ TestClock.layer(),
+ ),
+ ),
+ );
+});
+
it.effect("rejects unknown editors through the service API", () =>
Effect.gen(function* () {
const launcher = yield* ExternalLauncher.ExternalLauncher;
diff --git a/apps/server/src/process/externalLauncher.ts b/apps/server/src/process/externalLauncher.ts
index 9c2f0e417..2cac42f0f 100644
--- a/apps/server/src/process/externalLauncher.ts
+++ b/apps/server/src/process/externalLauncher.ts
@@ -298,6 +298,12 @@ const resolveAvailableEditors = Effect.fn("externalLauncher.resolveAvailableEdit
return yield* buildAvailableEditors(platform, env);
});
+// Editor discovery walks PATH for every known editor and runs for every
+// client connect (the server config embeds the available editors). Memoize
+// the discovered set for a bounded window so repeat connects skip even the
+// per-command cache lookups in @t3tools/shared/shell.
+const EDITOR_DISCOVERY_CACHE_TTL = "60 seconds";
+
/**
* ExternalLauncher - Service tag for browser/editor launch operations.
*/
@@ -443,8 +449,13 @@ export const make = Effect.gen(function* () {
Effect.provideService(Path.Path, path),
);
+ const cachedAvailableEditors = yield* Effect.cachedWithTTL(
+ provideCommandResolutionServices(resolveAvailableEditors()),
+ EDITOR_DISCOVERY_CACHE_TTL,
+ );
+
return ExternalLauncher.of({
- resolveAvailableEditors: () => provideCommandResolutionServices(resolveAvailableEditors()),
+ resolveAvailableEditors: () => cachedAvailableEditors,
launchBrowser: (target) =>
launchBrowser(target).pipe(
Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, spawner),
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index f17e7021c..708a97be5 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -4732,12 +4732,21 @@ function ChatViewContent(props: ChatViewProps) {
isSendBusy ||
isConnecting ||
threadDetailLoading ||
- activeEnvironmentUnavailable ||
sendInFlightRef.current
) {
notifyDirectAnnotationAttached();
return;
}
+ if (activeEnvironmentUnavailable) {
+ toastManager.add(
+ stackedThreadToast({
+ type: "warning",
+ title: "Not connected: message not sent",
+ description: "Reconnecting to the environment. Try again once it is connected.",
+ }),
+ );
+ return;
+ }
if (activePendingProgress) {
if (directAnnotation) {
notifyDirectAnnotationAttached();
diff --git a/packages/client-runtime/src/connection/supervisor.test.ts b/packages/client-runtime/src/connection/supervisor.test.ts
index a92585904..5e50c44d9 100644
--- a/packages/client-runtime/src/connection/supervisor.test.ts
+++ b/packages/client-runtime/src/connection/supervisor.test.ts
@@ -248,7 +248,7 @@ describe("EnvironmentSupervisor", () => {
const firstAttempt = spans.find((span) => span.name === "relay.connection.attempt");
expect(firstAttempt).toBeDefined();
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* awaitState(supervisor.state, (state) => state.phase === "connected");
const attempts = spans.filter((span) => span.name === "relay.connection.attempt");
@@ -358,7 +358,7 @@ describe("EnvironmentSupervisor", () => {
);
expect(yield* Ref.get(harness.prepareCount)).toBe(1);
- for (const [index, delay] of [1_000, 2_000, 4_000, 8_000, 16_000, 16_000].entries()) {
+ for (const [index, delay] of [3_000, 4_000, 8_000, 16_000, 16_000, 16_000].entries()) {
yield* TestClock.adjust(delay);
yield* eventuallyState(
supervisor.state,
@@ -384,7 +384,7 @@ describe("EnvironmentSupervisor", () => {
supervisor.state,
(state) => state.phase === "backoff" && state.attempt === 1,
);
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
const retrying = yield* awaitState(
supervisor.state,
@@ -489,7 +489,7 @@ describe("EnvironmentSupervisor", () => {
},
});
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* awaitState(supervisor.state, (state) => state.phase === "connected");
expect(yield* Ref.get(harness.prepareCount)).toBe(2);
}).pipe(Effect.provide(TestClock.layer())),
@@ -526,7 +526,7 @@ describe("EnvironmentSupervisor", () => {
supervisor.state,
(state) => state.phase === "backoff" && state.attempt === 1,
);
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* eventuallyState(
supervisor.state,
(state) => state.phase === "backoff" && state.attempt === 2,
@@ -539,7 +539,7 @@ describe("EnvironmentSupervisor", () => {
);
expect(yield* Ref.get(harness.prepareCount)).toBe(3);
- yield* TestClock.adjust("999 millis");
+ yield* TestClock.adjust("2999 millis");
expect(yield* Ref.get(harness.prepareCount)).toBe(3);
yield* TestClock.adjust("1 milli");
yield* eventuallyState(
@@ -588,7 +588,7 @@ describe("EnvironmentSupervisor", () => {
supervisor.state,
(state) => state.phase === "backoff" && state.attempt === 1,
);
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* awaitState(
supervisor.state,
(state) => state.phase === "blocked" && state.attempt === 2,
@@ -703,7 +703,7 @@ describe("EnvironmentSupervisor", () => {
);
expect(Option.isNone(yield* SubscriptionRef.get(supervisor.prepared))).toBe(true);
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* awaitState(
supervisor.state,
(state) => state.phase === "connected" && state.generation === 2,
@@ -728,7 +728,7 @@ describe("EnvironmentSupervisor", () => {
(state) => state.phase === "backoff" && state.attempt === 1,
);
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* awaitState(
supervisor.state,
(state) => state.phase === "connected" && state.generation === 2,
@@ -741,7 +741,7 @@ describe("EnvironmentSupervisor", () => {
expect(secondFailure.retryAt).not.toBeNull();
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
expect(yield* Ref.get(harness.sessionCount)).toBe(2);
yield* TestClock.adjust("1 second");
@@ -766,7 +766,7 @@ describe("EnvironmentSupervisor", () => {
supervisor.state,
(state) => state.phase === "backoff" && state.attempt === 1,
);
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* awaitState(
supervisor.state,
(state) => state.phase === "connected" && state.generation === 2,
@@ -805,7 +805,7 @@ describe("EnvironmentSupervisor", () => {
supervisor.state,
(state) => state.phase === "backoff" && state.attempt === 1,
);
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* awaitState(
supervisor.state,
(state) => state.phase === "connected" && state.generation === 2 && state.attempt === 2,
@@ -834,7 +834,7 @@ describe("EnvironmentSupervisor", () => {
supervisor.state,
(state) => state.phase === "backoff" && state.attempt === 1,
);
- yield* TestClock.adjust("1 second");
+ yield* TestClock.adjust("3 seconds");
yield* awaitState(
supervisor.state,
(state) => state.phase === "connecting" && state.attempt === 2,
@@ -925,9 +925,14 @@ describe("EnvironmentSupervisor", () => {
}),
);
- it.effect("reconnects when the foreground liveness probe fails", () =>
+ it.effect("reconnects immediately when the foreground liveness probe fails", () =>
Effect.gen(function* () {
+ const allowReconnect = yield* Deferred.make<void>();
const harness = yield* makeHarness({
+ prepare: (attempt) =>
+ attempt === 2
+ ? Deferred.await(allowReconnect).pipe(Effect.as(PREPARED_CONNECTION))
+ : Effect.succeed(PREPARED_CONNECTION),
probe: (attempt) =>
attempt === 1 ? Effect.fail(transient("The live session is stale.")) : Effect.void,
});
@@ -937,15 +942,77 @@ describe("EnvironmentSupervisor", () => {
yield* awaitState(supervisor.state, (state) => state.phase === "connected");
yield* harness.wake("application-active");
- yield* awaitState(supervisor.state, (state) => state.phase === "backoff");
- yield* TestClock.adjust("1 second");
+ const reconnecting = yield* awaitState(
+ supervisor.state,
+ (state) => state.phase === "connecting",
+ );
+ expect(reconnecting.attempt).toBe(1);
+ expect(Option.isNone(yield* SubscriptionRef.get(supervisor.session))).toBe(true);
+
+ // No TestClock advance: a failed wake probe skips the first backoff rung.
+ yield* Deferred.succeed(allowReconnect, undefined);
+ yield* awaitState(
+ supervisor.state,
+ (state) => state.phase === "connected" && state.generation === 2 && state.attempt === 1,
+ );
+
+ expect(yield* Ref.get(harness.sessionCount)).toBe(2);
+ expect(yield* Ref.get(harness.releaseCount)).toBe(1);
+ }).pipe(Effect.provide(TestClock.layer())),
+ );
+
+ it.effect("keeps normal backoff when a reconnect after a failed wake probe also fails", () =>
+ Effect.gen(function* () {
+ const harness = yield* makeHarness({
+ prepare: (attempt) =>
+ attempt === 2 ? Effect.fail(transient()) : Effect.succeed(PREPARED_CONNECTION),
+ probe: (attempt) =>
+ attempt === 1 ? Effect.fail(transient("The live session is stale.")) : Effect.void,
+ });
+ const supervisor = yield* EnvironmentSupervisor.make(TARGET_ENTRY, {
+ initiallyDesired: true,
+ }).pipe(Effect.provide(harness.dependencies));
+
+ yield* awaitState(supervisor.state, (state) => state.phase === "connected");
+ yield* harness.wake("application-active");
+ // The immediate follow-up attempt fails: only the first attempt after
+ // the wake probe skips the ladder, so this failure backs off normally.
+ yield* awaitState(
+ supervisor.state,
+ (state) => state.phase === "backoff" && state.attempt === 1,
+ );
+ yield* TestClock.adjust("2999 millis");
+ expect(yield* Ref.get(harness.prepareCount)).toBe(2);
+ yield* TestClock.adjust("1 milli");
yield* eventuallyState(
supervisor.state,
(state) => state.phase === "connected" && state.generation === 2,
);
+ expect(yield* Ref.get(harness.prepareCount)).toBe(3);
+ }).pipe(Effect.provide(TestClock.layer())),
+ );
+
+ it.effect("uses the full tolerance window for a stalled desktop foreground probe", () =>
+ Effect.gen(function* () {
+ const harness = yield* makeHarness({
+ probe: (attempt) => (attempt === 1 ? Effect.never : Effect.void),
+ });
+ const supervisor = yield* EnvironmentSupervisor.make(TARGET_ENTRY, {
+ initiallyDesired: true,
+ }).pipe(Effect.provide(harness.dependencies));
+
+ yield* awaitState(supervisor.state, (state) => state.phase === "connected");
+ yield* harness.wake("application-active");
+ yield* TestClock.adjust("14999 millis");
+ expect(yield* Ref.get(harness.sessionCount)).toBe(1);
+ yield* TestClock.adjust("1 milli");
+ yield* awaitState(
+ supervisor.state,
+ (state) => state.phase === "connected" && state.generation === 2 && state.attempt === 1,
+ );
+
expect(yield* Ref.get(harness.sessionCount)).toBe(2);
- expect(yield* Ref.get(harness.releaseCount)).toBe(1);
}).pipe(Effect.provide(TestClock.layer())),
);
@@ -961,15 +1028,14 @@ describe("EnvironmentSupervisor", () => {
yield* awaitState(supervisor.state, (state) => state.phase === "connected");
yield* harness.wake("application-active-probe");
yield* TestClock.adjust("3 seconds");
+ // The timed-out wake probe reconnects immediately without a backoff
+ // sleep: no further clock advance is needed.
yield* awaitState(
supervisor.state,
- (state) => state.phase === "backoff" && state.lastFailure?.reason === "timeout",
- );
- yield* TestClock.adjust("1 second");
- yield* eventuallyState(
- supervisor.state,
- (state) => state.phase === "connected" && state.generation === 2,
+ (state) => state.phase === "connected" && state.generation === 2 && state.attempt === 1,
);
+
+ expect(yield* Ref.get(harness.sessionCount)).toBe(2);
}).pipe(Effect.provide(TestClock.layer())),
);
diff --git a/packages/client-runtime/src/connection/supervisor.ts b/packages/client-runtime/src/connection/supervisor.ts
index 2a9c75190..85fda10ef 100644
--- a/packages/client-runtime/src/connection/supervisor.ts
+++ b/packages/client-runtime/src/connection/supervisor.ts
@@ -29,7 +29,7 @@ import * as RpcSession from "../rpc/session.ts";
import { safeErrorLogAttributes } from "../errors/safeLog.ts";
import * as ConnectionWakeups from "./wakeups.ts";
-const RETRY_DELAYS_MS = [1_000, 2_000, 4_000, 8_000, 16_000] as const;
+const RETRY_DELAYS_MS = [3_000, 4_000, 8_000, 16_000] as const;
const CONNECTION_ESTABLISHMENT_TIMEOUT = "15 seconds";
const CONNECTION_PROBE_TIMEOUT = "15 seconds";
const MOBILE_CONNECTION_PROBE_TIMEOUT = "3 seconds";
@@ -232,6 +232,10 @@ export const make = Effect.fn("EnvironmentSupervisor.make")(function* (
const intent = yield* Ref.make(initialIntent);
const signals = yield* Queue.unbounded<SupervisorSignal>();
const resetRetryState = yield* Ref.make(false);
+ // Set when a foreground wake probe fails or times out: the user is actively
+ // returning to the app on a dead transport, so the follow-up reconnect skips
+ // the first backoff rung instead of sleeping.
+ const wakeProbeFailed = yield* Ref.make(false);
const state = yield* SubscriptionRef.make<SupervisorConnectionState>(
!initialIntent.desired
? availableState(initialIntent, 0)
@@ -441,6 +445,9 @@ export const make = Effect.fn("EnvironmentSupervisor.make")(function* (
),
);
if (probeEvent._tag === "ProbeCompleted") {
+ if (Exit.isFailure(probeEvent.exit)) {
+ yield* Ref.set(wakeProbeFailed, true);
+ }
yield* probeEvent.exit;
break;
}
@@ -673,6 +680,9 @@ export const make = Effect.fn("EnvironmentSupervisor.make")(function* (
const outcome: AttemptOutcome = yield* Effect.scoped(
runAttempt(attempt, nextGeneration, latestFailure, pendingRetry),
);
+ // Consumed on every iteration so a stale marker can never leak into a
+ // later, unrelated failure.
+ const failedWakeProbe = yield* Ref.getAndSet(wakeProbeFailed, false);
if (outcome.established) {
generation = nextGeneration;
if (outcome.stable) {
@@ -709,6 +719,16 @@ export const make = Effect.fn("EnvironmentSupervisor.make")(function* (
continue;
}
+ if (failedWakeProbe) {
+ // The wake probe found a dead transport while the user is returning to
+ // the app, so reconnect immediately instead of sleeping the first
+ // backoff rung. Only this first attempt skips the ladder; if it fails
+ // too, normal backoff resumes.
+ resetRetryLadder();
+ yield* setState(connectingState(yield* Ref.get(intent), generation, 1, error));
+ continue;
+ }
+
failureCount += 1;
const delayMs = retryDelayMs(failureCount - 1);
pendingRetry = Option.map(attemptSpan, (previousAttempt) => ({
diff --git a/packages/client-runtime/src/rpc/session.test.ts b/packages/client-runtime/src/rpc/session.test.ts
index f7868834b..0af5850bf 100644
--- a/packages/client-runtime/src/rpc/session.test.ts
+++ b/packages/client-runtime/src/rpc/session.test.ts
@@ -287,6 +287,33 @@ describe("RpcSessionFactory", () => {
}),
);
+ it.effect("tolerates two missed pong windows before closing the session", () =>
+ Effect.gen(function* () {
+ const { factory, sockets } = yield* makeFactory();
+ const session = yield* factory.connect(PREPARED);
+ const readyFiber = yield* Effect.forkChild(session.ready);
+ const closedFiber = yield* Effect.forkChild(Effect.flip(session.closed));
+ const socket = yield* awaitSocket(sockets);
+
+ socket.open();
+ yield* completeInitialConfig(socket);
+ yield* Fiber.join(readyFiber);
+
+ yield* TestClock.adjust("15 seconds");
+ expect(closedFiber.pollUnsafe()).toBeUndefined();
+ expect(socket.sent.slice(1).map((request) => decodeJson(request))).toEqual([
+ { _tag: "Ping" },
+ { _tag: "Ping" },
+ { _tag: "Ping" },
+ ]);
+
+ yield* TestClock.adjust("5 seconds");
+ const error = yield* Fiber.join(closedFiber);
+ expect(error).toBeInstanceOf(ConnectionTransientError);
+ expect(error).toMatchObject({ reason: "transport" });
+ }).pipe(Effect.scoped, Effect.provide(TestClock.layer())),
+ );
+
it.effect("reaches ready when a newer server sends unknown config members", () =>
Effect.gen(function* () {
const { factory, sockets } = yield* makeFactory();
diff --git a/packages/client-runtime/src/state/shell-sync.test.ts b/packages/client-runtime/src/state/shell-sync.test.ts
index e006fc3cd..40e9bd80d 100644
--- a/packages/client-runtime/src/state/shell-sync.test.ts
+++ b/packages/client-runtime/src/state/shell-sync.test.ts
@@ -150,34 +150,34 @@ describe("environment shell synchronization", () => {
}),
);
- it.effect("replaces a warm shell cache with an authoritative HTTP snapshot", () =>
+ it.effect("requests a full socket snapshot when the HTTP refresh fails", () =>
Effect.gen(function* () {
const cachedSnapshot: OrchestrationShellSnapshot = {
snapshotSequence: 5,
projects: [],
- threads: [{ id: "stale-thread" } as never],
+ threads: [{ id: "cached-thread" } as never],
updatedAt: "2026-06-06T00:00:00.000Z",
};
- const httpSnapshot: OrchestrationShellSnapshot = {
+ const resetSnapshot: OrchestrationShellSnapshot = {
...cachedSnapshot,
- snapshotSequence: 9,
+ snapshotSequence: 9_999,
threads: [],
updatedAt: "2026-06-07T00:00:00.000Z",
};
const events = yield* Queue.unbounded<OrchestrationShellStreamItem>();
- const capturedAfterSequence = yield* SubscriptionRef.make<number | undefined>(undefined);
- const capturedCompletionMarker = yield* Ref.make<boolean | undefined>(undefined);
- const loaderCalls = yield* SubscriptionRef.make(0);
+ const wakeups = yield* Queue.unbounded<ConnectionWakeups.ConnectionWakeup>();
+ const subscribeInputs = yield* Queue.unbounded<{
+ readonly afterSequence?: number;
+ readonly requestCompletionMarker?: boolean;
+ }>();
+ const loaderCalls = yield* Ref.make(0);
const client = {
[ORCHESTRATION_WS_METHODS.subscribeShell]: (input: {
readonly afterSequence?: number;
readonly requestCompletionMarker?: boolean;
}) =>
Stream.unwrap(
- Ref.set(capturedCompletionMarker, input.requestCompletionMarker).pipe(
- Effect.andThen(SubscriptionRef.set(capturedAfterSequence, input.afterSequence)),
- Effect.as(Stream.fromQueue(events)),
- ),
+ Queue.offer(subscribeInputs, input).pipe(Effect.as(Stream.fromQueue(events))),
),
} as unknown as WsRpcProtocolClient;
const supervisorState = yield* SubscriptionRef.make(AVAILABLE_CONNECTION_STATE);
@@ -208,57 +208,66 @@ describe("environment shell synchronization", () => {
clear: () => Effect.void,
});
const snapshotLoader = ShellSnapshotLoader.of({
- load: () =>
- SubscriptionRef.update(loaderCalls, (count) => count + 1).pipe(
- Effect.as(Option.some(httpSnapshot)),
- ),
+ load: () => Ref.update(loaderCalls, (count) => count + 1).pipe(Effect.as(Option.none())),
});
const shellState = yield* makeEnvironmentShellState().pipe(
Effect.provideService(EnvironmentSupervisor.EnvironmentSupervisor, supervisor),
Effect.provideService(Persistence.EnvironmentCacheStore, cache),
Effect.provideService(ShellSnapshotLoader, snapshotLoader),
+ Effect.provideService(
+ ConnectionWakeups.ConnectionWakeups,
+ ConnectionWakeups.ConnectionWakeups.of({ changes: Stream.fromQueue(wakeups) }),
+ ),
);
- // Wait until the subscription is established from the warm cache.
- yield* SubscriptionRef.changes(capturedAfterSequence).pipe(
- Stream.filter((value) => value !== undefined),
- Stream.runHead,
- );
-
- expect(yield* SubscriptionRef.get(capturedAfterSequence)).toBe(9);
- expect(yield* Ref.get(capturedCompletionMarker)).toBe(true);
- expect(yield* SubscriptionRef.get(loaderCalls)).toBe(1);
+ const subscribeInput = yield* Queue.take(subscribeInputs);
+ expect(subscribeInput.afterSequence).toBeUndefined();
+ expect(subscribeInput.requestCompletionMarker).toBe(true);
+ expect(yield* Ref.get(loaderCalls)).toBe(1);
const synchronizing = yield* SubscriptionRef.get(shellState);
expect(synchronizing.status).toBe("synchronizing");
- expect(Option.getOrThrow(synchronizing.snapshot)).toEqual(httpSnapshot);
+ expect(Option.getOrThrow(synchronizing.snapshot)).toEqual(cachedSnapshot);
+ yield* Queue.offer(events, { kind: "snapshot", snapshot: resetSnapshot });
yield* Queue.offer(events, { kind: "synchronized" });
yield* SubscriptionRef.changes(shellState).pipe(
Stream.filter((value) => value.status === "live"),
Stream.runHead,
);
+
+ const live = yield* SubscriptionRef.get(shellState);
+ expect(Option.getOrThrow(live.snapshot)).toEqual(resetSnapshot);
+ expect(yield* Ref.get(loaderCalls)).toBe(1);
+
+ yield* Queue.offer(wakeups, "application-active");
+ const resumedInput = yield* Queue.take(subscribeInputs);
+ expect(resumedInput.afterSequence).toBe(resetSnapshot.snapshotSequence);
+ expect(resumedInput.requestCompletionMarker).toBe(true);
+ expect(yield* Ref.get(loaderCalls)).toBe(1);
}),
);
- it.effect("refreshes the authoritative shell snapshot when the app becomes active", () =>
+ it.effect("resubscribes from the in-memory shell cursor when the app becomes active", () =>
Effect.gen(function* () {
const events = yield* Queue.unbounded<OrchestrationShellStreamItem>();
const wakeups = yield* Queue.unbounded<ConnectionWakeups.ConnectionWakeup>();
const loaderCalls = yield* Ref.make(0);
- const subscriptionCount = yield* Ref.make(0);
+ const capturedAfterSequences = yield* Ref.make<ReadonlyArray<number | undefined>>([]);
const client = {
- [ORCHESTRATION_WS_METHODS.subscribeShell]: () =>
+ [ORCHESTRATION_WS_METHODS.subscribeShell]: (input: { readonly afterSequence?: number }) =>
Stream.unwrap(
- Ref.update(subscriptionCount, (count) => count + 1).pipe(
- Effect.as(Stream.fromQueue(events)),
- ),
+ Ref.update(capturedAfterSequences, (captured) => [
+ ...captured,
+ input.afterSequence,
+ ]).pipe(Effect.as(Stream.fromQueue(events))),
),
} as unknown as WsRpcProtocolClient;
const supervisorState = yield* SubscriptionRef.make(AVAILABLE_CONNECTION_STATE);
+ const activeSession = yield* SubscriptionRef.make(Option.some(session(client)));
const supervisor = EnvironmentSupervisor.EnvironmentSupervisor.of({
target: TARGET,
state: supervisorState,
- session: yield* SubscriptionRef.make(Option.some(session(client))),
+ session: activeSession,
prepared: yield* SubscriptionRef.make(Option.some(PREPARED)),
connect: Effect.void,
disconnect: Effect.void,
@@ -296,54 +305,60 @@ describe("environment shell synchronization", () => {
),
);
- yield* SubscriptionRef.changes(shellState).pipe(
- Stream.filter(
- (value) =>
- value.status === "synchronizing" &&
- Option.isSome(value.snapshot) &&
- value.snapshot.value.snapshotSequence === 10,
- ),
- Stream.runHead,
- );
+ // A new session starts from an authoritative HTTP snapshot.
+ for (let attempt = 0; attempt < 100; attempt += 1) {
+ if ((yield* Ref.get(capturedAfterSequences)).length >= 1) break;
+ yield* Effect.yieldNow;
+ }
+ expect(yield* Ref.get(capturedAfterSequences)).toEqual([10]);
yield* Queue.offer(events, { kind: "synchronized" });
yield* SubscriptionRef.changes(shellState).pipe(
Stream.filter((value) => value.status === "live"),
Stream.runHead,
);
- yield* Queue.offer(wakeups, "application-active");
+ // A newer snapshot arrives on the stream and advances the cursor.
+ yield* Queue.offer(events, {
+ kind: "snapshot",
+ snapshot: { ...LIVE_SHELL_SNAPSHOT, snapshotSequence: 40 },
+ });
yield* SubscriptionRef.changes(shellState).pipe(
Stream.filter(
- (value) =>
- value.status === "synchronizing" &&
- Option.isSome(value.snapshot) &&
- value.snapshot.value.snapshotSequence === 20,
+ (value) => Option.isSome(value.snapshot) && value.snapshot.value.snapshotSequence === 40,
),
Stream.runHead,
);
+ yield* Queue.offer(wakeups, "application-active");
for (let attempt = 0; attempt < 100; attempt += 1) {
- if ((yield* Ref.get(subscriptionCount)) >= 2) break;
+ if ((yield* Ref.get(capturedAfterSequences)).length >= 2) break;
yield* Effect.yieldNow;
}
-
- expect(yield* Ref.get(loaderCalls)).toBe(2);
- expect(yield* Ref.get(subscriptionCount)).toBe(2);
+ expect(yield* Ref.get(capturedAfterSequences)).toEqual([10, 40]);
+ yield* Queue.offer(events, { kind: "synchronized" });
yield* Queue.offer(wakeups, "application-active-probe");
for (let attempt = 0; attempt < 100; attempt += 1) {
- if ((yield* Ref.get(subscriptionCount)) >= 3) break;
+ if ((yield* Ref.get(capturedAfterSequences)).length >= 3) break;
yield* Effect.yieldNow;
}
- expect(yield* Ref.get(loaderCalls)).toBe(3);
- expect(yield* Ref.get(subscriptionCount)).toBe(3);
+ expect(yield* Ref.get(capturedAfterSequences)).toEqual([10, 40, 40]);
yield* Queue.offer(wakeups, "application-active-reconnect");
for (let attempt = 0; attempt < 10; attempt += 1) {
yield* Effect.yieldNow;
}
- expect(yield* Ref.get(loaderCalls)).toBe(3);
- expect(yield* Ref.get(subscriptionCount)).toBe(3);
+ expect((yield* Ref.get(capturedAfterSequences)).length).toBe(3);
+ expect(yield* Ref.get(loaderCalls)).toBe(1);
+
+ // Replacing the session performs another authoritative refresh.
+ yield* SubscriptionRef.set(activeSession, Option.some(session(client)));
+ for (let attempt = 0; attempt < 100; attempt += 1) {
+ if ((yield* Ref.get(capturedAfterSequences)).length >= 4) break;
+ yield* Effect.yieldNow;
+ }
+ expect(yield* Ref.get(capturedAfterSequences)).toEqual([10, 40, 40, 20]);
+ expect(yield* Ref.get(loaderCalls)).toBe(2);
}),
);
});
diff --git a/packages/client-runtime/src/state/shell.ts b/packages/client-runtime/src/state/shell.ts
index a266af5f5..c150bbb75 100644
--- a/packages/client-runtime/src/state/shell.ts
+++ b/packages/client-runtime/src/state/shell.ts
@@ -21,6 +21,7 @@ import * as ConnectionWakeups from "../connection/wakeups.ts";
import { safeErrorLogAttributes } from "../errors/safeLog.ts";
import { EnvironmentCacheStore } from "../platform/persistence.ts";
import { subscribeDynamic } from "../rpc/client.ts";
+import type { RpcSession } from "../rpc/session.ts";
import { ShellSnapshotLoader } from "./shellSnapshotHttp.ts";
import { applyShellStreamEvent } from "./shellReducer.ts";
import type { EnvironmentCatalogState } from "./connections.ts";
@@ -71,6 +72,8 @@ export const makeEnvironmentShellState = Effect.fn("EnvironmentShellState.make")
error: Option.none(),
});
const awaitingCompletion = yield* Ref.make(false);
+ const lastAuthoritativeSession = yield* Ref.make<RpcSession | null>(null);
+ const activeSubscriptionSession = yield* Ref.make<RpcSession | null>(null);
const persistence = yield* Queue.sliding<OrchestrationShellSnapshot>(1);
const persist = Effect.fn("EnvironmentShellState.persist")(function* (
@@ -166,6 +169,12 @@ export const makeEnvironmentShellState = Effect.fn("EnvironmentShellState.make")
status: waiting ? "synchronizing" : "live",
error: Option.none(),
});
+ if (item.kind === "snapshot") {
+ const session = yield* Ref.get(activeSubscriptionSession);
+ if (session !== null) {
+ yield* Ref.set(lastAuthoritativeSession, session);
+ }
+ }
yield* Queue.offer(persistence, nextSnapshot);
});
@@ -180,6 +189,7 @@ export const makeEnvironmentShellState = Effect.fn("EnvironmentShellState.make")
subscribeDynamic(
ORCHESTRATION_WS_METHODS.subscribeShell,
Effect.fn("EnvironmentShellState.makeSubscribeInput")(function* (session) {
+ yield* Ref.set(activeSubscriptionSession, session);
const supportsCompletionMarker = yield* session.initialConfig.pipe(
Effect.map((config) => config.shellResumeCompletionMarker === true),
Effect.orElseSucceed(() => false),
@@ -187,30 +197,53 @@ export const makeEnvironmentShellState = Effect.fn("EnvironmentShellState.make")
yield* Ref.set(awaitingCompletion, supportsCompletionMarker);
yield* setSynchronizing;
- const prepared = yield* SubscriptionRef.get(supervisor.prepared).pipe(
- Effect.flatMap(
- Option.match({
- onSome: Effect.succeed,
- onNone: () =>
- SubscriptionRef.changes(supervisor.prepared).pipe(
- Stream.filter(Option.isSome),
- Stream.map((value) => value.value),
- Stream.runHead,
- Effect.map(Option.getOrThrow),
- ),
- }),
- ),
- );
- const httpSnapshot = yield* snapshotLoader.load(prepared);
- if (Option.isSome(httpSnapshot)) {
- yield* applyItem({ kind: "snapshot", snapshot: httpSnapshot.value });
- return {
- afterSequence: httpSnapshot.value.snapshotSequence,
- ...(supportsCompletionMarker ? { requestCompletionMarker: true as const } : {}),
- };
+ // Foreground resubscriptions on the same live session can resume from
+ // the in-memory cursor. A new session reloads the authoritative HTTP
+ // snapshot so a valid cursor cannot preserve incomplete cached data.
+ const hasAuthoritativeSnapshot = (yield* Ref.get(lastAuthoritativeSession)) === session;
+ let canResume = hasAuthoritativeSnapshot;
+ let current = yield* SubscriptionRef.get(state);
+ if (!hasAuthoritativeSnapshot || Option.isNone(current.snapshot)) {
+ const prepared = yield* SubscriptionRef.get(supervisor.prepared).pipe(
+ Effect.flatMap(
+ Option.match({
+ onSome: Effect.succeed,
+ onNone: () =>
+ SubscriptionRef.changes(supervisor.prepared).pipe(
+ Stream.filter(Option.isSome),
+ Stream.map((value) => value.value),
+ Stream.runHead,
+ Effect.map(Option.getOrThrow),
+ ),
+ }),
+ ),
+ );
+ const httpSnapshot = yield* snapshotLoader.load(prepared);
+ if (Option.isSome(httpSnapshot)) {
+ yield* applyItem({ kind: "snapshot", snapshot: httpSnapshot.value });
+ canResume = true;
+ current = yield* SubscriptionRef.get(state);
+ }
}
- return supportsCompletionMarker ? { requestCompletionMarker: true as const } : {};
+ // If the authoritative refresh failed, omit the cached cursor so the
+ // socket fallback sends a complete snapshot for this new session.
+ if (!canResume || Option.isNone(current.snapshot)) {
+ return supportsCompletionMarker ? { requestCompletionMarker: true as const } : {};
+ }
+ if (!supportsCompletionMarker) {
+ // Without a completion marker there is no synchronized signal for a
+ // resumed subscription, so report live immediately, like threads.
+ yield* SubscriptionRef.update(state, (value) => ({
+ ...value,
+ status: "live" as const,
+ error: Option.none(),
+ }));
+ }
+ return {
+ afterSequence: current.snapshot.value.snapshotSequence,
+ ...(supportsCompletionMarker ? { requestCompletionMarker: true as const } : {}),
+ };
}),
{
onExpectedFailure: (cause) => setStreamError(Cause.squash(cause)),
diff --git a/packages/shared/src/observability.test.ts b/packages/shared/src/observability.test.ts
index 4bd1070bf..c58395393 100644
--- a/packages/shared/src/observability.test.ts
+++ b/packages/shared/src/observability.test.ts
@@ -21,6 +21,7 @@ import {
makeTraceSink,
type TraceRecord,
type TraceSinkFlushStats,
+ truncateTraceAttributes,
} from "./observability.ts";
describe("errorTag", () => {
@@ -111,6 +112,31 @@ const makeTestLayer = (tracePath: string) =>
const nodeServicesIt = it.layer(NodeServices.layer);
+describe("truncateTraceAttributes", () => {
+ it("clamps oversized strings at any depth without mutating the input", () => {
+ const stack = "s".repeat(2_000);
+ const attributes = {
+ "db.query.text": "q".repeat(2_000),
+ short: "ok",
+ error: { name: "Error", stack, nested: ["a".repeat(2_000)] },
+ };
+ const truncated = truncateTraceAttributes(attributes);
+
+ assert.equal((truncated["db.query.text"] as string).length, 200 + "…[truncated]".length);
+ assert.equal(truncated["short"], "ok");
+ const error = truncated["error"] as { stack: string; nested: Array<string> };
+ assert.equal(error.stack.length, 500 + "…[truncated]".length);
+ assert.equal(error.nested[0]?.length, 500 + "…[truncated]".length);
+ // Input is untouched: the live span's attributes are shared.
+ assert.equal(attributes.error.stack, stack);
+ });
+
+ it("returns the same reference when nothing exceeds the limits", () => {
+ const attributes = { short: "ok", nested: { fine: "also ok" } };
+ assert.equal(truncateTraceAttributes(attributes), attributes);
+ });
+});
+
describe("observability", () => {
it("normalizes circular arrays, maps, and sets without recursing forever", () => {
const array: Array<unknown> = ["alpha"];
diff --git a/packages/shared/src/observability.ts b/packages/shared/src/observability.ts
index e0a759586..67057c548 100644
--- a/packages/shared/src/observability.ts
+++ b/packages/shared/src/observability.ts
@@ -248,6 +248,61 @@ function formatTraceExit(exit: Exit.Exit<unknown, unknown>): EffectTraceRecord["
};
}
+const TRACE_ATTRIBUTE_MAX_LENGTH = 500;
+const TRACE_ATTRIBUTE_TRUNCATED_LENGTH = 200;
+const TRACE_ATTRIBUTE_TRUNCATION_SUFFIX = "…[truncated]";
+const ALWAYS_TRUNCATED_TRACE_ATTRIBUTES: ReadonlySet<string> = new Set(["db.query.text"]);
+
+// Clamps strings nested inside already-normalized attribute values (arrays and
+// plain objects from normalizeJsonValue, e.g. an Error's `stack`). Returns the
+// input reference when nothing was clamped.
+function truncateNestedValue(value: unknown): unknown {
+ if (typeof value === "string") {
+ return value.length <= TRACE_ATTRIBUTE_MAX_LENGTH
+ ? value
+ : `${value.slice(0, TRACE_ATTRIBUTE_MAX_LENGTH)}${TRACE_ATTRIBUTE_TRUNCATION_SUFFIX}`;
+ }
+ if (Array.isArray(value)) {
+ const truncated = value.map(truncateNestedValue);
+ return truncated.some((entry, index) => entry !== value[index]) ? truncated : value;
+ }
+ if (isPlainObject(value)) {
+ let truncated: Record<string, unknown> | undefined;
+ for (const [key, entry] of Object.entries(value)) {
+ const next = truncateNestedValue(entry);
+ if (next === entry) continue;
+ truncated ??= { ...value };
+ truncated[key] = next;
+ }
+ return truncated ?? value;
+ }
+ return value;
+}
+
+/**
+ * Clamps oversized attribute values on the serialized trace record so the file
+ * sink stays small, including strings nested inside arrays and objects (e.g.
+ * error stacks). Returns a new record when anything was clamped; never
+ * mutates the input (the live span's attributes are shared with other tracers).
+ */
+export function truncateTraceAttributes(attributes: TraceAttributes): TraceAttributes {
+ let truncated: Record<string, unknown> | undefined;
+ for (const [key, value] of Object.entries(attributes)) {
+ if (typeof value === "string" && ALWAYS_TRUNCATED_TRACE_ATTRIBUTES.has(key)) {
+ if (value.length <= TRACE_ATTRIBUTE_TRUNCATED_LENGTH) continue;
+ truncated ??= { ...attributes };
+ truncated[key] =
+ `${value.slice(0, TRACE_ATTRIBUTE_TRUNCATED_LENGTH)}${TRACE_ATTRIBUTE_TRUNCATION_SUFFIX}`;
+ continue;
+ }
+ const next = truncateNestedValue(value);
+ if (next === value) continue;
+ truncated ??= { ...attributes };
+ truncated[key] = next;
+ }
+ return truncated ?? attributes;
+}
+
export function spanToTraceRecord(span: SerializableSpan): EffectTraceRecord {
const status = span.status as Extract<Tracer.SpanStatus, { _tag: "Ended" }>;
const parentSpanId = Option.getOrUndefined(span.parent)?.spanId;
@@ -263,16 +318,18 @@ export function spanToTraceRecord(span: SerializableSpan): EffectTraceRecord {
startTimeUnixNano: String(status.startTime),
endTimeUnixNano: String(status.endTime),
durationMs: Number(status.endTime - status.startTime) / 1_000_000,
- attributes: compactTraceAttributes(Object.fromEntries(span.attributes)),
+ attributes: truncateTraceAttributes(
+ compactTraceAttributes(Object.fromEntries(span.attributes)),
+ ),
events: span.events.map(([name, startTime, attributes]) => ({
name,
timeUnixNano: String(startTime),
- attributes: compactTraceAttributes(attributes),
+ attributes: truncateTraceAttributes(compactTraceAttributes(attributes)),
})),
links: span.links.map((link) => ({
traceId: link.span.traceId,
spanId: link.span.spanId,
- attributes: compactTraceAttributes(link.attributes),
+ attributes: truncateTraceAttributes(compactTraceAttributes(link.attributes)),
})),
exit: formatTraceExit(status.exit),
};
diff --git a/packages/shared/src/shell.ts b/packages/shared/src/shell.ts
index cf2f2417f..efdd05683 100644
--- a/packages/shared/src/shell.ts
+++ b/packages/shared/src/shell.ts
@@ -3,6 +3,7 @@ import * as NodeOS from "node:os";
import * as NodePath from "node:path";
import * as NodeChildProcess from "node:child_process";
import * as NodeFS from "node:fs";
+import * as Clock from "effect/Clock";
import * as Data from "effect/Data";
import * as Effect from "effect/Effect";
import * as FileSystem from "effect/FileSystem";
@@ -491,6 +492,54 @@ function resolveCommandCandidates(
return Array.from(new Set(candidates));
}
+// Session bootstrap resolves the same commands over and over, each PATH scan
+// costing hundreds of 'shell.isExecutableFile' filesystem probes (tens of
+// thousands per connect). Memoize the scan outcome per
+// (platform, PATH, PATHEXT, command) for a short window: repeat scans hit the
+// cache while any change to the search environment invalidates immediately.
+// Explicit-path resolution is never cached - callers probe paths they have
+// just written (e.g. managed binary installs). A "not-found" outcome is also
+// cached for the TTL, so a just-installed binary can stay invisible for up to
+// 30s unless resolved by explicit path.
+// TTL expiry uses the monotonic clock (Clock.currentTimeNanos) so backward
+// wall-clock adjustments cannot keep expired entries alive.
+const COMMAND_RESOLUTION_CACHE_TTL_NANOS = 30_000_000_000n;
+const COMMAND_RESOLUTION_CACHE_MAX_ENTRIES = 512;
+const COMMAND_RESOLUTION_CACHE_KEY_SEPARATOR = String.fromCharCode(0);
+
+interface CommandResolutionCacheEntry {
+ readonly resolvedPath: string | null;
+ readonly expiresAtNanos: bigint;
+}
+
+// The cache lives in the Effect environment (like HostProcessPlatform above)
+// so tests and embedders can provide an isolated instance; the default is a
+// single process-wide map shared by all consumers.
+export const CommandResolutionCache = Context.Reference<Map<string, CommandResolutionCacheEntry>>(
+ "@t3tools/shared/shell/CommandResolutionCache",
+ {
+ defaultValue: () => new Map(),
+ },
+);
+
+function cacheCommandResolution(
+ cache: Map<string, CommandResolutionCacheEntry>,
+ cacheKey: string,
+ resolvedPath: string | null,
+ nowNanos: bigint,
+): void {
+ if (cache.size >= COMMAND_RESOLUTION_CACHE_MAX_ENTRIES) {
+ const oldestKey = cache.keys().next().value;
+ if (oldestKey !== undefined) {
+ cache.delete(oldestKey);
+ }
+ }
+ cache.set(cacheKey, {
+ resolvedPath,
+ expiresAtNanos: nowNanos + COMMAND_RESOLUTION_CACHE_TTL_NANOS,
+ });
+}
+
const isExecutableFile = Effect.fn("shell.isExecutableFile")(function* (
filePath: string,
platform: NodeJS.Platform,
@@ -538,6 +587,20 @@ const resolveCommandPathForPlatform = Effect.fn("shell.resolveCommandPathForPlat
if (pathValue.length === 0) {
return yield* new CommandResolutionError({ command, reason: "not-found" });
}
+
+ const cacheKey = [platform, pathValue, windowsPathExtensions.join(";"), command].join(
+ COMMAND_RESOLUTION_CACHE_KEY_SEPARATOR,
+ );
+ const cache = yield* CommandResolutionCache;
+ const nowNanos = yield* Clock.currentTimeNanos;
+ const cached = cache.get(cacheKey);
+ if (cached !== undefined && cached.expiresAtNanos > nowNanos) {
+ if (cached.resolvedPath === null) {
+ return yield* new CommandResolutionError({ command, reason: "not-found" });
+ }
+ return cached.resolvedPath;
+ }
+
const pathEntries: string[] = [];
for (const entry of pathValue.split(pathDelimiterForPlatform(platform))) {
const pathEntry = stripWrappingQuotes(entry.trim());
@@ -550,10 +613,12 @@ const resolveCommandPathForPlatform = Effect.fn("shell.resolveCommandPathForPlat
for (const candidate of commandCandidates) {
const candidatePath = path.join(pathEntry, candidate);
if (yield* isExecutableFile(candidatePath, platform, windowsPathExtensions)) {
+ cacheCommandResolution(cache, cacheKey, candidatePath, nowNanos);
return candidatePath;
}
}
}
+ cacheCommandResolution(cache, cacheKey, null, nowNanos);
return yield* new CommandResolutionError({ command, reason: "not-found" });
});
diff --git a/patches/[email protected] b/patches/[email protected]
index 561db6f52..a46ccf9c9 100644
--- a/patches/[email protected]
+++ b/patches/[email protected]
@@ -278,32 +278,43 @@ index b536d0a..12ffac0 100644
}).pipe(Effect.flatMap(() => Effect.fail(new Socket.SocketError({
reason: new Socket.SocketCloseError({
code: 1000
-@@ -687,20 +716,20 @@ export const makeProtocolSocket = options => Protocol.make(Effect.fnUntraced(fun
+@@ -687,20 +716,28 @@ export const makeProtocolSocket = options => Protocol.make(Effect.fnUntraced(fun
};
}));
const defaultRetryPolicy = /*#__PURE__*/Schedule.min([/*#__PURE__*/Schedule.exponential(500, 1.5), /*#__PURE__*/Schedule.spaced(5000)]);
-const makePinger = /*#__PURE__*/Effect.fnUntraced(function* (writePing) {
+const makePinger = /*#__PURE__*/Effect.fnUntraced(function* (writePing, hooks) {
let recievedPong = true;
++ let missedPongs = 0;
const latch = Latch.makeUnsafe();
const reset = () => {
recievedPong = true;
++ missedPongs = 0;
latch.closeUnsafe();
};
- const onPong = () => {
-+ const onPong = Effect.sync(() => {
- recievedPong = true;
+- recievedPong = true;
- };
++ const onPong = Effect.sync(() => {
++ recievedPong = true;
++ missedPongs = 0;
+ }).pipe(Effect.andThen(hooks?.onPong ?? Effect.void));
yield* Effect.suspend(() => {
- if (!recievedPong) return latch.open;
- recievedPong = false;
+- if (!recievedPong) return latch.open;
+- recievedPong = false;
- return writePing;
++ if (!recievedPong) {
++ missedPongs += 1;
++ if (missedPongs >= 3) return latch.open;
++ return (hooks?.onPing ?? Effect.void).pipe(Effect.andThen(writePing));
++ }
++ recievedPong = false;
++ missedPongs = 0;
+ return (hooks?.onPing ?? Effect.void).pipe(Effect.andThen(writePing));
}).pipe(Effect.delay("5 seconds"), Effect.ignore, Effect.forever, Effect.interruptible, Effect.forkScoped);
return {
timeout: latch.await,
-@@ -843,6 +872,11 @@ export const makeProtocolWorker = options => Protocol.make(Effect.fnUntraced(fun
+@@ -843,6 +880,11 @@ export const makeProtocolWorker = options => Protocol.make(Effect.fnUntraced(fun
* @since 4.0.0
*/
export const layerProtocolWorker = /*#__PURE__*/flow(makeProtocolWorker, /*#__PURE__*/Layer.effect(Protocol));
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f7c6f4cc1..0be461aac 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -76,7 +76,7 @@ patchedDependencies:
'@pierre/[email protected]': 7ef7cb0cbabb17c15cdb137554068b36f15f6f5265e73fb51452aa3380db91aa
'@react-native-menu/[email protected]': 5ea3ae4bf1d9baf5443b65c269bb09621c27a68d556f713778f37b1e8d46aaae
'@react-navigation/[email protected]': c7fc101b78d434904425e5a24c22fb0042298dec6f807250486e784f3c717273
- [email protected]: a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9
+ [email protected]: af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6
[email protected]: 9170f8074ae4e35a0a086e756c8f815794fd3abe51eac67ca3ba02804225ec1f
[email protected]: 808eb26f9e57cf4945efd3985af4d9c764da6f91f4c9764433cc868602bbf4d3
[email protected]: 20be72c84d74253acdcfefbc6defe36dc396944f1a44cab2bdd0e3cd572ae008
@@ -116,7 +116,7 @@ importers:
version: 0.0.3
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@t3tools/client-runtime':
specifier: workspace:*
version: link:../../packages/client-runtime
@@ -134,7 +134,7 @@ importers:
version: link:../../packages/tailscale
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
electron:
specifier: 41.5.0
version: 41.5.0
@@ -153,7 +153,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -199,7 +199,7 @@ importers:
'@effect/atom-react':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@expo-google-fonts/dm-sans':
specifier: ^0.4.2
version: 0.4.2
@@ -274,7 +274,7 @@ importers:
version: 8.0.3
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
expo:
specifier: ~56.0.12
version: 56.0.12(8895228379997a2a064f9644cda56ed0)
@@ -422,7 +422,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@pierre/trees':
specifier: 1.0.0-beta.4
@@ -446,16 +446,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.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@effect/platform-node-shared':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])
'@effect/sql-sqlite-bun':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@ff-labs/fff-node':
specifier: 0.9.4
version: 0.9.4(patch_hash=2b16019ce7ab61aec6478dd02f79ef468cc1d5c51e9d00764f7d2ab8167210c8)
@@ -467,7 +467,7 @@ importers:
version: 1.3.0-beta.10(patch_hash=7ef7cb0cbabb17c15cdb137554068b36f15f6f5265e73fb51452aa3380db91aa)(@shikijs/[email protected])([email protected]([email protected]))([email protected])
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
node-pty:
specifier: ^1.1.0
version: 1.1.0
@@ -477,7 +477,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@t3tools/contracts':
specifier: workspace:*
version: link:../../packages/contracts
@@ -531,7 +531,7 @@ importers:
version: 3.2.2([email protected])
'@effect/atom-react':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@formkit/auto-animate':
specifier: ^0.9.0
version: 0.9.0
@@ -567,7 +567,7 @@ importers:
version: 0.7.1
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
jose:
specifier: 'catalog:'
version: 6.2.2
@@ -607,10 +607,10 @@ importers:
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@rolldown/plugin-babel':
specifier: ^0.2.0
@@ -658,7 +658,7 @@ importers:
'@effect/sql-pg':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@noble/curves':
specifier: 'catalog:'
version: 1.9.1
@@ -676,23 +676,23 @@ importers:
version: link:../../packages/shared
alchemy:
specifier: 2.0.0-beta.65
- version: 2.0.0-beta.65(a455401069e1fee89f31a277c51247f6)
+ version: 2.0.0-beta.65(75567d8add6e3362e26fe00f83a97bee)
drizzle-orm:
specifier: 1.0.0-rc.4
- version: 1.0.0-rc.4(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected])
+ version: 1.0.0-rc.4(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected])
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
devDependencies:
'@cloudflare/workers-types':
specifier: ^4.20260601.1
version: 4.20260604.1
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -710,17 +710,17 @@ importers:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@oxlint/plugins':
specifier: ^1.63.0
version: 1.68.0
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
vite-plus:
specifier: 'catalog:'
@@ -735,11 +735,11 @@ importers:
version: link:../shared
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
vite-plus:
specifier: 'catalog:'
@@ -748,11 +748,11 @@ importers:
dependencies:
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
vite-plus:
specifier: 'catalog:'
@@ -761,17 +761,17 @@ importers:
dependencies:
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
devDependencies:
'@effect/openapi-generator':
specifier: 'catalog:'
- version: 4.0.0-beta.103(@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected]))([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -783,17 +783,17 @@ importers:
dependencies:
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
devDependencies:
'@effect/openapi-generator':
specifier: 'catalog:'
- version: 4.0.0-beta.103(@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected]))([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -814,7 +814,7 @@ importers:
version: link:../contracts
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
jose:
specifier: 'catalog:'
version: 6.2.2
@@ -824,10 +824,10 @@ importers:
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -845,14 +845,14 @@ importers:
version: link:../shared
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
devDependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -864,17 +864,17 @@ importers:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@t3tools/shared':
specifier: workspace:*
version: link:../shared
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -886,7 +886,7 @@ importers:
dependencies:
'@effect/platform-node':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
'@t3tools/contracts':
specifier: workspace:*
version: link:../packages/contracts
@@ -898,7 +898,7 @@ importers:
version: link:../packages/tailscale
effect:
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ version: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
pngjs:
specifier: 7.0.0
version: 7.0.0
@@ -908,7 +908,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.103
- version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ version: 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@types/pngjs':
specifier: 6.0.5
version: 6.0.5
@@ -5947,6 +5947,7 @@ packages:
resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}
+ deprecated: Active development of CryptoJS has been discontinued. This library is no longer maintained.
resolution: {integrity: sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==}
@@ -11640,24 +11641,24 @@ snapshots:
'@cloudflare/[email protected]': {}
- '@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
'@aws-crypto/crc32': 5.2.0
'@aws-crypto/util': 5.2.0
'@aws-sdk/credential-providers': 3.1062.0
'@aws-sdk/types': 3.973.10
- '@distilled.cloud/core': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ '@distilled.cloud/core': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@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.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
fast-xml-parser: 5.8.0
- '@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- '@distilled.cloud/core': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@distilled.cloud/core': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
dependencies:
@@ -11670,48 +11671,48 @@ snapshots:
transitivePeerDependencies:
- workerd
- '@distilled.cloud/[email protected](@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@distilled.cloud/[email protected](@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected]))([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
'@alchemy.run/node-utils': 0.0.5
- '@distilled.cloud/cloudflare': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@distilled.cloud/cloudflare': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
workerd: 1.20260704.1
optionalDependencies:
- '@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
- '@effect/platform-node': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ '@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])
+ '@effect/platform-node': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
- '@distilled.cloud/[email protected](8bf551e378e9cbc11f8bf1003fbc14a8)':
+ '@distilled.cloud/[email protected](f97c3167f1a1990dddb83bff73e575e5)':
dependencies:
- '@distilled.cloud/cloudflare': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ '@distilled.cloud/cloudflare': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
- '@distilled.cloud/cloudflare-runtime': 0.13.10(@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@distilled.cloud/cloudflare-runtime': 0.13.10(@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected]))([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
optionalDependencies:
- '@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
- '@effect/platform-node': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
+ '@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])
+ '@effect/platform-node': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
transitivePeerDependencies:
- rolldown
- workerd
- '@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- '@distilled.cloud/core': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@distilled.cloud/core': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
- '@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
- '@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- '@distilled.cloud/core': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@distilled.cloud/core': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
- '@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- '@distilled.cloud/core': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@distilled.cloud/core': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
dependencies:
@@ -11747,47 +11748,47 @@ snapshots:
'@drizzle-team/[email protected]': {}
- '@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])':
+ '@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])':
dependencies:
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
react: 19.2.3
scheduler: 0.27.0
- '@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])':
+ '@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])':
dependencies:
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
react: 19.2.6
scheduler: 0.27.0
- '@effect/[email protected](@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@effect/[email protected](@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected]))([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- '@effect/platform-node': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@effect/platform-node': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
swagger2openapi: 7.0.8
transitivePeerDependencies:
- encoding
- '@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])':
+ '@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])':
dependencies:
- '@effect/platform-node-shared': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@effect/platform-node-shared': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
transitivePeerDependencies:
- bufferutil
- utf-8-validate
- '@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])':
+ '@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])':
dependencies:
'@types/ws': 8.18.1
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
transitivePeerDependencies:
- bufferutil
- utf-8-validate
- '@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])':
+ '@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])':
dependencies:
- '@effect/platform-node-shared': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ '@effect/platform-node-shared': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
ioredis: 5.11.0
mime: 4.1.0
undici: 8.9.0
@@ -11795,14 +11796,14 @@ snapshots:
- bufferutil
- utf-8-validate
- '@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
'@cloudflare/workers-types': 5.20260726.1
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
- '@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
pg: 8.22.0
pg-connection-string: 2.14.0
pg-cursor: 2.21.0([email protected])
@@ -11811,9 +11812,9 @@ snapshots:
transitivePeerDependencies:
- pg-native
- '@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
'@effect/[email protected]':
optional: true
@@ -11846,9 +11847,9 @@ snapshots:
'@effect/tsgo-win32-arm64': 0.13.2
'@effect/tsgo-win32-x64': 0.13.2
- '@effect/[email protected](patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))':
+ '@effect/[email protected](patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
dependencies:
@@ -15350,22 +15351,22 @@ snapshots:
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
- [email protected](a455401069e1fee89f31a277c51247f6):
+ [email protected](75567d8add6e3362e26fe00f83a97bee):
dependencies:
'@alchemy.run/node-utils': 0.0.5
'@aws-sdk/credential-providers': 3.1062.0
'@clack/prompts': 0.11.0
- '@distilled.cloud/aws': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@distilled.cloud/axiom': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@distilled.cloud/cloudflare': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ '@distilled.cloud/aws': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@distilled.cloud/axiom': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@distilled.cloud/cloudflare': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
- '@distilled.cloud/cloudflare-runtime': 0.13.10(@distilled.cloud/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected]))([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@distilled.cloud/cloudflare-vite-plugin': 0.13.10(8bf551e378e9cbc11f8bf1003fbc14a8)
- '@distilled.cloud/core': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@distilled.cloud/neon': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@distilled.cloud/planetscale': 0.30.2([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@effect/sql-d1': 4.0.0-beta.101([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@effect/vitest': 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ '@distilled.cloud/cloudflare-runtime': 0.13.10(@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected]))([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@distilled.cloud/cloudflare-vite-plugin': 0.13.10(f97c3167f1a1990dddb83bff73e575e5)
+ '@distilled.cloud/core': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@distilled.cloud/neon': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@distilled.cloud/planetscale': 0.30.2([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@effect/sql-d1': 4.0.0-beta.101([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@effect/vitest': 4.0.0-beta.103(patch_hash=a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b)([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@libsql/client': 0.17.3([email protected])([email protected])
'@octokit/rest': 22.0.1
'@octokit/webhooks': 14.2.0
@@ -15375,7 +15376,7 @@ snapshots:
'@types/aws-lambda': 8.10.161
aws4fetch: 1.0.20
capnweb: 0.6.1
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
fast-glob: 3.3.3
fast-xml-parser: 5.8.0
@@ -15391,11 +15392,11 @@ snapshots:
undici: 7.27.1
yaml: 2.9.0
optionalDependencies:
- '@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])
- '@effect/platform-node': 4.0.0-beta.103([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected])([email protected])
- '@effect/sql-pg': 4.0.0-beta.103([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ '@effect/platform-bun': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])
+ '@effect/platform-node': 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])([email protected])
+ '@effect/sql-pg': 4.0.0-beta.103([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
drizzle-kit: 1.0.0-rc.4
- drizzle-orm: 1.0.0-rc.4(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected])
+ drizzle-orm: 1.0.0-rc.4(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected])
transitivePeerDependencies:
@@ -16418,15 +16419,15 @@ snapshots:
get-tsconfig: 4.14.0
jiti: 2.7.0
- [email protected](@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@effect/[email protected]([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected]):
+ [email protected](@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@effect/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected]([email protected])([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected](@types/[email protected]))([email protected])([email protected]):
optionalDependencies:
'@cloudflare/workers-types': 4.20260604.1
- '@effect/sql-d1': 4.0.0-beta.101([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@effect/sql-pg': 4.0.0-beta.103([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
- '@effect/sql-sqlite-bun': 4.0.0-beta.103([email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9))
+ '@effect/sql-d1': 4.0.0-beta.101([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@effect/sql-pg': 4.0.0-beta.103([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
+ '@effect/sql-sqlite-bun': 4.0.0-beta.103([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))
'@libsql/client': 0.17.3([email protected])([email protected])
bun-types: 1.3.14
- effect: 4.0.0-beta.103(patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9)
+ effect: 4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6)
mysql2: 3.22.4(@types/[email protected])
pg: 8.21.0
@@ -16446,7 +16447,7 @@ snapshots:
- [email protected](patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9):
+ [email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6):
dependencies:
'@standard-schema/spec': 1.1.0
fast-check: 4.9.0