verbalcoding 0.2.10 → 0.2.12

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 (94) hide show
  1. package/.env.example +27 -1
  2. package/README.es.md +132 -0
  3. package/README.fr.md +132 -0
  4. package/README.ja.md +132 -0
  5. package/README.ko.md +132 -0
  6. package/README.md +116 -74
  7. package/README.ru.md +132 -0
  8. package/README.zh.md +131 -0
  9. package/app-node/agent_adapters.mjs +37 -5
  10. package/app-node/agent_adapters.test.mjs +13 -1
  11. package/app-node/agent_detect.mjs +73 -0
  12. package/app-node/agent_detect.test.mjs +77 -0
  13. package/app-node/cli_install.test.mjs +5 -0
  14. package/app-node/install_config.mjs +5 -0
  15. package/app-node/main.mjs +339 -4
  16. package/app-node/notify.mjs +73 -0
  17. package/app-node/notify.test.mjs +68 -0
  18. package/app-node/plan_mode.mjs +174 -0
  19. package/app-node/plan_mode.test.mjs +153 -0
  20. package/app-node/smart_progress.mjs +94 -0
  21. package/app-node/smart_progress.test.mjs +66 -0
  22. package/app-node/stream_sentencer.mjs +61 -0
  23. package/app-node/stream_sentencer.test.mjs +64 -0
  24. package/app-node/streaming_tts_queue.mjs +48 -0
  25. package/app-node/streaming_tts_queue.test.mjs +58 -0
  26. package/app-node/text_routing.mjs +20 -0
  27. package/app-node/text_routing.test.mjs +23 -1
  28. package/docs/CONFIGURATION.md +69 -96
  29. package/docs/FRESH_INSTALL.md +105 -63
  30. package/docs/HERMES_VOICE.md +65 -0
  31. package/docs/MULTI_INSTANCE.md +16 -0
  32. package/docs/README.md +49 -0
  33. package/docs/RELEASE.md +42 -19
  34. package/docs/ROADMAP.md +38 -0
  35. package/docs/TROUBLESHOOTING.md +126 -0
  36. package/docs/USAGE.md +72 -40
  37. package/docs/assets/figures/verbalcoding-flow.svg +1 -1
  38. package/docs/i18n/CONFIGURATION.es.md +25 -0
  39. package/docs/i18n/CONFIGURATION.fr.md +25 -0
  40. package/docs/i18n/CONFIGURATION.ja.md +25 -0
  41. package/docs/i18n/CONFIGURATION.ko.md +25 -0
  42. package/docs/i18n/CONFIGURATION.ru.md +25 -0
  43. package/docs/i18n/CONFIGURATION.zh.md +25 -0
  44. package/docs/i18n/FRESH_INSTALL.es.md +27 -2
  45. package/docs/i18n/FRESH_INSTALL.fr.md +27 -2
  46. package/docs/i18n/FRESH_INSTALL.ja.md +27 -2
  47. package/docs/i18n/FRESH_INSTALL.ko.md +27 -2
  48. package/docs/i18n/FRESH_INSTALL.ru.md +27 -2
  49. package/docs/i18n/FRESH_INSTALL.zh.md +27 -2
  50. package/docs/i18n/HERMES_VOICE.es.md +46 -0
  51. package/docs/i18n/HERMES_VOICE.fr.md +46 -0
  52. package/docs/i18n/HERMES_VOICE.ja.md +46 -0
  53. package/docs/i18n/HERMES_VOICE.ko.md +65 -0
  54. package/docs/i18n/HERMES_VOICE.ru.md +46 -0
  55. package/docs/i18n/HERMES_VOICE.zh.md +46 -0
  56. package/docs/i18n/MULTI_INSTANCE.es.md +25 -0
  57. package/docs/i18n/MULTI_INSTANCE.fr.md +25 -0
  58. package/docs/i18n/MULTI_INSTANCE.ja.md +25 -0
  59. package/docs/i18n/MULTI_INSTANCE.ko.md +25 -0
  60. package/docs/i18n/MULTI_INSTANCE.ru.md +25 -0
  61. package/docs/i18n/MULTI_INSTANCE.zh.md +25 -0
  62. package/docs/i18n/README.es.md +20 -134
  63. package/docs/i18n/README.fr.md +20 -134
  64. package/docs/i18n/README.ja.md +20 -134
  65. package/docs/i18n/README.ko.md +20 -133
  66. package/docs/i18n/README.ru.md +20 -134
  67. package/docs/i18n/README.zh.md +20 -133
  68. package/docs/i18n/RELEASE.es.md +26 -1
  69. package/docs/i18n/RELEASE.fr.md +26 -1
  70. package/docs/i18n/RELEASE.ja.md +26 -1
  71. package/docs/i18n/RELEASE.ko.md +26 -1
  72. package/docs/i18n/RELEASE.ru.md +26 -1
  73. package/docs/i18n/RELEASE.zh.md +26 -1
  74. package/docs/i18n/TROUBLESHOOTING.es.md +39 -0
  75. package/docs/i18n/TROUBLESHOOTING.fr.md +39 -0
  76. package/docs/i18n/TROUBLESHOOTING.ja.md +39 -0
  77. package/docs/i18n/TROUBLESHOOTING.ko.md +39 -0
  78. package/docs/i18n/TROUBLESHOOTING.ru.md +39 -0
  79. package/docs/i18n/TROUBLESHOOTING.zh.md +39 -0
  80. package/docs/i18n/USAGE.es.md +25 -0
  81. package/docs/i18n/USAGE.fr.md +25 -0
  82. package/docs/i18n/USAGE.ja.md +25 -0
  83. package/docs/i18n/USAGE.ko.md +25 -0
  84. package/docs/i18n/USAGE.ru.md +25 -0
  85. package/docs/i18n/USAGE.zh.md +25 -0
  86. package/docs/superpowers/plans/2026-05-13-phase1-streaming-pipeline.md +122 -0
  87. package/docs/superpowers/plans/2026-05-13-phase10-push-notifications.md +152 -0
  88. package/docs/superpowers/plans/2026-05-13-phase2-agent-adapters.md +242 -0
  89. package/docs/superpowers/plans/2026-05-13-phase6-smart-progress.md +172 -0
  90. package/docs/superpowers/plans/2026-05-13-phase7-voice-plan-mode.md +108 -0
  91. package/package.json +2 -1
  92. package/scripts/cli.mjs +7 -4
  93. package/scripts/doctor.mjs +11 -0
  94. package/scripts/install.mjs +44 -1
