Introduction¶
When building agents for travel, OTA, or mobility services, compliance with regulations such as tourism law, itinerary changes, refunds, and tour guide qualifications is often required. The traditional approach—manually cross-referencing each regulation clause—is error-prone and difficult to reuse in engineering workflows. DeepSeek Harness (DSH)’s “Everything is a Plugin” philosophy provides a standardized entry point for this type of rule-based capability. Below is an introduction to the dsh-industry-travel plugin, which focuses on travel-industry compliance checking and offers rule-based evaluation with a reproducible inspection workflow.
What It Is¶
dsh-industry-travel is an industry-specific DSH plugin designed for rule-based compliance checking of travel itineraries, OTA regulations, and tour guide qualifications. It relies on @deepwhale-cn/dsh-guard-core as the underlying capability layer and provides DSH skill interfaces based on @deepseek-ai/dsh-skill. The plugin version is 0.1.0, licensed under MIT. Currently it provides only static checking capabilities; the rules and scope boundaries are subject to the TODO section in the README.
Core Features¶
- Tourism Law & OTA Compliance Checking: Performs static scanning of compliance-critical points in itinerary text using built-in rules.
- Itinerary Change & Refund Scenarios: Matches rules against clauses related to changes and refunds.
- Tour Guide Qualification Checking: Validates tour guide qualification information through rule-based checks.
- Rule & Source Traceability: Each rule includes a file:line location and a legal reference; query all rules via
--list-rules. - Report Output: Supports generating HTML reports for manual review and archiving.
Installation & Enablement¶
In an existing DSH environment, add the plugin via the official command:
dsh plugin --profile web add @deepwhale-cn/dsh-industry-travel
Alternatively, install via npm or directly from the repository:
npm i @deepwhale-cn/dsh-industry-travel
# or install directly from the repository directory
dsh plugin install ./
Once installed, the plugin is available for invocation within the DSH skill chain.
Typical Usage¶
From the command line, run a compliance check on a specified project directory:
npx @deepwhale-cn/dsh-industry-travel --root <project-directory>
To view the built-in sample demo:
npx @deepwhale-cn/dsh-industry-travel --demo
Query all rules along with their legal references:
npx @deepwhale-cn/dsh-industry-travel --list-rules
Generate an HTML report:
npx @deepwhale-cn/dsh-industry-travel --html r.html
Use Cases & Caveats¶
- Suitable scenarios: Travel product copy review, OTA compliance checking, itinerary change and refund clause verification, tour guide qualification validation.
- Caveats: The plugin runs with the current DSH process privileges; it is recommended to review the repository source code and license before installation; the current rules and scope boundaries are subject to the TODO section in the README. A rule hit does not constitute a violation—contextual business judgment is required.
Conclusion¶
dsh-industry-travel provides a reusable, traceable, rule-based solution for compliance checking in the travel and OTA domain. For further details and source code, see the plugin directory page and the GitHub repository.