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: sync upstream main · vedprakash2302/Cody@426c2cd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps
    • desktop
      • scripts
        • electron-launcher.mjs
      • src
        • app
          • DesktopApp.ts
          • DesktopConnectionCatalogStore.ts
        • preview
          • Manager.ts
        • settings
          • DesktopAppSettings.ts
          • DesktopClientSettings.ts
        • snapShot
          • DesktopSnapShot.ts
        • ssh
          • DesktopSshPasswordPrompts.ts
    • mobile/src
      • features
        • cloud
          • dpop.ts
        • threads
          • PendingUserInputCard.tsx
          • ThreadDetailScreen.tsx
          • ThreadFeed.tsx
          • ThreadRouteScreen.tsx
          • thread-handoff-row.tsx
        • workspace
          • WorkspaceToolbar.ios.tsx
      • state
        • use-thread-composer-state.ts
    • server/src
      • assets
        • AttachmentUpload.ts
        • NativeAppIconResolver.ts
      • auth
        • PairingGrantStore.ts
        • ServerSecretStore.ts
        • SessionStore.ts
      • cli
        • app.ts
        • project.ts
      • cloud
        • CloudLink.ts
      • desktopUpdate
        • DesktopAppUpdate.ts
      • device
        • DeviceHost.ts
        • DeviceService.test.ts
        • DeviceService.ts
        • LocalDeviceHost.test.ts
        • LocalDeviceHost.ts
      • environment
        • ServerEnvironment.test.ts
        • ServerEnvironment.ts
      • git
        • GitManager.ts
      • mcp
        • McpHttpServer.ts
        • McpSessionRegistry.ts
        • OrchestratorMcpService.activity.test.ts
        • OrchestratorMcpService.test.ts
        • OrchestratorMcpService.ts
        • OrchestratorMcpToolkit.integration.test.ts
        • PreviewAutomationBroker.ts
        • TaskCancelNativeSubagent.integration.test.ts
        • ThreadMetadataMcpService.ts
        • WorktreeMcpService.ts
        • threadAccess.ts
        • toolkits
          • core.test.ts
          • orchestrator
            • tools.ts
          • pullRequests
            • handlers.ts
      • orchestration-v2
        • Adapters
          • ClaudeAdapterV2.test.ts
          • ClaudeAdapterV2.testkit.ts
          • ClaudeAdapterV2.ts
        • NotificationMailbox.ts
        • Orchestrator.ts
        • ProjectionRecovery.test.ts
        • ProjectionSettlement.test.ts
        • ProjectionStore.test.ts
        • ProjectionStore.ts
        • ProviderRuntimeRecoveryService.test.ts
        • ProviderRuntimeRecoveryService.ts
        • PullRequestSyncReactor.ts
        • PullRequestWatchReactor.ts
        • ThreadLaunchService.test.ts
        • ThreadLaunchService.ts
        • ThreadPullRequestService.ts
        • ThreadSettlementService.ts
        • ThreadStop.test.ts
        • runtimeLayer.test.ts
        • testkit/fixtures
          • message_steering
            • pi_output.ts
            • pi_transcript.ndjson
          • multi_turn
            • pi_transcript.ndjson
          • pi_compaction
            • pi_transcript.ndjson
          • provider_thread_resume
            • pi_transcript.ndjson
          • simple
            • pi_transcript.ndjson
          • thread_rollback_after_stop
            • pi_transcript.ndjson
          • thread_rollback
            • pi_transcript.ndjson
          • turn_interrupt_mid_tool
            • pi_transcript.ndjson
      • persistence
        • Migrations.ts
        • Migrations
          • 055_OrchestrationV2.test.ts
          • 062_ThreadFailureLookupIndex.ts
        • Sqlite.test.ts
        • Sqlite.ts
        • reconcileV2PreviewMigration.test.ts
      • preview
        • Manager.ts
      • project
        • ManagedProjectFolders.ts
        • ProjectSetupScriptRunner.ts
      • provider
        • AntigravityAuth.ts
        • AntigravityInstallation.ts
        • CodexInstallation.ts
        • antigravityUsageLimits.test.ts
        • antigravityUsageLimits.ts
        • resetCreditCoordinator.ts
      • pullRequest
        • PullRequestReadCache.ts
      • relay
        • AgentAwarenessRelay.ts
      • resourceTelemetry
        • NativeTelemetryClient.ts
      • scheduledTasks
        • ScheduledTaskService.ts
        • webhookTemplate.test.ts
        • webhookTemplate.ts
      • serverRuntimeStartup.ts
      • serverSettings.test.ts
      • telemetry
        • AnalyticsService.ts
        • Identify.ts
      • usage
        • UsageLimitSources.test.ts
        • UsageLimitSources.ts
      • vcs
        • GitVcsDriver.ts
      • ws.ts
    • web/src
      • cloud
        • dpop.ts
      • components
        • AnimatedWidth.tsx
        • ChatView.tsx
        • CommandPalette.tsx
        • LegacySidebar.tsx
        • NightlyMobileBeta.tsx
        • ThreadTerminalDrawer.tsx
        • chat
          • ChatComposer.tsx
          • ComposerPendingUserInputPanel.navigation.test.tsx
          • ComposerPendingUserInputPanel.permissions.test.tsx
          • ComposerPendingUserInputPanel.test.tsx
          • ComposerPendingUserInputPanel.tsx
          • HtmlRenderDialog.test.tsx
          • HtmlRenderDialog.tsx
          • HtmlRenderFrame.tsx
          • MessagesTimeline.tsx
          • TimelineSystemDivider.tsx
          • V2LifecycleRow.tsx
        • files
          • BrowserDocumentFrame.tsx
        • onboarding
          • WelcomeWizard.tsx
        • pullRequest
          • PullRequestDetailPanel.tsx
        • settings
          • ProjectSettingsPanel.test.tsx
          • ProjectSettingsPanel.tsx
          • scopedSettings.test.ts
          • scopedSettings.ts
      • composer-logic.test.ts
      • composer-logic.ts
      • hooks
        • useHandleNewThread.test.ts
        • useHandleNewThread.ts
        • useRemoveClonedProject.ts
      • onboarding
        • projectImport.logic.test.ts
        • projectImport.logic.ts
      • routes
        • _chat.index.tsx
      • state
        • entities.ts
      • terminal/ghostty
        • surface.test.ts
        • surface.ts
  • docs/user
    • html-renders.md
    • install.md
  • infra/relay/src
    • agentActivity
      • ApnsDeliveryQueue.ts
      • DeliveryAttempts.ts
    • environments
      • EnvironmentConnector.ts
      • EnvironmentCredentials.ts
    • hooks
      • HookForwarder.ts
    • http
      • Api.ts
  • package.json
  • packages
    • client-runtime/src
      • handoff.test.ts
      • handoff.ts
      • operations
        • commands.ts
      • rpc
        • session.ts
      • state
        • orchestrationV2Projection.test.ts
        • orchestrationV2Projection.ts
        • threadShell.test.ts
        • threadShell.ts
    • contracts/src
      • git.test.ts
      • git.ts
      • model.ts
      • orchestrationV2.ts
      • orchestratorMcp.test.ts
      • orchestratorMcp.ts
    • provider-acp-registry/src/server
      • AcpRegistrySupport.ts
    • provider-acp/src/server
      • AcpSessionRuntime.ts
      • adapter.ts
      • nativeLogging.ts
    • provider-core/src/server
      • maintenanceResolver.test.ts
      • orchestrationInstructions.ts
      • providerAuthFlow.ts
    • provider-cursor/src/server
      • auth.ts
    • provider-opencode
      • package.json
      • src/server
        • OpenCodeRuntime.errorDetail.test.ts
        • OpenCodeRuntime.ts
        • v2
          • OpenCode2Client.live.test.ts
    • provider-pi/src/server
      • adapter.test.ts
      • adapter.ts
      • mcpBridge.testkit.ts
      • mcpExtensionSource.test.ts
      • mcpExtensionSource.ts
    • shared/src
      • composerTrigger.test.ts
      • composerTrigger.ts
      • htmlRender.test.ts
      • htmlRender.ts
      • keybindings.ts
      • relayClient.ts
      • threadPullRequests.ts
    • source-control-core/src/server
      • pullRequestChecks.test.ts
      • pullRequestChecks.ts
  • patches
    • @[email protected]
    • @[email protected]
    • @[email protected]
    • @[email protected]
    • @[email protected]
    • [email protected]
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • scripts
    • build-desktop-artifact.test.ts
    • build-desktop-artifact.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

