ds-harness-remote 0.5.4 → 0.5.5

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.
@@ -0,0 +1,263 @@
1
+ export declare const localeNamespace = "ds-harness-remote";
2
+ export declare const en: {
3
+ readonly terminalRemote: "Remote terminal";
4
+ readonly terminalRemoteHint: "Allow trusted Remote devices to run an interactive shell as this Host user. On by default; independent of Agent approvals. Toggling saves and applies immediately.";
5
+ readonly terminalRemoteUnavailable: "Remote terminal is unavailable. Enable Remote terminal in the Host Remote settings; the switch applies immediately.";
6
+ readonly previewPorts: "Remote preview ports";
7
+ readonly previewPortsHint: "Allow specific Host ports (1024–65535), separated by commas. Empty disables preview. HTTP, WebSocket and hot reload are supported.";
8
+ readonly developmentSave: "Save access settings";
9
+ readonly developmentSaved: "Remote preview ports saved. Changes apply immediately.";
10
+ readonly terminalSaved: "Remote terminal setting saved. Applies immediately.";
11
+ readonly previewOpen: "Preview service";
12
+ readonly previewPort: "Host port";
13
+ readonly previewLocalOnly: "Preview requires Desktop or a browser connected to Harness on this computer.";
14
+ readonly pluginTitle: "DeepSeek Remote";
15
+ readonly pluginDescription: "Connect once. Available anytime.";
16
+ readonly expandSettings: "Show settings: {name}";
17
+ readonly collapseSettings: "Hide settings: {name}";
18
+ readonly unsaved: "Unsaved";
19
+ readonly associated: "Authorized";
20
+ readonly authorizationComplete: "Authorization complete";
21
+ readonly loadingSettings: "Loading DeepSeek Remote settings…";
22
+ readonly mode: "Mode";
23
+ readonly pluginMode: "Plugin mode";
24
+ readonly host: "Host";
25
+ readonly client: "Client";
26
+ readonly authorization: "Authorization";
27
+ readonly account: "Account";
28
+ readonly hostRegistrationCode: "One-time device authorization code";
29
+ readonly ownedDeviceAuthorization: "Owned device";
30
+ readonly authorizedOn: "{role} is authorized on {serverUrl}.";
31
+ readonly readOnly: "This DSH profile does not provide writable user settings.";
32
+ readonly discard: "Discard";
33
+ readonly save: "Save";
34
+ readonly saving: "Saving…";
35
+ readonly signOut: "Sign out";
36
+ readonly signingOut: "Signing out…";
37
+ readonly hostName: "Host name";
38
+ readonly deviceId: "Device ID";
39
+ readonly serverUrl: "Server URL";
40
+ readonly serverUrlHint: "HTTPS origin used for account authorization and encrypted relay.";
41
+ readonly serverSaved: "Server address saved. Restart DSH to apply it.";
42
+ readonly codexRemote: "Codex Remote";
43
+ readonly codexRemoteHint: "Connect to CodeX projects on this Host.";
44
+ readonly codexSaved: "Codex Remote setting saved. Restart DSH to apply it.";
45
+ readonly cursorRemote: "Cursor ACP adapter (experimental)";
46
+ readonly cursorRemoteHint: "Enable the Cursor `agent acp` backend for the Agent ACP gateway. Requires local `agent login`. Restart DSH after changing this setting.";
47
+ readonly cursorSaved: "Cursor ACP adapter setting saved. Restart DSH to apply it.";
48
+ readonly authorizeFromRemote: "Sign in from the Remote entry in the sidebar, then return here to manage this device.";
49
+ readonly authorizationMethod: "Authorization method";
50
+ readonly accountPassword: "Account password";
51
+ readonly registrationCode: "Device authorization code";
52
+ readonly registrationCodeHint: "Generate it after signing in on the Server website. Use it once to connect this device.";
53
+ readonly accountHint: "The account must belong to the selected Server.";
54
+ readonly password: "Password";
55
+ readonly passwordHint: "Used only for this HTTPS authorization request and never saved.";
56
+ readonly modeSavedNeedsAuthorization: "Mode saved. Authorize {role} before connecting. Existing registrations were kept.";
57
+ readonly modeSavedReused: "Mode saved. Existing registration reused. Restart Harness to apply.";
58
+ readonly modeSavedOwnedRole: "Mode saved. This owned device was authorized automatically. Restart Harness to apply.";
59
+ readonly enterRegistrationCode: "Enter the device authorization code.";
60
+ readonly enterAccountPassword: "Enter the Server account and password.";
61
+ readonly associationSaved: "Associated. Restart Harness to apply.";
62
+ readonly signedOut: "Signed out. Restart Harness to disconnect this mode.";
63
+ readonly remoteRequestFailed: "Remote mode request failed.";
64
+ readonly remoteControlUnavailable: "Remote plugin control is still starting. Restart DSH if it stays unavailable.";
65
+ readonly switchTarget: "Switch Local / Remote Harness target";
66
+ readonly harnessTarget: "Harness target";
67
+ readonly close: "Close";
68
+ readonly refreshRemote: "Refresh remote hosts";
69
+ readonly refreshRemoteShort: "Refresh";
70
+ readonly local: "Local";
71
+ readonly remoteTarget: "Remote · {name}";
72
+ readonly thisMachineLocal: "This machine (Local)";
73
+ readonly currentDevice: "Current device";
74
+ readonly noRemoteHosts: "No authorized remote Host for this account.";
75
+ readonly online: "Online";
76
+ readonly offline: "Offline";
77
+ readonly thisMachineHost: "This machine as Remote Host";
78
+ readonly connected: "Connected";
79
+ readonly connectedAs: "Connected as {account}";
80
+ readonly connection: "Connection";
81
+ readonly checkingConnection: "Checking connection…";
82
+ readonly connecting: "Connecting";
83
+ readonly reconnecting: "Reconnecting";
84
+ readonly lastActive: "Last active: {time}";
85
+ readonly neverConnected: "No successful connection yet.";
86
+ readonly reconnect: "Reconnect";
87
+ readonly reconnectingAction: "Reconnecting…";
88
+ readonly reconnectStarted: "Reconnect requested.";
89
+ readonly connectionAuthorizationExpired: "Authorization expired. Sign out and authorize this Host again.";
90
+ readonly connectionReplaced: "Another instance is using this Host identity. Stop it or use a separate DSH_HOME before reconnecting.";
91
+ readonly connectionCredentialsBusy: "Credential refresh is locked. Stop other instances. After a crash, stop all instances before removing server-credentials.json.refresh-lock and authorizing again.";
92
+ readonly connectionDeviceRevoked: "This Host was revoked on the Server. Sign out and authorize it again.";
93
+ readonly connectionOwnershipRequired: "The Server no longer recognizes this Host as an owned device.";
94
+ readonly connectionRateLimited: "The Server is receiving too many requests. Automatic retry will continue.";
95
+ readonly connectionVersionMismatch: "The Plugin and Server protocol versions are incompatible.";
96
+ readonly connectionInvalidResponse: "The Server returned an invalid control message.";
97
+ readonly connectionReachability: "Cannot reach the Server. Check the network and Server address.";
98
+ readonly connectionUnexpected: "The connection stopped unexpectedly. Automatic retry will continue.";
99
+ readonly hostSignInHint: "Sign in to authorize this Host on the selected Server.";
100
+ readonly checkingHost: "Checking Host registration…";
101
+ readonly hostUnavailable: "Host unavailable: {error}";
102
+ readonly serverAccountEmail: "Server account email";
103
+ readonly serverAccountPassword: "Server account password";
104
+ readonly signInRegisterHost: "Sign in and register Host";
105
+ readonly signingIn: "Signing in…";
106
+ readonly useRegistrationCode: "Use connection code";
107
+ readonly registering: "Registering…";
108
+ readonly remoteEntry: "Remote";
109
+ readonly remoteTitle: "Open a remote workspace";
110
+ readonly remoteDescription: "Choose one of your Hosts, then select a working directory. The Harness interface stays on this device.";
111
+ readonly starProject: "Star us on GitHub — your support matters to this project";
112
+ readonly chooseHost: "Host";
113
+ readonly chooseDirectory: "Working directory";
114
+ readonly selectHostHint: "Select an online Host to browse its directories.";
115
+ readonly emptyDirectory: "This directory has no visible subdirectories.";
116
+ readonly openWorkspace: "Open workspace";
117
+ readonly openingWorkspace: "Opening…";
118
+ readonly loadingDirectory: "Loading directories…";
119
+ readonly remoteProgressCheckingHost: "Checking Host";
120
+ readonly remoteProgressCheckingHostDetail: "Finding the selected device and checking whether it is online.";
121
+ readonly remoteProgressAuthorizingPeer: "Verifying authorization";
122
+ readonly remoteProgressAuthorizingPeerDetail: "Confirming account membership and pinned Host identity.";
123
+ readonly remoteProgressOpeningChannel: "Opening encrypted channel";
124
+ readonly remoteProgressOpeningChannelDetail: "Trying LAN, P2P, TURN, then Relay if needed.";
125
+ readonly remoteProgressProbeLan: "Probing LAN";
126
+ readonly remoteProgressProbeLanDetail: "Checking whether the Host is reachable on the local network.";
127
+ readonly remoteProgressProbeP2p: "Probing P2P";
128
+ readonly remoteProgressProbeP2pDetail: "Checking direct internet candidates between this device and the Host.";
129
+ readonly remoteProgressProbeTurn: "Probing TURN";
130
+ readonly remoteProgressProbeTurnDetail: "Checking the TURN relay path for restricted networks.";
131
+ readonly remoteProgressProbeRelay: "Preparing Relay";
132
+ readonly remoteProgressProbeRelayDetail: "Preparing the encrypted Server Relay fallback if direct paths do not open.";
133
+ readonly remoteProgressTryingPrefix: "Trying ";
134
+ readonly remoteProgressUsingPrefix: "Using ";
135
+ readonly remoteProgressLoadingWorkspaces: "Loading workspaces";
136
+ readonly remoteProgressLoadingWorkspacesDetail: "Reading the remote Harness workspace list through the tunnel.";
137
+ readonly remoteProgressSwitchingWorkspace: "Switching interface";
138
+ readonly remoteProgressSwitchingWorkspaceDetail: "Handing the remote workspace to the local Harness UI.";
139
+ readonly remoteProgressReady: "Ready";
140
+ readonly remoteProgressReadyDetail: "The remote Host is connected and encrypted.";
141
+ readonly backToHosts: "Choose another Host";
142
+ readonly currentDirectory: "Selected directory";
143
+ readonly directoryTruncated: "Only part of this directory could be shown.";
144
+ readonly pluginVersion: "Plugin {version}";
145
+ readonly harnessVersion: "Harness {version}";
146
+ readonly existingWorkspaces: "Existing workspaces";
147
+ readonly remotePathPlaceholder: "/home/user/project";
148
+ readonly remotePathHint: "Enter an absolute directory path on the selected Host.";
149
+ readonly noRemoteWorkspaces: "No remote workspaces yet. Use + to add one.";
150
+ readonly activeRemote: "{name}";
151
+ readonly exitRemote: "Exit";
152
+ readonly addRemoteWorkspace: "Add remote workspace";
153
+ readonly addCodexWorkspace: "Add CodeX workspace";
154
+ readonly addCursorWorkspace: "Add Cursor workspace";
155
+ readonly addAntigravityWorkspace: "Add Antigravity workspace";
156
+ readonly noCodexWorkspaces: "No CodeX workspaces yet.";
157
+ readonly noCursorWorkspaces: "No Cursor workspaces yet. Add a project directory to start.";
158
+ readonly noAntigravityWorkspaces: "No Antigravity workspaces yet. Add a project directory to start.";
159
+ readonly cancelAddWorkspace: "Cancel";
160
+ readonly confirmAddWorkspace: "Add and open";
161
+ readonly showAllWorkspaces: "Show all DSH workspaces";
162
+ readonly showAllCodexWorkspaces: "Show all CodeX workspaces";
163
+ readonly showAllCursorWorkspaces: "Show all Cursor workspaces";
164
+ readonly showAllAntigravityWorkspaces: "Show all Antigravity workspaces";
165
+ readonly remoteModeLabel: "Remote mode · {name}";
166
+ readonly remoteNetworkP2p: "P2P";
167
+ readonly remoteNetworkTurn: "TURN";
168
+ readonly remoteNetworkRelay: "Relay";
169
+ readonly remoteNetworkLan: "LAN";
170
+ readonly remoteNetworkOffline: "Disconnected";
171
+ readonly remoteLinkEncrypted: "End-to-end encrypted";
172
+ readonly connectionRouteTitle: "Connection route";
173
+ readonly connectionRouteFrom: "From";
174
+ readonly connectionRouteVia: "Via";
175
+ readonly connectionRouteTo: "To";
176
+ readonly connectionRouteCurrentDevice: "This device";
177
+ readonly connectionRouteLan: "Local network";
178
+ readonly connectionRouteP2p: "Direct internet path";
179
+ readonly connectionRouteTurn: "TURN relay service";
180
+ readonly connectionRouteRelay: "Remote Server";
181
+ readonly connectionRouteHost: "Work computer running Harness";
182
+ readonly connectionRouteLanDetail: "Direct transfer over the local network";
183
+ readonly connectionRouteP2pDetail: "Direct transfer over the internet";
184
+ readonly connectionRouteTurnDetail: "Encrypted transfer through the TURN service";
185
+ readonly connectionRouteRelayDetail: "Encrypted transfer through the Remote Server";
186
+ readonly connectionRouteEncrypted: "Application data remains end-to-end encrypted along this route.";
187
+ readonly connectionDetailsConnection: "Connection";
188
+ readonly connectionDetailsWebRtc: "Network details · WebRTC / ICE";
189
+ readonly connectionId: "Connection ID";
190
+ readonly connectedAt: "Established";
191
+ readonly preferredTransports: "Attempt order";
192
+ readonly controlChannel: "Control channel";
193
+ readonly controlAddress: "Control address";
194
+ readonly controlStateConnecting: "Connecting";
195
+ readonly controlStateOpen: "Connected";
196
+ readonly controlStateClosing: "Closing";
197
+ readonly controlStateClosed: "Closed";
198
+ readonly peerState: "Peer connection";
199
+ readonly dataChannel: "DataChannel";
200
+ readonly localCandidate: "Local candidate";
201
+ readonly remoteCandidate: "Remote candidate";
202
+ readonly localAddress: "Local address";
203
+ readonly remoteAddress: "Remote address";
204
+ readonly networkProtocol: "Network protocol";
205
+ readonly relayProtocol: "TURN protocol";
206
+ readonly roundTripTime: "Round-trip time";
207
+ readonly availableBitrate: "Available outgoing bitrate";
208
+ readonly bytesSent: "WebRTC bytes sent";
209
+ readonly bytesReceived: "WebRTC bytes received";
210
+ readonly notProvided: "Not provided";
211
+ readonly candidateHost: "Local address · host";
212
+ readonly candidateSrflx: "Public address · srflx";
213
+ readonly candidatePrflx: "Peer address · prflx";
214
+ readonly candidateRelay: "TURN address · relay";
215
+ readonly openLocalWorkspaces: "Open local workspaces";
216
+ readonly clientSignInHint: "Sign in to this Server to list your remote Hosts.";
217
+ readonly signInClient: "DeepSeek Harness Remote";
218
+ readonly signInClientDescription: "Connect once. Available anytime.";
219
+ readonly startSignIn: "Start sign-in";
220
+ readonly allowControlCurrentDevice: "Allow control of this device";
221
+ readonly allowControlDevice: "Allow control of device";
222
+ readonly connectedClientCount: "{count} connected";
223
+ readonly checkAcp: "Check backend";
224
+ readonly checkingAcp: "Checking ACP…";
225
+ readonly acpAvailable: "ACP available";
226
+ readonly acpUnavailable: "ACP unavailable";
227
+ readonly agentBackends: "More Coding Agents";
228
+ readonly acpDocumentation: "Read the documentation.";
229
+ readonly acpHint: "Connect through ACP. ";
230
+ readonly acpCheckPassed: "Check passed";
231
+ readonly acpCheckFailed: "Check failed";
232
+ readonly addAcp: "Add ACP";
233
+ readonly acpName: "Service name";
234
+ readonly acpCommand: "Command";
235
+ readonly acpArguments: "Arguments";
236
+ readonly removeAcp: "Remove";
237
+ readonly currentConnectedDevices: "Currently connected devices";
238
+ readonly noConnectedClients: "No devices are currently connected to this Host.";
239
+ readonly unknownDevice: "Unknown device";
240
+ readonly exitRemoteAccount: "Sign out";
241
+ readonly githubLogin: "GitHub QR";
242
+ readonly zhihuLogin: "Zhihu QR";
243
+ readonly scanWithGitHub: "Scan to continue with GitHub";
244
+ readonly scanWithZhihu: "Scan to continue with Zhihu";
245
+ readonly openInBrowser: "Continue in browser";
246
+ readonly scanLoginHint: "Authorize on your phone. This window will continue automatically.";
247
+ readonly currentServiceAddress: "Current service address:";
248
+ readonly accountPasswordLogin: "Password";
249
+ readonly qrLoginExpired: "This QR code expired. Refresh it to continue.";
250
+ readonly refreshQrCode: "Refresh QR code";
251
+ readonly codexVirtualWorkspace: "CodeX virtual workspace";
252
+ readonly cursorVirtualWorkspace: "Cursor virtual workspace";
253
+ readonly antigravityVirtualWorkspace: "Antigravity virtual workspace";
254
+ readonly codexVirtualSessions: "Sessions";
255
+ };
256
+ export declare const zh: Record<keyof typeof en, string>;
257
+ export type LocaleKey = keyof typeof en;
258
+ export type Translate = (key: LocaleKey, params?: Record<string, string | number>) => string;
259
+ export interface LocalizedMessage {
260
+ key: LocaleKey;
261
+ params?: Record<string, string | number>;
262
+ }
263
+ //# sourceMappingURL=client-locale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-locale.d.ts","sourceRoot":"","sources":["../src/client-locale.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe,sBAAsB,CAAA;AAElD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8PL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CA8P9C,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,EAAE,CAAA;AACvC,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAA;AAC5F,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,SAAS,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAA;CACzC"}