Venolio

Add-ons: manifest reference

For developers

manifest.json sits next to Cargo.toml. It tells Venolio who made the add-on, what it may reach and which functions it exports. Venolio rejects unknown fields, scopes and entry point kinds instead of ignoring them, so a package never asks for something Venolio would silently drop. venolio-addon validate and venolio-addon build apply every rule below with Venolio’s own messages. The manifest is at most 64 KiB.

{
  "manifest_version": 1,
  "id": "com.example.page-digest",
  "name": "Page digest",
  "version": "0.1.0",
  "publisher": { "name": "Acme Studio", "url": "https://example.com" },
  "description": "Posts the pages changed since the last digest to a webhook.",
  "venolio_versions": ">=0.1.0, <2.0.0",
  "permissions": [
    { "scope": "pages:read", "reason": "Reads the titles and text of changed pages for the digest." },
    { "scope": "storage", "reason": "Remembers when the last digest was sent." },
    { "scope": "network", "hosts": ["hooks.example.com"], "reason": "Posts the digest to your webhook." }
  ],
  "entry_points": [
    { "id": "digest", "kind": "function", "export": "digest", "description": "Posts pages changed since the last digest." }
  ]
}

Fields

Field Required Rules
manifest_version yes 1.
id yes See id.
name yes 1–100 characters, no control characters, no leading or trailing spaces.
version yes A semantic version such as 1.2.0 or 2.0.0-beta.1. No build metadata (+…), at most 64 characters.
publisher.name yes 1–100 characters, same rules as name.
publisher.url no An https:// address of at most 300 characters, without a user name.
description no Up to 2000 characters. Line breaks are allowed.
venolio_versions yes A semver requirement such as ">=0.1.0, <2.0.0" (at most 100 characters). Venolio refuses to install or enable the add-on when its own version does not match.
permissions no The scopes the add-on asks for; see permissions.
entry_points yes 1–32 entries; see entry points.
triggers no Events the add-on can fire; see triggers.

id

Reverse-DNS style, 3–100 characters, at least two labels separated by dots. Each label has 1–63 lowercase letters, digits or hyphens and does not start or end with a hyphen: com.example.notes, io.acme.page-digest.

The ID is the add-on’s permanent identity in a workspace: an upgrade must keep it, and a workspace cannot install two add-ons with the same ID. Use a domain you control.

permissions

Each entry is { "scope": …, "reason": … }, plus hosts for network:

  • each scope at most once;
  • reason: 1–500 characters, shown to the administrator who approves the add-on. Say what the add-on does with the access, not what the scope is;
  • network.hosts: 1–20 different host names in lowercase, without scheme, port, path or wildcard. IP addresses and names under localhost, local, internal, lan, home, test, invalid, arpa and onion cannot be declared;
  • the other scopes take no hosts.

The scopes are pages:read, records:read, records:write, network, storage and automations:trigger. What each allows is in Permissions.

entry points

Field Rules
id Unique; starts with a lowercase letter, then lowercase letters, digits and _; up to 64 characters. This is what callers name.
kind function (runs when an administrator starts it), or an extension point: action (an automation step), webhook (runs for requests to its secret address), panel or block (shown in a page); see Extension points.
title Optional, 1–60 characters: the name people see for an action, panel or block.
export The name of the exported function, same character rules as id. With the SDK it is the name given to entry_point!.
description Up to 500 characters.

Venolio checks that every export exists in the module as a function with no parameters and no results.

triggers

Optional: at most 16 { "id", "description" } events the add-on fires with triggers.fire, to start automations administrators subscribe to them. id follows the entry point id rules and must be unique. Declare triggers together with the automations:trigger permission: both or neither.

Versions and upgrades

An upgrade installs a package with the same id and a different version. Venolio keeps the grants for the scopes and hosts the new manifest still asks for and drops the others. It never grants a new scope or host by itself: the administrator approves anything new.

About this part of Venolio: Let Claude, ChatGPT and Codex work in your workspace

Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.