relay-companion 0.1.6 → 0.1.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/bin/relay.js CHANGED
@@ -69,6 +69,10 @@ function printActivationStatus(activation) {
69
69
  console.log("Relay tools are available in this Codex session through Codex tool search (`relay_send`).");
70
70
  return;
71
71
  }
72
+ if (activation.readinessMode === "deferred_tool_search_unverified") {
73
+ console.log("Relay was added to Codex. Codex can load the Relay tools through tool search (`relay_send`).");
74
+ return;
75
+ }
72
76
  console.log("Relay tools are live in this Codex session (`relay_send` verified).");
73
77
  return;
74
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relay-companion",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Relay companion: connects local coding agents to Relay tasks, approvals, and connector tools.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -205,11 +205,23 @@ export async function activateCodexMcp({
205
205
  ...catalog,
206
206
  };
207
207
  } catch (error) {
208
+ const reason = classifyCodexActivationError(error);
209
+ if (reason === "codex_control_socket_unavailable") {
210
+ return {
211
+ host: "Codex",
212
+ ok: true,
213
+ currentSessionReady: true,
214
+ reason: "relay_registered_for_codex_tool_search",
215
+ readinessMode: "deferred_tool_search_unverified",
216
+ verifiedTool: "relay_send",
217
+ detail: error?.stderr || error?.message || String(error),
218
+ };
219
+ }
208
220
  return {
209
221
  host: "Codex",
210
222
  ok: false,
211
223
  currentSessionReady: false,
212
- reason: classifyCodexActivationError(error),
224
+ reason,
213
225
  detail: error?.stderr || error?.message || String(error),
214
226
  };
215
227
  } finally {