offgrid-ai 0.15.5 → 0.15.6

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": "offgrid-ai",
3
- "version": "0.15.5",
3
+ "version": "0.15.6",
4
4
  "description": "Privacy-first CLI for running local LLMs — discover, configure, run, benchmark",
5
5
  "author": "Eeshan Srivastava (https://eeshans.com)",
6
6
  "type": "module",
@@ -82,10 +82,17 @@ export async function modelCommandCenter(initialCatalog) {
82
82
  }
83
83
 
84
84
  const groups = [];
85
+ const backendColors = {
86
+ "mlx-vlm": pc.yellow,
87
+ "llama-cpp": pc.cyan,
88
+ "llama-cpp-mtp": pc.blue,
89
+ omlx: pc.magenta,
90
+ };
85
91
  for (const { backendId, sourceId, items } of byBackend.values()) {
86
92
  const backendLabel = backendFor(backendId)?.label ?? backendId;
87
93
  const sourceLabel = formatSourceLabel(sourceId);
88
- const sep = `Inference: ${backendLabel} via Download Source: ${sourceLabel} (${items.length})`;
94
+ const color = backendColors[backendId] ?? pc.dim;
95
+ const sep = `Inference: ${pc.bold(color(backendLabel))} ${pc.dim("|")} Source: ${sourceLabel} (${items.length})`;
89
96
  const groupItems = items.map((item) => {
90
97
  const opt = modelSelectOption(item, { runningProfilesNow, modelMissingIds, nameWidth, compact: true });
91
98
  return { value: opt.value, label: opt.label, description: opt.description };
@@ -98,7 +105,7 @@ export async function modelCommandCenter(initialCatalog) {
98
105
  const opt = modelSelectOption(item, { runningProfilesNow, modelMissingIds, nameWidth, compact: true });
99
106
  return { value: opt.value, label: opt.label, description: opt.description };
100
107
  });
101
- groups.push({ separator: ` Needs setup (${setupItems.length})`, items: groupItems });
108
+ groups.push({ separator: ` ${pc.bold(pc.yellow(`Needs setup (${setupItems.length})`))}`, items: groupItems });
102
109
  }
103
110
 
104
111
  const prompt = createPrompt();