feat: transport registry and onboarding updates (#69)

This commit is contained in:
banteg
2026-01-08 12:55:15 +04:00
committed by GitHub
parent c0579a4ebd
commit 75d669bdd7
11 changed files with 442 additions and 110 deletions
+9 -1
View File
@@ -53,6 +53,7 @@ global config `~/.takopi/takopi.toml`
```toml
default_engine = "codex"
# optional, defaults to "telegram"
transport = "telegram"
[transports.telegram]
@@ -81,7 +82,7 @@ provider = "openai"
extra_args = ["--no-color"]
```
note: configs with top-level `bot_token` / `chat_id` must be migrated to `[transports.telegram]`.
note: configs with top-level `bot_token` / `chat_id` are migrated to `[transports.telegram]` on startup.
## projects
@@ -122,6 +123,13 @@ takopi opencode
takopi pi
```
list available transports (and override in a run):
```sh
takopi transports
takopi --transport telegram
```
resume lines always route to the matching engine; subcommands only override the default for new threads.
send a message to the bot.