Repository navigation
New: answer @question with the Claude Code, Codex, Antigravity or Kiro subscription you already have: Settings → AI has one picker for every AI, and a CLI chosen keeps its own session in the input method, with the web only (no files or commands on your Mac) and ⌘⏎ to go on in Terminal. Settings → Input lets Caps Lock switch Chinese and English instead of Shift, one press each, while AllInOneIME stays under English in Input Sources. Settings are lighter: less-used options are folded away.
Added
- The input language can switch on Caps Lock instead of Shift: Settings → Input → Switch input language, Tap Shift (the default, as before) or Caps Lock (
switchKeyin the config, synced through iCloud with the other settings). With Caps Lock chosen, each press of it on its own does what a tap of Shift does, the same switch, notice and per-field memory, and what you're typing is handled as Shift handles it; the input method turns the lock off again at once, so capitals never stay on and the light goes off. Caps Lock then no longer locks capitals: type them with Shift. A tap of Shift switches nothing then, and holding Shift still turns Translate as You Type on or off. Caps Lock with another modifier held, in password fields and under secure input is left to macOS. Settings, the input menu and Code's description name the key chosen. AllInOneIME stays listed under English in Input Sources. @questioncan be answered by a session of its own: Claude Code, Codex, Antigravity (Google Antigravity's CLI,agy) or Kiro CLI chosen in Settings → AI (questionBackend, this Mac's own, never synced; see Changed). A session is one long-running Claude Code, Codex (codex app-server), Antigravity (agy acp, on its fast model: the first words in about 2 seconds) or Kiro CLI the input method keeps, in its own folder under~/Library/Application Support/AllInOneIME, signed in with that CLI's own account (a subscription such as ChatGPT's, a company sign-in, or Claude Code on Amazon Bedrock), with no API key. Each@questionconversation in the panel is a new conversation there, its follow-ups in it: a question never carries the ones before it (its prompt stays short and the CLI's prompt cache isn't missed), and nothing is remembered across conversations. Whichever CLI it is, the session may read the web (search it, open pages) and nothing else: no files on this Mac, no commands, none of the CLI's MCP servers, extensions, plugins or other agents, and it asks for nothing; continued in Terminal (⌘⏎), it is the CLI as you set it up: a normal interactive session with your own rules, settings, permission prompts, tools and MCP servers, not the web-only session. A question with text you didn't type in it (selected text, a screenshot's text, a page or another command's output inside it) could carry instructions to send the conversation somewhere: in that conversation the session may fetch only the addresses you typed (in the question and its follow-ups), and with none its web tools are off; Claude Code is kept to those addresses' sites, while Codex, Antigravity and Kiro CLI, which can't be kept to addresses, have no web tools then; the same holds for a saved conversation you continue and for a saved question or conversation asked again with ⌘R: no web search, only the addresses you type are fetched. Antigravity is kept to its web search by an agent of the input method's that has only that tool and a hook in its folder that denies every other tool before it runs (it has no tool that opens a page); in Terminal the hook says nothing. Its conversations are named AllInOneIME where the CLI names sessions (Claude Code, Codex), so you can open them and read their history yourself; the README says how for each. Only the question asked now is sent, values hidden as for the provider, with the user guide's excerpts for a question about AllInOneIME. It starts when an@questionis about to be asked (@questiontyped or picked, or one @'s Ask AI row highlighted; never in an app without AI or during secure input), with a new conversation made ready then, so the answer doesn't wait for the CLI to start; it ends after 15 idle minutes, and a follow-up after that resumes its conversation. A conversation in it has no round limit, ⌘⏎ offers continuing the same conversation in Terminal first, and Start Over begins a new one. Never two processes on one conversation: ⌘⏎ ends the session's own process first and waits for it, Terminal's CLI holds the conversation's lock while it runs (lockf), and the next@question(an @ typed meanwhile too) starts a new conversation rather than the one handed off; after a relaunch (an update while answering too) no conversation from before is resumed. Whether each CLI is installed and signed in is looked at by Settings → AI only: the CLI chosen as it shows, every CLI as its choices open and as a CLI is chosen there, each as last found unless that is too old (signed in stands until AllInOneIME quits, anything else for a minute), so showing it again runs no CLI; never at launch nor for a question, and never with a provider chosen and the choices closed. A CLI found signed in after it wasn't has its session's process started again by the next question. The CLI chosen is tried as a question comes. The session runs with your login shell's PATH and the variables the CLI reads there (CLAUDE_CONFIG_DIR,CODEX_HOME,GEMINI_API_KEY…). When the session can't answer (not installed, signed out, it can't start, it can't be kept to the web, its usage limit, an expired AWS sign-in, nothing within 30 seconds, still answering an earlier question after 30 seconds, or the CLI compacting the conversation before it answers, which isn't waited for) the faster AI answers (see Changed) and the panel says why; Settings → AI shows a CLI that can't start so until it is looked at again. The panel's footer says who answered (Claude Code, Codex, Antigravity, Kiro CLI or the AI provider), "new conversation" when the CLI's conversation is new with that answer (the first question, or one it couldn't resume, so it doesn't have the rounds before), and the tokens the turn used when the CLI reports them. An answer that says nothing for 3 minutes, or doesn't stop within 5 seconds of Esc, ends the session's process, and quitting AllInOneIME (or updating it) ends every session's process. What has to be fast (rewriting, translating, autocomplete) goes to a faster AI (see Changed).
Changed
- Settings → AI is one choice for every AI feature. Collapsed, it shows the AI chosen, with its logo, its name and how it is now (signed in, not installed, no key, the Bedrock profile · region, ready …), Change ▾, and that choice's own settings under it (key, model, AWS profile, region, base URL, Test Connection; for a CLI its session, Start Over and ⌘⏎ to go on in Terminal). Change ▾ opens every choice as a card, by how it connects: With your subscription (Claude Code, Codex, Antigravity, Kiro CLI), With an API key (Claude API, OpenAI-compatible, Gemini API), Cloud services (Amazon Bedrock, AllInOneIME Cloud) and On this Mac (Apple on-device); the chosen one is outlined, picking one chooses it, Cancel changes nothing. The logos are one-color, in the text's color in light and dark mode. A CLI chosen answers
@questionin the input method's own session on it (see Added), and since a CLI takes a second or more, what has to be fast (rewriting, translating, replies, custom prompt commands, autocomplete) goes to the provider set up before (a key added, an AWS profile with credentials, AllInOneIME Cloud signed in), else to Apple Intelligence on this Mac where it's available; with neither, autocomplete is off and the rest goes to the session, more slowly, each request in a conversation of its own with no web tools (never an@questionconversation, however long it waits behind a question being answered). A line under the CLI says which. A question the session can't answer goes to that faster AI (with none, it fails, saying why). Config files keep working:questionBackendnames the CLI chosen (this Mac's own, never synced),providerthe provider, whose settings and keys stay whatever is chosen; a file withoutquestionBackendis on its provider, as every released version was. Gemini CLI, offered in this version's earlier builds, is replaced by Antigravity: Gemini CLI no longer serves personal Google accounts (Google moved them to Antigravity); a config that chose Gemini CLI's session moves to Antigravity's whenagyis installed, else to its provider, nothing else in it changed.@agentstill hands to Gemini CLI. The settings search finds the choice by every name ("kiro", "bedrock", "subscription") and opens the cards.@doctorwith a CLI chosen names it and the faster AI, and doesn't report a provider that isn't set up as a problem.
Fixed
- A CLI that only came with a desktop app (the Claude app's Claude Code, the ChatGPT app's
codex) counts as installed for@agenttoo, as it does for the@questionsessions, and runs from there: Settings → Commands →@agentno longer says it isn't installed,@agent(Claude Code, or a custom agent runningcodex) starts it in Terminal, and@tasksand the menu bar panel list Claude Code's tasks. Both look for it the same way. @tasksand the menu bar panel's Claude tasks no longer sometimes wait for good for aclaude agents(orclaude --bg) that had already ended: the input method learns of its end from the process itself, as the@questionsessions do, rather than from a wait that missed about one end in ten.
新功能: 用你已有的 Claude Code、Codex、Antigravity 或 Kiro 订阅回答 @question:设置 →「AI」里一个选择器管所有 AI,选了 CLI 就由输入法自己的会话回答,只上网,不碰你 Mac 上的文件和命令,⌘⏎ 在终端里接着聊。设置 →「输入」里可以改用大写锁定键切换中英文(按一下切一次),代替单按 Shift,AllInOneIME 仍在输入法的「英语」下。设置更清爽:不常用的选项收起来了。
新增
- 切换输入语言可以用大写锁定键代替 Shift:设置 →「输入」→「切换输入语言」选「单按 Shift」(默认,和以前一样)或「按大写锁定键」(配置里的
switchKey,和其他设置一起通过 iCloud 同步)。选了大写锁定键,单独按一下它就和单按 Shift 一样,同样切换、同样提示、同样按输入框记住,正在打的字也照 Shift 的规则处理;输入法马上把大写锁定关掉,所以不会一直是大写,灯也会灭。这时大写锁定键不再锁大写:打大写用 Shift。单按 Shift 这时什么都不切换,长按 Shift 照样开关边打边译。按住别的修饰键时、密码框里和安全输入时大写锁定键归 macOS。设置、输入菜单和「代码」的说明里写的都是选的那个键。AllInOneIME 仍在输入法的「英语」下。 @question可以用输入法自己的会话回答:在设置 →「AI」里选 Claude Code、Codex、Antigravity(Google Antigravity 的 CLI,agy)或 Kiro CLI(questionBackend,只属于这台 Mac,不同步;见「变更」)。会话是输入法留着的一个长期运行的 Claude Code、Codex(codex app-server)、Antigravity(agy acp,用它的快速模型:大约 2 秒出第一个字)或 Kiro CLI,在~/Library/Application Support/AllInOneIME下它自己的文件夹里,用那个 CLI 自己的账号登录(ChatGPT 等订阅、公司账号,或 Amazon Bedrock 上的 Claude Code),不用 API key。候选框里的每个@question对话在会话里都是一个新对话,追问留在里面:一个问题不会带上以前的所有问题(发出去的内容短,也不会错过 CLI 的提示缓存),不同对话之间什么都不记。不管是哪个 CLI,会话都只能读网页(搜索、打开网页),别的都不能:不碰这台 Mac 上的文件,不运行命令,不用那个 CLI 的 MCP 服务器、扩展、插件或别的 agent,什么都不请求批准;在终端里接着聊(⌘⏎)时就是你自己设置的那个 CLI:一个普通的交互式会话,用你自己的规则、设置、权限提示、工具和 MCP 服务器,不再是只读网页的会话。问题里有不是你打的文字(选中的文字、截图里的文字、问题里别的命令输出的网页或内容)时,那些文字可能让 agent 把对话发到别处:这个对话里会话只能打开你自己打的网址(问题和追问里的),一个都没打就关掉网页工具;Claude Code 只能打开那些网址所在的网站,Codex、Antigravity 和 Kiro CLI 没法只开指定网址,这时就没有网页工具;继续一个保存的对话,或用 ⌘R 重新问保存的问题或对话时也一样:不搜索网页,只打开你自己打的网址。Antigravity 靠输入法自己的一个只有网页搜索的 agent,加上它文件夹里的一个 hook(别的工具运行前就拒绝)只能搜索网页(它没有打开网页的工具);在终端里这个 hook 不起作用。CLI 能给会话起名的(Claude Code、Codex)对话名叫 AllInOneIME,你可以自己打开看记录;README 里写了每个怎么打开。只发现在问的这个问题,像发给 AI 服务时一样隐藏敏感信息,问 AllInOneIME 本身的问题时带上使用指南的几段。要问@question时才启动(打了或选了@question,或单个 @ 里高亮的是「问 AI」;不用 AI 的 App 里和安全输入时不启动),那时就准备好一个新对话,回答不用等 CLI 启动;闲置 15 分钟后结束,之后的追问接着它的对话。在会话里聊没有轮数限制,⌘⏎ 最先列出在终端里接着同一个对话聊,「重新开始」开一个新对话。一个对话从不同时有两个进程:⌘⏎ 先结束会话自己的进程并等它结束,终端里的 CLI 运行时拿着这个对话的锁(lockf),下一个@question(交接时打的 @ 也一样)开新对话,不会接着交出去的那个;重新启动后(回答时更新也一样)不会接着以前的对话。各个 CLI 装没装、登没登录只由设置 →「AI」检查:显示时只查选中的 CLI,打开选项时和在那里选 CLI 时查所有的;查到的结果会留着(已登录的留到退出 AllInOneIME,别的留一分钟),所以再显示一次不会再运行 CLI;启动时和问问题时都不查,选了 AI 服务、选项也没打开时从不查。原来没登录的 CLI 查到已登录后,下一个问题会重新启动它的会话进程。选中的 CLI 有问题来时直接用。会话用登录 shell 的 PATH 和那个 CLI 要读的变量(CLAUDE_CONFIG_DIR、CODEX_HOME、GEMINI_API_KEY等)。会话回答不了时(没装、没登录、启动不了、没法只读网页、用量到上限、AWS 登录过期、30 秒内没反应、30 秒后还在回答之前的问题,或 CLI 回答之前先压缩对话,不等它)由那个更快的 AI 回答(见「变更」),候选框里写着原因;启动不了的 CLI,在重新检查之前设置 →「AI」都这样显示。候选框底部写着是谁回答的(Claude Code、Codex、Antigravity、Kiro CLI 或 AI 服务),CLI 的对话从这个回答开始是新的(第一个问题,或没能接上原来的对话,它不知道前面几轮)时写「新对话」,CLI 报告了用量时写这一轮用的 token 数。回答 3 分钟没有动静,或按 Esc 后 5 秒还没停,会话的进程就结束;退出(或更新)AllInOneIME 时所有会话的进程都会结束。要快的(改写、翻译、续写)用更快的 AI(见「变更」)。
变更
- 设置 →「AI」是所有 AI 功能共用的一个选择。收起时显示选中的那个:图标、名字和现在的状态(已登录、没装、没填 Key、Bedrock 的 profile · 区域、可用……)、「更换 ▾」,下面是它自己的设置(key、模型、AWS Profile、区域、Base URL、「测试连接」;CLI 的是它的会话、「重新开始」和在终端里接着聊的 ⌘⏎)。「更换 ▾」把各家按连接方式列成卡片:用你的订阅(Claude Code、Codex、Antigravity、Kiro CLI)、用 API Key(Claude API、OpenAI 兼容、Gemini API)、云服务(Amazon Bedrock、AllInOneIME 云)和本机(Apple 本机);选中的那个有框,点一个就选它,「取消」什么都不改。图标都是单色的,跟着浅色、深色模式用文字的颜色。选了 CLI,
@question就在输入法自己的这个 CLI 会话里回答(见「新增」);CLI 回答要 1 秒以上,所以要快的(改写、翻译、回复、自定义的 AI 命令、续写)用之前设置好的 AI 服务(填了 key、有带凭证的 AWS profile、登录了 AllInOneIME 云),没有就用这台 Mac 上的 Apple Intelligence(能用时);两个都没有时续写关闭,其余的交给会话,会慢一些,每个请求都是单独的一个对话,没有网页工具(排在正在回答的问题后面等多久都不会进@question的对话)。CLI 下面有一行写着用的是哪个。会话回答不了的问题交给这个更快的 AI(没有的话问题失败,写着原因)。配置文件照样能用:questionBackend是选的 CLI(只属于这台 Mac,不同步),provider是 AI 服务,不管选哪个,各家的设置和 key 都保留;没有questionBackend的配置还是用它的 AI 服务,和以前发布的版本一样。这个版本早先的测试版里的 Gemini CLI 换成了 Antigravity:Gemini CLI 不再支持个人 Google 账号(Google 让个人用户改用 Antigravity);选了 Gemini CLI 会话的配置,装了agy时改用 Antigravity 的会话,没装时用它的 AI 服务,别的都不变。@agent照样可以交给 Gemini CLI。设置的搜索用每家的名字都能找到这个选择(「kiro」「bedrock」「订阅」),并打开卡片。选了 CLI 时,@doctor写出它和那个更快的 AI,不把没设置好的 AI 服务算作问题。
修复
- 只随桌面 App 带来的 CLI(Claude App 里的 Claude Code、ChatGPT App 里的
codex),@agent也当作已安装,和@question的会话一样,并从那里运行:设置 →「命令」→@agent不再说没装,@agent(Claude Code,或运行codex的自定义 agent)在终端里启动它,@tasks和菜单栏面板列出 Claude Code 的任务。两边用同一种方法找它。 @tasks和菜单栏面板里的 Claude 任务不会再偶尔一直等一个其实已经结束的claude agents(或claude --bg):输入法从进程本身得知它结束了,和@question的会话一样,不再用那种大约十次漏掉一次的等待。
AllInOneIME-0.7.4.dmg — SHA-256 63fe8b3948f2fd1965a8c5b5be861c46f56d2e99a4ac4ce2a0e8cb97a513fe65 (notarized by Apple)