advisers 0.2.2 → 0.2.3

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-zh.md CHANGED
@@ -5,13 +5,13 @@
5
5
  ## 安装
6
6
 
7
7
  ```sh
8
- # 0.2.2 是已 staged 到 npm @latest 的发布候选,待账号所有者 OTP 批准;
9
- # 0.2.1 是当前已发布的 @latest(稳定渠道 = 默认 `latest`):
8
+ # 0.2.3 是已 staged 到 npm @latest 的发布候选,待账号所有者 OTP 批准;
9
+ # 0.2.2 是当前已发布的 @latest(稳定渠道 = 默认 `latest`):
10
10
  # npm i -g --registry=https://registry.npmjs.org advisers@latest advisers-office@latest
11
11
  # 从 checkout 运行:
12
12
  # corepack pnpm install && corepack pnpm -r build
13
13
  # ADVISERS_OFFICE_LOCAL=1 node packages/advisers/bin/advisers.js status
14
- # preview/RC 构建使用 `next` 渠道(当前 `next` 也指向 0.2.1):
14
+ # preview/RC 构建使用 `next` 渠道(当前 `next` 也指向 0.2.2):
15
15
  # npm i -g --registry=https://registry.npmjs.org advisers@next advisers-office@next
16
16
  advisers soul init
17
17
  advisers brief "做一份 Q4 预算 Excel,周五前给老板"
@@ -37,10 +37,9 @@ CLI 是**本地秘书运行时**:一个 REPL、用户账/承诺账/流程账
37
37
 
38
38
  ## 状态
39
39
 
40
- `0.2.2` 是发布候选(2026-11-18),已 staged 到 npm `latest`、待账号所有者 OTP 批准;
41
- 批准前 npm `latest` 仍为 `0.2.1`(2026-11-17 已发布):
40
+ `0.2.3` 是发布候选(2026-11-18):已 staged 到 npm `latest`,待账号所有者 OTP 批准;在此之前 `0.2.2` 仍是当前已发布的 `latest`:
42
41
 
43
- - SQLite 账本 `~/.advisers/state.db`(JSON fallback);
42
+ - SQLite 账本 `~/.advisers/state.db`(JSON fallback;schema v20、无锁只读快照、增量写);
44
43
  - soul 位于 `~/.advisers/soul.md`,人类独占;
45
44
  - turns + 摘要 + FTS 检索;开场协议;`/resume`;
46
45
  - 承诺账 + `commit add/ls/done`、`tick`、`snooze`、nudge outcome;
@@ -48,6 +47,7 @@ CLI 是**本地秘书运行时**:一个 REPL、用户账/承诺账/流程账
48
47
  - routine draft/approve/patch/curator + active routine index + `routine_view`;
49
48
  - `advisers-office` 提供 DOCX/XLSX/PPTX/Mermaid/draw.io/XMind builder 与 7 个模板;
50
49
  - `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);
50
+ - `matter add|ls|show|rename|archive|use`(客户/项目最小闭环,`--matter` 校验);`agenda --days 1..31 --json` + 确定性 `morning` 晨报;确定性 `template quote|proposal`(DOCX/XLSX,`verify --content --template` 可复核);操作者手工证据标记为不可外部核验而非缺失;
51
51
  - 真实 IM/Office 打开验证仍未完成。
52
52
 
53
53
  核心与架构:
package/README.md CHANGED
@@ -7,13 +7,12 @@ routines.
7
7
  ## Install
8
8
 
9
9
  ```sh
10
- # 0.2.2 is the release candidate staged to npm @latest (owner OTP pending);
11
- # 0.2.1 is the published @latest (stable channel = default `latest`):
10
+ # 0.2.3 is staged for npm @latest (0.2.2 is the current published latest; OTP pending):
12
11
  # npm i -g --registry=https://registry.npmjs.org advisers@latest advisers-office@latest
13
12
  # From checkout:
14
13
  # corepack pnpm install && corepack pnpm -r build
15
14
  # ADVISERS_OFFICE_LOCAL=1 node packages/advisers/bin/advisers.js status
16
- # Pre-release/RC builds land on the `next` channel (currently also 0.2.1):
15
+ # Pre-release/RC builds land on the `next` channel (currently 0.2.2):
17
16
  # npm i -g --registry=https://registry.npmjs.org advisers@next advisers-office@next
18
17
  advisers soul init
19
18
  advisers brief "做一份 Q4 预算 Excel,周五前给老板"
@@ -44,11 +43,10 @@ turn natural language into commitments or artifacts.
44
43
 
45
44
  ## Status
46
45
 
47
- `0.2.2` is the release candidate (2026-11-18), staged to npm `latest` and awaiting
48
- the account owner's OTP approval; npm `latest` still resolves to `0.2.1` (published
49
- 2026-11-17):
46
+ `0.2.3` is the release candidate (2026-11-18), staged for npm `latest` and awaiting the
47
+ account owner's OTP approval; `0.2.2` remains the current published `latest` until then:
50
48
 
51
- - SQLite ledger at `~/.advisers/state.db` (JSON fallback with `ADVISERS_STORE=json`);
49
+ - SQLite ledger at `~/.advisers/state.db` (JSON fallback with `ADVISERS_STORE=json`; schema v20, lock-free read snapshot, incremental writes);
52
50
  - soul at `~/.advisers/soul.md`, human-owned;
53
51
  - local REPL, `chat`, `office`, `template`, `routine`, `link`, `bridge`, `soul`, `ls`, `why`, `forget`, `export`;
54
52
  - IntentBrief + clarification policy + readback;
@@ -59,6 +57,7 @@ the account owner's OTP approval; npm `latest` still resolves to `0.2.1` (publis
59
57
  - routine draft/approve/patch/curator + active routine index + `routine_view`;
60
58
  - 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`;
61
59
  - `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;
60
+ - `matter add|ls|show|rename|archive|use` (client/project loop, `--matter` validation); `agenda --days 1..31 --json` + deterministic `morning` brief; deterministic `template quote|proposal` (DOCX/XLSX) with `verify --content --template` re-check; operator-entered evidence typed as unverifiable instead of missing;
62
61
  - DSH bundle, email IMAP/draft, Feishu webhook, Hermes bridge; strict policy pack;
63
62
  - real-account/WS/Office-L3 validation still pending.
64
63
 
@@ -11,7 +11,7 @@ dependency closure of the published packages ("pnpm list --prod --depth 100";
11
11
  devDependencies and workspace packages excluded). Do not edit by hand; CI runs
12
12
  "node scripts/check-licenses.mjs".
13
13
 
14
- This file is shipped with the advisers@0.2.2 npm package and covers the third-party production dependencies of that package only. Each dependency keeps its own license.
14
+ This file is shipped with the advisers@0.2.3 npm package and covers the third-party production dependencies of that package only. Each dependency keeps its own license.
15
15
 
16
16
  Optional platform-specific binaries (for example the @napi-rs/canvas builds for
17
17
  other operating systems and CPU architectures) are installed only on a matching