@poncho-ai/cli 0.20.1 → 0.20.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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +6 -0
- package/dist/{chunk-J4OZUXG5.js → chunk-VRLHV23J.js} +20 -2
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{run-interactive-ink-S3D42QQY.js → run-interactive-ink-2YFB7AEJ.js} +1 -1
- package/package.json +1 -1
- package/src/web-ui-client.ts +19 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/cli@0.20.
|
|
2
|
+
> @poncho-ai/cli@0.20.2 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
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[32mESM[39m [1mdist/cli.js [22m[32m94.00 B[39m
|
|
11
|
-
[32mESM[39m [1mdist/run-interactive-ink-S3D42QQY.js [22m[32m55.30 KB[39m
|
|
12
|
-
[32mESM[39m [1mdist/chunk-J4OZUXG5.js [22m[32m383.23 KB[39m
|
|
13
11
|
[32mESM[39m [1mdist/index.js [22m[32m857.00 B[39m
|
|
14
|
-
[32mESM[39m
|
|
12
|
+
[32mESM[39m [1mdist/run-interactive-ink-2YFB7AEJ.js [22m[32m55.30 KB[39m
|
|
13
|
+
[32mESM[39m [1mdist/chunk-VRLHV23J.js [22m[32m384.02 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 62ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 3793ms
|
|
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,11 @@
|
|
|
1
1
|
# @poncho-ai/cli
|
|
2
2
|
|
|
3
|
+
## 0.20.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`dcb1b51`](https://github.com/cesr/poncho-ai/commit/dcb1b51ed3be9147c982ed75e3784de38e77bc2f) Thanks [@cesr](https://github.com/cesr)! - Fix polling fallback wiping approval buttons: hydrate pending approvals on each poll cycle so the approve/deny UI stays visible.
|
|
8
|
+
|
|
3
9
|
## 0.20.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -2567,7 +2567,25 @@ var getWebUiClientScript = (markedSource2) => `
|
|
|
2567
2567
|
var payload = await api("/api/conversations/" + encodeURIComponent(conversationId));
|
|
2568
2568
|
if (state.activeConversationId !== conversationId) return;
|
|
2569
2569
|
if (payload.conversation) {
|
|
2570
|
-
|
|
2570
|
+
var allPending = [].concat(
|
|
2571
|
+
payload.conversation.pendingApprovals || [],
|
|
2572
|
+
);
|
|
2573
|
+
if (Array.isArray(payload.subagentPendingApprovals)) {
|
|
2574
|
+
payload.subagentPendingApprovals.forEach(function(sa) {
|
|
2575
|
+
var subIdShort = sa.subagentId && sa.subagentId.length > 12 ? sa.subagentId.slice(0, 12) + "..." : (sa.subagentId || "");
|
|
2576
|
+
allPending.push({
|
|
2577
|
+
approvalId: sa.approvalId,
|
|
2578
|
+
tool: sa.tool,
|
|
2579
|
+
input: sa.input,
|
|
2580
|
+
_subagentId: sa.subagentId,
|
|
2581
|
+
_subagentLabel: "subagent " + subIdShort,
|
|
2582
|
+
});
|
|
2583
|
+
});
|
|
2584
|
+
}
|
|
2585
|
+
state.activeMessages = hydratePendingApprovals(
|
|
2586
|
+
payload.conversation.messages || [],
|
|
2587
|
+
allPending,
|
|
2588
|
+
);
|
|
2571
2589
|
renderMessages(state.activeMessages, payload.hasActiveRun);
|
|
2572
2590
|
}
|
|
2573
2591
|
if (payload.hasActiveRun) {
|
|
@@ -9661,7 +9679,7 @@ var runInteractive = async (workingDir, params) => {
|
|
|
9661
9679
|
await harness.initialize();
|
|
9662
9680
|
const identity = await ensureAgentIdentity2(workingDir);
|
|
9663
9681
|
try {
|
|
9664
|
-
const { runInteractiveInk } = await import("./run-interactive-ink-
|
|
9682
|
+
const { runInteractiveInk } = await import("./run-interactive-ink-2YFB7AEJ.js");
|
|
9665
9683
|
await runInteractiveInk({
|
|
9666
9684
|
harness,
|
|
9667
9685
|
params,
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/web-ui-client.ts
CHANGED
|
@@ -1036,7 +1036,25 @@ export const getWebUiClientScript = (markedSource: string): string => `
|
|
|
1036
1036
|
var payload = await api("/api/conversations/" + encodeURIComponent(conversationId));
|
|
1037
1037
|
if (state.activeConversationId !== conversationId) return;
|
|
1038
1038
|
if (payload.conversation) {
|
|
1039
|
-
|
|
1039
|
+
var allPending = [].concat(
|
|
1040
|
+
payload.conversation.pendingApprovals || [],
|
|
1041
|
+
);
|
|
1042
|
+
if (Array.isArray(payload.subagentPendingApprovals)) {
|
|
1043
|
+
payload.subagentPendingApprovals.forEach(function(sa) {
|
|
1044
|
+
var subIdShort = sa.subagentId && sa.subagentId.length > 12 ? sa.subagentId.slice(0, 12) + "..." : (sa.subagentId || "");
|
|
1045
|
+
allPending.push({
|
|
1046
|
+
approvalId: sa.approvalId,
|
|
1047
|
+
tool: sa.tool,
|
|
1048
|
+
input: sa.input,
|
|
1049
|
+
_subagentId: sa.subagentId,
|
|
1050
|
+
_subagentLabel: "subagent " + subIdShort,
|
|
1051
|
+
});
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1054
|
+
state.activeMessages = hydratePendingApprovals(
|
|
1055
|
+
payload.conversation.messages || [],
|
|
1056
|
+
allPending,
|
|
1057
|
+
);
|
|
1040
1058
|
renderMessages(state.activeMessages, payload.hasActiveRun);
|
|
1041
1059
|
}
|
|
1042
1060
|
if (payload.hasActiveRun) {
|