Commit Graph

287 Commits

Author SHA1 Message Date
William Valentin 8b1ed2f689 Make /model provider switch activate selected tier in minimal TUI 2026-02-15 19:53:42 -08:00
William Valentin d44bfc300b Handle Z.AI textual 401 errors for auth diagnostics 2026-02-15 19:50:15 -08:00
William Valentin dd15ccb927 Fix Z.AI credential resolution and improve 401 auth diagnostics 2026-02-15 19:47:27 -08:00
William Valentin 81c97a9df1 feat(memory): add experimental qmd search backend 2026-02-15 19:33:43 -08:00
William Valentin c6e3d09ecc feat(gateway): add sender presence tracking 2026-02-15 19:28:16 -08:00
William Valentin 421942f66d feat(automation): add isolated job delivery mode 2026-02-15 19:23:15 -08:00
William Valentin 0470647ee7 feat(models): add minimax and moonshot providers 2026-02-15 19:18:48 -08:00
William Valentin ef48a86f80 test: make suites robust in restricted environments 2026-02-15 18:39:39 -08:00
William Valentin 1a7b7f6ce8 feat(config): support PORT env override 2026-02-15 18:12:05 -08:00
William Valentin 81385745e6 fix(config): align default.yaml with server schema 2026-02-15 18:11:29 -08:00
William Valentin 035deb008b feat(cli): redact access_token in config output 2026-02-15 18:02:14 -08:00
William Valentin e0cb3b96cc feat(gateway): report Matrix service and redact access token 2026-02-15 18:02:14 -08:00
William Valentin bc8326cf4a feat(matrix): add Matrix channel adapter 2026-02-15 18:02:14 -08:00
William Valentin 5fdb9e5a83 feat(config): add Matrix channel config 2026-02-15 18:02:14 -08:00
William Valentin ab89378fce feat(security): enforce elevated mode and sandbox execution 2026-02-15 17:02:05 -08:00
William Valentin b574d170d1 feat(security): wire /elevate to session config 2026-02-15 16:59:18 -08:00
William Valentin 735f14d0b1 feat(security): add /elevate command and audit events 2026-02-15 16:56:49 -08:00
William Valentin 56e887a6bf feat(skills): audit scan results and block unroutable skills 2026-02-15 11:06:52 -08:00
William Valentin 83752d4e1c feat(skills): scan manifest spec and warn on missing permissions 2026-02-15 11:06:02 -08:00
William Valentin 6b4e7585b7 feat(skills): enforce scan during install 2026-02-15 11:03:13 -08:00
William Valentin 1f004e7d1b feat(skills): add static scanner and block unsafe skills 2026-02-15 11:02:11 -08:00
William Valentin 0d73d180da test(models): verify OpenAIClient baseURL wiring 2026-02-15 10:54:05 -08:00
William Valentin a624f5efb5 docs(cli): add Vercel provider to setup and doctor 2026-02-15 10:53:29 -08:00
William Valentin 87e942b4c5 feat(models): add Vercel AI Gateway provider 2026-02-15 10:52:03 -08:00
William Valentin 60e30a8138 cli: improve doctor auth diagnostics 2026-02-15 10:43:21 -08:00
William Valentin 7627e6e630 daemon: enforce auth_mode for OpenAI and Anthropic 2026-02-15 10:39:53 -08:00
William Valentin 7e390dd777 tui: extend /login for OpenAI key and Anthropic token 2026-02-15 10:32:13 -08:00
William Valentin 49c8ff620f cli: add openai-key and anthropic token flag 2026-02-15 10:29:31 -08:00
William Valentin 6375f56f67 auth: add Anthropic auth token storage 2026-02-15 10:27:32 -08:00
William Valentin bcf6c377d5 auth: add OpenAI API key storage 2026-02-15 10:26:19 -08:00
William Valentin 9755487793 config: add per-tier auth_mode 2026-02-15 10:23:03 -08:00
William Valentin 28304ac397 feat(audit): add correlation ids and redaction 2026-02-15 10:16:58 -08:00
William Valentin 67058c8719 feat(security): harden tool provenance and skill isolation 2026-02-15 10:16:55 -08:00
William Valentin 3451df41b9 feat(tools): enforce skill capabilities and secret scopes 2026-02-15 10:16:51 -08:00
William Valentin 9900f41057 feat(skills): validate manifest permissions 2026-02-15 10:16:46 -08:00
William Valentin 184ebe4480 models: add synthetic provider 2026-02-14 09:34:39 -08:00
William Valentin b22d6fa0ce feat(gateway): include audio + web_search in system.services 2026-02-14 09:27:42 -08:00
William Valentin 4bb4ad4fba fix(ui): show services in settings page 2026-02-14 09:19:57 -08:00
William Valentin 6212603821 fix(models): tighten audio capability + correct openai oauth content 2026-02-14 00:43:48 -08:00
William Valentin 4bb8c88fbe feat(auth): add anthropic api key storage and cli auth 2026-02-14 00:43:12 -08:00
William Valentin 0493660e7d feat(gateway): add system.services and dashboard services grid 2026-02-14 00:42:41 -08:00
William Valentin 4f3810ba4c Revert "Use local Whisper compose stack"
This reverts commit 5f833e84a6.
2026-02-13 23:28:49 -08:00
William Valentin 5f833e84a6 Use local Whisper compose stack 2026-02-13 22:22:04 -08:00
William Valentin 151b48310e orchestrator: recover from context overflow on fallback 2026-02-13 21:19:02 -08:00
William Valentin 944b2c916a routing: fast-path voice when transcription not configured 2026-02-13 18:35:04 -08:00
William Valentin 7df0569a39 feat(models): add Z.AI (GLM) credential integration and setup flow
Implement first-class Z.AI credential storage and authentication:

- New auth provider: src/auth/zai.ts for Z.AI API key management
- New CLI command: flynn zai-auth to store Z.AI API keys
- New TUI command: /login zai for interactive credential entry
- Modified src/auth/index.ts to register zai provider
- Modified src/cli/index.ts to register zai-auth command
- Modified src/cli/setup/providers.ts to include Z.AI in setup wizard
- Modified src/daemon/models.ts to support zhipuai use_oauth flag
- Modified src/daemon/clientFactory.test.ts to add Z.AI tests
- Modified src/frontends/tui/commands.ts to add login command
- Modified src/frontends/tui/minimal.ts to support credential prompts

This allows users to authenticate with Z.AI (GLM models) without
embedding secrets in config files. Credentials are stored securely in
~/.config/flynn/auth.json and resolved at runtime.

Updated state.json with new feature entry documenting the integration.
2026-02-13 16:23:49 -08:00
William Valentin cc54b3a10c feat(webchat): support image attachments 2026-02-13 15:03:48 -08:00
William Valentin 955b9e28e0 feat: add OpenAI OAuth, strict model overrides, and Gmail pull mode 2026-02-13 14:55:40 -08:00
William Valentin 8f644d5e25 feat(skills): add rollout promotion contract and sync planning state 2026-02-13 08:51:19 -08:00
William Valentin 46099664f0 feat(gateway): wire safe-point runtime cancellation for agent.cancel 2026-02-13 08:51:14 -08:00