claude-telegram-bot 0.3.27 → 0.3.28
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/bot.mjs +1 -2
- package/package.json +1 -1
package/bot.mjs
CHANGED
|
@@ -574,8 +574,7 @@ function classifyClaudeError(raw, code) {
|
|
|
574
574
|
function runClaude(prompt, sessionId, opts = {}) {
|
|
575
575
|
return new Promise((resolve) => {
|
|
576
576
|
const args = [
|
|
577
|
-
|
|
578
|
-
prompt,
|
|
577
|
+
`--print=${prompt}`,
|
|
579
578
|
"--output-format",
|
|
580
579
|
"json",
|
|
581
580
|
"--permission-mode",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-telegram-bot",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.28",
|
|
4
4
|
"description": "Drive Claude Code from Telegram — messages run headless `claude -p` in a project dir and replies come back to the chat. Zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|