dia-bridge 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -15
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -131,21 +131,6 @@ Returns: JSON list of recent `{ contextId, updatedAt, answer }` entries without
|
|
|
131
131
|
- `DIA_CONTEXTS_DIR`: Override the default Dia `AgentServer/contexts` directory (useful for non-default Dia profiles or custom Windows install locations).
|
|
132
132
|
- `DIA_LOG_LEVEL`: Structured diagnostic log level written to `stderr` (`debug` | `info` | `warn` | `error` | `silent`, default `warn`).
|
|
133
133
|
|
|
134
|
-
## Known Limitations
|
|
135
|
-
|
|
136
|
-
- **Windows verification status**: Windows UI Automation (`ValuePattern.SetValue` with Chinese/Unicode/JSON, readback verification, focus, and button `InvokePattern` / Enter submission) and contexts directory discovery have been verified end-to-end on Windows against live desktop UI controls, but **real Dia on Windows with a logged-in account has not yet been tested directly**. If your Windows Dia installation stores `AgentServer/contexts` at a different path, set `DIA_CONTEXTS_DIR`.
|
|
137
|
-
- **Latency & Magpie 55s cap**: Simple Dia replies take ~16s+; complex prompts can exceed Magpie's 55-second tool timeout (`ctx.abort`). `dia_ask` aborts cleanly when `ctx.abort` fires.
|
|
138
|
-
- **No concurrency**: Requests are strictly serialized via mutex; Dia can only run one chat turn at a time.
|
|
139
|
-
- **Dia must remain open**: Requires an active desktop session with Dia running and an open window.
|
|
140
|
-
- **No streaming / system prompt / native tool protocol**: Returns the full reply after it lands on disk.
|
|
141
|
-
- **No credential access**: This plugin never reads Dia Keychain/DPAPI items, Firebase tokens, refresh tokens, or device signatures.
|
|
142
|
-
|
|
143
|
-
## Development & Tests
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
npm test
|
|
147
|
-
```
|
|
148
|
-
|
|
149
134
|
## License
|
|
150
135
|
|
|
151
136
|
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dia-bridge",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "把 Dia 浏览器内置 AI 变成 MCP 工具,给 Claude Code / Magpie 用(支持 macOS / Windows,Linux 可远程连)| Bridge Dia browser AI into MCP tools for Claude Code & Magpie",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.mjs",
|
|
7
7
|
"bin": {
|