@inupedia/spotlight-vue 0.5.2 → 0.5.4

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.
@@ -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;AAc7D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAqc9D,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
+ {"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 b } from "../session/agentSession.js";
2
- import { useSpotlightMemoryPreferenceStore as E } from "../store/memoryPreferenceStore.js";
3
- import { useSpotlightRuntimeStore as A } from "../store/runtimeStore.js";
4
- import { SPOTLIGHT_PIPELINE_STEP_IDS as r } from "../store/pipeline/constants.js";
5
- import { isLoopPlanningChunk as M, splitIntentStepContent as $, splitToolStepContent as O, composeToolStepContent as H } from "../store/pipeline/displayText.js";
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 L, ensureHostToolsManifest as _ } from "./hostToolRunner.js";
8
- import { getSpotlightServerBase as T, buildSpotlightJsonHeaders as y, getSpotlightProjectId as q } from "./httpConfig.js";
9
- import { ensureSpotlightMeta as D } from "./meta.js";
10
- const h = /* @__PURE__ */ new WeakMap();
11
- function J(e) {
12
- return e.type !== "host_action_request" && e.type !== "run_completed" && e.type !== "run_error" && e.type !== "ping" && e.type !== "memory_decision";
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(e, t, o) {
15
- const s = e.getSteps().find((i) => i.id === t);
16
- if (s) return s;
17
- const n = { id: t, label: o, status: "pending" };
18
- return e.setSteps([...e.getSteps(), n]), n;
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 W() {
21
- return new Promise((e) => {
22
- requestAnimationFrame(() => e());
20
+ function j() {
21
+ return new Promise((t) => {
22
+ requestAnimationFrame(() => t());
23
23
  });
24
24
  }
25
- function j(e) {
26
- const t = e.summary?.trim();
27
- if (t && t.length > 48 && !t.startsWith("{") && !t.startsWith("["))
28
- return t;
29
- if (e.output != null && typeof e.output == "object")
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(e.output, null, 2);
31
+ const o = JSON.stringify(t.output, null, 2);
32
32
  if (o && o !== "{}") return o;
33
33
  } catch {
34
34
  }
35
- return t || "";
35
+ return e || "";
36
36
  }
37
- function F(e) {
38
- const t = j(e.result);
37
+ function B(t) {
38
+ const e = F(t.result);
39
39
  return {
40
- id: e.result.call.id,
41
- name: e.result.call.name,
42
- displayName: e.result.call.displayName,
43
- argsText: JSON.stringify(e.result.call.input ?? {}, null, 2),
44
- resultText: t,
45
- summary: e.result.summary,
46
- errorCode: e.result.errorCode,
47
- trace: e.result.trace,
48
- status: e.result.success ? "done" : "error"
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 B(e) {
51
+ function G(t) {
52
52
  return {
53
- id: e.call.id,
54
- name: e.call.name,
55
- displayName: e.call.displayName,
56
- argsText: JSON.stringify(e.call.input ?? {}, null, 2),
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(e, t) {
61
- const o = t.success ? "前端操作已执行。" : t.error || "前端操作执行失败。";
60
+ function U(t, e) {
61
+ const o = e.success ? "前端操作已执行。" : e.error || "前端操作执行失败。";
62
62
  return {
63
- id: e.id,
64
- name: e.name,
65
- displayName: e.displayName,
66
- argsText: JSON.stringify(e.input ?? {}, null, 2),
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: t.errorCode,
70
- trace: t.trace,
71
- status: t.success ? "done" : "error"
69
+ errorCode: e.errorCode,
70
+ trace: e.trace,
71
+ status: e.success ? "done" : "error"
72
72
  };
73
73
  }
74
- function G(e) {
75
- return e.startsWith("panel.") || e.startsWith("navigate.") || e.startsWith("session.");
74
+ function z(t) {
75
+ return t.startsWith("panel.") || t.startsWith("navigate.") || t.startsWith("session.");
76
76
  }
77
- function z(e, t, o) {
78
- if (!G(t.request.call.name)) return;
79
- c(e, r.tool, "执行工具与回答");
80
- const s = U(t.request.call, o);
81
- e.appendToolCallsToStep(r.tool, [s]), e.setStep(
82
- r.tool,
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
- s.resultText
84
+ n.resultText
85
85
  );
86
86
  }
87
- function d(e, t) {
88
- if (t !== r.tool) return;
89
- const o = e.getSteps().find((s) => s.id === t);
90
- !o || o.status === "active" || o.status === "done" || e.setStep(t, "active", o.content);
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 k(e, t) {
93
- return t || (e === r.tool ? "执行工具与回答" : e);
92
+ function b(t, e) {
93
+ return e || (t === s.tool ? "执行工具与回答" : t);
94
94
  }
95
- async function V(e, t) {
96
- if (t.type !== "ping") {
97
- if (t.type === "step_sync")
98
- e.setSteps(
99
- t.steps.map((o) => ({
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: e.getSteps().find((s) => s.id === o.id)?.content
181
+ content: t.getSteps().find((n) => n.id === o.id)?.content
104
182
  }))
105
183
  );
106
- else if (t.type === "step_status")
107
- c(e, t.stepId, t.label ?? t.stepId), e.setStep(t.stepId, t.status, t.content);
108
- else if (t.type === "step_content") {
109
- let o = t.stepId, s = t.content;
110
- if (o === r.intent && M(s))
111
- o = r.tool;
112
- else if (o === r.intent && t.mode === "replace") {
113
- const { intent: n, misplacedPlanning: i } = $(s);
114
- s = n, i.trim() && (c(e, r.tool, "执行工具与回答"), e.appendChunkToStep(
115
- r.tool,
116
- i
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(e, o, k(o, t.label)), t.mode === "replace" ? e.setStep(
197
+ c(t, o, b(o, e.label)), e.mode === "replace" ? t.setStep(
120
198
  o,
121
- e.getSteps().find((n) => n.id === o)?.status ?? "active",
122
- s
123
- ) : (d(e, o), e.appendChunkToStep(o, s), await W());
124
- } else if (t.type === "step_artifact")
125
- c(e, t.stepId, k(t.stepId, t.label)), d(e, t.stepId), t.artifact === "tool_calls" && t.toolCalls?.length ? e.appendToolCallsToStep(t.stepId, t.toolCalls) : t.artifact === "attachments" && t.attachments?.length ? e.appendAttachmentsToStep(t.stepId, t.attachments) : t.artifact === "files" && t.files?.length ? e.appendFilesToStep(t.stepId, t.files) : t.artifact === "artifacts" && t.artifacts?.length ? e.appendArtifactsToStep(t.stepId, t.artifacts) : t.artifact === "chat_items" && t.chatItems?.length && e.appendChatItemsToStep(t.stepId, t.chatItems);
126
- else if (t.type === "tool_start")
127
- c(e, r.tool, "执行工具与回答"), d(e, r.tool), e.appendToolCallsToStep(r.tool, [
128
- B(t)
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 (t.type === "tool_progress")
131
- c(e, r.tool, "执行工具与回答"), d(e, r.tool), e.appendToolCallsToStep(r.tool, [
208
+ else if (e.type === "tool_progress")
209
+ c(t, s.tool, "执行工具与回答"), m(t, s.tool), t.appendToolCallsToStep(s.tool, [
132
210
  {
133
- id: t.call.id,
134
- name: t.call.name,
135
- displayName: t.call.displayName,
136
- argsText: JSON.stringify(t.call.input ?? {}, null, 2),
137
- summary: t.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 (t.type === "tool_result")
142
- c(e, r.tool, "执行工具与回答"), d(e, r.tool), e.appendToolCallsToStep(r.tool, [
143
- F(t)
144
- ]), t.result.attachments?.length && e.appendAttachmentsToStep(
145
- r.tool,
146
- t.result.attachments
147
- ), t.result.files?.length && e.appendFilesToStep(
148
- r.tool,
149
- t.result.files
150
- ), t.result.toolCalls?.length && e.appendToolCallsToStep(
151
- r.tool,
152
- t.result.toolCalls
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 (t.type === "skill_permission_request") {
232
+ else if (e.type === "skill_permission_request") {
155
233
  const { useSpotlightStore: o } = await import("../store/spotlightStore.js");
156
234
  o().setPendingSkillPermission({
157
- skillName: t.skillName,
158
- displayName: t.displayName,
159
- reason: t.reason,
160
- source: t.source,
161
- at: t.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 (t.type === "fork_progress")
164
- c(e, r.tool, "执行工具与回答"), e.appendChunkToStep(
165
- r.tool,
241
+ } else if (e.type === "fork_progress")
242
+ c(t, s.tool, "执行工具与回答"), t.appendChunkToStep(
243
+ s.tool,
166
244
  `
167
- [fork ${t.agentId}] 第 ${t.iteration} 轮 · ${t.phase}:${t.summary}
245
+ [fork ${e.agentId}] 第 ${e.iteration} 轮 · ${e.phase}:${e.summary}
168
246
  `
169
247
  );
170
- else if (t.type === "turn_transition")
171
- t.phase === "memory_replay" && (c(e, r.breakdown, "问题拆解"), e.setStep(
172
- r.breakdown,
173
- "done",
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
- e.setStep(
185
- r.breakdown,
186
- t.decision.action === "reuse" ? "done" : "active",
187
- o[t.decision.action]
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
- } else if (t.type === "assistant_response") {
190
- c(e, r.tool, "执行工具与回答");
191
- const o = e.getSteps().find((S) => S.id === r.tool), { planning: s, answer: n } = O(o?.content ?? ""), i = t.content.trim(), l = n.trim();
192
- l && i && (l === i || i.startsWith(
193
- l.slice(0, Math.min(l.length, 80))
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(s, i)
275
+ H(n, a)
198
276
  );
199
277
  }
200
- J(t) && e.appendExecutionEvent?.(t);
278
+ W(e) && t.appendExecutionEvent?.(e);
201
279
  }
202
280
  }
203
- async function Y(e) {
281
+ async function X(t) {
204
282
  await fetch(
205
- `${T()}/v1/runs/${encodeURIComponent(e.runId)}/host-results`,
283
+ `${I()}/v1/runs/${encodeURIComponent(t.runId)}/host-results`,
206
284
  {
207
285
  method: "POST",
208
- headers: y(),
286
+ headers: g(),
209
287
  body: JSON.stringify({
210
- correlationId: e.correlationId,
211
- success: e.result.success,
212
- output: e.result.data,
213
- error: e.result.error,
214
- errorCode: e.result.errorCode,
215
- trace: e.result.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: e.signal
295
+ signal: t.signal
218
296
  }
219
297
  );
220
298
  }
221
- function K(e) {
222
- const t = e.split(/\n\n/u), o = t.pop() ?? "";
223
- return { events: t.flatMap((n) => {
224
- const i = n.split(/\n/u).find((l) => l.startsWith("data: "));
225
- if (!i) return [];
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(i.slice(6))];
305
+ return [JSON.parse(a.slice(6))];
228
306
  } catch {
229
307
  return [];
230
308
  }
231
309
  }), rest: o };
232
310
  }
233
- async function it(e) {
311
+ async function ct(t) {
234
312
  await Promise.allSettled([
235
- _(),
236
- D(e)
313
+ P(),
314
+ J(t)
237
315
  ]);
238
316
  }
239
- async function Q(e, t, o) {
240
- const s = b(), n = A(), i = E(), l = await _();
317
+ async function v(t, e, o) {
318
+ const n = k(), r = M(), a = A(), i = await P();
241
319
  return {
242
- hostManifest: l,
320
+ hostManifest: i,
243
321
  payload: {
244
- projectId: q(),
245
- sessionId: s.sessionId,
322
+ projectId: D(),
323
+ sessionId: n.sessionId,
246
324
  memorySubjectId: R().getMemorySubjectId?.() ?? void 0,
247
- userQuestion: e,
325
+ userQuestion: t,
248
326
  memoryRefreshRequested: o?.forceMemoryRefresh === !0,
249
327
  uiContext: R().getUiContext?.() ?? {},
250
328
  sessionState: {
251
- sessionId: s.sessionId,
252
- activeTaskId: s.activeTaskId,
253
- activeTopic: s.activeTopic,
254
- pendingTask: s.pendingTask,
255
- conversationSummary: s.conversationSummary,
256
- summarizedTurnCount: s.summarizedTurnCount,
257
- conversationHistory: s.conversationHistory,
258
- lastAssistantReply: s.getLastAssistantContent(),
259
- invokedSkills: s.invokedSkills,
260
- skillPermissionGrants: s.skillPermissionGrants,
261
- memoryReadEnabled: i.enabled,
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: n.activeDomain,
266
- activeTarget: n.activeTarget,
267
- activeAction: n.activeAction,
268
- resumableAction: n.resumableAction,
269
- lastResolvedTarget: n.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: l.manifestDigest,
272
- clientToolManifest: l,
273
- frontendBuildId: l.frontendBuildId,
274
- manifestDigest: l.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 lt(e, t, o) {
279
- const s = T(), n = t.getSignal(), { payload: i, hostManifest: l } = await Q(
280
- e,
281
- n,
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(l.tools.map((u) => u.name)), m = await fetch(`${s}/v1/runs`, {
361
+ ), S = new Set(i.tools.map((d) => d.name)), p = await fetch(`${n}/v1/runs`, {
284
362
  method: "POST",
285
- headers: y(),
286
- body: JSON.stringify(i),
287
- signal: n
363
+ headers: g(),
364
+ body: JSON.stringify(a),
365
+ signal: r
288
366
  });
289
- if (!m.ok) {
290
- const u = await m.text().catch(() => "");
367
+ if (!p.ok) {
368
+ const d = await p.text().catch(() => "");
291
369
  throw new Error(
292
- `Spotlight 后端创建 run 失败:${m.status} ${u}`
370
+ `Spotlight 后端创建 run 失败:${p.status} ${d}`
293
371
  );
294
372
  }
295
- const { runId: p } = await m.json();
296
- n && (h.set(n, p), n.addEventListener(
373
+ const { runId: f } = await p.json();
374
+ r && (T.set(r, f), r.addEventListener(
297
375
  "abort",
298
376
  () => {
299
- P(p);
377
+ N(f);
300
378
  },
301
379
  { once: !0 }
302
380
  ));
303
- const f = await fetch(
304
- `${s}/v1/runs/${encodeURIComponent(p)}/events`,
381
+ const y = await fetch(
382
+ `${n}/v1/runs/${encodeURIComponent(f)}/events`,
305
383
  {
306
- headers: y(),
307
- signal: n
384
+ headers: g(),
385
+ signal: r
308
386
  }
309
387
  );
310
- if (!f.ok || !f.body)
311
- throw new Error(`Spotlight 后端事件流连接失败:${f.status}`);
312
- const I = f.body.getReader(), N = new TextDecoder();
313
- let g = "";
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: u, value: x } = await I.read();
317
- if (u) break;
318
- g += N.decode(x, { stream: !0 });
319
- const C = K(g);
320
- g = C.rest;
321
- for (const a of C.events) {
322
- if (a.type === "host_action_request") {
323
- const w = await L(a.request.call, t, {
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: a.request.hostEffect
403
+ hostEffect: l.request.hostEffect
326
404
  });
327
- z(t, a, w), await Y({
328
- runId: p,
329
- correlationId: a.request.correlationId,
330
- result: w,
331
- signal: n
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 (a.type === "run_error")
336
- throw new Error(a.error);
337
- if (await V(t, a), a.type === "run_completed")
338
- return a.sessionPatch && b().applySessionPatch(a.sessionPatch), {
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: a.memoryReplay ?? null,
341
- memoryDecision: a.memoryDecision ?? null,
342
- assistantReply: a.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
- I.releaseLock();
425
+ C.releaseLock();
348
426
  }
349
427
  return {
350
428
  command: null
351
429
  };
352
430
  }
353
- async function P(e) {
431
+ async function N(t) {
354
432
  await fetch(
355
- `${T()}/v1/runs/${encodeURIComponent(e)}`,
433
+ `${I()}/v1/runs/${encodeURIComponent(t)}`,
356
434
  {
357
435
  method: "DELETE",
358
- headers: y()
436
+ headers: g()
359
437
  }
360
438
  );
361
439
  }
362
- function at(e) {
363
- if (!e) return;
364
- const t = h.get(e);
365
- t && (h.delete(e), P(t));
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
- P as cancelRemoteSpotlightRun,
369
- at as cancelRemoteSpotlightRunForSignal,
370
- lt as runRemoteSpotlightPipeline,
371
- it as warmupSpotlightRemoteContext
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
  };
@@ -4,6 +4,7 @@ export declare const SPOTLIGHT_PIPELINE_STEP_IDS: {
4
4
  readonly intent: "2";
5
5
  readonly tool: "3";
6
6
  readonly analysis: "4";
7
+ readonly agent: "langgraph-agent";
7
8
  };
8
9
  export declare const SPOTLIGHT_PIPELINE_STEP_LABELS: {
9
10
  readonly breakdown: "拆解问题";
@@ -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;;;;;CAK9B,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"}
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
- }, o = {
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
- o as SPOTLIGHT_PIPELINE_STEP_LABELS
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,CAA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MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,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"}
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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uBAAuB,CAAC;IACpC,YAAY,EAAE,yBAAyB,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,wBAAwB,CAAC;CACvC,GACD;IACE,IAAI,EAAE,0BAA0B,CAAC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,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.2",
3
+ "version": "0.5.4",
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.2",
95
- "@inupedia/spotlight-protocol": "0.5.2"
94
+ "@inupedia/spotlight-client": "0.5.4",
95
+ "@inupedia/spotlight-protocol": "0.5.4"
96
96
  },
97
97
  "peerDependencies": {
98
98
  "@inspira-ui/plugins": "^0.0.2",