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