@xmoon76/dsh-pi-tui 0.5.6 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/LICENSE +33 -0
  2. package/README.en.md +103 -814
  3. package/README.md +102 -711
  4. package/cordis.patch.yml +186 -0
  5. package/dist/acp-preferences.d.mts +29 -0
  6. package/dist/acp-preferences.mjs +15 -0
  7. package/dist/{bootstrap-DQ4YPL-7.mjs → bootstrap-CMIjGyuk.mjs} +33515 -7587
  8. package/dist/builtins.mjs +3 -3
  9. package/dist/{client-bootstrap-Cr1JCaF5.mjs → client-bootstrap-BjGPc-DM.mjs} +4637 -492
  10. package/dist/client-extension-loader-probe-BUw7q8bJ.mjs +119 -0
  11. package/dist/command-trust-DChWUamk.mjs +406 -0
  12. package/dist/daemon-launcher-Dult7Jxv.mjs +1932 -0
  13. package/dist/daemon-launcher.d.mts +159 -0
  14. package/dist/daemon-launcher.mjs +2 -0
  15. package/dist/diagnostics-D5jwc-q1.d.mts +11 -0
  16. package/dist/{dist-CIsR7cz4.mjs → dist-BFgC-5tL.mjs} +938 -487
  17. package/dist/entry-control-DjNsE3I0.mjs +190 -0
  18. package/dist/extension/advanced.d.mts +1 -1
  19. package/dist/extension/unstable.d.mts +1 -1
  20. package/dist/extension-config-probe-BDdvutkG.mjs +95 -0
  21. package/dist/extension-config.d.mts +29 -0
  22. package/dist/extension-config.mjs +22 -0
  23. package/dist/{extensions-Bp0L37lP.mjs → extensions-B4uLpSTv.mjs} +1109 -100
  24. package/dist/{extensions-Bte3XOt5.d.mts → extensions-C8eAM0gX.d.mts} +1 -1
  25. package/dist/extensions.d.mts +2 -2
  26. package/dist/extensions.mjs +1 -1
  27. package/dist/{host-bootstrap-DilsvA6f.mjs → host-bootstrap-MVxks641.mjs} +129 -24
  28. package/dist/{host-foundation-probe--5jtvHVe.mjs → host-foundation-probe-DMNTmNrH.mjs} +2 -2
  29. package/dist/host-runtime.d.mts +11 -5
  30. package/dist/host-runtime.mjs +4171 -920
  31. package/dist/index.d.mts +86 -174
  32. package/dist/index.mjs +38087 -9967
  33. package/dist/local-acp-listener-B65J0Bx4.mjs +3115 -0
  34. package/dist/local-client.mjs +1158 -59
  35. package/dist/local-daemon-control-C14q9KnD.mjs +1588 -0
  36. package/dist/local-daemon-control-TCnERL7n.mjs +1424 -0
  37. package/dist/local-discovery-DOSsCh9q.mjs +2883 -0
  38. package/dist/local-discovery-egN4_gsQ.mjs +2 -0
  39. package/dist/local-discovery-uOBfFq5j.mjs +2764 -0
  40. package/dist/local-host.mjs +812 -89
  41. package/dist/local-profile-daemon-admin-BmQSdzT0.mjs +210 -0
  42. package/dist/local-scope-DamiMqPd.mjs +1340 -0
  43. package/dist/{local-transport-BVwFYq_Y.mjs → local-transport-Iwo0mtu3.mjs} +313 -38
  44. package/dist/local-web-control-DMrjwCkl.mjs +454 -0
  45. package/dist/local-workspace-object-D06GL0UO.mjs +248 -0
  46. package/dist/native/darwin/prebuilds/darwin-arm64/darwin-platform.node +0 -0
  47. package/dist/native/darwin/prebuilds/darwin-x64/darwin-platform.node +0 -0
  48. package/dist/open-CmOBxSjN.mjs +63 -0
  49. package/dist/persisted-setting-probe-DWZLtWoB.mjs +145 -0
  50. package/dist/pi-tui-acp-access-contract-BdLwduU6.mjs +75 -0
  51. package/dist/pi-tui-remote-contribution-Do8ECrUy.mjs +1492 -0
  52. package/dist/pi-tui-terminal-progress-contract-B3RoEzjK.mjs +146 -0
  53. package/dist/preferences.d.mts +17 -0
  54. package/dist/preferences.mjs +20 -0
  55. package/dist/preset-BcWqOtY7.mjs +46 -0
  56. package/dist/profile-preferences-migration-BfUGdPZx.mjs +500 -0
  57. package/dist/profile-preferences-migration-CThz4rHH.mjs +2 -0
  58. package/dist/prompt-sections-DUKmWb8g.mjs +2232 -0
  59. package/dist/prompt-sections-DXmjB58H.mjs +634 -0
  60. package/dist/{public-types-Dgf1bDke.d.mts → public-types-C1YgFtwC.d.mts} +56 -3
  61. package/dist/row-id-DPbyt9Nn.mjs +24 -0
  62. package/dist/{runtime-status-Cj1nFOdS.mjs → runtime-status-v-FTnWcD.mjs} +49 -3
  63. package/dist/schema-BTGYn8_X.d.mts +54 -0
  64. package/dist/schema-qE_P09zJ.mjs +124 -0
  65. package/dist/{session-BKGXyh80.mjs → session-C6tSs86s.mjs} +9672 -7270
  66. package/dist/{session-CPt_U8_f.mjs → session-CstInGIA.mjs} +9674 -7273
  67. package/dist/startup-CarQxWwi.d.mts +213 -0
  68. package/dist/{startup-7BYWuvBU.mjs → startup-EG5UqIcd.mjs} +341 -26
  69. package/dist/startup.d.mts +2 -99
  70. package/dist/startup.mjs +2 -2
  71. package/dist/{terminal-progress-source-DrqQhtT8.mjs → terminal-progress-source-CpfpQO_h.mjs} +2038 -67
  72. package/dist/{pasted-path-range-CMnxuGPx.mjs → transcript-view-C1YtJ49Y.mjs} +11590 -6718
  73. package/dist/{pasted-path-range-r6qzV_tC.mjs → transcript-view-CuJYWkhp.mjs} +12296 -6923
  74. package/dist/version-B9yC7bBk.mjs +83 -0
  75. package/dist/visual-tools.d.mts +1 -1
  76. package/dist/visual-tools.mjs +1 -1
  77. package/dist/web-preferences.d.mts +1 -1
  78. package/dist/{web-roster-CjqnUXNk.mjs → web-roster-Dis7BhrA.mjs} +63 -3
  79. package/generated/dsh-presets/cordis.patch.yml +4 -2
  80. package/generated/dsh-presets/ptc.patch.yml +4 -0
  81. package/generated/dsh-presets/standard.patch.yml +7 -0
  82. package/generated/web-access/cordis.patch.yml +239 -0
  83. package/package.json +217 -170
  84. package/dist/entry-control-DnduyDiw.mjs +0 -92
  85. package/dist/local-discovery-C9VMjc0K.mjs +0 -759
  86. package/dist/local-discovery-CDaQHA_R.mjs +0 -2
  87. package/dist/pi-tui-remote-contribution-B0EQsP0N.mjs +0 -85
  88. package/dist/pi-tui-terminal-progress-contract-CdBH9j78.mjs +0 -70
  89. package/dist/pi-tui-terminal-progress-contract-MLXZ-i3t.mjs +0 -905
  90. package/dist/version-a-eF-QER.mjs +0 -80
