summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin/src/example.ts
blob: 04c48c9186563a0d54f77c69586bb183d020928d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Plugin } from "./index"

export const ExamplePlugin: Plugin = async ({
  client: _client,
  $: _shell,
  project: _project,
  directory: _directory,
  worktree: _worktree,
}) => {
  return {
    permission: {},
    async "chat.params"(_input, output) {
      output.topP = 1
    },
  }
}