GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — loadSkillFromZipBuffer | ADK for TypeScript: API Reference - v2.5.0

  • loadSkillFromZipBuffer

Function loadSkillFromZipBuffer

  • loadSkillFromZipBuffer(zipBuffer: Buffer): Skill

    Loads a complete skill directly from in-memory zip file buffer.

    The whole archive is rejected if any member name escapes the extraction root, and the skill name must be a bare path segment.

    Parameters

    • zipBuffer: Buffer

      The raw Buffer of the zip file containing the skill.

    Returns Skill

    A Skill object with all components loaded.

    Throws

    If the archive has no SKILL.md.

    Throws

    If a member name is a traversal path, or if the skill name is missing or is not a bare path segment.

    • Defined in core/src/skills/loader.ts:454
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.