alitrack/dsh-duckdb ↗★ 0

dsh-duckdb

Query local data files with SQL from inside DeepSeek Harness (dsh) — zero Python, zero external services.

패키지
dsh-duckdb
호환성
미검증
Harness peer 범위
^0.0.1-rc.1
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 29.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-duckdb

Usage

You: Look at /workspace/sales.csv and total the amount by city.

Agent: [duckdb_schema target=/workspace/sales.csv]
       columns: city VARCHAR, amount BIGINT
       approx rows: 3

       [duckdb_query sql="SELECT city, sum(amount) AS total FROM f0 GROUP BY city ORDER BY city"
        files=["/workspace/sales.csv"]]
       BJ | 300
       HZ | 100
       SH | 200

Tool reference

duckdb_query

ArgTypeNotes
sqlstring (required)One statement. Reference attached files as f0, f1, ...
filesarray of stringsAbsolute workspace paths, attached as views in order
max_rowsintegerRow cap. Default 200, hard cap 1000
read_onlybooleanDefault true

duckdb_schema

ArgTypeNotes
targetstring (required)Absolute file path, or an attached view name
sample_rowsintegerDefault 5, hard cap 50