wsz987/dsh-channels--packages-channel-harness2

@wsz987/channel-harness

轻量级 Harness 原生桥接插件:会话绑定、智能体管理及会话/事件回复管道

AI 分析

核心用途是作为 Harness 的原生桥接层,管理会话绑定、路由模式、并发及回复管道。适合需要将外部渠道消息与 Harness 内部智能体及模型进行对接和调度的系统管理员。

包名
@wsz987/channel-harness
版本
0.4.2
许可证
MIT
最近更新
2026年8月16日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Configuration

- id: channels-harness
  name: '@wsz987/channel-harness'
  inject: [channels, agents, agentDefaultModel, llm, commands]
  config:
    agent:
      default:
        preset: main
        provider: deepseek
        model: deepseek-chat
        maxTokens: 4096
    routing:
      mode: global            # global | channel | account | conversation
    bindingStore:
      type: file              # memory | file
    workspace:
      mode: channel-account   # channel-account | host-cwd | disabled
      autoCreate: true
    reply:
      updateIntervalMs: 200
      splitParagraphs: true
      splitCodeBlocks: true
      finalFlush: true
    maxConcurrency: 4
    drainTimeoutMs: 5000
    includeMetadataPrefix: false

Routing priority when routing.mode is not global: conversation > account > channel > agent.default.