package/dist/index.d.mts CHANGED
@@ -1,9 +1,10 @@
1
- import { H as TuiAction } from "./public-types-Dgf1bDke.mjs";
1
+ import { t as Config } from "./schema-BTGYn8_X.mjs";
2
+ import { t as Diag } from "./diagnostics-D5jwc-q1.mjs";
3
+ import { H as TuiAction } from "./public-types-C1YgFtwC.mjs";
2
4
  import { SessionId } from "@deepseek-ai/dsh-session";
3
5
  import { ContentBlock } from "@deepseek-ai/dsh-llm";
4
- import { Context, Volatile } from "@deepseek-ai/cordis";
6
+ import { Context } from "@deepseek-ai/cordis";
5
7
  import { Agent } from "@deepseek-ai/dsh-agent";
6
- import z from "@deepseek-ai/schemastery";
7
8
  //#region src/domain/communication/policy.d.ts
8
9
  type ProgressUpdates = 'off' | 'milestones' | 'frequent';
9
10
  type ResponseStyle = 'default' | 'concise' | 'explanatory';
@@ -14,16 +15,6 @@ interface ResponseStyleState {
14
15
  style: ResponseStyle;
15
16
  }
16
17
  //#endregion
17
- //#region src/runtime/process/diagnostics.d.ts
18
- interface Diag {
19
- debug(message: string, fields?: Record<string, unknown>): void;
20
- info(message: string, fields?: Record<string, unknown>): void;
21
- warn(message: string, fields?: Record<string, unknown>): void;
22
- error(message: string, fields?: Record<string, unknown>): void;
23
- /** Release the file handle, if one is open. */
24
- dispose(): void;
25
- }
26
- //#endregion
27
18
  //#region src/domain/catalog/skill.d.ts
