fix: sync codex app-server protocol drift · openclaw/openclaw@5808386
steipete
·
2026-05-16
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server/protocol-generated/json/v2
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,6 +19,7 @@ Docs: https://docs.openclaw.ai
|
19 | 19 | |
20 | 20 | - Agents/sessions: preserve fresh post-compaction token snapshots across stale usage updates, preventing repeated auto-compaction after every message. Fixes #82576. (#82578) Thanks @njuboy11. |
21 | 21 | - Gateway/sessions: discard stale metadata when recreating dead main session rows, so replacement sessions do not inherit old labels or transcript paths. |
| 22 | +- Codex app-server: mark native context compaction completion events as successful, preventing false "Compaction incomplete" notices after successful Codex-managed compaction. Fixes #82470. (#81593) Thanks @Kyzcreig. |
22 | 23 | - Gateway/WebChat: route image attachments through a configured vision-capable `imageModel` plan before inlining images, and carry that image-model fallback chain through runtime retries. (#82524) Thanks @frankekn. |
23 | 24 | - WebChat: show progress while manual `/compact` is running by streaming a session operation event to subscribed Control UI clients. Fixes #82407. Thanks @Conan-Scott. |
24 | 25 | - Codex app-server: limit canonical OpenAI Codex app-server attribution rewrites to local transcript and trajectory records, leaving runtime/tool routing on the selected OpenAI model metadata so OpenAI API-key backup profiles keep their billing path. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -74,6 +74,14 @@
|
74 | 74 | } |
75 | 75 | ] |
76 | 76 | }, |
| 77 | +"runtimeWorkspaceRoots": { |
| 78 | +"description": "Thread-scoped runtime workspace roots used to materialize `:workspace_roots`.", |
| 79 | +"default": [], |
| 80 | +"type": "array", |
| 81 | +"items": { |
| 82 | +"$ref": "#/definitions/AbsolutePathBuf" |
| 83 | + } |
| 84 | + }, |
77 | 85 | "sandbox": { |
78 | 86 | "description": "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `permissionProfile` when they need exact runtime permissions.", |
79 | 87 | "allOf": [ |
|
114 | 122 | "id": { |
115 | 123 | "description": "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", |
116 | 124 | "type": "string" |
117 | | - }, |
118 | | -"modifications": { |
119 | | -"description": "Bounded user-requested modifications applied on top of the named profile, if any.", |
120 | | -"default": [], |
121 | | -"type": "array", |
122 | | -"items": { |
123 | | -"$ref": "#/definitions/ActivePermissionProfileModification" |
124 | | - } |
125 | 125 | } |
126 | 126 | } |
127 | 127 | }, |
128 | | -"ActivePermissionProfileModification": { |
129 | | -"oneOf": [ |
130 | | - { |
131 | | -"description": "Additional concrete directory that should be writable.", |
132 | | -"type": "object", |
133 | | -"required": [ |
134 | | -"path", |
135 | | -"type" |
136 | | - ], |
137 | | -"properties": { |
138 | | -"path": { |
139 | | -"$ref": "#/definitions/AbsolutePathBuf" |
140 | | - }, |
141 | | -"type": { |
142 | | -"type": "string", |
143 | | -"enum": [ |
144 | | -"additionalWritableRoot" |
145 | | - ], |
146 | | -"title": "AdditionalWritableRootActivePermissionProfileModificationType" |
147 | | - } |
148 | | - }, |
149 | | -"title": "AdditionalWritableRootActivePermissionProfileModification" |
150 | | - } |
151 | | - ] |
152 | | - }, |
153 | 128 | "AgentPath": { |
154 | 129 | "type": "string" |
155 | 130 | }, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -74,6 +74,14 @@
|
74 | 74 | } |
75 | 75 | ] |
76 | 76 | }, |
| 77 | +"runtimeWorkspaceRoots": { |
| 78 | +"description": "Thread-scoped runtime workspace roots used to materialize `:workspace_roots`.", |
| 79 | +"default": [], |
| 80 | +"type": "array", |
| 81 | +"items": { |
| 82 | +"$ref": "#/definitions/AbsolutePathBuf" |
| 83 | + } |
| 84 | + }, |
77 | 85 | "sandbox": { |
78 | 86 | "description": "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `permissionProfile` when they need exact runtime permissions.", |
79 | 87 | "allOf": [ |
|
114 | 122 | "id": { |
115 | 123 | "description": "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", |
116 | 124 | "type": "string" |
117 | | - }, |
118 | | -"modifications": { |
119 | | -"description": "Bounded user-requested modifications applied on top of the named profile, if any.", |
120 | | -"default": [], |
121 | | -"type": "array", |
122 | | -"items": { |
123 | | -"$ref": "#/definitions/ActivePermissionProfileModification" |
124 | | - } |
125 | 125 | } |
126 | 126 | } |
127 | 127 | }, |
128 | | -"ActivePermissionProfileModification": { |
129 | | -"oneOf": [ |
130 | | - { |
131 | | -"description": "Additional concrete directory that should be writable.", |
132 | | -"type": "object", |
133 | | -"required": [ |
134 | | -"path", |
135 | | -"type" |
136 | | - ], |
137 | | -"properties": { |
138 | | -"path": { |
139 | | -"$ref": "#/definitions/AbsolutePathBuf" |
140 | | - }, |
141 | | -"type": { |
142 | | -"type": "string", |
143 | | -"enum": [ |
144 | | -"additionalWritableRoot" |
145 | | - ], |
146 | | -"title": "AdditionalWritableRootActivePermissionProfileModificationType" |
147 | | - } |
148 | | - }, |
149 | | -"title": "AdditionalWritableRootActivePermissionProfileModification" |
150 | | - } |
151 | | - ] |
152 | | - }, |
153 | 128 | "AgentPath": { |
154 | 129 | "type": "string" |
155 | 130 | }, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -44,18 +44,15 @@ const checks: Array<{ file: string; snippets: string[] }> = [
|
44 | 44 | { |
45 | 45 | file: "v2/ThreadStartParams.ts", |
46 | 46 | snippets: [ |
47 | | -"permissions?: PermissionProfileSelectionParams | null", |
| 47 | +"permissions?: string | null", |
48 | 48 | "dynamicTools?: Array<DynamicToolSpec> | null", |
49 | 49 | "experimentalRawEvents: boolean", |
50 | 50 | "persistExtendedHistory: boolean", |
51 | 51 | ], |
52 | 52 | }, |
53 | 53 | { |
54 | 54 | file: "v2/TurnStartParams.ts", |
55 | | -snippets: [ |
56 | | -"permissions?: PermissionProfileSelectionParams | null", |
57 | | -"serviceTier?: string | null", |
58 | | -], |
| 55 | +snippets: ["permissions?: string | null", "serviceTier?: string | null"], |
59 | 56 | }, |
60 | 57 | { |
61 | 58 | file: "ReviewDecision.ts", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。