dsh-gpt-tool-schema-compatibility: Fix tool parameter conflicts under GPT/Codex Full access

Preface

When connecting OpenAI-compatible GPT or Codex models in DeepSeek Harness (DSH), if you grant the agent “Full access” (complete tool permissions), inconsistencies between the parameter schema and the host’s expectations can sometimes occur in the tool invocation chain. This manifests as tool definition conflicts or invocation failures. Such issues usually lie not in the business code, but in the way DSH and the model side splice the tool schema.

The following is an introduction to the community plugin dsh-gpt-tool-schema-compatibility (Maintainer: vb2250158, Category: Model Inference). It performs compatibility handling for the above scenarios by injecting a configuration layer into the DSH profile. The plugin currently has 0 stars on GitHub and is a relatively new open-source entry; it is recommended to read the repository source code and the MIT license yourself before installation.

What is this

dsh-gpt-tool-schema-compatibility is an open-source plugin for the DSH 0.2 series. The npm package name is also dsh-gpt-tool-schema-compatibility, and the current README corresponds to version 0.1.4.

The plugin’s display name in the list switches according to the DSH interface language: it is GPT tool compatibility in English and GPT 工具兼容 in Chinese (see repository locale/en.json, locale/zh.json).

In one sentence: it fixes tool parameter conflicts for GPT/Codex under Full access on DSH 0.2.1-alpha.1 or compatible 0.2 releases.

This release has explicit requirements for the DSH version. See the repository’s compatibility details for details.

Core Features

According to the repository README, the capabilities currently declared by the plugin are as follows:

  1. Version Constraint: Requires DSH 0.2.1-alpha.1 or a consistent 0.2 compatible release.
  2. Compatibility Target: Mitigates or fixes tool parameter (tool schema) conflicts occurring in GPT/Codex under Full access mode.
  3. Configuration Injection: The package declares dsh.bundle. After installation, it merges the plugin’s built-in cordis.patch.yml into the current profile’s configuration layer as a patch, without needing to place the repository source code into the repository used for multi-machine synchronization.

The README does not expand on the specific fields within the patch; if you wish to audit the behavior, you should open the cordis.patch.yml and lib/ implementation in the repository to verify them yourself before installation.

Installation and Activation

The official README requires pinning a specific commit of the public repository first, and then installing via the official DSH entry (replace <commit> with the actual commit SHA):

pnpm dsh plugin --profile web add github:vb2250158/dsh-gpt-tool-schema-compatibility#<commit>

Notes:

  • --profile web indicates installation into the DSH profile named web; if you use other profiles, you need to replace this parameter according to your environment.
  • #<commit> is used to pin the plugin source version, preventing subsequent unverified upstream changes from entering your environment.

After installation is complete, the plugin configuration is written to cordis.patch.yml under that profile. The README explains: repositories used for multi-computer synchronization usually only save the repository address, fixed commit, enable/disable status, and configuration, and do not save the plugin source code tree.

Verification and Development Side Checks

Self-check steps provided by the repository (execute within the plugin source code directory):

npm test
npm pack --dry-run
  • npm test corresponds to node --test tests/*.test.mjs in package.json.
  • npm pack --dry-run is used to confirm whether the release file list contains declared items such as lib, cordis.patch.yml, locale, icon.svg, etc.

The above commands are intended for maintainers and secondary developers; daily users should rely on the DSH side installation and profile activation.

Applicable Scenarios and Notes

Who is it for

  • Developers running GPT/Codex models on the DSH 0.2 series with Full access enabled who encounter tool parameter/schema related conflicts.
  • People who want to install community plugins via the official pnpm dsh plugin ... add github:... path and manage configuration uniformly using profile patches.

Important Notes

  1. Permission Model: Like other DSH plugins, this plugin runs with the current dsh process permissions. Before installation, please read the GitHub repository source code and the MIT license to confirm that the patch content meets your security and compliance requirements.
  2. Version Alignment: If the 0.2.1-alpha.1 / 0.2 compatibility requirements are not met, do not assume the plugin is available; refer to the README and compatibility documentation.
  3. Ecological Positioning: The DSH community plugin directory (such as the SkillHub entry page) is an independent site and has no official affiliation with DeepSeek / HFQ (High-Flyer Quant). This article introduces the community-maintained vb2250158/dsh-gpt-tool-schema-compatibility, which is not an official built-in capability.

Conclusion

If your pain point is “parameter conflicts in the tool chain with Full access + GPT/Codex”, you can add this plugin to your profile using the command provided in the README on the premise of pinning a commit, and confirm that the configuration has been merged in cordis.patch.yml. For further details and issue tracking, see the GitHub repository.

  • Directory Page: https://www.skillhub.cn/plugins/vb2250158/dsh-gpt-tool-schema-compatibility
  • GitHub: https://github.com/vb2250158/dsh-gpt-tool-schema-compatibility
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye