civaapple-alt/pi-cordis--packages-plugins-code-mode ↗★ 0

@pi-cordis/plugin-code-mode

Programmatic Tool Calling (PTC / Code Mode) plugin for Pi-Cordis 适合需以代码批量调用工具的高级用户;可配置超时与工具白名单。

パッケージ
@pi-cordis/plugin-code-mode
互換性
未検証
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
最終更新
2026/08/21

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

Configuration

- name: '@pi-cordis/plugin-code-mode'
  config:
    timeoutMs: 30000              # Execution timeout in milliseconds (default: 30000)
    useWorkerThreads: true        # Use worker_threads for Isolate isolation (default: true)
    maskUnderlyingTools: true     # Mask underlying tools from model schema (default: true)
    injectFullDts: true           # Inject full .d.ts into system prompt (default: true)
    allowedTopLevelTools:         # Whitelist of unmasked top-level tools
      - run_code
      - ask_question
      - exit_plan_mode
      - session_handoff