@lingxi-ai-cn/dsh-plugin-hub 0.1.5-rc.8 → 0.1.7-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.md +18 -0
- package/README.zh.md +19 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Provider-neutral Plugin Hub service contract for catalog, installed truth, plans, and maintenance handoff."
|
|
3
|
+
kind: "package-reference"
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# @lingxi-ai-cn/dsh-plugin-hub
|
|
2
7
|
|
|
3
8
|
English | [中文](README.zh.md)
|
|
4
9
|
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
5
12
|
Provider-neutral human Plugin Hub capability exposed as `ctx.pluginHub`. The service owns stable catalog, installed-state, detached-plan, staging, and activation-handoff DTOs plus provider registration, transient progress events, the error taxonomy, and an explicit `supportsProfileMutations()` capability. HTTP, cache, signatures, profile mutation, package-manager work, journals, and maintenance processes belong to providers. A catalog-only provider reports `false`, so a consumer can keep discovery and installed truth active without presenting an in-process mutation action.
|
|
6
13
|
|
|
7
14
|
Catalog detail DTOs preserve repository archive state, declared and verified operating systems, bounded curation notes, and structured advisories with severity and recommended action. These are discovery and risk-display facts; none can establish installability or replace signed descriptor verification.
|
|
@@ -14,6 +21,12 @@ Providers may also expose a separate discovered-repository page. Discovery rows
|
|
|
14
21
|
|
|
15
22
|
Install planning accepts only opaque `PluginId` and `PluginVersionId` values. Plans expose exact confirmation facts but never artifact URLs, local paths, executables, package-manager arguments, or a signature bypass. Staging and activation accept only provider-issued branded ids, and `markMaintenanceReady()` is a no-op outside an authenticated relaunch handoff.
|
|
16
23
|
|
|
24
|
+
## Table of Contents
|
|
25
|
+
|
|
26
|
+
- [Model Experience](#model-experience)
|
|
27
|
+
- [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
|
|
28
|
+
- [Dev Note](#dev-note)
|
|
29
|
+
|
|
17
30
|
## Model Experience
|
|
18
31
|
|
|
19
32
|
None, as the service exposes catalog rows, README text, and progress only to human UI consumers and never writes them to the Session log.
|
|
@@ -26,3 +39,8 @@ No effect; the service does not add, replace, or retain model-request content.
|
|
|
26
39
|
|
|
27
40
|
- **Provider implementation required** - the Service Definition performs no Registry verification or profile mutation by itself; the mounted Host provider owns every trust and transaction decision.
|
|
28
41
|
- **No rollback contract** - retained generations, history, rollback planning, and advisory remediation remain outside the initial install lifecycle.
|
|
42
|
+
|
|
43
|
+
<a id="dev-note"></a>
|
|
44
|
+
### Dev Note
|
|
45
|
+
|
|
46
|
+
None.
|
package/README.zh.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "面向 catalog、installed truth、plan 与 maintenance handoff 的 provider-neutral Plugin Hub service contract。"
|
|
3
|
+
kind: "package-reference"
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# @lingxi-ai-cn/dsh-plugin-hub
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
[English](README.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
4
11
|
|
|
5
12
|
这是通过 `ctx.pluginHub` 提供的 provider-neutral 人工 Plugin Hub 能力。服务拥有稳定的目录、installed state、detached plan、staging 和 activation handoff DTO,以及 provider 注册、临时 progress event、错误分类和显式 `supportsProfileMutations()` capability;HTTP、cache、signature、profile 修改、包管理器、journal 和 maintenance process 都属于 provider。只提供目录的 provider 会报告 `false`,因此 consumer 可以继续提供发现与已安装事实,而不呈现进程内修改操作。
|
|
6
13
|
|
|
@@ -14,6 +21,12 @@ provider 还可以提供独立的发现仓库 page。Discovery row 携带 reposi
|
|
|
14
21
|
|
|
15
22
|
安装计划只接受 opaque `PluginId` 和 `PluginVersionId`。plan 公开精确确认事实,但绝不公开 artifact URL、本地路径、executable、包管理器参数或 signature bypass。staging 和 activation 只接受 provider 签发的 branded id;`markMaintenanceReady()` 在 authenticated relaunch handoff 之外是 no-op。
|
|
16
23
|
|
|
24
|
+
## 目录
|
|
25
|
+
|
|
26
|
+
- [Model Experience](#model-experience)
|
|
27
|
+
- [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
|
|
28
|
+
- [开发备注](#dev-note)
|
|
29
|
+
|
|
17
30
|
## Model Experience
|
|
18
31
|
|
|
19
32
|
无,因为该服务只向人工 UI consumer 提供目录、README 和进度,并且绝不会将它们写入 Session log。
|
|
@@ -26,3 +39,8 @@ provider 还可以提供独立的发现仓库 page。Discovery row 携带 reposi
|
|
|
26
39
|
|
|
27
40
|
- **需要 provider 实现** — Service Definition 自身不执行 Registry 校验或 profile 修改;挂载的 Host provider 拥有全部 trust 和 transaction decision。
|
|
28
41
|
- **无 rollback contract** — generation 保留、history、rollback plan 和 advisory remediation 不属于首个安装 lifecycle。
|
|
42
|
+
|
|
43
|
+
<a id="dev-note"></a>
|
|
44
|
+
### 开发备注
|
|
45
|
+
|
|
46
|
+
无。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxi-ai-cn/dsh-plugin-hub",
|
|
3
3
|
"description": "Provider-neutral Plugin Hub catalog and profile transaction capability for native TUI consumers",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
],
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@deepseek-ai/dsh-brand": "0.1.
|
|
35
|
-
"@deepseek-ai/dsh-invariants": "0.1.
|
|
36
|
-
"@deepseek-ai/cordis": "4.0.
|
|
34
|
+
"@deepseek-ai/dsh-brand": "0.1.2-alpha.2",
|
|
35
|
+
"@deepseek-ai/dsh-invariants": "0.1.2-alpha.2",
|
|
36
|
+
"@deepseek-ai/cordis": "4.0.2"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"@deepseek-ai/dsh-brand": {
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@deepseek-ai/dsh-brand": "0.1.
|
|
51
|
-
"@deepseek-ai/dsh-invariants": "0.1.
|
|
52
|
-
"@deepseek-ai/cordis": "4.0.
|
|
50
|
+
"@deepseek-ai/dsh-brand": "0.1.2-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-invariants": "0.1.2-alpha.2",
|
|
52
|
+
"@deepseek-ai/cordis": "4.0.2"
|
|
53
53
|
}
|
|
54
54
|
}
|