feat(plugin): support plugin-provided tools (#34619)

This commit is contained in:
Kit Langton 2026-06-30 13:18:56 -04:00 committed by GitHub
commit 194b0615e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 1633 additions and 959 deletions

View file

@ -1143,7 +1143,7 @@ export function Prompt(props: PromptProps) {
})
}
if (session?.revert) {
const error = await sdk.api.session.commit({ sessionID }).then(
const error = await sdk.api.session.revertCommit({ sessionID }).then(
() => undefined,
(error) => error,
)