spawn-skill 1.3.0 → 1.3.1

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.
Files changed (2) hide show
  1. package/bin/cli.js +2 -2
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -220,7 +220,7 @@ function send(type, payload) {
220
220
  }
221
221
 
222
222
  function sendText(text) {
223
- send('message', { content_type: 'text', text, format: 'plain' });
223
+ send('text', { content: text, format: 'markdown' });
224
224
  }
225
225
 
226
226
  function updateStatus(status, label) {
@@ -549,7 +549,7 @@ function send(type, payload) {
549
549
  }
550
550
 
551
551
  function sendText(text) {
552
- send('message', { content_type: 'text', text, format: 'plain' });
552
+ send('text', { content: text, format: 'markdown' });
553
553
  }
554
554
 
555
555
  function updateStatus(status, label) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spawn-skill",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Connect your AI agent to Spawn.wtf",
5
5
  "bin": {
6
6
  "spawn-skill": "./bin/cli.js"