vibes-diy 14.3.329 → 14.3.331
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/cli/cmd-evento.d.ts +427 -424
- package/cli/cmds/app/status-cmd.d.ts +1 -0
- package/cli/cmds/app/status-cmd.js +9 -0
- package/cli/cmds/edit-cmd.js +7 -1
- package/cli/cmds/format-no-files-error.d.ts +5 -0
- package/cli/cmds/format-no-files-error.js +12 -2
- package/cli/cmds/moderation/index.d.ts +38 -0
- package/cli/cmds/moderation/index.js +22 -4
- package/cli/cmds/run/backend-worker/run-backend-entry.js +223 -36
- package/cli/cmds/run/bundle-inputs.json +2 -0
- package/cli/cmds/run/run-bundle.js +4565 -4370
- package/package.json +8 -8
|
@@ -25,6 +25,7 @@ export declare const ResAppStatusCli: import("arktype/internal/variants/object.t
|
|
|
25
25
|
graceMs: number;
|
|
26
26
|
overdueMs: number;
|
|
27
27
|
healed: boolean;
|
|
28
|
+
releaseIntervalMs: number | null;
|
|
28
29
|
}, {}>;
|
|
29
30
|
export type ResAppStatusCli = typeof ResAppStatusCli.infer;
|
|
30
31
|
export declare function isResAppStatusCli(obj: unknown): obj is ResAppStatusCli;
|
|
@@ -34,12 +34,20 @@ export const ResAppStatusCli = type({
|
|
|
34
34
|
graceMs: "number",
|
|
35
35
|
overdueMs: "number",
|
|
36
36
|
healed: "boolean",
|
|
37
|
+
releaseIntervalMs: "number|null",
|
|
37
38
|
});
|
|
38
39
|
export function isResAppStatusCli(obj) {
|
|
39
40
|
return ResAppStatusCli.allows(obj);
|
|
40
41
|
}
|
|
41
42
|
export function renderAppStatusLines(msg) {
|
|
42
43
|
const app = `${msg.ownerHandle}/${msg.appSlug}`;
|
|
44
|
+
if (msg.state === "unscheduled" && msg.releaseIntervalMs !== null) {
|
|
45
|
+
return [
|
|
46
|
+
`${app}: STALLED — the live release runs \`scheduled\` every ${humanizeDuration(msg.releaseIntervalMs)}, and no timer is armed for it.`,
|
|
47
|
+
` Start it again: npx vibes-diy app rearm ${app}`,
|
|
48
|
+
` (If you paused it with \`app schedule off\`, the same command resumes it.)`,
|
|
49
|
+
];
|
|
50
|
+
}
|
|
43
51
|
if (msg.state === "unscheduled") {
|
|
44
52
|
return [`${app}: no scheduled task (the live release exports no \`scheduled\` handler).`];
|
|
45
53
|
}
|
|
@@ -116,6 +124,7 @@ export const appStatusEvento = {
|
|
|
116
124
|
graceMs: s.graceMs,
|
|
117
125
|
overdueMs: s.overdueMs,
|
|
118
126
|
healed: s.healed,
|
|
127
|
+
releaseIntervalMs: s.releaseIntervalMs ?? null,
|
|
119
128
|
});
|
|
120
129
|
},
|
|
121
130
|
};
|
package/cli/cmds/edit-cmd.js
CHANGED
|
@@ -11,7 +11,7 @@ import { readProjectFiles, pushFromDir } from "./push-from-dir.js";
|
|
|
11
11
|
import { formatErr } from "./format-err.js";
|
|
12
12
|
import { mapCreditsWall } from "./credits-wall.js";
|
|
13
13
|
import { OpenChatSessionError, openChatSession, } from "@vibes.diy/api-impl";
|
|
14
|
-
import { formatNoFilesError } from "./format-no-files-error.js";
|
|
14
|
+
import { formatNoFilesError, noFilesCodeBlockCount } from "./format-no-files-error.js";
|
|
15
15
|
import { readDryRunPayloadFromStream, formatDryRunAsText } from "./dry-run.js";
|
|
16
16
|
import { materializeFile } from "./materialize-file.js";
|
|
17
17
|
import { isTextManifestItem, pullVersionToDir } from "./pull-cmd.js";
|
|
@@ -212,6 +212,8 @@ async function followEditTurn(ctx, args, o) {
|
|
|
212
212
|
const upstreamErrors = [];
|
|
213
213
|
let sectionEventCount = 0;
|
|
214
214
|
let blockCount = 0;
|
|
215
|
+
let codeBlockCount = 0;
|
|
216
|
+
let recoveryRan = false;
|
|
215
217
|
let streamedBytes = 0;
|
|
216
218
|
const restyleDescriptions = [];
|
|
217
219
|
const current = {};
|
|
@@ -234,6 +236,7 @@ async function followEditTurn(ctx, args, o) {
|
|
|
234
236
|
let announced = resolved.announcedPaths;
|
|
235
237
|
let recovered = resolved.recoveredNoMatches.length;
|
|
236
238
|
if (!resolved.turnEndSeen) {
|
|
239
|
+
recoveryRan = true;
|
|
237
240
|
const reason = resolved.promptErrors.length > 0 ? `: ${resolved.promptErrors.join("; ")}` : "";
|
|
238
241
|
await sendProgress(ctx, "warn", `Stream ended before the build completed${reason}. Trying to recover the full build...`);
|
|
239
242
|
const outcome = await resumeSectionStream({
|
|
@@ -304,6 +307,8 @@ async function followEditTurn(ctx, args, o) {
|
|
|
304
307
|
},
|
|
305
308
|
onBlock: (ev) => {
|
|
306
309
|
blockCount += 1;
|
|
310
|
+
if (ev.type === "block.code.begin")
|
|
311
|
+
codeBlockCount += 1;
|
|
307
312
|
if (ev.block !== undefined) {
|
|
308
313
|
sectionEventCount += 1;
|
|
309
314
|
streamedBytes += JSON.stringify(ev.block).length;
|
|
@@ -369,6 +374,7 @@ async function followEditTurn(ctx, args, o) {
|
|
|
369
374
|
return Result.Err(formatNoFilesError({
|
|
370
375
|
sectionEventCount,
|
|
371
376
|
blockCount,
|
|
377
|
+
codeBlockCount: noFilesCodeBlockCount({ counted: codeBlockCount, recoveryRan }),
|
|
372
378
|
streamedBytes,
|
|
373
379
|
upstreamErrors: upstreamErrors.map((message) => ({ message })),
|
|
374
380
|
applyErrors,
|
|
@@ -5,6 +5,7 @@ export interface UpstreamErrorBrief {
|
|
|
5
5
|
export interface NoFilesDiagnostics {
|
|
6
6
|
readonly sectionEventCount: number;
|
|
7
7
|
readonly blockCount: number;
|
|
8
|
+
readonly codeBlockCount?: number | "unknown";
|
|
8
9
|
readonly streamedBytes: number;
|
|
9
10
|
readonly upstreamErrors: readonly UpstreamErrorBrief[];
|
|
10
11
|
readonly applyErrors: readonly string[];
|
|
@@ -13,4 +14,8 @@ export interface NoFilesDiagnostics {
|
|
|
13
14
|
readonly pullVibe?: string;
|
|
14
15
|
}
|
|
15
16
|
export declare function pullHintLine(vibe: string): string;
|
|
17
|
+
export declare function noFilesCodeBlockCount(o: {
|
|
18
|
+
readonly counted: number;
|
|
19
|
+
readonly recoveryRan: boolean;
|
|
20
|
+
}): number | "unknown";
|
|
16
21
|
export declare function formatNoFilesError(diag: NoFilesDiagnostics): string;
|
|
@@ -2,15 +2,25 @@ const MAX_APPLY_ERRORS_SHOWN = 3;
|
|
|
2
2
|
export function pullHintLine(vibe) {
|
|
3
3
|
return ` The server-side edit may still have landed. Check with \`vibes-diy pull --vibe ${vibe}\` before re-running.`;
|
|
4
4
|
}
|
|
5
|
+
export function noFilesCodeBlockCount(o) {
|
|
6
|
+
return o.recoveryRan ? "unknown" : o.counted;
|
|
7
|
+
}
|
|
5
8
|
export function formatNoFilesError(diag) {
|
|
6
9
|
const headline = diag.upstreamErrors.length > 0
|
|
7
10
|
? `AI provider error: ${diag.upstreamErrors.map((e) => `${e.code ? `[${e.code}] ` : ""}${e.message}`).join("; ")}`
|
|
8
11
|
: diag.noChanges
|
|
9
|
-
?
|
|
12
|
+
? diag.codeBlockCount === 0
|
|
13
|
+
? "Edit turn produced no file changes: the build wrote no code, so there was no SEARCH/REPLACE or create block to apply."
|
|
14
|
+
: "Edit turn produced no file changes (model returned without emitting any successful SEARCH/REPLACE or create block)."
|
|
10
15
|
: "No files resolved from AI response.";
|
|
16
|
+
const codeCount = diag.codeBlockCount === undefined
|
|
17
|
+
? ""
|
|
18
|
+
: diag.codeBlockCount === "unknown"
|
|
19
|
+
? ", code blocks unknown after stream recovery"
|
|
20
|
+
: `, ${diag.codeBlockCount} code block${diag.codeBlockCount === 1 ? "" : "s"}`;
|
|
11
21
|
const lines = [headline];
|
|
12
22
|
lines.push(` - section events received: ${diag.sectionEventCount}` +
|
|
13
|
-
(diag.blockCount > 0 ? ` (${diag.blockCount} block${diag.blockCount === 1 ? "" : "s"})` : ""));
|
|
23
|
+
(diag.blockCount > 0 ? ` (${diag.blockCount} block${diag.blockCount === 1 ? "" : "s"}${codeCount})` : ""));
|
|
14
24
|
lines.push(` - response bytes streamed: ${diag.streamedBytes}`);
|
|
15
25
|
if (diag.agentAnswer !== undefined && diag.agentAnswer.trim() !== "") {
|
|
16
26
|
lines.push(` - ${diag.agentAnswer.trim()}`);
|
|
@@ -15,6 +15,8 @@ export declare const ReqModerationCli: import("arktype/internal/variants/object.
|
|
|
15
15
|
limit: string;
|
|
16
16
|
flagId?: string | undefined;
|
|
17
17
|
triage?: string | undefined;
|
|
18
|
+
summary?: boolean | undefined;
|
|
19
|
+
since?: string | undefined;
|
|
18
20
|
}, {}>;
|
|
19
21
|
export type ReqModerationCli = typeof ReqModerationCli.infer;
|
|
20
22
|
export declare function isReqModerationCli(obj: unknown): obj is ReqModerationCli;
|
|
@@ -44,6 +46,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
44
46
|
limit: string;
|
|
45
47
|
flag: string;
|
|
46
48
|
as: string;
|
|
49
|
+
summary: boolean;
|
|
50
|
+
since: string;
|
|
47
51
|
};
|
|
48
52
|
} | {
|
|
49
53
|
command: "pause-publishing";
|
|
@@ -59,6 +63,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
59
63
|
limit: string;
|
|
60
64
|
flag: string;
|
|
61
65
|
as: string;
|
|
66
|
+
summary: boolean;
|
|
67
|
+
since: string;
|
|
62
68
|
};
|
|
63
69
|
} | {
|
|
64
70
|
command: "reports";
|
|
@@ -74,6 +80,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
74
80
|
limit: string;
|
|
75
81
|
flag: string;
|
|
76
82
|
as: string;
|
|
83
|
+
summary: boolean;
|
|
84
|
+
since: string;
|
|
77
85
|
};
|
|
78
86
|
} | {
|
|
79
87
|
command: "resolve";
|
|
@@ -89,6 +97,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
89
97
|
limit: string;
|
|
90
98
|
flag: string;
|
|
91
99
|
as: string;
|
|
100
|
+
summary: boolean;
|
|
101
|
+
since: string;
|
|
92
102
|
};
|
|
93
103
|
} | {
|
|
94
104
|
command: "resume-publishing";
|
|
@@ -104,6 +114,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
104
114
|
limit: string;
|
|
105
115
|
flag: string;
|
|
106
116
|
as: string;
|
|
117
|
+
summary: boolean;
|
|
118
|
+
since: string;
|
|
107
119
|
};
|
|
108
120
|
} | {
|
|
109
121
|
command: "status";
|
|
@@ -119,6 +131,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
119
131
|
limit: string;
|
|
120
132
|
flag: string;
|
|
121
133
|
as: string;
|
|
134
|
+
summary: boolean;
|
|
135
|
+
since: string;
|
|
122
136
|
};
|
|
123
137
|
} | {
|
|
124
138
|
command: "suspend";
|
|
@@ -134,6 +148,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
134
148
|
limit: string;
|
|
135
149
|
flag: string;
|
|
136
150
|
as: string;
|
|
151
|
+
summary: boolean;
|
|
152
|
+
since: string;
|
|
137
153
|
};
|
|
138
154
|
} | {
|
|
139
155
|
command: "triage";
|
|
@@ -149,6 +165,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
149
165
|
limit: string;
|
|
150
166
|
flag: string;
|
|
151
167
|
as: string;
|
|
168
|
+
summary: boolean;
|
|
169
|
+
since: string;
|
|
152
170
|
};
|
|
153
171
|
} | {
|
|
154
172
|
command: "unsuspend";
|
|
@@ -164,6 +182,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
164
182
|
limit: string;
|
|
165
183
|
flag: string;
|
|
166
184
|
as: string;
|
|
185
|
+
summary: boolean;
|
|
186
|
+
since: string;
|
|
167
187
|
};
|
|
168
188
|
}>>;
|
|
169
189
|
} & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
@@ -180,6 +200,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
180
200
|
limit: string;
|
|
181
201
|
flag: string;
|
|
182
202
|
as: string;
|
|
203
|
+
summary: boolean;
|
|
204
|
+
since: string;
|
|
183
205
|
};
|
|
184
206
|
} | {
|
|
185
207
|
command: "pause-publishing";
|
|
@@ -195,6 +217,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
195
217
|
limit: string;
|
|
196
218
|
flag: string;
|
|
197
219
|
as: string;
|
|
220
|
+
summary: boolean;
|
|
221
|
+
since: string;
|
|
198
222
|
};
|
|
199
223
|
} | {
|
|
200
224
|
command: "reports";
|
|
@@ -210,6 +234,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
210
234
|
limit: string;
|
|
211
235
|
flag: string;
|
|
212
236
|
as: string;
|
|
237
|
+
summary: boolean;
|
|
238
|
+
since: string;
|
|
213
239
|
};
|
|
214
240
|
} | {
|
|
215
241
|
command: "resolve";
|
|
@@ -225,6 +251,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
225
251
|
limit: string;
|
|
226
252
|
flag: string;
|
|
227
253
|
as: string;
|
|
254
|
+
summary: boolean;
|
|
255
|
+
since: string;
|
|
228
256
|
};
|
|
229
257
|
} | {
|
|
230
258
|
command: "resume-publishing";
|
|
@@ -240,6 +268,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
240
268
|
limit: string;
|
|
241
269
|
flag: string;
|
|
242
270
|
as: string;
|
|
271
|
+
summary: boolean;
|
|
272
|
+
since: string;
|
|
243
273
|
};
|
|
244
274
|
} | {
|
|
245
275
|
command: "status";
|
|
@@ -255,6 +285,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
255
285
|
limit: string;
|
|
256
286
|
flag: string;
|
|
257
287
|
as: string;
|
|
288
|
+
summary: boolean;
|
|
289
|
+
since: string;
|
|
258
290
|
};
|
|
259
291
|
} | {
|
|
260
292
|
command: "suspend";
|
|
@@ -270,6 +302,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
270
302
|
limit: string;
|
|
271
303
|
flag: string;
|
|
272
304
|
as: string;
|
|
305
|
+
summary: boolean;
|
|
306
|
+
since: string;
|
|
273
307
|
};
|
|
274
308
|
} | {
|
|
275
309
|
command: "triage";
|
|
@@ -285,6 +319,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
285
319
|
limit: string;
|
|
286
320
|
flag: string;
|
|
287
321
|
as: string;
|
|
322
|
+
summary: boolean;
|
|
323
|
+
since: string;
|
|
288
324
|
};
|
|
289
325
|
} | {
|
|
290
326
|
command: "unsuspend";
|
|
@@ -300,6 +336,8 @@ export declare function moderationSubcommands(ctx: CliCtx): Partial<import("cmd-
|
|
|
300
336
|
limit: string;
|
|
301
337
|
flag: string;
|
|
302
338
|
as: string;
|
|
339
|
+
summary: boolean;
|
|
340
|
+
since: string;
|
|
303
341
|
};
|
|
304
342
|
}, {
|
|
305
343
|
command: "flags";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { command, option, string, subcommands } from "cmd-ts";
|
|
1
|
+
import { command, flag, option, string, subcommands } from "cmd-ts";
|
|
2
2
|
import { Result, Option } from "@adviser/cement";
|
|
3
3
|
import { type } from "arktype";
|
|
4
4
|
import { isResModerationAdmin, } from "@vibes.diy/api-types";
|
|
@@ -18,6 +18,8 @@ export const ReqModerationCli = type({
|
|
|
18
18
|
limit: "string",
|
|
19
19
|
"flagId?": "string",
|
|
20
20
|
"triage?": "string",
|
|
21
|
+
"summary?": "boolean",
|
|
22
|
+
"since?": "string",
|
|
21
23
|
});
|
|
22
24
|
export function isReqModerationCli(obj) {
|
|
23
25
|
return ReqModerationCli.allows(obj);
|
|
@@ -30,7 +32,7 @@ export const ResModerationCli = type({
|
|
|
30
32
|
export function isResModerationCli(obj) {
|
|
31
33
|
return ResModerationCli.allows(obj);
|
|
32
34
|
}
|
|
33
|
-
const FLAG_STATUSES = ["open", "false_alarm", "escalated", "resolved", "all"];
|
|
35
|
+
const FLAG_STATUSES = ["open", "false_alarm", "escalated", "resolved", "allowed", "error", "all"];
|
|
34
36
|
const FLAG_TRIAGES = ["false_alarm", "escalated", "resolved"];
|
|
35
37
|
export function moderationArgsProblem(args) {
|
|
36
38
|
const writes = args.op !== "list-reports" && args.op !== "status" && args.op !== "list-flags";
|
|
@@ -47,7 +49,9 @@ export function moderationArgsProblem(args) {
|
|
|
47
49
|
return "--as is false_alarm, escalated or resolved";
|
|
48
50
|
if (args.op === "list-flags") {
|
|
49
51
|
if (args.status !== "" && !FLAG_STATUSES.includes(args.status))
|
|
50
|
-
return "--status is open, false_alarm, escalated, resolved or all";
|
|
52
|
+
return "--status is open, false_alarm, escalated, resolved, allowed, error or all";
|
|
53
|
+
if ((args.since ?? "") !== "" && Number.isNaN(Date.parse(args.since ?? "")))
|
|
54
|
+
return "--since is an ISO 8601 time";
|
|
51
55
|
}
|
|
52
56
|
else if (args.status !== "" && !["open", "resolved", "all"].includes(args.status))
|
|
53
57
|
return "--status is open, resolved or all";
|
|
@@ -67,6 +71,8 @@ export function toModerationAdminReq(args) {
|
|
|
67
71
|
...(args.op === "list-flags" && args.status !== ""
|
|
68
72
|
? { flagStatus: args.status }
|
|
69
73
|
: {}),
|
|
74
|
+
...(args.summary === true ? { summary: true } : {}),
|
|
75
|
+
...(args.since === undefined || args.since === "" ? {} : { since: args.since }),
|
|
70
76
|
...(args.flagId === undefined || args.flagId === "" ? {} : { flagId: args.flagId }),
|
|
71
77
|
...(args.triage === undefined || args.triage === "" ? {} : { triage: args.triage }),
|
|
72
78
|
...(args.limit === "" ? {} : { limit: Math.min(500, Number(args.limit)) }),
|
|
@@ -121,6 +127,11 @@ export function renderModerationLines(msg) {
|
|
|
121
127
|
}
|
|
122
128
|
if (r.flag !== undefined)
|
|
123
129
|
lines.push(`Flag ${r.flag.flagId} is ${r.flag.status}.`);
|
|
130
|
+
if (r.flagSummary !== undefined) {
|
|
131
|
+
lines.push(`Decisions since ${r.flagSummary.since}: ${r.flagSummary.total}`);
|
|
132
|
+
for (const row of r.flagSummary.rows)
|
|
133
|
+
lines.push(` ${String(row.n).padStart(6)} ${row.status} ${row.category} ${row.inputKind}`);
|
|
134
|
+
}
|
|
124
135
|
return lines;
|
|
125
136
|
}
|
|
126
137
|
export const moderationEvento = {
|
|
@@ -163,6 +174,11 @@ function opCmd(ctx, name, description, op, extra = {}) {
|
|
|
163
174
|
limit: textOpt("limit", "How many reports to list, newest first (default 50, up to 500)"),
|
|
164
175
|
flag: textOpt("flag", "Auto flag id (triage)"),
|
|
165
176
|
as: textOpt("as", "Triage verdict: false_alarm, escalated or resolved"),
|
|
177
|
+
summary: flag({
|
|
178
|
+
long: "summary",
|
|
179
|
+
description: "Auto flags: count every decision by status, category and kind instead of listing",
|
|
180
|
+
}),
|
|
181
|
+
since: textOpt("since", "Auto flags --summary: window start, ISO 8601 (default the last 24 hours)"),
|
|
166
182
|
},
|
|
167
183
|
handler: ctx.cliStream.enqueue((args) => {
|
|
168
184
|
return {
|
|
@@ -177,6 +193,8 @@ function opCmd(ctx, name, description, op, extra = {}) {
|
|
|
177
193
|
limit: args.limit,
|
|
178
194
|
flagId: args.flag,
|
|
179
195
|
triage: args.as,
|
|
196
|
+
...(args.summary ? { summary: true } : {}),
|
|
197
|
+
...(args.since === "" ? {} : { since: args.since }),
|
|
180
198
|
...extra,
|
|
181
199
|
};
|
|
182
200
|
}),
|
|
@@ -198,7 +216,7 @@ export function moderationSubcommands(ctx) {
|
|
|
198
216
|
paused: false,
|
|
199
217
|
}),
|
|
200
218
|
status: opCmd(ctx, "status", "The publishing switch, active suspensions and the open report count", "status"),
|
|
201
|
-
flags: opCmd(ctx, "flags", "List the prompt and code checker's flags, newest first (open by default)", "list-flags"),
|
|
219
|
+
flags: opCmd(ctx, "flags", "List the prompt and code checker's flags, newest first (open by default; --status allowed or error for records, --summary for counts)", "list-flags"),
|
|
202
220
|
triage: opCmd(ctx, "triage", "Triage an auto flag: --flag <id> --as false_alarm|escalated|resolved --reason <note>", "triage-flag"),
|
|
203
221
|
},
|
|
204
222
|
});
|