open-agents-ai 0.186.46 → 0.186.47

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/dist/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8706,9 +8706,10 @@ process.on('unhandledRejection', (reason) => {
8706
8706
  });
8707
8707
  // Derive node specialties from model mix
8708
8708
  var _capSpecialties = [...new Set(_capEnriched.map(function(m) { return m.specialty; }))];
8709
- // Total VRAM from GPU metrics
8710
- var _capTotalVram = _capMetrics.vramTotal || 0;
8711
- var _capAvailVram = _capTotalVram > 0 ? Math.max(0, _capTotalVram - (_capMetrics.vramUsed || 0)) : 0;
8709
+ // Total VRAM from GPU metrics (nested under .gpu object)
8710
+ var _capGpu = _capMetrics && _capMetrics.gpu ? _capMetrics.gpu : {};
8711
+ var _capTotalVram = _capGpu.vramTotalMB || 0;
8712
+ var _capAvailVram = _capTotalVram > 0 ? Math.max(0, _capTotalVram - (_capGpu.vramUsedMB || 0)) : 0;
8712
8713
 
8713
8714
  var announcement = {
8714
8715
  type: 'capacity.announcement',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.186.46",
3
+ "version": "0.186.47",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",