@dsh-plugin-hub/dsh-plugin 0.2.0 → 0.3.0
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.md +3 -3
- package/index.js +10 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @dsh-plugin-hub/dsh-plugin
|
|
2
2
|
|
|
3
3
|
Agent-facing DSH tools for planning, sharing, applying, and rolling back
|
|
4
|
-
reproducible [DSH Plugin Hub](https://dshpluginhub.ai)
|
|
4
|
+
reproducible [DSH Plugin Hub](https://dshpluginhub.ai) Presets.
|
|
5
5
|
|
|
6
6
|
- Website: [dshpluginhub.ai](https://dshpluginhub.ai)
|
|
7
7
|
- Browse plugins: [dshpluginhub.ai/plugins](https://dshpluginhub.ai/plugins)
|
|
8
|
-
- Explore
|
|
8
|
+
- Explore Presets: [dshpluginhub.ai/profiles](https://dshpluginhub.ai/profiles)
|
|
9
9
|
|
|
10
10
|
Install into a Profile:
|
|
11
11
|
|
|
@@ -36,7 +36,7 @@ as direct CLI use.
|
|
|
36
36
|
|
|
37
37
|
This adapter does not add a separate telemetry client. Commands it invokes use
|
|
38
38
|
the installed `dsh-hub` CLI preference. On the CLI's first run a notice is
|
|
39
|
-
shown and that run sends no event; later eligible install and
|
|
39
|
+
shown and that run sends no event; later eligible install and Preset lifecycle
|
|
40
40
|
operations report anonymous aggregates unless the user runs `dsh-hub telemetry
|
|
41
41
|
off` or uses one of the documented per-invocation opt-outs. See the
|
|
42
42
|
[`@dsh-plugin-hub/cli` README](https://github.com/pax-beehive/dsh-hub-cli/tree/main/packages/cli#anonymous-cli-telemetry) for the
|
package/index.js
CHANGED
|
@@ -78,11 +78,11 @@ export function apply(ctx) {
|
|
|
78
78
|
|
|
79
79
|
ctx.tools.register(defineTool({
|
|
80
80
|
name: 'dsh_hub_profile_plan',
|
|
81
|
-
description: 'Create a non-mutating, exact and preconditioned plan to install or upgrade a public DSH Hub
|
|
81
|
+
description: 'Create a non-mutating, exact and preconditioned plan to install or upgrade a public DSH Hub Preset. Present the plan to the user before applying it.',
|
|
82
82
|
parameters: {
|
|
83
|
-
slug: { type: 'string', required: true, description: 'Hub
|
|
83
|
+
slug: { type: 'string', required: true, description: 'Hub Preset slug.' },
|
|
84
84
|
profile: { type: 'string', description: 'Local target Profile name (default web).' },
|
|
85
|
-
version: { type: 'string', description: '
|
|
85
|
+
version: { type: 'string', description: 'Preset Release version (default latest).' },
|
|
86
86
|
},
|
|
87
87
|
output,
|
|
88
88
|
async execute(args, exec) {
|
|
@@ -96,7 +96,7 @@ export function apply(ctx) {
|
|
|
96
96
|
name: 'dsh_hub_profile_diff',
|
|
97
97
|
description: 'Compare the current local Profile lock with a public Hub Release, including additions, removals, load-order changes, versions, and immutable sources. This is read-only.',
|
|
98
98
|
parameters: {
|
|
99
|
-
slug: { type: 'string', description: 'Hub
|
|
99
|
+
slug: { type: 'string', description: 'Hub Preset slug; defaults to the installed Hub Preset.' },
|
|
100
100
|
profile: { type: 'string', description: 'Local target Profile name (default web).' },
|
|
101
101
|
version: { type: 'string', description: 'Target Release version (default latest).' },
|
|
102
102
|
},
|
|
@@ -114,7 +114,7 @@ export function apply(ctx) {
|
|
|
114
114
|
name: 'dsh_hub_profile_upgrade_plan',
|
|
115
115
|
description: 'Create a reviewed plan to upgrade the installed Profile to a selected Hub Release. Returns an up-to-date result without creating a mutation when no change is needed.',
|
|
116
116
|
parameters: {
|
|
117
|
-
slug: { type: 'string', description: 'Hub
|
|
117
|
+
slug: { type: 'string', description: 'Hub Preset slug; defaults to the installed Hub Preset.' },
|
|
118
118
|
profile: { type: 'string', description: 'Local target Profile name (default web).' },
|
|
119
119
|
version: { type: 'string', description: 'Target Release version (default latest).' },
|
|
120
120
|
},
|
|
@@ -132,7 +132,7 @@ export function apply(ctx) {
|
|
|
132
132
|
name: 'dsh_hub_profile_doctor',
|
|
133
133
|
description: 'Diagnose the local Profile directory, lockfile, bundle order, installed versions, required inputs, and drift from a Hub Release. This is read-only.',
|
|
134
134
|
parameters: {
|
|
135
|
-
slug: { type: 'string', description: 'Hub
|
|
135
|
+
slug: { type: 'string', description: 'Hub Preset slug; defaults to the installed Hub Preset.' },
|
|
136
136
|
profile: { type: 'string', description: 'Local Profile name (default web).' },
|
|
137
137
|
version: { type: 'string', description: 'Release used for drift and input checks (default latest).' },
|
|
138
138
|
},
|
|
@@ -148,7 +148,7 @@ export function apply(ctx) {
|
|
|
148
148
|
|
|
149
149
|
ctx.tools.register(defineTool({
|
|
150
150
|
name: 'dsh_hub_operation_apply',
|
|
151
|
-
description: 'Apply a previously reviewed DSH Hub Plugin or
|
|
151
|
+
description: 'Apply a previously reviewed DSH Hub Plugin or Preset mutation plan. Set confirmed=true only after the user explicitly confirms that exact plan.',
|
|
152
152
|
parameters: {
|
|
153
153
|
planId: { type: 'string', required: true, description: 'Plan UUID returned by any DSH Hub planning tool.' },
|
|
154
154
|
confirmed: { type: 'boolean', required: true, description: 'Must reflect explicit user confirmation of this plan.' },
|
|
@@ -165,11 +165,11 @@ export function apply(ctx) {
|
|
|
165
165
|
name: 'dsh_hub_profile_share_plan',
|
|
166
166
|
description: 'Create a non-mutating plan to publish the exact current local Profile as an immutable Hub Release. Review the captured layers and local input contract before applying it.',
|
|
167
167
|
parameters: {
|
|
168
|
-
slug: { type: 'string', required: true, description: 'New or owned Hub
|
|
168
|
+
slug: { type: 'string', required: true, description: 'New or owned Hub Preset slug.' },
|
|
169
169
|
version: { type: 'string', required: true, description: 'Exact SemVer for the immutable Release.' },
|
|
170
170
|
profile: { type: 'string', description: 'Local source Profile name (default web).' },
|
|
171
|
-
displayName: { type: 'string', description: 'Public
|
|
172
|
-
description: { type: 'string', description: 'Public
|
|
171
|
+
displayName: { type: 'string', description: 'Public Preset name.' },
|
|
172
|
+
description: { type: 'string', description: 'Public Preset description.' },
|
|
173
173
|
runtimeVersion: { type: 'string', description: 'Exact DSH runtime; auto-detected when omitted.' },
|
|
174
174
|
},
|
|
175
175
|
output,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-plugin-hub/dsh-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "DSH tools for planning and applying reproducible Plugin Hub Profiles through the local dsh-hub CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh-plugin",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"LICENSE"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@dsh-plugin-hub/cli": "0.
|
|
30
|
+
"@dsh-plugin-hub/cli": "0.3.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.1",
|