cortico-world-wechat 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -3
  2. package/package.json +53 -52
package/CHANGELOG.md CHANGED
@@ -2,22 +2,31 @@
2
2
 
3
3
  本文件的 `## <版本号>` 段落会显示在扩展市场的发布时间线上(索引仓的 Action 按同样规则切段)。
4
4
 
5
+
6
+ ## 0.1.4
7
+
8
+ - **补充作者字段 `author`**(`静音胡闹 <2310468741@qq.com>`),此前漏填,npm 页面上作者为空。
9
+ 说明:npm 的 "published by" 显示的是**账号名**,无法用该字段改写;本字段只影响作者展示。
10
+ - 无功能变化。
11
+
5
12
  ## 0.1.3
6
13
 
7
14
  - **修复:读取失败不会自愈**。此前一旦某次读取失败(并发写、微信正在写库、缓存半成品),
8
15
  扩展会每秒重试、每秒失败,直到重启 Coopanion —— 实测踩到过该状态。
9
16
  现在:缓存不可用即丢弃并全量重建;WAL 合并改为"临时文件 + 验证通过才原子替换",
10
17
  合并失败只降级为"少一次增量",不再污染缓存。
11
- - **修复:多进程共用同一解密缓存会互相踩**(扩展 + 排查脚本同时跑 → 永久 ile is not a database)。
18
+ - **修复:多进程共用同一解密缓存会互相踩**(扩展 + 排查脚本同时跑 → 永久 ile is not a database)。
12
19
  缓存目录改为按进程隔离(cache/p<pid>)。
13
20
  - **修复:用 mtime 判断"主库是否变化"导致每秒全量解密 20MB**。微信活着时 mtime 每秒都在变;
14
21
  改为按**文件大小**判断全量重建,内容增量靠 WAL 合并补齐。实测二次读取 5224 页库仅需 13ms。
15
22
  - 依赖内容自省的 describe.json、 est/ 均未变。
23
+
16
24
  ## 0.1.2
17
25
 
18
26
  - 文档重写:安装给出三条路径(npm / 离线包 / 源码,按推荐顺序)、配置项逐条说明、
19
27
  "没反应时按顺序查"的排查表、以及"消息正文会进入模型上下文"的明确提示。
20
28
  - 无功能变化。
29
+
21
30
  ## 0.1.1
22
31
 
23
32
  - **打包内容调整**(无功能变化):
@@ -25,6 +34,7 @@
25
34
  - npm 包内补上 `test/`,方便使用者自行验证(尤其是微信升级后跑 `test/decrypt-verify.mjs`,
26
35
  它用 `PRAGMA integrity_check` 判断页布局是否仍被正确解密)。
27
36
 
37
+
28
38
  ## 0.1.0
29
39
 
30
40
  首个公开版本。
@@ -37,5 +47,6 @@
37
47
  - **取密钥**:微信的库密钥只存在于其进程内存中,由 `tools/fetch-keys.py` 按需取出
38
48
  (短命进程,取完即退;失效时自动重取)。这是本项目唯一用到 Python 的地方。
39
49
  - 实测:真机库解密 `PRAGMA integrity_check = ok`;测试 26 例(7 监听逻辑 + 6 文本格式化 + 13 World 行为)。
40
-
41
-
50
+
51
+
52
+
package/package.json CHANGED
@@ -1,52 +1,53 @@
1
- {
2
- "name": "cortico-world-wechat",
3
- "version": "0.1.3",
4
- "description": "把 Windows 微信新消息播报给桌宠:扩展自己解密并轮询微信本地库,把新消息推进桌宠的事件流,由桌宠决定怎么汇报。",
5
- "license": "MIT",
6
- "type": "module",
7
- "main": "src/index.js",
8
- "exports": {
9
- ".": "./src/index.js",
10
- "./package.json": "./package.json"
11
- },
12
- "files": [
13
- "src",
14
- "tools",
15
- "test",
16
- "describe.json",
17
- "CHANGELOG.md",
18
- "README.md"
19
- ],
20
- "os": [
21
- "win32"
22
- ],
23
- "engines": {
24
- "node": "^22.19.0 || >=24.0.0"
25
- },
26
- "dependencies": {
27
- "better-sqlite3-multiple-ciphers": "^13.0.3",
28
- "ws": "^8.21.3"
29
- },
30
- "keywords": [
31
- "cortico-world",
32
- "cortico",
33
- "wechat",
34
- "weixin",
35
- "notifier"
36
- ],
37
- "cortico": {
38
- "displayName": "微信消息提示",
39
- "kind": "world",
40
- "api": 6,
41
- "describe": "describe.json",
42
- "tags": [
43
- "im",
44
- "external-setup",
45
- "experimental",
46
- "sensitive-data"
47
- ]
48
- },
49
- "scripts": {
50
- "test": "node --test test/format.test.mjs test/world.test.mjs"
51
- }
52
- }
1
+ {
2
+ "name": "cortico-world-wechat",
3
+ "version": "0.1.4",
4
+ "author": "静音胡闹 <2310468741@qq.com>",
5
+ "description": "把 Windows 微信新消息播报给桌宠:扩展自己解密并轮询微信本地库,把新消息推进桌宠的事件流,由桌宠决定怎么汇报。",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "src/index.js",
9
+ "exports": {
10
+ ".": "./src/index.js",
11
+ "./package.json": "./package.json"
12
+ },
13
+ "files": [
14
+ "src",
15
+ "tools",
16
+ "test",
17
+ "describe.json",
18
+ "CHANGELOG.md",
19
+ "README.md"
20
+ ],
21
+ "os": [
22
+ "win32"
23
+ ],
24
+ "engines": {
25
+ "node": "^22.19.0 || >=24.0.0"
26
+ },
27
+ "dependencies": {
28
+ "better-sqlite3-multiple-ciphers": "^13.0.3",
29
+ "ws": "^8.21.3"
30
+ },
31
+ "keywords": [
32
+ "cortico-world",
33
+ "cortico",
34
+ "wechat",
35
+ "weixin",
36
+ "notifier"
37
+ ],
38
+ "cortico": {
39
+ "displayName": "微信消息提示",
40
+ "kind": "world",
41
+ "api": 6,
42
+ "describe": "describe.json",
43
+ "tags": [
44
+ "im",
45
+ "external-setup",
46
+ "experimental",
47
+ "sensitive-data"
48
+ ]
49
+ },
50
+ "scripts": {
51
+ "test": "node --test test/format.test.mjs test/world.test.mjs"
52
+ }
53
+ }