dsh-over-ssh 0.0.0-stage → 0.1.1

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.
Files changed (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +119 -2
  3. package/agents/agent-manifest.json +20 -0
  4. package/agents/linux-amd64/dsh-over-ssh-agent +0 -0
  5. package/agents/linux-arm64/dsh-over-ssh-agent +0 -0
  6. package/cordis.patch.yml +84 -0
  7. package/lib/client.js +6660 -0
  8. package/lib/file-references.js +411 -0
  9. package/lib/fs.js +1451 -0
  10. package/lib/index.js +19740 -0
  11. package/lib/local-bridge-refs.js +16 -0
  12. package/lib/local-bridge.js +16 -0
  13. package/lib/terminal-wrapper.js +299 -0
  14. package/lib/types/src/client/index.d.ts +49 -0
  15. package/lib/types/src/config.d.ts +383 -0
  16. package/lib/types/src/file-references.d.ts +24 -0
  17. package/lib/types/src/host/app/backend.d.ts +178 -0
  18. package/lib/types/src/host/app/recycle-bin/recycle-bin-contract.d.ts +246 -0
  19. package/lib/types/src/host/app/recycle-bin/recycle-bin-service.d.ts +44 -0
  20. package/lib/types/src/host/app/session-admin/session-admin-contract.d.ts +232 -0
  21. package/lib/types/src/host/app/session-admin/session-admin-service.d.ts +39 -0
  22. package/lib/types/src/host/app/transport/transport-selector.d.ts +97 -0
  23. package/lib/types/src/host/app/transport/transport-service.d.ts +81 -0
  24. package/lib/types/src/host/domain/capability.d.ts +77 -0
  25. package/lib/types/src/host/domain/errors.d.ts +54 -0
  26. package/lib/types/src/host/domain/roots/connection.d.ts +105 -0
  27. package/lib/types/src/host/domain/roots/root.d.ts +123 -0
  28. package/lib/types/src/host/domain/roots/session-roots.d.ts +150 -0
  29. package/lib/types/src/host/domain/roots/ssh-config.d.ts +72 -0
  30. package/lib/types/src/host/domain/session/session-admin.d.ts +344 -0
  31. package/lib/types/src/host/domain/transfer/recycle-bin.d.ts +336 -0
  32. package/lib/types/src/host/domain/transfer/transfer.d.ts +259 -0
  33. package/lib/types/src/host/infra/transport/agent/agent-installer.d.ts +120 -0
  34. package/lib/types/src/host/infra/transport/ssh/ssh2-transport.d.ts +327 -0
  35. package/lib/types/src/host/infra/transport/transport-base.d.ts +33 -0
  36. package/lib/types/src/host/infra/transport/transport.d.ts +541 -0
  37. package/lib/types/src/host/integration/agent/agent-preflight.d.ts +55 -0
  38. package/lib/types/src/host/integration/fs/file-reference-provider.d.ts +141 -0
  39. package/lib/types/src/host/integration/fs/fs-provider.d.ts +366 -0
  40. package/lib/types/src/host/integration/transfer/transfer-service.d.ts +211 -0
  41. package/lib/types/src/index.d.ts +88 -0
  42. package/lib/types/src/local-bridge-refs.d.ts +25 -0
  43. package/lib/types/src/local-bridge.d.ts +35 -0
  44. package/lib/types/src/shared/format.d.ts +13 -0
  45. package/lib/types/src/shared/root-keys.d.ts +120 -0
  46. package/lib/types/src/wiring/helpers.d.ts +143 -0
  47. package/package.json +122 -4
package/package.json CHANGED
@@ -1,6 +1,124 @@
1
1
  {
2
2
  "name": "dsh-over-ssh",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "SSH remote development for DeepSeek Harness: connections (key/password/ProxyJump/ssh config), remote files without sync, remote terminal, remote workspaces, remote @-completion, upload/download.",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "types": "lib/types/src/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./lib/types/src/index.d.ts",
11
+ "default": "./lib/index.js"
12
+ },
13
+ "./client": {
14
+ "types": "./lib/types/src/client/index.d.ts",
15
+ "default": "./lib/client.js"
16
+ },
17
+ "./fs": {
18
+ "types": "./lib/types/src/host/integration/fs/fs-provider.d.ts",
19
+ "default": "./lib/fs.js"
20
+ },
21
+ "./file-references": {
22
+ "types": "./lib/types/src/file-references.d.ts",
23
+ "default": "./lib/file-references.js"
24
+ },
25
+ "./local-bridge": {
26
+ "types": "./lib/types/src/local-bridge.d.ts",
27
+ "default": "./lib/local-bridge.js"
28
+ },
29
+ "./local-bridge-refs": {
30
+ "types": "./lib/types/src/local-bridge-refs.d.ts",
31
+ "default": "./lib/local-bridge-refs.js"
32
+ },
33
+ "./package.json": "./package.json"
34
+ },
35
+ "dsh": {
36
+ "bundle": {
37
+ "patch": "./cordis.patch.yml"
38
+ },
39
+ "client": {
40
+ "platform": "web",
41
+ "inject": []
42
+ }
43
+ },
44
+ "files": [
45
+ "lib/**/*.js",
46
+ "lib/types/src/**/*.d.ts",
47
+ "cordis.patch.yml",
48
+ "agents/**",
49
+ "README.md",
50
+ "LICENSE"
51
+ ],
52
+ "scripts": {
53
+ "test": "node --test \"tests/**/*.test.ts\"",
54
+ "test:watch": "node --test --watch \"tests/**/*.test.ts\"",
55
+ "typecheck": "tsc -b --pretty false",
56
+ "typecheck:client": "tsc -p tsconfig.client.json --pretty false",
57
+ "build:client": "node tools/build-client.mjs --check",
58
+ "build:host": "node tools/build-host.mjs",
59
+ "build": "npm run build:host && npm run build:types && npm run build:terminal-wrapper && npm run build:client",
60
+ "agents": "node tools/agent-manifest.mjs generate --from ../dsh-over-ssh-agent/dist --out agents/agent-manifest.json --copy-to agents --platforms linux-amd64,linux-arm64 --require-provenance",
61
+ "build:types:client": "node ./node_modules/typescript/bin/tsc -p tsconfig.client.types.json --pretty false",
62
+ "prepack": "npm run build && node tools/prepack-agents.mjs && node tools/release-note.mjs --check",
63
+ "build:terminal-wrapper": "node tools/build-terminal-wrapper.mjs",
64
+ "release:note": "node tools/release-note.mjs",
65
+ "build:types:host": "node ./node_modules/typescript/bin/tsc -p tsconfig.host.types.json",
66
+ "build:types": "node tools/clean-types.mjs && npm run build:types:host && npm run build:types:client && node tools/prune-types.mjs"
67
+ },
68
+ "peerDependencies": {
69
+ "@deepseek-ai/cordis": "^4.0.4",
70
+ "@deepseek-ai/dsh-file-reference": "^0.2.1-rc.1",
71
+ "@deepseek-ai/dsh-fs": "^0.2.1-rc.1",
72
+ "@deepseek-ai/dsh-sandbox": "^0.2.1-rc.1",
73
+ "@deepseek-ai/dsh-subprocess": "^0.2.1-rc.1",
74
+ "@deepseek-ai/dsh-typert-protocol": "^0.2.1-rc.1"
75
+ },
76
+ "devDependencies": {
77
+ "@deepseek-ai/cordis": "^4.0.5",
78
+ "@deepseek-ai/dsh-agent": "^0.2.1-rc.2",
79
+ "@deepseek-ai/dsh-api-gateway": "0.2.1-rc.2",
80
+ "@deepseek-ai/dsh-client-locale": "0.2.1-rc.2",
81
+ "@deepseek-ai/dsh-client-modules": "0.2.1-rc.2",
82
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.2",
83
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.2",
84
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.2",
85
+ "@deepseek-ai/dsh-file-reference": "0.2.1-rc.2",
86
+ "@deepseek-ai/dsh-fs": "0.2.1-rc.2",
87
+ "@deepseek-ai/dsh-llm": "^0.2.1-rc.2",
88
+ "@deepseek-ai/dsh-sandbox": "0.2.1-rc.2",
89
+ "@deepseek-ai/dsh-scope": "^0.2.1-rc.2",
90
+ "@deepseek-ai/dsh-subprocess": "0.2.1-rc.2",
91
+ "@deepseek-ai/dsh-timeout": "^0.2.1-rc.2",
92
+ "@deepseek-ai/dsh-tools": "0.2.1-rc.2",
93
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2",
94
+ "@deepseek-ai/dsh-util-values": "^0.2.1-rc.2",
95
+ "@types/node": "^24.0.0",
96
+ "@types/react": "^19.3.0",
97
+ "@types/ssh2": "^1.15.6",
98
+ "esbuild": "^0.28.2",
99
+ "react": "^19.3.0",
100
+ "typescript": "^5.9.0"
101
+ },
102
+ "dependencies": {
103
+ "@deepseek-ai/schemastery": "^3.18.4",
104
+ "ssh2": "^1.16.0"
105
+ },
106
+ "engines": {
107
+ "node": "^22.19.0 || >=24.0.0",
108
+ "dsh": ">=0.2.1-rc.1 <0.3.0"
109
+ },
110
+ "license": "MIT",
111
+ "keywords": [
112
+ "dsh-plugin",
113
+ "deepseek-harness",
114
+ "dsh",
115
+ "ssh",
116
+ "remote-development",
117
+ "over-ssh",
118
+ "sftp"
119
+ ],
120
+ "publishConfig": {
121
+ "access": "public",
122
+ "registry": "https://registry.npmjs.org/"
123
+ }
124
+ }