@poolzin/pool-bot 2026.2.18 → 2026.2.20
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 +17 -0
- package/dist/agents/models-config.providers.js +85 -0
- package/dist/agents/openclaw-tools.js +16 -0
- package/dist/agents/poolbot-tools.js +16 -0
- package/dist/agents/tools/deep-research-tool.js +225 -0
- package/dist/agents/tools/image-generate-tool.js +235 -0
- package/dist/build-info.json +3 -3
- package/extensions/device-pair/poolbot.plugin.json +20 -0
- package/extensions/feishu/package.json +37 -0
- package/extensions/feishu/poolbot.plugin.json +10 -0
- package/extensions/feishu/skills/feishu-doc/SKILL.md +105 -0
- package/extensions/feishu/skills/feishu-doc/references/block-types.md +103 -0
- package/extensions/feishu/skills/feishu-drive/SKILL.md +97 -0
- package/extensions/feishu/skills/feishu-perm/SKILL.md +119 -0
- package/extensions/feishu/skills/feishu-wiki/SKILL.md +111 -0
- package/extensions/irc/package.json +14 -0
- package/extensions/irc/poolbot.plugin.json +9 -0
- package/extensions/minimax-portal-auth/README.md +33 -0
- package/extensions/minimax-portal-auth/package.json +15 -0
- package/extensions/minimax-portal-auth/poolbot.plugin.json +9 -0
- package/extensions/openai-codex-auth/README.md +82 -0
- package/extensions/openai-codex-auth/package.json +15 -0
- package/extensions/openai-codex-auth/poolbot.plugin.json +9 -0
- package/extensions/phone-control/poolbot.plugin.json +10 -0
- package/extensions/talk-voice/poolbot.plugin.json +10 -0
- package/extensions/thread-ownership/poolbot.plugin.json +28 -0
- package/package.json +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# OpenAI Codex CLI Auth (Pool Bot plugin)
|
|
2
|
+
|
|
3
|
+
Use OpenAI models with your **ChatGPT Plus/Pro subscription** via the Codex CLI OAuth tokens.
|
|
4
|
+
|
|
5
|
+
This plugin reads authentication from the [OpenAI Codex CLI](https://github.com/openai/codex) and uses those OAuth credentials to access OpenAI models — no separate API key required.
|
|
6
|
+
|
|
7
|
+
## Enable
|
|
8
|
+
|
|
9
|
+
Bundled plugins are disabled by default. Enable this one:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
poolbot plugins enable openai-codex-auth
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Restart the Gateway after enabling.
|
|
16
|
+
|
|
17
|
+
## Prerequisites
|
|
18
|
+
|
|
19
|
+
1. **ChatGPT Plus or Pro subscription** — required for Codex CLI access
|
|
20
|
+
2. **Codex CLI installed and authenticated**:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Install Codex CLI
|
|
24
|
+
npm install -g @openai/codex
|
|
25
|
+
|
|
26
|
+
# Authenticate (opens browser for OAuth)
|
|
27
|
+
codex login
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
This creates `~/.codex/auth.json` with your OAuth tokens.
|
|
31
|
+
|
|
32
|
+
## Authenticate with Pool Bot
|
|
33
|
+
|
|
34
|
+
After Codex CLI is authenticated:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
poolbot models auth login --provider openai-codex --set-default
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Available Models
|
|
41
|
+
|
|
42
|
+
The following models are available through Codex CLI authentication:
|
|
43
|
+
|
|
44
|
+
- `openai/gpt-4.1`, `openai/gpt-4.1-mini`, `openai/gpt-4.1-nano`
|
|
45
|
+
- `openai/gpt-4o`, `openai/gpt-4o-mini`
|
|
46
|
+
- `openai/o1`, `openai/o1-mini`, `openai/o1-pro`
|
|
47
|
+
- `openai/o3`, `openai/o3-mini`
|
|
48
|
+
- `openai/o4-mini`
|
|
49
|
+
|
|
50
|
+
Default model: `openai/o3`
|
|
51
|
+
|
|
52
|
+
## How It Works
|
|
53
|
+
|
|
54
|
+
1. The plugin reads `~/.codex/auth.json` created by `codex login`
|
|
55
|
+
2. OAuth tokens from your ChatGPT subscription are extracted
|
|
56
|
+
3. Pool Bot uses these tokens to authenticate with OpenAI's API
|
|
57
|
+
4. Tokens auto-refresh when needed (handled by Pool Bot's credential system)
|
|
58
|
+
|
|
59
|
+
## Why Use This?
|
|
60
|
+
|
|
61
|
+
- **No separate API key** — use your existing ChatGPT Plus/Pro subscription
|
|
62
|
+
- **No usage-based billing** — covered by your subscription
|
|
63
|
+
- **Access to latest models** — same models available in ChatGPT
|
|
64
|
+
|
|
65
|
+
## Troubleshooting
|
|
66
|
+
|
|
67
|
+
### "No Codex auth found"
|
|
68
|
+
|
|
69
|
+
Run `codex login` to authenticate the Codex CLI first.
|
|
70
|
+
|
|
71
|
+
### Tokens expired
|
|
72
|
+
|
|
73
|
+
Re-run `codex login` to refresh your tokens, then re-authenticate:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
codex login
|
|
77
|
+
poolbot models auth login --provider openai-codex --set-default
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Model not available
|
|
81
|
+
|
|
82
|
+
Some models may require specific subscription tiers (e.g., o1-pro requires ChatGPT Pro).
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@poolzin/openai-codex-auth",
|
|
3
|
+
"version": "2026.2.18",
|
|
4
|
+
"private": true,
|
|
5
|
+
"description": "OpenAI Codex CLI auth provider plugin - use ChatGPT Plus/Pro subscription for OpenAI models",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"poolbot": "workspace:*"
|
|
9
|
+
},
|
|
10
|
+
"poolbot": {
|
|
11
|
+
"extensions": [
|
|
12
|
+
"./index.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "phone-control",
|
|
3
|
+
"name": "Phone Control",
|
|
4
|
+
"description": "Arm/disarm high-risk phone node commands (camera/screen/writes) with an optional auto-expiry.",
|
|
5
|
+
"configSchema": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"properties": {}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "thread-ownership",
|
|
3
|
+
"name": "Thread Ownership",
|
|
4
|
+
"description": "Prevents multiple agents from responding in the same Slack thread. Uses HTTP calls to the slack-forwarder ownership API.",
|
|
5
|
+
"configSchema": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"properties": {
|
|
9
|
+
"forwarderUrl": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"abTestChannels": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": { "type": "string" }
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"uiHints": {
|
|
19
|
+
"forwarderUrl": {
|
|
20
|
+
"label": "Forwarder URL",
|
|
21
|
+
"help": "Base URL of the slack-forwarder ownership API (default: http://slack-forwarder:8750)"
|
|
22
|
+
},
|
|
23
|
+
"abTestChannels": {
|
|
24
|
+
"label": "A/B Test Channels",
|
|
25
|
+
"help": "Slack channel IDs where thread ownership is enforced"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|