Skip to content

[Feature]: add-resource --to and --parent #467

@MaojiaSheng

Description

@MaojiaSheng

Problem Statement

I'd like to change the usage of arg “--to” for add-resource/add-skill/add-memory。
Now it's not clear.

Proposed Solution

It should be defined below:

  • --to : setting the target URI, which will be the final URI of the new resource, and the path should NOT exist before.
  • --parent : setting the parent directory URI, which will be the parent path of the new resource, and the path should exist before.

Alternatives Considered

No response

Feature Area

CLI Tools

Use Case

ov add-resource https://github.com/volcengine/OpenViking --to viking://resources/code-repos/OpenViking
ov add-resource https://github.com/volcengine/MineContext --parent viking://resources/code-repos/

Example API (Optional)

Additional Context

No response

Contribution

  • I am willing to contribute to implementing this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions