dsh-openviking
DeepSeek Harness plugin that serves OpenViking memory retrieval as the `openviking` Cordis service: `find()` and `profile()` return finished blocks tagged `<openviking>` / `<openviking_index>`, with a Plugins-page settings card for host, port, API key, score threshold, and hit count.
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:abc12524/dsh-openvikingREADME
Read the full README ↗配置
设置页字段(全部 .volatile())
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关;关掉后 status().configured 为 false |
host | (空) | OpenViking 主机;192.168.30.181、ov.example.com、https://ov.example.com、10.0.0.5:1933 均可 |
port | 1933 | host 里没写端口时用它 |
scoreThreshold | 0.4 | 一条记忆要达到的最低相似度 |
limit | 3 | 每次查询最多要多少条 |
| — | — | API key 走凭据域(见下),不写在配置里 |
host 里写了协议就用它,写了端口就用它;scheme / port 只在 host 没写时补位。
普通配置(profile patch)
| 键 | 默认 | 说明 |
|---|---|---|
scheme | http | host 没带协议时用它 |
apiKeyEnv | OPENVIKING_API_KEY | 凭据引用名(不是密钥本体) |
user | (空) | 作为 X-OpenViking-User 发送;也是记忆根目录的属主,空则 profile() 无法定址 |
account | default | X-OpenViking-Account |
peer | default | X-OpenViking-Peer |
abstractChars | 1200 | 每条摘要保留多少字符;0 = 全留 |
profileLimit | 40 | 索引最多列多少项 |
profileChars | 2000 | 索引块字符预算;0 = 不限 |
timeoutMs | 3000 | 单次请求超时;0 = 不限(也会 abort 请求本身) |
- id: dsh-openviking
config:
user: alice
abstractChars: 1600
timeoutMs: 2500
密钥为什么不进配置
apiKeyEnv 只是个引用名,密钥本体由 harness 的凭据域持有(~/.dsh/.credentials.yaml,由设置卡的密码框写入)。公开仓库的 profile patch 里因此永远没有 token。没有密钥不致命:服务端回 401,find reject,注入器跳过这一源。
普通配置(profile patch)
| 键 | 默认 | 说明 |
|---|---|---|
scheme | http | host 没带协议时用它 |
apiKeyEnv | OPENVIKING_API_KEY | 凭据引用名(不是密钥本体) |
user | (空) | 作为 X-OpenViking-User 发送;也是记忆根目录的属主,空则 profile() 无法定址 |
account | default | X-OpenViking-Account |
peer | default | X-OpenViking-Peer |
abstractChars | 1200 | 每条摘要保留多少字符;0 = 全留 |
profileLimit | 40 | 索引最多列多少项 |
profileChars | 2000 | 索引块字符预算;0 = 不限 |
timeoutMs | 3000 | 单次请求超时;0 = 不限(也会 abort 请求本身) |
- id: dsh-openviking
config:
user: alice
abstractChars: 1600
timeoutMs: 2500
密钥为什么不进配置
apiKeyEnv 只是个引用名,密钥本体由 harness 的凭据域持有(~/.dsh/.credentials.yaml,由设置卡的密码框写入)。公开仓库的 profile patch 里因此永远没有 token。没有密钥不致命:服务端回 401,find reject,注入器跳过这一源。