@inupedia/spotlight-vue 0.5.3 → 0.5.5
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/dist/remote/runPipeline.d.ts +5 -0
- package/dist/remote/runPipeline.d.ts.map +1 -1
- package/dist/remote/runPipeline.js +322 -242
- package/dist/store/pipeline/constants.d.ts +1 -0
- package/dist/store/pipeline/constants.d.ts.map +1 -1
- package/dist/store/pipeline/constants.js +4 -3
- package/dist/store/runtime/types.d.ts +1 -1
- package/dist/store/runtime/types.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { HandlerApi } from "../store/pipeline/types.js";
|
|
2
|
+
import type { SpotlightExecutionEvent } from "../store/runtime/types.js";
|
|
2
3
|
import type { SpotlightPipelineRunOutcome } from "./types.js";
|
|
4
|
+
export declare function responseStepLabel(api: HandlerApi): string;
|
|
5
|
+
export declare function applyLangGraphTransition(api: HandlerApi, event: Extract<SpotlightExecutionEvent, {
|
|
6
|
+
type: "turn_transition";
|
|
7
|
+
}>): void;
|
|
3
8
|
export declare function warmupSpotlightRemoteContext(signal?: AbortSignal): Promise<void>;
|
|
4
9
|
export declare function runRemoteSpotlightPipeline(userQuestion: string, api: HandlerApi, options?: {
|
|
5
10
|
forceMemoryRefresh?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runPipeline.d.ts","sourceRoot":"","sources":["../../src/remote/runPipeline.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"runPipeline.d.ts","sourceRoot":"","sources":["../../src/remote/runPipeline.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAYzE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAwO9D,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,MAAM,CAOzD;AAaD,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,OAAO,CAAC,uBAAuB,EAAE;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,CAAC,QAuErE;AA4ND,wBAAsB,4BAA4B,CAChD,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,IAAI,CAAC,CAKf;AAiDD,wBAAsB,0BAA0B,CAC9C,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,UAAU,EACf,OAAO,CAAC,EAAE;IAAE,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAAE,GACzC,OAAO,CAAC,2BAA2B,CAAC,CA4FtC;AAED,wBAAsB,wBAAwB,CAAC,KAAK,EAAE,MAAM,iBAQ3D;AAED,wBAAgB,iCAAiC,CAAC,MAAM,CAAC,EAAE,WAAW,QAMrE"}
|
|
@@ -1,372 +1,452 @@
|
|
|
1
|
-
import { useAgentSessionStore as
|
|
2
|
-
import { useSpotlightMemoryPreferenceStore as
|
|
3
|
-
import { useSpotlightRuntimeStore as
|
|
4
|
-
import { SPOTLIGHT_PIPELINE_STEP_IDS as
|
|
5
|
-
import { isLoopPlanningChunk as
|
|
1
|
+
import { useAgentSessionStore as k } from "../session/agentSession.js";
|
|
2
|
+
import { useSpotlightMemoryPreferenceStore as A } from "../store/memoryPreferenceStore.js";
|
|
3
|
+
import { useSpotlightRuntimeStore as M } from "../store/runtimeStore.js";
|
|
4
|
+
import { SPOTLIGHT_PIPELINE_STEP_IDS as s } from "../store/pipeline/constants.js";
|
|
5
|
+
import { isLoopPlanningChunk as $, splitIntentStepContent as L, splitToolStepContent as O, composeToolStepContent as H } from "../store/pipeline/displayText.js";
|
|
6
6
|
import { getSpotlightConfig as R } from "../plugin.js";
|
|
7
|
-
import { executeRemoteHostTool as
|
|
8
|
-
import { getSpotlightServerBase as
|
|
9
|
-
import { ensureSpotlightMeta as
|
|
10
|
-
const
|
|
11
|
-
function
|
|
12
|
-
return
|
|
7
|
+
import { executeRemoteHostTool as q, ensureHostToolsManifest as P } from "./hostToolRunner.js";
|
|
8
|
+
import { getSpotlightServerBase as I, buildSpotlightJsonHeaders as g, getSpotlightProjectId as D } from "./httpConfig.js";
|
|
9
|
+
import { ensureSpotlightMeta as J } from "./meta.js";
|
|
10
|
+
const T = /* @__PURE__ */ new WeakMap();
|
|
11
|
+
function W(t) {
|
|
12
|
+
return t.type !== "host_action_request" && t.type !== "run_completed" && t.type !== "run_error" && t.type !== "ping" && t.type !== "memory_decision";
|
|
13
13
|
}
|
|
14
|
-
function c(
|
|
15
|
-
const
|
|
16
|
-
if (
|
|
17
|
-
const
|
|
18
|
-
return
|
|
14
|
+
function c(t, e, o) {
|
|
15
|
+
const n = t.getSteps().find((a) => a.id === e);
|
|
16
|
+
if (n) return n;
|
|
17
|
+
const r = { id: e, label: o, status: "pending" };
|
|
18
|
+
return t.setSteps([...t.getSteps(), r]), r;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
return new Promise((
|
|
22
|
-
requestAnimationFrame(() =>
|
|
20
|
+
function j() {
|
|
21
|
+
return new Promise((t) => {
|
|
22
|
+
requestAnimationFrame(() => t());
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
const
|
|
27
|
-
if (
|
|
28
|
-
return
|
|
29
|
-
if (
|
|
25
|
+
function F(t) {
|
|
26
|
+
const e = t.summary?.trim();
|
|
27
|
+
if (e && e.length > 48 && !e.startsWith("{") && !e.startsWith("["))
|
|
28
|
+
return e;
|
|
29
|
+
if (t.output != null && typeof t.output == "object")
|
|
30
30
|
try {
|
|
31
|
-
const o = JSON.stringify(
|
|
31
|
+
const o = JSON.stringify(t.output, null, 2);
|
|
32
32
|
if (o && o !== "{}") return o;
|
|
33
33
|
} catch {
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return e || "";
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const
|
|
37
|
+
function B(t) {
|
|
38
|
+
const e = F(t.result);
|
|
39
39
|
return {
|
|
40
|
-
id:
|
|
41
|
-
name:
|
|
42
|
-
displayName:
|
|
43
|
-
argsText: JSON.stringify(
|
|
44
|
-
resultText:
|
|
45
|
-
summary:
|
|
46
|
-
errorCode:
|
|
47
|
-
trace:
|
|
48
|
-
status:
|
|
40
|
+
id: t.result.call.id,
|
|
41
|
+
name: t.result.call.name,
|
|
42
|
+
displayName: t.result.call.displayName,
|
|
43
|
+
argsText: JSON.stringify(t.result.call.input ?? {}, null, 2),
|
|
44
|
+
resultText: e,
|
|
45
|
+
summary: t.result.summary,
|
|
46
|
+
errorCode: t.result.errorCode,
|
|
47
|
+
trace: t.result.trace,
|
|
48
|
+
status: t.result.success ? "done" : "error"
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function G(t) {
|
|
52
52
|
return {
|
|
53
|
-
id:
|
|
54
|
-
name:
|
|
55
|
-
displayName:
|
|
56
|
-
argsText: JSON.stringify(
|
|
53
|
+
id: t.call.id,
|
|
54
|
+
name: t.call.name,
|
|
55
|
+
displayName: t.call.displayName,
|
|
56
|
+
argsText: JSON.stringify(t.call.input ?? {}, null, 2),
|
|
57
57
|
status: "running"
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
function U(
|
|
61
|
-
const o =
|
|
60
|
+
function U(t, e) {
|
|
61
|
+
const o = e.success ? "前端操作已执行。" : e.error || "前端操作执行失败。";
|
|
62
62
|
return {
|
|
63
|
-
id:
|
|
64
|
-
name:
|
|
65
|
-
displayName:
|
|
66
|
-
argsText: JSON.stringify(
|
|
63
|
+
id: t.id,
|
|
64
|
+
name: t.name,
|
|
65
|
+
displayName: t.displayName,
|
|
66
|
+
argsText: JSON.stringify(t.input ?? {}, null, 2),
|
|
67
67
|
resultText: o,
|
|
68
68
|
summary: o,
|
|
69
|
-
errorCode:
|
|
70
|
-
trace:
|
|
71
|
-
status:
|
|
69
|
+
errorCode: e.errorCode,
|
|
70
|
+
trace: e.trace,
|
|
71
|
+
status: e.success ? "done" : "error"
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
return
|
|
74
|
+
function z(t) {
|
|
75
|
+
return t.startsWith("panel.") || t.startsWith("navigate.") || t.startsWith("session.");
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
if (!
|
|
79
|
-
c(
|
|
80
|
-
const
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
function V(t, e, o) {
|
|
78
|
+
if (!z(e.request.call.name)) return;
|
|
79
|
+
c(t, s.tool, "执行工具与回答");
|
|
80
|
+
const n = U(e.request.call, o);
|
|
81
|
+
t.appendToolCallsToStep(s.tool, [n]), t.setStep(
|
|
82
|
+
s.tool,
|
|
83
83
|
o.success ? "done" : "error",
|
|
84
|
-
|
|
84
|
+
n.resultText
|
|
85
85
|
);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
if (
|
|
89
|
-
const o =
|
|
90
|
-
!o || o.status === "active" || o.status === "done" ||
|
|
87
|
+
function m(t, e) {
|
|
88
|
+
if (e !== s.tool) return;
|
|
89
|
+
const o = t.getSteps().find((n) => n.id === e);
|
|
90
|
+
!o || o.status === "active" || o.status === "done" || t.setStep(e, "active", o.content);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
return
|
|
92
|
+
function b(t, e) {
|
|
93
|
+
return e || (t === s.tool ? "执行工具与回答" : t);
|
|
94
94
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
function Y(t) {
|
|
96
|
+
const e = t.getSteps().find((o) => o.id === s.agent);
|
|
97
|
+
return e?.label === "检索知识" ? "知识问答" : e?.label === "选择工具" ? "执行工具与回答" : "生成回答";
|
|
98
|
+
}
|
|
99
|
+
function u(t, e, o, n, r) {
|
|
100
|
+
c(t, e, o), t.setStep(e, n, r);
|
|
101
|
+
}
|
|
102
|
+
function K(t, e) {
|
|
103
|
+
const o = e.summary?.trim();
|
|
104
|
+
switch (e.phase) {
|
|
105
|
+
case "routing":
|
|
106
|
+
case "analyzing":
|
|
107
|
+
u(
|
|
108
|
+
t,
|
|
109
|
+
s.intent,
|
|
110
|
+
"分析意图",
|
|
111
|
+
"active",
|
|
112
|
+
o ?? "正在分析用户意图。"
|
|
113
|
+
);
|
|
114
|
+
return;
|
|
115
|
+
case "router_done":
|
|
116
|
+
u(
|
|
117
|
+
t,
|
|
118
|
+
s.intent,
|
|
119
|
+
"分析意图",
|
|
120
|
+
"done",
|
|
121
|
+
o ?? "意图分析已完成。"
|
|
122
|
+
);
|
|
123
|
+
return;
|
|
124
|
+
case "knowledge_agent_start":
|
|
125
|
+
u(
|
|
126
|
+
t,
|
|
127
|
+
s.agent,
|
|
128
|
+
"检索知识",
|
|
129
|
+
"active",
|
|
130
|
+
o ?? "正在检索项目知识。"
|
|
131
|
+
);
|
|
132
|
+
return;
|
|
133
|
+
case "knowledge_agent_done":
|
|
134
|
+
u(
|
|
135
|
+
t,
|
|
136
|
+
s.agent,
|
|
137
|
+
"检索知识",
|
|
138
|
+
"done",
|
|
139
|
+
o ?? "项目知识检索已完成。"
|
|
140
|
+
);
|
|
141
|
+
return;
|
|
142
|
+
case "action_agent_start":
|
|
143
|
+
u(
|
|
144
|
+
t,
|
|
145
|
+
s.agent,
|
|
146
|
+
"选择工具",
|
|
147
|
+
"active",
|
|
148
|
+
o ?? "正在从已注册工具中选择操作。"
|
|
149
|
+
);
|
|
150
|
+
return;
|
|
151
|
+
case "action_agent_done":
|
|
152
|
+
u(
|
|
153
|
+
t,
|
|
154
|
+
s.agent,
|
|
155
|
+
"选择工具",
|
|
156
|
+
"done",
|
|
157
|
+
o ?? "工具选择与调用已完成。"
|
|
158
|
+
);
|
|
159
|
+
return;
|
|
160
|
+
case "memory_replay":
|
|
161
|
+
u(
|
|
162
|
+
t,
|
|
163
|
+
s.breakdown,
|
|
164
|
+
"问题拆解",
|
|
165
|
+
"done",
|
|
166
|
+
o ?? "Memory 缓存命中,跳过 LLM 规划。"
|
|
167
|
+
);
|
|
168
|
+
return;
|
|
169
|
+
default:
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
async function Q(t, e) {
|
|
174
|
+
if (e.type !== "ping") {
|
|
175
|
+
if (e.type === "step_sync")
|
|
176
|
+
t.setSteps(
|
|
177
|
+
e.steps.map((o) => ({
|
|
100
178
|
id: o.id,
|
|
101
179
|
label: o.label,
|
|
102
180
|
status: o.status,
|
|
103
|
-
content:
|
|
181
|
+
content: t.getSteps().find((n) => n.id === o.id)?.content
|
|
104
182
|
}))
|
|
105
183
|
);
|
|
106
|
-
else if (
|
|
107
|
-
c(
|
|
108
|
-
else if (
|
|
109
|
-
let o =
|
|
110
|
-
if (o ===
|
|
111
|
-
o =
|
|
112
|
-
else if (o ===
|
|
113
|
-
const { intent:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
184
|
+
else if (e.type === "step_status")
|
|
185
|
+
c(t, e.stepId, e.label ?? e.stepId), t.setStep(e.stepId, e.status, e.content);
|
|
186
|
+
else if (e.type === "step_content") {
|
|
187
|
+
let o = e.stepId, n = e.content;
|
|
188
|
+
if (o === s.intent && $(n))
|
|
189
|
+
o = s.tool;
|
|
190
|
+
else if (o === s.intent && e.mode === "replace") {
|
|
191
|
+
const { intent: r, misplacedPlanning: a } = L(n);
|
|
192
|
+
n = r, a.trim() && (c(t, s.tool, "执行工具与回答"), t.appendChunkToStep(
|
|
193
|
+
s.tool,
|
|
194
|
+
a
|
|
117
195
|
));
|
|
118
196
|
}
|
|
119
|
-
c(
|
|
197
|
+
c(t, o, b(o, e.label)), e.mode === "replace" ? t.setStep(
|
|
120
198
|
o,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
) : (
|
|
124
|
-
} else if (
|
|
125
|
-
c(
|
|
126
|
-
else if (
|
|
127
|
-
c(
|
|
128
|
-
|
|
199
|
+
t.getSteps().find((r) => r.id === o)?.status ?? "active",
|
|
200
|
+
n
|
|
201
|
+
) : (m(t, o), t.appendChunkToStep(o, n), await j());
|
|
202
|
+
} else if (e.type === "step_artifact")
|
|
203
|
+
c(t, e.stepId, b(e.stepId, e.label)), m(t, e.stepId), e.artifact === "tool_calls" && e.toolCalls?.length ? t.appendToolCallsToStep(e.stepId, e.toolCalls) : e.artifact === "attachments" && e.attachments?.length ? t.appendAttachmentsToStep(e.stepId, e.attachments) : e.artifact === "files" && e.files?.length ? t.appendFilesToStep(e.stepId, e.files) : e.artifact === "artifacts" && e.artifacts?.length ? t.appendArtifactsToStep(e.stepId, e.artifacts) : e.artifact === "chat_items" && e.chatItems?.length && t.appendChatItemsToStep(e.stepId, e.chatItems);
|
|
204
|
+
else if (e.type === "tool_start")
|
|
205
|
+
c(t, s.tool, "执行工具与回答"), m(t, s.tool), t.appendToolCallsToStep(s.tool, [
|
|
206
|
+
G(e)
|
|
129
207
|
]);
|
|
130
|
-
else if (
|
|
131
|
-
c(
|
|
208
|
+
else if (e.type === "tool_progress")
|
|
209
|
+
c(t, s.tool, "执行工具与回答"), m(t, s.tool), t.appendToolCallsToStep(s.tool, [
|
|
132
210
|
{
|
|
133
|
-
id:
|
|
134
|
-
name:
|
|
135
|
-
displayName:
|
|
136
|
-
argsText: JSON.stringify(
|
|
137
|
-
summary:
|
|
211
|
+
id: e.call.id,
|
|
212
|
+
name: e.call.name,
|
|
213
|
+
displayName: e.call.displayName,
|
|
214
|
+
argsText: JSON.stringify(e.call.input ?? {}, null, 2),
|
|
215
|
+
summary: e.summary,
|
|
138
216
|
status: "running"
|
|
139
217
|
}
|
|
140
218
|
]);
|
|
141
|
-
else if (
|
|
142
|
-
c(
|
|
143
|
-
|
|
144
|
-
]),
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
),
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
),
|
|
151
|
-
|
|
152
|
-
|
|
219
|
+
else if (e.type === "tool_result")
|
|
220
|
+
c(t, s.tool, "执行工具与回答"), m(t, s.tool), t.appendToolCallsToStep(s.tool, [
|
|
221
|
+
B(e)
|
|
222
|
+
]), e.result.attachments?.length && t.appendAttachmentsToStep(
|
|
223
|
+
s.tool,
|
|
224
|
+
e.result.attachments
|
|
225
|
+
), e.result.files?.length && t.appendFilesToStep(
|
|
226
|
+
s.tool,
|
|
227
|
+
e.result.files
|
|
228
|
+
), e.result.toolCalls?.length && t.appendToolCallsToStep(
|
|
229
|
+
s.tool,
|
|
230
|
+
e.result.toolCalls
|
|
153
231
|
);
|
|
154
|
-
else if (
|
|
232
|
+
else if (e.type === "skill_permission_request") {
|
|
155
233
|
const { useSpotlightStore: o } = await import("../store/spotlightStore.js");
|
|
156
234
|
o().setPendingSkillPermission({
|
|
157
|
-
skillName:
|
|
158
|
-
displayName:
|
|
159
|
-
reason:
|
|
160
|
-
source:
|
|
161
|
-
at:
|
|
235
|
+
skillName: e.skillName,
|
|
236
|
+
displayName: e.displayName,
|
|
237
|
+
reason: e.reason,
|
|
238
|
+
source: e.source,
|
|
239
|
+
at: e.at
|
|
162
240
|
});
|
|
163
|
-
} else if (
|
|
164
|
-
c(
|
|
165
|
-
|
|
241
|
+
} else if (e.type === "fork_progress")
|
|
242
|
+
c(t, s.tool, "执行工具与回答"), t.appendChunkToStep(
|
|
243
|
+
s.tool,
|
|
166
244
|
`
|
|
167
|
-
[fork ${
|
|
245
|
+
[fork ${e.agentId}] 第 ${e.iteration} 轮 · ${e.phase}:${e.summary}
|
|
168
246
|
`
|
|
169
247
|
);
|
|
170
|
-
else if (
|
|
171
|
-
t
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
t.summary ?? "Memory 缓存命中,跳过 LLM 规划。"
|
|
175
|
-
));
|
|
176
|
-
else if (t.type === "memory_decision") {
|
|
177
|
-
c(e, r.breakdown, "问题拆解");
|
|
248
|
+
else if (e.type === "turn_transition")
|
|
249
|
+
K(t, e);
|
|
250
|
+
else if (e.type === "memory_decision") {
|
|
251
|
+
c(t, s.breakdown, "问题拆解");
|
|
178
252
|
const o = {
|
|
179
253
|
reuse: "已复用项目记忆",
|
|
180
254
|
augment: "正在结合历史项目结论",
|
|
181
255
|
refresh: "资料可能变化,正在重新验证",
|
|
182
256
|
ignore: "未发现可直接使用的项目记忆"
|
|
183
257
|
};
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
o[
|
|
258
|
+
t.setStep(
|
|
259
|
+
s.breakdown,
|
|
260
|
+
e.decision.action === "reuse" ? "done" : "active",
|
|
261
|
+
o[e.decision.action]
|
|
262
|
+
);
|
|
263
|
+
} else if (e.type === "assistant_response") {
|
|
264
|
+
c(
|
|
265
|
+
t,
|
|
266
|
+
s.tool,
|
|
267
|
+
Y(t)
|
|
188
268
|
);
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
)) ? e.setStep(r.tool, "done") : e.setStep(
|
|
195
|
-
r.tool,
|
|
269
|
+
const o = t.getSteps().find((S) => S.id === s.tool), { planning: n, answer: r } = O(o?.content ?? ""), a = e.content.trim(), i = r.trim();
|
|
270
|
+
i && a && (i === a || a.startsWith(
|
|
271
|
+
i.slice(0, Math.min(i.length, 80))
|
|
272
|
+
)) ? t.setStep(s.tool, "done") : t.setStep(
|
|
273
|
+
s.tool,
|
|
196
274
|
"done",
|
|
197
|
-
H(
|
|
275
|
+
H(n, a)
|
|
198
276
|
);
|
|
199
277
|
}
|
|
200
|
-
|
|
278
|
+
W(e) && t.appendExecutionEvent?.(e);
|
|
201
279
|
}
|
|
202
280
|
}
|
|
203
|
-
async function
|
|
281
|
+
async function X(t) {
|
|
204
282
|
await fetch(
|
|
205
|
-
`${
|
|
283
|
+
`${I()}/v1/runs/${encodeURIComponent(t.runId)}/host-results`,
|
|
206
284
|
{
|
|
207
285
|
method: "POST",
|
|
208
|
-
headers:
|
|
286
|
+
headers: g(),
|
|
209
287
|
body: JSON.stringify({
|
|
210
|
-
correlationId:
|
|
211
|
-
success:
|
|
212
|
-
output:
|
|
213
|
-
error:
|
|
214
|
-
errorCode:
|
|
215
|
-
trace:
|
|
288
|
+
correlationId: t.correlationId,
|
|
289
|
+
success: t.result.success,
|
|
290
|
+
output: t.result.data,
|
|
291
|
+
error: t.result.error,
|
|
292
|
+
errorCode: t.result.errorCode,
|
|
293
|
+
trace: t.result.trace
|
|
216
294
|
}),
|
|
217
|
-
signal:
|
|
295
|
+
signal: t.signal
|
|
218
296
|
}
|
|
219
297
|
);
|
|
220
298
|
}
|
|
221
|
-
function
|
|
222
|
-
const
|
|
223
|
-
return { events:
|
|
224
|
-
const
|
|
225
|
-
if (!
|
|
299
|
+
function Z(t) {
|
|
300
|
+
const e = t.split(/\n\n/u), o = e.pop() ?? "";
|
|
301
|
+
return { events: e.flatMap((r) => {
|
|
302
|
+
const a = r.split(/\n/u).find((i) => i.startsWith("data: "));
|
|
303
|
+
if (!a) return [];
|
|
226
304
|
try {
|
|
227
|
-
return [JSON.parse(
|
|
305
|
+
return [JSON.parse(a.slice(6))];
|
|
228
306
|
} catch {
|
|
229
307
|
return [];
|
|
230
308
|
}
|
|
231
309
|
}), rest: o };
|
|
232
310
|
}
|
|
233
|
-
async function
|
|
311
|
+
async function ct(t) {
|
|
234
312
|
await Promise.allSettled([
|
|
235
|
-
|
|
236
|
-
|
|
313
|
+
P(),
|
|
314
|
+
J(t)
|
|
237
315
|
]);
|
|
238
316
|
}
|
|
239
|
-
async function
|
|
240
|
-
const
|
|
317
|
+
async function v(t, e, o) {
|
|
318
|
+
const n = k(), r = M(), a = A(), i = await P();
|
|
241
319
|
return {
|
|
242
|
-
hostManifest:
|
|
320
|
+
hostManifest: i,
|
|
243
321
|
payload: {
|
|
244
|
-
projectId:
|
|
245
|
-
sessionId:
|
|
322
|
+
projectId: D(),
|
|
323
|
+
sessionId: n.sessionId,
|
|
246
324
|
memorySubjectId: R().getMemorySubjectId?.() ?? void 0,
|
|
247
|
-
userQuestion:
|
|
325
|
+
userQuestion: t,
|
|
248
326
|
memoryRefreshRequested: o?.forceMemoryRefresh === !0,
|
|
249
327
|
uiContext: R().getUiContext?.() ?? {},
|
|
250
328
|
sessionState: {
|
|
251
|
-
sessionId:
|
|
252
|
-
activeTaskId:
|
|
253
|
-
activeTopic:
|
|
254
|
-
pendingTask:
|
|
255
|
-
conversationSummary:
|
|
256
|
-
summarizedTurnCount:
|
|
257
|
-
conversationHistory:
|
|
258
|
-
lastAssistantReply:
|
|
259
|
-
invokedSkills:
|
|
260
|
-
skillPermissionGrants:
|
|
261
|
-
memoryReadEnabled:
|
|
329
|
+
sessionId: n.sessionId,
|
|
330
|
+
activeTaskId: n.activeTaskId,
|
|
331
|
+
activeTopic: n.activeTopic,
|
|
332
|
+
pendingTask: n.pendingTask,
|
|
333
|
+
conversationSummary: n.conversationSummary,
|
|
334
|
+
summarizedTurnCount: n.summarizedTurnCount,
|
|
335
|
+
conversationHistory: n.conversationHistory,
|
|
336
|
+
lastAssistantReply: n.getLastAssistantContent(),
|
|
337
|
+
invokedSkills: n.invokedSkills,
|
|
338
|
+
skillPermissionGrants: n.skillPermissionGrants,
|
|
339
|
+
memoryReadEnabled: a.enabled,
|
|
262
340
|
memoryWriteEnabled: !0
|
|
263
341
|
},
|
|
264
342
|
runtimeState: {
|
|
265
|
-
activeDomain:
|
|
266
|
-
activeTarget:
|
|
267
|
-
activeAction:
|
|
268
|
-
resumableAction:
|
|
269
|
-
lastResolvedTarget:
|
|
343
|
+
activeDomain: r.activeDomain,
|
|
344
|
+
activeTarget: r.activeTarget,
|
|
345
|
+
activeAction: r.activeAction,
|
|
346
|
+
resumableAction: r.resumableAction,
|
|
347
|
+
lastResolvedTarget: r.lastResolvedTarget
|
|
270
348
|
},
|
|
271
|
-
clientToolsManifestVersion:
|
|
272
|
-
clientToolManifest:
|
|
273
|
-
frontendBuildId:
|
|
274
|
-
manifestDigest:
|
|
349
|
+
clientToolsManifestVersion: i.manifestDigest,
|
|
350
|
+
clientToolManifest: i,
|
|
351
|
+
frontendBuildId: i.frontendBuildId,
|
|
352
|
+
manifestDigest: i.manifestDigest
|
|
275
353
|
}
|
|
276
354
|
};
|
|
277
355
|
}
|
|
278
|
-
async function
|
|
279
|
-
const
|
|
280
|
-
|
|
281
|
-
|
|
356
|
+
async function ut(t, e, o) {
|
|
357
|
+
const n = I(), r = e.getSignal(), { payload: a, hostManifest: i } = await v(
|
|
358
|
+
t,
|
|
359
|
+
r,
|
|
282
360
|
o
|
|
283
|
-
), S = new Set(
|
|
361
|
+
), S = new Set(i.tools.map((d) => d.name)), p = await fetch(`${n}/v1/runs`, {
|
|
284
362
|
method: "POST",
|
|
285
|
-
headers:
|
|
286
|
-
body: JSON.stringify(
|
|
287
|
-
signal:
|
|
363
|
+
headers: g(),
|
|
364
|
+
body: JSON.stringify(a),
|
|
365
|
+
signal: r
|
|
288
366
|
});
|
|
289
|
-
if (!
|
|
290
|
-
const
|
|
367
|
+
if (!p.ok) {
|
|
368
|
+
const d = await p.text().catch(() => "");
|
|
291
369
|
throw new Error(
|
|
292
|
-
`Spotlight 后端创建 run 失败:${
|
|
370
|
+
`Spotlight 后端创建 run 失败:${p.status} ${d}`
|
|
293
371
|
);
|
|
294
372
|
}
|
|
295
|
-
const { runId:
|
|
296
|
-
|
|
373
|
+
const { runId: f } = await p.json();
|
|
374
|
+
r && (T.set(r, f), r.addEventListener(
|
|
297
375
|
"abort",
|
|
298
376
|
() => {
|
|
299
|
-
|
|
377
|
+
N(f);
|
|
300
378
|
},
|
|
301
379
|
{ once: !0 }
|
|
302
380
|
));
|
|
303
|
-
const
|
|
304
|
-
`${
|
|
381
|
+
const y = await fetch(
|
|
382
|
+
`${n}/v1/runs/${encodeURIComponent(f)}/events`,
|
|
305
383
|
{
|
|
306
|
-
headers:
|
|
307
|
-
signal:
|
|
384
|
+
headers: g(),
|
|
385
|
+
signal: r
|
|
308
386
|
}
|
|
309
387
|
);
|
|
310
|
-
if (!
|
|
311
|
-
throw new Error(`Spotlight 后端事件流连接失败:${
|
|
312
|
-
const
|
|
313
|
-
let
|
|
388
|
+
if (!y.ok || !y.body)
|
|
389
|
+
throw new Error(`Spotlight 后端事件流连接失败:${y.status}`);
|
|
390
|
+
const C = y.body.getReader(), x = new TextDecoder();
|
|
391
|
+
let h = "";
|
|
314
392
|
try {
|
|
315
393
|
for (; ; ) {
|
|
316
|
-
const { done:
|
|
317
|
-
if (
|
|
318
|
-
|
|
319
|
-
const
|
|
320
|
-
|
|
321
|
-
for (const
|
|
322
|
-
if (
|
|
323
|
-
const
|
|
394
|
+
const { done: d, value: E } = await C.read();
|
|
395
|
+
if (d) break;
|
|
396
|
+
h += x.decode(E, { stream: !0 });
|
|
397
|
+
const w = Z(h);
|
|
398
|
+
h = w.rest;
|
|
399
|
+
for (const l of w.events) {
|
|
400
|
+
if (l.type === "host_action_request") {
|
|
401
|
+
const _ = await q(l.request.call, e, {
|
|
324
402
|
allowedHostNames: S,
|
|
325
|
-
hostEffect:
|
|
403
|
+
hostEffect: l.request.hostEffect
|
|
326
404
|
});
|
|
327
|
-
|
|
328
|
-
runId:
|
|
329
|
-
correlationId:
|
|
330
|
-
result:
|
|
331
|
-
signal:
|
|
405
|
+
V(e, l, _), await X({
|
|
406
|
+
runId: f,
|
|
407
|
+
correlationId: l.request.correlationId,
|
|
408
|
+
result: _,
|
|
409
|
+
signal: r
|
|
332
410
|
});
|
|
333
411
|
continue;
|
|
334
412
|
}
|
|
335
|
-
if (
|
|
336
|
-
throw new Error(
|
|
337
|
-
if (await
|
|
338
|
-
return
|
|
413
|
+
if (l.type === "run_error")
|
|
414
|
+
throw new Error(l.error);
|
|
415
|
+
if (await Q(e, l), l.type === "run_completed")
|
|
416
|
+
return l.sessionPatch && k().applySessionPatch(l.sessionPatch), {
|
|
339
417
|
command: null,
|
|
340
|
-
memoryReplay:
|
|
341
|
-
memoryDecision:
|
|
342
|
-
assistantReply:
|
|
418
|
+
memoryReplay: l.memoryReplay ?? null,
|
|
419
|
+
memoryDecision: l.memoryDecision ?? null,
|
|
420
|
+
assistantReply: l.assistantReply
|
|
343
421
|
};
|
|
344
422
|
}
|
|
345
423
|
}
|
|
346
424
|
} finally {
|
|
347
|
-
|
|
425
|
+
C.releaseLock();
|
|
348
426
|
}
|
|
349
427
|
return {
|
|
350
428
|
command: null
|
|
351
429
|
};
|
|
352
430
|
}
|
|
353
|
-
async function
|
|
431
|
+
async function N(t) {
|
|
354
432
|
await fetch(
|
|
355
|
-
`${
|
|
433
|
+
`${I()}/v1/runs/${encodeURIComponent(t)}`,
|
|
356
434
|
{
|
|
357
435
|
method: "DELETE",
|
|
358
|
-
headers:
|
|
436
|
+
headers: g()
|
|
359
437
|
}
|
|
360
438
|
);
|
|
361
439
|
}
|
|
362
|
-
function
|
|
363
|
-
if (!
|
|
364
|
-
const
|
|
365
|
-
|
|
440
|
+
function dt(t) {
|
|
441
|
+
if (!t) return;
|
|
442
|
+
const e = T.get(t);
|
|
443
|
+
e && (T.delete(t), N(e));
|
|
366
444
|
}
|
|
367
445
|
export {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
446
|
+
K as applyLangGraphTransition,
|
|
447
|
+
N as cancelRemoteSpotlightRun,
|
|
448
|
+
dt as cancelRemoteSpotlightRunForSignal,
|
|
449
|
+
Y as responseStepLabel,
|
|
450
|
+
ut as runRemoteSpotlightPipeline,
|
|
451
|
+
ct as warmupSpotlightRemoteContext
|
|
372
452
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/store/pipeline/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/store/pipeline/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,2BAA2B;;;;;;CAM9B,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;CAMjC,CAAC;AAEX,wBAAgB,yBAAyB,IAAI,SAAS,CAMrD;AAED,wBAAgB,sBAAsB,IAAI,SAAS,CAMlD;AAED,wBAAgB,kBAAkB,IAAI,SAAS,CAM9C"}
|
|
@@ -2,8 +2,9 @@ const n = {
|
|
|
2
2
|
breakdown: "1",
|
|
3
3
|
intent: "2",
|
|
4
4
|
tool: "3",
|
|
5
|
-
analysis: "4"
|
|
6
|
-
|
|
5
|
+
analysis: "4",
|
|
6
|
+
agent: "langgraph-agent"
|
|
7
|
+
}, a = {
|
|
7
8
|
breakdown: "拆解问题",
|
|
8
9
|
intent: "分析意图",
|
|
9
10
|
tool: "使用工具",
|
|
@@ -12,5 +13,5 @@ const n = {
|
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
15
|
n as SPOTLIGHT_PIPELINE_STEP_IDS,
|
|
15
|
-
|
|
16
|
+
a as SPOTLIGHT_PIPELINE_STEP_LABELS
|
|
16
17
|
};
|
|
@@ -5,7 +5,7 @@ export type SpotlightStepContentChannel = "body" | "planning" | "answer" | "tool
|
|
|
5
5
|
export type SpotlightLoopAction = "respond" | "call_tools" | "fallback";
|
|
6
6
|
export type SpotlightTurnStopReason = "completed" | "cancelled" | "max_turns_exhausted" | "tool_failure_unrecoverable" | "runtime_error";
|
|
7
7
|
export type SpotlightTurnFailureClass = "tool" | "runtime" | "cancel" | "llm" | null;
|
|
8
|
-
export type SpotlightTurnPhase = "handle_session_control" | "memory_replay" | "analyzing" | "routing" | "query_planning" | "tool_execution" | "responding" | "completed" | "cancelled" | "failed";
|
|
8
|
+
export type SpotlightTurnPhase = "handle_session_control" | "memory_replay" | "analyzing" | "routing" | "router_done" | "knowledge_agent_start" | "knowledge_agent_done" | "action_agent_start" | "action_agent_done" | "query_planning" | "tool_execution" | "responding" | "completed" | "cancelled" | "failed";
|
|
9
9
|
export interface SpotlightTurnBudgetUsage {
|
|
10
10
|
maxLoopTurns: number;
|
|
11
11
|
iterationsUsed: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/store/runtime/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,cAAc,EACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EACV,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,2BAA2B,GACnC,MAAM,GACN,UAAU,GACV,QAAQ,GACR,MAAM,GACN,OAAO,CAAC;AAEZ,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAC/B,WAAW,GACX,WAAW,GACX,qBAAqB,GACrB,4BAA4B,GAC5B,eAAe,CAAC;AAEpB,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,SAAS,GACT,QAAQ,GACR,KAAK,GACL,IAAI,CAAC;AAET,MAAM,MAAM,kBAAkB,GAC1B,wBAAwB,GACxB,eAAe,GACf,WAAW,GACX,SAAS,GACT,gBAAgB,GAChB,gBAAgB,GAChB,YAAY,GACZ,WAAW,GACX,WAAW,GACX,QAAQ,CAAC;AAEb,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MA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E,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CAAC;IAC7C,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/store/runtime/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,cAAc,EACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EACV,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,2BAA2B,GACnC,MAAM,GACN,UAAU,GACV,QAAQ,GACR,MAAM,GACN,OAAO,CAAC;AAEZ,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAC/B,WAAW,GACX,WAAW,GACX,qBAAqB,GACrB,4BAA4B,GAC5B,eAAe,CAAC;AAEpB,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,SAAS,GACT,QAAQ,GACR,KAAK,GACL,IAAI,CAAC;AAET,MAAM,MAAM,kBAAkB,GAC1B,wBAAwB,GACxB,eAAe,GACf,WAAW,GACX,SAAS,GACT,aAAa,GACb,uBAAuB,GACvB,sBAAsB,GACtB,oBAAoB,GACpB,mBAAmB,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,YAAY,GACZ,WAAW,GACX,WAAW,GACX,QAAQ,CAAC;AAEb,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CA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AM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,GAAG,YAAY,CAAC;CAChC,GACD;IACE,IAAI,EAAE,eAAe,CAAC;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CAAC;IAC7C,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inupedia/spotlight-vue",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Thin Vue runtime for Inupedia Spotlight Client Tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"prettier": "^3.8.1",
|
|
93
93
|
"yaml": "^2.8.4",
|
|
94
|
-
"@inupedia/spotlight-client": "0.5.
|
|
95
|
-
"@inupedia/spotlight-protocol": "0.5.
|
|
94
|
+
"@inupedia/spotlight-client": "0.5.5",
|
|
95
|
+
"@inupedia/spotlight-protocol": "0.5.5"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"@inspira-ui/plugins": "^0.0.2",
|