Skip to content

feat: LiquidJS templating#1

Merged
claaslange merged 8 commits intomainfrom
feat/liquid-templates
Feb 21, 2026
Merged

feat: LiquidJS templating#1
claaslange merged 8 commits intomainfrom
feat/liquid-templates

Conversation

@claaslange
Copy link
Owner

@claaslange claaslange commented Feb 21, 2026

Summary:

  • Switch template rendering from regexp replacement to LiquidJS.
  • Support Liquid control flow (if/for) and includes.
  • Fix dry-run/check so it matches overwrite=false behavior.
  • Commit package-lock.json so the publish workflow's npm ci is reliable.
  • Align naming by renaming default config/schema files.
  • Add unit tests for Liquid/CLI behavior.
  • Add PR CI workflow and Biome lint.

Notes:

  • Default config name is now ~/.agentsync/agentsync.config.json (and ./agentsync.config.json).
  • Schema name is now src/agentsync.schema.json.
  • Includes resolve relative to the template directory, then the config directory.
  • CI runs: npm run lint && npm test

- Render templates via LiquidJS (if/for/include)\n- Make dry-run/check respect overwrite=false\n- Commit package-lock for npm ci in publish workflow\n- Update example template with conditional rule
- Rename config to agentsync.config.json\n- Rename schema to agentsync.schema.json\n- Update CLI defaults, docs, and example
- Add CHANGELOG.md for notable changes\n- Document unreleased Liquid/config rename updates
- Add node:test coverage for Liquid rendering and includes\n- Validate --strict undefined variable behavior\n- Validate dry-run overwrite=false refusal
- Render template for Claude and Codex targets\n- Assert Claude-only section not present in Codex output
- Document schema moved to src/agentsync.schema.json
- Add raw GitHub URL for agentsync.schema.json
- Add Biome config and npm lint/format scripts\n- Add GitHub Actions workflow for PRs\n- Auto-fix import/format issues
@claaslange claaslange merged commit e11fc51 into main Feb 21, 2026
1 check passed
@claaslange claaslange deleted the feat/liquid-templates branch February 21, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant