dsh-presets-plan-native-act-ptc: Plan with Native Tools, Execute via PTC After Approval
Introduction to dsh-presets-plan-native-act-ptc, a DSH plugin maintained by Oyyyyyy-y. This package registers the ptc-hybrid preset via a bundle patch. In plan mode, the top level mirrors the standard configuration: all native tools are accessible while run_code is rejected. After approval, the top level is restricted to run_code only; within the program, native tools remain callable, but workflow and plugin_manager are rejected. Both stages share the same tool table and system prompt. Per the README, real-world testing shows a prefix-cache hit rate of approximately 98%–99% when switching in plan mode. The documentation covers installation commands, a two-stage comparison, timeoutMs configuration, fault degradation, and known limitations. Compatible with DSH >= 0.2.2-rc.1 and < 0.3.0-0.
Read More