docs: sdk

This commit is contained in:
Dax Raad
2025-09-01 17:35:48 -04:00
parent 26f75d4e68
commit f6bc9238df
4 changed files with 137 additions and 25 deletions

View File

@@ -1,9 +1,15 @@
import { Plugin } from "./index"
export const ExamplePlugin: Plugin = async ({ client, $ }) => {
export const ExamplePlugin: Plugin = async ({
client: _client,
$: _shell,
project: _project,
directory: _directory,
worktree: _worktree,
}) => {
return {
permission: {},
async "chat.params"(input, output) {
async "chat.params"(_input, output) {
output.topP = 1
},
}