mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-15 02:30:49 +08:00
统一技能安装与 Skills 市场接入链路。
新增公开安装工具与多来源 provider 支持,补齐管理端与目录加载逻辑,并同步更新相关测试与文档以保证可见性和路径安全。 Made-with: Cursor
This commit is contained in:
parent
d5e30542aa
commit
4d9232f3b3
66 changed files with 7369 additions and 1099 deletions
10
tests/test_skills_install_public_tool_visibility.py
Normal file
10
tests/test_skills_install_public_tool_visibility.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from oclaw.runtime.tools.catalog import default_registry
|
||||
|
||||
|
||||
def test_skill_install_public_tools_hidden_for_specialist_auto_only() -> None:
|
||||
names = [t.name for t in default_registry(expert="network_ops+memory", specialist="ops").list()]
|
||||
assert "skill_market_install" not in names
|
||||
assert "skill_registry_install" not in names
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue