fly3366/DeepJIT1

@fly3366/deepjit

DeepJIT: JIT-compile repeated agent workflows into skills and flow templates for deepseek-harness (dsh)

AI 分析

适合需要将高频重复的 Agent 步骤自动化为技能的进阶用户。

パッケージ
@fly3366/deepjit
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/12

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fly3366/DeepJIT

ドキュメント

README 全文を読む ↗

Configuration

Override in cordis.patch.yml or a profile patch. Key options (full list in src/config.ts):

KeyDefaultDescription
enabledtruemaster switch
summarizeIntervalMs600000JIT cycle (mine + compile)
minRepeat3min occurrences for a hot sequence
argumentAwarefalseinclude sorted arg-key signatures in mined sequences
compileCandidates1best-of-N candidates per compile; higher = better quality, more LLM calls
minFlowSteps2min tool steps a flow must have to be compiled
minPatternValue6min value score (count × steps) to justify a compile
flushBatchSize200trace rows per batched SQLite write
maxPendingCalls10000cap for in-memory pending/raw maps (bounds memory)
minerMaxRows20000max trace rows read per session per mining cycle
transcriptMaxRows2000max tool rows read per compile transcript
gcEnabled / gcStaleMs / gcProtectMstrue / 14d / 1dGC: disable artifacts unused beyond gcStaleMs after a gcProtectMs grace
dryRunfalsepublish artifacts as disabled; enable manually via deepjit_status
traceRetentionMs / patternRetentionMs7d / 7dprune trace rows / stale uncompiled patterns older than this
deoptMinUses / deoptMaxSuccessRate5 / 0.5disable a flow used ≥N times with success rate ≤ this (deoptimization)
qualityMinUses / minQuality5 / 0disable active artifacts used ≥N times whose quality score < minQuality (0 = off)
promoteMinUses / promoteMinSuccessRate5 / 0.8recompile a hot, reliable skill's pattern as a flow (promotion)
llmProvider / llmModeldeepseek-official / (session)compile model; empty = reuse session model
localeautoen / zh / auto (dsh locale → LANG → English)

Sensitive: no keys are stored. The compile call uses dsh's credential service or the launching environment's DEEPSEEK_API_KEY.