@sparkelf/dsh-plus 0.2.2-alpha.2.4 → 0.2.2-alpha.2.6
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/lib/bin.js +17 -1
- package/lib/types/standalone-profile.js +22 -1
- package/package.json +1 -1
package/lib/bin.js
CHANGED
|
@@ -1202,6 +1202,22 @@ function ensureProfile(paths, consumerDirectory, edition) {
|
|
|
1202
1202
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.7-alpha.1",
|
|
1203
1203
|
"@deepseek-ai/dsh-home-paths": runtime,
|
|
1204
1204
|
"@deepseek-ai/dsh-launch-environment": runtime,
|
|
1205
|
+
"@deepseek-ai/dsh-agent": runtime,
|
|
1206
|
+
"@deepseek-ai/dsh-llm": runtime,
|
|
1207
|
+
"@deepseek-ai/dsh-scope": runtime,
|
|
1208
|
+
"@deepseek-ai/dsh-session": runtime,
|
|
1209
|
+
"@deepseek-ai/dsh-system-prompt": runtime,
|
|
1210
|
+
"@deepseek-ai/dsh-user-approval": runtime,
|
|
1211
|
+
"@deepseek-ai/dsh-attachment": runtime,
|
|
1212
|
+
"@deepseek-ai/dsh-compaction": runtime,
|
|
1213
|
+
"@deepseek-ai/dsh-fs": runtime,
|
|
1214
|
+
"@deepseek-ai/dsh-shell": runtime,
|
|
1215
|
+
"@deepseek-ai/dsh-spill": runtime,
|
|
1216
|
+
"@deepseek-ai/dsh-sandbox": runtime,
|
|
1217
|
+
"@deepseek-ai/dsh-ptc-runtime": runtime,
|
|
1218
|
+
"@deepseek-ai/dsh-llm-deepseek": runtime,
|
|
1219
|
+
"@deepseek-ai/dsh-deepseek-account": runtime,
|
|
1220
|
+
"@deepseek-ai/dsh-anonymous-user-id": runtime,
|
|
1205
1221
|
...Object.fromEntries(baseBundles.filter((bundle) => bundle.startsWith("@deepseek-ai/dsh-")).map((bundle) => [bundle, runtime]))
|
|
1206
1222
|
};
|
|
1207
1223
|
const compositionPackages = composition === void 0 ? basePackages : {
|
|
@@ -1267,7 +1283,7 @@ function writeProfileOverrides(profileDirectory, overrides, allowBuilds, omitted
|
|
|
1267
1283
|
for (const [name, spec] of Object.entries(omittedPackages)) document.setIn(["overrides", name], spec);
|
|
1268
1284
|
for (const [name, allowed] of Object.entries(allowBuilds)) document.setIn(["allowBuilds", name], allowed);
|
|
1269
1285
|
if (document.get("nodeLinker") === void 0) document.set("nodeLinker", "hoisted");
|
|
1270
|
-
if (document.get("autoInstallPeers") === void 0) document.set("autoInstallPeers",
|
|
1286
|
+
if (document.get("autoInstallPeers") === void 0) document.set("autoInstallPeers", true);
|
|
1271
1287
|
writeFileSync(workspacePath, String(document));
|
|
1272
1288
|
}
|
|
1273
1289
|
/** Run git in one directory, returning undefined instead of throwing when asked to. */
|
|
@@ -510,6 +510,27 @@ export function ensureProfile(paths, consumerDirectory, edition) {
|
|
|
510
510
|
'@deepseek-ai/cordis-plugin-loader': '^1.0.7-alpha.1',
|
|
511
511
|
'@deepseek-ai/dsh-home-paths': runtime,
|
|
512
512
|
'@deepseek-ai/dsh-launch-environment': runtime,
|
|
513
|
+
// `dsh-session` / `dsh-tools` declare the rest of the runtime as peers; pnpm leaves
|
|
514
|
+
// them out of a profile install for the same reason as the launcher peers above.
|
|
515
|
+
'@deepseek-ai/dsh-agent': runtime,
|
|
516
|
+
'@deepseek-ai/dsh-llm': runtime,
|
|
517
|
+
'@deepseek-ai/dsh-scope': runtime,
|
|
518
|
+
'@deepseek-ai/dsh-session': runtime,
|
|
519
|
+
'@deepseek-ai/dsh-system-prompt': runtime,
|
|
520
|
+
'@deepseek-ai/dsh-user-approval': runtime,
|
|
521
|
+
// Capability packages that the official plugins import but declare only as peers.
|
|
522
|
+
// A profile install leaves them out and boot then fails inside an otherwise
|
|
523
|
+
// healthy plugin's import with ERR_MODULE_NOT_FOUND.
|
|
524
|
+
'@deepseek-ai/dsh-attachment': runtime,
|
|
525
|
+
'@deepseek-ai/dsh-compaction': runtime,
|
|
526
|
+
'@deepseek-ai/dsh-fs': runtime,
|
|
527
|
+
'@deepseek-ai/dsh-shell': runtime,
|
|
528
|
+
'@deepseek-ai/dsh-spill': runtime,
|
|
529
|
+
'@deepseek-ai/dsh-sandbox': runtime,
|
|
530
|
+
'@deepseek-ai/dsh-ptc-runtime': runtime,
|
|
531
|
+
'@deepseek-ai/dsh-llm-deepseek': runtime,
|
|
532
|
+
'@deepseek-ai/dsh-deepseek-account': runtime,
|
|
533
|
+
'@deepseek-ai/dsh-anonymous-user-id': runtime,
|
|
513
534
|
...Object.fromEntries(baseBundles
|
|
514
535
|
.filter(bundle => bundle.startsWith('@deepseek-ai/dsh-'))
|
|
515
536
|
.map(bundle => [bundle, runtime])),
|
|
@@ -599,7 +620,7 @@ function writeProfileOverrides(profileDirectory, overrides, allowBuilds, omitted
|
|
|
599
620
|
if (document.get('nodeLinker') === undefined)
|
|
600
621
|
document.set('nodeLinker', 'hoisted');
|
|
601
622
|
if (document.get('autoInstallPeers') === undefined)
|
|
602
|
-
document.set('autoInstallPeers',
|
|
623
|
+
document.set('autoInstallPeers', true);
|
|
603
624
|
writeFileSync(workspacePath, String(document));
|
|
604
625
|
}
|
|
605
626
|
/** Run git in one directory, returning undefined instead of throwing when asked to. */
|
package/package.json
CHANGED