pi-multi-account 1.0.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/CHANGELOG.md +27 -0
- package/LICENSE +21 -0
- package/README.md +107 -0
- package/index.ts +1184 -0
- package/package.json +69 -0
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pi-multi-account",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Automatic multi-account failover & rotation for Pi Agent across Anthropic (Claude), OpenAI/ChatGPT Codex, and Qwen/Alibaba. Auto-discovers authenticated accounts, grows the rotation on login, and drops accounts on logout, expiry, or quota/rate-limit errors.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "sars267",
|
|
8
|
+
"homepage": "https://github.com/Sarrius/pi-multi-account#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/Sarrius/pi-multi-account.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/Sarrius/pi-multi-account/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"pi-package",
|
|
18
|
+
"pi-extension",
|
|
19
|
+
"pi-agent",
|
|
20
|
+
"pi-coding-agent",
|
|
21
|
+
"agent-pi",
|
|
22
|
+
"failover",
|
|
23
|
+
"fallback",
|
|
24
|
+
"rotation",
|
|
25
|
+
"multi-account",
|
|
26
|
+
"rate-limit",
|
|
27
|
+
"quota",
|
|
28
|
+
"anthropic",
|
|
29
|
+
"claude",
|
|
30
|
+
"openai",
|
|
31
|
+
"codex",
|
|
32
|
+
"chatgpt",
|
|
33
|
+
"qwen",
|
|
34
|
+
"alibaba",
|
|
35
|
+
"oauth"
|
|
36
|
+
],
|
|
37
|
+
"files": [
|
|
38
|
+
"index.ts",
|
|
39
|
+
"README.md",
|
|
40
|
+
"CHANGELOG.md",
|
|
41
|
+
"LICENSE"
|
|
42
|
+
],
|
|
43
|
+
"scripts": {
|
|
44
|
+
"check": "tsc --noEmit",
|
|
45
|
+
"pack:check": "npm pack --dry-run",
|
|
46
|
+
"prepublishOnly": "npm run check"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=22"
|
|
50
|
+
},
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@earendil-works/pi-ai": "*",
|
|
56
|
+
"@earendil-works/pi-coding-agent": "*"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@earendil-works/pi-ai": "^0.78.0",
|
|
60
|
+
"@earendil-works/pi-coding-agent": "^0.78.0",
|
|
61
|
+
"@types/node": "^22.15.3",
|
|
62
|
+
"typescript": "^6.0.3"
|
|
63
|
+
},
|
|
64
|
+
"pi": {
|
|
65
|
+
"extensions": [
|
|
66
|
+
"./index.ts"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
}
|