dsh-remote-local-plugin 0.8.5 → 0.8.6

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.md CHANGED
@@ -7,7 +7,7 @@ Remote development that appears as ordinary local sessions.
7
7
  This plugin targets the official **DSH Desktop** application. Tested/supported versions:
8
8
 
9
9
  - [DSH Desktop](https://github.com/deepseek-ai/deepseek-harness) [`0.2.1-rc.2`](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.1-rc.2)
10
- - Plugin [`0.8.5`](https://www.npmjs.com/package/dsh-remote-local-plugin)
10
+ - Plugin [`0.8.6`](https://www.npmjs.com/package/dsh-remote-local-plugin)
11
11
  - Remote DSH [`0.2.1-rc.2`](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.1-rc.2)
12
12
  - Remote [Node.js `22.19+`](https://nodejs.org/en/download) on Linux/macOS
13
13
 
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* dsh-remote-local-plugin@0.8.5 — bundled host entry */
1
+ /* dsh-remote-local-plugin@0.8.6 — bundled host entry */
2
2
 
3
3
  // src/index.ts
4
4
  import { credentialRef } from "@deepseek-ai/dsh-credentials";
@@ -3322,6 +3322,48 @@ if [ ! -x "$DSH_BIN" ]; then
3322
3322
  exit 24
3323
3323
  fi
3324
3324
 
3325
+ PROFILE_DIR="$DSH_HOME/profiles/$PROFILE"
3326
+ LEGACY_CHANGED=0
3327
+ if [ -f "$PROFILE_DIR/package.json" ]; then
3328
+ if node - "$PROFILE_DIR/package.json" <<'DSH_REMOTE_MIGRATE'
3329
+ const fs = require('node:fs')
3330
+ const file = process.argv[2]
3331
+ const raw = fs.readFileSync(file, 'utf8')
3332
+ const data = JSON.parse(raw)
3333
+ let changed = false
3334
+ if (data.dependencies !== undefined && Object.hasOwn(data.dependencies, 'dsh-remote-agent')) {
3335
+ delete data.dependencies['dsh-remote-agent']
3336
+ changed = true
3337
+ }
3338
+ const bundles = data.dsh?.profile?.bundles
3339
+ if (Array.isArray(bundles)) {
3340
+ const next = bundles.filter(name => name !== 'dsh-remote-agent')
3341
+ if (next.length !== bundles.length) {
3342
+ data.dsh.profile.bundles = next
3343
+ changed = true
3344
+ }
3345
+ }
3346
+ if (!changed) process.exit(1)
3347
+ fs.writeFileSync(file + '.legacy-backup', raw)
3348
+ fs.writeFileSync(file, JSON.stringify(data, null, 2) + '\\n')
3349
+ DSH_REMOTE_MIGRATE
3350
+ then
3351
+ LEGACY_CHANGED=1
3352
+ else
3353
+ MIGRATE_STATUS=$?
3354
+ if [ "$MIGRATE_STATUS" -ne 1 ]; then
3355
+ echo "dsh-remote: could not migrate the legacy remote-agent profile entry" >&2
3356
+ exit 26
3357
+ fi
3358
+ fi
3359
+ fi
3360
+ if [ "$LEGACY_CHANGED" -eq 1 ]; then
3361
+ if [ -f "$PROFILE_DIR/pnpm-lock.yaml" ]; then
3362
+ mv "$PROFILE_DIR/pnpm-lock.yaml" "$PROFILE_DIR/pnpm-lock.yaml.legacy-backup"
3363
+ fi
3364
+ echo "dsh-remote: removed the legacy dsh-remote-agent profile entry"
3365
+ fi
3366
+
3325
3367
  echo "dsh-remote: adding plugin to profile $PROFILE"
3326
3368
  mkdir -p "$AGENT_ARTIFACT_DIR"
3327
3369
  cp -f "$AGENT_TARBALL" "$AGENT_ARTIFACT"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-remote-local-plugin",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "DSH remote-development local plugin: host registry, SSH tunnels, remote workspace/session discovery, an authenticated Connection RPC surface, agent tools, and a Settings page.",
5
5
  "keywords": [
6
6
  "dsh",
@@ -1,114 +0,0 @@
1
- /**
2
- * RPC contract shared by the host handler and the browser Settings page.
3
- *
4
- * The channel rides DSH's authenticated Connection transport, so it works
5
- * through the web HTTP carrier and the desktop IPC carrier without a second
6
- * authentication scheme.
7
- *
8
- * @module dsh-remote-local/rpc/contract
9
- */
10
- import type { HostView } from '../hosts/types.ts';
11
- import type { HostInfo, RemoteSessionSummary, RemoteWorkspace, SessionSnapshot } from '@dsh-remote/protocol';
12
- /** Absolute Connection RPC channel. */
13
- export declare const RPC_CHANNEL = "/dsh-remote";
14
- /** Endpoint names. */
15
- export type RpcEndpoint = 'state' | 'target/validate' | 'host/add' | 'host/remove' | 'host/connect' | 'host/disconnect' | 'host/refresh' | 'host/workspaces' | 'host/sessions' | 'host/session' | 'host/web-url';
16
- /** Browser-safe state snapshot. */
17
- export interface RemoteHostsState {
18
- readonly protocolVersion: number;
19
- readonly hosts: readonly HostView[];
20
- }
21
- /** Result of parsing a destination. */
22
- export interface ValidatedTarget {
23
- readonly canonical: string;
24
- readonly host: string;
25
- readonly user: string | null;
26
- readonly port: number | null;
27
- }
28
- /** Result of listing workspaces. */
29
- export interface WorkspacesResult {
30
- readonly workspaces: readonly RemoteWorkspace[];
31
- }
32
- /** Result of listing sessions. */
33
- export interface SessionsResult {
34
- readonly sessions: readonly RemoteSessionSummary[];
35
- }
36
- /** Result of resolving the remote Web UI. */
37
- export interface WebUrlResult {
38
- readonly url: string;
39
- }
40
- /** Success/failure result used by the Connection RPC handler. */
41
- export type RpcResult<T> = {
42
- readonly ok: true;
43
- readonly value: T;
44
- } | {
45
- readonly ok: false;
46
- readonly error: {
47
- readonly code: string;
48
- readonly message: string;
49
- readonly details: Record<string, unknown>;
50
- };
51
- };
52
- /** Payloads accepted by each endpoint. */
53
- export interface RpcPayloads {
54
- state: undefined;
55
- 'target/validate': {
56
- sshTarget: string;
57
- };
58
- 'host/add': {
59
- sshTarget: string;
60
- label?: string;
61
- token?: string;
62
- remoteAgentPort?: number;
63
- autoConnect?: boolean;
64
- };
65
- 'host/remove': {
66
- hostId: string;
67
- };
68
- 'host/connect': {
69
- hostId: string;
70
- };
71
- 'host/disconnect': {
72
- hostId: string;
73
- };
74
- 'host/refresh': {
75
- hostId: string;
76
- };
77
- 'host/workspaces': {
78
- hostId: string;
79
- };
80
- 'host/sessions': {
81
- hostId: string;
82
- workspaceId?: string;
83
- };
84
- 'host/session': {
85
- hostId: string;
86
- sessionId: string;
87
- limit?: number;
88
- };
89
- 'host/web-url': {
90
- hostId: string;
91
- };
92
- }
93
- /** Values returned by each endpoint. */
94
- export interface RpcValues {
95
- state: RemoteHostsState;
96
- 'target/validate': ValidatedTarget;
97
- 'host/add': HostView;
98
- 'host/remove': {
99
- removed: true;
100
- };
101
- 'host/connect': HostView;
102
- 'host/disconnect': HostView;
103
- 'host/refresh': HostView;
104
- 'host/workspaces': WorkspacesResult;
105
- 'host/sessions': SessionsResult;
106
- 'host/session': SessionSnapshot;
107
- 'host/web-url': WebUrlResult;
108
- }
109
- /** Host capabilities advertised in the UI. */
110
- export declare const HOST_CAPABILITIES: readonly ["workspace.list", "session.list", "session.snapshot"];
111
- /** Informational type for the Settings page. */
112
- export interface HostSummary extends Pick<HostView, 'id' | 'label' | 'sshTarget' | 'phase'> {
113
- readonly hostInfo: HostInfo | null;
114
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Host-side RPC dispatch for the Settings page.
3
- *
4
- * @module dsh-remote-local/rpc/handler
5
- */
6
- import type { Context } from '@deepseek-ai/cordis';
7
- import type { RemoteHostsService } from '../service.ts';
8
- import { type RpcEndpoint, type RpcResult, type RpcValues } from './contract.ts';
9
- /** Register the channel; returns its asynchronous disposer. */
10
- export declare function registerHostRpc(ctx: Context, service: RemoteHostsService): () => Promise<void>;
11
- /** Narrow a result for callers that want a compiler-checked endpoint name. */
12
- export type HostRpcResult<K extends RpcEndpoint> = RpcResult<RpcValues[K]>;
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/client/index.tsx"],
4
- "sourcesContent": ["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { Context } from '@deepseek-ai/cordis'\nimport { ClientTerminals } from '@deepseek-ai/dsh-api-terminal-controller/client'\n\nexport const inject = ['remote', 'remote.terminal', 'connection']\nconst ROUTE = '/api/dsh-remote-terminal'\n\ninterface Handle extends AsyncIterable<unknown> {\n send(item: unknown): void\n end(): void\n dispose(): void\n}\n\nexport function apply(ctx: Context): void {\n const original = (ctx.remote as any).terminal\n const routed = route(original)\n new ClientTerminals(ctx as any, routed)\n}\n\nfunction route(original: any): any {\n const mirrored = new Map<string, Promise<boolean>>()\n const isMirror = (sessionId: string): Promise<boolean> => {\n let pending = mirrored.get(sessionId)\n if (pending === undefined) {\n pending = post({ action: 'context', sessionId })\n .then(value => (value as { mirrored?: boolean } | undefined)?.mirrored === true)\n .catch(() => false)\n mirrored.set(sessionId, pending)\n }\n return pending\n }\n const unary = (name: string) => async (...args: any[]) => {\n const sessionId = String(args[0])\n if (!await isMirror(sessionId)) return original[name](...args)\n const value = await post({ action: name, sessionId, ...payload(name, args) })\n return value === undefined ? original[name](...args) : { ok: true, value }\n }\n return {\n ...original,\n environment: unary('environment'),\n shells: unary('shells'),\n list: unary('list'),\n create: unary('create'),\n rename: unary('rename'),\n close: unary('close'),\n retain: (sessionId: string, id: string, signal: AbortSignal) => {\n const local = original.retain(sessionId, id, signal)\n return (async function* () {\n if (await isMirror(sessionId)) {\n yield { type: 'retained' }\n return\n }\n yield* local\n })()\n },\n attach: (sessionId: string, id: string, signal: AbortSignal) => new RoutedHandle(original, sessionId, id, signal, isMirror),\n }\n}\n\nfunction payload(name: string, args: any[]): Record<string, unknown> {\n if (name === 'create') {\n const request = args[1] ?? {}\n return { id: request.id, cols: request.cols, rows: request.rows, shellPath: request.shellPath }\n }\n if (name === 'rename') return { id: args[1], title: args[2] }\n if (name === 'close') return { id: args[1] }\n return {}\n}\n\nasync function post(payload: Record<string, unknown>): Promise<any> {\n const response = await fetch(ROUTE, {\n method: 'POST',\n credentials: 'same-origin',\n headers: { 'content-type': 'application/json' },\n body: JSON.stringify(payload),\n })\n if (!response.ok) return undefined\n const body = await response.json() as { ok?: boolean; value?: unknown; mirrored?: boolean }\n if (body.mirrored !== undefined) return body\n return body.ok === true ? body.value : undefined\n}\n\nclass RoutedHandle implements Handle {\n #original: any\n #sessionId: string\n #id: string\n #signal: AbortSignal\n #isMirror: (sessionId: string) => Promise<boolean>\n #handle: Handle | undefined\n #pending: unknown[] = []\n #controller = new AbortController()\n #opening: Promise<Handle> | undefined\n\n constructor(original: any, sessionId: string, id: string, signal: AbortSignal, isMirror: (sessionId: string) => Promise<boolean>) {\n this.#original = original\n this.#sessionId = sessionId\n this.#id = id\n this.#signal = signal\n this.#isMirror = isMirror\n signal.addEventListener('abort', () => this.#controller.abort(), { once: true })\n }\n\n async *[Symbol.asyncIterator](): AsyncGenerator<unknown> {\n const handle = await this.#open()\n yield* handle\n }\n\n send(item: unknown): void {\n if (this.#handle !== undefined) this.#handle.send(item)\n else this.#pending.push(item)\n }\n\n end(): void { this.#handle?.end() }\n\n dispose(): void {\n this.#controller.abort()\n this.#handle?.dispose()\n }\n\n async #open(): Promise<Handle> {\n if (this.#handle !== undefined) return this.#handle\n this.#opening ??= (async () => {\n const remote = await this.#isMirror(this.#sessionId)\n const handle: Handle = remote\n ? remoteHandle(this.#sessionId, this.#id, this.#controller.signal)\n : this.#original.attach(this.#sessionId, this.#id, this.#signal)\n this.#handle = handle\n for (const item of this.#pending.splice(0)) handle.send(item)\n return handle\n })()\n return this.#opening\n }\n}\n\nfunction remoteHandle(sessionId: string, id: string, signal: AbortSignal): Handle {\n let controller = new AbortController()\n const abort = (): void => controller.abort()\n signal.addEventListener('abort', abort, { once: true })\n return {\n async *[Symbol.asyncIterator]() {\n const response = await fetch(ROUTE, {\n method: 'POST',\n credentials: 'same-origin',\n headers: { 'content-type': 'application/json', accept: 'text/event-stream' },\n body: JSON.stringify({ action: 'attach', sessionId, id }),\n signal: controller.signal,\n })\n if (!response.ok || response.body === null) throw new Error('remote terminal attach failed')\n const reader = response.body.getReader()\n const decoder = new TextDecoder()\n let buffer = ''\n try {\n for (;;) {\n const { done, value } = await reader.read()\n buffer += decoder.decode(value, { stream: !done })\n let newline = buffer.indexOf('\\n')\n while (newline >= 0) {\n const line = buffer.slice(0, newline).replace(/\\r$/u, '')\n buffer = buffer.slice(newline + 1)\n if (line.startsWith('data: ')) {\n const parsed = JSON.parse(line.slice(6).trim())\n if (parsed.message !== undefined && parsed.type === undefined) throw new Error(parsed.message)\n yield parsed\n }\n newline = buffer.indexOf('\\n')\n }\n if (done) return\n }\n } finally {\n reader.releaseLock()\n }\n },\n send(item: unknown) {\n const input = item as { type?: string; data?: string; cols?: number; rows?: number; sequence?: number }\n void post(input.type === 'write'\n ? { action: 'input', sessionId, id, data: input.data ?? '', sequence: input.sequence ?? 0 }\n : { action: 'resize', sessionId, id, cols: input.cols ?? 80, rows: input.rows ?? 24, sequence: input.sequence ?? 0 })\n },\n end() {},\n dispose() { controller.abort() },\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,oBAAgC;AAEzB,IAAM,SAAS,CAAC,UAAU,mBAAmB,YAAY;AAChE,IAAM,QAAQ;AAQP,SAAS,MAAM,KAAoB;AACxC,QAAM,WAAY,IAAI,OAAe;AACrC,QAAM,SAAS,MAAM,QAAQ;AAC7B,MAAI,8BAAgB,KAAY,MAAM;AACxC;AAEA,SAAS,MAAM,UAAoB;AACjC,QAAM,WAAW,oBAAI,IAA8B;AACnD,QAAM,WAAW,CAAC,cAAwC;AACxD,QAAI,UAAU,SAAS,IAAI,SAAS;AACpC,QAAI,YAAY,QAAW;AACzB,gBAAU,KAAK,EAAE,QAAQ,WAAW,UAAU,CAAC,EAC5C,KAAK,WAAU,OAA8C,aAAa,IAAI,EAC9E,MAAM,MAAM,KAAK;AACpB,eAAS,IAAI,WAAW,OAAO;AAAA,IACjC;AACA,WAAO;AAAA,EACT;AACA,QAAM,QAAQ,CAAC,SAAiB,UAAU,SAAgB;AACxD,UAAM,YAAY,OAAO,KAAK,CAAC,CAAC;AAChC,QAAI,CAAC,MAAM,SAAS,SAAS,EAAG,QA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