Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

430 B
Raw Blame
import { defineConfig } from 'tsdown';

export default defineConfig({
  entry: {
    agents: 'src/agents/registry.ts',
    'switch-skill': 'src/switch-skill/index.ts',
  },
  // The skill is edited as Markdown and shipped inside the bundle as a string.
  loader: { '.md': 'text' },
  format: ['esm'],
  dts: true,
  deps: {
    neverBundle: ['zod', 'smol-toml', '@switch-console/core'],
  },
  sourcemap: true,
  clean: true,
});