feat(adapters): add capability flags to ServerAdapterModule #2
Reference in New Issue
Block a user
Delete Branch "feat/adapter-plugin-capabilities"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replace 4 hardcoded adapter type lists across the server and UI with declarative capability flags on
ServerAdapterModule, enabling external adapter plugins to declare their capabilities without modifying Paperclip source.supportsInstructionsBundle,instructionsPathKey, andrequiresMaterializedRuntimeSkillsoptional fields toServerAdapterModuleregistry.tsagents.tswith capability-aware helpers (with legacy fallbacks)capabilitiesobject inGET /api/adaptersresponseuseAdapterCapabilitiesReact hook for UI componentsAgentDetail.tsx,AgentConfigForm.tsx,OnboardingWizard.tsxdocs/adapters/creating-an-adapter.mdgemini_localwas missing fromAgentDetail.tsxisLocal allowlistTest plan
adapter-registry.test.ts: capability flags exposed, undefined when unset, correct on built-insadapter-routes.test.ts: capabilities in API response, correct per adapter, derived supportsSkillssupportsInstructionsBundle: truegets bundle editor🤖 Generated with Claude Code
Pull request closed