Skip to content

Harnessed 0.23.0

Choose a tag to compare

@mathisarends mathisarends released this 20 Nov 12:00

Added

  • Use Plugin.with_instructions(...) to replace a plugin's prompt block or
    Plugin.without_instructions() to omit it. Both methods return a new recipe of
    the same plugin type and apply when composing an agent or mounting a plugin at
    runtime.
  • Use PrepareCompaction from harnessed.hooks to propose plugin handover
    notes for automatic, recovery or manual compaction. Accepted notes are
    prepended to the saved summary within the token budget.
    CompactionAppliedEvent.accepted_note_keys identifies the notes that were
    committed. See plugin handover notes.

Documentation

  • The examples form a three-stage learning path in examples.getting_started,
    examples.applications and examples.plugin_authoring.
    Run them as modules, for example uv run python -m examples.getting_started.01_tool_agent.
    The previous 05_tools_and_injection example is split into
    plugin_authoring.02_tool_context and plugin_authoring.08_failure_nudge.
    Remembered approvals moved to applications.01_approvals.

Upgrade from 0.22.0

  • Update commands that run examples to use their new module paths.
  • Existing persisted sessions need no migration. Conversation snapshots and
    JSON store envelopes remain at version 3, execution checkpoints at 4,
    and standalone audit envelopes at 7. Older compaction events decode with
    an empty accepted_note_keys tuple. Upgrade readers before writers in a staged
    rollout. 0.22.0 rejects the new field in audit events and in checkpoints
    that contain a compaction event in an open turn.

Full changelog