codex-weixin 0.3.8 → 0.3.10
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/CHANGELOG.md +221 -221
- package/LICENSE +21 -21
- package/NOTICE +5 -5
- package/README.en.md +216 -216
- package/dist/bridge/service.js +20 -9
- package/dist/bridge/service.js.map +1 -1
- package/dist/server/account-manager.js +5 -0
- package/dist/server/account-manager.js.map +1 -1
- package/dist/server/index.js +0 -0
- package/dist/server/update-manager.js +0 -1
- package/dist/server/update-manager.js.map +1 -1
- package/dist/web/app.js +1452 -1452
- package/dist/web/favicon.svg +10 -10
- package/dist/web/index.html +390 -390
- package/dist/web/styles.css +418 -418
- package/dist/web/vendor/marked.umd.js +30 -29
- package/dist/web/vendor/purify.min.js +2 -2
- package/package.json +61 -62
- package/src/web/favicon.svg +10 -10
package/package.json
CHANGED
|
@@ -1,62 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "codex-weixin",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "Local multi-account WeChat server for OpenAI Codex.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"author": "Xuechao Zou",
|
|
7
|
-
"homepage": "https://github.com/XavierJiezou/codex-weixin#readme",
|
|
8
|
-
"bugs": {
|
|
9
|
-
"url": "https://github.com/XavierJiezou/codex-weixin/issues"
|
|
10
|
-
},
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/XavierJiezou/codex-weixin.git"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"codex",
|
|
17
|
-
"wechat",
|
|
18
|
-
"weixin",
|
|
19
|
-
"openai",
|
|
20
|
-
"bridge"
|
|
21
|
-
],
|
|
22
|
-
"type": "module",
|
|
23
|
-
"bin": {
|
|
24
|
-
"codex-weixin": "dist/server/index.js"
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
"dist/",
|
|
28
|
-
"src/web/favicon.svg",
|
|
29
|
-
"README.md",
|
|
30
|
-
"README.en.md",
|
|
31
|
-
"CHANGELOG.md",
|
|
32
|
-
"LICENSE",
|
|
33
|
-
"NOTICE"
|
|
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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "codex-weixin",
|
|
3
|
+
"version": "0.3.10",
|
|
4
|
+
"description": "Local multi-account WeChat server for OpenAI Codex.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Xuechao Zou",
|
|
7
|
+
"homepage": "https://github.com/XavierJiezou/codex-weixin#readme",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/XavierJiezou/codex-weixin/issues"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/XavierJiezou/codex-weixin.git"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"codex",
|
|
17
|
+
"wechat",
|
|
18
|
+
"weixin",
|
|
19
|
+
"openai",
|
|
20
|
+
"bridge"
|
|
21
|
+
],
|
|
22
|
+
"type": "module",
|
|
23
|
+
"bin": {
|
|
24
|
+
"codex-weixin": "dist/server/index.js"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist/",
|
|
28
|
+
"src/web/favicon.svg",
|
|
29
|
+
"README.md",
|
|
30
|
+
"README.en.md",
|
|
31
|
+
"CHANGELOG.md",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"NOTICE"
|
|
34
|
+
],
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=22"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"dompurify": "^3.4.12",
|
|
40
|
+
"lucide": "^0.468.0",
|
|
41
|
+
"marked": "^18.0.6",
|
|
42
|
+
"open": "^10.1.0",
|
|
43
|
+
"qrcode": "^1.5.4",
|
|
44
|
+
"zod": "^4.3.6"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/node": "^22.10.2",
|
|
48
|
+
"@types/qrcode": "^1.5.5",
|
|
49
|
+
"tsx": "^4.19.2",
|
|
50
|
+
"typescript": "^5.8.3"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "tsc -p tsconfig.json && npm run copy:web",
|
|
54
|
+
"copy:web": "node scripts/copy-web-assets.mjs",
|
|
55
|
+
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
56
|
+
"dev": "tsx src/server/index.ts",
|
|
57
|
+
"start": "node dist/server/index.js",
|
|
58
|
+
"typecheck": "tsc --noEmit",
|
|
59
|
+
"test": "node --test --import tsx test/*.test.ts"
|
|
60
|
+
}
|
|
61
|
+
}
|
package/src/web/favicon.svg
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
|
2
|
-
<title>codex-weixin</title>
|
|
3
|
-
<rect x="2" y="2" width="52" height="52" rx="9" fill="#151b19"/>
|
|
4
|
-
<g fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="3">
|
|
5
|
-
<rect x="10" y="11" width="36" height="30" rx="5"/>
|
|
6
|
-
<path d="m17 20 6 5-6 5m11 2h9"/>
|
|
7
|
-
</g>
|
|
8
|
-
<circle cx="46" cy="46" r="16" fill="#12a150" stroke="#fff" stroke-width="3"/>
|
|
9
|
-
<path d="M38.5 44.5c0-4.4 3.6-7.8 8.2-7.8s8.2 3.4 8.2 7.8-3.6 7.8-8.2 7.8c-1.2 0-2.4-.2-3.4-.7l-4.3 1.3 1.4-4c-1.2-1.2-1.9-2.7-1.9-4.4Z" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.6"/>
|
|
10
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
|
2
|
+
<title>codex-weixin</title>
|
|
3
|
+
<rect x="2" y="2" width="52" height="52" rx="9" fill="#151b19"/>
|
|
4
|
+
<g fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="3">
|
|
5
|
+
<rect x="10" y="11" width="36" height="30" rx="5"/>
|
|
6
|
+
<path d="m17 20 6 5-6 5m11 2h9"/>
|
|
7
|
+
</g>
|
|
8
|
+
<circle cx="46" cy="46" r="16" fill="#12a150" stroke="#fff" stroke-width="3"/>
|
|
9
|
+
<path d="M38.5 44.5c0-4.4 3.6-7.8 8.2-7.8s8.2 3.4 8.2 7.8-3.6 7.8-8.2 7.8c-1.2 0-2.4-.2-3.4-.7l-4.3 1.3 1.4-4c-1.2-1.2-1.9-2.7-1.9-4.4Z" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.6"/>
|
|
10
|
+
</svg>
|