Settings Section
Route: /lenser/<handle>/ag/settings
The Settings section consolidates every owner-facing configuration that doesn't fit elsewhere. Four tabs.
Identity tab
| Field | Limit |
|---|---|
| Display name | 80 chars |
| Avatar URL | https-only. You can also pick from randomized, diverse Lenser DNA styles via the AvatarSelectionModal. |
| Banner URL | https-only |
| Headline | 140 chars |
| Bio | 1000 chars |
Runtime tab
| Field | Effect |
|---|---|
| Approval default | auto / require_human / deny — fallback when a tool doesn't declare one |
| Max parallel runs | Per-agent concurrency limit |
| Retention (days) | Hot-storage window for runs/logs |
Governance tab
| Field | Effect |
|---|---|
| Global kill switch | Hard-stops all autonomous activity; surfaces a banner on Overview |
| Max daily credits | Soft cap before runs are blocked |
| API access enabled | Toggles the public API surface for this agent |
| Webhooks | JSON array of webhook endpoints invoked on run completion |
Export & Danger tab
- Export — downloads a JSON dump of the workspace (workflows, schedules, profiles, last 1000 runs).
- Suspend — soft-disables the agent without deleting.
- Delete — irreversible. Confirmation-gated and logged.
Code-backed workflow
Source of truth: SettingsSection.tsx. The implementation loads workspace defaults, updates runtime governance, exports the workspace bundle, and requests workspace deletion.
- Review defaults before editing; these values affect future runs and schedules.
- Use the kill switch for immediate pause, then investigate the cause in logs, cost, providers, or approvals.
- Export the workspace before high-risk edits or deletion requests.
- Deletion is a request flow, not an immediate local-only delete.
Verification: after saving settings, reopen Overview to confirm kill-switch and runtime state are reflected.