Extension formatBeta
An extension is pure data: a manifest plus content (rules, agents, articles, forms, templates, reports).
An extension is a JSON document { manifest, contents }. No code runs in Hevia: every part is validated by the same validators as the product's own settings pages and installed as data. The package format is formatVersion: 1; the marketplace that accepts third-party packages is the second version of the marketplace ("marketplace v2").
Manifest
| Field | Rules |
|---|---|
formatVersion | 1 |
id | Slug, 3 to 19 characters. |
version | Semantic version x.y.z, strictly increasing. |
name, summary | German and English required; Spanish, French, Portuguese optional. |
publisher | { name, url? } |
categories, languages, regions | Where the extension fits. |
pricing | { model: FREE | INCLUDED | PER_SEAT | USAGE, unit?, note? }: a description, never an amount. |
requires | Platform level and package features. |
changelog | An entry for the current version is required. |
permissions | { scopes, hosts }: API scopes (only with an app) and the hosts data may go to. |
Contents
objectTypes, pipelines, lifecycleStages, automations, agents, procedures, articles, savedReplies, emailTemplates, forms, landingPages, reports, app (a private app draft with scopes and up to 3 webhooks) and httpTools (declared only, see the feature status).
Hard limits
- Up to 200 000 characters after validation (upload up to 400 KB), at most 30 items per kind.
- Keys only
[a-z0-9_]; unknown fields are errors. - Every URL in the content must be https and on a host declared in the manifest.
javascript:,data:,file:and credentials in URLs are refused. - An extension can never switch on automatic sending; messages are prepared for approval.
Check offline
npm run hevia-app -- validate package.json # lint, size, scopes, hosts, secret and code scan
npm run hevia-app -- pack package.json # canonical file and its hash
npm run hevia-app -- submit-dry package.json # everything the submission does, offline