Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5ed4d64
feat(chat): implement message editing and copying functionality in Us…
NekoWings Oct 9, 2025
88ed48d
feat(chat): enhance message editing UI with scroll container and impr…
NekoWings Oct 10, 2025
ccdf982
feat(selection): implement selection text tracking and integrate with…
NekoWings Oct 16, 2025
2c551a3
feat: Add camera functionality and support for captured pages
NekoWings Oct 16, 2025
11d3e19
feat: Introduce effort selection for gpt-oss in chat
NekoWings Oct 12, 2025
2a53084
chore(release): v1.11.0-beta.0
github-actions[bot] Oct 17, 2025
befb170
fix(chat): add cleanup method for loading attachments in ReactiveHist…
NekoWings Oct 20, 2025
eec015b
feat: Add copy and retry actions for AI messages component.
NekoWings Oct 21, 2025
e5c6dc4
chore(release): v1.11.0-beta.1
github-actions[bot] Oct 22, 2025
32d389d
fix: Enhance tab capture functionality with cached window ID and opti…
NekoWings Oct 22, 2025
4f6c6af
chore(release): v1.11.0-beta.2
github-actions[bot] Oct 22, 2025
911d45d
fix: Update attachment limit to include captured-page type and improv…
NekoWings Oct 22, 2025
e9c6c52
chore(release): v1.11.0-beta.3
github-actions[bot] Oct 22, 2025
97fcf41
fix: Clean up incomplete agent task groups in history management
NekoWings Oct 23, 2025
82efecc
chore(release): v1.11.0-beta.4
github-actions[bot] Oct 23, 2025
03b4115
fix: Improve tooltip boundary detection with container bounds for sid…
NekoWings Oct 24, 2025
0803ee2
fix: Exclude welcome and quick action messages from assistant action …
NekoWings Oct 24, 2025
33e5fa7
chore(release): v1.11.0-beta.5
github-actions[bot] Oct 24, 2025
9b397f9
feat(writing-tools): Add button to open writing tools settings
NekoWings Oct 28, 2025
f7c0a93
fix: Exclude reasoning parameter for WebLLM model compatibility
NekoWings Oct 28, 2025
20f4390
chore(release): v1.11.0-beta.6
github-actions[bot] Oct 28, 2025
277e38a
fix: Add fill attribute to path in dots-vertical icon for color consi…
NekoWings Oct 28, 2025
ee19549
fix: Improve model user config handling and fix webllm broken issue
NekoWings Oct 31, 2025
c823e83
chore(release): v1.11.0-beta.7
github-actions[bot] Oct 31, 2025
2cd619a
chore(release): v1.11.0
github-actions[bot] Nov 3, 2025
0d9e92a
fix: Enhance AutoExpandTextArea width handling and add minimum width …
NekoWings Nov 5, 2025
bf8b882
fix: Improve capture handling in CameraButton and ensure permission r…
NekoWings Nov 7, 2025
b8eddec
feat: Add permission reload modal for Firefox and update localization…
NekoWings Nov 8, 2025
f313379
chore(release): v1.12.0-beta.0
github-actions[bot] Nov 10, 2025
f0287ca
fix: Update IconClose class in Modal and adjust IconCamera size in Pe…
NekoWings Nov 11, 2025
acbf3e0
feat: Update welcome message
NekoWings Nov 12, 2025
6b9f88e
feat: add sidebar modal for Firefox users
NekoWings Nov 12, 2025
8644c7e
fix: correct permissions assignment for Firefox and other browsers
NekoWings Nov 12, 2025
8c88e02
chore(release): v1.12.0-beta.1
github-actions[bot] Nov 12, 2025
e10b6c5
fix: add function to check if Firefox sidebar is open
NekoWings Nov 12, 2025
71c667e
chore(release): v1.12.0-beta.2
github-actions[bot] Nov 12, 2025
d2ce4b6
refactor: use current browser lang as extension default lang on first…
NekoWings Nov 12, 2025
0f25eb6
chore(release): v1.12.0-beta.3
github-actions[bot] Nov 12, 2025
289a966
fix: update welcome message formatting in multiple locale files
NekoWings Nov 13, 2025
0e3e237
chore(release): v1.12.0-beta.4
github-actions[bot] Nov 13, 2025
65eaa0d
chore(release): v1.12.0
github-actions[bot] Nov 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
199 changes: 199 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,204 @@
# Changelog

## v1.12.0

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.12.0-beta.4...v1.12.0)

## v1.12.0-beta.4

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.12.0-beta.3...v1.12.0-beta.4)

### 🩹 Fixes

