GET /api/v1/search/semantic (Vectorize + Workers AI embedding search) is only documented as a curl snippet in agents.tsx:93 and never called from the UI. Promote it to a live 'semantic mode' toggle in the command palette. This is maintainer-leaning because the endpoint 503s when AI is off (AI_RATE_LIMITER, AI binding), so it needs graceful degradation and the AI-availability decision belongs to the maintainer.
Deliverables
References
repo/workers/api.mjs:3016 (handleSemanticSearchRequest, 503 when AI off)
repo-ui/src/routes/agents.tsx:93 (curl snippet only)
repo-ui/src/components/metagraphed/command-palette-body.tsx (keyword /api/v1/search + deep-linking)
repo-ui/src/lib/metagraphed/queries.ts:4108 (searchQuery)
📸 Required: before/after screenshots (this is a UI change)
Non-negotiable. PRs that change UI must include a before/after screenshot table. PRs without it are automatically closed — no exceptions.
Rules:
- Show every page/feature you changed — before and after, one row each.
- Use the markdown table below. Screenshots go inside the table only — no large full-size images pasted elsewhere in the PR.
- Each cell is a clickable thumbnail (a small image linking to the full-size image) with a one-line caption underneath.
- Upload screenshots to the PR by drag-and-drop (GitHub hosts them on its CDN). Do NOT commit image files to the repo.
Copy this and fill it in (replace FULL_IMAGE_URL with the URL GitHub gives you after you drop the image in):
| Page / Feature | Before | After |
|---|---|---|
| `/your-route` | [<img src="FULL_IMAGE_URL" width="260">](FULL_IMAGE_URL)<br><sub>before: short caption</sub> | [<img src="FULL_IMAGE_URL" width="260">](FULL_IMAGE_URL)<br><sub>after: short caption</sub> |
size: M · maintainer-only (owner)
GET /api/v1/search/semantic (Vectorize + Workers AI embedding search) is only documented as a curl snippet in agents.tsx:93 and never called from the UI. Promote it to a live 'semantic mode' toggle in the command palette. This is maintainer-leaning because the endpoint 503s when AI is off (AI_RATE_LIMITER, AI binding), so it needs graceful degradation and the AI-availability decision belongs to the maintainer.
Deliverables
References
repo/workers/api.mjs:3016 (handleSemanticSearchRequest, 503 when AI off)repo-ui/src/routes/agents.tsx:93 (curl snippet only)repo-ui/src/components/metagraphed/command-palette-body.tsx (keyword /api/v1/search + deep-linking)repo-ui/src/lib/metagraphed/queries.ts:4108 (searchQuery)📸 Required: before/after screenshots (this is a UI change)
Non-negotiable. PRs that change UI must include a before/after screenshot table. PRs without it are automatically closed — no exceptions.
Rules:
Copy this and fill it in (replace
FULL_IMAGE_URLwith the URL GitHub gives you after you drop the image in):size: M · maintainer-only (owner)