@deepseek-ai/dsh-plugin-manager 0.1.7-alpha.2 → 0.1.7-rc.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.
@@ -6,10 +6,20 @@ export type { PluginEntryId } from '@deepseek-ai/dsh-host-plugin-inventory/types
6
6
  import type { PluginEntryId } from '@deepseek-ai/dsh-host-plugin-inventory/types';
7
7
  /** Reasons a profile control cannot modify its target. */
8
8
  export type ReadOnlyReason = 'management-required' | 'unaddressable';
9
+ /** A package whose declared DSH peers reject the running DSH version, without an exemption for the exact pair. */
10
+ export interface IncompatiblePlugin {
11
+ name: string;
12
+ version: string;
13
+ runtimeVersion: string;
14
+ /** Only the DSH peer ranges the running version does not satisfy. */
15
+ peers: Record<string, string>;
16
+ }
9
17
  /** Localizable management failure and optional external diagnostic. */
10
18
  export interface ManagementError {
11
- code: ReadOnlyReason | 'unknown-plugin' | 'invalid-spec' | 'ambiguous-install' | 'not-bundle' | 'not-removable' | 'stop-profile' | 'bundle-in-use' | 'stale-approval' | 'operation-error';
19
+ code: ReadOnlyReason | 'unknown-plugin' | 'invalid-spec' | 'ambiguous-install' | 'not-bundle' | 'not-removable' | 'stop-profile' | 'bundle-in-use' | 'stale-approval' | 'incompatible-version' | 'operation-error';
12
20
  diagnostic?: string;
21
+ /** Present with `incompatible-version`: the packages the running DSH version rejects. */
22
+ incompatible?: IncompatiblePlugin[];
13
23
  }
14
24
  /** One running-profile entry and its persistent control availability. */
