proagents 1.6.16 → 1.6.18
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/.claude/settings.local.json +169 -0
- package/COMMANDS.md +595 -0
- package/README.md +22 -64
- package/bin/proagents.js +0 -2
- package/lib/commands/init.js +4 -174
- package/package.json +2 -7
- package/.proagents/ai-models/README.md +0 -141
- package/.proagents/ai-models/cost-management.md +0 -362
- package/.proagents/ai-models/fallbacks.md +0 -342
- package/.proagents/ai-models/model-config.md +0 -318
- package/.proagents/ai-models/task-routing.md +0 -503
- package/.proagents/ai-training/README.md +0 -155
- package/.proagents/ai-training/continuous-learning.md +0 -413
- package/.proagents/ai-training/domain-knowledge.md +0 -378
- package/.proagents/ai-training/pattern-learning.md +0 -455
- package/.proagents/ai-training/training-data.md +0 -337
- package/.proagents/ai-training/user-preferences.md +0 -346
- package/.proagents/approval-workflows/README.md +0 -146
- package/.proagents/approval-workflows/approval-config.md +0 -332
- package/.proagents/approval-workflows/approval-stages.md +0 -503
- package/.proagents/approval-workflows/emergency-bypass.md +0 -351
- package/.proagents/approval-workflows/examples.md +0 -859
- package/.proagents/approval-workflows/notifications.md +0 -320
- package/.proagents/compliance/README.md +0 -206
- package/.proagents/compliance/access-control.md +0 -310
- package/.proagents/compliance/audit-logging.md +0 -444
- package/.proagents/compliance/compliance-frameworks.md +0 -429
- package/.proagents/compliance/reports.md +0 -491
- package/.proagents/compliance/retention-policies.md +0 -454
- package/.proagents/config-versioning/README.md +0 -120
- package/.proagents/config-versioning/changelog.md +0 -300
- package/.proagents/config-versioning/rollback.md +0 -283
- package/.proagents/config-versioning/versioning.md +0 -330
- package/.proagents/contract-testing/README.md +0 -223
- package/.proagents/contract-testing/contract-testing.md +0 -614
- package/.proagents/contract-testing/pact-integration.md +0 -507
- package/.proagents/contract-testing/schema-validation.md +0 -565
- package/.proagents/dependency-management/README.md +0 -140
- package/.proagents/dependency-management/automation.md +0 -363
- package/.proagents/dependency-management/compatibility.md +0 -319
- package/.proagents/dependency-management/security-scanning.md +0 -413
- package/.proagents/dependency-management/update-policies.md +0 -374
- package/.proagents/disaster-recovery/README.md +0 -247
- package/.proagents/disaster-recovery/automation.md +0 -366
- package/.proagents/disaster-recovery/backup-recovery.md +0 -571
- package/.proagents/disaster-recovery/incident-response.md +0 -565
- package/.proagents/disaster-recovery/rollback-procedures.md +0 -499
- package/.proagents/disaster-recovery/runbooks.md +0 -603
- package/.proagents/disaster-recovery/scenarios.md +0 -892
- package/.proagents/disaster-recovery/testing.md +0 -438
- package/.proagents/environments/README.md +0 -244
- package/.proagents/environments/configuration.md +0 -437
- package/.proagents/environments/promotion.md +0 -434
- package/.proagents/environments/setup.md +0 -420
- package/.proagents/examples/README.md +0 -55
- package/.proagents/examples/backend-nodejs/README.md +0 -188
- package/.proagents/examples/backend-nodejs/complete-conversation.md +0 -601
- package/.proagents/examples/backend-nodejs/proagents.config.yaml +0 -415
- package/.proagents/examples/backend-nodejs/workflow-example.md +0 -909
- package/.proagents/examples/fullstack-nextjs/README.md +0 -155
- package/.proagents/examples/fullstack-nextjs/complete-conversation.md +0 -604
- package/.proagents/examples/fullstack-nextjs/proagents.config.yaml +0 -287
- package/.proagents/examples/fullstack-nextjs/workflow-example.md +0 -553
- package/.proagents/examples/mobile-react-native/README.md +0 -171
- package/.proagents/examples/mobile-react-native/complete-conversation.md +0 -825
- package/.proagents/examples/mobile-react-native/proagents.config.yaml +0 -330
- package/.proagents/examples/mobile-react-native/workflow-example.md +0 -723
- package/.proagents/examples/web-frontend-react/README.md +0 -125
- package/.proagents/examples/web-frontend-react/complete-conversation.md +0 -556
- package/.proagents/examples/web-frontend-react/proagents.config.yaml +0 -183
- package/.proagents/examples/web-frontend-react/workflow-example.md +0 -603
- package/.proagents/existing-projects/README.md +0 -65
- package/.proagents/existing-projects/challenges.md +0 -861
- package/.proagents/existing-projects/coexistence-mode.md +0 -483
- package/.proagents/existing-projects/compatibility-assessment.md +0 -541
- package/.proagents/existing-projects/gradual-adoption.md +0 -515
- package/.proagents/existing-projects/migration-strategies.md +0 -788
- package/.proagents/existing-projects/pattern-reconciliation.md +0 -489
- package/.proagents/existing-projects/team-onboarding.md +0 -617
- package/.proagents/existing-projects/technical-debt-handling.md +0 -644
- package/.proagents/feature-flags/README.md +0 -263
- package/.proagents/feature-flags/ab-testing.md +0 -413
- package/.proagents/feature-flags/configuration.md +0 -420
- package/.proagents/feature-flags/kill-switches.md +0 -444
- package/.proagents/feature-flags/rollout-strategies.md +0 -392
- package/.proagents/history.log +0 -12
- package/.proagents/i18n/README.md +0 -133
- package/.proagents/i18n/extraction.md +0 -433
- package/.proagents/i18n/tms-integration.md +0 -332
- package/.proagents/i18n/translation-workflow.md +0 -413
- package/.proagents/i18n/validation.md +0 -355
- package/.proagents/logging/README.md +0 -276
- package/.proagents/logging/aggregation.md +0 -475
- package/.proagents/logging/log-levels.md +0 -376
- package/.proagents/logging/sensitive-data.md +0 -423
- package/.proagents/logging/structured-logging.md +0 -406
- package/.proagents/metrics/README.md +0 -69
- package/.proagents/metrics/code-quality-kpis.md +0 -461
- package/.proagents/metrics/deployment-metrics.md +0 -517
- package/.proagents/metrics/developer-productivity.md +0 -368
- package/.proagents/metrics/learning-effectiveness.md +0 -478
- package/.proagents/migrations/README.md +0 -77
- package/.proagents/migrations/from-claude-projects.md +0 -313
- package/.proagents/migrations/from-cursor-rules.md +0 -345
- package/.proagents/migrations/from-custom-workflows.md +0 -410
- package/.proagents/monitoring/README.md +0 -308
- package/.proagents/monitoring/alerting.md +0 -449
- package/.proagents/monitoring/dashboards.md +0 -454
- package/.proagents/monitoring/health-checks.md +0 -436
- package/.proagents/monitoring/metrics.md +0 -434
- package/.proagents/multi-project/README.md +0 -170
- package/.proagents/multi-project/coordinated-deploy.md +0 -510
- package/.proagents/multi-project/cross-project-deps.md +0 -395
- package/.proagents/multi-project/unified-changelog.md +0 -477
- package/.proagents/multi-project/walkthroughs/monorepo-setup.md +0 -787
- package/.proagents/multi-project/workspace-config.md +0 -408
- package/.proagents/notifications/README.md +0 -151
- package/.proagents/notifications/channels.md +0 -457
- package/.proagents/notifications/preferences.md +0 -415
- package/.proagents/notifications/routing.md +0 -449
- package/.proagents/notifications/scheduling.md +0 -425
- package/.proagents/notifications/templates.md +0 -446
- package/.proagents/offline-mode/README.md +0 -145
- package/.proagents/offline-mode/caching.md +0 -344
- package/.proagents/offline-mode/offline-operations.md +0 -312
- package/.proagents/offline-mode/queue-specifications.md +0 -679
- package/.proagents/offline-mode/sync.md +0 -475
- package/.proagents/parallel-features/README.md +0 -85
- package/.proagents/parallel-features/conflict-detection.md +0 -226
- package/.proagents/parallel-features/dependency-management.md +0 -392
- package/.proagents/parallel-features/merge-coordination.md +0 -506
- package/.proagents/parallel-features/tracking-system.md +0 -416
- package/.proagents/performance/README.md +0 -59
- package/.proagents/performance/bundle-analysis.md +0 -375
- package/.proagents/performance/load-testing.md +0 -563
- package/.proagents/performance/runtime-metrics.md +0 -489
- package/.proagents/performance/web-vitals.md +0 -425
- package/.proagents/plugins/README.md +0 -139
- package/.proagents/plugins/creating-plugins.md +0 -504
- package/.proagents/plugins/plugin-api.md +0 -467
- package/.proagents/plugins/plugin-registry.md +0 -276
- package/.proagents/reporting/README.md +0 -158
- package/.proagents/reporting/dashboards.md +0 -366
- package/.proagents/reporting/exports.md +0 -524
- package/.proagents/reporting/quality-metrics.md +0 -385
- package/.proagents/reporting/templates/README.md +0 -56
- package/.proagents/reporting/templates/dashboard-config.json +0 -187
- package/.proagents/reporting/templates/metrics-queries.md +0 -427
- package/.proagents/reporting/templates/react-dashboard.tsx +0 -544
- package/.proagents/reporting/templates/widgets.md +0 -451
- package/.proagents/reporting/velocity-metrics.md +0 -340
- package/.proagents/reverse-engineering/README.md +0 -151
- package/.proagents/reverse-engineering/architecture-extraction.md +0 -325
- package/.proagents/reverse-engineering/code-analysis.md +0 -377
- package/.proagents/reverse-engineering/dependency-mapping.md +0 -567
- package/.proagents/reverse-engineering/diagram-generation.md +0 -586
- package/.proagents/reverse-engineering/documentation-generation.md +0 -468
- package/.proagents/reverse-engineering/pattern-detection.md +0 -569
- package/.proagents/reverse-engineering/quality-assessment.md +0 -733
- package/.proagents/secrets/README.md +0 -278
- package/.proagents/secrets/access-control.md +0 -443
- package/.proagents/secrets/rotation.md +0 -403
- package/.proagents/secrets/scanning.md +0 -487
- package/.proagents/secrets/storage.md +0 -394
- package/.proagents/webhooks/README.md +0 -126
- package/.proagents/webhooks/endpoints.md +0 -298
- package/.proagents/webhooks/events.md +0 -316
- package/.proagents/webhooks/payloads.md +0 -325
- package/.proagents/webhooks/reliability.md +0 -363
- package/.proagents/webhooks/security.md +0 -380
|
@@ -1,457 +0,0 @@
|
|
|
1
|
-
# Notification Channels
|
|
2
|
-
|
|
3
|
-
Configure and manage notification delivery channels.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Slack
|
|
8
|
-
|
|
9
|
-
### Basic Setup
|
|
10
|
-
|
|
11
|
-
```yaml
|
|
12
|
-
notifications:
|
|
13
|
-
channels:
|
|
14
|
-
slack:
|
|
15
|
-
enabled: true
|
|
16
|
-
|
|
17
|
-
# Webhook URL
|
|
18
|
-
webhook_env: "SLACK_WEBHOOK_URL"
|
|
19
|
-
|
|
20
|
-
# Default channel
|
|
21
|
-
default_channel: "#proagents"
|
|
22
|
-
|
|
23
|
-
# Bot token (for advanced features)
|
|
24
|
-
bot_token_env: "SLACK_BOT_TOKEN"
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### Channel Routing
|
|
28
|
-
|
|
29
|
-
```yaml
|
|
30
|
-
notifications:
|
|
31
|
-
channels:
|
|
32
|
-
slack:
|
|
33
|
-
routing:
|
|
34
|
-
# Route by event type
|
|
35
|
-
feature_events: "#dev-features"
|
|
36
|
-
deploy_events: "#deployments"
|
|
37
|
-
security_events: "#security-alerts"
|
|
38
|
-
|
|
39
|
-
# Route by severity
|
|
40
|
-
critical: "#incidents"
|
|
41
|
-
warning: "#dev-alerts"
|
|
42
|
-
info: "#proagents"
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### Message Formatting
|
|
46
|
-
|
|
47
|
-
```yaml
|
|
48
|
-
notifications:
|
|
49
|
-
channels:
|
|
50
|
-
slack:
|
|
51
|
-
formatting:
|
|
52
|
-
# Use Slack blocks
|
|
53
|
-
use_blocks: true
|
|
54
|
-
|
|
55
|
-
# Include action buttons
|
|
56
|
-
include_actions: true
|
|
57
|
-
|
|
58
|
-
# Thread follow-up messages
|
|
59
|
-
use_threads: true
|
|
60
|
-
|
|
61
|
-
# Add reactions for status
|
|
62
|
-
status_reactions:
|
|
63
|
-
success: "white_check_mark"
|
|
64
|
-
failure: "x"
|
|
65
|
-
warning: "warning"
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Example Message
|
|
69
|
-
|
|
70
|
-
```json
|
|
71
|
-
{
|
|
72
|
-
"blocks": [
|
|
73
|
-
{
|
|
74
|
-
"type": "header",
|
|
75
|
-
"text": {
|
|
76
|
-
"type": "plain_text",
|
|
77
|
-
"text": "Feature Completed"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"type": "section",
|
|
82
|
-
"fields": [
|
|
83
|
-
{
|
|
84
|
-
"type": "mrkdwn",
|
|
85
|
-
"text": "*Feature:*\nUser Authentication"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"type": "mrkdwn",
|
|
89
|
-
"text": "*Duration:*\n4 hours"
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"type": "actions",
|
|
95
|
-
"elements": [
|
|
96
|
-
{
|
|
97
|
-
"type": "button",
|
|
98
|
-
"text": {"type": "plain_text", "text": "View PR"},
|
|
99
|
-
"url": "https://github.com/org/repo/pull/123"
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## Discord
|
|
110
|
-
|
|
111
|
-
### Setup
|
|
112
|
-
|
|
113
|
-
```yaml
|
|
114
|
-
notifications:
|
|
115
|
-
channels:
|
|
116
|
-
discord:
|
|
117
|
-
enabled: true
|
|
118
|
-
webhook_env: "DISCORD_WEBHOOK_URL"
|
|
119
|
-
|
|
120
|
-
# Bot token for advanced features
|
|
121
|
-
bot_token_env: "DISCORD_BOT_TOKEN"
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### Channel Routing
|
|
125
|
-
|
|
126
|
-
```yaml
|
|
127
|
-
notifications:
|
|
128
|
-
channels:
|
|
129
|
-
discord:
|
|
130
|
-
routing:
|
|
131
|
-
default: "general"
|
|
132
|
-
deployments: "deployments"
|
|
133
|
-
alerts: "alerts"
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### Embed Formatting
|
|
137
|
-
|
|
138
|
-
```yaml
|
|
139
|
-
notifications:
|
|
140
|
-
channels:
|
|
141
|
-
discord:
|
|
142
|
-
formatting:
|
|
143
|
-
use_embeds: true
|
|
144
|
-
colors:
|
|
145
|
-
success: 0x00FF00
|
|
146
|
-
failure: 0xFF0000
|
|
147
|
-
warning: 0xFFFF00
|
|
148
|
-
info: 0x0000FF
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
---
|
|
152
|
-
|
|
153
|
-
## Microsoft Teams
|
|
154
|
-
|
|
155
|
-
### Setup
|
|
156
|
-
|
|
157
|
-
```yaml
|
|
158
|
-
notifications:
|
|
159
|
-
channels:
|
|
160
|
-
teams:
|
|
161
|
-
enabled: true
|
|
162
|
-
webhook_env: "TEAMS_WEBHOOK_URL"
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
### Adaptive Cards
|
|
166
|
-
|
|
167
|
-
```yaml
|
|
168
|
-
notifications:
|
|
169
|
-
channels:
|
|
170
|
-
teams:
|
|
171
|
-
formatting:
|
|
172
|
-
use_adaptive_cards: true
|
|
173
|
-
include_actions: true
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
### Example Adaptive Card
|
|
177
|
-
|
|
178
|
-
```json
|
|
179
|
-
{
|
|
180
|
-
"@type": "MessageCard",
|
|
181
|
-
"@context": "http://schema.org/extensions",
|
|
182
|
-
"themeColor": "0076D7",
|
|
183
|
-
"summary": "Feature Completed",
|
|
184
|
-
"sections": [{
|
|
185
|
-
"activityTitle": "Feature Completed",
|
|
186
|
-
"facts": [{
|
|
187
|
-
"name": "Feature",
|
|
188
|
-
"value": "User Authentication"
|
|
189
|
-
}, {
|
|
190
|
-
"name": "Duration",
|
|
191
|
-
"value": "4 hours"
|
|
192
|
-
}],
|
|
193
|
-
"markdown": true
|
|
194
|
-
}],
|
|
195
|
-
"potentialAction": [{
|
|
196
|
-
"@type": "OpenUri",
|
|
197
|
-
"name": "View PR",
|
|
198
|
-
"targets": [{
|
|
199
|
-
"os": "default",
|
|
200
|
-
"uri": "https://github.com/org/repo/pull/123"
|
|
201
|
-
}]
|
|
202
|
-
}]
|
|
203
|
-
}
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
---
|
|
207
|
-
|
|
208
|
-
## Email
|
|
209
|
-
|
|
210
|
-
### SMTP Setup
|
|
211
|
-
|
|
212
|
-
```yaml
|
|
213
|
-
notifications:
|
|
214
|
-
channels:
|
|
215
|
-
email:
|
|
216
|
-
enabled: true
|
|
217
|
-
|
|
218
|
-
smtp:
|
|
219
|
-
host_env: "SMTP_HOST"
|
|
220
|
-
port: 587
|
|
221
|
-
secure: true
|
|
222
|
-
user_env: "SMTP_USER"
|
|
223
|
-
pass_env: "SMTP_PASS"
|
|
224
|
-
|
|
225
|
-
from:
|
|
226
|
-
name: "ProAgents"
|
|
227
|
-
email: "proagents@company.com"
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
### Email Providers
|
|
231
|
-
|
|
232
|
-
**SendGrid:**
|
|
233
|
-
```yaml
|
|
234
|
-
notifications:
|
|
235
|
-
channels:
|
|
236
|
-
email:
|
|
237
|
-
provider: "sendgrid"
|
|
238
|
-
api_key_env: "SENDGRID_API_KEY"
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
**AWS SES:**
|
|
242
|
-
```yaml
|
|
243
|
-
notifications:
|
|
244
|
-
channels:
|
|
245
|
-
email:
|
|
246
|
-
provider: "ses"
|
|
247
|
-
region: "us-east-1"
|
|
248
|
-
access_key_env: "AWS_ACCESS_KEY"
|
|
249
|
-
secret_key_env: "AWS_SECRET_KEY"
|
|
250
|
-
```
|
|
251
|
-
|
|
252
|
-
**Mailgun:**
|
|
253
|
-
```yaml
|
|
254
|
-
notifications:
|
|
255
|
-
channels:
|
|
256
|
-
email:
|
|
257
|
-
provider: "mailgun"
|
|
258
|
-
api_key_env: "MAILGUN_API_KEY"
|
|
259
|
-
domain: "mail.company.com"
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
### Email Formatting
|
|
263
|
-
|
|
264
|
-
```yaml
|
|
265
|
-
notifications:
|
|
266
|
-
channels:
|
|
267
|
-
email:
|
|
268
|
-
formatting:
|
|
269
|
-
format: "html" # "html" | "text" | "both"
|
|
270
|
-
template_dir: "./templates/email"
|
|
271
|
-
|
|
272
|
-
# Threading
|
|
273
|
-
threading:
|
|
274
|
-
enabled: true
|
|
275
|
-
by: "feature" # Group by feature
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
---
|
|
279
|
-
|
|
280
|
-
## SMS
|
|
281
|
-
|
|
282
|
-
### Twilio Setup
|
|
283
|
-
|
|
284
|
-
```yaml
|
|
285
|
-
notifications:
|
|
286
|
-
channels:
|
|
287
|
-
sms:
|
|
288
|
-
enabled: true
|
|
289
|
-
provider: "twilio"
|
|
290
|
-
|
|
291
|
-
twilio:
|
|
292
|
-
account_sid_env: "TWILIO_ACCOUNT_SID"
|
|
293
|
-
auth_token_env: "TWILIO_AUTH_TOKEN"
|
|
294
|
-
from_number: "+15551234567"
|
|
295
|
-
|
|
296
|
-
# Only for critical alerts
|
|
297
|
-
events:
|
|
298
|
-
- "deploy.failed"
|
|
299
|
-
- "security.critical"
|
|
300
|
-
- "system.down"
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### Rate Limiting
|
|
304
|
-
|
|
305
|
-
```yaml
|
|
306
|
-
notifications:
|
|
307
|
-
channels:
|
|
308
|
-
sms:
|
|
309
|
-
rate_limit:
|
|
310
|
-
max_per_hour: 10
|
|
311
|
-
max_per_day: 50
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
---
|
|
315
|
-
|
|
316
|
-
## Push Notifications
|
|
317
|
-
|
|
318
|
-
### Web Push
|
|
319
|
-
|
|
320
|
-
```yaml
|
|
321
|
-
notifications:
|
|
322
|
-
channels:
|
|
323
|
-
push:
|
|
324
|
-
enabled: true
|
|
325
|
-
provider: "web-push"
|
|
326
|
-
|
|
327
|
-
vapid:
|
|
328
|
-
public_key_env: "VAPID_PUBLIC_KEY"
|
|
329
|
-
private_key_env: "VAPID_PRIVATE_KEY"
|
|
330
|
-
subject: "mailto:admin@company.com"
|
|
331
|
-
```
|
|
332
|
-
|
|
333
|
-
### Firebase Cloud Messaging
|
|
334
|
-
|
|
335
|
-
```yaml
|
|
336
|
-
notifications:
|
|
337
|
-
channels:
|
|
338
|
-
push:
|
|
339
|
-
enabled: true
|
|
340
|
-
provider: "fcm"
|
|
341
|
-
|
|
342
|
-
firebase:
|
|
343
|
-
credentials_file: "./firebase-credentials.json"
|
|
344
|
-
# Or
|
|
345
|
-
project_id_env: "FIREBASE_PROJECT_ID"
|
|
346
|
-
private_key_env: "FIREBASE_PRIVATE_KEY"
|
|
347
|
-
client_email_env: "FIREBASE_CLIENT_EMAIL"
|
|
348
|
-
```
|
|
349
|
-
|
|
350
|
-
---
|
|
351
|
-
|
|
352
|
-
## Custom Webhooks
|
|
353
|
-
|
|
354
|
-
### Configuration
|
|
355
|
-
|
|
356
|
-
```yaml
|
|
357
|
-
notifications:
|
|
358
|
-
channels:
|
|
359
|
-
custom:
|
|
360
|
-
- name: "pagerduty"
|
|
361
|
-
url_env: "PAGERDUTY_URL"
|
|
362
|
-
method: "POST"
|
|
363
|
-
headers:
|
|
364
|
-
Authorization: "Token token=${PAGERDUTY_TOKEN}"
|
|
365
|
-
events:
|
|
366
|
-
- "deploy.failed"
|
|
367
|
-
- "security.critical"
|
|
368
|
-
|
|
369
|
-
- name: "internal-api"
|
|
370
|
-
url: "https://api.internal.com/notifications"
|
|
371
|
-
method: "POST"
|
|
372
|
-
auth:
|
|
373
|
-
type: "bearer"
|
|
374
|
-
token_env: "INTERNAL_API_TOKEN"
|
|
375
|
-
```
|
|
376
|
-
|
|
377
|
-
---
|
|
378
|
-
|
|
379
|
-
## Channel Priority
|
|
380
|
-
|
|
381
|
-
### Priority Routing
|
|
382
|
-
|
|
383
|
-
```yaml
|
|
384
|
-
notifications:
|
|
385
|
-
priority:
|
|
386
|
-
critical:
|
|
387
|
-
channels: ["sms", "slack", "email"]
|
|
388
|
-
immediate: true
|
|
389
|
-
|
|
390
|
-
high:
|
|
391
|
-
channels: ["slack", "email"]
|
|
392
|
-
immediate: true
|
|
393
|
-
|
|
394
|
-
normal:
|
|
395
|
-
channels: ["slack"]
|
|
396
|
-
batching: true
|
|
397
|
-
|
|
398
|
-
low:
|
|
399
|
-
channels: ["email"]
|
|
400
|
-
batching: true
|
|
401
|
-
digest: "daily"
|
|
402
|
-
```
|
|
403
|
-
|
|
404
|
-
---
|
|
405
|
-
|
|
406
|
-
## Channel Health
|
|
407
|
-
|
|
408
|
-
### Monitoring
|
|
409
|
-
|
|
410
|
-
```yaml
|
|
411
|
-
notifications:
|
|
412
|
-
monitoring:
|
|
413
|
-
health_check:
|
|
414
|
-
enabled: true
|
|
415
|
-
interval: "5m"
|
|
416
|
-
|
|
417
|
-
fallback:
|
|
418
|
-
# If primary fails, use fallback
|
|
419
|
-
slack: "email"
|
|
420
|
-
email: "sms"
|
|
421
|
-
```
|
|
422
|
-
|
|
423
|
-
### Health Dashboard
|
|
424
|
-
|
|
425
|
-
```
|
|
426
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
427
|
-
│ Notification Channel Health │
|
|
428
|
-
├─────────────────────────────────────────────────────────────┤
|
|
429
|
-
│ Slack │ ✅ Healthy │ 99.9% delivery │ 245ms avg │
|
|
430
|
-
│ Discord │ ✅ Healthy │ 99.8% delivery │ 312ms avg │
|
|
431
|
-
│ Email │ ✅ Healthy │ 99.5% delivery │ 1.2s avg │
|
|
432
|
-
│ SMS │ ⚠️ Degraded │ 95.2% delivery │ 2.4s avg │
|
|
433
|
-
│ Push │ ✅ Healthy │ 98.7% delivery │ 456ms avg │
|
|
434
|
-
└─────────────────────────────────────────────────────────────┘
|
|
435
|
-
```
|
|
436
|
-
|
|
437
|
-
---
|
|
438
|
-
|
|
439
|
-
## Commands
|
|
440
|
-
|
|
441
|
-
```bash
|
|
442
|
-
# List channels
|
|
443
|
-
proagents notifications channels list
|
|
444
|
-
|
|
445
|
-
# Test channel
|
|
446
|
-
proagents notifications channels test slack
|
|
447
|
-
|
|
448
|
-
# Check health
|
|
449
|
-
proagents notifications channels health
|
|
450
|
-
|
|
451
|
-
# Enable/disable channel
|
|
452
|
-
proagents notifications channels enable email
|
|
453
|
-
proagents notifications channels disable sms
|
|
454
|
-
|
|
455
|
-
# View channel stats
|
|
456
|
-
proagents notifications channels stats --last 7d
|
|
457
|
-
```
|