Bare /permission now opens a flat popupSelect of presets (current value active, custom excluded) instead of returning a text report — the /model pattern on a single-level list. The new dsh-client-ui-permission package registers the contribution; a pick submits '/permission <preset>' through Session.command, so the picker, the composer chip, and the argued line all write through the one host command and follow the one pushed projection frame. Options and availability read the 'permissions' projection. ui-command gains the hostBacked contribution mode: a same-named host command is cooperation, not a collision — the host keeps the catalog row, the argument claim (space and argued-enter fall through to the host path), and the lifecycle logging, while the contribution supplies only the bare-invocation popup. The /permission command handler keeps its bare-line text report for host surfaces without a popup layer (TUI, raw execute).
76 lines
1.4 KiB
JSON
76 lines
1.4 KiB
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
"outDir": "lib/types"
|
|
},
|
|
"include": [
|
|
"src"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../../vendor/cordis"
|
|
},
|
|
{
|
|
"path": "../../packages/host/apiproxy"
|
|
},
|
|
{
|
|
"path": "../../packages/host/webserver"
|
|
},
|
|
{
|
|
"path": "../../packages/core/session"
|
|
},
|
|
{
|
|
"path": "../../packages/ui/app-boot"
|
|
},
|
|
{
|
|
"path": "../../packages/ui/tui"
|
|
},
|
|
{
|
|
"path": "../../packages/util/paths"
|
|
},
|
|
{
|
|
"path": "../../packages/client/connection"
|
|
},
|
|
{
|
|
"path": "../../packages/client/hmr"
|
|
},
|
|
{
|
|
"path": "../../packages/client/runtime"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-theme"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-settings"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-settings-general"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-models"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-permission"
|
|
},
|
|
{
|
|
"path": "../../packages/client/locale"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-layout"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-sidebar"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-conversation"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-trajectory"
|
|
},
|
|
{
|
|
"path": "../../packages/client/ui-question"
|
|
}
|
|
]
|
|
}
|