@@ -0,0 +1,126 @@
1
+ # VerbalCoding Troubleshooting
2
+
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../README.md">README</a> ·
6
+ <a href="README.md">Docs hub</a> ·
7
+ <a href="FRESH_INSTALL.md">Fresh Install</a> ·
8
+ <a href="USAGE.md">Usage</a> ·
9
+ <a href="CONFIGURATION.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > Fast diagnosis for Discord voice, Docker UDP, tokens, channels, and doctor checks.
15
+ >
16
+ > Fast path: `vc doctor → check channel names → check UDP/permissions`
17
+ <!-- /readme-glow-up:intro -->
18
+
19
+ ## `Cannot perform IP discovery - socket closed`
20
+
21
+ This usually means the bot logged into Discord and found a voice channel, but Discord voice UDP discovery failed.
22
+
23
+ Typical log sequence:
24
+
25
+ ```text
26
+ Logged in as <bot-name>
27
+ auto-join failed; trying next configured voice channel <server> <channel> AbortError: The operation was aborted
28
+ voice connection error Error: Cannot perform IP discovery - socket closed
29
+ No auto-join channel found or reachable ... attempted <server>/<channel>
30
+ ```
31
+
32
+ Interpretation:
33
+
34
+ | Log signal | Meaning |
35
+ |---|---|
36
+ | `Logged in as ...` | Token and Discord gateway login worked. |
37
+ | `attempted <server>/<channel>` | Channel lookup worked; names are probably correct. |
38
+ | `AbortError` after ~30s | Voice connection did not become ready in time. |
39
+ | `Cannot perform IP discovery - socket closed` | UDP voice discovery failed, often because Docker/firewall/NAT blocked UDP. |
40
+
41
+ Fixes:
42
+
43
+ 1. Try outside Docker first to isolate container networking.
44
+ 2. On Linux Docker Compose, use host networking:
45
+
46
+ ```yaml
47
+ services:
48
+ verbalcoding:
49
+ network_mode: "host"
50
+ ```
51
+
52
+ 3. Remove `ports:` from the same service. Host networking and port publishing should not be combined.
53
+ 4. Check host firewall, cloud security group, VPN, proxy, or corporate network policies for outbound UDP blocking.
54
+ 5. On Docker Desktop for macOS/Windows, host networking behaves differently. If voice UDP still fails, run VerbalCoding directly on macOS/Linux host or in a Linux VM.
55
+
56
+ ## `No auto-join channel found or reachable`
57
+
58
+ First confirm the configured names:
59
+
60
+ ```bash
61
+ vc setup channels "VerbalCoding,LLM-Wiki,General"
62
+ vc doctor
63
+ vc start
64
+ ```
65
+
66
+ If the log includes `attempted Server/Channel`, the channel was found and the remaining issue is reachability, permissions, or UDP voice transport. If the log has no attempted channel, update the channel names exactly as they appear in Discord.
67
+
68
+ ## Missing Discord token
69
+
70
+ Run:
71
+
72
+ ```bash
73
+ vc setup token
74
+ # or:
75
+ vc setup token <bot-token> --client-id <discord-client-id>
76
+ vc doctor
77
+ ```
78
+
79
+ Do not paste real tokens into issues, logs, screenshots, or docs. `vc doctor` redacts configured token values.
80
+
81
+ ## Bot invited but cannot speak or send text
82
+
83
+ Verify Discord permissions on the exact channel/thread/voice room:
84
+
85
+ - View Channel
86
+ - Send Messages
87
+ - Send Messages in Threads
88
+ - Read Message History
89
+ - Use Application Commands
90
+ - Connect
91
+ - Speak
92
+
93
+ Channel-level overwrites can deny access even when the bot has server-level permissions.
94
+
95
+ ## Text delivery warning
96
+
97
+ ```text
98
+ sendText missing transcript channel id; text not delivered
99
+ ```
100
+
101
+ Voice can still work. This means `TRANSCRIPT_CHANNEL_ID` is unset, so restart/final/progress text cannot be mirrored to Discord text. Rerun setup or set a transcript text channel/thread ID.
102
+
103
+ ## Docker Compose host networking
104
+
105
+ Equivalent of `docker run --network=host`:
106
+
107
+ ```yaml
108
+ services:
109
+ verbalcoding:
110
+ network_mode: "host"
111
+ ```
112
+
113
+ Notes:
114
+
115
+ - Linux Docker: this is the most useful fix for Discord voice UDP issues.
116
+ - Docker Desktop macOS/Windows: host networking is limited/different; test on the host or a Linux VM if voice still fails.
117
+ - Do not include `ports:` for that service when using `network_mode: "host"`.
118
+
119
+ ## Doctor auto-fix behavior
120
+
121
+ `vc doctor` may install or repair local prerequisites on supported macOS/Linux installs. It does not create Discord secrets or authenticate external agent CLIs for you.
122
+
123
+ ```bash
124
+ vc doctor
125
+ VERBALCODING_DOCTOR_INSTALL_HERMES=0 vc doctor # skip Hermes CLI auto-install
126
+ ```
package/docs/USAGE.md CHANGED
@@ -1,45 +1,82 @@
1
1
  # VerbalCoding Usage Guide
