clideck 1.31.18 → 1.31.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clideck",
3
- "version": "1.31.18",
3
+ "version": "1.31.19",
4
4
  "description": "One screen for all your AI coding agents — run, monitor, and manage multiple CLI agents from a single browser tab",
5
5
  "main": "server.js",
6
6
  "bin": {
@@ -104,7 +104,15 @@ function sortedPresets() {
104
104
  const commands = (state.cfg.commands || [])
105
105
  .filter(c => c.enabled !== false)
106
106
  .map(c => ({ type: 'command', command: c, preset: presetForCommand(c) || { name: c.label, icon: c.icon || 'terminal', isAgent: !!c.isAgent } }));
107
- const shell = commands.filter(item => !item.command.isAgent);
107
+ const seenShell = new Set();
108
+ const shell = commands.filter(item => {
109
+ if (item.command.isAgent) return false;
110
+ const isBuiltinShell = item.command.presetId === 'shell' || item.preset?.presetId === 'shell';
111
+ if (!isBuiltinShell) return true;
112
+ if (seenShell.has('shell')) return false;
113
+ seenShell.add('shell');
114
+ return true;
115
+ });
108
116
  const agents = [...missing, ...commands.filter(item => item.command.isAgent)];
109
117
  const lastId = localStorage.getItem(MRU_KEY);
110
118
  if (lastId) {