Skip to content

Releases

0.3.3

Choose a tag to compare

@showxu showxu released this 01 Dec 07:12
0.3.3
a5150eb

Fixed

  • Materialize only the Git files needed by the resolved ledger. Combined updates retire oversized and expired pins in the same transaction as deployments.
  • Preserve live-edit skill paths during filtered updates and pin maintenance.
  • Store exact Git instruction and include coordinates for Antigravity rules. Existing self-contained locks can still restore their outputs offline.
  • Check locked instruction bodies, includes and prompt inputs independently of deployed files during doctor audits.

0.3.2

Choose a tag to compare

@showxu showxu released this 30 Nov 17:14
0.3.2
c6365a6

Added

  • Support kind: hostPlugin declarations for Codex, Claude Code, and Antigravity in agents.yaml with explicit recipient validation and manifest schema generation.
  • Add HostPluginExecutor in AgentsUpdates for read-only filesystem inspection and preview (inspect, preview) plus explicit, lock-external host plugin synchronization (sync(apply:)), using OwnedDuplexProcess with closed stdin, bounded timeouts, and mandatory filesystem readback after every command.
  • Add SkillGovernance.inspect in AgentsUpdates for deterministic doctor checks covering host plugin drift, unmanaged legacy Codex shared-root symlinks, realpath-resolved plugin-vs-standalone skill collisions, and per-host UTF-8 always-visible skill listing estimates (supporting SLASH_COMMAND_TOOL_CHAR_BUDGET for Claude Code).
  • Recognize portable root plugin.json manifests declaring the exact Agent Plugins 1.0 $schema, coalesce dual .claude-plugin/plugin.json + root plugin.json bundles into a single catalog entry, and discover skills through .agents/plugins/marketplace.json.

Changed

  • Route new user-scope Codex skill deployments to $CODEX_HOME/skills (~/.codex/skills) under a dedicated skills-codex-private ledger root while preserving historical ledger and journal paths. Selected deployments migrate after ownership and destination checks. Unselected deployments retain their recorded paths, and leaves shared with other agents retain their ownership.
  • Include ~/.agents/skills in AgentRegistry.nativeUserScanDirectories for Antigravity.

0.3.1

Choose a tag to compare

@showxu showxu released this 29 Nov 08:20
0.3.1
ce6640a

Fixed

  • Swift packages can depend on Core by semantic version. Core uses the published
    MCP Swift SDK 0.12.1 release.
  • Cancelled lifecycle commands have time to finish their termination handlers.
    Subprocess cleanup reports success when the owned process group has stopped
    and its leader has been reaped within the cleanup deadline.

Removed

  • Removed ExistingGlobalConfiguration, which converted user agents.json
    declarations and version 1 locks. Finish any pending conversion with the
    version that started it before upgrading. Declare user configuration in
    ~/.agents/agents.yaml and use the standard preview and apply flow.

0.3.0

Choose a tag to compare

@showxu showxu released this 28 Nov 11:06
0.3.0
7ccd7cb

Added

  • Select instruction recipients per client, install Antigravity global rules and
    generate copyable instructions for ChatGPT App and Gemini App.

  • Back up local sessions and configuration for Codex, Claude Code and Gemini CLI,
    with a file-level preview before restoring.

  • Discover MCP servers through a registry, apply source policies, and export or
    import portable configuration bundles.

  • Linux support.

  • The AgentsManifest library reads and edits YAML declarations, reports field
    locations and preserves comments and unrelated text during configuration edits.

  • Consumers can inspect and import sources, select exported groups, preview
    native component changes and apply the reviewed configuration. An explicit
    MCP connection test supports initialization and tool discovery.

Changed

  • Projects declare configuration in .agent/agents.yaml and users in
    ~/.agents/agents.yaml. Prepare and verify the declaration in each existing
    scope before applying it with the updated CLI. See the
    manifest reference.
  • agents.resolved uses the version 2 JSON ledger. It records locked resources
    and ownership of native configuration. Both CLI consumers must use the same
    ledger format. See state and recovery.

0.2.0

Choose a tag to compare

@showxu showxu released this 27 Oct 03:11
0.2.0
65df60e

Added

  • Instructions files may sit in subdirectories of instructions/ and
    .agents/instructions/; a file's name is its container-relative path, such
    as epd/review.
  • A project's own instructions in .agent/instructions/ are selected by bare
    name and read from the working tree. InstructionAddOptions(source: ".")
    adds them; listOwn(environment:) lists them. Restoring a lock fails with
    InstructionError.ownChanged when an own file changed since the lock.
  • Front matter paths scopes a section: its patterns are named after its first
    heading, and in project scope the section is written to the AGENTS.md of
    the directory the patterns share.
  • InstructionOperations.export(projectRoots:environment:) maps the locked
    targets of the user scope and given projects to their sections.
  • Doctor reports own files changed since the lock and links in generated
    targets that no longer resolve.

