The best way to control Claude Code, Codex and more from any computer or phone
log?
Julius Marminge committed
Mar 3, 2026 at 09:12 UTC
f6d40ce841c43433e7a4afa94fc54b952f0c5d8b
2 files changed
+8
-6
apps/server/scripts/cli.ts
+1
-1
@@ -19,7 +19,7 @@ const RepoRoot = Effect.service(Path.Path).pipe(
19
Effect.flatMap((path) => path.fromFileUrl(new URL("../../..", import.meta.url))),
20
);
21
22
-const runCommand = Effect.fn(function* (command: ChildProcess.Command) {
22
+const runCommand = Effect.fn("runCommand")(function* (command: ChildProcess.Command) {
23
const spawner = yield* ChildProcessSpawner.ChildProcessSpawner;
24
const child = yield* spawner.spawn(command);
25
const exitCode = yield* child.exitCode;
scripts/build-desktop-artifact.ts
+7
-5
@@ -162,7 +162,7 @@ const resolveBooleanFlag = (flag: Option.Option<boolean>, envValue: boolean) =>
162
const mergeOptions = <A>(a: Option.Option<A>, b: Option.Option<A>, defaultValue: A) =>
163
Option.getOrElse(a, () => Option.getOrElse(b, () => defaultValue));
164
165
-const resolveBuildOptions = Effect.fn(function* (input: BuildCliInput) {
165
+const resolveBuildOptions = Effect.fn("resolveBuildOptions")(function* (input: BuildCliInput) {
166
const path = yield* Path.Path;
167
const repoRoot = yield* RepoRoot;
168
const env = yield* BuildEnvConfig.asEffect();
@@ -208,7 +208,7 @@ const commandOutputOptions = (verbose: boolean) =>
208
stderr: "inherit",
209
}) as const;
210
211
-const runCommand = Effect.fn(function* (command: ChildProcess.Command) {
211
+const runCommand = Effect.fn("runCommand")(function* (command: ChildProcess.Command) {
212
const commandSpawner = yield* ChildProcessSpawner.ChildProcessSpawner;
213
const child = yield* commandSpawner.spawn(command);
214
const exitCode = yield* child.exitCode;
@@ -321,7 +321,7 @@ function validateBundledClientAssets(clientDir: string) {
321
});
322
}
323
324
-const createBuildConfig = Effect.fn(function* (
324
+const createBuildConfig = Effect.fn("createBuildConfig")(function* (
325
platform: typeof BuildPlatform.Type,
326
target: string,
327
productName: string,
@@ -366,7 +366,7 @@ const createBuildConfig = Effect.fn(function* (
366
return buildConfig;
367
});
368
369
-const assertPlatformBuildResources = Effect.fn(function* (
369
+const assertPlatformBuildResources = Effect.fn("assertPlatformBuildResources")(function* (
370
platform: typeof BuildPlatform.Type,
371
stageResourcesDir: string,
372
verbose: boolean,
@@ -399,7 +399,9 @@ const assertPlatformBuildResources = Effect.fn(function* (
399
}
400
});
401
402
-const buildDesktopArtifact = Effect.fn(function* (options: ResolvedBuildOptions) {
402
+const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (
403
+ options: ResolvedBuildOptions,
404
+) {
405
const repoRoot = yield* RepoRoot;
406
const path = yield* Path.Path;
407
const fs = yield* FileSystem.FileSystem;