@pidgeon-ai/sdk 1.55.1 → 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 +35 -0
- package/dist/index.cjs +87 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1065 -103
- package/dist/index.d.ts +1065 -103
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,41 @@ 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
|
+
|
|
27
|
+
## 1.57.0 — free time
|
|
28
|
+
|
|
29
|
+
- `calendarFreeTime`: when several addresses are all free in a window, at
|
|
30
|
+
least `duration_minutes` long, optionally only between `day_start` and
|
|
31
|
+
`day_end` in a zone and on weekdays. Each slot comes with its wall times
|
|
32
|
+
in that zone, and each address's busy blocks without titles.
|
|
33
|
+
- `contactsList` takes `cursor` and pages through `next_cursor`, like every
|
|
34
|
+
other list.
|
|
35
|
+
|
|
36
|
+
## 1.56.0 — contacts
|
|
37
|
+
|
|
38
|
+
- `contactsList`, `contactsCreate`, `contactsGet`, `contactsUpdate`,
|
|
39
|
+
`contactsDelete`, `contactsBlock` and `contactsUnblock`: the people and
|
|
40
|
+
agents an address corresponds with, noted from the mail. Find one by part
|
|
41
|
+
of a name or an address, keep notes on them, mute them until a date
|
|
42
|
+
(`snoozed_until`), or send their mail to spam. A contact belongs to one
|
|
43
|
+
address, and a key reaches only the contacts of addresses it holds.
|
|
44
|
+
|
|
10
45
|
## 1.55.1 — the new tagline
|
|
11
46
|
|
|
12
47
|
- The package description now reads "Email inboxes for AI agents". No change
|
package/dist/index.cjs
CHANGED
|
@@ -37,6 +37,7 @@ __export(index_exports, {
|
|
|
37
37
|
attachmentsUpload: () => attachmentsUpload,
|
|
38
38
|
calendarCreateEvent: () => calendarCreateEvent,
|
|
39
39
|
calendarDeleteEvent: () => calendarDeleteEvent,
|
|
40
|
+
calendarFreeTime: () => calendarFreeTime,
|
|
40
41
|
calendarGet: () => calendarGet,
|
|
41
42
|
calendarGetAgenda: () => calendarGetAgenda,
|
|
42
43
|
calendarGetEvent: () => calendarGetEvent,
|
|
@@ -45,7 +46,15 @@ __export(index_exports, {
|
|
|
45
46
|
calendarRespondToEvent: () => calendarRespondToEvent,
|
|
46
47
|
calendarUpdate: () => calendarUpdate,
|
|
47
48
|
calendarUpdateEvent: () => calendarUpdateEvent,
|
|
49
|
+
cardsGet: () => cardsGet,
|
|
48
50
|
client: () => client,
|
|
51
|
+
contactsBlock: () => contactsBlock,
|
|
52
|
+
contactsCreate: () => contactsCreate,
|
|
53
|
+
contactsDelete: () => contactsDelete,
|
|
54
|
+
contactsGet: () => contactsGet,
|
|
55
|
+
contactsList: () => contactsList,
|
|
56
|
+
contactsUnblock: () => contactsUnblock,
|
|
57
|
+
contactsUpdate: () => contactsUpdate,
|
|
49
58
|
createClient: () => createClient,
|
|
50
59
|
createConfig: () => createConfig,
|
|
51
60
|
domainsCreate: () => domainsCreate,
|
|
@@ -74,6 +83,7 @@ __export(index_exports, {
|
|
|
74
83
|
identitiesAccessCreate: () => identitiesAccessCreate,
|
|
75
84
|
identitiesAccessDelete: () => identitiesAccessDelete,
|
|
76
85
|
identitiesAccessGet: () => identitiesAccessGet,
|
|
86
|
+
identitiesCard: () => identitiesCard,
|
|
77
87
|
identitiesCreate: () => identitiesCreate,
|
|
78
88
|
identitiesDelete: () => identitiesDelete,
|
|
79
89
|
identitiesGet: () => identitiesGet,
|
|
@@ -133,6 +143,7 @@ __export(index_exports, {
|
|
|
133
143
|
threadsLabelsGet: () => threadsLabelsGet,
|
|
134
144
|
threadsList: () => threadsList,
|
|
135
145
|
threadsUpdate: () => threadsUpdate,
|
|
146
|
+
verifySender: () => verifySender,
|
|
136
147
|
verifyWebhook: () => verifyWebhook,
|
|
137
148
|
webhooksCreate: () => webhooksCreate,
|
|
138
149
|
webhooksDelete: () => webhooksDelete,
|
|
@@ -989,6 +1000,18 @@ var agentVerify = (options) => (options.client ?? client).post({
|
|
|
989
1000
|
...options.headers
|
|
990
1001
|
}
|
|
991
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
|
+
});
|
|
992
1015
|
var agentConnect = (options) => (options.client ?? client).post({
|
|
993
1016
|
url: "/agent/connect",
|
|
994
1017
|
...options,
|
|
@@ -1037,6 +1060,11 @@ var identitiesUpdate = (options) => (options.client ?? client).patch(
|
|
|
1037
1060
|
}
|
|
1038
1061
|
}
|
|
1039
1062
|
);
|
|
1063
|
+
var identitiesCard = (options) => (options.client ?? client).get({
|
|
1064
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1065
|
+
url: "/identities/{id}/card",
|
|
1066
|
+
...options
|
|
1067
|
+
});
|
|
1040
1068
|
var identitiesAccessDelete = (options) => (options.client ?? client).delete({
|
|
1041
1069
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1042
1070
|
url: "/identities/{id}/access",
|
|
@@ -1160,6 +1188,49 @@ var labelsUpdate = (options) => (options.client ?? client).patch({
|
|
|
1160
1188
|
...options.headers
|
|
1161
1189
|
}
|
|
1162
1190
|
});
|
|
1191
|
+
var contactsList = (options) => (options?.client ?? client).get({
|
|
1192
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1193
|
+
url: "/contacts",
|
|
1194
|
+
...options
|
|
1195
|
+
});
|
|
1196
|
+
var contactsCreate = (options) => (options.client ?? client).post({
|
|
1197
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1198
|
+
url: "/contacts",
|
|
1199
|
+
...options,
|
|
1200
|
+
headers: {
|
|
1201
|
+
"Content-Type": "application/json",
|
|
1202
|
+
...options.headers
|
|
1203
|
+
}
|
|
1204
|
+
});
|
|
1205
|
+
var contactsDelete = (options) => (options.client ?? client).delete({
|
|
1206
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1207
|
+
url: "/contacts/{id}",
|
|
1208
|
+
...options
|
|
1209
|
+
});
|
|
1210
|
+
var contactsGet = (options) => (options.client ?? client).get({
|
|
1211
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1212
|
+
url: "/contacts/{id}",
|
|
1213
|
+
...options
|
|
1214
|
+
});
|
|
1215
|
+
var contactsUpdate = (options) => (options.client ?? client).patch({
|
|
1216
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1217
|
+
url: "/contacts/{id}",
|
|
1218
|
+
...options,
|
|
1219
|
+
headers: {
|
|
1220
|
+
"Content-Type": "application/json",
|
|
1221
|
+
...options.headers
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
var contactsUnblock = (options) => (options.client ?? client).delete({
|
|
1225
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1226
|
+
url: "/contacts/{id}/block",
|
|
1227
|
+
...options
|
|
1228
|
+
});
|
|
1229
|
+
var contactsBlock = (options) => (options.client ?? client).post({
|
|
1230
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1231
|
+
url: "/contacts/{id}/block",
|
|
1232
|
+
...options
|
|
1233
|
+
});
|
|
1163
1234
|
var threadsLabelsDelete = (options) => (options.client ?? client).delete({
|
|
1164
1235
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1165
1236
|
url: "/threads/{id}/labels",
|
|
@@ -1616,6 +1687,11 @@ var calendarGetAgenda = (options) => (options.client ?? client).get(
|
|
|
1616
1687
|
...options
|
|
1617
1688
|
}
|
|
1618
1689
|
);
|
|
1690
|
+
var calendarFreeTime = (options) => (options.client ?? client).get({
|
|
1691
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1692
|
+
url: "/calendar/free-time",
|
|
1693
|
+
...options
|
|
1694
|
+
});
|
|
1619
1695
|
var calendarDeleteEvent = (options) => (options.client ?? client).delete({
|
|
1620
1696
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1621
1697
|
url: "/identities/{id}/calendar/events/{eventId}",
|
|
@@ -1905,6 +1981,7 @@ function sleep(ms, signal) {
|
|
|
1905
1981
|
attachmentsUpload,
|
|
1906
1982
|
calendarCreateEvent,
|
|
1907
1983
|
calendarDeleteEvent,
|
|
1984
|
+
calendarFreeTime,
|
|
1908
1985
|
calendarGet,
|
|
1909
1986
|
calendarGetAgenda,
|
|
1910
1987
|
calendarGetEvent,
|
|
@@ -1913,7 +1990,15 @@ function sleep(ms, signal) {
|
|
|
1913
1990
|
calendarRespondToEvent,
|
|
1914
1991
|
calendarUpdate,
|
|
1915
1992
|
calendarUpdateEvent,
|
|
1993
|
+
cardsGet,
|
|
1916
1994
|
client,
|
|
1995
|
+
contactsBlock,
|
|
1996
|
+
contactsCreate,
|
|
1997
|
+
contactsDelete,
|
|
1998
|
+
contactsGet,
|
|
1999
|
+
contactsList,
|
|
2000
|
+
contactsUnblock,
|
|
2001
|
+
contactsUpdate,
|
|
1917
2002
|
createClient,
|
|
1918
2003
|
createConfig,
|
|
1919
2004
|
domainsCreate,
|
|
@@ -1942,6 +2027,7 @@ function sleep(ms, signal) {
|
|
|
1942
2027
|
identitiesAccessCreate,
|
|
1943
2028
|
identitiesAccessDelete,
|
|
1944
2029
|
identitiesAccessGet,
|
|
2030
|
+
identitiesCard,
|
|
1945
2031
|
identitiesCreate,
|
|
1946
2032
|
identitiesDelete,
|
|
1947
2033
|
identitiesGet,
|
|
@@ -2001,6 +2087,7 @@ function sleep(ms, signal) {
|
|
|
2001
2087
|
threadsLabelsGet,
|
|
2002
2088
|
threadsList,
|
|
2003
2089
|
threadsUpdate,
|
|
2090
|
+
verifySender,
|
|
2004
2091
|
verifyWebhook,
|
|
2005
2092
|
webhooksCreate,
|
|
2006
2093
|
webhooksDelete,
|