@openagents-org/agent-launcher 0.2.1 → 0.2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tui.js +14 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-launcher",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/tui.js CHANGED
@@ -183,6 +183,13 @@ function createTUI() {
183
183
  fullUnicode: true,
184
184
  tags: true,
185
185
  });
186
+
187
+ // Full-screen background to ensure dark bg on all terminal themes
188
+ const bgFill = blessed.box({
189
+ top: 0, left: 0, width: '100%', height: '100%',
190
+ style: { bg: 'black' },
191
+ });
192
+ screen.append(bgFill);
186
193
  const connector = getConnector();
187
194
  let pkg;
188
195
  try { pkg = require('../package.json'); } catch { pkg = { version: '?' }; }
@@ -202,7 +209,7 @@ function createTUI() {
202
209
  top: 1, left: 0, width: '100%', height: 1,
203
210
  tags: true,
204
211
  content: ` {bold}OpenAgents{/bold} {gray-fg}v${pkg.version}{/gray-fg}`,
205
- style: { fg: 'white' },
212
+ style: { fg: 'white', bg: 'black' },
206
213
  });
207
214
 
208
215
  // ── Agent Panel (bordered) ──
@@ -211,7 +218,7 @@ function createTUI() {
211
218
  border: { type: 'line' },
212
219
  label: ' {bold}Agents{/bold} ',
213
220
  tags: true,
214
- style: { border: { fg: COLORS.panelBorder }, label: { fg: COLORS.accent } },
221
+ style: { bg: 'black', border: { fg: COLORS.panelBorder }, label: { fg: COLORS.accent } },
215
222
  });
216
223
 
217
224
  // ── Column Headers ──
@@ -230,18 +237,19 @@ function createTUI() {
230
237
  keys: true, vi: true, mouse: true,
231
238
  tags: true,
232
239
  style: {
240
+ bg: 'black',
233
241
  selected: { bg: COLORS.selected.bg, fg: COLORS.selected.fg, bold: true },
234
- item: { fg: 'white' },
242
+ item: { fg: 'white', bg: 'black' },
235
243
  },
236
244
  });
237
245
 
238
246
  // ── Log Panel (bordered) ──
239
247
  const logPanel = blessed.box({
240
- top: '60%+1', left: 0, width: '100%', height: '40%-3',
248
+ top: '60%+1', left: 0, width: '100%', height: '40%-2',
241
249
  border: { type: 'line' },
242
250
  label: ' {bold}Activity Log{/bold} ',
243
251
  tags: true,
244
- style: { border: { fg: COLORS.logBorder }, label: { fg: COLORS.primary } },
252
+ style: { bg: 'black', border: { fg: COLORS.logBorder }, label: { fg: COLORS.primary } },
245
253
  });
246
254
 
247
255
  const logContent = blessed.log({
@@ -249,7 +257,7 @@ function createTUI() {
249
257
  top: 0, left: 0, width: '100%-2', height: '100%-2',
250
258
  scrollable: true, scrollOnInput: true,
251
259
  tags: true,
252
- style: { fg: 'white' },
260
+ style: { fg: 'white', bg: 'black' },
253
261
  });
254
262
 
255
263
  // ── Footer (clickable buttons) ──