@buildautomaton/cli 0.1.66 → 0.1.67
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/cli.js +22 -1
- package/dist/cli.js.map +4 -4
- package/dist/index.js +22 -1
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25326,7 +25326,7 @@ function installBridgeProcessResilience() {
|
|
|
25326
25326
|
}
|
|
25327
25327
|
|
|
25328
25328
|
// src/cli-version.ts
|
|
25329
|
-
var CLI_VERSION = "0.1.
|
|
25329
|
+
var CLI_VERSION = "0.1.67".length > 0 ? "0.1.67" : "0.0.0-dev";
|
|
25330
25330
|
|
|
25331
25331
|
// src/connection/heartbeat/constants.ts
|
|
25332
25332
|
var BRIDGE_APP_HEARTBEAT_INTERVAL_MS = 1e4;
|
|
@@ -47642,6 +47642,27 @@ function createMainBridgeCloseHandler(params, connect) {
|
|
|
47642
47642
|
};
|
|
47643
47643
|
}
|
|
47644
47644
|
|
|
47645
|
+
// src/connection/report-git-repos.ts
|
|
47646
|
+
function reportGitRepos(getWs, log2) {
|
|
47647
|
+
setImmediate(() => {
|
|
47648
|
+
discoverGitRepos().then((repos) => {
|
|
47649
|
+
if (repos.length > 0) {
|
|
47650
|
+
const socket = getWs();
|
|
47651
|
+
if (socket) {
|
|
47652
|
+
sendWsMessage(socket, {
|
|
47653
|
+
type: "git_repos",
|
|
47654
|
+
repos: repos.map((r) => ({ absolutePath: r.absolutePath, remoteUrl: r.remoteUrl }))
|
|
47655
|
+
});
|
|
47656
|
+
}
|
|
47657
|
+
}
|
|
47658
|
+
}).catch((err) => {
|
|
47659
|
+
log2(
|
|
47660
|
+
`[Bridge service] Git repository discovery failed: ${err instanceof Error ? err.message : String(err)}`
|
|
47661
|
+
);
|
|
47662
|
+
});
|
|
47663
|
+
});
|
|
47664
|
+
}
|
|
47665
|
+
|
|
47645
47666
|
// src/connection/main-bridge-ws-open-handler.ts
|
|
47646
47667
|
function createMainBridgeOpenHandler(params) {
|
|
47647
47668
|
const {
|