diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be5a72e..86e73fd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,275 @@ # Changelog +## v1.10.1 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.1-beta.2...v1.10.1) + +## v1.10.1-beta.2 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.1-beta.1...v1.10.1-beta.2) + +### 🩹 Fixes + +- **model-selector:** Always update model list for Ollama and LMStudio backends ([4fcf092](https://github.com/NativeMindBrowser/NativeMindExtension/commit/4fcf092)) + +### ❤️ Contributors + +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.1-beta.1 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.1-beta.0...v1.10.1-beta.1) + +### 🩹 Fixes + +- **model-selector:** Prevent infinite loops by refining model selection logic ([20697cc](https://github.com/NativeMindBrowser/NativeMindExtension/commit/20697cc)) +- **darkmode:** Use correct text color for ollama configuration btn ([2017524](https://github.com/NativeMindBrowser/NativeMindExtension/commit/2017524)) + +### ❤️ Contributors + +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.1-beta.0 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0...v1.10.1-beta.0) + +### 🩹 Fixes + +- **model-list:** Improve model list update logic for web-llm endpoint, prevent extension crash ([a85bf9a](https://github.com/NativeMindBrowser/NativeMindExtension/commit/a85bf9a)) + +### ❤️ Contributors + +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.0 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.16...v1.10.0) + +## v1.10.0-beta.16 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.15...v1.10.0-beta.16) + +### 🩹 Fixes + +- **loading:** Update loading track color to improve visibility in dark mode ([567b4c3](https://github.com/NativeMindBrowser/NativeMindExtension/commit/567b4c3)) + +### ❤️ Contributors + +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.0-beta.15 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.14...v1.10.0-beta.15) + +### 🩹 Fixes + +- **chat:** Refactor autoGenerateChatTitleIfNeeded to use createRetryWrapper for improved error handling ([8db739d](https://github.com/NativeMindBrowser/NativeMindExtension/commit/8db739d)) + +### ❤️ Contributors + +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.0-beta.14 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.13...v1.10.0-beta.14) + +### 🩹 Fixes + +- **darkmode:** Update icon dimensions and color adjustments across components for onboarding page ([fff91dd](https://github.com/NativeMindBrowser/NativeMindExtension/commit/fff91dd)) + +### ❤️ Contributors + +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.0-beta.13 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.12...v1.10.0-beta.13) + +### 🩹 Fixes + +- **config:** Enhance reactive default value handling and storage synchronization ([e9ca17d](https://github.com/NativeMindBrowser/NativeMindExtension/commit/e9ca17d)) + +### ❤️ Contributors + +- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012)) + +## v1.10.0-beta.12 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.11...v1.10.0-beta.12) + +### 🩹 Fixes + +- **selector:** Update dropdown class to include text color ([a9c60c0](https://github.com/NativeMindBrowser/NativeMindExtension/commit/a9c60c0)) +- **style:** Fix text-accent-blue for darkmode ([dc2e4fd](https://github.com/NativeMindBrowser/NativeMindExtension/commit/dc2e4fd)) + +### ❤️ Contributors + +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.0-beta.11 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.10...v1.10.0-beta.11) + +### 🚀 Enhancements + +- **gmail-tools:** Replace logo SVG with new design and update text color ([57626ba](https://github.com/NativeMindBrowser/NativeMindExtension/commit/57626ba)) + +### 🩹 Fixes + +- Remove duplicated ollama redirect svg and update color schema. ([3f159b0](https://github.com/NativeMindBrowser/NativeMindExtension/commit/3f159b0)) + +### ❤️ Contributors + +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.0-beta.10 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.9...v1.10.0-beta.10) + +### 🩹 Fixes + +- **settings:** Update connection status handling for Ollama model list retrieval ([7c0dc5a](https://github.com/NativeMindBrowser/NativeMindExtension/commit/7c0dc5a)) + +### ❤️ Contributors + +- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012)) + +## v1.10.0-beta.9 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.8...v1.10.0-beta.9) + +### 🩹 Fixes + +- **settings:** Update connection error messages for Ollama across multiple languages ([15e4706](https://github.com/NativeMindBrowser/NativeMindExtension/commit/15e4706)) + +### ❤️ Contributors + +- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012)) + +## v1.10.0-beta.8 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.7...v1.10.0-beta.8) + +### 🚀 Enhancements + +- **Darkmode:** Introduce darkmode theme with color variables ([c0150fd](https://github.com/NativeMindBrowser/NativeMindExtension/commit/c0150fd)) +- **theme:** Refactor theme management to use composables and improve type definitions ([097d35c](https://github.com/NativeMindBrowser/NativeMindExtension/commit/097d35c)) +- **theme:** Refactor&fix styles and class names across components for consistency and clarity ([5c34142](https://github.com/NativeMindBrowser/NativeMindExtension/commit/5c34142)) + +### 🩹 Fixes + +- Revert unnecessary darkmode changes ([6034697](https://github.com/NativeMindBrowser/NativeMindExtension/commit/6034697)) +- **theme:** Update theme handling to use data attributes instead of directly adding a class to the document to avoid affecting the original page, and use useEventListener to handle event listener unmounting. ([0a4dc45](https://github.com/NativeMindBrowser/NativeMindExtension/commit/0a4dc45)) +- **Input:** Correct shadow styles for error state in input component ([54ab5a1](https://github.com/NativeMindBrowser/NativeMindExtension/commit/54ab5a1)) +- **ui:** Improve agent-task ui style on fetching pages ([eaa6f1d](https://github.com/NativeMindBrowser/NativeMindExtension/commit/eaa6f1d)) +- **theme:** Consolidate color variables and remove unused colors. ([e64b99d](https://github.com/NativeMindBrowser/NativeMindExtension/commit/e64b99d)) + +### 🏡 Chore + +- **cross-env:** Update package.json to use cross-env for better environment variable management ([43c3e2e](https://github.com/NativeMindBrowser/NativeMindExtension/commit/43c3e2e)) + +### ❤️ Contributors + +- Neko Liu ([@NekoWings](http://github.com/NekoWings)) +- Nekowings ([@NekoWings](http://github.com/NekoWings)) +- NekoWings ([@NekoWings](http://github.com/NekoWings)) + +## v1.10.0-beta.7 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.6...v1.10.0-beta.7) + +### 🩹 Fixes + +- **chat:** Trim m studio error message length to improve readability ([57967fe](https://github.com/NativeMindBrowser/NativeMindExtension/commit/57967fe)) +- **AttachmentSelector:** Enhance model support checks for vision capabilities based on endpoint type ([e6d9954](https://github.com/NativeMindBrowser/NativeMindExtension/commit/e6d9954)) + +### ❤️ Contributors + +- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012)) + +## v1.10.0-beta.6 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.5...v1.10.0-beta.6) + +### 🏡 Chore + +- **chat:** Simplify error messages by removing endpoint type references ([3e1f5d1](https://github.com/NativeMindBrowser/NativeMindExtension/commit/3e1f5d1)) + +### ❤️ Contributors + +- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012)) + +## v1.10.0-beta.5 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.4...v1.10.0-beta.5) + +### 🩹 Fixes + +- **web-llm:** Fix infinite loading when local model cache is invalid ([3b6a8e0](https://github.com/NativeMindBrowser/NativeMindExtension/commit/3b6a8e0)) +- **settings:** Update connection message for LM Studio in multiple language files ([130bdd7](https://github.com/NativeMindBrowser/NativeMindExtension/commit/130bdd7)) + +### 🏡 Chore + +- **onboarding:** Adjust help section visibility based on selected endpoint type ([72515e8](https://github.com/NativeMindBrowser/NativeMindExtension/commit/72515e8)) + +### ❤️ Contributors + +- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012)) + +## v1.10.0-beta.4 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.9.4...v1.10.0-beta.4) + +### 🚀 Enhancements + +- **lm-studio:** Initial support for LM Studio ([0f318d9](https://github.com/NativeMindBrowser/NativeMindExtension/commit/0f318d9)) +- **tests:** Add onboarding and settings tests, enhance mock responses ([e8793b7](https://github.com/NativeMindBrowser/NativeMindExtension/commit/e8793b7)) +- **chat:** Add toggle to enable online search and its settings ([a60f489](https://github.com/NativeMindBrowser/NativeMindExtension/commit/a60f489)) +- **tests:** Add LLM API tests and mock responses for Ollama ([16a1f8d](https://github.com/NativeMindBrowser/NativeMindExtension/commit/16a1f8d)) + +### 🩹 Fixes + +- **lm-studio:** Return consistent structured response format ([24d9636](https://github.com/NativeMindBrowser/NativeMindExtension/commit/24d9636)) +- **pattern-extractor:** Ensure extracted values are strings and handle undefined keys ([b95e17f](https://github.com/NativeMindBrowser/NativeMindExtension/commit/b95e17f)) + +### 🏡 Chore + +- **package:** Update version to 1.10.0 ([d933b93](https://github.com/NativeMindBrowser/NativeMindExtension/commit/d933b93)) +- **release:** V1.10.0-beta.1 ([67c8c4f](https://github.com/NativeMindBrowser/NativeMindExtension/commit/67c8c4f)) +- **release:** V1.10.0-beta.2 ([170af85](https://github.com/NativeMindBrowser/NativeMindExtension/commit/170af85)) +- **release:** V1.10.0-beta.3 ([0581a4f](https://github.com/NativeMindBrowser/NativeMindExtension/commit/0581a4f)) +- **browser-use:** Set default for browser use to true ([374a849](https://github.com/NativeMindBrowser/NativeMindExtension/commit/374a849)) +- **chat:** Improve assistant message expanded class ([4847c2c](https://github.com/NativeMindBrowser/NativeMindExtension/commit/4847c2c)) +- **logging:** Enhance rawLoggingMiddleware to log stream and generate results ([a6ee1f9](https://github.com/NativeMindBrowser/NativeMindExtension/commit/a6ee1f9)) + +### ❤️ Contributors + +- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012)) + +## v1.10.0-beta.3 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.2...v1.10.0-beta.3) + +### 🚀 Enhancements + +- **tests:** Add onboarding and settings tests, enhance mock responses ([e8793b7](https://github.com/NativeMindBrowser/NativeMindExtension/commit/e8793b7)) +- **chat:** Add toggle to enable online search and its settings ([a60f489](https://github.com/NativeMindBrowser/NativeMindExtension/commit/a60f489)) + +### ❤️ Contributors + +- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012)) + +## v1.10.0-beta.2 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.0-beta.1...v1.10.0-beta.2) + +### 🩹 Fixes + +- **lm-studio:** Return consistent structured response format ([24d9636](https://github.com/NativeMindBrowser/NativeMindExtension/commit/24d9636)) + +## v1.10.0-beta.1 + +[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.9.0-beta.2...v1.10.0-beta.1) ## v1.9.5 @@ -352,10 +622,12 @@ ### 🚀 Enhancements - **agent:** Add task-click-page icon and update related references ([fef0052](https://github.com/NativeMindBrowser/NativeMindExtension/commit/fef0052)) +- **lm-studio:** Initial support for LM Studio ([0f318d9](https://github.com/NativeMindBrowser/NativeMindExtension/commit/0f318d9)) ### 🏡 Chore - **logo:** Update extension logo in toolbar ([7335374](https://github.com/NativeMindBrowser/NativeMindExtension/commit/7335374)) +- **package:** Update version to 1.10.0 ([d933b93](https://github.com/NativeMindBrowser/NativeMindExtension/commit/d933b93)) ### ❤️ Contributors @@ -1020,6 +1292,7 @@ ### 🚀 Enhancements - **agent:** Add methods to persist and check current tab in AgentStorage ([510c90a](https://github.com/NativeMindBrowser/NativeMindExtension/commit/510c90a)) + ## v1.6.5 [compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.6.4...v1.6.5) @@ -1135,6 +1408,7 @@ ### 🏡 Chore - **package:** Update version to 1.7.0-beta.0 ([1947b6b](https://github.com/NativeMindBrowser/NativeMindExtension/commit/1947b6b)) + ## v1.6.1 [compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.6.0...v1.6.1) @@ -1302,6 +1576,7 @@ ### 🩹 Fixes - **pdf:** Implement PDF file parsing from URL and enhance file handling for Firefox ([bc9ebf6](https://github.com/NativeMindBrowser/NativeMindExtension/commit/bc9ebf6)) + ## v1.6.0-beta.2 [compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.6.0-beta.1...v1.6.0-beta.2) @@ -1321,6 +1596,7 @@ ### 🩹 Fixes - **pdf:** Add Firefox support for PDF text extraction and page count ([a621ca8](https://github.com/NativeMindBrowser/NativeMindExtension/commit/a621ca8)) + ## v1.6.0-beta.1 [compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.6.0-beta.0...v1.6.0-beta.1) @@ -1344,6 +1620,7 @@ ### 📖 Documentation - **browser-llm-api:** Add feature detection section for API availability check ([716657e](https://github.com/NativeMindBrowser/NativeMindExtension/commit/716657e)) + ## v1.6.0-beta.0 [compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.5.0...v1.6.0-beta.0) @@ -2158,7 +2435,6 @@ ## v1.2.0-beta.1 - ### 🚀 Enhancements - Welcome to NativeMind ([e6f9f30](https://github.com/NativeMindBrowser/NativeMindExtension/commit/e6f9f30)) diff --git a/app.config.ts b/app.config.ts index f93afc06..0c9b0137 100644 --- a/app.config.ts +++ b/app.config.ts @@ -3,10 +3,10 @@ import { defineAppConfig } from 'wxt/utils/define-app-config' // Define types for your config declare module 'wxt/utils/define-app-config' { export interface WxtAppConfig { - theme?: 'light' | 'dark' + theme?: 'light' | 'dark' | 'system' } } export default defineAppConfig({ - theme: 'light', + theme: 'system', }) diff --git a/assets/icons/delete.svg b/assets/icons/delete.svg index 188293af..8e2fc4d0 100644 --- a/assets/icons/delete.svg +++ b/assets/icons/delete.svg @@ -1,5 +1,11 @@ - - + + + + + + \ No newline at end of file diff --git a/assets/icons/logo-for-gmail-tools.svg b/assets/icons/logo-for-gmail-tools.svg new file mode 100644 index 00000000..401f08de --- /dev/null +++ b/assets/icons/logo-for-gmail-tools.svg @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/assets/icons/logo-lm-studio.png b/assets/icons/logo-lm-studio.png new file mode 100644 index 00000000..2749b4c6 Binary files /dev/null and b/assets/icons/logo-lm-studio.png differ diff --git a/assets/icons/logo-ollama.svg b/assets/icons/logo-ollama.svg index b522b7bc..9afd954a 100644 --- a/assets/icons/logo-ollama.svg +++ b/assets/icons/logo-ollama.svg @@ -1,17 +1,17 @@ + fill="currentColor" /> + fill="currentColor" /> + fill="currentColor" /> + fill="currentColor" /> + fill="currentColor" /> \ No newline at end of file diff --git a/assets/icons/md-highlight-action.svg b/assets/icons/md-highlight-action.svg new file mode 100644 index 00000000..29cc63e3 --- /dev/null +++ b/assets/icons/md-highlight-action.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/assets/icons/md-search-action.svg b/assets/icons/md-search-action.svg new file mode 100644 index 00000000..7580cf5f --- /dev/null +++ b/assets/icons/md-search-action.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/assets/icons/md-summarize-action.svg b/assets/icons/md-summarize-action.svg new file mode 100644 index 00000000..5e2d17ae --- /dev/null +++ b/assets/icons/md-summarize-action.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/assets/icons/ollama-redirect.svg b/assets/icons/ollama-redirect.svg index 57fe7088..08f0c3c0 100644 --- a/assets/icons/ollama-redirect.svg +++ b/assets/icons/ollama-redirect.svg @@ -1,20 +1,8 @@ - - - - - - - - - - - - - - - + + + \ No newline at end of file diff --git a/assets/icons/online-search.svg b/assets/icons/online-search.svg new file mode 100644 index 00000000..2bf93d80 --- /dev/null +++ b/assets/icons/online-search.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/icons/quick-action-modified.svg b/assets/icons/quick-action-modified.svg index 66406da4..254657dc 100644 --- a/assets/icons/quick-action-modified.svg +++ b/assets/icons/quick-action-modified.svg @@ -1,19 +1,17 @@ - - - + + d="M7 7.5C7.2761 7.5 7.5 7.7239 7.5 8C7.5 8.2761 7.2761 8.5 7 8.5H4C3.72386 8.5 3.5 8.2761 3.5 8C3.5 7.7239 3.72386 7.5 4 7.5H7Z" + fill="currentColor" /> + d="M12 5C12.2761 5 12.5 5.22386 12.5 5.5C12.5 5.77614 12.2761 6 12 6H4C3.72386 6 3.5 5.77614 3.5 5.5C3.5 5.22386 3.72386 5 4 5H12Z" + fill="currentColor" /> + d="M13.0596 2.01172C14.2515 2.1326 15.1815 3.13954 15.1816 4.36328V8H13.8818V4.36328C13.8816 3.77608 13.4056 3.2999 12.8184 3.2998H3.36328C2.77614 3.30001 2.3 3.77615 2.2998 4.36328V11.4541C2.29988 12.0413 2.77607 12.5183 3.36328 12.5186H9V13.8184H3.36328L3.12207 13.8057C1.93019 13.6847 1.00007 12.6779 1 11.4541V4.36328C1.00019 3.05819 2.05816 2.00021 3.36328 2H12.8184L13.0596 2.01172Z" + fill="currentColor" /> + d="M15.4595 13.5397L15.543 13.6425C15.7094 13.8948 15.6815 14.2374 15.4595 14.4594C15.2375 14.6815 14.8948 14.7093 14.6426 14.543L14.5397 14.4594L11.54 11.4598C11.2862 11.2059 11.2862 10.7938 11.54 10.54C11.7938 10.2861 12.206 10.2861 12.4598 10.54L15.4595 13.5397Z" + fill="currentColor" /> + d="M10.3496 14V10.5C10.3496 9.86491 10.8649 9.34961 11.5 9.34961H15L15.1309 9.36331C15.4271 9.42381 15.6504 9.68581 15.6504 10C15.6504 10.3142 15.4271 10.5762 15.1309 10.6367L15 10.6504H11.6504V14C11.6504 14.359 11.359 14.6504 11 14.6504C10.641 14.6504 10.3496 14.359 10.3496 14Z" + fill="currentColor" /> \ No newline at end of file diff --git a/assets/icons/redirect-to-ollama.svg b/assets/icons/redirect-to-ollama.svg deleted file mode 100644 index fe8ad058..00000000 --- a/assets/icons/redirect-to-ollama.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/assets/icons/unload.svg b/assets/icons/unload.svg new file mode 100644 index 00000000..f1bd6540 --- /dev/null +++ b/assets/icons/unload.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/assets/icons/web.svg b/assets/icons/web.svg index 58701760..c1c14c9b 100644 --- a/assets/icons/web.svg +++ b/assets/icons/web.svg @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/components/AutoExpandTextArea.vue b/components/AutoExpandTextArea.vue index 8c3afd73..894459cc 100644 --- a/components/AutoExpandTextArea.vue +++ b/components/AutoExpandTextArea.vue @@ -3,7 +3,7 @@ ref="textareaRef" v-model="inputValue" rows="1" - :class="classNames(props.class, 'field-sizing-content scrollbar-hide wrap-anywhere')" + :class="classNames(props.class, 'field-sizing-content scrollbar-hide wrap-anywhere text-text-primary')" @input="onInput" @paste="emit('paste', $event)" /> diff --git a/components/Checkbox.vue b/components/Checkbox.vue index 8272de46..cdbc6d0c 100644 --- a/components/Checkbox.vue +++ b/components/Checkbox.vue @@ -6,8 +6,8 @@
diff --git a/components/ConfirmPanel.vue b/components/ConfirmPanel.vue index abc151fe..2e297cbb 100644 --- a/components/ConfirmPanel.vue +++ b/components/ConfirmPanel.vue @@ -13,7 +13,7 @@ const emit = defineEmits(['cancel', 'ok'])