ruleloom 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 — 2026-12-06
4
+
5
+ - README: the compile overview is an image (`docs/compile-overview.png`, shipped in the package) instead of an ASCII diagram whose columns broke on npmjs.com. No code change.
6
+
3
7
  ## 0.2.0 — 2026-12-01
4
8
 
5
9
  - **Zod 4** (`^4.6.6`): Zod 3 is affected by GHSA-mrhx-c7xc-m3w5 (high — memory exhaustion while validating oversized constrained collections), fixed in 4.6.6 only. The exported schemas (`AgentConfigSchema`, `ProjectFileSchema`…) are now Zod 4 schemas: a caller composing them with its own Zod 3 schemas must upgrade too. Calling `.parse` / `.safeParse` on them is unchanged.
package/README.md CHANGED
@@ -4,16 +4,7 @@
4
4
 
5
5
  RuleLoom reads an agent written as plain files — rules, skills, a mission, MCP servers, variables — and produces what each platform loads by itself: `.claude/` for Claude Code, `AGENTS.md` and `.agents/skills/` for Codex, `.github/agents/` and `.github/instructions/` for Copilot. The same definition also compiles to one prompt string, for a completion API.
6
6
 
7
- ```
8
- agents/ .ruleloom/build/
9
- shared/rules/00_HONESTY.md claude/writer/.claude/agents/acme-writer.md
10
- writer/ .claude/rules/10-shape.md
11
- agent.json ruleloom compile .claude/skills/20-changelog-style/SKILL.md
12
- source/mission.md ─────────────▶ codex/writer/AGENTS.md
13
- source/rules/10_SHAPE.md .agents/skills/20-changelog-style/SKILL.md
14
- source/skills/20_CHANGELOG_STYLE.md copilot/writer/.github/agents/acme-writer.agent.md
15
- .github/instructions/10-shape.instructions.md
16
- ```
7
+ ![ruleloom compile reads agents/ (shared/rules/00_HONESTY.md; writer/agent.json, source/mission.md, source/rules/10_SHAPE.md, source/skills/20_CHANGELOG_STYLE.md) and writes .ruleloom/build/: claude/writer/.claude/ (agents/acme-writer.md, rules/10-shape.md, skills/20-changelog-style/SKILL.md), codex/writer/ (AGENTS.md, .agents/skills/20-changelog-style/SKILL.md), copilot/writer/.github/ (agents/acme-writer.agent.md, instructions/10-shape.instructions.md)](https://cdn.jsdelivr.net/npm/ruleloom@0.2.1/docs/compile-overview.png)
17
8
 
18
9
  - **One source, three platforms.** Rules, skills and MCP servers are written once; each adapter writes the platform's own format.
19
10
  - **Deterministic.** Same inputs, same bytes, same checksum. No timestamp, no globbing: `ruleloom compile --check` fails CI when generated files drift.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruleloom",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Define an AI agent once — rules, skills, MCP servers, variables — and compile it into the native configuration of Claude Code, OpenAI Codex and GitHub Copilot.",
5
5
  "keywords": [
6
6
  "ai-agents",