@ydtb/tk-scope-app
v0.23.13
Published
Platform client shell for tk-scope — pages, layouts, dashboard chrome, onboarding, auth strategies
Downloads
2,083
Readme
@ydtb/tk-scope-app
Runtime-aware app host for tk-scope.
Role
This package owns the live application integration layer.
Examples:
- app assembly
- routing integration
- auth wiring
- scope querying
- permissions wiring
- command/help/notification runtime behavior
- adapting live app state into shell props
Rule of thumb:
- if it needs real app state, router state, backend data, permissions, or platform policy, it belongs here
Relationship to other workspace packages
- Consumes
@ydtb/tk-scope-shellfor reusable dashboard chrome - Consumes
@ydtb/tk-scope-uifor generic reusable components - Sits above both of those packages as the runtime host layer
Boundary
@ydtb/tk-scope-app should:
- wire runtime state into the shell
- adapt platform/tool data into presentational shell props
- assemble the real application host
@ydtb/tk-scope-app should not:
- become the long-term owner of reusable shell chrome
- push generic reusable components down into app-local code
Dependency direction
@ydtb/tk-scope-ui→ reusable components@ydtb/tk-scope-shell→ reusable dashboard shell/chrome@ydtb/tk-scope-app→ runtime-aware host adapter
Mental model
- ui = components
- shell = chrome
- app = runtime wiring
