Files
nanobot/nanobot/channels/mochat/webui/index.ts
T
chengyongru 328e933d36 refactor: isolate runtime contracts and enforce import boundaries (#6166)
* 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
2026-10-13 13:56:28 +08:00

24 lines
832 B
TypeScript

import type { ChannelUiContribution } from "@/channel-plugins/types";
import { chatAppGuideUrl } from "@/channel-plugins/catalog";
export default {
presentation: {
logoUrl: "https://mochat.io/favicon.ico",
displayName: "MoChat",
initials: "MC",
color: "#111827",
setup: {
mode: "credentials",
docsUrl: chatAppGuideUrl("mochat"),
fields: [
{ key: "channels.mochat.clawToken", section: "credentials" },
{ key: "channels.mochat.baseUrl", section: "connection" },
{ key: "channels.mochat.agentUserId", section: "account" },
{ key: "channels.mochat.sessions", section: "access" },
{ key: "channels.mochat.panels", section: "access" },
{ key: "channels.mochat.allowFrom", section: "access" },
],
},
},
} satisfies ChannelUiContribution;