diff --git a/UPSTREAM_CODEX_VERSION.txt b/UPSTREAM_CODEX_VERSION.txt index 244fb7ef..a0cd28f2 100644 --- a/UPSTREAM_CODEX_VERSION.txt +++ b/UPSTREAM_CODEX_VERSION.txt @@ -1 +1 @@ -0.133.0 +0.134.0 diff --git a/external/codex b/external/codex index 9474e5cf..a75c443f 160000 --- a/external/codex +++ b/external/codex @@ -1 +1 @@ -Subproject commit 9474e5cfc4494b0ba319352aa86ce436c59e65c8 +Subproject commit a75c443fdb64db48c3cf4bdb247c7ee52c0144c9 diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Approvals_reviewer2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Approvals_reviewer2.g.cs deleted file mode 100644 index 830dceae..00000000 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Approvals_reviewer2.g.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -#nullable enable - -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; - -[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")] -internal partial class Approvals_reviewer2 -{ - - private System.Collections.Generic.IDictionary? _additionalProperties; - - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - -} \ No newline at end of file diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Config.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Config.g.cs index f3dd547a..8fce3564 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Config.g.cs +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Config.g.cs @@ -67,12 +67,6 @@ internal partial class Config [System.Text.Json.Serialization.JsonPropertyName("model_verbosity")] public Model_verbosity? Model_verbosity { get; set; } = default!; - [System.Text.Json.Serialization.JsonPropertyName("profile")] - public string? Profile { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("profiles")] - public System.Collections.Generic.IDictionary? Profiles { get; set; } = default!; - [System.Text.Json.Serialization.JsonPropertyName("review_model")] public string? Review_model { get; set; } = default!; diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigReadParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigReadParams.g.cs index 7661523b..a0f6b812 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigReadParams.g.cs +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigReadParams.g.cs @@ -20,7 +20,7 @@ internal partial class ConfigReadParams public string? Cwd { get; set; } = default!; [System.Text.Json.Serialization.JsonPropertyName("includeLayers")] - public bool? IncludeLayers { get; set; } = false; + public bool? IncludeLayers { get; set; } = default!; private System.Collections.Generic.IDictionary? _additionalProperties; diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigRequirements.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigRequirements.g.cs index ea04de14..ed3ff2f3 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigRequirements.g.cs +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigRequirements.g.cs @@ -13,6 +13,9 @@ namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; internal partial class ConfigRequirements { + [System.Text.Json.Serialization.JsonPropertyName("allowAppshots")] + public bool? AllowAppshots { get; set; } = default!; + [System.Text.Json.Serialization.JsonPropertyName("allowManagedHooksOnly")] public bool? AllowManagedHooksOnly { get; set; } = default!; diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FeedbackUploadParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FeedbackUploadParams.g.cs index d320bc20..342a7b11 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FeedbackUploadParams.g.cs +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FeedbackUploadParams.g.cs @@ -20,7 +20,7 @@ internal partial class FeedbackUploadParams public System.Collections.Generic.ICollection? ExtraLogFiles { get; set; } = default!; [System.Text.Json.Serialization.JsonPropertyName("includeLogs")] - public bool IncludeLogs { get; set; } = default!; + public bool? IncludeLogs { get; set; } = default!; [System.Text.Json.Serialization.JsonPropertyName("reason")] public string? Reason { get; set; } = default!; diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/GetAccountParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/GetAccountParams.g.cs index 1243509d..167daf8b 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/GetAccountParams.g.cs +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/GetAccountParams.g.cs @@ -19,7 +19,7 @@ internal partial class GetAccountParams ///
In managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`. /// [System.Text.Json.Serialization.JsonPropertyName("refreshToken")] - public bool? RefreshToken { get; set; } = false; + public bool? RefreshToken { get; set; } = default!; private System.Collections.Generic.IDictionary? _additionalProperties; diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_reasoning_effort2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_reasoning_effort2.g.cs deleted file mode 100644 index bc8af510..00000000 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_reasoning_effort2.g.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -#nullable enable - -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; - -[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")] -internal partial class Model_reasoning_effort2 -{ - - private System.Collections.Generic.IDictionary? _additionalProperties; - - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - -} \ No newline at end of file diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_reasoning_summary2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_reasoning_summary2.g.cs deleted file mode 100644 index 46d5e85b..00000000 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_reasoning_summary2.g.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -#nullable enable - -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; - -[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")] -internal partial class Model_reasoning_summary2 -{ - - private System.Collections.Generic.IDictionary? _additionalProperties; - - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - -} \ No newline at end of file diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_verbosity2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_verbosity2.g.cs deleted file mode 100644 index c0cebc1c..00000000 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_verbosity2.g.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -#nullable enable - -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; - -[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")] -internal partial class Model_verbosity2 -{ - - private System.Collections.Generic.IDictionary? _additionalProperties; - - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - -} \ No newline at end of file diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ProfileV2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ProfileV2.g.cs deleted file mode 100644 index 8096226e..00000000 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ProfileV2.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -// -#nullable enable - -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; - -[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")] -internal partial class ProfileV2 -{ - - [System.Text.Json.Serialization.JsonPropertyName("approval_policy")] - public Approval_policy2? Approval_policy { get; set; } = default!; - - /// - /// [UNSTABLE] Optional profile-level override for where approval requests are routed for review. If omitted, the enclosing config default is used. - /// - [System.Text.Json.Serialization.JsonPropertyName("approvals_reviewer")] - public Approvals_reviewer2? Approvals_reviewer { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("chatgpt_base_url")] - public string? Chatgpt_base_url { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("model")] - public string? Model { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("model_provider")] - public string? Model_provider { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("model_reasoning_effort")] - public Model_reasoning_effort2? Model_reasoning_effort { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("model_reasoning_summary")] - public Model_reasoning_summary2? Model_reasoning_summary { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("model_verbosity")] - public Model_verbosity2? Model_verbosity { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("service_tier")] - public string? Service_tier { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("tools")] - public Tools3? Tools { get; set; } = default!; - - [System.Text.Json.Serialization.JsonPropertyName("web_search")] - public Web_search2? Web_search { get; set; } = default!; - - private System.Collections.Generic.IDictionary? _additionalProperties; - - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - -} \ No newline at end of file diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadReadParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadReadParams.g.cs index f7bc27e3..9dc6e98d 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadReadParams.g.cs +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadReadParams.g.cs @@ -17,7 +17,7 @@ internal partial class ThreadReadParams /// When true, include turns and their items from rollout history. /// [System.Text.Json.Serialization.JsonPropertyName("includeTurns")] - public bool? IncludeTurns { get; set; } = false; + public bool? IncludeTurns { get; set; } = default!; [System.Text.Json.Serialization.JsonPropertyName("threadId")] public string ThreadId { get; set; } = default!; diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Approval_policy2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadSearchResult.g.cs similarity index 73% rename from src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Approval_policy2.g.cs rename to src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadSearchResult.g.cs index 302cd59b..d0093bbd 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Approval_policy2.g.cs +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadSearchResult.g.cs @@ -10,9 +10,15 @@ namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")] -internal partial class Approval_policy2 +internal partial class ThreadSearchResult { + [System.Text.Json.Serialization.JsonPropertyName("snippet")] + public string Snippet { get; set; } = default!; + + [System.Text.Json.Serialization.JsonPropertyName("thread")] + public Thread Thread { get; set; } = new Thread(); + private System.Collections.Generic.IDictionary? _additionalProperties; [System.Text.Json.Serialization.JsonExtensionData] diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Tools3.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Tools3.g.cs deleted file mode 100644 index 9ccd7b40..00000000 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Tools3.g.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -#nullable enable - -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; - -[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")] -internal partial class Tools3 -{ - - private System.Collections.Generic.IDictionary? _additionalProperties; - - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - -} \ No newline at end of file diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ToolsV2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ToolsV2.g.cs index c45b6efb..251bcb36 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ToolsV2.g.cs +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ToolsV2.g.cs @@ -14,7 +14,7 @@ internal partial class ToolsV2 { [System.Text.Json.Serialization.JsonPropertyName("web_search")] - public Web_search3? Web_search { get; set; } = default!; + public Web_search2? Web_search { get; set; } = default!; private System.Collections.Generic.IDictionary? _additionalProperties; diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Web_search3.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Web_search3.g.cs deleted file mode 100644 index dfe8e887..00000000 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Web_search3.g.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -#nullable enable - -using System; -using System.CodeDom.Compiler; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2; - -[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")] -internal partial class Web_search3 -{ - - private System.Collections.Generic.IDictionary? _additionalProperties; - - [System.Text.Json.Serialization.JsonExtensionData] - public System.Collections.Generic.IDictionary AdditionalProperties - { - get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } - set { _additionalProperties = value; } - } - -} \ No newline at end of file diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/appserver.v2.schema.json b/src/JKToolKit.CodexSDK/Generated/Upstream/appserver.v2.schema.json index 517e39ea..f41ad95d 100644 --- a/src/JKToolKit.CodexSDK/Generated/Upstream/appserver.v2.schema.json +++ b/src/JKToolKit.CodexSDK/Generated/Upstream/appserver.v2.schema.json @@ -1,8 +1,8 @@ { "schemaPath": "external/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json", - "schemaByteCount": 506984, - "schemaSha256": "fe3d7242583858ec481189c54b6f9a8df070c267bad941921567e3ab26a678b9", - "codexCliVersion": "0.133.0", + "schemaByteCount": 504567, + "schemaSha256": "720c5d9901e8bca0b367a1ab520b8172428c83509ade0b332071f061da0238f0", + "codexCliVersion": "0.134.0", "codexCliVersionPinPath": "UPSTREAM_CODEX_VERSION.txt", "codexCliPackageJsonPath": "external/codex/codex-cli/package.json" } \ No newline at end of file