This release is a pre-release and may not be stable for production use.
openjiuwen-skillsdispatch
openjiuwen-skillsdispatch 是 openJiuwen 的技能分发能力包,用于基于 skill/plugin 目录构建 Capability Tree 索引。
目录结构
dispatch/
├── build.py
├── indexing/
│ ├── catalog/
│ ├── io/
│ ├── scanners/
│ ├── tree/
│ └── workflows/
├── shared/
├── pyproject.toml
└── README.md
核心能力
indexing.scanners:扫描 skill/plugin 目录。indexing.tree:基于 LLM 或 fallback 逻辑构建 Capability Tree。indexing.workflows:封装索引构建工作流,输出 tree、catalog、manifest 等产物。shared:提供 Rich 兼容层和 S3/OBS 存储工具。
安装
本地开发验证:
cd marketplace/dispatch
python -m pip install -e .
发布到 pip 源后安装:
python -m pip install openjiuwen-skillsdispatch
SDK 使用
from indexing.workflows.artifacts import BuildConfig, BuildMethod
from indexing.workflows.index_builder import IndexBuilder
config = BuildConfig(
method=BuildMethod.TREE,
llm_model="your-model",
llm_api_key="your-api-key",
llm_base_url="your-base-url",
)
IndexBuilder.build(
item_paths=["/path/to/skill-or-plugin"],
output_dir="/path/to/output-index",
item_type="skill",
config=config,
)
如果没有配置 LLM,默认允许走 fallback tree,用于本地 smoke test 和基础构建链路验证。真实树构建效果仍建议配置 LLM。
构建产物
构建完成后,输出目录通常包含:
manifest.jsontree_index.yamltree_index.htmlcatalog.jsonl
构建 wheel
在 marketplace/dispatch 目录下执行:
python -m pip wheel . --no-deps --no-build-isolation -w dist
Metadata
Release files for openjiuwen-skillsdispatch 0.0.2b2
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 |
|---|---|---|---|---|
| openjiuwen_skillsdispatch-0.0.2b2-py3-none-any.whl | Python 3 | none | any | Details for openjiuwen_skillsdispatch-0.0.2b2-py3-none-any.whl |
Release files / openjiuwen_skillsdispatch-0.0.2b2-py3-none-any.whl
| Download URL | openjiuwen_skillsdispatch-0.0.2b2-py3-none-any.whl |
|---|---|
| Size | 200.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aad8833a55b249e6c6825f4fb6469b4a35b2854b33db9cc64d59015ac126283a
|
|
BLAKE2b-256 checksum How to use checksums |
90d184a0233f5b6738efb64e38808757283568fb0e1a2e192ab937c6c71ee7f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for openjiuwen-skillsdispatch 0.0.2b2
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.