Update kit typings to host API v3; migrate kitchensink off agent.run - #20
Merged
Conversation
cate.panel.list gains url and becomes the single enumeration surface; browser.list, editor.active, browser back/forward/current, and the agent.run sugar are removed. Kitchensink's /api/agent-run route now composes agent.open -> send -> dispose, with dispose in a finally.
close() is exposed by the preload and documented in the Cate repo but was missing here. panel.list spans the workspace's windows, and screenshots now land in the OS temp dir instead of the Desktop.
Contributor
Author
|
Pushed a follow-up: panel.close was missing from the kit typings, plus corrected the panel.list scope note and the new screenshot temp dir location. Companion to 0-AI-UG/cate#478. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to 0-AI-UG/cate#445.
Kit typings now match host API v3:
panel.listgainsurlandfocus/listland on the panel namespace;browser.list,editor.active,browser back/forward/current, andagent.runare removed. New browserwaitandpressmethods typed.Kitchensink's
/api/agent-runroute was the onlyagent.runcaller; it now composesagent.open -> send -> disposewith dispose in a finally. The_kitcopies are the usual sync-kit output.Kit typecheck passes.