@lightcone-ai/daemon 0.15.13 → 0.15.14
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/package.json +1 -1
- package/src/chat-bridge.js +1 -1
package/package.json
CHANGED
package/src/chat-bridge.js
CHANGED
|
@@ -1701,7 +1701,7 @@ server.tool('execute_approved_action',
|
|
|
1701
1701
|
const data = await api('POST', `/actions/${action_id}/execute`, {});
|
|
1702
1702
|
if (data.error) return { isError: true, content: [{ type: 'text', text: `Failed: ${data.error}` }] };
|
|
1703
1703
|
if (data?.execution?.mode === 'user_daemon_job') {
|
|
1704
|
-
const actionId =
|
|
1704
|
+
const actionId = action_id; // use the parameter passed to this tool
|
|
1705
1705
|
const jobId = data.execution.publish_job_id;
|
|
1706
1706
|
// Poll until the daemon job finishes (max 5 min)
|
|
1707
1707
|
const deadline = Date.now() + 5 * 60 * 1000;
|