@owloops/browserbird 1.0.5 → 1.0.7
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/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -122,8 +122,8 @@ function unknownSubcommand(subcommand, command, validCommands) {
|
|
|
122
122
|
/** @fileoverview ASCII banner displayed on daemon startup and in help text. */
|
|
123
123
|
const pkg = createRequire(import.meta.url)("../package.json");
|
|
124
124
|
const buildInfo = [];
|
|
125
|
-
buildInfo.push(`commit: ${"
|
|
126
|
-
buildInfo.push(`built: 2026-03-
|
|
125
|
+
buildInfo.push(`commit: ${"05708f2a8c2fa219afdb74697f682824b610121b".substring(0, 7)}`);
|
|
126
|
+
buildInfo.push(`built: 2026-03-01T16:07:20+04:00`);
|
|
127
127
|
const buildString = buildInfo.length > 0 ? ` (${buildInfo.join(", ")})` : "";
|
|
128
128
|
const VERSION = `browserbird ${pkg.version}${buildString}`;
|
|
129
129
|
const BIRD = [
|
|
@@ -673,11 +673,11 @@ function getServiceHealth(config) {
|
|
|
673
673
|
browser: { connected: config.browser.enabled ? browserConnected : false }
|
|
674
674
|
};
|
|
675
675
|
}
|
|
676
|
-
function startHealthChecks(
|
|
677
|
-
refreshAgent(
|
|
678
|
-
refreshBrowser(
|
|
676
|
+
function startHealthChecks(getConfig, signal) {
|
|
677
|
+
refreshAgent(getConfig());
|
|
678
|
+
refreshBrowser(getConfig());
|
|
679
679
|
const timer = setInterval(() => {
|
|
680
|
-
refreshBrowser(
|
|
680
|
+
refreshBrowser(getConfig());
|
|
681
681
|
}, BROWSER_CHECK_INTERVAL_MS);
|
|
682
682
|
signal.addEventListener("abort", () => {
|
|
683
683
|
clearInterval(timer);
|
|
@@ -3817,7 +3817,7 @@ async function startDaemon(options) {
|
|
|
3817
3817
|
slackHandle.start().catch((err) => {
|
|
3818
3818
|
logger.error(`slack failed to start: ${err instanceof Error ? err.message : String(err)}`);
|
|
3819
3819
|
});
|
|
3820
|
-
startHealthChecks(
|
|
3820
|
+
startHealthChecks(getConfig, controller.signal);
|
|
3821
3821
|
logger.success("browserbird orchestrator started");
|
|
3822
3822
|
logger.info(`agents: ${config.agents.map((a) => a.id).join(", ")}`);
|
|
3823
3823
|
logger.info(`max concurrent sessions: ${config.sessions.maxConcurrent}`);
|