nexus/server/src/routes
Cody (Radius Red) ce8d9eb323 fix(server): preserve adapter-agnostic keys when changing adapter type
When the adapter type changes via PATCH, the server only preserved
instruction bundle keys (instructionsBundleMode, etc.) from the
existing config. Adapter-agnostic keys like env, cwd, timeoutSec,
graceSec, promptTemplate, and bootstrapPromptTemplate were silently
dropped if the PATCH payload didn't explicitly include them.

This caused env var data loss when adapter type was changed via the
UI or API without sending the full existing adapterConfig.

The fix preserves these adapter-agnostic keys from the existing config
before applying the instruction bundle preservation, matching the
UI's behavior in AgentConfigForm.handleSave.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-31 15:42:03 +00:00
..
access.ts Add company name to invite summaries 2026-03-30 14:14:14 -05:00
activity.ts Fix issue run lookup and heartbeat run summaries 2026-03-11 17:23:33 -05:00
agents.ts fix(server): preserve adapter-agnostic keys when changing adapter type 2026-03-31 15:42:03 +00:00
approvals.ts server: make approval retries idempotent (#499) 2026-03-10 12:00:29 -04:00
assets.ts Use attachment-size limit for company logos 2026-03-16 10:13:19 -05:00
authz.ts Show all companies' agents on instance heartbeats page 2026-03-23 16:57:33 -05:00
companies.ts test: fix post-sync verification regressions 2026-03-20 07:01:42 -05:00
company-skills.ts Add DELETE endpoint for company skills and fix skills.sh URL resolution 2026-03-19 12:05:27 -05:00
costs.ts fix: restore post-merge route verification 2026-03-20 17:09:57 -05:00
dashboard.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
execution-workspaces.ts Fix shared workspace close semantics 2026-03-29 10:55:26 -05:00
goals.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
health.ts Fix health DB connectivity probe 2026-03-30 14:14:14 -05:00
index.ts Add routines automation workflows 2026-03-19 08:39:24 -05:00
instance-settings.ts Add username log censor setting 2026-03-20 08:50:00 -05:00
issues-checkout-wakeup.ts Cut over OpenClaw adapter to strict SSE streaming 2026-03-05 15:54:55 -06:00
issues.ts Merge public-gh/master into PAP-881-document-revisions-bulid-it 2026-03-31 07:31:17 -05:00
llms.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
org-chart-svg.ts Improve generated company org chart assets 2026-03-23 16:58:07 -05:00
plugin-ui-static.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugins.ts Add kitchen sink plugin example 2026-03-13 23:03:51 -05:00
projects.ts Add workspace runtime controls 2026-03-29 10:55:26 -05:00
routines.ts fix: close remaining routine merge blockers 2026-03-20 16:40:27 -05:00
secrets.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
sidebar-badges.ts Fix inbox badge logic and landing view 2026-03-10 22:55:45 -05:00