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 — Merge pull request #68 from RTVision/sync/upstream-rtvision-0.0.61 · RTVision/t3code@797e8f6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • VOUCHED.td
    • workflows
      • mobile-eas-preview.yml
      • mobile-showcase-screenshots.yml
      • release.yml
  • apps
    • desktop/src
      • app
        • DesktopObservability.test.ts
        • DesktopObservability.ts
      • backend
        • DesktopBackendConfiguration.test.ts
        • DesktopBackendConfiguration.ts
      • electron
        • ElectronProtocol.test.ts
        • ElectronProtocol.ts
      • ipc
        • channels.ts
      • preload.ts
      • snapShot
        • MacModifierPairShortcutProcess.ts
      • window
        • DesktopWindow.test.ts
        • DesktopWindow.ts
    • mobile
      • modules/t3-agent-notifications/android/src/main/java/expo/modules/t3agentnotifications
        • AgentNotifications.kt
        • T3AgentNotificationsModule.kt
      • src
        • Stack.tsx
        • features
          • agent-awareness
            • androidNotifications.ts
          • connection
            • CloudEnvironmentRows.tsx
            • ConnectionEnvironmentRow.tsx
            • GitHubRoutingSettings.tsx
            • LocalEnvironmentList.tsx
          • settings
            • SettingsEnvironmentDetailRouteScreen.tsx
            • SettingsEnvironmentsRouteScreen.tsx
            • SettingsServerControlsRouteScreen.tsx
            • components
              • SettingsSwitchRow.tsx
            • environment-maintenance.test.ts
            • environment-maintenance.ts
          • showcase
            • ShowcaseCaptureCoordinator.tsx
            • nativeShowcaseScene.ts
            • showcaseAgentActivity.test.ts
            • showcaseAgentActivity.ts
            • stageShowcaseAgentActivity.ts
    • server/src
      • bin.test.ts
      • cli
        • config.test.ts
        • config.ts
        • pair.ts
      • config.ts
      • environment
        • ServerEnvironment.test.ts
      • mcp
        • PreviewAutomationBroker.test.ts
        • PreviewAutomationBroker.ts
      • observability/Layers
        • Observability.ts
      • provider
        • Layers
          • ProviderRegistry.test.ts
        • model-manifest.json
        • providerCompatibility.test.ts
        • providerCompatibility.ts
        • providerMaintenanceRunner.test.ts
      • relay
        • AgentAwarenessRelay.test.ts
        • AgentAwarenessRelay.ts
      • server.test.ts
      • serverLogger.test.ts
      • vcs
        • GitVcsDriverCore.test.ts
        • GitVcsDriverCore.ts
    • web/src/components
      • BranchToolbar.tsx
      • BranchToolbarEnvModeSelector.tsx
      • ComposerPromptEditorTiptap.tsx
      • PreviousWorktreeItemContent.tsx
      • RightPanelTabs.tsx
      • chat
        • ChatComposer.tsx
        • TraitsPicker.tsx
      • device
        • DeviceControlsRail.tsx
        • DevicePanel.tsx
        • DevicePhoneViewport.tsx
        • DeviceStreamView.tsx
        • DeviceToolsPanel.tsx
        • DeviceWorkspace.tsx
        • deviceFrameLayout.test.ts
        • deviceFrameLayout.ts
        • deviceModels.ts
        • models
          • ipad-pro-13-m5-magic-keyboard.glb
          • ipad-pro-13-m5.glb
          • iphone-18-pro-max.glb
          • iphone-18-pro.glb
          • sources.json
        • phoneTrackpad.test.ts
        • phoneTrackpad.ts
        • useDeviceControls.test.tsx
        • useDeviceControls.ts
      • preview
        • PreviewAutomationHosts.test.tsx
        • PreviewAutomationHosts.tsx
      • pullRequest
        • ThreadPullRequestsPanel.tsx
      • settings
        • SettingsFontPreviews.tsx
      • ui
        • switch.test.tsx
        • switch.tsx
  • docs
    • operations
      • mobile-app-store-screenshots.md
      • observability.md
    • user
      • updating.md
  • packages
    • client-runtime
      • package.json
      • src/device
        • deviceFraming.test.ts
        • deviceFraming.ts
        • deviceMotion.test.ts
        • deviceMotion.ts
        • deviceViewSnap.ts
        • frame.test.ts
        • frame.ts
        • model.test.ts
        • model.ts
        • modelScene.test.ts
        • modelScene.ts
        • phoneInteraction.test.ts
        • phoneInteraction.ts
        • phoneScene.test.ts
        • phoneScene.ts
        • phoneViewer.test.ts
        • phoneViewer.ts
        • renderScheduler.test.ts
        • renderScheduler.ts
        • screenshot.test.ts
        • screenshot.ts
        • shapeProfile.test.ts
        • shapeProfile.ts
        • stream.test.ts
        • stream.ts
        • streamFrames.test.ts
    • contracts/src
      • ipc.ts
      • previewAutomation.ts
    • shared
      • package.json
      • src
        • delimitedPreview.test.ts
        • delimitedPreview.ts
        • otelEnvironment.test.ts
        • otelEnvironment.ts
  • pnpm-lock.yaml
  • scripts
    • convert-device-model.py
    • mobile-showcase-environment.ts
    • mobile-showcase.config.ts
    • mobile-showcase.ts

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

