Repository navigation
AllInOneIME 0.2.0
·
541 commits
to mainline
since this release
English
Added
@commands: type@at the start of a sentence for the command list (type letters to filter), and press the action key (⏎ by default) when done to run the command. When@isn't followed by a command (e.g.@张三, a name), it's inserted as usual.@improve: translates or polishes, plus a few rewrites (Amazon Bedrock); what every sentence used to get.@question: asks a question. The answer appears in the candidate panel; when inserted, it's joined into one line with control characters removed, so it's safe in a terminal too.@claude: opens Claude Code in Terminal with what you wrote as the first message (needs theclaudecommand installed on the Mac).@open: lists matching files, folders and apps as you type (Spotlight); text starting with~/or/is listed as a path, Tab completes, ⏎ opens.
- Once the results are up, ⌘C copies the highlighted one (for
@open, the path). - ⌘V in a command (or in a sentence-mode draft) appends the clipboard text, up to 2000 characters at a time; ⏎ after a command with nothing written yet uses the clipboard text (this works in terminals too). Content that password managers mark as concealed isn't read.
- The version number is shown at the bottom of the settings window, in
make statusand byallinoneime-cli --version.
Changed
- Without
@, it's a regular pinyin input method: picking a word inserts it, ⏎ is Return, in English mode letters are typed directly, what you say while holding right ⌥ is inserted directly too, and nothing goes online. - "Translate key" is now "Action key": ⏎ (the new default), Tap ⌥, ⌥Space or Space; it only applies to
@commands and sentence mode. ⇧⏎ inserts as typed. - The old behavior, where every sentence went into a draft and a key press produced the results, is now "Sentence mode", off by default. Turn it on in the settings, or toggle it with ⇧Space in Chinese mode (⇧Space used to turn the AI on and off).
Fixed
- AllInOneIME had no name in the input source list in System Settings; it now shows AllInOneIME. The microphone and speech recognition permission prompts also follow the system language (Chinese / English).
- Ctrl+Space didn't get to AllInOneIME, or it switched back to U.S. after a while:
make installnow adds AllInOneIME to your input sources (only this one; other input sources are left alone),make uninstallremoves only this one, and thelisted:line ofmake statusshows whether it's in the list.
Upgrade notes
- To upgrade, run
make installas usual, without uninstalling first; it adds AllInOneIME to your input sources, so you usually don't need to add it by hand. translateKeyin the config is no longer read;actionKeyreplaces it, ⏎ by default. If you used Tap ⌥, ⌥Space or Space, choose it again under "Action key" in the settings.- The old "AI translation and rewrites" switch (
aiEnabled) is no longer read, and sentence mode (sentenceMode) is off by default: after upgrading, you get no results without@. For the old behavior, turn on sentence mode. - Upgrading from an AIPinyin (AI 拼音) version:
make installremoves the old AIPinyin.app and "AI 拼音设置"; the added input source and the microphone permission are kept. On first launch, settings, the jargon list and learned words move to~/.config/allinoneimeand~/Library/Application Support/AllInOneIME, logs to~/Library/Logs/AllInOneIME, and each old folder is left as a link to the new one.
Full changelog: CHANGELOG.en.md. To install from source, git clone and run make install; see the README.
中文
新增
@命令:句子开头打@弹出命令列表(打字母筛选),写完按执行键(默认 ⏎)执行。@后面不是命令时(比如@张三)照常上屏。@improve:翻译或润色,再给几种改写(Amazon Bedrock),也就是以前每句话的用法。@question:提问。答案出现在候选框里,上屏时合成一行、去掉控制字符,在终端里也安全。@claude:在「终端」里打开 Claude Code,你写的话就是第一句(需要本机装好claude命令)。@open:边打边列出匹配的文件、文件夹和 App(聚焦搜索);~/、/开头按路径列出,Tab 补全,⏎ 打开。
- 出结果后按 ⌘C 复制高亮项(
@open复制路径)。 - 在命令里(或整句模式的草稿里)按 ⌘V,把剪贴板里的文字接上去,一次最多 2000 字;命令后面还没写内容时按 ⏎,用剪贴板里的文字(终端里也能用)。密码管理器标成隐藏的内容不读。
- 设置窗口底部、
make status和allinoneime-cli --version显示版本号。
改动
- 不打
@时就是普通拼音输入法:选词直接上屏,⏎ 就是回车,英文模式下字母直接上屏,按住右 ⌥ 说的话也直接上屏,不联网。 - 「出结果的键」改为「执行键」:⏎(新的默认)、单按 ⌥、⌥空格 或空格,只对
@命令和整句模式起作用;⇧⏎ 原样上屏。 - 以前每句话都进草稿、按键出结果的用法改为「整句模式」,默认关闭。在设置里打开,或在中文模式下按 ⇧空格 切换(⇧空格 以前是开关 AI)。
修复
- 系统设置的输入法列表里 AllInOneIME 没有名字,现在显示 AllInOneIME。麦克风和语音识别的权限提示也跟随系统语言(中文 / 英文)。
- Ctrl+空格 切不到 AllInOneIME,或切过去一会儿又变回 U.S.:
make install现在会把 AllInOneIME 加进你的输入法列表(只加这一项,其他输入法不动),make uninstall只移除这一项,make status的listed:一行显示它在不在列表里。
升级须知
- 升级照常运行
make install,不用先卸载;它会把 AllInOneIME 加进输入法列表,一般不用再手动添加。 - config 里的
translateKey不再读取,改用actionKey,默认 ⏎。以前用单按 ⌥、⌥空格 或空格的,在设置的「执行键」里重新选一次。 - 以前的「AI 翻译和改写」开关(
aiEnabled)不再读取,整句模式(sentenceMode)默认关闭:升级后不打@就不会出结果。想要原来的用法,打开整句模式。 - 从 AIPinyin(AI 拼音)时期的版本升级:
make install会删掉旧的 AIPinyin.app 和「AI 拼音设置」,已添加的输入法和麦克风权限保留。设置、黑话库和学到的词第一次启动时搬到~/.config/allinoneime和~/Library/Application Support/AllInOneIME,日志搬到~/Library/Logs/AllInOneIME,旧目录留一个指向新目录的链接。
完整的更新记录见 CHANGELOG.md。从源码安装:git clone 后 make install,见 README。