@deepseek-ai/dsh-api-workspace-files 0.1.5-alpha.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.
- package/LICENSE +21 -0
- package/README.i18n.yaml +6 -0
- package/README.md +154 -0
- package/README.zh.md +154 -0
- package/lib/client.js +522 -0
- package/lib/index.js +551 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +853 -0
- package/lib/typert.remote-client.d.ts +38 -0
- package/lib/typert.remote-client.js +287 -0
- package/lib/types/changes.d.ts +26 -0
- package/lib/types/changes.js +109 -0
- package/lib/types/client/change-feed.d.ts +105 -0
- package/lib/types/client/change-feed.js +296 -0
- package/lib/types/client/index.d.ts +18 -0
- package/lib/types/client/index.js +26 -0
- package/lib/types/client/provider.d.ts +45 -0
- package/lib/types/client/provider.js +129 -0
- package/lib/types/client/remote.d.ts +44 -0
- package/lib/types/client/remote.js +2 -0
- package/lib/types/client/types.d.ts +65 -0
- package/lib/types/client/types.js +2 -0
- package/lib/types/index.d.ts +143 -0
- package/lib/types/index.js +368 -0
- package/lib/types/types.d.ts +163 -0
- package/lib/types/types.js +17 -0
- package/package.json +86 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wire types of the `workspaceFiles` Remote namespace. Types only: generated
|
|
3
|
+
* Remote clients consume this module without Host runtime code.
|
|
4
|
+
*
|
|
5
|
+
* Two path vocabularies leave here, and each method uses exactly one:
|
|
6
|
+
*
|
|
7
|
+
* - `read`, `readBytes`, `stat`, and `changes` name a file by its absolute path in the
|
|
8
|
+
* filesystem's execution world, because their consumer is the Client
|
|
9
|
+
* resource system, whose `dsh-resource://file/session/<id>/<path>` address carries that
|
|
10
|
+
* same path.
|
|
11
|
+
* - `list` speaks workspace paths — the same syntax its `path` argument accepts —
|
|
12
|
+
* because its consumer is a tree rooted at the workspace root.
|
|
13
|
+
*
|
|
14
|
+
* @module @deepseek-ai/dsh-api-workspace-files/types
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=types.js.map
|
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@deepseek-ai/dsh-api-workspace-files",
|
|
3
|
+
"description": "Workspace file service and Client resource provider: bounded reads, directory listing, and live metadata over the workspaceFiles Remote namespace",
|
|
4
|
+
"version": "0.1.5-alpha.1",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
11
|
+
"directory": "packages/api/workspace-files"
|
|
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
|
+
"./types": {
|
|
22
|
+
"types": "./lib/types/types.d.ts",
|
|
23
|
+
"default": "./lib/types/types.js"
|
|
24
|
+
},
|
|
25
|
+
"./client": {
|
|
26
|
+
"types": "./lib/types/client/index.d.ts",
|
|
27
|
+
"default": "./lib/client.js"
|
|
28
|
+
},
|
|
29
|
+
"./typert": {
|
|
30
|
+
"types": "./lib/typert.host.d.ts",
|
|
31
|
+
"default": "./lib/typert.host.js"
|
|
32
|
+
},
|
|
33
|
+
"./remote": {
|
|
34
|
+
"types": "./lib/typert.remote-client.d.ts",
|
|
35
|
+
"default": "./lib/typert.remote-client.js"
|
|
36
|
+
},
|
|
37
|
+
"./src/*": "./src/*",
|
|
38
|
+
"./package.json": "./package.json"
|
|
39
|
+
},
|
|
40
|
+
"dsh": {
|
|
41
|
+
"client": {
|
|
42
|
+
"inject": [
|
|
43
|
+
"@deepseek-ai/dsh-api-gateway",
|
|
44
|
+
"@deepseek-ai/dsh-api-session-controller",
|
|
45
|
+
"@deepseek-ai/dsh-client-resources"
|
|
46
|
+
],
|
|
47
|
+
"platform": "web"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"license": "MIT",
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"zod": "^4.4.3",
|
|
53
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.5-alpha.1",
|
|
54
|
+
"@deepseek-ai/schemastery": "^3.18.2",
|
|
55
|
+
"@deepseek-ai/dsh-deque": "^0.1.5-alpha.1"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"@deepseek-ai/cordis": "^4.0.2"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
62
|
+
"@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
|
|
63
|
+
"@deepseek-ai/dsh-api-gateway": "^0.1.5-alpha.1",
|
|
64
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.1.5-alpha.1",
|
|
65
|
+
"@deepseek-ai/dsh-client-resources": "^0.1.5-alpha.1",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.5-alpha.1",
|
|
67
|
+
"@deepseek-ai/dsh-fs": "^0.1.5-alpha.1",
|
|
68
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.1.5-alpha.1",
|
|
69
|
+
"@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
|
|
70
|
+
"@deepseek-ai/dsh-util-workspace-path": "^0.1.5-alpha.1"
|
|
71
|
+
},
|
|
72
|
+
"files": [
|
|
73
|
+
"lib/index.js",
|
|
74
|
+
"lib/client.js",
|
|
75
|
+
"lib/types/**/*.js",
|
|
76
|
+
"lib/types/**/*.d.ts",
|
|
77
|
+
"lib/typert.host.js",
|
|
78
|
+
"lib/typert.host.d.ts",
|
|
79
|
+
"lib/typert.remote-client.js",
|
|
80
|
+
"lib/typert.remote-client.d.ts"
|
|
81
|
+
],
|
|
82
|
+
"scripts": {
|
|
83
|
+
"bundle": "tsdown",
|
|
84
|
+
"watch": "tsdown --watch"
|
|
85
|
+
}
|
|
86
|
+
}
|