- Update welcome message formatting in multiple locale files ([289a966](https://github.com/NativeMindBrowser/NativeMindExtension/commit/289a966))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.12.0-beta.3

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.12.0-beta.2...v1.12.0-beta.3)

### 💅 Refactors

- Use current browser lang as extension default lang on first installation ([d2ce4b6](https://github.com/NativeMindBrowser/NativeMindExtension/commit/d2ce4b6))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.12.0-beta.2

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.12.0-beta.1...v1.12.0-beta.2)

### 🩹 Fixes

- Add function to check if Firefox sidebar is open ([e10b6c5](https://github.com/NativeMindBrowser/NativeMindExtension/commit/e10b6c5))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.12.0-beta.1

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.12.0-beta.0...v1.12.0-beta.1)

### 🚀 Enhancements

- Update welcome message ([acbf3e0](https://github.com/NativeMindBrowser/NativeMindExtension/commit/acbf3e0))
- Add sidebar modal for Firefox users ([6b9f88e](https://github.com/NativeMindBrowser/NativeMindExtension/commit/6b9f88e))

### 🩹 Fixes

- Update IconClose class in Modal and adjust IconCamera size in PermissionReloadModal ([f0287ca](https://github.com/NativeMindBrowser/NativeMindExtension/commit/f0287ca))
- Correct permissions assignment for Firefox and other browsers ([8644c7e](https://github.com/NativeMindBrowser/NativeMindExtension/commit/8644c7e))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.12.0-beta.0

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0...v1.12.0-beta.0)

### 🚀 Enhancements

- Add permission reload modal for Firefox and update localization strings ([b8eddec](https://github.com/NativeMindBrowser/NativeMindExtension/commit/b8eddec))

### 🩹 Fixes

- Enhance AutoExpandTextArea width handling and add minimum width calculation for Firefox ([0d9e92a](https://github.com/NativeMindBrowser/NativeMindExtension/commit/0d9e92a))
- Improve capture handling in CameraButton and ensure permission request is processed correctly ([bf8b882](https://github.com/NativeMindBrowser/NativeMindExtension/commit/bf8b882))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.11.0

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0-beta.7...v1.11.0)

## v1.11.0-beta.7

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0-beta.6...v1.11.0-beta.7)

### 🩹 Fixes

- Add fill attribute to path in dots-vertical icon for color consistency ([277e38a](https://github.com/NativeMindBrowser/NativeMindExtension/commit/277e38a))
- Improve model user config handling and fix webllm broken issue ([ee19549](https://github.com/NativeMindBrowser/NativeMindExtension/commit/ee19549))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.11.0-beta.6

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0-beta.5...v1.11.0-beta.6)

### 🚀 Enhancements

- **writing-tools:** Add button to open writing tools settings ([9b397f9](https://github.com/NativeMindBrowser/NativeMindExtension/commit/9b397f9))

### 🩹 Fixes

- Exclude reasoning parameter for WebLLM model compatibility ([f7c0a93](https://github.com/NativeMindBrowser/NativeMindExtension/commit/f7c0a93))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.11.0-beta.5

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0-beta.4...v1.11.0-beta.5)

### 🩹 Fixes

- Improve tooltip boundary detection with container bounds for sidepanel ([03b4115](https://github.com/NativeMindBrowser/NativeMindExtension/commit/03b4115))
- Exclude welcome and quick action messages from assistant action history ([0803ee2](https://github.com/NativeMindBrowser/NativeMindExtension/commit/0803ee2))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.11.0-beta.4

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0-beta.3...v1.11.0-beta.4)

### 🩹 Fixes

- Clean up incomplete agent task groups in history management ([97fcf41](https://github.com/NativeMindBrowser/NativeMindExtension/commit/97fcf41))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.11.0-beta.3

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0-beta.2...v1.11.0-beta.3)

### 🩹 Fixes

- Update attachment limit to include captured-page type and improve error handling ([911d45d](https://github.com/NativeMindBrowser/NativeMindExtension/commit/911d45d))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.11.0-beta.2

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0-beta.1...v1.11.0-beta.2)

### 🩹 Fixes

- Enhance tab capture functionality with cached window ID and optional host permissions ([32d389d](https://github.com/NativeMindBrowser/NativeMindExtension/commit/32d389d))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.11.0-beta.1

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.11.0-beta.0...v1.11.0-beta.1)

### 🚀 Enhancements

- Add copy and retry actions for AI messages component. ([eec015b](https://github.com/NativeMindBrowser/NativeMindExtension/commit/eec015b))

### 🩹 Fixes

- **chat:** Add cleanup method for loading attachments in ReactiveHistoryManager ([befb170](https://github.com/NativeMindBrowser/NativeMindExtension/commit/befb170))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))

## v1.11.0-beta.0

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.1...v1.11.0-beta.0)

### 🚀 Enhancements

- **chat:** Implement message editing and copying functionality in User component ([5ed4d64](https://github.com/NativeMindBrowser/NativeMindExtension/commit/5ed4d64))
- **chat:** Enhance message editing UI with scroll container and improved button functionality ([88ed48d](https://github.com/NativeMindBrowser/NativeMindExtension/commit/88ed48d))
- **selection:** Implement selection text tracking and integrate with llm ([ccdf982](https://github.com/NativeMindBrowser/NativeMindExtension/commit/ccdf982))
- Add camera functionality and support for captured pages ([2c551a3](https://github.com/NativeMindBrowser/NativeMindExtension/commit/2c551a3))
- Introduce effort selection for gpt-oss in chat ([11d3e19](https://github.com/NativeMindBrowser/NativeMindExtension/commit/11d3e19))

### 🩹 Fixes

- **web-llm:** Fix infinite loading when local model cache is invalid ([66239b1](https://github.com/NativeMindBrowser/NativeMindExtension/commit/66239b1))

### 🏡 Chore

- **release:** V1.9.5 ([c7afaef](https://github.com/NativeMindBrowser/NativeMindExtension/commit/c7afaef))

### ❤️ Contributors

- NekoWings ([@NekoWings](http://github.com/NekoWings))
- Neko Liu ([@NekoWings](http://github.com/NekoWings))
- Tony Hu ([@tonyhu-012](http://github.com/tonyhu-012))

## v1.10.1

[compare changes](https://github.com/NativeMindBrowser/NativeMindExtension/compare/v1.10.1-beta.2...v1.10.1)
Expand Down
8 changes: 8 additions & 0 deletions assets/icons/camera.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions assets/icons/captured-page.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions assets/icons/copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion assets/icons/dots-vertical.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/icons/retry.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions assets/icons/selected-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 35 additions & 10 deletions components/AutoExpandTextArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,29 +45,54 @@ if (!CSS.supports('field-sizing', 'content')) {
const textareaBounding = useElementBounding(textareaRef)
const getSizingStyles = () => {
const width = textareaRef.value?.offsetWidth
const baseStyleCss = `position: absolute; top: 100px; left: 100px; opacity: 1; max-height: 0; overflow-wrap: anywhere; width: ${width}px; scrollbar-width: none`
const widthRule = typeof width === 'number' && width > 0 ? `width: ${width}px;` : ''
const baseStyleCss = `position: absolute; top: 100px; left: 100px; opacity: 1; max-height: 0; overflow-wrap: anywhere; scrollbar-width: none; ${widthRule}`
if (!textareaRef.value) return baseStyleCss
const el = textareaRef.value
const styles = window.getComputedStyle(el)
const sizingStyles = ['width', 'padding-left', 'padding-right', 'border-left', 'border-right', 'box-sizing', 'font-family', 'font-size']
return sizingStyles.filter((prop) => !!styles.getPropertyValue(prop)).map((prop) => `${prop}: ${styles.getPropertyValue(prop)}`).join('; ') + ';' + baseStyleCss
return sizingStyles
.filter((prop) => !!styles.getPropertyValue(prop))
.map((prop) => `${prop}: ${styles.getPropertyValue(prop)}`)
.join('; ') + ';' + baseStyleCss
}
const { element: measureEl } = useTempElement('textarea', { attributes: { style: getSizingStyles(), id: `nm-textarea-measure-${generateRandomId()}` } })

watch(() => [textareaBounding.width.value], ([width]) => {
const syncMeasureStyles = (width?: number) => {
measureEl.style.cssText = getSizingStyles()
measureEl.style.width = `${width}px`
})
if (typeof width === 'number' && width > 0) {
measureEl.style.width = `${width}px`
}
}

watch(inputValue, async (v) => {
measureEl.value = v ?? ''
if (!textareaRef.value) return
const resizeTextarea = () => {
const textarea = textareaRef.value
if (!textarea) return
const width = textareaBounding.width.value
if (width <= 0) return
syncMeasureStyles(width)
measureEl.value = inputValue.value ?? ''
// force a reflow to ensure the height is recalculated
const _ = measureEl.offsetHeight
const scrollHeight = measureEl.scrollHeight
const height = Math.max(props.minHeight || 0, scrollHeight)
textarea.style.height = `${height}px` // Set height to scrollHeight to expand
})
textarea.style.height = `${height}px`
}

watch(
() => textareaBounding.width.value,
() => {
resizeTextarea()
},
{ immediate: true, flush: 'post' },
)

watch(
inputValue,
() => {
resizeTextarea()
},
{ immediate: true, flush: 'post' },
)
}
</script>
2 changes: 1 addition & 1 deletion components/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<slot name="closeButton">
<IconClose
v-if="!noCloseButton"
class="z-50 text-fg-01-light dark:text-fg-03-light w-4 h-4"
class="z-50 text-text-primary w-4 h-4"
/>
</slot>
</div>
Expand Down
Loading
Loading