‎.github/VOUCHED.td‎

Copy file name to clipboardExpand all lines: .github/VOUCHED.td
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ github:realAhmedRoach
6868
github:Rishet11
6969
github:ryanrhughes
7070
github:saphid
71+
github:scratchyone
7172
github:sethwebster
7273
github:shiroyasha9
7374
github:shivamhwp
Collapse file

‎.github/workflows/mobile-eas-preview.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/mobile-eas-preview.yml
+13-1Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,19 @@ jobs:
7878
working-directory: apps/mobile
7979
env:
8080
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
81-
run: eas env:pull preview --non-interactive
81+
run: |
82+
eas env:pull preview --non-interactive
83+
# EAS Update disables dotenv loading. Keep the downloaded native config
84+
# in its process environment so Android build and OTA fingerprints match.
85+
node --input-type=module <<'NODE'
86+
import { appendFileSync, readFileSync } from "node:fs";
87+
import { parseEnv } from "node:util";
88+
const env = parseEnv(readFileSync(".env.local", "utf8"));
89+
const googleServicesFile = env.T3CODE_ANDROID_GOOGLE_SERVICES_FILE;
90+
if (googleServicesFile) {
91+
appendFileSync(process.env.GITHUB_ENV, `T3CODE_ANDROID_GOOGLE_SERVICES_FILE=${googleServicesFile}\n`);
92+
}
93+
NODE
8294
8395
- name: Deploy with fingerprint check
8496
if: steps.expo-token.outputs.present == 'true'
Collapse file

‎.github/workflows/mobile-showcase-screenshots.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/mobile-showcase-screenshots.yml
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ jobs:
7676
echo "$vp_pnpm_bin" >> "$GITHUB_PATH"
7777
"$vp_pnpm_bin/pnpm" --version
7878
79+
- name: Install AXe
80+
# Locks the simulator and answers the notification prompt for the
81+
# agent-activity scene.
82+
# Homebrew refuses third-party tap formulae until they are trusted;
83+
# older releases have no trust command and install them as is.
84+
run: |
85+
brew tap cameroncooke/axe
86+
if brew commands | grep -qx trust; then brew trust --formula cameroncooke/axe/axe; fi
87+
brew install cameroncooke/axe/axe
88+
axe --version
89+
7990
- name: Capture iOS showcase
8091
run: pnpm screenshots:mobile --platform ios --appearance "${{ inputs.appearance }}" --theme "${{ inputs.theme }}"
8192

