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
fix(plan): close 3 upstream-parity gaps surfaced by #55 tests
- update_task now honors input.id (was only last in-progress)
- add_task/update_task propagate adapter.edit_object errors
- _enqueue_edit is actually sequential under asyncio.gather
Un-skips the 5 previously-skipped tests in TestPostWithPlan.
Closes the remaining parity gaps in #55.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@
6
6
7
7
- Ported 19 `[post with Plan]` tests from `thread.test.ts` — closes #55.
8
8
9
+
### Fixes (parity with upstream Plan semantics)
10
+
11
+
-**`Plan.update_task(input)` / `StreamingPlan.update_task(input)` now honor `input.id`** — previously only worked on the last in-progress task; with `id` set, targets that specific task and returns `None` for unknown IDs. Matches upstream `UpdateTaskInput` semantics.
12
+
-**`Plan.add_task()` / `update_task()` now propagate `adapter.edit_object` errors** — previously swallowed and logged; upstream returns the chained promise so callers see failures.
13
+
-**Plan edit queue is now actually sequential under concurrency** — previously racy under `asyncio.gather`; rewrote `_enqueue_edit` to build the chain synchronously before awaiting, matching upstream TS's `.then`-based chain. Fixes out-of-order edits when multiple `add_task`/`update_task` calls interleave.
14
+
9
15
## 0.4.26.1 (2026-04-23)
10
16
11
17
Python-only follow-up on `0.4.26`. Still alpha — APIs may change.
0 commit comments