picoclaw/cmd/picoclaw/internal
taonyx a36472b55f
Add CLI support for custom OpenAI-compatible endpoints and remove TUI (#2710)
* feat(model): add `picoclaw model add` for custom OpenAI-compatible endpoints

Onboards a model from a user-supplied API base + key by hitting
GET <base>/models, prompting the user to pick one, and writing the entry
into model_list[] (with api_keys) plus setting it as the default model.
This was previously only available in the TUI launcher (issue #2208) and
is now accessible from the CLI:

    picoclaw model add -b URL -k KEY [-m MODEL] [-n ALIAS]

* chore: remove deprecated picoclaw-launcher-tui

Per RFC #2208, the TUI launcher is deprecated in favor of the CLI; its
"online model picker" feature has been ported to `picoclaw model add` in
the previous commit. This drops the binary and all build/release/docs
references:

- delete cmd/picoclaw-launcher-tui/ and assets/launcher-tui.jpg
- Makefile: remove the `build-launcher-tui` target
- .goreleaser.yaml: drop the build entry plus the `picoclaw-launcher-tui`
  ids from the launcher docker image, macOS notarize list, and nfpms
  contents
- docker/Dockerfile.goreleaser.launcher: drop the COPY for the TUI binary
- READMEs (root + 8 locales): remove the "TUI Launcher" section and
  screenshot link
- docs/guides/docker.*: update the "launcher image includes …" sentence
  to reflect the two remaining binaries

`make build` still succeeds; `go build ./web/backend` (the launcher
target) still succeeds. `picoclaw-launcher` (web console) is unaffected.
2026-04-29 17:52:47 +08:00
..
agent feat(logger): add PICOCLAW_LOG_FILE env var for file-only logging 2026-03-25 21:34:27 +08:00
auth Feat(channels): unify animated tool feedback across chat channels and Pico (#2622) 2026-04-23 10:35:50 +08:00
cliui feat(mcp): add show, add, list, remove, test, edit cli commands 2026-04-23 19:20:15 +02:00
cron refactor(cron): remove deliver and type params, unify agent execution path (#2147) 2026-03-29 22:52:34 +08:00
gateway fix: resolve PR2514 lint regressions 2026-04-14 14:49:23 +08:00
mcp fix(mcp): normalize local command paths and document env-file usage 2026-04-24 10:32:55 +02:00
migrate Feat/update migrate (#910) 2026-02-28 19:59:17 +08:00
model Add CLI support for custom OpenAI-compatible endpoints and remove TUI (#2710) 2026-04-29 17:52:47 +08:00
onboard onboard: drop unrelated go generate change from serial work 2026-04-28 12:58:26 +08:00
skills refactor skills registries and add GitHub-backed skill discovery (#2442) 2026-04-14 15:14:16 +08:00
status refactor: support explicit provider field in model list entries (#2609) 2026-04-22 11:28:47 +08:00
version feat(cli): structured terminal UI for PicoClaw CLI like modern CLIs (#2229) 2026-04-12 18:44:24 +08:00
helpers.go add pid file for gateway running and auth token for /reload and pico channel 2026-03-29 01:14:39 +08:00
helpers_test.go Merge branch 'main' into version 2026-03-19 18:04:58 +08:00