28
19
  /**
29
20
  * Neutral skill catalog vocabulary (TS8-E): the human-facing skill summary
@@ -144,87 +135,6 @@ interface SurfaceCatalogContext {
144
135
  } | undefined;
145
136
  }
146
137
  //#endregion
147
- //#region src/app/config/schema.d.ts
148
- /** Plugin config: the session to resume, resolved from the startup service,
149
- * plus the DSH 0.1.7 profile-owned live TUI preferences. Every preference
150
- * field is a schemastery `.volatile()` reference (PR A): the `tui-app`
151
- * plugin's Config is the ONE runtime authority, Loader commits live updates
152
- * into the references without remounting, and the Settings service projects
153
- * these fields into editable forms keyed by the `tui-app` profile entry. */
154
- interface Config {
155
- /** Resumed session id; a fresh session is created when absent. */
156
- sessionId?: string;
157
- /** Test seam: the pre-mount status output (defaults to process.stdout,
158
- * TTY-gated). Injectable so the runner tests capture the status writes
159
- * without patching the global stdout (which would fight the test
160
- * reporter's own writes). STRUCTURAL on purpose: the public Config type
161
- * must not reference the internal startup-status module (the public
162
- * .d.mts leak gate). */
163
- startupStatusOutput?: {
164
- readonly isTTY?: boolean;
165
- write(text: string): unknown;
166
- };
167
- /** Theme values: auto | dark | light | custom:<name>. */
168
- readonly theme: Volatile<string>;
169
- readonly iconStyle: Volatile<string>;
170
- readonly footer: Volatile<string>;
171
- /** The user's LAST NATIVE footer mode ('default' | 'compact' | 'custom'):
172
- * persisted separately because `footer` itself is overwritten by
173
- * 'command' when the command surface arms — the command surface's failure
174
- * fallback resolves from THIS, so a compact user's fallback survives a
175
- * restart. */
176
- readonly footerFallbackMode: Volatile<string>;
177
- /** The M2 versioned custom footer layout (a nested object, never a JSON
178
- * string). No schema default: parseFooterLayout is the authority on the
179
- * persisted value and resolves absence to the builtin default layout. */
180
- readonly footerLayout: Volatile<unknown>;
181
- /** PR C: the Custom Text/Command definition collection, retained as raw
182
- * data — the fail-soft parser (footer/custom-items.ts) owns validation. */
183
- readonly footerCustomItems: Volatile<unknown>;
184
- /** M5: the trusted command status-line config (armed ONLY while the USER
185
- * profile layer owns it — see resolveTrustedFooterCommand). */
186
- readonly footerCommand: Volatile<unknown>;
187
- readonly fullscreen: Volatile<string>;
188
- /** Busy-Enter delivery for plain Enter while the agent runs: 'queue'
189
- * (default) or 'steer'. */
190
- readonly busyEnter: Volatile<string>;
191
- /** User-shell sandbox policy for user-typed `!`/`!!` commands: 'bypass'
192
- * (default) runs them outside the dsh sandbox, 'sandbox' routes them
193
- * through the dsh shell capability's policy. */
194
- readonly localShellSandbox: Volatile<string>;
195
- /** Home/End navigation behavior (issue #9): 'input' (default) moves
196
- * within the input, 'viewport' keeps Home/End scrolling. */
197
- readonly homeEndKeys: Volatile<string>;
198
- /** Canonical transcript display preset (focus | compact | full). */
199
- readonly displayPreset: Volatile<string>;
200
- /** Mid-turn progress-update cadence (off | milestones | frequent). */
201
- readonly progressUpdates: Volatile<string>;
202
- /** Git attribution guidance mode (off | product | product-model). */
203
- readonly gitAttribution: Volatile<string>;
204
- /** Visible-answer density guidance (default | concise | explanatory). */
205
- readonly responseStyle: Volatile<string>;
206
- /** Completion-notification mode ('unfocused' | 'always' | 'off'). */
207
- readonly notificationMode: Volatile<string>;
208
- /** Completion-notification method ('auto' | 'osc9' | 'osc777' | 'bell'). */
209
- readonly notificationMethod: Volatile<string>;
210
- /** Terminal-progress protocol selection ('off' | '9;4' | '7501' |
211
- * '9;4+7501'): which native terminal status protocols the TUI reports.
212
- * Defaults to the dual protocol. */
213
- readonly terminalProgress: Volatile<string>;
214
- /** Fullscreen mouse-wheel step ('1' | '2' | '3' | '5' | '8'). */
215
- readonly wheelScrollLines: Volatile<string>;
216
- /** The user keybinding overrides as a whole-value RAW field. The
217
- * keybindings parser (src/tui/keybindings/config.ts) is the only
218
- * validation/parsing authority — the keybinding business schema
219
- * deliberately stays out of the plugin Config. */
220
- readonly keybindings: Volatile<unknown>;
221
- /** Internal one-shot legacy-migration marker (PR A §8.3): never a
222
- * product row, never a behavior switch — it only keeps the retired
223
- * settings.yaml(.imported) from re-overwriting newer user values. */
224
- readonly legacySettingsMigrationVersion: Volatile<number>;
225
- }
226
- declare const Config: z<Config>;
227
- //#endregion
228
138
  //#region src/domain/command/policy.d.ts