2
2
 
3
- This page holds the operational details that used to make the README too long.
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../README.md">README</a> ·
6
+ <a href="README.md">Docs hub</a> ·
7
+ <a href="FRESH_INSTALL.md">Fresh Install</a> ·
8
+ <a href="USAGE.md">Usage</a> ·
9
+ <a href="CONFIGURATION.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > Operational command reference for the voice bridge.
15
+ >
16
+ > Fast path: `vc setup → vc start → speak or use !ask in Discord`
17
+ <!-- /readme-glow-up:intro -->
18
+
19
+ This page holds the operational details that should stay out of the README.
4
20
 
5
21
  ## CLI Commands
6
22
 
7
23
  ```bash
8
- vc status # show STT language, progress language, and TTS voice
9
- vc language en # English STT + English progress/TTS voice
10
- vc language ko # Korean STT + Korean progress/TTS voice
11
- vc language auto # Whisper auto-detect STT + English progress/TTS voice
12
- vc restart auto status # show commit-time voice-bot auto-restart setting
13
- vc restart auto on # enable commit-time voice-bot auto-restart
14
- vc restart auto off # disable it; this is the default
15
- vc bot invite CLIENT_ID # print a Discord invite URL with required permissions
16
- vc instance status # list per-instance bridge configs and process status
17
- vc instance setup NAME # write instances/NAME.env and create ~/.hermes/profiles/NAME
18
- vc instance start NAME # start ./run.sh instances/NAME.env detached
19
- vc instance stop NAME # stop a detached instance and remove its pid file
20
- vc doctor # run the redacted doctor check
21
- npm run mcp # run the stdio MCP server
24
+ vc setup # guided setup: prerequisites, Discord token, voice channels
25
+ vc setup --yes # non-interactive bootstrap/starter config for automation
26
+ vc setup --yes --no-wizard # dependency/bootstrap only
27
+ vc setup token # later update Discord bot token
28
+ vc setup token TOKEN --client-id ID # non-interactive token/client-id update
29
+ vc setup channels "General,Team Voice" # later update auto-join voice channel names
30
+ vc setup channel "General" # alias for setup channels
31
+ vc setup voice "General" # alias for setup channels
32
+ vc bot invite CLIENT_ID # print a Discord invite URL with required permissions
33
+ vc status # show STT language, progress language, and TTS voice
34
+ vc language en # English STT + English progress/TTS voice
35
+ vc language ko # Korean STT + Korean progress/TTS voice
36
+ vc language auto # Whisper auto-detect STT + English progress/TTS voice
37
+ vc restart auto status # show commit-time voice-bot auto-restart setting
38
+ vc restart auto on # enable commit-time voice-bot auto-restart
39
+ vc restart auto off # disable it; this is the default
40
+ vc instance list # list per-instance bridge configs
41
+ vc instance status [NAME] # show instance process status
42
+ vc instance setup NAME # write instances/NAME.env and create ~/.hermes/profiles/NAME
43
+ vc instance start NAME # start ./run.sh instances/NAME.env detached
44
+ vc instance stop NAME # stop a detached instance and remove its pid file
45
+ vc doctor # run the redacted doctor check and supported auto-fixes
46
+ vc start # start the default bridge
47
+ npm run mcp # run the stdio MCP server from a clone
22
48
  ```
