mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-11 03:37:56 +00:00
Adds /configure/tools/<slug>, where a connected app's tools are listed with an Ask/Allow control on each one that can make changes. Reads are shown but not configurable — they never prompt. Backed by the tool-approvals endpoint, so the page shows the decision the runtime would actually reach rather than a separate client-side guess. Routing: pathToConfigureSection already gated viewMode through isConfigurePath, and its regex matched a single segment only, so a nested path would have silently fallen through to the dashboard. Widening it there means view-mode-context needs no change. /configure/tools with no slug still redirects to /configure, since that two-segment path keeps matching the existing [section] route. A connected server can expose hundreds of tools — a leased PostHog connection indexed around 520 — so the list is virtualised with @tanstack/react-virtual (already a dependency, previously unused) and has a search box, with change-making tools sorted first. The workspace connection renders read-only: org-shared credentials cannot write at all, so there is nothing to configure on one. Connector cards get a "Tools" link rather than becoming clickable, since each card already contains a dropdown and buttons and nesting interactives would break them. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent-space.test.ts | ||
| agent-space.ts | ||
| analytics.ts | ||
| billing-utils.ts | ||
| chat-auto-space.ts | ||
| chat-highlight-documents.ts | ||
| chat-memory-tools.test.ts | ||
| chat-memory-tools.ts | ||
| chat-search-memory-results.ts | ||
| chat-space-label.ts | ||
| chat-stream-error.ts | ||
| chat-web-search-tools.ts | ||
| company-brain-entry.ts | ||
| configure-routes.ts | ||
| constants.ts | ||
| extract-urls.test.ts | ||
| file-cache.ts | ||
| fonts.ts | ||
| ingest-auto-space.ts | ||
| integration-routes.ts | ||
| mcp-client-setup.ts | ||
| mcp-manual-instructions.ts | ||
| models.tsx | ||
| oauth-plugins.ts | ||
| plugin-catalog.ts | ||
| plugin-document.test.ts | ||
| plugin-document.ts | ||
| plugin-space.ts | ||
| search-params.ts | ||
| source-annotations.test.ts | ||
| source-annotations.ts | ||
| theme-provider.tsx | ||
| url-helpers.test.ts | ||
| url-helpers.ts | ||
| variants.ts | ||
| view-mode-context.tsx | ||