Lolly
Otwórz aplikację

Penpot (kind: penpot)

Notatka: Lolly Work

This guide covers the optional organisation service. Configuration, console and API paths refer to your Work instance. The packaged console keeps its release-matched copy of this guide.

Federate an open, self-hostable Penpot instance as a design-system source. Two asset classes, handled differently:

Read-only; Penpot stays the source of truth.

What you need from Penpot

Credential shape

A single sealed string - the Penpot personal access token (sent as Authorization: Token …):

lw providers credential design-penpot     # prompts; never argv, never shell history

instance.json / lw providers add

{
  "id": "design-penpot",
  "kind": "penpot",
  "label": "Design Penpot",
  "options": { "baseUrl": "https://design.your-host.example", "teamId": "…", "format": "png", "scale": 2 },
  "mapping": { "typeMap": { "tokens": "tokens", "board": "image" }, "defaultType": "image" },
  "exposure": { "groups": ["design"], "tier": "reference" }
}

Verify

lw providers preview --kind penpot --options '{"baseUrl":"https://design.your-host.example"}'
lw providers health design-penpot

rpc get-profile <status> errors mean the instance URL or token is wrong, or the access-tokens flag is off. The exact RPC command/field names are confirmed against your live instance on first sync (the driver carries live-verify notes until then).

Notes / limits

See also: catalog · permissions.