For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/module-loader/type-aliases/ManifestV2.md.
  • 简体中文
  • Type Alias: ManifestV2

    type ManifestV2 = {
      schemaVersion: 2;
      id: string;
      name: string;
      configKey: string;
      requires: string[];
      permissions: string[];
      services?: {
         provides?: ServiceEntry[];
         requires?: ServiceEntry[];
      };
      notes?: string;
    };

    Defined in: module-loader/manifest-schema.ts:10

    模块 manifest schema — v2 + v3 语义字段。

    v2 schema 是当前所有已发布模块的契约(详见 schemas/sapi-manifest.v2.schema.json)。 v3 在 v2 之上新增 semantic 块,全部可选;

    运行时校验见 manifest.ts。

    Properties