Skip to content

Plugins vs scripts

Both use the hc name, but they serve different purposes:

Request scriptsPlugins
LifetimeOne-shot per sendLong-lived until deactivated
RuntimeutilityProcess + SESRenderer: registry + IPC; main: same runner
API scopeRequest, variables, tests, responseUI contributions, themes, storage, fs, HTTP hooks, IPC
Where definedCollection or request editorInstalled .hcp package

Request scripts cannot call plugin-only APIs. Plugins do not replace collection or request scripts for per-send logic. For the script hc reference (hc.request, hc.variables, hc.test, and related members), see Request scripts.