a448194b81
Phase 0: - Rename runtime API metadata to CodeWhale Runtime API while keeping DeepSeek-prefixed env vars and headers as aliases. - Add CODEWHALE_RUNTIME_TOKEN primary with DEEPSEEK_RUNTIME_TOKEN fallback. - Accept x-codewhale-runtime-token header alongside x-deepseek-runtime-token. - Change generated token prefix from dst_ to cwrt_. - Add runtime_api_version, codewhale_version, transports, capabilities, and experimental to /v1/runtime/info while preserving old fields. - Update CLI help for --auth-token and --cors-origin. - Add CODEWHALE_CORS_ORIGINS with DEEPSEEK_CORS_ORIGINS alias. Phase 1: - Split inline pub mod runtime into crates/protocol/src/runtime/mod.rs. - Add DynamicToolSpec, DynamicToolItemStatus, DynamicToolCallParams, DynamicToolCallResult, DynamicToolCallContent, and TurnEnvironmentParams. - Accept dynamic_tools and environments on thread create, plus dynamic_tools and environment_id on turn start (no-op in Phase 0/1). Tests: - Update existing auth/health/runtime_info tests for new naming. - Add header alias tests and dynamic-tool request deserialization tests. - Add protocol crate round-trip tests for all new types. Co-authored-by: CodeWhale Agent <codewhale-agent@hmbown.local>