Plugins can now do through the SDK what they did with direct native calls. The SDK checks plugin shutdown, so these APIs can move to an isolated plugin context later. - api.pty opens shell sessions. pty_open accepts an optional channel. A channel session sends its output as raw bytes to its own webview and sends no pty-data or pty-exit events. Without a channel, the events stay, so the released Terminal plugin keeps working. The host closes the open sessions of a plugin when the plugin stops. - api.files gives folder grants. The user selects the folder, the host keeps the grants of each plugin in its retained data, and the plugin uses an opaque grant ID. The host rejects names with folder parts, links, and files over the size limit. Sidecar JSON files replace the per-image settings commands. - api.services lets one plugin offer data to another plugin in the same window. The host copies arguments and results. - The folder methods of api.backgrounds are deprecated. They stay for released Background Slideshow versions. - The plugin reference lists the native calls of each plugin and the SDK member that replaces each call.
12 lines
420 B
TOML
12 lines
420 B
TOML
# Automatically generated - DO NOT EDIT!
|
|
|
|
[[permission]]
|
|
identifier = "allow-folders-read-sidecar"
|
|
description = "Enables the folders_read_sidecar command without any pre-configured scope."
|
|
commands.allow = ["folders_read_sidecar"]
|
|
|
|
[[permission]]
|
|
identifier = "deny-folders-read-sidecar"
|
|
description = "Denies the folders_read_sidecar command without any pre-configured scope."
|
|
commands.deny = ["folders_read_sidecar"]
|