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 peer 범위
^4.0.1
버전
0.1.0
최근 업데이트
2026. 8. 21.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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