@relaymessenger/mcp 0.1.7-staging.3 → 0.1.7-staging.30
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/README.md +20 -0
- package/dist/generated-docs.d.ts.map +1 -1
- package/dist/generated-docs.js +586 -257
- package/dist/generated-docs.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +10 -2
- package/dist/server.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -9,6 +9,26 @@ Local MCP v2 stdio server with exactly two tools:
|
|
|
9
9
|
|
|
10
10
|
There is no `talk` tool and no per-operation `relay_*` tool list.
|
|
11
11
|
|
|
12
|
+
## Selection
|
|
13
|
+
|
|
14
|
+
Use `search_docs` with query `selection` and verbose detail, then `execute`
|
|
15
|
+
with the SDK message-send method and ordered text/selection parts. Incoming
|
|
16
|
+
Message and event results retain `selected_values` and `reply_to`.
|
|
17
|
+
|
|
18
|
+
New human reply text is literal `• ` + each selected source label joined with
|
|
19
|
+
`\n`, followed by `selection_response` metadata in source-option order. Dispatch
|
|
20
|
+
with `selected_values` and the explicit source target, never label parsing.
|
|
21
|
+
Exact legacy comma-joined text remains a server compatibility input. The person
|
|
22
|
+
checks any number of options and submits them once; checking sends nothing, and
|
|
23
|
+
a person answers a given selection once. iOS may draw a checkmark in place of
|
|
24
|
+
each bullet and repeat the prompt's title, as presentation only.
|
|
25
|
+
|
|
26
|
+
## Payment
|
|
27
|
+
|
|
28
|
+
Use `search_docs` with query `payment`, then `execute`
|
|
29
|
+
`client.paymentRequests.create` and a message send whose only part is
|
|
30
|
+
`{ type: "payment", checkout_url }`.
|
|
31
|
+
|
|
12
32
|
## Start
|
|
13
33
|
|
|
14
34
|
Requires Node.js 22.22.3 or newer.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-docs.d.ts","sourceRoot":"","sources":["../src/generated-docs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,SAAS,SAAS,
|
|
1
|
+
{"version":3,"file":"generated-docs.d.ts","sourceRoot":"","sources":["../src/generated-docs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,SAAS,SAAS,EA4kD3C,CAAC"}
|