Skip to main content
Pre-release

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.json
  • tree_index.yaml
  • tree_index.html
  • catalog.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)

Table of built distributions (wheels) for openjiuwen-skillsdispatch 0.0.2b2
File Interpreter ABI Platform
openjiuwen_skillsdispatch-0.0.2b2-py3-none-any.whl Python 3 none any Details

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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page