23
49
 
24
- Language changes update `.env`; restart the bridge with `./run.sh` or your process manager for them to take effect.
50
+ For npm/global installs, prefer `vc ...` commands. Use `./scripts/install.sh` only from a GitHub clone.
51
+
52
+ `vc setup token` and `vc setup channels` are safe follow-up commands: they update `.env` in place, preserve unrelated keys, set file mode `0600`, and avoid printing secrets.
53
+
54
+ Language changes update `.env`; restart the bridge with `vc start`, `./run.sh`, or your process manager for them to take effect.
25
55
 
26
56
  ## Run Modes
27
57
 
28
58
  Single-instance bridge:
29
59
 
30
60
  ```bash
61
+ vc start
62
+ # clone equivalent:
31
63
  ./run.sh
32
64
  ```
33
65
 
34
66
  Per-instance bridge using a local override env:
35
67
 
36
68
  ```bash
69
+ vc instance start my-project
70
+ # clone/debug equivalent:
37
71
  ./run.sh instances/my-project.env
38
- # or
39
72
  VERBALCODING_INSTANCE_ENV=instances/my-project.env ./run.sh
40
73
  ```
41
74
 
42
- The bot auto-joins the first configured channel name, defaulting to `일반,General,general`.
75
+ The bot auto-joins the first matching configured channel name. Set it with:
76
+
77
+ ```bash
78
+ vc setup channels "VerbalCoding,LLM-Wiki,General"
79
+ ```
43
80
 
44
81
  ## Discord Commands
45
82
 
@@ -81,7 +118,7 @@ change voice to Korean female
81
118
  switch speaker to English
