| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Implement a new top-level src deep-search command using the stable Sourcegraph 7.0 endpoints under /api/deepsearch.v1.Service/*. This command now supports: - create + async wait flow (CreateConversation + GetConversation polling) - read existing conversations via -read (resource name, numeric id, URL) - list conversation summaries via -list and -limit - JSON output mode (-json) and plain-text answer output Migration compatibility details: - sends stable CreateConversation payload shape with nested conversation/question input blocks - reads stable top-level conversation state oneof (processing/completed/error/canceled) - parses stable answer blocks (answer[].markdown.text) - keeps a legacy fallback only for read-token/shared URL lookups, since token lookup is not exposed in the stable API Also updates top-level command help text and adds focused tests for polling, payload parsing, identifier parsing, read-token fallback, and summary extraction.
|
Gonna also share some feedback the agent had after implementing this src-cli Architecture Improvements1) Shared REST/RPC Client Layer
2) Typed Endpoint Clients
3) Standard Async Operation Helper
4) Unified Output Abstractions
5) Command Design Consistency
6) Error Contract Helpers
7) Compatibility Layer Strategy
8) Test Tooling
9) Docs as Tests
src deep-search Future UX ImprovementsCommand UX
Output UX
Async/Wait UX
Read/List UX
Data Model + Parsing
Testing/Verification
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Implement a new top-level src deep-search command using the stable Sourcegraph 7.0 endpoints under /api/deepsearch.v1.Service/*.
This command now supports:
Migration compatibility details:
Also updates top-level command help text and adds focused tests for polling, payload parsing, identifier parsing, read-token fallback, and summary extraction.