Changed

  • Breaking: an instructions file needs front matter with a description,
    and its body may start at any heading level. Add front matter to existing
    files; headings are written as authored.
  • Breaking: targets are generated in full: a notice line followed by the
    sections. Custom content in targets, managed blocks, title detection, heading
    offsets and adoption of matching custom sections are gone. Move hand-written
    content into instructions files. A file is owned when it is blank or starts
    with the notice; writing over any other file needs replace, and
    InstructionError.unownedTargets names it. Upgrading from 0.1.2 therefore
    takes over targets that kept custom content only with replace.
  • Breaking: InstructionTargetChange.assembly is replaced by foreign,
    and InstructionDrift is clean, drifted or missing. Diagnostic kinds
    missingBlock, adoption and conflict are removed; missingTarget,
    foreignTarget, ownChanged and invalidLink are added.
  • Breaking: initializeInstructions(named:environment:) replaces
    initializeInstructions(named:directory:) and creates
    .agent/instructions/<name>.md in the project, using the project's state
    lock.
  • A declaration may omit sources.
  • agents.json and agents.resolved are written in Prettier's default JSON
    layout: two-space indentation, "key": value, expanded objects, empty
    containers as {} and [], and an array on one line when it fits in 80
    columns. Any operation that writes state rewrites a file in another layout,
    such as the one earlier versions wrote, even when its content is unchanged.
    Empty lock sections remain so earlier readers decode the lock.
  • A local link in a section must resolve, from the target, to a file in the
    checkout being written; user targets accept no local links.
  • Removing a name that equals a declared reference removes that reference, so
    an own file's bare name no longer collides with a source's same-named file.
  • Install restores the locked Claude import files instead of recomputing them.
  • A nested target's directory cannot be a symbolic link, .git, or inside
    another repository. Discovery skips AGENTS.md and GEMINI.md in
    containers, and a symbolic link at or below a source's search path is an
    error.
  • Doctor reports a Claude file that keeps Claude Code from reading a generated
    nested AGENTS.md, and checks root forwarding only when the root
    AGENTS.md is a Claude target.
  • A target that no longer receives sections is deleted only while it equals its
    locked rendering.

Fixed

  • Materializing a source and copying a subtree keep a dangling symbolic link
    that stays inside, such as one to an uncommitted file, instead of rejecting
    the whole source; a link that leaves the tree is still rejected.
  • Doctor's Codex size check counts only the project chain, as Codex does: the
    user file is loaded separately without a limit, separators are not counted,
    whitespace-only files add nothing, fallback names apply in every directory,
    and an existing AGENTS.override.md, even an empty one, hides AGENTS.md.

0.1.2

Choose a tag to compare

@showxu showxu released this 25 Oct 08:09
0.1.2
b4c17da

Added

  • AgentsUpdates composes skill and instruction updates from one scope
    generation. UpdateOperations.preview returns a combined report;
    withPreparedUpdate holds the writer lock through preparation, rendering
    and a single recoverable apply. Its one-use handle expires at closure exit.
  • Skill update results include oldVersion, newVersion, lockMissing and
    per-agent SkillMembershipChange rows, including unchanged and pinless
    live installations. Missing lock records do not grant ownership of existing
    targets.
  • UpdateApplyError distinguishes confirmed unchanged, committed and
    recovery-required outcomes and preserves the underlying error.

Changed

  • Breaking: Require Swift 6.3 or newer and macOS 15 or newer. Upgrade the
    consumer toolchain and raise downstream macOS deployment targets to 15.
  • Breaking: SkillFileEntry.file(Data) becomes
    file(Data, executable: Bool). Upgrade constructors and pattern matches to
    supply or read the Boolean, which means any execute bit is set. Render it
    separately from content; it is not a complete permission mask.
  • Breaking: synthesized Codable reports have a new file-case payload
    and required UpdateResult.lockMissing and membership fields. Update
    serialized report fixtures and custom codecs; old reports are not reusable
    apply plans. CLI JSON adapters remain owned by their consumer repositories.
  • Standalone update callbacks retain their signatures and receipt semantics.
    Updates now reject changes to state, target identities, skill content/mode,
    instruction bytes and forwarding inputs made during the callback. Live
    source contents remain live, with identity and skill metadata revalidated.

Fixed

  • Report and apply executable-only changes, including local copy drift at an
    unchanged pin. Verify prepared, cached and staged modes separately from the
    unchanged persistent tree hashes and version 1 state formats.
  • Resolve shared sources once during combined planning, merge domain-owned
    lock records, and include state-only changes in CombinedUpdateReport.hasChanges.
    Both kinds, changed state files and pruning commit or recover together.

0.1.1

Choose a tag to compare

@showxu showxu released this 19 Oct 18:23
0.1.1
c2c2296

Fixed

  • Source arguments accept typed selectors again, such as
    owner/repo@branch:main@path:skills@skill:pdf, in skill add and listing,
    instruction add and watch add. @ref: is a revision.
  • Sources whose locations end in the same component, such as
    anthropics/skills and sketch-hq/skills, can share a scope: the later one
    is declared under a prefixed alias such as anthropics-skills.

0.1.0

Choose a tag to compare

@showxu showxu released this 19 Oct 13:49
0.1.0
ee656b0

The first release of the libraries behind agents and skill.

Migration

  • Consumers depend on "0.1.0"..<"0.2.0" instead of the master branch.

Added

  • Public AgentsCore, AgentsSkills and AgentsInstructions libraries for
    source resolution, skill management and instruction lifecycle operations.
  • Declarative sources and per-item pins, verified source caches, exact restore
    and recoverable transactions for installations and state.
  • Editable local skill installations, update previews and diagnostics.
  • Managed instruction sections, Claude forwarding and named ChatGPT prompts.
  • Independent source watch subscriptions with status, content diffs and seen
    baselines for Git and well-known sources.

Changed

  • Command parsing and executable distribution moved to the consuming CLI
    repositories; this package exposes reusable library APIs.

Fixed

  • Preserve exact prerelease pins while excluding prereleases from stable ranges.
  • Reject unreadable resolved state before changing installed content.
  • Keep inspection, watch status and diffs read-only; include physical recipient
    changes in update previews.
  • Never replace a skill directory, file or resolvable link that the scope's lock
    does not manage; adding or installing over one fails and leaves it and the
    state unchanged.
  • Diagnose shared installations correctly and allow removing managed records
    whose files are missing.
  • Drain subprocess output concurrently and make Git operations non-interactive,
    with concise source-specific failures.