229
139
  /**
230
140
  * The transport/UI-neutral command-line policy (plan §27 / TS8-F3): which slash
@@ -500,21 +410,6 @@ interface DraftImageStoreLike {
500
410
  values(): readonly DraftImage[];
501
411
  }
502
412
  //#endregion
503
- //#region src/app/surface/task-presentation.d.ts
504
- declare function subagentJobTranscriptId(snapshot: unknown): string | undefined;
505
- /**
506
- * The Task Center row-selection disposition (plan §4.3/§4.4). A subagent
507
- * transcript opens a session/viewer surface that REPLACES the browser; a
508
- * Job row's detail keeps it mounted (the caller passes {@link openJobView}'s
509
- * disposition). An UNKNOWN row — a stale panel selection after a live
510
- * re-projection — also keeps the parent usable instead of dismissing it.
511
- */
512
- declare function taskRowSelectionDisposition(row: {
513
- readonly kind: 'job' | 'subagent';
514
- } | undefined, jobDetail: 'close' | 'keep-open'): 'close' | 'keep-open';
515
- /** Viewer body for a subagent job with no uniquely matched child. */
516
- declare function subagentJobViewHint(status: string, detail: string | undefined): string;
517
- //#endregion
518
413
  //#region src/app/surface/compaction-presentation.d.ts
519
414
  /**
520
415
  * The compaction/context presentation module (A4-7, plan §16/§27): the pure
@@ -640,72 +535,20 @@ interface QueueFoldResult {
640
535
  * their order and content without inspecting backend-specific metadata. */
641
536
  declare function foldQueueRows(messages: readonly QueueInboxMessage[], mode: 'followup' | 'steer'): QueueFoldResult;
642
537
  //#endregion
