chrishuffman5’s JevClient is a PowerShell module for sending state and named questions to TypeSafe AI’s Jev API. It keeps routing decisions and thresholds in the calling script.

Requests and failure handling

  • Builders check the size of choice and score criteria and construct yes/no questions. Choice criteria can use an ordered map because option order can affect answers.
  • The client retrieves a key through PowerShell SecretManagement or accepts one explicitly. State and questions are sent to the hosted API; remove sensitive information first.
  • It retries connection failures, timeouts, rate limits and server errors with backoff. Invalid requests and authentication errors fail without retries.
  • A confidence-band helper offers configurable starting thresholds. Those bands need testing on representative labeled decisions before they drive automation.

A command-gating example

The repository’s sample checks a proposed shell command against a small deny-list, asks Jev about its scope and destructiveness, and applies local rules for denial or human review. The example prints decisions; it does not execute commands. Its pattern matching and model judgments are illustrative, not a complete security boundary.

The author includes saved sample responses, but they are not an accuracy or calibration evaluation. A typed answer does not establish a correct decision.

Verification: inspected the README, module and command-gating example at commit c050b3710145a0bb548078992709d337338e5c42. We did not run the module or call Jev; this was not a security audit.