@poncho-ai/cli 0.21.1 → 0.21.3
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-54WK2ATG.js → chunk-QF6XFAQX.js} +14 -12
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{run-interactive-ink-H55INI7H.js → run-interactive-ink-CXH6FTAO.js} +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -1
- package/src/web-ui-client.ts +10 -10
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/cli@0.21.
|
|
2
|
+
> @poncho-ai/cli@0.21.3 build /home/runner/work/poncho-ai/poncho-ai/packages/cli
|
|
3
3
|
> tsup src/index.ts src/cli.ts --format esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[32mESM[39m [1mdist/cli.js [22m[32m94.00 B[39m
|
|
11
11
|
[32mESM[39m [1mdist/index.js [22m[32m857.00 B[39m
|
|
12
|
-
[32mESM[39m [1mdist/run-interactive-ink-
|
|
13
|
-
[32mESM[39m [1mdist/chunk-
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m [1mdist/run-interactive-ink-CXH6FTAO.js [22m[32m55.30 KB[39m
|
|
13
|
+
[32mESM[39m [1mdist/chunk-QF6XFAQX.js [22m[32m384.75 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 60ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 3774ms
|
|
17
17
|
[32mDTS[39m [1mdist/cli.d.ts [22m[32m20.00 B[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.59 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @poncho-ai/cli
|
|
2
2
|
|
|
3
|
+
## 0.21.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`db92933`](https://github.com/cesr/poncho-ai/commit/db92933273ba490ad4b758bfcf0d6b26c64735d0) Thanks [@cesr](https://github.com/cesr)! - Fall back to polling after approval when SSE stream ends immediately (Vercel).
|
|
8
|
+
|
|
9
|
+
## 0.21.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`d06eb30`](https://github.com/cesr/poncho-ai/commit/d06eb30d896e30232b8667a93e28994ac71fedf0) Thanks [@cesr](https://github.com/cesr)! - Use `waitUntil` for messaging webhook route handlers on Vercel so the function stays alive for the full email processing after responding with 200.
|
|
14
|
+
|
|
3
15
|
## 0.21.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -4040,11 +4040,11 @@ var getWebUiClientScript = (markedSource2) => `
|
|
|
4040
4040
|
renderMessages(state.activeMessages, state.isStreaming);
|
|
4041
4041
|
loadConversations();
|
|
4042
4042
|
if (!wasStreaming && state.activeConversationId) {
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4043
|
+
const cid = state.activeConversationId;
|
|
4044
|
+
await streamConversationEvents(cid, { liveOnly: true });
|
|
4045
|
+
if (state.activeConversationId === cid) {
|
|
4046
|
+
pollUntilRunIdle(cid);
|
|
4047
|
+
}
|
|
4048
4048
|
}
|
|
4049
4049
|
return;
|
|
4050
4050
|
}
|
|
@@ -4071,11 +4071,11 @@ var getWebUiClientScript = (markedSource2) => `
|
|
|
4071
4071
|
renderMessages(state.activeMessages, state.isStreaming);
|
|
4072
4072
|
loadConversations();
|
|
4073
4073
|
if (!wasStreaming && state.activeConversationId) {
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4074
|
+
const cid = state.activeConversationId;
|
|
4075
|
+
await streamConversationEvents(cid, { liveOnly: true });
|
|
4076
|
+
if (state.activeConversationId === cid) {
|
|
4077
|
+
pollUntilRunIdle(cid);
|
|
4078
|
+
}
|
|
4079
4079
|
}
|
|
4080
4080
|
});
|
|
4081
4081
|
|
|
@@ -8294,7 +8294,9 @@ var createRequestHandler = async (options) => {
|
|
|
8294
8294
|
if (messagingByMethod) {
|
|
8295
8295
|
const routeHandler = messagingByMethod.get(request.method ?? "");
|
|
8296
8296
|
if (routeHandler) {
|
|
8297
|
-
|
|
8297
|
+
const work = routeHandler(request, response);
|
|
8298
|
+
if (waitUntilHook) waitUntilHook(work);
|
|
8299
|
+
await work;
|
|
8298
8300
|
return;
|
|
8299
8301
|
}
|
|
8300
8302
|
}
|
|
@@ -9696,7 +9698,7 @@ var runInteractive = async (workingDir, params) => {
|
|
|
9696
9698
|
await harness.initialize();
|
|
9697
9699
|
const identity = await ensureAgentIdentity2(workingDir);
|
|
9698
9700
|
try {
|
|
9699
|
-
const { runInteractiveInk } = await import("./run-interactive-ink-
|
|
9701
|
+
const { runInteractiveInk } = await import("./run-interactive-ink-CXH6FTAO.js");
|
|
9700
9702
|
await runInteractiveInk({
|
|
9701
9703
|
harness,
|
|
9702
9704
|
params,
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -2520,7 +2520,9 @@ export const createRequestHandler = async (options?: {
|
|
|
2520
2520
|
if (messagingByMethod) {
|
|
2521
2521
|
const routeHandler = messagingByMethod.get(request.method ?? "");
|
|
2522
2522
|
if (routeHandler) {
|
|
2523
|
-
|
|
2523
|
+
const work = routeHandler(request, response);
|
|
2524
|
+
if (waitUntilHook) waitUntilHook(work);
|
|
2525
|
+
await work;
|
|
2524
2526
|
return;
|
|
2525
2527
|
}
|
|
2526
2528
|
}
|
package/src/web-ui-client.ts
CHANGED
|
@@ -2509,11 +2509,11 @@ export const getWebUiClientScript = (markedSource: string): string => `
|
|
|
2509
2509
|
renderMessages(state.activeMessages, state.isStreaming);
|
|
2510
2510
|
loadConversations();
|
|
2511
2511
|
if (!wasStreaming && state.activeConversationId) {
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2512
|
+
const cid = state.activeConversationId;
|
|
2513
|
+
await streamConversationEvents(cid, { liveOnly: true });
|
|
2514
|
+
if (state.activeConversationId === cid) {
|
|
2515
|
+
pollUntilRunIdle(cid);
|
|
2516
|
+
}
|
|
2517
2517
|
}
|
|
2518
2518
|
return;
|
|
2519
2519
|
}
|
|
@@ -2540,11 +2540,11 @@ export const getWebUiClientScript = (markedSource: string): string => `
|
|
|
2540
2540
|
renderMessages(state.activeMessages, state.isStreaming);
|
|
2541
2541
|
loadConversations();
|
|
2542
2542
|
if (!wasStreaming && state.activeConversationId) {
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2543
|
+
const cid = state.activeConversationId;
|
|
2544
|
+
await streamConversationEvents(cid, { liveOnly: true });
|
|
2545
|
+
if (state.activeConversationId === cid) {
|
|
2546
|
+
pollUntilRunIdle(cid);
|
|
2547
|
+
}
|
|
2548
2548
|
}
|
|
2549
2549
|
});
|
|
2550
2550
|
|