Commit Graph

15 Commits

Author SHA1 Message Date
Teknium
f1ccf436a2 feat(web): Perplexity Search API as a web_search + web_extract backend
Adds plugins/web/perplexity — a keyed-only WebSearchProvider over httpx:

- search: POST https://api.perplexity.ai/search (documented Search API),
  search_context_size=low so `snippet` stays description-sized;
  results[].snippet -> description, max_results capped at the API's 20.
- extract: POST /sdk/content/snippets — the query-relevant page-excerpt
  route behind `pplx content snippets` (the CLI's `content fetch` is
  deprecated upstream). web_extract has no query, so the URLs' path words
  serve as the relevance query; per-URL `error` entries survive a 200.
- Wired into the same touchpoints as the other keyed vendors: legacy
  backend set + credential ladder + availability probe (web_tools),
  registry preference walk, OPTIONAL_ENV_VARS, `hermes config`/status/
  dump key lists, nous_subscription direct-credential detection, setup
  summary, test conftests, docs.

Not a keyless-ring member (Perplexity has no anonymous tier). Related
closed PRs #9192 / #23981 / #45225 predate the plugin ABC.
2026-09-04 07:17:00 -07:00
Teknium
1e6cfaa0d0 simplify(compat): setup/model_switch/nous_subscription — drop 34 re-exports, repoint 14 callers + 26 test files (~100 sites) 2026-09-03 13:33:10 -07:00
Teknium
0c26446e15 refactor(hermes_cli): inline _try_poll, hoist datetime import, share _kv/_detail and _header/_lines 2026-09-03 00:11:01 -07:00
Teknium
f547fb64e5 refactor(hermes_cli): compact data tables, docstrings and body blanks in status/setup slice 2026-09-03 00:05:30 -07:00
Teknium
7f37919369 refactor(hermes_cli): setup_terminal/tts/summary/telegram share secret-prompt, xai-path, poll-tick helpers 2026-09-02 23:58:38 -07:00
Teknium
456377f704 refactor(hermes_cli): compact docstrings (keep WHY/invariants); final AST-neutral layout pass 2026-09-02 21:49:33 -07:00
Teknium
beeccf716c refactor(hermes_cli): replace per-function lazy 'from hermes_cli.setup/status import' with one bottom module alias 2026-09-02 21:16:32 -07:00
Teknium
46997ee7ed refactor(hermes_cli): statement packing (AST-neutral) 2026-09-02 20:50:24 -07:00
Teknium
076ede8d97 refactor(hermes_cli): AST-neutral layout compaction across group D 2026-09-02 20:47:53 -07:00
Teknium
8f03ede4f9 refactor(hermes_cli): setup summary — shared managed/provider row and plugin-probe helpers 2026-09-02 20:29:18 -07:00
Teknium
324701cd84 refactor(cli/setup_*): table-drive bluebubbles/vercel prompts, flatten telegram allowlist branches, compact prose 2026-09-02 16:04:47 -07:00
Teknium
1ac48ebe5a refactor(cli/setup.py): first-time mode table, quick-setup env-var helper, agent-settings summary table 2026-09-02 16:01:34 -07:00
Teknium
3ab00ea93a refactor(cli/setup.py): shared _info() line printer; pack print_info runs across setup modules 2026-09-02 15:57:06 -07:00
Teknium
4e64c5d1a1 refactor(cli/setup.py): drop dead _DEFAULT_PROVIDER_MODELS table and _setup_qqbot shim; compact prose, imports and banners 2026-09-02 15:53:44 -07:00
Teknium
9128bb5610 refactor(cli/setup.py): split wizard into setup_{tts,terminal,platforms,summary,migration,quick} modules; table-drive summary/agent settings; shared banner helper 2026-09-02 15:46:06 -07:00