643
- //#region src/tui-app.d.ts
644
- /**
645
- * The WEB composer submit gestures (DSH `ComposerSubmitGesture`): plain
646
- * Enter, or the Cmd/Ctrl-accelerated chord. The busy-Enter policy resolves
647
- * each to a delivery mode — plain Enter to the preferred mode, the
648
- * accelerated chord to its OPPOSITE — so the chord is never a fixed mode.
649
- */
650
- type ComposerSubmitGesture = 'enter' | 'accelerated';
651
- //#endregion
652
- //#region src/commands.d.ts
653
- /**
654
- * The effective mode ONE submission resolved at the submit boundary: whether
655
- * an agent-facing delivery steers into the running turn or queues behind it
656
- * (web `ComposerSubmissionPolicy` parity — an idle agent queues, plain Enter
657
- * takes the preference, and the accelerated chord takes its OPPOSITE).
658
- *
659
- * It is a property of the GESTURE, not of the persisted settings: a one-shot
660
- * gesture exists only inside the dispatch that resolved it, so every
661
- * downstream consumer (the TUI skill delivery) accepts this value instead of
662
- * re-deriving the mode from `busyEnter`.
663
- */
664
- type SubmitDelivery = 'steer' | 'queue';
665
- //#endregion
666
- //#region src/app/submission/command-policy.d.ts
667
- /**
668
- * Command semantics matrix (plan §19.3/M12): a LOCAL command line carrying a
669
- * staged image placeholder is REJECTED — local commands are pure UI
670
- * controls, never LLM prompts. AGENT-FACING input (plain prompts AND
671
- * per-skill slash invocations like `/grilling`) SUPPORTS images: the skill
672
- * wrapper builds its message through the same prepared-input path, so an
673
- * image-bearing skill line is a real multimodal prompt (review finding 4).
674
- * There is never a silent drop.
675
- * @param parsed - the parsed slash command, undefined for a plain prompt.
676
- * @param text - the submission text.
677
- * @param store - the live draft store.
678
- * @param isLocal - whether THIS LINE is a LOCAL (TUI-owned/UI) command; skill
679
- * names answer false. Never derived from the name alone: a host command's
680
- * input KIND decides which line it claims (see
681
- * {@link commandIsLocalForAttachments}).
682
- */
683
- declare function commandRejectsImages(parsed: {
684
- name: string;
685
- rawInput?: string;
686
- } | undefined, text: string, store: DraftImageStoreLike, isLocal: boolean): boolean;
538
+ //#region src/app/surface/task-presentation.d.ts
539
+ declare function subagentJobTranscriptId(snapshot: unknown): string | undefined;
687
540
  /**
688
- * The TUI dispatch boundary's delivery resolution: the WEB composer policy
689
- * ({@link resolveComposerDelivery}) applied to agent-facing input, with the
690
- * TUI's own ownership terms on top. Pure so the dispatch gate (inside the
691
- * runner closure) is testable headless.
692
- * @param parsed - the parsed slash command, undefined for a plain prompt.
693
- * @param running - whether the live agent reports running.
694
- * @param gesture - the composer gesture that raised the submission.
695
- * @param busyEnter - the persisted preference value (''/undefined = queue).
696
- * @param isTuiLocalLine - whether the line is a TUI-LOCAL command line by
697
- * the §D3 line authority ({@link isLocalCommandLine}'s order: a
698
- * HOST-RESOLVED name — claimed or merely resolved — is never local). The
699
- * caller derives it once and shares it with every gate, so an argued
700
- * `/export foo` of an execute-kind Host command follows the ORDINARY
701
- * queue/steer busy policy instead of a local-command placeholder.
702
- * Absent = fall back to the legacy LOCAL_COMMANDS set (callers that have
703
- * no host view yet, e.g. the pre-parse echo path).
541
+ * The Task Center row-selection disposition (plan §4.3/§4.4). A subagent
542
+ * transcript opens a session/viewer surface that REPLACES the browser; a
543
+ * Job row's detail keeps it mounted (the caller passes {@link openJobView}'s
544
+ * disposition). An UNKNOWN row — a stale panel selection after a live
545
+ * re-projection — also keeps the parent usable instead of dismissing it.
704
546
  */
705
- declare function resolveSubmitDelivery(parsed: {
706
- name: string;
707
- rawInput?: string;
708
- } | undefined, running: boolean, gesture: ComposerSubmitGesture, busyEnter: string | undefined, isTuiLocalLine?: boolean): SubmitDelivery;
547
+ declare function taskRowSelectionDisposition(row: {
548
+ readonly kind: 'job' | 'subagent';
549
+ } | undefined, jobDetail: 'close' | 'keep-open'): 'close' | 'keep-open';
550
+ /** Viewer body for a subagent job with no uniquely matched child. */
551
+ declare function subagentJobViewHint(status: string, detail: string | undefined): string;
709
552
  //#endregion
710
553
  //#region src/app/session/interrupt.d.ts
711
554
  /**
@@ -787,6 +630,73 @@ interface InterruptWriterLike {
787
630
  */
788
631
  declare function interruptAgent(agent: InterruptAgentLike | undefined, writer: InterruptWriterLike): Promise<InterruptWriteOutcome>;
789
632
  //#endregion
