@lightcone-ai/daemon 0.9.29 → 0.9.30

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightcone-ai/daemon",
3
- "version": "0.9.29",
3
+ "version": "0.9.30",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -439,9 +439,12 @@ server.tool('execute_approved_action',
439
439
  const data = await api('POST', `/actions/${action_id}/execute`, {});
440
440
  if (data.error) return { isError: true, content: [{ type: 'text', text: `Failed: ${data.error}` }] };
441
441
  return { content: [{ type: 'text', text:
442
- `Action executed successfully.\n` +
442
+ `Action approved. Now call the appropriate platform tool to actually perform the operation.\n` +
443
443
  `actionType=${data.actionType} platform=${data.platform}\n` +
444
- `Payload confirmed: ${JSON.stringify(data.payload)}`
444
+ `Payload: ${JSON.stringify(data.payload)}\n\n` +
445
+ `For xhs_post: call publish_content(platform="xhs", ...) with the payload fields above.\n` +
446
+ `For douyin_post: call publish_content(platform="douyin", ...).\n` +
447
+ `For x_post: call post_tweet(...).`
445
448
  }]};
446
449
  } catch (err) {
447
450
  return { isError: true, content: [{ type: 'text', text: `Error: ${err.message}` }] };