relay-companion 0.1.365 → 0.1.366
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/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/src/mcp.js +2 -2
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "relay-companion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.366",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "relay-companion",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.366",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/claude-agent-sdk": "0.3.195",
|
package/package.json
CHANGED
package/src/mcp.js
CHANGED
|
@@ -233,7 +233,7 @@ export const TOOLS = [
|
|
|
233
233
|
name: "relay_send",
|
|
234
234
|
_meta: ALWAYS_LOAD_META,
|
|
235
235
|
description:
|
|
236
|
-
"Only send a Relay when the user asks you to send (or relay) something to someone. Send ordinary Relay correspondence or a Task. Default to Relay when the user explicitly says Relay or asks to send
|
|
236
|
+
"Only send a Relay when the user asks you to send (or relay) something to someone. When writing a Relay, make normal choices about wording and presentation without asking the user. Ask a clarifying question before sending only when both are true: you are unsure about a detail, and resolving it one way or another could substantially change what the Relay says or commits the user to. Most Relay requests do not require clarification. Send ordinary Relay correspondence or a Task. Default to Relay when the user explicitly says Relay or asks to send something to someone without specifying a medium; another named medium overrides. For a self-Relay, call relay_send with recipient.self=true; never search contacts or mint a link. Resolve other recipients with relay_contacts_search or relay_groups_list. Without a confident match, mint a link with relay_share_link; never ask for an email or switch media. CLASSIFY THE OUTCOME, NOT THE SENTENCE'S ADDRESSEE: kind='message' seeks the person's attention, opinion, decision, or reply; kind='task' asks their agent to perform external work. Compose the complete forAgent document first, then derive forHuman as the concise message in the sender's voice. Use the fewest words that faithfully preserve the message, not the most allowed: 1-3 normally sized sentences and 45 words or fewer. 60 words is only Relay's mandatory-review threshold, never a target, budget, or default; it stops an over-threshold first attempt for review. Message history teaches voice and relationship register, not a default word count. Under-sending to the recipient's agent is worse than over-sending. Relay-owned Task Runs attach their provider's final answer automatically; do not call relay_send merely to report completion. Addressing a person, group, or chat never implies a reply to its latest message. Set replyToRelayId only when the human explicitly wants to quote or answer that exact Relay. For a Granular digital employee, use the exact matching workspace-labelled contactId.",
|
|
237
237
|
inputSchema: {
|
|
238
238
|
type: "object",
|
|
239
239
|
properties: {
|
|
@@ -513,7 +513,7 @@ export const TOOLS = [
|
|
|
513
513
|
{
|
|
514
514
|
name: "relay_chat_send",
|
|
515
515
|
description:
|
|
516
|
-
"Only send a Relay when the user asks you to send (or relay) something to someone. Send an ordinary text message into an existing Relay chat. chatId addresses the room; it does not imply a reply to the newest message. Set replyToRelayId only when the human explicitly selected or named a specific message to quote. Supports the same local-file attachment forms as relay_send. This always sends kind='message'; use relay_send for a Task or a separate forAgent document.",
|
|
516
|
+
"Only send a Relay when the user asks you to send (or relay) something to someone. When writing a Relay, make normal choices about wording and presentation without asking the user. Ask a clarifying question before sending only when both are true: you are unsure about a detail, and resolving it one way or another could substantially change what the Relay says or commits the user to. Most Relay requests do not require clarification. Send an ordinary text message into an existing Relay chat. chatId addresses the room; it does not imply a reply to the newest message. Set replyToRelayId only when the human explicitly selected or named a specific message to quote. Supports the same local-file attachment forms as relay_send. This always sends kind='message'; use relay_send for a Task or a separate forAgent document.",
|
|
517
517
|
inputSchema: CHAT_SEND_INPUT_SCHEMA,
|
|
518
518
|
},
|
|
519
519
|
{
|