@solazah/solazah-runtime 0.2.53 → 0.2.54
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/package.json +1 -1
- package/types/Copilot.d.ts +9 -3
package/package.json
CHANGED
package/types/Copilot.d.ts
CHANGED
|
@@ -70,10 +70,16 @@ export type CopilotInputImage = {
|
|
|
70
70
|
path: string;
|
|
71
71
|
mime?: string;
|
|
72
72
|
};
|
|
73
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* 待投递给主 agent 的一条内容:
|
|
75
|
+
* notice = 后台任务完成通知,interject = 用户在生成途中插的话,
|
|
76
|
+
* agent = 本对话的参与者(子代理)发来的消息。
|
|
77
|
+
*
|
|
78
|
+
* 真源在本文件,插件侧的镜像在 `../solazah-plugin-copilot` 的 runtime 契约里,两边要一致。
|
|
79
|
+
*/
|
|
74
80
|
export interface CopilotPendingInjection {
|
|
75
|
-
kind: "notice" | "interject";
|
|
76
|
-
/** 通知的执行端 subAgentType
|
|
81
|
+
kind: "notice" | "interject" | "agent";
|
|
82
|
+
/** 通知的执行端 subAgentType;插话不带;参与者消息带发送方名字。 */
|
|
77
83
|
source?: string;
|
|
78
84
|
/** 注入时用作消息 id(落库切片按 id 去重),同时是撤回的凭据。 */
|
|
79
85
|
id: string;
|