claude-telegram-bot 0.3.28 → 0.3.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/bot.mjs +1 -1
- package/package.json +1 -1
package/bot.mjs
CHANGED
|
@@ -574,7 +574,7 @@ function classifyClaudeError(raw, code) {
|
|
|
574
574
|
function runClaude(prompt, sessionId, opts = {}) {
|
|
575
575
|
return new Promise((resolve) => {
|
|
576
576
|
const args = [
|
|
577
|
-
|
|
577
|
+
"-p" + prompt, // 붙여쓰기로 -로 시작하는 값도 플래그로 오해 안 함
|
|
578
578
|
"--output-format",
|
|
579
579
|
"json",
|
|
580
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.30",
|
|
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": {
|