Skip to content

Merge on Master#22

Merged
hvasconcelos merged 9 commits intomasterfrom
develop
Jan 8, 2026
Merged

Merge on Master#22
hvasconcelos merged 9 commits intomasterfrom
develop

Conversation

@hvasconcelos
Copy link
Copy Markdown
Contributor

Merge on Master

hvasconcelos and others added 9 commits January 7, 2026 17:30
* Add DSL compiler (castc) for YAML-based pipeline definitions

Implement a domain-specific language for writing ChainCast event processing
pipelines that compiles to the existing JSON instruction format.

Features:
- YAML/GitHub Actions inspired syntax for all 13 instructions
- castc CLI with compile, validate, watch, and decompile commands
- Base64 output for direct use with ChainCast API
- Helpful error messages with typo suggestions
- Round-trip compilation (DSL -> JSON -> DSL)
- Browser-compatible compiler for web editor integration

New files:
- src/dsl/ - Compiler, parser, validator, transformers, generator
- src/dsl/cli/castc.ts - CLI entry point
- src/__tests__/dsl/ - 164 unit tests covering all components
- doc/DSL-GUIDE.md - Complete programming guide

CLI usage:
  castc compile input.yaml -o output.json
  castc compile input.yaml --base64
  castc validate input.yaml
  castc decompile input.json -o output.yaml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix lint issues in DSL compiler

- Replace non-null assertions with null-safe alternatives
- Add biome-ignore comments for noThenProperty false positives
  (then is a valid DSL condition branch, not Promise.then)
- Fix type annotation to avoid noExplicitAny
- All 164 tests pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
…EADME

- Add YAML-Based DSL and Built-in Compiler features to pipeline section
- Add new "Writing Custom Pipelines" section with example and compile instructions
- Add DSL Programming Guide to documentation links

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Update dependencies to latest semver-compatible versions

- graphql-request: 7.3.5 -> 7.4.0
- viem: 2.41.2 -> 2.43.5
- @types/bun: updated to 1.3.5
- Fix formatting in cli.test.ts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: remove unused cookie and cookie-parser dependencies

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Document DSL compiler (castc) feature and dependency updates.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…hains (#20)

- Remove ganache from devDependencies and related npm scripts
- Rewrite GETTING-STARTED.md to use $LX token on Ethereum mainnet
- Update README.md with production-focused Getting Started section
- Rename 'Ganache Network' to 'Local Network' in chain config
- Update comments to reference Hardhat/Anvil instead of Ganache
- Add lx-token-monitor.json example for the new guide
- Update CLAUDE.md with generic local development instructions

The guide now demonstrates ChainCast working with production chains
using Alchemy RPC to monitor real $LX token transfers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Clarify that ChainCast can process any event from any smart contract,
not just ERC-20 transfers, by providing the contract's ABI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@hvasconcelos hvasconcelos merged commit 3b13a2d into master Jan 8, 2026
3 checks passed
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