新增:
- cli-anything/ — 命令行伴侣
- docs/ — v3.8设计文档、v3.9 rag-skill补充设计、实施计划、进度快照、data_structure.md索引
- skills/ — zhiyi技能(SKILL.md+scripts+references)、rag-progressive-search渐进检索技能
- scripts/ — 更新wiki_curator.py(中文版)、新增three-way-check.sh、verify-gitea-deploy.sh
变更:
- scripts/wiki_curator.py — 更新为中文说明版
- README.md — 已完成(ca37de9)
功能覆盖:
- P0 Recall降级策略 / P1 自动注入 / P2 信任评分
- P3 CREATIVE.md / P4 Ground Truth / P5 Wiki策展
- H1 BM25融合 / H2 LLM策展 / H3自动信任 / H4 diversity / H5三模式 / H6多级存储
- rag-skill渐进式检索集成(分层索引+渐进检索+先学再做)
46 lines
1.4 KiB
Python
46 lines
1.4 KiB
Python
#!/usr/bin/env python3
|
|
"""setup.py for cli-anything-zhiyi."""
|
|
from pathlib import Path
|
|
from setuptools import setup, find_namespace_packages
|
|
|
|
ROOT = Path(__file__).parent
|
|
README = ROOT / "cli_anything/zhiyi/README.md"
|
|
|
|
long_description = README.read_text(encoding="utf-8") if README.exists() else "ZhiYi MemoryWeave CLI"
|
|
|
|
setup(
|
|
name="cli-anything-zhiyi",
|
|
version="0.1.0",
|
|
description="Agent-native CLI for ZhiYi MemoryWeave — search, explore, and manage your memory system",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
author="小唯 A06",
|
|
packages=find_namespace_packages(include=("cli_anything.*",)),
|
|
python_requires=">=3.10",
|
|
install_requires=[
|
|
"click>=8.1",
|
|
],
|
|
extras_require={
|
|
"dev": ["pytest>=7"],
|
|
"repl": ["prompt-toolkit>=3.0"],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"cli-anything-zhiyi=cli_anything.zhiyi.zhiyi_cli:cli",
|
|
],
|
|
},
|
|
package_data={
|
|
"cli_anything.zhiyi": ["skills/*.md"],
|
|
},
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
keywords=["cli", "zhiyi", "memory", "knowledge-graph", "ai"],
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
],
|
|
)
|