82
119
  ```
83
120
 
84
- The live bridge recognizes these as voice-control commands, updates `config/tts-voices.json`, updates the effective TTS env for the running process, and answers with a short confirmation such as “목소리를 Korean male로 바꿨어.” Use `!voice-test <text>` right after changing it to hear the current backend and voice.
121
+ The live bridge recognizes these as voice-control commands, updates `config/tts-voices.json`, updates the effective TTS env for the running process, and answers with a short confirmation. Use `!voice-test <text>` right after changing it to hear the current backend and voice.
85
122
 
86
123
  Built-in Edge voice types:
87
124
 
@@ -93,27 +130,12 @@ Built-in Edge voice types:
93
130
  | `english_male` | `en-US-GuyNeural` |
94
131
  | `english_female` | `en-US-AriaNeural` |
95
132
 
96
- For persistent manual config, set `TTS_BACKEND=edge`, `TTS_VOICE_TYPE=<voice-type>`, and optionally `TTS_VOICE=<edge-voice>` in `.env`, or edit `config/tts-voices.json` for custom voice catalogs.
97
-
98
- Backend-specific voice knobs:
99
-
100
- | Backend | Voice setting | Common choices |
101
- |---|---|---|
102
- | Edge | `TTS_VOICE_TYPE`, `TTS_VOICE` | `korean_male`, `korean_female`, `korean_multilingual_male`, `english_male`, `english_female`; any Edge voice from `edge-tts --list-voices` |
103
- | Supertonic | `SUPERTONIC_VOICE` | `M1`–`M5`, `F1`–`F5`; set `SUPERTONIC_LANGUAGE=ko|en|es|pt|fr` |
104
- | OpenVoice | `OPENVOICE_REF_AUDIO`, `OPENVOICE_STYLE` | a permitted reference WAV plus style such as `default` |
105
- | SpeechSwift / CosyVoice | `SPEECHSWIFT_REF_AUDIO`, `SPEECHSWIFT_ENGINE`, `SPEECHSWIFT_SPEAKER` | reference WAV for CosyVoice, or backend-supported speaker/model values |
106
-
107
- For Supertonic and local clone backends, use the backend env vars above plus `!voice-test <text>` to audition changes. Voice-command switching currently maps the built-in Edge-style voice types; richer backend catalogs can be added in `config/tts-voices.json`.
108
-
109
133
  ## Long Dictation and Pauses
110
134
 
111
- VerbalCoding waits for an idle window before sending speech to STT. The default `UTTERANCE_IDLE_MS=4500` is intentionally a bit patient so a natural pause in a long instruction does not split the sentence, start an agent turn too early, and then treat the rest as a processing-time interruption.
112
-
113
- If you prefer faster short commands, lower it in `.env`; if long Korean dictation is still being split, raise it:
135
+ VerbalCoding waits for an idle window before sending speech to STT. The default `UTTERANCE_IDLE_MS=4500` is intentionally patient so a natural pause in a long instruction does not split the sentence.
114
136
 
115
137
  ```bash
116
- UTTERANCE_IDLE_MS="6000"
138
+ UTTERANCE_IDLE_MS="6000" # safer for long dictation with pauses
117
139
  ```
118
140
 
119
141
  ## Verbose Progress Mode
@@ -128,7 +150,19 @@ Verbose progress is off by default unless `AGENT_VERBOSE_PROGRESS=1` is set. Ena
128
150
  🤖 Hermes Agent 응답 수신
129
151
  ```
130
152
 
131
- This mode asks the selected CLI harness to emit `VERBALCODING_PROGRESS: ...` lines and summarizes common tool markers from streaming stdout/stderr when available. Secret-looking fields are redacted and progress lines are removed from the final spoken answer.
153
+ Secret-looking fields are redacted and progress lines are removed from the final spoken answer.
154
+
155
+ ## Docker / Container Run Mode
156
+
157
+ If you run VerbalCoding in Docker and voice auto-join fails with `Cannot perform IP discovery - socket closed`, the likely issue is UDP connectivity, not channel lookup. For Linux Docker Compose:
158
+
159
+ ```yaml
160
+ services:
161
+ verbalcoding:
162
+ network_mode: "host"
163
+ ```
164
+
165
+ Remove `ports:` from that service. Docker Desktop for macOS/Windows has different host networking behavior; if UDP voice still fails there, run on the host or in a Linux VM. See [Troubleshooting](TROUBLESHOOTING.md).
132
166
 
133
167
  ## Latency Metrics
134
168
 
@@ -138,8 +172,6 @@ VerbalCoding writes per-turn latency records as JSONL. Default path:
138
172
  ./.logs/latency.jsonl
139
173
  ```
140
174
 
141
- Each record includes status, total time, voice capture time, utterance idle wait, STT time, agent time, TTS synthesis/playback time, chunk counts, transcript length, answer length, and audio levels where available.
142
-
143
175
  In Discord:
144
176
 
145
177
  ```text
@@ -154,7 +186,7 @@ The summary uses the latest 200 records: count, average, p95, max, and non-OK st
154
186
  ```bash
155
187
  node --check app-node/main.mjs
156
188
  npm test
157
- bash -n run.sh scripts/install.sh
189
+ bash -n run.sh scripts/install.sh scripts/bootstrap_prereqs.sh
158
190
  vc doctor
159
191
  ```
160
192
 
@@ -73,6 +73,6 @@
73
73
  <text x="594" y="194" fill="#FDE68A" text-anchor="middle" font-family="Inter, ui-sans-serif, system-ui" font-size="15" font-weight="700">Barge-in stays open while the agent is thinking or speaking</text>
74
74
 
75
75
  <rect x="150" y="348" width="900" height="54" rx="17" fill="#020617" stroke="#1F2937"/>
