@sparkelf/dsh-plus 0.2.2-alpha.2.5 → 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 +11 -1
- package/lib/types/standalone-profile.js +14 -1
- package/package.json +1 -1
package/lib/bin.js
CHANGED
|
@@ -1208,6 +1208,16 @@ function ensureProfile(paths, consumerDirectory, edition) {
|
|
|
1208
1208
|
"@deepseek-ai/dsh-session": runtime,
|
|
1209
1209
|
"@deepseek-ai/dsh-system-prompt": runtime,
|
|
1210
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,
|
|
1211
1221
|
...Object.fromEntries(baseBundles.filter((bundle) => bundle.startsWith("@deepseek-ai/dsh-")).map((bundle) => [bundle, runtime]))
|
|
1212
1222
|
};
|
|
1213
1223
|
const compositionPackages = composition === void 0 ? basePackages : {
|
|
@@ -1273,7 +1283,7 @@ function writeProfileOverrides(profileDirectory, overrides, allowBuilds, omitted
|
|
|
1273
1283
|
for (const [name, spec] of Object.entries(omittedPackages)) document.setIn(["overrides", name], spec);
|
|
1274
1284
|
for (const [name, allowed] of Object.entries(allowBuilds)) document.setIn(["allowBuilds", name], allowed);
|
|
1275
1285
|
if (document.get("nodeLinker") === void 0) document.set("nodeLinker", "hoisted");
|
|
1276
|
-
if (document.get("autoInstallPeers") === void 0) document.set("autoInstallPeers",
|
|
1286
|
+
if (document.get("autoInstallPeers") === void 0) document.set("autoInstallPeers", true);
|
|
1277
1287
|
writeFileSync(workspacePath, String(document));
|
|
1278
1288
|
}
|
|
1279
1289
|
/** Run git in one directory, returning undefined instead of throwing when asked to. */
|
|
@@ -518,6 +518,19 @@ export function ensureProfile(paths, consumerDirectory, edition) {
|
|
|
518
518
|
'@deepseek-ai/dsh-session': runtime,
|
|
519
519
|
'@deepseek-ai/dsh-system-prompt': runtime,
|
|
520
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,
|
|
521
534
|
...Object.fromEntries(baseBundles
|
|
522
535
|
.filter(bundle => bundle.startsWith('@deepseek-ai/dsh-'))
|
|
523
536
|
.map(bundle => [bundle, runtime])),
|
|
@@ -607,7 +620,7 @@ function writeProfileOverrides(profileDirectory, overrides, allowBuilds, omitted
|
|
|
607
620
|
if (document.get('nodeLinker') === undefined)
|
|
608
621
|
document.set('nodeLinker', 'hoisted');
|
|
609
622
|
if (document.get('autoInstallPeers') === undefined)
|
|
610
|
-
document.set('autoInstallPeers',
|
|
623
|
+
document.set('autoInstallPeers', true);
|
|
611
624
|
writeFileSync(workspacePath, String(document));
|
|
612
625
|
}
|
|
613
626
|
/** Run git in one directory, returning undefined instead of throwing when asked to. */
|
package/package.json
CHANGED