‎apps/desktop/scripts/electron-launcher.mjs‎

Copy file name to clipboardExpand all lines: apps/desktop/scripts/electron-launcher.mjs
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ const APP_BUNDLE_ID = isDevelopment
2020
? `com.vedpandey.cody.dev.${devBundleIdSuffix || "local"}`
2121
: "com.vedpandey.cody";
2222
const APP_PROTOCOL_SCHEMES = isDevelopment ? ["cody-dev"] : ["cody"];
23-
const LAUNCHER_VERSION = 20;
23+
// Cody and upstream both used 20; bump so cached dev bundles pick up the autofill opt-out.
24+
const LAUNCHER_VERSION = 21;
2425
const developmentMacIconPngPath = NodePath.join(repoRoot, "assets", "cody", "icon-1024.png");
2526
const productionMacIconPngPath = developmentMacIconPngPath;
2627
// oxlint-disable-next-line t3code/no-global-process-runtime -- Standalone launcher script has no Effect runtime.
@@ -275,6 +276,8 @@ function patchMainBundleInfoPlist(appBundlePath, iconPath, executableName) {
275276
for (const [key, value] of Object.entries(resolveMacBundleInfoPlistStrings(executableName))) {
276277
setPlistString(infoPlistPath, key, value);
277278
}
279+
// macOS 26 offers Messages/Mail codes in every text field unless opted out.
280+
setPlistJson(infoPlistPath, "NSAutoFillRequiresTextContentTypeForOneTimeCodeOnMac", true);
278281
setPlistJson(infoPlistPath, "CFBundleURLTypes", [
279282
{
280283
CFBundleURLName: APP_BUNDLE_ID,
Collapse file

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

Copy file name to clipboardExpand all lines: apps/desktop/src/app/DesktopApp.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const MAX_TCP_PORT = 65_535;
4343
const DESKTOP_BACKEND_PORT_PROBE_HOSTS = ["127.0.0.1", "0.0.0.0", "::"] as const;
4444

4545
const makeDesktopRunId = Crypto.Crypto.pipe(
46-
Effect.flatMap((crypto) => crypto.randomUUIDv4),
46+
Effect.flatMap((crypto) => crypto.randomUUIDv4()),
4747
Effect.map((value) => value.replaceAll("-", "").slice(0, 12)),
4848
);
4949

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
@@ -411,7 +411,7 @@ export const make = Effect.gen(function* () {
411411
),
412412
),
413413
);
414-
const suffix = (yield* crypto.randomUUIDv4.pipe(
414+
const suffix = (yield* crypto.randomUUIDv4().pipe(
415415
Effect.mapError(
416416
(cause) =>
417417
new DesktopConnectionCatalogStoreWriteError({
Collapse file

‎apps/desktop/src/preview/Manager.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/preview/Manager.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2501,7 +2501,7 @@ const makeNativeOperations = Effect.fn("PreviewManager.makeOperations")(function
25012501
wc,
25022502
),
25032503
]);
2504-
const uuid = yield* crypto.randomUUIDv4.pipe(Effect.orDie);
2504+
const uuid = yield* crypto.randomUUIDv4().pipe(Effect.orDie);
25052505
const id = `browser-screenshot-${artifactSiteSlug(wc.getURL())}-${millis.toString(36)}-${uuid.slice(0, 8)}`;
25062506
const artifactPath = path.join(resolvedArtifactDirectory, `${id}.png`);
25072507
const data = image.toPNG();
Collapse file

‎apps/desktop/src/settings/DesktopAppSettings.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/settings/DesktopAppSettings.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ export const make = Effect.gen(function* () {
521521
return Effect.succeed([settingsChange(settings, false), settings] as const);
522522
}
523523

524-
return crypto.randomUUIDv4.pipe(
524+
return crypto.randomUUIDv4().pipe(
525525
Effect.map((uuid) => uuid.replace(/-/g, "")),
526526
Effect.mapError(
527527
(cause) =>
Collapse file

‎apps/desktop/src/settings/DesktopClientSettings.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/settings/DesktopClientSettings.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export const make = Effect.gen(function* () {
195195
Effect.withSpan("desktop.clientSettings.get"),
196196
),
197197
set: (settings) =>
198-
crypto.randomUUIDv4.pipe(
198+
crypto.randomUUIDv4().pipe(
199199
Effect.map((uuid) => uuid.replace(/-/g, "")),
200200
Effect.mapError(
201201
(cause) =>
Collapse file

‎apps/desktop/src/snapShot/DesktopSnapShot.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/snapShot/DesktopSnapShot.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ export const make = Effect.gen(function* () {
858858
const prepareCapture = Effect.fn("desktop.snapShot.prepareCapture")(function* (
859859
settings: ClientSettings,
860860
) {
861-
const id = yield* crypto.randomUUIDv4.pipe(Effect.mapError((cause) => captureFailure(cause)));
861+
const id = yield* crypto.randomUUIDv4().pipe(Effect.mapError((cause) => captureFailure(cause)));
862862
const mode = captureMode(environment.platform);
863863
if (mode === "unavailable") {
864864
return yield* new DesktopSnapShotError({ operation: "unsupported", captureId: id });
Collapse file

‎apps/desktop/src/ssh/DesktopSshPasswordPrompts.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/ssh/DesktopSshPasswordPrompts.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export const make = Effect.fn("desktop.sshPasswordPrompts.make")(function* (
307307
});
308308
}
309309

310-
const requestId = yield* crypto.randomUUIDv4.pipe(
310+
const requestId = yield* crypto.randomUUIDv4().pipe(
311311
Effect.mapError(
312312
(cause) =>
313313
new DesktopSshPromptRequestIdGenerationError({
Collapse file

‎apps/mobile/src/features/cloud/dpop.ts‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/cloud/dpop.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export function createDpopProof(input: {
261261
});
262262
const nowMs = yield* Clock.currentTimeMillis;
263263
const jti = yield* Crypto.Crypto.pipe(
264-
Effect.flatMap((crypto) => crypto.randomUUIDv4),
264+
Effect.flatMap((crypto) => crypto.randomUUIDv4()),
265265
Effect.mapError(cloudDpopError("Could not generate DPoP proof identifier.")),
266266
);
267267
const htu = yield* normalizeHtu(input.url);
Collapse file

‎apps/mobile/src/features/threads/PendingUserInputCard.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/threads/PendingUserInputCard.tsx
+17-3Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ import { SymbolView } from "../../components/AppSymbol";
2121
import { AppText as Text } from "../../components/AppText";
2222
import { ControlPill } from "../../components/ControlPill";
2323
import { cn } from "../../lib/cn";
24+
import { SelectableMarkdownText } from "../../native/SelectableMarkdownText";
25+
import { useOpenPullRequest } from "../../native/useOpenPullRequest";
26+
import { useMarkdownPreviewStyles } from "../files/FileMarkdownPreview";
2427
import {
2528
isPendingUserInputOptionSelected,
2629
type PendingUserInput,
@@ -91,6 +94,19 @@ const EXPANDED_CARD_IS_OVERLAY = Platform.OS === "ios";
9194

9295
const CARD_LAYOUT_TRANSITION = LinearTransition.duration(200);
9396

97+
/** Renders question text as markdown so agent-provided links open on tap. */
98+
function QuestionText(props: { readonly markdown: string }) {
99+
const styles = useMarkdownPreviewStyles();
100+
const openLink = useOpenPullRequest();
101+
return (
102+
<SelectableMarkdownText
103+
markdown={props.markdown}
104+
textStyle={styles.nativeTextStyle}
105+
onLinkPress={(href) => void openLink(href)}
106+
/>
107+
);
108+
}
109+
94110
export function PendingUserInputCard(props: PendingUserInputCardProps) {
95111
const questionCount = props.pendingUserInput.questions.length;
96112
// Message responses start a new run and remain available after the provider exits.
@@ -277,9 +293,7 @@ export function PendingUserInputCard(props: PendingUserInputCardProps) {
277293
<Text className="font-t3-bold text-xs uppercase tracking-[1px] text-foreground-muted">
278294
{question.header}
279295
</Text>
280-
<Text className="font-sans text-base leading-snug text-foreground">
281-
{question.question}
282-
</Text>
296+
<QuestionText markdown={question.question} />
283297
<View className="gap-2">
284298
{question.options.map((option) => {
285299
const optionValue = option.value ?? option.label.trim();

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.