76
- <text x="182" y="382" fill="#A7F3D0" font-family="SFMono-Regular, ui-monospace, monospace" font-size="18">$ vc language ko &amp;&amp; vc instance start my-project</text>
76
+ <text x="182" y="382" fill="#A7F3D0" font-family="SFMono-Regular, ui-monospace, monospace" font-size="18">$ vc setup vc doctor → vc start</text>
77
77
  <text x="1045" y="382" fill="#64748B" text-anchor="end" font-family="Inter, ui-sans-serif, system-ui" font-size="15">hands-free coding call</text>
78
78
  </svg>
@@ -1,5 +1,30 @@
1
1
  # Configuración de VerbalCoding
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.es.md">README</a> ·
6
+ <a href="README.es.md">Centro de documentación</a> ·
7
+ <a href="FRESH_INSTALL.es.md">Fresh Install</a> ·
8
+ <a href="USAGE.es.md">Usage</a> ·
9
+ <a href="CONFIGURATION.es.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.es.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.es.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > Ruta rápida: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## Flujo setup actualizado
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ No edites `.env` manualmente: usa `vc setup token` para guardar `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID` y `vc setup channels` para guardar `AUTO_JOIN_VOICE_CHANNELS`. Si Docker muestra `Cannot perform IP discovery - socket closed`, usa `network_mode: "host"` en Linux Compose y elimina `ports:`.
27
+
3
28
  ## Asistente de configuración
4
29
 
5
30
  La configuración de la aplicación/bot de Discord no se vuelve a explicar desde cero aquí de forma intencionada. Usa estas guías originales para los pasos del lado de Discord y luego vuelve a la configuración de VerbalCoding:
@@ -1,5 +1,30 @@
1
1
  # Configuration de VerbalCoding
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.fr.md">README</a> ·
6
+ <a href="README.fr.md">Centre de documentation</a> ·
7
+ <a href="FRESH_INSTALL.fr.md">Fresh Install</a> ·
8
+ <a href="USAGE.fr.md">Usage</a> ·
9
+ <a href="CONFIGURATION.fr.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.fr.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.fr.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > Chemin rapide: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## Flux setup actuel
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ Ne modifiez pas `.env` à la main : utilisez `vc setup token` pour enregistrer `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID`, et `vc setup channels` pour `AUTO_JOIN_VOICE_CHANNELS`. Si Docker affiche `Cannot perform IP discovery - socket closed`, utilisez `network_mode: "host"` avec Compose sous Linux et supprimez `ports:`.
27
+
3
28
  ## Assistant de configuration
4
29
 
5
30
  La configuration du bot/de l'application Discord n'est volontairement pas réexpliquée depuis zéro ici. Utilisez ces guides amont pour les étapes côté Discord, puis revenez à la configuration de VerbalCoding :
@@ -1,5 +1,30 @@
1
1
  # VerbalCoding 設定
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.ja.md">README</a> ·
6
+ <a href="README.ja.md">ドキュメントハブ</a> ·
7
+ <a href="FRESH_INSTALL.ja.md">Fresh Install</a> ·
8
+ <a href="USAGE.ja.md">Usage</a> ·
9
+ <a href="CONFIGURATION.ja.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.ja.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.ja.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > 最短経路: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## 最新の setup フロー
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ 手動で `.env` を編集せず、`vc setup token` で `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID`、`vc setup channels` で `AUTO_JOIN_VOICE_CHANNELS` を保存してください。Docker で `Cannot perform IP discovery - socket closed` が出る場合、Linux Compose サービスに `network_mode: "host"` を使い、`ports:` を削除します。
27
+
3
28
  ## セットアップウィザード
4
29
 
5
30
  Discord ボット/アプリケーションのセットアップ手順は、ここでは最初から説明し直しません。Discord 側の手順には次の上流ガイドを使い、その後 VerbalCoding のセットアップに戻ってください:
@@ -1,5 +1,30 @@
1
1
  # VerbalCoding 설정
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.ko.md">README</a> ·
6
+ <a href="README.ko.md">문서 허브</a> ·
7
+ <a href="FRESH_INSTALL.ko.md">Fresh Install</a> ·
8
+ <a href="USAGE.ko.md">Usage</a> ·
9
+ <a href="CONFIGURATION.ko.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.ko.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.ko.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > 빠른 경로: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## 최신 setup 흐름
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ 수동 `.env` 편집 대신 `vc setup token`으로 `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID`를 저장하고, `vc setup channels`로 `AUTO_JOIN_VOICE_CHANNELS`를 저장하세요. Docker에서 `Cannot perform IP discovery - socket closed`가 보이면 Linux Compose 서비스에 `network_mode: "host"`를 사용하고 `ports:`를 제거하세요.
27
+
3
28
  ## 설정 마법사
