device-pair: clarify QR auto-ping fallback instructions

This commit is contained in:
Mariano Belinky
2026-03-03 18:00:20 +01:00
parent 92070bc861
commit 1230292862

View File

@@ -449,9 +449,14 @@ export default function register(api: OpenClawPluginApi) {
`Gateway: ${payload.url}`,
`Auth: ${authLabel}`,
"",
"After scanning, come back here and run `/pair approve` to complete pairing.",
autoNotifyArmed
? "After scanning, wait here for the pairing request ping."
: "After scanning, come back here and run `/pair approve` to complete pairing.",
...(autoNotifyArmed
? ["Ill auto-ping here when the pairing request arrives, then auto-disable."]
? [
"Ill auto-ping here when the pairing request arrives, then auto-disable.",
"If the ping does not arrive, run `/pair approve latest` manually.",
]
: []),
].join("\n"),
};
@@ -471,9 +476,14 @@ export default function register(api: OpenClawPluginApi) {
`Gateway: ${payload.url}`,
`Auth: ${authLabel}`,
"",
"After scanning, run `/pair approve` to complete pairing.",
autoNotifyArmed
? "After scanning, wait here for the pairing request ping."
: "After scanning, run `/pair approve` to complete pairing.",
...(autoNotifyArmed
? ["Ill auto-ping here when the pairing request arrives, then auto-disable."]
? [
"Ill auto-ping here when the pairing request arrives, then auto-disable.",
"If the ping does not arrive, run `/pair approve latest` manually.",
]
: []),
];