15
25
  export type PluginInfo = PluginInventoryEntry & ({
@@ -64,9 +74,9 @@ export interface PluginRegistries {
64
74
  /** The URL pnpm's own configuration names in the profile, read from pnpm; null when it could not be read. */
65
75
  readonly resolved: string | null;
66
76
  }
67
- /** How a pnpm run failed, read off how it ended and what it printed. */
77
+ /** How a package operation failed, read off how it ended and what it printed. */
68
78
  export type PluginInstallFailureKind = 'pnpm-missing' | 'timeout' | 'not-found' | 'no-matching-version' | 'network' | 'disk-full' | 'permission' | 'build-blocked' | 'integrity' | 'unknown';
69
- /** Pnpm completion, including a retrieval path for unabridged diagnostics. */
79
+ /** Package operation completion, including Git checks and a retrieval path for unabridged diagnostics. */
70
80
  export interface PackageResult {
71
81
  exitCode: number;
72
82
  output: string;
@@ -74,6 +84,10 @@ export interface PackageResult {
74
84
  logPath: string;
75
85
  /** Present when the run failed: what kind of failure its exit and output describe. */
76
86
  kind?: PluginInstallFailureKind;
87
+ /** The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended. */
88
+ timedOut?: boolean;
89
+ /** Present when a compatibility check refused the run: the packages the running DSH version rejects. */
90
+ incompatible?: IncompatiblePlugin[];
77
91
  }
78
92
  /** Persisted change and independently observed application outcome. */
79
93
  export interface ChangeResult {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-plugin-manager",
3
3
  "description": "Current-profile plugin and bundle management shared by dsh CLI, Web and agent tools",
4
- "version": "0.1.7-alpha.2",
4
+ "version": "0.1.7-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -59,23 +59,23 @@
59
59
  "execa": "^10.0.0",
60
60
  "yaml": "^2.9.0",
61
61
  "zod": "^4.4.3",
62
- "@deepseek-ai/dsh-app-boot": "0.1.7-alpha.2",
63
- "@deepseek-ai/dsh-atomic-write": "0.1.7-alpha.2",
62
+ "@deepseek-ai/dsh-atomic-write": "0.1.7-rc.2",
63
+ "@deepseek-ai/dsh-app-boot": "0.1.7-rc.2",
64
64
  "@deepseek-ai/schemastery": "~3.18.4",
65
- "@deepseek-ai/dsh-util-values": "0.1.7-alpha.2"
65
+ "@deepseek-ai/dsh-util-values": "0.1.7-rc.2"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@deepseek-ai/cordis": "~4.0.4",
69
69
  "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
70
- "@deepseek-ai/dsh-host-plugin-inventory": "0.1.7-alpha.2",
71
- "@deepseek-ai/dsh-subprocess": "0.1.7-alpha.2",
72
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-alpha.2",
73
- "@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
74
- "@deepseek-ai/dsh-hmr": "0.1.7-alpha.2",
75
- "@deepseek-ai/dsh-brand": "0.1.7-alpha.2",
76
- "@deepseek-ai/dsh-sandbox-policy": "0.1.7-alpha.2",
77
- "@deepseek-ai/dsh-sandbox": "0.1.7-alpha.2",
78
- "@deepseek-ai/dsh-user-approval": "0.1.7-alpha.2"
70
+ "@deepseek-ai/dsh-host-plugin-inventory": "0.1.7-rc.2",
71
+ "@deepseek-ai/dsh-subprocess": "0.1.7-rc.2",
72
+ "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
73
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
74
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.2",
75
+ "@deepseek-ai/dsh-sandbox": "0.1.7-rc.2",
76
+ "@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
77
+ "@deepseek-ai/dsh-brand": "0.1.7-rc.2",
78
+ "@deepseek-ai/dsh-hmr": "0.1.7-rc.2"
79
79
  },
80
80
  "peerDependenciesMeta": {
81
81
  "@deepseek-ai/dsh-hmr": {
@@ -86,22 +86,22 @@
86
86
  }
87
87
  },
88
88
  "devDependencies": {
89
- "@deepseek-ai/dsh-package-manifest": "0.1.7-alpha.2",
89
+ "@deepseek-ai/dsh-package-manifest": "0.1.7-rc.2",
90
90
  "@deepseek-ai/cordis": "~4.0.4",
91
- "@deepseek-ai/dsh-host-plugin-inventory": "0.1.7-alpha.2",
92
- "@deepseek-ai/dsh-subprocess": "0.1.7-alpha.2",
93
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-alpha.2",
94
- "@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
95
- "@deepseek-ai/dsh-system-prompt": "0.1.7-alpha.2",
96
- "@deepseek-ai/dsh-hmr": "0.1.7-alpha.2",
91
+ "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
92
+ "@deepseek-ai/dsh-host-plugin-inventory": "0.1.7-rc.2",
93
+ "@deepseek-ai/dsh-subprocess": "0.1.7-rc.2",
94
+ "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
95
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
96
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
97
+ "@deepseek-ai/dsh-brand": "0.1.7-rc.2",
98
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.2",
97
99
  "@deepseek-ai/cordis-plugin-timer": "~1.1.6",
98
- "@deepseek-ai/dsh-brand": "0.1.7-alpha.2",
99
- "@deepseek-ai/dsh-sandbox-policy": "0.1.7-alpha.2",
100
- "@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
101
- "@deepseek-ai/dsh-session": "0.1.7-alpha.2",
102
- "@deepseek-ai/dsh-session-projection": "0.1.7-alpha.2",
103
- "@deepseek-ai/dsh-sandbox": "0.1.7-alpha.2",
104
- "@deepseek-ai/dsh-user-approval": "0.1.7-alpha.2",
105
- "@deepseek-ai/cordis-plugin-loader": "~1.0.5"
100
+ "@deepseek-ai/dsh-hmr": "0.1.7-rc.2",
101
+ "@deepseek-ai/dsh-session": "0.1.7-rc.2",
102
+ "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
103
+ "@deepseek-ai/dsh-sandbox": "0.1.7-rc.2",
104
+ "@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
105
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2"
106
106
  }
107
107
  }