633
+ //#region src/tui-app.d.ts
634
+ /**
635
+ * The WEB composer submit gestures (DSH `ComposerSubmitGesture`): plain
636
+ * Enter, or the Cmd/Ctrl-accelerated chord. The busy-Enter policy resolves
637
+ * each to a delivery mode — plain Enter to the preferred mode, the
638
+ * accelerated chord to its OPPOSITE — so the chord is never a fixed mode.
639
+ */
640
+ type ComposerSubmitGesture = 'enter' | 'accelerated';
641
+ //#endregion
642
+ //#region src/commands.d.ts
643
+ /**
644
+ * The effective mode ONE submission resolved at the submit boundary: whether
645
+ * an agent-facing delivery steers into the running turn or queues behind it
646
+ * (web `ComposerSubmissionPolicy` parity — an idle agent queues, plain Enter
647
+ * takes the preference, and the accelerated chord takes its OPPOSITE).
648
+ *
649
+ * It is a property of the GESTURE, not of the persisted settings: a one-shot
650
+ * gesture exists only inside the dispatch that resolved it, so every
651
+ * downstream consumer (the TUI skill delivery) accepts this value instead of
652
+ * re-deriving the mode from `busyEnter`.
653
+ */
654
+ type SubmitDelivery = 'steer' | 'queue';
655
+ //#endregion
656
+ //#region src/app/submission/command-policy.d.ts
657
+ /**
658
+ * Command semantics matrix (plan §19.3/M12): a LOCAL command line carrying a
659
+ * staged image placeholder is REJECTED — local commands are pure UI
660
+ * controls, never LLM prompts. AGENT-FACING input (plain prompts AND
661
+ * per-skill slash invocations like `/grilling`) SUPPORTS images: the skill
662
+ * wrapper builds its message through the same prepared-input path, so an
663
+ * image-bearing skill line is a real multimodal prompt (review finding 4).
664
+ * There is never a silent drop.
665
+ * @param parsed - the parsed slash command, undefined for a plain prompt.
666
+ * @param text - the submission text.
667
+ * @param store - the live draft store.
668
+ * @param isLocal - whether THIS LINE is a LOCAL (TUI-owned/UI) command; skill
669
+ * names answer false. Never derived from the name alone: a host command's
670
+ * input KIND decides which line it claims (see
671
+ * {@link commandIsLocalForAttachments}).
672
+ */
673
+ declare function commandRejectsImages(parsed: {
674
+ name: string;
675
+ rawInput?: string;
676
+ } | undefined, text: string, store: DraftImageStoreLike, isLocal: boolean): boolean;
677
+ /**
678
+ * The TUI dispatch boundary's delivery resolution: the WEB composer policy
679
+ * ({@link resolveComposerDelivery}) applied to agent-facing input, with the
680
+ * TUI's own ownership terms on top. Pure so the dispatch gate (inside the
681
+ * runner closure) is testable headless.
682
+ * @param parsed - the parsed slash command, undefined for a plain prompt.
683
+ * @param running - whether the live agent reports running.
684
+ * @param gesture - the composer gesture that raised the submission.
685
+ * @param busyEnter - the persisted preference value (''/undefined = queue).
686
+ * @param isTuiLocalLine - whether the line is a TUI-LOCAL command line by
687
+ * the §D3 line authority ({@link isLocalCommandLine}'s order: a
688
+ * HOST-RESOLVED name — claimed or merely resolved — is never local). The
689
+ * caller derives it once and shares it with every gate, so an argued
690
+ * `/export foo` of an execute-kind Host command follows the ORDINARY
691
+ * queue/steer busy policy instead of a local-command placeholder.
692
+ * Absent = fall back to the legacy LOCAL_COMMANDS set (callers that have
693
+ * no host view yet, e.g. the pre-parse echo path).
694
+ */
695
+ declare function resolveSubmitDelivery(parsed: {
696
+ name: string;
697
+ rawInput?: string;
698
+ } | undefined, running: boolean, gesture: ComposerSubmitGesture, busyEnter: string | undefined, isTuiLocalLine?: boolean): SubmitDelivery;
699
+ //#endregion
790
700
  //#region src/app/surface/viewer-policy.d.ts
791
701
  /** One unsettled subagent delegation, in tool/call order. */
792
702
  interface PendingSubagentCall {
@@ -924,7 +834,9 @@ declare function hostRunningProfile(ctx: ProfileContextReadLike, argv?: readonly
924
834
  //#region src/index.d.ts
925
835
  /** Stable Cordis plugin name. */
926
836
  declare const name = "tui-runner";
927
- /** Core services required before the TUI can mount. */
837
+ /** Core services required before the TUI can mount. `piTuiPreferences` is the
838
+ * canonical profile-owned preference authority: the TUI must not start from a
839
+ * missing/default schema while the real user document has not settled. */
928
840
  declare const inject: string[];
929
841
  /**
930
842
  * Options for {@link resolveInitialCatalog}.