This release is a pre-release and may not be stable for production use.
pyxis-harness-plugin-manager
plugin_manager 工具、插件编写技能、包的只读挂载、插件源码目录、系统提示词段。
| 条目 | entry point | 插件 | 注入 |
|---|---|---|---|
plugin-manager(base bundle) |
pyxis-harness-plugin-manager |
apply(函数插件) |
tools、prompt、agentLoop |
dev-context(base bundle) |
pyxis-harness-dev-context |
apply(函数插件) |
prompt |
文件
| 文件 | 内容 |
|---|---|
__init__.py |
导出 |
plugin.py |
plugin_manager 工具、技能挂载、包的只读挂载、插件源码目录的挂载、提示词段 |
dev_context.py |
提示词段 dev-context |
reference.py |
技能 pyxis-harness-composition-reference 的 references/packages.md 的渲染 |
prompts.toml |
模型可见的文本 |
skills/ |
技能内容 |
配置(plugin-manager)
| 配置 | 作用 | 面向的预设 |
|---|---|---|
guidance |
系统提示词中的简短段 | 没有技能的预设(standard) |
skills |
本包的 skills/ 挂载到 /skills/pyxis-harness/ |
skills_presets(creator) |
sources |
已加载的包只读挂载到 /harness/<模块名>/;提示词段 harness-sources |
skills_presets(creator) |
技能
| 项 | 值 |
|---|---|
| 位置 | skills/<name>/SKILL.md |
| 技能 | pyxis-harness-plugin-development、editing-pyxis-harness-compositions、pyxis-harness-composition-reference、agent-experience |
| 模板 | skills/pyxis-harness-plugin-development/templates/ |
包的只读挂载
| 项 | 契约 |
|---|---|
| 范围 | 内核 pyxis_harness 与每个已加载条目的包:source_roots() |
| 挂载点 | /harness/<模块名>/,经 ctx.agentLoop.add_mount;只读 |
| 挂载的目录 | pyxis_harness.package_root:源码检出为含 pyproject.toml、AGENTS.md 与模块目录的发行目录;已安装的 wheel 为模块目录 |
| 路径的出处 | harness_inspect topic=config 的 docs 与 package_dir |
提示词段 harness-sources |
挂载点与路径的出处;order 55 |
插件源码目录
| 项 | 契约 |
|---|---|
| 目录 | profile.documents 下的 plugins/:~/Documents/pyharness/<profile>/plugins/;不存在时创建 |
| 挂载点 | /plugins/,经 ctx.agentLoop.add_mount(..., writable=True);面向 skills_presets(creator) |
| 会话的工作区 | 不参与:每个会话是同一个目录 |
工作区里同名的 plugins/ |
在这些预设的会话里被挂载遮住 |
| shell | 用磁盘路径;提示词段 plugin-sources 给出,order 56 |
| 没有 profile 的 harness | 不挂载 |
plugin_manager 工具
| 安装目标 | 解析 |
|---|---|
挂载内的路径(/plugins/<name>) |
挂载的磁盘路径:ctx.agentLoop.mount_target |
| 其他目录 | 会话工作区内的路径 |
| 包需求 | 包索引 |
| 步骤 | 结果 |
|---|---|
| 变更动作 | pyxis_harness.manage 事务:变更 → preflight → 保留或还原 |
| 被拒绝 | 返回错误;profile 不变 |
| 已保存,受托管 | 当前轮次结束后重启;发起调用的会话继续 |
| 已保存,未受托管 | 下次启动时生效 |
| 审批 | 契约 |
|---|---|
| 变更动作 | 等待人工批准 |
| 判定 | 工具审批门上的 when 谓词 |
| 开关 | require_approval |
提示词段 dev-context(dev_context.py)
| 行 | 值 | 条件 |
|---|---|---|
installation |
pyxis_harness 包的目录 |
|
profile |
profile 的名称与目录 | 有活动的 profile |
default workspace |
ctx.workspace.root |
工作区已激活 |
Web UI |
ctx.http 给出的 http://host:port/;API 在 /api 下 |
| 部分 | 契约 |
|---|---|
| 引导文本 | 不含具体值 |
| 值 | 列表,跟在引导文本之后 |
包清单(reference.py)
| 项 | 契约 |
|---|---|
| 文件 | 技能 pyxis-harness-composition-reference 的 references/packages.md |
| 来源 | 已安装的 entry point |
| 写入 | python scripts/gen_packages.py |
| 过期 | tests/test_creator.py 失败 |
prompts.toml
| 项 | 契约 |
|---|---|
| 表 | 以使用它的模块命名:[plugin_manager]、[dev_context];[tools]:工具描述 |
| 读取 | pyxis_harness.package_prompts;每个字符串值去掉首尾空白 |
| 占位符 | string.Template 语法(${name}) |
Metadata
Release files for pyxis-harness-plugin-manager 0.1.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyxis_harness_plugin_manager-0.1.0rc1-py3-none-any.whl | Python 3 | none | any | Details for pyxis_harness_plugin_manager-0.1.0rc1-py3-none-any.whl |
Release files / pyxis_harness_plugin_manager-0.1.0rc1-py3-none-any.whl
| Download URL | pyxis_harness_plugin_manager-0.1.0rc1-py3-none-any.whl |
|---|---|
| Size | 49.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08eaa9c4703862bd5bf99a6bc8c474715bc400d2342a2e647b65511a2cef1063
|
|
BLAKE2b-256 checksum How to use checksums |
dcec7b46d41521974de5300b4fc5e7fc864b2c255d7c1df294176710bf50e9ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pyxis-harness-plugin-manager 0.1.0rc1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.