@pidgeon-ai/cli 1.41.0 → 1.42.2
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/dist/{chunk-7DM75AZ5.js → chunk-DHEC6LXJ.js} +33 -1
- package/dist/{chunk-7DM75AZ5.js.map → chunk-DHEC6LXJ.js.map} +1 -1
- package/dist/{chunk-ASSYFFKS.js → chunk-M7BO7YR6.js} +28 -12
- package/dist/chunk-M7BO7YR6.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/commands.gen.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-ASSYFFKS.js.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
COMMANDS,
|
|
4
4
|
__export
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DHEC6LXJ.js";
|
|
6
6
|
|
|
7
7
|
// ../sdk/dist/index.js
|
|
8
8
|
var dist_exports = {};
|
|
@@ -138,6 +138,7 @@ __export(dist_exports, {
|
|
|
138
138
|
routingDelete: () => routingDelete,
|
|
139
139
|
routingList: () => routingList,
|
|
140
140
|
routingUpdate: () => routingUpdate,
|
|
141
|
+
signInsApprove: () => signInsApprove,
|
|
141
142
|
streamEvents: () => streamEvents,
|
|
142
143
|
testInbound: () => testInbound,
|
|
143
144
|
threadsGet: () => threadsGet,
|
|
@@ -1341,6 +1342,15 @@ var messagesCheck = (options) => (options.client ?? client).post({
|
|
|
1341
1342
|
...options.headers
|
|
1342
1343
|
}
|
|
1343
1344
|
});
|
|
1345
|
+
var signInsApprove = (options) => (options.client ?? client).post({
|
|
1346
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1347
|
+
url: "/sign-ins",
|
|
1348
|
+
...options,
|
|
1349
|
+
headers: {
|
|
1350
|
+
"Content-Type": "application/json",
|
|
1351
|
+
...options.headers
|
|
1352
|
+
}
|
|
1353
|
+
});
|
|
1344
1354
|
var messagesSearch = (options) => (options?.client ?? client).get({
|
|
1345
1355
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1346
1356
|
url: "/messages/search",
|
|
@@ -1965,17 +1975,23 @@ async function* streamEvents(options) {
|
|
|
1965
1975
|
continue;
|
|
1966
1976
|
}
|
|
1967
1977
|
backoffMs = 1e3;
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1978
|
+
try {
|
|
1979
|
+
for await (const frame of frames(response.body, options.signal)) {
|
|
1980
|
+
if (frame.id) lastEventId = frame.id;
|
|
1981
|
+
if (!frame.data) continue;
|
|
1982
|
+
if (frame.event === "error") continue;
|
|
1983
|
+
let parsed;
|
|
1984
|
+
try {
|
|
1985
|
+
parsed = JSON.parse(frame.data);
|
|
1986
|
+
} catch {
|
|
1987
|
+
continue;
|
|
1988
|
+
}
|
|
1989
|
+
yield parsed;
|
|
1977
1990
|
}
|
|
1978
|
-
|
|
1991
|
+
} catch {
|
|
1992
|
+
if (options.signal?.aborted) return;
|
|
1993
|
+
await sleep(backoffMs, options.signal);
|
|
1994
|
+
backoffMs = Math.min(backoffMs * 2, 3e4);
|
|
1979
1995
|
}
|
|
1980
1996
|
}
|
|
1981
1997
|
}
|
|
@@ -3304,4 +3320,4 @@ export {
|
|
|
3304
3320
|
find,
|
|
3305
3321
|
run
|
|
3306
3322
|
};
|
|
3307
|
-
//# sourceMappingURL=chunk-
|
|
3323
|
+
//# sourceMappingURL=chunk-M7BO7YR6.js.map
|