@xpert-ai/chatkit-host-automation
v0.3.5
Published
Host page automation tools for Xpert ChatKit client tools
Maintainers
Readme
@xpert-ai/chatkit-host-automation
Playwright-style host page automation tools for ChatKit client tool calls.
import { createHostPageAutomationClientToolHandler } from '@xpert-ai/chatkit-host-automation';
chatkit.setOptions({
frameUrl: '<url-to-chatkit-frame>',
api: {
/* ... */
},
onClientTool: createHostPageAutomationClientToolHandler(),
});The first version exposes a fixed tool allow-list:
host_page_snapshothost_page_clickhost_page_fillhost_page_presshost_page_selecthost_page_scrollhost_page_navigatehost_page_hoverhost_page_focushost_page_pointerhost_page_screenshothost_page_wait_for
Plain web hosts use the DOM fallback executor. The Chrome browser extension can upgrade the same client tools through the Chrome DevTools Protocol for richer snapshots and browser-level input.
