@gatherthread/dsh-host 0.1.0-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 +201 -0
- package/README.md +161 -0
- package/bundle/manifest.json +32 -0
- package/client/client.js +616 -0
- package/cordis.patch.yml +14 -0
- package/dist/bundle/native-plugin.js +4947 -0
- package/dist/bundle/plugin.js +3713 -0
- package/dist/src/plugin.d.ts +9 -0
- package/package.json +69 -0
- package/types/native-plugin.d.ts +30 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const name = "gatherthread-dsh-host";
|
|
2
|
+
export declare const inject: readonly ["agents", "sessions", "sessionPersistence", "llm"];
|
|
3
|
+
/**
|
|
4
|
+
* Cordis Host entry. Loading the module is inert: an explicit `enabled: true`
|
|
5
|
+
* profile row is required before it reads environment state or opens either a
|
|
6
|
+
* GatherThread connection or a DSH Session.
|
|
7
|
+
*/
|
|
8
|
+
export declare function apply(context: unknown, rawConfig?: unknown): Promise<void>;
|
|
9
|
+
//# sourceMappingURL=plugin.d.ts.map
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gatherthread/dsh-host",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "Opt-in GatherThread integration for the DeepSeek Harness Web profile",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public",
|
|
8
|
+
"tag": "alpha"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/TH060419/gatherthread.git",
|
|
13
|
+
"directory": "packages/dsh-host"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=24"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"main": "dist/bundle/native-plugin.js",
|
|
20
|
+
"types": "types/native-plugin.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./types/native-plugin.d.ts",
|
|
24
|
+
"default": "./dist/bundle/native-plugin.js"
|
|
25
|
+
},
|
|
26
|
+
"./native-plugin": {
|
|
27
|
+
"types": "./types/native-plugin.d.ts",
|
|
28
|
+
"default": "./dist/bundle/native-plugin.js"
|
|
29
|
+
},
|
|
30
|
+
"./plugin": {
|
|
31
|
+
"types": "./dist/src/plugin.d.ts",
|
|
32
|
+
"default": "./dist/bundle/plugin.js"
|
|
33
|
+
},
|
|
34
|
+
"./client": {
|
|
35
|
+
"default": "./client/client.js"
|
|
36
|
+
},
|
|
37
|
+
"./cordis.patch.yml": {
|
|
38
|
+
"default": "./cordis.patch.yml"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"dsh": {
|
|
42
|
+
"bundle": {
|
|
43
|
+
"patch": "./cordis.patch.yml"
|
|
44
|
+
},
|
|
45
|
+
"client": {
|
|
46
|
+
"inject": [
|
|
47
|
+
"@deepseek-ai/dsh-client-connection",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-settings"
|
|
49
|
+
],
|
|
50
|
+
"platform": "web"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"LICENSE",
|
|
55
|
+
"client/client.js",
|
|
56
|
+
"cordis.patch.yml",
|
|
57
|
+
"bundle/manifest.json",
|
|
58
|
+
"dist/bundle/*.js",
|
|
59
|
+
"dist/src/plugin.d.ts",
|
|
60
|
+
"types/*.d.ts",
|
|
61
|
+
"README.md"
|
|
62
|
+
],
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "tsc -b && node ../../scripts/build-dsh-plugin.mjs",
|
|
65
|
+
"prepack": "npm run build",
|
|
66
|
+
"test": "npm run build && node --test dist/test/*.test.js",
|
|
67
|
+
"test:real-host": "npm run build && node ../../scripts/test-dsh-host-real.mjs"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** Public configuration accepted by the installed GatherThread DSH bundle. */
|
|
2
|
+
export interface GatherThreadDshPluginConfig {
|
|
3
|
+
/** The package layer is opt-in and inert unless explicitly enabled. */
|
|
4
|
+
readonly enabled?: boolean;
|
|
5
|
+
/** Deprecated compatibility hint; native pairing now uses managed GatherThread Project workspaces. */
|
|
6
|
+
readonly workspacePath?: string;
|
|
7
|
+
/** Optional test or advanced-profile home. Normal npm users omit this. */
|
|
8
|
+
readonly dshHome?: string;
|
|
9
|
+
/** Optional public GatherThread service shown as the first connection choice. */
|
|
10
|
+
readonly officialServerUrl?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export declare const name: "gatherthread-dsh-native";
|
|
14
|
+
export declare const inject: readonly [
|
|
15
|
+
"agents",
|
|
16
|
+
"sessions",
|
|
17
|
+
"sessionPersistence",
|
|
18
|
+
"sessionQuery",
|
|
19
|
+
"sessionTitle",
|
|
20
|
+
"workspaceRegistry",
|
|
21
|
+
"llm",
|
|
22
|
+
"credentials",
|
|
23
|
+
"connection",
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
/** Cordis Host entry loaded by the package's official DSH profile layer. */
|
|
27
|
+
export declare function apply(
|
|
28
|
+
context: unknown,
|
|
29
|
+
config?: GatherThreadDshPluginConfig,
|
|
30
|
+
): Promise<void>;
|