dsh-pentester 6.4.0 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/build-id.json +1 -1
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/generated/skill-search-aliases.json +1 -1
- package/lib/generated/skill-search-index.json +1 -1
- package/lib/index.js +12 -3
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/presets/pentester/preset.patch.yml +24 -0
package/package.json
CHANGED
|
@@ -454,6 +454,30 @@
|
|
|
454
454
|
- id: tool-skill
|
|
455
455
|
name: '@deepseek-ai/dsh-tool-skill'
|
|
456
456
|
|
|
457
|
+
# 上下文压缩:dsh-web-app 在宿主层禁用了 compaction-basic /
|
|
458
|
+
# command-compact / tool-result-pruner(压缩后端归 preset 所有),
|
|
459
|
+
# 官方 standard / ptc / cordis preset 各自挂载同一组;pentester 此前
|
|
460
|
+
# 缺失此组时,长会话既无阈值压缩,也没有 CONTEXT_WINDOW_EXCEEDED 的
|
|
461
|
+
# 溢出补偿重试,会被 provider 以 400 顶死且无法自愈。此处与
|
|
462
|
+
# dsh-web-app standard preset 的组定义逐字段一致。
|
|
463
|
+
- id: compaction
|
|
464
|
+
name: cordis:group
|
|
465
|
+
group: true
|
|
466
|
+
isolate:
|
|
467
|
+
compaction: true
|
|
468
|
+
toolResultPruner: true
|
|
469
|
+
config:
|
|
470
|
+
- id: compaction-basic
|
|
471
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
472
|
+
- id: command-compact
|
|
473
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
474
|
+
- id: tool-result-pruner
|
|
475
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
476
|
+
config:
|
|
477
|
+
thresholdChars: 8192
|
|
478
|
+
headChars: 4096
|
|
479
|
+
tailChars: 1024
|
|
480
|
+
|
|
457
481
|
# Host seam: Root tool surface (skill denied; pentester_exec allow-listed
|
|
458
482
|
# for user-asked ad-hoc only) + worker
|
|
459
483
|
# native skill provider mount + dynamic run-state injection.
|