Commit 05a5c5f
committed
Merge upstream/main (Cursor/ACP + Opus 4.5)
Integrates 7 upstream commits, headlined by Cursor provider via ACP
(pingdotgg#1355, new effect-acp package + AcpSessionRuntime) and Claude Opus 4.5.
Conflicts resolved (see untangle.md for full policy/playbook):
- ClaudeAdapter.ts queryOptions — took upstream's effort type cast +
kept our isOpus47 thinking-adaptive line.
- MessagesTimeline.tsx SimpleWorkEntryRow — took upstream's cleaner
outer rawCommand ternary (ours had dead inner checks).
- ProviderRuntimeIngestion.ts assistant-delta flow — adopted upstream's
new getOrCreateAssistantMessageId / flushBufferedAssistantMessagesForTurn
/ finalizeActiveAssistantSegmentForTurn helpers + pauseForUserTurnId
block; re-injected our timed 150ms streaming flush, reasoningDelta/
reasoningCompletion dispatch, agentKind plumbing on top.
Downstream adaptations required by upstream's new code:
- Cursor/ACP agentKind plumbing — upstream emitted ProviderRuntimeEvent
values without agentKind; our thinking-blocks tweak made it required.
Fixed via a single makeEventStamp helper change in CursorAdapter
(hard-codes "primary") + AcpEventStamp interface extension. Mirrors
the OpenCode pattern; ~14 event constructions cascade.
- Session reaper — removed dead Effect.catch on a reconcile effect whose
error channel is now `never` (lint hint in our own tweak code).
Test adaptations:
- Fast-mode tests in ClaudeAdapter.test.ts + ClaudeTextGeneration.test.ts
migrated from claude-opus-4-6 (fast mode disabled by our tweak) to
claude-opus-4-5 (upstream's new model, currently the only one that
still supports fast mode).
- Buffered-streaming tests in ProviderRuntimeIngestion.test.ts updated
to pass enableAssistantStreaming: false explicitly, since our tweak
flipped the default to true.
- dev-runner.test.ts — T3CODE_NO_BROWSER assertion updated from
undefined to "1" to match our previously-undocumented tweak.
Docs:
- tweakings.md — added T3CODE_NO_BROWSER + Cursor/ACP agentKind entries.
- untangle.md — added Policy + Active resolution entries for the three
conflicted files, plus reconciliation pattern for future upstream
restructures of the ingestion flow.118 files changed
Lines changed: 27637 additions & 982 deletions
File tree
- .github/workflows
- apps
- desktop
- server
- integration
- scripts
- src
- checkpointing/Layers
- git
- Layers
- Services
- orchestration
- Layers
- Services
- provider
- Layers
- Services
- acp
- web/src
- components
- chat
- settings
- ui
- environments/runtime
- packages
- contracts/src
- effect-acp
- scripts
- src
- _generated
- _internal
- test
- examples
- fixtures
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
353 | 354 | | |
354 | 355 | | |
355 | 356 | | |
| 357 | + | |
356 | 358 | | |
357 | 359 | | |
358 | 360 | | |
| |||
387 | 389 | | |
388 | 390 | | |
389 | 391 | | |
| 392 | + | |
390 | 393 | | |
391 | 394 | | |
392 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
393 | 404 | | |
394 | 405 | | |
395 | 406 | | |
| |||
474 | 485 | | |
475 | 486 | | |
476 | 487 | | |
| 488 | + | |
477 | 489 | | |
478 | 490 | | |
479 | 491 | | |
| |||
493 | 505 | | |
494 | 506 | | |
495 | 507 | | |
| 508 | + | |
496 | 509 | | |
497 | 510 | | |
498 | 511 | | |
499 | | - | |
| 512 | + | |
500 | 513 | | |
501 | 514 | | |
502 | 515 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
351 | 352 | | |
352 | 353 | | |
353 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
354 | 361 | | |
355 | 362 | | |
356 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments