error-mom 0.7.1 → 0.7.2
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/README.md +2 -1
- package/dist/cli.js +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,12 +31,13 @@ Verify health and ingestion with the exact `error-mom doctor --project-key ...`
|
|
|
31
31
|
error-mom projects
|
|
32
32
|
error-mom issues
|
|
33
33
|
error-mom issues --project <project-id>
|
|
34
|
+
error-mom issues --status observed
|
|
34
35
|
error-mom inspect <issue-id>
|
|
35
36
|
error-mom inspect <issue-id> --samples 5
|
|
36
37
|
error-mom resolve <issue-id> --release 1.4.2
|
|
37
38
|
```
|
|
38
39
|
|
|
39
|
-
Resolved issues stay hidden by default. If the same issue returns in the fixed release or a newer release, Error Mom marks it as regressed.
|
|
40
|
+
Operational quota and transient failures plus low-volume tool failures begin in `observed` status and promote to `open` after three occurrences. The default unresolved list returns `open` and `regressed` issues; request `--status observed` to inspect low-volume noise. Resolved issues stay hidden by default. If the same issue returns in the fixed release or a newer release, Error Mom marks it as regressed.
|
|
40
41
|
|
|
41
42
|
Permanently deleting a project also deletes its issues, samples, ingest keys, and receipts:
|
|
42
43
|
|
package/dist/cli.js
CHANGED
|
@@ -63,7 +63,7 @@ async function findBuildFiles(dir) {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
// src/cli.ts
|
|
66
|
-
var VERSION = "0.7.
|
|
66
|
+
var VERSION = "0.7.2";
|
|
67
67
|
var CONFIG_DIR = join2(homedir(), ".error-mom");
|
|
68
68
|
var CONFIG_FILE = join2(CONFIG_DIR, "config.json");
|
|
69
69
|
function slugifyName(value) {
|
|
@@ -89,7 +89,11 @@ program.command("projects").description("List every project and unresolved issue
|
|
|
89
89
|
const config = await loadConfig();
|
|
90
90
|
print(await request(config.server, config.adminToken, "/api/v1/projects"));
|
|
91
91
|
});
|
|
92
|
-
program.command("issues").description("List compact issue summaries; unresolved issues are returned by default").option("--project <id>", "Filter by project ID").option(
|
|
92
|
+
program.command("issues").description("List compact issue summaries; unresolved issues are returned by default").option("--project <id>", "Filter by project ID").option(
|
|
93
|
+
"--status <status>",
|
|
94
|
+
"unresolved, observed, open, regressed, resolved, or all",
|
|
95
|
+
"unresolved"
|
|
96
|
+
).action(async (options) => {
|
|
93
97
|
const config = await loadConfig();
|
|
94
98
|
const query = new URLSearchParams({ status: options.status });
|
|
95
99
|
if (options.project) query.set("projectId", options.project);
|
|
@@ -281,7 +285,7 @@ async function runMcpServer() {
|
|
|
281
285
|
description: "List compact issues. Defaults to unresolved so fixed work does not consume context.",
|
|
282
286
|
inputSchema: {
|
|
283
287
|
projectId: z.string().optional(),
|
|
284
|
-
status: z.enum(["unresolved", "open", "regressed", "resolved", "all"]).default("unresolved")
|
|
288
|
+
status: z.enum(["unresolved", "observed", "open", "regressed", "resolved", "all"]).default("unresolved")
|
|
285
289
|
}
|
|
286
290
|
},
|
|
287
291
|
async ({ projectId, status }) => {
|