drive-coding 0.17.0
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/LICENSE +21 -0
- package/README.he.md +98 -0
- package/README.md +97 -0
- package/dist/drive-coding.js +126981 -0
- package/frontend-dist/_app/env.js +1 -0
- package/frontend-dist/_app/immutable/assets/0.CU-P_407.css +1 -0
- package/frontend-dist/_app/immutable/assets/2.D9ALpOww.css +1 -0
- package/frontend-dist/_app/immutable/assets/3.E6ED7Syh.css +1 -0
- package/frontend-dist/_app/immutable/assets/5.YWA13FkN.css +1 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_AMS-Regular.BQhdFMY1.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_AMS-Regular.DMm9YOAa.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_AMS-Regular.DRggAlZN.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Bold.BEiXGLvX.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Regular.CTRA-rTL.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Bold.BsDP51OF.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Regular.CB_wures.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Regular.Dxdc4cR9.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Bold.Cx986IdX.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Bold.Jm3AIy58.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Bold.waoOVXN0.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-BoldItalic.SpSLRI95.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Italic.3WenGoN9.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Italic.BMLOBm91.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Italic.NWA7e6Wa.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Regular.B22Nviop.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Regular.Dr94JaBh.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Main-Regular.ypZvNtVU.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Math-BoldItalic.iY-2wyZ7.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Math-Italic.DA0__PXp.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Math-Italic.flOr_0UB.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Math-Italic.t53AETM-.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Bold.DbIhKOiC.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Italic.DN2j7dab.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Regular.CS6fqUqJ.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Script-Regular.C5JkGWo-.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Script-Regular.D3wIWfF6.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Script-Regular.D5yQViql.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size1-Regular.C195tn64.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size1-Regular.Dbsnue_I.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size1-Regular.mCD8mA8B.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size2-Regular.B7gKUWhC.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size2-Regular.Dy4dx90m.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size2-Regular.oD1tc_U0.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size3-Regular.CTq5MqoE.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size3-Regular.DgpXs0kz.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size4-Regular.BF-4gkZK.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size4-Regular.DWFBv043.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Typewriter-Regular.C0xS9mPB.woff +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2 +0 -0
- package/frontend-dist/_app/immutable/assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf +0 -0
- package/frontend-dist/_app/immutable/assets/LoadingModal.DNP0Snt_.css +1 -0
- package/frontend-dist/_app/immutable/assets/ort-wasm-simd-threaded.jsep.CyqnNavA.wasm +0 -0
- package/frontend-dist/_app/immutable/chunks/6wE5kWJZ.js +1 -0
- package/frontend-dist/_app/immutable/chunks/BQWUQCb9.js +1 -0
- package/frontend-dist/_app/immutable/chunks/Ba9FG7d8.js +1 -0
- package/frontend-dist/_app/immutable/chunks/BeCtfktE.js +292 -0
- package/frontend-dist/_app/immutable/chunks/Bg0A44SF.js +1 -0
- package/frontend-dist/_app/immutable/chunks/CKhUHIER.js +1 -0
- package/frontend-dist/_app/immutable/chunks/CeZBaqrV.js +1 -0
- package/frontend-dist/_app/immutable/chunks/CisdKsFD.js +1 -0
- package/frontend-dist/_app/immutable/chunks/CqwDxRdj.js +1 -0
- package/frontend-dist/_app/immutable/chunks/CuPEg3Gz.js +2 -0
- package/frontend-dist/_app/immutable/chunks/CuT6ZSeQ.js +1 -0
- package/frontend-dist/_app/immutable/chunks/DgOhoED9.js +1 -0
- package/frontend-dist/_app/immutable/chunks/DvwKyUJ9.js +1 -0
- package/frontend-dist/_app/immutable/chunks/JqqgS7yq.js +1 -0
- package/frontend-dist/_app/immutable/chunks/LL0hSDod.js +1 -0
- package/frontend-dist/_app/immutable/chunks/LNR4j0nK.js +7 -0
- package/frontend-dist/_app/immutable/chunks/Oe6tjNLB.js +1 -0
- package/frontend-dist/_app/immutable/chunks/SrseV9LB.js +109 -0
- package/frontend-dist/_app/immutable/chunks/cseHWQnP.js +2 -0
- package/frontend-dist/_app/immutable/chunks/iM4ae5dg.js +1 -0
- package/frontend-dist/_app/immutable/entry/app.Dtr_WULu.js +2 -0
- package/frontend-dist/_app/immutable/entry/start.DNvi4k83.js +1 -0
- package/frontend-dist/_app/immutable/nodes/0.D_beALrd.js +423 -0
- package/frontend-dist/_app/immutable/nodes/1.BDPrJE0T.js +1 -0
- package/frontend-dist/_app/immutable/nodes/2.CFtWC6Ki.js +1 -0
- package/frontend-dist/_app/immutable/nodes/3.D_3DlZlE.js +9 -0
- package/frontend-dist/_app/immutable/nodes/4.xmsDSvqR.js +4 -0
- package/frontend-dist/_app/immutable/nodes/5.CihE_QrF.js +2881 -0
- package/frontend-dist/_app/version.json +1 -0
- package/frontend-dist/icons/apple-touch-icon.png +0 -0
- package/frontend-dist/icons/favicon-64.png +0 -0
- package/frontend-dist/icons/icon-180.png +0 -0
- package/frontend-dist/icons/icon-192.png +0 -0
- package/frontend-dist/icons/icon-512-maskable.png +0 -0
- package/frontend-dist/icons/icon-512.png +0 -0
- package/frontend-dist/index.html +67 -0
- package/frontend-dist/manifest.webmanifest +17 -0
- package/frontend-dist/wake-word/models/alexa_v0.1.onnx +0 -0
- package/frontend-dist/wake-word/models/embedding_model.onnx +0 -0
- package/frontend-dist/wake-word/models/hey_jarvis_v0.1.onnx +0 -0
- package/frontend-dist/wake-word/models/hey_mycroft_v0.1.onnx +0 -0
- package/frontend-dist/wake-word/models/hey_rhasspy_v0.1.onnx +0 -0
- package/frontend-dist/wake-word/models/melspectrogram.onnx +0 -0
- package/frontend-dist/wake-word/models/silero_vad.onnx +0 -0
- package/package.json +42 -0
- package/plugins/README.md +47 -0
- package/plugins/prompt-injector.ts +83 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 MusiCode1
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.he.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<div dir="rtl">
|
|
2
|
+
|
|
3
|
+
# drive-coding
|
|
4
|
+
|
|
5
|
+
[English](./README.md) · **עברית**
|
|
6
|
+
|
|
7
|
+
עוזר קוד מבוסס-AI — פקודה אחת מרימה את שרת ה-backend ומגישה את ממשק הווב
|
|
8
|
+
מאותו origin.
|
|
9
|
+
|
|
10
|
+
## התחלה מהירה
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
bunx drive-coding
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
הפקודה מרימה את השרת על **http://localhost:4000** ומגישה את ממשק הווב מאותו
|
|
17
|
+
origin. פתחו את ה-URL שמודפס בדפדפן.
|
|
18
|
+
|
|
19
|
+
> **דורש [Bun](https://bun.sh).** ה-binary רץ תחת Bun (`#!/usr/bin/env bun`).
|
|
20
|
+
> התקנת Bun: `curl -fsSL https://bun.sh/install | bash`.
|
|
21
|
+
|
|
22
|
+
להתקנה חד-פעמית והרצה חוזרת:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
bun add -g drive-coding
|
|
26
|
+
drive-coding
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## דרישות
|
|
30
|
+
|
|
31
|
+
- **Bun** ≥ 1.3 — סביבת הריצה.
|
|
32
|
+
- **CLI של agent** לסשני קוד בפועל. כברירת מחדל `drive-coding` מחפש את
|
|
33
|
+
[`opencode`](https://opencode.ai) ב-`PATH`. השרת עולה גם בלעדיו (תופיע אזהרה) —
|
|
34
|
+
נוח לעיון בממשק — אבל סשני agent דורשים agent זמין.
|
|
35
|
+
|
|
36
|
+
## הגדרה
|
|
37
|
+
|
|
38
|
+
ניתן להגדיר דרך **flags של CLI** או **משתני סביבה**.
|
|
39
|
+
Flags גוברים על משתני סביבה; משתני סביבה גוברים על ברירות המחדל.
|
|
40
|
+
|
|
41
|
+
### CLI flags
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
drive-coding [options]
|
|
45
|
+
|
|
46
|
+
-p, --port <n> Port to listen on (env: PORT, default: 4000)
|
|
47
|
+
--opencode-bin <bin> Agent binary to look for (env: OPENCODE_BIN, default: opencode)
|
|
48
|
+
--fe-static-dir <dir> Override served web-UI dir (env: FE_STATIC_DIR)
|
|
49
|
+
--cors-origins <list> Comma-separated CORS origins (env: CORS_ORIGINS)
|
|
50
|
+
-h, --help Show this help and exit
|
|
51
|
+
-V, --version Show version and exit
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
drive-coding --port 4100
|
|
56
|
+
drive-coding --opencode-bin /opt/opencode/bin/opencode
|
|
57
|
+
drive-coding --help
|
|
58
|
+
drive-coding --version
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### משתני סביבה
|
|
62
|
+
|
|
63
|
+
| משתנה | מה | ברירת מחדל |
|
|
64
|
+
|-------|-----|------------|
|
|
65
|
+
| `PORT` | הפורט שעליו השרת מאזין | `4000` |
|
|
66
|
+
| `OPENCODE_BIN` | נתיב/שם ה-agent binary לחיפוש | `opencode` |
|
|
67
|
+
| `FE_STATIC_DIR` | override לתיקיית ממשק הווב (נדיר) | ה-`frontend-dist` המבונדל |
|
|
68
|
+
| `CORS_ORIGINS` | רשימת origins מופרדים בפסיקים לאפשר | אותו origin בלבד |
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
PORT=4100 drive-coding # פורט מותאם (משתנה סביבה)
|
|
72
|
+
OPENCODE_BIN=/opt/opencode/bin/opencode drive-coding
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## מה יש בפנים
|
|
76
|
+
|
|
77
|
+
חבילה אחת self-contained:
|
|
78
|
+
|
|
79
|
+
- שרת ה-backend (Hono) — REST API + WebSocket, מבונדל לקובץ יחיד;
|
|
80
|
+
- ממשק הווב הבנוי מראש, מוגש מאותו origin (אין תהליך שני, אין CORS);
|
|
81
|
+
- ה-plugin `prompt-injector`, נטען ע"י תהליך ה-agent ב-runtime.
|
|
82
|
+
|
|
83
|
+
בלי monorepo, בלי workspace, בלי build step מצדכם — הכל נשלח בחבילה.
|
|
84
|
+
|
|
85
|
+
## פתרון תקלות
|
|
86
|
+
|
|
87
|
+
| תופעה | סיבה / פתרון |
|
|
88
|
+
|-------|--------------|
|
|
89
|
+
| `Warning: agent binary "opencode" not found in PATH` | התקינו opencode, או הגדירו `OPENCODE_BIN` ל-agent שלכם. השרת עולה בכל מקרה. |
|
|
90
|
+
| `command not found: bunx` | התקינו Bun (`curl -fsSL https://bun.sh/install \| bash`), ואז הפעילו מחדש את ה-shell. |
|
|
91
|
+
| הפורט תפוס | הגדירו `PORT` לפורט פנוי, למשל `PORT=4100 drive-coding`. |
|
|
92
|
+
| הדף ריק / 404 על `/` | כנראה הגדרתם `FE_STATIC_DIR` לנתיב ריק או שגוי — בטלו אותו כדי להשתמש בממשק המבונדל. |
|
|
93
|
+
|
|
94
|
+
## רישיון
|
|
95
|
+
|
|
96
|
+
MIT
|
|
97
|
+
|
|
98
|
+
</div>
|
package/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# drive-coding
|
|
2
|
+
|
|
3
|
+
**English** · [עברית](./README.he.md)
|
|
4
|
+
|
|
5
|
+
AI-powered coding assistant — a single command launches the backend server and
|
|
6
|
+
serves the web UI from one origin.
|
|
7
|
+
|
|
8
|
+
## Quick start
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
bunx drive-coding
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
This starts the server on **http://localhost:4000** and serves the web UI from
|
|
15
|
+
the same origin. Open the printed URL in your browser.
|
|
16
|
+
|
|
17
|
+
> **Requires [Bun](https://bun.sh).** The binary runs under Bun
|
|
18
|
+
> (`#!/usr/bin/env bun`). Install Bun with `curl -fsSL https://bun.sh/install | bash`.
|
|
19
|
+
|
|
20
|
+
To install once and run repeatedly:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
bun add -g drive-coding
|
|
24
|
+
drive-coding
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Requirements
|
|
28
|
+
|
|
29
|
+
- **Bun** ≥ 1.3 — the runtime.
|
|
30
|
+
- **An AI agent CLI** for actual coding sessions. By default `drive-coding` looks
|
|
31
|
+
for [`opencode`](https://opencode.ai) on your `PATH`. The server still starts
|
|
32
|
+
without it (you'll see a warning) — handy for browsing the UI — but agent
|
|
33
|
+
sessions need a reachable agent.
|
|
34
|
+
|
|
35
|
+
## Configuration
|
|
36
|
+
|
|
37
|
+
Configuration can be passed as **CLI flags** or **environment variables**.
|
|
38
|
+
Flags take precedence over environment variables; environment variables take
|
|
39
|
+
precedence over defaults.
|
|
40
|
+
|
|
41
|
+
### CLI flags
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
drive-coding [options]
|
|
45
|
+
|
|
46
|
+
-p, --port <n> Port to listen on (env: PORT, default: 4000)
|
|
47
|
+
--opencode-bin <bin> Agent binary to look for (env: OPENCODE_BIN, default: opencode)
|
|
48
|
+
--fe-static-dir <dir> Override served web-UI dir (env: FE_STATIC_DIR)
|
|
49
|
+
--cors-origins <list> Comma-separated CORS origins (env: CORS_ORIGINS)
|
|
50
|
+
-h, --help Show this help and exit
|
|
51
|
+
-V, --version Show version and exit
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
drive-coding --port 4100
|
|
56
|
+
drive-coding --opencode-bin /opt/opencode/bin/opencode
|
|
57
|
+
drive-coding --help
|
|
58
|
+
drive-coding --version
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Environment variables
|
|
62
|
+
|
|
63
|
+
| Variable | What | Default |
|
|
64
|
+
|----------|------|---------|
|
|
65
|
+
| `PORT` | Port the server listens on | `4000` |
|
|
66
|
+
| `OPENCODE_BIN` | Path/name of the agent binary to look for | `opencode` |
|
|
67
|
+
| `FE_STATIC_DIR` | Override the served web-UI directory (rarely needed) | bundled `frontend-dist` |
|
|
68
|
+
| `CORS_ORIGINS` | Comma-separated list of allowed CORS origins | same origin only |
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
PORT=4100 drive-coding # custom port (env var)
|
|
72
|
+
OPENCODE_BIN=/opt/opencode/bin/opencode drive-coding
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## What's inside
|
|
76
|
+
|
|
77
|
+
A single self-contained package:
|
|
78
|
+
|
|
79
|
+
- the backend server (Hono) — REST API + WebSocket, bundled into one file;
|
|
80
|
+
- the prebuilt web UI, served from the same origin (no second process, no CORS);
|
|
81
|
+
- the `prompt-injector` plugin, loaded by the agent process at runtime.
|
|
82
|
+
|
|
83
|
+
No monorepo, no workspace, no build step on your side — everything ships in the
|
|
84
|
+
package.
|
|
85
|
+
|
|
86
|
+
## Troubleshooting
|
|
87
|
+
|
|
88
|
+
| Symptom | Cause / fix |
|
|
89
|
+
|---------|-------------|
|
|
90
|
+
| `Warning: agent binary "opencode" not found in PATH` | Install opencode, or set `OPENCODE_BIN` to your agent. The server still starts. |
|
|
91
|
+
| `command not found: bunx` | Install Bun (`curl -fsSL https://bun.sh/install \| bash`), then restart your shell. |
|
|
92
|
+
| Port already in use | Set `PORT` to a free port, e.g. `PORT=4100 drive-coding`. |
|
|
93
|
+
| The page is blank / 404 on `/` | You likely set `FE_STATIC_DIR` to an empty or wrong path — unset it to use the bundled UI. |
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
MIT
|