Files
plugins/packages/deepzora/THIRD_PARTY.md
T
SivanColaandSivanCola 8768126af3 deepzora 0.1.0: Deepzora as a magpie agent through a reversible TOML bridge (#1043)
Adds @magpie-community/agent-deepzora: Deepzora on magpie's Agents page, through a reversible bridge that adds a magpie-agent provider to ~/.deepzora/config.toml and the key to ~/.deepzora/.env, and puts both back on disconnect. The package is reasonix-desktop's bridge with Deepzora's names; vendor.mjs is byte for byte the merged reasonix-desktop copy (sha256 46e08060…).

Run at the reviewed head 858f09aa, on a separate test Mac, Bun 1.4.2 and Node 22.22.0, temp HOME:
- bun test packages/deepzora: 12 pass; node --test: 12 pass
- bun scripts/check.mjs: ok; npm pack --dry-run: 13 files, 57.0 kB
- a probe over the bridge in temp dirs (corrupt and half-written TOML, user edits across a switch and a disconnect, pre-existing keys in four forms, CRLF, read-only dir, 0-byte config): each as expected
- full root bun test at 858f09aa: 8482 pass, 20 skip, 0 fail

Broken by hand: 17 breaks, 13 red. Four stay green (an edited credential on switch, a half-written control file read as disconnect, no provider_access cleanup, no lock), the same gaps reasonix-desktop's tests have; listed in the review.

Not tried: a real Deepzora binary or session, acceptance.mjs and resident-acceptance.mjs, Windows (Deepzora uses %APPDATA%\deepzora there; the descriptor has no per-OS paths), a Deepzora Desktop settings save while connected.

The first npm publish of @magpie-community/agent-deepzora is the maintainer's.

Co-authored-by: SivanCola <SivanCola@users.noreply.github.com>
2026-11-12 16:27:26 +08:00

39 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Source and licenses
The Agent descriptor and original bridge are from
[SivanCola/magpie-agent-deepzora at a547f57](https://github.com/SivanCola/magpie-agent-deepzora/tree/a547f57),
MIT, copyright (c) 2026 SivanCola. See `LICENSE`.
The host-exit restoration, reserved-credential protection, additional tests
and dependency bundling follow the existing MIT-licensed
[`reasonix-desktop` package at 907847b](https://github.com/magpie-community/plugins/tree/907847b/packages/reasonix-desktop).
The Deepzora provider fields, Agent ID and configuration paths remain
Deepzora-specific; it does not use the Reasonix adapter.
The embedded PNG is Deepzora's unmodified 128 × 128 application icon,
AGPL-3.0-only. See `ASSET_NOTICE.md` for its exact source and brand policy,
and `LICENSE-ICON` for its license. This asset is separately licensed from
the plugin code.
`vendor.mjs` bundles these exact parsers so this Agent needs no runtime
dependency installation or build scripts:
- `smol-toml` 1.9.1, BSD-3-Clause (`LICENSE-SMOL-TOML`).
- `dotenv` 18.0.9, BSD-2-Clause (`LICENSE-DOTENV`). Only `parse` is exported;
the bridge never calls dotenv's environment-loading functions.
The bundle is byte-identical to the existing `reasonix-desktop/vendor.mjs`.
To regenerate in this package folder with Bun 1.4.4:
```sh
npm install --no-save --ignore-scripts --package-lock=false smol-toml@1.9.1 dotenv@18.0.9
bun build vendor-entry.mjs --target=node --format=esm --minify --outfile=vendor.mjs
```
## 中文
Agent 入口与原始桥接来自独立 Deepzora 插件,补充保护与测试沿用社区已有的
Reasonix 桥接模式,均保留 MIT 许可。图标采用单独的 AGPL-3.0-only 许可,
来源和品牌政策见 `ASSET_NOTICE.md`。TOML 和 dotenv 解析器以固定版本打包,
保留 BSD 许可;无需安装运行时依赖或执行构建脚本。