kaiwangleo/xiwen--plugins-dsh-xiwen0

@kaiwangleo/dsh-xiwen

Semantic-layer analytics tool for DeepSeek Harness backed by the Xiwen service

AI 분석

核心用途是为 DSH 提供语义层分析能力。适合需要利用 Xiwen 服务对 Harness 运行过程进行语义化分析和监控的用户。必要条件是需配置并运行 Xiwen 后端服务。

패키지
@kaiwangleo/dsh-xiwen
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 19.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kaiwangleo/xiwen#a310ef1e97243c75ab167dd950aac206f7f33cbf&path:plugins/dsh-xiwen

Configuration

The bundled patch defaults to the loopback Xiwen service. To override it, add an xiwen row to the profile's cordis.patch.yml:

- id: xiwen
  config:
    baseUrl: 'http://127.0.0.1:8000'
    apiToken: 'REPLACE_WITH_THE_BACKEND_API_AUTH_TOKEN'
    timeoutMs: 120000
    maxRows: 200
    maxResultChars: 50000
    includeProgressSummary: false

Do not commit a real apiToken. Omit it when the local backend has no token configured.

SettingDefaultMeaning
baseUrlhttp://127.0.0.1:8000Xiwen service root. Only HTTP and HTTPS URLs without embedded credentials, query strings, or fragments are accepted.
apiTokenunsetOptional Bearer token matching api.auth_token in the backend configuration.
timeoutMs120000Whole-request timeout, including SSE consumption.
maxRows200Maximum rows returned to the model; accepted range is 1–10,000.
maxResultChars50000Maximum serialized row characters returned to the model; accepted range is 1,000–1,000,000.
includeProgressSummaryfalseWhen enabled, include the final state of observed progress steps in message for result events.

Invalid configuration fails when the plugin loads. A trailing slash in baseUrl is accepted; the adapter appends /api/query exactly once.