@fission-ai/openspec 0.9.2 → 0.10.0
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/core/init.js +9 -1
- package/package.json +1 -1
package/dist/core/init.js
CHANGED
|
@@ -137,6 +137,14 @@ const toolSelectionWizard = createPrompt((config, done) => {
|
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
139
|
if (isEnterKey(key)) {
|
|
140
|
+
const current = config.choices[cursor];
|
|
141
|
+
if (current &&
|
|
142
|
+
current.selectable &&
|
|
143
|
+
!selectedSet.has(current.value)) {
|
|
144
|
+
const next = new Set(selected);
|
|
145
|
+
next.add(current.value);
|
|
146
|
+
updateSelected(next);
|
|
147
|
+
}
|
|
140
148
|
setStep('review');
|
|
141
149
|
setError(null);
|
|
142
150
|
return;
|
|
@@ -195,7 +203,7 @@ const toolSelectionWizard = createPrompt((config, done) => {
|
|
|
195
203
|
}
|
|
196
204
|
else if (step === 'select') {
|
|
197
205
|
lines.push(PALETTE.white(config.baseMessage));
|
|
198
|
-
lines.push(PALETTE.midGray('Use ↑/↓ to move · Space to toggle · Enter
|
|
206
|
+
lines.push(PALETTE.midGray('Use ↑/↓ to move · Space to toggle · Enter selects highlighted tool and reviews.'));
|
|
199
207
|
lines.push('');
|
|
200
208
|
lines.push(page);
|
|
201
209
|
lines.push('');
|