dsh-skills-manager 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -31,11 +31,12 @@ After changing the bundle or installed dependencies, restart the Harness service
31
31
 
32
32
  1. Open Web Settings, then select **Skill 管理** in the sidebar.
33
33
  2. Choose **本机** to select a local skill folder, or **仓库** to enter a GitHub `owner/repo`, HTTPS URL, SSH URL, or other Git URL.
34
- 3. Enable **全局** or select a workspace and enable **项目**.
35
- 4. Use the refresh icon on a row to reinstall that skill from the source recorded in `skills-lock.json`.
36
- 5. Use **检测** to check every installed skill for upstream updates without applying them; rows show a badge (有更新 / 已是最新 / 上游已删除 / 无法检测). When updates are found, **全部更新 (N)** applies them one by one.
37
- 6. Use the wrench control beside the composer attachment button to toggle installed skills for the current session workspace only.
38
- 7. Remove an installed skill with **移除**. This deletes only the plugin's private library entry, not the local source or remote repository.
34
+ 3. When a source offers more than one skill, a checklist shows what it contains; untick what you do not want, then **导入所选 (N)** installs only the selection. Single-skill sources install directly.
35
+ 4. Enable **全局** or select a workspace and enable **项目**. The **仅手动** pill on a row switches model invocation off or on: a manual-only skill is kept out of the model-facing catalog and the `skill` tool, and only an explicit `/name` reference loads it. Rows whose frontmatter sets `disable-model-invocation` start manual-only; the pill overrides that declaration in either direction and is stored in `state.json`, so `SKILL.md` is never rewritten and an update cannot silently drop the setting.
36
+ 5. Use the refresh icon on a row to reinstall that skill from the source recorded in `skills-lock.json`.
37
+ 6. Use **检测** to check every installed skill for upstream updates without applying them; independent sources and skill folders are checked concurrently, and rows show a badge (有更新 / 已是最新 / 上游已删除 / 无法检测). When updates are found, **全部更新 (N)** applies them one by one and re-checks automatically.
38
+ 7. Use the wrench control beside the composer attachment button to toggle installed skills for the current session workspace only.
39
+ 8. Remove an installed skill with **移除**. This deletes only the plugin's private library entry, not the local source or remote repository.
39
40
 
40
41
  Repository imports and refreshes are delegated to the `skills` CLI. It supports GitHub `owner/repo`, HTTPS, SSH, Git and file URLs, and reuses the machine's existing Git credential helper or SSH configuration. Do not put credentials in repository URLs; the plugin rejects embedded credentials before invoking the CLI.
41
42
 
@@ -51,7 +52,7 @@ $DSH_HOME/skill-manager/skills-lock.json
51
52
  $DSH_HOME/skill-manager/state.json
52
53
  ```
53
54
 
54
- `skills-lock.json` is the only source-of-origin record. `state.json` stores only global and project enablement.
55
+ `skills-lock.json` is the only source-of-origin record. `state.json` stores global and project enablement plus the per-skill model-invocation override.
55
56
 
56
57
  Override the storage root in `cordis.patch.yml`:
57
58
 
@@ -76,7 +77,7 @@ The test suite covers scope resolution, current-state validation, local and Git
76
77
  ## Design boundaries
77
78
 
78
79
  - This plugin runs the packaged `skills` CLI with an argv array and a private storage `cwd`; it never modifies the active workspace's `.agents/skills` directory.
79
- - It does not rewrite an imported `SKILL.md` or alter the source folder or repository. Broken or escaping source symlinks are rejected before the CLI copies anything.
80
+ - It does not rewrite an imported `SKILL.md` or alter the source folder or repository. The **仅手动** switch lives in `state.json` and is applied when the provider resolves each skill's invocation policy. Broken or escaping source symlinks are rejected before the CLI copies anything.
80
81
  - Skills already present in other filesystem roots remain owned by those roots; import them into this private library when they should be managed here.
81
82
  - Import and mutation RPCs are loopback-only because they write local files.
82
83
  - DSH is in developer preview; bundle and Cordis APIs can change between Harness releases.