replicas-engine 0.1.55 → 0.1.58
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/index.js +8 -2
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -695,7 +695,9 @@ var GitService = class {
|
|
|
695
695
|
}
|
|
696
696
|
return prInfo;
|
|
697
697
|
}
|
|
698
|
-
} catch {
|
|
698
|
+
} catch (error) {
|
|
699
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
700
|
+
console.warn(`[GitService] gh pr view failed for ${repoName}: ${message}`);
|
|
699
701
|
return null;
|
|
700
702
|
}
|
|
701
703
|
return null;
|
|
@@ -958,7 +960,7 @@ function parseReplicasConfigString(content, filename) {
|
|
|
958
960
|
}
|
|
959
961
|
|
|
960
962
|
// ../shared/src/engine/environment.ts
|
|
961
|
-
var REPLICAS_ENGINE_VERSION = "
|
|
963
|
+
var REPLICAS_ENGINE_VERSION = "20-03-2026-kipling";
|
|
962
964
|
|
|
963
965
|
// ../shared/src/engine/types.ts
|
|
964
966
|
var DEFAULT_CHAT_TITLES = {
|
|
@@ -3016,6 +3018,10 @@ var ChatService = class {
|
|
|
3016
3018
|
await eventService.publish(event);
|
|
3017
3019
|
}
|
|
3018
3020
|
async publishAgentTurnCompleteWebhook() {
|
|
3021
|
+
try {
|
|
3022
|
+
await githubTokenManager.refreshOnce();
|
|
3023
|
+
} catch {
|
|
3024
|
+
}
|
|
3019
3025
|
const linearSessionId = ENGINE_ENV.LINEAR_SESSION_ID;
|
|
3020
3026
|
const repoStatuses = await gitService.refreshRepos();
|
|
3021
3027
|
const payload = linearSessionId ? { linearSessionId, repoStatuses } : { repoStatuses };
|