Skip to content

v1.0.16

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:56

Hive v1.0.16: Pictures in Skills

A skill can now carry images and other binary files, whether you upload it as a zip or a queen
copies it from a folder.

Fixed

  • A skill can carry images. Uploading a zip on the Skills page refused any file that wasn't
    text ("binary file 'references/diagram.png' not supported yet"), and write_skill with
    source_path refused to copy one, so a skill with a diagram or a sample file couldn't be
    imported. Every supporting file is now written exactly as it came. A queen's request to add such a
    skill to the shared library lists each binary file by its size in the consent dialog.
  • A zip made on a Mac imports cleanly. The __MACOSX folder and .DS_Store files a Mac adds to
    a zip are skipped, as copying a skill folder already skips hidden files.
  • Copied text files keep their line endings. On Windows, a supporting file with Windows line
    endings was written with an extra carriage return on every line.

For code built on Hive

  • framework.skills.skill_writer.SkillFile.content is str | bytes, and build_draft accepts
    bytes as a file's content. file_content(raw) gives text when the bytes are UTF-8, else the
    bytes.
  • GET /api/sessions/{session_id}/skill-installs lists a binary file as {"path", "bytes"}
    instead of {"path", "content"}.

aden-tools is released at the same version. The two packages pin each other exactly.