@deepseek-ai/dsh-api-remotes 0.2.1-rc.3 → 0.2.2-alpha.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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client.js +2878 -3821
- package/lib/index.js +8 -0
- package/lib/types/client/index.d.ts +3 -2
- package/lib/types/client/index.js +2 -1
- package/lib/types/remote-events.d.ts +6 -0
- package/lib/types/remote-events.js +2 -0
- package/locale/de.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/package.json +44 -43
package/lib/index.js
CHANGED
|
@@ -104,6 +104,10 @@ const API_REMOTE_FORWARDED_EVENTS = [
|
|
|
104
104
|
event: "llm/adapters-updated",
|
|
105
105
|
mode: "emit"
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
event: "llm/models-updated",
|
|
109
|
+
mode: "emit"
|
|
110
|
+
},
|
|
107
111
|
{
|
|
108
112
|
event: "permission-presets/catalog-changed",
|
|
109
113
|
mode: "emit"
|
|
@@ -120,6 +124,10 @@ const API_REMOTE_FORWARDED_EVENTS = [
|
|
|
120
124
|
event: "plugin-manager/install-state",
|
|
121
125
|
mode: "emit"
|
|
122
126
|
},
|
|
127
|
+
{
|
|
128
|
+
event: "plugin-manager/update-state",
|
|
129
|
+
mode: "emit"
|
|
130
|
+
},
|
|
123
131
|
{
|
|
124
132
|
event: "plugin-market/changed",
|
|
125
133
|
mode: "emit"
|
|
@@ -3,11 +3,12 @@ import type { Context } from '@deepseek-ai/cordis';
|
|
|
3
3
|
export type {} from '@deepseek-ai/dsh-client-product-analytics/remote';
|
|
4
4
|
import type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client';
|
|
5
5
|
export type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client';
|
|
6
|
-
export type { BundleInfo, BundleRowInfo, ChangeResult, IncompatiblePlugin, InspectOptions, InstallBundleOptions, InstallSpecKind, ManagementError, PackageResult, PluginChange, PluginEntryId, PluginInfo, PluginInspectProblem, PluginInstallCancellation, PluginInstallFailureKind, PluginInstallLogChunk, PluginInstallProgress, PluginInstallRequestId, PluginRegistries, PluginSpecInspection, ReadOnlyReason, Registry, RestartReason, } from '@deepseek-ai/dsh-plugin-manager/types';
|
|
6
|
+
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';
|
|
7
7
|
export type {} from '@deepseek-ai/dsh-plugin-manager/remote';
|
|
8
8
|
export type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/remote';
|
|
9
|
+
export type {} from '@deepseek-ai/dsh-client-ui-trajectory/remote';
|
|
9
10
|
export type {} from '@deepseek-ai/dsh-plugin-market/remote';
|
|
10
|
-
export type { MarketCompatibility, MarketIndexSummary, MarketInstallation, MarketInstallationStatus, MarketListingEntry, MarketListingVersion, MarketQuery, MarketSearchResult, MarketSort, } from '@deepseek-ai/dsh-plugin-market/types';
|
|
11
|
+
export type { MarketCompatibility, MarketIndexSummary, MarketInstallation, MarketInstallationStatus, MarketListingEntry, MarketListingVersion, MarketQuery, MarketSearchResult, MarketSort, PluginDetail, PluginDetailDocumentId, PluginDetailOrigin, } from '@deepseek-ai/dsh-plugin-market/types';
|
|
11
12
|
export type { PluginInventorySnapshot } from '@deepseek-ai/dsh-host-plugin-inventory/types';
|
|
12
13
|
export type {} from '@deepseek-ai/dsh-agent-preset-registry/remote';
|
|
13
14
|
export type {} from '@deepseek-ai/dsh-user-questions/remote';
|
|
@@ -11,6 +11,7 @@ import scheduleRemote from '@deepseek-ai/dsh-schedule/remote';
|
|
|
11
11
|
import llmRemote from '@deepseek-ai/dsh-llm/remote';
|
|
12
12
|
import dynamicRemote from '@deepseek-ai/dsh-cordis-host-runner/remote';
|
|
13
13
|
import pluginManagerRemote from '@deepseek-ai/dsh-plugin-manager/remote';
|
|
14
|
+
import toolResultsRemote from '@deepseek-ai/dsh-client-ui-trajectory/remote';
|
|
14
15
|
import pluginRegistryProbeRemote from '@deepseek-ai/dsh-client-ui-plugin-manager/remote';
|
|
15
16
|
import pluginMarketRemote from '@deepseek-ai/dsh-plugin-market/remote';
|
|
16
17
|
import pluginInventoryRemote from '@deepseek-ai/dsh-host-plugin-inventory/remote';
|
|
@@ -38,7 +39,7 @@ export async function apply(ctx) {
|
|
|
38
39
|
for (const contribution of [
|
|
39
40
|
productAnalyticsRemote, agentPresetsRemote, commandsRemote, settingsControllerRemote, accountRemote,
|
|
40
41
|
goalsRemote, llmRemote, dynamicRemote, scheduleRemote,
|
|
41
|
-
pluginInventoryRemote, pluginManagerRemote, pluginMarketRemote, pluginRegistryProbeRemote,
|
|
42
|
+
pluginInventoryRemote, pluginManagerRemote, pluginMarketRemote, pluginRegistryProbeRemote, toolResultsRemote,
|
|
42
43
|
messageFeedbackRemote, sessionFeedbackRemote,
|
|
43
44
|
fileUploadsRemote, sessionReferencesRemote,
|
|
44
45
|
permissionPresetsRemote, subagentsRemote, sessionRemote, jobRemote, workspaceRemote, workspaceFilesRemote, terminalRemote,
|
|
@@ -89,6 +89,9 @@ export declare const API_REMOTE_FORWARDED_EVENTS: readonly [{
|
|
|
89
89
|
}, {
|
|
90
90
|
readonly event: "llm/adapters-updated";
|
|
91
91
|
readonly mode: "emit";
|
|
92
|
+
}, {
|
|
93
|
+
readonly event: "llm/models-updated";
|
|
94
|
+
readonly mode: "emit";
|
|
92
95
|
}, {
|
|
93
96
|
readonly event: "permission-presets/catalog-changed";
|
|
94
97
|
readonly mode: "emit";
|
|
@@ -101,6 +104,9 @@ export declare const API_REMOTE_FORWARDED_EVENTS: readonly [{
|
|
|
101
104
|
}, {
|
|
102
105
|
readonly event: "plugin-manager/install-state";
|
|
103
106
|
readonly mode: "emit";
|
|
107
|
+
}, {
|
|
108
|
+
readonly event: "plugin-manager/update-state";
|
|
109
|
+
readonly mode: "emit";
|
|
104
110
|
}, {
|
|
105
111
|
readonly event: "plugin-market/changed";
|
|
106
112
|
readonly mode: "emit";
|
|
@@ -34,10 +34,12 @@ export const API_REMOTE_FORWARDED_EVENTS = [
|
|
|
34
34
|
{ event: 'cordis/inspect-query', mode: 'emit' },
|
|
35
35
|
{ event: 'cordis/inspect-query-resolved', mode: 'emit' },
|
|
36
36
|
{ event: 'llm/adapters-updated', mode: 'emit' },
|
|
37
|
+
{ event: 'llm/models-updated', mode: 'emit' },
|
|
37
38
|
{ event: 'permission-presets/catalog-changed', mode: 'emit' },
|
|
38
39
|
{ event: 'plugin-manager/changed', mode: 'emit' },
|
|
39
40
|
{ event: 'plugin-manager/install-log', mode: 'emit' },
|
|
40
41
|
{ event: 'plugin-manager/install-state', mode: 'emit' },
|
|
42
|
+
{ event: 'plugin-manager/update-state', mode: 'emit' },
|
|
41
43
|
{ event: 'plugin-market/changed', mode: 'emit' },
|
|
42
44
|
{ event: 'settings/document-updated', mode: 'emit' },
|
|
43
45
|
{ event: 'schedule/changed', mode: 'emit' },
|
package/locale/de.json
ADDED
package/locale/es.json
ADDED
package/locale/fr.json
ADDED
package/locale/ja.json
ADDED
package/locale/pt.json
ADDED
package/locale/ru.json
ADDED
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.
|
|
4
|
+
"version": "0.2.2-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -48,53 +48,54 @@
|
|
|
48
48
|
"lib/types/**/*.d.ts"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@deepseek-ai/dsh-deque": "0.2.
|
|
52
|
-
"@deepseek-ai/dsh-util-values": "0.2.
|
|
51
|
+
"@deepseek-ai/dsh-deque": "0.2.2-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-util-values": "0.2.2-alpha.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
56
|
-
"@deepseek-ai/dsh-scope": "0.2.
|
|
55
|
+
"@deepseek-ai/cordis": "~4.0.6-alpha.1",
|
|
56
|
+
"@deepseek-ai/dsh-scope": "0.2.2-alpha.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@deepseek-ai/dsh-agent": "0.2.
|
|
60
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.
|
|
61
|
-
"@deepseek-ai/dsh-api-gateway": "0.2.
|
|
62
|
-
"@deepseek-ai/dsh-api-job-controller": "0.2.
|
|
63
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.
|
|
64
|
-
"@deepseek-ai/dsh-api-settings-controller": "0.2.
|
|
65
|
-
"@deepseek-ai/dsh-api-workspace-controller": "0.2.
|
|
66
|
-
"@deepseek-ai/dsh-api-workspace-files": "0.2.
|
|
67
|
-
"@deepseek-ai/dsh-client-connection": "0.2.
|
|
68
|
-
"@deepseek-ai/dsh-client-file-upload": "0.2.
|
|
69
|
-
"@deepseek-ai/dsh-commands": "0.2.
|
|
70
|
-
"@deepseek-ai/dsh-cordis-host-runner": "0.2.
|
|
71
|
-
"@deepseek-ai/dsh-credentials": "0.2.
|
|
72
|
-
"@deepseek-ai/dsh-file-reference": "0.2.
|
|
73
|
-
"@deepseek-ai/dsh-goal": "0.2.
|
|
74
|
-
"@deepseek-ai/dsh-host-plugin-inventory": "0.2.
|
|
75
|
-
"@deepseek-ai/dsh-llm": "0.2.
|
|
76
|
-
"@deepseek-ai/dsh-message-feedback": "0.2.
|
|
77
|
-
"@deepseek-ai/dsh-permission-presets": "0.2.
|
|
78
|
-
"@deepseek-ai/dsh-schedule": "0.2.
|
|
79
|
-
"@deepseek-ai/dsh-scope": "0.2.
|
|
80
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
81
|
-
"@deepseek-ai/dsh-session-reference": "0.2.
|
|
82
|
-
"@deepseek-ai/dsh-settings": "0.2.
|
|
83
|
-
"@deepseek-ai/dsh-subagent": "0.2.
|
|
84
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.
|
|
85
|
-
"@deepseek-ai/dsh-user-approval": "0.2.
|
|
86
|
-
"@deepseek-ai/dsh-user-questions": "0.2.
|
|
87
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
59
|
+
"@deepseek-ai/dsh-agent": "0.2.2-alpha.2",
|
|
60
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-alpha.2",
|
|
61
|
+
"@deepseek-ai/dsh-api-gateway": "0.2.2-alpha.2",
|
|
62
|
+
"@deepseek-ai/dsh-api-job-controller": "0.2.2-alpha.2",
|
|
63
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-alpha.2",
|
|
64
|
+
"@deepseek-ai/dsh-api-settings-controller": "0.2.2-alpha.2",
|
|
65
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.2.2-alpha.2",
|
|
66
|
+
"@deepseek-ai/dsh-api-workspace-files": "0.2.2-alpha.2",
|
|
67
|
+
"@deepseek-ai/dsh-client-connection": "0.2.2-alpha.2",
|
|
68
|
+
"@deepseek-ai/dsh-client-file-upload": "0.2.2-alpha.2",
|
|
69
|
+
"@deepseek-ai/dsh-commands": "0.2.2-alpha.2",
|
|
70
|
+
"@deepseek-ai/dsh-cordis-host-runner": "0.2.2-alpha.2",
|
|
71
|
+
"@deepseek-ai/dsh-credentials": "0.2.2-alpha.2",
|
|
72
|
+
"@deepseek-ai/dsh-file-reference": "0.2.2-alpha.2",
|
|
73
|
+
"@deepseek-ai/dsh-goal": "0.2.2-alpha.2",
|
|
74
|
+
"@deepseek-ai/dsh-host-plugin-inventory": "0.2.2-alpha.2",
|
|
75
|
+
"@deepseek-ai/dsh-llm": "0.2.2-alpha.2",
|
|
76
|
+
"@deepseek-ai/dsh-message-feedback": "0.2.2-alpha.2",
|
|
77
|
+
"@deepseek-ai/dsh-permission-presets": "0.2.2-alpha.2",
|
|
78
|
+
"@deepseek-ai/dsh-schedule": "0.2.2-alpha.2",
|
|
79
|
+
"@deepseek-ai/dsh-scope": "0.2.2-alpha.2",
|
|
80
|
+
"@deepseek-ai/dsh-session": "0.2.2-alpha.2",
|
|
81
|
+
"@deepseek-ai/dsh-session-reference": "0.2.2-alpha.2",
|
|
82
|
+
"@deepseek-ai/dsh-settings": "0.2.2-alpha.2",
|
|
83
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-alpha.2",
|
|
84
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.2-alpha.2",
|
|
85
|
+
"@deepseek-ai/dsh-user-approval": "0.2.2-alpha.2",
|
|
86
|
+
"@deepseek-ai/dsh-user-questions": "0.2.2-alpha.2",
|
|
87
|
+
"@deepseek-ai/cordis": "~4.0.6-alpha.1",
|
|
88
88
|
"zod": "4.4.3",
|
|
89
|
-
"@deepseek-ai/dsh-command-feedback": "0.2.
|
|
90
|
-
"@deepseek-ai/dsh-api-terminal-controller": "0.2.
|
|
91
|
-
"@deepseek-ai/dsh-plugin-manager": "0.2.
|
|
92
|
-
"@deepseek-ai/dsh-plugin-market": "0.2.
|
|
93
|
-
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.
|
|
94
|
-
"@deepseek-ai/dsh-office-to-pdf": "0.2.
|
|
95
|
-
"@deepseek-ai/dsh-api-account-controller": "0.2.
|
|
96
|
-
"@deepseek-ai/dsh-deepseek-account": "0.2.
|
|
97
|
-
"@deepseek-ai/dsh-client-product-analytics": "0.2.
|
|
89
|
+
"@deepseek-ai/dsh-command-feedback": "0.2.2-alpha.2",
|
|
90
|
+
"@deepseek-ai/dsh-api-terminal-controller": "0.2.2-alpha.2",
|
|
91
|
+
"@deepseek-ai/dsh-plugin-manager": "0.2.2-alpha.2",
|
|
92
|
+
"@deepseek-ai/dsh-plugin-market": "0.2.2-alpha.2",
|
|
93
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-alpha.2",
|
|
94
|
+
"@deepseek-ai/dsh-office-to-pdf": "0.2.2-alpha.2",
|
|
95
|
+
"@deepseek-ai/dsh-api-account-controller": "0.2.2-alpha.2",
|
|
96
|
+
"@deepseek-ai/dsh-deepseek-account": "0.2.2-alpha.2",
|
|
97
|
+
"@deepseek-ai/dsh-client-product-analytics": "0.2.2-alpha.2",
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-trajectory": "0.2.2-alpha.2"
|
|
98
99
|
},
|
|
99
100
|
"scripts": {
|
|
100
101
|
"bundle": "tsdown",
|