diff --git a/UPSTREAM_CODEX_VERSION.txt b/UPSTREAM_CODEX_VERSION.txt
index d6cded77..244fb7ef 100644
--- a/UPSTREAM_CODEX_VERSION.txt
+++ b/UPSTREAM_CODEX_VERSION.txt
@@ -1 +1 @@
-0.131.0
+0.133.0
diff --git a/external/codex b/external/codex
index 05eb8678..9474e5cf 160000
--- a/external/codex
+++ b/external/codex
@@ -1 +1 @@
-Subproject commit 05eb8678451435cbc8d79c6d8254276289f2bdf1
+Subproject commit 9474e5cfc4494b0ba319352aa86ce436c59e65c8
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ActivePermissionProfile.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ActivePermissionProfile.g.cs
index e316a6e6..247b88be 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ActivePermissionProfile.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ActivePermissionProfile.g.cs
@@ -14,7 +14,7 @@ internal partial class ActivePermissionProfile
{
///
- /// Parent profile identifier once permissions profiles support inheritance. This is currently always `null`.
+ /// Parent profile identifier from the selected permissions profile's `extends` setting, when present.
///
[System.Text.Json.Serialization.JsonPropertyName("extends")]
public string? Extends { get; set; } = default!;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileFileSystemPermissions.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ActivePermissionProfile2.g.cs
similarity index 92%
rename from src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileFileSystemPermissions.g.cs
rename to src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ActivePermissionProfile2.g.cs
index fdc99f8c..adf6450c 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileFileSystemPermissions.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ActivePermissionProfile2.g.cs
@@ -10,7 +10,7 @@
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 PermissionProfileFileSystemPermissions
+internal partial class ActivePermissionProfile2
{
private System.Collections.Generic.IDictionary? _additionalProperties;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/AutoCompactTokenLimitScope.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/AutoCompactTokenLimitScope.g.cs
new file mode 100644
index 00000000..df0d40a0
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/AutoCompactTokenLimitScope.g.cs
@@ -0,0 +1,28 @@
+//
+#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;
+
+///
+/// Selects which part of the active context is charged against `model_auto_compact_token_limit`.
+///
+[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")]
+internal partial class AutoCompactTokenLimitScope
+{
+
+ 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/FileSystem2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ComputerUse.g.cs
similarity index 95%
rename from src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FileSystem2.g.cs
rename to src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ComputerUse.g.cs
index ce639faa..d0cf9be6 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FileSystem2.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ComputerUse.g.cs
@@ -10,7 +10,7 @@
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 FileSystem2
+internal partial class ComputerUse
{
private System.Collections.Generic.IDictionary? _additionalProperties;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ComputerUseRequirements.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ComputerUseRequirements.g.cs
new file mode 100644
index 00000000..4794b6b9
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ComputerUseRequirements.g.cs
@@ -0,0 +1,28 @@
+//
+#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 ComputerUseRequirements
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("allowLockedComputerUse")]
+ public bool? AllowLockedComputerUse { 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/Config.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Config.g.cs
index 7e97030b..f3dd547a 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Config.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Config.g.cs
@@ -49,6 +49,9 @@ internal partial class Config
[System.Text.Json.Serialization.JsonPropertyName("model_auto_compact_token_limit")]
public long? Model_auto_compact_token_limit { get; set; } = default!;
+ [System.Text.Json.Serialization.JsonPropertyName("model_auto_compact_token_limit_scope")]
+ public Model_auto_compact_token_limit_scope? Model_auto_compact_token_limit_scope { get; set; } = default!;
+
[System.Text.Json.Serialization.JsonPropertyName("model_context_window")]
public long? Model_context_window { get; set; } = default!;
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 1b0b9271..ea04de14 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigRequirements.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ConfigRequirements.g.cs
@@ -19,6 +19,9 @@ internal partial class ConfigRequirements
[System.Text.Json.Serialization.JsonPropertyName("allowedApprovalPolicies")]
public System.Collections.Generic.ICollection? AllowedApprovalPolicies { get; set; } = default!;
+ [System.Text.Json.Serialization.JsonPropertyName("allowedPermissions")]
+ public System.Collections.Generic.ICollection? AllowedPermissions { get; set; } = default!;
+
[System.Text.Json.Serialization.JsonPropertyName("allowedSandboxModes")]
// TODO(system.text.json): Add ItemConverterType with enum converter when supported
public System.Collections.Generic.ICollection? AllowedSandboxModes { get; set; } = default!;
@@ -27,6 +30,9 @@ internal partial class ConfigRequirements
// TODO(system.text.json): Add ItemConverterType with enum converter when supported
public System.Collections.Generic.ICollection? AllowedWebSearchModes { get; set; } = default!;
+ [System.Text.Json.Serialization.JsonPropertyName("computerUse")]
+ public ComputerUse? ComputerUse { get; set; } = default!;
+
[System.Text.Json.Serialization.JsonPropertyName("enforceResidency")]
public EnforceResidency? EnforceResidency { get; set; } = default!;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfile.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Effort2.g.cs
similarity index 86%
rename from src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfile.g.cs
rename to src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Effort2.g.cs
index d31e4f46..71f337ec 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfile.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Effort2.g.cs
@@ -9,11 +9,8 @@
namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2;
-///
-/// Codex owns sandbox construction for this profile.
-///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.5.2.0 (Newtonsoft.Json v13.0.0.0)")]
-internal partial class PermissionProfile
+internal partial class Effort2
{
private System.Collections.Generic.IDictionary? _additionalProperties;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ExperimentalFeatureListParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ExperimentalFeatureListParams.g.cs
index d139fefc..6462f987 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ExperimentalFeatureListParams.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ExperimentalFeatureListParams.g.cs
@@ -25,6 +25,12 @@ internal partial class ExperimentalFeatureListParams
[System.Text.Json.Serialization.JsonPropertyName("limit")]
public int? Limit { get; set; } = default!;
+ ///
+ /// Optional loaded thread id. Pass this when showing feature state for an existing thread so enablement is computed from that thread's refreshed config, including project-local config for the thread's cwd.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("threadId")]
+ public string? ThreadId { get; set; } = default!;
+
private System.Collections.Generic.IDictionary? _additionalProperties;
[System.Text.Json.Serialization.JsonExtensionData]
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FileSystem.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FileSystem.g.cs
new file mode 100644
index 00000000..ef43ffdf
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FileSystem.g.cs
@@ -0,0 +1,25 @@
+//
+#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 FileSystem
+{
+
+ 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/FileSystemAccessMode.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FileSystemAccessMode.g.cs
index 9337147d..c2048127 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FileSystemAccessMode.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/FileSystemAccessMode.g.cs
@@ -21,8 +21,8 @@ internal enum FileSystemAccessMode
Write = 1,
- [System.Runtime.Serialization.EnumMember(Value = @"none")]
- None = 2,
+ [System.Runtime.Serialization.EnumMember(Value = @"deny")]
+ Deny = 2,
}
\ No newline at end of file
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Goal.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Goal.g.cs
new file mode 100644
index 00000000..fa336b25
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Goal.g.cs
@@ -0,0 +1,25 @@
+//
+#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 Goal
+{
+
+ 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/HookEventName.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/HookEventName.g.cs
index 23940ae0..96660469 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/HookEventName.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/HookEventName.g.cs
@@ -41,8 +41,16 @@ internal enum HookEventName
UserPromptSubmit = 6,
+ [System.Runtime.Serialization.EnumMember(Value = @"subagentStart")]
+ SubagentStart = 7,
+
+
+ [System.Runtime.Serialization.EnumMember(Value = @"subagentStop")]
+ SubagentStop = 8,
+
+
[System.Runtime.Serialization.EnumMember(Value = @"stop")]
- Stop = 7,
+ Stop = 9,
}
\ No newline at end of file
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ImageDetail.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ImageDetail.g.cs
index 264a6eb9..884b1541 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ImageDetail.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ImageDetail.g.cs
@@ -13,20 +13,12 @@ namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2;
internal enum ImageDetail
{
- [System.Runtime.Serialization.EnumMember(Value = @"auto")]
- Auto = 0,
-
-
- [System.Runtime.Serialization.EnumMember(Value = @"low")]
- Low = 1,
-
-
[System.Runtime.Serialization.EnumMember(Value = @"high")]
- High = 2,
+ High = 0,
[System.Runtime.Serialization.EnumMember(Value = @"original")]
- Original = 3,
+ Original = 1,
}
\ No newline at end of file
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ManagedHooksRequirements.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ManagedHooksRequirements.g.cs
index 899c5683..af44e147 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ManagedHooksRequirements.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ManagedHooksRequirements.g.cs
@@ -34,6 +34,12 @@ internal partial class ManagedHooksRequirements
[System.Text.Json.Serialization.JsonPropertyName("Stop")]
public System.Collections.Generic.ICollection Stop { get; set; } = new System.Collections.ObjectModel.Collection();
+ [System.Text.Json.Serialization.JsonPropertyName("SubagentStart")]
+ public System.Collections.Generic.ICollection SubagentStart { get; set; } = new System.Collections.ObjectModel.Collection();
+
+ [System.Text.Json.Serialization.JsonPropertyName("SubagentStop")]
+ public System.Collections.Generic.ICollection SubagentStop { get; set; } = new System.Collections.ObjectModel.Collection();
+
[System.Text.Json.Serialization.JsonPropertyName("UserPromptSubmit")]
public System.Collections.Generic.ICollection UserPromptSubmit { get; set; } = new System.Collections.ObjectModel.Collection();
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model.g.cs
index 761d0367..e2ad4556 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model.g.cs
@@ -26,6 +26,12 @@ internal partial class Model
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
public ReasoningEffort DefaultReasoningEffort { get; set; } = default!;
+ ///
+ /// Catalog default service tier id for this model, when one is configured.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("defaultServiceTier")]
+ public string? DefaultServiceTier { get; set; } = default!;
+
[System.Text.Json.Serialization.JsonPropertyName("description")]
public string Description { get; set; } = default!;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_auto_compact_token_limit_scope.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_auto_compact_token_limit_scope.g.cs
new file mode 100644
index 00000000..e1d6fe0d
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Model_auto_compact_token_limit_scope.g.cs
@@ -0,0 +1,25 @@
+//
+#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_auto_compact_token_limit_scope
+{
+
+ 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/PermissionProfileFileSystemPermissionsType.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileFileSystemPermissionsType.g.cs
deleted file mode 100644
index ebc9b297..00000000
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileFileSystemPermissionsType.g.cs
+++ /dev/null
@@ -1,20 +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 enum PermissionProfileFileSystemPermissionsType
-{
-
- [System.Runtime.Serialization.EnumMember(Value = @"restricted")]
- Restricted = 0,
-
-
-}
\ No newline at end of file
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileListParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileListParams.g.cs
new file mode 100644
index 00000000..d5e8f270
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileListParams.g.cs
@@ -0,0 +1,43 @@
+//
+#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 PermissionProfileListParams
+{
+
+ ///
+ /// Opaque pagination cursor returned by a previous call.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("cursor")]
+ public string? Cursor { get; set; } = default!;
+
+ ///
+ /// Optional working directory to resolve project config layers.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("cwd")]
+ public string? Cwd { get; set; } = default!;
+
+ ///
+ /// Optional page size; defaults to the full result set.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("limit")]
+ public int? Limit { 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/PermissionProfileListResponse.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileListResponse.g.cs
new file mode 100644
index 00000000..7fb47b96
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileListResponse.g.cs
@@ -0,0 +1,34 @@
+//
+#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 PermissionProfileListResponse
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("data")]
+ public System.Collections.Generic.ICollection Data { get; set; } = new System.Collections.ObjectModel.Collection();
+
+ ///
+ /// Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("nextCursor")]
+ public string? NextCursor { 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/PermissionProfileSummary.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileSummary.g.cs
new file mode 100644
index 00000000..96727c76
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileSummary.g.cs
@@ -0,0 +1,37 @@
+//
+#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 PermissionProfileSummary
+{
+
+ ///
+ /// Optional user-facing description for display in clients.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("description")]
+ public string? Description { get; set; } = default!;
+
+ ///
+ /// Available permission profile identifier.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("id")]
+ public string Id { 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/PermissionProfileType.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileType.g.cs
deleted file mode 100644
index f41511d6..00000000
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileType.g.cs
+++ /dev/null
@@ -1,20 +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 enum PermissionProfileType
-{
-
- [System.Runtime.Serialization.EnumMember(Value = @"managed")]
- Managed = 0,
-
-
-}
\ No newline at end of file
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Personality5.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Personality5.g.cs
new file mode 100644
index 00000000..c79d4faa
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Personality5.g.cs
@@ -0,0 +1,25 @@
+//
+#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 Personality5
+{
+
+ 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/PluginInstalledParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PluginInstalledParams.g.cs
new file mode 100644
index 00000000..a1803c8c
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PluginInstalledParams.g.cs
@@ -0,0 +1,37 @@
+//
+#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 PluginInstalledParams
+{
+
+ ///
+ /// Optional working directories used to discover repo marketplaces.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("cwds")]
+ public System.Collections.Generic.ICollection? Cwds { get; set; } = default!;
+
+ ///
+ /// Additional uninstalled plugin names that should be returned when present locally. This is used by mention surfaces that intentionally expose install entrypoints.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("installSuggestionPluginNames")]
+ public System.Collections.Generic.ICollection? InstallSuggestionPluginNames { 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/PluginInstalledResponse.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PluginInstalledResponse.g.cs
new file mode 100644
index 00000000..7e703331
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PluginInstalledResponse.g.cs
@@ -0,0 +1,31 @@
+//
+#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 PluginInstalledResponse
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("marketplaceLoadErrors")]
+ public System.Collections.Generic.ICollection? MarketplaceLoadErrors { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("marketplaces")]
+ public System.Collections.Generic.ICollection Marketplaces { get; set; } = new System.Collections.ObjectModel.Collection();
+
+ 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/PluginListMarketplaceKind.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PluginListMarketplaceKind.g.cs
index 2e07a152..6719dc92 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PluginListMarketplaceKind.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PluginListMarketplaceKind.g.cs
@@ -17,12 +17,16 @@ internal enum PluginListMarketplaceKind
Local = 0,
+ [System.Runtime.Serialization.EnumMember(Value = @"vertical")]
+ Vertical = 1,
+
+
[System.Runtime.Serialization.EnumMember(Value = @"workspace-directory")]
- WorkspaceDirectory = 1,
+ WorkspaceDirectory = 2,
[System.Runtime.Serialization.EnumMember(Value = @"shared-with-me")]
- SharedWithMe = 2,
+ SharedWithMe = 3,
}
\ No newline at end of file
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/RequestPermissionProfile.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/RequestPermissionProfile.g.cs
index 813acf80..70ec3891 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/RequestPermissionProfile.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/RequestPermissionProfile.g.cs
@@ -14,7 +14,7 @@ internal partial class RequestPermissionProfile
{
[System.Text.Json.Serialization.JsonPropertyName("fileSystem")]
- public FileSystem2? FileSystem { get; set; } = default!;
+ public FileSystem? FileSystem { get; set; } = default!;
[System.Text.Json.Serialization.JsonPropertyName("network")]
public Network? Network { get; set; } = default!;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Status2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Status2.g.cs
new file mode 100644
index 00000000..ef650024
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Status2.g.cs
@@ -0,0 +1,25 @@
+//
+#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 Status2
+{
+
+ 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/Summary2.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Summary2.g.cs
new file mode 100644
index 00000000..22940bc0
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/Summary2.g.cs
@@ -0,0 +1,25 @@
+//
+#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 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/ThreadForkParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadForkParams.g.cs
index b03692f9..d623a9e2 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadForkParams.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadForkParams.g.cs
@@ -12,7 +12,7 @@ namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2;
///
/// There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.
///
-///
If using path, the thread_id param will be ignored.
+///
If using a non-empty path, the thread_id param will be ignored. Empty string path values are treated as absent.
///
///
Prefer using thread_id whenever possible.
///
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalClearParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalClearParams.g.cs
new file mode 100644
index 00000000..4dabd746
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalClearParams.g.cs
@@ -0,0 +1,28 @@
+//
+#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 ThreadGoalClearParams
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("threadId")]
+ public string ThreadId { 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/PermissionProfileNetworkPermissions.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalClearResponse.g.cs
similarity index 81%
rename from src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileNetworkPermissions.g.cs
rename to src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalClearResponse.g.cs
index f4aff32d..db85a243 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/PermissionProfileNetworkPermissions.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalClearResponse.g.cs
@@ -10,11 +10,11 @@
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 PermissionProfileNetworkPermissions
+internal partial class ThreadGoalClearResponse
{
- [System.Text.Json.Serialization.JsonPropertyName("enabled")]
- public bool Enabled { get; set; } = default!;
+ [System.Text.Json.Serialization.JsonPropertyName("cleared")]
+ public bool Cleared { get; set; } = default!;
private System.Collections.Generic.IDictionary? _additionalProperties;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalGetParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalGetParams.g.cs
new file mode 100644
index 00000000..285edf53
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalGetParams.g.cs
@@ -0,0 +1,28 @@
+//
+#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 ThreadGoalGetParams
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("threadId")]
+ public string ThreadId { 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/ThreadGoalGetResponse.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalGetResponse.g.cs
new file mode 100644
index 00000000..f45213a7
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalGetResponse.g.cs
@@ -0,0 +1,28 @@
+//
+#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 ThreadGoalGetResponse
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("goal")]
+ public Goal? Goal { 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/ThreadGoalSetParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalSetParams.g.cs
new file mode 100644
index 00000000..6de0a6c1
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalSetParams.g.cs
@@ -0,0 +1,37 @@
+//
+#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 ThreadGoalSetParams
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("objective")]
+ public string? Objective { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("status")]
+ public Status2? Status { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("threadId")]
+ public string ThreadId { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("tokenBudget")]
+ public long? TokenBudget { 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/ThreadGoalSetResponse.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalSetResponse.g.cs
new file mode 100644
index 00000000..6525fc70
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalSetResponse.g.cs
@@ -0,0 +1,28 @@
+//
+#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 ThreadGoalSetResponse
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("goal")]
+ public ThreadGoal Goal { get; set; } = new ThreadGoal();
+
+ 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/ThreadGoalStatus.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalStatus.g.cs
index 37fe2b2b..91f719d7 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalStatus.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadGoalStatus.g.cs
@@ -21,12 +21,20 @@ internal enum ThreadGoalStatus
Paused = 1,
+ [System.Runtime.Serialization.EnumMember(Value = @"blocked")]
+ Blocked = 2,
+
+
+ [System.Runtime.Serialization.EnumMember(Value = @"usageLimited")]
+ UsageLimited = 3,
+
+
[System.Runtime.Serialization.EnumMember(Value = @"budgetLimited")]
- BudgetLimited = 2,
+ BudgetLimited = 4,
[System.Runtime.Serialization.EnumMember(Value = @"complete")]
- Complete = 3,
+ Complete = 5,
}
\ No newline at end of file
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadResumeParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadResumeParams.g.cs
index 6f11192e..351c7560 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadResumeParams.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadResumeParams.g.cs
@@ -12,7 +12,9 @@ namespace JKToolKit.CodexSDK.Generated.Upstream.AppServer.V2;
///
/// There are three ways to resume a thread: 1. By thread_id: load the thread from disk by thread_id and resume it. 2. By history: instantiate the thread from memory and resume it. 3. By path: load the thread from disk by path and resume it.
///
-///
The precedence is: history > path > thread_id. If using history or path, the thread_id param will be ignored.
+///
For non-running threads, the precedence is: history > non-empty path > thread_id. If using history or a non-empty path for a non-running thread, the thread_id param will be ignored.
+///
+///
If thread_id identifies a running thread, app-server rejoins that thread and treats a non-empty path as a consistency check against the active rollout path. Empty string path values are treated as absent.
///
///
Prefer using thread_id whenever possible.
///
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadSettings.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadSettings.g.cs
new file mode 100644
index 00000000..81952a13
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadSettings.g.cs
@@ -0,0 +1,63 @@
+//
+#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 ThreadSettings
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("activePermissionProfile")]
+ public ActivePermissionProfile2? ActivePermissionProfile { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("approvalPolicy")]
+ [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
+ public AllowedApprovalPolicies ApprovalPolicy { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("approvalsReviewer")]
+ [System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
+ public ApprovalsReviewer ApprovalsReviewer { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("collaborationMode")]
+ public CollaborationMode CollaborationMode { get; set; } = new CollaborationMode();
+
+ [System.Text.Json.Serialization.JsonPropertyName("cwd")]
+ public string Cwd { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("effort")]
+ public Effort? Effort { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("model")]
+ public string Model { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("modelProvider")]
+ public string ModelProvider { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("personality")]
+ public Personality3? Personality { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("sandboxPolicy")]
+ public Sandbox2 SandboxPolicy { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("serviceTier")]
+ public string? ServiceTier { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("summary")]
+ public Summary? Summary { 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/ThreadSettingsUpdatedNotification.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadSettingsUpdatedNotification.g.cs
new file mode 100644
index 00000000..814f9d59
--- /dev/null
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadSettingsUpdatedNotification.g.cs
@@ -0,0 +1,31 @@
+//
+#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 ThreadSettingsUpdatedNotification
+{
+
+ [System.Text.Json.Serialization.JsonPropertyName("threadId")]
+ public string ThreadId { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("threadSettings")]
+ public ThreadSettings ThreadSettings { get; set; } = new ThreadSettings();
+
+ 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/ThreadStartParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadStartParams.g.cs
index af996e37..35847a7d 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadStartParams.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/ThreadStartParams.g.cs
@@ -44,7 +44,7 @@ internal partial class ThreadStartParams
public string? ModelProvider { get; set; } = default!;
[System.Text.Json.Serialization.JsonPropertyName("personality")]
- public Personality3? Personality { get; set; } = default!;
+ public Personality4? Personality { get; set; } = default!;
[System.Text.Json.Serialization.JsonPropertyName("sandbox")]
public Sandbox4? Sandbox { get; set; } = default!;
diff --git a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/TurnStartParams.g.cs b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/TurnStartParams.g.cs
index d515e229..97e6b396 100644
--- a/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/TurnStartParams.g.cs
+++ b/src/JKToolKit.CodexSDK/Generated/Upstream/AppServer/V2/TurnStartParams.g.cs
@@ -35,7 +35,7 @@ internal partial class TurnStartParams
/// Override the reasoning effort for this turn and subsequent turns.
///
[System.Text.Json.Serialization.JsonPropertyName("effort")]
- public Effort? Effort { get; set; } = default!;
+ public Effort2? Effort { get; set; } = default!;
[System.Text.Json.Serialization.JsonPropertyName("input")]
public System.Collections.Generic.ICollection Input { get; set; } = new System.Collections.ObjectModel.Collection();
@@ -56,7 +56,7 @@ internal partial class TurnStartParams
/// Override the personality for this turn and subsequent turns.
///
[System.Text.Json.Serialization.JsonPropertyName("personality")]
- public Personality4? Personality { get; set; } = default!;
+ public Personality5? Personality { get; set; } = default!;
///
/// Override the sandbox policy for this turn and subsequent turns.
@@ -74,7 +74,7 @@ internal partial class TurnStartParams
/// Override the reasoning summary for this turn and subsequent turns.
///
[System.Text.Json.Serialization.JsonPropertyName("summary")]
- public Summary? Summary { get; set; } = default!;
+ public Summary2? Summary { 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.schema.json b/src/JKToolKit.CodexSDK/Generated/Upstream/appserver.v2.schema.json
index 82a79930..517e39ea 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": 494030,
- "schemaSha256": "22c64aefd7c8eff3d3e511ad2b10adc193f719b1b4dd0854f7e49c72570f1b19",
- "codexCliVersion": "0.131.0",
+ "schemaByteCount": 506984,
+ "schemaSha256": "fe3d7242583858ec481189c54b6f9a8df070c267bad941921567e3ab26a678b9",
+ "codexCliVersion": "0.133.0",
"codexCliVersionPinPath": "UPSTREAM_CODEX_VERSION.txt",
"codexCliPackageJsonPath": "external/codex/codex-cli/package.json"
}
\ No newline at end of file