GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: clear Effect language service suggestions (#13536) · incognitojam/styal@568c9bc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps
    • desktop/src
      • app
        • DesktopAppIdentity.test.ts
        • DesktopConnectionCatalogStore.test.ts
        • DesktopConnectionCatalogStore.ts
      • backend
        • DesktopBackendConfiguration.ts
        • DesktopBackendManager.test.ts
        • DesktopBackendPool.test.ts
        • DesktopLocalEnvironmentAuth.test.ts
      • electron
        • ElectronMenu.ts
      • ipc/methods
        • snapShot.test.ts
        • sshEnvironment.ts
        • window.test.ts
        • wsl.test.ts
      • preview
        • BrowserImport
          • ChromiumKeys.ts
          • FirefoxCookies.ts
        • BrowserSession.ts
        • Manager.ts
      • settings
        • DesktopClientSettings.ts
        • DesktopSavedEnvironments.test.ts
      • snapShot
        • DesktopSnapShot.ts
      • ssh
        • DesktopSshPasswordPrompts.test.ts
      • telemetry
        • DesktopTelemetryPublisher.ts
      • updates
        • DesktopUpdates.ts
        • updatesTestHarness.ts
      • window
        • DesktopApplicationMenu.test.ts
        • DesktopWindow.test.ts
      • wsl
        • DesktopWslBackend.ts
        • DesktopWslEnvironment.ts
    • server
      • integration
        • orphanedProviderSessionStartup.integration.test.ts
      • src
        • assets
          • AssetAccess.ts
          • NativeAppIconResolver.ts
        • auth
          • PairingGrantStore.test.ts
          • ServerSecretStore.ts
          • dpop.ts
          • http.test.ts
        • checkpointing
          • CheckpointDiffQuery.test.ts
        • cli
          • theme.ts
        • cloud
          • CliTokenManager.ts
          • ManagedEndpointRuntime.test.ts
          • http.test.ts
          • http.ts
          • managedTunnelStartup.ts
          • selfUpdate.test.ts
        • desktopUpdate
          • DesktopAppUpdate.ts
        • device
          • DeviceHubProxy.ts
          • DeviceService.ts
          • LocalDeviceHost.ts
          • deviceToolMaintenance.ts
        • diagnostics
          • TraceDiagnostics.ts
        • environment
          • ServerEnvironment.test.ts
          • ServerEnvironment.ts
          • ServerEnvironmentLabel.ts
          • ServerEnvironmentMachine.ts
        • git
          • GitManager.ts
          • linkCreatedPullRequest.test.ts
        • keybindings.test.ts
        • mcp
          • McpHttpServer.test.ts
          • McpInvocationContext.ts
          • McpSessionRegistry.ts
          • toolkits/preview
            • handlers.ts
        • orchestration
          • Layers
            • CheckpointReactor.ts
            • OrchestrationEngine.test.ts
            • OrchestrationEngine.ts
            • ProviderCommandReactor.ts
            • ProviderRuntimeIngestion.ts
            • ThreadDeletionReactor.ts
          • PullRequestSyncReactor.ts
          • ThreadPullRequestReactor.ts
          • ThreadSettlementReactor.ts
          • commandInvariants.ts
          • decider.pullRequests.test.ts
          • decider.ts
          • workflowScriptQuery.ts
        • persistence
          • AuthPairingLinks.ts
          • AuthSessions.ts
          • Layers
            • ProjectionTurns.ts
          • ProviderSessionRuntime.ts
        • project
          • AgentSessionImporter.test.ts
          • AgentSessionScanner.ts
          • ProjectFaviconResolver.ts
          • RepositoryIdentityResolver.ts
          • T3ProjectFileLoader.ts
        • provider
          • AntigravityInstallation.ts
          • Drivers
            • AntigravitySkills.ts
            • CursorDriver.ts
            • GrokDriver.ts
          • Layers
            • AntigravityAdapter.ts
            • ClaudeAdapter.test.ts
            • ClaudeAdapter.ts
            • CodexAdapter.test.ts
            • CodexSessionRuntime.ts
            • GrokAdapter.ts
            • OpenCodeAdapter.test.ts
            • OpenCodeAdapter.ts
            • ProviderService.test.ts
            • ProviderService.ts
            • ProviderSessionDirectory.ts
            • claudeResetCredits.ts
            • cursorUsageLimits.ts
            • grokUsageLimits.ts
          • ModelManifest.ts
          • acp
            • AcpSessionRuntime.ts
          • antigravityAuthSupport.ts
          • makeManagedServerProvider.ts
          • providerInstallation.ts
        • pullRequest
          • GitHubPullRequestCli.ts
          • GitLabPullRequestCli.ts
          • PullRequestReadCache.ts
          • PullRequestService.test.ts
          • PullRequestService.ts
        • relay
          • AgentAwarenessRelay.test.ts
        • resourceTelemetry
          • HostResources.ts
        • server.test.ts
        • serverRuntimeStartup.reconcile.test.ts
        • serverRuntimeStartup.test.ts
        • serverRuntimeStartup.ts
        • serverRuntimeState.ts
        • sourceControl
          • GitHubCli.test.ts
          • SourceControlProviderRegistry.ts
        • storageCleanup.ts
        • telemetry
          • Identify.ts
        • terminal
          • Manager.ts
        • textGeneration
          • AntigravityTextGeneration.ts
          • CodexTextGeneration.test.ts
          • CodexTextGeneration.ts
          • ThreadTitleLinks.ts
        • usage
          • UsageService.ts
        • vcs
          • GitVcsDriver.ts
          • GitVcsDriverCore.ts
          • VcsStatusBroadcaster.ts
        • ws.ts
    • web/src/connection
      • platform.ts
      • storage.ts
  • infra/relay/src
    • agentActivity
      • LiveActivities.test.ts
    • clientConfig.test.ts
    • environments
      • ManagedEndpointAllocations.ts
      • ManagedEndpointProvider.test.ts
      • ManagedEndpointProvider.ts
  • packages
    • client-runtime/src
      • authorization
        • layer.test.ts
      • connection
        • registry.test.ts
        • resolver.ts
        • supervisor.test.ts
        • supervisor.ts
      • platform
        • storageDocument.test.ts
      • relay
        • discovery.test.ts
        • discovery.ts
        • managedRelay.ts
        • managedRelayState.ts
      • rpc
        • session.test.ts
        • session.ts
      • state
        • pullRequestRouting.ts
        • pullRequests.test.ts
        • server.test.ts
        • serverUsage.test.ts
        • session.ts
        • shell-sync.test.ts
        • sourceControl.test.ts
        • threads-atoms.test.ts
        • threads-pagination.test.ts
        • threads-sync.test.ts
        • vcs.test.ts
        • vcsAction.test.ts
    • contracts/src
      • pullRequest.test.ts
      • rpc.test.ts
      • settings.ts
    • effect-acp/src
      • client.ts
      • protocol.ts
    • effect-codex-app-server/src
      • _internal
        • shared.ts
      • client.ts
      • schema.test.ts
    • shared/src
      • httpReadiness.ts
      • relayClient.ts
      • relayTracing.ts
      • schemaJson.ts
  • tsconfig.base.json

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/desktop/src/app/DesktopAppIdentity.test.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/app/DesktopAppIdentity.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const makeAssetsLayer = (png: Option.Option<string>) =>
7676
icns: Option.none(),
7777
png,
7878
}),
79-
resolveResourcePath: () => Effect.succeed(Option.none()),
79+
resolveResourcePath: () => Effect.succeedNone,
8080
} satisfies DesktopAssets.DesktopAssets["Service"]);
8181

