• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

veeso / esp-agent / 45824056377
98%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2026 12:55PM UTC
Jobs 1
Files 23
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Nov 2026 12:54PM UTC coverage: 97.949% (+0.1%) from 97.838%
45824056377

push

github

web-flow
feat(commands): switch command languages at run time (#38)

Firmware can replace the phrases its command handler understands while a
conversation is running. The agent keeps its remembered targets and any
pending question across the switch.

A language is either compiled into the firmware or received while it runs:

- vocabulary! declares the phrases of one language for an action enum. A
  previous phrase such as "spegnila" refers to the remembered target
  without naming it.
- RuntimeVocabulary builds a language from strings, such as those a
  coordinator sends. Each phrase is checked with the rules of vocabulary!
  within VocabularyLimits, and a bad or oversized phrase returns a
  VocabularyError instead of aborting. It matches input like a compiled
  vocabulary and matching allocates nothing.

Build a switchable handler with CommandHandler::new, select a language with
set_vocabulary, and restore the derived patterns with Vocabulary::derived.
Both methods accept either kind of vocabulary. The TurnCommands derive also
implements NamedActions, so run-time phrases name the variants directly.

The pattern rules move to the new esp-agent-patterns crate, which the
macros and the library share. It must be published before them.

Closes #36

1050 of 1072 new or added lines in 6 files covered. (97.95%)

4012 of 4096 relevant lines covered (97.95%)

1403.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
93.62
crates/esp-agent/src/runtime_vocabulary.rs
4
97.08
1.86% crates/esp-agent-macros/src/commands.rs
3
97.02
-0.7% crates/esp-agent/src/commands.rs
Jobs
ID Job ID Ran Files Coverage
1 45824056377.1 26 Nov 2026 12:55PM UTC 23
97.95
GitHub Action Run
Source Files on build 45824056377
  • Tree
  • List 23
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45824056377
  • 21c6ff2b on github
  • Prev Build on main (#45798832176)
  • Next Build on main (#45834579913)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc