Skip to content

feat(harness): load skills directly from TOS sources - #1166

Open
Rhosmarie wants to merge 8 commits into
volcengine:mainfrom
Rhosmarie:feat/skill_tos
Open

Rhosmarie wants to merge 8 commits into
volcengine:mainfrom
Rhosmarie:feat/skill_tos

Conversation

@Rhosmarie

Copy link
Copy Markdown
Collaborator

Summary

Enable Harness to load Skills directly from TOS without registering them in Skill Space first.

Each TOS source represents exactly one Skill. Multiple Skills are supplied through multiple selected_skills entries.

Changes

  • Add source="tos" support to HarnessSelectedSkill.
  • Support private TOS Skill directories through tos_url.
  • Support public TOS ZIP archives through tos_public_url.
  • Use the Harness runtime cloud identity for private TOS access.
  • Require SKILL.md or skill.md at the root of private TOS directories.
  • Reuse the existing ADK load_skill_from_dir and SkillToolset flow.
  • Preserve existing SkillHub and Skill Space behavior.
  • Add bilingual PRD documentation and focused test coverage.

Example

selected_skills = [
    HarnessSelectedSkill(
        source="tos",
        tos_url="tos://bucket/skills/reporting/",
        region="cn-beijing",
    ),
    HarnessSelectedSkill(
        source="tos",
        tos_public_url=(
            "https://bucket.tos-cn-beijing.volces.com/skills/search.zip"
        ),
        region="cn-beijing",
    ),
]

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant