开发者在Hacker News上展示了一款Pi扩展工具,使用户能够在Pi模型内直接调用所有已连接的Codex插件 1。该工具支持GitHub、Gmail、Google Calendar/Drive、Slack、Linear、Figma等多个连接器 1。
这一扩展通过启动Codex应用服务器并创建仅包含应用功能的临时线程,将数百个模式简化为三个工具供模型调用 1。用户可通过命令 pi install npm:@wileai/pi-codex-connector 安装该工具,需要Node.js 22.19及以上版本 1。工具提供了细粒度的权限控制机制,用户可通过环境变量 PI_CODEX_CONNECTORS_WRITES 管理写入操作的权限,默认值为ask,支持allow和deny选项 1。此外,系统还限制写入操作中超过2000字符的参数,以保护隐私 1。该项目采用MIT许可证 1。
A developer has unveiled a Pi extension tool on Hacker News that integrates all connected Codex plugins directly into the Pi model environment.1 The tool supports connections to GitHub, Gmail, Google Calendar, Google Drive, Slack, Linear, Figma, and other services.1 By launching a Codex application server and creating a temporary thread containing only application functions, the extension consolidates hundreds of schemas into three callable tools for the model while maintaining granular read and write permission controls and privacy protections.1
The extension requires Node.js 22.19 or later and Pi to function.1 Users can install it using the command pi install npm:@wileai/pi-codex-connector, reflecting a package name migration from the previous npm:pi-codex-connectors designation.1 The tool implements environment variable controls through PI_CODEX_CONNECTORS_WRITES, which defaults to "ask" mode and also supports "allow" and "deny" settings.1 Write operations that exceed 2,000 characters in parameters are automatically rejected.1 The extension is distributed under the MIT license.1
评论
还没有评论,欢迎留下第一条。