@debugbundle/cli 1.9.0 → 1.9.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 +49 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -66144,6 +66144,15 @@ function buildSkill() {
|
|
|
66144
66144
|
"- 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.",
|
|
66145
66145
|
"- 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>`.",
|
|
66146
66146
|
"",
|
|
66147
|
+
"### Browser resource failures",
|
|
66148
|
+
"",
|
|
66149
|
+
"- Inspect the primary failure and routes: one resource can span pages, route coverage may be incomplete, and historical incidents stay separate. Related tracker evidence does not explain an application exception.",
|
|
66150
|
+
'- If the cause is unknown, say "possibly blocked by privacy tools." Network/CSP/provider failures remain possible; provider recognition proves neither Pi-hole blocking nor optionality.',
|
|
66151
|
+
"- Review exact host/path, service, environment and opaque resource-error scope; never widen to a whole host. Google sign-in, app assets and unknown dependencies have no automatic resource noise recommendation.",
|
|
66152
|
+
"- For confirmed optional dependencies, context (demote) retains diagnostics without new incidents/alerts/automation and may remain billable. Drop discards future matches; choose it only when evidence has no diagnostic value. Explain the tradeoff; neither deletes history. Use the returned suggestion ID.",
|
|
66153
|
+
"- Check existing/disabled rules. Empty suggestions or pending/failed bundles do not justify broader rules. Applying requires user authorization and owner/admin access; preview is read-only. Verify subsequent matching and protected captures before claiming improvement; live tests need authorization.",
|
|
66154
|
+
"- The official OpenAI connection cannot suggest or apply rules. When it is the only connection, review returned evidence and hand off through a returned safe dashboard URL; never invent tools or switch credentials.",
|
|
66155
|
+
"",
|
|
66147
66156
|
"## Notification Delivery",
|
|
66148
66157
|
"",
|
|
66149
66158
|
"When notification or automation delivery is the reported failure, inspect configuration and delivery records before changing incident logic.",
|
|
@@ -66251,6 +66260,7 @@ function buildCliReference() {
|
|
|
66251
66260
|
"- `debugbundle capture-policy set [--project <id>] --client-error-path-rule <404=/path/*@GET,POST> [--json]`",
|
|
66252
66261
|
"",
|
|
66253
66262
|
"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.",
|
|
66263
|
+
"For browser resource failures, follow the skill's Browser resource failures guidance. Use the current response's suggestion ID, inspect `bundle_status`, `access_mode` and existing-rule state, and review the complete matcher before applying.",
|
|
66254
66264
|
"",
|
|
66255
66265
|
"## Probes",
|
|
66256
66266
|
"",
|
|
@@ -66399,6 +66409,7 @@ function buildMcpReference() {
|
|
|
66399
66409
|
"- `get_capture_policy`, `update_capture_policy` \u2014 review or update capture policy, including path-scoped client-error incident rules.",
|
|
66400
66410
|
"",
|
|
66401
66411
|
"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.",
|
|
66412
|
+
"For browser resource failures, follow the skill's Browser resource failures guidance and use the suggestion ID returned by the server. These management tools belong to the member-authenticated MCP surface; the official OpenAI connection is read-only and cannot suggest or apply capture rules.",
|
|
66402
66413
|
"",
|
|
66403
66414
|
"## Product Analytics Tools",
|
|
66404
66415
|
"",
|
|
@@ -66594,6 +66605,43 @@ function buildSkillEvals() {
|
|
|
66594
66605
|
"Use capture-policy path rules for known route-scoped 4xx incidents."
|
|
66595
66606
|
]
|
|
66596
66607
|
},
|
|
66608
|
+
{
|
|
66609
|
+
name: "browser_resource_noise_review",
|
|
66610
|
+
prompt: "GTM failed on four routes. The owner says analytics is optional and asks to keep useful diagnostics without repeated alerts. The suggestion response offers resource_context and resource_drop with exact host/path/service/environment matchers. Explain and apply the appropriate authorized choice.",
|
|
66611
|
+
expected_behavior: [
|
|
66612
|
+
"Inspect the primary failure and bounded route coverage; do not count each route as a separate application defect.",
|
|
66613
|
+
"Describe privacy blocking as possible, not proven; do not diagnose Pi-hole.",
|
|
66614
|
+
"Review the exact matcher and use the returned context suggestion ID; explain retained evidence and possible paid usage.",
|
|
66615
|
+
"Verify the returned rule without claiming historical incidents were removed or live noise reduction was already observed."
|
|
66616
|
+
]
|
|
66617
|
+
},
|
|
66618
|
+
{
|
|
66619
|
+
name: "protected_resource_noise_review",
|
|
66620
|
+
prompt: "A checkout TypeError has related GTM evidence. Separate incidents show Google sign-in and an unknown script failing. The user asks whether ignoring all Google or third-party hosts would clean this up.",
|
|
66621
|
+
expected_behavior: [
|
|
66622
|
+
"Keep the primary checkout exception separate from related tracker evidence.",
|
|
66623
|
+
"Do not broaden rules to whole hosts or infer that sign-in, app assets or unknown dependencies are optional.",
|
|
66624
|
+
"Inspect evidence and available suggestions before proposing any narrowly scoped change."
|
|
66625
|
+
]
|
|
66626
|
+
},
|
|
66627
|
+
{
|
|
66628
|
+
name: "unavailable_resource_noise_suggestions",
|
|
66629
|
+
prompt: "Resource suggestions are pending or empty, the current member has preview access, and a matching rule is disabled. The user asks why the resource still opens incidents.",
|
|
66630
|
+
expected_behavior: [
|
|
66631
|
+
"Explain the missing evidence and access limits without inventing a rule or bypassing authorization.",
|
|
66632
|
+
"Inspect the disabled rule; do not assume it is active, create a duplicate or silently enable it.",
|
|
66633
|
+
"Do not claim noise was reduced or resolve historical incidents based solely on a policy proposal."
|
|
66634
|
+
]
|
|
66635
|
+
},
|
|
66636
|
+
{
|
|
66637
|
+
name: "readonly_resource_noise_handoff",
|
|
66638
|
+
prompt: "Only the official read-only OpenAI connection is available. The user asks to ignore recurring tracker failures.",
|
|
66639
|
+
expected_behavior: [
|
|
66640
|
+
"Inspect only available incident evidence; distinguish possible privacy blocking from a proven cause.",
|
|
66641
|
+
"Explain that this connection cannot fetch capture-rule suggestions or apply rules; do not invent a management tool or switch credentials.",
|
|
66642
|
+
"Use a returned safe dashboard URL for a reviewed handoff when available, and never claim a rule was applied."
|
|
66643
|
+
]
|
|
66644
|
+
},
|
|
66597
66645
|
{
|
|
66598
66646
|
name: "operational_controls_guidance",
|
|
66599
66647
|
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.",
|
|
@@ -108182,7 +108230,7 @@ async function handleCaptureRuleCommand2(parsedArgv, dependencies) {
|
|
|
108182
108230
|
// package.json
|
|
108183
108231
|
var package_default = {
|
|
108184
108232
|
name: "@debugbundle/cli",
|
|
108185
|
-
version: "1.9.
|
|
108233
|
+
version: "1.9.1",
|
|
108186
108234
|
private: false,
|
|
108187
108235
|
description: "Command-line interface for DebugBundle",
|
|
108188
108236
|
license: "Apache-2.0",
|