@openclaw/codex 2026.5.26-beta.1 → 2026.5.26-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -312,11 +312,6 @@ var ThreadResumeResponse_default = {
312
312
  },
313
313
  "model": { "type": "string" },
314
314
  "modelProvider": { "type": "string" },
315
- "permissionProfile": {
316
- "description": "Full active permissions for this thread. `activePermissionProfile` carries display/provenance metadata for this runtime profile.",
317
- "default": null,
318
- "anyOf": [{ "$ref": "#/definitions/PermissionProfile" }, { "type": "null" }]
319
- },
320
315
  "reasoningEffort": { "anyOf": [{ "$ref": "#/definitions/ReasoningEffort" }, { "type": "null" }] },
321
316
  "runtimeWorkspaceRoots": {
322
317
  "description": "Thread-scoped runtime workspace roots used to materialize `:workspace_roots`.",
@@ -325,7 +320,7 @@ var ThreadResumeResponse_default = {
325
320
  "items": { "$ref": "#/definitions/AbsolutePathBuf" }
326
321
  },
327
322
  "sandbox": {
328
- "description": "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `permissionProfile` when they need exact runtime permissions.",
323
+ "description": "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `activePermissionProfile` for profile provenance.",
329
324
  "allOf": [{ "$ref": "#/definitions/SandboxPolicy" }]
330
325
  },
331
326
  "serviceTier": { "type": ["string", "null"] },
@@ -656,125 +651,6 @@ var ThreadResumeResponse_default = {
656
651
  "failed"
657
652
  ]
658
653
  },
659
- "FileSystemAccessMode": {
660
- "type": "string",
661
- "enum": [
662
- "read",
663
- "write",
664
- "none"
665
- ]
666
- },
667
- "FileSystemPath": { "oneOf": [
668
- {
669
- "type": "object",
670
- "required": ["path", "type"],
671
- "properties": {
672
- "path": { "$ref": "#/definitions/AbsolutePathBuf" },
673
- "type": {
674
- "type": "string",
675
- "enum": ["path"],
676
- "title": "PathFileSystemPathType"
677
- }
678
- },
679
- "title": "PathFileSystemPath"
680
- },
681
- {
682
- "type": "object",
683
- "required": ["pattern", "type"],
684
- "properties": {
685
- "pattern": { "type": "string" },
686
- "type": {
687
- "type": "string",
688
- "enum": ["glob_pattern"],
689
- "title": "GlobPatternFileSystemPathType"
690
- }
691
- },
692
- "title": "GlobPatternFileSystemPath"
693
- },
694
- {
695
- "type": "object",
696
- "required": ["type", "value"],
697
- "properties": {
698
- "type": {
699
- "type": "string",
700
- "enum": ["special"],
701
- "title": "SpecialFileSystemPathType"
702
- },
703
- "value": { "$ref": "#/definitions/FileSystemSpecialPath" }
704
- },
705
- "title": "SpecialFileSystemPath"
706
- }
707
- ] },
708
- "FileSystemSandboxEntry": {
709
- "type": "object",
710
- "required": ["access", "path"],
711
- "properties": {
712
- "access": { "$ref": "#/definitions/FileSystemAccessMode" },
713
- "path": { "$ref": "#/definitions/FileSystemPath" }
714
- }
715
- },
716
- "FileSystemSpecialPath": { "oneOf": [
717
- {
718
- "type": "object",
719
- "required": ["kind"],
720
- "properties": { "kind": {
721
- "type": "string",
722
- "enum": ["root"]
723
- } },
724
- "title": "RootFileSystemSpecialPath"
725
- },
726
- {
727
- "type": "object",
728
- "required": ["kind"],
729
- "properties": { "kind": {
730
- "type": "string",
731
- "enum": ["minimal"]
732
- } },
733
- "title": "MinimalFileSystemSpecialPath"
734
- },
735
- {
736
- "type": "object",
737
- "required": ["kind"],
738
- "properties": {
739
- "kind": {
740
- "type": "string",
741
- "enum": ["project_roots"]
742
- },
743
- "subpath": { "type": ["string", "null"] }
744
- },
745
- "title": "KindFileSystemSpecialPath"
746
- },
747
- {
748
- "type": "object",
749
- "required": ["kind"],
750
- "properties": { "kind": {
751
- "type": "string",
752
- "enum": ["tmpdir"]
753
- } },
754
- "title": "TmpdirFileSystemSpecialPath"
755
- },
756
- {
757
- "type": "object",
758
- "required": ["kind"],
759
- "properties": { "kind": {
760
- "type": "string",
761
- "enum": ["slash_tmp"]
762
- } },
763
- "title": "SlashTmpFileSystemSpecialPath"
764
- },
765
- {
766
- "type": "object",
767
- "required": ["kind", "path"],
768
- "properties": {
769
- "kind": {
770
- "type": "string",
771
- "enum": ["unknown"]
772
- },
773
- "path": { "type": "string" },
774
- "subpath": { "type": ["string", "null"] }
775
- }
776
- }
777
- ] },
778
654
  "FileUpdateChange": {
779
655
  "type": "object",
780
656
  "required": [
@@ -804,6 +680,10 @@ var ThreadResumeResponse_default = {
804
680
  "text": { "type": "string" }
805
681
  }
806
682
  },
683
+ "ImageDetail": {
684
+ "type": "string",
685
+ "enum": ["high", "original"]
686
+ },
807
687
  "McpToolCallError": {
808
688
  "type": "object",
809
689
  "required": ["message"],
@@ -930,87 +810,6 @@ var ThreadResumeResponse_default = {
930
810
  "title": "UpdatePatchChangeKind"
931
811
  }
932
812
  ] },
