定制 coquibot/coqui-toolkit-space-manager 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

coquibot/coqui-toolkit-space-manager

最新稳定版本:v0.1.0

Composer 安装命令:

composer require coquibot/coqui-toolkit-space-manager

包简介

Coqui Space toolkit — discover, install, and manage skills and toolkits from coqui.space

README 文档

README

Discover, install, and manage skills and toolkits from Coqui Space directly from your Coqui Bot agent loop.

Features

  • Search — find skills and toolkits on Coqui Space by keyword
  • Install — download skills (ZIP → .workspace/skills/) or toolkits (Composer → .workspace/)
  • Update — pull latest versions of installed content
  • Disable / Enable — toggle content without permanently removing it
  • Remove — soft-disable or hard-purge installed skills and toolkits
  • Star — give community feedback on skills you use

Requirements

  • PHP 8.4+
  • ext-zip, ext-json
  • Composer

Installation

The Space Manager ships with Coqui core. If you need to install it separately:

composer require coquibot/coqui-toolkit-space-manager

Coqui auto-discovers the toolkit via extra.php-agents.toolkits — no manual registration required.

Credentials

The Space Manager works without authentication for browsing and installing. To star skills or access user-specific features, set credentials via the credentials tool in your Coqui session:

credentials(action: "set", key: "COQUI_SPACE_USERNAME", value: "your-username")
credentials(action: "set", key: "COQUI_SPACE_APP_PASSWORD", value: "xxxx xxxx xxxx xxxx xxxx xxxx")

Generate an Application Password in your WordPress profile at coqui.space → Users → Profile → Application Passwords.

Credential Required Description
COQUI_SPACE_USERNAME For auth WordPress username on coqui.space
COQUI_SPACE_APP_PASSWORD For auth WordPress Application Password
COQUI_SPACE_URL No Custom API URL (default: https://coqui.space/wp-json/coqui/v1)

Tools Reference

space_search

Search Coqui Space for skills and toolkits by keyword.

Parameter Type Required Description
query string Yes Search keyword(s)
type enum No all, skills, or toolkits (default: all)
limit int No Max results per type, 1-50 (default: 10)

space_skill_details

Get full metadata, versions, and publisher info for a skill.

Parameter Type Required Description
slug string Yes Skill slug on Coqui Space

space_toolkit_details

Get full metadata for a toolkit (Composer package).

Parameter Type Required Description
package string Yes Package name in vendor/package format

space_install

Install a skill or toolkit from Coqui Space. Auto-detects type: names with / are toolkits, without are skills.

Parameter Type Required Description
name string Yes Skill slug or toolkit vendor/package
version string No Version constraint (default: latest)
force bool No Overwrite existing (default: false)

space_update

Update an installed skill or toolkit to the latest version.

Parameter Type Required Description
name string Yes Skill name or toolkit vendor/package
force bool No Force update even if version appears current

space_installed

List all installed skills and toolkits with status and source. No parameters.

space_disable

Disable a skill or toolkit without removing it.

Parameter Type Required Description
name string Yes Skill name or toolkit vendor/package

space_enable

Re-enable a previously disabled skill or toolkit.

Parameter Type Required Description
name string Yes Skill name or toolkit vendor/package

space_remove

Remove an installed skill or toolkit.

Parameter Type Required Description
name string Yes Skill name or toolkit vendor/package
purge bool No Permanently delete files (default: false, disables only)

space_star

Star or unstar a skill on Coqui Space. Requires authentication.

Parameter Type Required Description
slug string Yes Skill slug to star/unstar
action enum No star or unstar (default: star)

How Content Types Work

Skills

  • Downloaded as ZIP archives from the Coqui Space API
  • Extracted to .workspace/skills/{name}/
  • Tracked via .space-origin.json metadata file
  • Available immediately after install — no restart needed
  • Disable/enable toggles a .disabled suffix on the directory

Toolkits

  • Standard Composer packages installed via composer require into .workspace/
  • Require a restart after install/update/remove/enable/disable (ToolkitDiscovery runs at boot)
  • Disable tracks the version constraint in .space-state.json for seamless re-enablement

Gated Operations

The following tools require user confirmation (unless --auto-approve is enabled):

Tool Gate
space_install All invocations
space_update All invocations
space_remove When purge=true
space_disable All invocations
space_enable All invocations

Excluded Packages

These core Coqui toolkits cannot be managed through the Space Manager:

  • coquibot/coqui-toolkit-space-manager
  • coquibot/coqui-toolkit-composer
  • coquibot/coqui-toolkit-packagist

Development

# Install dependencies
composer install

# Run tests
composer test

# Static analysis
composer analyse

License

MIT

coquibot/coqui-toolkit-space-manager 适用场景与选型建议

coquibot/coqui-toolkit-space-manager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 81 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「toolkit」 「skills」 「package-manager」 「php-agents」 「coqui」 「coqui-space」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 coquibot/coqui-toolkit-space-manager 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 coquibot/coqui-toolkit-space-manager 我们能提供哪些服务?
定制开发 / 二次开发

基于 coquibot/coqui-toolkit-space-manager 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 81
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 30
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-04