@deepseek-ai/dsh-subagent 0.0.1-rc.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 (41) hide show
  1. package/LICENSE +28 -0
  2. package/README.i18n.yaml +6 -0
  3. package/README.md +132 -0
  4. package/README.zh.md +132 -0
  5. package/lib/index.js +2392 -0
  6. package/lib/invariant.js +76 -0
  7. package/lib/types/activation-setup-registry.d.ts +57 -0
  8. package/lib/types/activation-setup-registry.js +148 -0
  9. package/lib/types/child-agent.d.ts +139 -0
  10. package/lib/types/child-agent.js +169 -0
  11. package/lib/types/client.d.ts +7 -0
  12. package/lib/types/client.js +7 -0
  13. package/lib/types/continuation.d.ts +375 -0
  14. package/lib/types/continuation.js +951 -0
  15. package/lib/types/depth.d.ts +31 -0
  16. package/lib/types/depth.js +39 -0
  17. package/lib/types/descriptor-seed.d.ts +21 -0
  18. package/lib/types/descriptor-seed.js +24 -0
  19. package/lib/types/descriptor.d.ts +139 -0
  20. package/lib/types/descriptor.js +189 -0
  21. package/lib/types/error.d.ts +11 -0
  22. package/lib/types/error.js +14 -0
  23. package/lib/types/index.d.ts +278 -0
  24. package/lib/types/index.js +338 -0
  25. package/lib/types/invariant.d.ts +13 -0
  26. package/lib/types/invariant.js +91 -0
  27. package/lib/types/lifecycle.d.ts +93 -0
  28. package/lib/types/lifecycle.js +169 -0
  29. package/lib/types/list-children.d.ts +112 -0
  30. package/lib/types/list-children.js +316 -0
  31. package/lib/types/out-of-process.d.ts +115 -0
  32. package/lib/types/out-of-process.js +181 -0
  33. package/lib/types/projection-types.d.ts +60 -0
  34. package/lib/types/projection-types.js +7 -0
  35. package/lib/types/projection.d.ts +48 -0
  36. package/lib/types/projection.js +135 -0
  37. package/lib/types/run-settlement.d.ts +17 -0
  38. package/lib/types/run-settlement.js +59 -0
  39. package/lib/types/types.d.ts +293 -0
  40. package/lib/types/types.js +19 -0
  41. package/package.json +106 -0
package/package.json ADDED
@@ -0,0 +1,106 @@
1
+ {
2
+ "name": "@deepseek-ai/dsh-subagent",
3
+ "description": "Abstract subagent seam (ctx.subagents): named-provider registry for delegating to child agents",
4
+ "version": "0.0.1-rc.1",
5
+ "publishConfig": {
6
+ "access": "restricted"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
11
+ "directory": "packages/subagent/subagent"
12
+ },
13
+ "type": "module",
14
+ "main": "lib/index.js",
15
+ "types": "lib/types/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./lib/types/index.d.ts",
19
+ "default": "./lib/index.js"
20
+ },
21
+ "./invariant": {
22
+ "types": "./lib/types/invariant.d.ts",
23
+ "default": "./lib/invariant.js"
24
+ },
25
+ "./client": {
26
+ "types": "./lib/types/client.d.ts",
27
+ "default": "./lib/types/client.js"
28
+ },
29
+ "./src/*": "./src/*",
30
+ "./package.json": "./package.json"
31
+ },
32
+ "files": [
33
+ "lib/index.js",
34
+ "lib/invariant.js",
35
+ "lib/types/**/*.js",
36
+ "lib/types/**/*.d.ts"
37
+ ],
38
+ "license": "BSD-3-Clause",
39
+ "dependencies": {
40
+ "zod": "^4.4.3"
41
+ },
42
+ "peerDependencies": {
43
+ "@deepseek-ai/dsh-brand": "^0.0.1-rc.1",
44
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
45
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
46
+ "@deepseek-ai/dsh-sandbox": "^0.0.1-rc.1",
47
+ "@deepseek-ai/dsh-agent": "^0.0.1-rc.1",
48
+ "@deepseek-ai/dsh-agent-presets": "^0.0.1-rc.1",
49
+ "@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.1",
50
+ "@deepseek-ai/dsh-scope": "^0.0.1-rc.1",
51
+ "@deepseek-ai/dsh-session": "^0.0.1-rc.1",
52
+ "@deepseek-ai/dsh-session-persistence": "^0.0.1-rc.1",
53
+ "@deepseek-ai/dsh-session-projection": "^0.0.1-rc.1",
54
+ "@deepseek-ai/dsh-session-projection-cache": "^0.0.1-rc.1",
55
+ "@deepseek-ai/dsh-tasks": "^0.0.1-rc.1",
56
+ "@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
57
+ "@deepseek-ai/dsh-user-approval": "^0.0.1-rc.1",
58
+ "@deepseek-ai/cordis": "^4.0.1-rc.1"
59
+ },
60
+ "peerDependenciesMeta": {
61
+ "@deepseek-ai/dsh-agent-presets": {
62
+ "optional": true
63
+ },
64
+ "@deepseek-ai/dsh-sandbox": {
65
+ "optional": true
66
+ },
67
+ "@deepseek-ai/dsh-sandbox-policy": {
68
+ "optional": true
69
+ },
70
+ "@deepseek-ai/dsh-session-persistence": {
71
+ "optional": true
72
+ },
73
+ "@deepseek-ai/dsh-session-projection": {
74
+ "optional": true
75
+ },
76
+ "@deepseek-ai/dsh-session-projection-cache": {
77
+ "optional": true
78
+ },
79
+ "@deepseek-ai/dsh-tasks": {
80
+ "optional": true
81
+ },
82
+ "@deepseek-ai/dsh-user-approval": {
83
+ "optional": true
84
+ }
85
+ },
86
+ "devDependencies": {
87
+ "@deepseek-ai/dsh-agent": "^0.0.1-rc.1",
88
+ "@deepseek-ai/dsh-agent-presets": "^0.0.1-rc.1",
89
+ "@deepseek-ai/dsh-brand": "^0.0.1-rc.1",
90
+ "@deepseek-ai/dsh-sandbox": "^0.0.1-rc.1",
91
+ "@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.1",
92
+ "@deepseek-ai/dsh-scope": "^0.0.1-rc.1",
93
+ "@deepseek-ai/dsh-session": "^0.0.1-rc.1",
94
+ "@deepseek-ai/dsh-session-persistence": "^0.0.1-rc.1",
95
+ "@deepseek-ai/dsh-session-projection": "^0.0.1-rc.1",
96
+ "@deepseek-ai/dsh-storage": "^0.0.1-rc.1",
97
+ "@deepseek-ai/dsh-storage-domain": "^0.0.1-rc.1",
98
+ "@deepseek-ai/dsh-tasks": "^0.0.1-rc.1",
99
+ "@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
100
+ "@deepseek-ai/dsh-session-projection-cache": "^0.0.1-rc.1",
101
+ "@deepseek-ai/dsh-user-approval": "^0.0.1-rc.1",
102
+ "@deepseek-ai/cordis": "^4.0.1-rc.1",
103
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
104
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.1"
105
+ }
106
+ }