This repository was archived by the owner on Jun 10, 2026. It is now read-only.
feat: add workbench-server — mobile PWA for agentic coding#35
Closed
Blaise1030 wants to merge 1 commit into
Closed
feat: add workbench-server — mobile PWA for agentic coding#35Blaise1030 wants to merge 1 commit into
Blaise1030 wants to merge 1 commit into
Conversation
…d_yarn-b2fa241ef5
Comment on lines
+49
to
+54
| app.addHook("preHandler", async (request, reply) => { | ||
| const path = request.url.split("?")[0] ?? ""; | ||
| if (path.startsWith("/api/") || path === "/ws/terminal") { | ||
| await authPreHandler(request, reply); | ||
| } | ||
| }); |
| private async diffNewPathOnDisk(cwd: string, file: string): Promise<string> { | ||
| const abs = resolve(cwd, file); | ||
| try { | ||
| if (!statSync(abs).isFile()) return ""; |
| if (depth > maxDepth) return; | ||
| let entries: import("node:fs").Dirent[]; | ||
| try { | ||
| entries = readdirSync(dir, { withFileTypes: true }) as import("node:fs").Dirent[]; |
| this.walkDir(root, abs, depth + 1, maxDepth, out); | ||
| } else if (entry.isFile()) { | ||
| try { | ||
| const stat = statSync(abs); |
Blaise1030
commented
May 27, 2026
Comment on lines
+5
to
+16
| <option v-for="a in agents" :key="a" :value="a">{{ a }}</option> | ||
| </select> | ||
| <button class="launch-btn" :disabled="!prompt.trim() || loading" @click="onLaunch"> | ||
| <span v-if="loading">Starting…</span> | ||
| <span v-else>Run</span> | ||
| </button> | ||
| </div> | ||
| <textarea | ||
| v-model="prompt" | ||
| class="prompt-input" | ||
| placeholder="Describe what you want the agent to do…" | ||
| rows="4" |
Blaise1030
commented
May 27, 2026
Comment on lines
+62
to
+71
| border-bottom: 1px solid var(--border); | ||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| .launcher-row { | ||
| display: flex; | ||
| gap: 8px; | ||
| } | ||
|
|
||
| .agent-select { |
7c2f058 to
0bd027d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New standalone Node.js server package (apps/server) that enables
coding from a phone browser. Provides:
Server: Fastify v5 + @fastify/websocket + http-proxy
Client: Vue 3 + Vite + vite-plugin-pwa + TanStack Query + xterm.js
Run with: pnpm start:server