4
29
 
5
30
  Discord 봇/애플리케이션 설정은 여기서 처음부터 다시 설명하지 않습니다. Discord 쪽 단계는 다음 업스트림 가이드를 사용한 뒤 VerbalCoding 설정으로 돌아오세요:
@@ -1,5 +1,30 @@
1
1
  # Конфигурация VerbalCoding
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.ru.md">README</a> ·
6
+ <a href="README.ru.md">Центр документации</a> ·
7
+ <a href="FRESH_INSTALL.ru.md">Fresh Install</a> ·
8
+ <a href="USAGE.ru.md">Usage</a> ·
9
+ <a href="CONFIGURATION.ru.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.ru.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.ru.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > Быстрый путь: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## Актуальный setup-процесс
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ Не редактируйте `.env` вручную: используйте `vc setup token` для `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID` и `vc setup channels` для `AUTO_JOIN_VOICE_CHANNELS`. Если Docker показывает `Cannot perform IP discovery - socket closed`, в Linux Compose используйте `network_mode: "host"` и удалите `ports:`.
27
+
3
28
  ## Мастер настройки
4
29
 
5
30
  Настройка Discord-бота/приложения намеренно не объясняется здесь с нуля. Используйте эти исходные руководства для шагов на стороне Discord, затем вернитесь к настройке VerbalCoding:
@@ -1,5 +1,30 @@
1
1
  # VerbalCoding 配置
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.zh.md">README</a> ·
6
+ <a href="README.zh.md">文档中心</a> ·
7
+ <a href="FRESH_INSTALL.zh.md">Fresh Install</a> ·
8
+ <a href="USAGE.zh.md">Usage</a> ·
9
+ <a href="CONFIGURATION.zh.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.zh.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.zh.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > 最快路径: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## 最新 setup 流程
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ 不要手动编辑 `.env`;使用 `vc setup token` 保存 `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID`,使用 `vc setup channels` 保存 `AUTO_JOIN_VOICE_CHANNELS`。如果 Docker 中出现 `Cannot perform IP discovery - socket closed`,请在 Linux Compose 服务中使用 `network_mode: "host"` 并移除 `ports:`。
27
+
3
28
  ## 设置向导
4
29
 
5
30
  这里有意不从头重新解释 Discord 机器人/应用设置。请先使用这些上游指南完成 Discord 侧步骤,然后回到 VerbalCoding 设置:
@@ -1,5 +1,30 @@
1
1
  # Instalación limpia
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.es.md">README</a> ·
6
+ <a href="README.es.md">Centro de documentación</a> ·
7
+ <a href="FRESH_INSTALL.es.md">Fresh Install</a> ·
8
+ <a href="USAGE.es.md">Usage</a> ·
9
+ <a href="CONFIGURATION.es.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.es.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.es.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > Ruta rápida: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## Flujo setup actualizado
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ No edites `.env` manualmente: usa `vc setup token` para guardar `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID` y `vc setup channels` para guardar `AUTO_JOIN_VOICE_CHANNELS`. Si Docker muestra `Cannot perform IP discovery - socket closed`, usa `network_mode: "host"` en Linux Compose y elimina `ports:`.
27
+
3
28
  Esta guía es para una instalación pública limpia. Evita suposiciones locales y usa el instalador para inicializar todo lo posible.
4
29
 
5
30
  ## 1. Instala la CLI
@@ -19,7 +44,7 @@ npx verbalcoding setup --yes
19
44
  Si usaste `npm install -g`, continúa con:
20
45
 
21
46
  ```bash
22
- vc setup --yes
47
+ vc setup
23
48
  ```
24
49
 
25
50
  Ruta de clonación de GitHub para colaboradores:
@@ -35,7 +60,7 @@ cd VerbalCoding
35
60
  En una instalación npm, no ejecutes `./scripts/install.sh` directamente; no hay un checkout del repositorio en tu directorio actual. Usa en su lugar el wrapper CLI empaquetado:
36
61
 
37
62
  ```bash
38
- vc setup --yes
63
+ vc setup
39
64
  ```
40
65
 
41
66
  `vc setup` ejecuta el `scripts/install.sh` incluido dentro del paquete npm instalado. Usa `./scripts/install.sh --yes` solo cuando estés dentro de un clon de GitHub:
