Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
580d5b6
spike(bun): Bun runtime/bundler feasibility probes and report
andrebrait Oct 30, 2026
6d9da58
docs: Bun runtime migration spec and plan
andrebrait Oct 30, 2026
111d79e
build(bun): pin the Bun runtime and add its resolver
andrebrait Oct 30, 2026
84e1f95
test: run the suite under bun test
andrebrait Oct 30, 2026
82e7e0a
refactor(api): route handlers use Web Request and Response
andrebrait Oct 30, 2026
8622687
feat(client): React SPA entry built by Bun
andrebrait Oct 30, 2026
c0efa93
fix(client): pre-paint theme-color, awaited KaTeX CSS, favicon
andrebrait Oct 30, 2026
2ab8d28
fix(events): re-stat a watched file after a dropped fs.watch event
andrebrait Oct 30, 2026
c05e8e4
feat(server): serve omp-web from Bun instead of Next
andrebrait Oct 30, 2026
a62e62f
fix(server): gate the path each route matched; relative redirects; ga…
andrebrait Oct 30, 2026
46dbf07
fix: register signal exits first, back off a failing restart, pin rea…
andrebrait Oct 30, 2026
a548784
refactor(runtime): use bun:sqlite, Bun.Image and Bun's fetch proxy su…
andrebrait Oct 30, 2026
d25442b
fix(update): run the update worker on Node; Windows scripts start Bun
andrebrait Oct 30, 2026
97d03b9
fix(stt): keep the server-only STT config out of the client bundle
andrebrait Oct 30, 2026
142e5c6
ci: smoke-test the Bun server and the packed install
andrebrait Oct 30, 2026
e0ffcda
docs: document the Bun runtime
andrebrait Oct 30, 2026
904d414
docs: correct Bun module-graph and fs.watch notes
andrebrait Oct 30, 2026
c80bc33
chore: remove the Bun spike
andrebrait Oct 30, 2026
0fe7ee8
fix(security): honour X-Forwarded-Proto in the API origin check
andrebrait Oct 30, 2026
8bcad08
fix(server): lift Bun's idle timeout per request, after authentication
andrebrait Oct 30, 2026
e57bfb8
test(server): pin the 400 for a malformed or missing Host
andrebrait Oct 30, 2026
8a40378
test(server): pin route params, static precedence and the gated manifest
andrebrait Oct 30, 2026
b95dd29
fix(skills): time out the skills.sh search after 10 s
andrebrait Oct 30, 2026
da820ec
refactor(server): drop the gzip size floor that never applied
andrebrait Oct 30, 2026
b94a385
feat(server): Last-Modified and 304 for static files
andrebrait Oct 30, 2026
58a8a6c
ci: smoke a packed install with install scripts disabled
andrebrait Oct 30, 2026
41d0693
test: drop tests that cannot fail
andrebrait Oct 30, 2026
ab7a030
fix(proxy): leave /_bun/ public in dev only
andrebrait Oct 30, 2026
4e4f0f8
build: fail when the stylesheet cannot be moved before the inline scr…
andrebrait Oct 30, 2026
bd352d9
docs: replace stale Next.js comments
andrebrait Oct 30, 2026
fe77a41
fix(server): put Bun's idle timeout back once an API handler answers
andrebrait Oct 30, 2026
8951baf
fix(dev): fetch the dev page shell without HTTP_PROXY
andrebrait Oct 30, 2026
91ffb8d
fix(dev): put the stylesheet before the pre-paint scripts in dev too
andrebrait Oct 30, 2026
84034a0
fix(dev): forward SIGHUP to the dev server the parent re-ran
andrebrait Oct 30, 2026
17bcb97
fix(server): serve static files to GET and HEAD only, never the raw i…
andrebrait Oct 30, 2026
8140e6b
fix(server): never serve a symlink that leads out of dist/, public/ o…
andrebrait Oct 30, 2026
d2760d2
fix(server): send a weak ETag with static files and honour If-None-Match
andrebrait Oct 30, 2026
e51ad4d
fix(proxy): anchor the ungated file names; no app shell for an ungate…
andrebrait Oct 30, 2026
26eecc6
fix(server): redirect a trailing slash with a 308, as Next did
andrebrait Oct 30, 2026
eb994c4
fix(server): honour Accept-Encoding q-values and keep an existing Vary
andrebrait Oct 30, 2026
0075ae3
fix(manifest): read the icons from the package dir, not the working d…
andrebrait Oct 30, 2026
a13339f
fix(package): ship the font license texts with the fonts
andrebrait Oct 30, 2026
8f42e13
docs(changelog): restart a terminal ompweb once after this update; sk…
andrebrait Oct 30, 2026
168867a
test: drop the PowerShell source-text test; pin text/plain by prefix
andrebrait Oct 30, 2026
3a106fe
chore: drop Next leftovers and dead code from the Bun move
andrebrait Oct 30, 2026
0c72eba
fix(store): finalize SQLite statements on close so the file is released
andrebrait Oct 30, 2026
7ca31ce
test: fix the Windows-only failures in the launcher, signal and link …
andrebrait Oct 30, 2026
8e558ad
fix(server): fail with EADDRINUSE when another server holds the port
andrebrait Oct 30, 2026
438ce54
fix(server): put Bun's idle timeout back once a stream ends or a hand…
andrebrait Oct 30, 2026
1c03ba8
fix(server): never gzip /api/ answers, as Next did
andrebrait Oct 30, 2026
b4fcac6
docs: record the bun:sqlite close and reusePort cases
andrebrait Oct 30, 2026
a29a086
fix(build): keep every color-mix() override in the built CSS
andrebrait Oct 30, 2026
400aadd
fix: address Kilo review nits
andrebrait Oct 30, 2026
d8623d2
fix(fonts): metric-adjusted fallback faces, as next/font made
andrebrait Oct 30, 2026
7eee9cf
feat(build): preload the fonts the first paint uses, as Next did
andrebrait Oct 30, 2026
37dc9d7
Revert "feat(build): preload the fonts the first paint uses, as Next …
andrebrait Oct 30, 2026
9abb7f2
fix(client): paint the loading skeleton from the static HTML, as Next…
andrebrait Oct 30, 2026
a0c8579
fix(client): paint the sign-in form from the static HTML, as Next did
andrebrait Oct 30, 2026
44d63c0
refactor(host): move the ompweb host CLI into lib/hosts/host-cli.ts
andrebrait Oct 30, 2026
4f40961
refactor(launcher): share the password and bind checks and the produc…
andrebrait Oct 30, 2026
1300b1d
feat(binary): a compiled ompweb release with its static files beside it
andrebrait Oct 30, 2026
90753e8
feat(update): binary installs update by download, never through npm
andrebrait Oct 30, 2026
179f285
ci: build and attach the five binaries on release; smoke the linux-x6…
andrebrait Oct 30, 2026
0711115
docs: the single binary (README install and service units, AGENTS.md,…
andrebrait Oct 30, 2026
7af7239
fix(server): resolve each static directory's real path per request
andrebrait Oct 30, 2026
299a0e4
fix(launcher): reject a port that is not an integer from 0 to 65535
andrebrait Oct 30, 2026
9ba2c91
test(client): a password typed into the static sign-in form carries over
andrebrait Oct 30, 2026
f44c0d7
fix(update): offer omp's Update now only where the server can run it
andrebrait Oct 30, 2026
ed6f48d
fix(update): a binary install's update notice links the release page
andrebrait Oct 30, 2026
46c2709
test: check the update toast's strings in components/UpdateToast.tsx
andrebrait Oct 30, 2026
8048da3
fix(binary): ship the third-party licenses of what the release redist…
andrebrait Oct 30, 2026
8666ee2
ci: release baseline x64 binaries, build the client once, smoke the W…
andrebrait Oct 30, 2026
cd76dbe
test(smoke): check the session-edit extension the daemon hands omp
andrebrait Oct 31, 2026
c41a5e8
docs: color-mix() in older browsers, the untested throw path, license…
andrebrait Oct 31, 2026
6c1e2ff
ci: say why publish.yml names the -baseline x64 targets
andrebrait Oct 31, 2026
4afcfcd
fix(binary): list tailwindcss among the client's bundled packages
andrebrait Oct 31, 2026
2509e23
test: cover the update toast by rendering it, not by its source text
andrebrait Oct 31, 2026
31cde60
fix(update): resolve the package dir from OMP_WEB_PACKAGE_DIR or cwd,…
andrebrait Oct 31, 2026
45bcbad
fix(update): find the update worker in the package dir
andrebrait Oct 31, 2026
d13a64d
docs(readme): macOS Local Network permission for the binary's host da…
andrebrait Oct 31, 2026
a51025b
fix(security): treat X-Forwarded-Proto wss as https (Traefik sends it…
andrebrait Oct 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ jobs:
- run: npm ci
- run: npm test
- run: npm run build
- run: npm run smoke

# Bun cross-compiles all five from here (scripts/build-binary.ts), from the client built above:
# release/ompweb-<os>-<arch>.tar.gz, .zip for Windows. The x64 targets name -baseline (no AVX2 needed): in Bun 1.4.4
# that is the default x64 runtime too (the same bytes), and naming it keeps a later Bun from shipping a -modern one.
# They keep the plain ompweb-<os>-x64 names.
- name: Build the release binaries
run: |
for target in bun-linux-x64-baseline bun-linux-arm64 bun-darwin-x64-baseline bun-darwin-arm64 bun-windows-x64-baseline; do
npx bun scripts/build-binary.ts --target "$target"
done
- run: npm run smoke -- --binary release/ompweb-linux-x64/ompweb

- name: Create draft GitHub Release
env:
Expand All @@ -44,6 +56,12 @@ jobs:
gh release create "$TAG" --repo "$GITHUB_REPOSITORY" --verify-tag --title "$TAG" --notes-file release-notes.md --draft
fi

- name: Attach the binaries to the draft release
env:
GH_TOKEN: ${{ github.token }}
TAG: ${{ github.ref_name }}
run: gh release upload "$TAG" release/ompweb-*.tar.gz release/ompweb-*.zip --repo "$GITHUB_REPOSITORY" --clobber

- name: Publish to npm
run: |
PACKAGE_NAME="$(node -p 'require("./package.json").name')"
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/verify-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,46 @@ jobs:
- name: Verify production build
run: npm run build

- name: Smoke test
run: npm run smoke

# The release binary for this runner (the -baseline x64 build releases ship), from the client built above, with its
# own `ompweb host` daemon (scripts/build-binary.ts).
- name: Binary smoke test
shell: bash
run: |
if [ "$RUNNER_OS" = Windows ]; then
npx bun scripts/build-binary.ts --target bun-windows-x64-baseline
npm run smoke -- --binary release/ompweb-windows-x64/ompweb.exe
else
npx bun scripts/build-binary.ts --target bun-linux-x64-baseline
npm run smoke -- --binary release/ompweb-linux-x64/ompweb
fi

- name: Packed install smoke test
shell: bash
run: |
npm pack --ignore-scripts
npm install -g --prefix "$RUNNER_TEMP/ompweb-prefix" ./kahme247-ompweb-*.tgz
npm run smoke -- --package "$(npm root -g --prefix "$RUNNER_TEMP/ompweb-prefix")/@kahme247/ompweb"

# Bun's postinstall does not run here: the launcher must fall back to @oven/bun-<os>-<arch> (spec R1).
- name: Packed install smoke test (install scripts disabled)
shell: bash
run: |
npm install -g --ignore-scripts --prefix "$RUNNER_TEMP/ompweb-prefix-no-scripts" ./kahme247-ompweb-*.tgz
npm run smoke -- --package "$(npm root -g --prefix "$RUNNER_TEMP/ompweb-prefix-no-scripts")/@kahme247/ompweb"

- name: Parse Windows PowerShell scripts (Windows only)
if: runner.os == 'Windows'
shell: pwsh
run: |
foreach ($f in 'scripts/windows/omp-web-service.ps1', 'scripts/windows/omp-web-tray.ps1') {
$e = $null
[System.Management.Automation.Language.Parser]::ParseFile((Resolve-Path $f).Path, [ref]$null, [ref]$e) | Out-Null
if ($e) { $e; exit 1 }
}

- name: Verify Windows System Tray & Shortcuts (Windows only)
if: runner.os == 'Windows'
run: |
Expand Down
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
# testing
coverage/

# next.js
/.next/
/out/
# build output
/build
/dist
/release
.turbo/
.cache/

Expand All @@ -34,8 +33,6 @@ screenshots/
# debug
.logs/
*.log
/.next-dev.log
/.next-dev-error.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
Expand All @@ -50,7 +47,6 @@ yarn-error.log*

# typescript
*.tsbuildinfo
next-env.d.ts

# editor / IDE
.idea/
Expand Down
131 changes: 93 additions & 38 deletions AGENTS.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ All notable changes to **omp-web** (`@kahme247/ompweb`) are documented in this f

- **Run sessions on other machines from one ompweb.** Link a machine (for example a MacBook) with **Settings → Hosts → Add host**, then run `ompweb host login --url <server url>` (the token is read from stdin) and `ompweb host` there. The remote machine keeps its own `omp`, agent directory and credentials; ompweb routes. The sidebar groups sessions by host, the new-session screen has a host picker, and chat, history, notifications and resume work on every host. If the link drops, the run continues on the remote machine and the chat shows an offline banner until the host reconnects. Agents can pass `host` to `new_session` (it defaults to the agent's own host), which asks for confirmation on a remote host unless the host allows it; an agent on a remote host always asks before it starts or messages a session on this machine. Explorer, Git, worktrees and the skills, plugins, agents and MCP settings are not available on remote hosts yet.
- **Restarting or redeploying ompweb no longer interrupts a run on this machine.** "This machine" now runs through a local `ompweb host` daemon, installed as a second service (`ompweb-host`) by `ompweb systemd install`, `ompweb launchd install` and the Windows tray install. The daemon keeps the omp processes; a restarted web server adopts them, with no resume prompt, and the dialogs and browser tool calls omp was waiting on come back. The daemon is required: until it is installed and linked, "This machine" shows offline (with a banner showing the install command) and new sessions there cannot start. An `ompweb` run in a terminal or with npx installs no service: keep `ompweb host` running in a second terminal. Restarting the daemon still ends runs, and `ompweb systemd restart` leaves it alone. If the web server comes back on another port, the daemon follows it. A `npm run dev` server does not take over the daemon. "This machine" can be renamed in **Settings → Hosts**.
- **ompweb as a single binary, with no Node or npm.** Each release now also carries `ompweb-linux-x64`, `ompweb-linux-arm64`, `ompweb-darwin-x64`, `ompweb-darwin-arm64` (`.tar.gz`) and `ompweb-windows-x64` (`.zip`): one `ompweb` program with the web files beside it. It takes the same options and environment variables as the npm `ompweb`, and runs the daemon too (`ompweb host`). It has no tray, service installers or in-app update: the README's "Single binary" section shows the service units, and Settings → System links the release page when an update is out. Build one with `npm run build:binary`.

### Fixes & Improvements

- **ompweb now runs on Bun instead of Next.js.** The npm package brings its own Bun, so installs and updates work as before, with no change to URLs, ports, settings or the password gate. Host link uploads are no longer cut at 10 MB. `OMP_WEB_DEV_ORIGIN` is removed: it only configured the Next development server. `npm run build` no longer interferes with `npm run dev`. The skills.sh search now gives up after 10 s and falls back to the `skills find` CLI instead of waiting on a stalled skills.sh.
- **If you start ompweb from a terminal (`ompweb` or `npx`), start it again once after the in-app update to this version.** The launcher that is already running applies the update and then tries to restart the server with Next, which the update removed, so the server does not come back. systemd, launchd and the tray start the new launcher and are not affected.
- Browsers older than Safari 16.2 or Chrome 111 lose the colours ompweb mixes with `color-mix()` (tints, borders and focus rings), which no longer carry a solid fallback. Those browsers were outside the Next.js build's targets too.
- **The service installers set up the host daemon too.** `ompweb systemd install`, `ompweb-launchd install` and the Windows tray install now register `ompweb host` as a second unit (`ompweb-host`) next to the web service, restarting it after a 10 s delay so it can wait for the web server to write its host link on first install. `uninstall` and `status` cover both, and the tray menus show the daemon state.
- **In-app updates work when ompweb runs as a systemd service.** The update worker ran inside the service's cgroup, so stopping the server killed the worker too: nothing was installed, the service could stay down (`Restart=on-failure` does not restart a clean SIGTERM exit), and every page load reopened the update dialog at "Stop ompweb-managed sessions". The worker now runs in its own transient scope (`systemd-run --scope`) and stops, updates and starts the unit through `systemctl`, starting it again if the install fails.
- **An update whose worker died is reported as failed.** A running update whose worker process is gone, or whose lease has expired, now becomes a failed attempt the dialog can show and clean up, instead of waiting forever.
Expand Down
17 changes: 9 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Thanks for your interest in contributing!

## Setup

- Node.js 24 or newer
- Node.js 24 or newer (the server runs on [Bun](https://bun.sh), which `npm install` provides)
- The [omp](https://github.com/can1357/oh-my-pi) binary on your `PATH` (or set `OMP_WEB_OMP_BIN`)

```bash
npm install
npm run dev # http://127.0.0.1:30178
npm run dev # http://127.0.0.1:30178, Bun hot reload
```

The repository tracks a [graphify](https://github.com/Graphify-Labs/graphify) code
Expand All @@ -32,19 +32,20 @@ afterwards and commit the graph.
## Checks (must pass before submitting)

```bash
npx tsc --noEmit # type check
npm run typecheck # type check
npm run lint # ESLint, zero warnings
npm test # unit tests
npm test # unit tests (bun test --parallel)
```

Avoid `npm run build` during local development — it writes to `.next/` and
interferes with the dev server. Builds are for release work.
`npm run build` bundles the browser app into `dist/` and `npm run smoke`
starts the built server and checks it; the dev server never reads `dist/`.

### React tests

Tests use `node:test` and `jiti`; no Jest or Vitest configuration is required.
Tests use `bun test` with `node:test`-style `test()` calls; no Jest or Vitest configuration is required.
Mock a Node builtin with `mockBuiltin` (`tests/mock-builtin.mjs`, built on `mock.module`) and import the module under test afterwards with a fresh `?fresh=N` query.
For interactive components and hooks, import `tests/setup-dom.mjs` before
`@testing-library/react/pure.js`, and register `cleanup` with `afterEach`.
`@testing-library/react/pure.js` (both imported dynamically, in that order), and register `cleanup` with `afterEach`.
Use DOM queries and `@testing-library/user-event` for component interactions,
and `renderHook` for hook state and lifecycle tests. Keep the real jsdom
`window` and `document`; mock only the browser or network APIs a scenario needs.
Expand Down
21 changes: 11 additions & 10 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ do not assume that Pi-specific implementation changes can be merged unchanged.
is an explicit user choice and must be protected by a trusted network
boundary and HTTPS.
3. **Node-first installation.** A normal user installs Node.js 24+ and OMP,
then runs `npx ompweb@latest` or installs `ompweb` globally. ompweb does not
require users to install Bun for its own runtime.
then runs `npx ompweb@latest` or installs `ompweb` globally. The npm package
brings its own Bun for the web server, so users do not install Bun
themselves.
4. **Native compatibility over imitation.** Prefer OMP's CLI and documented
on-disk formats to copied SDK internals. If a capability cannot be done
safely through those boundaries, leave it out rather than emulating it
Expand Down Expand Up @@ -51,7 +52,7 @@ do not assume that Pi-specific implementation changes can be merged unchanged.
Browser
│ HTTP / Server-Sent Events
▼
ompweb (Next.js on Node)
ompweb (Bun server, started by the Node launcher)
├─ reads native OMP session files and selected configuration
├─ serves allow-listed project files
└─ starts one `omp --mode rpc-ui` child per active session
Expand All @@ -63,9 +64,9 @@ ompweb (Next.js on Node)
### Why the CLI boundary is locked

OMP SDK packages are Bun-only TypeScript and import Bun APIs. Importing
`@oh-my-pi/*` or `@earendil-works/*` into a Node/Next server would make the
application unreliable or non-runnable. Therefore, production code must not
add those runtime dependencies.
`@oh-my-pi/*` or `@earendil-works/*` into the ompweb server, even though it runs on
Bun, would tie it to omp's internals and make the application unreliable.
Therefore, production code must not add those runtime dependencies.

Live work goes through the user’s installed `omp --mode rpc-ui` process. This
keeps the agent version, providers, extensions, and session behavior aligned
Expand Down Expand Up @@ -107,8 +108,8 @@ machine's filesystem.

The link is two HTTP requests that the `ompweb host` daemon opens to the
server: a long-lived response for server → daemon and batched POSTs for
daemon → server. Next route handlers cannot accept WebSocket upgrades and
ompweb runs without a custom server, so there is no WebSocket. The daemon
daemon → server. There is no WebSocket yet: the route handlers
are plain `Request` → `Response` functions. The daemon
forwards omp's NDJSON unchanged and answers a fixed allow-list of host
operations; there is no generic exec or file-read operation. A host is
trusted like the serving machine: control of the server or of a host token is
Expand Down Expand Up @@ -273,7 +274,7 @@ behavior, not blindly the implementation.
Releases are independent:

1. Run typecheck, lint, relevant tests, and a production build.
2. Confirm `npm pack --dry-run` contains the built `.next` output and exposes
2. Confirm `npm pack --dry-run` contains the built `dist/` output and exposes
the `ompweb` binary.
3. Publish `ompweb@<version>` only from an npm account authorized for that
package.
Expand All @@ -282,7 +283,7 @@ Releases are independent:
## Non-goals

- Reimplementing OMP, its provider registry, or its credential database.
- Embedding Bun-only OMP SDK packages in the Node server.
- Embedding Bun-only OMP SDK packages in the omp-web server.
- Turning a local agent workspace into an internet-facing multi-user service.
- Unrestricted filesystem browsing or arbitrary browser-triggered host tools.
- Automatic bulk synchronization from `agegr/pi-web`.
Expand Down
10 changes: 6 additions & 4 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
## 必要条件

- [omp](https://github.com/can1357/oh-my-pi) がインストールされ、`PATH` に含まれていること(または `OMP_WEB_OMP_BIN` で指定)
- Node.js `>= 24`
- Node.js `>= 24`。サーバーは [Bun](https://bun.sh) で動作し、npm パッケージの依存関係として自動的にインストールされます(同梱の Bun が見つからない場合は `PATH` 上の Bun を使用します)

キュー内のフォローアップに対する **Steer** 操作には、`promote_queued_message` RPC コマンドをサポートする omp ランタイムが必要です(omp 18.1.16 では未対応)。古いランタイムではエラーを表示し、メッセージはフォローアップとしてキューに残ります。ompweb が重複したステアリングメッセージを送信することはありません。

Expand All @@ -50,6 +50,8 @@ npm install -g @kahme247/ompweb
ompweb
```

**Node や npm を使わない単一バイナリ**もリリースごとに配布しています。手順は英語版 README の [Single binary](README.md#single-binary) を参照してください。

ブラウザで [http://127.0.0.1:30177](http://127.0.0.1:30177) を開きます。

### CLI オプション
Expand Down Expand Up @@ -143,16 +145,16 @@ npm run dev

ローカル開発サーバーは [http://127.0.0.1:30178](http://127.0.0.1:30178) で起動します。

`npm run dev` は Bun のホットリロード付きでサーバーを起動します。`npm run build` はブラウザアプリを `dist/` にバンドルし、`npm start` はそれをポート 30177 で配信します(`npm run smoke` で結果を確認できます)。`npm run dev:lan` は開発サーバーをすべてのインターフェースにバインドします。

### チェックコマンド

```bash
npm run typecheck # 型チェック (TypeScript)
npm run lint # ESLint
npm test # テスト実行
npm test # テスト実行 (bun test)
```

> **注意**: ローカル開発中に `npm run build` を実行しないでください(`.next/` が生成され `npm run dev` に影響を与える恐れがあります)。

## クレジットとライセンス

- [agegr/pi-web](https://github.com/agegr/pi-web) (MIT) をベースに [can1357/oh-my-pi](https://github.com/can1357/oh-my-pi) 向けに適合・拡張したフォークです。
Expand Down
Loading
Loading