@morlay/dsh-conversation 0.0.0-stage → 0.2.0-alpha.0
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.
- package/LICENSE +21 -0
- package/README.md +49 -2
- package/dist/contract-DgH7vjO7.mjs +20 -0
- package/dist/contract.d.mts +3 -0
- package/dist/contract.mjs +3 -0
- package/dist/decorate-g56z_1VW.mjs +8 -0
- package/dist/endpoint.d.mts +42 -0
- package/dist/endpoint.mjs +50 -0
- package/dist/first-prompt-llm.service-BYX1KK4Z.mjs +100 -0
- package/dist/first-prompt-llm.service-DVcR15W4.d.mts +55 -0
- package/dist/index-BOtIdC0T.d.mts +45 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +6 -0
- package/dist/server.d.mts +211 -0
- package/dist/server.mjs +372 -0
- package/dist/session-title.contract-1UPlQFwN.mjs +17 -0
- package/dist/session-title.contract-C3tGUiK2.d.mts +132 -0
- package/dist/testing.d.mts +14 -0
- package/dist/testing.mjs +24 -0
- package/dist/tool-results.group-BEGx5hXv.mjs +17 -0
- package/dist/tool-results.group-BUjXDYDr.d.mts +16 -0
- package/dist/ui.d.mts +531 -0
- package/dist/ui.mjs +6678 -0
- package/package.json +120 -3
- package/src/contract/api-session.contract.ts +182 -0
- package/src/contract/conversation-client.contract.ts +13 -0
- package/src/contract/index.ts +26 -0
- package/src/contract/input-triggers.contract.ts +15 -0
- package/src/contract/session-controller.contract.ts +11 -0
- package/src/contract/session-title.contract.ts +30 -0
- package/src/contract/ui-conversation.contract.ts +15 -0
- package/src/contract/ui-session-status.contract.ts +15 -0
- package/src/contract/ui-session.contract.ts +16 -0
- package/src/contract/ui-workspace.contract.ts +83 -0
- package/src/deliverable.service.ts +74 -0
- package/src/endpoint/file-references.group.ts +43 -0
- package/src/endpoint/index.ts +8 -0
- package/src/endpoint/session-reference.group.ts +43 -0
- package/src/endpoint/tool-results.group.ts +35 -0
- package/src/first-prompt-llm.service.ts +38 -0
- package/src/index.ts +16 -0
- package/src/server/api-session.provide.ts +232 -0
- package/src/server/client-settings-defaults.service.ts +39 -0
- package/src/server/conversation-server.provide.ts +33 -0
- package/src/server/deliverable.provide.ts +5 -0
- package/src/server/first-prompt-llm.provide.ts +5 -0
- package/src/server/index.ts +24 -0
- package/src/server/open-in-app.service.ts +52 -0
- package/src/server/session-controller.remote.ts +11 -0
- package/src/server/session-reference.provide.ts +15 -0
- package/src/server/session-reference.service.ts +58 -0
- package/src/server/session-remote.provide.ts +31 -0
- package/src/server/session-status.service.ts +36 -0
- package/src/server/session-title.provide.ts +5 -0
- package/src/server/tool-results-endpoint.service.ts +56 -0
- package/src/server/tool-results.service.ts +59 -0
- package/src/session-title.service.ts +38 -0
- package/src/testing/index.ts +35 -0
- package/src/ui/agent-scopes.service.ts +20 -0
- package/src/ui/approval-slot.ts +33 -0
- package/src/ui/approval.provide.ts +5 -0
- package/src/ui/approval.service.ts +12 -0
- package/src/ui/conversation/attachment-slots.ts +23 -0
- package/src/ui/conversation/chat-slots.ts +67 -0
- package/src/ui/conversation/conversation-slots.ts +90 -0
- package/src/ui/conversation/conversation.token.ts +6 -0
- package/src/ui/conversation/file-actions-slots.ts +40 -0
- package/src/ui/conversation/index.ts +13 -0
- package/src/ui/conversation/message-quotes-slot.ts +34 -0
- package/src/ui/conversation/open-in-app-slots.ts +64 -0
- package/src/ui/conversation/secret-mask-slot.ts +23 -0
- package/src/ui/conversation/subagent-slots.ts +31 -0
- package/src/ui/conversation/tool-slots.ts +27 -0
- package/src/ui/conversation/trajectory-slot.ts +49 -0
- package/src/ui/conversation/workflow-run-slot.ts +31 -0
- package/src/ui/conversation-ui.provide.ts +32 -0
- package/src/ui/deliverable.provide.ts +14 -0
- package/src/ui/deliverable.slot.ts +46 -0
- package/src/ui/index.ts +64 -0
- package/src/ui/input/command-ui-slot.ts +45 -0
- package/src/ui/input/index.ts +5 -0
- package/src/ui/input/input-trigger-slot.ts +27 -0
- package/src/ui/input/input.token.ts +2 -0
- package/src/ui/input/reference-slot.ts +42 -0
- package/src/ui/model-selection-slots.ts +50 -0
- package/src/ui/permission-slots.provide.ts +10 -0
- package/src/ui/permission-ui.provide.ts +5 -0
- package/src/ui/ports.ts +3 -0
- package/src/ui/projections/projections.service.ts +220 -0
- package/src/ui/projections/provide.ts +11 -0
- package/src/ui/remote-namespace.ts +24 -0
- package/src/ui/remote-session.ts +220 -0
- package/src/ui/session-controller.service.ts +335 -0
- package/src/ui/session-layout.ts +44 -0
- package/src/ui/session-reference-endpoint.client.ts +37 -0
- package/src/ui/session-scope.contribution.ts +81 -0
- package/src/ui/session-status-slots.ts +45 -0
- package/src/ui/session-submission.ts +108 -0
- package/src/ui/session-ui.provide.ts +51 -0
- package/src/ui/sessions.provide.ts +48 -0
- package/src/ui/setting-ui.provide.ts +35 -0
- package/src/ui/settings-general-slots.ts +66 -0
- package/src/ui/settings-host.ts +28 -0
- package/src/ui/settings-models-slots.ts +43 -0
- package/src/ui/shell/directory-picker-native-slots.ts +83 -0
- package/src/ui/shell/index.ts +74 -0
- package/src/ui/shell/rightbar-seats.ts +321 -0
- package/src/ui/shell/session-panel-slots.ts +33 -0
- package/src/ui/shell/sidebar-document-preview-slots.ts +62 -0
- package/src/ui/shell/sidebar-slots.ts +33 -0
- package/src/ui/shell/workspace-slots.ts +75 -0
- package/src/ui/ui-permission.service.ts +78 -0
- package/src/ui/ui-session.token.ts +5 -0
- package/src/ui/ui-settings.token.ts +9 -0
- package/src/ui/upstream-context.ts +27 -0
- package/src/ui/user-questions-slots.ts +39 -0
package/dist/ui.d.mts
ADDED
|
@@ -0,0 +1,531 @@
|
|
|
1
|
+
import { ChatNodeOwnerProps, ChatNodeViewProps, ChatViewSlotProps, InputTriggers, SessionCatalog, SessionCatalogState, SessionController, SessionController as SessionController$1, SessionRetainHandle, SessionRetainHandle as SessionRetainHandle$1, SessionScope, SessionView, UiConversation, UiSession, UiSessionStatus, UserContentAttachment, UserContentData, UserMessageNode, UserTextFacts } from "@morlay/dsh-conversation/contract";
|
|
2
|
+
import { Context, OnDispose, OnInit, ProviderList, kAdapted, kFace, kMounted } from "@morlay/zephyr";
|
|
3
|
+
import { SessionEndpointClient } from "@morlay/dsh-session/ui";
|
|
4
|
+
import { ConfigForms, ProjectionFace, ProjectionValueStore, Remote, RemoteTransport, SettingsSchema, SettingsSchemaDefault, SidebarRight, SidebarRightTabs } from "@morlay/zephyr-app/client";
|
|
5
|
+
import { SessionReferenceEndpoint } from "@morlay/dsh-conversation/endpoint";
|
|
6
|
+
import * as UiSessionPlugin from "@deepseek-ai/dsh-client-ui-session/client";
|
|
7
|
+
import * as UiConversationPlugin from "@deepseek-ai/dsh-client-ui-conversation/client";
|
|
8
|
+
import { FileUpload } from "@morlay/dsh-upload/ui";
|
|
9
|
+
import * as UiChatPlugin from "@deepseek-ai/dsh-client-ui-chat/client";
|
|
10
|
+
import * as MessageQuotesPlugin from "@deepseek-ai/dsh-message-quotes/client";
|
|
11
|
+
import * as UiToolPlugin from "@deepseek-ai/dsh-client-ui-tool/client";
|
|
12
|
+
import * as UiAttachmentPlugin from "@deepseek-ai/dsh-client-ui-attachment/client";
|
|
13
|
+
import * as UiFileActionsPlugin from "@deepseek-ai/dsh-client-ui-file-actions/client";
|
|
14
|
+
import * as UiOpenInAppPlugin from "@deepseek-ai/dsh-client-ui-open-in-app/client";
|
|
15
|
+
import * as UiSecretMaskPlugin from "@deepseek-ai/dsh-client-ui-secret-mask/client";
|
|
16
|
+
import * as UiSubagentPlugin from "@deepseek-ai/dsh-client-ui-subagent/client";
|
|
17
|
+
import * as UiTrajectoryPlugin from "@deepseek-ai/dsh-client-ui-trajectory/client";
|
|
18
|
+
import * as UiWorkflowRunPlugin from "@deepseek-ai/dsh-client-ui-workflow-run/client";
|
|
19
|
+
import { CommandUiRow } from "@morlay/dsh-command/ui";
|
|
20
|
+
import * as UiInputTriggerPlugin from "@deepseek-ai/dsh-client-ui-input-trigger/client";
|
|
21
|
+
import * as UiReferencePlugin from "@deepseek-ai/dsh-client-ui-reference/client";
|
|
22
|
+
import * as UiSessionStatusPlugin from "@deepseek-ai/dsh-client-ui-session-status/client";
|
|
23
|
+
import "@deepseek-ai/dsh-client-ui-session-panel/client";
|
|
24
|
+
import "@deepseek-ai/dsh-client-ui-sidebar-documentpreview/client";
|
|
25
|
+
import "@deepseek-ai/dsh-client-ui-sidebar/client";
|
|
26
|
+
import "@deepseek-ai/dsh-client-ui-workspace/client";
|
|
27
|
+
import "@morlay/dsh-shell/ui";
|
|
28
|
+
import "@morlay/dsh-workspace/ui";
|
|
29
|
+
import * as UiModelSelectionPlugin from "@deepseek-ai/dsh-client-ui-model-selection/client";
|
|
30
|
+
import * as UiSettingsGeneralPlugin from "@deepseek-ai/dsh-client-ui-settings-general/client";
|
|
31
|
+
import * as UiSettingsPlugin from "@deepseek-ai/dsh-client-ui-settings/client";
|
|
32
|
+
import * as UiSettingsModelsPlugin from "@deepseek-ai/dsh-client-ui-settings-models/client";
|
|
33
|
+
import * as UiPermissionPlugin from "@deepseek-ai/dsh-client-ui-permission-presets/client";
|
|
34
|
+
import * as UiApprovalPlugin$1 from "@deepseek-ai/dsh-client-ui-approval/client";
|
|
35
|
+
import * as UiUserQuestionsPlugin from "@deepseek-ai/dsh-client-ui-user-questions/client";
|
|
36
|
+
import * as UiApprovalPlugin from "@deepseek-ai/dsh-client-ui-approval";
|
|
37
|
+
import * as UiDeliverablesPlugin from "@deepseek-ai/dsh-client-ui-deliverables/client";
|
|
38
|
+
export declare class SessionControllerDefault extends SessionController$1 implements OnInit, OnDispose {
|
|
39
|
+
readonly [kAdapted] = true;
|
|
40
|
+
/** 上游实例是否已经挂上(`bindFace` 用它区分「忘了 mount」与「上游本来就不发布」)。 */
|
|
41
|
+
[kMounted]: boolean;
|
|
42
|
+
/** 采纳进令牌表的契约面:`onInit` 里拿到上游 `ClientSessions` 之后填。 */
|
|
43
|
+
[kFace]: unknown;
|
|
44
|
+
private readonly remote;
|
|
45
|
+
/** `session` 组的客户端形态:一元方法与 `control` 流都走它(组名与帧形状的 home 在契约类上)。 */
|
|
46
|
+
private readonly sessionEndpoint;
|
|
47
|
+
/** `commands.execute` 的真身:我们的命令执行器。 */
|
|
48
|
+
/**
|
|
49
|
+
* 命令执行器:**可选**——只测 `session` 面的装配(如 `sessions-create.spec`)可以不装它。
|
|
50
|
+
* 上游 `commands.execute` 落到这里;没装时那一路报明确的"未挂载"而不是让整个行失败。
|
|
51
|
+
*/
|
|
52
|
+
private readonly commandRunner;
|
|
53
|
+
/** 连接面:**可选**——只测数据面的装配没有它,按单代跑(上游流生命周期的重连因此不触发)。 */
|
|
54
|
+
private readonly connection;
|
|
55
|
+
private inner;
|
|
56
|
+
onInit(ctx: Context): void;
|
|
57
|
+
onDispose(): void;
|
|
58
|
+
/** 停掉当前这条 `session/control` 流(换代重开与卸载共用)。 */
|
|
59
|
+
private stopControl;
|
|
60
|
+
/** 连接代订阅的退订函数。 */
|
|
61
|
+
private stopGeneration;
|
|
62
|
+
/** 当前这条 `session/control` 流的停止函数。 */
|
|
63
|
+
private stopStream;
|
|
64
|
+
/**
|
|
65
|
+
* 开一条 `session/control` 流(幂等:先停旧的)。
|
|
66
|
+
*
|
|
67
|
+
* 等的是**这个 namespace**(不是"第一次 `$mount`"):组是各行分别挂的,
|
|
68
|
+
* 先挂上的那个与 `session` 组无关;按名字等才不受装配顺序影响。
|
|
69
|
+
*/
|
|
70
|
+
private openControl;
|
|
71
|
+
/** 上游实例;`onInit` 之前访问是装配错误,直接说清楚。 */
|
|
72
|
+
private get sessions();
|
|
73
|
+
/**
|
|
74
|
+
* 目录读面:**上游那份** `ObservableSnapshot<SessionListState>`,原样交出。
|
|
75
|
+
*
|
|
76
|
+
* 不重映射相位、不重打字行:那是契约手抄上游形状的年代留下的第二层(`pending` → `loading`、
|
|
77
|
+
* 行 `unknown`),而快照本来就是上游 `ClientSessions.list` 造的——转一层只会多出一份要同步的形状。
|
|
78
|
+
* 上游 store 的身份自身稳定(`useSyncExternalStore` 的依赖比得下去重),所以这里也不需要缓存包装。
|
|
79
|
+
*/
|
|
80
|
+
get list(): SessionController$1["list"];
|
|
81
|
+
get searchResultLimit(): SessionController$1["searchResultLimit"];
|
|
82
|
+
create(opts?: Parameters<SessionController$1["create"]>[0]): ReturnType<SessionController$1["create"]>;
|
|
83
|
+
fork(opts: Parameters<SessionController$1["fork"]>[0]): ReturnType<SessionController$1["fork"]>;
|
|
84
|
+
search(...args: Parameters<SessionController$1["search"]>): ReturnType<SessionController$1["search"]>;
|
|
85
|
+
refresh(): ReturnType<SessionController$1["refresh"]>;
|
|
86
|
+
refreshProjections(sessionId: Parameters<SessionController$1["refreshProjections"]>[0]): ReturnType<SessionController$1["refreshProjections"]>;
|
|
87
|
+
subagentAddress(sessionId: Parameters<SessionController$1["subagentAddress"]>[0]): ReturnType<SessionController$1["subagentAddress"]>;
|
|
88
|
+
scopeOf(ctx: Parameters<SessionController$1["scopeOf"]>[0]): ReturnType<SessionController$1["scopeOf"]>;
|
|
89
|
+
scope(id: Parameters<SessionController$1["scope"]>[0]): ReturnType<SessionController$1["scope"]>;
|
|
90
|
+
sessionOf(ctx: Parameters<SessionController$1["sessionOf"]>[0]): ReturnType<SessionController$1["sessionOf"]>;
|
|
91
|
+
get(id: string): ReturnType<SessionController$1["get"]>;
|
|
92
|
+
binding(id: string): ReturnType<SessionController$1["binding"]>;
|
|
93
|
+
retainInfo(id: string): ReturnType<SessionController$1["retainInfo"]>;
|
|
94
|
+
retain(target: Parameters<SessionController$1["retain"]>[0], options: Parameters<SessionController$1["retain"]>[1]): ReturnType<SessionController$1["retain"]>;
|
|
95
|
+
using<T>(target: Parameters<SessionController$1["using"]>[0], options: Parameters<SessionController$1["using"]>[1], operation: (reference: SessionRetainHandle$1) => T | Promise<T>): Promise<T>;
|
|
96
|
+
}
|
|
97
|
+
/** `sessionReferenceResolver` 组的客户端契约实例。 */
|
|
98
|
+
declare class SessionReferenceEndpointClient extends SessionReferenceEndpoint implements OnInit {
|
|
99
|
+
/** `remote.sessionReferenceResolver` 这一面(发布给按名字读的上游消费方)。 */
|
|
100
|
+
protected readonly remote: Remote & import("@morlay/zephyr").Required<Remote>;
|
|
101
|
+
/** 传输:转发走它。 */
|
|
102
|
+
protected readonly transport: RemoteTransport & import("@morlay/zephyr").Required<RemoteTransport>;
|
|
103
|
+
/**
|
|
104
|
+
* 挂上这一组的 descriptor:`remote.sessionReferenceResolver` 由它发布。
|
|
105
|
+
* @param ctx - 本行 ctx:disposer 挂在它上面。
|
|
106
|
+
*/
|
|
107
|
+
onInit(ctx: Context): Promise<void>;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* 会话目录的**数据面**:只有服务本身。
|
|
111
|
+
*
|
|
112
|
+
* 与视图分开,是因为数据面不依赖渲染栈(`slots` / React)——非浏览器宿主(测试、CLI)
|
|
113
|
+
* 只装这一层就能拿到「活目录」。
|
|
114
|
+
*
|
|
115
|
+
* 投影读面(`Projections`,本域的 `session/control` 中继)随它一起装:
|
|
116
|
+
* `binding().session.projections.faceOf()` 的语义在那一层,分开装会出现「目录能读、投影永远空」的半装配。
|
|
117
|
+
*
|
|
118
|
+
* 会话目录的令牌是会话域的 `SessionController`(面 = 上游 `ISessions`):技能、模型选择这些域的 UI 行
|
|
119
|
+
* 按它注入,不反向依赖对话聚合层。
|
|
120
|
+
*/
|
|
121
|
+
export declare const provideSessionsStore: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof ProjectionsDefault, typeof SessionEndpointClient, typeof SessionControllerDefault];
|
|
122
|
+
/**
|
|
123
|
+
* 会话目录的 client 半:数据面 + descriptor 绑定。
|
|
124
|
+
*
|
|
125
|
+
* 主区的空态**不自写**:`ui-conversation` 那一行把 `ConversationPanel` 注册到 `main` 位置的
|
|
126
|
+
* `conversation` key 上,`AppFrame` 在没有面板时默认渲染它(`entryKey: panelId ?? 'conversation'`),
|
|
127
|
+
* 无会话时由它的 `EmptyHero`(`hero.headline` =「探索未至之境」)负责。我们曾经在这里注册过一个
|
|
128
|
+
* `main/empty` 的自写欢迎页,那是抢位置。
|
|
129
|
+
*
|
|
130
|
+
* **不提供 root 标准源**:上游 `ui-session` 行自己 `provideRoot(...)`;同名空字段会盖掉真实状态。
|
|
131
|
+
*
|
|
132
|
+
* providers 里是「会话引用组」的客户端形态:`@` 菜单的会话候选要它,而它的 descriptor 不属于
|
|
133
|
+
* `session-controller` 那一组。那一组的上游 descriptor(`SESSION_CONTROLLER_REMOTE`)挂在这里:
|
|
134
|
+
* `packages/agent/dsh-session/src/ui/session-endpoint.client.ts:52-58` 的 `SessionEndpointClient.onInit`
|
|
135
|
+
* (`this.remote.$mount(SESSION_CONTROLLER_REMOTE)` 在 54 行,随后 `publishNamespace` 发 `remote.session`)。
|
|
136
|
+
* `provideClientRemote()` 只装传输与 `Remote` 实现、不挂任何组的 descriptor:
|
|
137
|
+
* `packages/zephyr/zephyr-app/src/client/remote/provide.ts:17`。
|
|
138
|
+
* 本行这组(会话引用)的挂载由 `SessionReferenceEndpointClient` 自己的 `onInit` 做,装配面只装
|
|
139
|
+
* `provideSessions()` 就够,不必再记一条 client 行。
|
|
140
|
+
*/
|
|
141
|
+
export declare const provideSessions: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof ProjectionsDefault, typeof SessionEndpointClient, typeof SessionControllerDefault, typeof SessionReferenceEndpointClient];
|
|
142
|
+
/** 框架对外给出的投影读面。 */
|
|
143
|
+
export declare abstract class Projections {
|
|
144
|
+
/**
|
|
145
|
+
* 某个会话的一个投影键的读面(identity-stable,可先订阅后才有值)。
|
|
146
|
+
* @param sessionId - 会话身份。
|
|
147
|
+
* @param key - 投影键(`permissions` / `modelSelection` / `title`…)。
|
|
148
|
+
* @returns 读面。
|
|
149
|
+
*/
|
|
150
|
+
abstract faceOf(sessionId: string, key: string): ProjectionFace;
|
|
151
|
+
/**
|
|
152
|
+
* 某个会话的整份投影 store(要 `values()` / `subscribeAny()` 的消费方用)。
|
|
153
|
+
* @param sessionId - 会话身份。
|
|
154
|
+
* @returns store(不存在就建一个空的)。
|
|
155
|
+
*/
|
|
156
|
+
abstract storeOf(sessionId: string): ProjectionValueStore;
|
|
157
|
+
/**
|
|
158
|
+
* 用一帧基线校准某个会话(`session/follow` 首帧的 `projections` 走这里)。
|
|
159
|
+
* @param sessionId - 会话身份。
|
|
160
|
+
* @param baseline - 基线块。
|
|
161
|
+
*/
|
|
162
|
+
abstract seed(sessionId: string, baseline: {
|
|
163
|
+
readonly asOfSeq: number;
|
|
164
|
+
readonly values: Readonly<Record<string, unknown>>;
|
|
165
|
+
}): void;
|
|
166
|
+
/**
|
|
167
|
+
* 用列表行上的 cached 值填空(只在没有 sequenced 行时生效)。
|
|
168
|
+
* @param sessionId - 会话身份。
|
|
169
|
+
* @param values - 键 → 值。
|
|
170
|
+
*/
|
|
171
|
+
abstract applyCached(sessionId: string, values: Readonly<Record<string, unknown>>): void;
|
|
172
|
+
}
|
|
173
|
+
/** 默认实现:订阅 `remote.session.control`,把帧分发给对应会话的 store。 */
|
|
174
|
+
export declare class ProjectionsDefault extends Projections implements OnInit, OnDispose {
|
|
175
|
+
private readonly remote;
|
|
176
|
+
/**
|
|
177
|
+
* 连接面:**可选**。有它才跟连接代换代(换连接 = 旧值作废);
|
|
178
|
+
* 只装数据面的场景(会话目录的单元测试、纯 node)没有它,按单代跑。
|
|
179
|
+
*/
|
|
180
|
+
private readonly connection;
|
|
181
|
+
private readonly stores;
|
|
182
|
+
/** 当前连接代:换代时清空所有值(旧代的帧不能留到新一代)。 */
|
|
183
|
+
private generation;
|
|
184
|
+
private stopStream;
|
|
185
|
+
onInit(): void;
|
|
186
|
+
faceOf(sessionId: string, key: string): ProjectionFace;
|
|
187
|
+
/**
|
|
188
|
+
* 卸载:先中止流再退出。
|
|
189
|
+
*
|
|
190
|
+
* 中止放在前面,`catch` 里才能用 `signal.aborted` 把"正常收尾"与"真断连"分开——
|
|
191
|
+
* 否则每次关页面都会打一条 `session/control 结束于错误`。
|
|
192
|
+
*/
|
|
193
|
+
onDispose(): void;
|
|
194
|
+
/** 卸载标记:`whenMounted()` 迟到的兑现不能再开流。 */
|
|
195
|
+
private disposed;
|
|
196
|
+
/** 连接代的订阅退订函数。 */
|
|
197
|
+
private stopGeneration;
|
|
198
|
+
storeOf(sessionId: string): ProjectionValueStore;
|
|
199
|
+
seed(sessionId: string, baseline: {
|
|
200
|
+
readonly asOfSeq: number;
|
|
201
|
+
readonly values: Readonly<Record<string, unknown>>;
|
|
202
|
+
}): void;
|
|
203
|
+
applyCached(sessionId: string, values: Readonly<Record<string, unknown>>): void;
|
|
204
|
+
/** 开一条 `session/control` 流(幂等:先停旧的)。 */
|
|
205
|
+
private open;
|
|
206
|
+
/**
|
|
207
|
+
* 一帧控制流 → store(按**字段**分流:有 `changes` 是增量,有 `value` 是基线)。
|
|
208
|
+
* @param frame - 上游 `SessionControlFrame`。
|
|
209
|
+
*/
|
|
210
|
+
private accept;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* 投影读面的装配:装一次,之后本域所有消费方都从 `Projections` 读宿主算出来的值。
|
|
214
|
+
*
|
|
215
|
+
* 排在 `provideClientRemote()` 之后(它要 `remote`)与 `provideClientConnection()` 之后(它要 `connection`)。
|
|
216
|
+
* @returns provider 清单。
|
|
217
|
+
*/
|
|
218
|
+
export declare const provideProjections: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof ProjectionsDefault];
|
|
219
|
+
declare const SessionLayout_base: import("@morlay/zephyr/compat").AdaptedClass<typeof UiSession, typeof UiSessionPlugin>;
|
|
220
|
+
export declare class SessionLayout extends SessionLayout_base {
|
|
221
|
+
private readonly sessions;
|
|
222
|
+
private readonly remoteAccess;
|
|
223
|
+
private readonly slots;
|
|
224
|
+
private readonly remote;
|
|
225
|
+
onInit(ctx: Context): Promise<void>;
|
|
226
|
+
}
|
|
227
|
+
declare const ConversationSlots_base: import("@morlay/zephyr/compat").AdaptedClass<typeof UiConversation, typeof UiConversationPlugin>;
|
|
228
|
+
export declare class ConversationSlots extends ConversationSlots_base {
|
|
229
|
+
private readonly slots;
|
|
230
|
+
private readonly sessions;
|
|
231
|
+
private readonly uiSession;
|
|
232
|
+
private readonly uiWorkspace;
|
|
233
|
+
private readonly locale;
|
|
234
|
+
private readonly configForms;
|
|
235
|
+
private readonly fileUpload;
|
|
236
|
+
private readonly uiResponsive;
|
|
237
|
+
onInit(ctx: Context): Promise<void>;
|
|
238
|
+
}
|
|
239
|
+
declare const ChatSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiChatPlugin>;
|
|
240
|
+
export declare class ChatSlots extends ChatSlots_base {
|
|
241
|
+
private readonly slots;
|
|
242
|
+
private readonly sessions;
|
|
243
|
+
private readonly uiWorkspace;
|
|
244
|
+
private readonly uiSession;
|
|
245
|
+
private readonly uiConversation;
|
|
246
|
+
private readonly locale;
|
|
247
|
+
private readonly configForms;
|
|
248
|
+
private readonly remote;
|
|
249
|
+
private readonly sidebarRight;
|
|
250
|
+
private readonly connection;
|
|
251
|
+
private readonly fileDrag;
|
|
252
|
+
onInit(ctx: Context): Promise<void>;
|
|
253
|
+
}
|
|
254
|
+
declare const MessageQuotesSlot_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof MessageQuotesPlugin>;
|
|
255
|
+
export declare class MessageQuotesSlot extends MessageQuotesSlot_base {
|
|
256
|
+
private readonly slots;
|
|
257
|
+
private readonly locale;
|
|
258
|
+
private readonly sessions;
|
|
259
|
+
private readonly uiConversation;
|
|
260
|
+
onInit(ctx: Context): Promise<void>;
|
|
261
|
+
}
|
|
262
|
+
declare const ToolSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiToolPlugin>;
|
|
263
|
+
export declare class ToolSlots extends ToolSlots_base {
|
|
264
|
+
private readonly slots;
|
|
265
|
+
private readonly remote;
|
|
266
|
+
private readonly uiConversation;
|
|
267
|
+
onInit(ctx: Context): Promise<void>;
|
|
268
|
+
}
|
|
269
|
+
declare const AttachmentSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiAttachmentPlugin>;
|
|
270
|
+
export declare class AttachmentSlots extends AttachmentSlots_base {
|
|
271
|
+
private readonly slots;
|
|
272
|
+
private readonly fileDrag;
|
|
273
|
+
onInit(ctx: Context): Promise<void>;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* \`fileActions\` 的契约:与 \`OpenInApp\` 同理——这一行只注册菜单项,不提供服务。
|
|
277
|
+
*/
|
|
278
|
+
export declare abstract class FileActions {}
|
|
279
|
+
declare const FileActionsSlots_base: import("@morlay/zephyr/compat").AdaptedClass<typeof FileActions, typeof UiFileActionsPlugin>;
|
|
280
|
+
export declare class FileActionsSlots extends FileActionsSlots_base {
|
|
281
|
+
private readonly contextMenus;
|
|
282
|
+
private readonly slots;
|
|
283
|
+
private readonly locale;
|
|
284
|
+
private readonly remote;
|
|
285
|
+
onInit(ctx: Context): Promise<void>;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* \`openInApp\` 的契约:上游这一行**不提供任何服务**,只往槽位与菜单表里注册条目。
|
|
289
|
+
*
|
|
290
|
+
* 写出来是为了让 \`fromCordis(契约, 实现)\` 的双参形态保持统一(装任何上游实现之前先说清它的面,
|
|
291
|
+
* 哪怕这个面是「没有」)。
|
|
292
|
+
*/
|
|
293
|
+
export declare abstract class OpenInApp {}
|
|
294
|
+
declare const OpenInAppSlots_base: import("@morlay/zephyr/compat").AdaptedClass<typeof OpenInApp, typeof UiOpenInAppPlugin>;
|
|
295
|
+
export declare class OpenInAppSlots extends OpenInAppSlots_base {
|
|
296
|
+
private readonly contextMenus;
|
|
297
|
+
private readonly sidebarRight;
|
|
298
|
+
private readonly sidebarRightTabs;
|
|
299
|
+
private readonly sessions;
|
|
300
|
+
private readonly slots;
|
|
301
|
+
private readonly locale;
|
|
302
|
+
private readonly remote;
|
|
303
|
+
private readonly shortcuts;
|
|
304
|
+
private readonly layout;
|
|
305
|
+
onInit(ctx: Context): Promise<void>;
|
|
306
|
+
}
|
|
307
|
+
declare const SecretMaskSlot_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiSecretMaskPlugin>;
|
|
308
|
+
export declare class SecretMaskSlot extends SecretMaskSlot_base {
|
|
309
|
+
private readonly locale;
|
|
310
|
+
private readonly slots;
|
|
311
|
+
private readonly uiConversation;
|
|
312
|
+
onInit(ctx: Context): Promise<void>;
|
|
313
|
+
}
|
|
314
|
+
declare const SubagentSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiSubagentPlugin>;
|
|
315
|
+
export declare class SubagentSlots extends SubagentSlots_base {
|
|
316
|
+
private readonly sessions;
|
|
317
|
+
private readonly uiWorkspace;
|
|
318
|
+
private readonly slots;
|
|
319
|
+
private readonly locale;
|
|
320
|
+
private readonly sidebarRight;
|
|
321
|
+
onInit(ctx: Context): Promise<void>;
|
|
322
|
+
}
|
|
323
|
+
declare const TrajectorySlot_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiTrajectoryPlugin>;
|
|
324
|
+
export declare class TrajectorySlot extends TrajectorySlot_base {
|
|
325
|
+
private readonly slots;
|
|
326
|
+
private readonly sessions;
|
|
327
|
+
private readonly uiSession;
|
|
328
|
+
private readonly uiConversation;
|
|
329
|
+
private readonly locale;
|
|
330
|
+
private readonly remote;
|
|
331
|
+
onInit(ctx: Context): Promise<void>;
|
|
332
|
+
}
|
|
333
|
+
declare const WorkflowRunSlot_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiWorkflowRunPlugin>;
|
|
334
|
+
export declare class WorkflowRunSlot extends WorkflowRunSlot_base {
|
|
335
|
+
private readonly uiConversation;
|
|
336
|
+
private readonly uiWorkspace;
|
|
337
|
+
private readonly slots;
|
|
338
|
+
private readonly sessions;
|
|
339
|
+
private readonly locale;
|
|
340
|
+
onInit(ctx: Context): Promise<void>;
|
|
341
|
+
}
|
|
342
|
+
export declare class CommandUiSlot extends CommandUiRow {
|
|
343
|
+
private readonly inputTriggers;
|
|
344
|
+
private readonly sessions;
|
|
345
|
+
private readonly remote;
|
|
346
|
+
private readonly locale;
|
|
347
|
+
private readonly slots;
|
|
348
|
+
onInit(ctx: Context): Promise<void>;
|
|
349
|
+
}
|
|
350
|
+
declare const InputTriggerSlot_base: import("@morlay/zephyr/compat").AdaptedClass<typeof InputTriggers, typeof UiInputTriggerPlugin>;
|
|
351
|
+
export declare class InputTriggerSlot extends InputTriggerSlot_base {
|
|
352
|
+
private readonly sessions;
|
|
353
|
+
private readonly locale;
|
|
354
|
+
private readonly slots;
|
|
355
|
+
onInit(ctx: Context): Promise<void>;
|
|
356
|
+
}
|
|
357
|
+
declare const ReferenceSlot_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiReferencePlugin>;
|
|
358
|
+
export declare class ReferenceSlot extends ReferenceSlot_base {
|
|
359
|
+
private readonly inputTriggers;
|
|
360
|
+
private readonly locale;
|
|
361
|
+
private readonly sessions;
|
|
362
|
+
private readonly remote;
|
|
363
|
+
private readonly sidebarRight;
|
|
364
|
+
private readonly slots;
|
|
365
|
+
private readonly uiConversation;
|
|
366
|
+
onInit(ctx: Context): Promise<void>;
|
|
367
|
+
}
|
|
368
|
+
declare const SessionStatusSlots_base: import("@morlay/zephyr/compat").AdaptedClass<typeof UiSessionStatus, typeof UiSessionStatusPlugin>;
|
|
369
|
+
declare class SessionStatusSlots extends SessionStatusSlots_base {
|
|
370
|
+
private readonly remote;
|
|
371
|
+
private readonly remoteAccess;
|
|
372
|
+
private readonly sessions;
|
|
373
|
+
private readonly slots;
|
|
374
|
+
private readonly uiSession;
|
|
375
|
+
onInit(ctx: Context): Promise<void>;
|
|
376
|
+
}
|
|
377
|
+
/** 会话界面的**壳**:`ui-session` 行(产出 `uiSession`)。 */
|
|
378
|
+
export declare const provideSessionShell: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof SessionLayout];
|
|
379
|
+
/** 未读标记那一行(产出 `uiSession.sessionStatus`):要 `uiSession` 与 `remote.sessionStatus`。 */
|
|
380
|
+
export declare const provideSessionStatusUi: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof SessionStatusSlots];
|
|
381
|
+
/** 会话界面:主视图、内容渲染、会话内各领域的卡片。 */
|
|
382
|
+
export declare const provideSessionSlots: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof FileActionsSlots, typeof OpenInAppSlots, typeof ConversationSlots, typeof ToolSlots, typeof AttachmentSlots, typeof ChatSlots, typeof MessageQuotesSlot, typeof SecretMaskSlot, typeof SubagentSlots, typeof TrajectorySlot, typeof WorkflowRunSlot];
|
|
383
|
+
/** 输入区:触发器与 `@` 引用(要会话界面各行之后)。附件上传运行时在 `@morlay/dsh-upload/ui`。 */
|
|
384
|
+
export declare const provideSessionInputSlots: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof InputTriggerSlot, typeof CommandUiSlot, typeof ReferenceSlot];
|
|
385
|
+
/**
|
|
386
|
+
* 会话壳的行:左栏、右栏、工作区与会话树、系统目录选择、终端链、右栏各标签与文件预览。
|
|
387
|
+
*
|
|
388
|
+
* 终端那三行**整个从 shell 域展开**(`...provideShellUi()`):清单只有一个 home,这里不重抄。
|
|
389
|
+
*
|
|
390
|
+
* 顺序:`SidebarRightSlots` 要在所有**往 `sidebarRightTabs` 注册 tab 类型**的行之前(注册表由它建出来);
|
|
391
|
+
* `WorkspaceFilesResource` 在 `SidebarFilesSlots`(在 `provideWorkspaceUi()` 里)之后、
|
|
392
|
+
* `SidebarDocumentPreviewSlots` 之前(预览的 `useResource('file')` 靠它)——所以调用方要把
|
|
393
|
+
* `provideWorkspaceUi()` 排在本函数之前。
|
|
394
|
+
* @returns provider 清单。
|
|
395
|
+
*/
|
|
396
|
+
export declare function provideSessionShellSlots(): ProviderList;
|
|
397
|
+
/**
|
|
398
|
+
* 对话域的**浏览器半**:一份清单装完本包的界面面。
|
|
399
|
+
*
|
|
400
|
+
* 内部顺序即依赖顺序:
|
|
401
|
+
* 1. `provideSessionShell()`:`SessionLayout` 包装上游 `ui-session`,产出 `uiSession`;
|
|
402
|
+
* 2. `provideSessionShellSlots()`:侧栏骨架,**要 `uiWorkspace`**(由 workspace 域的 `provideWorkspaceUi()` 给,
|
|
403
|
+
* 所以调用方必须把它排在本函数之前)与 `Layout`;
|
|
404
|
+
* 3. `provideSessionSlots()`:主视图 / 内容渲染 / 会话内卡片(产出 `conversation`);
|
|
405
|
+
* 4. `provideSessionInputSlots()`:输入区触发器、命令 UI 行、`@` 引用——**要 `remote.commands`**,
|
|
406
|
+
* 所以调用方必须把 `provideCommandUi()` 排在本函数之前。
|
|
407
|
+
*
|
|
408
|
+
* @returns provider 清单。
|
|
409
|
+
*/
|
|
410
|
+
export declare function provideConversationUi(): ProviderList;
|
|
411
|
+
declare const ModelSelectionSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiModelSelectionPlugin>;
|
|
412
|
+
export declare class ModelSelectionSlots extends ModelSelectionSlots_base {
|
|
413
|
+
private readonly sessions;
|
|
414
|
+
private readonly slots;
|
|
415
|
+
private readonly locale;
|
|
416
|
+
private readonly remote;
|
|
417
|
+
private readonly commandUi;
|
|
418
|
+
private readonly uiResponsive;
|
|
419
|
+
onInit(ctx: Context): Promise<void>;
|
|
420
|
+
}
|
|
421
|
+
declare const SettingsGeneralSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiSettingsGeneralPlugin>;
|
|
422
|
+
export declare class SettingsGeneralSlots extends SettingsGeneralSlots_base {
|
|
423
|
+
private readonly slots;
|
|
424
|
+
private readonly locale;
|
|
425
|
+
private readonly connection;
|
|
426
|
+
private readonly remote;
|
|
427
|
+
private readonly configForms;
|
|
428
|
+
private readonly shortcuts;
|
|
429
|
+
private readonly remoteAccess;
|
|
430
|
+
onInit(ctx: Context): Promise<void>;
|
|
431
|
+
}
|
|
432
|
+
declare const SettingsHost_base: import("@morlay/zephyr/compat").AdaptedClass<typeof ConfigForms, typeof UiSettingsPlugin>;
|
|
433
|
+
export declare class SettingsHost extends SettingsHost_base {
|
|
434
|
+
private readonly remote;
|
|
435
|
+
onInit(ctx: Context): Promise<void>;
|
|
436
|
+
}
|
|
437
|
+
declare const SettingsModelsSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiSettingsModelsPlugin>;
|
|
438
|
+
export declare class SettingsModelsSlots extends SettingsModelsSlots_base {
|
|
439
|
+
private readonly slots;
|
|
440
|
+
private readonly locale;
|
|
441
|
+
private readonly remote;
|
|
442
|
+
private readonly configForms;
|
|
443
|
+
private readonly settingsSchema;
|
|
444
|
+
onInit(ctx: Context): Promise<void>;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* 设置的**入口行**(`configForms` / `settingsSchema` 的真实现,上游 `ui-settings` 的 client 行)。
|
|
448
|
+
*
|
|
449
|
+
* 两半各一行:`SettingsHost` 是上游行本身(`configForms` 的契约面),`SettingsSchemaDefault` 是
|
|
450
|
+
* `settingsSchema` 的令牌拥有者(上游 apply 会顺手注册它,但装配预检早于任何 onInit,令牌条目只能由
|
|
451
|
+
* 清单给)。
|
|
452
|
+
*
|
|
453
|
+
* 装配顺序**不需要**调用方安排:内核按每行的 `inject` 声明做拓扑排序(提供者在消费者前,同层沿用
|
|
454
|
+
* 清单顺序),所以 `Locale` / `Theme` 对 `ConfigForms` 的依赖会自动把本行排到它们前面。
|
|
455
|
+
*
|
|
456
|
+
* 与 `provideSettingUi()` 分成两条清单的理由是**职责与生命周期**:入口行装的是上游 client 行的服务面,
|
|
457
|
+
* 页面位置装的是槽位(后者依赖 `commandUi` 等链内服务)。这是契约清晰化,不是顺序约束。
|
|
458
|
+
*/
|
|
459
|
+
export declare const provideSettingHost: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof SettingsHost, typeof SettingsSchemaDefault];
|
|
460
|
+
/**
|
|
461
|
+
* 设置的**页面位置与模型选择器**:通用页 / 模型页的槽位,以及输入区的模型选择器。
|
|
462
|
+
*
|
|
463
|
+
* 内部顺序:页面位置(通用页 + 模型页)→ 输入区的模型选择器(后者要 `commandUi` 有提供者)。
|
|
464
|
+
*
|
|
465
|
+
* 顺序同样由内核的拓扑排序决定(它读 `configForms` 与 `commandUi` 的面);与其它清单的相对位置
|
|
466
|
+
* 不靠清单位置。要剔某一行用 `without(实现类)`。
|
|
467
|
+
*/
|
|
468
|
+
export declare const provideSettingUi: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof SettingsGeneralSlots, typeof SettingsModelsSlots, typeof ModelSelectionSlots];
|
|
469
|
+
declare const UiPermission_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiPermissionPlugin>;
|
|
470
|
+
export declare class UiPermission extends UiPermission_base {
|
|
471
|
+
private readonly remote;
|
|
472
|
+
private readonly connection;
|
|
473
|
+
private readonly sessions;
|
|
474
|
+
private readonly slots;
|
|
475
|
+
private readonly locale;
|
|
476
|
+
private readonly configForms;
|
|
477
|
+
private readonly settingsSchema;
|
|
478
|
+
/** 上游这一行把 `/permission` 的弹层装饰挂到命令 UI 上(`/` 面板里因此有这一条)。 */
|
|
479
|
+
private readonly commandUi;
|
|
480
|
+
onInit(ctx: Context): Promise<void>;
|
|
481
|
+
}
|
|
482
|
+
/** permission 的浏览器半:上游 UI 行(组件未导出,按转发方式挂载)。 */
|
|
483
|
+
export declare const providePermissionUi: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof UiPermission];
|
|
484
|
+
declare const ApprovalSlot_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiApprovalPlugin$1>;
|
|
485
|
+
export declare class ApprovalSlot extends ApprovalSlot_base {
|
|
486
|
+
private readonly sessions;
|
|
487
|
+
private readonly remote;
|
|
488
|
+
private readonly uiSession;
|
|
489
|
+
private readonly slots;
|
|
490
|
+
private readonly locale;
|
|
491
|
+
onInit(ctx: Context): Promise<void>;
|
|
492
|
+
}
|
|
493
|
+
declare const UserQuestionsSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiUserQuestionsPlugin>;
|
|
494
|
+
export declare class UserQuestionsSlots extends UserQuestionsSlots_base {
|
|
495
|
+
private readonly sessions;
|
|
496
|
+
private readonly remote;
|
|
497
|
+
private readonly uiSession;
|
|
498
|
+
private readonly slots;
|
|
499
|
+
private readonly locale;
|
|
500
|
+
private readonly uiConversation;
|
|
501
|
+
onInit(ctx: Context): Promise<void>;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* permission 的两个**位置**:批准弹层(`approval`)与用户提问(`userQuestions`)。
|
|
505
|
+
*
|
|
506
|
+
* 与 `provideApproval()` / `providePermissionUi()` 分开:位置贡献要求会话界面已就位,装它们的人自己排序。
|
|
507
|
+
*/
|
|
508
|
+
export declare const provideUserQuestionsSlots: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof ApprovalSlot, typeof UserQuestionsSlots];
|
|
509
|
+
declare const UiApproval_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiApprovalPlugin>;
|
|
510
|
+
export declare class UiApproval extends UiApproval_base {
|
|
511
|
+
onInit(ctx: Context): Promise<void>;
|
|
512
|
+
}
|
|
513
|
+
/** approval 的浏览器半(与 permission 同属本包的 `./ui` 出口)。 */
|
|
514
|
+
export declare const provideApproval: (...features: import("@morlay/zephyr").ProviderFeature[]) => readonly [typeof UiApproval];
|
|
515
|
+
/**
|
|
516
|
+
* 交付物界面的行清单。
|
|
517
|
+
* @returns provider 清单。
|
|
518
|
+
*/
|
|
519
|
+
export declare function provideDeliverablesUi(): ProviderList;
|
|
520
|
+
declare const DeliverablesSlots_base: import("@morlay/zephyr/compat").AdaptedClass<import("@morlay/zephyr").TokenClass<unknown>, typeof UiDeliverablesPlugin>;
|
|
521
|
+
export declare class DeliverablesSlots extends DeliverablesSlots_base {
|
|
522
|
+
private readonly slots;
|
|
523
|
+
private readonly locale;
|
|
524
|
+
private readonly uiConversation;
|
|
525
|
+
private readonly remote;
|
|
526
|
+
private readonly sidebarRightTabs;
|
|
527
|
+
private readonly sidebarRight;
|
|
528
|
+
private readonly configForms;
|
|
529
|
+
onInit(ctx: Context): Promise<void>;
|
|
530
|
+
}
|
|
531
|
+
export { type ChatNodeOwnerProps, type ChatNodeViewProps, type ChatViewSlotProps, FileUpload, InputTriggers, type SessionCatalog, type SessionCatalogState, SessionController, type SessionRetainHandle, type SessionScope, type SessionView, SettingsSchema, SidebarRight, SidebarRightTabs, UiConversation, UiSession, type UserContentAttachment, type UserContentData, type UserMessageNode, type UserTextFacts };
|