2025-08-02 18:50:19 -04:00
|
|
|
import { Plugin } from "./index"
|
|
|
|
|
|
2025-09-01 17:35:48 -04:00
|
|
|
export const ExamplePlugin: Plugin = async ({
|
|
|
|
|
client: _client,
|
|
|
|
|
$: _shell,
|
|
|
|
|
project: _project,
|
|
|
|
|
directory: _directory,
|
|
|
|
|
worktree: _worktree,
|
|
|
|
|
}) => {
|
2025-08-02 18:50:19 -04:00
|
|
|
return {
|
|
|
|
|
permission: {},
|
2025-09-01 17:35:48 -04:00
|
|
|
async "chat.params"(_input, output) {
|
2025-08-03 21:42:45 -04:00
|
|
|
output.topP = 1
|
2025-08-03 21:19:03 -04:00
|
|
|
},
|
2025-08-02 18:50:19 -04:00
|
|
|
}
|
|
|
|
|
}
|