advisers 0.1.0-preview.4 → 0.2.0
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/LICENSE +131 -21
- package/NOTICE +34 -0
- package/README-zh.md +40 -9
- package/README.md +53 -10
- package/THIRD-PARTY-NOTICES.md +277 -0
- package/bin/advisers.js +4230 -122
- package/index.js +1 -1
- package/lib/agent.js +414 -0
- package/lib/attachments.js +283 -0
- package/lib/capture.js +168 -0
- package/lib/context-window.js +123 -0
- package/lib/digest.js +27 -0
- package/lib/doc-review.js +30 -0
- package/lib/egress.js +27 -0
- package/lib/evidence.js +1995 -0
- package/lib/ical.js +542 -0
- package/lib/imap.js +181 -0
- package/lib/importers.js +1001 -0
- package/lib/learning.js +46 -0
- package/lib/mcp-server.js +869 -0
- package/lib/model.js +307 -0
- package/lib/notify.js +189 -0
- package/lib/nudge.js +10 -0
- package/lib/ocr.js +47 -0
- package/lib/pdf.js +105 -0
- package/lib/pet-brief-store.js +51 -0
- package/lib/pet-brief.js +644 -0
- package/lib/receipt-verify.js +624 -0
- package/lib/relative-date.js +393 -0
- package/lib/remind.js +690 -0
- package/lib/research.js +193 -0
- package/lib/review.js +88 -0
- package/lib/routine.js +22 -0
- package/lib/safety/classifier.js +392 -0
- package/lib/safety/explain.js +157 -0
- package/lib/safety/index.js +333 -0
- package/lib/safety/redact.js +212 -0
- package/lib/safety/rules.js +824 -0
- package/lib/scheduler.js +399 -0
- package/lib/source.js +294 -0
- package/lib/sqlite.js +1022 -0
- package/lib/sync.js +129 -0
- package/lib/timestamp.js +45 -0
- package/lib/tos/index.js +332 -0
- package/lib/tos/manifest.json +32 -0
- package/lib/tos/privacy.zh-CN.md +136 -0
- package/lib/tos/safety.zh-CN.md +101 -0
- package/lib/tos/summary.zh-CN.md +12 -0
- package/lib/tos/terms.zh-CN.md +439 -0
- package/lib/ui.js +49 -0
- package/lib/undo.js +83 -0
- package/lib/vault.js +51 -0
- package/package.json +26 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,131 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
to
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
# PolyForm Noncommercial License 1.0.0
|
|
2
|
+
|
|
3
|
+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
|
4
|
+
|
|
5
|
+
## Acceptance
|
|
6
|
+
|
|
7
|
+
In order to get any license under these terms, you must agree
|
|
8
|
+
to them as both strict obligations and conditions to all
|
|
9
|
+
your licenses.
|
|
10
|
+
|
|
11
|
+
## Copyright License
|
|
12
|
+
|
|
13
|
+
The licensor grants you a copyright license for the
|
|
14
|
+
software to do everything you might do with the software
|
|
15
|
+
that would otherwise infringe the licensor's copyright
|
|
16
|
+
in it for any permitted purpose. However, you may
|
|
17
|
+
only distribute the software according to [Distribution
|
|
18
|
+
License](#distribution-license) and make changes or new works
|
|
19
|
+
based on the software according to [Changes and New Works
|
|
20
|
+
License](#changes-and-new-works-license).
|
|
21
|
+
|
|
22
|
+
## Distribution License
|
|
23
|
+
|
|
24
|
+
The licensor grants you an additional copyright license
|
|
25
|
+
to distribute copies of the software. Your license
|
|
26
|
+
to distribute covers distributing the software with
|
|
27
|
+
changes and new works permitted by [Changes and New Works
|
|
28
|
+
License](#changes-and-new-works-license).
|
|
29
|
+
|
|
30
|
+
## Notices
|
|
31
|
+
|
|
32
|
+
You must ensure that anyone who gets a copy of any part of
|
|
33
|
+
the software from you also gets a copy of these terms or the
|
|
34
|
+
URL for them above, as well as copies of any plain-text lines
|
|
35
|
+
beginning with `Required Notice:` that the licensor provided
|
|
36
|
+
with the software. For example:
|
|
37
|
+
|
|
38
|
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
39
|
+
|
|
40
|
+
## Changes and New Works License
|
|
41
|
+
|
|
42
|
+
The licensor grants you an additional copyright license to
|
|
43
|
+
make changes and new works based on the software for any
|
|
44
|
+
permitted purpose.
|
|
45
|
+
|
|
46
|
+
## Patent License
|
|
47
|
+
|
|
48
|
+
The licensor grants you a patent license for the software that
|
|
49
|
+
covers patent claims the licensor can license, or becomes able
|
|
50
|
+
to license, that you would infringe by using the software.
|
|
51
|
+
|
|
52
|
+
## Noncommercial Purposes
|
|
53
|
+
|
|
54
|
+
Any noncommercial purpose is a permitted purpose.
|
|
55
|
+
|
|
56
|
+
## Personal Uses
|
|
57
|
+
|
|
58
|
+
Personal use for research, experiment, and testing for
|
|
59
|
+
the benefit of public knowledge, personal study, private
|
|
60
|
+
entertainment, hobby projects, amateur pursuits, or religious
|
|
61
|
+
observance, without any anticipated commercial application,
|
|
62
|
+
is use for a permitted purpose.
|
|
63
|
+
|
|
64
|
+
## Noncommercial Organizations
|
|
65
|
+
|
|
66
|
+
Use by any charitable organization, educational institution,
|
|
67
|
+
public research organization, public safety or health
|
|
68
|
+
organization, environmental protection organization,
|
|
69
|
+
or government institution is use for a permitted purpose
|
|
70
|
+
regardless of the source of funding or obligations resulting
|
|
71
|
+
from the funding.
|
|
72
|
+
|
|
73
|
+
## Fair Use
|
|
74
|
+
|
|
75
|
+
You may have "fair use" rights for the software under the
|
|
76
|
+
law. These terms do not limit them.
|
|
77
|
+
|
|
78
|
+
## No Other Rights
|
|
79
|
+
|
|
80
|
+
These terms do not allow you to sublicense or transfer any of
|
|
81
|
+
your licenses to anyone else, or prevent the licensor from
|
|
82
|
+
granting licenses to anyone else. These terms do not imply
|
|
83
|
+
any other licenses.
|
|
84
|
+
|
|
85
|
+
## Patent Defense
|
|
86
|
+
|
|
87
|
+
If you make any written claim that the software infringes or
|
|
88
|
+
contributes to infringement of any patent, your patent license
|
|
89
|
+
for the software granted under these terms ends immediately. If
|
|
90
|
+
your company makes such a claim, your patent license ends
|
|
91
|
+
immediately for work on behalf of your company.
|
|
92
|
+
|
|
93
|
+
## Violations
|
|
94
|
+
|
|
95
|
+
The first time you are notified in writing that you have
|
|
96
|
+
violated any of these terms, or done anything with the software
|
|
97
|
+
not covered by your licenses, your licenses can nonetheless
|
|
98
|
+
continue if you come into full compliance with these terms,
|
|
99
|
+
and take practical steps to correct past violations, within
|
|
100
|
+
32 days of receiving notice. Otherwise, all your licenses
|
|
101
|
+
end immediately.
|
|
102
|
+
|
|
103
|
+
## No Liability
|
|
104
|
+
|
|
105
|
+
***As far as the law allows, the software comes as is, without
|
|
106
|
+
any warranty or condition, and the licensor will not be liable
|
|
107
|
+
to you for any damages arising out of these terms or the use
|
|
108
|
+
or nature of the software, under any kind of legal claim.***
|
|
109
|
+
|
|
110
|
+
## Definitions
|
|
111
|
+
|
|
112
|
+
The **licensor** is the individual or entity offering these
|
|
113
|
+
terms, and the **software** is the software the licensor makes
|
|
114
|
+
available under these terms.
|
|
115
|
+
|
|
116
|
+
**You** refers to the individual or entity agreeing to these
|
|
117
|
+
terms.
|
|
118
|
+
|
|
119
|
+
**Your company** is any legal entity, sole proprietorship,
|
|
120
|
+
or other kind of organization that you work for, plus all
|
|
121
|
+
organizations that have control over, are under the control of,
|
|
122
|
+
or are under common control with that organization. **Control**
|
|
123
|
+
means ownership of substantially all the assets of an entity,
|
|
124
|
+
or the power to direct its management and policies by vote,
|
|
125
|
+
contract, or otherwise. Control can be direct or indirect.
|
|
126
|
+
|
|
127
|
+
**Your licenses** are all the licenses granted to you for the
|
|
128
|
+
software under these terms.
|
|
129
|
+
|
|
130
|
+
**Use** means anything you do with the software requiring one
|
|
131
|
+
of your licenses.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Advisers
|
|
2
|
+
Copyright 2026 PerryLink contributors
|
|
3
|
+
https://github.com/PerryLink/advisers
|
|
4
|
+
|
|
5
|
+
Required Notice: Copyright 2026 PerryLink contributors (https://github.com/PerryLink/advisers)
|
|
6
|
+
|
|
7
|
+
Software: PolyForm Noncommercial License 1.0.0
|
|
8
|
+
(SPDX: PolyForm-Noncommercial-1.0.0). Terms: LICENSE in this distribution, or
|
|
9
|
+
https://polyformproject.org/licenses/noncommercial/1.0.0
|
|
10
|
+
|
|
11
|
+
Documentation, evaluation data and design materials are licensed under
|
|
12
|
+
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
|
|
13
|
+
(SPDX: CC-BY-NC-SA-4.0). See LICENSE-DOCS and LICENSING.md in the repository
|
|
14
|
+
(https://github.com/PerryLink/advisers).
|
|
15
|
+
|
|
16
|
+
License history (NOT retroactive): releases published before 0.2.0 keep the
|
|
17
|
+
licenses they were published under.
|
|
18
|
+
MIT: advisers 0.0.1 through 0.1.0-preview.4; advisers-core (all earlier
|
|
19
|
+
releases); advisers-office 0.1.0-preview.1/.2 and 0.2.0-preview.14;
|
|
20
|
+
advisers-policy-strict 0.2.0-preview.12; dsh-advisers 0.0.1 through
|
|
21
|
+
0.1.0-preview.3.
|
|
22
|
+
Apache-2.0: advisers@0.2.0-preview.71.
|
|
23
|
+
0.2.0 and later: PolyForm Noncommercial 1.0.0 (software) and
|
|
24
|
+
CC BY-NC-SA 4.0 (docs/data/design).
|
|
25
|
+
|
|
26
|
+
Third-party components keep their own licenses; see THIRD-PARTY-NOTICES.md.
|
|
27
|
+
jszip is used under its MIT option (its SPDX expression is
|
|
28
|
+
MIT OR GPL-3.0-or-later).
|
|
29
|
+
|
|
30
|
+
This is source-available software, not open source: it is not an OSI-approved
|
|
31
|
+
open source project. Commercial use requires a separate commercial license:
|
|
32
|
+
open an issue at https://github.com/PerryLink/advisers/issues.
|
|
33
|
+
|
|
34
|
+
Advisers is an independent core and does not depend on the famling/desktop pet.
|
package/README-zh.md
CHANGED
|
@@ -5,7 +5,12 @@
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
|
|
8
|
+
# 0.2.0 是稳定版候选(staged pending OTP);账号所有者批准前请从 checkout 运行
|
|
9
|
+
# 或安装预发布 `next` 渠道。
|
|
10
|
+
# 从 npm 安装(批准后;稳定渠道 = 默认 `latest`):
|
|
11
|
+
# npm i -g --registry=https://registry.npmjs.org advisers@latest advisers-office@latest
|
|
12
|
+
# 转正前的 preview/RC 构建:
|
|
13
|
+
# npm i -g --registry=https://registry.npmjs.org advisers@next advisers-office@next
|
|
9
14
|
advisers soul init
|
|
10
15
|
advisers brief "做一份 Q4 预算 Excel,周五前给老板"
|
|
11
16
|
advisers chat "周五前把报价发给王工"
|
|
@@ -14,18 +19,33 @@ advisers ls
|
|
|
14
19
|
advisers export
|
|
15
20
|
```
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
> **AI 与法律提示** —— Advisers 是本地优先的工作助手,不是情感陪伴,也不提供法律、医疗、
|
|
23
|
+
> 金融等专业意见;AI 输出可能出错,使用前请自行核验。禁止用于违法、侵权、欺诈、骚扰、
|
|
24
|
+
> 伪造或未标识合成内容等用途;未成年人须经监护人同意。
|
|
25
|
+
> 软件许可:PolyForm Noncommercial 1.0.0(源码可见、非 OSI 开源;商业使用须另行取得许可)。
|
|
26
|
+
> 使用前请阅读[服务条款](https://github.com/PerryLink/advisers/blob/main/docs/TOS.md)(v2026.11.2)、
|
|
27
|
+
> [免责声明](https://github.com/PerryLink/advisers/blob/main/docs/DISCLAIMER.md)、
|
|
28
|
+
> [安全与内容审核说明](https://github.com/PerryLink/advisers/blob/main/docs/SAFETY.md) 与
|
|
29
|
+
> [隐私与数据流说明](https://github.com/PerryLink/advisers/blob/main/docs/PRIVACY.md)。
|
|
30
|
+
> 本地数据库默认不加密;设置 API Key 后默认模型服务商为 DeepSeek(api.deepseek.com)。
|
|
31
|
+
> 离线副本随包分发于 `lib/tos/`(`terms.zh-CN.md`、`summary.zh-CN.md`、
|
|
32
|
+
> `privacy.zh-CN.md`、`safety.zh-CN.md`)。
|
|
33
|
+
|
|
34
|
+
CLI 是**本地秘书运行时**:一个 REPL、用户账/承诺账/流程账、Office 产物,以及可选的模型回路。没有 API key 也能记录、检索、计划、生成文件,并运行承诺/摘要命令。
|
|
18
35
|
|
|
19
36
|
## 状态
|
|
20
37
|
|
|
21
|
-
`0.
|
|
38
|
+
`0.2.0` 是稳定版候选(staged pending OTP;尚未发布):
|
|
22
39
|
|
|
23
|
-
-
|
|
40
|
+
- SQLite 账本 `~/.advisers/state.db`(JSON fallback);
|
|
24
41
|
- soul 位于 `~/.advisers/soul.md`,人类独占;
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
42
|
+
- turns + 摘要 + FTS 检索;开场协议;`/resume`;
|
|
43
|
+
- 承诺账 + `commit add/ls/done`、`tick`、`snooze`、nudge outcome;
|
|
44
|
+
- `/memory`、`/week`、`/digest`、`/diff`、`/undo`、`/learn review`;
|
|
45
|
+
- routine draft/approve/patch/curator + active routine index + `routine_view`;
|
|
46
|
+
- `advisers-office` 提供 DOCX/XLSX/PPTX/Mermaid/draw.io/XMind builder 与 5 个模板;
|
|
47
|
+
- `advisers pet-brief`:只读脱敏 Pet Brief 投影(契约 v0.2:`schemaVersion: 2` + `displayPolicy`,默认 `private`;`--json`/`--out`/`--check [--strict]`/`--print-schema`/`--display-policy`;`secrecy >= 2` 全排除;5 分钟 TTL;v0.1 brief 按 legacy 可读;未接桌宠 UI);
|
|
48
|
+
- 真实 IM/Office 打开验证仍未完成。
|
|
29
49
|
|
|
30
50
|
核心与架构:
|
|
31
51
|
|
|
@@ -33,4 +53,15 @@ https://github.com/PerryLink/advisers
|
|
|
33
53
|
|
|
34
54
|
## 许可
|
|
35
55
|
|
|
36
|
-
|
|
56
|
+
软件采用 [PolyForm Noncommercial License 1.0.0](LICENSE)(SPDX
|
|
57
|
+
`PolyForm-Noncommercial-1.0.0`),见 [LICENSE](LICENSE) 与 [NOTICE](NOTICE)。这是
|
|
58
|
+
**源码可见、非开源**的许可,不是 OSI 认证的开源许可;商业使用需另行取得商业授权
|
|
59
|
+
(在 <https://github.com/PerryLink/advisers/issues> 提出申请)。
|
|
60
|
+
|
|
61
|
+
仓库的文档、评测数据与设计材料采用
|
|
62
|
+
[CC BY-NC-SA 4.0](https://github.com/PerryLink/advisers/blob/main/LICENSE-DOCS);
|
|
63
|
+
本包 README 随软件分发,适用 PolyForm NC。第三方组件保留各自许可,见
|
|
64
|
+
[THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md)。
|
|
65
|
+
|
|
66
|
+
0.2.0 之前发布的版本保留原许可(MIT;至 2026-11-17 的 preview 版本为
|
|
67
|
+
Apache-2.0),不追溯。详见仓库 LICENSING.md、LICENSE-DOCS 与 NOTICE。
|
package/README.md
CHANGED
|
@@ -7,7 +7,15 @@ routines.
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
|
|
10
|
+
# 0.2.0 is the stable release candidate (staged pending OTP); until the owner
|
|
11
|
+
# approves it, run from checkout or install the pre-release `next` channel.
|
|
12
|
+
# From checkout:
|
|
13
|
+
# corepack pnpm install && corepack pnpm -r build
|
|
14
|
+
# ADVISERS_OFFICE_LOCAL=1 node packages/advisers/bin/advisers.js status
|
|
15
|
+
# From npm, after approval (stable channel = default `latest`):
|
|
16
|
+
# npm i -g --registry=https://registry.npmjs.org advisers@latest advisers-office@latest
|
|
17
|
+
# Pre-release/RC builds until then:
|
|
18
|
+
# npm i -g --registry=https://registry.npmjs.org advisers@next advisers-office@next
|
|
11
19
|
advisers soul init
|
|
12
20
|
advisers brief "做一份 Q4 预算 Excel,周五前给老板"
|
|
13
21
|
advisers chat "周五前把报价发给王工"
|
|
@@ -16,20 +24,42 @@ advisers ls
|
|
|
16
24
|
advisers export
|
|
17
25
|
```
|
|
18
26
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
27
|
+
> **AI & legal notice** — Advisers is a local-first work assistant, not a companion or a
|
|
28
|
+
> professional adviser. AI output can be wrong; verify before use. Illegal, infringing,
|
|
29
|
+
> fraudulent, harassing, or unlabeled synthetic content is prohibited; distribute
|
|
30
|
+
> AI-generated content only with the required labels. Minors need guardian consent.
|
|
31
|
+
> Software licence: PolyForm Noncommercial 1.0.0 (source-available, not OSI open source;
|
|
32
|
+
> commercial use requires a separate licence). Terms:
|
|
33
|
+
> <https://github.com/PerryLink/advisers/blob/main/docs/TOS.md> (v2026.11.2) · Disclaimer:
|
|
34
|
+
> <https://github.com/PerryLink/advisers/blob/main/docs/DISCLAIMER.md> · Safety:
|
|
35
|
+
> <https://github.com/PerryLink/advisers/blob/main/docs/SAFETY.md> · Privacy & data-flow:
|
|
36
|
+
> <https://github.com/PerryLink/advisers/blob/main/docs/PRIVACY.md>. The local database is
|
|
37
|
+
> not encrypted by default; the default model provider is DeepSeek (api.deepseek.com) when
|
|
38
|
+
> you set an API key. Offline copies ship in `lib/tos/` (`terms.zh-CN.md`,
|
|
39
|
+
> `summary.zh-CN.md`, `privacy.zh-CN.md`, `safety.zh-CN.md`).
|
|
40
|
+
|
|
41
|
+
The CLI is a **local secretary runtime**: one REPL, a user ledger, a commitment
|
|
42
|
+
ledger, a routine ledger, Office artifacts, and an optional model loop. Without
|
|
43
|
+
an API key it records the session and can build/search files, but it does not
|
|
44
|
+
turn natural language into commitments or artifacts.
|
|
22
45
|
|
|
23
46
|
## Status
|
|
24
47
|
|
|
25
|
-
`0.
|
|
48
|
+
`0.2.0` is the stable release candidate (staged pending OTP; not published yet):
|
|
26
49
|
|
|
27
|
-
-
|
|
50
|
+
- SQLite ledger at `~/.advisers/state.db` (JSON fallback with `ADVISERS_STORE=json`);
|
|
28
51
|
- soul at `~/.advisers/soul.md`, human-owned;
|
|
29
|
-
- `
|
|
52
|
+
- local REPL, `chat`, `office`, `template`, `routine`, `link`, `bridge`, `soul`, `ls`, `why`, `forget`, `export`;
|
|
30
53
|
- IntentBrief + clarification policy + readback;
|
|
31
|
-
- DOCX/XLSX/PPTX/Mermaid/draw.io builders in `advisers-office`;
|
|
32
|
-
-
|
|
54
|
+
- DOCX/XLSX/PPTX/Mermaid/draw.io/XMind builders, 7 templates, read/edit/verify in `advisers-office`;
|
|
55
|
+
- turns + session summaries + FTS search; opening protocol; `/resume`;
|
|
56
|
+
- commitment ledger + `commit add/ls/done`, `tick`, `snooze`, nudge outcomes;
|
|
57
|
+
- `/memory`, `/week`, `/digest`, `/diff`, `/undo`, `/learn review`;
|
|
58
|
+
- routine draft/approve/patch/curator + active routine index + `routine_view`;
|
|
59
|
+
- local agent loop with Office/file tools, `commitment_add`, `search_turns`; attachments (txt/md/docx/xlsx/pptx/pdf); optional model via `ADVISERS_API_KEY` / `ADVISERS_BASE_URL` / `ADVISERS_MODEL`;
|
|
60
|
+
- `advisers pet-brief` read-only redacted projection for the desktop-pet consumer (contract v0.2: `schemaVersion: 2` + `displayPolicy`, default `private`; `--json`/`--out`/`--check [--strict]`/`--print-schema`/`--display-policy`; `secrecy >= 2` excluded; 5-minute TTL; v0.1 briefs readable as legacy); no UI wiring yet;
|
|
61
|
+
- DSH bundle, email IMAP/draft, Feishu webhook, Hermes bridge; strict policy pack;
|
|
62
|
+
- real-account/WS/Office-L3 validation still pending.
|
|
33
63
|
|
|
34
64
|
Shared core and architecture:
|
|
35
65
|
|
|
@@ -37,4 +67,17 @@ https://github.com/PerryLink/advisers
|
|
|
37
67
|
|
|
38
68
|
## License
|
|
39
69
|
|
|
40
|
-
|
|
70
|
+
Software: [PolyForm Noncommercial License 1.0.0](LICENSE) (SPDX
|
|
71
|
+
`PolyForm-Noncommercial-1.0.0`); see [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
|
72
|
+
Source-available, not open source and not an OSI-approved open source license;
|
|
73
|
+
commercial use requires a separate commercial license (open an issue at
|
|
74
|
+
<https://github.com/PerryLink/advisers/issues>).
|
|
75
|
+
|
|
76
|
+
Documentation, evaluation data and design materials of the repository are licensed under
|
|
77
|
+
[CC BY-NC-SA 4.0](https://github.com/PerryLink/advisers/blob/main/LICENSE-DOCS); this
|
|
78
|
+
package README ships with the software and is covered by PolyForm NC. Third-party
|
|
79
|
+
components keep their own licenses: [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).
|
|
80
|
+
|
|
81
|
+
Versions published before 0.2.0 keep their original licenses (MIT; Apache-2.0 for the
|
|
82
|
+
preview releases published up to 2026-11-17); the change is not retroactive. See the
|
|
83
|
+
repository LICENSING.md, LICENSE-DOCS and NOTICE.
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
# Third-Party Notices - advisers
|
|
2
|
+
|
|
3
|
+
Advisers software is licensed under the PolyForm Noncommercial License 1.0.0
|
|
4
|
+
(SPDX: PolyForm-Noncommercial-1.0.0); see LICENSE and NOTICE. Documentation,
|
|
5
|
+
evaluation data and design materials are licensed under CC BY-NC-SA 4.0 (see
|
|
6
|
+
LICENSE-DOCS). This file covers third-party components only: they keep their own
|
|
7
|
+
licenses and are not relicensed by Advisers.
|
|
8
|
+
|
|
9
|
+
Generated by "node scripts/check-licenses.mjs --write" from the production
|
|
10
|
+
dependency closure of the published packages ("pnpm list --prod --depth 100";
|
|
11
|
+
devDependencies and workspace packages excluded). Do not edit by hand; CI runs
|
|
12
|
+
"node scripts/check-licenses.mjs".
|
|
13
|
+
|
|
14
|
+
This file is shipped with the advisers@0.2.0 npm package and covers the third-party production dependencies of that package only. Each dependency keeps its own license.
|
|
15
|
+
|
|
16
|
+
Optional platform-specific binaries (for example the @napi-rs/canvas builds for
|
|
17
|
+
other operating systems and CPU architectures) are installed only on a matching
|
|
18
|
+
platform. 10 such packages are declared but not installed here and
|
|
19
|
+
are omitted; the installed platform binary is listed below where applicable.
|
|
20
|
+
|
|
21
|
+
## Summary
|
|
22
|
+
|
|
23
|
+
| License | Packages |
|
|
24
|
+
| --- | ---: |
|
|
25
|
+
| MIT | 16 |
|
|
26
|
+
| ISC | 1 |
|
|
27
|
+
| Apache-2.0 | 1 |
|
|
28
|
+
| MIT OR GPL-3.0-or-later | 1 |
|
|
29
|
+
| MIT AND Zlib | 1 |
|
|
30
|
+
| 0BSD | 1 |
|
|
31
|
+
|
|
32
|
+
## MIT (16)
|
|
33
|
+
|
|
34
|
+
- @napi-rs/canvas-linux-x64-gnu@1.1.0
|
|
35
|
+
- @napi-rs/canvas@1.1.0
|
|
36
|
+
- @pdf-lib/fontkit@1.1.1
|
|
37
|
+
- @pdf-lib/standard-fonts@1.0.0
|
|
38
|
+
- @pdf-lib/upng@1.0.1
|
|
39
|
+
- core-util-is@1.0.3
|
|
40
|
+
- immediate@3.0.6
|
|
41
|
+
- isarray@1.0.0
|
|
42
|
+
- lie@3.3.0
|
|
43
|
+
- pdf-lib@1.17.1
|
|
44
|
+
- process-nextick-args@2.0.1
|
|
45
|
+
- readable-stream@2.3.8
|
|
46
|
+
- safe-buffer@5.1.2
|
|
47
|
+
- setimmediate@1.0.5
|
|
48
|
+
- string_decoder@1.1.1
|
|
49
|
+
- util-deprecate@1.0.2
|
|
50
|
+
|
|
51
|
+
## ISC (1)
|
|
52
|
+
|
|
53
|
+
- inherits@2.0.4
|
|
54
|
+
|
|
55
|
+
## Apache-2.0 (1)
|
|
56
|
+
|
|
57
|
+
- pdfjs-dist@6.5.438
|
|
58
|
+
|
|
59
|
+
### Apache License 2.0 (full text)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
Apache License
|
|
63
|
+
Version 2.0, January 2004
|
|
64
|
+
http://www.apache.org/licenses/
|
|
65
|
+
|
|
66
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
67
|
+
|
|
68
|
+
1. Definitions.
|
|
69
|
+
|
|
70
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
71
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
72
|
+
|
|
73
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
74
|
+
the copyright owner that is granting the License.
|
|
75
|
+
|
|
76
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
77
|
+
other entities that control, are controlled by, or are under common
|
|
78
|
+
control with that entity. For the purposes of this definition,
|
|
79
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
80
|
+
direction or management of such entity, whether by contract or
|
|
81
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
82
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
83
|
+
|
|
84
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
85
|
+
exercising permissions granted by this License.
|
|
86
|
+
|
|
87
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
88
|
+
including but not limited to software source code, documentation
|
|
89
|
+
source, and configuration files.
|
|
90
|
+
|
|
91
|
+
"Object" form shall mean any form resulting from mechanical
|
|
92
|
+
transformation or translation of a Source form, including but
|
|
93
|
+
not limited to compiled object code, generated documentation,
|
|
94
|
+
and conversions to other media types.
|
|
95
|
+
|
|
96
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
97
|
+
Object form, made available under the License, as indicated by a
|
|
98
|
+
copyright notice that is included in or attached to the work
|
|
99
|
+
(an example is provided in the Appendix below).
|
|
100
|
+
|
|
101
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
102
|
+
form, that is based on (or derived from) the Work and for which the
|
|
103
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
104
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
105
|
+
of this License, Derivative Works shall not include works that remain
|
|
106
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
107
|
+
the Work and Derivative Works thereof.
|
|
108
|
+
|
|
109
|
+
"Contribution" shall mean any work of authorship, including
|
|
110
|
+
the original version of the Work and any modifications or additions
|
|
111
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
112
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
113
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
114
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
115
|
+
means any form of electronic, verbal, or written communication sent
|
|
116
|
+
to the Licensor or its representatives, including but not limited to
|
|
117
|
+
communication on electronic mailing lists, source code control systems,
|
|
118
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
119
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
120
|
+
excluding communication that is conspicuously marked or otherwise
|
|
121
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
122
|
+
|
|
123
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
124
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
125
|
+
subsequently incorporated within the Work.
|
|
126
|
+
|
|
127
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
128
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
129
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
130
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
131
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
132
|
+
Work and such Derivative Works in Source or Object form.
|
|
133
|
+
|
|
134
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
135
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
136
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
137
|
+
(except as stated in this section) patent license to make, have made,
|
|
138
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
139
|
+
where such license applies only to those patent claims licensable
|
|
140
|
+
by such Contributor that are necessarily infringed by their
|
|
141
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
142
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
143
|
+
institute patent litigation against any entity (including a
|
|
144
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
145
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
146
|
+
or contributory patent infringement, then any patent licenses
|
|
147
|
+
granted to You under this License for that Work shall terminate
|
|
148
|
+
as of the date such litigation is filed.
|
|
149
|
+
|
|
150
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
151
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
152
|
+
modifications, and in Source or Object form, provided that You
|
|
153
|
+
meet the following conditions:
|
|
154
|
+
|
|
155
|
+
(a) You must give any other recipients of the Work or
|
|
156
|
+
Derivative Works a copy of this License; and
|
|
157
|
+
|
|
158
|
+
(b) You must cause any modified files to carry prominent notices
|
|
159
|
+
stating that You changed the files; and
|
|
160
|
+
|
|
161
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
162
|
+
that You distribute, all copyright, patent, trademark, and
|
|
163
|
+
attribution notices from the Source form of the Work,
|
|
164
|
+
excluding those notices that do not pertain to any part of
|
|
165
|
+
the Derivative Works; and
|
|
166
|
+
|
|
167
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
168
|
+
distribution, then any Derivative Works that You distribute must
|
|
169
|
+
include a readable copy of the attribution notices contained
|
|
170
|
+
within such NOTICE file, excluding those notices that do not
|
|
171
|
+
pertain to any part of the Derivative Works, in at least one
|
|
172
|
+
of the following places: within a NOTICE text file distributed
|
|
173
|
+
as part of the Derivative Works; within the Source form or
|
|
174
|
+
documentation, if provided along with the Derivative Works; or,
|
|
175
|
+
within a display generated by the Derivative Works, if and
|
|
176
|
+
wherever such third-party notices normally appear. The contents
|
|
177
|
+
of the NOTICE file are for informational purposes only and
|
|
178
|
+
do not modify the License. You may add Your own attribution
|
|
179
|
+
notices within Derivative Works that You distribute, alongside
|
|
180
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
181
|
+
that such additional attribution notices cannot be construed
|
|
182
|
+
as modifying the License.
|
|
183
|
+
|
|
184
|
+
You may add Your own copyright statement to Your modifications and
|
|
185
|
+
may provide additional or different license terms and conditions
|
|
186
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
187
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
188
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
189
|
+
the conditions stated in this License.
|
|
190
|
+
|
|
191
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
192
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
193
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
194
|
+
this License, without any additional terms or conditions.
|
|
195
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
196
|
+
the terms of any separate license agreement you may have executed
|
|
197
|
+
with Licensor regarding such Contributions.
|
|
198
|
+
|
|
199
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
200
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
201
|
+
except as required for reasonable and customary use in describing the
|
|
202
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
203
|
+
|
|
204
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
205
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
206
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
207
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
208
|
+
implied, including, without limitation, any warranties or conditions
|
|
209
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
210
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
211
|
+
appropriateness of using or redistributing the Work and assume any
|
|
212
|
+
risks associated with Your exercise of permissions under this License.
|
|
213
|
+
|
|
214
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
215
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
216
|
+
unless required by applicable law (such as deliberate and grossly
|
|
217
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
218
|
+
liable to You for damages, including any direct, indirect, special,
|
|
219
|
+
incidental, or consequential damages of any character arising as a
|
|
220
|
+
result of this License or out of the use or inability to use the
|
|
221
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
222
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
223
|
+
other commercial damages or losses), even if such Contributor
|
|
224
|
+
has been advised of the possibility of such damages.
|
|
225
|
+
|
|
226
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
227
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
228
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
229
|
+
or other liability obligations and/or rights consistent with this
|
|
230
|
+
License. However, in accepting such obligations, You may act only
|
|
231
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
232
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
233
|
+
defend, and hold each Contributor harmless for any liability
|
|
234
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
235
|
+
of your accepting any such warranty or additional liability.
|
|
236
|
+
|
|
237
|
+
END OF TERMS AND CONDITIONS
|
|
238
|
+
|
|
239
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
240
|
+
|
|
241
|
+
To apply the Apache License to your work, attach the following
|
|
242
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
243
|
+
replaced with your own identifying information. (Don't include
|
|
244
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
245
|
+
comment syntax for the file format. We also recommend that a
|
|
246
|
+
file or class name and description of purpose be included on the
|
|
247
|
+
same "printed page" as the copyright notice for easier
|
|
248
|
+
identification within third-party archives.
|
|
249
|
+
|
|
250
|
+
Copyright [yyyy] [name of copyright owner]
|
|
251
|
+
|
|
252
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
253
|
+
you may not use this file except in compliance with the License.
|
|
254
|
+
You may obtain a copy of the License at
|
|
255
|
+
|
|
256
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
257
|
+
|
|
258
|
+
Unless required by applicable law or agreed to in writing, software
|
|
259
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
260
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
261
|
+
See the License for the specific language governing permissions and
|
|
262
|
+
limitations under the License.
|
|
263
|
+
|
|
264
|
+
## MIT OR GPL-3.0-or-later (1)
|
|
265
|
+
|
|
266
|
+
- jszip@3.10.2
|
|
267
|
+
|
|
268
|
+
These packages are dual-licensed MIT OR GPL-3.0-or-later. Advisers uses them
|
|
269
|
+
under the MIT option; the GPL option is not used.
|
|
270
|
+
|
|
271
|
+
## MIT AND Zlib (1)
|
|
272
|
+
|
|
273
|
+
- pako@1.0.11
|
|
274
|
+
|
|
275
|
+
## 0BSD (1)
|
|
276
|
+
|
|
277
|
+
- tslib@1.14.1
|