@pellux/goodvibes-tui 0.19.33 → 0.19.35

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 (41) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +6 -3
  3. package/docs/foundation-artifacts/operator-contract.json +284 -112
  4. package/package.json +2 -2
  5. package/src/cli/management.ts +2 -2
  6. package/src/input/command-registry.ts +1 -0
  7. package/src/input/commands/cloudflare-runtime.ts +370 -0
  8. package/src/input/commands/local-auth-runtime.ts +4 -4
  9. package/src/input/commands/tts-runtime.ts +93 -10
  10. package/src/input/commands.ts +2 -0
  11. package/src/input/feed-context-factory.ts +1 -0
  12. package/src/input/handler-feed.ts +6 -0
  13. package/src/input/handler-modal-routes.ts +23 -10
  14. package/src/input/handler-modal-token-routes.ts +9 -0
  15. package/src/input/handler-onboarding-cloudflare.ts +391 -0
  16. package/src/input/handler-onboarding.ts +33 -0
  17. package/src/input/handler-picker-routes.ts +1 -1
  18. package/src/input/handler.ts +4 -1
  19. package/src/input/model-picker-types.ts +125 -0
  20. package/src/input/model-picker.ts +144 -135
  21. package/src/input/onboarding/onboarding-wizard-apply.ts +85 -0
  22. package/src/input/onboarding/onboarding-wizard-cloudflare-step.ts +494 -0
  23. package/src/input/onboarding/onboarding-wizard-cloudflare.ts +204 -0
  24. package/src/input/onboarding/onboarding-wizard-constants.ts +12 -1
  25. package/src/input/onboarding/onboarding-wizard-external-surface-extra-specs.ts +117 -0
  26. package/src/input/onboarding/onboarding-wizard-external-surfaces.ts +3 -41
  27. package/src/input/onboarding/onboarding-wizard-steps.ts +6 -6
  28. package/src/input/onboarding/onboarding-wizard-types.ts +8 -0
  29. package/src/input/settings-modal-types.ts +2 -1
  30. package/src/input/settings-modal.ts +30 -8
  31. package/src/renderer/buffer.ts +40 -2
  32. package/src/renderer/compositor.ts +25 -17
  33. package/src/renderer/model-picker-overlay.ts +70 -0
  34. package/src/renderer/settings-modal-helpers.ts +9 -0
  35. package/src/runtime/cloudflare-control-plane.ts +349 -0
  36. package/src/runtime/onboarding/apply.ts +9 -8
  37. package/src/runtime/onboarding/derivation.ts +26 -1
  38. package/src/runtime/onboarding/snapshot.ts +2 -0
  39. package/src/runtime/onboarding/types.ts +5 -1
  40. package/src/shell/ui-openers.ts +10 -1
  41. package/src/version.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,29 @@ All notable changes to GoodVibes TUI.
4
4
 
5
5
  ---
6
6
 
7
+ ## [0.19.35] — 2026-04-26
8
+
9
+ ### Added
10
+ - Home Assistant is now exposed as an external onboarding/settings surface with auto-start control, instance URL, access token, webhook secret, route conversation, daemon device, and event type fields.
11
+ - Cloudflare onboarding and `/cloudflare provision` now pass Tunnel token refs, Tunnel service URLs, Access app/service-token refs, and advanced KV/DO/R2/Secrets Store provisioning fields through to the SDK daemon routes.
12
+
13
+ ### Changed
14
+ - Updated `@pellux/goodvibes-sdk` to `0.25.11` for Cloudflare token-creation fixes, Home Assistant companion surface contracts, and redacted auth-session fingerprints.
15
+ - Local auth session listings now show SDK session fingerprints instead of assuming raw tokens are available; revoke-session accepts either a raw token or SDK fingerprint.
16
+ - Regenerated foundation operator contract artifacts from the SDK 0.25.11 contract.
17
+
18
+ ## [0.19.34] — 2026-04-26
19
+
20
+ ### Added
21
+ - Cloudflare onboarding support for optional Workers/Queues batch and remote daemon/control-plane provisioning.
22
+ - `/cloudflare` (`/cf`) runtime command for status, token requirements, bootstrap-token creation, discovery, validation, provisioning, verification, disable, and setup entry.
23
+ - Cloudflare settings category in `/settings`, including SDK `cloudflare.*` and `batch.*` keys.
24
+ - Documentation for Cloudflare token setup, daemon routes, onboarding fields, batch modes, and secret references.
25
+
26
+ ### Changed
27
+ - Updated `@pellux/goodvibes-sdk` to `0.25.10` for SDK-owned Cloudflare daemon routes, token creation, discovery, validation, provisioning, and config persistence.
28
+ - Onboarding Cloudflare provisioning failures are reported as warnings so local daemon usage is not blocked when optional Cloudflare setup needs follow-up.
29
+
7
30
  ## [0.19.33] — 2026-04-26
