feat: annotate experimental fields in app server protocol

This commit is contained in:
Michael Bolin
2026-01-30 01:39:13 -08:00
parent d550fbf41a
commit b53b2de0c0
554 changed files with 86411 additions and 35 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -euo pipefail
script_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
codex_rs_dir="$(cd -- "${script_dir}/.." && pwd)"
cd "${codex_rs_dir}"
tmp="$(mktemp -d)"
trap 'rm -rf "$tmp"' EXIT
cargo run -p codex-app-server-protocol-stable-export -- --out "$tmp"
ts_dir="app-server-ts-types/stable"
json_dir="app-server-json-schema/stable"
rm -rf "$ts_dir" "$json_dir"
mkdir -p "$ts_dir" "$json_dir"
rsync -a --include "*/" --include "*.ts" --exclude "*" "$tmp"/ "$ts_dir"/
rsync -a --include "*/" --include "*.json" --exclude "*" "$tmp"/ "$json_dir"/