From f6bc9238df9bfa95b0491bf8508459e0e6b3b83c Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Mon, 1 Sep 2025 17:35:48 -0400 Subject: docs: sdk --- packages/plugin/src/example.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'packages/plugin/src/example.ts') diff --git a/packages/plugin/src/example.ts b/packages/plugin/src/example.ts index a13c0fbac..04c48c918 100644 --- a/packages/plugin/src/example.ts +++ b/packages/plugin/src/example.ts @@ -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 }, } -- cgit v1.2.3