@deepseek-ai/dsh-api-remotes 0.1.7-alpha.2 → 0.1.7-rc.2
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 +36 -5
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/lib/client.js +1247 -230
- package/lib/index.js +16 -0
- package/lib/types/client/index.d.ts +2 -1
- package/lib/types/client/index.js +2 -1
- package/lib/types/remote-events.d.ts +12 -0
- package/lib/types/remote-events.js +4 -0
- package/package.json +39 -37
package/lib/index.js
CHANGED
|
@@ -47,6 +47,18 @@ const API_REMOTE_FORWARDED_EVENTS = [
|
|
|
47
47
|
event: "commands/change",
|
|
48
48
|
mode: "emit"
|
|
49
49
|
},
|
|
50
|
+
{
|
|
51
|
+
event: "deepseek-account/session-expired",
|
|
52
|
+
mode: "emit"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
event: "deepseek-account/model-sign-in-required",
|
|
56
|
+
mode: "emit"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
event: "credentials/record-updated",
|
|
60
|
+
mode: "emit"
|
|
61
|
+
},
|
|
50
62
|
{
|
|
51
63
|
event: "credentials/reference-updated",
|
|
52
64
|
mode: "emit"
|
|
@@ -103,6 +115,10 @@ const API_REMOTE_FORWARDED_EVENTS = [
|
|
|
103
115
|
event: "settings/document-updated",
|
|
104
116
|
mode: "emit"
|
|
105
117
|
},
|
|
118
|
+
{
|
|
119
|
+
event: "schedule/changed",
|
|
120
|
+
mode: "emit"
|
|
121
|
+
},
|
|
106
122
|
{
|
|
107
123
|
event: "user-questions/request",
|
|
108
124
|
mode: "waterfall"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { Context } from '@deepseek-ai/cordis';
|
|
3
3
|
import type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client';
|
|
4
4
|
export type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client';
|
|
5
|
-
export type { BundleInfo, BundleRowInfo, ChangeResult, InspectOptions, InstallBundleOptions, InstallSpecKind, ManagementError, PackageResult, PluginChange, PluginEntryId, PluginInfo, PluginInspectProblem, PluginInstallCancellation, PluginInstallFailureKind, PluginInstallLogChunk, PluginInstallProgress, PluginInstallRequestId, PluginRegistries, PluginSpecInspection, ReadOnlyReason, Registry, } from '@deepseek-ai/dsh-plugin-manager/types';
|
|
5
|
+
export type { BundleInfo, BundleRowInfo, ChangeResult, IncompatiblePlugin, InspectOptions, InstallBundleOptions, InstallSpecKind, ManagementError, PackageResult, PluginChange, PluginEntryId, PluginInfo, PluginInspectProblem, PluginInstallCancellation, PluginInstallFailureKind, PluginInstallLogChunk, PluginInstallProgress, PluginInstallRequestId, PluginRegistries, PluginSpecInspection, ReadOnlyReason, Registry, } from '@deepseek-ai/dsh-plugin-manager/types';
|
|
6
6
|
export type {} from '@deepseek-ai/dsh-plugin-manager/remote';
|
|
7
7
|
export type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/remote';
|
|
8
8
|
export type { PluginInventorySnapshot } from '@deepseek-ai/dsh-host-plugin-inventory/types';
|
|
@@ -11,6 +11,7 @@ export type {} from '@deepseek-ai/dsh-commands/remote';
|
|
|
11
11
|
export type {} from '@deepseek-ai/dsh-api-settings-controller/remote';
|
|
12
12
|
export type {} from '@deepseek-ai/dsh-api-account-controller/remote';
|
|
13
13
|
export type {} from '@deepseek-ai/dsh-goal/remote';
|
|
14
|
+
export type {} from '@deepseek-ai/dsh-schedule/remote';
|
|
14
15
|
export type {} from '@deepseek-ai/dsh-office-to-pdf/remote';
|
|
15
16
|
export type {} from '@deepseek-ai/dsh-llm/remote';
|
|
16
17
|
export type {} from '@deepseek-ai/dsh-host-plugin-inventory/remote';
|
|
@@ -5,6 +5,7 @@ import accountRemote from '@deepseek-ai/dsh-api-account-controller/remote';
|
|
|
5
5
|
import settingsControllerRemote from '@deepseek-ai/dsh-api-settings-controller/remote';
|
|
6
6
|
import officeToPdfRemote from '@deepseek-ai/dsh-office-to-pdf/remote';
|
|
7
7
|
import goalsRemote from '@deepseek-ai/dsh-goal/remote';
|
|
8
|
+
import scheduleRemote from '@deepseek-ai/dsh-schedule/remote';
|
|
8
9
|
import llmRemote from '@deepseek-ai/dsh-llm/remote';
|
|
9
10
|
import dynamicRemote from '@deepseek-ai/dsh-cordis-host-runner/remote';
|
|
10
11
|
import pluginManagerRemote from '@deepseek-ai/dsh-plugin-manager/remote';
|
|
@@ -32,7 +33,7 @@ export async function apply(ctx) {
|
|
|
32
33
|
const disposers = [];
|
|
33
34
|
try {
|
|
34
35
|
for (const contribution of [
|
|
35
|
-
agentPresetsRemote, commandsRemote, settingsControllerRemote, accountRemote, goalsRemote, llmRemote, dynamicRemote,
|
|
36
|
+
agentPresetsRemote, commandsRemote, settingsControllerRemote, accountRemote, goalsRemote, llmRemote, dynamicRemote, scheduleRemote,
|
|
36
37
|
pluginInventoryRemote, pluginManagerRemote, pluginRegistryProbeRemote, messageFeedbackRemote, sessionFeedbackRemote,
|
|
37
38
|
fileUploadsRemote, sessionReferencesRemote,
|
|
38
39
|
permissionPresetsRemote, subagentsRemote, sessionRemote, jobRemote, workspaceRemote, workspaceFilesRemote, terminalRemote,
|
|
@@ -33,6 +33,15 @@ export declare const API_REMOTE_FORWARDED_EVENTS: readonly [{
|
|
|
33
33
|
}, {
|
|
34
34
|
readonly event: "commands/change";
|
|
35
35
|
readonly mode: "emit";
|
|
36
|
+
}, {
|
|
37
|
+
readonly event: "deepseek-account/session-expired";
|
|
38
|
+
readonly mode: "emit";
|
|
39
|
+
}, {
|
|
40
|
+
readonly event: "deepseek-account/model-sign-in-required";
|
|
41
|
+
readonly mode: "emit";
|
|
42
|
+
}, {
|
|
43
|
+
readonly event: "credentials/record-updated";
|
|
44
|
+
readonly mode: "emit";
|
|
36
45
|
}, {
|
|
37
46
|
readonly event: "credentials/reference-updated";
|
|
38
47
|
readonly mode: "emit";
|
|
@@ -75,6 +84,9 @@ export declare const API_REMOTE_FORWARDED_EVENTS: readonly [{
|
|
|
75
84
|
}, {
|
|
76
85
|
readonly event: "settings/document-updated";
|
|
77
86
|
readonly mode: "emit";
|
|
87
|
+
}, {
|
|
88
|
+
readonly event: "schedule/changed";
|
|
89
|
+
readonly mode: "emit";
|
|
78
90
|
}, {
|
|
79
91
|
readonly event: "user-questions/request";
|
|
80
92
|
readonly mode: "waterfall";
|
|
@@ -18,6 +18,9 @@ export const API_REMOTE_FORWARDED_EVENTS = [
|
|
|
18
18
|
{ event: 'api-session/removed', mode: 'emit' },
|
|
19
19
|
{ event: 'api-session/status', mode: 'emit' },
|
|
20
20
|
{ event: 'commands/change', mode: 'emit' },
|
|
21
|
+
{ event: 'deepseek-account/session-expired', mode: 'emit' },
|
|
22
|
+
{ event: 'deepseek-account/model-sign-in-required', mode: 'emit' },
|
|
23
|
+
{ event: 'credentials/record-updated', mode: 'emit' },
|
|
21
24
|
{ event: 'credentials/reference-updated', mode: 'emit' },
|
|
22
25
|
{ event: 'goal/activation-changed', mode: 'emit' },
|
|
23
26
|
{ event: 'cordis/request-run', mode: 'emit' },
|
|
@@ -32,6 +35,7 @@ export const API_REMOTE_FORWARDED_EVENTS = [
|
|
|
32
35
|
{ event: 'plugin-manager/install-log', mode: 'emit' },
|
|
33
36
|
{ event: 'plugin-manager/install-state', mode: 'emit' },
|
|
34
37
|
{ event: 'settings/document-updated', mode: 'emit' },
|
|
38
|
+
{ event: 'schedule/changed', mode: 'emit' },
|
|
35
39
|
{ event: 'user-questions/request', mode: 'waterfall' },
|
|
36
40
|
];
|
|
37
41
|
//# sourceMappingURL=remote-events.js.map
|
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.1.7-
|
|
4
|
+
"version": "0.1.7-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -46,49 +46,51 @@
|
|
|
46
46
|
"lib/types/**/*.d.ts"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@deepseek-ai/dsh-deque": "0.1.7-
|
|
50
|
-
"@deepseek-ai/dsh-session": "0.1.7-
|
|
51
|
-
"@deepseek-ai/dsh-util-values": "0.1.7-
|
|
49
|
+
"@deepseek-ai/dsh-deque": "0.1.7-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-util-values": "0.1.7-rc.2"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
55
|
-
"@deepseek-ai/dsh-scope": "0.1.7-
|
|
55
|
+
"@deepseek-ai/dsh-scope": "0.1.7-rc.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"zod": "^4.4.3",
|
|
59
|
+
"@deepseek-ai/dsh-agent": "0.1.7-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-api-gateway": "0.1.7-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-api-job-controller": "0.1.7-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-api-session-controller": "0.1.7-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-api-settings-controller": "0.1.7-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.1.7-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-api-workspace-files": "0.1.7-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-client-file-upload": "0.1.7-rc.2",
|
|
69
|
+
"@deepseek-ai/dsh-commands": "0.1.7-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-cordis-host-runner": "0.1.7-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-credentials": "0.1.7-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-goal": "0.1.7-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-host-plugin-inventory": "0.1.7-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-file-reference": "0.1.7-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-llm": "0.1.7-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-message-feedback": "0.1.7-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-permission-presets": "0.1.7-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-schedule": "0.1.7-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-session-reference": "0.1.7-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-settings": "0.1.7-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-subagent": "0.1.7-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
|
|
83
|
+
"@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
|
|
84
|
+
"@deepseek-ai/dsh-scope": "0.1.7-rc.2",
|
|
85
|
+
"@deepseek-ai/dsh-command-feedback": "0.1.7-rc.2",
|
|
86
|
+
"@deepseek-ai/dsh-api-terminal-controller": "0.1.7-rc.2",
|
|
87
|
+
"@deepseek-ai/dsh-plugin-manager": "0.1.7-rc.2",
|
|
88
|
+
"@deepseek-ai/dsh-user-questions": "0.1.7-rc.2",
|
|
59
89
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-api-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-api-session-controller": "0.1.7-alpha.2",
|
|
65
|
-
"@deepseek-ai/dsh-api-settings-controller": "0.1.7-alpha.2",
|
|
66
|
-
"@deepseek-ai/dsh-api-workspace-controller": "0.1.7-alpha.2",
|
|
67
|
-
"@deepseek-ai/dsh-client-connection": "0.1.7-alpha.2",
|
|
68
|
-
"@deepseek-ai/dsh-client-file-upload": "0.1.7-alpha.2",
|
|
69
|
-
"@deepseek-ai/dsh-commands": "0.1.7-alpha.2",
|
|
70
|
-
"@deepseek-ai/dsh-cordis-host-runner": "0.1.7-alpha.2",
|
|
71
|
-
"@deepseek-ai/dsh-file-reference": "0.1.7-alpha.2",
|
|
72
|
-
"@deepseek-ai/dsh-goal": "0.1.7-alpha.2",
|
|
73
|
-
"@deepseek-ai/dsh-host-plugin-inventory": "0.1.7-alpha.2",
|
|
74
|
-
"@deepseek-ai/dsh-llm": "0.1.7-alpha.2",
|
|
75
|
-
"@deepseek-ai/dsh-message-feedback": "0.1.7-alpha.2",
|
|
76
|
-
"@deepseek-ai/dsh-scope": "0.1.7-alpha.2",
|
|
77
|
-
"@deepseek-ai/dsh-permission-presets": "0.1.7-alpha.2",
|
|
78
|
-
"@deepseek-ai/dsh-session-reference": "0.1.7-alpha.2",
|
|
79
|
-
"@deepseek-ai/dsh-credentials": "0.1.7-alpha.2",
|
|
80
|
-
"@deepseek-ai/dsh-subagent": "0.1.7-alpha.2",
|
|
81
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.7-alpha.2",
|
|
82
|
-
"@deepseek-ai/dsh-user-approval": "0.1.7-alpha.2",
|
|
83
|
-
"@deepseek-ai/dsh-user-questions": "0.1.7-alpha.2",
|
|
84
|
-
"@deepseek-ai/dsh-api-workspace-files": "0.1.7-alpha.2",
|
|
85
|
-
"@deepseek-ai/dsh-command-feedback": "0.1.7-alpha.2",
|
|
86
|
-
"@deepseek-ai/dsh-api-terminal-controller": "0.1.7-alpha.2",
|
|
87
|
-
"@deepseek-ai/dsh-plugin-manager": "0.1.7-alpha.2",
|
|
88
|
-
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.1.7-alpha.2",
|
|
89
|
-
"@deepseek-ai/dsh-office-to-pdf": "0.1.7-alpha.2",
|
|
90
|
-
"@deepseek-ai/dsh-api-account-controller": "0.1.7-alpha.2",
|
|
91
|
-
"@deepseek-ai/dsh-settings": "0.1.7-alpha.2"
|
|
90
|
+
"@deepseek-ai/dsh-office-to-pdf": "0.1.7-rc.2",
|
|
91
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.1.7-rc.2",
|
|
92
|
+
"@deepseek-ai/dsh-api-account-controller": "0.1.7-rc.2",
|
|
93
|
+
"@deepseek-ai/dsh-deepseek-account": "0.1.7-rc.2"
|
|
92
94
|
},
|
|
93
95
|
"scripts": {
|
|
94
96
|
"bundle": "tsdown",
|