codex-webapp 0.1.0 → 0.1.2
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.ja.md +1 -1
- package/README.md +1 -1
- package/docs/i18n/README.ko.md +1 -1
- package/docs/i18n/README.zh-CN.md +1 -1
- package/docs/ja-quickstart.md +1 -1
- package/package.json +1 -1
- package/src/browserSmoke.js +1 -1
- package/src/commands.js +8 -1
package/README.ja.md
CHANGED
|
@@ -127,7 +127,7 @@ Codex WebApp は telemetry、analytics、browser extension、project-operated ph
|
|
|
127
127
|
| Codex CLI | `codex remote-control` を使うため、`0.130.0` 以上が必要です。 |
|
|
128
128
|
| Node.js | `20` 以上が必要です。 |
|
|
129
129
|
| network binding | デフォルトは `127.0.0.1`。非 loopback host は明示的な opt-in が必要です。 |
|
|
130
|
-
| package channel | npm の `latest` channel から `codex-webapp` を使ってください。現在の release は `0.1.
|
|
130
|
+
| package channel | npm の `latest` channel から `codex-webapp` を使ってください。現在の release は `0.1.2` です。 |
|
|
131
131
|
|
|
132
132
|
Codex が入っていない、または古い場合は、先に更新してください。
|
|
133
133
|
|
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ Codex WebApp does not include telemetry, analytics, a browser extension, or a pr
|
|
|
127
127
|
| Codex CLI | `0.130.0` or newer, because `codex remote-control` is required. |
|
|
128
128
|
| Node.js | `20` or newer. |
|
|
129
129
|
| Network binding | `127.0.0.1` by default. Non-loopback hosts require explicit opt-in. |
|
|
130
|
-
| Package channel | `codex-webapp` from the npm `latest` channel. Current release: `0.1.
|
|
130
|
+
| Package channel | `codex-webapp` from the npm `latest` channel. Current release: `0.1.2`. |
|
|
131
131
|
|
|
132
132
|
If Codex is missing or too old, update it first.
|
|
133
133
|
|
package/docs/i18n/README.ko.md
CHANGED
|
@@ -80,7 +80,7 @@ npx -y codex-webapp smoke \
|
|
|
80
80
|
|
|
81
81
|
이 패키지는 Codex App native marketplace plugin, browser extension, one-click installer, managed hosting service가 아닙니다. Codex App에 프롬프트를 붙여 넣고, Codex가 `npx`로 npm 패키지를 실행하는 방식입니다.
|
|
82
82
|
|
|
83
|
-
현재 release는 `0.1.
|
|
83
|
+
현재 release는 `0.1.2`이며 early, compatibility-first입니다. 현재 `0xcaff/codex-web` commit `585613f5a3a355af5aefc388ca4e31b07a472cda`를 참조하는 Codex 스타일 browser runtime을 실행하고, 그 주변에 설치, 안전, 문서, 검증 evidence 계층을 더합니다.
|
|
84
84
|
|
|
85
85
|
## Security And Privacy
|
|
86
86
|
|
|
@@ -80,7 +80,7 @@ npx -y codex-webapp smoke \
|
|
|
80
80
|
|
|
81
81
|
这不是 Codex App native marketplace plugin、browser extension、one-click installer 或 managed hosting service。它的使用方式是:把提示词粘贴到 Codex App,让 Codex 通过 `npx` 执行 npm 包。
|
|
82
82
|
|
|
83
|
-
当前 release 为 `0.1.
|
|
83
|
+
当前 release 为 `0.1.2`,仍处于 early 阶段,并采用 compatibility-first 方针。它目前运行一个引用 `0xcaff/codex-web` commit `585613f5a3a355af5aefc388ca4e31b07a472cda` 的 Codex 风格 browser runtime,并在其周围增加安装、安全、文档和验证证据层。
|
|
84
84
|
|
|
85
85
|
## Security And Privacy
|
|
86
86
|
|
package/docs/ja-quickstart.md
CHANGED
|
@@ -50,7 +50,7 @@ npx codex-webapp smoke \
|
|
|
50
50
|
--url http://127.0.0.1:8214/
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
通常のsmokeはPlaywrightなしで、UI URLを取得して `What should we
|
|
53
|
+
通常のsmokeはPlaywrightなしで、UI URLを取得して `What should we` が含まれているか確認します。
|
|
54
54
|
|
|
55
55
|
スクリーンショットも残したい場合は、Playwrightを使うdeep smokeを実行します。
|
|
56
56
|
|
package/package.json
CHANGED
package/src/browserSmoke.js
CHANGED
package/src/commands.js
CHANGED
|
@@ -149,7 +149,14 @@ export async function start(args = []) {
|
|
|
149
149
|
console.log(`Starting codex-web from ${CODEX_WEB_REFERENCE}...`);
|
|
150
150
|
console.log(`Open: ${plannedWebUrl}`);
|
|
151
151
|
console.log("Keep this terminal open. Expose it only through a trusted local, Tailscale, Cloudflare Access, or equivalent boundary.");
|
|
152
|
-
const
|
|
152
|
+
const codexPath = resolveCodexPath();
|
|
153
|
+
const child = spawn("npx", npxArgs, {
|
|
154
|
+
stdio: "inherit",
|
|
155
|
+
env: {
|
|
156
|
+
...process.env,
|
|
157
|
+
CODEX_CLI_PATH: codexPath || process.env.CODEX_CLI_PATH || "codex",
|
|
158
|
+
},
|
|
159
|
+
});
|
|
153
160
|
child.on("exit", (code) => {
|
|
154
161
|
process.exit(code ?? 0);
|
|
155
162
|
});
|