@kpnpm/homie 0.1.1 → 0.1.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/commands/homie.toml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
description = "Switch homie personality level (off/yo/dawg/mafa)"
|
|
2
|
-
prompt = "Switch
|
|
2
|
+
prompt = "Switch homie voice level: {{args}} (yo casual / dawg blunt, rare mild swearing / mafa very informal, natural profanity / off normal). No level: report the current one, or start at yo if off. Chat voice only — technical answers, code, and commands never change."
|
package/hooks/homie-activate.js
CHANGED
|
@@ -16,14 +16,16 @@ const {
|
|
|
16
16
|
isCodex,
|
|
17
17
|
isCopilot,
|
|
18
18
|
getClaudeDir,
|
|
19
|
-
statePath,
|
|
20
19
|
} = require('./homie-runtime');
|
|
21
20
|
|
|
22
21
|
const level = getDefaultLevel();
|
|
23
22
|
|
|
24
|
-
// "off" default —
|
|
23
|
+
// "off" default — persist off like any level: a stale flag from a previous
|
|
24
|
+
// session would otherwise keep the statusline badge showing the old level
|
|
25
|
+
// while this session is normal. Stay silent: emitting a notice every session
|
|
26
|
+
// is context noise for a plugin that is off.
|
|
25
27
|
if (level === 'off') {
|
|
26
|
-
try {
|
|
28
|
+
try { setLevel('off'); } catch (e) {}
|
|
27
29
|
process.exit(0);
|
|
28
30
|
}
|
|
29
31
|
|