Skip to content

mashirokai/ptc-python

v1.0.0

PTC 模式 Python 承载件——节点获得 ptc_run / ptc_run_rw:模型写 Python 代码编排工具调用(受控子进程 + 审计钩子封联网/起进程/越根 IO),tools.* 经执行器以 MCP client 转调宿主工具 server(标准 MCP)。返回 stdout、完成值、逐次调用台账、四类错误分类;写能力仅 ptc_run_rw 给。用于 ≥2 次工具调用的循环/分支编排,不适用于单次工具调用与无工具任务的问答。前置 python3≥3.9。内含 skills:ptc-python(请求面、绑定形状、错误判读、排障)。

commands

  • python3

scripts

  • ptc-python
  • scripts/ptc_executor.py
  • scripts/ptc_runner.py
  • scripts/ptc_tools_fs.py
plugin.json
name
ptc-python
version
1.0.0
description
PTC 模式 Python 承载件——节点获得 ptc_run / ptc_run_rw:模型写 Python 代码编排工具调用(受控子进程 + 审计钩子封联网/起进程/越根 IO),tools.* 经执行器以 MCP client 转调宿主工具 server(标准 MCP)。返回 stdout、完成值、逐次调用台账、四类错误分类;写能力仅 ptc_run_rw 给。用于 ≥2 次工具调用的循环/分支编排,不适用于单次工具调用与无工具任务的问答。前置 python3≥3.9。内含 skills:ptc-python(请求面、绑定形状、错误判读、排障)。
author
Stand
extensions
ptc
mcp.json
  • ptcstdiopython3 ${PLUGIN_ROOT}/skills/ptc-python/scripts/ptc_executor.py

What else this package ships

These files come with the package and this site does not publish them. They are listed so you know what is there before you install it.

  • 3Python files
  • 3JSON files
View on GitHub

Client extensions

Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.

  • ptc