дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-28 13:32:29 +02:00
Settings › Agents › Skills gets Install Skill…: enter a GitHub source in the forms `npx skills add` accepts (`owner/repo`, `owner/repo@skill`, `owner/repo#ref`, `owner/repo/path[@ref]`, GitHub tree URLs, pasted skills.sh links), pick one of the skills found, preview its `SKILL.md` and file list, and install it into `~/.agents/skills` (default) or the workspace `.agents/skills` (trusted projects only). Sources resolve through GitHub's Git Trees and Blobs APIs over the existing `ide-tools` HTTP client, with no curated repository list and no Node or git dependency, retrying unauthenticated when an ambient GitHub token gets HTTP 401 on a public repository. Only the selected skill's subtree is downloaded (capped at 2 MiB / 256 files) and installed atomically through a staging folder. A static scan flags hidden or bidirectional Unicode, out-of-root symlinks (omitted on disk), executable scripts and `allowed-tools` shell grants; the user must confirm the warnings, and the backend checks that confirmation again before writing. Part of #5115 Co-authored-by: dengliu <[email protected]>
36 рядки
900 B
TOML
36 рядки
900 B
TOML
[package]
|
|
name = "ide-agent"
|
|
description = "Coding agents over the Agent Client Protocol: tasks, sessions, worktrees and their timelines"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
encoding_rs.workspace = true
|
|
base64.workspace = true
|
|
blake3.workspace = true
|
|
ide-vfs.workspace = true
|
|
ide-core.workspace = true
|
|
ide-mcp.workspace = true
|
|
ide-jsonrpc.workspace = true
|
|
ide-vcs.workspace = true
|
|
ide-tools = { path = "../ide-tools" }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
specta.workspace = true
|
|
tokio.workspace = true
|
|
toml.workspace = true
|
|
tracing.workspace = true
|
|
parking_lot.workspace = true
|
|
dunce.workspace = true
|
|
uuid.workspace = true
|
|
tempfile.workspace = true
|
|
which = "8"
|
|
semver = "1"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
rustix = { version = "1", features = ["fs"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["test-util"] }
|