Commit 2e441d7
refactor(apps): remove dead host accessor layer (Phase 5 / follow-up #4)
The base-runtime is the single source of truth for accessor behavior and the
accessor:* message category is gone (Phase 4), so the host copies of the
accessors are unreachable. This removes them and un-threads the vestigial
accessor manager from the sandbox-execution core.
- Drop the ignored `accessors: AppAccessorManager` parameter from the run*/
runTheCode methods of AppApi, AppSlashCommand, AppVideoConfProvider and
AppOutboundCommunicationProvider, and the `accessors` field from their four
managers (the app executes in the subprocess via sendRequest; the host
accessor manager was never consulted).
- Delete AppAccessorManager, its managers/index export, and AppManager's
accessorManager field/constructor/getAccessorManager/purifyApp usage
(purifyApp only cleared caches that were never populated).
- Delete src/server/accessors/ (64 files) and the now-orphaned
src/server/misc/UIHelper.ts.
- Adapt tests: delete tests/server/accessors/ and the AppAccessorManager
test; strip getAccessorManager/.accessors setup and assertions from the
affected manager, AppManager and Deno-runtime tests.
Behavior-neutral: host tsc error-set unchanged vs baseline; host node suites
green (excluding the two deno-spawn integration suites, which require the deno
binary and run in CI).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018FbxFGJWHiroxrdNPJRL3P1 parent a21af99 commit 2e441d7
122 files changed
Lines changed: 84 additions & 6239 deletions
File tree
- docs/proposals/apps-accessor-consolidation
- packages/apps
- src/server
- accessors
- managers
- misc
- tests/server
- accessors
- managers
- runtime
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 | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | | - | |
91 | | - | |
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
| |||
153 | 150 | | |
154 | 151 | | |
155 | 152 | | |
156 | | - | |
157 | 153 | | |
158 | 154 | | |
159 | 155 | | |
| |||
200 | 196 | | |
201 | 197 | | |
202 | 198 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | 199 | | |
209 | 200 | | |
210 | 201 | | |
| |||
1096 | 1087 | | |
1097 | 1088 | | |
1098 | 1089 | | |
1099 | | - | |
1100 | 1090 | | |
1101 | 1091 | | |
1102 | 1092 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 0 additions & 14 deletions
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments