dsh-jspace-trigger: Alert the agent to load J-Space's DSH plugin only when a rule matches.
dsh-jspace-trigger is an MIT licensed plugin maintained by EricWang1358, designed to optimize the loading mechanism of the J-Space Cognition Suite within the DSH system. Unlike global injection, this plugin functions as a near-field trigger that only observes real user messages. It determines whether to trigger the agent to load J-Space based on configurable rules (such as regular expressions, keywords, and scoring thresholds) and remains silent when the rules are not met, thereby avoiding redundant interference for simple tasks. Core features include a flexible rule engine, length fallback, session-safe delivery, event deduplication, observe-only mode, and a dry-run tool. Built-in opt-out rules are evaluated with priority and can override content keywords. Installation requires a Node.js >=20 environment and is compatible with DSH 0.1.0-rc.7 and above.
Read More