@sparkelf/dsh-plus 0.2.2-alpha.2.5 → 0.2.2-alpha.2.7

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 CHANGED
@@ -1208,12 +1208,29 @@ 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 : {
1214
1224
  ...basePackages,
1215
1225
  ...composition.packages
1216
1226
  };
1227
+ for (const [alias, target] of Object.entries({
1228
+ "dsh-better-sidebar": "@sparkelf/dsh-better-sidebar",
1229
+ "dsh-sql-workbench": "@sparkelf/dsh-sql-workbench"
1230
+ })) {
1231
+ const spec = compositionPackages[target];
1232
+ if (spec !== void 0 && compositionPackages[alias] === void 0) compositionPackages[alias] = "npm:" + target + "@" + spec;
1233
+ }
1217
1234
  const compositionBundles = composition === void 0 ? baseBundles : [...baseBundles, ...composition.bundles];
1218
1235
  if (existsSync(manifestPath)) {
1219
1236
  if (composition !== void 0) {
@@ -1273,7 +1290,7 @@ function writeProfileOverrides(profileDirectory, overrides, allowBuilds, omitted
1273
1290
  for (const [name, spec] of Object.entries(omittedPackages)) document.setIn(["overrides", name], spec);
1274
1291
  for (const [name, allowed] of Object.entries(allowBuilds)) document.setIn(["allowBuilds", name], allowed);
1275
1292
  if (document.get("nodeLinker") === void 0) document.set("nodeLinker", "hoisted");
1276
- if (document.get("autoInstallPeers") === void 0) document.set("autoInstallPeers", false);
1293
+ if (document.get("autoInstallPeers") === void 0) document.set("autoInstallPeers", true);
1277
1294
  writeFileSync(workspacePath, String(document));
1278
1295
  }
1279
1296
  /** 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])),
@@ -525,6 +538,19 @@ export function ensureProfile(paths, consumerDirectory, edition) {
525
538
  const compositionPackages = composition === undefined
526
539
  ? basePackages
527
540
  : { ...basePackages, ...composition.packages };
541
+ // Official cordis rows name the historical unscoped packages. The fork ships under
542
+ // `@sparkelf/*`, so the row would fail to resolve unless the profile also carries the
543
+ // historical name as an alias to the same version.
544
+ const rowAliases = {
545
+ 'dsh-better-sidebar': '@sparkelf/dsh-better-sidebar',
546
+ 'dsh-sql-workbench': '@sparkelf/dsh-sql-workbench',
547
+ };
548
+ for (const [alias, target] of Object.entries(rowAliases)) {
549
+ const spec = compositionPackages[target];
550
+ if (spec !== undefined && compositionPackages[alias] === undefined) {
551
+ compositionPackages[alias] = 'npm:' + target + '@' + spec;
552
+ }
553
+ }
528
554
  const compositionBundles = composition === undefined
529
555
  ? baseBundles
530
556
  : [...baseBundles, ...composition.bundles];
@@ -607,7 +633,7 @@ function writeProfileOverrides(profileDirectory, overrides, allowBuilds, omitted
607
633
  if (document.get('nodeLinker') === undefined)
608
634
  document.set('nodeLinker', 'hoisted');
609
635
  if (document.get('autoInstallPeers') === undefined)
610
- document.set('autoInstallPeers', false);
636
+ document.set('autoInstallPeers', true);
611
637
  writeFileSync(workspacePath, String(document));
612
638
  }
613
639
  /** Run git in one directory, returning undefined instead of throwing when asked to. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sparkelf/dsh-plus",
3
3
  "description": "DeepSeek Harness Plus official-base Web distribution profile and ranged compatibility patchset",
4
- "version": "0.2.2-alpha.2.5",
4
+ "version": "0.2.2-alpha.2.7",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },