mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
feat: finish the ai plugin (B18)
This commit is contained in:
1 parent
6b4d1432ab
commit
21937a6b02
193 files changed
+23429
-4244
No files matched your search
@@ -600,6 +600,11 @@ export interface TermixApp extends TermixAppInfo {
|
||||
* desktop app's connected remote server, anything else is `api`.
|
||||
*/
|
||||
apiFor: (origin?: unknown) => PluginApiClient;
|
||||
/**
|
||||
* A raw fetch on /plugin-api/<id>/<path> with core's auth, for a response
|
||||
* read as a stream (server-sent events), which `api` cannot do.
|
||||
*/
|
||||
fetch: (path: string, init?: RequestInit) => Promise<Response>;
|
||||
/** WebSocket URL and auth subprotocols for /plugin-ws/<id>/<path>. */
|
||||
wsUrl: (
|
||||
path: string,
|
||||
|
||||
Reference in new issue
Block a user