Commit 1c75671
fix: GitHub raw dict helper + PostableObject history cache
- Extract _build_raw_message() in GitHub adapter (was duplicated between
post_message and edit_message)
- PostableObject posts now cached in message history for both Thread and
Channel, so Plan objects appear in messages()/all_messages() like
regular posts. Uses fallback text as the cached message content.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 59cfb47 commit 1c75671
3 files changed
Lines changed: 35 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | 479 | | |
494 | 480 | | |
495 | 481 | | |
496 | | - | |
| 482 | + | |
497 | 483 | | |
498 | 484 | | |
499 | 485 | | |
| |||
518 | 504 | | |
519 | 505 | | |
520 | 506 | | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | 507 | | |
536 | 508 | | |
537 | 509 | | |
538 | | - | |
| 510 | + | |
539 | 511 | | |
540 | 512 | | |
541 | 513 | | |
| |||
553 | 525 | | |
554 | 526 | | |
555 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
556 | 546 | | |
557 | 547 | | |
558 | 548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
287 | 294 | | |
288 | 295 | | |
289 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
446 | 454 | | |
447 | 455 | | |
448 | 456 | | |
| |||
0 commit comments