opc-agent 4.0.15 → 4.0.17
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/core/runtime.js
CHANGED
|
@@ -352,7 +352,9 @@ class AgentRuntime {
|
|
|
352
352
|
console.log(` Studio: http://localhost:${studioPort}`);
|
|
353
353
|
}
|
|
354
354
|
catch (e) {
|
|
355
|
-
|
|
355
|
+
const msg = e?.message || String(e);
|
|
356
|
+
this.logger.warn('Studio UI failed to start: ' + msg);
|
|
357
|
+
console.log(` Studio: ⚠️ failed - ${msg}`);
|
|
356
358
|
}
|
|
357
359
|
}
|
|
358
360
|
async stop() {
|
|
@@ -2310,13 +2310,8 @@
|
|
|
2310
2310
|
let frCreatedAgentId = null;
|
|
2311
2311
|
|
|
2312
2312
|
async function checkFirstRun() {
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
const data = await res.json();
|
|
2316
|
-
if (data.firstRun) {
|
|
2317
|
-
showFirstRunWizard(data);
|
|
2318
|
-
}
|
|
2319
|
-
} catch {}
|
|
2313
|
+
// Skip first-run wizard — agents are configured via init
|
|
2314
|
+
return;
|
|
2320
2315
|
}
|
|
2321
2316
|
|
|
2322
2317
|
function showFirstRunWizard(data) {
|
package/package.json
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -330,7 +330,9 @@ export class AgentRuntime {
|
|
|
330
330
|
this.logger.info(`Studio UI ready → http://localhost:${studioPort}`);
|
|
331
331
|
console.log(` Studio: http://localhost:${studioPort}`);
|
|
332
332
|
} catch (e: any) {
|
|
333
|
-
|
|
333
|
+
const msg = e?.message || String(e);
|
|
334
|
+
this.logger.warn('Studio UI failed to start: ' + msg);
|
|
335
|
+
console.log(` Studio: ⚠️ failed - ${msg}`);
|
|
334
336
|
}
|
|
335
337
|
}
|
|
336
338
|
|
package/src/studio-ui/index.html
CHANGED
|
@@ -2310,13 +2310,8 @@
|
|
|
2310
2310
|
let frCreatedAgentId = null;
|
|
2311
2311
|
|
|
2312
2312
|
async function checkFirstRun() {
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
const data = await res.json();
|
|
2316
|
-
if (data.firstRun) {
|
|
2317
|
-
showFirstRunWizard(data);
|
|
2318
|
-
}
|
|
2319
|
-
} catch {}
|
|
2313
|
+
// Skip first-run wizard — agents are configured via init
|
|
2314
|
+
return;
|
|
2320
2315
|
}
|
|
2321
2316
|
|
|
2322
2317
|
function showFirstRunWizard(data) {
|