@deepseek-ai/dsh-plugin-package-inventory-deepseek 0.1.6-alpha.2 → 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.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/index.js +1 -1
- package/lib/types/index.js +1 -1
- package/package.json +20 -20
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/llm/plugin-package-inventory-deepseek/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 72af2b9e6263499e3826b4ac31485f4df72af745
|
|
6
|
+
README.zh.md: e1e5189239f7a1e72e954fc9f9ae39eac725d96c
|
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Shipped profiles use the default, so every official DeepSeek request carries the
|
|
|
35
35
|
|
|
36
36
|
Every request re-reads active non-group entries from the host Loader tree. When optional `ctx.agentPresets` is present and `sessionId` resolves to a live Agent joined to a standing preset, that preset's separate Loader tree joins the same collection; deployments without the service report the host tree only. Entries are included only while their root fiber is `ACTIVE` and their effective Loader state is enabled.
|
|
37
37
|
|
|
38
|
-
At activation, the plugin samples the optional `ctx.pluginPackages` service. Shipped app boot mounts that service before profile Loader entries, so bare package and package-subpath identities use the same authoritative
|
|
38
|
+
At activation, the plugin samples the optional `ctx.pluginPackages` service. Shipped app boot mounts that service before profile Loader entries, so bare package and package-subpath identities use the same authoritative runtime resolution as their imports, including its misses, without requiring a `./package.json` export. If the service is absent, the plugin retains native Node package-search lookup for its lifetime and does not switch an existing inventory when a resolver mounts later. A low-level embedder that wants runtime resolution identities must therefore mount `PluginPackages` before both the Loader entries and this plugin.
|
|
39
39
|
|
|
40
40
|
Each ordinary entry uses its owning Loader tree base. A standing preset's root entries use the harness base, matching the preset Loader's deliberate bare-package override; nested includes retain their own bases. Relative and absolute modules walk to their nearest manifest; a manifest without `name` marks a loose module and contributes no package identity. A named package manifest must also declare a non-empty `version`, and malformed package metadata fails request preparation. Exact name/version pairs are deduplicated and sorted with a locale-independent comparison, while simultaneously active different versions remain separate.
|
|
41
41
|
|
package/README.zh.md
CHANGED
|
@@ -35,7 +35,7 @@ kind: "package-reference"
|
|
|
35
35
|
|
|
36
36
|
每次请求都会重读宿主 Loader 树中的活跃非 group 配置项。存在可选 `ctx.agentPresets` 且 `sessionId` 解析到已加入 standing preset 的存活 Agent 时,该 preset 的独立 Loader 树也会加入同一次收集;未挂载该服务的部署只报告宿主树。只有根 fiber 处于 `ACTIVE` 且 Loader 有效状态为启用的配置项才会纳入。
|
|
37
37
|
|
|
38
|
-
插件在激活时读取一次可选的 `ctx.pluginPackages` 服务。随附 app boot 会在 profile Loader 配置项之前挂载该服务,因此裸包和包子路径的身份使用与其 import 相同的权威
|
|
38
|
+
插件在激活时读取一次可选的 `ctx.pluginPackages` 服务。随附 app boot 会在 profile Loader 配置项之前挂载该服务,因此裸包和包子路径的身份使用与其 import 相同的权威 runtime resolution,包括它未命中的情况,并且无需包导出 `./package.json`。若该服务不存在,插件会在整个生命周期中保留 Node 原生包搜索,之后再挂载 resolver 也不会切换既有清单。因此,希望使用 runtime resolution 身份的底层嵌入方必须先挂载 `PluginPackages`,再挂载 Loader 配置项和本插件。
|
|
39
39
|
|
|
40
40
|
每个普通配置项使用其所属 Loader 树的基址。standing preset 的根配置项使用宿主基址,与 preset Loader 对裸包的显式覆写保持一致;嵌套 include 仍使用自身基址。相对与绝对模块会向上查找最近的 manifest(元数据清单);没有 `name` 的 manifest 只标记松散模块,不贡献包身份。具名包 manifest 还必须声明非空 `version`,格式错误的包元数据会使请求准备失败。系统使用与 locale 无关的比较按确切名称/版本对去重并排序,同时存活的不同版本仍会分开保留。
|
|
41
41
|
|
package/lib/index.js
CHANGED
|
@@ -112,7 +112,7 @@ async function collectActivePluginPackages(ctx, resolver, hostBaseUrl, sessionId
|
|
|
112
112
|
if (sessionId !== void 0 && ctx.get("agentPresets") !== void 0) {
|
|
113
113
|
const agent = ctx.agents.get(brandString(sessionId));
|
|
114
114
|
if (agent !== void 0) {
|
|
115
|
-
const { standingMountFor } = await import("@deepseek-ai/dsh-agent-
|
|
115
|
+
const { standingMountFor } = await import("@deepseek-ai/dsh-agent-preset-registry");
|
|
116
116
|
const presetTree = standingMountFor(agent.ctx)?.tree;
|
|
117
117
|
if (presetTree !== void 0) entries.push(...activeEntries(presetTree, hostBaseUrl));
|
|
118
118
|
}
|
package/lib/types/index.js
CHANGED
|
@@ -129,7 +129,7 @@ async function collectActivePluginPackages(ctx, resolver, hostBaseUrl, sessionId
|
|
|
129
129
|
if (agent !== undefined) {
|
|
130
130
|
// The optional peer is loaded only when its service is present. Its existing
|
|
131
131
|
// mount query keeps Loader internals off the public AgentPresets service.
|
|
132
|
-
const { standingMountFor } = await import('@deepseek-ai/dsh-agent-
|
|
132
|
+
const { standingMountFor } = await import('@deepseek-ai/dsh-agent-preset-registry');
|
|
133
133
|
const presetTree = standingMountFor(agent.ctx)?.tree;
|
|
134
134
|
// PresetTree deliberately resolves its root bare rows from the harness;
|
|
135
135
|
// nested ordinary includes retain their own tree base.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-plugin-package-inventory-deepseek",
|
|
3
3
|
"description": "Active Loader-backed plugin package inventory for official DeepSeek LLM API requests",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -32,32 +32,32 @@
|
|
|
32
32
|
],
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@deepseek-ai/schemastery": "
|
|
36
|
-
"@deepseek-ai/dsh-brand": "
|
|
35
|
+
"@deepseek-ai/schemastery": "~3.18.4",
|
|
36
|
+
"@deepseek-ai/dsh-brand": "0.1.7-alpha.2"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@deepseek-ai/cordis": "
|
|
40
|
-
"@deepseek-ai/cordis-plugin-loader": "
|
|
41
|
-
"@deepseek-ai/dsh-agent": "
|
|
42
|
-
"@deepseek-ai/dsh-agent-
|
|
43
|
-
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "
|
|
44
|
-
"@deepseek-ai/dsh-session": "
|
|
39
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
40
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
41
|
+
"@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
|
|
42
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.1.7-alpha.2",
|
|
43
|
+
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.1.7-alpha.2",
|
|
44
|
+
"@deepseek-ai/dsh-session": "0.1.7-alpha.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
47
|
-
"@deepseek-ai/dsh-agent-
|
|
47
|
+
"@deepseek-ai/dsh-agent-preset-registry": {
|
|
48
48
|
"optional": true
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@deepseek-ai/dsh-app-boot": "
|
|
53
|
-
"@deepseek-ai/cordis": "
|
|
54
|
-
"@deepseek-ai/cordis-plugin-
|
|
55
|
-
"@deepseek-ai/
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-scope": "
|
|
59
|
-
"@deepseek-ai/dsh-session": "
|
|
60
|
-
"@deepseek-ai/
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
52
|
+
"@deepseek-ai/dsh-app-boot": "0.1.7-alpha.2",
|
|
53
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
54
|
+
"@deepseek-ai/cordis-plugin-include": "~1.0.9",
|
|
55
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
56
|
+
"@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
|
|
57
|
+
"@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.1.7-alpha.2",
|
|
58
|
+
"@deepseek-ai/dsh-scope": "0.1.7-alpha.2",
|
|
59
|
+
"@deepseek-ai/dsh-session": "0.1.7-alpha.2",
|
|
60
|
+
"@deepseek-ai/dsh-session-projection": "0.1.7-alpha.2",
|
|
61
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.1.7-alpha.2"
|
|
62
62
|
}
|
|
63
63
|
}
|