Commit 59650af
committed
deep-search: add stable API command with read/list flows
Implement a new top-level command using the stable Sourcegraph 7.0 endpoints under .
This command now supports:
- create + async wait flow ( + polling)
- read existing conversations via (resource name, numeric id, URL)
- list conversation summaries via and
- JSON output mode () 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 ()
- parses stable answer blocks ()
- 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.1 parent fcfad36 commit 59650af
3 files changed
+900
-0
lines changed
0 commit comments