@deepseek-ai/dsh-api-remotes 0.2.2-rc.1 → 0.2.2-rc.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/README.i18n.yaml +4 -4
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/lib/client.js +1 -28327
- package/lib/client.js.map +1 -0
- package/lib/index.js +4 -0
- package/lib/types/client/index.d.ts +7 -2
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/index.js +9 -5
- package/lib/types/client/index.js.map +1 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/remote-events.d.ts +3 -0
- package/lib/types/remote-events.d.ts.map +1 -0
- package/lib/types/remote-events.js +1 -0
- package/lib/types/remote-events.js.map +1 -0
- package/lib/types/types.d.ts.map +1 -0
- package/lib/types/types.js.map +1 -0
- package/package.json +49 -44
- package/src/client/index.ts +220 -0
- package/src/index.ts +171 -0
- package/src/remote-events.ts +59 -0
- package/src/types.ts +19 -0
package/lib/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/** Platform-neutral assembly of generated Host Remote contributions. */
|
|
2
2
|
import type { Context } from '@deepseek-ai/cordis';
|
|
3
3
|
export type {} from '@deepseek-ai/dsh-client-product-analytics/remote';
|
|
4
|
+
export type {} from '@deepseek-ai/dsh-agent-team/remote';
|
|
4
5
|
import type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client';
|
|
5
6
|
export type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client';
|
|
6
7
|
export type { BundleDetail, BundleInfo, BundleRowInfo, ChangeResult, IncompatiblePlugin, InspectOptions, InstallBundleOptions, InstallSpecKind, ManagementError, PackageResult, PluginChange, PluginEntryId, PluginInfo, PluginInspectProblem, PluginInstallCancellation, PluginInstallFailureKind, PluginInstallLogChunk, PluginInstallProgress, PluginInstallRequestId, PluginRegistries, PluginSpecInspection, PluginUpdateProgress, PluginUpdateResult, PluginUpdateStep, PluginVersion, PluginVersionList, RegistryAttempt, ReadOnlyReason, Registry, RestartReason, } from '@deepseek-ai/dsh-plugin-manager/types';
|
|
8
|
+
export type { McpManagedServerStatus, McpManagedServerView } from '@deepseek-ai/dsh-mcp-manager/types';
|
|
7
9
|
export type {} from '@deepseek-ai/dsh-plugin-manager/remote';
|
|
10
|
+
export type {} from '@deepseek-ai/dsh-mcp-manager/remote';
|
|
8
11
|
export type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/remote';
|
|
9
12
|
export type {} from '@deepseek-ai/dsh-client-ui-trajectory/remote';
|
|
10
13
|
export type {} from '@deepseek-ai/dsh-plugin-market/remote';
|
|
@@ -13,11 +16,12 @@ export type { PluginInventorySnapshot } from '@deepseek-ai/dsh-host-plugin-inven
|
|
|
13
16
|
export type {} from '@deepseek-ai/dsh-agent-preset-registry/remote';
|
|
14
17
|
export type {} from '@deepseek-ai/dsh-user-questions/remote';
|
|
15
18
|
export type {} from '@deepseek-ai/dsh-commands/remote';
|
|
19
|
+
export type {} from '@deepseek-ai/dsh-web/remote';
|
|
16
20
|
export type {} from '@deepseek-ai/dsh-api-settings-controller/remote';
|
|
17
|
-
export type {} from '@deepseek-ai/dsh-
|
|
21
|
+
export type {} from '@deepseek-ai/dsh-deepseek-account/remote';
|
|
18
22
|
export type {} from '@deepseek-ai/dsh-goal/remote';
|
|
19
23
|
export type {} from '@deepseek-ai/dsh-schedule/remote';
|
|
20
|
-
export type {} from '@deepseek-ai/dsh-office-
|
|
24
|
+
export type {} from '@deepseek-ai/dsh-office-kit/remote';
|
|
21
25
|
export type {} from '@deepseek-ai/dsh-llm/remote';
|
|
22
26
|
export type {} from '@deepseek-ai/dsh-host-plugin-inventory/remote';
|
|
23
27
|
export type {} from '@deepseek-ai/dsh-message-feedback/remote';
|
|
@@ -39,6 +43,7 @@ export type {} from '@deepseek-ai/dsh-api-terminal-controller/remote';
|
|
|
39
43
|
export type * from '@deepseek-ai/dsh-api-terminal-controller/types';
|
|
40
44
|
export type { ApiRemoteForwardedEvent } from '../types.ts';
|
|
41
45
|
export type {} from '@deepseek-ai/dsh-commands/types';
|
|
46
|
+
export type {} from '@deepseek-ai/dsh-web/types';
|
|
42
47
|
export type {} from '@deepseek-ai/dsh-cordis-host-runner/types';
|
|
43
48
|
export type {} from '@deepseek-ai/dsh-credentials/types';
|
|
44
49
|
export type {} from '@deepseek-ai/dsh-llm/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,YAAY,EAAE,MAAM,kDAAkD,CAAA;AAKtE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AA0BxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AAEvE,YAAY,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AACvE,YAAY,EACV,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,oBAAoB,EAAE,eAAe,EAChI,eAAe,EAAE,aAAa,EAC9B,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,wBAAwB,EAClH,qBAAqB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,oBAAoB,EAC5G,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAC7G,cAAc,EAAE,QAAQ,EAAE,aAAa,GACxC,MAAM,uCAAuC,CAAA;AAC9C,YAAY,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AACtG,YAAY,EAAE,MAAM,wCAAwC,CAAA;AAC5D,YAAY,EAAE,MAAM,qCAAqC,CAAA;AACzD,YAAY,EAAE,MAA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5B,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,iBAAiB,GAClB,MAAM,2CAA2C,CAAA;AAElD,YAAY,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAGxE,YAAY,EACV,qBAAqB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,kBAAkB,GACrF,MAAM,iCAAiC,CAAA;AAExC,YAAY,EACV,uBAAuB,EAAE,kBAAkB,EAC3C,wBAAwB,EAAE,aAAa,EAAE,eAAe,GACzD,MAAM,4BAA4B,CAAA;AAGnC,YAAY,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAA;AACnF,YAAY,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAA;AAMhG,YAAY,EACV,eAAe,EAAE,qBAAqB,EAAE,aAAa,EAAE,YAAY,GACpE,MAAM,kCAAkC,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAE1E,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,OAAO;QACf,oEAAoE;QACpE,MAAM,EAAE,YAAY,CAAA;KACrB;CACF;AAED,oEAAoE;AACpE,eAAO,MAAM,MAAM,UAAa,CAAA;AAEhC;;;;GAIG;AACH,wBAAsB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,CAwBtE"}
|
|
@@ -3,14 +3,16 @@ import productAnalyticsRemote from '@deepseek-ai/dsh-client-product-analytics/re
|
|
|
3
3
|
import agentPresetsRemote from '@deepseek-ai/dsh-agent-preset-registry/remote';
|
|
4
4
|
import userQuestionsRemote from '@deepseek-ai/dsh-user-questions/remote';
|
|
5
5
|
import commandsRemote from '@deepseek-ai/dsh-commands/remote';
|
|
6
|
-
import
|
|
6
|
+
import agentTeamsRemote from '@deepseek-ai/dsh-agent-team/remote';
|
|
7
|
+
import accountRemote from '@deepseek-ai/dsh-deepseek-account/remote';
|
|
7
8
|
import settingsControllerRemote from '@deepseek-ai/dsh-api-settings-controller/remote';
|
|
8
|
-
import
|
|
9
|
+
import officeKitRemote from '@deepseek-ai/dsh-office-kit/remote';
|
|
9
10
|
import goalsRemote from '@deepseek-ai/dsh-goal/remote';
|
|
10
11
|
import scheduleRemote from '@deepseek-ai/dsh-schedule/remote';
|
|
11
12
|
import llmRemote from '@deepseek-ai/dsh-llm/remote';
|
|
12
13
|
import dynamicRemote from '@deepseek-ai/dsh-cordis-host-runner/remote';
|
|
13
14
|
import pluginManagerRemote from '@deepseek-ai/dsh-plugin-manager/remote';
|
|
15
|
+
import mcpManagerRemote from '@deepseek-ai/dsh-mcp-manager/remote';
|
|
14
16
|
import toolResultsRemote from '@deepseek-ai/dsh-client-ui-trajectory/remote';
|
|
15
17
|
import pluginRegistryProbeRemote from '@deepseek-ai/dsh-client-ui-plugin-manager/remote';
|
|
16
18
|
import pluginMarketRemote from '@deepseek-ai/dsh-plugin-market/remote';
|
|
@@ -26,6 +28,7 @@ import jobRemote from '@deepseek-ai/dsh-api-job-controller/remote';
|
|
|
26
28
|
import workspaceRemote from '@deepseek-ai/dsh-api-workspace-controller/remote';
|
|
27
29
|
import terminalRemote from '@deepseek-ai/dsh-api-terminal-controller/remote';
|
|
28
30
|
import workspaceFilesRemote from '@deepseek-ai/dsh-api-workspace-files/remote';
|
|
31
|
+
import webRemote from '@deepseek-ai/dsh-web/remote';
|
|
29
32
|
/** Required service: the typed Client Remote contribution mount. */
|
|
30
33
|
export const inject = ['remote'];
|
|
31
34
|
/**
|
|
@@ -37,13 +40,14 @@ export async function apply(ctx) {
|
|
|
37
40
|
const disposers = [];
|
|
38
41
|
try {
|
|
39
42
|
for (const contribution of [
|
|
40
|
-
productAnalyticsRemote, agentPresetsRemote, commandsRemote, settingsControllerRemote, accountRemote,
|
|
43
|
+
productAnalyticsRemote, agentPresetsRemote, commandsRemote, agentTeamsRemote, settingsControllerRemote, accountRemote,
|
|
41
44
|
goalsRemote, llmRemote, dynamicRemote, scheduleRemote,
|
|
42
|
-
pluginInventoryRemote, pluginManagerRemote, pluginMarketRemote, pluginRegistryProbeRemote,
|
|
45
|
+
pluginInventoryRemote, pluginManagerRemote, mcpManagerRemote, pluginMarketRemote, pluginRegistryProbeRemote,
|
|
46
|
+
toolResultsRemote,
|
|
43
47
|
messageFeedbackRemote, sessionFeedbackRemote,
|
|
44
48
|
fileUploadsRemote, sessionReferencesRemote,
|
|
45
49
|
permissionPresetsRemote, subagentsRemote, sessionRemote, jobRemote, workspaceRemote, workspaceFilesRemote, terminalRemote,
|
|
46
|
-
|
|
50
|
+
officeKitRemote, userQuestionsRemote, webRemote,
|
|
47
51
|
]) {
|
|
48
52
|
disposers.push(await ctx.remote.$mount(contribution));
|
|
49
53
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAGxE,OAAO,sBAAsB,MAAM,kDAAkD,CAAA;AAErF,OAAO,kBAAkB,MAAM,+CAA+C,CAAA;AAC9E,OAAO,mBAAmB,MAAM,wCAAwC,CAAA;AACxE,OAAO,cAAc,MAAM,kCAAkC,CAAA;AAC7D,OAAO,gBAAgB,MAAM,oCAAoC,CAAA;AAEjE,OAAO,aAAa,MAAM,0CAA0C,CAAA;AACpE,OAAO,wBAAwB,MAAM,iDAAiD,CAAA;AACtF,OAAO,eAAe,MAAM,oCAAoC,CAAA;AAChE,OAAO,WAAW,MAAM,8BAA8B,CAAA;AACtD,OAAO,cAAc,MAAM,kCAAkC,CAAA;AAC7D,OAAO,SAAS,MAAM,6BAA6B,CAAA;AACnD,OAAO,aAAa,MAAM,4CAA4C,CAAA;AACtE,OAAO,mBAAmB,MAAM,wCAAwC,CAAA;AACxE,OAAO,gBAAgB,MAAM,qCAAqC,CAAA;AAClE,OAAO,iBAAiB,MAAM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EAAE,mBAAmB,EAAE,SAAS;SAChD,EAAE,CAAC;YACF,SAAS,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAA;QACvD,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,KAAK,MAAM,OAAO,IAAI,SAAS,CAAC,OAAO,EAAE;YAAE,MAAM,OAAO,EAAE,CAAA;QAC1D,MAAM,KAAK,CAAA;IACb,CAAC;IACD,4EAA4E;IAC5E,YAAY;IACZ,OAAO,KAAK,IAAI,EAAE;QAChB,KAAK,MAAM,OAAO,IAAI,SAAS,CAAC,OAAO,EAAE;YAAE,MAAM,OAAO,EAAE,CAAA;IAC5D,CAAC,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAG5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AA4BlD,YAAY,EAAE,MAAM,+CAA+C,CAAA;AAEnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAA;AAChE,YAAY,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AAEzD,8EAA8E;AAC9E,eAAO,MAAM,MAAM,UAAoB,CAAA;AAEvC,oFAAoF;AACpF,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAKxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAE5E,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AASjC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAkB,MAAM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KAAK,cAAc,MAAM,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAA;QACxG,CAAC;IACH,CAAC;IACD,OAAO,IAAmB,CAAA;AAC5B,CAAC"}
|
|
@@ -119,5 +119,8 @@ export declare const API_REMOTE_FORWARDED_EVENTS: readonly [{
|
|
|
119
119
|
}, {
|
|
120
120
|
readonly event: "user-questions/request";
|
|
121
121
|
readonly mode: "waterfall";
|
|
122
|
+
}, {
|
|
123
|
+
readonly event: "web/providers-changed";
|
|
124
|
+
readonly mode: "emit";
|
|
122
125
|
}];
|
|
123
126
|
//# sourceMappingURL=remote-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-events.d.ts","sourceRoot":"","sources":["../../src/remote-events.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAS/D;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;oDAG4C,SAAS;;;;;;+GACd,SAAS;;;;;;oDACP,SAAS;;;;;;oDACP,SAAS;;;;;;oDACV,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBhC,CAAA"}
|
|
@@ -44,5 +44,6 @@ export const API_REMOTE_FORWARDED_EVENTS = [
|
|
|
44
44
|
{ event: 'settings/document-updated', mode: 'emit' },
|
|
45
45
|
{ event: 'schedule/changed', mode: 'emit' },
|
|
46
46
|
{ event: 'user-questions/request', mode: 'waterfall' },
|
|
47
|
+
{ event: 'web/providers-changed', mode: 'emit' },
|
|
47
48
|
];
|
|
48
49
|
//# sourceMappingURL=remote-events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-events.js","sourceRoot":"","sources":["../../src/remote-events.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAYH;;;;;;;GAOG;AACH,MAAM,C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ources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAA;AAErE,iFAAiF;AACjF,MAAM,MAAM,uBAAuB,GAAG,OAAO,2BAA2B,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAA;AAEzF,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,0BAA2B,SAAQ,MAAM,CAAC,uBAAuB,EAAE,IAAI,CAAC;KAAG;CACtF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-api-remotes",
|
|
3
3
|
"description": "Remote BFF assembly for application-selected Host capabilities",
|
|
4
|
-
"version": "0.2.2-rc.
|
|
4
|
+
"version": "0.2.2-rc.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -45,57 +45,62 @@
|
|
|
45
45
|
"lib/index.js",
|
|
46
46
|
"lib/client.js",
|
|
47
47
|
"lib/types/**/*.js",
|
|
48
|
-
"lib/types/**/*.d.ts"
|
|
48
|
+
"lib/types/**/*.d.ts",
|
|
49
|
+
"lib/types/**/*.d.ts.map",
|
|
50
|
+
"lib/**/*.js.map",
|
|
51
|
+
"src"
|
|
49
52
|
],
|
|
50
53
|
"dependencies": {
|
|
51
|
-
"@deepseek-ai/dsh-deque": "0.2.2-rc.
|
|
52
|
-
"@deepseek-ai/dsh-util-values": "0.2.2-rc.
|
|
54
|
+
"@deepseek-ai/dsh-deque": "0.2.2-rc.3",
|
|
55
|
+
"@deepseek-ai/dsh-util-values": "0.2.2-rc.3"
|
|
53
56
|
},
|
|
54
57
|
"peerDependencies": {
|
|
55
58
|
"@deepseek-ai/cordis": "~4.1.0",
|
|
56
|
-
"@deepseek-ai/dsh-scope": "0.2.2-rc.
|
|
59
|
+
"@deepseek-ai/dsh-scope": "0.2.2-rc.3"
|
|
57
60
|
},
|
|
58
61
|
"devDependencies": {
|
|
59
|
-
"@deepseek-ai/dsh-agent": "0.2.2-rc.
|
|
60
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.
|
|
61
|
-
"@deepseek-ai/dsh-api-gateway": "0.2.2-rc.
|
|
62
|
-
"@deepseek-ai/dsh-api-job-controller": "0.2.2-rc.
|
|
63
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.
|
|
64
|
-
"@deepseek-ai/dsh-api-settings-controller": "0.2.2-rc.
|
|
65
|
-
"@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.
|
|
66
|
-
"@deepseek-ai/dsh-api-workspace-files": "0.2.2-rc.
|
|
67
|
-
"@deepseek-ai/dsh-client-connection": "0.2.2-rc.
|
|
68
|
-
"@deepseek-ai/dsh-client-file-upload": "0.2.2-rc.
|
|
69
|
-
"@deepseek-ai/dsh-commands": "0.2.2-rc.
|
|
70
|
-
"@deepseek-ai/dsh-cordis-host-runner": "0.2.2-rc.
|
|
71
|
-
"@deepseek-ai/dsh-credentials": "0.2.2-rc.
|
|
72
|
-
"@deepseek-ai/dsh-file-reference": "0.2.2-rc.
|
|
73
|
-
"@deepseek-ai/dsh-goal": "0.2.2-rc.
|
|
74
|
-
"@deepseek-ai/dsh-host-plugin-inventory": "0.2.2-rc.
|
|
75
|
-
"@deepseek-ai/dsh-llm": "0.2.2-rc.
|
|
76
|
-
"@deepseek-ai/dsh-message-feedback": "0.2.2-rc.
|
|
77
|
-
"@deepseek-ai/dsh-permission-presets": "0.2.2-rc.
|
|
78
|
-
"@deepseek-ai/dsh-schedule": "0.2.2-rc.
|
|
79
|
-
"@deepseek-ai/dsh-scope": "0.2.2-rc.
|
|
80
|
-
"@deepseek-ai/dsh-session": "0.2.2-rc.
|
|
81
|
-
"@deepseek-ai/dsh-session-reference": "0.2.2-rc.
|
|
82
|
-
"@deepseek-ai/dsh-settings": "0.2.2-rc.
|
|
83
|
-
"@deepseek-ai/dsh-subagent": "0.2.2-rc.
|
|
84
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.
|
|
85
|
-
"@deepseek-ai/dsh-user-approval": "0.2.2-rc.
|
|
86
|
-
"@deepseek-ai/dsh-user-questions": "0.2.2-rc.
|
|
62
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.3",
|
|
63
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.3",
|
|
64
|
+
"@deepseek-ai/dsh-api-gateway": "0.2.2-rc.3",
|
|
65
|
+
"@deepseek-ai/dsh-api-job-controller": "0.2.2-rc.3",
|
|
66
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.3",
|
|
67
|
+
"@deepseek-ai/dsh-api-settings-controller": "0.2.2-rc.3",
|
|
68
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.3",
|
|
69
|
+
"@deepseek-ai/dsh-api-workspace-files": "0.2.2-rc.3",
|
|
70
|
+
"@deepseek-ai/dsh-client-connection": "0.2.2-rc.3",
|
|
71
|
+
"@deepseek-ai/dsh-client-file-upload": "0.2.2-rc.3",
|
|
72
|
+
"@deepseek-ai/dsh-commands": "0.2.2-rc.3",
|
|
73
|
+
"@deepseek-ai/dsh-cordis-host-runner": "0.2.2-rc.3",
|
|
74
|
+
"@deepseek-ai/dsh-credentials": "0.2.2-rc.3",
|
|
75
|
+
"@deepseek-ai/dsh-file-reference": "0.2.2-rc.3",
|
|
76
|
+
"@deepseek-ai/dsh-goal": "0.2.2-rc.3",
|
|
77
|
+
"@deepseek-ai/dsh-host-plugin-inventory": "0.2.2-rc.3",
|
|
78
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.3",
|
|
79
|
+
"@deepseek-ai/dsh-message-feedback": "0.2.2-rc.3",
|
|
80
|
+
"@deepseek-ai/dsh-permission-presets": "0.2.2-rc.3",
|
|
81
|
+
"@deepseek-ai/dsh-schedule": "0.2.2-rc.3",
|
|
82
|
+
"@deepseek-ai/dsh-scope": "0.2.2-rc.3",
|
|
83
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.3",
|
|
84
|
+
"@deepseek-ai/dsh-session-reference": "0.2.2-rc.3",
|
|
85
|
+
"@deepseek-ai/dsh-settings": "0.2.2-rc.3",
|
|
86
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.3",
|
|
87
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.3",
|
|
88
|
+
"@deepseek-ai/dsh-user-approval": "0.2.2-rc.3",
|
|
89
|
+
"@deepseek-ai/dsh-user-questions": "0.2.2-rc.3",
|
|
87
90
|
"@deepseek-ai/cordis": "~4.1.0",
|
|
88
|
-
"zod": "4.
|
|
89
|
-
"@deepseek-ai/dsh-command-feedback": "0.2.2-rc.
|
|
90
|
-
"@deepseek-ai/dsh-api-terminal-controller": "0.2.2-rc.
|
|
91
|
-
"@deepseek-ai/dsh-plugin-manager": "0.2.2-rc.
|
|
92
|
-
"@deepseek-ai/dsh-
|
|
93
|
-
"@deepseek-ai/dsh-
|
|
94
|
-
"@deepseek-ai/dsh-
|
|
95
|
-
"@deepseek-ai/dsh-
|
|
96
|
-
"@deepseek-ai/dsh-deepseek-account": "0.2.2-rc.
|
|
97
|
-
"@deepseek-ai/dsh-client-product-analytics": "0.2.2-rc.
|
|
98
|
-
"@deepseek-ai/dsh-
|
|
91
|
+
"zod": "4.6.6",
|
|
92
|
+
"@deepseek-ai/dsh-command-feedback": "0.2.2-rc.3",
|
|
93
|
+
"@deepseek-ai/dsh-api-terminal-controller": "0.2.2-rc.3",
|
|
94
|
+
"@deepseek-ai/dsh-plugin-manager": "0.2.2-rc.3",
|
|
95
|
+
"@deepseek-ai/dsh-mcp-manager": "0.2.2-rc.3",
|
|
96
|
+
"@deepseek-ai/dsh-plugin-market": "0.2.2-rc.3",
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-rc.3",
|
|
98
|
+
"@deepseek-ai/dsh-office-kit": "0.2.2-rc.3",
|
|
99
|
+
"@deepseek-ai/dsh-deepseek-account": "0.2.2-rc.3",
|
|
100
|
+
"@deepseek-ai/dsh-client-product-analytics": "0.2.2-rc.3",
|
|
101
|
+
"@deepseek-ai/dsh-agent-team": "0.2.2-rc.3",
|
|
102
|
+
"@deepseek-ai/dsh-client-ui-trajectory": "0.2.2-rc.3",
|
|
103
|
+
"@deepseek-ai/dsh-web": "0.2.2-rc.3"
|
|
99
104
|
},
|
|
100
105
|
"scripts": {
|
|
101
106
|
"bundle": "tsdown",
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
/** Platform-neutral assembly of generated Host Remote contributions. */
|
|
2
|
+
|
|
3
|
+
import type { Context } from '@deepseek-ai/cordis'
|
|
4
|
+
import productAnalyticsRemote from '@deepseek-ai/dsh-client-product-analytics/remote'
|
|
5
|
+
export type {} from '@deepseek-ai/dsh-client-product-analytics/remote'
|
|
6
|
+
import agentPresetsRemote from '@deepseek-ai/dsh-agent-preset-registry/remote'
|
|
7
|
+
import userQuestionsRemote from '@deepseek-ai/dsh-user-questions/remote'
|
|
8
|
+
import commandsRemote from '@deepseek-ai/dsh-commands/remote'
|
|
9
|
+
import agentTeamsRemote from '@deepseek-ai/dsh-agent-team/remote'
|
|
10
|
+
export type {} from '@deepseek-ai/dsh-agent-team/remote'
|
|
11
|
+
import accountRemote from '@deepseek-ai/dsh-deepseek-account/remote'
|
|
12
|
+
import settingsControllerRemote from '@deepseek-ai/dsh-api-settings-controller/remote'
|
|
13
|
+
import officeKitRemote from '@deepseek-ai/dsh-office-kit/remote'
|
|
14
|
+
import goalsRemote from '@deepseek-ai/dsh-goal/remote'
|
|
15
|
+
import scheduleRemote from '@deepseek-ai/dsh-schedule/remote'
|
|
16
|
+
import llmRemote from '@deepseek-ai/dsh-llm/remote'
|
|
17
|
+
import dynamicRemote from '@deepseek-ai/dsh-cordis-host-runner/remote'
|
|
18
|
+
import pluginManagerRemote from '@deepseek-ai/dsh-plugin-manager/remote'
|
|
19
|
+
import mcpManagerRemote from '@deepseek-ai/dsh-mcp-manager/remote'
|
|
20
|
+
import toolResultsRemote from '@deepseek-ai/dsh-client-ui-trajectory/remote'
|
|
21
|
+
import pluginRegistryProbeRemote from '@deepseek-ai/dsh-client-ui-plugin-manager/remote'
|
|
22
|
+
import pluginMarketRemote from '@deepseek-ai/dsh-plugin-market/remote'
|
|
23
|
+
import pluginInventoryRemote from '@deepseek-ai/dsh-host-plugin-inventory/remote'
|
|
24
|
+
import messageFeedbackRemote from '@deepseek-ai/dsh-message-feedback/remote'
|
|
25
|
+
import permissionPresetsRemote from '@deepseek-ai/dsh-permission-presets/remote'
|
|
26
|
+
import sessionFeedbackRemote from '@deepseek-ai/dsh-command-feedback/remote'
|
|
27
|
+
import fileUploadsRemote from '@deepseek-ai/dsh-client-file-upload/remote'
|
|
28
|
+
import sessionReferencesRemote from '@deepseek-ai/dsh-session-reference/remote'
|
|
29
|
+
import subagentsRemote from '@deepseek-ai/dsh-subagent/remote'
|
|
30
|
+
import sessionRemote from '@deepseek-ai/dsh-api-session-controller/remote'
|
|
31
|
+
import jobRemote from '@deepseek-ai/dsh-api-job-controller/remote'
|
|
32
|
+
import workspaceRemote from '@deepseek-ai/dsh-api-workspace-controller/remote'
|
|
33
|
+
import terminalRemote from '@deepseek-ai/dsh-api-terminal-controller/remote'
|
|
34
|
+
import workspaceFilesRemote from '@deepseek-ai/dsh-api-workspace-files/remote'
|
|
35
|
+
import webRemote from '@deepseek-ai/dsh-web/remote'
|
|
36
|
+
import type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client'
|
|
37
|
+
|
|
38
|
+
export type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client'
|
|
39
|
+
export type {
|
|
40
|
+
BundleDetail, BundleInfo, BundleRowInfo, ChangeResult, IncompatiblePlugin, InspectOptions, InstallBundleOptions, InstallSpecKind,
|
|
41
|
+
ManagementError, PackageResult,
|
|
42
|
+
PluginChange, PluginEntryId, PluginInfo, PluginInspectProblem, PluginInstallCancellation, PluginInstallFailureKind,
|
|
43
|
+
PluginInstallLogChunk, PluginInstallProgress, PluginInstallRequestId, PluginRegistries, PluginSpecInspection,
|
|
44
|
+
PluginUpdateProgress, PluginUpdateResult, PluginUpdateStep, PluginVersion, PluginVersionList, RegistryAttempt,
|
|
45
|
+
ReadOnlyReason, Registry, RestartReason,
|
|
46
|
+
} from '@deepseek-ai/dsh-plugin-manager/types'
|
|
47
|
+
export type { McpManagedServerStatus, McpManagedServerView } from '@deepseek-ai/dsh-mcp-manager/types'
|
|
48
|
+
export type {} from '@deepseek-ai/dsh-plugin-manager/remote'
|
|
49
|
+
export type {} from '@deepseek-ai/dsh-mcp-manager/remote'
|
|
50
|
+
export type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/remote'
|
|
51
|
+
export type {} from '@deepseek-ai/dsh-client-ui-trajectory/remote'
|
|
52
|
+
export type {} from '@deepseek-ai/dsh-plugin-market/remote'
|
|
53
|
+
export type {
|
|
54
|
+
MarketCompatibility, MarketIndexSummary, MarketInstallation, MarketInstallationStatus, MarketListingEntry, MarketListingVersion,
|
|
55
|
+
MarketQuery, MarketSearchResult, MarketSort, PluginDetail, PluginDetailDocumentId, PluginDetailOrigin,
|
|
56
|
+
} from '@deepseek-ai/dsh-plugin-market/types'
|
|
57
|
+
export type { PluginInventorySnapshot } from '@deepseek-ai/dsh-host-plugin-inventory/types'
|
|
58
|
+
export type {} from '@deepseek-ai/dsh-agent-preset-registry/remote'
|
|
59
|
+
export type {} from '@deepseek-ai/dsh-user-questions/remote'
|
|
60
|
+
export type {} from '@deepseek-ai/dsh-commands/remote'
|
|
61
|
+
export type {} from '@deepseek-ai/dsh-web/remote'
|
|
62
|
+
export type {} from '@deepseek-ai/dsh-api-settings-controller/remote'
|
|
63
|
+
export type {} from '@deepseek-ai/dsh-deepseek-account/remote'
|
|
64
|
+
export type {} from '@deepseek-ai/dsh-goal/remote'
|
|
65
|
+
export type {} from '@deepseek-ai/dsh-schedule/remote'
|
|
66
|
+
export type {} from '@deepseek-ai/dsh-office-kit/remote'
|
|
67
|
+
export type {} from '@deepseek-ai/dsh-llm/remote'
|
|
68
|
+
export type {} from '@deepseek-ai/dsh-host-plugin-inventory/remote'
|
|
69
|
+
export type {} from '@deepseek-ai/dsh-message-feedback/remote'
|
|
70
|
+
export type {} from '@deepseek-ai/dsh-permission-presets/remote'
|
|
71
|
+
export type {} from '@deepseek-ai/dsh-command-feedback/remote'
|
|
72
|
+
export type {} from '@deepseek-ai/dsh-client-file-upload/remote'
|
|
73
|
+
export type {} from '@deepseek-ai/dsh-session-reference/remote'
|
|
74
|
+
export type {} from '@deepseek-ai/dsh-subagent/remote'
|
|
75
|
+
export type * from '@deepseek-ai/dsh-subagent/client'
|
|
76
|
+
export type {} from '@deepseek-ai/dsh-api-session-controller/remote'
|
|
77
|
+
export type * from '@deepseek-ai/dsh-api-session-controller/types'
|
|
78
|
+
export type {} from '@deepseek-ai/dsh-api-job-controller/remote'
|
|
79
|
+
export type * from '@deepseek-ai/dsh-api-job-controller/types'
|
|
80
|
+
export type {} from '@deepseek-ai/dsh-api-workspace-controller/remote'
|
|
81
|
+
export type * from '@deepseek-ai/dsh-api-workspace-controller/types'
|
|
82
|
+
export type {} from '@deepseek-ai/dsh-api-workspace-files/remote'
|
|
83
|
+
export type * from '@deepseek-ai/dsh-api-workspace-files/types'
|
|
84
|
+
export type {} from '@deepseek-ai/dsh-api-terminal-controller/remote'
|
|
85
|
+
export type * from '@deepseek-ai/dsh-api-terminal-controller/types'
|
|
86
|
+
// The forwarded-event allowlist's selection seat: without it in the consumer's
|
|
87
|
+
// compilation face `TypertRemoteEvent` is `never` and every `$on` call fails.
|
|
88
|
+
export type { ApiRemoteForwardedEvent } from '../types.ts'
|
|
89
|
+
// The owner packages' client-safe `./types` exports supply the `Events`
|
|
90
|
+
// signatures `$on` hands to a listener, so a consumer reads the very
|
|
91
|
+
// declaration the Host emits rather than a flattened restatement of it.
|
|
92
|
+
export type {} from '@deepseek-ai/dsh-commands/types'
|
|
93
|
+
export type {} from '@deepseek-ai/dsh-web/types'
|
|
94
|
+
export type {} from '@deepseek-ai/dsh-cordis-host-runner/types'
|
|
95
|
+
export type {} from '@deepseek-ai/dsh-credentials/types'
|
|
96
|
+
export type {} from '@deepseek-ai/dsh-llm/types'
|
|
97
|
+
export type {} from '@deepseek-ai/dsh-agent-preset-registry/types'
|
|
98
|
+
export type {} from '@deepseek-ai/dsh-permission-presets/types'
|
|
99
|
+
export type {} from '@deepseek-ai/dsh-settings/types'
|
|
100
|
+
export type {} from '@deepseek-ai/dsh-user-approval/types'
|
|
101
|
+
export type {} from '@deepseek-ai/dsh-user-questions/types'
|
|
102
|
+
export type {} from '@deepseek-ai/dsh-api-session-controller/types'
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The carrier's Client-facing types, re-exported so a business package names one
|
|
106
|
+
* assembly package instead of both this facade and the Connection plugin. Type-only:
|
|
107
|
+
* the carrier's runtime values stay behind their own module edge.
|
|
108
|
+
*/
|
|
109
|
+
export type {
|
|
110
|
+
ConnectionHandle, ConnectionSinks, ContentBlock,
|
|
111
|
+
MessageId,
|
|
112
|
+
RpcId, RpcRequest, RpcResponse, RpcResult, SessionId,
|
|
113
|
+
StreamChunk,
|
|
114
|
+
} from '@deepseek-ai/dsh-client-connection/client'
|
|
115
|
+
export type {} from '@deepseek-ai/dsh-api-gateway/client'
|
|
116
|
+
export type {} from '@deepseek-ai/dsh-cordis-host-runner/remote'
|
|
117
|
+
|
|
118
|
+
// The payload vocabulary of the selected namespaces, re-exported so a Client
|
|
119
|
+
// contribution can name what it sends and receives without importing a Host
|
|
120
|
+
// package: this assembly is the one place both planes legitimately meet.
|
|
121
|
+
export type {
|
|
122
|
+
ApprovalRequestId,
|
|
123
|
+
CordisHalfState,
|
|
124
|
+
CordisDynamicPackageId,
|
|
125
|
+
CordisDynamicPluginId,
|
|
126
|
+
CordisDynamicPluginRunId,
|
|
127
|
+
CordisDynamicRunMode,
|
|
128
|
+
CordisInspectMethodManifest,
|
|
129
|
+
CordisInspectPlatform,
|
|
130
|
+
CordisInspectProviderManifest,
|
|
131
|
+
CordisInspectProviderView,
|
|
132
|
+
CordisInspectQueryRequest,
|
|
133
|
+
CordisInspectQueryResolution,
|
|
134
|
+
CordisInspectQueryResolved,
|
|
135
|
+
CordisInspectRequestId,
|
|
136
|
+
CordisInspectResolveAck,
|
|
137
|
+
CordisRunDiagnostic,
|
|
138
|
+
CordisRunStatus,
|
|
139
|
+
DynamicCordisClientSource,
|
|
140
|
+
DynamicCordisHostHalfResult,
|
|
141
|
+
DynamicCordisInventoryRow,
|
|
142
|
+
DynamicCordisInvokeResult,
|
|
143
|
+
DynamicCordisPackage,
|
|
144
|
+
DynamicCordisRequestResolved,
|
|
145
|
+
DynamicCordisResolveAck,
|
|
146
|
+
DynamicCordisRetracted,
|
|
147
|
+
DynamicCordisRunRequest,
|
|
148
|
+
DynamicCordisRunResolution,
|
|
149
|
+
DynamicCordisRunAttempt,
|
|
150
|
+
DynamicCordisRunResponse,
|
|
151
|
+
DynamicCordisStopResponse,
|
|
152
|
+
DynamicCordisUndefineReceipt,
|
|
153
|
+
RequestRunOutcome,
|
|
154
|
+
} from '@deepseek-ai/dsh-cordis-host-runner/types'
|
|
155
|
+
// Credential state vocabulary for the credentials namespace (values never ride it).
|
|
156
|
+
export type { CredentialInfo } from '@deepseek-ai/dsh-credentials/types'
|
|
157
|
+
// Redacted namespace vocabulary for the settings namespace (secrets never ride
|
|
158
|
+
// it). It travels with its seam, whose `./types` the Client face already reads.
|
|
159
|
+
export type {
|
|
160
|
+
SettingsDescribeValue, SettingsNamespaceView, SettingsPathOpView, SettingsSecretView,
|
|
161
|
+
} from '@deepseek-ai/dsh-settings/types'
|
|
162
|
+
// Provider registry and discovery vocabulary for the llm namespace.
|
|
163
|
+
export type {
|
|
164
|
+
LlmConfigurableProvider, LlmDiscoveredModel,
|
|
165
|
+
LlmModelDiscoveryRequest, LlmNativeAuth, LlmProviderInfo,
|
|
166
|
+
} from '@deepseek-ai/dsh-llm/types'
|
|
167
|
+
// Reference-discovery result vocabulary for the fileReferences and
|
|
168
|
+
// sessionReferenceResolver namespaces.
|
|
169
|
+
export type { FileReferenceCandidate } from '@deepseek-ai/dsh-file-reference/types'
|
|
170
|
+
export type { SessionReferenceMentionCandidate } from '@deepseek-ai/dsh-session-reference/types'
|
|
171
|
+
|
|
172
|
+
// The Remote failure vocabulary, re-exported so business packages keep naming
|
|
173
|
+
// this assembly alone. Types only: a value export would make spec imports load
|
|
174
|
+
// this module's owner /remote artifacts; specs take RemoteError from
|
|
175
|
+
// dsh-client-test-runtime instead.
|
|
176
|
+
export type {
|
|
177
|
+
RemoteErrorCode, RemoteErrorDetailsMap, RemoteFailure, RemoteResult,
|
|
178
|
+
} from '@deepseek-ai/dsh-typert-protocol'
|
|
179
|
+
export type { RemoteHostFacts } from '@deepseek-ai/dsh-api-gateway/client'
|
|
180
|
+
|
|
181
|
+
declare module '@deepseek-ai/cordis' {
|
|
182
|
+
interface Context {
|
|
183
|
+
/** Generated Remote namespaces selected by this Client assembly. */
|
|
184
|
+
remote: ClientRemote
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** Required service: the typed Client Remote contribution mount. */
|
|
189
|
+
export const inject = ['remote']
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Mount the Host capabilities explicitly selected for this Client assembly.
|
|
193
|
+
* @param ctx - Client Cordis root carrying the typed API service.
|
|
194
|
+
* @returns disposer after every selected Remote namespace is ready.
|
|
195
|
+
*/
|
|
196
|
+
export async function apply(ctx: Context): Promise<() => Promise<void>> {
|
|
197
|
+
const disposers: Array<() => Promise<void>> = []
|
|
198
|
+
try {
|
|
199
|
+
for (const contribution of [
|
|
200
|
+
productAnalyticsRemote, agentPresetsRemote, commandsRemote, agentTeamsRemote, settingsControllerRemote, accountRemote,
|
|
201
|
+
goalsRemote, llmRemote, dynamicRemote, scheduleRemote,
|
|
202
|
+
pluginInventoryRemote, pluginManagerRemote, mcpManagerRemote, pluginMarketRemote, pluginRegistryProbeRemote,
|
|
203
|
+
toolResultsRemote,
|
|
204
|
+
messageFeedbackRemote, sessionFeedbackRemote,
|
|
205
|
+
fileUploadsRemote, sessionReferencesRemote,
|
|
206
|
+
permissionPresetsRemote, subagentsRemote, sessionRemote, jobRemote, workspaceRemote, workspaceFilesRemote, terminalRemote,
|
|
207
|
+
officeKitRemote, userQuestionsRemote, webRemote,
|
|
208
|
+
]) {
|
|
209
|
+
disposers.push(await ctx.remote.$mount(contribution))
|
|
210
|
+
}
|
|
211
|
+
} catch (error) {
|
|
212
|
+
for (const dispose of disposers.reverse()) await dispose()
|
|
213
|
+
throw error
|
|
214
|
+
}
|
|
215
|
+
// Unwound in reverse mount order, so a namespace never outlives one mounted
|
|
216
|
+
// after it.
|
|
217
|
+
return async () => {
|
|
218
|
+
for (const dispose of disposers.reverse()) await dispose()
|
|
219
|
+
}
|
|
220
|
+
}
|