We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3088e00 commit 5ba4e43Copy full SHA for 5ba4e43
1 file changed
src/bridges/pi/index.ts
@@ -124,13 +124,12 @@ export default function (pi: ExtensionAPI) {
124
pi.on("session_start", async (_event, ctx) => {
125
uiCtx = ctx.ui;
126
127
- try {
128
- await store.init();
129
- meshReady = true;
130
- } catch (err) {
131
- const msg = err instanceof Error ? err.message : String(err);
+ await store.init();
+ meshReady = store.connected;
+
+ if (!meshReady) {
132
ctx.ui.notify(
133
- `Agent Comms: mesh init failed (${msg}). Running without mesh.`,
+ "Agent Comms: mesh unavailable (no coordinator). Running without mesh.",
134
"warning",
135
);
136
}
0 commit comments