oh-my-claude-sisyphus 3.8.14 → 3.8.16
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +9 -11
- package/bridge/mcp-server.cjs +180 -180
- package/commands/autopilot.md +2 -6
- package/commands/hud.md +7 -2
- package/commands/ralph.md +3 -3
- package/commands/ultrapilot.md +2 -6
- package/dist/__tests__/delegation-enforcement-levels.test.js +0 -1
- package/dist/__tests__/delegation-enforcement-levels.test.js.map +1 -1
- package/dist/__tests__/hooks/learner/parser.test.d.ts +5 -0
- package/dist/__tests__/hooks/learner/parser.test.d.ts.map +1 -0
- package/dist/__tests__/hooks/learner/parser.test.js +201 -0
- package/dist/__tests__/hooks/learner/parser.test.js.map +1 -0
- package/dist/__tests__/hud/cwd.test.d.ts +2 -0
- package/dist/__tests__/hud/cwd.test.d.ts.map +1 -0
- package/dist/__tests__/hud/cwd.test.js +62 -0
- package/dist/__tests__/hud/cwd.test.js.map +1 -0
- package/dist/__tests__/hud/defaults.test.d.ts +2 -0
- package/dist/__tests__/hud/defaults.test.d.ts.map +1 -0
- package/dist/__tests__/hud/defaults.test.js +21 -0
- package/dist/__tests__/hud/defaults.test.js.map +1 -0
- package/dist/__tests__/hud/render.test.d.ts +2 -0
- package/dist/__tests__/hud/render.test.d.ts.map +1 -0
- package/dist/__tests__/hud/render.test.js +141 -0
- package/dist/__tests__/hud/render.test.js.map +1 -0
- package/dist/__tests__/hud/thinking.test.d.ts +2 -0
- package/dist/__tests__/hud/thinking.test.d.ts.map +1 -0
- package/dist/__tests__/hud/thinking.test.js +32 -0
- package/dist/__tests__/hud/thinking.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/parser.test.js +1 -1
- package/dist/__tests__/mnemosyne/parser.test.js.map +1 -1
- package/dist/features/continuation-enforcement.js +1 -1
- package/dist/features/state-manager/index.d.ts.map +1 -1
- package/dist/features/state-manager/index.js +7 -4
- package/dist/features/state-manager/index.js.map +1 -1
- package/dist/features/verification/example.d.ts.map +1 -1
- package/dist/features/verification/example.js +4 -2
- package/dist/features/verification/example.js.map +1 -1
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +4 -24
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learner/parser.d.ts.map +1 -1
- package/dist/hooks/learner/parser.js +12 -5
- package/dist/hooks/learner/parser.js.map +1 -1
- package/dist/hooks/mode-registry/index.d.ts +2 -0
- package/dist/hooks/mode-registry/index.d.ts.map +1 -1
- package/dist/hooks/mode-registry/index.js +8 -19
- package/dist/hooks/mode-registry/index.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts +1 -1
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +5 -33
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/ralph/index.d.ts +1 -1
- package/dist/hooks/ralph/index.d.ts.map +1 -1
- package/dist/hooks/ralph/index.js +1 -1
- package/dist/hooks/ralph/index.js.map +1 -1
- package/dist/hooks/ralph/loop.d.ts +1 -9
- package/dist/hooks/ralph/loop.d.ts.map +1 -1
- package/dist/hooks/ralph/loop.js +1 -37
- package/dist/hooks/ralph/loop.js.map +1 -1
- package/dist/hooks/ralph/prd.js +1 -1
- package/dist/hooks/ralph/verifier.d.ts +4 -5
- package/dist/hooks/ralph/verifier.d.ts.map +1 -1
- package/dist/hooks/ralph/verifier.js +7 -10
- package/dist/hooks/ralph/verifier.js.map +1 -1
- package/dist/hooks/session-end/index.d.ts +13 -0
- package/dist/hooks/session-end/index.d.ts.map +1 -1
- package/dist/hooks/session-end/index.js +69 -0
- package/dist/hooks/session-end/index.js.map +1 -1
- package/dist/hooks/ultrawork/index.d.ts +2 -2
- package/dist/hooks/ultrawork/index.d.ts.map +1 -1
- package/dist/hooks/ultrawork/index.js +2 -46
- package/dist/hooks/ultrawork/index.js.map +1 -1
- package/dist/hud/elements/cwd.d.ts +15 -0
- package/dist/hud/elements/cwd.d.ts.map +1 -0
- package/dist/hud/elements/cwd.js +39 -0
- package/dist/hud/elements/cwd.js.map +1 -0
- package/dist/hud/elements/index.d.ts +1 -0
- package/dist/hud/elements/index.d.ts.map +1 -1
- package/dist/hud/elements/index.js +1 -0
- package/dist/hud/elements/index.js.map +1 -1
- package/dist/hud/elements/thinking.d.ts +7 -5
- package/dist/hud/elements/thinking.d.ts.map +1 -1
- package/dist/hud/elements/thinking.js +18 -6
- package/dist/hud/elements/thinking.js.map +1 -1
- package/dist/hud/index.js +5 -3
- package/dist/hud/index.js.map +1 -1
- package/dist/hud/omc-state.d.ts +1 -1
- package/dist/hud/omc-state.d.ts.map +1 -1
- package/dist/hud/omc-state.js +14 -31
- package/dist/hud/omc-state.js.map +1 -1
- package/dist/hud/render.d.ts +9 -0
- package/dist/hud/render.d.ts.map +1 -1
- package/dist/hud/render.js +27 -7
- package/dist/hud/render.js.map +1 -1
- package/dist/hud/state.d.ts +2 -2
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +4 -33
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/transcript.d.ts +4 -1
- package/dist/hud/transcript.d.ts.map +1 -1
- package/dist/hud/transcript.js +4 -9
- package/dist/hud/transcript.js.map +1 -1
- package/dist/hud/types.d.ts +20 -1
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js +38 -9
- package/dist/hud/types.js.map +1 -1
- package/dist/installer/hooks.d.ts +1 -1
- package/dist/installer/hooks.d.ts.map +1 -1
- package/dist/installer/hooks.js +1 -1
- package/docs/AGENTS.md +100 -0
- package/docs/ARCHITECTURE.md +11 -7
- package/docs/CLAUDE.md +1 -3
- package/docs/DELEGATION-ENFORCER.md +1 -2
- package/docs/MIGRATION.md +1 -1
- package/docs/REFERENCE.md +29 -9
- package/docs/SYNC-SYSTEM.md +0 -2
- package/package.json +1 -1
- package/scripts/persistent-mode.mjs +88 -61
- package/scripts/test-mutual-exclusion.ts +3 -3
- package/skills/AGENTS.md +59 -44
- package/skills/autopilot/SKILL.md +0 -2
- package/skills/cancel/SKILL.md +13 -32
- package/skills/ecomode/SKILL.md +0 -1
- package/skills/hud/SKILL.md +3 -2
- package/skills/ralph/SKILL.md +9 -19
- package/skills/ultrawork/SKILL.md +0 -1
- package/templates/hooks/persistent-mode.mjs +78 -40
- package/agents/AGENTS.md +0 -144
- package/dist/hooks/clear-suggestions/constants.d.ts +0 -54
- package/dist/hooks/clear-suggestions/constants.d.ts.map +0 -1
- package/dist/hooks/clear-suggestions/constants.js +0 -102
- package/dist/hooks/clear-suggestions/constants.js.map +0 -1
- package/dist/hooks/clear-suggestions/index.d.ts +0 -61
- package/dist/hooks/clear-suggestions/index.d.ts.map +0 -1
- package/dist/hooks/clear-suggestions/index.js +0 -282
- package/dist/hooks/clear-suggestions/index.js.map +0 -1
- package/dist/hooks/clear-suggestions/triggers.d.ts +0 -65
- package/dist/hooks/clear-suggestions/triggers.d.ts.map +0 -1
- package/dist/hooks/clear-suggestions/triggers.js +0 -222
- package/dist/hooks/clear-suggestions/triggers.js.map +0 -1
- package/dist/hooks/clear-suggestions/types.d.ts +0 -92
- package/dist/hooks/clear-suggestions/types.d.ts.map +0 -1
- package/dist/hooks/clear-suggestions/types.js +0 -9
- package/dist/hooks/clear-suggestions/types.js.map +0 -1
package/dist/hud/types.js
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
export const DEFAULT_HUD_CONFIG = {
|
|
7
7
|
preset: 'focused',
|
|
8
8
|
elements: {
|
|
9
|
+
cwd: false, // Disabled by default for backward compatibility
|
|
10
|
+
cwdFormat: 'relative',
|
|
9
11
|
omcLabel: true,
|
|
10
12
|
rateLimits: true, // Show rate limits by default
|
|
11
13
|
ralph: true,
|
|
@@ -21,10 +23,12 @@ export const DEFAULT_HUD_CONFIG = {
|
|
|
21
23
|
lastSkill: true,
|
|
22
24
|
permissionStatus: false, // Disabled: heuristic-based, causes false positives
|
|
23
25
|
thinking: true,
|
|
26
|
+
thinkingFormat: 'text', // Text format for backward compatibility
|
|
24
27
|
sessionHealth: true,
|
|
25
28
|
useBars: false, // Disabled by default for backwards compatibility
|
|
26
29
|
showCache: true,
|
|
27
30
|
showCost: true,
|
|
31
|
+
maxOutputLines: 4,
|
|
28
32
|
},
|
|
29
33
|
thresholds: {
|
|
30
34
|
contextWarning: 70,
|
|
@@ -32,9 +36,12 @@ export const DEFAULT_HUD_CONFIG = {
|
|
|
32
36
|
contextCritical: 85,
|
|
33
37
|
ralphWarning: 7,
|
|
34
38
|
},
|
|
39
|
+
staleTaskThresholdMinutes: 30,
|
|
35
40
|
};
|
|
36
41
|
export const PRESET_CONFIGS = {
|
|
37
42
|
minimal: {
|
|
43
|
+
cwd: false,
|
|
44
|
+
cwdFormat: 'folder',
|
|
38
45
|
omcLabel: true,
|
|
39
46
|
rateLimits: true,
|
|
40
47
|
ralph: true,
|
|
@@ -44,18 +51,22 @@ export const PRESET_CONFIGS = {
|
|
|
44
51
|
lastSkill: true,
|
|
45
52
|
contextBar: false,
|
|
46
53
|
agents: true,
|
|
47
|
-
agentsFormat: 'count',
|
|
54
|
+
agentsFormat: 'count',
|
|
48
55
|
agentsMaxLines: 0,
|
|
49
56
|
backgroundTasks: false,
|
|
50
57
|
todos: true,
|
|
51
58
|
permissionStatus: false,
|
|
52
59
|
thinking: false,
|
|
60
|
+
thinkingFormat: 'text',
|
|
53
61
|
sessionHealth: false,
|
|
54
62
|
useBars: false,
|
|
55
63
|
showCache: false,
|
|
56
64
|
showCost: false,
|
|
65
|
+
maxOutputLines: 2,
|
|
57
66
|
},
|
|
58
67
|
analytics: {
|
|
68
|
+
cwd: false,
|
|
69
|
+
cwdFormat: 'folder',
|
|
59
70
|
omcLabel: false,
|
|
60
71
|
rateLimits: false,
|
|
61
72
|
ralph: false,
|
|
@@ -71,12 +82,16 @@ export const PRESET_CONFIGS = {
|
|
|
71
82
|
todos: true,
|
|
72
83
|
permissionStatus: false,
|
|
73
84
|
thinking: false,
|
|
85
|
+
thinkingFormat: 'text',
|
|
74
86
|
sessionHealth: false,
|
|
75
87
|
useBars: false,
|
|
76
88
|
showCache: true,
|
|
77
89
|
showCost: true,
|
|
90
|
+
maxOutputLines: 4,
|
|
78
91
|
},
|
|
79
92
|
focused: {
|
|
93
|
+
cwd: false,
|
|
94
|
+
cwdFormat: 'relative',
|
|
80
95
|
omcLabel: true,
|
|
81
96
|
rateLimits: true,
|
|
82
97
|
ralph: true,
|
|
@@ -86,18 +101,22 @@ export const PRESET_CONFIGS = {
|
|
|
86
101
|
lastSkill: true,
|
|
87
102
|
contextBar: true,
|
|
88
103
|
agents: true,
|
|
89
|
-
agentsFormat: 'multiline',
|
|
90
|
-
agentsMaxLines: 3,
|
|
104
|
+
agentsFormat: 'multiline',
|
|
105
|
+
agentsMaxLines: 3,
|
|
91
106
|
backgroundTasks: true,
|
|
92
107
|
todos: true,
|
|
93
|
-
permissionStatus: false,
|
|
108
|
+
permissionStatus: false,
|
|
94
109
|
thinking: true,
|
|
110
|
+
thinkingFormat: 'text',
|
|
95
111
|
sessionHealth: true,
|
|
96
112
|
useBars: true,
|
|
97
113
|
showCache: true,
|
|
98
114
|
showCost: true,
|
|
115
|
+
maxOutputLines: 4,
|
|
99
116
|
},
|
|
100
117
|
full: {
|
|
118
|
+
cwd: false,
|
|
119
|
+
cwdFormat: 'relative',
|
|
101
120
|
omcLabel: true,
|
|
102
121
|
rateLimits: true,
|
|
103
122
|
ralph: true,
|
|
@@ -107,18 +126,22 @@ export const PRESET_CONFIGS = {
|
|
|
107
126
|
lastSkill: true,
|
|
108
127
|
contextBar: true,
|
|
109
128
|
agents: true,
|
|
110
|
-
agentsFormat: 'multiline',
|
|
111
|
-
agentsMaxLines: 10,
|
|
129
|
+
agentsFormat: 'multiline',
|
|
130
|
+
agentsMaxLines: 10,
|
|
112
131
|
backgroundTasks: true,
|
|
113
132
|
todos: true,
|
|
114
|
-
permissionStatus: false,
|
|
133
|
+
permissionStatus: false,
|
|
115
134
|
thinking: true,
|
|
135
|
+
thinkingFormat: 'text',
|
|
116
136
|
sessionHealth: true,
|
|
117
137
|
useBars: true,
|
|
118
138
|
showCache: true,
|
|
119
139
|
showCost: true,
|
|
140
|
+
maxOutputLines: 12,
|
|
120
141
|
},
|
|
121
142
|
opencode: {
|
|
143
|
+
cwd: false,
|
|
144
|
+
cwdFormat: 'relative',
|
|
122
145
|
omcLabel: true,
|
|
123
146
|
rateLimits: false,
|
|
124
147
|
ralph: true,
|
|
@@ -132,14 +155,18 @@ export const PRESET_CONFIGS = {
|
|
|
132
155
|
agentsMaxLines: 0,
|
|
133
156
|
backgroundTasks: false,
|
|
134
157
|
todos: true,
|
|
135
|
-
permissionStatus: false,
|
|
158
|
+
permissionStatus: false,
|
|
136
159
|
thinking: true,
|
|
160
|
+
thinkingFormat: 'text',
|
|
137
161
|
sessionHealth: true,
|
|
138
162
|
useBars: false,
|
|
139
163
|
showCache: true,
|
|
140
164
|
showCost: true,
|
|
165
|
+
maxOutputLines: 4,
|
|
141
166
|
},
|
|
142
167
|
dense: {
|
|
168
|
+
cwd: false,
|
|
169
|
+
cwdFormat: 'relative',
|
|
143
170
|
omcLabel: true,
|
|
144
171
|
rateLimits: true,
|
|
145
172
|
ralph: true,
|
|
@@ -153,12 +180,14 @@ export const PRESET_CONFIGS = {
|
|
|
153
180
|
agentsMaxLines: 5,
|
|
154
181
|
backgroundTasks: true,
|
|
155
182
|
todos: true,
|
|
156
|
-
permissionStatus: false,
|
|
183
|
+
permissionStatus: false,
|
|
157
184
|
thinking: true,
|
|
185
|
+
thinkingFormat: 'text',
|
|
158
186
|
sessionHealth: true,
|
|
159
187
|
useBars: true,
|
|
160
188
|
showCache: true,
|
|
161
189
|
showCost: true,
|
|
190
|
+
maxOutputLines: 6,
|
|
162
191
|
},
|
|
163
192
|
};
|
|
164
193
|
//# sourceMappingURL=types.js.map
|
package/dist/hud/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/hud/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/hud/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgSH,MAAM,CAAC,MAAM,kBAAkB,GAAc;IAC3C,MAAM,EAAE,SAAS;IACjB,QAAQ,EAAE;QACR,GAAG,EAAE,KAAK,EAAgB,iDAAiD;QAC3E,SAAS,EAAE,UAAU;QACrB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,IAAI,EAAG,8BAA8B;QACjD,KAAK,EAAE,IAAI;QACX,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,IAAI;QAClB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,WAAW,EAAE,0CAA0C;QACrE,cAAc,EAAE,CAAC,EAAE,kCAAkC;QACrD,eAAe,EAAE,IAAI;QACrB,KAAK,EAAE,IAAI;QACX,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,KAAK,EAAG,oDAAoD;QAC9E,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,MAAM,EAAI,yCAAyC;QACnE,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,KAAK,EAAG,kDAAkD;QACnE,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,CAAC;KAClB;IACD,UAAU,EAAE;QACV,cAAc,EAAE,EAAE;QAClB,wBAAwB,EAAE,EAAE;QAC5B,eAAe,EAAE,EAAE;QACnB,YAAY,EAAE,CAAC;KAChB;IACD,yBAAyB,EAAE,EAAE;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA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AE,KAAK;QACf,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,OAAO;QACrB,cAAc,EAAE,CAAC;QACjB,eAAe,EAAE,KAAK;QACtB,KAAK,EAAE,IAAI;QACX,gBAAgB,EAAE,KAAK;QACvB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,CAAC;KAClB;IACD,KAAK,EAAE;QACL,GAAG,EAAE,KAAK;QACV,SAAS,EAAE,UAAU;QACrB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,IAAI;QAChB,KAAK,EAAE,IAAI;QACX,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,CAAC;QACjB,eAAe,EAAE,IAAI;QACrB,KAAK,EAAE,IAAI;QACX,gBAAgB,EAAE,KAAK;QACvB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,CAAC;KAClB;CACF,CAAC"}
|
|
@@ -55,7 +55,7 @@ export declare const TODO_CONTINUATION_PROMPT = "[SYSTEM REMINDER - TODO CONTINU
|
|
|
55
55
|
* Ralph mode message - injected when ralph keyword detected
|
|
56
56
|
* Auto-activates ultrawork for parallel execution
|
|
57
57
|
*/
|
|
58
|
-
export declare const RALPH_MESSAGE = "[RALPH + ULTRAWORK MODE ACTIVATED]\n\nRalph mode auto-activates Ultrawork for maximum parallel execution. Follow these rules:\n\n### Parallel Execution\n- **PARALLEL**: Fire independent calls simultaneously - NEVER wait sequentially\n- **BACKGROUND FIRST**: Use Task(run_in_background=true) for long operations\n- **DELEGATE**: Route tasks to specialist agents immediately\n\n### Completion Requirements\n- Verify ALL requirements from the original task are met\n- When FULLY complete,
|
|
58
|
+
export declare const RALPH_MESSAGE = "[RALPH + ULTRAWORK MODE ACTIVATED]\n\nRalph mode auto-activates Ultrawork for maximum parallel execution. Follow these rules:\n\n### Parallel Execution\n- **PARALLEL**: Fire independent calls simultaneously - NEVER wait sequentially\n- **BACKGROUND FIRST**: Use Task(run_in_background=true) for long operations\n- **DELEGATE**: Route tasks to specialist agents immediately\n\n### Completion Requirements\n- Verify ALL requirements from the original task are met\n- Architect verification is MANDATORY before claiming completion\n- When FULLY complete, run `/oh-my-claudecode:cancel` to cleanly exit and clean up state files\n\nContinue working until the task is truly done.\n";
|
|
59
59
|
/** Node.js keyword detector hook script - loaded from templates/hooks/keyword-detector.mjs */
|
|
60
60
|
export declare const KEYWORD_DETECTOR_SCRIPT_NODE: string;
|
|
61
61
|
/** Node.js stop continuation hook script - loaded from templates/hooks/stop-continuation.mjs */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/installer/hooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAyCH,iDAAiD;AACjD,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,kCAAkC;AAClC,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C;AAED,4DAA4D;AAC5D,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED,mCAAmC;AACnC,wBAAgB,WAAW,IAAI,MAAM,CAEpC;AAED;;;GAGG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,0oJA2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E3E,mFAAmF;AACnF,eAAO,MAAM,yBAAyB,QAAoC,CAAC;AAM3E;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEtC,CAAC;AAEF;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,0BAA0B,CAE1E;AAMD;;;GAGG;AACH,wBAAgB,cAAc,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CASvD"}
|
package/dist/installer/hooks.js
CHANGED
|
@@ -249,8 +249,8 @@ Ralph mode auto-activates Ultrawork for maximum parallel execution. Follow these
|
|
|
249
249
|
|
|
250
250
|
### Completion Requirements
|
|
251
251
|
- Verify ALL requirements from the original task are met
|
|
252
|
-
- When FULLY complete, output: <promise>TASK_COMPLETE</promise>
|
|
253
252
|
- Architect verification is MANDATORY before claiming completion
|
|
253
|
+
- When FULLY complete, run \`/oh-my-claudecode:cancel\` to cleanly exit and clean up state files
|
|
254
254
|
|
|
255
255
|
Continue working until the task is truly done.
|
|
256
256
|
`;
|
package/docs/AGENTS.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<!-- Parent: ../AGENTS.md -->
|
|
2
|
+
<!-- Generated: 2026-01-31 | Updated: 2026-01-31 -->
|
|
3
|
+
|
|
4
|
+
# docs
|
|
5
|
+
|
|
6
|
+
User documentation and technical guides for oh-my-claudecode.
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
This directory contains documentation for end-users and developers:
|
|
11
|
+
|
|
12
|
+
- **End-user guides**: How to use oh-my-claudecode features
|
|
13
|
+
- **Technical reference**: Architecture, compatibility, migration
|
|
14
|
+
- **Design documents**: Feature design specifications
|
|
15
|
+
|
|
16
|
+
## Key Files
|
|
17
|
+
|
|
18
|
+
| File | Description |
|
|
19
|
+
|------|-------------|
|
|
20
|
+
| `CLAUDE.md` | End-user orchestration instructions (installed to user projects) |
|
|
21
|
+
| `FEATURES.md` | Developer API reference for internal features |
|
|
22
|
+
| `REFERENCE.md` | API reference and configuration options |
|
|
23
|
+
| `ARCHITECTURE.md` | System architecture overview |
|
|
24
|
+
| `MIGRATION.md` | Version migration guides |
|
|
25
|
+
| `COMPATIBILITY.md` | Compatibility matrix and requirements |
|
|
26
|
+
| `TIERED_AGENTS_V2.md` | Model routing and tiered agent design |
|
|
27
|
+
| `DELEGATION-ENFORCER.md` | Delegation protocol documentation |
|
|
28
|
+
| `SYNC-SYSTEM.md` | State synchronization system |
|
|
29
|
+
| `ANALYTICS-SYSTEM.md` | Analytics collection documentation |
|
|
30
|
+
| `LOCAL_PLUGIN_INSTALL.md` | Plugin installation guide |
|
|
31
|
+
|
|
32
|
+
## Subdirectories
|
|
33
|
+
|
|
34
|
+
| Directory | Purpose |
|
|
35
|
+
|-----------|---------|
|
|
36
|
+
| `design/` | Feature design specifications |
|
|
37
|
+
|
|
38
|
+
## For AI Agents
|
|
39
|
+
|
|
40
|
+
### Working In This Directory
|
|
41
|
+
|
|
42
|
+
1. **End-User Focus**: CLAUDE.md is installed to user projects - write for end-users, not developers
|
|
43
|
+
2. **Keep Links Accessible**: Use raw GitHub URLs for links in CLAUDE.md (agents can't navigate GitHub UI)
|
|
44
|
+
3. **Version Consistency**: Update version numbers across all docs when releasing
|
|
45
|
+
|
|
46
|
+
### When to Update Each File
|
|
47
|
+
|
|
48
|
+
| Trigger | File to Update |
|
|
49
|
+
|---------|---------------|
|
|
50
|
+
| Agent count or list changes | `REFERENCE.md` (Agents section) |
|
|
51
|
+
| Skill count or list changes | `REFERENCE.md` (Skills section) |
|
|
52
|
+
| Hook count or list changes | `REFERENCE.md` (Hooks System section) |
|
|
53
|
+
| Magic keywords change | `REFERENCE.md` (Magic Keywords section) |
|
|
54
|
+
| Agent tool assignments change | `CLAUDE.md` (Agent Tool Matrix) |
|
|
55
|
+
| Skill composition or architecture changes | `ARCHITECTURE.md` |
|
|
56
|
+
| New internal API or feature | `FEATURES.md` |
|
|
57
|
+
| Breaking changes or migrations | `MIGRATION.md` |
|
|
58
|
+
| Tiered agent design updates | `TIERED_AGENTS_V2.md` |
|
|
59
|
+
| Platform or version support changes | `COMPATIBILITY.md` |
|
|
60
|
+
| End-user instructions change | `CLAUDE.md` |
|
|
61
|
+
| Major user-facing features | `../README.md` |
|
|
62
|
+
|
|
63
|
+
### Testing Requirements
|
|
64
|
+
|
|
65
|
+
- Verify markdown renders correctly
|
|
66
|
+
- Check all internal links resolve
|
|
67
|
+
- Validate code examples in documentation
|
|
68
|
+
|
|
69
|
+
### Common Patterns
|
|
70
|
+
|
|
71
|
+
#### Linking to Raw Content
|
|
72
|
+
|
|
73
|
+
Use raw GitHub URLs for external accessibility:
|
|
74
|
+
|
|
75
|
+
[Migration Guide](https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/main/docs/MIGRATION.md)
|
|
76
|
+
|
|
77
|
+
#### Version References
|
|
78
|
+
|
|
79
|
+
Use consistent version heading format with blank line after heading:
|
|
80
|
+
|
|
81
|
+
```markdown
|
|
82
|
+
## v3.8.16 Changes
|
|
83
|
+
|
|
84
|
+
- Feature A
|
|
85
|
+
- Feature B
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Dependencies
|
|
89
|
+
|
|
90
|
+
### Internal
|
|
91
|
+
|
|
92
|
+
- References agents from `agents/`
|
|
93
|
+
- References skills from `skills/`
|
|
94
|
+
- References tools from `src/tools/`
|
|
95
|
+
|
|
96
|
+
### External
|
|
97
|
+
|
|
98
|
+
None - pure markdown files.
|
|
99
|
+
|
|
100
|
+
<!-- MANUAL: -->
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -62,7 +62,7 @@ Skills: ultrawork + default + git-master
|
|
|
62
62
|
| MEDIUM | Sonnet | Standard implementations |
|
|
63
63
|
| HIGH | Opus | Complex reasoning, architecture |
|
|
64
64
|
|
|
65
|
-
See [
|
|
65
|
+
See [REFERENCE.md](./REFERENCE.md) for the complete agent roster.
|
|
66
66
|
|
|
67
67
|
### Delegation
|
|
68
68
|
|
|
@@ -118,13 +118,16 @@ Legacy locations are auto-migrated on read.
|
|
|
118
118
|
|
|
119
119
|
## Hooks
|
|
120
120
|
|
|
121
|
-
oh-my-claudecode
|
|
121
|
+
oh-my-claudecode includes 31 hooks in `src/hooks/` for lifecycle events:
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
| Event | Purpose |
|
|
124
|
+
|-------|---------|
|
|
125
|
+
| `UserPromptSubmit` | Keyword detection, mode activation |
|
|
126
|
+
| `Stop` | Continuation enforcement, session end |
|
|
127
|
+
| `PreToolUse` | Permission validation |
|
|
128
|
+
| `PostToolUse` | Error recovery, rules injection |
|
|
126
129
|
|
|
127
|
-
|
|
130
|
+
See [REFERENCE.md](./REFERENCE.md) for the complete hooks list.
|
|
128
131
|
|
|
129
132
|
## Verification Protocol
|
|
130
133
|
|
|
@@ -143,6 +146,7 @@ Evidence must be fresh (within 5 minutes) and include actual command output.
|
|
|
143
146
|
|
|
144
147
|
## For More Details
|
|
145
148
|
|
|
146
|
-
- **
|
|
149
|
+
- **Complete Reference**: See [REFERENCE.md](./REFERENCE.md)
|
|
150
|
+
- **Internal API**: See [FEATURES.md](./FEATURES.md)
|
|
147
151
|
- **User Guide**: See [README.md](../README.md)
|
|
148
152
|
- **Skills Reference**: See CLAUDE.md in your project
|
package/docs/CLAUDE.md
CHANGED
|
@@ -366,8 +366,6 @@ Always use `oh-my-claudecode:` prefix when calling via Task tool.
|
|
|
366
366
|
|
|
367
367
|
### MCP Tools & Agent Capabilities
|
|
368
368
|
|
|
369
|
-
*Source of truth: `src/agents/definitions.ts`*
|
|
370
|
-
|
|
371
369
|
#### Tool Inventory
|
|
372
370
|
|
|
373
371
|
| Tool | Category | Purpose | Assigned to Agents? |
|
|
@@ -717,4 +715,4 @@ Say "setup omc" or run `/oh-my-claudecode:omc-setup` to configure. After that, e
|
|
|
717
715
|
|
|
718
716
|
## Migration
|
|
719
717
|
|
|
720
|
-
For migration guides from earlier versions, see [
|
|
718
|
+
For migration guides from earlier versions, see the [Migration Guide](https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/main/docs/MIGRATION.md).
|
|
@@ -277,6 +277,5 @@ No migration needed! The enforcer is backward compatible:
|
|
|
277
277
|
|
|
278
278
|
## Related
|
|
279
279
|
|
|
280
|
-
- [Model Routing](./MODEL-ROUTING.md) - Intelligent task complexity analysis
|
|
281
280
|
- [Agent Definitions](./AGENTS.md) - Complete agent reference
|
|
282
|
-
- [
|
|
281
|
+
- [Features Reference](./FEATURES.md) - Model routing and delegation categories
|
package/docs/MIGRATION.md
CHANGED
|
@@ -7,7 +7,7 @@ This guide covers all migration paths for oh-my-claudecode. Find your current ve
|
|
|
7
7
|
## Table of Contents
|
|
8
8
|
|
|
9
9
|
- [v3.5.3 → v3.5.5: Test Fixes & Cleanup](#v353--v355-test-fixes--cleanup)
|
|
10
|
-
- [v3.5.2 → v3.5.3: Skill Consolidation](#
|
|
10
|
+
- [v3.5.2 → v3.5.3: Skill Consolidation](#v352--v353-skill-consolidation)
|
|
11
11
|
- [v2.x → v3.0: Package Rename & Auto-Activation](#v2x--v30-package-rename--auto-activation)
|
|
12
12
|
- [v3.0 → v3.1: Notepad Wisdom & Enhanced Features](#v30--v31-notepad-wisdom--enhanced-features)
|
|
13
13
|
- [v3.x → v4.0: Major Architecture Overhaul](#v3x--v40-major-architecture-overhaul)
|
package/docs/REFERENCE.md
CHANGED
|
@@ -227,6 +227,9 @@ Always use `oh-my-claudecode:` prefix when calling via Task tool.
|
|
|
227
227
|
| `git-master` | Git expert for atomic commits and history | (silent activation) |
|
|
228
228
|
| `tdd` | TDD enforcement: test-first development | `/oh-my-claudecode:tdd` |
|
|
229
229
|
| `learner` | Extract reusable skill from session | `/oh-my-claudecode:learner` |
|
|
230
|
+
| `build-fix` | Fix build and TypeScript errors | `/oh-my-claudecode:build-fix` |
|
|
231
|
+
| `code-review` | Comprehensive code review | `/oh-my-claudecode:code-review` |
|
|
232
|
+
| `security-review` | Security vulnerability detection | `/oh-my-claudecode:security-review` |
|
|
230
233
|
|
|
231
234
|
### Utility Skills
|
|
232
235
|
|
|
@@ -286,7 +289,20 @@ All skills are available as slash commands with the prefix `/oh-my-claudecode:`.
|
|
|
286
289
|
|
|
287
290
|
## Hooks System
|
|
288
291
|
|
|
289
|
-
Oh-my-claudecode includes
|
|
292
|
+
Oh-my-claudecode includes 31 lifecycle hooks that enhance Claude Code's behavior.
|
|
293
|
+
|
|
294
|
+
### Execution Mode Hooks
|
|
295
|
+
|
|
296
|
+
| Hook | Description |
|
|
297
|
+
|------|-------------|
|
|
298
|
+
| `autopilot` | Full autonomous execution from idea to working code |
|
|
299
|
+
| `ultrawork` | Maximum parallel agent execution |
|
|
300
|
+
| `ralph` | Persistence until verified complete |
|
|
301
|
+
| `ultrapilot` | Parallel autopilot with file ownership |
|
|
302
|
+
| `ultraqa` | QA cycling until goal met |
|
|
303
|
+
| `swarm` | Coordinated multi-agent with SQLite task claiming |
|
|
304
|
+
| `mode-registry` | Tracks active execution mode (incl. ecomode) |
|
|
305
|
+
| `persistent-mode` | Maintains mode state across sessions |
|
|
290
306
|
|
|
291
307
|
### Core Hooks
|
|
292
308
|
|
|
@@ -295,18 +311,18 @@ Oh-my-claudecode includes 19 lifecycle hooks that enhance Claude Code's behavior
|
|
|
295
311
|
| `rules-injector` | Dynamic rules injection with YAML frontmatter parsing |
|
|
296
312
|
| `omc-orchestrator` | Enforces orchestrator behavior and delegation |
|
|
297
313
|
| `auto-slash-command` | Automatic slash command detection and execution |
|
|
298
|
-
| `keyword-detector` | Magic keyword detection (ultrawork,
|
|
299
|
-
| `ralph-loop` | Self-referential development loop management |
|
|
314
|
+
| `keyword-detector` | Magic keyword detection (ultrawork, ralph, etc.) |
|
|
300
315
|
| `todo-continuation` | Ensures todo list completion |
|
|
301
|
-
| `notepad` | Compaction-resilient memory system
|
|
316
|
+
| `notepad` | Compaction-resilient memory system |
|
|
317
|
+
| `learner` | Skill extraction from conversations |
|
|
302
318
|
|
|
303
319
|
### Context & Recovery
|
|
304
320
|
|
|
305
321
|
| Hook | Description |
|
|
306
322
|
|------|-------------|
|
|
307
|
-
| `
|
|
323
|
+
| `recovery` | Edit error, session, and context window recovery |
|
|
308
324
|
| `preemptive-compaction` | Context usage monitoring to prevent limits |
|
|
309
|
-
| `
|
|
325
|
+
| `pre-compact` | Pre-compaction processing |
|
|
310
326
|
| `directory-readme-injector` | README context injection |
|
|
311
327
|
|
|
312
328
|
### Quality & Validation
|
|
@@ -316,16 +332,20 @@ Oh-my-claudecode includes 19 lifecycle hooks that enhance Claude Code's behavior
|
|
|
316
332
|
| `comment-checker` | BDD detection and directive filtering |
|
|
317
333
|
| `thinking-block-validator` | Extended thinking validation |
|
|
318
334
|
| `empty-message-sanitizer` | Empty message handling |
|
|
319
|
-
| `
|
|
320
|
-
| `
|
|
335
|
+
| `permission-handler` | Permission requests and validation |
|
|
336
|
+
| `think-mode` | Extended thinking detection |
|
|
321
337
|
|
|
322
|
-
###
|
|
338
|
+
### Coordination & Environment
|
|
323
339
|
|
|
324
340
|
| Hook | Description |
|
|
325
341
|
|------|-------------|
|
|
342
|
+
| `subagent-tracker` | Tracks spawned sub-agents |
|
|
343
|
+
| `session-end` | Session termination handling |
|
|
326
344
|
| `non-interactive-env` | CI/non-interactive environment handling |
|
|
327
345
|
| `agent-usage-reminder` | Reminder to use specialized agents |
|
|
328
346
|
| `background-notification` | Background task completion notifications |
|
|
347
|
+
| `plugin-patterns` | Plugin pattern detection |
|
|
348
|
+
| `setup` | Initial setup and configuration |
|
|
329
349
|
|
|
330
350
|
---
|
|
331
351
|
|
package/docs/SYNC-SYSTEM.md
CHANGED