You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/claude-code-go-rewrite-plan.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,7 @@ test/parity/ # golden tests against TS/official behavior
200
200
- 本轮补充:remote history pagination 现在也接受 `previousPageToken`/`prevPageToken`/`olderPageToken`、`previousToken`/`prevToken`/`olderToken` 及 snake_case 形式,响应字段、link object 和 link URL query 参数都会归一到续抓 before-id。
201
201
- 本轮补充:remote history pagination 现在也接受相邻 before-cursor aliases,包括 `before`、`beforeID`、`olderThan`、`endingBefore` 和 `untilId`,响应字段、link object 和 link URL query 参数都会归一到续抓 before-id。
202
202
- 本轮补充:remote history pagination 现在也接受 OData next-link 字段 `@odata.nextLink`、`odata.nextLink` 和 `__next`,并从 `$skiptoken`/`skipToken` link query 参数提取续抓 cursor。
203
+
- 本轮补充:remote history 普通事件数组现在也接受 JSON:API/resource-style 元素,事件 payload 可放在 `attributes` 或 `properties` 里,并使用外层 resource `id` 作为 SDK event ID fallback。
203
204
- 本轮补充:remote history fetch 把 HTTP 204 和 200 空 body 视为空的终止页,避免空历史响应被标成 incomplete 或触发 JSON EOF。
204
205
- 本轮补充:contract `ID` JSON 读取现在接受 JSON number/null,remote history event/message/session/parent ID alias 可继承数字 ID 兼容面并在 transcript materialization 中保留为字符串。
Copy file name to clipboardExpand all lines: docs/first-second-parity-audit.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -347,6 +347,7 @@ M7 progress now includes:
347
347
-`internal/tui`: interaction script loading now recurses through outer API/fixture wrappers such as `data`/`payload`/`body`/`result`/`response`/`recording`/`session`/`run`.
348
348
-`internal/contracts`/`internal/session`: remote history `SDKEvent` message extraction now recurses through nested payload wrappers such as `record`/`entry`/`item`/`event`/`result`/`response`/`output`.
349
349
-`internal/session`: remote-history event arrays now unwrap element-level wrappers such as `event`/`record`/`entry`/`item`/`resource`/`value` and wrapper-only `data`/`payload`/`body`, using element cursors as event ID fallback outside GraphQL edges.
350
+
-`internal/session`: remote-history event arrays now accept JSON:API/resource-style elements with event payloads inside `attributes` or `properties`, preserving the outer resource `id` as the SDK event ID fallback.
350
351
-`internal/contracts`/`internal/session`: content block `type` decoding now normalizes camel/kebab/compact aliases such as `toolUse`, `tool-result`, `cacheEdits`, `inputImage`, and `chain-of-thought`.
351
352
-`internal/session`: image history dimensions now default display size to original size when only `width`/`height` or original dimensions are present, preserving source metadata for single-size image fixtures.
352
353
-`internal/session`: pasted-content history type decoding now normalizes aliases such as `inputImage`/`pasted-image`/`input_text`/`pasted-text` to canonical `image`/`text` for runtime and stored history.
0 commit comments