@pachca/cli 2026.5.5 → 2026.6.0
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/CHANGELOG.md +12 -0
- package/README.md +2 -0
- package/dist/commands/bots/create.js +70 -0
- package/dist/commands/bots/get.js +33 -0
- package/dist/commands/bots/update.js +1 -1
- package/dist/commands/views/open.js +1 -1
- package/dist/data/alternatives.json +2 -0
- package/dist/data/changelog.json +40 -0
- package/dist/data/endpoints.json +1 -1
- package/dist/data/workflows.json +20 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/data/workflows.json
CHANGED
|
@@ -375,6 +375,26 @@
|
|
|
375
375
|
}
|
|
376
376
|
]
|
|
377
377
|
},
|
|
378
|
+
{
|
|
379
|
+
"title": "Создать бота через API и получить токен",
|
|
380
|
+
"skill": "pachca-bots",
|
|
381
|
+
"steps": [
|
|
382
|
+
{
|
|
383
|
+
"description": "Создай бота. Только пользовательским токеном (не токеном бота); `nickname` обязан заканчиваться на `_bot`. Параметры вебхука (Webhook URL, события, команды) можно задать сразу или позже",
|
|
384
|
+
"command": "pachca bots create --bot='{\"webhook\":{\"name\":\"Бот задач\",\"nickname\":\"tasks_bot\"}}'"
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"title": "Настроить бота с исходящим вебхуком",
|
|
390
|
+
"skill": "pachca-bots",
|
|
391
|
+
"steps": [
|
|
392
|
+
{
|
|
393
|
+
"description": "Создай бота, сразу указав Webhook URL и события в одном вызове (детали создания и работы с токеном — в сценарии «Создать бота через API и получить токен»)",
|
|
394
|
+
"command": "pachca bots create --bot='{\"webhook\":{\"name\":\"Бот задач\",\"nickname\":\"tasks_bot\",\"outgoing_url\":\"https://example.com/webhook\",\"events\":[\"message_new\"],\"trigger_on\":\"commands\",\"commands\":[\"/task\"]}}'"
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
},
|
|
378
398
|
{
|
|
379
399
|
"title": "Обновить Webhook URL бота",
|
|
380
400
|
"skill": "pachca-bots",
|