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

@pi-cordis/plugin-code-mode

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

Package
@pi-cordis/plugin-code-mode
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.0
Last updated
Aug 21, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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