8
31
 
9
32
  ### Changed
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![CI](https://github.com/mgd34msu/goodvibes-tui/actions/workflows/ci.yml/badge.svg)](https://github.com/mgd34msu/goodvibes-tui/actions/workflows/ci.yml)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
- [![Version](https://img.shields.io/badge/version-0.19.33-blue.svg)](https://github.com/mgd34msu/goodvibes-tui)
5
+ [![Version](https://img.shields.io/badge/version-0.19.35-blue.svg)](https://github.com/mgd34msu/goodvibes-tui)
6
6
 
7
7
  A terminal-native AI coding, operations, automation, knowledge, and integration console with a typed runtime, omnichannel surfaces, structured memory/knowledge, and a raw ANSI renderer.
8
8
 
@@ -60,7 +60,7 @@ Deployment shapes:
60
60
  - local TUI only
61
61
  - TUI with in-process daemon/API host
62
62
  - source-run headless daemon/API host
63
- - omnichannel runtime with Slack, Discord, Telegram, webhook, Teams, Matrix, and other surfaces
63
+ - omnichannel runtime with Slack, Discord, Telegram, Home Assistant, webhook, Teams, Matrix, and other surfaces
64
64
  - remote peer/node-host runtime for distributed execution
65
65
 
66
66
  Typical workflows:
@@ -661,6 +661,7 @@ Current surfaces:
661
661
  - `discord`
662
662
  - `ntfy`
663
663
  - `webhook`
664
+ - `homeassistant`
664
665
  - `telegram`
665
666
  - `google-chat`
666
667
  - `signal`
@@ -733,7 +734,7 @@ Key commands:
733
734
  - `/auth local review`
734
735
  - `/auth local add-user <username> <password> [roles]`
735
736
  - `/auth local rotate-password <username> <password>`
736
- - `/auth local revoke-session <token>`
737
+ - `/auth local revoke-session <token-or-fingerprint>`
737
738
  - `/auth local clear-bootstrap-file`
738
739
 
739
740
  ### Integration helpers
@@ -989,6 +990,7 @@ These systems are first-class runtime families.
989
990
  - `web-search`: provider-backed search with verbosity control, evidence shaping, optional source fetching, and normalized results across DuckDuckGo, SearXNG, Brave, Exa, Firecrawl, Tavily, and Perplexity
990
991
  - `artifacts`: durable file/object storage for markdown, text, JSON, CSV, spreadsheets, PDFs, images, audio, video, and generated outputs, with metadata, content access, and delivery reuse
991
992
  - `voice`: provider-backed TTS/STT/realtime negotiation with OpenAI, ElevenLabs, Deepgram, Google, Microsoft, and Vydra; the TUI also supports live `/tts` spoken output through streaming TTS providers and local `mpv`/`ffplay` playback
993
+ - `cloudflare`: optional Workers/Queues batch execution and remote control-plane provisioning through SDK daemon routes; local immediate daemon behavior remains the default until Cloudflare and a batch mode are enabled
992
994
  - `multimodal`: unified image/audio/video/document analysis with packet building and optional knowledge write-back
993
995
 
994
996
  These surfaces are exposed through the daemon/API as well as the TUI panels and commands, giving future web and companion clients the same backend runtime.
@@ -1270,6 +1272,7 @@ Those pieces cover conversation-noise routing, panel-health/performance budgets,
1270
1272
  | `/voice [action]` | — | Review optional voice posture and export/inspect voice bundles |
1271
1273
  | `/tts <prompt>` | — | Submit a normal prompt and play the assistant response through live TTS |
1272
1274
  | `/config-tts [action]` | `/tts-config` | Open TTS configuration for provider, voice, and optional `/tts` response-model override |
1275
+ | `/cloudflare [action]` | `/cf` | Configure optional Cloudflare Workers/Queues batch and remote control-plane provisioning |
1273
1276
  | `/diff [target]` | `/d` | Show unified diff: session, head, working, staged, or a git ref |
1274
1277
  | `/mcp [tools]` | — | List connected MCP servers and their tools |
1275
1278
  | `/help [command]` | `/h`, `/?` | Show available commands and keyboard shortcuts |