@tinyacre/fangcun-darwin-x64 0.0.0-stage → 0.1.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/bin/CHANGELOG.md +39 -0
- package/bin/fangcun +0 -0
- package/package.json +18 -4
- package/README.md +0 -3
package/bin/CHANGELOG.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.0 (2026-10-29)
|
|
4
|
+
|
|
5
|
+
First release.
|
|
6
|
+
|
|
7
|
+
### Breaking changes
|
|
8
|
+
|
|
9
|
+
Deployments of earlier development builds need a new database.
|
|
10
|
+
|
|
11
|
+
- Renamed to Fangcun (方寸): `FANGCUN_*` variables, `data/fangcun.db`, `~/.config/fangcun`,
|
|
12
|
+
the `fangcun` keyring service, `fct_` / `fco_` / `fcr_` token prefixes and `fangcun/v1`
|
|
13
|
+
encryption labels. Data sealed by earlier builds cannot be opened.
|
|
14
|
+
- `FANGCUN_SECRET` is required and must be at least 32 bytes. `GET /api/capabilities` and
|
|
15
|
+
the MCP `vault_status` tool no longer report `protected_fields` or `notify_channels`.
|
|
16
|
+
- The Server binary is `fangcun-server`, also in the Docker image. `fangcun` is the CLI.
|
|
17
|
+
- Server subcommands are noun–verb: `invite create`, `invite list`, `invite revoke`,
|
|
18
|
+
`serve`. An unknown subcommand exits 2. Management commands no longer migrate the
|
|
19
|
+
database; start the Server once after upgrading.
|
|
20
|
+
- Accounts have a locale (`zh-Hans`, `zh-Hant` or `en`). `POST /api/auth/register` and
|
|
21
|
+
`POST /api/auth/google/register` require it; `GET` / `PATCH /api/account` read and set it.
|
|
22
|
+
- Mail and notifications use the account's locale. The registration code and the OAuth
|
|
23
|
+
error page follow `Accept-Language`, matched by script.
|
|
24
|
+
- Activities in `/api/*` responses no longer include `schedule_summary`. The MCP activity
|
|
25
|
+
tools keep it, in English.
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- Interface language: 简体中文, 繁體中文 and English, saved to the account.
|
|
30
|
+
- Device Notifications: reminders delivered as system notifications through Web Push
|
|
31
|
+
(`/api/device-notification`), with a VAPID key derived from `FANGCUN_SECRET`. A device's
|
|
32
|
+
notifications stop when its login signs out or is revoked. `GET /api/dead-letters` rows
|
|
33
|
+
gain `kind` and `device_name`.
|
|
34
|
+
- `fangcun-server users` commands: `list`, `show`, `create`, `logout`, `disable`, `enable`,
|
|
35
|
+
`delete`, `restore` and `purge`. Each change writes a JSON audit line to stderr.
|
|
36
|
+
`users create` spends no invite, and the operator knows the account's initial password.
|
|
37
|
+
- `server.Module` gains an optional `Purge` hook, run inside `users purge`'s transaction.
|
|
38
|
+
- Card faces can be stored in an S3-compatible bucket (`FANGCUN_S3_*`). Faces already in
|
|
39
|
+
`FANGCUN_DATA_DIR` are not copied.
|
package/bin/fangcun
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinyacre/fangcun-darwin-x64",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "fangcun CLI prebuilt binary for darwin/x64. Not for direct use — install fangcun instead.",
|
|
5
|
+
"os": [
|
|
6
|
+
"darwin"
|
|
7
|
+
],
|
|
8
|
+
"cpu": [
|
|
9
|
+
"x64"
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/tinyacre/Fangcun.git",
|
|
14
|
+
"directory": "npm/platform"
|
|
15
|
+
},
|
|
16
|
+
"homepage": "https://github.com/tinyacre/Fangcun",
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/README.md
DELETED