mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-04 16:14:07 +00:00
The assistant's new host calls come in four areas (context, actions, Files, the panel in every view), built side by side. Each area gets its own files under lib/plugin-sandbox/assistant for its permissions, method table, dispatcher, host feature flags and sandbox methods; the shared files only read the merged result. No area adds anything yet. The host features test now compares against the core flags plus the areas' flags.
9 lines
292 B
TypeScript
9 lines
292 B
TypeScript
// Area f of the assistant's host APIs, inside the plugin sandbox (see README.md).
|
|
|
|
import type { CallApi, RuntimeAdditions } from './runtime';
|
|
|
|
/** The methods this area adds to the plugin's api, by namespace. */
|
|
export function runtime(_callApi: CallApi): RuntimeAdditions {
|
|
return {};
|
|
}
|