Commit Graph

386 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 94020cb7ea docs(plans): mark openclaw gap roadmap complete 2026-02-15 19:16:44 -08:00
William Valentin 9535cc59ee fix(nix): include pnpm in native build inputs 2026-02-15 18:50:47 -08:00
William Valentin 1dca110f3b fix(nix): pin fetchPnpmDeps hash 2026-02-15 18:50:13 -08:00
William Valentin ad9552cf65 fix(nix): migrate to fetchPnpmDeps and pnpmConfigHook 2026-02-15 18:49:09 -08:00
William Valentin 15aa80118c fix(nix): use pnpm.fetchDeps derivation and add flake lock 2026-02-15 18:47:08 -08:00
William Valentin 342f22db14 docs(plans): mark deployment targets complete 2026-02-15 18:33:13 -08:00
William Valentin 0176f5939b docs(state): record deployment targets verification 2026-02-15 18:28:50 -08:00
William Valentin 8d0016fd32 feat(deploy): add PaaS templates and config 2026-02-15 18:28:26 -08:00
William Valentin 2177413833 feat(deploy): add Nix flake + NixOS module 2026-02-15 18:26:10 -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 83b8bea5eb docs(plans): record Matrix adapter completion 2026-02-15 18:02:14 -08:00
William Valentin 8323fa6763 docs(state): add TODO for default config/server schema mismatch 2026-02-15 17:42:37 -08:00
William Valentin 4734515793 docs(plans): record elevated mode completion 2026-02-15 17:02:25 -08:00
William Valentin 692a0c5ea3 docs(api): clarify Tailscale auth config key 2026-02-15 11:24:47 -08:00
William Valentin c291af63f7 docs(deployment): align production guide with repo Dockerfile/compose and schema 2026-02-15 11:24:23 -08:00
William Valentin 4e28ca7c8f docs: align gateway auth docs with config schema 2026-02-15 11:22:59 -08:00
William Valentin e159476d31 docs(architecture): explain gateway session mapping and per-session queueing 2026-02-15 11:21:39 -08:00
William Valentin 6e3f1fdd3f docs: add start-here index and gateway lane-queue diagram 2026-02-15 11:20:32 -08:00
William Valentin 3f877db762 docs(plans): mark skill-safety-scanner completed 2026-02-15 11:07:13 -08:00
William Valentin a866073cd9 docs(plans): mark vercel-ai-gateway-provider completed 2026-02-15 10:54:21 -08:00
William Valentin a8307012f5 docs(plans): mark credential-system-v2 completed 2026-02-15 10:43:53 -08:00
William Valentin fac740f362 docs(architecture): add trust-boundary system map diagram 2026-02-15 10:39:46 -08:00
William Valentin f2cdd1abd2 docs: add safety docs and OpenClaw gap roadmap 2026-02-15 10:17:07 -08:00
William Valentin 892668cb2f docs(plan): OpenClaw-style personal agent without OpenClaw risks 2026-02-14 09:51:17 -08:00
William Valentin b9c752c9d8 docs: update OpenClaw gap analysis for synthetic provider 2026-02-14 09:39:20 -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 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 8a6cd7f559 docs: Add comprehensive documentation for production deployment and contribution
This commit adds 6 new documentation files to fill critical gaps:

- CONTRIBUTING.md: Developer onboarding guide with setup, workflow,
  code style, testing, and adding features

- TROUBLESHOOTING.md: Common issues and solutions for errors,
  model issues, tool issues, channel issues, gateway issues,
  configuration issues, and memory/database issues

- docs/api/PROTOCOL.md: Gateway JSON-RPC protocol documentation
  with connection, authentication, message format, methods,
  events, error codes, and example client implementation

- docs/api/TOOLS.md: Tools API documentation covering tool interface,
  input schema format, result format, tool patterns,
  tool registration, tool policy, execution flow, and
  builtin tools reference

- docs/deployment/PRODUCTION.md: Production deployment guide
  covering Docker deployment, systemd service, security,
  configuration, monitoring, backup & recovery, and
  performance tuning

- docs/performance/TUNING.md: Performance optimization guide
  covering context management, model routing, tool execution,
  memory & embeddings, session management, database
  performance, gateway performance, and resource usage

These files complement the existing excellent documentation
(README.md, AGENTS.md, ARCHITECTURE.md, STRUCTURE.md,
CONVENTIONS.md) to provide complete coverage for users,
developers, and operators.
2026-02-13 16:07:29 -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 9f81c01603 feat(session): persist model tier overrides per session
Store per-session config in SQLite and route /model and /reset through command fast-paths so channel sessions keep independent model selection across reconnects and restarts.
2026-02-13 01:04:26 -08:00
William Valentin 3472a0b926 docs(plans): add openclaw analysis and rollout checklists 2026-02-12 22:47:28 -08:00
William Valentin 7ae0fb51c2 feat(skills): add rollout status governance and promotion policy checks 2026-02-12 22:43:46 -08:00
William Valentin 43b584257f feat(skills): hash installer audit commands for shell runner telemetry 2026-02-12 22:20:14 -08:00