@alexsun-top/opencode-chat-room 0.8.4 → 0.8.6
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/CHANGELOG.md +17 -3
- package/README.md +5 -5
- package/README.zh-CN.md +5 -5
- package/cli.ts +20 -1
- package/dist/cli.js +3785 -1462
- package/package.json +19 -11
- package/packages/chat-room-channeld/README.md +16 -10
- package/packages/chat-room-channeld/src/delivery.ts +0 -4
- package/packages/chat-room-channeld/src/host.ts +48 -37
- package/packages/chat-room-channeld/src/inbound.ts +3 -6
- package/packages/chat-room-channeld/src/pg/database.ts +141 -49
- package/packages/chat-room-channeld/src/pg/sql.mjs +157 -142
- package/packages/chat-room-channeld/src/pg/sql.mts +175 -0
- package/packages/chat-room-channeld/src/pg/worker.mjs +148 -99
- package/packages/chat-room-channeld/src/pg/worker.mts +201 -0
- package/packages/chat-room-channeld/src/state-rows.ts +132 -0
- package/packages/chat-room-channeld/src/state.ts +129 -157
- package/plugin.ts +21 -5
- package/server/app.ts +9 -0
- package/server/assets/base.css +22 -2
- package/server/assets/chat/admin.js +17 -1
- package/server/assets/chat/announcements.js +79 -34
- package/server/assets/chat/attachments.js +3 -3
- package/server/assets/chat/clipboard.js +1 -1
- package/server/assets/chat/confirm-dialog.js +3 -0
- package/server/assets/chat/copy-action.js +1 -1
- package/server/assets/chat/create-room-dialog.js +7 -0
- package/server/assets/chat/diagram-viewer.js +4 -8
- package/server/assets/chat/doc-preview.js +71 -31
- package/server/assets/chat/editor.js +49 -10
- package/server/assets/chat/events.js +13 -6
- package/server/assets/chat/files.js +33 -27
- package/server/assets/chat/history-loader.js +31 -15
- package/server/assets/chat/integration-editor.js +27 -1
- package/server/assets/chat/integrations.js +108 -16
- package/server/assets/chat/join-requests.js +40 -2
- package/server/assets/chat/locales/de.js +5 -3
- package/server/assets/chat/locales/es.js +5 -3
- package/server/assets/chat/locales/fr.js +5 -3
- package/server/assets/chat/locales/it.js +5 -3
- package/server/assets/chat/locales/ja.js +5 -3
- package/server/assets/chat/locales/ko.js +5 -3
- package/server/assets/chat/markdown-footnotes.js +27 -15
- package/server/assets/chat/markdown.js +6 -12
- package/server/assets/chat/members.js +34 -22
- package/server/assets/chat/mentions.js +8 -5
- package/server/assets/chat/message-cache.js +9 -3
- package/server/assets/chat/message-polling.js +10 -4
- package/server/assets/chat/message-window.js +58 -1
- package/server/assets/chat/messages.js +90 -37
- package/server/assets/chat/office-preview.js +3 -3
- package/server/assets/chat/operator.js +624 -0
- package/server/assets/chat/palette.js +7 -10
- package/server/assets/chat/panels.js +42 -0
- package/server/assets/chat/questions.js +75 -58
- package/server/assets/chat/recall.js +14 -5
- package/server/assets/chat/receipts.js +63 -7
- package/server/assets/chat/refresh-timing.js +6 -0
- package/server/assets/chat/reminders.js +47 -13
- package/server/assets/chat/replies.js +39 -25
- package/server/assets/chat/resource-format.js +6 -3
- package/server/assets/chat/room-list.js +202 -3
- package/server/assets/chat/room-watcher.js +3 -1
- package/server/assets/chat/rooms.js +29 -7
- package/server/assets/chat/settings.js +37 -6
- package/server/assets/chat/shortcuts.js +3 -1
- package/server/assets/chat/side-pane.js +1 -1
- package/server/assets/chat/state.js +51 -18
- package/server/assets/chat/system-events.js +3 -2
- package/server/assets/chat/system-messages.js +15 -15
- package/server/assets/chat/tasks.js +37 -14
- package/server/assets/chat/window-controls.js +25 -15
- package/server/assets/code-highlight.css +0 -13
- package/server/assets/conversation.css +45 -5
- package/server/assets/doc-preview.css +9 -0
- package/server/assets/files.css +4 -0
- package/server/assets/monaco/integration-rules.js +1 -1
- package/server/assets/office/THIRD-PARTY-NOTICES.txt +23 -1
- package/server/assets/office/licenses/docx-preview-HEADER.txt +6 -0
- package/server/assets/office/licenses/echarts-LICENSE-d3.txt +27 -0
- package/server/assets/office/licenses/echarts-NOTICE.txt +5 -0
- package/server/assets/office/licenses/immediate-LICENSE.txt +20 -0
- package/server/assets/office/licenses/lie-LICENSE.txt +7 -0
- package/server/assets/office/licenses/pako-LICENSE.txt +21 -0
- package/server/assets/office/licenses/pako-ZLIB.txt +18 -0
- package/server/assets/office/licenses/setimmediate-LICENSE.txt +20 -0
- package/server/assets/responsive.css +12 -2
- package/server/assets/settings.css +3 -1
- package/server/assets/tasks.css +6 -1
- package/server/assets/window-controls.css +3 -1
- package/server/channels.ts +3 -2
- package/server/chat.html +7 -2
- package/server/inbox.ts +3 -1
- package/server/join-requests.ts +8 -1
- package/server/member-routes.ts +16 -2
- package/server/newrooms.ts +2 -13
- package/server/operator-auth.ts +21 -0
- package/server/operator-routes.ts +150 -0
- package/server/operator-state.ts +64 -0
- package/server/operator.css +139 -0
- package/server/room-owner.ts +17 -0
- package/server/routes/inbox.ts +15 -5
- package/server/routes/pages.ts +12 -2
- package/server/routes/room-actions.ts +4 -3
- package/server/sw.js +3 -1
- package/server/system.html +109 -0
- package/server/wake.ts +1 -1
- package/skills/chatroom/SKILL.md +9 -0
- package/src/README.md +1 -1
- package/src/acp/client.ts +254 -0
- package/src/acp/protocol.ts +300 -0
- package/src/acp/watch.ts +498 -0
- package/src/agent/agent-receipts.ts +98 -8
- package/src/center/center-client.ts +6 -1
- package/src/center/center-inbox.ts +54 -7
- package/src/center/center-wake.ts +57 -3
- package/src/center/forward-client.ts +48 -0
- package/src/center/mentions.ts +16 -3
- package/src/center/notification-delay.ts +139 -0
- package/src/center/queue.ts +3 -0
- package/src/config/file-config.ts +25 -0
- package/src/mcp/server.ts +389 -0
- package/src/protocol/config.ts +7 -0
- package/src/runtime/plugin-notifications.ts +43 -9
- package/src/runtime/v2-plugin.ts +14 -3
- package/src/runtime/v2-receiver.ts +10 -2
- package/src/runtime/watch.ts +5 -1
- package/src/state/pg-database.ts +133 -49
- package/src/state/pg-sql.mjs +157 -142
- package/src/state/pg-sql.mts +175 -0
- package/src/state/pg-worker.mjs +148 -99
- package/src/state/pg-worker.mts +201 -0
- package/src/state/receiver-state.ts +47 -0
- package/src/state/sqlite-database.ts +6 -2
- package/src/state/sqlite-members.ts +48 -4
- package/src/state/sqlite-messages.ts +25 -12
- package/src/state/sqlite-schema.ts +4 -1
- package/src/state/sqlite-state.ts +1 -1
- package/src/state/store.ts +31 -11
- package/src/tui/app-types.mjs +1 -0
- package/src/tui/app-types.mts +175 -0
- package/src/tui/app.mjs +473 -423
- package/src/tui/app.mts +543 -0
- package/src/tui/config.mjs +166 -158
- package/src/tui/config.mts +247 -0
- package/src/tui/http.mjs +239 -206
- package/src/tui/http.mts +412 -0
- package/src/tui/i18n.mjs +17 -20
- package/src/tui/i18n.mts +42 -0
- package/src/tui/info-app.mjs +431 -427
- package/src/tui/info-app.mts +500 -0
- package/src/tui/info-content.mjs +205 -199
- package/src/tui/info-content.mts +341 -0
- package/src/tui/join-app.mjs +75 -64
- package/src/tui/join-app.mts +99 -0
- package/src/tui/locales/en.mjs +302 -320
- package/src/tui/locales/en.mts +349 -0
- package/src/tui/locales/zh-CN.mjs +302 -320
- package/src/tui/locales/zh-CN.mts +349 -0
- package/src/tui/main.mjs +219 -213
- package/src/tui/main.mts +255 -0
- package/src/tui/markdown.mjs +128 -272
- package/src/tui/markdown.mts +152 -0
- package/src/tui/mentions.mjs +181 -184
- package/src/tui/mentions.mts +251 -0
- package/src/tui/message-app.mjs +181 -173
- package/src/tui/message-app.mts +213 -0
- package/src/tui/message-view.mjs +90 -111
- package/src/tui/message-view.mts +151 -0
- package/src/tui/messages.mjs +55 -49
- package/src/tui/messages.mts +106 -0
- package/src/tui/palette-app.mjs +364 -344
- package/src/tui/palette-app.mts +388 -0
- package/src/tui/palette.mjs +100 -98
- package/src/tui/palette.mts +176 -0
- package/src/tui/prefs.mjs +56 -63
- package/src/tui/prefs.mts +126 -0
- package/src/tui/reminder-app.mjs +191 -181
- package/src/tui/reminder-app.mts +228 -0
- package/src/tui/room-settings-app.mjs +275 -242
- package/src/tui/room-settings-app.mts +318 -0
- package/src/tui/session.mjs +30 -29
- package/src/tui/session.mts +51 -0
- package/src/tui/settings-app.mjs +151 -138
- package/src/tui/settings-app.mts +179 -0
- package/src/tui/ui-content.mjs +426 -421
- package/src/tui/ui-content.mts +499 -0
- package/src/tui/ui-help.mjs +58 -67
- package/src/tui/ui-help.mts +87 -0
- package/src/tui/ui-mentions.mjs +34 -36
- package/src/tui/ui-mentions.mts +60 -0
- package/src/tui/ui-overlay-view.mjs +259 -267
- package/src/tui/ui-overlay-view.mts +322 -0
- package/src/tui/ui-suggest-view.mjs +54 -57
- package/src/tui/ui-suggest-view.mts +78 -0
- package/src/tui/ui-suggest.mjs +164 -167
- package/src/tui/ui-suggest.mts +248 -0
- package/src/tui/ui-theme.mjs +52 -57
- package/src/tui/ui-theme.mts +98 -0
- package/src/tui/ui-view.mjs +267 -275
- package/src/tui/ui-view.mts +308 -0
- package/src/tui/ui.mjs +372 -359
- package/src/tui/ui.mts +440 -0
- package/src/tui/wire.mjs +215 -0
- package/src/tui/wire.mts +383 -0
- package/src/web/integration-rules-editor.ts +25 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
-
|
|
3
|
+
## 0.8.6 — 2026-12-03
|
|
4
|
+
|
|
5
|
+
- Show confirmed OpenCode V2 notification delivery separately from read receipts. Delivery does not advance the read state or turn the badge green.
|
|
6
|
+
- Add an opt-in `/system` console with a dedicated operator token. List group rooms, restore ownership to an existing human member, and record the reason in the operator audit.
|
|
7
|
+
- Recover the server and bundled Channel D PostgreSQL connections on a later independent operation after a bridge timeout or disconnect. Do not replay a failed write, whose outcome may be unknown.
|
|
8
|
+
- Spread automatic OpenCode notifications that do not name the receiving Agent over a default 0–2 seconds. Configure fixed delay and jitter independently in the plugin environment or client settings. Direct named mentions add no wait.
|
|
9
|
+
- Keep existing rows in place during panel refreshes and show loading feedback for at least 150 ms before applying fast results. Confirm web messages in place instead of rebuilding the bubble, and preserve the reader's scroll position.
|
|
10
|
+
- Reorder rooms locally by dragging, pressing Alt+Shift+Up/Down on a focused room, or tapping the move buttons on touch devices. The announcement panel no longer blocks Alt+Up/Down room switching.
|
|
11
|
+
- When a server stops responding during session restore, show Retry and Settings after the 20-second request deadline instead of spinning indefinitely.
|
|
12
|
+
- Upgrade to TypeScript 7. One root `tsconfig.json` now checks the web client, service worker, and server with the same strict settings. Web assets still build to their existing URLs.
|
|
13
|
+
- Type the terminal client, Codex plugin, PostgreSQL workers, and release tooling. The terminal and workers still run from the same `.mjs` paths, and the compiled Codex plugin still supports Node 20.
|
|
14
|
+
- Upgrade the interactive terminal client to OpenTUI 0.9.12 and require Bun 1.3.14+. Use `bunx --bun` to include OpenTUI. Server support for Node.js 24.2+, Deno 2, and Bun is unchanged.
|
|
15
|
+
- Keep the web client and service worker sources in TypeScript under `server/chat-src` and `server/sw.ts`, built by `tsc` into the existing `server/assets/chat/*.js` and `server/sw.js` URLs. All 70 sources are covered by strict TypeScript checking; the published package and image still contain only generated JavaScript, and two builds are byte-for-byte reproducible.
|
|
6
16
|
- When the app opens offline without a restored session, the cached shell now shows a Settings button next to Retry, so local appearance, language, and connection settings stay reachable without the server. Room data still requires a connection.
|
|
7
17
|
- Serve the PWA shell and static assets from the service worker cache first, so opening the app no longer re-downloads every precached file from the server. Install reports downloading, ready with the number of optional cache gaps, or failed; a missing shell or chat entry module fails the install, while a missing optional asset becomes a runtime miss. The update prompt appears only for a waiting worker and never reloads on its own.
|
|
8
18
|
- Add an optional PostgreSQL backend to Channel D. Set `CHAT_ROOM_DATABASE_URL` to share the same `ChannelState` implementation on PostgreSQL 16 with `pg_advisory_xact_lock` serialization, or leave it unset for SQLite. `channeld migrate --state <sqlite> --to-postgres <url>` copies events, deliveries, receipts, and echoes with primary keys, ingress sequences, echo timestamps, per-table counts, and non-empty target refusal; removing the variable rolls back without touching SQLite. Single-instance only.
|
|
@@ -34,6 +44,10 @@
|
|
|
34
44
|
- Distinguish the conversation surface with a subtle background, rebalance the side gutters, and show avatars once the layout is wide enough.
|
|
35
45
|
- Use a borderless window-controls-overlay layout when an installed PWA exposes it, and keep the normal framed layout everywhere else.
|
|
36
46
|
- Print `message_id=… room_id=…` in send results and `message_id=… chat_id=… sender=…` in inbound relay headers, so IDs can be copied without parsing prose.
|
|
47
|
+
- Add `forward_targets` and `forward` to the `room` tool in the OpenCode V1/V2 plugins and the stdio MCP server: list a room's ready relay targets and queue one already-sent reply to one exact target. The server endpoint, queue, and receipts already existed; the agent had no way to call them.
|
|
48
|
+
- Deliver room messages that arrive while the plugin is running without waiting for an `@` mention, in rooms with a single agent and for messages newer than the plugin start. Restart backlog stays mention-gated.
|
|
49
|
+
- Let the Feishu adapter accept one direct chat alongside allowlisted groups through `FEISHU_INBOUND_DM_CHAT` and `FEISHU_INBOUND_DM_OPEN_ID`, log `chat_id`/`chat_type`/`open_id` for ignored inbound events, and ingest voice messages as a `voice-Ns.opus` attachment with a duration label.
|
|
50
|
+
- Use the same 16px radius on every message bubble corner, and give the code-preview context menu an opaque background in both themes.
|
|
37
51
|
|
|
38
52
|
## 0.8.1 — 2026-11-26
|
|
39
53
|
|
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ When upgrading, quit OpenCode first or run `opencode plugin add @alexsun-top/ope
|
|
|
26
26
|
On a machine reachable by the other devices:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx --yes --package=@alexsun-top/opencode-chat-room@0.8.
|
|
29
|
+
npx --yes --package=@alexsun-top/opencode-chat-room@0.8.5 -- opencode-chat-room --host 0.0.0.0 --port 4399 --token 'your-password'
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
The server runs on Node.js 24.2+, Deno 2, or Bun. On each OpenCode machine, set the address and the same token, then start OpenCode:
|
|
@@ -46,7 +46,7 @@ Open `http://SERVER_IP:4399/chat` and enter the token in Settings. Instead of en
|
|
|
46
46
|
```bash
|
|
47
47
|
docker run --rm -p 4399:4399 -v chat-room-data:/data \
|
|
48
48
|
-e CHAT_ROOM_SERVER_TOKEN='your-password' \
|
|
49
|
-
ghcr.io/agentsyaml/opencode-chat-room:v0.8.
|
|
49
|
+
ghcr.io/agentsyaml/opencode-chat-room:v0.8.5
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
Rooms and files live in the `/data` volume; keep it across upgrades. A host bind mount must be writable by uid `10001`.
|
|
@@ -60,8 +60,8 @@ For Docker Compose, PostgreSQL state, S3-compatible storage, and all environment
|
|
|
60
60
|
- **Files:** attach, drag, or paste up to 500 MiB; preview images, media, Markdown, text, code, PDF, Word, Excel, and PowerPoint; open any preview full screen; download or delete.
|
|
61
61
|
- **Tasks and reminders:** track tasks in a side pane or modal; schedule one-time or cron reminders.
|
|
62
62
|
- **Search and shortcuts:** Alt+Space or Ctrl+P searches messages; `/` filters commands. More shortcuts are in Settings.
|
|
63
|
-
- **Terminal:** run `bunx --
|
|
64
|
-
- **Web app:** installs to a phone home screen and starts offline from cache
|
|
63
|
+
- **Terminal (Bun 1.3.14+):** run `bunx --bun @alexsun-top/opencode-chat-room@0.8.5 cli` against the same server.
|
|
64
|
+
- **Web app:** installs to a phone home screen and starts offline from cache. Recent room history is stored locally in the browser; messages still sending are not saved in that history.
|
|
65
65
|
|
|
66
66
|
## Optional services
|
|
67
67
|
|
|
@@ -77,4 +77,4 @@ S3-compatible storage and PostgreSQL state are configured through environment va
|
|
|
77
77
|
|
|
78
78
|
## License
|
|
79
79
|
|
|
80
|
-
MIT
|
|
80
|
+
MIT
|
package/README.zh-CN.md
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
在一台其他设备可以访问的机器上运行:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx --yes --package=@alexsun-top/opencode-chat-room@0.8.
|
|
29
|
+
npx --yes --package=@alexsun-top/opencode-chat-room@0.8.5 -- opencode-chat-room --host 0.0.0.0 --port 4399 --token 'your-password'
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
服务端支持 Node.js 24.2+、Deno 2 或 Bun。在每台 OpenCode 机器上设置地址和同一个 token,然后启动 OpenCode:
|
|
@@ -46,7 +46,7 @@ opencode
|
|
|
46
46
|
```bash
|
|
47
47
|
docker run --rm -p 4399:4399 -v chat-room-data:/data \
|
|
48
48
|
-e CHAT_ROOM_SERVER_TOKEN='your-password' \
|
|
49
|
-
ghcr.io/agentsyaml/opencode-chat-room:v0.8.
|
|
49
|
+
ghcr.io/agentsyaml/opencode-chat-room:v0.8.5
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
房间和文件保存在 `/data` 卷里,升级时不要删除。宿主目录挂载必须允许 uid `10001` 写入。
|
|
@@ -60,8 +60,8 @@ Docker Compose、PostgreSQL 状态、S3 兼容存储和全部环境变量见[部
|
|
|
60
60
|
- **文件:** 添加、拖入或粘贴最大 500 MiB 的文件;预览图片、媒体、Markdown、文本、代码、PDF、Word、Excel 和 PowerPoint;全屏查看预览;下载或删除。
|
|
61
61
|
- **任务和提醒:** 在侧栏或弹窗里跟踪任务;设置一次性或 cron 提醒。
|
|
62
62
|
- **搜索和快捷键:** Alt+Space 或 Ctrl+P 搜索消息,`/` 过滤命令;更多快捷键在设置里。
|
|
63
|
-
-
|
|
64
|
-
- **网页应用:**
|
|
63
|
+
- **终端(Bun 1.3.14+):** 运行 `bunx --bun @alexsun-top/opencode-chat-room@0.8.5 cli` 连接同一个服务端。
|
|
64
|
+
- **网页应用:** 可安装到手机主屏,离线时从缓存启动。浏览器会在本地保存最近的房间消息,但不会把发送中的消息存入这份历史记录。
|
|
65
65
|
|
|
66
66
|
## 可选服务
|
|
67
67
|
|
|
@@ -77,4 +77,4 @@ S3 兼容存储和 PostgreSQL 状态通过环境变量配置。PostgreSQL 支持
|
|
|
77
77
|
|
|
78
78
|
## 许可证
|
|
79
79
|
|
|
80
|
-
MIT
|
|
80
|
+
MIT
|
package/cli.ts
CHANGED
|
@@ -17,6 +17,9 @@ Commands:
|
|
|
17
17
|
migrate [--to-postgres] --yes
|
|
18
18
|
Copy the SQLite state database to PostgreSQL
|
|
19
19
|
cli [--name <name>] Open the terminal client
|
|
20
|
+
mcp --session-id <id> Serve central room tools over stdio
|
|
21
|
+
acp check|run|watch [options] -- <agent> [args...]
|
|
22
|
+
Connect to a local ACP v1 agent
|
|
20
23
|
watch run|start|status|stop`;
|
|
21
24
|
|
|
22
25
|
type ValueOption = "host" | "port" | "token";
|
|
@@ -45,6 +48,22 @@ function validatePort(value: string): void {
|
|
|
45
48
|
|
|
46
49
|
const args = process.argv.slice(2);
|
|
47
50
|
|
|
51
|
+
if (args[0] === "mcp" || args[0] === "acp") {
|
|
52
|
+
let status = 0;
|
|
53
|
+
if (args[0] === "acp") {
|
|
54
|
+
const { runAcp } = await import("./src/acp/client.ts");
|
|
55
|
+
status = await runAcp(args.slice(1), fileURLToPath(import.meta.url));
|
|
56
|
+
} else if (args.length === 2 && (args[1] === "--help" || args[1] === "-h")) {
|
|
57
|
+
console.log("Usage: opencode-chat-room mcp --session-id <id>");
|
|
58
|
+
} else {
|
|
59
|
+
const { runMcp } = await import("./src/mcp/server.ts");
|
|
60
|
+
status = await runMcp(args.slice(1));
|
|
61
|
+
}
|
|
62
|
+
await Promise.all([process.stdout, process.stderr].map((stream) =>
|
|
63
|
+
new Promise<void>((resolve) => stream.write("", () => resolve()))));
|
|
64
|
+
process.exit(status);
|
|
65
|
+
}
|
|
66
|
+
|
|
48
67
|
// `bunx package` runs the bin with Node by default, even when Bun is installed.
|
|
49
68
|
// The terminal client needs Bun here, so hand off to a supported Bun when one is
|
|
50
69
|
// available instead of making every user remember the --bun flag.
|
|
@@ -64,7 +83,7 @@ function relaunchTuiWithBun(): void {
|
|
|
64
83
|
|
|
65
84
|
if (args[0] === "cli") {
|
|
66
85
|
relaunchTuiWithBun();
|
|
67
|
-
// Keep the
|
|
86
|
+
// Keep the TUI outside dist so bundling cannot hoist OpenTUI into
|
|
68
87
|
// every CLI command. The packaged layout has dist/cli.js beside src/tui.
|
|
69
88
|
const packaged = new URL("../src/tui/main.mjs", import.meta.url);
|
|
70
89
|
const source = new URL("./src/tui/main.mjs", import.meta.url);
|