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

@wsz987/channel-harness

Thin Harness-native bridge: SessionBinding, AgentManager and the session/event reply pipeline

AI 分析

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

パッケージ
@wsz987/channel-harness
バージョン
0.4.2
ライセンス
MIT
最終更新
2026/08/16

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.