advisers 0.2.0-preview.71 → 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 +130 -201
- package/NOTICE +29 -4
- package/README-zh.md +32 -6
- package/README.md +36 -7
- package/THIRD-PARTY-NOTICES.md +277 -0
- package/bin/advisers.js +1634 -290
- package/index.js +1 -1
- package/lib/attachments.js +153 -27
- package/lib/capture.js +82 -2
- package/lib/evidence.js +1180 -26
- package/lib/ical.js +542 -0
- package/lib/imap.js +82 -24
- package/lib/mcp-server.js +869 -0
- package/lib/model.js +151 -2
- package/lib/notify.js +129 -3
- package/lib/pdf.js +44 -6
- package/lib/pet-brief.js +78 -15
- package/lib/receipt-verify.js +624 -0
- package/lib/remind.js +261 -11
- package/lib/research.js +142 -18
- 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 +361 -37
- package/lib/sync.js +58 -13
- 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/package.json +7 -6
package/LICENSE
CHANGED
|
@@ -1,202 +1,131 @@
|
|
|
1
|
+
# PolyForm Noncommercial License 1.0.0
|
|
1
2
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|
|
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
CHANGED
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
Advisers
|
|
2
2
|
Copyright 2026 PerryLink contributors
|
|
3
|
+
https://github.com/PerryLink/advisers
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
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.
|
|
6
33
|
|
|
7
|
-
Prior releases published under the MIT License remain available under MIT;
|
|
8
|
-
this NOTICE and the Apache-2.0 LICENSE apply to this and future versions.
|
|
9
34
|
Advisers is an independent core and does not depend on the famling/desktop pet.
|
package/README-zh.md
CHANGED
|
@@ -5,8 +5,12 @@
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
#
|
|
9
|
-
|
|
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
|
|
10
14
|
advisers soul init
|
|
11
15
|
advisers brief "做一份 Q4 预算 Excel,周五前给老板"
|
|
12
16
|
advisers chat "周五前把报价发给王工"
|
|
@@ -15,11 +19,23 @@ advisers ls
|
|
|
15
19
|
advisers export
|
|
16
20
|
```
|
|
17
21
|
|
|
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
|
+
|
|
18
34
|
CLI 是**本地秘书运行时**:一个 REPL、用户账/承诺账/流程账、Office 产物,以及可选的模型回路。没有 API key 也能记录、检索、计划、生成文件,并运行承诺/摘要命令。
|
|
19
35
|
|
|
20
36
|
## 状态
|
|
21
37
|
|
|
22
|
-
`0.2.0
|
|
38
|
+
`0.2.0` 是稳定版候选(staged pending OTP;尚未发布):
|
|
23
39
|
|
|
24
40
|
- SQLite 账本 `~/.advisers/state.db`(JSON fallback);
|
|
25
41
|
- soul 位于 `~/.advisers/soul.md`,人类独占;
|
|
@@ -28,7 +44,7 @@ CLI 是**本地秘书运行时**:一个 REPL、用户账/承诺账/流程账
|
|
|
28
44
|
- `/memory`、`/week`、`/digest`、`/diff`、`/undo`、`/learn review`;
|
|
29
45
|
- routine draft/approve/patch/curator + active routine index + `routine_view`;
|
|
30
46
|
- `advisers-office` 提供 DOCX/XLSX/PPTX/Mermaid/draw.io/XMind builder 与 5 个模板;
|
|
31
|
-
- `advisers pet-brief`:只读脱敏 Pet Brief 投影(契约 v0.
|
|
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);
|
|
32
48
|
- 真实 IM/Office 打开验证仍未完成。
|
|
33
49
|
|
|
34
50
|
核心与架构:
|
|
@@ -37,5 +53,15 @@ https://github.com/PerryLink/advisers
|
|
|
37
53
|
|
|
38
54
|
## 许可
|
|
39
55
|
|
|
40
|
-
|
|
41
|
-
|
|
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,12 +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.
|
|
11
12
|
# From checkout:
|
|
12
13
|
# corepack pnpm install && corepack pnpm -r build
|
|
13
14
|
# ADVISERS_OFFICE_LOCAL=1 node packages/advisers/bin/advisers.js status
|
|
14
|
-
#
|
|
15
|
-
npm i -g --registry=https://registry.npmjs.org advisers@
|
|
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
|
|
16
19
|
advisers soul init
|
|
17
20
|
advisers brief "做一份 Q4 预算 Excel,周五前给老板"
|
|
18
21
|
advisers chat "周五前把报价发给王工"
|
|
@@ -21,6 +24,20 @@ advisers ls
|
|
|
21
24
|
advisers export
|
|
22
25
|
```
|
|
23
26
|
|
|
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
|
+
|
|
24
41
|
The CLI is a **local secretary runtime**: one REPL, a user ledger, a commitment
|
|
25
42
|
ledger, a routine ledger, Office artifacts, and an optional model loop. Without
|
|
26
43
|
an API key it records the session and can build/search files, but it does not
|
|
@@ -28,7 +45,7 @@ turn natural language into commitments or artifacts.
|
|
|
28
45
|
|
|
29
46
|
## Status
|
|
30
47
|
|
|
31
|
-
`0.2.0
|
|
48
|
+
`0.2.0` is the stable release candidate (staged pending OTP; not published yet):
|
|
32
49
|
|
|
33
50
|
- SQLite ledger at `~/.advisers/state.db` (JSON fallback with `ADVISERS_STORE=json`);
|
|
34
51
|
- soul at `~/.advisers/soul.md`, human-owned;
|
|
@@ -40,7 +57,7 @@ turn natural language into commitments or artifacts.
|
|
|
40
57
|
- `/memory`, `/week`, `/digest`, `/diff`, `/undo`, `/learn review`;
|
|
41
58
|
- routine draft/approve/patch/curator + active routine index + `routine_view`;
|
|
42
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`;
|
|
43
|
-
- `advisers pet-brief` read-only redacted projection for the desktop-pet consumer (contract v0.
|
|
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;
|
|
44
61
|
- DSH bundle, email IMAP/draft, Feishu webhook, Hermes bridge; strict policy pack;
|
|
45
62
|
- real-account/WS/Office-L3 validation still pending.
|
|
46
63
|
|
|
@@ -50,5 +67,17 @@ https://github.com/PerryLink/advisers
|
|
|
50
67
|
|
|
51
68
|
## License
|
|
52
69
|
|
|
53
|
-
|
|
54
|
-
|
|
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.
|