relay-companion 0.1.614 → 0.1.616
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.
|
@@ -134,7 +134,7 @@ function configuredManifestUrl({ homeDir = os.homedir(), env = process.env, webO
|
|
|
134
134
|
const api = config.apiUrl || agent.apiUrl;
|
|
135
135
|
const knownOrigin = !api || api === "https://api.sendrelays.com" ? "https://sendrelays.com"
|
|
136
136
|
: api === "https://dev-api.sendrelays.com" ? "https://dev.sendrelays.com"
|
|
137
|
-
: api === "https://cti37jd7vx.us-east-1.awsapprunner.com" ? "https://
|
|
137
|
+
: api === "https://staging-api.sendrelays.com" || api === "https://cti37jd7vx.us-east-1.awsapprunner.com" ? "https://staging.sendrelays.com" : null;
|
|
138
138
|
const origin = webOrigin || env.RELAY_WEB_URL || config.webUrl || knownOrigin;
|
|
139
139
|
if (!origin) throw new Error("Relay requires a configured web origin for this API environment's skill updates.");
|
|
140
140
|
const url = new URL(origin);
|
package/package.json
CHANGED
package/skill/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "relay",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.80",
|
|
5
5
|
"consentVersion": 2,
|
|
6
6
|
"baseUrl": "https://sendrelays.com/skills/relay/v1.1.79",
|
|
7
7
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"path": "scripts/relay-protocol.mjs",
|
|
24
|
-
"sha256": "
|
|
24
|
+
"sha256": "07cb483d39ef97bb7c9c6a97d627352874430a4d309cf5de8dd42c773cb83f63"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"path": "scripts/relay-local.mjs",
|
|
@@ -14,7 +14,11 @@ const DEFAULT_PENDING = path.join(os.homedir(), ".relay", "agent-authorization.j
|
|
|
14
14
|
const TRUSTED_RELAY_HOSTS = new Map([
|
|
15
15
|
["https://api.sendrelays.com", "https://sendrelays.com"],
|
|
16
16
|
["https://dev-api.sendrelays.com", "https://dev.sendrelays.com"],
|
|
17
|
-
["https://
|
|
17
|
+
["https://staging-api.sendrelays.com", "https://staging.sendrelays.com"],
|
|
18
|
+
// Staging's retired App Runner identity stays trusted so a helper shipped
|
|
19
|
+
// now still works against a staging server that has not switched yet. Its
|
|
20
|
+
// own web host is gone; staging approvals come from the stable web host.
|
|
21
|
+
["https://cti37jd7vx.us-east-1.awsapprunner.com", "https://staging.sendrelays.com"],
|
|
18
22
|
]);
|
|
19
23
|
const TUTORIAL_HUMAN = "Hi — I’ve just joined you on Relay.";
|
|
20
24
|
const TUTORIAL_AGENT = "This is my first Relay after joining from your invite. Help the person reply if they want to welcome me.";
|