@sechroom/cli 2026.7.23 → 2026.7.24
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/index.js +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6921,14 +6921,16 @@ function registerWorkBrief(program2) {
|
|
|
6921
6921
|
`
|
|
6922
6922
|
Examples:
|
|
6923
6923
|
$ sechroom work-brief pause mem_XXXX --reason-code operator-hold --source claude-code-chris
|
|
6924
|
-
$ sechroom work-brief resume mem_XXXX --reason-code operator-resume --source claude-code-chris --reason "Ready to continue"
|
|
6924
|
+
$ sechroom work-brief resume mem_XXXX --reason-code operator-resume --source claude-code-chris --reason "Ready to continue"
|
|
6925
|
+
$ sechroom work-brief cancel mem_XXXX --reason-code operator-stopped --source claude-code-chris --reason "Work no longer required"`
|
|
6925
6926
|
);
|
|
6926
6927
|
registerLifecycleAction(workBrief, "pause");
|
|
6927
6928
|
registerLifecycleAction(workBrief, "resume");
|
|
6929
|
+
registerLifecycleAction(workBrief, "cancel");
|
|
6928
6930
|
}
|
|
6929
6931
|
function registerLifecycleAction(workBrief, action) {
|
|
6930
|
-
const presentParticiple = action === "pause" ? "Pausing" : "Resuming";
|
|
6931
|
-
const pastTense = action === "pause" ? "paused" : "resumed";
|
|
6932
|
+
const presentParticiple = action === "pause" ? "Pausing" : action === "resume" ? "Resuming" : "Cancelling";
|
|
6933
|
+
const pastTense = action === "pause" ? "paused" : action === "resume" ? "resumed" : "cancelled";
|
|
6932
6934
|
workBrief.command(`${action} <briefId>`).description(`${capitalize(action)} an active work brief run`).requiredOption(
|
|
6933
6935
|
"--reason-code <code>",
|
|
6934
6936
|
"Stable machine-readable reason code"
|
package/package.json
CHANGED