Collapse file

‎.github/workflows/release.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+68-3Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,76 @@ jobs:
260260
- name: Typecheck
261261
run: vp run typecheck
262262

263+
# Keep tests on their own runners, using the same package split and server
264+
# shards as CI, so the release check job does not spend its budget on tests.
265+
test:
266+
name: Release tests
267+
needs: [preflight]
268+
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' }}
269+
runs-on: blacksmith-8vcpu-ubuntu-2404
270+
timeout-minutes: 10
271+
steps:
272+
- name: Checkout
273+
uses: actions/checkout@v6
274+
with:
275+
ref: ${{ needs.preflight.outputs.ref }}
276+
sparse-checkout: |
277+
/*
278+
!/.repos/
279+
sparse-checkout-cone-mode: false
280+
281+
- name: Setup Vite+
282+
uses: voidzero-dev/setup-vp@v1
283+
with:
284+
node-version-file: package.json
285+
cache: true
286+
run-install: true
287+
288+
- name: Ensure Electron runtime is installed
289+
run: vp run --filter @t3tools/desktop ensure:electron
290+
263291
- uses: ./.github/actions/setup-apt-mirrors
264292

265293
- name: Install browser secret helper build libraries
266-
run: sudo apt-get update && sudo apt-get install -y libsecret-1-dev pkg-config
294+
run: |
295+
sudo sed -i 's|http://|https://|g' /etc/apt/blacksmith-ubuntu-mirrors.txt /etc/apt/sources.list.d/ubuntu.sources
296+
sudo apt-get update && sudo apt-get install -y libsecret-1-dev pkg-config build-essential
297+
298+
- name: Test
299+
run: vp run --parallel --concurrency-limit 4 --filter '!t3' --filter '!@t3tools/monorepo' test
300+
301+
test_server:
302+
name: Release server tests ${{ matrix.shard }}
303+
needs: [preflight]
304+
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' }}
305+
runs-on: blacksmith-8vcpu-ubuntu-2404
306+
timeout-minutes: 10
307+
strategy:
308+
fail-fast: false
309+
matrix:
310+
shard: [1, 2, 3]
311+
steps:
312+
- name: Checkout
313+
uses: actions/checkout@v6
314+
with:
315+
ref: ${{ needs.preflight.outputs.ref }}
316+
sparse-checkout: |
317+
/*
318+
!/.repos/
319+
sparse-checkout-cone-mode: false
320+
321+
- name: Setup Vite+
322+
uses: voidzero-dev/setup-vp@v1
323+
with:
324+
node-version-file: package.json
325+
cache: true
326+
run-install: true
267327

328+
# No Electron setup here: `t3` (apps/server) has no Electron dependency
329+
# and none of its tests touch the runtime. Only the non-server `test`
330+
# job, which covers @t3tools/desktop, needs the download.
268331
- name: Test
269-
run: vp run test
332+
run: vp run --filter t3 test --shard ${{ matrix.shard }}/${{ strategy.job-total }}
270333

271334
relay_public_config:
272335
name: Resolve T3 Connect public config
@@ -631,13 +694,15 @@ jobs:
631694
preflight,
632695
relay_public_config,
633696
quality,
697+
test,
698+
test_server,
634699
desktop_mac_arm64,
635700
desktop_linux_x64,
636701
desktop_linux_arm64,
637702
desktop_win_x64,
638703
desktop_win_arm64,
639704
]
640-
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.relay_public_config.result == 'success' && needs.quality.result == 'success' && needs.desktop_mac_arm64.result == 'success' && needs.desktop_linux_x64.result == 'success' && needs.desktop_linux_arm64.result == 'success' && needs.desktop_win_x64.result == 'success' && needs.desktop_win_arm64.result == 'success' }}
705+
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.relay_public_config.result == 'success' && needs.quality.result == 'success' && needs.test.result == 'success' && needs.test_server.result == 'success' && needs.desktop_mac_arm64.result == 'success' && needs.desktop_linux_x64.result == 'success' && needs.desktop_linux_arm64.result == 'success' && needs.desktop_win_x64.result == 'success' && needs.desktop_win_arm64.result == 'success' }}
641706
runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404
642707
timeout-minutes: 15
643708
permissions:
Collapse file

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

Copy file name to clipboardExpand all lines: apps/desktop/src/app/DesktopObservability.test.ts
+64Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as NodeHttpClient from "@effect/platform-node/NodeHttpClient";
22
import * as NodeServices from "@effect/platform-node/NodeServices";
33
import { assert, describe, it } from "@effect/vitest";
4+
import * as ConfigProvider from "effect/ConfigProvider";
45
import * as Effect from "effect/Effect";
56
import * as FileSystem from "effect/FileSystem";
67
import * as Layer from "effect/Layer";
@@ -427,6 +428,36 @@ describe("DesktopObservability", () => {
427428
);
428429
});
429430

431+
it.effect("exports kill switch warnings through the configured logger", () => {
432+
const requests: Array<ExportedRequest> = [];
433+
return Effect.gen(function* () {
434+
const fileSystem = yield* FileSystem.FileSystem;
435+
const baseDir = yield* fileSystem.makeTempDirectoryScoped({
436+
prefix: "t3-desktop-observability-test-",
437+
});
438+
const environmentLayer = makeEnvironmentLayer(baseDir, true, {
439+
T3CODE_OTLP_LOGS_URL: "https://collector.example.com/v1/logs",
440+
});
441+
442+
yield* Effect.scoped(
443+
Effect.void.pipe(
444+
Effect.provide(DesktopObservability.layer.pipe(Layer.provideMerge(environmentLayer))),
445+
),
446+
);
447+
448+
assert.include(requests[0]?.body ?? "", "OTEL_SDK_DISABLED=1 was read as false");
449+
}).pipe(
450+
Effect.scoped,
451+
Effect.provide(
452+
Layer.mergeAll(
453+
NodeServices.layer,
454+
collectorLayer(requests),
455+
ConfigProvider.layer(ConfigProvider.fromEnv({ env: { OTEL_SDK_DISABLED: "1" } })),
456+
),
457+
),
458+
);
459+
});
460+
430461
it.effect("reads every signal endpoint from Settings when the environment names none", () => {
431462
const requests: Array<ExportedRequest> = [];
432463
return Effect.gen(function* () {
@@ -491,4 +522,37 @@ describe("DesktopObservability", () => {
491522
Effect.provide(Layer.mergeAll(NodeServices.layer, collectorLayer(requests))),
492523
);
493524
});
525+
526+
it.effect("stops every export when the OpenTelemetry SDK is disabled", () => {
527+
const requests: Array<ExportedRequest> = [];
528+
return Effect.gen(function* () {
529+
const fileSystem = yield* FileSystem.FileSystem;
530+
const baseDir = yield* fileSystem.makeTempDirectoryScoped({
531+
prefix: "t3-desktop-observability-test-",
532+
});
533+
const environmentLayer = makeEnvironmentLayer(baseDir);
534+
yield* writeObservabilitySettings(environmentLayer, {
535+
otlpTracesUrl: "https://settings.example.com/v1/traces",
536+
otlpLogsUrl: "https://settings.example.com/v1/logs",
537+
});
538+
539+
yield* Effect.scoped(
540+
Effect.logInfo("desktop log stays local when disabled").pipe(
541+
Effect.withSpan("desktop-disabled-test"),
542+
Effect.provide(DesktopObservability.layer.pipe(Layer.provideMerge(environmentLayer))),
543+
),
544+
);
545+
546+
assert.lengthOf(requests, 0);
547+
}).pipe(
548+
Effect.scoped,
549+
Effect.provide(
550+
Layer.mergeAll(
551+
NodeServices.layer,
552+
collectorLayer(requests),
553+
ConfigProvider.layer(ConfigProvider.fromEnv({ env: { OTEL_SDK_DISABLED: "true" } })),
554+
),
555+
),
556+
);
557+
});
494558
});
Collapse file

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

Copy file name to clipboardExpand all lines: apps/desktop/src/app/DesktopObservability.ts
+13-1Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
makeTraceSink,
55
otlpSerializationLayer,
66
} from "@t3tools/shared/observability";
7+
import * as OtelEnvironment from "@t3tools/shared/otelEnvironment";
78
import {
89
parsePersistedServerObservabilitySettings,
910
type PersistedServerObservabilitySettings,
@@ -353,12 +354,18 @@ const readPersistedObservabilitySettings: Effect.Effect<
353354
* resolve traces against one revision of the file and logs against another.
354355
*/
355356
const resolveOtlpEndpoints = Effect.gen(function* () {
357+
const otel = yield* OtelEnvironment.load;
358+
if (otel.disabled) {
359+
return { traces: undefined, metrics: undefined, logs: undefined, warnings: otel.warnings };
360+
}
361+
356362
const environment = yield* DesktopEnvironment.DesktopEnvironment;
357363
const persisted = yield* readPersistedObservabilitySettings;
358364
return {
359365
traces: Option.getOrUndefined(environment.otlpTracesUrl) ?? persisted.otlpTracesUrl,
360366
metrics: Option.getOrUndefined(environment.otlpMetricsUrl) ?? persisted.otlpMetricsUrl,
361367
logs: Option.getOrUndefined(environment.otlpLogsUrl) ?? persisted.otlpLogsUrl,
368+
warnings: otel.warnings,
362369
};
363370
});
364371

