Skip to content

Programmatic API

import { search, resolve, install, sync, catalogSync } from "@karajan-family/atril";
const { block, available } = resolve({ task: "fix the flaky login test", role: "coder", root: ".atril" });

The entry exports search, resolve, resolveBlock, install, remove, status, expose, unexpose, persistentPieces, sync, generate, catalogSync, catalogUpdates, applyCatalogUpdate, installFromCatalog, importSkills, recommended, applyRecommended, detectPluginFormat, listPluginMarkdown, readPluginManifest, MARKER and VERSION.

status({ root }) returns the rows atril status --json prints. search returns marketplace plugins as hits of kind plugin; plugins: false leaves them out.

MIT

Karajan Code™ · AGPL-3.0