clideck 1.30.1 → 1.30.3

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.
@@ -28,12 +28,12 @@
28
28
  "presetId": "codex",
29
29
  "name": "Codex",
30
30
  "icon": "/img/codex.png",
31
- "command": "codex --no-alt-screen",
31
+ "command": "codex",
32
32
  "minVersion": "0.118.0",
33
33
  "installCmd": "npm install -g @openai/codex",
34
34
  "isAgent": true,
35
35
  "canResume": true,
36
- "resumeCommand": "codex resume {{sessionId}} --no-alt-screen",
36
+ "resumeCommand": "codex resume {{sessionId}}",
37
37
  "sessionIdPattern": "Session:\\s+([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})",
38
38
  "outputMarker": "\u2022",
39
39
  "telemetryConfigPath": "~/.codex/config.toml",
package/config.js CHANGED
@@ -129,10 +129,13 @@ function migrate(cfg) {
129
129
  if (cmd.telemetryStatus === undefined) cmd.telemetryStatus = null;
130
130
  // Sync bridge config from preset
131
131
  if (preset?.bridge) cmd.bridge = preset.bridge;
132
- // Codex: add --no-alt-screen to avoid blank screen in embedded xterm
132
+ // Codex: keep shipped default commands aligned with the current preset.
133
+ // Only rewrite the known default strings so custom Codex commands stay intact.
133
134
  if (preset?.presetId === 'codex') {
134
- if (cmd.command === 'codex') cmd.command = preset.command;
135
- if (cmd.resumeCommand === 'codex resume {{sessionId}}') cmd.resumeCommand = preset.resumeCommand;
135
+ if (cmd.command === 'codex' || cmd.command === 'codex --no-alt-screen') cmd.command = preset.command;
136
+ if (cmd.resumeCommand === 'codex resume {{sessionId}}' || cmd.resumeCommand === 'codex resume {{sessionId}} --no-alt-screen') {
137
+ cmd.resumeCommand = preset.resumeCommand;
138
+ }
136
139
  }
137
140
  }
138
141
  // Auto-add any shipped presets not yet in the commands list
package/handlers.js CHANGED
@@ -509,7 +509,7 @@ function onConnection(ws) {
509
509
  }
510
510
 
511
511
  case 'remote.getHistory': {
512
- ws.send(JSON.stringify({ type: 'remote.history', id: msg.id, turns: transcript.getLastTurns(msg.id, 20) }));
512
+ ws.send(JSON.stringify({ type: 'remote.history', id: msg.id, turns: transcript.getTurns(msg.id, 20, 'end') }));
513
513
  break;
514
514
  }
515
515
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clideck",
3
- "version": "1.30.1",
3
+ "version": "1.30.3",
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": {
package/plugin-loader.js CHANGED
@@ -234,7 +234,7 @@ function buildApi(pluginId, pluginDir, state) {
234
234
 
235
235
  getRoles() { return JSON.parse(JSON.stringify(getConfigFn?.()?.roles || [])); },
236
236
  getProjects() { return JSON.parse(JSON.stringify(getConfigFn?.()?.projects || [])); },
237
- getTranscript(id, n) { return transcript.getLastTurns(id, n || 20); },
237
+ getTranscript(id, n, order) { return transcript.getTurns(id, n || 20, order || 'end'); },
238
238
  detectMenu(lines, presetId) { return transcript.detectMenu(lines, presetId); },
239
239
 
240
240
  addToolbarAction(opts) { state.actions.push({ ...opts, pluginId, slot: 'toolbar' }); },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "autopilot",
3
3
  "name": "Autopilot",
4
- "version": "0.16.0",
4
+ "version": "0.20.0",
5
5
  "author": "CliDeck",
6
6
  "description": "Multi-agent orchestration — routes output between agents automatically. Uses ~50 output tokens per routing decision.",
7
7
  "icon": "<svg class=\"w-4 h-4\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 6v6l4 2\"/></svg>",