dsh-ptc-noargs

把 PTC run_code(TypeScript function-body)中省略或为 undefined 的工具首参归一化为 {},tools.job_list() 这类无参调用不再报 binding arguments must be lossless JSON。

插件介绍

当前显示项目原文。

把 PTC run_code(TypeScript function-body)中省略或为 undefined 的工具首参归一化为 {},tools.job_list() 这类无参调用不再报 binding arguments must be lossless JSON。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:TLEWA/dsh-ptc-noargs

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。