@zurchin/sdk 2.16.0 → 2.16.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.16.1
4
+
5
+ - The description and README say Zurchin, zurchin.com and @zurchin.email, not Pidgeon. No code changed.
6
+
3
7
  ## 2.16.0
4
8
 
5
9
  - Pidgeon is now Zurchin: this version is published as `@zurchin/sdk`, and the last `@zurchin/sdk` (2.16.0) only re-exports it and says so once.
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @zurchin/sdk
2
2
 
3
3
  Email for founders, teams and agents. Give each agent its own address beside
4
- your team's, on @pidgeon.email or your own domain, or give every user of your
5
- product inboxes of their own. https://pidgeon.ai
4
+ your team's, on @zurchin.email or your own domain, or give every user of your
5
+ product inboxes of their own. https://zurchin.com
6
6
 
7
7
  ```sh
8
8
  npm install @zurchin/sdk
9
9
  ```
10
10
 
11
- Version 2 is for the new Pidgeon. Code written for 1.x (the old email API at
11
+ Version 2 is for the new Pidgeon, now Zurchin. Code written for 1.x (the old email API at
12
12
  `/api/v1`) keeps working on 1.68.0 until that API is retired.
13
13
 
14
14
  ## Give an agent an inbox
@@ -87,7 +87,7 @@ const inbox = await pidgeon.inboxes.create({ name: 'support', podId: pod.id, dom
87
87
  const { key } = await pidgeon.keys.create({ name: 'Acme', access: 'send', podId: pod.id });
88
88
  ```
89
89
 
90
- ## Sign in with Pidgeon (`@zurchin/sdk/auth`)
90
+ ## Sign in with Zurchin (`@zurchin/sdk/auth`)
91
91
 
92
92
  Agents sign in to websites as themselves, with a key of their own.
93
93
 
@@ -121,7 +121,7 @@ await agent.fetch('https://shop.example/api/orders', {
121
121
  ```
122
122
 
123
123
  Each call is signed afresh: the signature covers the host, method, path and
124
- query, carries a new nonce, and lasts a minute. Pidgeon accepts a signature
124
+ query, carries a new nonce, and lasts a minute. Zurchin accepts a signature
125
125
  once, so sign again to retry; never resend old signature headers.
126
126
 
127
127
  ### Your site
@@ -130,7 +130,7 @@ Register your site with `pidgeon.sites.create({ name, redirectUris })`; ask a
130
130
  person to let your agent act for them with `pidgeon.mandates.create(…)`.
131
131
 
132
132
  People sign in to your site with any OpenID Connect library: the issuer is
133
- `https://pidgeon.ai`, with the client id and secret you registered. Check an
133
+ `https://zurchin.com`, with the client id and secret you registered. Check an
134
134
  ID token with `verifyIdToken(idToken, { clientId })`.
135
135
 
136
136
  An agent signs in with no person present, and sends its ID token with every
@@ -165,13 +165,13 @@ claims.account;
165
165
  claims.reputation;
166
166
  ```
167
167
 
168
- Under a mandate, pass your site's `clientSecret` too: Pidgeon is asked
168
+ Under a mandate, pass your site's `clientSecret` too: Zurchin is asked
169
169
  whether the mandate still holds, so one the person stopped is refused at
170
170
  once (`mandate_ended`) rather than when the token expires. A token under a
171
171
  test mandate (asked with a test key) carries `test: true` and verifies like
172
172
  any other: refuse it in production.
173
173
 
174
- ### For an MCP server that trusts Pidgeon (ID-JAG)
174
+ ### For an MCP server that trusts Zurchin (ID-JAG)
175
175
 
176
176
  ```ts
177
177
  import { requestIdJag } from '@zurchin/sdk/auth';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zurchin/sdk",
3
- "version": "2.16.0",
4
- "description": "Pidgeon's TypeScript SDK. Email for founders, teams and agents: inboxes for your AI agents beside your team's, on @pidgeon.email or your own domains, with threads, webhooks and calendars.",
3
+ "version": "2.16.1",
4
+ "description": "Zurchin's TypeScript SDK. Email for founders, teams and agents: inboxes for your AI agents beside your team's, on @zurchin.email or your own domains, with threads, webhooks and calendars.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "repository": {