agentgui 1.0.354 → 1.0.356

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/build-portable.js CHANGED
@@ -135,12 +135,12 @@ if (process.env.NO_BUNDLE_MODELS === 'true') {
135
135
  log('Skipping model bundling (NO_BUNDLE_MODELS=true) - models will download on first use');
136
136
  } else {
137
137
  log('Bundling AI models...');
138
- const userModels = path.join(os.homedir(), '.gmgui', 'models');
138
+ const userModels = process.env.MODELS_SOURCE_DIR || path.join(os.homedir(), '.gmgui', 'models');
139
139
  if (fs.existsSync(userModels)) {
140
140
  copyDir(userModels, path.join(out, 'models'));
141
141
  log(`Models bundled: ${Math.round(sizeOf(path.join(out, 'models')) / 1024 / 1024)}MB`);
142
142
  } else {
143
- log('WARNING: No models found at ~/.gmgui/models - portable build will download on first use');
143
+ log(`WARNING: No models found at ${userModels} - portable build will download on first use`);
144
144
  }
145
145
  }
146
146
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.354",
3
+ "version": "1.0.356",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",