@teamvibe/poller 0.1.37 → 0.1.39
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/claude-spawner.js +3 -0
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/claude-spawner.js
CHANGED
|
@@ -104,6 +104,9 @@ function buildPrompt(msg, resumeHint) {
|
|
|
104
104
|
if (msg.type === 'approval_response' && msg.approval) {
|
|
105
105
|
prompt += `\n\n**Action Response:** User ${msg.approval.approved ? 'APPROVED' : 'REJECTED'} the pending action: ${msg.approval.action_id}`;
|
|
106
106
|
}
|
|
107
|
+
if (msg.type === 'button_click' && msg.button) {
|
|
108
|
+
prompt += `\n\n**Button Click:** User clicked button \`${msg.button.action_id}\` with value \`${msg.button.value}\``;
|
|
109
|
+
}
|
|
107
110
|
if (resumeHint) {
|
|
108
111
|
prompt += `\n\n${resumeHint}`;
|
|
109
112
|
}
|
package/dist/types.d.ts
CHANGED