-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
41 lines (37 loc) · 1.43 KB
/
Copy pathopencode.jsonc
File metadata and controls
41 lines (37 loc) · 1.43 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
{
"$schema": "https://opencode.ai/config.json",
// Telegram Integration Experiment
// Test the telegram-notify plugin in isolation
// Plugin disabled - orchestrator bot handles Telegram communication
// "plugin": [
// "./plugin/telegram-notify.ts"
// ],
// Commands are loaded from .opencode/command/ directory
// - /telegram-link - Link session to Telegram topic
// - /telegram-unlink - Disconnect from Telegram
// Permission settings - require approval for bash commands (for testing)
"agent": {
"default": {
"instructions": [
"## Telegram Notifications",
"",
"You have access to Telegram notification tools. Use them appropriately:",
"",
"**When to start task tracking (telegram_start_task):**",
"- User says 'track this', 'notify me', 'let me know when done'",
"- User mentions 'telegram', 'notification', or 'alert me'",
"- User asks for updates on a long-running task",
"- Task will clearly take multiple steps or significant time",
"",
"**When to send updates (telegram_task_update):**",
"- Significant milestone reached",
"- User explicitly asks for a progress update",
"",
"**When NOT to use telegram tools:**",
"- Quick single-step tasks",
"- User hasn't indicated they want notifications",
"- Just answering questions or having a conversation"
]
}
}
}