Repository navigation
Releases: davislinyd/Lint
Release list
Lint v0.11.0
What's new
Edit a suggestion before you use it. In the ⌥⌘K bubble, press E (or click Edit E) and the suggestion becomes editable right there. Keep the parts you like, change the rest, and press ⌘⏎ to replace your text with your version.
⏎starts a new line. While Zhuyin, Pinyin or Boshiamy is composing a word, every key stays with the input method, and⌘⏎does not replace anything.escends the edit and keeps it. Pressescagain to close the bubble.- With Memory on, Lint learns from what you changed, just as it does when you edit a suggestion in the full panel.
The translation follows your edit. While you edit, the reference translation under the suggestion is updated about half a second after you stop typing. With Lint's local AI or Apple Intelligence this happens as you type. Other engines translate once, when you press esc, so they do not get a request at every pause.
Edit E sits with the other keys. The bubble's buttons are now Replace ⏎, Edit E, Rewrite R and Close esc. The pencil icon is gone, and the bubble can be a little wider so all four fit in every language.
新功能
採用前先修改建議。 在 ⌥⌘K 浮窗裡按 E(或點「編輯 E」),建議就能直接在浮窗裡修改。保留你喜歡的部分、改掉其他地方,再按 ⌘⏎ 用你的版本取代原文。
⏎是換行。注音、拼音或嘸蝦米組字時,按鍵都交給輸入法,按⌘⏎也不會取代。esc結束編輯並保留修改;再按一次esc關閉浮窗。- 開啟記憶時,Lint 會從你改的地方學習,和在完整面板裡修改建議一樣。
譯文跟著你的修改更新。 編輯時,建議下方的參考譯文會在你停手約半秒後更新。使用 Lint 的本機 AI 或 Apple Intelligence 時會邊打邊更新;其他引擎在你按 esc 時才翻譯一次,不會每次停手就多送一個請求。
「編輯 E」和其他按鍵放在一起。 浮窗的按鈕現在是「取代 ⏎」「編輯 E」「重寫 R」「關閉 esc」。鉛筆圖示已移除;浮窗可以稍微加寬,讓四個按鈕在各種介面語言下都放得下。
Full Changelog: v0.10.0...v0.11.0
Lint v0.10.0
What's new
Observation mode (optional, off by default). Turn it on in Settings → Memory, with Memory on. After Lint makes a suggestion, it keeps reading that one text field until you send the text, and learns from what you sent:
- Words to leave alone. Put a word back after Lint changed it, and Lint keeps it from the next suggestion on. A change you looked at and sent without is remembered once that has happened twice.
- Your own style. If you keep your contractions (or your full forms), end a message without a period or start it in lowercase where Lint would have changed that, Lint learns to leave it as it is.
- Per app. In an app where you never use its suggestions, Lint stops preparing them on its own;
⌥⌘Kstill works there and turns them back on. In an app where you mostly use one tone, automatic suggestions are written in that tone, and choosing a tone by hand ends that.
What Lint reads this way is only compared in memory and never written to disk. It keeps counts, records without any text and short rules like the other memories; Settings lists what it learned per app, and every memory can be reworded or deleted. Secure fields and password managers are never read. Details are in SECURITY.md.
Idiomatic rebuilds a tangled sentence. A sentence that says its subject twice, puts its clauses in a confusing order or runs on is now rebuilt, and still sounds like you. Words in another language, such as a Korean product name or a Japanese file name, stay as written.
Proofreading starts in Idiomatic. Until you pick a tone, proofreading uses Idiomatic. A tone you picked, Preserve Tone included, stays.
"Nothing to fix" is said out loud. When Preserve Tone finds nothing to change, Lint says so and offers Idiomatic.
新功能
觀察模式(選用,預設關閉)。 在「設定 → 記憶」開啟(需先啟用記憶)。Lint 給過建議後,會繼續讀取那一個輸入框,直到你把文字送出,並從你送出的內容學習:
- 哪些字不要改。 Lint 改掉的字被你改回去,下一次建議就會保留它。你看過建議、送出時沒有採用的改動,發生兩次後也會記住。
- 你自己的寫法。 你保留縮寫(或保留完整寫法)、訊息結尾不加句點、開頭用小寫,而 Lint 原本想改,它會學到照原樣保留。
- 依 App 調整。 某個 App 裡的建議你從未採用,Lint 就不再自動為它準備建議;在那裡按
⌥⌘K照常可用,並會恢復自動建議。某個 App 裡你多半採用同一種語氣,那裡的自動建議就改用那種語氣;手動選語氣就會取消。
這樣讀到的文字只在記憶體裡比對,不會寫入磁碟。Lint 只保存次數、不含文字的紀錄,以及和其他記憶一樣的簡短規則;設定頁會列出各 App 學到的調整,每一條記憶都可以改寫或刪除。安全輸入框與密碼管理 App 一律不讀。細節見 SECURITY.md。
「道地」會重組結構混亂的句子。 主詞重複、子句順序混亂或一路寫到底的句子,現在會被重組,同時保留你的語氣。其他語言的字(例如韓文的產品名、日文的檔名)會照原樣保留。
校對預設改用「道地」。 在你自己選語氣之前,校對使用「道地」;你選過的語氣(包含「保留原語氣」)不會被改動。
「沒有需要修正的地方」會直接告訴你。 「保留原語氣」找不到要改的地方時,Lint 會說明,並提供改用「道地」。
Full Changelog: v0.9.0...v0.10.0
Lint v0.9.0
What's new
Five tones instead of nine. The tone menu is simpler:
- Preserve Tone: corrects errors and leaves your wording alone.
- Idiomatic: also rewrites English that is correct but not what a native speaker would say, while keeping your voice.
- Formal, Casual and Concise: rewrite it in that style.
Translation offers Preserve Tone, Formal, Casual and Concise.
Write it in Chinese. Idiomatic, Formal, Casual and Concise now take Chinese too: they write what you mean the way a native English speaker would, always in English. This replaces the separate Native Speaker tones. Preserve Tone still edits only the English.
Mixed Chinese and English. A new choice in Settings → General decides whether such text is written all in English (the default, as Native Speaker did) or keeps its Chinese and has only its English edited.
Your saved choices carry over: Professional becomes Formal, Gen Z becomes Casual, and Native Speaker becomes Idiomatic (its Formal and Casual styles become Formal and Casual). Your prompt overrides keep working.
新功能
語氣從九個精簡成五個。 語氣選單變簡單了:
- 保留原語氣:只改錯,不動你的用字。
- 道地:也會改寫文法正確、但母語者不會這樣說的英文,同時保留你的語氣。
- 正式、輕鬆、簡潔:改寫成那種風格。
翻譯可選保留原語氣、正式、輕鬆、簡潔。
直接寫中文。 「道地」「正式」「輕鬆」「簡潔」現在也接受中文:會用英語母語者會說的方式寫出你的意思,輸出一律是英文,取代原本獨立的「母語人士」各語氣。「保留原語氣」仍只改英文。
中英夾雜的文字。 設定 → 一般新增一個選項:要整段寫成英文(預設,和原本「母語人士」相同),還是保留中文、只改英文。
原本的選擇會自動沿用:「專業」變成「正式」,「Gen Z」變成「輕鬆」,「母語人士」變成「道地」(它的正式、輕鬆風格分別變成「正式」「輕鬆」)。你自訂的 prompt 也會繼續生效。
Full Changelog: v0.8.1...v0.9.0
Lint v0.8.1
What's new
A new tone: Idiomatic. It fixes everything Preserve Tone fixes, and also rewrites English that is correct but not what a native speaker would say, while keeping your voice: a question stays a question, contractions or full forms stay as you wrote them, slang and emoji stay, and no greeting, hedge or stock phrase is added. For example, "Kindly revert back to me at the earliest." becomes "Please get back to me as soon as possible." It is in Proofread & polish only.
- An answer that changes your voice is retried once. One that still only sounds a little different is shown with a note; one that changes too much keeps your original.
- With Lint's local model the result appears all at once rather than word by word, because it is checked first.
- It does most with Lint's local model. Apple Intelligence changes much less with it.
Native Speaker with Apple Intelligence. Apple's model sometimes wrote notes about the text ("- The intent: …") or a numbered list instead of the rewrite. Lint now rejects those and asks again. Apple's model can still reply to the text instead of rewriting it, so under Automatic the Native Speaker tones use Lint's local model whenever it is set up. If you chose Apple Intelligence yourself, Lint keeps using it.
新功能
新語氣:「道地」。 除了「保留原語氣」會改的錯誤,也會改寫文法正確、但母語者不會這樣說的英文,同時保留你的語氣:問句仍是問句、縮寫或完整形式照你寫的、俚語與表情符號保留,不加招呼語、委婉語或套語。例如 "Kindly revert back to me at the earliest." 會變成 "Please get back to me as soon as possible."。只在「文法校對與潤飾」中提供。
- 語氣跑掉的答案會重試一次;重試後只剩語氣略有不同時,會附上提醒顯示,改動過多則保留原文。
- 使用本機模型時,結果會一次整段出現、不會逐字顯示,因為要先通過檢查。
- 本機模型的效果最明顯,Apple Intelligence 改得少很多。
「母語人士」搭配 Apple Intelligence。 Apple 的模型有時會寫出對原文的分析("- The intent: …")或編號清單,而不是改寫結果。Lint 現在會擋下這類答案並重新要求一次。Apple 的模型仍可能回覆原文而不是改寫它,所以在「自動」模式下,只要本機模型已經裝好,「母語人士」各語氣都會改用本機模型。如果你在設定裡明確選了 Apple Intelligence,Lint 會照你的選擇。
Full Changelog: v0.7.1...v0.8.1
Lint v0.7.1
What's new
Three styles for the Native speaker tone. Besides the standard one, the tone menu now has:
- Native Speaker · Casual: relaxed, with contractions and everyday words, like a message to a friend or a colleague.
- Native Speaker · Formal: careful written English, like a business letter: complete sentences, no contractions, no slang.
- Native Speaker · Gen Z: short and texting-style, with a few abbreviations and a little slang. It stays plain when the message is serious (bad news, an apology, a formal request) and never adds emoji.
They work like the Native speaker tone: Chinese, English or mixed text in, English out, in Proofread & polish only. Each style keeps its own prompt (Settings → Prompt) and its own learned habits.
Good to know:
- A style can drift from your original, so read the result before you replace it. Formal can soften strong wording, and Gen Z once wrote "next season" for "next quarter".
- Casual is close to the standard tone on text that is already conversational.
- Apple Intelligence was not measured with these styles.
新功能
「母語人士」多了三種風格。 除了標準版,語氣選單現在還有:
- 母語人士 · 輕鬆:口語、自然,用縮寫與日常用字,像寫給朋友或相處融洽的同事。
- 母語人士 · 正式:嚴謹的書面英文,像商務信函:完整句子、不用縮寫、不用俚語。
- 母語人士 · Gen Z:簡短的簡訊口吻,少量縮寫與流行用語。內容嚴肅(壞消息、道歉、正式請求)時會回到平實口吻,也不會主動加表情符號。
用法和「母語人士」相同:輸入中文、英文或中英夾雜,輸出英文,只在「文法校對與潤飾」中提供。每種風格有自己的提示詞(設定 → Prompt)與學到的習慣。
請留意:
- 風格有時會偏離原意,取代原文之前請先看過結果。正式風格可能把強烈的措辭說得比較溫和,Gen Z 也曾把「下季」寫成 “next season”。
- 對本來就很口語的句子,「輕鬆」和標準版很接近。
- 這些風格沒有用 Apple Intelligence 量測過。
Full Changelog: v0.7.0...v0.7.1
Lint v0.7.0
What's new
Native speaker tone. A new tone for Proofread & polish. Lint reads what your text means, in Chinese, English or both (even with mistakes), and writes it the way a native English speaker would say it: not a translation and not a correction. The answer is always English, and names, numbers, URLs, code and your layout are kept. Choose it from the tone menu in the panel, the menu bar, or Settings → Prompt. Translate does not have it.
Good to know:
- It works best when you check the result: the Chinese reading aid under the suggestion shows what the English says.
- Text that already reads naturally is usually left alone, but the small local model sometimes rewords it.
- Apple Intelligence was not measured with this tone.
新功能
「母語人士」語氣。「文法校對與潤飾」多了一個語氣:Lint 會先理解你的文字在說什麼(中文、英文或中英夾雜,英文有錯也可以),再用英語母語者會說的方式寫出來:不是翻譯,也不是校正。輸出一律是英文,名稱、數字、網址、程式碼與版面都會保留。可以在面板、選單列或「設定 → Prompt」的語氣選單選擇;「翻譯」沒有這個語氣。
請留意:
- 建議看一下結果:建議下方的中文參考譯文會顯示這段英文在說什麼。
- 本來就很道地的英文通常不會動,但較小的本機模型有時還是會改寫。
- 這個語氣沒有用 Apple Intelligence 量測過。
Full Changelog: v0.6.1...v0.7.0
Lint v0.6.1
Full Changelog: v0.6.0...v0.6.1
Lint v0.6.0
Full Changelog: v0.5.7...v0.6.0