Commit 328e951
authored
Preserve namespaces on custom tool calls (#30302)
## Summary
- Preserve the optional namespace on custom tool calls during response
deserialization and app-server replay.
- Use the namespaced tool identifier for streaming argument handling and
tool dispatch.
- Regenerate app-server protocol schemas.
- Add regression tests covering namespace serialization and routing.
## Testing
- Ran affected protocol and app-server test suites.
- Ran the full core test suite; two load-sensitive timing tests passed
when rerun individually.
- Ran Clippy and formatting checks.
- Verified with a local end-to-end app-server replay that the namespace
is preserved through the complete request/response flow.1 parent c464468 commit 328e951
21 files changed
Lines changed: 217 additions & 38 deletions
File tree
- codex-rs
- app-server-protocol/schema
- json
- v2
- typescript
- core
- src
- context_manager
- session
- tools
- tests
- common
- suite
- ext/image-generation/src
- protocol/src
- tools/src
Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| 516 | + | |
516 | 517 | | |
517 | 518 | | |
518 | 519 | | |
| |||
582 | 583 | | |
583 | 584 | | |
584 | 585 | | |
| 586 | + | |
585 | 587 | | |
586 | 588 | | |
587 | 589 | | |
| |||
1090 | 1092 | | |
1091 | 1093 | | |
1092 | 1094 | | |
| 1095 | + | |
1093 | 1096 | | |
1094 | 1097 | | |
1095 | 1098 | | |
| |||
1378 | 1381 | | |
1379 | 1382 | | |
1380 | 1383 | | |
| 1384 | + | |
1381 | 1385 | | |
1382 | 1386 | | |
1383 | 1387 | | |
| |||
1393 | 1397 | | |
1394 | 1398 | | |
1395 | 1399 | | |
| 1400 | + | |
1396 | 1401 | | |
1397 | 1402 | | |
1398 | 1403 | | |
| |||
1512 | 1517 | | |
1513 | 1518 | | |
1514 | 1519 | | |
| 1520 | + | |
1515 | 1521 | | |
1516 | 1522 | | |
1517 | 1523 | | |
| |||
1556 | 1562 | | |
1557 | 1563 | | |
1558 | 1564 | | |
| 1565 | + | |
1559 | 1566 | | |
1560 | 1567 | | |
1561 | 1568 | | |
| |||
1668 | 1675 | | |
1669 | 1676 | | |
1670 | 1677 | | |
| 1678 | + | |
1671 | 1679 | | |
1672 | 1680 | | |
1673 | 1681 | | |
| |||
1810 | 1818 | | |
1811 | 1819 | | |
1812 | 1820 | | |
| 1821 | + | |
1813 | 1822 | | |
1814 | 1823 | | |
1815 | 1824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10482 | 10482 | | |
10483 | 10483 | | |
10484 | 10484 | | |
| 10485 | + | |
10485 | 10486 | | |
10486 | 10487 | | |
10487 | 10488 | | |
| |||
0 commit comments