relaymessenger 0.1.18-staging.0 → 0.1.18

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.
Files changed (2) hide show
  1. package/README.md +11 -21
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -5,7 +5,7 @@ v1 Agent API. It delegates all Relay calls and response types to
5
5
  `@relaymessenger/sdk`.
6
6
 
7
7
  Source is maintained in
8
- [`RelayMessenger/Relay-SDK`](https://github.com/RelayMessenger/Relay-SDK/tree/staging/packages/cli)
8
+ [`RelayMessenger/Relay-SDK`](https://github.com/RelayMessenger/Relay-SDK/tree/main/packages/cli)
9
9
  under `packages/cli`.
10
10
 
11
11
  ## Selection
@@ -83,7 +83,7 @@ installation; cancelling stops setup before any identity is created. Accepting r
83
83
  agents and project/global scope:
84
84
 
85
85
  ```sh
86
- npx --yes skills@1.5.25 add https://github.com/RelayMessenger/Relay-SDK/tree/staging/skills/relay --skill relay
86
+ npx --yes skills@1.5.25 add https://github.com/RelayMessenger/Relay-SDK/tree/main/skills/relay --skill relay
87
87
  ```
88
88
 
89
89
  The CLI does not silently download skills or change every agent's configuration.
@@ -171,7 +171,7 @@ the way `gh auth token` does. Use it to give the token to the SDK:
171
171
 
172
172
  ```sh
173
173
  export RELAY_AGENT_TOKEN=$(relay auth token)
174
- relay auth token --profile staging
174
+ relay auth token --profile work
175
175
  ```
176
176
 
177
177
  Profiles live in `${XDG_CONFIG_HOME:-~/.config}/relay/config.json`. The
@@ -301,8 +301,7 @@ credential by its authenticated Contact Card, refusing unavailable or ambiguous
301
301
  matches (including the same handle on multiple origins). It only clears that
302
302
  profile's matching saved token after Relay confirms the agent is gone. If Relay
303
303
  errors, or does not answer, the saved token stays; tokens for other profiles and
304
- for your environment are never touched. New creation defaults to the staging API when this package has a staging prerelease
305
- version; it never inherits an empty legacy production profile. Explicit `--api-url`
304
+ for your environment are never touched. New creation defaults to `https://api.relayapp.im`; it never inherits an empty legacy production profile. Explicit `--api-url`
306
305
  or `RELAY_API_URL` overrides remain authoritative, and existing profile origins
307
306
  are unchanged. Creation is never automatically retried. If creation succeeds but local
308
307
  storage fails, the command reports the safely assigned handle and whether local
@@ -442,25 +441,16 @@ npm run validate
442
441
  operation-hash check, boundary checks, package packing, isolated tarball
443
442
  installation, and installed-bin doctor smoke tests.
444
443
 
445
- ## Staging
444
+ ## Profiles
446
445
 
447
- Install `relaymessenger@staging` to work against the staging environment:
446
+ An explicit `--api-url` or `RELAY_API_URL` always wins over the default origin,
447
+ for example:
448
448
 
449
449
  ```sh
450
- npx relaymessenger@staging --version
451
- npm install --global relaymessenger@staging
452
- ```
453
-
454
- That build talks to `https://api.staging.relayapp.im` on its own and installs
455
- the Relay skill from the repository's `staging` branch; a plain `relaymessenger`
456
- build talks to `https://api.relayapp.im` and installs from `main`. Either way an
457
- explicit `--api-url` or `RELAY_API_URL` still wins, for example:
458
-
459
- ```sh
460
- relay profiles add staging --api-url https://api.staging.relayapp.im
461
- relay profiles use staging
462
- printf '%s' "$STAGING_RELAY_AGENT_TOKEN" |
463
- relay auth login --profile staging --with-token
450
+ relay profiles add work --api-url https://api.relayapp.im
451
+ relay profiles use work
452
+ printf '%s' "$RELAY_AGENT_TOKEN" |
453
+ relay auth login --profile work --with-token
464
454
  relay profiles list
465
455
  ```
466
456
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relaymessenger",
3
- "version": "0.1.18-staging.0",
3
+ "version": "0.1.18",
4
4
  "description": "Official command-line client for Relay v1 resources.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,8 +31,8 @@
31
31
  "@agentclientprotocol/sdk": "1.4.0",
32
32
  "@anthropic-ai/claude-agent-sdk": "0.3.278",
33
33
  "@clack/prompts": "1.8.1",
34
- "@relaymessenger/pi": "0.1.7-staging.0",
35
- "@relaymessenger/sdk": "0.5.1-staging.0",
34
+ "@relaymessenger/pi": "0.1.7",
35
+ "@relaymessenger/sdk": "0.5.1",
36
36
  "@vercel/detect-agent": "1.2.5",
37
37
  "commander": "^15.0.0",
38
38
  "smol-toml": "^1.8.0",