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> |
||
|---|---|---|
| .. | ||
| use-account-settings.ts | ||
| use-brain-models.ts | ||
| use-brain-settings.ts | ||
| use-company-brain.ts | ||
| use-connection-health.ts | ||
| use-connector-access.ts | ||
| use-container-tags.ts | ||
| use-delete-organization.ts | ||
| use-digests.ts | ||
| use-document-mutations.ts | ||
| use-full-document.ts | ||
| use-inferred-memories.ts | ||
| use-org-member-role.ts | ||
| use-org-settings.ts | ||
| use-org-summaries.ts | ||
| use-personalization.ts | ||
| use-plugin-space-meta.ts | ||
| use-processing-documents.ts | ||
| use-project-mutations.ts | ||
| use-research-status.ts | ||
| use-reset-organization.ts | ||
| use-space-context.ts | ||
| use-space-profile.ts | ||
| use-sync-runs.ts | ||
| use-token-usage.ts | ||
| use-tool-approvals.ts | ||
| use-trigger-sync.ts | ||