Repository navigation
v0.0.5
Release v0.0.5
This release standardizes the project context filename on AGENTS.md, completes Toolkit and Plugin resolution in the runtime registry and loader, strengthens workspace validation, and expands the warp CLI with new inspection, rendering, and formatting commands.
⚠️ Breaking Changes
Canonical Context File Renamed to AGENTS.md
- The canonical project context file has been renamed from
AGENT.mdtoAGENTS.md(ContextFileName = "AGENTS.md") across the specification, parser, loader, plugins, and examples, aligning with the openAGENTS.mdecosystem standard. - Legacy
AGENT.mdfiles are no longer inferred asContextresources without explicit YAML front-matter. Rename existingAGENT.mdfiles in your workspace and projects toAGENTS.md.
🚀 Key Highlights
1. Registry, Resolution & Validation
- Toolkit Expansion (
Kind: Toolkit):Agent.spec.toolscan now referenceToolkitresources alongside individualToolresources. Referenced toolkits expand both$reftool pointers and inline tool definitions (ToolSpec.Descriptionadded) prior to evaluating workspace and agent tool policies. - Glob Pattern Support for Agent Capabilities:
Agent.spec.skills,Agent.spec.commands, andAgent.spec.subagentsnow support glob patterns (e.g.skills/*,review-*,plugin-ns/Skill/*) in addition to exact short names, qualified names, and*. - Subdirectory Project Resolution:
Registry.ProjectFromPathnow resolves any nested subdirectory path to its owning project using longest path-prefix matching. - Base Registry Plugin Visibility: Resources imported from external plugins (
Workspace.spec.plugins) are now accessible from the baseRegistryscope while preserving strict isolation between sibling project namespaces. - Deterministic Resource & Project Ordering:
Registry.Resources(),Registry.ListProjects(),Registry.ListResources(), andScopedRegistry.ListResources()now return deterministically sorted slices. - Comprehensive
Registry.Validate():- Validates all 10 resource kinds (
Workspace,Context,Plugin,Agent,Skill,Command,ModelProvider,Tool,Toolkit,MCP). - Verifies
Agent.spec.extendsparent existence and detects inheritance cycles during validation. - Validates
Workspace.spec.defaultAgentandWorkspace.spec.defaultProviderreferences. - Validates
Toolkit.spec.tools($reftargets and inline tool schemas) andPlugin.spec.exports.
- Validates all 10 resource kinds (
2. Loader, Plugins & Fetcher
- Workspace Plugin Loading & Lockfile Verification:
LoadWorkspacenow loads external and local plugins declared inWorkspace.spec.plugins, enforces bothPlugin.spec.exportsandWorkspacePlugin.imports(include/exclude) filters, and verifies directory integrity againstwarp.lockSHA-256 hashes when present. - Flat-Root Authority Rule: When a workspace operates in single-project flat-root mode (
projects: ["."]),WORKSPACE_ROOT/.agents/is loaded directly into the project's local namespace rather than being duplicated into theworkspacenamespace. Context.spec.resourcesLoading:LoadWorkspacenow loads explicit resource files and directories declared inContext.spec.resourcesinto the project's namespace.- Extended Git Reference Support:
internal/fetchernow supports cloning plugin repositories at branches and full or short commit SHAs in addition to tags.
3. CLI & JSON Schema Tooling
- New
warpCLI Subcommands:warp list [path]— lists all discovered projects and resources in a workspace.warp render [-dir <path>] <ref> [args...]— renders the instructions template for anAgent,Command,Skill, orContext.warp fmt [-w] <file...>— formats WARP Markdown front-matter and YAML files canonically.warp validate [path]— surfaces non-fatal loader warnings alongside resource counts and validation results.warp get --include <Kind/name> <package>— supports repeatable--includeflags to selectively import plugin resources non-interactively.
- JSON Schema: Added
Contextschema generation tocmd/schema-genand regeneratedschema/warp.json.
📦 Dependency Updates
Direct Dependencies
github.com/go-git/go-git/v5:v5.19.2→v5.19.3
Indirect Dependencies
- Charm Ecosystem:
charm.land/bubbletea/v2:v2.0.9→v2.1.0github.com/charmbracelet/ultraviolet:v0.0.0-20260903151058-ae99b731b8c5→v0.0.0-20261008173134-6b8d4baf91b4github.com/charmbracelet/x/ansi:v0.11.8→v0.11.9
- Go Standard Library Extensions (
golang.org/x/*):golang.org/x/crypto:v0.56.0→v0.58.0golang.org/x/net:v0.58.0→v0.61.0golang.org/x/sync:v0.22.0→v0.24.0golang.org/x/sys:v0.47.0→v0.49.0
- Git, Crypto & Utilities:
github.com/Microsoft/go-winio:v0.6.2→v0.6.4github.com/ProtonMail/go-crypto:v1.4.1→v1.5.2github.com/dustin/go-humanize:v1.0.1→v1.1.0github.com/go-git/go-billy/v5:v5.9.1→v5.9.2github.com/klauspost/cpuid/v2:v2.4.0→v2.4.1github.com/mattn/go-runewidth:v0.0.29→v0.0.31github.com/pb33f/ordered-map/v2:v2.3.1→v2.3.2github.com/pjbgf/sha1cd:v0.6.0→v0.7.0github.com/xo/terminfo:v1.0.0→v1.2.0
🔨 Commits
e2426ad-refactor!: rename canonical context file from AGENT.md to AGENTS.md51fbac4-chore(deps): update dependencies18d571c-feat(registry): add toolkit expansion, glob capabilities, and stronger validationee97189-feat(loader): support plugin loading, lock verification, flat-root rule, and git refsefb48b8-feat(cli): add list, render, and fmt commands and regenerate schema369d04c-docs: update README, package doc, and specification
Full Changelog: v0.0.4...v0.0.5