* test: enforce Python import ownership boundaries * test: protect client import boundaries and rehome shared UI contracts * refactor: remove gateway and client dependency inversions * fix: detect dynamic imports in conditional expressions * refactor(tools): keep configuration contracts with their owners * docs: keep design guidance focused on ownership and checks * fix: preserve default threaded turn delivery
22 lines
725 B
TypeScript
22 lines
725 B
TypeScript
import type { ChannelUiContribution } from "@/channel-plugins/types";
|
|
import { chatAppGuideUrl } from "@/channel-plugins/catalog";
|
|
|
|
export default {
|
|
presentation: {
|
|
logoUrl: "https://napneko.github.io/assets/newnewlogo.png",
|
|
displayName: "NapCat",
|
|
initials: "NC",
|
|
color: "#F97316",
|
|
setup: {
|
|
mode: "credentials",
|
|
docsUrl: chatAppGuideUrl("napcat"),
|
|
fields: [
|
|
{ key: "channels.napcat.wsUrl", section: "connection" },
|
|
{ key: "channels.napcat.accessToken", section: "credentials" },
|
|
{ key: "channels.napcat.groupPolicy", section: "behavior" },
|
|
{ key: "channels.napcat.allowFrom", section: "access" },
|
|
],
|
|
},
|
|
},
|
|
} satisfies ChannelUiContribution;
|