@@ -1,5 +1,30 @@
1
1
  # Installation propre
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.fr.md">README</a> ·
6
+ <a href="README.fr.md">Centre de documentation</a> ·
7
+ <a href="FRESH_INSTALL.fr.md">Fresh Install</a> ·
8
+ <a href="USAGE.fr.md">Usage</a> ·
9
+ <a href="CONFIGURATION.fr.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.fr.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.fr.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > Chemin rapide: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## Flux setup actuel
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ Ne modifiez pas `.env` à la main : utilisez `vc setup token` pour enregistrer `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID`, et `vc setup channels` pour `AUTO_JOIN_VOICE_CHANNELS`. Si Docker affiche `Cannot perform IP discovery - socket closed`, utilisez `network_mode: "host"` avec Compose sous Linux et supprimez `ports:`.
27
+
3
28
  Ce guide couvre une installation publique propre. Il évite les hypothèses propres à une machine locale et utilise l'installateur pour amorcer autant d'éléments que possible.
4
29
 
5
30
  ## 1. Installer la CLI
@@ -19,7 +44,7 @@ npx verbalcoding setup --yes
19
44
  Si vous avez utilisé `npm install -g`, continuez avec :
20
45
 
21
46
  ```bash
22
- vc setup --yes
47
+ vc setup
23
48
  ```
24
49
 
25
50
  Chemin de clonage GitHub pour les contributeurs :
@@ -35,7 +60,7 @@ cd VerbalCoding
35
60
  Pour une installation npm, n'exécutez pas `./scripts/install.sh` directement : il n'y a pas de checkout du dépôt dans votre répertoire courant. Utilisez plutôt l'enveloppe CLI empaquetée :
36
61
 
37
62
  ```bash
38
- vc setup --yes
63
+ vc setup
39
64
  ```
40
65
 
41
66
  `vc setup` exécute le `scripts/install.sh` inclus dans le paquet npm installé. N'utilisez `./scripts/install.sh --yes` que lorsque vous êtes dans un clone GitHub :
@@ -1,5 +1,30 @@
1
1
  # 新規インストール
2
2
 
3
+ <!-- readme-glow-up:intro -->
4
+ <p align="center">
5
+ <a href="../../README.ja.md">README</a> ·
6
+ <a href="README.ja.md">ドキュメントハブ</a> ·
7
+ <a href="FRESH_INSTALL.ja.md">Fresh Install</a> ·
8
+ <a href="USAGE.ja.md">Usage</a> ·
9
+ <a href="CONFIGURATION.ja.md">Configuration</a> ·
10
+ <a href="TROUBLESHOOTING.ja.md">Troubleshooting</a> ·
11
+ <a href="MULTI_INSTANCE.ja.md">Multi-Instance</a>
12
+ </p>
13
+
14
+ > 最短経路: `npm install -g verbalcoding@latest → vc setup → vc doctor → vc start`
15
+ <!-- /readme-glow-up:intro -->
16
+
17
+ ## 最新の setup フロー
18
+
19
+ ```bash
20
+ npm install -g verbalcoding@latest
21
+ vc setup
22
+ vc doctor
23
+ vc start
24
+ ```
25
+
26
+ 手動で `.env` を編集せず、`vc setup token` で `DISCORD_BOT_TOKEN`/`DISCORD_CLIENT_ID`、`vc setup channels` で `AUTO_JOIN_VOICE_CHANNELS` を保存してください。Docker で `Cannot perform IP discovery - socket closed` が出る場合、Linux Compose サービスに `network_mode: "host"` を使い、`ports:` を削除します。
27
+
3
28
  このガイドは、クリーンな公開インストール向けです。ローカル環境だけに依存する前提を避け、インストーラーで可能な限りブートストラップします。
4
29
 
5
30
  ## 1. CLI をインストールする
@@ -19,7 +44,7 @@ npx verbalcoding setup --yes
19
44
  `npm install -g` を使った場合は、続けて次を実行します:
20
45
 
21
46
  ```bash
22
- vc setup --yes
47
+ vc setup
23
48
  ```
24
49
 
25
50
  コントリビューター向けの GitHub クローン手順:
@@ -35,7 +60,7 @@ cd VerbalCoding
35
60
  npm インストールでは、現在のディレクトリにリポジトリのチェックアウトがないため、`./scripts/install.sh` を直接実行しないでください。代わりにパッケージ済み CLI ラッパーを使います:
36
61
 
37
62
  ```bash
38
- vc setup --yes
63
+ vc setup
39
64
  ```
40
65
 
41
66
  `vc setup` は、インストール済み npm パッケージ内の `scripts/install.sh` を実行します。`./scripts/install.sh --yes` は GitHub クローン内にいる場合だけ使ってください: