clideck 1.30.2 → 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.
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.2",
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>",