You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by zh...@apache.org on 2026/09/01 15:07:29 UTC

(maka) 06/10: fix(desktop): make connection settings entry ESM-safe

This is an automated email from the ASF dual-hosted git repository.

me2seeks pushed a commit to branch feat/desktop-api-key-host-onboarding
in repository https://gitbox.apache.org/repos/asf/maka.git

commit e2f7caf038e5849274fd9c672f102e38ca4d7b9a
Author: me2seeks <me...@gmail.com>
AuthorDate: Tue Sep 1 01:19:46 2026 +0800

    fix(desktop): make connection settings entry ESM-safe
---
 .../src/renderer/features/connection-settings/index.ts       | 12 ++++++------
 .../src/renderer/settings/provider-connection-status.ts      |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/apps/desktop/src/renderer/features/connection-settings/index.ts b/apps/desktop/src/renderer/features/connection-settings/index.ts
index 0172670344..b7a6c5048f 100644
--- a/apps/desktop/src/renderer/features/connection-settings/index.ts
+++ b/apps/desktop/src/renderer/features/connection-settings/index.ts
@@ -20,22 +20,22 @@
 export {
   ConnectionSettingsServicesProvider,
   ConnectionSettingsServicesConsumer,
-} from './services-context';
+} from './services-context.js';
 export type {
   ApiKeyOnboardingBridge,
   ConnectionSettingsServices,
   ConnectionsBridge,
   DesktopConnectionOnboardingIdentity,
   RuntimeHostSettingsConnectionsBridge,
-} from './ports';
+} from './ports.js';
 export {
   categoryLabel,
   connectionLastTestMessageDisplay,
   connectionTestFailureMessage,
   providerPanelActionErrorMessage,
-} from './provider-panel-shared';
-export { getProviderSettingsCopy } from './settings-provider-copy';
-export type { ProviderSettingsCopy } from './settings-provider-copy';
+} from './provider-panel-shared.js';
+export { getProviderSettingsCopy } from './settings-provider-copy.js';
+export type { ProviderSettingsCopy } from './settings-provider-copy.js';
 export type {
   CredentialPresenceStatus,
-} from './provider-panel-shared';
+} from './provider-panel-shared.js';
diff --git a/apps/desktop/src/renderer/settings/provider-connection-status.ts b/apps/desktop/src/renderer/settings/provider-connection-status.ts
index 9cb7572500..b74f2c3bab 100644
--- a/apps/desktop/src/renderer/settings/provider-connection-status.ts
+++ b/apps/desktop/src/renderer/settings/provider-connection-status.ts
@@ -26,7 +26,7 @@ import type { LlmConnection } from '@maka/core/llm-connections';
 import { isRetiredProvider } from '@maka/core/provider-registry';
 
 import type { UiLocale } from '@maka/core/ui-locale';
-import { getProviderSettingsCopy } from '../features/connection-settings';
+import { getProviderSettingsCopy } from '../features/connection-settings/index.js';
 import type { StatusSemantic } from '@maka/ui';
 
 export interface ConnectionChipStatus {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org