933
- "PermissionProfile": { "oneOf": [
934
- {
935
- "description": "Codex owns sandbox construction for this profile.",
936
- "type": "object",
937
- "required": [
938
- "fileSystem",
939
- "network",
940
- "type"
941
- ],
942
- "properties": {
943
- "fileSystem": { "$ref": "#/definitions/PermissionProfileFileSystemPermissions" },
944
- "network": { "$ref": "#/definitions/PermissionProfileNetworkPermissions" },
945
- "type": {
946
- "type": "string",
947
- "enum": ["managed"],
948
- "title": "ManagedPermissionProfileType"
949
- }
950
- },
951
- "title": "ManagedPermissionProfile"
952
- },
953
- {
954
- "description": "Do not apply an outer sandbox.",
955
- "type": "object",
956
- "required": ["type"],
957
- "properties": { "type": {
958
- "type": "string",
959
- "enum": ["disabled"],
960
- "title": "DisabledPermissionProfileType"
961
- } },
962
- "title": "DisabledPermissionProfile"
963
- },
964
- {
965
- "description": "Filesystem isolation is enforced by an external caller.",
966
- "type": "object",
967
- "required": ["network", "type"],
968
- "properties": {
969
- "network": { "$ref": "#/definitions/PermissionProfileNetworkPermissions" },
970
- "type": {
971
- "type": "string",
972
- "enum": ["external"],
973
- "title": "ExternalPermissionProfileType"
974
- }
975
- },
976
- "title": "ExternalPermissionProfile"
977
- }
978
- ] },
979
- "PermissionProfileFileSystemPermissions": { "oneOf": [{
980
- "type": "object",
981
- "required": ["entries", "type"],
982
- "properties": {
983
- "entries": {
984
- "type": "array",
985
- "items": { "$ref": "#/definitions/FileSystemSandboxEntry" }
986
- },
987
- "globScanMaxDepth": {
988
- "type": ["integer", "null"],
989
- "format": "uint",
990
- "minimum": 1
991
- },
992
- "type": {
993
- "type": "string",
994
- "enum": ["restricted"],
995
- "title": "RestrictedPermissionProfileFileSystemPermissionsType"
996
- }
997
- },
998
- "title": "RestrictedPermissionProfileFileSystemPermissions"
999
- }, {
1000
- "type": "object",
1001
- "required": ["type"],
1002
- "properties": { "type": {
1003
- "type": "string",
1004
- "enum": ["unrestricted"],
1005
- "title": "UnrestrictedPermissionProfileFileSystemPermissionsType"
1006
- } },
1007
- "title": "UnrestrictedPermissionProfileFileSystemPermissions"
1008
- }] },
1009
- "PermissionProfileNetworkPermissions": {
1010
- "type": "object",
1011
- "required": ["enabled"],
1012
- "properties": { "enabled": { "type": "boolean" } }
1013
- },
1014
813
  "ReasoningEffort": {
1015
814
  "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning",
1016
815
  "type": "string",
@@ -1863,6 +1662,10 @@ var ThreadResumeResponse_default = {
1863
1662
  "type": "object",
1864
1663
  "required": ["type", "url"],
1865
1664
  "properties": {
1665
+ "detail": {
1666
+ "default": null,
1667
+ "anyOf": [{ "$ref": "#/definitions/ImageDetail" }, { "type": "null" }]
1668
+ },
1866
1669
  "type": {
1867
1670
  "type": "string",
1868
1671
  "enum": ["image"],
@@ -1876,6 +1679,10 @@ var ThreadResumeResponse_default = {
1876
1679
  "type": "object",
1877
1680
  "required": ["path", "type"],
1878
1681
  "properties": {
1682
+ "detail": {
1683
+ "default": null,
1684
+ "anyOf": [{ "$ref": "#/definitions/ImageDetail" }, { "type": "null" }]
1685
+ },
1879
1686
  "path": { "type": "string" },
1880
1687
  "type": {
1881
1688
  "type": "string",
@@ -2015,11 +1822,6 @@ var ThreadStartResponse_default = {
2015
1822
  },
2016
1823
  "model": { "type": "string" },
2017
1824
  "modelProvider": { "type": "string" },
2018
- "permissionProfile": {
2019
- "description": "Full active permissions for this thread. `activePermissionProfile` carries display/provenance metadata for this runtime profile.",
2020
- "default": null,
2021
- "anyOf": [{ "$ref": "#/definitions/PermissionProfile" }, { "type": "null" }]
2022
- },
2023
1825
  "reasoningEffort": { "anyOf": [{ "$ref": "#/definitions/ReasoningEffort" }, { "type": "null" }] },
2024
1826
  "runtimeWorkspaceRoots": {
2025
1827
  "description": "Thread-scoped runtime workspace roots used to materialize `:workspace_roots`.",
@@ -2028,7 +1830,7 @@ var ThreadStartResponse_default = {
2028
1830
  "items": { "$ref": "#/definitions/AbsolutePathBuf" }
2029
1831
  },
2030
1832
  "sandbox": {
2031
- "description": "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `permissionProfile` when they need exact runtime permissions.",
1833
+ "description": "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `activePermissionProfile` for profile provenance.",
2032
1834
  "allOf": [{ "$ref": "#/definitions/SandboxPolicy" }]
2033
1835
  },
2034
1836
  "serviceTier": { "type": ["string", "null"] },
@@ -2359,125 +2161,6 @@ var ThreadStartResponse_default = {
2359
2161
  "failed"
2360
2162
  ]
2361
2163
  },
2362
- "FileSystemAccessMode": {
2363
- "type": "string",
2364
- "enum": [
2365
- "read",
2366
- "write",
2367
- "none"
2368
- ]
2369
- },
2370
- "FileSystemPath": { "oneOf": [
2371
- {
2372
- "type": "object",
2373
- "required": ["path", "type"],
2374
- "properties": {
2375
- "path": { "$ref": "#/definitions/AbsolutePathBuf" },
2376
- "type": {
2377
- "type": "string",
2378
- "enum": ["path"],
2379
- "title": "PathFileSystemPathType"
2380
- }
2381
- },
2382
- "title": "PathFileSystemPath"
2383
- },
2384
- {
2385
- "type": "object",
2386
- "required": ["pattern", "type"],
2387
- "properties": {
2388
- "pattern": { "type": "string" },
2389
- "type": {
2390
- "type": "string",
2391
- "enum": ["glob_pattern"],
2392
- "title": "GlobPatternFileSystemPathType"
2393
- }
2394
- },
2395
- "title": "GlobPatternFileSystemPath"
2396
- },
2397
- {
2398
- "type": "object",
2399
- "required": ["type", "value"],
2400
- "properties": {
2401
- "type": {
2402
- "type": "string",
2403
- "enum": ["special"],
2404
- "title": "SpecialFileSystemPathType"
2405
- },
2406
- "value": { "$ref": "#/definitions/FileSystemSpecialPath" }
2407
- },
2408
- "title": "SpecialFileSystemPath"
2409
- }
2410
- ] },
2411
- "FileSystemSandboxEntry": {
2412
- "type": "object",
2413
- "required": ["access", "path"],
2414
- "properties": {
2415
- "access": { "$ref": "#/definitions/FileSystemAccessMode" },
2416
- "path": { "$ref": "#/definitions/FileSystemPath" }
2417
- }
2418
- },
2419
- "FileSystemSpecialPath": { "oneOf": [
2420
- {
2421
- "type": "object",
2422
- "required": ["kind"],
2423
- "properties": { "kind": {
2424
- "type": "string",
2425
- "enum": ["root"]
2426
- } },
2427
- "title": "RootFileSystemSpecialPath"
2428
- },
2429
- {
2430
- "type": "object",
2431
- "required": ["kind"],
2432
- "properties": { "kind": {
2433
- "type": "string",
2434
- "enum": ["minimal"]
2435
- } },
2436
- "title": "MinimalFileSystemSpecialPath"
2437
- },
2438
- {
2439
- "type": "object",
2440
- "required": ["kind"],
2441
- "properties": {
2442
- "kind": {
2443
- "type": "string",
2444
- "enum": ["project_roots"]
2445
- },
2446
- "subpath": { "type": ["string", "null"] }
2447
- },
2448
- "title": "KindFileSystemSpecialPath"
2449
- },
2450
- {
2451
- "type": "object",
2452
- "required": ["kind"],
2453
- "properties": { "kind": {
2454
- "type": "string",
2455
- "enum": ["tmpdir"]
2456
- } },
2457
- "title": "TmpdirFileSystemSpecialPath"
2458
- },
2459
- {
2460
- "type": "object",
2461
- "required": ["kind"],
2462
- "properties": { "kind": {
2463
- "type": "string",
2464
- "enum": ["slash_tmp"]
2465
- } },
2466
- "title": "SlashTmpFileSystemSpecialPath"
2467
- },
2468
- {
2469
- "type": "object",
2470
- "required": ["kind", "path"],
2471
- "properties": {
2472
- "kind": {
2473
- "type": "string",
2474
- "enum": ["unknown"]
2475
- },
2476
- "path": { "type": "string" },
2477
- "subpath": { "type": ["string", "null"] }
2478
- }
2479
- }
2480
- ] },
2481
2164
  "FileUpdateChange": {
2482
2165
  "type": "object",
2483
2166
  "required": [
@@ -2507,6 +2190,10 @@ var ThreadStartResponse_default = {
2507
2190
  "text": { "type": "string" }
2508
2191
  }
2509
2192
  },
2193
+ "ImageDetail": {
2194
+ "type": "string",
2195
+ "enum": ["high", "original"]
2196
+ },
2510
2197
  "McpToolCallError": {
2511
2198
  "type": "object",
2512
2199
  "required": ["message"],
@@ -2633,87 +2320,6 @@ var ThreadStartResponse_default = {
2633
2320
  "title": "UpdatePatchChangeKind"
2634
2321
  }
2635
2322
  ] },
2636
- "PermissionProfile": { "oneOf": [
2637
- {
2638
- "description": "Codex owns sandbox construction for this profile.",
2639
- "type": "object",
2640
- "required": [
2641
- "fileSystem",
2642
- "network",
2643
- "type"
2644
- ],
2645
- "properties": {
2646
- "fileSystem": { "$ref": "#/definitions/PermissionProfileFileSystemPermissions" },
2647
- "network": { "$ref": "#/definitions/PermissionProfileNetworkPermissions" },
2648
- "type": {
2649
- "type": "string",
2650
- "enum": ["managed"],
2651
- "title": "ManagedPermissionProfileType"
2652
- }
2653
- },
2654
- "title": "ManagedPermissionProfile"
2655
- },
2656
- {
2657
- "description": "Do not apply an outer sandbox.",
2658
- "type": "object",
2659
- "required": ["type"],
2660
- "properties": { "type": {
2661
- "type": "string",
2662
- "enum": ["disabled"],
2663
- "title": "DisabledPermissionProfileType"
2664
- } },
2665
- "title": "DisabledPermissionProfile"
2666
- },
2667
- {
2668
- "description": "Filesystem isolation is enforced by an external caller.",
2669
- "type": "object",
2670
- "required": ["network", "type"],
2671
- "properties": {
2672
- "network": { "$ref": "#/definitions/PermissionProfileNetworkPermissions" },
2673
- "type": {
2674
- "type": "string",
2675
- "enum": ["external"],
2676
- "title": "ExternalPermissionProfileType"
2677
- }
2678
- },
2679
- "title": "ExternalPermissionProfile"
2680
- }
2681
- ] },
2682
- "PermissionProfileFileSystemPermissions": { "oneOf": [{
2683
- "type": "object",
2684
- "required": ["entries", "type"],
2685
- "properties": {
2686
- "entries": {
2687
- "type": "array",
2688
- "items": { "$ref": "#/definitions/FileSystemSandboxEntry" }
2689
- },
2690
- "globScanMaxDepth": {
2691
- "type": ["integer", "null"],
2692
- "format": "uint",
2693
- "minimum": 1
2694
- },
2695
- "type": {
2696
- "type": "string",
2697
- "enum": ["restricted"],
2698
- "title": "RestrictedPermissionProfileFileSystemPermissionsType"
2699
- }
2700
- },
2701
- "title": "RestrictedPermissionProfileFileSystemPermissions"
2702
- }, {
2703
- "type": "object",
2704
- "required": ["type"],
2705
- "properties": { "type": {
2706
- "type": "string",
2707
- "enum": ["unrestricted"],
2708
- "title": "UnrestrictedPermissionProfileFileSystemPermissionsType"
2709
- } },
2710
- "title": "UnrestrictedPermissionProfileFileSystemPermissions"
2711
- }] },
2712
- "PermissionProfileNetworkPermissions": {
2713
- "type": "object",
2714
- "required": ["enabled"],
2715
- "properties": { "enabled": { "type": "boolean" } }
2716
- },
2717
2323
  "ReasoningEffort": {
2718
2324
  "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning",
2719
2325
  "type": "string",
@@ -3566,6 +3172,10 @@ var ThreadStartResponse_default = {
3566
3172
  "type": "object",
3567
3173
  "required": ["type", "url"],
3568
3174
  "properties": {
3175
+ "detail": {
3176
+ "default": null,
3177
+ "anyOf": [{ "$ref": "#/definitions/ImageDetail" }, { "type": "null" }]
3178
+ },
3569
3179
  "type": {
3570
3180
  "type": "string",
3571
3181
  "enum": ["image"],
@@ -3579,6 +3189,10 @@ var ThreadStartResponse_default = {
3579
3189
  "type": "object",
3580
3190
  "required": ["path", "type"],
3581
3191
  "properties": {
3192
+ "detail": {
3193
+ "default": null,
3194
+ "anyOf": [{ "$ref": "#/definitions/ImageDetail" }, { "type": "null" }]
3195
+ },
3582
3196
  "path": { "type": "string" },
3583
3197
  "type": {
3584
3198
  "type": "string",
@@ -3980,6 +3594,10 @@ var TurnCompletedNotification_default = {
3980
3594
  "text": { "type": "string" }
3981
3595
  }
3982
3596
  },
3597
+ "ImageDetail": {
3598
+ "type": "string",
3599
+ "enum": ["high", "original"]
3600
+ },
3983
3601
  "McpToolCallError": {
3984
3602
  "type": "object",
3985
3603
  "required": ["message"],
@@ -4653,6 +4271,10 @@ var TurnCompletedNotification_default = {
4653
4271
  "type": "object",
4654
4272
  "required": ["type", "url"],
4655
4273
  "properties": {
4274
+ "detail": {
4275
+ "default": null,
4276
+ "anyOf": [{ "$ref": "#/definitions/ImageDetail" }, { "type": "null" }]
4277
+ },
4656
4278
  "type": {
4657
4279
  "type": "string",
4658
4280
  "enum": ["image"],
@@ -4666,6 +4288,10 @@ var TurnCompletedNotification_default = {
4666
4288
  "type": "object",
4667
4289
  "required": ["path", "type"],
4668
4290
  "properties": {
4291
+ "detail": {
4292
+ "default": null,
4293
+ "anyOf": [{ "$ref": "#/definitions/ImageDetail" }, { "type": "null" }]
4294
+ },
4669
4295
  "path": { "type": "string" },
4670
4296
  "type": {
4671
4297
  "type": "string",
@@ -5064,6 +4690,10 @@ var TurnStartResponse_default = {
5064
4690
  "text": { "type": "string" }
5065
4691
  }
5066
4692
  },
4693
+ "ImageDetail": {
4694
+ "type": "string",
4695
+ "enum": ["high", "original"]
4696
+ },
5067
4697
  "McpToolCallError": {
5068
4698
  "type": "object",
5069
4699
  "required": ["message"],
@@ -5737,6 +5367,10 @@ var TurnStartResponse_default = {
5737
5367
  "type": "object",
5738
5368
  "required": ["type", "url"],
5739
5369
  "properties": {
5370
+ "detail": {
5371
+ "default": null,
5372
+ "anyOf": [{ "$ref": "#/definitions/ImageDetail" }, { "type": "null" }]
5373
+ },
5740
5374
  "type": {
5741
5375
  "type": "string",
5742
5376
  "enum": ["image"],
@@ -5750,6 +5384,10 @@ var TurnStartResponse_default = {
5750
5384
  "type": "object",
5751
5385
  "required": ["path", "type"],
5752
5386
  "properties": {
5387
+ "detail": {
5388
+ "default": null,
5389
+ "anyOf": [{ "$ref": "#/definitions/ImageDetail" }, { "type": "null" }]
5390
+ },
5753
5391
  "path": { "type": "string" },
5754
5392
  "type": {
5755
5393
  "type": "string",
package/dist/provider.js CHANGED
@@ -123,7 +123,7 @@ async function listModelsBestEffort(params) {
123
123
  }
124
124
  }
125
125
  async function listCodexAppServerModelsLazy(options) {
126
- const { listCodexAppServerModels } = await import("./models-ASKu9eOY.js").then((n) => n.r);
126
+ const { listCodexAppServerModels } = await import("./models-_XwpqjR8.js").then((n) => n.r);
127
127
  return listCodexAppServerModels(options);
128
128
  }
129
129
  function normalizeTimeoutMs(value) {
@@ -1,6 +1,6 @@
1
1
  import { n as CodexAppServerRpcError } from "./client-BVK_jmHW.js";
2
- import { S as buildCodexAppInventoryCacheKey } from "./thread-lifecycle-BapIT9Qs.js";
3
- import { f as resolveCodexAppServerHomeDir, i as getSharedCodexAppServerClient, o as withTimeout, r as createIsolatedCodexAppServerClient } from "./shared-client-Fou5nAyt.js";
2
+ import { S as buildCodexAppInventoryCacheKey } from "./thread-lifecycle-CUXQezJL.js";
3
+ import { a as releaseLeasedSharedCodexAppServerClient, c as withTimeout, i as getLeasedSharedCodexAppServerClient, m as resolveCodexAppServerHomeDir, r as createIsolatedCodexAppServerClient } from "./shared-client-8kIrP817.js";
4
4
  import { t as resolveCodexAppServerDirectSandboxBypassBlock } from "./sandbox-guard-CTnEWuor.js";
5
5
  import { createHash } from "node:crypto";
6
6
  //#region extensions/codex/src/app-server/capabilities.ts
@@ -77,7 +77,7 @@ async function requestCodexAppServerJson(params) {
77
77
  if (sandboxBlock) throw new Error(sandboxBlock);
78
78
  const timeoutMs = params.timeoutMs ?? 6e4;
79
79
  return await withTimeout((async () => {
80
- const client = await (params.isolated ? createIsolatedCodexAppServerClient : getSharedCodexAppServerClient)({
80
+ const client = await (params.isolated ? createIsolatedCodexAppServerClient : getLeasedSharedCodexAppServerClient)({
81
81
  startOptions: params.startOptions,
82
82
  timeoutMs,
83
83
  authProfileId: params.authProfileId,
@@ -91,6 +91,7 @@ async function requestCodexAppServerJson(params) {
91
91
  exitTimeoutMs: 2e3,
92
92
  forceKillDelayMs: 250
93
93
  });
94
+ else releaseLeasedSharedCodexAppServerClient(client);
94
95
  }
95
96
  })(), timeoutMs, `codex app-server ${params.method} timed out`);
96
97
  }