From 421e027ed351a525446da74de4bbb794837200fe Mon Sep 17 00:00:00 2001 From: yunyingk Date: Sat, 31 Oct 2026 13:18:22 +0800 Subject: [PATCH 1/4] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20Codex=20?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .codex/environments/environment.toml | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .codex/environments/environment.toml diff --git a/.codex/environments/environment.toml b/.codex/environments/environment.toml new file mode 100644 index 0000000..b243a71 --- /dev/null +++ b/.codex/environments/environment.toml @@ -0,0 +1,48 @@ +# THIS IS AUTOGENERATED. DO NOT EDIT MANUALLY +version = 1 +name = "hose-use" + +[setup] +script = "bun install --frozen-lockfile" + +[setup.darwin] +script = ''' +set -e +export PATH="$HOME/.bun/bin:$PATH" +bun install --frozen-lockfile''' + +[setup.linux] +script = ''' +set -e +export PATH="$HOME/.bun/bin:$PATH" +bun install --frozen-lockfile''' + +[setup.win32] +script = "bun install --frozen-lockfile" + +[cleanup] +script = "" + +[cleanup.darwin] +script = "" + +[cleanup.linux] +script = "" + +[cleanup.win32] +script = "" + +[[actions]] +name = "类型检查" +icon = "test" +command = "bun run check" + +[[actions]] +name = "运行测试" +icon = "test" +command = "bun test" + +[[actions]] +name = "提交前检查" +icon = "test" +command = "bun test && bun run check" From 8c0de8614d93d67f4e9390a9c927ff7c90c10544 Mon Sep 17 00:00:00 2001 From: yunyingk Date: Sat, 31 Oct 2026 13:22:40 +0800 Subject: [PATCH 2/4] =?UTF-8?q?chore:=20=E5=8C=BA=E5=88=86=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E6=93=8D=E4=BD=9C=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .codex/environments/environment.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.codex/environments/environment.toml b/.codex/environments/environment.toml index b243a71..51aeb91 100644 --- a/.codex/environments/environment.toml +++ b/.codex/environments/environment.toml @@ -34,7 +34,7 @@ script = "" [[actions]] name = "类型检查" -icon = "test" +icon = "tool" command = "bun run check" [[actions]] @@ -44,5 +44,5 @@ command = "bun test" [[actions]] name = "提交前检查" -icon = "test" +icon = "run" command = "bun test && bun run check" From 5dec080a96b47989cf820aa00f97a6cd0d56e7c6 Mon Sep 17 00:00:00 2001 From: yunyingk Date: Sat, 31 Oct 2026 13:24:49 +0800 Subject: [PATCH 3/4] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E8=B7=A8?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E7=A4=BA=E4=BE=8B=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .codex/environments/environment-2.toml | 64 ++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 .codex/environments/environment-2.toml diff --git a/.codex/environments/environment-2.toml b/.codex/environments/environment-2.toml new file mode 100644 index 0000000..936c8e0 --- /dev/null +++ b/.codex/environments/environment-2.toml @@ -0,0 +1,64 @@ +version = 1 +name = "示例 (example)" + +[setup] +script = ''' +echo "Example setup: installing dependencies" +bun install --frozen-lockfile''' + +[setup.darwin] +script = ''' +set -e +export PATH="$HOME/.bun/bin:$PATH" +echo "Example setup: macOS" +sw_vers -productVersion +bun install --frozen-lockfile''' + +[setup.linux] +script = ''' +set -e +export PATH="$HOME/.bun/bin:$PATH" +echo "Example setup: Linux" +uname -sr +bun install --frozen-lockfile''' + +[setup.win32] +script = ''' +echo Example setup: Windows +cmd /c ver +bun install --frozen-lockfile''' + +[cleanup] +script = 'echo "Example cleanup: no extra resources to stop"' + +[cleanup.darwin] +script = 'echo "Example cleanup: macOS, no extra resources to stop"' + +[cleanup.linux] +script = 'echo "Example cleanup: Linux, no extra resources to stop"' + +[cleanup.win32] +script = 'echo Example cleanup: Windows, no extra resources to stop' + +[[actions]] +name = "示例:运行测试" +icon = "test" +command = "bun test" + +[[actions]] +name = "示例:macOS 版本" +icon = "tool" +platform = "darwin" +command = "sw_vers" + +[[actions]] +name = "示例:Linux 版本" +icon = "tool" +platform = "linux" +command = "uname -a" + +[[actions]] +name = "示例:Windows 版本" +icon = "tool" +platform = "win32" +command = "cmd /c ver" From ac6437bf10ee7db681ac7804dd2c69d8e4224cfa Mon Sep 17 00:00:00 2001 From: yunyingk Date: Sat, 31 Oct 2026 13:29:38 +0800 Subject: [PATCH 4/4] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E7=8E=AF=E5=A2=83=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .codex/environments/environment-2.toml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.codex/environments/environment-2.toml b/.codex/environments/environment-2.toml index 936c8e0..8bee210 100644 --- a/.codex/environments/environment-2.toml +++ b/.codex/environments/environment-2.toml @@ -1,5 +1,6 @@ +# THIS IS AUTOGENERATED. DO NOT EDIT MANUALLY version = 1 -name = "示例 (example)" +name = "示例example" [setup] script = ''' @@ -29,16 +30,16 @@ cmd /c ver bun install --frozen-lockfile''' [cleanup] -script = 'echo "Example cleanup: no extra resources to stop"' +script = "echo \"Example cleanup: no extra resources to stop\"" [cleanup.darwin] -script = 'echo "Example cleanup: macOS, no extra resources to stop"' +script = "echo \"Example cleanup: macOS, no extra resources to stop\"" [cleanup.linux] -script = 'echo "Example cleanup: Linux, no extra resources to stop"' +script = "echo \"Example cleanup: Linux, no extra resources to stop\"" [cleanup.win32] -script = 'echo Example cleanup: Windows, no extra resources to stop' +script = "echo Example cleanup: Windows, no extra resources to stop" [[actions]] name = "示例:运行测试" @@ -48,17 +49,17 @@ command = "bun test" [[actions]] name = "示例:macOS 版本" icon = "tool" -platform = "darwin" command = "sw_vers" +platform = "darwin" [[actions]] name = "示例:Linux 版本" icon = "tool" -platform = "linux" command = "uname -a" +platform = "linux" [[actions]] name = "示例:Windows 版本" icon = "tool" -platform = "win32" command = "cmd /c ver" +platform = "win32"