EchoInk component licensing
EchoInk 分组件许可

Copyright (c) 2026 EchoInk Agent contributors.

English
-------

This distribution contains an MIT-licensed base and separately licensed
EchoInk PRO components. The licenses apply to different material, not as
alternatives for the whole repository or combined plugin. Only the MIT base
is offered as OSI open-source software.

1. MIT base

Except for the material identified below, first-party source code, build and
test scripts, configuration and accompanying documentation in this repository
are licensed under the unmodified MIT License in licenses/MIT.txt. This
includes integration code outside the PRO paths below. Importing or calling
a PRO component does not make that component MIT-licensed.

MIT permits commercial use, modification and redistribution of the base.
PRO activation requirements do not restrict rights in MIT-licensed material.

2. PRO scope

First-party material in these paths is governed by licenses/PRO-LICENSE.txt
(LicenseRef-EchoInk-Pro), subject to section 3:

- src/membership/
- src/lifestyle/
- src/english-diary/
- src/settings/account-membership.ts
- src/settings/account-membership-model.ts
- src/settings/account-membership-pricing.ts
- src/harness/resources/finance-analysis-skill.ts
- src/harness/resources/finance-import-skill.ts

Directory entries include all descendants. These paths cover account,
entitlement and activation services, Finance and English Diary implementations,
the account interface and models, and Finance skills.

PRO source may be read for personal, noncommercial study. Valid entitlements
permit normal personal, work and internal business use of unmodified official
releases. They do not permit bypassing activation, modifying or redistributing
PRO code, or commercially reusing it in another product. Those additional
rights require a separate written license. Purchases, subscriptions, trials
and gifts grant only their stated product-use rights.

3. Existing rights, third parties and assets

Earlier MIT or other grants are not revoked or narrowed. Material already
obtained under those grants remains usable under them, even if also present
in a PRO path. This scheme applies to versions distributed with this file;
it does not rewrite historical releases or licenses.

Third-party code, dependencies, copied snippets, fonts, icons and assets retain
their original licenses and attribution requirements, including when embedded
in PRO files. See THIRD_PARTY_NOTICES.md, component LICENSE files, provenance
records and notices in relevant files. This scheme does not override them.

First-party logos, avatars, release artwork and other standalone assets are
not covered by the default MIT grant unless expressly identified otherwise.
They may be displayed as supplied in unmodified official EchoInk packages and
their official documentation. Other uses require permission or an independent
legal basis. Third-party assets retain their original terms. No code license
grants permission to impersonate EchoInk or imply its official endorsement.

4. Combined distribution

The official main.js may contain MIT, PRO and third-party components in one
file. Bundling, installation or activation does not relicense its contents.
The corresponding tagged source and this map identify their scope. The bundle
includes this notice, the MIT and PRO license texts and third-party notices;
the manual-install archive also includes those files.

The PRO license expressly permits Obsidian and its designated reviewers to
review source and verify builds, and permits official Community hosting,
caching, installation and updates of unmodified official packages. PRO
activation does not require a separate installation.

License and commercial-reuse enquiries: https://echoink.cn

中文
====

本发行版包含 MIT 开源基础部分与单独采用商业许可的 EchoInk PRO 组件。
两套许可按内容分别适用，不是对整个仓库或插件包任选其一。只有 MIT 基础
部分属于 OSI 标准下的开源软件。

一、MIT 基础部分

除下述明确列出的内容外，本仓库的第一方源码、构建与测试脚本、配置及随附
文档采用 licenses/MIT.txt 中未经修改的 MIT 许可证，包括 PRO 路径之外的
集成代码。导入或调用 PRO 组件，不会使该组件变为 MIT 授权。

MIT 允许基础部分的商业使用、修改和再分发。PRO 激活要求不限制 MIT 内容
本身已经授予的权利。

二、PRO 范围

英文第二节列出的路径是唯一的 PRO 范围清单。其中第一方内容采用
licenses/PRO-LICENSE.txt 中的 EchoInk PRO License 1.0，标识为
LicenseRef-EchoInk-Pro，并受第三节的既有权利和第三方许可例外约束。
目录范围包含所有后代文件，涵盖账号、权益与激活服务、财务与英文日记实现、
账号界面和模型，以及财务 Skill。

PRO 源码允许个人、非商业阅读与学习。有效权益允许正常使用未经修改的官方
发行版处理个人事务、工作和企业内部业务，但不授权绕过激活、修改或分发 PRO
代码，或将其商业复用于其他产品。上述额外权利须另行取得书面许可。购买、
订阅、试用和赠送只授予其说明的产品使用权。

三、既有权利、第三方与素材

此前的 MIT 或其他授权不被撤回或缩减。已按这些许可取得的内容，即使也位于
PRO 路径内，仍可依原许可使用。本划分适用于附带本文件的版本，不改写历史
发行版及其许可。

第三方代码、依赖、引用片段、字体、图标与素材保留原许可和署名要求，包括
嵌入 PRO 文件的内容。具体见 THIRD_PARTY_NOTICES.md、组件 LICENSE、来源
记录和文件内声明。本划分不覆盖这些独立权利。

第一方标识、头像、发布配图等独立素材，除另有明确声明外，不属于默认 MIT
授权范围。允许在未经修改的 EchoInk 官方包及其官方文档中按原样展示；其他
用途须有授权或独立法律依据。第三方素材继续适用原条款。代码许可不授权
冒充 EchoInk 官方，也不授权造成官方背书误解的商标使用。

四、统一发行

官方 main.js 可以同时包含 MIT、PRO 和第三方组件。打包、安装或激活不会
改变各部分许可；对应 tag 的源码与本清单确定其归属。插件包内嵌本声明、
MIT 与 PRO 许可全文及第三方声明，手动安装压缩包另附这些文件。

PRO 许可明确允许 Obsidian 及其指定方审核源码、验证构建，并允许官方社区
托管、缓存、安装和更新未经修改的官方包。PRO 激活无需另行安装。

许可及源码商业复用咨询：https://echoink.cn

The English and Chinese sections express the same scope. If a conflict cannot
be reconciled, the English text controls to the extent permitted by law.
中英文说明表达相同范围；如存在无法协调的解释冲突，在法律允许范围内以英文为准。
