@ralioco/sdk 0.1.0 → 0.1.1
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 +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -65,6 +65,13 @@ console.log(binding.clientId); // cb_... — store this alongside the key
|
|
|
65
65
|
`RalioRegistrationError` if the binding is rejected / expires / times out). The
|
|
66
66
|
private key never leaves the host.
|
|
67
67
|
|
|
68
|
+
> **Where does the agent ID come from?** `register()` resolves to
|
|
69
|
+
> `{ clientId, scopes }` — the credential handle, **not** an agent ID. The agent
|
|
70
|
+
> you address in `chat.send({ agentId })` is the one the owner pinned the ticket
|
|
71
|
+
> to when minting it (chosen in the console; shown on the agent's settings page).
|
|
72
|
+
> Registration never echoes it back, so take `agentId` from your own
|
|
73
|
+
> configuration — don't expect it on the `register()` result.
|
|
74
|
+
|
|
68
75
|
## Use the client
|
|
69
76
|
|
|
70
77
|
```ts
|