8282
const makeEnvironmentLayer = (overrides: TestEnvironmentInput = {}) => {
Collapse file

‎apps/desktop/src/app/DesktopConnectionCatalogStore.test.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/app/DesktopConnectionCatalogStore.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function makeSafeStorageLayer(available: boolean, failDecrypt: Ref.Ref<boolean>
4646
return decoded.slice("encrypted:".length);
4747
});
4848
},
49-
selectedStorageBackend: Effect.succeed(Option.none()),
49+
selectedStorageBackend: Effect.succeedNone,
5050
} satisfies ElectronSafeStorage.ElectronSafeStorage["Service"]);
5151
}
5252

Collapse file

‎apps/desktop/src/app/DesktopConnectionCatalogStore.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/app/DesktopConnectionCatalogStore.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const readDocument = (
205205
raw === null
206206
? Effect.succeed(Option.none<EncryptedConnectionCatalogDocument>())
207207
: decodeEncryptedConnectionCatalogDocumentJson(raw).pipe(
208-
Effect.map(Option.some),
208+
Effect.asSome,
209209
Effect.mapError(
210210
(cause) =>
211211
new DesktopConnectionCatalogStoreDocumentDecodeError({
Collapse file

‎apps/desktop/src/backend/DesktopBackendConfiguration.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/backend/DesktopBackendConfiguration.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,11 @@ const readPersistedBackendObservabilitySettings = Effect.gen(function* () {
199199
const fileSystem = yield* FileSystem.FileSystem;
200200
const environment = yield* DesktopEnvironment.DesktopEnvironment;
201201
const raw = yield* fileSystem.readFileString(environment.serverSettingsPath).pipe(
202-
Effect.map(Option.some),
202+
Effect.asSome,
203203
Effect.catchTags({
204204
PlatformError: (cause) =>
205205
cause.reason._tag === "NotFound"
206-
? Effect.succeed(Option.none())
206+
? Effect.succeedNone
207207
: logBackendObservabilitySettingsReadFailure(environment.serverSettingsPath, cause).pipe(
208208
Effect.as(Option.none()),
209209
),
Collapse file

‎apps/desktop/src/backend/DesktopBackendManager.test.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/backend/DesktopBackendManager.test.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function makeTestInstance(input: MakeInstanceInput) {
162162
forInstance: () => Effect.succeed(stubLog),
163163
} satisfies DesktopObservability.DesktopBackendOutputLogFactory["Service"]),
164164
Layer.succeed(DesktopTelemetryPublisher.DesktopTelemetryPublisher, {
165-
latest: Effect.succeed(Option.none()),
165+
latest: Effect.succeedNone,
166166
changes: Stream.empty,
167167
encoded: input.desktopTelemetryStream ?? Stream.empty,
168168
handleControlForSource: () => Effect.void,
@@ -1545,7 +1545,7 @@ describe("DesktopBackendManager", () => {
15451545

15461546
const mockPool = Layer.succeed(DesktopBackendPool.DesktopBackendPool, {
15471547
list: Effect.succeed([instance1, instance2]),
1548-
get: () => Effect.succeed(Option.none()),
1548+
get: () => Effect.succeedNone,
15491549
primary: Effect.die(new Error("primary not implemented")),
15501550
register: () => Effect.die(new Error("register not implemented")),
15511551
unregister: () => Effect.die(new Error("unregister not implemented")),
Collapse file

‎apps/desktop/src/backend/DesktopBackendPool.test.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/backend/DesktopBackendPool.test.ts
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function makePoolLayer(
6767
} satisfies DesktopObservability.DesktopBackendOutputLogShape),
6868
} satisfies DesktopObservability.DesktopBackendOutputLogFactory["Service"]),
6969
Layer.succeed(DesktopTelemetryPublisher.DesktopTelemetryPublisher, {
70-
latest: Effect.succeed(Option.none()),
70+
latest: Effect.succeedNone,
7171
changes: Stream.empty,
7272
encoded: Stream.empty,
7373
handleControlForSource: () => Effect.void,
@@ -135,9 +135,7 @@ describe("DesktopBackendPool", () => {
135135

136136
it.effect("layerTest dies when no instances are supplied", () =>
137137
Effect.exit(
138-
Effect.gen(function* () {
139-
yield* DesktopBackendPool.DesktopBackendPool;
140-
}).pipe(Effect.provide(DesktopBackendPool.layerTest([]))),
138+
DesktopBackendPool.DesktopBackendPool.pipe(Effect.provide(DesktopBackendPool.layerTest([]))),
141139
).pipe(Effect.map((exit) => assert.equal(exit._tag, "Failure"))),
142140
);
143141

Collapse file

‎apps/desktop/src/backend/DesktopLocalEnvironmentAuth.test.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/backend/DesktopLocalEnvironmentAuth.test.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { assert, describe, it } from "@effect/vitest";
22
import * as Effect from "effect/Effect";
33
import * as Layer from "effect/Layer";
4-
import * as Option from "effect/Option";
54
import * as Ref from "effect/Ref";
65
import * as HttpClient from "effect/unstable/http/HttpClient";
76
import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse";
@@ -60,7 +59,7 @@ describe("DesktopLocalEnvironmentAuth", () => {
6059
{
6160
id: PRIMARY_LOCAL_ENVIRONMENT_ID,
6261
label: Effect.succeed("Windows"),
63-
currentConfig: Effect.succeed(Option.some(config)),
62+
currentConfig: Effect.succeedSome(config),
6463
},
6564
]),
6665
} as unknown as DesktopBackendPool.DesktopBackendPool["Service"]);
Collapse file

‎apps/desktop/src/electron/ElectronMenu.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/electron/ElectronMenu.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export const make = Effect.gen(function* () {
226226
Effect.callback<Option.Option<string>>((resume) => {
227227
const normalizedItems = normalizeContextMenuItems(input.items);
228228
if (normalizedItems.length === 0) {
229-
resume(Effect.succeed(Option.none()));
229+
resume(Effect.succeedNone);
230230
return;
231231
}
232232

Collapse file

‎apps/desktop/src/ipc/methods/snapShot.test.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/ipc/methods/snapShot.test.ts
+13-15Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe("window capture IPC", () => {
5151
Effect.provide(
5252
Layer.mergeAll(
5353
Layer.succeed(ElectronWindow.ElectronWindow, {
54-
main: Effect.succeed(Option.some({ webContents: { id: 7 } })),
54+
main: Effect.succeedSome({ webContents: { id: 7 } }),
5555
} as ElectronWindow.ElectronWindow["Service"]),
5656
Layer.succeed(DesktopSnapShot.DesktopSnapShot, {
5757
previewConfig: () =>
@@ -87,7 +87,7 @@ describe("window capture IPC", () => {
8787
Effect.provide(
8888
Layer.mergeAll(
8989
Layer.succeed(ElectronWindow.ElectronWindow, {
90-
main: Effect.succeed(Option.some({ webContents: { id: 7 } })),
90+
main: Effect.succeedSome({ webContents: { id: 7 } }),
9191
} as ElectronWindow.ElectronWindow["Service"]),
9292
Layer.succeed(DesktopSnapShot.DesktopSnapShot, {
9393
state: Effect.succeed({
@@ -120,7 +120,7 @@ describe("window capture IPC", () => {
120120
Effect.provide(
121121
Layer.mergeAll(
122122
Layer.succeed(ElectronWindow.ElectronWindow, {
123-
main: Effect.succeed(Option.some({ webContents: { id: 7 } })),
123+
main: Effect.succeedSome({ webContents: { id: 7 } }),
124124
} as ElectronWindow.ElectronWindow["Service"]),
125125
Layer.succeed(DesktopSnapShot.DesktopSnapShot, {
126126
state: Effect.succeed({ linuxBackend: "niri" }),
@@ -156,13 +156,11 @@ describe("window capture IPC", () => {
156156
Layer.succeed(
157157
ElectronWindow.ElectronWindow,
158158
ElectronWindow.ElectronWindow.of({
159-
main: Effect.succeed(
160-
Option.some({
161-
getBounds: () => ({ x: 100, y: 80, width: 1_000, height: 700 }),
162-
getContentBounds: () => ({ x: 100, y: 118, width: 1_000, height: 662 }),
163-
webContents,
164-
}),
165-
),
159+
main: Effect.succeedSome({
160+
getBounds: () => ({ x: 100, y: 80, width: 1_000, height: 700 }),
161+
getContentBounds: () => ({ x: 100, y: 118, width: 1_000, height: 662 }),
162+
webContents,
163+
}),
166164
} as ElectronWindow.ElectronWindow["Service"]),
167165
),
168166
Layer.succeed(
@@ -220,7 +218,7 @@ describe("window capture IPC", () => {
220218
Layer.succeed(
221219
ElectronWindow.ElectronWindow,
222220
ElectronWindow.ElectronWindow.of({
223-
main: Effect.succeed(Option.some({ webContents })),
221+
main: Effect.succeedSome({ webContents }),
224222
} as ElectronWindow.ElectronWindow["Service"]),
225223
),
226224
Layer.succeed(
@@ -256,7 +254,7 @@ describe("window capture IPC", () => {
256254
Effect.provideService(
257255
ElectronWindow.ElectronWindow,
258256
ElectronWindow.ElectronWindow.of({
259-
main: Effect.succeed(Option.some({ webContents: { id: 7 } })),
257+
main: Effect.succeedSome({ webContents: { id: 7 } }),
260258
} as ElectronWindow.ElectronWindow["Service"]),
261259
),
262260
Effect.provideService(DesktopSnapShot.DesktopSnapShot, null as never),
@@ -277,7 +275,7 @@ describe("window capture IPC", () => {
277275
Effect.provide(
278276
Layer.mergeAll(
279277
Layer.succeed(ElectronWindow.ElectronWindow, {
280-
main: Effect.succeed(Option.some({ webContents: { id: 7 } })),
278+
main: Effect.succeedSome({ webContents: { id: 7 } }),
281279
} as ElectronWindow.ElectronWindow["Service"]),
282280
Layer.succeed(DesktopSnapShot.DesktopSnapShot, {
283281
setup: (action: string) =>
@@ -295,7 +293,7 @@ describe("window capture IPC", () => {
295293
Layer.succeed(
296294
ElectronWindow.ElectronWindow,
297295
ElectronWindow.ElectronWindow.of({
298-
main: Effect.succeed(Option.some({ webContents: { id: 7 } })),
296+
main: Effect.succeedSome({ webContents: { id: 7 } }),
299297
} as ElectronWindow.ElectronWindow["Service"]),
300298
),
301299
Layer.succeed(
@@ -320,7 +318,7 @@ describe("window capture IPC", () => {
320318
Layer.succeed(
321319
ElectronWindow.ElectronWindow,
322320
ElectronWindow.ElectronWindow.of({
323-
main: Effect.succeed(Option.some({ webContents: { id: 7 } })),
321+
main: Effect.succeedSome({ webContents: { id: 7 } }),
324322
} as ElectronWindow.ElectronWindow["Service"]),
325323
),
326324
Layer.succeed(
Collapse file

‎apps/desktop/src/ipc/methods/sshEnvironment.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/ipc/methods/sshEnvironment.ts
+5-7Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,11 @@ export const ensureSshEnvironment = DesktopIpc.makeIpcMethod({
137137
}) {
138138
const sshEnvironment = yield* DesktopSshEnvironment.DesktopSshEnvironment;
139139
return yield* sshEnvironment.ensureEnvironment(target, options).pipe(
140-
Effect.catch((error) =>
141-
DesktopSshEnvironment.isDesktopSshPasswordPromptCancellation(error)
142-
? Effect.succeed({
143-
type: DesktopSshPasswordPromptCancelledType,
144-
message: error.message,
145-
})
146-
: Effect.fail(error),
140+
Effect.catchIf(DesktopSshEnvironment.isDesktopSshPasswordPromptCancellation, (error) =>
141+
Effect.succeed({
142+
type: DesktopSshPasswordPromptCancelledType,
143+
message: error.message,
144+
}),
147145
),
148146
);
149147
}),

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.