@@ -671,7 +678,12 @@ const telemetryLayer = Layer.unwrap(
671678
// resource,
672679
// }).pipe(Layer.provide(serializationLayer));
673680

674-
return Layer.mergeAll(loggerLayer, tracerLayer);
681+
// Logged once the loggers above are installed, so the warnings use them.
682+
const otelWarningsLayer = Layer.effectDiscard(
683+
Effect.forEach(endpoints.warnings, (warning) => Effect.logWarning(warning)),
684+
);
685+
686+
return otelWarningsLayer.pipe(Layer.provideMerge(Layer.mergeAll(loggerLayer, tracerLayer)));
675687
}),
676688
);
677689

Collapse file

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

Copy file name to clipboardExpand all lines: apps/desktop/src/backend/DesktopBackendConfiguration.test.ts
+43Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,49 @@ describe("DesktopBackendConfiguration", () => {
983983
}).pipe(Effect.scoped, Effect.provide(NodeServices.layer)),
984984
);
985985

986+
it.effect("resolveWsl carries the kill switch into the distro", () =>
987+
Effect.gen(function* () {
988+
const fileSystem = yield* FileSystem.FileSystem;
989+
const baseDir = yield* fileSystem.makeTempDirectoryScoped({
990+
prefix: "t3-desktop-backend-config-test-",
991+
});
992+
993+
const previousWslEnv = process.env.WSLENV;
994+
const previousDisabled = process.env.OTEL_SDK_DISABLED;
995+
try {
996+
delete process.env.WSLENV;
997+
process.env.OTEL_SDK_DISABLED = "true";
998+
999+
yield* Effect.gen(function* () {
1000+
const configuration = yield* DesktopBackendConfiguration.DesktopBackendConfiguration;
1001+
const config = yield* configuration.resolveWsl({ port: 5050, distro: null });
1002+
1003+
assert.equal(config.env.OTEL_SDK_DISABLED, "true");
1004+
assert.include((config.env.WSLENV ?? "").split(":"), "OTEL_SDK_DISABLED");
1005+
}).pipe(
1006+
Effect.provide(
1007+
DesktopBackendConfiguration.layer.pipe(
1008+
Layer.provideMerge(serverExposureLayer),
1009+
Layer.provideMerge(DesktopAppSettings.layerTest()),
1010+
Layer.provideMerge(DesktopWslServerTree.layerTest()),
1011+
Layer.provideMerge(
1012+
DesktopWslEnvironment.layerTest({
1013+
isAvailable: true,
1014+
windowsToWslPath: () => Option.some("/mnt/c/repo/apps/server/src/index.ts"),
1015+
getDistroIp: () => Option.some("172.27.0.99"),
1016+
}),
1017+
),
1018+
Layer.provideMerge(makeEnvironmentLayer(baseDir, { platform: "win32" })),
1019+
),
1020+
),
1021+
);
1022+
} finally {
1023+
restoreEnv("WSLENV", previousWslEnv);
1024+
restoreEnv("OTEL_SDK_DISABLED", previousDisabled);
1025+
}
1026+
}).pipe(Effect.scoped, Effect.provide(NodeServices.layer)),
1027+
);
1028+
9861029
it.effect("resolveWsl preserves existing WSLENV entries when forwarding backend secrets", () =>
9871030
Effect.gen(function* () {
9881031
const fileSystem = yield* FileSystem.FileSystem;
Collapse file

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

Copy file name to clipboardExpand all lines: apps/desktop/src/backend/DesktopBackendConfiguration.ts
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ const DESKTOP_BACKEND_ENV_NAMES = [
9696
const WSL_FORWARDED_ENV_NAMES = [
9797
"OPENAI_API_KEY",
9898
"ANTHROPIC_API_KEY",
99+
// Otherwise the WSL server keeps exporting to endpoints from the bootstrap.
100+
"T3CODE_OTEL_SDK_DISABLED",
101+
"OTEL_SDK_DISABLED",
99102
"T3CODE_OTLP_HEADERS",
100103
"T3CODE_OTLP_PROTOCOL",
101104
] as const;
Collapse file

‎apps/desktop/src/electron/ElectronProtocol.test.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/electron/ElectronProtocol.test.ts
+9-2Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe("ElectronProtocol", () => {
105105
);
106106
assert.include(
107107
response.headers.get("content-security-policy") ?? "",
108-
"connect-src 'self' http: https: ws: wss:",
108+
"connect-src 'self' blob: http: https: ws: wss:",
109109
);
110110
assert.include(
111111
response.headers.get("content-security-policy") ?? "",
@@ -255,7 +255,14 @@ describe("ElectronProtocol", () => {
255255
"https://clerk.t3.codes",
256256
"https://challenges.cloudflare.com",
257257
]);
258-
assert.deepEqual(directives["connect-src"], ["'self'", "http:", "https:", "ws:", "wss:"]);
258+
assert.deepEqual(directives["connect-src"], [
259+
"'self'",
260+
"blob:",
261+
"http:",
262+
"https:",
263+
"ws:",
264+
"wss:",
265+
]);
259266
assert.deepEqual(directives["img-src"], [
260267
"'self'",
261268
"t3code:",
Collapse file

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

Copy file name to clipboardExpand all lines: apps/desktop/src/electron/ElectronProtocol.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ export function makeDesktopContentSecurityPolicy(input: DesktopProtocolRegistrat
8484
// the build-configured Clerk, relay, and OTLP endpoints. Those environment
8585
// origins are not known when this response policy is created, so restrict
8686
// connections by the network schemes the client supports instead of by host.
87-
const connectSources = ["'self'", "http:", "https:", "ws:", "wss:"];
87+
// GLTFLoader fetches embedded textures through blob URLs after parsing the model.
88+
const connectSources = ["'self'", "blob:", "http:", "https:", "ws:", "wss:"];
8889

8990
return [
9091
"default-src 'self'",

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.