Commit 4ea1241
Add sessionId to all hook input types consistently across Python and .NET
- Python: Add sessionId to UserPromptSubmittedHookInput, SessionStartHookInput,
SessionEndHookInput, ErrorOccurredHookInput. Remove unused BaseHookInput.
- .NET: Add SessionId to UserPromptSubmittedHookInput, SessionStartHookInput,
SessionEndHookInput, ErrorOccurredHookInput.
All 6 hook input types now have sessionId in every SDK (Node, Python, Go, .NET, Rust).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0691f1f commit 4ea1241
2 files changed
Lines changed: 28 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1253 | 1253 | | |
1254 | 1254 | | |
1255 | 1255 | | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1256 | 1262 | | |
1257 | 1263 | | |
1258 | 1264 | | |
| |||
1306 | 1312 | | |
1307 | 1313 | | |
1308 | 1314 | | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1309 | 1321 | | |
1310 | 1322 | | |
1311 | 1323 | | |
| |||
1364 | 1376 | | |
1365 | 1377 | | |
1366 | 1378 | | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
1367 | 1385 | | |
1368 | 1386 | | |
1369 | 1387 | | |
| |||
1436 | 1454 | | |
1437 | 1455 | | |
1438 | 1456 | | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1439 | 1463 | | |
1440 | 1464 | | |
1441 | 1465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | 613 | | |
622 | 614 | | |
623 | 615 | | |
| |||
672 | 664 | | |
673 | 665 | | |
674 | 666 | | |
| 667 | + | |
675 | 668 | | |
676 | 669 | | |
677 | 670 | | |
| |||
694 | 687 | | |
695 | 688 | | |
696 | 689 | | |
| 690 | + | |
697 | 691 | | |
698 | 692 | | |
699 | 693 | | |
| |||
716 | 710 | | |
717 | 711 | | |
718 | 712 | | |
| 713 | + | |
719 | 714 | | |
720 | 715 | | |
721 | 716 | | |
| |||
740 | 735 | | |
741 | 736 | | |
742 | 737 | | |
| 738 | + | |
743 | 739 | | |
744 | 740 | | |
745 | 741 | | |
| |||
0 commit comments