@nt-ai-lab/opencode-skillz 0.3.3 → 0.3.4
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.
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { buildCommandName } from "../../plugin-registry/command-names.js";
|
|
2
2
|
export const DONT_STOP_COMMAND_NAME = buildCommandName("dont-stop");
|
|
3
3
|
export const CLEAR_DONT_STOP_COMMAND_NAME = buildCommandName("clear-dont-stop");
|
|
4
|
+
const DONT_STOP_TEMPLATE = "dont-stop enabled";
|
|
5
|
+
const CLEAR_DONT_STOP_TEMPLATE = "dont-stop cleared";
|
|
4
6
|
export function registerDontStopCommands(commandConfig) {
|
|
5
7
|
if (!commandConfig[DONT_STOP_COMMAND_NAME]) {
|
|
6
8
|
commandConfig[DONT_STOP_COMMAND_NAME] = {
|
|
7
9
|
description: "Activate idle continuation for this session",
|
|
8
|
-
template:
|
|
10
|
+
template: DONT_STOP_TEMPLATE,
|
|
9
11
|
};
|
|
10
12
|
}
|
|
11
13
|
if (!commandConfig[CLEAR_DONT_STOP_COMMAND_NAME]) {
|
|
12
14
|
commandConfig[CLEAR_DONT_STOP_COMMAND_NAME] = {
|
|
13
15
|
description: "Disable idle continuation for this session",
|
|
14
|
-
template:
|
|
16
|
+
template: CLEAR_DONT_STOP_TEMPLATE,
|
|
15
17
|
};
|
|
16
18
|
}
|
|
17
19
|
}
|
package/package.json
CHANGED
package/commands/dont-stop.md
DELETED