remote-codex 0.11.30 → 0.11.32
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 +12 -4
- package/apps/relay-server/dist/index.js +2956 -164
- package/apps/supervisor-api/dist/index.js +521 -64
- package/apps/supervisor-web/dist/apple-touch-icon.png +0 -0
- package/apps/supervisor-web/dist/assets/index-CGHHTNkM.js +21 -0
- package/apps/supervisor-web/dist/assets/index-CdjTdnJt.css +1 -0
- package/apps/supervisor-web/dist/assets/thread-ui-B9eC2H4u.js +3677 -0
- package/apps/supervisor-web/dist/favicon-16x16.png +0 -0
- package/apps/supervisor-web/dist/favicon-32x32.png +0 -0
- package/apps/supervisor-web/dist/favicon-48x48.png +0 -0
- package/apps/supervisor-web/dist/icon-192.png +0 -0
- package/apps/supervisor-web/dist/icon-512.png +0 -0
- package/apps/supervisor-web/dist/index.html +10 -4
- package/apps/supervisor-web/dist/remote-codex-icon.png +0 -0
- package/apps/supervisor-web/dist/site.webmanifest +19 -0
- package/bin/remote-codex.mjs +6 -3
- package/config/codex-model-pricing.json +44 -0
- package/package.json +1 -1
- package/packages/agent-runtime/src/model-pricing.ts +66 -6
- package/packages/agent-runtime/src/types.ts +13 -0
- package/packages/claude/src/runtimeAdapter.test.ts +64 -0
- package/packages/claude/src/runtimeAdapter.ts +64 -0
- package/packages/codex/src/appServerManager.ts +16 -0
- package/packages/codex/src/modelPricing.test.ts +84 -0
- package/packages/codex/src/runtimeAdapter.test.ts +44 -0
- package/packages/codex/src/runtimeAdapter.ts +66 -0
- package/packages/codex/src/types.ts +3 -1
- package/packages/db/migrations/0029_thread_turn_delivery.sql +19 -0
- package/packages/db/src/repositories.ts +96 -1
- package/packages/db/src/schema.ts +20 -0
- package/packages/opencode/src/runtimeAdapter.ts +15 -0
- package/packages/shared/src/index.ts +203 -7
- package/scripts/run-web-service.mjs +2 -2
- package/scripts/service-manager.mjs +2 -2
- package/apps/supervisor-web/dist/assets/index-BnpZn_3_.js +0 -6
- package/apps/supervisor-web/dist/assets/index-CJFMmjP5.css +0 -1
- package/apps/supervisor-web/dist/assets/thread-ui-C0VPL4Uk.js +0 -3677
package/README.md
CHANGED
|
@@ -126,8 +126,12 @@ remote-codex stop
|
|
|
126
126
|
|
|
127
127
|
Default npm CLI ports:
|
|
128
128
|
|
|
129
|
-
- Web: `http://127.0.0.1:45673`
|
|
130
|
-
- API: `http://127.0.0.1:45674`
|
|
129
|
+
- Web: `http://127.0.0.1:45673` locally, or `http://<host-lan-ip>:45673`
|
|
130
|
+
- API: `http://127.0.0.1:45674` locally, or `http://<host-lan-ip>:45674`
|
|
131
|
+
|
|
132
|
+
Both listeners bind to `0.0.0.0` by default. Local mode is unauthenticated, so
|
|
133
|
+
use it only on a trusted LAN/VPN. Set `SERVICE_HOST=127.0.0.1` and
|
|
134
|
+
`SERVICE_API_HOST=127.0.0.1` to make the service host-only.
|
|
131
135
|
|
|
132
136
|
Override with `SERVICE_PORT` and `SERVICE_API_PORT`.
|
|
133
137
|
|
|
@@ -281,8 +285,12 @@ remote-codex stop
|
|
|
281
285
|
|
|
282
286
|
npm CLI 默认端口:
|
|
283
287
|
|
|
284
|
-
- Web
|
|
285
|
-
- API
|
|
288
|
+
- Web:本机使用 `http://127.0.0.1:45673`,内网设备使用 `http://<宿主机内网IP>:45673`
|
|
289
|
+
- API:本机使用 `http://127.0.0.1:45674`,内网设备使用 `http://<宿主机内网IP>:45674`
|
|
290
|
+
|
|
291
|
+
两个服务默认监听 `0.0.0.0`。local 模式没有登录鉴权,只应在可信 LAN/VPN
|
|
292
|
+
中使用。如需限制为仅本机访问,请同时设置 `SERVICE_HOST=127.0.0.1` 和
|
|
293
|
+
`SERVICE_API_HOST=127.0.0.1`。
|
|
286
294
|
|
|
287
295
|
可用 `SERVICE_PORT` 和 `SERVICE_API_PORT` 覆盖。
|
|
288
296
|
|