registry: Type4Me (agent-type4me 0.1.0) under Agents (#139, kchen0x)

Lists @magpie-community/agent-type4me (merged in #136) on the Plugins tab under Agents, with an en/zh summary like Aider's. Not on npm yet (E404 on registry.npmjs.org); magpie 0.1.1243+ installs it from `dist`, which the README's Publishing section says is no reason to hold a listing.

Run at the reviewed head 1ff93d8 (on top of origin/main e543ab1):
- registry.json parses; `bun scripts/check.mjs` exits 0; `bun test` in packages/type4me: 4 pass. PR checks (test, on-npm) green.
- dist: `tgz/magpie-community-agent-type4me-0.1.0.tgz` hashes to the sha512 index.json names; its type4me.agent.js is byte-identical to packages/type4me on main. Icon URL answers 200.
- Upstream Type4Me (joewongjc/type4me) reads `AppDataLocation.profileDirectory/magpie-agent.json` (MagpieAgentFile.defaultURL) and reloads it on mtime/size change, so "used from the next dictation" holds.
- Sandbox HOME (magpie 0.1.1208, the dist tarball's package added): Type4Me shows on `magpie agents` once ~/Library/Application Support/Type4Me exists; `magpie type4me magpie/fakeco/fake-1` wrote baseURL http://127.0.0.1:3425/v1, apiKey magpie-type4me, model fakeco/fake-1 and kept a user key beside them; `magpie type4me default` put back the user's own {"model":"user-own","extra":1}.

Not tried: the real Type4Me app dictating through magpie, and installing from `dist` (needs magpie 0.1.1243; the local one is 0.1.1208).
This commit is contained in:
Kun Chen
2026-10-15 15:38:05 +08:00
committed by GitHub
parent e543ab1ae8
commit 8c4bf5cc72
+3 -1
View File
@@ -44,6 +44,8 @@
{ "package": "@magpie-community/middleware-think-tags", "name": "Think Tags", "kind": "middleware", "community": true,
"summary": { "en": "Take a model's <think>…</think> out of its reply's text, or put a Chat reply's reasoning into it.", "zh": "去掉回复正文开头的 <think>…</think>,或把 Chat 回复的思考内容放进正文。" } },
{ "package": "@magpie-community/agent-aider", "name": "Aider", "kind": "agent", "community": true,
"summary": { "en": "Aider (aider.chat) on magpie's Agents page: pick one of magpie's models for it, and switch it off to put its config back.", "zh": "把 Aider(aider.chat)加到 magpie 的 Agent 页:给它选 magpie 的模型,关掉即恢复它原来的配置。" } }
"summary": { "en": "Aider (aider.chat) on magpie's Agents page: pick one of magpie's models for it, and switch it off to put its config back.", "zh": "把 Aider(aider.chat)加到 magpie 的 Agent 页:给它选 magpie 的模型,关掉即恢复它原来的配置。" } },
{ "package": "@magpie-community/agent-type4me", "name": "Type4Me", "kind": "agent", "community": true,
"summary": { "en": "Type4Me (macOS voice input) on magpie's Agents page: pick one of magpie's models for its LLM post-processing, used from the next dictation.", "zh": "把 Type4Me(macOS 语音输入)加到 magpie 的 Agent 页:给它的 LLM 后处理选 magpie 的模型,下一次语音输入即生效。" } }
]
}