example.ts 297 B

12345678910111213141516
  1. import { Plugin } from "./index"
  2. export const ExamplePlugin: Plugin = async ({
  3. client: _client,
  4. $: _shell,
  5. project: _project,
  6. directory: _directory,
  7. worktree: _worktree,
  8. }) => {
  9. return {
  10. permission: {},
  11. async "chat.params"(_input, output) {
  12. output.topP = 1
  13. },
  14. }
  15. }