Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(composer): restore main's module extensions in the composer model

Tioit-Wangcada3e562ac9
diff --git a/apps/desktop/src/features/chat/composer/model.ts b/apps/desktop/src/features/chat/composer/model.ts
index d0dfdec2b..de1882ad0 100644
--- a/apps/desktop/src/features/chat/composer/model.ts
+++ b/apps/desktop/src/features/chat/composer/model.ts
@@ -11,9 +11,9 @@ import {
PERMISSION_MODES,
sessionThinkingMenuLevels,
} from "@pi-desktop/shared";
-import { sameComposerModelId } from "../../../lib/composer-models";
+import { sameComposerModelId } from "../../../lib/composer-models.ts";
import type { ComposerPluginPart } from "../../../lib/composer-smart-stop";
-import { providerThinkingLevels } from "../../../lib/session-thinking";
+import { providerThinkingLevels } from "../../../lib/session-thinking.ts";
export const COMPOSER_MIN_HEIGHT_PX = 28;
export const COMPOSER_MAX_VISIBLE_ROWS = 7;