@pidgeon-ai/sdk 1.57.0 → 1.59.0

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
@@ -7,6 +7,23 @@ the two would publish a release for every unrelated product deploy.
7
7
  Semver applies to **this package's own surface** — the exported names, the
8
8
  call shapes, the result shape — not to the API behind it.
9
9
 
10
+ ## 1.59.0 — who gets typed data
11
+
12
+ - `recipients` on `messagesCheck`'s answer: each recipient once, with
13
+ `network` (true for an agent or service address on Pidgeon that would get
14
+ the message signed and verified, so send it typed `data`), `kind` and
15
+ `on_behalf_of`. False for everyone else: write for a person.
16
+
17
+ ## 1.58.0 — agent cards and the public verifier
18
+
19
+ - `cardsGet` (`GET /cards/{id}`, no key) and `identitiesCard`
20
+ (`GET /identities/{id}/card`): an agent or service address's signed agent
21
+ card. `jws` is a compact JWS (EdDSA) to check against
22
+ `<iss>/.well-known/post.json`; `card` is its payload, decoded.
23
+ - `verifySender` (`POST /verify`, no key): send a raw message or its headers,
24
+ get back whether an AI agent sent it, on whose behalf, and whether its
25
+ signatures hold, as a `verdict` to act on.
26
+
10
27
  ## 1.57.0 — free time
11
28
 
12
29
  - `calendarFreeTime`: when several addresses are all free in a window, at
package/dist/index.cjs CHANGED
@@ -46,6 +46,7 @@ __export(index_exports, {
46
46
  calendarRespondToEvent: () => calendarRespondToEvent,
47
47
  calendarUpdate: () => calendarUpdate,
48
48
  calendarUpdateEvent: () => calendarUpdateEvent,
49
+ cardsGet: () => cardsGet,
49
50
  client: () => client,
50
51
  contactsBlock: () => contactsBlock,
51
52
  contactsCreate: () => contactsCreate,
@@ -82,6 +83,7 @@ __export(index_exports, {
82
83
  identitiesAccessCreate: () => identitiesAccessCreate,
83
84
  identitiesAccessDelete: () => identitiesAccessDelete,
84
85
  identitiesAccessGet: () => identitiesAccessGet,
86
+ identitiesCard: () => identitiesCard,
85
87
  identitiesCreate: () => identitiesCreate,
86
88
  identitiesDelete: () => identitiesDelete,
87
89
  identitiesGet: () => identitiesGet,
@@ -141,6 +143,7 @@ __export(index_exports, {
141
143
  threadsLabelsGet: () => threadsLabelsGet,
142
144
  threadsList: () => threadsList,
143
145
  threadsUpdate: () => threadsUpdate,
146
+ verifySender: () => verifySender,
144
147
  verifyWebhook: () => verifyWebhook,
145
148
  webhooksCreate: () => webhooksCreate,
146
149
  webhooksDelete: () => webhooksDelete,
@@ -997,6 +1000,18 @@ var agentVerify = (options) => (options.client ?? client).post({
997
1000
  ...options.headers
998
1001
  }
999
1002
  });
1003
+ var cardsGet = (options) => (options.client ?? client).get({
1004
+ url: "/cards/{id}",
1005
+ ...options
1006
+ });
1007
+ var verifySender = (options) => (options.client ?? client).post({
1008
+ url: "/verify",
1009
+ ...options,
1010
+ headers: {
1011
+ "Content-Type": "application/json",
1012
+ ...options.headers
1013
+ }
1014
+ });
1000
1015
  var agentConnect = (options) => (options.client ?? client).post({
1001
1016
  url: "/agent/connect",
1002
1017
  ...options,
@@ -1045,6 +1060,11 @@ var identitiesUpdate = (options) => (options.client ?? client).patch(
1045
1060
  }
1046
1061
  }
1047
1062
  );
1063
+ var identitiesCard = (options) => (options.client ?? client).get({
1064
+ security: [{ scheme: "bearer", type: "http" }],
1065
+ url: "/identities/{id}/card",
1066
+ ...options
1067
+ });
1048
1068
  var identitiesAccessDelete = (options) => (options.client ?? client).delete({
1049
1069
  security: [{ scheme: "bearer", type: "http" }],
1050
1070
  url: "/identities/{id}/access",
@@ -1970,6 +1990,7 @@ function sleep(ms, signal) {
1970
1990
  calendarRespondToEvent,
1971
1991
  calendarUpdate,
1972
1992
  calendarUpdateEvent,
1993
+ cardsGet,
1973
1994
  client,
1974
1995
  contactsBlock,
1975
1996
  contactsCreate,
@@ -2006,6 +2027,7 @@ function sleep(ms, signal) {
2006
2027
  identitiesAccessCreate,
2007
2028
  identitiesAccessDelete,
2008
2029
  identitiesAccessGet,
2030
+ identitiesCard,
2009
2031
  identitiesCreate,
2010
2032
  identitiesDelete,
2011
2033
  identitiesGet,
@@ -2065,6 +2087,7 @@ function sleep(ms, signal) {
2065
2087
  threadsLabelsGet,
2066
2088
  threadsList,
2067
2089
  threadsUpdate,
2090
+ verifySender,
2068
2091
  verifyWebhook,
2069
2092
  webhooksCreate,
2070
2093
  webhooksDelete,