@debugbundle/mcp 1.5.0 → 1.5.1
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/dist/main.cjs +141 -4
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/main.cjs
CHANGED
|
@@ -17949,8 +17949,10 @@ function buildSkill() {
|
|
|
17949
17949
|
"name: debugbundle",
|
|
17950
17950
|
"description: >-",
|
|
17951
17951
|
" Investigate runtime incidents, inspect debug bundles, generate reproductions,",
|
|
17952
|
-
"
|
|
17953
|
-
" Use when the user reports a bug, runtime
|
|
17952
|
+
" run improvement analysis, and inspect operational controls using the DebugBundle",
|
|
17953
|
+
" CLI and local project scaffold. Use when the user reports a bug, runtime",
|
|
17954
|
+
" failure, production incident, endpoint downtime, health-check issue, missing",
|
|
17955
|
+
" notification, webhook delivery failure, probe request, or noisy incident.",
|
|
17954
17956
|
"metadata:",
|
|
17955
17957
|
" author: debugbundle",
|
|
17956
17958
|
' version: "1.0"',
|
|
@@ -17988,6 +17990,24 @@ function buildSkill() {
|
|
|
17988
17990
|
"4. Apply the narrowest fix, then validate it with the repository test workflow from `.debugbundle/profile.json`.",
|
|
17989
17991
|
"5. When the fix is confirmed, or when the incident was intentionally generated for smoke, verification, or dogfooding, resolve it with `debugbundle resolve <incident-id> [incident-id ...]` or MCP `resolve_incident` / `resolve_incidents` so the open queue stays actionable.",
|
|
17990
17992
|
"",
|
|
17993
|
+
"## Investigation Controls",
|
|
17994
|
+
"",
|
|
17995
|
+
"Use these controls when the user's issue is about observability behavior, notification delivery, targeted evidence gathering, or event noise rather than only application code.",
|
|
17996
|
+
"",
|
|
17997
|
+
"- Availability checks: use hosted health checks for endpoint downtime, public reachability, or project Health tab issues. These are DebugBundle-run external `GET`/`HEAD` checks, not SDK events from the customer app.",
|
|
17998
|
+
"- Probes: inspect active probes with `debugbundle probe list <project-id> --json` or MCP `list_active_probes` before activating more probes. Activate probes only when targeted runtime evidence is needed and the user has asked for investigation.",
|
|
17999
|
+
"- Capture policy and rules: inspect policy/rules before suppressing noisy incidents. Prefer `debugbundle capture-rule suggest <incident-id> --json` and narrow capture-policy path rules over broad drops or demotions.",
|
|
18000
|
+
"- Alerts and webhooks: when the user reports missing, duplicate, or failed notifications, inspect alert config, webhook config, and webhook delivery history before changing application code.",
|
|
18001
|
+
"",
|
|
18002
|
+
"## Availability Checks",
|
|
18003
|
+
"",
|
|
18004
|
+
"- Start with `debugbundle health checks list --project-id <id> --json` or MCP `list_health_checks` to inspect saved checks and plan limits.",
|
|
18005
|
+
"- For a failing check, inspect `debugbundle health checks results <check-id> --project-id <id> --json` and `debugbundle health checks daily-rollups <check-id> --project-id <id> --json` before changing code.",
|
|
18006
|
+
"- Use `debugbundle health checks test --project-id <id> --url <url> --json` or MCP `test_health_check` before creating or updating a saved check. Tests are side-effect-free: no incidents, retained history rows, or counters.",
|
|
18007
|
+
"- Create, update, delete, enable, or disable checks only when the user explicitly asks to change monitoring.",
|
|
18008
|
+
"- Availability incidents reuse the normal incident lifecycle. If a check opened an incident, fetch the incident context, bundle, and reproduction before proposing a fix, then resolve only after the endpoint recovers or the intentional verification incident has served its purpose.",
|
|
18009
|
+
"- Do not configure private, localhost, metadata-service, credentialed, or state-mutating targets. V1 health-check targets must be external `http`/`https` URLs on safe ports.",
|
|
18010
|
+
"",
|
|
17991
18011
|
"## Incident Hygiene",
|
|
17992
18012
|
"",
|
|
17993
18013
|
"- Treat `open` as actionable work, not historical record.",
|
|
@@ -18004,6 +18024,25 @@ function buildSkill() {
|
|
|
18004
18024
|
"- Scope frontend noise by structured evidence such as service, environment, `browser_event_kind`, `browser_event_opaque`, `client_kind`, `bot_family`, and message fields. Do not broadly demote generic `Unhandled promise rejection` incidents without bot-scoped or otherwise narrow evidence.",
|
|
18005
18025
|
"- For expected or intentionally promoted 4xx responses on known routes, use capture-policy client-error path rules instead of promoting all client errors: `debugbundle capture-policy set --client-error-path-rule <status=/path/*@GET>`.",
|
|
18006
18026
|
"",
|
|
18027
|
+
"## Notification Delivery",
|
|
18028
|
+
"",
|
|
18029
|
+
"When notification or automation delivery is the reported failure, inspect configuration and delivery records before changing incident logic.",
|
|
18030
|
+
"",
|
|
18031
|
+
"- Alerts route incident notifications to configured channels. Start with `debugbundle alert list --project-id <id> --json` and confirm condition, severity, service, cooldown, channel, and enabled state.",
|
|
18032
|
+
"- Webhooks deliver signed lifecycle events to external systems. Start with `debugbundle webhook list --project-id <id> --json`, then inspect `debugbundle webhook deliveries <webhook-id> --project-id <id> --json` before retrying or testing.",
|
|
18033
|
+
"- Webhook tests and retries are side-effecting delivery actions. Use them only when validating a destination or replaying an explicit failed delivery.",
|
|
18034
|
+
"",
|
|
18035
|
+
"## Full Documentation",
|
|
18036
|
+
"",
|
|
18037
|
+
"- CLI: `https://debugbundle.com/docs/cli`",
|
|
18038
|
+
"- MCP tools: `https://debugbundle.com/docs/mcp/tools`",
|
|
18039
|
+
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
18040
|
+
"- Probes: `https://debugbundle.com/docs/probes`",
|
|
18041
|
+
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
18042
|
+
"- Alerts: `https://debugbundle.com/docs/alerts` and `https://debugbundle.com/docs/cli/alerts`",
|
|
18043
|
+
"- Webhooks: `https://debugbundle.com/docs/webhooks` and `https://debugbundle.com/docs/cli/webhooks`",
|
|
18044
|
+
"- API ingestion: `https://debugbundle.com/docs/api/ingestion`",
|
|
18045
|
+
"",
|
|
18007
18046
|
"## Profile Validation",
|
|
18008
18047
|
"",
|
|
18009
18048
|
"Use this task after setup or whenever architecture changes make the static profile stale.",
|
|
@@ -18081,6 +18120,56 @@ function buildCliReference() {
|
|
|
18081
18120
|
"",
|
|
18082
18121
|
"Use capture-rule suggestions for repeated operational noise after inspecting an incident bundle. Use capture-policy client-error path rules for route-scoped 4xx incidents instead of promoting all client errors.",
|
|
18083
18122
|
"",
|
|
18123
|
+
"## Probes",
|
|
18124
|
+
"",
|
|
18125
|
+
"- `debugbundle probe activate <project-id> --label-pattern <pattern> [--service <name>] [--environment <name>] [--ttl-seconds <n>] [--trigger-ttl-seconds <n>] [--auth-file <path>] [--json]`",
|
|
18126
|
+
"- `debugbundle probe list <project-id> [--auth-file <path>] [--json]`",
|
|
18127
|
+
"- `debugbundle probe deactivate <project-id> <activation-id> [--auth-file <path>] [--json]`",
|
|
18128
|
+
"",
|
|
18129
|
+
"Use probes for targeted evidence gathering when bundle context is insufficient. Prefer narrow label patterns, scoped service/environment values, and explicit TTLs.",
|
|
18130
|
+
"",
|
|
18131
|
+
"## Notifications",
|
|
18132
|
+
"",
|
|
18133
|
+
"- `debugbundle alert list --project-id <id> [--limit <n>] [--auth-file <path>] [--json]`",
|
|
18134
|
+
"- `debugbundle alert create --project-id <id> --channel <channel> --condition <condition> [--service-id <id>] [--severity-min <level>] [--cooldown <seconds>] --config-json <json> [--is-enabled <true|false>] [--auth-file <path>] [--json]`",
|
|
18135
|
+
"- `debugbundle alert update <alert-id> --project-id <id> [--service-id <id|null>] [--channel <channel>] [--condition <condition>] [--severity-min <level|null>] [--cooldown <seconds>] [--config-json <json|null>] [--is-enabled <true|false>] [--auth-file <path>] [--json]`",
|
|
18136
|
+
"- `debugbundle alert delete <alert-id> --project-id <id> [--auth-file <path>] [--json]`",
|
|
18137
|
+
"- `debugbundle webhook list --project-id <id> [--limit <n>] [--auth-file <path>] [--json]`",
|
|
18138
|
+
"- `debugbundle webhook create --project-id <id> --url <url> --event <event[,event]> [--environment <env[,env]>] [--service <svc[,svc]>] [--severity-min <level>] [--bundle-type <type[,type]>] [--verification <true|false>] [--is-enabled <true|false>] [--auth-file <path>] [--json]`",
|
|
18139
|
+
"- `debugbundle webhook update <webhook-id> --project-id <id> [--url <url>] [--event <event[,event]>] [--environment <env[,env]>] [--service <svc[,svc]>] [--severity-min <level>] [--bundle-type <type[,type]>] [--verification <true|false>] [--is-enabled <true|false>] [--auth-file <path>] [--json]`",
|
|
18140
|
+
"- `debugbundle webhook delete <webhook-id> --project-id <id> [--auth-file <path>] [--json]`",
|
|
18141
|
+
"- `debugbundle webhook test <webhook-id> --project-id <id> [--event <verification.passed|verification.failed>] [--auth-file <path>] [--json]`",
|
|
18142
|
+
"- `debugbundle webhook deliveries <webhook-id> --project-id <id> [--limit <n>] [--auth-file <path>] [--json]`",
|
|
18143
|
+
"- `debugbundle webhook retry <webhook-id> <delivery-id> --project-id <id> [--auth-file <path>] [--json]`",
|
|
18144
|
+
"",
|
|
18145
|
+
"Use alert commands for notification routing and webhook commands for signed event delivery, delivery history, synthetic tests, and manual retries.",
|
|
18146
|
+
"",
|
|
18147
|
+
"## Availability Checks",
|
|
18148
|
+
"",
|
|
18149
|
+
"- `debugbundle health checks list --project-id <id> [--limit <n>] [--auth-file <path>] [--json]`",
|
|
18150
|
+
"- `debugbundle health checks get <check-id> --project-id <id> [--auth-file <path>] [--json]`",
|
|
18151
|
+
"- `debugbundle health checks create --project-id <id> --name <name> --url <url> --interval-seconds <n> [--method <GET|HEAD>] [--expected-status-min <code>] [--expected-status-max <code>] [--timeout-ms <n>] [--failure-threshold <n>] [--recovery-threshold <n>] [--environment <name>] [--service <name|null>] [--enabled <true|false>] [--auth-file <path>] [--json]`",
|
|
18152
|
+
"- `debugbundle health checks update <check-id> --project-id <id> [--name <name>] [--url <url>] [--method <GET|HEAD>] [--expected-status-min <code>] [--expected-status-max <code>] [--timeout-ms <n>] [--interval-seconds <n>] [--failure-threshold <n>] [--recovery-threshold <n>] [--environment <name>] [--service <name|null>] [--enabled <true|false>] [--auth-file <path>] [--json]`",
|
|
18153
|
+
"- `debugbundle health checks delete <check-id> --project-id <id> [--auth-file <path>] [--json]`",
|
|
18154
|
+
"- `debugbundle health checks test --project-id <id> --url <url> [--method <GET|HEAD>] [--expected-status-min <code>] [--expected-status-max <code>] [--timeout-ms <n>] [--auth-file <path>] [--json]`",
|
|
18155
|
+
"- `debugbundle health checks results <check-id> --project-id <id> [--limit <n>] [--auth-file <path>] [--json]`",
|
|
18156
|
+
"- `debugbundle health checks daily-rollups <check-id> --project-id <id> [--limit <n>] [--auth-file <path>] [--json]`",
|
|
18157
|
+
"",
|
|
18158
|
+
"Use availability-check commands for hosted endpoint reachability. Prefer `test` before saving a new target. `test` is side-effect-free and does not create incidents or retained history. Saved checks remain visible after downgrade, but checks beyond current count or interval limits pause until the project becomes eligible again.",
|
|
18159
|
+
"",
|
|
18160
|
+
"## Documentation URLs",
|
|
18161
|
+
"",
|
|
18162
|
+
"- CLI overview: `https://debugbundle.com/docs/cli`",
|
|
18163
|
+
"- Cloud workflow: `https://debugbundle.com/docs/cli/cloud-workflow`",
|
|
18164
|
+
"- API overview: `https://debugbundle.com/docs/api`",
|
|
18165
|
+
"- API ingestion: `https://debugbundle.com/docs/api/ingestion`",
|
|
18166
|
+
"- Alerts: `https://debugbundle.com/docs/alerts` and `https://debugbundle.com/docs/cli/alerts`",
|
|
18167
|
+
"- Webhooks: `https://debugbundle.com/docs/webhooks`, `https://debugbundle.com/docs/cli/webhooks`, and `https://debugbundle.com/docs/api/webhooks`",
|
|
18168
|
+
"- Probes: `https://debugbundle.com/docs/probes` and `https://debugbundle.com/docs/api/probes`",
|
|
18169
|
+
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
18170
|
+
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
18171
|
+
"- MCP tool catalog: `https://debugbundle.com/docs/mcp/tools`",
|
|
18172
|
+
"",
|
|
18084
18173
|
"## Operational Paths",
|
|
18085
18174
|
"",
|
|
18086
18175
|
"- `.debugbundle/profile.json` \u2014 committed project map and agent validation state",
|
|
@@ -18102,7 +18191,7 @@ function buildCliReference() {
|
|
|
18102
18191
|
"",
|
|
18103
18192
|
"```bash",
|
|
18104
18193
|
"debugbundle incidents --status open --json",
|
|
18105
|
-
"debugbundle resolve <incident-id>",
|
|
18194
|
+
"debugbundle resolve <incident-id> [incident-id ...]",
|
|
18106
18195
|
"debugbundle incidents --status open --json",
|
|
18107
18196
|
"```",
|
|
18108
18197
|
"",
|
|
@@ -18147,6 +18236,45 @@ function buildMcpReference() {
|
|
|
18147
18236
|
"",
|
|
18148
18237
|
"Use these tools for repeated low-value operational noise only after inspecting incident evidence. Keep frontend suppression scoped by structured browser and client signals, and use path-scoped capture policy for known 4xx routes.",
|
|
18149
18238
|
"",
|
|
18239
|
+
"## Probe Tools",
|
|
18240
|
+
"",
|
|
18241
|
+
"- `activate_probe` \u2014 activate a remote probe pattern with optional service/environment scope and TTL.",
|
|
18242
|
+
"- `list_active_probes` \u2014 list active probe activations for a project.",
|
|
18243
|
+
"- `deactivate_probe` \u2014 deactivate one active probe.",
|
|
18244
|
+
"",
|
|
18245
|
+
"Use probes for targeted evidence gathering when incident bundles do not contain enough runtime context.",
|
|
18246
|
+
"",
|
|
18247
|
+
"## Notification Tools",
|
|
18248
|
+
"",
|
|
18249
|
+
"- `list_alerts`, `create_alert`, `update_alert`, `delete_alert` \u2014 manage incident alert rules.",
|
|
18250
|
+
"- `list_webhooks`, `create_webhook`, `update_webhook`, `delete_webhook` \u2014 manage signed webhook destinations.",
|
|
18251
|
+
"- `test_webhook`, `list_webhook_deliveries` \u2014 validate webhook delivery and inspect delivery history.",
|
|
18252
|
+
"",
|
|
18253
|
+
"Use these tools when the reported problem is missing, duplicate, delayed, disabled, or failed notification delivery.",
|
|
18254
|
+
"",
|
|
18255
|
+
"## Availability Check Tools",
|
|
18256
|
+
"",
|
|
18257
|
+
"- `list_health_checks` \u2014 list hosted health checks and plan limits for a project.",
|
|
18258
|
+
"- `get_health_check` \u2014 fetch one hosted health check by id.",
|
|
18259
|
+
"- `test_health_check` \u2014 run a side-effect-free target test without opening incidents or writing retained history.",
|
|
18260
|
+
"- `create_health_check`, `update_health_check`, `delete_health_check` \u2014 manage saved hosted health checks when the user explicitly asks to change monitoring.",
|
|
18261
|
+
"- `list_health_check_results` \u2014 inspect recent raw executions for one check.",
|
|
18262
|
+
"- `list_health_check_daily_rollups` \u2014 inspect retained per-day status history for one check.",
|
|
18263
|
+
"",
|
|
18264
|
+
"Use these tools for endpoint downtime, public reachability, and project Health tab issues. Start with list/results/rollups, use `test_health_check` before saving target changes, and inspect the linked normal incident bundle when failures crossed the configured threshold.",
|
|
18265
|
+
"",
|
|
18266
|
+
"## Documentation URLs",
|
|
18267
|
+
"",
|
|
18268
|
+
"- MCP overview: `https://debugbundle.com/docs/mcp`",
|
|
18269
|
+
"- MCP workflows: `https://debugbundle.com/docs/mcp/workflows`",
|
|
18270
|
+
"- MCP tools: `https://debugbundle.com/docs/mcp/tools`",
|
|
18271
|
+
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
18272
|
+
"- Probes: `https://debugbundle.com/docs/probes`",
|
|
18273
|
+
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
18274
|
+
"- Alerts: `https://debugbundle.com/docs/alerts`",
|
|
18275
|
+
"- Webhooks: `https://debugbundle.com/docs/webhooks`",
|
|
18276
|
+
"- API ingestion: `https://debugbundle.com/docs/api/ingestion`",
|
|
18277
|
+
"",
|
|
18150
18278
|
"## Smoke-Test Cleanup Recipe",
|
|
18151
18279
|
"",
|
|
18152
18280
|
'1. Call `list_incidents` with `status: "open"`.',
|
|
@@ -18281,6 +18409,15 @@ function buildSkillEvals() {
|
|
|
18281
18409
|
"Use capture-policy path rules for known route-scoped 4xx incidents."
|
|
18282
18410
|
]
|
|
18283
18411
|
},
|
|
18412
|
+
{
|
|
18413
|
+
name: "operational_controls_guidance",
|
|
18414
|
+
prompt: "The user reports missing webhook deliveries and asks whether probes or alerts are available. Confirm the skill points the agent to the relevant operational controls and docs.",
|
|
18415
|
+
expected_behavior: [
|
|
18416
|
+
"Inspect alert and webhook configuration plus webhook delivery history before changing application code.",
|
|
18417
|
+
"Use probes for targeted evidence gathering with narrow scope and TTL.",
|
|
18418
|
+
"Point to the full CLI, MCP, alerts, webhooks, probes, capture policy, availability checks, and ingestion documentation URLs."
|
|
18419
|
+
]
|
|
18420
|
+
},
|
|
18284
18421
|
{
|
|
18285
18422
|
name: "artifact_path_discovery",
|
|
18286
18423
|
prompt: "The user reports an unknown local runtime error. Confirm the skill tells the agent which DebugBundle paths and commands to inspect first.",
|
|
@@ -30031,7 +30168,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
30031
30168
|
var package_default = {
|
|
30032
30169
|
name: "@debugbundle/mcp",
|
|
30033
30170
|
mcpName: "com.debugbundle/mcp",
|
|
30034
|
-
version: "1.5.
|
|
30171
|
+
version: "1.5.1",
|
|
30035
30172
|
private: false,
|
|
30036
30173
|
description: "Model Context Protocol server for DebugBundle",
|
|
30037
30174
|
license: "AGPL-3.0-only",
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"source": "github",
|
|
9
9
|
"subfolder": "apps/mcp"
|
|
10
10
|
},
|
|
11
|
-
"version": "1.5.
|
|
11
|
+
"version": "1.5.1",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
16
16
|
"identifier": "@debugbundle/mcp",
|
|
17
|
-
"version": "1.5.
|
|
17
|
+
"version": "1.5.1",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "stdio"
|
|
20
20
|
},
|