dsh-rayrun-bots 0.1.1-alpha → 0.1.1-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.md CHANGED
@@ -1,277 +1,133 @@
1
1
  # dsh-rayrun-bots
2
2
 
3
- The Rayrun Bot plugin package. Status: **client shell with a local roster and
4
- local sessions** — the bundle loads, the client half renders the v0.1 screens,
5
- and the host half answers health, persists the bot roster, and stores a durable
6
- per-bot session/transcript. With `dsh-rayrun-computer` 1.1+, a turn is posted as
7
- a detached `dsh.start` task, its task id is persisted, and `reply.md` is
8
- collected from the task result directory; 1.0.x falls back to the single-turn
9
- `rayrun_agent` tool, and without either surface `session.send` fails closed with
10
- `E_RUNTIME_UNAVAILABLE`. One-turn and detached live Rayrun smokes were verified
11
- on 2026-11-22; the detached smoke closed the page and restarted the local DSH
12
- while the task ran, and the restarted host collected `reply.md`. A second-turn
13
- smoke stopped the machine, restarted DSH, and the next turn answered from the
14
- persisted transcript. With 1.2+, a host-side `runtime.*` client is ready for
15
- the platform-supervised bot host. The opt-in `cloudHost` runtime adapter ships
16
- the host assets in this package, projects them with a SHA-256 manifest through
17
- the dependency's `rayrun_files` tool, and wires one multi-bot host process into
18
- `session.*`. It is preview and has passed a dev page E2E.
19
- Approval execution now follows ADR-019: the local host is the authority and
20
- executor for typed local actions, while the cloud side may only propose. The
21
- first allowlist is `rayrun.machine.start/stop/pause/resume`; an approved
22
- request gets a durable at-most-once execution claim, and denied, expired, or
23
- crashed requests never execute. A cloud bot emits a structured `rayrun-approval`
24
- block; the cloud host writes the proposal and the local `approvals.sync` bridge
25
- imports it. A live cloud proposal -> local approve -> real machine stop -> stopped
26
- result outbox -> restart flush, plus a start approval and next-turn outcome
27
- context, passed on 2026-11-23. Other action types and
28
- cloud-only credential actions are still pending. The conversation UI
29
- uses the host session and real approval cards for roster bots; sample bots,
30
- receipts and settings remain an in-memory preview. Real bots can create, pause
31
- and remove local routines; the local scheduler enqueues one ordinary turn when a
32
- routine is due. The page-level create/reload path was verified on 2026-11-21,
33
- and the approval card deny/fail-closed path on 2026-11-23. Repository-level
34
- status and verified combinations live in
35
- [docs/12-status.md](../../docs/12-status.md).
3
+ The Rayrun Bot plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness).
4
+ The product page is the repository README:
5
+ [English](https://github.com/RayrunOS/Rayrun-Bot/blob/main/README.md) ·
6
+ [简体中文](https://github.com/RayrunOS/Rayrun-Bot/blob/main/README.zh-CN.md).
7
+ This file is the same install and the same limits, for the npm package.
8
+
9
+ **Bots with a name, a body, and a home.** Each bot has a name, a job brief,
10
+ memory, and a schedule, and it lives on your own [Rayrun](https://rayrunos.com/)
11
+ cloud computer: a Linux machine you can watch and take over. It thinks with your
12
+ DeepSeek key. The computer is billed to your Rayrun account, and the model bill
13
+ is yours. There is no project-run account, relay, or control plane. You install
14
+ this package into DeepSeek Harness.
15
+
16
+ > **Pre-alpha.** v0.1 is not delivered, the three-minute first-run path has not
17
+ > been timed end to end, and this is not a production bot layer or a product for
18
+ > a general audience. What works, what is missing, and which combinations were
19
+ > actually checked is [docs/12-status.md](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/12-status.md).
20
+ > If this file and that doc disagree, the status doc wins. Summary below is as
21
+ > of 2026-11-25.
22
+
23
+ <p align="center">
24
+ <img src="https://github.com/RayrunOS/Rayrun-Bot/raw/main/docs/mockups/conversation.png" width="920" alt="Design preview of the Bots conversation">
25
+ </p>
26
+ <p align="center"><sub>Design preview, not a screenshot of today's build.</sub></p>
27
+
28
+ ## Who it is for
29
+
30
+ People who already run DeepSeek Harness and want a named bot on a Rayrun computer
31
+ they pay for, using their own DeepSeek key, with an approval stop on starting,
32
+ stopping, pausing, and resuming that computer.
33
+
34
+ It is for someone who can read the status doc and tolerate gaps. It is not a
35
+ hosted assistant, a bot marketplace, or a multi-tenant platform.
36
+
37
+ ## Install
38
+
39
+ You need [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) first.
40
+ This package declares `engines.dsh` `>=0.2.0-rc.2 <0.3.0`. The command below was
41
+ checked with DSH `0.2.2-rc.5`. Checked combinations are in the
42
+ [version matrix](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/version-matrix.md).
43
+
44
+ Install both plugins from the official npm registry, in one command, with the
45
+ versions pinned. Do not install this package by itself.
36
46
 
37
- ## What it does today
47
+ ```bash
48
+ npm_config_registry=https://registry.npmjs.org \
49
+ dsh plugin --profile web add \
50
+ dsh-rayrun-computer@1.2.1 dsh-rayrun-bots@0.1.1-alpha.1
51
+ ```
38
52
 
39
- - Host half: `GET /plugins/rayrun-bots?action=health` returns
40
- `{ ok: true, plugin: "rayrun-bots", version, ready: false, dependency, runtime }`.
41
- `dependency` reports `dsh-rayrun-computer` as `ok`, `missing` (`E_DEP_MISSING`),
42
- `incompatible` (`E_DEP_VERSION`), or `unknown` when no profile context exists.
43
- `runtime` reports the adapter name and whether its tool is currently
44
- registered. `POST` is same-origin gated: a browser `Origin` that does not
45
- match the request `Host` is refused with 403. No credentials are touched.
46
- - Host half: `bots.list`, `bots.get`, `bots.create`, `bots.update` and
47
- `bots.delete` persist validated `bot.json` files under
48
- `$DSH_HOME/state/rayrun-bot/bots/<id>/` (atomic writes, private modes, stable
49
- `E_BOT_*` errors). The roster is the user's intent store until the cloud
50
- runtime lands; the machine will become the runtime truth. Ids are derived
51
- from the name when the client does not send one, and collisions get a numeric
52
- suffix.
53
- - Host half: `routines.list/create/update/remove/sync` persist at most 32
54
- validated routines per bot in `routines.json` beside `bot.json`. A routine has
55
- a title, prompt, 1–10080 minute interval, enabled flag and next-run time. In
56
- the default non-cloudHost mode, the local scheduler checks every 30 seconds,
57
- enqueues at most one ordinary session turn per bot per tick, skips a busy bot,
58
- and does not backfill missed intervals. It claims the run
59
- (`lastRunAt`/next `nextAt`) before enqueueing, so a crash cannot replay it; a
60
- failed enqueue waits for the next interval instead. In cloudHost mode the
61
- local scheduler is disabled: the bridge mirrors `routines.json` and `bot.json`
62
- while the machine is Running, the cloud host claims schedule state and
63
- enqueues the task, expands it with the mirrored bot instructions and approval
64
- hint (the DSH session carries the conversation), and `routines.sync` imports
65
- routine results into local history. That cloud path has a fake E2E and a
66
- Rayrun dev/test live E2E (2026-11-24); production is still waiting for the
67
- platform deployment. A routine is a normal user turn and does not bypass
68
- approval. Because it uses the normal send path, a due routine may
69
- wake a stopped or paused machine and incur machine-hour charges; the interval
70
- and enabled switch are standing authorization, not per-run approval.
71
- - Host half: `session.send`, `session.history` and `session.status` persist a
72
- per-bot `session.json` and append-only `transcript.jsonl` beside `bot.json`.
73
- Sends are queued one turn at a time; a runtime failure writes a redacted
74
- system line and leaves the transcript intact; a host restart marks a running
75
- turn `interrupted` instead of replaying it. When the dependency's
76
- `rayrun_agent` tool is registered, a queued turn is sent to the existing cloud
77
- computer (the adapter refuses to auto-create one); a stopped or paused machine
78
- is woken by the dependency, which may incur machine-hour charges. Without the
79
- tool, `session.send` returns `E_RUNTIME_UNAVAILABLE` and writes no session.
80
- - Host half: `approvals.list/get/decide/propose/sync` operate on one request,
81
- decision and execution claim per approval under `bots/<id>/approvals/`.
82
- Requests carry an action id, nonce and canonical SHA-256 action hash; background
83
- requests expire after 30 minutes, chat requests wait; duplicate decisions are
84
- idempotent and a conflicting or replayed decision is refused. Every request,
85
- decision, refusal and execution is appended to `logs/audit.log` without the
86
- action payload. `propose` is host-side only and validates a typed action
87
- (`rayrun.machine.start`, `stop`, `pause`, `resume`). On approve, the local
88
- executor writes an `exec-<id>.json` claim and calls the dependency's Rayrun RPC
89
- with the token kept in the Harness vault; a failed execution is recorded and
90
- not retried. `sync` imports typed proposals from the cloud workspace with
91
- `rayrun_files`, validates them again and deduplicates by proposal id; decisions
92
- and execution results are written back to `approval-results/` (a stopped
93
- machine queues results locally for the next sync). The next cloud prompt also
94
- includes recent approval kind/target/state/execution/status, without payloads. Other action kinds are not
95
- built; the proposal bridge has fake-tool tests, and a live cloud-bot proposal
96
- E2E is still pending.
97
- - Client half: a `Bots` sidebar entry and the three-column shell from
98
- [docs/design/ui-design.md](../../docs/design/ui-design.md) — chat list, conversation,
99
- details (Activity / Library), new bot, the four-step setup wizard, and
100
- settings. When the host roster has entries, the chat list shows those bots
101
- instead of the sample list; creating a bot in the new-bot screen or the setup
102
- wizard writes through to the host and selects the saved bot. For real roster
103
- bots, messages and approval cards come from the host session and approval
104
- store; real bots also create, pause and remove routines through the host, and
105
- the five-second poll imports cloud routine results into the conversation.
106
- Sample bots, receipts, sample routines and settings still live in the page
107
- only. Deny /
108
- Allow once for real approvals goes through the host and can execute a typed
109
- local action; after a decision the real card offers Continue bot, which sends
110
- the next turn only when the user clicks it. Sample cards update in-memory state. The client
111
- activates Bots on load and covers the DSH
112
- sidebar and bottom bar; there is no in-product return to the Harness shell
113
- (ADR-017). The setup Rayrun step calls the cloud-computer plugin's
114
- same-origin RPC with a pasted token and shows the real balance/machine count.
115
- The computer step calls `overview` and adopts an existing machine, or calls
116
- `machine.create` with the plugin's defaults; a pasted DeepSeek key is passed as
117
- `modelKey` and becomes the machine's Rayrun credential, then the input is
118
- cleared. The step says the machine is billable, and the button is disabled
119
- until Rayrun is connected. When several machines exist, Bots prefers
120
- `rayrun-bot`, then a machine with a desktop URL, then the first. Creating a
121
- machine was run on a real Rayrun account from a local harness with test keys
122
- (the keys never entered the sandbox); the Bots page adoption and Continue
123
- paths were run in a local DSH page, but the page-level create button itself
124
- still needs a pass with no existing machine.
125
- `Open` / `Take over` on the computer card uses the same RPC to start or resume
126
- the machine, wait for `Running`, repair the desktop service, read `desktop_url` and the desktop password,
127
- then open the desktop in a new tab and show the password in a dismissible
128
- toast; both buttons currently run the same path. It fails closed with one
129
- actionable line when Rayrun is not connected, there is no machine, the popup
130
- is blocked, the machine does not start in time, or it has no desktop. The
131
- start/repair/desktop/password path was run locally against a real machine, and
132
- the Bots page Open flow was run in a local DSH page (desktop window and
133
- password toast). When the machine is running, `Stop` asks for inline
134
- confirmation, calls `machine.action` with `stop`, polls to Stopped, and never
135
- destroys; the page-level Open to Stop path was also run in the local page.
136
- The Settings Usage row reads the real balance, machine-hours and machine count
137
- through the same RPC; without a connection it says so instead of showing sample
138
- numbers. The details panel's computer and usage blocks use the same overview
139
- data: real machine name/status, balance and machine-hours when connected, and
140
- an explicit Not connected / connect prompt when not. The copy ships in Chinese
141
- and English, Chinese primary and following the DSH language; the Settings
142
- language row writes the choice back to DSH so it survives a reload. The rest
143
- stays in the page, and the client keeps neither the token nor a DeepSeek key.
53
+ Restart DSH after that. The Bots page loads when the page starts.
144
54
 
145
- Not built yet: approval actions beyond machine start/stop/pause/resume, cloud-only
146
- credential approvals, a Bots-page-level verified computer-creation success path,
147
- production validation of the cloud-host routine scheduler, cron/event triggers,
148
- a production cloud image, and the npm release path. The local routine store/
149
- scheduler, cloud routine bridge, cloud scheduler, failed-result history and
150
- result merge have plain-Node coverage, a fake end-to-end test, and a Rayrun
151
- dev/test live E2E (cloud run while local DSH was stopped); the detail-panel
152
- create, pause and remove paths passed a local DSH + Firefox smoke on 2026-11-23
153
- without a Rayrun token, but no local scheduled turn was waited on. Approved
154
- start/stop, denial/Continue, and the next-turn approval context were verified live
155
- on 2026-11-23; pause/resume is also live. See the repo-level
156
- [MVP plan](../../docs/plans/mvp-plan.md) and [client plan](../../docs/plans/client-plan.md).
55
+ Then, in Bots:
157
56
 
158
- ## DSH compatibility
57
+ 1. Connect Rayrun. The token stays in the Harness vault on the host. The page does not receive it.
58
+ 2. Adopt a computer you already have, or create one. Creating a computer is billed by Rayrun. The page can stop a machine. Only a confirmed computer update destroys the old computer, after the replacement is ready.
59
+ 3. If the computer does not already have a DeepSeek credential, the setup step can store your key as a Rayrun credential. The key is injected into the agent process. It does not go into the workspace or the chat.
60
+ 4. Create a bot and send a message. The sample bots shown before you create one are an in-memory preview. They do not run on a computer.
159
61
 
160
- `package.json` declares `engines.dsh: >=0.2.0-rc.2 <0.3.0`. DSH `0.2.2-rc.5`'s
161
- compatibility check reads that range: an out-of-range install is refused and the
162
- profile is restored, and an incompatible row is disabled at composition. Older
163
- runtimes that ignore `engines.dsh` still load the bundle. The range covers the verified runtimes: `0.2.0-rc.2` (the Rayrun
164
- cloud image), `0.2.2-rc.5`, and `0.2.1-rc.5` from the CI matrix. It is not a claim
165
- that every feature works on every version; see the repository's
166
- [version matrix](../../docs/version-matrix.md) for the combinations actually
167
- verified.
62
+ `dsh-rayrun-bots@0.1.1-alpha.1` is the npm `alpha` dist-tag. `latest` is still
63
+ `0.1.0-alpha.0`. There is no stable release. An untagged
64
+ `npm install dsh-rayrun-bots`, or `dsh plugin add` without these versions, does
65
+ not select `0.1.1-alpha.1`. Installing the bots package alone does not turn on
66
+ the computer plugin: both packages have to be in the same `dsh plugin add`.
67
+ Pin `dsh-rayrun-computer` at `1.2.1`. The `1.2.0` package on npm is an older
68
+ build. A mirror can lag behind the official registry, which is why the command
69
+ sets the registry.
168
70
 
169
- ## Install from a checkout
71
+ On 2026-11-25 that command was checked against the official registry: both
72
+ plugins loaded, and one turn sent to an existing stopped hosted machine came
73
+ back. That check used the preview on-machine host (off unless you enable it)
74
+ and a maintainer machine. The machine from that check is not a setup
75
+ requirement, and the check is not a promise for every account or image.
170
76
 
171
- Install this directory into the current DSH profile: **Plugins → Add plugin** and
172
- point it at `packages/dsh-rayrun-bots`, or use the `plugin_manager`
173
- `install_bundle` action with the package's absolute path. Refresh the DSH page;
174
- the client half loads when the page starts.
77
+ The on-machine host stays off until you enable `cloudHost`. The switch, and the
78
+ longer operator notes, are in
79
+ [docs/09-deployment.md](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/09-deployment.md).
175
80
 
176
- The cloud-computer dependency (`dsh-rayrun-computer`) is **not declared as a
177
- package dependency yet**: whether one bundle can declare it so one install brings
178
- both is spike S6. Until then a user installs both plugins separately; the host
179
- detects the installed version at runtime and reports it through health.
81
+ ## What you can do today
180
82
 
181
- Install the packed artifact instead of the checkout:
83
+ Still pre-alpha. This is the short version; evidence is in
84
+ [docs/12-status.md](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/12-status.md).
182
85
 
183
- ```bash
184
- npm pack ./packages/dsh-rayrun-bots --pack-destination /tmp
185
- dsh plugin --profile web add /tmp/dsh-rayrun-bots-0.1.1-alpha.tgz
186
- ```
86
+ - Load both plugins and open a Bots page: roster, conversation, details, new bot, setup, and settings, in Chinese and English.
87
+ - Keep bots you create: name, instructions, session, and transcript survive a page reload.
88
+ - Send a turn to a Rayrun computer you already have. A stopped or paused machine may be started for that turn, which spends machine time. Closing the page does not have to drop the turn.
89
+ - Open the computer's desktop, and stop the machine. Stop does not destroy it; only a confirmed computer update removes the old computer, after the replacement is ready.
90
+ - Approve or deny start, stop, pause, and resume. Allow once runs that action from your local host. Deny, expiry, or an unknown result does not run it.
91
+ - Create, pause, and remove an interval routine. A routine is an ordinary turn. Turning one on can wake a machine and spend money on later runs. Cron and event triggers are not built.
92
+ - Optionally run a preview host on the computer, one process shared by your bots. With it on, a routine can run while local DSH is stopped. It is off by default. The hosted check used a machine image new enough for Rayrun runtimes (`dsh-bot@1`). Older official images can reject the runtime with `guestd_outdated`.
187
93
 
188
- `test/package-contents.mjs` checks the tarball with `npm pack --dry-run`: the
189
- host half, client half, locale, bundle patch, `lib/*.js`, icon, README and
190
- LICENSE must ship; tests, docs, tools and environment files must not.
94
+ ## What it does not do
191
95
 
192
- ## Checks
96
+ - It does not deliver v0.1, and the three-minute first-run path has not been timed end to end. A clean-install browser turn and the start/stop/pause/resume approval cards have been checked on a maintainer machine; that is not a promise for every account.
97
+ - It does not publish a stable release. `latest` remains the older alpha.
98
+ - It does not host the bot for you, meter you, or hold your accounts. There is no project relay in the middle.
99
+ - It does not approve actions other than machine start, stop, pause, and resume. Credential actions on the computer are not covered. The agent on the machine is not an approval sandbox, and a bot is not a security boundary: your bots share one computer.
100
+ - It does not offer IM channels, a per-bot spend report, or cron and event triggers.
193
101
 
194
- No build step, no runtime dependencies. Plain ESM, Node 24+.
102
+ ## How the pieces fit
195
103
 
196
- ```bash
197
- node --check index.js
198
- node --check client.js
199
- node test/manifest-check.mjs
200
- node test/locale-audit.mjs
201
- node test/rpc-contract.mjs
202
- node test/client-contract.mjs
203
- node test/bot-schema.mjs
204
- node test/bot-store.mjs
205
- node test/session-runtime.mjs
206
- node test/rayrun-runtime.mjs
207
- node test/rayrun-detached-runtime.mjs
208
- node test/runtime-rpc.mjs
209
- node test/cloud-host-runtime.mjs
210
- node test/host-projection.mjs
211
- node test/cloud-host.mjs
212
- node test/cloud-host-routines.mjs
213
- node test/cloud-host-dsh-agent.mjs
214
- node test/cloud-routine-bridge.mjs
215
- node test/cloud-routine-e2e.mjs
216
- node test/bot-workspace.mjs
217
- node test/dependency.mjs
218
- node test/approvals.mjs
219
- node test/approval-executor.mjs
220
- node test/cloud-approval-bridge.mjs
221
- node test/cloud-host-proposal.mjs
222
- node test/routines.mjs
223
- node test/routine-results.mjs
224
- node test/package-contents.mjs
104
+ ```
105
+ you ── chat / approve ──▶ DSH (your desk)
106
+ │ bot layer
107
+ ▼
108
+ Rayrun API
109
+ ▼
110
+ your Rayrun cloud computer (one per person, shared by your bots)
111
+ ├─ workspace, browser, desktop
112
+ └─ model calls ──▶ DeepSeek (your key, injected into the agent process)
225
113
  ```
226
114
 
227
- The same commands run in the repository's checks-only CI workflow on push and
228
- pull requests, on Node 24 and 26: [`.github/workflows/checks.yml`](../../.github/workflows/checks.yml).
229
- CI also installs this package into a throwaway DSH profile and composes its
230
- config against DSH `0.2.1-rc.5` and `0.2.2-rc.5`; it does not start the web app,
231
- test the cloud-computer plugin, or make Rayrun calls. Live integration tests
232
- need real Rayrun credentials and never run in CI.
115
+ You pay Rayrun for the computer and DeepSeek for the model. This project does
116
+ not sit on either bill. The license for the code is MIT.
233
117
 
234
- ## Layout
118
+ One computer per person is the design: cheaper, and the bots share files the way
119
+ one person's tools do. A bot may work inside that computer; the machine actions
120
+ that are built stop for approval, and a timeout is a no.
235
121
 
236
- ```
237
- package.json # name, exports, dsh.bundle + dsh.client
238
- cordis.patch.yml # the bundle row (id rayrun-bots -> package dsh-rayrun-bots)
239
- index.js # host half: same-origin RPC, health + bots.* + session.* + approvals.*
240
- client.js # client half: v0.1 shell, roster read/write, preview conversation
241
- lib/approvals.js # approval request/decision protocol, TTL, action hash, audit
242
- lib/approval-actions.js # typed local action allowlist (machine start/stop/pause/resume)
243
- lib/approval-executor.js # local at-most-once execution claim and audit
244
- lib/cloud-approval-bridge.js # import cloud proposals and write results
245
- lib/bots.js # persistent roster: list/get/create/update/delete
246
- lib/bot-schema.js # bot.json validation, defaults and creation
247
- lib/bot-workspace.js # per-bot local git checkout for detached tasks
248
- lib/dependency.js # dsh-rayrun-computer detection, version, detached/runtime gates
249
- lib/errors.js # stable error codes (shared with docs/plans/mvp-plan.md §4.3)
250
- lib/local-store.js # state-directory resolution and atomic JSON writes
251
- lib/rpc.js # JSON responses and request-body parsing
252
- lib/runtime.js # single-turn and detached runtime contracts
253
- lib/runtime-rpc.js # host-side runtime.* client (cloud bot host)
254
- lib/cloud-host-runtime.js # opt-in persistent host runtime over runtime.* + rayrun_files
255
- lib/host-projection.js # SHA-256 manifest and projection of cloud-host assets
256
- lib/routines.js # per-bot routine definitions and local schedule state
257
- lib/routine-scheduler.js # local due checks and ordinary session turns
258
- lib/routine-results.js # imported cloud routine results for history
259
- lib/cloud-routine-bridge.js # definitions upload and result import; never starts a machine
260
- cloud-host/host.mjs # cloud host entry point (projected to the machine)
261
- cloud-host/lib/host.mjs # queue/transcript/outbox/session id/DSH agent wiring
262
- cloud-host/lib/dsh-agent.mjs # headless DSH profile + --session-id runner
263
- cloud-host/lib/proposal.mjs # structured approval block parser/writer
264
- cloud-host/lib/routines.mjs # cloud routine definitions/state and due selection
265
- cloud-host/lib/prompt.mjs # full routine prompt from bot.json + cloud transcript
266
- cloud-host/bin/propose.mjs # typed approval proposal writer for the bot
267
- lib/rayrun-rpc.js # shared same-origin dependency RPC caller
268
- lib/rayrun-runtime.js # rayrun_agent-backed runtime adapter
269
- lib/rayrun-detached-runtime.js # dsh.start/status/result adapter
270
- lib/sessions.js # per-bot queue, transcript and detached polling
271
- locale/en.json # source copy
272
- locale/zh.json # mirror; keys must match
273
- icon.svg # plugin icon (Rayrun blue, monitor mark)
274
- test/ # plain-Node checks, no framework
275
- ```
122
+ ## Read next
123
+
124
+ | | |
125
+ | --- | --- |
126
+ | [Status](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/12-status.md) | What works, what is missing, and the checked combinations. This page defers to it. |
127
+ | [Install and run](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/09-deployment.md) | Operator notes, including how to turn on the preview host. |
128
+ | [Version matrix](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/version-matrix.md) | Combinations that were actually checked. |
129
+ | [Security](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/07-security.md) | What is protected, and what is not. |
130
+ | [FAQ](https://github.com/RayrunOS/Rayrun-Bot/blob/main/docs/faq.md) | Pricing, credentials, models, and limits. |
131
+ | [Repository README](https://github.com/RayrunOS/Rayrun-Bot/blob/main/README.md) | The same page, plus the Chinese mirror. |
276
132
 
277
133
  MIT © RayrunOS.