@dotdance/dsh-skill-scope 0.2.1 → 0.3.0-alpha.2

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.en.md CHANGED
@@ -52,7 +52,8 @@ visible, clickable switches, managed separately at **global** and **per-workspac
52
52
  ### 1. The global panel — switch off everything no project needs
53
53
 
54
54
  Click **Global Skills** in the left sidebar to open a native main-view page listing everything at the
55
- **global layer**, skills and MCP servers alike. Anything you switch off here **applies to every workspace**, and is a hard ceiling.
55
+ **global layer**, skills and MCP servers alike. Anything you switch off here **is off by default in every workspace**;
56
+ when one project really needs it, that project can switch it back on (see rule 3).
56
57
 
57
58
  ![Two entry points: Global Skills in the sidebar and Workspace Skills beside the input box](assets/panel-global.png)
58
59
 
@@ -70,28 +71,42 @@ In a **new session**, click **Workspace Skills** at the bottom right of the inpu
70
71
 
71
72
  The panel title states that it affects `default-workspace` only, and the lower part groups items by source: in this example the `.agents` directory contributes 35 of them.
72
73
 
73
- - Items switched off globally **never reach this list at all**, so a shorter list than the global panel is expected, not lost data.
74
+ - This list holds **the same inventory as the global panel**: items switched off globally are here too (with the switch off), and you can switch them on right here.
75
+ - A row that differs from the global setting carries a red **"Differs from global"** tag, so you can see at a glance what this project has changed.
76
+ - Besides **All / Enabled / Disabled**, the view bar has a fourth button, **Differs from global**: it narrows the list to what this project changed, which helps once the inventory gets long.
74
77
  - Changes **apply only to new sessions in this project** and affect no other project.
75
78
 
76
- ### 3. The key rule: global is a hard ceiling, projects can only narrow further
79
+ ### 3. The key rule: global supplies defaults, a project overrides item by item
77
80
 
78
81
  ```text
79
82
  Every skill and MCP server on disk
80
83
  │
81
84
  ▼
82
85
  ┌─────────────────────┐
83
- │ Global (hard cap) │ off = no project can use it
86
+ │ Global (defaults) │ off = no project uses it by default
84
87
  └─────────────────────┘
85
- │ what remains
88
+ │ per item: follow / switch on / switch off
86
89
  ▼
87
90
  ┌─────────────────────┐
88
- │ Project (narrow) │ can only switch more off;
89
- └─────────────────────┘ cannot re-enable a globally disabled item
91
+ │ Project (override) │ can switch a global off back on,
92
+ └─────────────────────┘ and a global on back off
90
93
  │
91
94
  ▼
92
95
  The set the model actually sees this turn
93
96
  ```
94
97
 
98
+ Each item has one of three states in a project. The panel exposes a single control, because
99
+ "follow global" is expressed by **not recording that item**:
100
+
101
+ | State | Meaning | How the panel shows it |
102
+ | --- | --- | --- |
103
+ | Follow global | This project has no opinion on the item | Switch sits at the global position, no red tag |
104
+ | Switched on here | Off globally, but this project needs it | Switch is on + red tag "Differs from global" |
105
+ | Switched off here | On globally, but this project does not want it | Switch is off + red tag "Differs from global" |
106
+
107
+ To go back to "follow global", move the switch to the global position: the red tag disappears and the
108
+ record is dropped.
109
+
95
110
  ### Off is not deleted: manual invocation always remains
96
111
 
97
112
  Switching a skill off only disables its **automatic invocation by the model**. You can still call it by typing `/name` in a session.
package/README.md CHANGED
@@ -52,7 +52,7 @@ dsh plugin --profile web add @dotdance/dsh-skill-scope
52
52
  ### 1. 全局面板——一次收掉所有工程都不需要的能力
53
53
 
54
54
  点左侧栏的「**全局 Skills**」,打开一个原生主界面页面,列出**全局层**的全部 Skill 与 MCP server。
55
- 在这里关掉的名字,**对所有工作区生效**,是硬上限。
55
+ 在这里关掉的名字**默认对所有工作区生效**;某个工程确实需要时,可以在本工程里单独把它打开(见下文第 3 条)。
56
56
 
57
57
  ![两个入口:侧栏的 Global Skills 与输入框右侧的 Workspace Skills](assets/panel-global.png)
58
58
 
@@ -70,28 +70,40 @@ dsh plugin --profile web add @dotdance/dsh-skill-scope
70
70
 
71
71
  图中列表标题写明「只影响 default-workspace」,下半部分按来源分组:本例里 `.agents` 目录贡献 35 项。
72
72
 
73
- - 被全局关掉的项**根本不进这个列表**,所以列表比全局面板短是正常的,不是丢数据。
73
+ - 列表与全局面板**同一份清单**:全局关掉的项也在里面(开关是关的),你可以直接在这里把它打开。
74
+ - 与全局设置不同的行带一个红色标记「**与全局不同**」,一眼看出这个工程动过什么。
75
+ - 视图条除「全部 / 已启用 / 已禁用」外多一个「**与全局不同**」:点它只剩本工程改过的项(清单长时好用)。
74
76
  - 改动**只对本工程的新会话生效**,不影响别的项目。
75
77
 
76
- ### 3. 关键规则:全局是硬上限,工程只能往下收
78
+ ### 3. 关键规则:全局给默认值,工程可以逐项改
77
79
 
78
80
  ```text
79
81
  磁盘上的全部 Skill 与 MCP
80
82
  │
81
83
  ▼
82
84
  ┌─────────────────────┐
83
- │ 全局层(硬上限) │ 关掉 = 任何工程都用不了
85
+ │ 全局层(默认值) │ 关掉 = 默认任何工程都用不了
84
86
  └─────────────────────┘
85
- │ 剩下的
87
+ │ 逐项:跟随 / 打开 / 关闭
86
88
  ▼
87
89
  ┌─────────────────────┐
88
- │ 工程层(再收窄) │ 只能继续关,不能把全局关掉的打开
90
+ │ 工程层(可覆盖) │ 全局关的能打开,全局开的也能关掉
89
91
  └─────────────────────┘
90
92
  │
91
93
  ▼
92
- 这一轮模型真正看得见的集合
94
+ 这一轮模型真正看得见的集合
93
95
  ```
94
96
 
97
+ 每一项在本工程里有三种状态。界面上只有开关一种动作,因为「跟随全局」用**不记这条**来表达:
98
+
99
+ | 状态 | 含义 | 界面上怎么看出来 |
100
+ | --- | --- | --- |
101
+ | 跟随全局 | 本工程对这项没有主张 | 开关位置与全局一致,没有红标 |
102
+ | 本工程打开 | 全局关着,这个工程要用 | 开关是开的 + 红标「与全局不同」 |
103
+ | 本工程关闭 | 全局开着,这个工程不要 | 开关是关的 + 红标「与全局不同」 |
104
+
105
+ 想改回「跟随全局」:把开关拨回全局的样子即可,红标消失,这条决定也随之删除。
106
+
95
107
  ### 关掉 ≠ 删掉:手动调用永远还在
96
108
 
97
109
  关掉一个 Skill 只把它的**模型自动调用**关掉。你仍然可以在会话里手敲 `/名字` 调用它。
package/cordis.patch.yml CHANGED
@@ -1,3 +1,7 @@
1
1
  - insert:
2
2
  - id: dsh-skill-scope
3
3
  name: "@dotdance/dsh-skill-scope"
4
+
5
+ - id: skill-filesystem
6
+ name: "@deepseek-ai/dsh-skill-filesystem"
7
+ disabled: false