fraim-hub 2.0.206 → 2.0.207
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/dist/src/ai-hub/hosts.js +13 -0
- package/package.json +2 -2
package/dist/src/ai-hub/hosts.js
CHANGED
|
@@ -1198,11 +1198,24 @@ function scrubGeminiAssistantLine(line) {
|
|
|
1198
1198
|
function wireHostProcess(hostId, child, handlers) {
|
|
1199
1199
|
const wire = (buffer, channel) => {
|
|
1200
1200
|
let pending = '';
|
|
1201
|
+
let suppressCodexModelRefreshStderr = false;
|
|
1201
1202
|
buffer.on('data', (chunk) => {
|
|
1202
1203
|
pending += chunk.toString();
|
|
1203
1204
|
const lines = pending.split(/\r?\n/);
|
|
1204
1205
|
pending = lines.pop() || '';
|
|
1205
1206
|
for (const line of lines) {
|
|
1207
|
+
if (hostId === 'codex' && channel === 'stderr') {
|
|
1208
|
+
if (line.includes('codex_models_manager::manager: failed to refresh available models:')) {
|
|
1209
|
+
suppressCodexModelRefreshStderr = true;
|
|
1210
|
+
handlers.onEvent({
|
|
1211
|
+
raw: 'Codex model availability refresh failed; suppressed verbose provider model list from stderr.',
|
|
1212
|
+
}, channel);
|
|
1213
|
+
continue;
|
|
1214
|
+
}
|
|
1215
|
+
if (suppressCodexModelRefreshStderr) {
|
|
1216
|
+
continue;
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1206
1219
|
const parsed = parseHostLine(hostId, line);
|
|
1207
1220
|
if (parsed.message || parsed.sessionId || parsed.raw) {
|
|
1208
1221
|
handlers.onEvent(parsed, channel);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fraim-hub",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.207",
|
|
4
4
|
"description": "FRAIM Hub local companion package.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"dotenv": "^16.4.7",
|
|
90
90
|
"electron": "^41.2.2",
|
|
91
91
|
"express": "^5.2.1",
|
|
92
|
-
"fraim": "2.0.
|
|
92
|
+
"fraim": "2.0.207",
|
|
93
93
|
"mongodb": "^7.0.0",
|
|
94
94
|
"node-cron": "4.2.1",
|
|
95
95
|
"node-edge-tts": "^1.2.10",
|