The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 05:45 UTC
fix(server): thread titles use linked PR context when the URL is followed by a colon or bold markers (#29656)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Alex Southwell committed
Nov 3, 2026 at 23:16 UTC
4f58294ca821c53c84f1502bf01b7beb3f9e5b46
2 files changed
+2
-2
apps/server/src/textGeneration/ThreadTitleLinks.test.ts
+1
-1
@@ -20,7 +20,7 @@ it.effect(
20
const result = yield* resolveThreadTitleLinks({
21
cwd: "/tmp/project",
22
message:
23
- "https://docs.test/guide [https://forge.test/change/1] https://forge.test/change/1#discussion https://forge.test/change/1?view=full `https://forge.test/change/2` https://forge.test/change/2. https://forge.test/change/3",
23
+ "https://docs.test/guide **https://forge.test/change/1**: [https://forge.test/change/1] https://forge.test/change/1#discussion https://forge.test/change/1?view=full `https://forge.test/change/2` https://forge.test/change/2. https://forge.test/change/3",
24
}).pipe(
25
Effect.provide(
26
layerRegistry({
apps/server/src/textGeneration/ThreadTitleLinks.ts
+1
-1
@@ -13,7 +13,7 @@ export const resolveThreadTitleLinks = Effect.fn("resolveThreadTitleLinks")(func
13
const providers = yield* SourceControlProviderRegistry.SourceControlProviderRegistry;
14
const links = new Map<string, NonNullable<ReturnType<typeof providers.resolveLink>>>();
15
for (const match of input.message.matchAll(/https:\/\/[^\s<>"')\]`]+/g)) {
16
- const candidate = match[0].replace(/[.,;!?]+$/, "");
16
+ const candidate = match[0].replace(/[.,:;!?*]+$/, "");
17
if (!URL.canParse(candidate)) continue;
18
const url = new URL(candidate);
19
url.hash = "";