Expand description
§offline-registry
The knowledge core of the Offline Protocol CLI and MCP server: package manifests, skill documents, workflow definitions, and starter-template metadata, embedded into the binary and queryable offline.
Re-exports§
pub use example_apps::is_example_app_template;pub use example_apps::EXAMPLE_APP_TEMPLATE_IDS;pub use intent::classify_entrance;pub use intent::entrance_scores;pub use intent::mentions_existing_app;pub use intent::IntentMatch;pub use model::Architecture;pub use model::Capability;pub use model::CapabilityTerms;pub use model::Example;pub use model::PackageManifest;pub use model::Skill;pub use model::TemplateMeta;pub use model::TemplateVariable;pub use model::Workflow;pub use plan::architecture_markdown;pub use plan::classify_p2p;pub use plan::classify_p2p_app_kind;pub use plan::classify_p2p_profile;pub use plan::implementation_plan_markdown;pub use plan::normalize_platform;pub use plan::platform_label;pub use plan::restate_platform;pub use plan::unsupported_framework;pub use plan::P2pProfile;pub use plan::Plan;pub use plan::BROWSER_NOTE;pub use plan::PACKAGE_ONLY_PLATFORMS;pub use resolve::Resolution;pub use resolve::ResolvedPackage;pub use search::SearchHit;pub use store::Registry;pub use store::RegistrySource;pub use store::REGISTRY_DIR_ENV;
Modules§
- example_
apps - Built-in example-app scaffolds (offline-app-examples).
- intent
- Outcome-based routing for the workflow entrances.
- llms
- Generate
llms.txt-style digests of the registry so any LLM (with or without MCP access) can ingest the whole ecosystem in one read. - model
- Data model for the Offline Protocol registry: packages, workflows, skills, and template metadata.
- plan
- Plan a workflow, platform, and package set from a natural-language prompt.
- resolve
- Package resolution: expand a requested package set (or a workflow + platform) into the full ordered install list with versions, peer dependencies, platform-compatibility checks, and license call-outs.
- search
- Keyword search across packages, workflows, skills, and capabilities.
- search_
index - Pre-tokenized registry entries for fast keyword search.
- store
- Load the registry from the embedded copy or
OFFLINE_REGISTRY_DIR.
Enums§
Constants§
- CLI_
NPM_ PACKAGE - npm package that ships the
offlinebinary and its MCP server. - CLI_
VERSION - Version of this build. The npm package is published at the same version.
Functions§
- mcp_
serve_ command - Command and arguments that start this release’s stdio MCP server through
npx, so generated project configs work without a global
offlineinstall. - mcp_
serve_ command_ line mcp_serve_commandas one shell line, for docs and agent guidance.