@dsh-edge/dsh-edge-agent 0.1.1 → 0.1.3
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/CHANGELOG.md +78 -3
- package/README.md +116 -307
- package/lib/dsh-adapter/http-api.d.ts.map +1 -1
- package/lib/dsh-adapter/http-api.js +40 -3
- package/lib/dsh-adapter/input-guard.d.ts +6 -0
- package/lib/dsh-adapter/input-guard.d.ts.map +1 -1
- package/lib/dsh-adapter/input-guard.js +24 -1
- package/lib/dsh-adapter/intent-router.d.ts.map +1 -1
- package/lib/dsh-adapter/intent-router.js +40 -34
- package/lib/dsh-adapter/llm-drain-deadline.d.ts +55 -0
- package/lib/dsh-adapter/llm-drain-deadline.d.ts.map +1 -0
- package/lib/dsh-adapter/llm-drain-deadline.js +77 -0
- package/lib/dsh-adapter/prompt-guard.d.ts.map +1 -1
- package/lib/dsh-adapter/prompt-guard.js +39 -33
- package/lib/dsh-adapter/web-search-tavily-bocha.d.ts.map +1 -1
- package/lib/dsh-adapter/web-search-tavily-bocha.js +51 -1
- package/package.json +5 -90
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-edge/dsh-edge-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Edge-side private agent built on DSH Cordis plugin mechanism: TEE-secured, OHTTP-encrypted, multi-LLM-routed, zero-core-modification.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -222,7 +222,10 @@
|
|
|
222
222
|
"cordis.yml",
|
|
223
223
|
"presets",
|
|
224
224
|
"CHANGELOG.md",
|
|
225
|
-
"!config/edge.json"
|
|
225
|
+
"!config/edge.json",
|
|
226
|
+
"!config/edge.json.*",
|
|
227
|
+
"!config/*.bak*",
|
|
228
|
+
"!config/.DS_Store"
|
|
226
229
|
],
|
|
227
230
|
"engines": {
|
|
228
231
|
"node": "^22.19 || >=24",
|
|
@@ -238,36 +241,6 @@
|
|
|
238
241
|
"@deepseek-ai/dsh-tools": ">=0.2.1-rc.2",
|
|
239
242
|
"@deepseek-ai/schemastery": ">=3.18.5"
|
|
240
243
|
},
|
|
241
|
-
"devDependencies": {
|
|
242
|
-
"@deepseek-ai/cordis": ">=4.0.5",
|
|
243
|
-
"@deepseek-ai/dsh-agent": ">=0.2.1-rc.2",
|
|
244
|
-
"@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2",
|
|
245
|
-
"@deepseek-ai/dsh-launch-environment": ">=0.2.1-rc.2",
|
|
246
|
-
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.2",
|
|
247
|
-
"@deepseek-ai/dsh-scope": ">=0.2.1-rc.2",
|
|
248
|
-
"@deepseek-ai/dsh-session": ">=0.2.1-rc.2",
|
|
249
|
-
"@deepseek-ai/dsh-settings": ">=0.2.1-rc.2",
|
|
250
|
-
"@deepseek-ai/dsh-system-prompt": ">=0.2.1-rc.2",
|
|
251
|
-
"@deepseek-ai/dsh-tool-web": ">=0.2.1-rc.2",
|
|
252
|
-
"@deepseek-ai/dsh-tools": ">=0.2.1-rc.2",
|
|
253
|
-
"@deepseek-ai/dsh-web": ">=0.2.1-rc.2",
|
|
254
|
-
"@deepseek-ai/dsh-web-search-deepseek": ">=0.2.1-rc.2",
|
|
255
|
-
"@deepseek-ai/schemastery": ">=3.18.5",
|
|
256
|
-
"@types/node": "^22.10.0",
|
|
257
|
-
"@types/react": "^19.3.0",
|
|
258
|
-
"@types/react-dom": "^19.3.0",
|
|
259
|
-
"@vitest/coverage-v8": "2.1.9",
|
|
260
|
-
"esbuild": "^0.28.0",
|
|
261
|
-
"eslint": "^10.13.0",
|
|
262
|
-
"preact": "^10.29.8",
|
|
263
|
-
"react": "^19.3.1",
|
|
264
|
-
"react-dom": "^19.3.1",
|
|
265
|
-
"tsx": "^4.0.0",
|
|
266
|
-
"typescript": "^5.6.0",
|
|
267
|
-
"typescript-eslint": "^8.72.0",
|
|
268
|
-
"vitest": "^2.0.0",
|
|
269
|
-
"yaml": "^2.9.0"
|
|
270
|
-
},
|
|
271
244
|
"dsh": {
|
|
272
245
|
"bundle": {
|
|
273
246
|
"patch": [
|
|
@@ -282,63 +255,5 @@
|
|
|
282
255
|
"@deepseek-ai/dsh-client-locale"
|
|
283
256
|
]
|
|
284
257
|
}
|
|
285
|
-
},
|
|
286
|
-
"scripts": {
|
|
287
|
-
"clean": "node scripts/clean-lib.mjs",
|
|
288
|
-
"compile": "node scripts/clean-lib.mjs && tsc -p tsconfig.json",
|
|
289
|
-
"build:client": "node scripts/build-client.mjs",
|
|
290
|
-
"typecheck:client": "tsc -p tsconfig.client.json",
|
|
291
|
-
"build:installable": "node scripts/rebuild-installable.mjs",
|
|
292
|
-
"compile:pack": "node scripts/_pack-core.mjs compile",
|
|
293
|
-
"pack:all": "node scripts/_pack-core.mjs all",
|
|
294
|
-
"pack:demo": "node scripts/_pack-core.mjs demo",
|
|
295
|
-
"pack:tarball": "node scripts/_pack-core.mjs tarball",
|
|
296
|
-
"build:tarball": "node scripts/run.mjs compile:pack pack:all verify:tarball",
|
|
297
|
-
"build:tarball:demo": "node scripts/run.mjs compile:pack pack:demo verify:tarball",
|
|
298
|
-
"build:windows": "bash scripts/build-windows.sh",
|
|
299
|
-
"build:macos": "bash scripts/build-macos.sh",
|
|
300
|
-
"build:linux": "bash scripts/build-linux.sh",
|
|
301
|
-
"build": "node scripts/run.mjs compile typecheck:client build:client build:installable pack:tarball verify:build",
|
|
302
|
-
"lint": "eslint src tests/unit scripts",
|
|
303
|
-
"test": "vitest run tests/unit",
|
|
304
|
-
"test:coverage": "vitest run tests/unit --coverage",
|
|
305
|
-
"e2e:coverage": "bash scripts/e2e-ops-log-coverage.sh",
|
|
306
|
-
"e2e:benchmark": "bash scripts/e2e-model-quality-bench.sh",
|
|
307
|
-
"verify:local-channel": "node scripts/verify-local-channel.mjs",
|
|
308
|
-
"verify:local-channel:selftest": "node scripts/verify-local-channel.mjs --selftest",
|
|
309
|
-
"verify:build": "node scripts/run.mjs verify:boundary verify:contract verify:patch-surface verify:preset-isolate verify:patch-row-shape verify:plugin-spec verify:local-pool-catalog verify:edge-local-reroute verify:edge-config-tool verify:env-bridge verify:bundle-mount verify:ci-build-chain verify:installable verify:tarball verify:git-install verify:local-channel verify:installable-edge verify:host-mount verify:client-mount verify:desktop-auth-cookies verify:session-audit verify:package verify:package-name verify:npm-publish verify:npm-decision verify:doc-links verify:config-hints",
|
|
310
|
-
"verify:boundary": "node --import tsx/esm scripts/verify-adapter-boundary.ts",
|
|
311
|
-
"verify:contract": "node --import tsx/esm scripts/verify-upstream-contract.ts",
|
|
312
|
-
"verify:patch-surface": "node --import tsx/esm scripts/verify-patch-surface.ts",
|
|
313
|
-
"verify:preset-isolate": "node --import tsx/esm scripts/verify-preset-isolate.ts --selftest",
|
|
314
|
-
"verify:patch-row-shape": "node scripts/verify-patch-row-shape.mjs",
|
|
315
|
-
"verify:plugin-spec": "node --import tsx/esm scripts/verify-plugin-spec.ts",
|
|
316
|
-
"verify:local-pool-catalog": "node --import tsx/esm scripts/verify-local-pool-catalog.ts",
|
|
317
|
-
"verify:edge-local-reroute": "node --import tsx/esm scripts/verify-edge-local-reroute.ts",
|
|
318
|
-
"verify:env-bridge": "node scripts/verify-env-bridge.mjs",
|
|
319
|
-
"verify:bundle-mount": "node scripts/verify-bundle-mounted.mjs",
|
|
320
|
-
"verify:ci-build-chain": "node scripts/verify-ci-build-chain.mjs",
|
|
321
|
-
"verify:installable": "node scripts/verify-installable.mjs",
|
|
322
|
-
"verify:tarball": "node scripts/verify-tarball.mjs",
|
|
323
|
-
"verify:tarball:selftest": "node scripts/verify-tarball.mjs --selftest",
|
|
324
|
-
"verify:git-install": "node scripts/verify-git-install.mjs",
|
|
325
|
-
"verify:git-install:real": "node scripts/verify-git-install.mjs --real",
|
|
326
|
-
"verify:installable-edge": "node scripts/_verify-installable-edge.mjs",
|
|
327
|
-
"verify:host-mount": "node scripts/_simulate-host-mount.mjs",
|
|
328
|
-
"verify:client-mount": "node scripts/_simulate-client-mount.mjs",
|
|
329
|
-
"verify:desktop-auth-cookies": "node --disable-warning=ExperimentalWarning scripts/reset-desktop-auth-cookies.mjs --selftest",
|
|
330
|
-
"verify:session-audit": "node scripts/probe-session-audit.mjs --selftest",
|
|
331
|
-
"verify:package": "npm pack --dry-run --json --ignore-scripts | node scripts/verify-package.mjs",
|
|
332
|
-
"verify:package-name": "node scripts/verify-package-name.mjs",
|
|
333
|
-
"verify:package-name:selftest": "node scripts/verify-package-name.mjs --selftest",
|
|
334
|
-
"verify:npm-publish": "node scripts/verify-npm-publish.mjs",
|
|
335
|
-
"verify:npm-publish:selftest": "node scripts/verify-npm-publish.mjs --selftest",
|
|
336
|
-
"verify:npm-decision": "node scripts/verify-npm-decision.mjs",
|
|
337
|
-
"publish:npm": "node scripts/publish-npm.mjs",
|
|
338
|
-
"verify:doc-links": "node scripts/verify-doc-links.mjs",
|
|
339
|
-
"verify:doc-links:selftest": "node scripts/verify-doc-links.mjs --selftest",
|
|
340
|
-
"verify:config-hints": "node scripts/verify-config-hints.mjs",
|
|
341
|
-
"verify:config-hints:selftest": "node scripts/verify-config-hints.mjs --selftest",
|
|
342
|
-
"verify:edge-config-tool": "node --import tsx/esm scripts/edge-config-from-env.ts --selftest"
|
|
343
258
|
}
|
|
344
259
|
}
|