Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix: file chips open the file the agent meant when it worked outside the workspace #20861

Closedyair(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/20861/headopened View on GitHub

Showing 12 changed files with 160 additions and 11 deletions (loading 10).

x
0 of 12 viewed, 12 left
143 additions and 6 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -48,7 +48,13 @@
type CodexArtifactTemplate,
} from "@t3tools/shared/codexArtifactTemplates";
import { resolveAssetUrl } from "@t3tools/client-runtime/state/assets";
-import { isMarkdownFileLinkLabel } from "@t3tools/shared/markdownLinks";
+import {
+ isMarkdownFileLinkLabel,
+ resolveMarkdownFileLinkTarget,
+ resolveMarkdownFileLinkThreadTarget,
+} from "@t3tools/shared/markdownLinks";
+import { formatFilePathPosition, splitFilePathPosition } from "@t3tools/shared/fileLinks";
+import { buildThreadFilePathIndex, threadFilePaths } from "@t3tools/shared/threadFilePaths";
import { formatAttachmentSize } from "@t3tools/client-runtime/state/attachments";
import { settlePromise, squashAtomCommandFailure } from "@t3tools/client-runtime/state/runtime";
import {
@@ -214,6 +220,8 @@
import { usePreparedConnection } from "../../state/session";
import { useLiveThreadLinkLabels } from "../../state/entities";
import { useThreadSelection } from "../../state/use-thread-selection";
+import { useThreadVisibleTurnItems } from "../../state/use-thread-detail";
+import { projectEnvironment } from "../../state/projects";
import { composerDocumentAttachmentRecord } from "../../lib/composerContext";
import * as Option from "effect/Option";
import { appAtomRegistry } from "../../state/atom-registry";
@@ -1669,6 +1677,25 @@