Fix Netx Ops preset and settings for DSH 0.2.0-rc.2.

Ship a declarative @deepseek-ai/dsh-agent-preset patch (directory discovery is dead) and register the settings card on plugins.item via configForms.whileServed while keeping settings.section for older shells.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-09 17:04:12 +08:00
parent 9b8e873c18
commit 5dcce3c749
8 changed files with 651 additions and 150 deletions

View file

@ -1,6 +1,6 @@
{
"name": "dsh-netxops",
"version": "0.1.42",
"version": "0.1.43",
"description": "DeepSeek Harness Netx Ops: ops/topology + IM delivery + session export + knowledge-base MANIFEST/_skills + localSkills",
"license": "MIT",
"type": "module",
@ -53,13 +53,17 @@
},
"homepage": "https://github.com/hansjone/netxops#readme",
"scripts": {
"bundle": "bun run scripts/build-host.mjs && bun run scripts/build-client.mjs",
"bundle": "bun run scripts/gen-preset-patch.mjs && bun run scripts/build-host.mjs && bun run scripts/build-client.mjs",
"bundle:host": "bun run scripts/build-host.mjs",
"bundle:client": "bun run scripts/build-client.mjs"
"bundle:client": "bun run scripts/build-client.mjs",
"gen:preset-patch": "bun run scripts/gen-preset-patch.mjs"
},
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
"patch": [
"./cordis.patch.yml",
"./presets/netxops.preset.patch.yml"
]
},
"client": {
"platform": "web",