forked from openabdev/openab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-copilot-native.toml
More file actions
91 lines (81 loc) · 2.38 KB
/
Copy pathconfig-copilot-native.toml
File metadata and controls
91 lines (81 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[discord]
bot_token = "${DISCORD_BOT_TOKEN}"
allowed_channels = [] # allow all channels
allowed_users = ["844236700611379200"] # xisx7876 — owner lockdown
[agent]
command = "cmd"
args = ["/c", "copilot", "--acp", "--enable-all-github-mcp-tools"]
working_dir = "C:\\Users\\Administrator"
[pool]
max_sessions = 5
session_ttl_hours = 24
[reactions]
enabled = true
remove_after_reply = false
[reactions.emojis]
queued = "👀"
thinking = "🤔"
tool = "🔥"
coding = "👨💻"
web = "⚡"
done = "🆗"
error = "😱"
[reactions.timing]
debounce_ms = 700
stall_soft_ms = 10000
stall_hard_ms = 30000
done_hold_ms = 1500
error_hold_ms = 2500
# ----- /usage slash command -----
[usage]
enabled = true
timeout_secs = 60
[[usage.runners]]
name = "claude"
label = "🤖 Claude Code (Max)"
color = 0xD97757
command = "node"
args = ["C:\\Users\\Administrator\\openab\\scripts\\get-claude-quota.js"]
progress_fields = ["session_5h_remaining", "week_7d_remaining"]
template = """
**5h Window:** {{ session_5h_remaining }} (resets {{ session_5h_reset }})
**7d Window:** {{ week_7d_remaining }} (resets {{ week_7d_reset }})
**Week tokens:** {{ week_total }} (Opus {{ week_opus }} · Sonnet {{ week_sonnet }} · Haiku {{ week_haiku }})
**Lifetime:** {{ total_sessions }} sessions · {{ total_messages }} msgs
"""
[[usage.runners]]
name = "copilot"
label = "⚡ GitHub Copilot (Pro)"
color = 0x24292F
command = "node"
args = ["C:\\Users\\Administrator\\openab\\scripts\\get-copilot-quota.js"]
progress_fields = ["remaining_pct"]
template = """
**Remaining:** {{ remaining_pct }}
{{ session_breakdown }}
_Resets {{ reset_date }}_
"""
[[usage.runners]]
name = "gemini"
label = "💎 Google Gemini CLI"
color = 0x4285F4
command = "node"
args = ["C:\\Users\\Administrator\\openab\\scripts\\get-gemini-usage.js"]
progress_fields = ["remaining_pct"]
template = """
**Lowest:** {{ remaining_pct }} · {{ tier }}
{{ quota_lines }}
"""
[[usage.runners]]
name = "codex"
label = "🟢 OpenAI Codex CLI"
color = 0x10A37F
command = "node"
args = ["--experimental-sqlite", "C:\\Users\\Administrator\\openab\\scripts\\get-codex-usage.js"]
progress_fields = ["h5_remaining", "wk_remaining"]
template = """
**5h Window:** {{ h5_remaining }} (resets {{ h5_reset }})
**Weekly:** {{ wk_remaining }} (resets {{ wk_reset }})
**Model:** {{ current_model }} ({{ effort }}) · {{ plan }}
**Usage:** {{ total_tokens }} tokens · {{ thread_count }} threads
"""