Harden public package installation and release validation
Some checks failed
Release package / package (macos-latest) (push) Has been cancelled
Release package / package (ubuntu-latest) (push) Has been cancelled
Release package / package (windows-latest) (push) Has been cancelled

This commit is contained in:
oliver 2026-10-11 13:32:36 +08:00
parent 9271494b37
commit 9b2166e5b6
41 changed files with 994 additions and 363 deletions

View file

@ -1,11 +1,12 @@
{
"name": "dsh-netxops",
"version": "0.1.69",
"description": "DeepSeek Harness Netx Ops: ops/topology + IM delivery + session export + knowledge-base MANIFEST/_skills + localSkills",
"version": "0.1.70",
"description": "Network operations, topology and monitoring for DeepSeek Harness.",
"license": "MIT",
"type": "module",
"private": false,
"main": "./lib/index.js",
"icon": "./icon.svg",
"engines": {
"node": ">=20"
},
@ -18,11 +19,13 @@
"./tools-topology": "./lib/agent-tools-topology.js",
"./tools-biz-monitor": "./lib/agent-tools-biz-monitor.js",
"./client": "./lib/client.js",
"./locale/*.json": "./locale/*.json",
"./cordis.patch.yml": "./cordis.bundle.patch.yml",
"./package.json": "./package.json"
},
"files": [
"src/",
"icon.svg",
"locale/",
"lib/index.js",
"lib/agent-tools.js",
"lib/agent-tools-ops.js",
@ -31,26 +34,12 @@
"lib/agent-tools-topology.js",
"lib/agent-tools-biz-monitor.js",
"lib/client.js",
"tests/",
"test/",
"presets/",
"presets/netxops/PERSONA.md",
"presets/netxops/preset.yml",
"presets/netxops/skills/",
"cordis.patch.yml",
"cordis.bundle.patch.yml",
"docs/",
"examples/",
"scripts/build-host.mjs",
"scripts/build-client.mjs",
"scripts/gen-preset-patch.mjs",
"scripts/typecheck.mjs",
"scripts/preview-client.mjs",
"scripts/link-dsh-peers.mjs",
"scripts/link-dsh-peers.ps1",
"scripts/link-dsh-peers.sh",
"scripts/link-preset.ps1",
"scripts/link-preset.sh",
"scripts/set-netx-token.ps1",
"scripts/set-netx-token.sh",
"scripts/sync-skills-from-netx.ps1",
"README.md",
"LICENSE"
],
@ -71,7 +60,7 @@
},
"homepage": "https://github.com/hansjone/netxops#readme",
"scripts": {
"bundle": "bun run scripts/gen-preset-patch.mjs && bun run scripts/build-host.mjs && bun run scripts/build-client.mjs",
"bundle": "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",
"gen:preset-patch": "bun run scripts/gen-preset-patch.mjs",
@ -79,7 +68,11 @@
"preview:client": "bun scripts/preview-client.mjs",
"link:peers": "node scripts/link-dsh-peers.mjs --profile desktop",
"link:peers:ps1": "powershell -NoProfile -File ./scripts/link-dsh-peers.ps1",
"test": "bun test test tests"
"test": "bun test test tests",
"release:check": "node scripts/verify-release.mjs",
"release:pack": "node scripts/pack-release.mjs",
"test:release": "node --test test/release-package.test.mjs",
"prepublishOnly": "node scripts/verify-release.mjs"
},
"dsh": {
"bundle": {
@ -100,6 +93,7 @@
"@deepseek-ai/dsh-settings": "*",
"@deepseek-ai/dsh-tools": "*",
"@deepseek-ai/dsh-scope": "*",
"@deepseek-ai/dsh-llm": "*",
"@deepseek-ai/schemastery": "*",
"react": "^18.2.0 || ^19.0.0"
},
@ -119,6 +113,9 @@
"@deepseek-ai/dsh-scope": {
"optional": true
},
"@deepseek-ai/dsh-llm": {
"optional": true
},
"@deepseek-ai/schemastery": {
"optional": true
},
@ -129,6 +126,7 @@
"dependencies": {},
"devDependencies": {
"fflate": "^0.8.2",
"js-yaml": "^4.1.1",
"@types/react": "~18.3.1",
"typescript": "^5.8.0"
}