@pi-unipi/command-enchantment 0.1.9 → 2.0.1
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/package.json +1 -1
- package/src/constants.ts +28 -14
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -32,6 +32,7 @@ export const PACKAGE_ORDER: string[] = [
|
|
|
32
32
|
"footer",
|
|
33
33
|
"updater",
|
|
34
34
|
"input-shortcuts",
|
|
35
|
+
"cocoindex",
|
|
35
36
|
];
|
|
36
37
|
|
|
37
38
|
// ─── Package Colors ──────────────────────────────────────────────────
|
|
@@ -52,10 +53,11 @@ export const PACKAGE_COLORS: Record<string, string> = {
|
|
|
52
53
|
footer: `${ESC}[34m`, // Blue
|
|
53
54
|
updater: `${ESC}[93m`, // Bright Yellow
|
|
54
55
|
"input-shortcuts": `${ESC}[95m`, // Bright Magenta
|
|
56
|
+
cocoindex: `${ESC}[97m`, // Bright White
|
|
55
57
|
};
|
|
56
58
|
|
|
57
59
|
// ─── Command Registry ────────────────────────────────────────────────
|
|
58
|
-
/** Mapping of full command name → package name (
|
|
60
|
+
/** Mapping of full command name → package name (80 verified commands) */
|
|
59
61
|
export const COMMAND_REGISTRY: Record<string, string> = {
|
|
60
62
|
// workflow (20 commands)
|
|
61
63
|
"unipi:brainstorm": "workflow",
|
|
@@ -79,8 +81,9 @@ export const COMMAND_REGISTRY: Record<string, string> = {
|
|
|
79
81
|
"unipi:chore-create": "workflow",
|
|
80
82
|
"unipi:chore-execute": "workflow",
|
|
81
83
|
|
|
82
|
-
// ralph (
|
|
84
|
+
// ralph (3 commands)
|
|
83
85
|
"unipi:ralph": "ralph",
|
|
86
|
+
"unipi:ralph-start": "ralph",
|
|
84
87
|
"unipi:ralph-stop": "ralph",
|
|
85
88
|
|
|
86
89
|
// memory (7 commands)
|
|
@@ -99,7 +102,7 @@ export const COMMAND_REGISTRY: Record<string, string> = {
|
|
|
99
102
|
"unipi:mcp-settings": "mcp",
|
|
100
103
|
"unipi:mcp-reload": "mcp",
|
|
101
104
|
|
|
102
|
-
// utility (
|
|
105
|
+
// utility (11 commands)
|
|
103
106
|
"unipi:continue": "utility",
|
|
104
107
|
"unipi:reload": "utility",
|
|
105
108
|
"unipi:status": "utility",
|
|
@@ -123,16 +126,21 @@ export const COMMAND_REGISTRY: Record<string, string> = {
|
|
|
123
126
|
"unipi:web-settings": "web-api",
|
|
124
127
|
"unipi:web-cache-clear": "web-api",
|
|
125
128
|
|
|
126
|
-
// compact (
|
|
129
|
+
// compact (7 commands)
|
|
130
|
+
"unipi:lossless-compact": "compact",
|
|
127
131
|
"unipi:compact": "compact",
|
|
128
132
|
"unipi:compact-recall": "compact",
|
|
129
133
|
"unipi:compact-stats": "compact",
|
|
130
134
|
"unipi:compact-doctor": "compact",
|
|
131
135
|
"unipi:compact-settings": "compact",
|
|
132
136
|
"unipi:compact-preset": "compact",
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"unipi:
|
|
137
|
+
|
|
138
|
+
// cocoindex (5 commands)
|
|
139
|
+
"unipi:cocoindex-update": "cocoindex",
|
|
140
|
+
"unipi:cocoindex-status": "cocoindex",
|
|
141
|
+
"unipi:cocoindex-init": "cocoindex",
|
|
142
|
+
"unipi:cocoindex-search": "cocoindex",
|
|
143
|
+
"unipi:cocoindex-settings": "cocoindex",
|
|
136
144
|
|
|
137
145
|
// milestone (2 commands)
|
|
138
146
|
"unipi:milestone-onboard": "milestone",
|
|
@@ -146,13 +154,14 @@ export const COMMAND_REGISTRY: Record<string, string> = {
|
|
|
146
154
|
"unipi:notify-test": "notify",
|
|
147
155
|
"unipi:notify-recap-model": "notify",
|
|
148
156
|
|
|
149
|
-
// kanboard (
|
|
157
|
+
// kanboard (2 commands)
|
|
150
158
|
"unipi:kanboard": "kanboard",
|
|
151
159
|
"unipi:kanboard-doctor": "kanboard",
|
|
152
160
|
|
|
153
|
-
// footer (
|
|
161
|
+
// footer (3 commands)
|
|
154
162
|
"unipi:footer": "footer",
|
|
155
163
|
"unipi:footer-settings": "footer",
|
|
164
|
+
"unipi:footer-help": "footer",
|
|
156
165
|
|
|
157
166
|
// updater (3 commands)
|
|
158
167
|
"unipi:readme": "updater",
|
|
@@ -187,7 +196,8 @@ export const COMMAND_DESCRIPTIONS: Record<string, string> = {
|
|
|
187
196
|
"unipi:chore-create": "Create reusable chore definition",
|
|
188
197
|
"unipi:chore-execute": "Execute a saved chore",
|
|
189
198
|
|
|
190
|
-
"unipi:ralph": "Ralph loop — start/resume
|
|
199
|
+
"unipi:ralph": "Ralph loop — start/resume/status commands",
|
|
200
|
+
"unipi:ralph-start": "Start a ralph loop for the current task",
|
|
191
201
|
"unipi:ralph-stop": "Stop the active ralph loop",
|
|
192
202
|
|
|
193
203
|
"unipi:memory-process": "Process and store conversation learnings",
|
|
@@ -226,15 +236,18 @@ export const COMMAND_DESCRIPTIONS: Record<string, string> = {
|
|
|
226
236
|
"unipi:web-settings": "Configure web search settings",
|
|
227
237
|
"unipi:web-cache-clear": "Clear web search cache",
|
|
228
238
|
|
|
229
|
-
"unipi:compact":
|
|
239
|
+
"unipi:lossless-compact": "Immediate zero-LLM compaction",
|
|
240
|
+
"unipi:compact": "(DEPRECATED) Use /unipi:lossless-compact instead",
|
|
230
241
|
"unipi:compact-recall": "Recall a compacted session",
|
|
231
242
|
"unipi:compact-stats": "Show compaction statistics",
|
|
232
243
|
"unipi:compact-doctor": "Diagnose compaction issues",
|
|
233
244
|
"unipi:compact-settings": "Configure compaction settings",
|
|
234
245
|
"unipi:compact-preset": "Manage compaction presets",
|
|
235
|
-
"unipi:
|
|
236
|
-
"unipi:
|
|
237
|
-
"unipi:
|
|
246
|
+
"unipi:cocoindex-update": "Run CocoIndex update to index project",
|
|
247
|
+
"unipi:cocoindex-status": "Show CocoIndex indexing status",
|
|
248
|
+
"unipi:cocoindex-init": "Initialize CocoIndex pipeline",
|
|
249
|
+
"unipi:cocoindex-search": "Search indexed codebase semantically",
|
|
250
|
+
"unipi:cocoindex-settings": "Show CocoIndex configuration",
|
|
238
251
|
|
|
239
252
|
"unipi:notify-settings": "Configure notification platforms and events",
|
|
240
253
|
"unipi:notify-set-gotify": "Set up Gotify push notifications",
|
|
@@ -248,6 +261,7 @@ export const COMMAND_DESCRIPTIONS: Record<string, string> = {
|
|
|
248
261
|
|
|
249
262
|
"unipi:footer": "Toggle footer or switch preset",
|
|
250
263
|
"unipi:footer-settings": "Open footer settings — toggle groups and segments",
|
|
264
|
+
"unipi:footer-help": "Show footer segment guide",
|
|
251
265
|
|
|
252
266
|
"unipi:readme": "Browse package README files",
|
|
253
267
|
"unipi:changelog": "Browse changelog (Keep a Changelog format)",
|