relay-companion 0.1.601 → 0.1.602

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relay-companion",
3
- "version": "0.1.601",
3
+ "version": "0.1.602",
4
4
  "description": "Install Relay for Claude Code, Cowork, and Codex, then sign in from the Relay pill.",
5
5
  "homepage": "https://sendrelays.com/get-started",
6
6
  "repository": {
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "name": "relay",
4
- "version": "1.1.78",
4
+ "version": "1.1.79",
5
5
  "consentVersion": 2,
6
- "baseUrl": "https://sendrelays.com/skills/relay/v1.1.78",
6
+ "baseUrl": "https://sendrelays.com/skills/relay/v1.1.79",
7
7
  "files": [
8
8
  {
9
9
  "path": "SKILL.md",
10
- "sha256": "3242e11ecf00beb820140cdb311eea3174f03a8667198855ec90f184a2d0f689",
10
+ "sha256": "2403c1b8c7230ee65074298e8c63a1d9869fe60a6892eddad5934edb4f24eeda",
11
11
  "variants": {
12
12
  "dev": {
13
13
  "source": "SKILL.dev.md",
14
- "sha256": "83d0e513fdd44e9f36fdb198ed984022acfc7df07cdd9e2aacdf835537afd359"
14
+ "sha256": "03c50d1e37fe2632c9623c18044de986488a395bef62b85da3efe8f573670c2e"
15
15
  }
16
16
  }
17
17
  },
@@ -21,7 +21,7 @@
21
21
  },
22
22
  {
23
23
  "path": "scripts/relay-protocol.mjs",
24
- "sha256": "4f47d8e5fbdebc3f6edef52acea14b51d970b5978c036fac1825b56f35df2778"
24
+ "sha256": "8bffaadcb0e066b1a800068827994693f01062227e6f05db968e0a28efcfa0a4"
25
25
  },
26
26
  {
27
27
  "path": "scripts/relay-local.mjs",
@@ -580,7 +580,9 @@ The tutorial activation event is the approved first Relay, not app installation.
580
580
  ## Reading a Relay
581
581
 
582
582
  Fetch only the context the request needs. For a recent inbound Relay, find its
583
- metadata with relay_inbox_list and open its exact relayIds. For conversation
583
+ metadata with relay_inbox_list and open its exact relayIds. An opened Relay
584
+ may carry threadReplies: the replies people made in its thread, oldest first.
585
+ Read them with the Relay; a later reply can answer, correct or change it. For conversation
584
586
  context, relay_chat_fetch defaults to the newest 25 messages, oldest first;
585
587
  limit accepts 1–200. Continue with nextBeforeCursor for older messages or
586
588
  nextAfterCursor for newer ones, keeping the same chat and surface. Never call
@@ -31,7 +31,7 @@ const SAFE_GET = [
31
31
  /^\/v1\/inbox(?:\?.*)?$/,
32
32
  /^\/v1\/sent(?:\?.*)?$/,
33
33
  /^\/v1\/contacts\/search\?q=.+$/,
34
- /^\/v1\/relays\/[A-Za-z0-9_-]+$/,
34
+ /^\/v1\/relays\/[A-Za-z0-9_-]+(?:\?include=replies)?$/,
35
35
  /^\/v1\/threads\/[A-Za-z0-9_-]+$/,
36
36
  /^\/v1\/share-links\/[A-Za-z0-9_-]+$/,
37
37
  ];
@@ -786,7 +786,7 @@ async function directToolCommand(command, body, config) {
786
786
  else if (name === "relay_inbox_list") {
787
787
  if (args.relayIds) {
788
788
  const items = [];
789
- for (const relayId of new Set(args.relayIds)) items.push({ relayId, ...await request("GET", `/v1/relays/${relayId}`) });
789
+ for (const relayId of new Set(args.relayIds)) items.push({ relayId, ...await request("GET", `/v1/relays/${relayId}?include=replies`) });
790
790
  value = { items, readStateChanged: false, readReceiptsSent: false };
791
791
  } else value = await request("GET", "/v1/inbox?view=summary");
792
792
  } else if (name === "relay_share_stats") {
@@ -666,7 +666,9 @@ Choose every clearly applicable label; sentence-level attribution still matters.
666
666
  ## Reading a Relay
667
667
 
668
668
  Fetch only the context the request needs. For a recent inbound Relay, find its
669
- metadata with relay_inbox_list and open its exact relayIds. For conversation
669
+ metadata with relay_inbox_list and open its exact relayIds. An opened Relay
670
+ may carry threadReplies: the replies people made in its thread, oldest first.
671
+ Read them with the Relay; a later reply can answer, correct or change it. For conversation
670
672
  context, relay_chat_fetch defaults to the newest 25 messages, oldest first;
671
673
  limit accepts 1–200. Continue with nextBeforeCursor for older messages or
672
674
  nextAfterCursor for newer ones, keeping the same chat and surface. Never call