dsh-remote-bridge 0.0.0-stage → 2.2.1

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 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="264" height="264" viewBox="0 0 41 41" shape-rendering="crispEdges"><path fill="#ffffff" d="M0 0h41v41H0z"/><path stroke="#000000" d="M4 4.5h7m1 0h1m2 0h1m3 0h3m3 0h1m1 0h1m2 0h7M4 5.5h1m5 0h1m3 0h3m4 0h1m1 0h1m2 0h1m3 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m3 0h2m1 0h1m1 0h1m4 0h5m1 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m1 0h2m2 0h1m1 0h2m1 0h2m1 0h1m2 0h1m2 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h4m1 0h2m3 0h3m2 0h1m2 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m1 0h1m3 0h1m1 0h4m1 0h1m4 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h7M12 11.5h1m5 0h5m2 0h4M4 12.5h1m3 0h1m1 0h4m7 0h1m1 0h3m3 0h5m2 0h1M4 13.5h1m6 0h1m3 0h1m1 0h4m6 0h1m1 0h1m3 0h3M4 14.5h2m4 0h6m3 0h1m1 0h1m2 0h2m1 0h1m2 0h1m2 0h1m1 0h1M4 15.5h1m2 0h2m3 0h1m1 0h3m1 0h1m2 0h5m1 0h1m1 0h1m5 0h2M5 16.5h1m1 0h1m2 0h1m1 0h1m2 0h1m1 0h3m2 0h7m1 0h1m1 0h2m1 0h2M4 17.5h1m6 0h1m1 0h5m2 0h1m2 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1M6 18.5h2m1 0h3m1 0h2m5 0h4m3 0h1m1 0h3m2 0h2M4 19.5h1m2 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ert:
4
+ - id: dsh-remote-bridge
5
+ name: dsh-remote-bridge
6
+ # DSH 0.2.x host services (see src/host/dsh-0.2-bridge.ts). The pre-0.2
7
+ # `apiProxy` facade is rebuilt from these; `@deepseek-ai/dsh-host-apiproxy`
8
+ # stopped shipping at 0.1.1-rc.2 and nothing provides `apiProxy` after it.
9
+ inject: [sessionController, workspaceController, workspaceRegistry, settingsController, credentialsController, agentPresets, llm, webServer, agents, commands]
10
+ config:
11
+ # 状态目录**不改名**:已装的机器上有既有数据库与回收站,换目录等于让用户
12
+ # 的授权根配置和回收站全部消失。改名只动「装的时候叫什么、bundle 叫什么」。
13
+ dataDir: !!js dshHomePath('dsh-workspace')
14
+ remoteHost: 0.0.0.0
15
+ port: 3090
16
+ maxUploadBytes: 20971520
@@ -0,0 +1,86 @@
1
+ asyncapi: 3.0.0
2
+ info:
3
+ title: DeepSeek Harness Mobile Events
4
+ version: 2.2.1
5
+ description: Live file and authorized DSH chat events. Reconnect clients must refresh REST state; unbounded replay is not provided.
6
+ servers:
7
+ local:
8
+ host: 127.0.0.1:3090
9
+ description: Default listener; the bind IP and port are configurable from the local DSH WebUI
10
+ protocol: ws
11
+ pathname: /api/v1/events
12
+ channels:
13
+ events:
14
+ address: /api/v1/events
15
+ messages:
16
+ workspaceEvent:
17
+ $ref: '#/components/messages/WorkspaceEvent'
18
+ operations:
19
+ receiveEvents:
20
+ action: receive
21
+ channel:
22
+ $ref: '#/channels/events'
23
+ summary: Receive authorized file and chat events after Bearer authentication during upgrade.
24
+ components:
25
+ messages:
26
+ WorkspaceEvent:
27
+ name: WorkspaceEvent
28
+ payload:
29
+ type: object
30
+ required: [id, type, time, data]
31
+ properties:
32
+ id: { type: string }
33
+ type:
34
+ type: string
35
+ examples: [file.changed, file.trashed, chat.message.delta, chat.message.committed, chat.session.status, chat.approval.requested, chat.approval.resolved, connection.ready]
36
+ time: { type: integer }
37
+ data:
38
+ oneOf:
39
+ - $ref: '#/components/schemas/ChatMessageDelta'
40
+ - $ref: '#/components/schemas/ChatMessageCommitted'
41
+ - $ref: '#/components/schemas/ChatApprovalRequested'
42
+ - $ref: '#/components/schemas/ChatApprovalResolved'
43
+ - type: object
44
+ additionalProperties: true
45
+ schemas:
46
+ ChatMessageDelta:
47
+ type: object
48
+ description: A stable token-level assistant update normalized from DSH assistant/chunk events.
49
+ required: [sessionId, eventType, turn, step, index, kind, text]
50
+ properties:
51
+ sessionId: { type: string }
52
+ eventType: { type: string, const: assistant/chunk }
53
+ seq: { type: integer }
54
+ turn: { type: integer }
55
+ step: { type: integer }
56
+ index: { type: integer }
57
+ kind: { type: string, enum: [text, reasoning] }
58
+ text: { type: string }
59
+ ChatMessageCommitted:
60
+ type: object
61
+ description: Signals that REST history contains a committed user or assistant message.
62
+ required: [sessionId, eventType, role]
63
+ properties:
64
+ sessionId: { type: string }
65
+ eventType: { type: string, enum: [user/message, assistant/message] }
66
+ seq: { type: integer }
67
+ role: { type: string, enum: [user, assistant] }
68
+ turn: { type: integer }
69
+ step: { type: integer }
70
+ ChatApprovalRequested:
71
+ type: object
72
+ description: Signals that clients should refresh the session pending-approval REST resource.
73
+ required: [sessionId, approvalId, toolName, risk]
74
+ properties:
75
+ sessionId: { type: string }
76
+ approvalId: { type: string }
77
+ toolName: { type: string }
78
+ risk: { type: string, enum: [standard, full-access] }
79
+ ChatApprovalResolved:
80
+ type: object
81
+ description: Signals that an approval was settled and clients should refresh session state.
82
+ required: [sessionId, approvalId]
83
+ properties:
84
+ sessionId: { type: string }
85
+ approvalId: { type: string }
86
+ outcome: { type: string, enum: [allowed-once, rejected, cancelled, unavailable] }